@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,700,800');

/* Estilos Gerais */

body {
	font-family: 'Open Sans', sans-serif;
}

img {
    max-width: 100%;
    height: auto;
}

input[type="text"], input[type="number"], input[type="email"] {
    border: 2px solid #666;
    padding: 7px;
    border-radius: 5px;
    font-size: 20px;
    margin: 0;
    margin-top: 3px;
    max-width: 95%;
}

input[type='radio'] {
    -webkit-appearance: none;
    border-radius: 100%;
    border: 2px solid #444;
    display: inline-block;
    position: relative;
    vertical-align: middle;
	width: 1.5em;
    height: 1.5em;
    margin-right: 0.3em;
}

input[type='radio']:disabled {
    opacity: .50;
}

input[type='radio']:checked::before {
    content: '';
    display: inline-block;
    position: absolute;
    opacity: 1;
    border-radius: 50%;
    background: #444;
	width: 1em;
    height: 1em;
    left: 0.05em;
    top: 0.05em;
}

.radio-button {
    position: relative;
    cursor: pointer;
}

.radio-button input[type='radio'] {
    -webkit-appearance: none;
    border-radius: 5px;
    border: 2px solid #444;
    display: inline-block;
    position: relative;
    vertical-align: middle;
    width: 5.5em;
    height: 2.5em;
}

.radio-button input[type='radio']:disabled {
    opacity: .50;
}

.radio-button input[type='radio']:checked::before {
    content: '';
    display: block;
    position: absolute;
    opacity: 1;
    border-radius: 2px;
    background: #444;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;

    color: white;
    text-align: center;
    line-height: 1.3em;
    font-size: 1.5em;

}

.radio-button input[type='radio'].radio-success:checked {
    border-color: green;
}

.radio-button input[type='radio'].radio-error:checked {
    border-color: red;
}

.radio-button input[type='radio'].radio-success:checked::before {
    background: green;
    content: 'sim';
}

.radio-button input[type='radio'].radio-error:checked::before {
    background: red;
    content: 'não';
}

.radio-button span {
    width: 3.5em;
    display: inline-block;
    margin-left: -3.9em;
}


.firefox .radio-button {
    display: inline-block;
    width: 70px;
}

.firefox .radio-button span {
    width: auto;
    margin-left: 5px;
}

.firefox .radio-button input[type="radio"] {
    width: auto;
    height: auto;
}

button {
    background: #ba0405;
    color: white;
    border: none;
    border-radius: 0.25em;
    padding: 0.3em 0.6em;
    cursor: pointer;
}

.faixa-inferior button {
    background: white;
    color: #ba0405;
}

button.next, button.prev {
    font-size: 1.5em;
}

.text-center {
    text-align: center;
}

.container {
    width: 800px;
    height: 550px;
    position: absolute;
    top: 50%;
    border: 1px solid #ba0405;
    margin-top: -275px;
    left: 50%;
    margin-left: -400px;
}

.faixa {
    background: #ba0405;
    height: 95px;
}

.faixa-superior {
    font-size: 0.93em;
    height: 92px;
    padding-top: 3px;
}

.container-content {
    width: 770px;
    height: 520px;
    display: table-cell;
    vertical-align: middle;
    padding: 15px;
}

.with-header .container-content, .with-footer .container-content {
    height: 425px;
}

.with-header.with-footer .container-content {
    height: 330px;
}

.coluna1, .coluna2, .coluna3 {
	width: 49.5%;
	display: inline-block;
    vertical-align: middle;
}

.container-content.container-content-3-columns .coluna1, .container-content.container-content-3-columns .coluna2, .container-content.container-content-3-columns .coluna3 {
    width: 32.8%;
}

.faixa-superior, .faixa-inferior, .faixa-inferior a {
    color: white;
    text-align: center;
}

.o1l1 {
    margin: 0;
    line-height: 90px;
}

.o2l1 {
    margin: 0;
    line-height: 40px;
}

.o1l2 {
    margin: 0;
    line-height: 2;
    padding: 15px;   
}

/* Capa */

#medico {
    height: 320px;
}

#capa .coluna1, #capa .coluna2 {
	text-align: center;
}

#capa .faixa-inferior p {
    margin: 0;
    color: white;
    text-align: center;
    font-size: 30px;
    line-height: 3;
}

/* Capa 3 */

#capa-3 .faixa-superior h2 {
    font-size: 1.2em;
}

/* Fases */

.fase .coluna1 {
    text-align: center;
}

.fase #logo {
    width: 225px;
    vertical-align: middle;
}

.faixa-inferior .fa {
    font-size: 1.5em;
    vertical-align: middle;
}

/* Fase 2 */

#fase-1-2 .faixa-superior h1 {
    margin: 0;
    line-height: 1.5;
    font-weight: 300;
    padding-top: 10px;
}

#fase-1-2 .faixa-superior h2 {
    margin: 0;
    font-weight: 300;
}

#fase-1-2 .faixa-inferior p {
    line-height: 95px;
    margin: 0;
}

/* Resultados */

.resultado .coluna1 {
    width: 20%;
}

.resultado .coluna2 {
    width: 75%;
    margin-left: 4%
}

.resultado .colunafull {
    overflow: scroll;
    height: 420px;
}

.resultado .container-content p {
    margin-top: 0;
    margin-bottom: 15px;
}

.resultado .container-content p.nav {
    margin-bottom: 0;
}

.resultado .faixa-inferior p.o2l1 {
    padding-top: 12px;
    margin: 0;
    font-weight: bold;
}

.resultado .faixa-inferior p.o2l2 {
    margin: 0;
}

.alert {
    background: rgba(0,0,0,0.8);
    color: white;
    text-align: center;
    line-height: 2;
    font-size: 1.2em;
    position: fixed !important;
}

.alert p {
    width: 60%;
    display: inline-block;
}

.alert button {
    font-size: 1.2em;
}

.alert p.obs {
    line-height: 1.5em;
    font-weight: bold;
}

.small-only {
    display: none;
}

/* Small only */
@media (max-width: 767px ) and (orientation : portrait) {

    .alert {
        font-size: 1em;
        bottom: 0;
    }

    .alert p {
        width: 80%;
    }

    .small-only {
        display: block;
    }

    body {
        margin: 0;
    }

    #capa img {
        width: 160px;
        height: auto;
    }

    #capa #logo {
        margin: 10px 0;
        width: 150px;
    }

    .faixa-inferior {
        position: fixed;
        bottom: 0;
    }

    .fase-estresse .faixa-inferior {
        position: relative;
        bottom: auto;
    }

    #capa .faixa-inferior p {
        line-height: 1.3;
    }

    #capa2 {
        width: 93%;
        margin-top: 25px;
    }

    #capa-3 #logo {
        width: 75px;
    }

    #capa-3 p.nav {
        margin-top: 6px;
        font-size: 0.75em;
    }

    #fase-2-3 .faixa-superior {
        font-size: 10px
    }

    .without-content {
        display: none;
    }

    .container {
        width: 100%;
        height: auto;
        position: relative;
        top: 0;
        border: none;
        margin-top: 0;
        left: 0;
        margin-left: 0;
    }

    .faixa {
        background: #ba0405;
        height: auto;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .faixa-superior {
        font-size: 0.7em;
        height: auto;
        padding-left: 3%;
        padding-right: 3%;
    }

    .faixa-inferior {
        font-size: 0.8em;
        padding: 10px;
    }

    .container-content {
        width: 94%;
        height: auto;
        display: block;
        vertical-align: middle;
        padding: 15px 3%;
    }

    .with-header .container-content, .with-footer .container-content, .with-header.with-footer .container-content {
        height: auto;
    }

    .coluna1, .coluna2, .coluna3 {
        width: 100%;
        display: block;
        text-align: center;
    }

    .container-content.container-content-3-columns .coluna1, .container-content.container-content-3-columns .coluna2, .container-content.container-content-3-columns .coluna3 {
        width: 100%;
    }

    .fase #logo {
        width: 120px;
        margin: 0;
    }

    p.input-line {
        margin-bottom: 0;
        margin-top: 5px;
    }

    p.nav {
        margin-top: 20px;
        margin-bottom: 0;
    }

    #fase-1-2 .faixa-superior h1, .o2l1, .o1l1, .o1l2, #fase-1-2 .faixa-inferior p {
        line-height: 1.5;
    }

    #fase-1-2 .faixa-superior h1 {
        padding-top: 0;
    }

    #remedios, #coaching-top {
        width: 170px;
    }

    .o1l2 {
        padding: 0;
    }

    input[type="text"], input[type="number"], input[type="email"] {
        max-width: 92%;
        padding: 3px 5px;
        font-size: 15px;
    }

    .resultado .coluna1 {
        width: 100%;
    }

    .resultado .coluna2 {
        width: 100%;
        margin-left: 0;
    }

    .resultado .container-content p {
        text-align: justify;
    }

    .resultado #logo {
        width: 120px;
        margin-bottom: 1em;
    }

    .resultado p.nav {
        font-size: 0.8em;
        text-align: center;
    }

    .resultado .faixa-inferior {
        position: relative;
    }

    .resultado .faixa-inferior p.o2l1 {
        padding-top: 0;
    }

    .resultado .colunafull {
        overflow: initial;
        height: auto;
    }

    #capa-3 .container-content {
        padding-top: 5px;
    }

    #capa-3 .coluna2 p.input-line:first-child {
        margin-top: 0;
    }

    #capa-3 input[type="text"], #capa-3 input[type="number"], #capa-3 input[type="email"] {
        margin-top: 0;
    }

}

#gire {
    position: fixed;
    z-index: 99999;
    top: 0;
    left: 0;
    width: 100%;
    background: white;
    bottom: 0;
}

#gire-text {
    position: fixed;
    top: 50%;
    text-align: center;
    width: 100%;
    font-size: 3.5em;
    margin-top: -1.7em;
}

@media (max-width: 767px ) and (orientation : landscape) {
    #gire {
        display: block !important;
    }
}

/* iPads (retrato) ----------- */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : portrait) {

    #gire {
        display: block !important;
    }

}
