@charset "utf-8";
/* CSS Document */
#teflQuizModal{
    background-color:#E9E9EB;
    margin-top:50px;
}
#questioncontainer{
    opacity:0;
}
#quizcontainer {
	border: none;
	padding: 0;
	overflow: hidden;
    /*margin-top:.5em;*/
    margin:0 auto;
    background-color:#fcfcfc;

}
#quizcontainer #questioncontainer > h2{
    font-size:1em;
    line-height:1.4em;
/*    margin-bottom:1em;
    padding: .5em 0;*/
}
#quizcontainer h2,
#quizcontainer .h2,
#quizcontainer .question > h3,
#quizcontainer .question > .h3{
    color:#06a3d4;
}

#quizcontainer p{
    margin-bottom:1em;
}
#quizcontainer,
#questioncontainer{
    width: 100%;
}

#questions {
    width: 10000px;
}
#questions .question, #questions .page {
	width: 800px;
/*    max-height:235px;*/
	float: left;
/*    overflow-x: hidden;
	overflow-y: auto;*/
    margin-bottom:30px;
}

.qoptions {
	overflow: hidden;
}
.qoptions li {
	display: block;
	list-style: none;
    width: 48%;
    height:5em;
	float: left;
    color:#ffffff;
    background: #000000 no-repeat center center fixed; /* #8AD7EF #06A3D4 */
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
	text-align: center;
	margin: 1%;
    padding: 0;
	cursor: pointer;
	overflow: hidden;
	position: relative;
}

#questions span.fa-stack i.fa-times{
    color: #ff0000;
}
#questions span.fa-stack i.fa-check,
.teflQuizScoreCopy{
    color: #56d92b;
}
#questions span.fa-stack i.fa-circle-thin{
    color: #ffffff;
    opacity:0.8;
}

.teflQuizScoreCopy{
    font-size: .9em;
    line-height: 1.2em;
    vertical-align: middle;
    display:inline-block;
}

.qoptions li > i.fa,
.qoptions li > span.fa-stack{
    margin:.5rem;
    z-index:1;
    text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
}

.qoptions li > img,
.qoptions li > span.answer{
    position:absolute;
    top:50%;
    left:50%;
    transform: translate(-50%, -50%);
}
.qoptions li > img{
    width:101%;
    max-width:none;
    opacity:.9;
/*    transform: translateZ(0);
    -webkit-transform: translateZ(0);*/
/*    transition: opacity 0.4s ease;
    -webkit-transition: opacity 0.4s ease;*/
}
.qoptions li:hover > img{
    opacity: 1;
}
.qoptions li > span.answer{
    line-height:1.15em;
    width:90%;
    text-shadow:#000000 0px 1px 1px;
}
.qoptions li > span.h3.strong{
    font-size:0.9rem;
    font-weight:none;
/*    text-transform: lowercase;*/
}

.qoptions li.endoption{
    width: 98%;
    height:4em;
    background: #444449;
}

#questions h2{
    height:auto;
    width:100%;
    margin:auto;
    font-size:1.2em;
}

#questions .question h2,
#questions .page h2{
/*    text-transform: lowercase;*/
    margin-top:0.5em;
    margin-bottom:0.5em;
}

#questioncontainer {
	position: relative;
	width: 100%;
	overflow: hidden;
    margin:auto;
}

#progressbarcontainer {
    width: 100%;
    height: 7px;
    margin:10px 0;
	background: #cccccc;
	overflow: hidden;
    position: fixed;
    top: 51px;
    bottom: auto;
}
#progressbar {
	height: 10px;
	background: #06a3d4;
	width: 0px;
}

#form, #offer {
	width: 100%;
	float: none;
}
#offer {
	min-height: 15em; /*30em*/
    display:none;
    padding:1em;
}
#offer h2,
#offer h3,
#offer p,
#offer ul{
    color:#ffffff;
}
#offer ul{
    list-style: none;
}
.form-entry {
    width:100%;
	clear: both;
	margin-bottom: 10px;
}
.form-entry span,
.form-entry input[type='checkbox']{
    width: 38%;
    display: inline-block;
    line-height: 15px;
    baseline-shift: baseline;
    padding-top: 6px;
    margin-right: 20px;
}
.form-entry label.checkbox-label span {
    width: 80%;
}
.form-entry span.form-error{
    margin: 0.5rem 0;
    padding:0;
}

.form-entry span.form-error,
.form-entry input {
	width: 96%;
    margin-left:2%;
}
.form-entry label.checkbox-label span,
.form-entry input {
    display: inline-block;
    margin-right:0;
}
.form-entry input[type='checkbox'] {
    vertical-align: top;
    margin-top:.5em;
    text-align: right;
    width:auto;
}
#form button {
    max-width:260px;
    margin:auto;
}

.quiz-thankyou p{
    font-size:1.4em;
    line-height: 1.3em;
    width:80%;
    margin:auto;
}

@media all and (max-width: 667px){

    #quizcontainer .question > h2,
    #quizcontainer .question > .h2,
    #quizcontainer .question > h3,
    #quizcontainer .question > .h3{
        line-height: 1.3rem;
        margin-bottom:0.15rem;
        padding: 0.5rem 1rem;
    }
    span.teflQuizScoreOutput{
        display:block;
    }
}

@media all and (max-width: 667px) and (orientation: portrait) {

    #questions .question, #questions .page {
/*        max-height: 360px;*/
        margin-bottom: 0px;
        padding-bottom:20px;
    }

}

@media all and (max-width: 667px) and (orientation: landscape) {

    #questions .question, #questions .page {
/*        max-height: 200px;*/
        margin-bottom: 0px;
        padding-bottom:20px;
    }

}

@media all and (min-width: 668px) {

/*    #quizcontainer{
        margin: 20px auto;
    }*/

    #questions .question, #questions .page {
        max-height: none;
        overflow-y: hidden;
        padding:20px;
    }
    #questions h2{
        font-size: 1.9em;
        margin-bottom: 0.5em;
        line-height: 1.5em;
    }
    #questions .question h2{
        height: auto;
        min-height:2.25em;
        width:98%;
    }
    .qoptions li {
        width: 47.75%;
        height:10em;
    }
    .qoptions li > span.h3.strong{
        font-size:1.5rem;
    }

    .qoptions li > img{
        width:101%;
    }
    .qoptions li.endoption{
        width: 96%;
    }
    #form{
        width: 37%;
        margin-right: 2%;
        margin-left:15%;
    }
    #offer {
        width: 40%;
        display: table;
    }
/*    .form-entry label.checkbox-label span,
    .form-entry input[type='checkbox']{

    }*/
    #progressbarcontainer {
        width: 85%;
        height: 15px;
        margin-left:7%;
        bottom: auto;
        top: 0;
        position:absolute;
    }
    #progressbar {
        height: 15px;
    }
    .form-entry input {
        width: 100%; /*55%;*/
    }
    #form,
    #offer{
        float: left;
    }
    #questions .quiz-intro h2,
    #questions .quiz-thankyou h2{
        font-size:2.2em;
        line-height: 1.8em;
    }
    .quiz-intro p{
        font-size:1.1rem;
    }
    .teflQuizScoreCopy{
        font-size:1.8em;
        line-height: 1.8em;
    }
    .quiz-thankyou p{
        font-size:1.4em;
        line-height: 1.4em;
    }
    div.response{
        position:relative;
    }
    div.response p{
        display:inline-block;
    }
    div.response p span{
        width:65%;
        display:inline-block;
    }
    div.response a.button{
        float:none!important;
        position:absolute;
        top:5px;
        right:20px;
        width:200px;
    }


}
