/*General*/
/*yellow #ffc627 red #d3222a
*/
html,
body
{
    height: 100%;

    background-color: #fff !important;
}

button
{
    font-family: Arial, sans-serif;
    font-size: 1em;

    padding: 1%;

    cursor: pointer;
    text-decoration: none;

    color: #fff;
    border: 0;
    outline: 0;
    outline-width: 0;
    outline-style: none;
    background: none;
    /* background: #333; */
    box-shadow: none;
}


button:hover
{
    text-decoration: none;
}

button:disabled
{
    text-decoration: none;

    background-color: #666;
}

header,
footer,
#content
{
    display: block;

    width: 100%;

    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
}

#content
{
    font-family: Arial;

    position: relative;

    height: 94%;

    background-image: url('../images/background.svg');
    background-repeat: repeat-x;
    background-position: center;
    background-size: cover;
}

#content.backgroundresult{
    background-image: url('../images/background-result.svg');
}
#container
{
    position: relative;

    overflow: hidden;

    height: 100%;

    background-color: #fff;
}


/*HEADER*/


header
{
    height: 5%;

    background-color: #d3222a;
    background-image: url('../images/logo.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: auto 90%;
}

header h1,
h2,
h3,
h4
{
    font-family: 'Montserrat', sans-serif;

    position: relative;

    display: block;
    float: left;

    color: #fff;
}

header h1
{
    font-size: 1.5em;

    text-align: center;

    color: yellow;
    background-color: #f00;
}


header h2
{
    font-size: 1.5em;

    text-align: center;
    letter-spacing: .1em;

    color: #fff;
}



header h3
{
    font-size: 1.5em;

    text-align: center;

    color: #000;
    background-color: #fff;
}

#carWindow
{
    position: absolute;
    z-index: 9999;

    width: 100%;
    height: auto;
}

#carWindowImg
{
    width: 100%;
    height: 100%;
}

/*INSTRUCTIONS*/
#introduction
{
    position: relative;

    display: block;

    width: 100%;
    height: 100%;
}

#startActivityBtn
{
     width: 70%;
  margin: 5% 15%;
}

#introArrow
{
     width: 100%;
  height: auto;
}


#instructions
{
    font-size: 2em;

    padding: 2%;
}

/*instructions end*/

#menuBoard
{
    font-family: Arial, sans-serif;

    position: relative;
    /*    background-image: url('../images/drive-thru.svg');
*/    display: none;

    width: 100%;
    height: 100%;
    /* padding: 2%; */

    background-repeat: no-repeat;
    background-position: center;
}

#menuBackground
{
    position: absolute;

    width: 100%;
    height: 100%;
    /* margin: auto; */
    /* text-align: center; */
}

#progress
{
    font-family: Courier;
    font-size: 1.5em;
    line-height: 1em;
    font-weight: bold;

    position: relative;

    display: block;

    width: 20%; 
    margin: auto;

    text-align: center;

    color: green;
/*    background-color: #000;
*/}

#speaker
{
    position: relative;

    float: left;

    width: 20%;
    /* margin: auto; */
    height: 30%;
    margin: 5% 40%;
    /* background-color: #333; */

    background-image: url('../images/speaker.svg');
    background-repeat: no-repeat;
    background-position: center;
    /* top: 8%; */
}

.buttonholder
{
    position: relative;

    display: inline-block;
    float: left;

    width: 40%;
    height: 40%;

    text-align: center;
    /* margin-top: 14%; */
    /* top: 18%; */

    background-image: url('../images/dome.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 50%;
    /* padding: 5% 0; */
}

#infoBtn:hover,
#playBtn:hover,
#receipt:hover,
#restart:hover
{
    cursor: pointer;
    transition: .5s;
}



#playBtn:hover polygon
{
    stroke: #fff;
}
#infoBtn:hover circle
{
    stroke: #fff;
}
/*AUDIO
*/


#audioPlay
{
    color: #000;
    background-color: transparent;
    background-image: url('../images/button-play.svg');
    background-repeat: no-repeat;
    /* margin: auto; */
    /* margin-top: 45%; */
    /* top: -100px; */
}
#audioPlay:hover
{
    background-color: transparent;
}

.controlButton
{
    position: relative;

    width: 33%;
    height: 33%;

    background-repeat: no-repeat;
}

/*LITERARY TERMS*/
.firefoxPosition{
    position: absolute;
    top: 25%;
}

#dialog,
#resultsReceipt
{
    line-height: 1.5em;

    width: 15em;
}

#dialog li
{
    margin-bottom: 1.5em;

    list-style-type: none;
}
#resultsReceipt li
{
    margin-bottom: .5em;

    list-style-type: none;
}
#dialog ul,
#resultsReceipt ul
{
    padding: .5em;
}

#resultsReceipt span
{
    font-weight: bold;
}

.ui-dialog-titlebar
{
    height: 2.5em;
    padding-top: .75em;

    text-align: center;
}

.ui-dialog button
{
    position: absolute;
    top: .5em;
    right: .75em;

    float: right;
}

#instructions .ui-dialog .ui-dialog-buttonset button
{
    background-color: red;
}

.ui-dialog-buttonpane button
{
    margin: 3% 45%;
}


.no-close .ui-dialog-titlebar-close
{
    display: none;
}




/*RESULTS*/
#lights
{
    position: relative;

    float: left;

    width: 100%;
    height: 5%;

    text-align: center;
    /* float: left; */
}

.progressLight
{
    display: inline-block;

    width: 32px;
    height: 32px;

    border-radius: 32px;
    background-color: #ccc;
}
.currentQuestion{
    background-color: #ffc627;
}

.resultCorrect
{
    background-color: green;
    background-image: url('../images/light-green.svg');
}

.resultIncorrect
{
    background-color: red;
    background-image: url('../images/light-red.svg');
}

#resultsBag
{
    position: relative;

    display: block;
    display: none;

    width: 100%;
    height: 100%;
    margin: auto;
}
/*OPTIONS*/

#options
{
    position: relative;

    display: none;
    /* background: #333; */
    float: left;

    width: 80%;
    height: 40%;
    margin: 0 10%;
    /* vertical-align: middle; */
    padding: 0 1.5%;
}


.optionButton
{
    font-family: arial;
    font-size: 2em;
    /* vertical-align: 1px; */
    line-height: 0;

    display: inline-block;

    width: 44%;
    /*    color: #000;
    border: 1px solid #d6bcd6;
    -webkit-border-radius: 15px;
       -moz-border-radius: 15px;
            border-radius: 15px;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(.05, #ededed), color-stop(1, #bab1ba));
    background:    -moz-linear-gradient(top, #ededed 5%, #bab1ba 100%);
    background: -webkit-linear-gradient(top, #ededed 5%, #bab1ba 100%);
    background:      -o-linear-gradient(top, #ededed 5%, #bab1ba 100%);
    background:     -ms-linear-gradient(top, #ededed 5%, #bab1ba 100%);
    background:         linear-gradient(to bottom, #ededed 5%, #bab1ba 100%);
    background-color: #ededed;
    -webkit-box-shadow: 3px 4px 0 0 #899599;
       -moz-box-shadow: 3px 4px 0 0 #899599;
            box-shadow: 3px 4px 0 0 #899599;
    text-shadow: 0 1px 0 #e1e2ed;

    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ededed', endColorstr='#bab1ba',GradientType=0);
*/
    height: 20%;
    margin: 1% 2%;
    padding: 7px 25px;

    cursor: pointer;
    text-decoration: none;

    color: #ffc627;
    border: 5px solid #ffc627;
    -webkit-border-radius: 10px;
       -moz-border-radius: 10px;
            border-radius: 10px;
    background-color: #d3222a;
}
.optionButton:hover
{
    color: #d3222a;
    /* background: -webkit-gradient(linear, left top, left bottom, color-stop(.05, #bab1ba), color-stop(1, #ededed));
    background:    -moz-linear-gradient(top, #bab1ba 5%, #ededed 100%);
    background: -webkit-linear-gradient(top, #bab1ba 5%, #ededed 100%);
    background:      -o-linear-gradient(top, #bab1ba 5%, #ededed 100%);
    background:     -ms-linear-gradient(top, #bab1ba 5%, #ededed 100%);
    background:         linear-gradient(to bottom, #bab1ba 5%, #ededed 100%);
    background-color: #bab1ba;

    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#bab1ba', endColorstr='#ededed',GradientType=0);*/
    background-color: #ffc627;
}
.optionButton:active
{
    position: relative;
    top: 1px;
}
.incorrectOption
{
    color: #fff;
    border-color: #dfdfdf;
    background-color: #ccc;
}

#resultsPage
{
    display: none;

    width: 100%;
    height: 100%;
}




/*FOOTER*/

footer
{
    position: fixed;
    top: 97%;

    width: 100%;
    height: 3%;

    background-color: #333;
}



#footer-text
{
    font-family: 'Open Sans', sans-serif;
    font-size: .8em;

    margin-bottom: 0;
    padding-top: 5px;

    text-align: center;

    color: #555;
}

/*
02.
pulsate
03.
*/

.pulsate
{
    -webkit-animation-name: pulsate;
            animation-name: pulsate;
    -webkit-animation-duration: .6s;
            animation-duration: .6s;
    -webkit-animation-iteration-count: infinite;
            animation-iteration-count: infinite;
}@keyframes pulsate
{
    0%
    {
        transform: scale(.95);
    }

    50%
    {
        transform: scale(1);
    }
    100%
    {
        transform: scale(.95);
    }
}@-webkit-keyframes pulsate
{
    0%
    {
        -webkit-transform: scale(.95);
    }
    50%
    {
        -webkit-transform: scale(1);
    }
    100%
    {
        -webkit-transform: scale(.95);
    }
}
/*tiny screens
*/
@media screen and (max-height: 400px) {
    #progress, .optionButton{
        font-size: 1em;
    }

    .optionButton{
        border-width: 1px;
    }

    #lights{
        height: 10%;
    }

    #speaker{
        margin: 0 40% 5% 40%;
    }
}
/*ipad portrait
*/
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) {
    #speaker{
        margin:  18% 40% 0 40%;
    }

    #options{
        width: 100%;
  height: 25%;
  margin: 0;
    }


}
/*wide screens
*/
@media only screen and (min-width: 1024px) and (max-height: 650px){
   
    #options{
         width: 50%;
  margin: 0 25%;
 
    }

    #speaker{
        margin: 2% 40%;

    }
    #lights{
        margin-bottom: 2%;
    }
    .optionButton{
        width: 43%;
    }


}
/*really wide screens
*/
@media only screen and (min-width: 1280px) {
        #speaker{
        margin: 3% 40%;

    }

    #options{
        position: absolute;
         
    width: 800px;
  margin: 0 50%;
  left: -400px;
  bottom: 5%;
 
    }
}