/* header css start */
.navbar-nav .current_page_item a {
    color: #3A307F;
    border-bottom: 2px solid #3A307F;
    font-weight: 600;
}

.header .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header {
    padding: 0;
    background: #ffffff;
    border-bottom: 1px solid #E3E3E3;
    position: sticky;
    top: 0;
    z-index: 999;
}

.header-logo img {
    max-height: 42px;
    width: 100%;
}

body.menu-open {
    overflow: hidden;
    height: 100vh;
}

.header .header-inner .logo {
    display: flex;
    align-items: stretch;
    gap: 35px;
}

.navbar-nav,
.sub-menu {
    list-style-type: none;
    margin: 0;
}

.navbar-nav>a {
    padding: 23px 0;
}

.navbar-nav a {
    text-decoration: none;
    color: #333333;
    font-size: 14px;
    line-height: 24px;
    display: flex;
    height: 100%;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.header-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.header .navbar-nav .level-1>a {
    padding: 23px 12px;
}

.header .header-inner .header-menu ul {
    display: flex;
    align-items: center;
    gap: 0;
}

.header .header-inner .header-menu ul .sub-menu {
    gap: 0;
}

.rtl .header .header-inner .header-menu ul {
    align-items: flex-start;
}

.header .header-inner .header-menu ul li {
    position: relative;
    height: 100%;
}

.header .header-inner .header-menu .level-1 li,
.header .header-inner .header-menu .level-1 li a {
    width: 100%;
}

.header .header-inner .header-menu ul li .sub-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    min-width: 210px;
    width: 100%;
    left: 50%;
    transform: translatex(-50%);
    z-index: 9;
    padding: 0;
    top: 60px;
    opacity: 0;
    background: #fff;
    border: 1px solid #cccccc;
    margin-top: 0;
    box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.05), 0 10px 10px 0 rgba(0, 0, 0, 0.05),
        0 23px 14px 0 rgba(0, 0, 0, 0.03);
    border-radius: 6px;
}

.header .header-inner .header-menu ul li .sub-menu.active {
    opacity: 1;
    top: 70px;
    display: flex;
}

.header .header-inner .header-menu ul li.menu-item-has-children {
    padding-right: 14px;
}

body.rtl .header .header-inner .header-menu ul li.menu-item-has-children {
    padding-left: 14px;
    padding-right: 0;
}

body.rtl .header .header-inner .header-menu ul li.menu-item-has-children::before {
    left: 0;
    right: unset;
}

.header .header-inner .header-menu ul li.menu-item-has-children::before {
    content: "";
    position: absolute;
    top: 58%;
    right: 5px;
    width: 11px;
    height: 11px;
    transform: translateY(-50%);
    background-repeat: no-repeat;
    background-image: url("/blog/wp-content/themes/mf-blog/img/Desktop_Menu_Dropdown.svg");
}

.mobile-menu .menu-item-has-children {
    position: relative;
}

.mobile-menu .menu-item-has-children::before {
    content: "";
    position: absolute;
    top: 18px;
    right: 25px;
    width: 15px;
    height: 15px;
    background-repeat: no-repeat;
    background-image: url("/blog/wp-content/themes/mf-blog/img/Mobile_Menu_Dropdown.svg");
    background-size: contain;
    transform: scaleY(1);
    transform-origin: center;
    transition: transform 0.3s;
}

body.rtl .mobile-menu .menu-item-has-children::before {
    right: unset;
    left: 25px;
}

.mobile-menu .menu-item-has-children.active::before {
    transform: scaleY(-1);
    top: 20px;
}

.header .header-inner .header-menu ul li .sub-menu li a {
    font-size: 14px;
    line-height: 24px;
    font-weight: 400;
    color: #333333;
    justify-content: flex-start;
    padding: 12px 14px;
}

.header .blog-container {
    padding-top: 15px;
    padding-bottom: 15px;
    position: relative;
}

.header .blog-container:after {
    content: '';
    position: absolute;
    width: 97%;
    border-bottom: 1px solid #E3E3E3;
    bottom: 0;
    max-width: 1110px;
}

.hamburger-menu {
    display: flex;
    height: 100%;
}

.header-menu {
    display: none;
}

.header .cta-btn .mobile-btn {
    display: block;
}

.mobile-menu {
    background-color: #fff;
    padding: 0px 0px 44px;
    border-radius: 0 30px 30px 0;
    width: 100%;
    max-width: 100%;
    position: absolute;
    z-index: 9;
    top: 0;
    height: 100vh;
    left: -100%;
    transition: left 0.3s;
}

.mobile-menu.active {
    left: 0;
    overflow-y: auto;
    padding-top: 0;
    padding-bottom: 0;
    z-index: 100;
}

.mobile-menu .close-icon {
    position: absolute;
    top: 21px;
    left: 8px;
}

body.rtl .mobile-menu .close-icon {
    left: unset;
    right: 10px !important;
}

.mobile-menu.active .mobile-btn {
    position: absolute;
    right: 8px;
    top: 13px;
    display: flex !important;
    gap: 20px;
    align-items: center;
}
.mobile-menu.active .mobile-btn a{
    display: flex;
}
.mobile-menu.active .mobile-btn svg{
    height: 36px;
}

.rtl .mobile-menu.active .mobile-btn {
    left: 12px;
    right: unset;
}

.mobile-menu .logo {
    padding: 0 20px;
    border-bottom: 1px solid #e3e3e3;
    position: sticky;
    top: 0;
    background: #ffffff;
    text-align: center;
}

.mobile-menu .logo a img {
    max-height: 42px;
}

.mobile-menu .logo a.mobile-header-logo {
    display: inline-flex;
    padding: 9px 0;
    justify-content: center;
    margin-right: 80px;
}

.rtl .mobile-menu .logo a.mobile-header-logo{
    margin-left: 80px;
    margin-right: 0px;
}

.mobile-menu ul li {
    padding: 0 8px;
    margin-bottom: 0;
}

.mobile-menu ul li a:not(.sub-menu li a) {
    display: block;
    font-weight: 400;
    padding: 12px 0px;
}

.mobile-menu ul li a:last-child {
    border-bottom: unset;
}

.mobile-menu .menu-item-has-children.active {
    background-color: #f7f7fc;
    padding-bottom: 5px;
}

.mobile-menu .menu-item-has-children.active>a {
    border-bottom: 0;
    padding-bottom: 0;
}

.mobile-menu .sub-menu {
    padding-top: 14px;
    max-height: 0;
    overflow: hidden;
    padding-top: 0 !important;
    transition: max-height 0.3s ease-out, margin-top 0.3s ease-out;
    padding-left: 0;
    padding-right: 0;
}

.mobile-menu .sub-menu li {
    padding-left: 10px;
    position: relative;
}

.mobile-menu .sub-menu li:last-child {
    padding-bottom: 10px;
}

body.rtl .mobile-menu .sub-menu li {
    padding-left: 0;
    padding-right: 10px;
}

.mobile-menu .sub-menu li a {
    color: #333333;
    padding: 10px 0;
    display: block;
}

.mobile-menu .sub-menu li:first-child a:first-child {
    padding-top: 0;
}

.mobile-menu .navbar-nav {
    padding: 0;
}

.mobile-menu-footer {
    background-color: #f7f7f7;
    padding: 30px 30px 30px 8px;
    display: flex;
    flex-direction: row;
    height: 100%;
}

body.rtl .mobile-menu {
    left: unset;
    right: -100%;
    transition: right 500ms;
    border-radius: 30px 0 0 30px;
}

body.rtl .mobile-menu.active {
    right: 0%;
}

.header .lang-item {
    font-family: "Open Sans", 'droid-arabic' !important;
}

.navbar-nav .lang-item a {
    color: #ea3934;
}

.mobile-menu ul li:nth-last-child(2) a:not(.sub-menu li a) {
    border: unset;
}

.mobile-menu-wrapper .lang-item {
    display: none;
}


@media (min-width: 1024px) {
    .hamburger-menu {
        display: none;
    }

    .header-menu {
        display: flex;
    }

    .header .cta-btn .mobile-btn {
        display: none;
    }

    .header {
        min-height: 70px;
    }

}

@media (max-width:1023px) {
    li.menu-item.menu-item-type-custom.menu-item-object-custom.menu-item-1984.level-1:nth-child(5) {
        position: relative;
    }

    li.menu-item.menu-item-type-custom.menu-item-object-custom.menu-item-1984.level-1:nth-child(5)::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        border-bottom: 1px solid #CCCCCC;
        width: 98%;
        transform: translateX(1%);
    }
    .navbar-nav a{
        font-size: 16px;
    }
}

@media (max-width: 1024px) {
    .header-logo {
        padding: 9px 0;
    }

    .header-logo img {
        max-height: 42px;
    }

    .header .cta-btn .mobile-btn a {
        display: flex;
    }

    .header .navbar-nav .level-1>a {
        padding: 12px 0px;
    }


}

@media (max-width:1180px) {
    .header .cta-btn .desktop-btn {
        display: none;
    }

    .header .cta-btn .mobile-btn {
        display: flex;
        gap: 20px;
        justify-content: center;
        flex-direction: row;
        align-items: center;
    }

    .header .cta-btn .mobile-btn a, .mobile-menu.active .mobile-btn a {
        display: flex;
        justify-content: center;
    }

    .header .cta-btn .mobile-btn a:nth-child(2), .mobile-menu.active .mobile-btn a:nth-child(2) {
        border-radius: 8px;
        border: 1px solid #8c84cc;
        height: 36px;
        align-items: center;
    }
    .header .cta-btn .mobile-btn a svg{
        width: 40px;
    }
    .mobile-menu.active .mobile-btn a:nth-child(2){
        width: 42px;
    }
}

@media (max-width: 575px) {
    .mobile-menu {
        width: 100%;
    }

    .header-inner .logo a {
        display: flex;
    }

    .header .header-inner .logo>a img {
        max-height: 42px;
    }
}

/*  */
.country-list {
    width:0%;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 09px;
    cursor: pointer;
    min-width: 127px;
    text-align: left;
    justify-content: space-between;
    margin-bottom: 0;
}

.dropdown-container {
    position: relative;
    display: none;
}

.dropdown-title,
.language-list p {
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 400;
    color: #333333;
}

.dropdown-container.open .country-select {
    display: block;
    font-size: 16px;
    font-weight: 400;
    color: #333333;
}

.country-select {
    height: 55%;
    opacity: 1;
    position: absolute;
    top: 34px;
    width: 56%;
    left: 27%;
    border-radius: 6px;
    background-color: transparent;
    border: none;
    outline: unset !important;
    box-shadow: unset !important;
}

.country-select option {
    padding: 8px;
    background-color: white;
    border: none;
    cursor: pointer;
}

select.language-select {
    width: 100%;
    min-width: 114px;
    /* height: 60%; */
    border-radius: 6px;
    border: 1px solid #ccc;
    padding: 9px;
    font-size: 16px;
    font-weight: 400;
    color: #333333;
}