html{
    font-size: 62.5%;
    height: 100%;
}

body{
    height: 100%;
    margin: 0;
    font-family: Verdana, sans-serif;
}

#top-form-bar{
    background: linear-gradient(to left, #750204, #10283c);
    position: relative;
    height: 5rem;
}

#logo-wrapper{
    margin: 0 auto;
    max-width: 800px;
}

#logo-wrapper img{
    height: 4rem;
    padding: .5rem 1rem;
}

#form-ico{
    position: absolute;
    height: 6rem;
    width: 6rem;
    margin-left: -3rem;
    top: 2rem;
    left: 50%;
    box-shadow: 0 0 .5rem rgba(0,0,0,.5);
    background: #fff;
    border-radius: 50%;
    font-size: 3rem;
    text-align: center;
    line-height: 6rem;
    color: #999;
}

#form-body{
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    overflow: hidden;
    display: flex;
    width: 100%;
}

#form-content{
    width: 100%;
    overflow: auto;
    padding: 1rem 1rem 0 1rem;
}


#msg-sucesso-cadastro,
#msg-erro-cadastro,
.form-section-title{
    padding: 1rem;
    color: #ffffff;
    font-weight: bold;
    position: relative;
}

#msg-sucesso-cadastro,
#msg-erro-cadastro{
    margin-bottom: 4rem;
    font-size: 1.2rem;
}

#msg-sucesso-cadastro{
    background: #64cc5f;
    border: solid .1rem #54bc4f;
}

#msg-erro-cadastro{
    background:#f16165;
    border: solid .1rem #d40000;
}

#msg-sucesso-cadastro i,
#msg-erro-cadastro i{
    font-size: 2rem;
    text-align: center;
    display: inline-block;
    margin-right: 1rem;
}

.form-section{
    padding-bottom: 2rem;
}

.form-section-title{
    background: #9eaeca;
    margin-bottom: 2rem;
    font-size: 1.4rem;
}

.form-section-title::after{
    content: "";
    position: absolute;
    top: 100%;
    left: 1rem;
    border-top: 1rem solid #9eaeca;
    border-right: 1rem solid transparent;
    border-left: 1rem solid transparent;
    margin-top: -.1rem;
}

.form-section-title i{
    min-width: 2rem;
    text-align: center;
    display: inline-block;
}

.form-section-body{

}

.flex-wrapper{
    display: flex;
}

.flex-wrapper-column{
    display: flex;
    flex-direction: column;
}

.flex{
    flex: 1;
}

.input-wrapper{
    padding: 0 1rem 1rem 1rem;
    box-sizing: border-box;
}


.input-wrapper label{
    font-size: 1.2rem;
    line-height: 2rem;
    color: #555555;
    font-weight: bold;
}

.input-wrapper label:first-child{
    display: block;
}

.input-wrapper input{
    height: 2.5rem;
    line-height: 2.5rem;
    font-size: 1.2rem;
    padding: 0 1rem;
    width: 100%;
    box-sizing: border-box;
    border: solid .1rem #ccc;
}

.input-wrapper input:disabled{
    opacity: .5;

}

.input-wrapper input[type=checkbox],
.input-wrapper input[type=radio]{
    height: auto;
    line-height: 2.5rem;
    font-size: 1.2rem;
    width: auto;
    box-sizing: border-box;
}

.input-wrapper input[type=checkbox]+label,
.input-wrapper input[type=radio]+label{
    opacity: .7;
}

.input-wrapper input[type=checkbox]:checked+label,
.input-wrapper input[type=radio]:checked+label{
    opacity: 1;
}

.input-wrapper input:first-child,
.input-wrapper button:first-child{
    margin-top: 2.4rem;
}

.input-wrapper input[type=radio]:first-child,
.input-wrapper input[type=checkbox]:first-child{
    margin-top: 3rem;
    min-height: 0;
    vertical-align: text-bottom;
}

.input-wrapper button{
    height: 2.5rem;
    line-height: 2.5rem;
    font-size: 1.2rem;
}

.link{
    color: #32a7e5;
    font-family: Verdana, sans-serif;
    text-decoration: underline;
    padding: 0;
    height: 2rem;
    line-height: 2rem;
    font-size: 1.2rem;
    background: none;
    border: none;
    cursor: pointer;
}

.link:disabled{
    color: rgba(0,0,0, .3);
    cursor: auto;
}

.ico-whatsapp{
    font-size: 1.6rem;
}

input:checked+label .ico-whatsapp{
    color: #00ba46;
}

.remover-linha{
    padding: 0;
    border: none;
    background: none;
}

.remover-linha i{
    display: inline-block;
    background: #e57777;
    color: white;
    border: none;
    border-radius: 50%;
    width: 2.4rem;
    height: 2.4rem;
    line-height: 2.4rem;
    padding: 0;
    cursor: pointer;
}

[data-form-field-wrapper][data-form-error]{
    position: relative;
}

[data-form-field-wrapper][data-form-error] input{
    color: #d00;
    border-color: #d00;
}

[data-form-field-wrapper][data-form-error] label{
    color: #d00;
    border-color: #d00;
}

[data-form-field-wrapper] .erro{
    display: none;
    color: #d00;
    margin: 0 1rem 1rem 1rem;
}

[data-form-field-wrapper][data-form-error] .erro{
    display: block;
}

#salvar-cadastro,
#cancelar-cadastro{
    border: none;
    padding: 1rem;
    font-size: 1.6rem;
    color: #ffffff;
    font-weight: bold;
    position: relative;
    margin: 2rem 0;
    flex: 1;
    cursor: pointer;
}

#salvar-cadastro{
    background: #9eaeca;
    margin-right: 2rem;
}

#salvar-cadastro:disabled{
    opacity: .2;
}

#cancelar-cadastro {
    background: #c5d3e3;
}

.show-mobile{
    display: none;
}

.email,
.telefone{
    margin-bottom: 1rem;
}



@media screen and (max-width: 1000px) {
    #top-form-bar{
        height: 8rem
    }

    #logo-wrapper{
        text-align: center;
        padding-top: 1rem;
    }

    #logo-wrapper img{
        height: 4rem;
    }

    #form-body{
        padding-top: 3rem;
    }

    #form-ico{
        width: 4rem;
        height: 4rem;
        line-height: 4rem;
        font-size: 2rem;
        top: 6rem;
        margin-left: -2rem;
    }

    #msg-sucesso-cadastro{
        margin-bottom:2rem;
    }

    .form-section-title{
        margin-bottom: 1rem;
    }

    .show-mobile{
        display: block;
    }

    .show-mobile.flex-wrapper,
    .show-mobile.flex-wrapper-column{
        display: flex;
    }


    .input-wrapper.hide-mobile,
    .hide-mobile{
        display: none;
    }

    .flex-wrapper{
        display: block;
    }

    .flex-wrapper-mobile{
        display: flex;
    }

    .input-wrapper{
        display: block;
    }

    .input-wrapper input:first-child,
    .input-wrapper button:first-child,
    .input-wrapper input[type=radio]:first-child,
    .input-wrapper input[type=checkbox]:first-child{
        margin-top: 0;
    }

    .email,
    .telefone{
        border-bottom: solid .1rem rgba(0,0,0,.2);
        padding: 1rem 0;
    }

    #salvar{
        margin-right: 1rem;
    }

    .remover-linha{
        margin: 2rem 1rem;
    }
}