.main-header{
    transition: top 0.3s;
    top: -100px;
}
/* header top */

.header-top-row{
    background-color: #ECEEF1;
    color: #152046;
    font-size: 13px;
    line-height: 12px;
    padding-block: 20px 16px;
}

.header-top-inner{
    align-items: center;
}
.header-date{
    margin-right: 12px;
    font-family: 'PF Regal Text Pro';
}

.header-weather{
    align-items: center;
    font-family: 'PF Regal Text Pro';
}

.weather-icon{
    margin-right: 11px;
}

.header-websites{
    padding-inline: 25px 32px;
    margin-inline: 25px 25px;
    border-left: 1px solid #777C8C;
    border-right: 1px solid #777C8C;
}

.header-websites li{
    margin-right:14px;
    font-family: 'PF Regal Text Pro';
}

.header-social li{
    width: 15px;
    height: 15px;
    margin-right: 32px;
}

.subscribe-btn{
    margin-left: auto;   
}

.main-header .btn{
    font-size: 16px;
    line-height: 20px;
    letter-spacing: -0.02px;
    padding-block: 6px;
    color: #152046;
}

@media screen and (max-width: 1340px) {
    .header-websites{display: none;}
    .header-social{
        margin-left: 1rem;
        padding-left: 1rem;
        border-left: 1px solid #777C8C;
    }     
}

@media screen and (max-width: 680px) {
    .header-social{display: none;}
}

@media screen and (max-width: 520px) {
    .header-top-row{display: none;}
}

/* header bottom */

.header-bottom-row{
    border-bottom: 1px solid #001356;
}

.header-nav{
    border-bottom: 3px solid #152046;
    font-size: 15px;
    line-height: 18.75px;
    align-items: flex-end;
    transform: translateY(2px);
}

.header-nav .logo{
    width: 313px;
    flex-shrink: 0;
    padding-inline: 22px 31px;
    background-color: #fff;
    transform: translateY(10px);
}

.header-navigation{
    margin-bottom: 5px;
} 
.header-navigation li{
    color: #000927;
    margin-right: 20px;
    font-family: 'PFSpekkVAR-Bold';
}

.header-extra-row{
    margin-block: 3px 18px;
}

.powered-info{
    align-items: baseline;
    font-size: 14.5px;
    line-height: 16.5px;
    padding-left: 115px;
}

.powered-info img{
    transform: translateY(10px);
}

.header-search-btn{
    margin-left: auto;
    width: 20px;
    margin-bottom: 10px;
}

.header-search-wrapper{
    position: absolute;
    width: 0;
    right: 0;
    bottom: -2px;
    overflow: hidden;
    /* max-height: 2rem; */
    transition: width 0.3s;
}

.header-search-wrapper.on{
    /* max-height: 4rem; */
    width: 300px;
}

.header-search-input{
    border:2px solid #152046;
    position: relative;
}
.header-search-input input{
    width: 100%;
    padding: 0.5rem 1.5rem 0.5rem 1rem;
}

.app-header-search-close,
.header-search-close{
    position: absolute;
    width: 1.5rem;
    height: 2rem;
    right: 0;
    top: 0;
}
.app-header-search-close .line,
.header-search-close .line{
    display: block;
    width: 60%;
    border-top: 1px solid #152046;
    transform-origin: center;
    transform: rotate(45deg);
    position: absolute;
    left:20%;
    top: 50%;
}
.app-header-search-close .line:last-of-type,
.header-search-close .line:last-of-type{
    transform: rotate(-45deg);
}


@media screen and (max-width: 1520px) {
    .header-navigation{display: none;}
}
@media screen and (max-width: 920px) {
    .header-nav .logo{
        width: 250px;
    }
    .powered-info{
        padding-left: 105px;
    }
}
@media screen and (max-width: 620px) {
    .top-home-left .card .title{
        margin-bottom: 9px;
    }
    .header-search-wrapper.on{
        width: 100%;
    }
}
@media screen and (max-width: 520px) {
    .header-search-wrapper{
        bottom: 0;
    }
    .header-nav .logo{
        width: 210px;
        background-color: transparent;
        transform: translateY(0px);
    }
    .header-nav .logo::before{
        content: "";
        width: 1rem;
        border-top: 5px solid #fff;
        position: absolute;
        left: 20px;
        bottom: 0; 
        z-index: -1;
    }
    .powered-info{
        padding-left: 0;
        width: fit-content;
        margin-inline: auto;
        font-size: 13px;
        line-height: 15px;
    }
    .powered-info img{
        width: 70px;
        transform: translateY(8px);
    }
    .header-nav{
        justify-content: center;
        border-bottom: none;
        margin-top: 1rem;
    }
    .menu-btn.btn-container{
        margin-right: auto;
    }
}

/* MENU */

.menu{
    position: fixed;
    top: 68px;
    background-color: #fff;
    left: -500px;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, .1);
    width: 300px;
    z-index: 100;
    transition: left .5s;
}

.menu.on{
    left: 0;
}

.menu-nav-wrapper{
    padding: 30px 7px 30px 31px;
}

.menu-nav-header{
    border-bottom: 2px solid #152046;  
    padding-bottom: 10px;
    margin-bottom: 20px;  
    justify-content: space-between;
    align-items: center;
    width: calc(100% - 10px);
}

.menu-nav-header .logo{
    width: 104px;
}

.menu-close-btn{
    width: 20px;
    height: 20px;
    padding: 2px;
    transform: translateX(4px);
    cursor: pointer;
}

.menu-close-btn > div{
    position: relative;
    width: 100%;
    height: 100%;
}

.menu-close-btn .line{
    display: block;
    position: absolute;
    left: 0;
    top: 50%;
    width :100%;
    border-top: 2px solid #000;
    transform-origin: center;
    transform: rotate(45deg);
}

.menu-close-btn .line:last-of-type{
    transform: rotate(-45deg);
}

.menu-inner-wrapper{
    max-height: calc(100dvh - 68px - 60px - 56px);
    /* vw - top space - outer padding - header height */
    overflow-y: scroll;
    color: #152046;
}

.app-search-btn,
.app-search-wrapper{
    display: none;
}

.menu-navigation{
    padding-right: 10px;
}

nav.menu-navigation .nav-item{
    padding: 5px 8px;
    /* padding-inline: 8px; */
    font-size: 15px;
    line-height: 125%;
    width: fit-content;
}

nav.menu-navigation .nav-item.category,
nav.menu-navigation .nav-item.nav-category{
    font-weight: 600;
}

nav.menu-navigation .nav-item.highlighted{
    background-color: #F1F4FF;
    color: #0025A8;
}

nav.menu-navigation .nav-item:hover{
    color: #0025A8;
}

nav.menu-navigation .nav-list-item >div:only-child{
    /* margin-bottom: 10px; */
}

nav.menu-navigation .nav-item-sublist{
    padding-left: 10px;
    margin-block: 5px 15px;
}

nav.menu-navigation .nav-item.nav-subcategory{
    font-size: 14px;
    line-height: 120%;
    padding-block: 0;
}

nav.menu-navigation .nav-item.nav-subcategory:not(:last-of-type){
    margin-bottom: 8px;
}

.menu-social p{
    margin-bottom: 20px;
}

.menu-social li{
    width: 16px;
    height: 16px;
    margin-right: 25px;
}

.menu-buttons{
    margin-block: 40px;
}
.menu-buttons > .btn {
    border: 1px solid #001356;
    margin-inline: 0;
}

.menu-buttons > .btn:not(:last-of-type) {
    margin-bottom: 18px;
}


@media screen and (max-width: 820px) {
    .menu{
        width: 100%;
        height: 100%;
        top: 0;
        left: -320vw;
    } 
    .nav-item-sublist{
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        max-width: 600px;
    }
    .nav-item.nav-subcategory{
        width: 33%!important;
    }
    .menu-nav-wrapper {
        max-width: 600px;
    }
    .menu-inner-wrapper{
        max-height: calc(100dvh - 68px);
        padding-bottom: 2rem;
    }
}
@media screen and (max-width: 560px) {
    .nav-item.nav-subcategory{
        width: 50%!important;
    }
}

/* fixed */

.main-header.fixed{
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 10;
    background-color: #fff;
}

.main-header.fixed .header-top-row{
    display: none;
}

.main-header.fixed .header-nav .logo{
    width: 200px;
}

.main-header.fixed .powered-info{
    padding-left: 70px;
}

.main-header.fixed .powered-info img{
    width: 60px;
    transform: translateY(3px);
}

.main-header.fixed .menu{
    top: 0;
}

.main-header.fixed .menu-inner-wrapper{
    max-height: calc(100dvh - 60px - 56px);
}


/* search fixed */

.search-fixed{
    position: fixed;
    top: -300px;
    left: 0;
    width: 100%;
    height: 170px;
    background-color: #152046;
    z-index: 200;
    padding-block: 50px;
    transition: top .3s;
}

.search-fixed.on{
    top: 0;
}

.search-fixed .logo{
    filter: brightness(0) invert(1);
}

.search-fixed-close{
    width: 60px;
    height: 60px;
    padding: 10px;
}

.search-fixed-wrapper{
    align-items: center;
    justify-content: space-between;
}

.search-fixed-wrapper .search-box{
    width: 80%;
    max-width: 1000px;
}

.search-fixed-wrapper .search-box input{
    border:none;
    background-color: transparent;
    font-size: 2rem;
    color: #fff;
    width: 100%;
    padding-inline: 2rem;
    font-family: 'PFSpekkVAR-Regular';
}
.search-fixed-wrapper .search-box input::placeholder{
    font-size: 2rem;
    color: #fff;
    font-family: 'PFSpekkVAR-SemiBold';

}

.search-fixed-close{
    cursor: pointer;
}
.search-fixed-close > div{
    position: relative;
    width: 100%;
    height: 100%;
}

.search-fixed-close .line{
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    display: block;
    transform-origin: center;
    border-top: 2px solid #fff;
    border-radius: 5px;
}

.search-fixed-close .line{
    transform: rotate(45deg);
}
.search-fixed-close .line:last-of-type{
    transform: rotate(-45deg);
}

@media screen and (max-width: 1160px) {
    .search-fixed .logo{
        width: 150px;
    }
}
@media screen and (max-width: 920px) {
    .search-fixed{
        height: 160px;
    }
    .search-fixed .logo{
        display: none;
    }
    .search-fixed-wrapper .search-box input{
        padding-left: 0;
    }
}

@media screen and (max-width: 720px) {
    .search-fixed-wrapper .search-box{
        width: calc(100% - 60px);
    }
    .search-fixed-wrapper .search-box input{
        font-size: 1.5rem;
        padding-right: 1.5rem;
    }
    .search-fixed-wrapper .search-box input::placeholder{
        font-size: 1.5rem;
    }
}
@media screen and (max-width: 580px) {
    .search-fixed-close{
        width: 40px;
        height: 40px;
        padding: 5px;
    }
    .search-fixed-wrapper .search-box{
        width: calc(100% - 40px);
    }
}
@media screen and (max-width: 480px) {
    .search-fixed-close{
        margin-right: -1rem;
    }
    .search-fixed-wrapper .search-box{
        width: calc(100% - 40px + 1rem);
    }
    .search-fixed-wrapper .search-box input{
        padding-right: 1rem;
    }
}