
@import url(../../site/css/vendor/slicknav.css);
@import url(../../site/css/vendor/themify-icons.css);
@font-face {
    font-family: 'IranYekan';
    src: url('../fonts/iranyekanwebregular.html');
    src: url('../fonts/iranyekanwebregular.html') format('embedded-opentype'),
    url('../fonts/iranyekanwebregular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}


.header-sticky{
    background-color: #4f9398;
    /*background-image: linear-gradient(to right, #2d5fa3, #4f9398);*/
    border-bottom: 5px solid #fcba3f !important;
}

.logo-img{
    height: 40px;
}

.slicknav_menu i
{
    color: white;
}

.menu-item-f{
    background: #1e3b6f;
    border-radius: 5px;
}



.f-main-menu {
    list-style-type: none; /* Remove default list styling */
    margin: 0; /* Remove default margin */
    padding: 0; /* Remove default padding */
    display: flex; /* Use flexbox to display items horizontally */
    position: absolute; /* Position at the bottom of the header */
    bottom: 0; /* Align to the bottom */
    font-family: IranYekan, serif;

}



.f-main-menu li {
    background: #1e3b6f;
    margin: 5px 1px;
    padding: 5px 10px;
    border-radius: 10px 10px 0 0;
}

.f-main-menu li a {
    display: block; /* Make link fill the list item */
    color: white; /* Set text color */
    text-align: center; /* Center text */
    line-height: 30px; /* Center text vertically */
    text-decoration: none; /* Remove underline */
}

@media (max-width: 991px) {

    .desktop-menu{
        display: none;
    }

}



/*Main header*/
.main-header .main-nav ul li a {
    position: relative;
    color: white;
    font-weight: normal;
    padding: 0;
    display: block;
    font-size: 13px;
    -webkit-transition: all 0.2s ease-out 0s;
    -moz-transition: all 0.2s ease-out 0s;
    -ms-transition: all 0.2s ease-out 0s;
    -o-transition: all 0.2s ease-out 0s;
    transition: all 0.2s ease-out 0s;
    font-family: "IranYekan", sans-serif;
}
.main-header .main-nav ul li > a::after {
    content: "";
    width: 0;
    height: 2px;
    position: absolute;
    left: 50%;
    top: -1px;
    opacity: 0.5;
    transform: translateX(-50%);
}
.main-header .main-nav ul li.mega-menu-item a::after,
.main-header .main-nav ul li ul a::after {
    content: none;
}
.main-header .main-nav ul li.current-menu-item > a::after,
.main-header .main-nav ul li:hover a::after {
    width: 50px;
    -webkit-transition: all 0.2s ease-out 0s;
    -moz-transition: all 0.2s ease-out 0s;
    -ms-transition: all 0.2s ease-out 0s;
    -o-transition: all 0.2s ease-out 0s;
    transition: all 0.2s ease-out 0s;
}
.main-header .main-nav ul li.menu-item-has-children > a {
    padding-left: 15px;
}
.main-header .main-nav ul li.menu-item-has-children > a::before {
    content: "\e64b";
    font-family: "themify";
    font-size: 8px;
    display: inline-block;
    padding-right: 5px;
    position: absolute;
    left: 0;
}
.main-header .main-nav ul ul.sub-menu {
    text-align: right;
    position: absolute;
    min-width: 170px;
    background: #fff;
    right: 0;
    top: 120%;
    visibility: hidden;
    opacity: 0;
    padding: 17px 0;
    -webkit-transition: all 0.2s ease-out 0s;
    -moz-transition: all 0.2s ease-out 0s;
    -ms-transition: all 0.2s ease-out 0s;
    -o-transition: all 0.2s ease-out 0s;
    transition: all 0.2s ease-out 0s;
}
.main-header .main-nav ul ul.sub-menu {
    display: block;
    padding-right: 15px;
    border-radius: 0 0 5px 5px;
}
.main-header .main-nav ul ul.sub-menu > li > a {
    font-weight: 500;
    line-height: 35px;
}
.main-header .main-nav ul ul.sub-menu > li > a:hover {
    background: none;
}


.main-header ul > li:hover > ul.sub-menu {
    visibility: visible;
    opacity: 1;
    top: 100%;
}
.main-header .main-nav ul li h6 a {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
}


.main-header .main-nav ul li .sub-mega-menu.sub-menu-list {
    padding: 15px;
    line-height: 35px;
}
.main-header .main-nav ul li .sub-mega-menu.sub-menu-list a {
    line-height: 35px;
    font-weight: 500;
}
.main-header .main-nav ul li.mega-menu-item .tab-content a {
    padding: 0;
    text-transform: none;
}


/*Header layouts*/
.main-header {
    position: relative;
    z-index: 1002;
}
.main-header #userMenuDropdow.dropdown-menu,
.main-header #userMenuDropdow.dropdown-menu {
    margin-top: 15px;
}


.header-style-2 .header-bottom,
.header-style-2.header-style-3 .header-bottom {
    border-top: 1px solid #f4f5f9;
    height: 60px;
    line-height: 60px;
}
.header-style-1 .search-button,
.header-style-2 .search-button {
    position: absolute;
    right: 15px;
    top: 0;
    line-height: 70px;
    z-index: 300;
}
.header-style-1 .top-bar,
.header-style-2 .topbar-inner {
    border-bottom: 1px solid #f4f5f9;
}
.header-style-2 .off-canvas-toggle-cover {
    left: 15px;
    right: unset;
}
.header-style-2.header-style-3 .topbar-inner {
    border: 0;
}
.open-search-form .header-style-2 .off-canvas-toggle-cover {
    right: 80px;
}
.header-style-2 .header-bottom {
    border: none;
}
.header-style-2 ion-icon {
    font-size: 17px;
    margin-bottom: -2px;
}
.header-style-2 input.search_field,
.offcanvas-sidebar input.search_field {
    border: 1px solid #eee;
    height: 30px;
    border-radius: 30px;
    background: #f7f8f9;
    font-size: 12px;
    width: 220px;
    position: relative;
    padding: 0 20px 0 40px;
}
.header-style-2 .search-form .search-icon,
.offcanvas-sidebar .search-form .search-icon {
    position: absolute;
    left: 10px;
    font-size: 13px;
    top: 3px;
    opacity: 0.5;
}


.header-sticky.sticky-bar.sticky .header-flex {
    justify-content: space-between;
}
.header-sticky.sticky-bar.sticky .header-btn .get-btn {
    padding: 20px 20px;
}


.header-sticky.sticky-bar.sticky .header-right-btn {
    display: none !important;
}
.header-sticky.sticky-bar.sticky .sticky-logo {
    display: block !important;
}

/*Offcanvas Sidebar*/
.off-canvas-toggle-cover {
    position: absolute;
    z-index: 300;
}


#off-canvas-toggle span,
#off-canvas-toggle span::before,
#off-canvas-toggle span::after {
    background: #353c49;
    display: inherit;
    height: 2px;
    position: relative;
    width: 15px;
}
#off-canvas-toggle span::before,
#off-canvas-toggle span::after {
    content: "";
    left: 0;
    position: absolute;
    right: 0;
}
#off-canvas-toggle span::before {
    top: -8px;
    width: 15px;
}
#off-canvas-toggle span::after {
    top: -4px;
    width: 15px;
}
#off-canvas-toggle p {
    display: inline;
    font-size: 12px;
    margin: 0 0 0 5px;
}
.off-canvas-close {
    background: none;
    border: 0;
    width: 30px;
    height: 30px;
    position: absolute;
    left: 10px;
    top: 10px;
}


form.menu-search-form input {
    width: 100%;
}

/*Search form*/
.main-search-form {
    height: 0;
    opacity: 0;
    visibility: hidden;
}
.open-search-form .main-search-form {
    height: 100%;
    opacity: 1;
    visibility: visible;
}
.main-search-form .search-form label {
    width: 100%;
}
.main-search-form .search-form input {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    background-color: transparent;
    border: none;
    border-radius: 999px;
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    margin: 0;
    padding: 9px 0 9px 50px;
    text-align: left;
    width: 100%;
    background: #fff;
    border: 1px solid #dfe0e6;
    box-shadow: 0px 0px 40px 0px rgba(0, 0, 0, 0.05);
}
.main-search-form .search-form-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 23px;
    margin-top: -3px;
    opacity: 0.6;
}
.main-search-form .search-switch {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    margin-top: -3px;
    line-height: 1;
    border-left: 1px solid #dfe0e6;
    padding-left: 15px;
    font-size: 14px;
}

.search-form{
    float: left;
}


.mobile_menu {
    position: fixed;
    right: 0px;
    width: 100%;
    z-index: 99;
}

.logo-img{
    height: 40px;
}


@media only screen and (min-width: 768px) and (max-width: 991px) {
    .header-sticky.sticky-bar.sticky .main-nav ul > li > a {
        padding: 33px 13px;
    }
    .header-sticky.sticky-bar.sticky .main-nav .sub-menu {
        right: 0;
        left: inherit;
    }
}

.slicknav_menu .slicknav_nav a:hover {
    background: transparent;
}
.slicknav_menu {
    background: transparent;
}

/*Offcanvas Sidebar*/
.off-canvas-toggle-cover {
    position: absolute;
    z-index: 300;
}

.open-search-form .header-style-2 .off-canvas-toggle-cover {
    right: 80px;
}
