.secao-cadastro {
    padding: 4rem 0;
}

.secao-cadastro .formulario-titulo {
    font-weight: bold;
}

.secao-cadastro .form-check-label a {
    font-weight: bold;
}

.secao-cadastro:not(.cadastro-header) .formulario-titulo {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.secao-cadastro.cadastro-header .formulario-titulo,
.secao-cadastro.cadastro-header .custom-control-label,
.secao-cadastro.cadastro-header .custom-control-label a {
    color: white;
}

.secao-cadastro .form {
   display: grid;
   grid-gap: 1rem;
}

@media (max-width: 991.98px) {
    .secao-cadastro .form {
        margin-bottom: 1.5rem;
   }
}

.secao-cadastro .form div {
    display: flex;
    position: relative;
    justify-content: space-between;
}

@media (max-width: 767.98px) {
    .secao-cadastro .form div {
        flex-direction: column;
    }
}

.secao-cadastro:not(.cadastro-header) .form div:last-child {
    justify-content: space-between;
}

.secao-cadastro:not(.cadastro-header) .form .form-control {
    min-height: 60px;
    margin: 1rem 0;
    border-radius: 60px;
}

.secao-cadastro:not(.cadastro-header) .form .parsley-errors-list {
   position: absolute;
   top: -1rem;
}

.secao-cadastro {
   color: white;
}

.secao-cadastro:not(.cadastro-header) {
    font-weight: bold;
    /* margin-top: 2rem; */
}

.secao-cadastro .form .parsley-errors-list .parsley-type {
    border-radius: 6px;
    height: 45px;
    max-width: 36rem;
}

/* @media (min-width: 769px) {
    .secao-cadastro:not(.cadastro-header) #formulario-cadastro-footer,
    .secao-cadastro:not(.cadastro-header) .formulario-titulo {
        margin: 1rem 20%;
    }
} */

#cadastro-header-name-email-optin {
    padding: 1.5rem 0;
}

#btn-crm-header,
#btn-crm-footer {
    margin: 0;
}

.secao-cadastro:not(.cadastro-header) .parsley-required,
.secao-cadastro:not(.cadastro-header) .parsley-type {   
   color: #C77812;
   text-align: center;
   font-weight: bold;
}

.secao-cadastro .form-check-label a {
    color: #5E1D08;
}

.secao-cadastro .form-check-label a:hover,
.secao-cadastro .form-check-label a:focus,
.secao-cadastro .form-check-label a:active {
    color: #C77812;
}

#formulario-cadastro-footer div {
    grid-gap: 1rem;
}

@media (max-width: 768px) {
    #formulario-cadastro-footer div:first-child {
        flex-direction: column;
    }

    #formulario-cadastro-footer div:last-child {
        flex-direction: column;
    }    

    #formulario-cadastro-footer .btn {
        max-width: fit-content;
        margin: 0 auto;
    }

    .custom-switch .custom-control-label {
        margin-left: 2rem;
    }
}

.custom-switch .custom-control-label::before {
    left: -2.25rem;
    width: 1.75rem;
    pointer-events: all;
    border-radius: 0.5rem;
}

.custom-control-label::before, 
.custom-file-label, 
.custom-select {
    transition: background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.custom-control-label::before {
    position: absolute;
    top: 0.25rem;
    left: -1.5rem;
    display: block;
    width: 1rem;
    height: 1rem;
    pointer-events: none;
    content: "";
    background-color: #fff;
    border: #B08479 solid 1px;
}

.custom-switch .custom-control-label::after {
    top: calc(0.25rem + 2px);
    left: calc(-2.25rem + 2px);
    width: calc(1rem - 4px);
    height: calc(1rem - 4px);
    background-color: #B08479;
    border-radius: 0.5rem;
    transition: background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,-webkit-transform .15s ease-in-out;
    transition: transform .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    transition: transform .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,-webkit-transform .15s ease-in-out;
}

.custom-control-label::after {
    position: absolute;
    top: 0.25rem;
    left: -1.5rem;
    display: block;
    width: 1rem;
    height: 1rem;
    content: "";
    background: 50%/50% 50% no-repeat;
}

.custom-control-label {
    position: relative;
    margin-bottom: 0;
    vertical-align: top;
    color: white;
}

.custom-control-input {
    position: absolute;
    left: 0;
    z-index: -1;
    width: 1rem;
    height: 1.25rem;
    opacity: 0;
}

.custom-control {
    position: relative;
    z-index: 1;
    display: block;
    -webkit-print-color-adjust: exact;
    color-adjust: exact;
    display: flex;
    align-items: flex-end;
}

.custom-switch {
    padding-left: 0;
}

.custom-control-input:checked~.custom-control-label::before {
    color: #fff;
    border-color: #B08479;
    background-color: #B08479;
}

.custom-switch .custom-control-input:checked~.custom-control-label::after {
    background-color: #fff;
    -webkit-transform: translateX(0.75rem);
    transform: translateX(0.75rem);
}

.cadastro-header .form div {
    grid-gap: 2rem;
    align-items: center;
    justify-content: space-between;
}

@media (min-width: 769px) {
    .cadastro-header .form div {
        flex-direction: row;
    }

    .cadastro-header .form div .form-control {    
        max-width: 26%;
    }

    .cadastro-header .formulario-titulo {
        grid-gap: 1rem;
    }

    .cadastro-header .form .parsley-errors-list.filled {
        margin: -6rem 0 0 -15em;
        text-align: right;
    }

    #parsley-id-multiple-agree-crm-header {
        margin: 0;
        text-align: left;
    }
}

@media (max-width: 768px) {
    .cadastro-header .form div {
        flex-direction: column;
    }

    .cadastro-header .formulario-titulo {
        text-align: center;
        grid-gap: 0.25rem;
    }

    .cadastro-header .form .parsley-errors-list {
        text-align: center;
    }
}

.cadastro-header.variacao-fundo-branco {
    padding: 4rem;
    border-radius: 30px;
}

.cadastro-header .formulario-titulo {
    font-size: 1rem;
}

.cadastro-header .form .parsley-errors-list {
    color: #F2CB0C;
    font-weight: bold;
}

.cadastro-header .custom-switch {    
    margin-left: 2rem;
}

#cadastro-blog-name-email-optin {
    padding: 1rem 0;
    border-radius: 15px;
}

#cadastro-blog-name-email-optin .form {
    margin: 2rem;
}

@media (min-width: 769px) {
    #cadastro-blog-name-email-optin .form div {
        grid-gap: 2rem;
    }
}

@media (max-width: 768px) {
    #cadastro-blog-name-email-optin .form div {
        flex-direction: column;
    }

    #btn-crm-blog {
        margin: 2rem auto 0;
    }
}

#cadastro-blog-name-email-optin .formulario-titulo {
    margin-bottom: 0;
}

#cadastro-blog-name-email-optin .form-check-label {
    margin-left: 2rem;
}

#cadastro-blog-name-email-optin .form-check-label a {
    color: white;
}

#cadastro-sidebar-name-email-optin {
    border-radius: 15px;
}
@media (min-width: 769px) {
    #cadastro-sidebar-name-email-optin {
        padding: 2rem;
    }
}
@media (max-width: 768px) {
    #cadastro-sidebar-name-email-optin {
        padding: 1rem;
        margin: 0 1rem;
    }
}

#cadastro-sidebar-name-email-optin .formulario-titulo {
    margin-bottom: 0;
}

#cadastro-sidebar-name-email-optin .form-check-label a {
    color: #B08479;
}

#cadastro-sidebar-name-email-optin .custom-switch {
    padding-left: 1rem;
}

#btn-crm-sidebar {
    margin: 1rem auto 0;
}

.cadastro-popup.show .modal-dialog{
    display:flex;
    height:100%;
}

@media (min-width:1200px) {
    .cadastro-popup.show .modal-dialog {
        max-width:52.5vw;
    }
}

.cadastro-popup .modal-content {
    align-self:center;
}

@media (min-width:1200px) {
    .cadastro-popup.show .modal-dialog {
        max-width: 30vw;
        margin: 10vh auto;
    }
}

.cadastro-popup .modal-content {
    align-self:center;
    border-radius: 25px;
    color: white;
}

.cadastro-popup .form-control {
    width: 100%;
}

.cadastro-popup .form-check-input.agree {
    width: auto;
}

.cadastro-popup .formulario-titulo {
    font-weight: bold;
}

.cadastro-popup-mantecorp .modal-body {
    background: #212529 url( '../images/bg-popup-mobile.webp' ) center bottom / contain no-repeat;
    color: white;
    border-radius: 25px;
}

@media (min-width: 1367px) {
    .cadastro-popup-mantecorp .modal-body {
        padding-bottom: 200px;
    }
}

@media (max-width: 1366px) {
    .cadastro-popup-mantecorp .modal-body {
        padding-bottom: 130px;
    }
}

@media (max-width: 768px) {
    .cadastro-popup .modal-content {
        margin: 15px;
    }

    .cadastro-popup .form-group.agree-fields {
        margin-left: 1rem;
    }
}

.cadastro-popup .btn-close{
    border: 0;
    right: 1rem;
    position: absolute;
    z-index: 10;
    max-width: fit-content;
    height: max-content;
    background-color: #424448;
    border-radius: 5px;
    color: white;
    padding: 0.25rem;
}

.cadastro-popup .small a {
    color: #8C6E58;
}

.cadastro-popup .small a:active,
.cadastro-popup .small a:focus,
.cadastro-popup .small a:hover {
    color: white;
}

#btn-crm-popup {
    color: #212529;
    background-color: white;
    max-width: fit-content;
    margin: 0 auto;
    transition: .3s all ease-in-out;
}

#btn-crm-popup:active,
#btn-crm-popup:focus,
#btn-crm-popup:hover {
    color: white;
    background-color: #8C6E58;
}

.cadastro-popup .parsley-errors-list {
    margin: -0.5rem 0;
}

.cadastro-popup .formulario-cadastro{
    display:flex;
    flex-direction:column;
    grid-gap:1rem
}

.cadastro-popup .content .form {
    justify-content: center;
}

.cadastro-popup .formulario-titulo{
    font-size:1.5rem;
    text-align:center;    
    font-weight: bold;
    color: white;
}

.cadastro-popup .form-group{
    display:flex;
    grid-gap:.5rem
}

.cadastro-popup .form-group.agree-fields{
    display:inline-flex
}

.cadastro-popup .form-group:not(.agree-fields){
    flex-direction:column
}

.cadastro-popup .form-check-label{
    font-size:.85rem
}

.cadastro-popup .btn-subscribe{
    display:flex;
    justify-content:center;
    width:fit-content;
    margin:0 auto
}

.cadastro-popup .btn-close{
    border:0;
    right:1rem;
    top:1rem;
    position:absolute;
    z-index:10;
}

.cadastro-popup .form-control {
    border-radius: 15px;
    border: 1px solid #5E1D08;
}

.cadastro-popup .form-control.parsley-error {
    max-width: 80%;
    margin: 0 auto;
}

.cadastro-popup .formulario-cadastro{
    display:flex;
    flex-direction:column;
    grid-gap:1rem
}

.cadastro-popup .formulario-titulo{
    font-size:1.5rem;
    text-align:center
}

.cadastro-popup .form-group{
    display:flex;
    grid-gap:.5rem
}

.cadastro-popup .form-group.agree-fields{
    display:inline-flex
}

.cadastro-popup .form-group:not(.agree-fields){
    flex-direction:column
}

.cadastro-popup .form-check-label{
    font-size:.85rem
}

.cadastro-popup .btn-subscribe{
    display:flex;
    justify-content:center;
    width:fit-content;
    margin:0 auto
}

#formulario-cadastro-popup .parsley-type,
.cadastro-popup .parsley-errors-list .parsley-required,
.cadastro-popup .parsley-errors-list .parsley-type #formulario-cadastro-popup .parsley-required{
    color:#C77812;
    text-align:center;
    font-weight:700
}

.cadastro-popup .parsley-errors-list {
    margin: -.5rem 0 -1rem;
}

#btn-crm-popup {
    margin: 0 auto;
}

/* Footer crm - campo email */
@media (min-width: 769px) {
    #parsley-id-25 {
        right: 0;
    }
}

/* Blog crm */ 
#cadastro-blog-name-email-optin #parsley-id-16 {
    right: 0;
}

@media (max-width: 768px) {
    .secao-cadastro:not(.cadastro-header) .form .parsley-errors-list {
        position: relative;
    }

    #parsley-id-multiple-agree-crm-blog {
        margin-top: -5rem;
    }
}

#parsley-id-multiple-agree-crm-blog {
    position: relative;
}

@media (min-width: 769px) {
    #parsley-id-multiple-agree-crm-blog {
        text-align: left;
        margin-right: auto;
        margin-top: -3rem;
    }
}

#parsley-id-multiple-agree-crm-sidebar {
    position: relative;
    margin-right: auto;
}

#cadastro-footer-name-email-optin {
    position: relative;
    z-index: 1000;
}

#cadastro-footer-name-email-optin .formulario-titulo {
    color: white;
}

#cadastro-footer-name-email-optin .custom-control-input:checked~.custom-control-label::before {
    color: #fff;
    border-color: #8F9299;
    background-color: #8F9299;
}

#cadastro-footer-name-email-optin .custom-control-label::before {
    border: #8F9299 solid 1px;
}

#cadastro-footer-name-email-optin .custom-switch .custom-control-label::after {
    background-color: #8F9299;
}

#cadastro-footer-name-email-optin .custom-switch .custom-control-input:checked~.custom-control-label::after {
    background-color: #fff;
}

#cadastro-footer-name-email-optin .form-check-label a {
    color: #8F9299;
}