header#site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background-color:#fff;
}
nav#site-navigation {
    margin-right: auto;
    z-index: 10;
}
.site__logo {
    width: 13rem;
    display: flex;
}

.header-top__wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}


.header-top{
    border-bottom: 1px solid  #B3B3B3;
    padding-block: 1rem;
}

.header-bot {
    padding-block: 1rem;
    box-shadow: 0 0 .5rem #B3B3B340;
}

.header-bot__wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    position:relative;
}

ul#primary-menu {
    display: flex;
    align-items: center;
    position: relative;
    gap: 1.5rem;
}

ul#primary-menu .menu-item{
    position:relative;
    justify-content:space-between;
    
}
ul#primary-menu .menu-item a{
    display: flex;
    align-items:center;
    gap:.5rem;
    font-size: .875rem;
    line-height: 2;
    color: #052E44;
    transition:.5s;
}

ul#primary-menu .menu-item:hover > a{
    color :#BE202F;
}

ul#primary-menu .sub-menu{
        position: absolute;
    background-color: #fff;
    padding: .75rem .875rem .625rem;
    display: flex;
    flex-direction: column;
    gap: .5rem;
    min-width: max-content;
    border-radius: .5rem;
    box-shadow: 0 0 1rem #B3B3B380;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    transition: .5s;
    top: 100%;
    left:0;
    transition-delay:.2s;
}

ul#primary-menu .menu-item:hover > .sub-menu{
    opacity: 1;
    visibility: visible;
    overflow: visible;
    
}

ul#primary-menu .menu-item.menu-item-has-children{
    display: flex;
    align-items: center;
    gap:.25rem;
}

ul#primary-menu .menu-item.menu-item-has-children::after{
    content: '\e90a';
    font-family: 'icomoon';
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.5rem;
    color: #BE202F;
    pointer-events: none;
}

ul#primary-menu .sub-menu .menu-item.menu-item-has-children::after{
    transform:rotate(-90deg);
}

.header-top__right{
    display:flex;
    align-items:center;
    gap:3rem;
}
.phone-number-item.color-primary a {
    font-weight: 600 !important;
    color: #052E44;
    transition:.5s;
}

span.phone-title.font-heading-h6.font-weight-400 {
    margin-left: 1rem;
    color: #052E44;
}


.phone-number-item.color-primary a:hover{
    color : #BE202F;
}


.header-bot__lang a{
        display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .875rem;
}

.header-bot__lang img{
    width: 1rem;
    object-fit:contain;
    flex-shrink:0;
}


.header-bot__search {
    display: flex
;
    align-items: center;
    justify-content: center;
    font-size: .875rem;
    color: #052E44;
    cursor: pointer;
}


ul#primary-menu .sub-menu .sub-menu{
    left: 100%;
}

ul#primary-menu .sub-menu .sub-menu {
    left: calc(100% + .9375rem);
    top: -.75rem;
    z-index: 1;
    box-shadow: .5rem 0 1rem #B3B3B380;
}












/* --------------------
    Menu Mobile
-------------------- */
#mask {
    position: fixed;
    z-index: 480;
    background: rgba(0, 0, 0, 0.5);
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
}

#menumobile {
    position: fixed;
    top: 0;
    bottom: 0;
    left: -300px;
    width: 250px;
    background-color: #fff;
    z-index: 999999;
    transition: all 0.5s;
    box-sizing: border-box;
    overflow: hidden;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .3) !important;
    overflow-y: auto;
}

#menumobile img {
    max-width: 8rem;
}

#nomenumobile {
    cursor: pointer;
    transition: all 0.5s;
    width: 25px;
    height: 25px;
    background: #BE202F;
    font-size:1rem;
    text-align: center;
    border-radius: 3px;
    display: inline-flex;
    color: #fff;
    align-items: center;
    justify-content: center;
    color:#fff;
}

.tel-mm a {
    background: var(--bg_footer);
    color: #fff;
    padding: 10px 15px;
    display: block;
    text-align: center;
}

.tel-mm a:before {
    content: '';
    width: 6px;
    height: 6px;
    margin-left: 10px;
    background: var(--color2);
    display: inline-block;
    border-radius: 100%;
    animation: pulse 2s infinite;
    position: relative;
    top: -1px;
}


.come-menumobile {
    left: 0 !important;
}


.title-mm {
    background-color: var(--color1);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.title-mm img {
    user-select: none;
}

.btn-mm {
    padding: 0 20px;
    margin-top: 20px;
}

.btn-mm a {
    display: flex;
}

.title-sub-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-flow: row-reverse;
}


.title-sub-head strong {
    font-family: var(--bold_font);
}

.main-mm {
    padding: 10px 20px;
}

.main-mm ul li a {
    display: block;
    padding: 8px 0;
    position: relative;
    width: 80%;
}

.main-mm ul li > .sub-menu {
    position: fixed;
    top: 0;
    bottom: 0;
    width: 250px;
    background-color: #fff;
    left: -250px;
    transition: 0.3s;
    z-index: 9;
    padding: 20px;
}

.childer::before {
       transform: rotate(-90deg);
    content: '\e90a';
    font-family: 'icomoon';
    font-size: 10px;
    margin-left: .125rem;
}

.childer {
    position: absolute;
    right: -25%;
    cursor: pointer;
    top: .5rem;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    background-color: var(--pl-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    line-height: 1;
}

.come-submenu {
    left: 0 !important;
}

.sub-closer::before {
    content: '\e90a';
    font-family: 'icomoon';
    font-size: .6875rem;
    transform: rotate(90deg);
    margin-right: .25rem;
}

.sub-closer {
    cursor: pointer;
    top: .5rem;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    color: #fff;
    background-color: #BE202F;
    overflow: hidden;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.title-subcome {
    color: var(--pl-blue);
    position: relative;
    top: 2px;
    font-size: 1.125rem;
}


i.header-mm.icon-bar {
    font-size: 1.25rem;
    color: var(--pl-blue);
	cursor: pointer;
}

form#searchform {
    display: none; 
    width: 100%;
    position: absolute;
    top: calc(100% + 1rem);
    background-color: #f1e6da;
    padding: 1.5rem ;
    border-radius: 0 0 1rem 1rem;
}
form#searchform .d-flex{
    gap: 1.5rem;
}
form#searchform input{
    border:0;
    background-color: #fff;
    padding:.75rem;
    border-radius:.5rem;
}

form#searchform input[type=text]{
    flex-grow: 1;
}

form#searchform input:focus {
    outline: none;
}

form#searchform input[type=submit]{
    cursor: pointer;
    padding: .75rem 4rem;
    transition: .5s;
}

form#searchform input[type=submit]:hover{
    background-color: #BE202F;
    color: #fff;
}

@media (max-width:991.98px) {
    
    .header-top__right,
    .header-bot{
        display:none;
    }
    .site__logo {
        width: 10rem;
    }
    
     .site__logo img {
        width: 100%;
    }
    
}



@media (max-width:575.98px) {
    
    .site__logo {
        width: 8rem;
    }
    
}

