@import url('https://fonts.googleapis.com/css?family=Roboto:400,700');
html,body{
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: #ececec;
    font-family: 'Roboto',sans-serif;
    font-size: 1em;
    line-height: 1.4em;
   /* background-image: url(../img/bg.jpg);*/
    background-size: cover;
    background-attachment: fixed;
}
header{
    height: 80px;
    background-color: #0f0f0f;
    margin-bottom: 0px;
}


.quizContainer{
    max-width: 990px;
    margin: 0 auto;
    padding: 40px;
    box-sizing: border-box;
    background-color: white;
    margin-bottom: 50px;
}

#quiz .alternativas {
    overflow: hidden;
}
#quiz .alternativas label{
    display: block;
    padding: 10px;
    background-color:#fafafa;
    margin:4px;
    border-radius: 10px;  
    cursor:pointer;
}
#quiz .alternativas label:hover{
    background-color: lightgoldenrodyellow;
}
#quiz .alternativas input{
   position: absolute;
    margin-left: -2000000px;
}
#quiz .alternativas input:checked + label{
   background-color: lightblue;
   transition: 200ms ease-in;
}
#quiz .alternativas input:focus + label{
   background-color: lightblue;
   transition: 200ms ease-in;
}

.questao{
    padding: 10px;
    background-color: #efefef;
    
    box-sizing: border-box;
    margin-bottom: 10px;
}
.questao h4{
    margin-top: 0;
    font-weight: 400;
    font-size: 1.1rem;
    line-height: 1.6rem;
}
.certo, .errado{
    margin-top: 20px;
    margin-bottom: 10px;
    padding: 20px;   
    transition: 300ms;
    background-repeat: no-repeat;
    background-position: 10px center;
    background-size: 40px;
    padding-left: 70px;
}
.qcerto, .qerrado{   
    transition: 300ms;
}
.qcerto{   
    background-color: #e8faea;
}
.qerrado{   
    background-color: #fae8e8;
}
.certo{
    background-color: lightgreen; 
     background-image: url(../img/ico-positive.png);   
}
.errado{  
    background-color: lightcoral;
    background-image: url(../img/ico-negative.png);
}
.marcado{
    background-color: lightgray !important;
    transition: 200ms ease-in;
}

.abaixoMedia{
        background-color: lightcoral !important;
}
.acimaMedia{
        background-color: lightgreen !important;
}
/*escondido para o leitor nao ler antes da hora*/
.feedback{
    visibility: hidden;
    box-sizing: border-box;
}
.contextoPergunta{
    padding: 20px;
    background-color: lightgoldenrodyellow;
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 1rem;
    line-height: 1.4rem;
}

h3 img,h1 img {
    max-width: 100%;
}
#totalAcertos{
    padding: 20px;
    background-color: #06415E;
    color: white;
    font-size: 40px;
    text-align: center;
    margin-bottom: 0px;
    position: fixed;
    z-index: 99;
    bottom: 22px;
    right: 0;
}
#reinit{
    text-align: center;
}
#reinit button{
    padding: 20px;
    border: none;
    background-color: lightskyblue;
    color: white;
    font-size: 20px;
    transition: 200ms;
    border-radius: 10px;
    
}

.btconfirmar{
    padding: 15px;
    border: none;
    background-color: skyblue;
    color: white;
    font-size: 16px;
    transition: 200ms;
    border-radius: 10px;
    margin-top: 10px;
    display: block;
    margin-left: auto;
    margin-right: auto;    
}
.btconfirmar:focus, .btconfirmar:hover{
    background-color: cornflowerblue;
}
.btconfirmar:disabled{
    background-color: lightgrey;
}
#reinit button:hover{
    
    background-color:cornflowerblue;
    transition: 200ms;
}



.header-tecnicos{
    position: relative;
    /*background-image: url(../img/bg-topo.jpg);*/
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding-top:1px;
    max-width: 990px;
    height: 80px;
    margin: 0 auto;
}
.header-tecnicos h1{
    position: relative;
    float: left;
    margin-top:30px;
    margin-left: 1em;
    font-size: 1.2em;
    text-transform: uppercase;
    color: white;
    font-weight: 400;

}

.header-tecnicos #logo{
    position: absolute;
    right: 0;
    top: 8px;
    max-width: 260px;
}



label[class^='alt_']{
    padding-left: 70px !important;
    background-position: 10px center;
    background-repeat: no-repeat;
    background-size: 45px;
}
.alt_a{
    background-image: url(../img/alt_a.png);
}
.alt_b{
    background-image: url(../img/alt_b.png);
}
.alt_c{
    background-image: url(../img/alt_c.png);
}
.alt_d{
    background-image: url(../img/alt_d.png);
}

#reinit{
    background-color: gray;
    padding: 20px;
    display: none;
}

#progressBar{
    background-color: #efefef;
    height: 20px;
    width: 100%;
    position: fixed;
    bottom:0px;
    border-top: 2px solid grey;
    left: 0;
}
#progress{
    background-color: lightskyblue;
    width: 0%;
    height: 100%;
    position: relative;
    transition: 200ms ease-in;
}

.resultadoFinal{
    width: 100%;
    height: 100%;
    min-height: 100%;
    background-color: rgba(0,0,0,0.85);
    position: fixed;
    z-index: 100000;
    left: 0;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 300ms ease-in;
    visibility: hidden;
    opacity: 0;
}

.resultadoFinal .jan-feed{
    padding: 10px;
    background-color: white;
    width: 60%;
    max-width: 400px;
    border-radius: 10px;
    text-align: center; 
    color: #0c0c0c;   
    
}
.feedFinal div{
    margin: 15px;
    font-size: 1.3em;
}
.resultadoFinal .jan-feed button{
    padding: 15px;
    border: none;
    background-color: grey;
    color: white;
    font-size: 16px;
    transition: 200ms;
    border-radius: 10px;
    margin-top: 10px;
    display: block;
    margin-left: auto;
    margin-right: auto;    
}
.resultadoFinal .jan-feed button:focus, .resultadoFinal .jan-feed button:hover{
    background-color: darkslategray;
}

.enunciado ul{
    list-style: none;
    padding-left: 18px;
}

.enunciado table{
    border:1px solid lightgrey;
    margin:10px;
    border-spacing: 0;
    border-collapse: collapse;       
}
.enunciado table td{
    padding: 8px;
    border: 1px solid lightgrey;
    vertical-align: top; 
}
.enunciado table td:first-child{
    width: 130px;
}

#imprimirComprovante{
    box-sizing: border-box;
    padding: 0 5px;
    border-top: 2px solid darkolivegreen;
    display: none;
}
.visible{
    display: block !important;
}
.hidden{
    display: none !important;
}
#imprimirComprovante a{
    text-decoration: none;
}



@media screen and (max-width:1000px){
    .header-tecnicos, .quizContainer{
        max-width: 95%;
    }
    
   #totalAcertos{
       width: 100%;
       font-size: 26px;
       padding: 10px
   }
}
@media screen and (max-width:700px){
    .quizContainer{
        padding: 20px;
    }
}
@media screen and (max-width:500px){
    .header-tecnicos h1{
        margin-left: 1em;
        width: 200px;
        margin-top: 20px
    }
    .enunciado table{
        font-size: 14px;
        line-height: 18px
    }
    .enunciado table td:first-child{
    width: 100px;
    }
    .enunciado table td{
        padding: 4px;
    }
}
@media screen and (max-width:400px){
    .header-tecnicos h1{
        margin-left: 0.5em;
        font-size: 17px
    }
    .header-tecnicos #logo{
        margin-right: -20px
    }
}
