img{
    display: block;
}
html {
    overflow-x: hidden;
    scroll-padding-top: 100px;
}
.new-header{
    /* position: fixed; */
    top: 0;
    left: 0;
    right: 0;
    z-index: 100000;
    width: 100%;
    box-shadow: 0 0 10px #00000063;
    transition: 0.5s ease;
    font-family: "robotoregular", sans-serif !important;
    &.header-fixed{
        position: fixed;
        transform: translateY(-100%);
        animation: fadeIn 1s ease forwards 1 normal;
    }
    &.header-fixed-out{
        transform: translateY(-100%);
        animation: fadeOut 0.3s ease forwards 1 normal;
    }
    .logo-desktop, .hide-mobile{
        display: none;
    }
    .float-right{
        margin-left: auto;
    }
    .new-header-mobile-top{
        background-color: #fff;
        .new-header-mobile-top-content{
            padding: 15px 0;
            display: flex;
            align-items: center;
            .new-header-logo{
                display: block;
                width: 40px;
                height: 40px;
                margin-right: 10px;
                img{
                    width: 100%;
                    height: 100%;
                    object-fit: contain;
                    object-position: center;
                }
            }
            .new-header-mobile-top-dropdown{
                position: relative;
                .new-header-mobile-top-dropdown-icon-left{
                    display: none;
                }
                .new-header-mobile-top-dropdown-button{
                    position: relative;
                    display: flex;
                    align-items: center;
                    justify-content: space-between;
                    gap: 10px;
                    padding: 2px 25px 2px 10px;
                    border-radius: 0;
                    border: none;
                    font-size: 16px;
                    background-color: transparent;
                    cursor: pointer;
                    &.border-left-red{
                        border-left: 3px solid #CA082C;
                    }
                    .icon-arrow-down{
                        position: absolute;
                        right: 0;
                        top: 4px;
                        width: 8px;
                        height: 8px;
                        border-top: 1px solid #5E6E8C;
                        border-right: 1px solid #5E6E8C;
                        transform: rotate(135deg);
                        transition: 0.3s ease;
                        &.icon-arrow-down_red{
                            border-color: #CA082C;
                        }
                    }
                    &.activate{
                        .icon-arrow-down{
                            transform: rotate(-45deg) translate(-4px, 4px)
                        }
                    }
                }
                .new-header-mobile-top-dropdown-list{
                    position: absolute;
                    right: 0;
                    top: 33px;
                    z-index: 10;
                    background-color: #fff;
                    padding: 0;
                    max-height: 0;
                    overflow: hidden;
                    transition: 0.8s ease;
                    width: 200px;
                    box-shadow: 0 0 10px #0000002e;
                    border-radius: 5px;
                    .new-header-mobile-top-dropdown-list-item{
                        a{
                            display: block;
                            width: 100%;
                            padding: 10px;
                            font-size: 16px;
                            font-weight: 400;
                            line-height: normal;
                            text-decoration: none;
                            color: #001F56;
                        }
                        &.activate, &:hover{
                            a{
                                font-weight: 700;
                                background-color: #F3F5FA;
                            }
                        }
                    }
                    &.activate{
                        max-height: 500px;
                    }
                    &.new-header-mobile-top-dropdown-list-1{
                        right: auto;
                        left: 0;
                    }
                }
                &.float-right{
                    .new-header-mobile-top-dropdown-list{
                        right: 0;
                        left: auto;
                    }
                }
            }
        }
    }
    .new-header-mobile-bottom{
        background-color: #001F56;
        position: relative;
        button{
            padding: 0;
            background-color: transparent;
            border: none;
            cursor: pointer;
        }
        .new-header-mobile-bottom-content{
            padding: 15px 0;
            display: flex;
            align-items: center;
            .new-header-mobile-bottom-open-menu{
                width: 26px;
                height: 21px;
                display: flex;
                flex-direction: column;
                justify-content: space-between;
                margin-left: auto;
                span{
                    display: block;
                    width: 25px;
                    height: 2px;
                    background-color: #fff;
                    transition: 0.3s ease;
                }
                &.activate{
                    span{
                        &:first-child{
                            transform: rotate(45deg) translate(7px, 6px);
                        }
                        &:nth-child(2){
                            opacity: 0;
                        }
                        &:last-child{
                            transform: rotate(-45deg) translate(7px, -6px);
                        }
                    }
                }
            }
        }
        .new-header-mobile-bottom-nav-container{
            position: absolute;
            left: 0;
            top: 100%;
            z-index: 999999;
            width: 100%;
            background-color: #001F56;
            max-height: 0;
            overflow: hidden;
            transition: 0.8s ease;
            &.activate{
                max-height: calc(100dvh - 128px);
            }
            .new-header-mobile-bottom-nav{
                padding: 20px 0;
                .new-header-mobile-bottom-menu-list{
                    .new-header-mobile-bottom-menu-list-item{
                        position: relative;
                        a{
                            display: block;
                            width: 100%;
                            font-size: 16px;
                            color: #fff;
                            padding: 2px 20px;
                        }
                        .toggle-submenu{
                            position: absolute;
                            right: 22px;
                            top: 10px;
                            z-index: 5;
                            width: 13px;
                            height: 13px;
                            background-color: transparent;
                            border: none;
                            cursor: pointer;
                            border-bottom: 2px solid #fff;
                            border-right: 2px solid #fff;
                            transform: rotate(45deg);
                            transition: 0.3s ease;
                            &.activate{
                                transform: rotate(225deg);
                            }
                        }
                        .new-header-mobile-bottom-menu-list-submenu-container{
                            max-height: 0;
                            overflow: hidden;
                            transition: 0.8s ease;
                            &.activate{
                                max-height: 1000px;
                            }
                            .deco-header{
                                position: absolute;
                                z-index: -1;
                            }
                            .deco-header-1{
                                top: 230px;
                                left: 0;
                            }
                            .deco-header-2{
                                top: -90px;
                                right: 50%;
                                transform: translateX(50%);
                            }
                            .deco-header-3{
                                top: 140px;
                                right: -210px;
                            }
                        }
                        .new-header-mobile-bottom-menu-list-submenu{
                            background-color: #6BA3B7;
                            padding: 10px 0;
                            .new-header-mobile-bottom-menu-list-submenu-item{
                                /* margin: 10px 0; */
                                position: relative;
                                .toggle-submenu-lv-2{
                                    position: absolute;
                                    right: 20px;
                                    top: 10px;
                                    width: 15px;
                                    height: 15px;
                                    &::after, &::before{
                                        content: '';
                                        display: block;
                                        width: 100%;
                                        height: 2px;
                                        background-color: #fff;
                                    }
                                    &::after{
                                        margin-top: -2px;
                                    }
                                    &::before{
                                        transform: rotate(90deg);
                                    }
                                    &.activate{
                                        &::before{
                                            opacity: 0;
                                        }
                                    }
                                }
                                .new-header-mobile-bottom-menu-list-submenu-lv-2{
                                    max-height: 0;
                                    overflow: hidden;
                                    transition: 0.8s ease;
                                    &.activate{
                                        max-height: 500px;
                                    }
                                    .new-header-mobile-bottom-menu-list-submenu-lv-2-item{
                                        a{
                                            font-weight: 300;
                                            padding: 0 20px;
                                        }
                                    }
                                }
                            }
                        }
                        &:not(:first-of-type){
                            .deco-header-1,
                            .deco-header-2,
                            .deco-header-3{
                                display: none;
                            }
                        }
                    }
                }
            }
            .new-header-mobile-bottom-nav-container-footer{
                padding: 0 20px 30px;
                display: flex;
                align-items: center;
                flex-direction: column;
                gap: 15px;
                width: 100%;
                max-width: 400px;
                margin: 0 auto;
                .new-btn-white, .new-btn-white-outline{
                    width: 100%;
                }
            }
        }
        .new-header-mobile-bottom-nav-container-buttons{
            display: none;
        }
    }
    .new-header-mobile-bottom-nav-container-footer-2{
        display: none;
    }
}
.searchform-new-header-container{
    display: flex;
    align-items: center;
    .new-header-mobile-bottom-open-search{
        color: #fff;
        cursor: pointer;
        &.activate{
            display: none;
        }
    }
    .searchform-new-header{
        position: relative;
        width: 500%;
        max-width: 0;
        overflow: hidden;
        transition: 0.8s ease;
        &.activate{
            max-width: 250px;
        }
        input{
            width: 100%;
            padding: 0 40px 0 10px;
            border: none;
            background-color: #fff;
            border-radius: 20px;
        }
        .btn-search-lupa{
            position: absolute;
            right: 10px;
            top: 50%;
            transform: translateY(-50%);
            width: 18px;
            height: 18px;
            cursor: pointer;
            background-color: transparent;
            padding: 0;
            border: none;
            svg{
                width: 100%;
                height: 100%;
            }
        }
    }
}
.only-link{
    text-decoration: none;
    padding-bottom: 2px;
    font-size: 14px;
    font-weight: 500;
    position: relative;
    color: #fff;
    &::after{
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 1px;
        background-color: #fff;
    }
    &:hover{
        opacity: 0.8;
    }
}
.new-btn-white, .new-btn-white-outline, .new-btn-blue-outline, .new-btn-blue{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 10px 20px;
    border-radius: 20px;
    border: 1px solid #000;
    text-decoration: none;
    font-size: 16px;
    line-height: normal;
    transition: 0.3s ease;
}
.new-btn-white{
    color: #001F56;
    background-color: #fff;
    border-color: #001F56;
    &:hover{
        background-color: #001F56;
        color: #fff;
    }
}
.new-btn-white-outline{
    color: #fff;
    background-color: transparent;
    border-color: #fff;
    &:hover{
        background-color: #fff;
        color: #001F56;
    }
}
.new-btn-blue-outline{
    color: #001F56;
    background-color: transparent;
    border-color: #001F56;
    &:hover{
        background-color: #001F56;
        color: #fff;
    }
}
.new-btn-blue{
    color: #fff;
    background-color: #001F56;
    border-color: #001F56;
    &:hover{
        background-color: #CA082C;
        color: #fff;
        border-color: #CA082C;
    }
}
.new-btn-blue-small{
    padding: 5px 10px;
    font-size: 14px;
    font-weight: 400;
}
.font-weight-400{
    font-weight: 400;
}
.font-weight-600{
    font-weight: 600;
}
.font-weight-700{
    font-weight: 700;
}
.text-gray{
    color: #5E6E8C;
}
@keyframes fadeIn {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}
@keyframes fadeOut {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-100%);
    }
}
@media (min-width: 1200px) {
    .new-header{
        .hide-desktop{
            display: none;
        }
        .hide-mobile{
            display: block;
        }
        .new-header-mobile-top{
            background-color: #001F56;
            .new-header-mobile-top-content{
                padding: 0;
                .logo-mobile{
                    display: none;
                }
                .new-header-mobile-top-dropdown {
                    position: relative;
                    .new-header-mobile-top-dropdown-icon-left{
                        position: absolute;
                        left: 8px;
                        top: 50%;
                        z-index: 1;
                        transform: translateY(-50%);
                        display: block;
                        width: 16px;
                        height: 16px;
                        /* svg{
                            width: 100%;
                        } */
                    }
                    .new-header-mobile-top-dropdown-list:not(.float-right){
                        .new-header-mobile-top-dropdown-list-item:not(.activate) a{
                            color: #778AAE;
                        }
                    }
                    &.float-right{
                        height: 62px;
                        .new-header-mobile-top-dropdown-button {
                            height: 100%;
                            padding-left: 35px;
                            .icon-arrow-down{
                                top: 23px;
                            }
                            &.activate{
                                background-color: #fff;
                            }
                        }
                        .new-header-mobile-top-dropdown-list{
                            top: 100%;
                            a:hover{
                                background-color: #F3F5FA;
                            }
                        }
                    }
                }
                .dropdown-desktop-none{
                    .new-header-mobile-top-dropdown-button{
                        display: none;
                    }
                    .new-header-mobile-top-dropdown-list{
                        display: flex;
                        align-items: center;
                        max-height: none;
                        position: initial;
                        padding: 0;
                        box-shadow: none;
                        background-color: transparent;
                        width: auto;
                        border-radius: 0;
                        .new-header-mobile-top-dropdown-list-item{
                            a{
                                padding: 20px 10px;
                                &:hover{
                                    background-color: #fff;
                                    font-weight: 700;
                                    color: #001F56 !important;
                                }
                            }
                            &.activate{
                                a{
                                    background-color: #fff;
                                }
                            }
                        }
                    }
                }
            }
        }
        .new-header-mobile-bottom{
            background-color: #fff;
            border-bottom: 1px solid #CA082C;
            .new-header-mobile-bottom-content{
                padding: 0;
                position: relative;
                .logo-desktop{
                    display: block;
                }
                .new-header-logo{
                    height: 40px;
                    order: 1;
                    position: relative;
                    img{
                        height: 100%;
                    }
                    &::after{
                        content: "";
                        position: absolute;
                        right: -15px;
                        top: 50%;
                        transform: translateY(-50%);
                        height: 80%;
                        width: 4px;
                        background-color: #CA082C;
                    }
                }
                .new-header-mobile-bottom-open-menu{
                    display: none;
                }
                .new-header-mobile-bottom-nav-container{
                    order: 2;
                    position: initial;
                    max-height: none;
                    margin-left: auto;
                    width: auto;
                    overflow: visible;
                    background-color: transparent;
                    .new-header-mobile-bottom-nav{
                        padding: 12px 0;
                        .new-header-mobile-bottom-menu-list{
                            display: flex;
                            align-items: center;
                            gap: 5px;
                            .new-header-mobile-bottom-menu-list-item{
                                position: initial;
                                display: flex;
                                align-items: center;
                                .new-header-mobile-bottom-menu-list-submenu-container{
                                    max-height: none;
                                    /* overflow: visible; */
                                    .deco-header{
                                        z-index: 0;
                                    }
                                    .deco-header-1{
                                        top: 158px;
                                    }
                                    .deco-header-2{
                                        top: 0;
                                    }
                                    .deco-header-3{
                                        top: 100px;
                                        right: 0;
                                    }
                                }
                                &.activate > a, > a:hover{
                                    color: #001F56;
                                    font-weight: 700;
                                }
                                &.activate{
                                    .new-header-mobile-bottom-menu-list-submenu{
                                        max-height: 1000px;
                                        min-height: 350px;
                                        padding: 20px 0;
                                    }
                                    .toggle-submenu{
                                        transform: rotate(225deg) translate(-3px, -3px);
                                        border-color: #001F56;
                                    }
                                }
                                > a{
                                    width: auto;
                                    padding: 10px 6px 10px 10px;
                                    color: #5E6E8C;
                                    font-weight: 400;
                                    font-size: 15px;
                                }
                                .toggle-submenu{
                                    position: initial;
                                    height: 7px;
                                    width: 7px;
                                    border-bottom: 1px solid #5E6E8C;
                                    border-right: 1px solid #5E6E8C;
                                    margin-bottom: 3px;
                                }
                                .new-header-mobile-bottom-menu-list-submenu-container{
                                    position: absolute;
                                    top: calc(100% + 52px);
                                    left: 50%;
                                    transform: translateX(-50%);
                                    z-index: 1;
                                    width: 100dvw;
                                    background-color: #001F56;
                                    padding: 0 20px;
                                }
                                .new-header-mobile-bottom-menu-list-submenu{
                                    max-height: 0;
                                    min-height: 0;
                                    overflow: hidden;
                                    max-width: 1200px;
                                    margin: auto;
                                    background-color: transparent;
                                    transition: 0.8s ease;
                                    padding: 0;
                                    display: grid;
                                    grid-template-columns: repeat(4, 1fr);
                                    position: relative;
                                    .new-header-mobile-bottom-menu-list-submenu-item{
                                        margin: 10px 0;
                                        z-index: 1;
                                        > a{
                                            margin-bottom: 10px;
                                        }
                                        a{
                                            padding: 0 10px !important;
                                        }
                                        .toggle-submenu-lv-2{
                                            display: none;
                                        }
                                        .new-header-mobile-bottom-menu-list-submenu-lv-2{
                                            max-height: none;
                                            .new-header-mobile-bottom-menu-list-submenu-lv-2-item a:hover{
                                                font-weight: 700;
                                            }
                                        }
                                    }
                                }
                                &:not(:first-of-type){
                                    .deco-header-1,
                                    .deco-header-2,
                                    .deco-header-3{
                                        display: block;
                                    }
                                }
                            }
                        }
                    }
                    .new-header-mobile-bottom-nav-container-footer{
                        display: none;
                    }
                }
                .new-header-mobile-bottom-nav-container-buttons{
                    display: flex;
                    align-items: center;
                    justify-content: end;
                    gap: 5px;
                    order: 4;
                    margin-left: 10px;
                }
            }
        }
        .new-header-mobile-bottom-nav-container-footer-2{
            display: block;
            background-color: #F3F5FA;
            > nav{
                display: flex;
                align-items: center;
                justify-content: end;
                gap: 30px;
                height: 52px;
                a{
                    color: #001F56;
                    &::after{
                        background-color: #001F56;
                    }
                }
            }
        }
    }
    #new-header-mobile-top-dropdown-ayuda{
        height: 62px;
        .new-header-mobile-top-dropdown-button {
            transform: translateY(21px);
            padding: 2px 25px 2px 32px;
        }
        .new-header-mobile-top-dropdown-list{
            top: 62px;
        }
        &:hover, &.activate{
            background-color: #fff;
            .new-header-mobile-top-dropdown-button{
                color: #001F56;
            }
        }
    }
    .searchform-new-header-container{
        order: 3;
        position: relative;
        .searchform-new-header{
            position: absolute;
            right: 0;
            top: 0;
            z-index: 10;
            input{
                border: 1px solid #001F56;
                height: 40px;
                background-color: #fff;
            }
        }
        .new-header-mobile-bottom-open-search{
            background-color: #001F56;
            color: #5E6E8C;
            height: 40px;
            width: 40px;
            border-radius: 40px;
            border: 1px solid transparent;
            padding: 10px;
            margin-left: 20px;
            transition: 0.3s ease;
            svg{
                width: 100%;
                height: 100%;
            }
            &:hover{
                background-color: #fff;
                color: #001F56;
            }
            &.activate{
                display: block;
            }
        }
    }
}
@media (min-width: 1400px) {
    .new-header{
        .new-header-mobile-bottom{
            .new-header-mobile-bottom-content{
                .new-header-logo{
                    height: 47px;
                }
                .new-header-mobile-bottom-nav-container{
                    .new-header-mobile-bottom-nav{
                        .new-header-mobile-bottom-menu-list{
                            /* gap: 10px; */
                            .new-header-mobile-bottom-menu-list-item{
                                > a{
                                    font-size: 16px;
                                }
                            }

                        }
                    }
                }
            }
        }
    }
}