body {
    font-family: 'Lato', sans-serif;
    margin: 0;
}

.clearfix::after { 
   content: ' ';
   display: block; 
   height: 0; 
   clear: both;
}

.banner {
    background-image: url('../../img/creditohabitacao/vidaHabitacao_Header.png');
    background-size: 1920px auto;
    background-position: center top;
    background-repeat: no-repeat;
    padding-bottom: 70px;
}
.banner .container {
    max-width: 951px;
}

.header {
    padding: 30px 0 40px;
}

.logo {
    max-height: 43px;
}

.left_text .title {
  font-size: 45px;
  font-weight: 900;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.11;
  letter-spacing: normal;
  text-align: left;
  color: #07355e;
  text-transform: uppercase;
  max-width: 546px;
}

.left_text .subtitle {
    font-size: 24px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.21;
    letter-spacing: normal;
    text-align: left;
    color: #ffffff;
    max-width: 298px;
    margin-bottom: 40px;
}


/* .block-tabs {
    text-align: right;
    margin-top: -175px;
} */

.block-tabs-img {
    width: 458px;
}

.blocks-heading {
    background-image: linear-gradient(95deg, #1079d5, #0b518e 52%, #07355e);
    padding: 30px;
    font-size: 24px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.21;
    letter-spacing: normal;
    text-align: left;
    color: #ffffff;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    text-transform: uppercase;
}

.blocks-body{
    background-color: #fafafa;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    box-shadow: 0 0 25px 0 rgba(0, 0, 0, 0.15);
    padding-top: 30px;
    padding-bottom: 40px;
}

/********* FORMULÁRIO *********/

.passo:not(.active) {
    display: none;
}

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

.btn-form {
    border-radius: 33px;
    box-shadow: 0 10px 15px 0 rgba(0, 0, 0, 0.25);
    background-image: linear-gradient(103deg, #2a93ef, #07355e);
    font-size: 28px;
    font-weight: bold;
    line-height: 1.2;
    color: #ffffff;
    padding: 15px 92px 15px 60px;
    text-align: center;
    /*width: 294px;*/
    position: relative;
    text-transform: uppercase;
    margin: 0 auto;
    display: inline;
    border: none;
}

.btn-form::after {
    content: '';
    height: 24px;
    width: 24px;
    background-image: url('../../img/buttonArrow_White.svg');
    background-size: auto;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    top: calc(50% - 12px);
    right: 55px;
}

.btn-form:hover {
    color: #fff;
    box-shadow: 0 10px 15px 0 rgba(0, 0, 0, 0.25);
    background-image: linear-gradient(103deg, #0b518e, #07355e);
}

.input-block {
    border-radius: 20px;
    border: solid 1px #e6e6e6;
    background-color: #ffffff;
    padding: 20px 40px 30px;
    max-width: 650px;
    margin: 0 auto 10px;
    text-align: left;
}

.slider-result, .input-title {
    text-align: left;
    display: flex;
    align-items: center;
    font-size: 16px;
    line-height: 1.22;
    color: #808080;
    margin-bottom: 10px;
}

.input-title {
    margin-bottom: 20px;
}

.input-title-special {
    font-size: 18px;
    line-height: 1.22;
    text-align: center;
    color: #0e6cbe;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.slider-result .result, .slider-result .currency {
    font-size: 45px;
    font-weight: 900;
    line-height: 0.8;
    text-align: right;
    color: #07355e;
}

.slider-result .result {margin-left: auto;}
.slider-result .currency {font-size: 30px;align-self:end;margin-left:5px;}

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

.input-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 10px;
    background: #e6e6e6;
    outline: none;
    opacity: 1;
    -webkit-transition: .2s;
    transition: opacity .2s;
    border-radius: 10px;
}

.input-slider:hover {
    opacity: 1;
}

.input-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    background: #0e6cbe;
    cursor: pointer;
    border-radius: 50%;
    box-shadow: 0 5px 5px 0 rgba(0, 0, 0, 0.25);
}

.input-slider::-moz-range-thumb {
    width: 25px;
    height: 25px;
    background: #0e6cbe;
    cursor: pointer;
    border-radius: 50%;
    box-shadow: 0 5px 5px 0 rgba(0, 0, 0, 0.25);
}

.radios-input {
    text-align: center;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

div.error {
    width: 100%;
}

.error {
    color: #bf0404;
    font-weight: bold;
}

.input-block.input-block-error {
    border-color: #bf0404;
}

.radios-input label {
    padding-top: 95px;
    background-size: 90px;
    background-repeat: no-repeat;
    background-position: center top;
    min-width: 90px;
    text-align: center;
    font-size: 16px;
    line-height: 1.22;
    color: #808080;
    cursor: pointer;
}

/*Radios Transf seguro*/
#label-imediata {background-image: url(../../img/creditohabitacao/vidaHabitIcon_Data1.svg);}
#label-30dias {background-image: url(../../img/creditohabitacao/vidaHabitIcon_Data2.svg);}
#label-90dias {background-image: url(../../img/creditohabitacao/vidaHabitIcon_Data3.svg);}

#label-imediata:hover {background-image: url(../../img/creditohabitacao/vidaHabitIcon_Data1_Over.svg);}
#label-30dias:hover {background-image: url(../../img/creditohabitacao/vidaHabitIcon_Data2_Over.svg);}
#label-90dias:hover {background-image: url(../../img/creditohabitacao/vidaHabitIcon_Data3_Over.svg);}

#trans-imediata:checked ~ #label-imediata {background-image: url(../../img/creditohabitacao/vidaHabitIcon_Data1_Down.svg);}
#trans-30:checked ~ #label-30dias {background-image: url(../../img/creditohabitacao/vidaHabitIcon_Data2_Down.svg);}
#trans-90:checked ~ #label-90dias {background-image: url(../../img/creditohabitacao/vidaHabitIcon_Data3_Down.svg);}

/*Radios Peossas a segurar*/
#label-pessoas1 {background-image: url(../../img/creditohabitacao/vidaHabitIcon_Pessoas1.svg);}
#label-pessoas2 {background-image: url(../../img/creditohabitacao/vidaHabitIcon_Pessoas2.svg);}


#label-pessoas1:hover {background-image: url(../../img/creditohabitacao/vidaHabitIcon_Pessoas1_Over.svg);}
#label-pessoas2:hover {background-image: url(../../img/creditohabitacao/vidaHabitIcon_Pessoas2_Over.svg);}


#pessoas-1:checked ~ #label-pessoas1 {background-image: url(../../img/creditohabitacao/vidaHabitIcon_Pessoas1_Down.svg);}
#pessoas-2:checked ~ #label-pessoas2 {background-image: url(../../img/creditohabitacao/vidaHabitIcon_Pessoas2_Down.svg);}


.input-field {
    width: 265px;
    margin-bottom: 15px;
}

.input-field label {
    display: block;
    font-size: 16px;
    line-height: 1.19;
    text-align: left;
    color: #808080;
    margin-bottom: 10px;
    text-transform: uppercase;
}
.input-field label span {
    font-size: 11px;
}
.form-input {
    border-radius: 40px;
    border: solid 1px #0e6cbe;
    background-color: #ffffff;
    font-size: 20px;
    line-height: 1.2;
    text-align: left;
    color: #808080;
    padding: 8px 0 8px 50px;
    
    background-size: 24px auto;
    background-position: 17px center;
    background-repeat: no-repeat
}

.form-input::placeholder {
    color: #bfbfbf;
}

.nome-input {background-image: url(../../img/creditohabitacao/vidaHabitacao_formIcon_Name.svg);}
.data-input {background-image: url(../../img/creditohabitacao/vidaHabitacao_formIcon_Age.svg);}
.email-input {background-image: url(../../img/creditohabitacao/vidaHabitacao_formIcon_Email.svg);}
.telefone-input {background-image: url(../../img/creditohabitacao/vidaHabitacao_formIcon_Phone.svg);}

.check-container {
  display: block;
  position: relative;
  padding-left: 64px;
  cursor: pointer;
  font-size: 14px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  line-height: 1.21;
  color: #808080;
  max-width: 650px;
  margin-top: 10px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
  text-align: left;
}

.check-container a {
    color: #808080;
    text-decoration: underline;
}

.check-container a:hover {
    color: #9c9c9c;
    text-decoration: underline;
}

.check-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: absolute;
  top: 0;
  left: 40px;
  height: 14px;
  width: 14px;
  background-color: #ffffff;
  border: 1px solid #0e6cbe;
}

.check-container:hover input ~ .checkmark {
  background-color: #0e6cbe;
}


.check-container input:checked ~ .checkmark {
  background-color: #0e6cbe;
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.check-container input:checked ~ .checkmark:after {
  display: block;
}

.check-container .checkmark:after {
  left: 3px;
  top: 0px;
  width: 6px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
} 


label.error {
    font-size: 14px;
    text-transform: initial;
    color: #de4545;
    display: block;
    margin: 0;
    height: 0;
}

.loading {
    text-align: center;
}

.loading img {
    height: 130px;
    width: 130px;
    -webkit-animation: rotate 0.8s linear infinite;
    -moz-animation: rotate 0.8s linear infinite;
    -ms-animation: rotate 0.8s linear infinite;
    -o-animation: rotate 0.8s linear infinite;
    animation: rotate 0.8s linear infinite;
}

.loading-title {
    font-size: 30px;
    font-weight: bold;
    line-height: 1.2;
    text-align: center;
    color: #808080;
    text-transform: uppercase;
    margin-top: 30px;
    margin-bottom: 10px;
}

/*** FORMULARIO END ***/

.parceiros {
    padding: 70px 0 100px;
}

.parceiros-title {
    font-size: 30px;
    line-height: 1.2;
    text-align: center;
    color: #07355e;
    max-width: 950px;
    margin:0 auto 40px;
    text-transform: uppercase;
}

.parceiro-slide {
    padding: 0 30px;
}

.parceiro-slide .inner {
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 126px;
}

.parceiro-slide img {
    max-width: 180px;
}

/* Pre footer */

.pre-footer {
    padding: 70px 0 82px;
    background-color: #f7f7f7;
}
.topics-title {
    font-size: 30px;
    line-height: 1.2;
    text-align: center;
    color: #07355e;
    text-transform: uppercase;
    margin-bottom: 50px;
}
.topic {
    text-align: center;
}

.topic-icon {
    height: 100px;
    width: 100px;
    margin-bottom: 30px;
}

.topic-text {
    font-size: 20px;
    height: 48px;
    font-weight: bold;
    line-height: 1.2;
    color: #4b4b4b;
    max-width: 267px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* FAQS */

.faqs {
    padding: 70px 0 20px;
}

.faqs .container {
    max-width: 980px;
}

.faq-title {
    font-size: 30px;
    line-height: 1.2;
    letter-spacing: normal;
    text-align: center;
    color: #07355e;
    margin-bottom: 50px;
    text-transform: uppercase;
}

.faq {
    margin-bottom: 50px;
}

.faq .q {
    font-size: 17px;
    font-weight: bold;
    line-height: 1.24;
    color: #0c5ea6;
    text-transform: uppercase;
    margin-bottom: 10px;
}

/* .faq .q::before {
    content: '';
    display: inline-block;
    width: 19px;
    height: 11px;
    background-image: url('../../img/creditohabitacao/vidaHabitacao_bullet.svg');
    margin-right: 10px;
} */

.faq .a {
    font-size: 18px;
    line-height: 1.22;
    color: #808080;
}

/* Footer */

.footer {
    padding: 115px 0;
    background-image: url('../../img/creditohabitacao/vidaHabitacao_Footer.png');
    background-repeat: no-repeat;
    background-size: 1920px auto;
    background-position: center bottom;
}

.footer-title {
    font-size: 30px;
    font-weight: bold;
    line-height: 1.2;
    text-align: center;
    color: #ffffff;
    max-width: 950px;
    text-transform: uppercase;
    margin: 0 auto 30px;
}

.footer-cta {
    padding: 15px 100px 15px 60px;
    display: inline;
    border-radius: 33px;
    box-shadow: 0 15px 15px 0 rgba(0, 0, 0, 0.25);
    background-color: #ffffff;
    font-size: 30px;
    font-weight: 900;
    line-height: 1.2;
    color: #07355e;
    text-align: left;
    text-transform: uppercase;
    text-decoration: none;
    position: relative;
}

.footer-cta:hover {
    background-color: #07355e;
    color: #ffffff;
    text-decoration: none;
}

.footer-cta::after {
    content: '';
    height: 25px;
    width: 25px;
    background-image: url('../../img/creditohabitacao/vidaHabitacao_buttonArrow.svg');
    background-size: auto;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    top: calc(50% - 11px);
    right: 60px;
}

.footer-cta:hover::after {
    background-image: url('../../img/buttonArrow_White.svg');
}


/* PÁGINA DE AGRADECIMENTO */

.agradecimento-img {
    max-height: 96px;
    margin: 30px auto 50px;
    display: block;
}

.partner-img {
    max-width: 245px;
    width: 100%;
    height: 160px;
    display: flex;
    justify-content: center;
    align-items: center;
    
}

.partner-img img {
    max-height: 140px;
    max-width: 200px;
}

.partners-block {
    max-width: 490px;
    margin: 0 auto;
}


.mediador-about {
    font-size: 14px;
    line-height: 1.21;
    text-align: left;
    color: #808080;
    max-width: 650px;
    margin: 20px auto;
    
}

.mediador-about-title {
    text-transform: uppercase;
    margin-bottom: 20px;
}

.btn-mediador {
    border-radius: 33px;
    box-shadow: 0 10px 15px 0 rgba(0, 0, 0, 0.25);
    background-image: linear-gradient(98deg, #0e6cbe, #07355e);
    font-size: 25px;
    font-weight: 900;
    line-height: 1.2;
    color: #ffffff;
    padding: 15px 71px 15px 40px;
    text-align: left;
    position: relative;
    text-transform: uppercase;
    display: inline-block;
    border: none;
}

.btn-mediador::after {
    content: '';
    height: 20px;
    width: 20px;
    background-image: url('../../img/buttonArrow_White.svg');
    background-size: 11px;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    top: calc(50% - 10px);
    right: 40px;
    text-decoration: none;
}

.btn-mediador:hover {
    color: #fff;
    box-shadow: 0 10px 15px 0 rgba(0, 0, 0, 0.25);
    background-image: linear-gradient(107deg, #c9d975, #4f994f 100%);
    text-decoration: none;
}

@media (max-width: 991px) {
    .banner .container {
        max-width: 750px;
    }
    
    .left_text .title {
        font-size: 39px;
    }
    
    .left_text .subtitle {
        font-size: 19px;
    }
    
    /* .block-tabs {
        margin-top: -130px;
    } */
    
    .block-tabs-img {
        width: 434px;
    }
    
    .blocks-heading {
        margin-top: 0px;
    }
    
    .block {
        width: 240px;
        padding: 15px;
    }
    
    .block-img {
        height: 70px;
        background-size: auto 70px;
        margin-bottom: 5px;
    }
    
    .block-text {
        height: 36px;
        font-size: 15px;
    }
    
    .parceiros {
        padding: 30px 0 50px;
    }
    
    .parceiros-title {
        font-size: 22px;
        max-width: 720px;
    }
    
    .pre-footer {
        padding: 40px 0 52px;
    }
    
    .topics-title {
        font-size: 22px;
        max-width: 720px;
    }
    
    .topic {
        margin-bottom: 20px;
    }
    
    .topic-icon {
        height: 80px;
        width: 80px;
        margin-bottom: 10px;
    }
    
    .topic-text {
        font-size: 15px;
    }
    
    .footer {
        padding: 97px 0 80px;
        background-size: 1500px auto;
    }
    
    .footer-title {
        font-size: 22px;
        max-width: 720px;
    }
    
    .footer-cta {
        font-size: 22px;
        padding-right: 70px;
    }
    
    
    .footer-cta::after {
        height: 18px;
        width: 18px;
        background-size: contain;
        top: calc(50% - 9px);
        right: 33px;
    }
}

@media (max-width: 767px) {
    .parceiro-slide .inner {
        min-height: 80px;
    }
    .logo {
        text-align: center;
    }
    .banner {
        padding-bottom: 20px;
    }
    .banner .container {
        max-width: 372px;
    }
    
    .left_text .title {
        text-align: center;
        font-size: 25px;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .left_text .subtitle {
        font-size: 15px;
        text-align: center;
        margin-bottom: 10px;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .block-tabs-img {
        height: auto;
        width: 100%;
    }
    
    .block-tabs {
        margin-top: 0px;
        text-align: center;
    }
    
    .blocks-heading {
        margin-top: 0;
        padding:20px;
        text-align: center;
        font-size: 18px;
    }
    
    .blocks-body {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .slider-result, .input-title {
       display: block;
       font-size: 20px;
       text-align: center;
    }
    
    .slider-result .result, .slider-result .currency {
       font-size: 39px;
       text-align: center;
       line-height: 1.4;
    }
    
    .radios-input {
        flex-direction: column;
    }
    
    .input-field {
        width: 100%;
    }
    .input-block-text {
        padding: 20px 10px 30px;
    }
    .input-block-text .form-input {
        width: 100%;
        font-size: 16px;
        background-size: 20px auto;
    }
    
    .input-field label {
        font-size: 13px;
    }
    
    .btn-form {
        font-size: 19px;
        padding: 10px 60px 10px 20px;
    }
    
    .btn-form::after {
        height: 20px;
        width: 20px;
        right: 31px;
        background-size: 10px;
        top: calc(50% - 10px);
    }
    
    .check-container {
        padding-left: 40px;
    }
    .checkmark {
        left: 20px;
    }
    
    
    
    .parceiros {
        padding: 30px 0 50px;
    }
    
    .parceiros-title {
        font-size: 22px;
        max-width: 720px;
    }
    
    .pre-footer {
        padding: 20px 0 0px;
    }
    
    .topics-title {
        font-size: 22px;
        max-width: 720px;
    }
    
    .topic {
        margin-bottom: 20px;
    }
    
    .topic-icon {
        height: 80px;
        width: 80px;
        margin-bottom: 10px;
    }
    
    .topic-text {
        font-size: 15px;
    }

    .footer-title {
        font-size: 17px;
        max-width: 320px;
    }
    
    .footer-cta {
        font-size: 15px;
        padding: 10px 60px 10px 20px;
    }
    
    
    .footer-cta::after {
        height: 20px;
        width: 20px;
        right: 31px;
        background-size: 10px;
        top: calc(50% - 10px);
    }
    
    .btn-mediador {
        font-size: 12px;
        padding: 12px 53px 12px 24px;
    }
    
    .btn-mediador::after {
        height: 14px;
        width: 14px;
        background-size: 8px;
        top: calc(50% - 7px);
        right: 29px;
    }
    
    .agradecimento-img {
        width: 100%;
        max-height: auto;
    }
    
    .loading img {
        height: 60px;
        width: 60px;
    }
    
    .loading-title {
        font-size: 22px;
        margin-bottom: 15px;
    }
}

.preload-img {
    display: none!important;
}


/* COOKIES BUTTON */

.btn-cookies {
    background-image: linear-gradient(95deg, #88c3f6, #1079d5 52%, #07355e);
    width: 100%;
    border-radius: 8px;
    color: #fff;
    font-weight: bold;
    border: none;
}

.btn-cookies:hover {
    color: #fff;
    transform: translateY(1px);
}

/* ANIMATIONS */

@-webkit-keyframes rotate {
  from {
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes rotate {
  from {
    -ms-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -ms-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

/* MENU SUPERIOR */
.logo {
    display: inline-block;
}
.tabs {
    display: flex;
    margin-left: auto;
    float: right;
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}

.tabs a {
    padding: 5px 20px;
    margin: 0 10px;
    color: #07355e;
    background-color: #fff;
    border-radius: 40px;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
    box-shadow: 0 10px 15px 0 rgba(0, 0, 0, 0.3);
}
.tabs a.on,
.tabs a:hover {
    color: #fff;
    background-color: #6d9c40;
    text-decoration: none;
}

.mobile-hamburger {
    display: none;
}

@media (max-width: 991px) {
    .tabs a {
        padding: 5px 15px;
        margin: 0 5px;
        font-size: 12px;
    }
}

@media (max-width: 767px) {
    .mobile-hamburger {
        display: flex;
        float: right;
        height: 40px;
        width: 50px;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        position: relative;
        z-index: 101;
        cursor: pointer;
    }
    
    .mobile-hamburger span {
        width: 100%;
        height: 6px;
        background-color: #fff;
        border-radius: 8px;
    }
    
    .tabs {
        display: flex;
        position: absolute;
        top: 110px;
        left: 0;
        flex-direction: column;
        align-items: center;
        width: 100%;
        z-index: 100;
        max-height: 0;
        transition: max-height 0.3s ease-in-out;
        overflow: hidden;
    }
    .tabs.active {
        /*display: flex;*/
        max-height: 200px;
    }
    .tabs a {
        padding: 20px 0;
        margin: 0;
        font-size: 12px;
        width: 100%;
        border-radius: 0;
        text-align: center;
        display: block;
    }
    .tabs a:not(:last-child) {
        border-bottom: 1px solid #dedede;
    }
}

