/* 4POR4 */
/* ***************************************** */
/* Estilos Mobile */
/* ***************************************** */

@media only screen and (max-width: 600px) {
    .form {
        position: initial !important;
        width: initial !important;
        left: initial !important;
        top: initial !important;
        transform: initial !important;
    }

    #logo-mobile {
        display: block !important;
        width: 100%;
        height: 70px;
    }

    #logo,
    #logo-subtitle {
        display: none !important;
    }

    html,
    body {
        overflow: auto !important;
    }

    h1 {
        font-size: 24px !important;
    }

    h2 {
        font-size: 18px !important;
    }

    p {
        font-size: 14px !important;
    }

    #serif,
    #sans-serif,
    #display,
    #cursiva,
    #monospace {
        font-size: 45px !important;
        display: block;
        margin: -30px 0px 10px 0px !important;
    }

    #criativa {
        font-family: 'Monoton', cursive !important;
        font-size: 35px !important;
        display: block;
        margin: -30px 0px 10px 0px !important;
    }

    #home-tab {
        margin-top: 0px !important;
        width: 80% !important;
    }

    .tab {
        margin-top: 0px !important;
        min-height: 0px !important;
        padding: 0px !important;
    }

    label {
        font-size: 12px !important;
    }

    .input {
        width: 80% !important;
    }

    [type=radio]:checked+label,
    [type=radio]:not(:checked)+label {
        margin: 0 !important;
        width: 90px !important;
        height: 100px !important;
    }

    [type=radio]:checked+label:before,
    [type=radio]:not(:checked)+label:before {
        width: 90px !important;
        height: 100px !important;
    }

    [type=radio]:checked+label:after,
    [type=radio]:not(:checked)+label:after {
        width: 90px !important;
        height: 100px !important;
    }

    [type=checkbox]:checked+label:after,
    [type=checkbox]:not(:checked)+label:after {
        content: "✕" !important;
        position: absolute;
        top: .6em;
        right: 4px !important;
        font-size: .8em;
        line-height: .8;
        color: rgb(1, 148, 202) !important;
        transition: all .2s;
        font-weight: bold !important;
    }

    .tipo-container input:checked+label,
    .tipo-container input:not(:checked)+label {
        margin: 5px 5px 5px 0px !important;
        position: relative;
        padding-left: 0;
        cursor: pointer;
        line-height: 20px;
        display: inline-block;
        color: white;
        width: 90px !important;
        height: 100px !important;
        text-align: center;
        padding-top: 60px
    }

    .tipo-container input:checked+label:before,
    .tipo-container input:not(:checked)+label:before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        width: 90px !important;
        height: 100px !important;
        border: 3px solid #ddd;
        color: rgb(1, 148, 202) !important;
        transform: none;
        background: transparent
    }

    .tipo-container input:checked+label:after,
    .tipo-container input:not(:checked)+label:after {
        content: "";
        width: 90px !important;
        height: 100px !important;
        border: 3px solid rgb(1, 148, 202);
        position: absolute;
        top: 0px;
        left: 0px;
        transition: all .2s ease;
        opacity: 1;
        transform: none;
        color: rgb(1, 148, 202) !important;
    }

    .icon {
        margin-top: -40%;
        font-size: 2em;
        display: block;
        margin-bottom: 10px !important;
    }
}

/* 4POR4 */
/* ***************************************** */
/* Estilos Tablet */
/* ***************************************** */

@media only screen and (max-width: 1366px) {
    .form {
        position: initial !important;
        width: initial !important;
        left: initial !important;
        top: initial !important;
        transform: initial !important;
    }

    #logo-mobile {
        display: block !important;
        width: 100%;
        height: 70px;
    }

    #logo,
    #logo-subtitle {
        display: none !important;
    }

    html,
    body {
        overflow: auto !important;
    }

    h1 {
        font-size: 32px !important;
    }

    h2 {
        font-size: 24px !important;
    }

    p {
        font-size: 16px !important;
    }

    #serif,
    #sans-serif,
    #display,
    #cursiva,
    #monospace {
        font-size: 45px !important;
        display: block;
        margin: -30px 0px 10px 0px !important;
    }

    #criativa {
        font-family: 'Monoton', cursive !important;
        font-size: 35px !important;
        display: block;
        margin: -30px 0px 10px 0px !important;
    }

    #home-tab {
        margin-top: 50px;
        width: 80% !important;
    }

    .tab {
        margin-top: 0px !important;
        min-height: 0px !important;
        padding: 0px !important;
    }

    label {
        font-size: 12px !important;
    }

    .input {
        width: 80% !important;
    }

    [type=radio]:checked+label,
    [type=radio]:not(:checked)+label {
        margin: 5px 5px 5px 0px !important;
        width: 110px !important;
        height: 110px !important;
    }

    [type=radio]:checked+label:before,
    [type=radio]:not(:checked)+label:before {
        width: 110px !important;
        height: 110px !important;
    }

    [type=radio]:checked+label:after,
    [type=radio]:not(:checked)+label:after {
        width: 110px !important;
        height: 110px !important;
    }

    [type=checkbox]:checked+label:after,
    [type=checkbox]:not(:checked)+label:after {
        content: "✕" !important;
        position: absolute;
        top: .6em;
        right: 6px !important;
        font-size: .8em;
        line-height: .8;
        color: rgb(1, 148, 202) !important;
        transition: all .2s;
        font-weight: bold !important;
    }

    .tipo-container input:checked+label,
    .tipo-container input:not(:checked)+label {
        margin: 5px 5px 5px 0px !important;
        position: relative;
        padding-left: 0;
        cursor: pointer;
        line-height: 20px;
        display: inline-block;
        color: white;
        width: 110px !important;
        height: 110px !important;
        text-align: center;
        padding-top: 60px
    }

    .tipo-container input:checked+label:before,
    .tipo-container input:not(:checked)+label:before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        width: 110px !important;
        height: 110px !important;
        border: 3px solid #ddd;
        color: rgb(1, 148, 202) !important;
        transform: none;
        background: transparent
    }

    .tipo-container input:checked+label:after,
    .tipo-container input:not(:checked)+label:after {
        content: "";
        width: 110px !important;
        height: 110px !important;
        border: 3px solid rgb(1, 148, 202);
        position: absolute;
        top: 0px;
        left: 0px;
        transition: all .2s ease;
        opacity: 1;
        transform: none;
        color: rgb(1, 148, 202) !important;
    }

    .icon {
        margin-top: -25%;
        font-size: 2em;
        display: block;
        margin-bottom: 10px !important;
    }
}


/* 4POR4 */
/* ***************************************** */
/* Estilos Desktop */
/* ***************************************** */

.modal-header button i {
    margin-top: 5px;
    font-size: 20px;
}

.modal-close-btn {

    font-size: 1.8em;
    color: #777;
    cursor: pointer;
    -webkit-transition: color .4s;
    transition: color .4s;
    background: none;
    border: none;
    outline: none;
}

.modal-header button:hover {
    background-color: none;
    border: none;
    color: black;

}

h1 {
    font-size: 56px;
}

body,
html {
    height: 100vh;
    overflow: hidden;   
    font-family: 'Raleway', sans-serif;
    color: white;
    background-color: rgba(21, 21, 21, 1);
}

#home-tab {
    width: 80%;
}

.fundo {
    height: 100vh !important;
    background-image: url('../images/slide-inicial.jpg');
    background-position: center;
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.fundo-final {
    background-image: url('../images/slide-final.jpg');
    background-position: center;
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

#logo-mobile {
    display: none;
}

#logo,
#logo-subtitle {
    display: block;
}

#logo {
    float: left;
    width: 124px;
    height: 40px;
}

#logo-subtitle {
    float: right !important;
    width: 335px;
    height: 40px;
}

.button-iniciar {
    display: block;
    border: 2px solid #fff;
    cursor: pointer;
    margin: 0 auto;
    padding: 10px;
    width: 140px;
    text-decoration: none;
    text-transform: uppercase;
    opacity: .5;
    transition: all .5s ease-in-out;
}

.button-iniciar:hover {
    opacity: 1;
    -webkit-transition: .2s all ease-in-out;
    transition: .2s all ease-in-out;

}

::-webkit-input-placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
 }
 :-moz-placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;  
 }
 ::-moz-placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;  
 }
 :-ms-input-placeholder {  
    color: rgba(255, 255, 255, 0.5);
    font-style: italic; 
 }


.input-final {
    display: block;
    margin-top: 1px;
    border: 2px solid #ddd;
    padding: 15px 10px;
    background-color: transparent;
    width: 100%;
    transition: all .3s ease-in-out;
    color: black;
    text-align: center;
}

.input-final:focus {
    outline: none !important;
    border: 2px solid black;
}

.select-box {
    display: block;
    margin: 0 auto;
    border: 2px solid #ddd;
    padding: 17px 10px;
    text-align: center;
    background-color: transparent;
    color: black;
    width: 100%;
    height: 60px;
    transition: opacity .3s ease-in-out;
    outline: none;
}

.button-submeter {
    background-color: white;
    color: black;
    font-weight: 600;
    border: 2px solid black;
    cursor: pointer;
    width: 120px;
    height: 50px;
    text-decoration: none;
    text-transform: uppercase;
    -webkit-appearance: none;
    transition: all .5s ease-in-out;
}

.button-back-override {
    background-color: transparent;
    margin-left: 10px;
    margin-right: 10px;
    text-align: center;
    width: 50px;
    height: 50px;
    color: black;
    border: 2px solid black;
    opacity: .7;
    transition: all .2s ease-in-out;
}

.numeros {
    color: white;
    height: 30px;
    transition: all .5s ease-in-out;
}


[type=radio]:checked,
[type=radio]:not(:checked) {
    position: absolute;
    left: -9999px
}

[type=radio]:checked+label,
[type=radio]:not(:checked)+label {
    margin: 0 5px 0 5px;
    position: relative;
    padding-left: 0;
    cursor: pointer;
    line-height: 20px;
    display: inline-block;
    color: white;
    width: 180px;
    height: 200px;
    text-align: center;
    padding-top: 60px
}

[type=radio]:checked+label:before,
[type=radio]:not(:checked)+label:before {
    
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 180px;
    height: 200px;
    border: 3px solid #ddd;
    background: transparent
}

[type=radio]:checked+label:after,
[type=radio]:not(:checked)+label:after {
    content: "";
    width: 180px;
    height: 200px;
    border: 3px solid rgb(1, 148, 202);
    position: absolute;
    top: 0px;
    left: 0px;
    transition: all .2s ease;
}


[type=radio]:not(:checked)+label:after {
    opacity: 0
}

[type=radio]:checked+label {
    opacity: 1;
    color: rgb(1, 148, 202);
}

.icon {
    -webkit-text-stroke: 2px rgba(21, 21, 21, 1);
    display: block;
    margin-bottom: 35px;
}

.icon.fas.fa-arrow-right,
.icon.fas.fa-arrow-left {
    font-size: 27px;
    -webkit-text-stroke: 2px rgba(21, 21, 21, 1);
    display: block;
    margin-bottom: 35px
}

.checkbox-container {
    margin-right: 15%;
    margin-left: 15%;
    margin-top: 10px;
    margin-bottom: 10px;
}

.checkbox-container label {
    color: white;
    display: block
}

[type=checkbox]:checked,
[type=checkbox]:not(:checked) {
    position: absolute;
    left: -9999px
}

[type=checkbox]:checked+label,
[type=checkbox]:not(:checked)+label {
    
    position: relative;
    cursor: pointer
}

[type=checkbox]:checked+label:after,
[type=checkbox]:not(:checked)+label:after {
    content: "✕";
    position: absolute;
    top: .6em;
    right: 6px;
    font-size: .8em;
    line-height: .8;
    color: rgb(1, 148, 202) !important;
    transition: all .2s;
    font-weight: bold;
}

[type=checkbox]:checked+label {
    opacity: 1;
    color: rgb(1, 148, 202);
    font-weight: bold;
}

[type=checkbox]+label:hover {

    transition: all .3s ease;
    background-color: rgba(255, 255, 255, 0.1);
}

[type=checkbox]:not(:checked)+label:before {
    content: "";
    color: rgb(1, 148, 202) !important;
    position: absolute;
    right: 1px;
    top: 2px;
    width: 1.25em;
    height: 1.25em;
    border: 2px solid white;
    background: transparent;

}

[type=checkbox]:checked+label:before {
    content: "";
    position: absolute;
    right: 2px;
    top: 2px;
    width: 1.25em;
    height: 1.25em;
    border: 2px solid rgb(1, 148, 202);
    color: rgb(1, 148, 202) !important;
    background: transparent;
    transform: scale(1.2)
}

[type=checkbox]:not(:checked)+label:after {
    opacity: 0;
    transform: scale(0)
}

[type=checkbox]:checked+label:after {
    opacity: 1;
    transform: scale(1.2);
    color: rgb(1, 148, 202) !important;
}

.stroke-grey {
    -webkit-text-stroke: 2px rgba(21, 21, 21, 1);
}

.stroke-white {
    -webkit-text-stroke: 2px rgba(255, 255, 255, 1);
}

.progress-container {
    position: absolute;
    bottom: 0px;
    width: 100%;
}

.progress {
    opacity: .3;
    background-color: rgba(21, 21, 21, 1);
    position: relative;
    bottom: 0px;
    height: 5px;
    border-radius: 0px;
}

.upload {
    position: absolute;
    right: 20px;
}

.inverte-cor {
    -webkit-filter: invert(1);
    filter: invert(1);
}

.input {
    display: block;
    margin: 0 auto;
    margin-top: 20px;
    border: 2px solid rgba(255, 255, 255, 1);
    padding: 15px 10px;
    background-color: transparent;
    width: 50%;
    transition: all .3s ease-in-out;
    color: rgba(255, 255, 255, 1);
    text-align: center;
}

.input.textarea {
    padding: 50px 10px;
    vertical-align: top;
}

.input:focus {
    border: 2px solid rgba(0, 0, 0, 1);
}

/* Marcador dos inputs que devolveram erro: */

.invalid {

    transition: all .5s ease;
    background-color: rgba(51, 51, 51, 0.5);
    background-size: cover;

}

/* Esconde as tabs todas por defeito: */

.tab {
    margin-top: 25px;
    padding: 50px;
    display: none;
}

.form {
    position: absolute;
    width: 100%;
    left: 0%;
    top: 50%;
    transform: translateY(-50%);
}

button {
    background-color: transparent;
    line-height: normal;
    margin-left: 10px;
    margin-right: 10px;
    text-align: center;
    width: 50px;
    height: 50px;
    color: rgba(255, 255, 255, 1);
    border: 2px solid rgba(255, 255, 255, 1);
    opacity: .7;
    transition: all .2s ease-in-out;
}

button:hover {
    transform: scale(1.1, 1.1);
    border: 2px solid rgb(1, 148, 202);
    color: rgb(1, 148, 202);
    opacity: 1;
    transition: all .2s ease-in-out;
    text-decoration: none;
}


/* ***************************************** */
/* Estilos Checkbox Termos */
/* ***************************************** */

/* Contentor */

.checkbox-container-final {
    display: block;
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Esconde a checkbox por defeito */

.checkbox-container-final input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

/* Cria uma checkbox personalizada */

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 15px;
    width: 15px;
    border: 2px solid #eee;

}

/* On mouse-over, adiciona um fundo cinza */

.checkbox-container-final:hover input~.checkmark {
    background-color: #ccc;
}

/* Quando a checkbox está escolhida, adiciona fundo branco */

.checkbox-container-final input:checked~.checkmark {
    background-color: white;
}

/* Cria o marca/indicado da checkbobx (escondida quando não selecionada) */

.checkmark:after {
    content: "✕";
    top: -4px;
    left: 0px;
    position: absolute;
    display: none;
}

/* Mostra a marca/indicador quando selecionada */

.checkbox-container-final input:checked~.checkmark:after {
    display: block;
}

.modal-content {
    border-radius: 0;
}


/* ***************************************** */
/* Estilo para Checboxes Tipografia — Tab 13 */
/* ***************************************** */

.tipo-container input:checked,
.tipo-container input:not(:checked) {
    position: absolute;
    left: -9999px
}

.tipo-container input:checked+label,
.tipo-container input:not(:checked)+label {
    margin: 0 5px 0 5px;
    position: relative;
    padding-left: 0;
    cursor: pointer;
    line-height: 20px;
    display: inline-block;
    color: white;
    width: 180px;
    height: 200px;
    text-align: center;
    padding-top: 60px
}

.tipo-container input:checked+label:before,
.tipo-container input:not(:checked)+label:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 180px;
    height: 200px;
    border: 3px solid #ddd;
    color: rgb(1, 148, 202) !important;
    transform: none;
    background: transparent
}

.tipo-container input:checked+label:after,
.tipo-container input:not(:checked)+label:after {
    content: "" !important;
    width: 180px;
    height: 200px;
    border: 3px solid rgb(1, 148, 202);
    position: absolute;
    top: 0px;
    left: 0px;
    transition: all .2s ease;
    opacity: 1;
    transform: none;
    color: rgb(0, 145, 197) !important;

}

.tipo-container input:not(:checked)+label:after {
    opacity: 0;
    transform: none;
}

.tipo-container input:checked+label {
    font-weight: 100;
    opacity: 1;
    color: rgb(0, 145, 197) !important;

}


.tipo-container input+label:hover {
    padding: none;
    border-left: none;
    transform: none;
    transition: all .3s ease;
    background-color: none !important;
}


#serif,
#sans-serif,
#display,
#cursiva,
#monospace {
    font-size: 90px;
    display: block;
    margin: 10px 0px 45px 0px;
}

#criativa {
    font-family: 'Monoton', cursive;
    font-size: 70px;
    display: block;
    margin: 10px 0px 45px 0px;
}

#serif {
    font-family: serif;
}

#sans-serif {
    font-family: sans-serif;
}

#display {
    font-family: 'Lobster', cursive;
}

#cursiva {
    font-family: 'Sacramento', cursive;
}

#monospace {
    font-family: 'Cutive Mono', monospace;
}