.atf {
    position: relative;
    padding: 20px 0;
    margin-top: 20px;
    background-size: cover;
    background-image: url('../img/atf-bg.png');
}
.atf__title {
    padding: 0 20px;
    font-size: 36px;
}
.atf__img {
    position: absolute;
    bottom: 122px;
    left: 50%;
    transform: translate(-50%);
    width: 200px;
    z-index: 2;
}
.atf__box {
    color: #fff;
    padding: 20px;
    margin-top: 220px;
    background-size: cover;
    background-position: center right;
    background-image: url('../img/atf-box.png');
}
.atf__box__txt {
    font-size: 18px;
    font-weight: normal;
    font-family: AmorSansPro;
    line-height: 22px;
}
.atf__line {
    top: 130px;
    width: 100%;
    position: absolute;
    z-index: 0;
}
.atf__line.l2 {
    display: none;
}

.search {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 15px;
}
.search__form {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
}
.search__container {
    display: flex;
    align-items: center;
    flex-grow: 1;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 8px 10px;
    box-sizing: border-box;
    margin-bottom: 20px;
    width: 100%;
}
.search__input {
    border: none;
    outline: none;
    flex-grow: 1;
    padding: 5px;
    font-size: 16px;
    border-radius: 20px;
}
.search__button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}
.search__icon {
    width: 18px;
    height: 18px;
}
.search__location {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 90%;
    margin: auto;
    border: 0px solid var(--main-color);
    border-radius: 30px;
    padding: 13px 0;
    text-decoration: none;
    text-align: center;
    font-size: 17px;
    font-family: InterSemiBold;
    color: var(--main-color);
    margin-bottom: 10px;
    cursor: pointer;
    background-color: var(--main-color);
    color: #fff;
}
.search__location:hover {
    color: #fff;
    background-color: var(--main-color);
}
.search__location img {
    width: 18px;
    filter: brightness(0) invert(1);
}
.search__error {
    display: none;
    text-align: center;
    color: red;
    padding: 6px 10px;
    margin-top: 10px;
}

.directory {
    position: relative;
    display: flex;
    flex-direction: column-reverse;
    margin-top: 30px;
    padding: 0px;
}
.directory__fixed__container {
    height: 610px;
    margin: 0px;
    padding: 8px 4px 8px 0px;
    max-width: 485px;
    box-shadow:none;
    -webkit-box-shadow:none;
}
.directory__list {
    overflow-y: auto;
    height: 94%;
    padding: 16px;
}
.open .directory__list {
    display: block;
}
.directory__loading {
    display: none;
    text-align: center;
}
.directory__list__noresults {
    display: none;
    text-align: center;
}
.directory__branch {
    border-bottom: 1px solid rgba(0,0,41,.3);;
    display: flex;
    margin: 10px 0;
    padding-bottom: 16px;
    max-width: 600px;
}
.directory__branch figure {
    display: none;
}
.directory__branch__marker {
    width: 30px;
    height: 40px;
    margin-right: 4px;
    display: inline-block;
}
.directory__branch__content {
    width: 100%;
}
.directory__branch__name {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color:#1f1f1f;
    font-size: 20px;
    margin: 4px 0;
    font-family: InterSemiBold, arial
}
.directory__branch__address {
    font-size: 16px;
    font-size: 16px;
    margin: 6px 0 8px;
    font-family: Inter, arial;
}
.directory__branch__phone {
    color:#000000;
    font-size: 16px;
}
.directory__branch__btns {
    display: flex;
    justify-content: space-around;
    gap: 5px;
    flex-direction: column;
    margin-top: 20px;
}
.directory__web__branch__btn {
    display:flex;
    align-items:center;
    justify-content: center;
    gap: 8px;
    width:100%;
    border-radius: 30px;
    border: 2px solid var(--main-color);
    text-decoration: none;
    text-align: center;
    font-family: InterSemiBold;
    font-size:14px;
    color: var(--main-color);
    max-width:350px;
    padding:10px 0;
    cursor: pointer;
}
.directory__web__branch__btn:hover {
    color: #fff;
    background-color: var(--main-color);
}
.directory__web__branch__btn__icon {
    height:20px;
    width:20px;
}
.directory__web__branch__btn:hover .directory__web__branch__btn__icon {
    filter: brightness(0) invert(1);
    height:20px;
    width:20px;
}

.directory__branch__btn {
    display:flex;
    align-items:center;
    justify-content: center;
    gap: 8px;
    border-radius: 30px;
    text-decoration: none;
    text-align: center;
    background-color:var(--main-color);
    font-family: InterSemiBold;
    font-size:15px;
    color:#fff;
    margin-bottom:10px;
    width:100%;
    max-width:350px;
    padding:12px 0;
    cursor: pointer;
}
.directory__branch__btn:hover {
    color: #fff;
    background-color: var(--third-color);
}
.directory__branch__btn__icon {
    height:20px;
    width:20px;
}

.directory__pages {
    display: none;
    padding: 0 20px;
    margin-top: -20px;
    margin-bottom: 20px;
}
.directory__pages__content {
    display: flex;
    justify-content: center;
}
.directory__pages a {
    width: 120px;
    border-radius: 30px;
    border: 2px solid var(--third-color);
    text-decoration: none;
    text-align: center;
    font-family: InterSemiBold;
    font-size: 14px;
    color: #fff;
    max-width: 350px;
    padding: 8px 0;
    background-color: var(--third-color);
}
.directory__pages a.disabled {
    border-color:#ccc;
    background-color: #ccc;
}

.directory__map {
    position: relative;
    height: 280px;
}
.directory__map .wrapper{
    padding: 0px;
}

#map{
    height: 480px;
}

.windowMap__content{
    max-width: 280px;
}
.windowMap__name{
    color: #64257E;
    font-family: 'AmorSansProBold';
    font-size: 16px;
    margin: 0px;
}
.windowMap__address{
    color: #727070;
    font-size: 14px;
    margin: 6px 0;
}
.windowMap__phone{
    color:#000000;
    font-size: 14px;
    display:none;
    text-decoration: underline;
}
.windowMap__content .directory__branch__btn{
    background-color: #EC631E;
}
.windowMap__content .directory__branch__btns{
    margin: 8px 0 0 0;
}

.cajero {
    position: relative;
    margin: auto;
    padding: 40px 0;
}
.cajero__content {
    max-width: 900px;
}
.cajero__left {
    padding: 0 20px;
}
.cajero__line {
    width: 100%;
    position: absolute;
    top: 0;
}
.cajero__line.l2 {
    display: none;
}
.cajero__title {
    color: #652D86;
    font-weight: 600;
    font-size: 26px;
    font-family: AmorSans;
    margin-bottom: 10px;
}
.cajero__txt {
    margin-bottom: 20px;
}
.cajero__txt .yastas {
    font-size: 18px;
}
.cajero__right {
    text-align: center;
}
.cajero__img {
    width: 300px;
}

.benefits {
    padding: 40px 20px;
    background-color: #F6F6F6;
}
.benefits__content {
    max-width: 900px;
}
.benefits__title {
    color: #652D86;
    font-weight: 600;
    font-size: 26px;
    font-family: AmorSans;
    margin-bottom: 30px;
}
.benefits__item img {
    width: 60px;
    margin-bottom: 10px;
}
.benefits__item h3 {
    color: #252A2D;
    font-family: Inter-SemiBold;
    margin-bottom: 15px;
}
.benefits__item p {
    margin-bottom: 30px;
}

.credit {
    padding: 40px 20px;
    max-width: 900px;
}
.credit__title {
    color: #652D86;
    font-size: 26px;
    font-family: AmorSans;
    margin-bottom: 20px;
    line-height: 32px;
}
.credit__txt {
    line-height: 24px;
    margin-bottom: 20px;
}
.credit__txt .bold {
    font-family: Inter-SemiBold;
}

span.yastas {
    font-family: AmorSansProBoldItalic;
}

.rrss {
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    grid-gap: 20px;
}
.rrss img {
    width: 30px;
}

.yastas2 {
    font-family: AmorSansProBoldItalic;
}

.whatsapp {
    position: fixed;
    right: 10px;
    bottom: 10px;
}
.whatsapp__img {
    width: 64px;
}

#itemList, 
#GTMclicMarker {
    display: none;
}

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

    .directory__branch figure {
        display: none;
    }
    .directory__branch__btns {
        display:flex;
        justify-content:space-around;
        flex-direction: row;
        gap: 5px;
    }
    .directory__web__branch__btn {
        margin-bottom:0px;
        width:48%;
    }
    .directory__branch__btn {
        margin-bottom:0;
        width:48%;
    }

}

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

    .atf {
        margin-top: 80px;
    }
    .atf__title {
        width: 390px;
        font-size: 40px;
        padding: 0 40px;
    }
    .atf__img {
        width: 280px;
    }
    .atf__box {
        margin-top: 300px;
    }
    .atf__box__txt {
        padding: 0 20px;
        font-size: 20px;
    }

    .search__location {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 90%;
        margin: auto;
        border: 0px solid var(--main-color);
        border-radius: 30px;
        padding: 13px 0;
        text-decoration: none;
        text-align: center;
        font-size: 17px;
        font-family: InterSemiBold;
        color: var(--main-color);
        margin-bottom: 10px;
        cursor: pointer;
        background-color: var(--main-color);
        color: #fff;
    }
    .search__location:hover {
        color: #fff;
        background-color: var(--main-color);
    }

    .search__location img {
        filter: brightness(0) invert(1);
    }

    .search__location:hover img {
        filter: brightness(0) invert(1);
    }

    .directory {
        position: relative;
        display: flex;
        flex-direction: column-reverse;
        margin-top: 50px;
        padding: 0px;
    }
    .directory__fixed__container {
        max-width: 100%;
    }
    .directory__web__branch__btn {
        display:flex;
        align-items:center;
        justify-content: center;
        gap: 8px;
        width:40%;
        border-radius: 30px;
        border: 2px solid var(--main-color);
        text-decoration: none;
        text-align: center;
        font-family: InterSemiBold;
        font-size:15px;
        max-width:350px;
        padding: 11px 0;
        cursor: pointer;
    }
    .directory__web__branch__btn:hover {
        color: #fff;
        background-color: var(--main-color);
    }
    .directory__web__branch__btn__icon {
        height:20px;
        width:20px;
    }
    .directory__web__branch__btn__icon {
        height:20px;
        width:20px;
    }
    .directory__map {
        width: 100%;
    }

    .cajero__content,
    .benefits__content,
    .credit {
        width: 450px;
        margin: auto;
    }
    .benefits__content {
        padding: 0 20px;
    }

    .cajero__title {
        font-size: 30px;
    }
    .cajero__txt {
        font-size: 18px;
    }
    .cajero__txt .yastas {
        font-size: 22px;
    }

    .benefits__title {
        font-size: 30px;
    }

    .credit__title {
        font-size: 30px;
    }
    .credit__txt {
        font-size: 18px;
    }
    .credit__txt .yastas {
        font-size: 22px;
    }

    .rrss img {
        width: 40px;
    }

}

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

    .atf {
        padding-bottom: 0;
        background-image: url('../img/atf-bg-desktop.png');
    }
    .atf__title {
        width: 460px;
        font-size: 50px;
        line-height: 56px;
    }
    .atf__img {
        left: auto;
        right: 40px;
        bottom: 0;
        width: 400px;
        transform: translate(0);
    }
    .atf__box {
        padding: 30px;
        margin-top: 160px;
        font-size: 20px;
        background-image: url('../img/atf-box-desktop.png');
    }
    .atf__box__txt {
        line-height: 28px;
        font-size: 22px;
    }
    .atf__line.l1 {
        display: none;
    }
    .atf__line.l2 {
        display: block;
    }
    .atf__line {
        top: 0;
    }

    .search {
        padding-top: 40px;
    }
    .search__form {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }
    .search__location {
        width: 290px;
        margin: auto 5px;
    }
    .search__container {
        margin-bottom: auto;
        width: auto;
    }

    .directory {
        display: flex;
        flex-direction: row;
        margin-top: 50px;
    }
    .directory__fixed__container {
        height: 610px;
        margin: 0px;
        padding: 8px 4px 8px 0px;
        max-width: 485px;
        box-shadow:none;
        -webkit-box-shadow:none;
    }
    .directory__list {
        display: block;
        padding-left: 8px;
    }
    .directory__branch figure {
        display: block;
    }
    .directory__branch figure img {
        width: 30px;
        height: 40px;
    }
    .directory__branch__name {
      font-size: 22px;
    }
    
    .directory__map {
        position: relative;
        width: 50%;
        height: auto;
    }

    #map{
        height: 580px;
    }

    .cajero__content {
        width: auto;
        padding: 60px 20px;
        display: flex;
        align-items: center;
        flex-direction: row-reverse;
    }
    .cajero__line.l1 {
        display: none;
    }
    .cajero__line.l2 {
        display: block;
    }
    .cajero__line {
        top: 30px;
    }
    .cajero__left {
        width: 50%;
    }
    .cajero__right {
        width: 50%;
    }
    .cajero__title {
        width: 380px;
        font-size: 36px;
        margin-bottom: 20px;
    }

    .benefits {
        padding: 60px 20px;
    }
    .benefits__content {
        width: auto;
    }
    .benefits__title {
        font-size: 36px;
        text-align: center;
    }
    .benefits__bullets {
        display: flex;
        grid-gap: 20px;
    }
    .benefits__item {
        width: 33%;
    }

    .credit {
        display: flex;
        align-items: center;
        padding: 60px 20px;
        width: auto;
    }
    .credit__left {
        width: 50%;
    }
    .credit__right {
        width: 50%;
        text-align: right;
    }
    .credit__title {
        font-size: 36px;
        line-height: 40px;
    }
    .credit__txt {
        font-size: 18px;
    }
    .credit__right img {
        width: 400px;
    }

}

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

    .atf__content {
        width: 900px;
        margin: auto;
        position: relative;
        height: 300px;
    }
    .atf__title {
        width: 520px;
        line-height: 65px;
        font-size: 60px;
        padding-left: 20px;
    }
    .atf__img {
        bottom: -142px;
    }
    .atf__box {
        margin-top: 0;
    }
    .atf__box__content {
        width: 900px;
        margin: auto;
    }

    .directory {
        border-bottom: 1px solid rgba(60, 15, 72,.1);
        display: flex;
        width: 100%;
    }
    .directory__fixed {
        width: 45%;
    }
    .directory__fixed__container {
        margin: 0px 0 0 auto;
        max-width: none;
    }
    .directory__list {
        height: 92%;
    }
    .directory__map{
        width: 55%;
    }

    .cajero__line {
        top: 40px;
    }

}

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

    .cajero__title {
        width: 440px;
        font-size: 40px;
    }
    .cajero__txt {
        font-size: 18px;
    }
    .cajero__txt .yastas {
        font-size: 22px;
    }

    .benefits__title {
        font-size: 40px;
        margin-bottom: 40px;
    }

    .credit__title {
        font-size: 40px;
        line-height: 42px;
    }

    .whatsapp {
        right: 20px;
        bottom: 20px;
    }

    .rrss {
        grid-gap: 30px;
    }

}

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

    .atf__box {
        background-position: center top;
    }
    .atf__line {
        top: -30px;
    }

}

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

    .atf__line {
        top: -100px;
    }
    .directory__fixed {
        width: 40%;
    }
    .directory__map {
        width: 60%;
    }

}

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

    .directory__fixed {
        width: 35%;
    }
    .directory__map {
        width: 65%;
    }

}
