.topfaida-pro-header-1 {
    height: 45px;
    background-image: var(--tfpro-set-b2);
    color: var(--tfpro-set-c2);
    z-index: 100;
}

#tf-main,
.page-content, 
.entry-content, 
.entry-summary {
    padding: 5px;
}
.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;
}

.topfaida-pro-menu-1 ul {
    padding: 0;
}

.topfaida-pro-menu-1 ul ul ul {
    left: 100% !important;
    top: 0 !important;
}

.topfaida-pro-menu-1 ul ul ul ul {
    right: 100% !important;
    top: 0 !important;
    left: auto !important;
}

.topfaida-pro-menu-1 ul li {
    display: inline;
    position: relative;
    padding: 10px;
    color: #fff;
}

.topfaida-pro-header-1 .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;
}

.topfaida-pro-menu-1>li>li a {
    display: block;
    padding: 6px 25px;
    text-align: left;
    border-bottom: 1px solid #05005813;
}

.topfaida-pro-menu-1 ul li::before {
    color: inherit;
    padding: 0 5px 0 0;
}

.topfaida-pro-menu-1 ul li a {
    color: inherit;
    font-size: 18px;
}

#tf-header .sub-menu li{
    padding: 10px 15px;
    display: block;
}

#tf-header .custom-logo {
    height: inherit;
    max-height: 45px;
    width: auto;
}

.topfaida-pro-header-1 ul li:hover>ul {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transition: 0.3s;
    box-shadow: var(--tfpro-shadow-dark);
}
.topfaida-pro-header-1 ul .menu-item-has-children:hover>a::after{
    content: "\f107" !important;
}
.topfaida-pro-header-1 .sub-menu li:hover {
    background-color: var(--tfpro-hover);
    color: var(--tfpro-hover-clr);
    border-radius: 0;
}

.topfaida-pro-header-1 #primary-menu>.menu-item-has-children>a::after,
.topfaida-pro-header-1 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;
}

.topfaida-pro-header-1 #primary-menu>.menu-item-has-children>a::after {
    content: "\f0d7";
    display: inline-block;
    margin-left: 10px;
    vertical-align: middle;
}

.topfaida-pro-header-1 ul ul .menu-item-has-children>a::after {
    line-height: 1;
    content: "\f105";
    position: absolute;
    top: 20px;
    margin-top: -10px;
    right: 16px;
}

.topfaida-pro-header-1 ul .sub-menu {
    z-index: 100;
    position: absolute;
    width: auto;
    top: 36px;
    left: 0;
    list-style: none;
    visibility: hidden;
    overflow: visible;
    opacity: 0;
    display: block;
    line-height: normal;
    border-radius: 5px 5px 10px 10px;
    font-size: inherit;
    background: var(--tfpro-set-b1);
    color: var(--tfpro-set-c1);
    box-shadow: var(--tfpro-shadow-3d);
}








/* -------- footer bootom menu ---------*/

.topfaida-pro-bottom-menu {
    visibility: hidden;
    overflow: visible;
    opacity: 0;
    z-index: 100;
}











/* for mobile */

@media all and (max-width: 700px) {
    #menu-toggle {
        position: fixed;
        display: block;
        visibility: visible;
        opacity: 1;
        height: 45px;
        width: 48px;
        border: none;
        right: 0;
        top: 0;
        font-size: 27px;
        z-index: 999;
        transition: ease-in 3s;
        background: transparent;
        -webkit-transition: ease-in 3s;
        -moz-transition: ease-in 3s;
        -ms-transition: ease-in 3s;
        -o-transition: ease-in 3s;
    }
    .topfaida-pro-main-menu {
        position: fixed;
        display: none;
        overflow-y: scroll;
        top: 45px;
        right: 0;
        width: 70%;
        height: 100%;
        min-height: 900px;
        margin: 0;
        padding: 0 0 50px 0;
        z-index: 117;
        background: var(--tfpro-set-b1);
        box-shadow: var(--tfpro-shadow-3d);
    }
    .topfaida-pro-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;
    }
    .topfaida-pro-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;
    }
    .topfaida-pro-header-1 #primary-menu>.menu-item-has-children>a::after {
        line-height: 1;
        content: "\f105";
        position: absolute;
        top: 25px;
        margin-top: -10px;
        right: 16px;
    }
    
    
    
    /* -------- 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;
    }
    .current-menu-item::before{
        background: var(--tfpro-set-b1);
        color: var(--tfpro-set-c1);
        margin: -26px 0 0 0;
        padding: 12px !important;
        border-radius: 50px;
        outline: 3px solid;
        content: "\f791";
        font-family: var(--tfpro-icon);
    }




    .topfaida-pro-bottom-menu .sub-menu {
        display: none;
        position: absolute;
        bottom: 40px;
        left: 0;
        border-radius: 5px;
        padding: 10px;
        background: var(--tfpro-set-b1);
        color: var(--tfpro-set-c1);
        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;
        width: 100%;
    }
    .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;
    }
    
}