/* Base style */

.site-branding {
    height: inherit;
    display: flex;
}

.site-branding .site-title {
    font-size: 30px;
}

.site-branding a,
.site-branding .site-meta {
    padding: 0 3px;
}

#tf-header #site-navigation {
    padding: 10px;
}

#menu-toggle,
#search-toggle {
    display: none;
    opacity: 0;
    visibility: hidden;
}

#tf-header .sub-menu a {
    padding: 6px 25px;
    display: block;
}

#tf-header .custom-logo {
    height: inherit;
    max-height: 45px;
    width: auto;
    padding: 2px;
}

@keyframes fade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.tf-blogai-menu-style-1 li a,
.tf-blogai-menu-style-2 li a,
.tf-blogai-menu-style-3 li a,
.tf-blogai-menu-style-4 li a,
.tf-blogai-menu-style-5 li a {
    font-family: var(--tf-theme-font);
    color: inherit;
    background: inherit;
}

.tf-blogai-menu-style-1 li:hover,
.tf-blogai-menu-style-2 li:hover,
.tf-blogai-menu-style-3 li:hover,
.tf-blogai-menu-style-4 li:hover,
.tf-blogai-menu-style-5 li:hover,
.tf-blogai-menu-style-3 .current-menu-item {
    background: var(--tf-theme-bg-clr);
    color: var(--tf-theme-txt-clr);
}

.top-menu li::before,
.tf-blogai-menu-style-1 li::before,
.tf-blogai-menu-style-2 li::before,
.tf-blogai-menu-style-3 li::before {
    font-family: var(--tf-icon-font);
    font-size: inherit;
    margin-right: 10px;
}

.tf-blogai-menu-style-1 ul {
    padding: 0;
}

.tf-blogai-menu-style-1 ul ul ul {
    left: 100% !important;
    top: 0 !important;
}

.tf-blogai-menu-style-1 ul ul ul ul {
    right: 100% !important;
    top: 0 !important;
    left: auto !important;
}

.tf-blogai-menu-style-1 ul li {
    display: inline;
    position: relative;
    padding: 10px;
}


/* menu style  3*/

.tf-blogai-menu-style-3 ul {
    padding: 0;
    background: #fff;
    color: #000
}

.tf-blogai-menu-style-3 li {
    position: relative;
    display: block;
    padding: 10px 15px;
    margin: 1px 0;
    border-block-end: 1px solid #ecedf2;
}

.tf-blogai-menu-style-3 .sub-menu {
    margin: 0 0 0 20px;
    transform-origin: top;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 250ms ease-in-out, opacity 250ms ease-in-out, ;
    -webkit-transition: max-height 250ms ease-in-out, opacity 250ms ease-in-out;
    -moz-transition: max-height 250ms ease-in-out, opacity 250ms ease-in-out;
    -ms-transition: max-height 250ms ease-in-out, opacity 250ms ease-in-out;
    -o-transition: max-height 250ms ease-in-out, opacity 250ms ease-in-out;
}

.tf-blogai-menu-style-3 .sub-menu.open {
    margin: 10px -15px 0 -15px;
    max-height: 100%;
    background: #ddd;
    color: #000;
    opacity: 1;
    transition: max-height 400ms ease-out, opacity 400ms ease-out;
    -webkit-transition: max-height 400ms ease-out, opacity 400ms ease-out;
    -moz-transition: max-height 400ms ease-out, opacity 400ms ease-out;
    -ms-transition: max-height 400ms ease-out, opacity 400ms ease-out;
    -o-transition: max-height 400ms ease-out, opacity 400ms ease-out;
}

.tf-blogai-menu-style-3 .arrow-icon::before {
    position: absolute;
    top: 10px;
    right: 10px;
}

.top-menu-container {
    background-color: #fff;
    border-bottom: 1px solid #e0e0e0;
}

.tf-header-1 .main-menu-container,
.tf-header-2 .main-menu-container,
.tf-header-3 .main-menu-container {
    background: var(--tf-theme-header-bg);
    color: var(--tf-theme-header-txt);
}

.tf-header-1 {
    height: 45px;
    z-index: 100;
}

.tf-header-1 .sub-menu li,
.tf-header-2 .sub-menu li,
.tf-header-3 .sub-menu li {
    box-shadow: none;
    display: block;
    margin: 0;
    border-bottom: 1px solid #040f4a12;
    float: none;
    min-width: 200px;
    max-width: 350px;
    border-top: 0;
    padding: 0;
    position: relative;
}

.tf-header-2 .site-branding {
    align-items: center;
    justify-content: center;
}

.tf-header-2 .custom-logo {
    max-height: 80px !important;
    margin: 10px;
}

.tf-header-3 .mid-menu-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
}

.tf-header-2 ul,
.tf-header-3 ul {
    margin: 0;
}

.tf-header-2,
.tf-header-3 {
    z-index: 100;
}

.tf-header-2 .top-menu,
.tf-header-3 .top-menu {
    font-size: 11px;
    margin: 0;
}

.tf-header-2 .top-menu li,
.tf-header-3 .top-menu li {
    display: inline-block;
    position: relative;
    margin-left: 0;
    padding: 6px;
}

.tf-header-2 .top-menu li a,
.tf-header-3 .top-menu li a {
    margin-right: 16px;
    line-height: 1;
}

.tf-header-2 .main-menu-container,
.tf-header-3 .main-menu-container {
    background-image: var(--tf-theme-bg-clr);
    color: var(--tf-theme-txt-clr);
}

.tf-header-1 ul li:hover>ul,
.tf-header-2 ul li:hover>ul,
.tf-header-3 ul li:hover>ul {
    visibility: visible;
    opacity: 1;
    height: auto;
    pointer-events: auto;
    transition: 0.3s;
    box-shadow: var(--tfpro-shadow-dark);
}

.tf-header-1 ul .sub-menu,
.tf-header-2 ul .sub-menu,
.tf-header-3 ul .sub-menu {
    z-index: 100;
    position: absolute;
    width: auto;
    top: 36px;
    left: 0;
    list-style: none;
    visibility: hidden;
    opacity: 0;
    height: 0;
    display: block;
    line-height: normal;
    border-radius: 5px 5px 10px 10px;
    font-size: inherit;
    background: inherit;
    color: inherit;
    box-shadow: var(--tfpro-shadow-3d);
}

.tf-header-1 ul .menu-item-has-children:hover>a::after,
.tf-header-2 ul .menu-item-has-children:hover>a::after,
.tf-header-3 ul .menu-item-has-children:hover>a::after {
    content: "\f107" !important;
}

.tf-header-1 .sub-menu li:hover {
    background-color: var(--tfpro-hover);
    color: var(--tfpro-hover-clr);
    border-radius: 0;
}

.tf-header-1 #primary-menu>.menu-item-has-children>a::after,
.tf-header-1 ul ul .menu-item-has-children>a::after,
.tf-header-2 #primary-menu>.menu-item-has-children>a::after,
.tf-header-2 ul ul .menu-item-has-children>a::after,
.tf-header-3 #primary-menu>.menu-item-has-children>a::after,
.tf-header-3 ul ul .menu-item-has-children>a::after {
    transition: transform 0.5s;
    font-weight: 900;
    font-family: var(--tfpro-icon);
    color: inherit;
    -webkit-transition: transform 0.5s;
    -moz-transition: transform 0.5s;
    -ms-transition: transform 0.5s;
    -o-transition: transform 0.5s;
}

.tf-header-1 #primary-menu>.menu-item-has-children>a::after,
.tf-header-2 #primary-menu>.menu-item-has-children>a::after,
.tf-header-3 #primary-menu>.menu-item-has-children>a::after {
    content: "\f0d7";
    display: inline-block;
    margin-left: 10px;
    vertical-align: middle;
}

.tf-header-1 ul ul .menu-item-has-children>a::after,
.tf-header-2 ul ul .menu-item-has-children>a::after,
.tf-header-3 ul ul .menu-item-has-children>a::after {
    line-height: 1;
    content: "\f105";
    position: absolute;
    top: 20px;
    margin-top: -10px;
    right: 16px;
}

.tf-header-search-bar form {
    display: flex;
    position: relative;
    min-width: 500px;
}

.tf-search-form input {
    background: #fff;
    border: none;
    padding: 10px 15px !important;
    width: 100%;
    border-radius: 10px 0 0 10px;
    margin: 0 10px !important;
}

.tf-search-form>button {
    background: var(--tf-theme-bg-clr);
    color: var(--tf-theme-txt-clr);
    border: none;
    border-radius: 0 8px 8px 0 !important;
    position: absolute;
    right: 0;
    top: 0;
    width: 45px;
    height: 100%;
    -webkit-border-radius: 0 8px 8px 0 !important;
    -moz-border-radius: 0 8px 8px 0 !important;
    -ms-border-radius: 0 8px 8px 0 !important;
    -o-border-radius: 0 8px 8px 0 !important;
}

.header-side-menu a {
    position: relative;
    padding: 5px 10px;
    border: 1px solid var(--tf-theme-bg-1);
    border-radius: 15px;
    font-size: 18px;
    margin: 0 5px;
}

.header-side-menu .menu-Cart sup,
.header-side-menu .menu-wishlist sup {
    background: var(--tf-theme-bg-clr);
    color: var(--tf-theme-txt-clr);
    padding: 0px 7px;
    border-radius: 50%;
    font-size: 12px;
    position: absolute;
    width: 20px;
    height: 20px;
    line-height: 20px;
    left: 24px;
    top: -11px;
}


/* -------- footer bootom menu ---------*/

.topfaida-pro-bottom-menu {
    visibility: hidden;
    overflow: visible;
    opacity: 0;
    z-index: 100;
}


/* for mobile */

@media all and (max-width: 700px) {
    #tf-header {
        flex-direction: row-reverse;
        justify-content: center;
    }
    .site-branding {
        margin: 0 0 0 50px;
    }
    #menu-toggle {
        position: fixed;
        display: block;
        visibility: visible;
        opacity: 1;
        height: 45px;
        width: 48px;
        padding: 7px 0;
        border: none;
        left: 0;
        top: 0;
        font-size: 27px;
        z-index: 999;
        transition: ease-in 3s;
        background: transparent;
        color: #000;
        -webkit-transition: ease-in 3s;
        -moz-transition: ease-in 3s;
        -ms-transition: ease-in 3s;
        -o-transition: ease-in 3s;
    }
    #search-toggle {
        display: block;
        float: right;
        visibility: visible;
        opacity: 1;
        height: 45px;
        width: 48px;
        padding: 7px 0;
        font-size: 27px;
        z-index: 999;
        background: transparent;
        -webkit-transition: ease-in 3s;
        -moz-transition: ease-in 3s;
        -ms-transition: ease-in 3s;
        -o-transition: ease-in 3s;
    }
    .header-side-menu a {
        padding: 5px;
        border: none;
    }
    .topfaida-pro-main-menu {
        position: fixed;
        display: none;
        overflow-x: auto;
        top: 0;
        left: 0;
        width: 70%;
        height: auto;
        min-height: 900px;
        margin: 0;
        padding: 50px 0 0 0;
        z-index: 117;
        background: #fff;
        color: #333;
        box-shadow: var(--tfpro-shadow-3d);
        white-space: nowrap;
    }
    .tf-header-2 .topfaida-pro-main-menu {
        top: 0;
        padding: 45px 0 0 0;
    }
    .tf-header-search-bar {
        display: none;
        position: absolute;
        top: 55px;
        padding: 10px 0;
    }
    .tf-header-search-bar form {
        min-width: auto;
    }
    .tf-header-search-bar.active {
        display: block;
        width: 100%;
        left: -5px;
    }
    .tf-header-1 ul .sub-menu {
        display: none;
        top: 5px;
        background: #ffffff1f;
        border-radius: 10px;
        -webkit-border-radius: 10px;
        -moz-border-radius: 10px;
        -ms-border-radius: 10px;
        -o-border-radius: 10px;
        box-shadow: none;
    }
    .tf-header-2 ul .sub-menu,
    .tf-header-3 ul .sub-menu {
        top: 10px;
        overflow: hidden;
    }
    .tf-header-1 ul li:hover>ul {
        display: block;
        box-shadow: none;
    }
    .topfaida-pro-main-menu ul>li {
        margin: 0;
    }
    .topfaida-pro-main-menu li {
        display: block !important;
        border-bottom: 1px solid #040f4a12;
        float: none;
    }
    .topfaida-pro-main-menu li li,
    .topfaida-pro-main-menu li li li {
        padding: 10px;
    }
    .topfaida-pro-main-menu li ul li ul {
        left: 0 !important;
    }
    .topfaida-pro-main-menu li ul {
        position: inherit !important;
    }
    .topfaida-pro-main-menu li ul,
    .topfaida-pro-main-menu li ul li ul {
        background-color: inherit;
    }
    .tf-header-1 #primary-menu>.menu-item-has-children>a::after {
        line-height: 1;
        content: "\f105";
        position: absolute;
        top: 25px;
        margin-top: -10px;
        right: 16px;
    }
    .top-menu-container {
        display: none;
    }
    .mid-menu-container {
        height: 50px;
        width: 100%;
        background: var(--tf-theme-bg-clr);
    }
    .tf-header-2 .custom-logo {
        max-height: 48px !important;
        margin: 0;
    }
    .header-side-menu {
        display: flex;
        align-items: center;
    }
    /* -------- footer bootom menu ---------*/
    .topfaida-pro-bottom-menu {
        visibility: visible;
        overflow: visible;
        opacity: 1;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: var(--tfpro-dark);
        height: 45px;
        box-shadow: var(--tfpro-shadow-dark);
    }
    .topfaida-pro-bottom-menu ul {
        padding: 5px;
        margin: 0;
        list-style-type: none;
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        align-content: center;
        justify-content: center;
    }
    .topfaida-pro-bottom-menu ul li {
        display: inline-grid;
        position: relative;
        padding: 0 12px;
        align-content: center;
        justify-content: center;
        justify-items: center;
        align-items: center;
        color: var(--tfpro-darkc) !important;
    }
    .topfaida-pro-bottom-menu ul li a {
        color: inherit !important;
        padding: 5px 0;
    }
    .tfpro-bm-active::before {
        background: var(--tf-theme-bg-1);
        color: var(--tf-theme-clr-1);
        margin: -26px 0 0 0;
        padding: 12px !important;
        border-radius: 50px;
        outline: 3px solid;
    }
    .topfaida-pro-bottom-menu .sub-menu {
        display: none;
        position: absolute;
        bottom: 40px;
        left: 0;
        border-radius: 5px;
        padding: 10px;
        background: var(--tf-theme-bg-1);
        color: var(--tf-theme-clr-1);
        box-shadow: var(--tfpro-shadow-dark);
        text-align: left;
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        -ms-border-radius: 5px;
        -o-border-radius: 5px;
    }
    .topfaida-pro-bottom-menu .sub-menu li {
        display: block;
        color: inherit;
        position: relative;
    }
    .topfaida-pro-bottom-menu .sub-menu .sub-menu {
        bottom: 20px;
    }
    .topfaida-pro-bottom-menu .sub-menu li a {
        padding: 5px 10px;
        color: inherit;
    }
    .topfaida-pro-bottom-menu ul li:hover>ul {
        display: block;
        visibility: visible;
        opacity: 1;
    }
}