body {
    font-family: 'Roboto', sans-serif;
    color: #656D78;
}

/* Tamanhos de fontes */

h1 {
    font-size: 1.8rem;
}

h2 {
    font-size: 1.25rem;
}
.form-title {
    font-size: 1.2rem;
}
p{
    font-size:  0.8rem
}
.btn-group-lg>.btn, .btn-lg{
    font-size: 1rem;
}
/* Cores gerais de textos e backgrounds */

.bg-facebook-blue {
    background-color: #4267b2;
}
.text-orange{
    color: #ffb000;
}
.text-green{
    color: #43A047;
}
/* Botões */

.btn-default {
    background-color: #ffd637;
    color: #43A047;
    font-weight: bold;
    padding: 0.3rem 1rem;
    border-radius: 5px;
}

.btn-default:hover {
    background-color: #ffb000;
    color: #43A047;
    transition: 0.3s;
}

.btn-radio {
    background-color: white;
    border: 1px solid #43A047;
    font-weight: bold;
    margin-top: -1.5rem;
}

.btn-radio:hover, input[type=radio]:checked ~ .btn-radio {
    background-color: #ffb000;
    border: 1px solid #ffb000;
    color: #43A047;
}


/* Banner e conteúdos */

#banner {
    background-image: url(../img/background.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
figure {
    margin:0;
}
.shake{
    animation: shake 1s cubic-bezier(.36,.07,.19,.97) both infinite;
}

@keyframes shake {
    10%, 90% {
        transform: translate3d(-1px, 0, 0);
    }

    20%, 80% {
        transform: translate3d(2px, 0, 0);
    }

    30%, 50%, 70% {
        transform: translate3d(-4px, 0, 0);
    }

    40%, 60% {
        transform: translate3d(4px, 0, 0);
    }
}
/* Formulário */

    /* Mostra somente um step por vez */

    .form {
        display: none;
    }

    #step_1 {
        display: block
    }

    /* * -- */

.js-loading-msg {
    color: #000;
}

.form-body {
    min-height: 28rem;
    border-radius: 15px;
}

/* Estilizar mensagem de erro do formulário */

.errors {
    background-color: #d02626;
    color: #fff;
    margin-bottom: 5px;
}

.invalid-tooltip {
    position: absolute;
    display: inline-block;
    top: 93%;
    border-bottom: 1px dotted #ccc;
    color: white;
    background-color: #d02626;
}

.invalid-tooltip::after {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 10%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent #d02626 transparent;
}

/* Modal do formulário */

.js-modal-bg-default,
.js-modal-bg-af {
    background: hsla(0, 0%, 0%, 0.9);
    display: none;
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.js-form-modal {
    margin: auto 15px;
    position: absolute;
    z-index: 1001;
    top: 9%;
    bottom: 3%;
    right: 0;
    left: 0;
}

.js-modal-active {
    overflow: hidden;
}

.js-modal-active .js-form-modal {
    overflow-x: hidden;
    overflow-y: auto;
}

.btn-close-modal {
    font-size: 45px;
    margin: 5px 14px;
    color: #fff !important;
    float: right;
    font-weight: 700;
    line-height: 1;
    opacity: .5;
    cursor: pointer;
}

/* Animação do modal do formulário */

.js-scale-up-right {
    -webkit-animation: scale-up-right 0.5s cubic-bezier(0.550, 0.055, 0.675, 0.190) both;
    animation: scale-up-right 0.5s cubic-bezier(0.550, 0.055, 0.675, 0.190) both;
}

@-webkit-keyframes scale-up-right {
    0% {
        -webkit-transform: scale(0.5);
        transform: scale(0.5);
        -webkit-transform-origin: 100% 50%;
        transform-origin: 100% 50%;
    }
    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
        -webkit-transform-origin: 100% 50%;
        transform-origin: 100% 50%;
    }
}

@keyframes scale-up-right {
    0% {
        -webkit-transform: scale(0.5);
        transform: scale(0.5);
        -webkit-transform-origin: 100% 50%;
        transform-origin: 100% 50%;
    }
    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
        -webkit-transform-origin: 100% 50%;
        transform-origin: 100% 50%;
    }
}


/* Media queries */
@media screen and (max-width: 350px){
    .form-title {
        font-size: 1rem;
    }
}
@media screen and (min-width:992px) {
    .js-form-modal {
        width: 40%;
        top: 5%;
        bottom: 5%;
        margin: auto;
    }

    .form-title {
        font-size: 1.3rem;
    }

    h1 {
        font-size: 2.3rem;
    }

    h2 {
        font-size: 1.6rem;
    }

}

@media screen and (min-width:1200px) {


    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    p{
        font-size:  0.9rem
    }
}

@media screen and (min-width: 1300px){
    .btn-group-lg>.btn, .btn-lg{
        font-size: 1.25rem;
    }
}
@media screen and (min-width:1600px) {

    .form-title {
        font-size: 1.5rem;
    }

    p{
        font-size:  1rem
    }
}
