/*menu start*/

#site-navigation {
    background-color: transparent;
    border: none;
    padding: 0;
    margin: 0;
}

.navbar-default .navbar-collapse {
    background-color: transparent;
    padding: 0;
}


#TF-Navbarbs5>ul>li>a {
    padding: 15px;
}

#TF-Navbarbs5>ul>li>a,
#TF-Navbarbs5>ul>li>a:focus,
#TF-Navbarbs5>ul>li>a:hover {
    text-transform: uppercase;
    font-size: 13px;
    background-color: transparent;
    text-shadow: -1px 1px 0px #1e364e1c;
}

#TF-Navbarbs5>ul>li>a {
    color: #192d42;
}




.dropdown-item:focus,
.dropdown-item:hover,
.dropdown-item:active {
    color: #0186f0;
    text-decoration: none;
    background-color: transparent;
}

.header-transparent #TF-Navbarbs5>ul>li>a,
.header-transparent #TF-Navbarbs5>ul>li>a:focus,
.header-transparent #TF-Navbarbs5>ul>li>a:hover {
    color: #FFF;
}

.main-navbar-toggle {
    width: 70px;
    height: 47px;
    border: 1px solid #ddd !important;
    border-radius: 0;
    margin: 8px 0;
    padding: 5px !important;
    overflow: hidden;
}

.navbar-toggler:focus {
    box-shadow: none;
    border: 1px dashed #000 !important;
}



#TF-Navbarbs5>ul {
    width: 100%;
    text-align: left;
    display: inline-block;
    margin: 0;
}

#TF-Navbarbs5>ul>li {
    float: none;
    display: inline-block;
    padding: 10px 0;
}

#TF-Navbarbs5>ul li.menu-item.menu-button {
    float: left;
}

.dropdown-menu>li>a {
    font-size: 16px;
    color: #FFF;
    padding: 13px 20px;
}

.dropdown-menu>li>a i.tf-menu-icon {
    font-size: 20px;
    margin-left: 9px;
    width: 25px;
    text-align: center;
}

.dropdown-menu.cart-item-container {
    right: auto;
    left: 0;
}

header#masthead #sticky-header-container {
    display: none;
}

header#masthead.sticky-head #sticky-header-container {
    position: fixed;
    width: 100%;
    top: 0;
    background-color: rgba(252, 252, 252, 0.95);
    z-index: 999;
    display: block;
    box-shadow: 0px 0px 4px -1px #000;
}

#product-catalogue-menu {
    padding: 0;
    margin-bottom: 0;
}

.product-catalogue-menu>li ul:not(.tf-mega-menu>ul li.menu-item ul) {
    display: block;
    position: absolute;
    background-color: #FFF;
    /* box-shadow: 1px 1px 5px -2px rgba(0, 0, 0, 0.63); */
    top: 0;
    right: 100%;
    transition: all .2s cubic-bezier(0.4, 0, 1, 1);
    transform: translateX(-50px);
    visibility: hidden;
    z-index: 999;
    width: 250px;
    padding: 0px;
}


.product-catalogue-menu li {
    display: block;
    position: relative;
}

.product-catalogue-menu li a {
    width: 100%;
    display: block;
    padding: 7px 5px;
    color: #000000;
}

.product-catalogue-menu li a:hover {
    color: #000;
}

.product-catalogue-menu>li>a {
    font-size: 14px;
    background-color: #FFF;
    text-transform: uppercase;
    padding: 12px 18px;
}

#product-catalogue-menu .tf-mega-menu>ul>li>a{
    text-transform: uppercase;
}

.product-catalogue-menu>li>a i.tf-menu-icon {
    margin-left: 5px;
}

.product-catalogue-menu>li {
    border-bottom: 1px solid #ddd;
}

.product-catalogue-menu>li:last-child{
    border: none;
}

/* desktop */
@media (min-width: 768px) {
    div#TF-Navbarbs5 {
        padding: 0;
    }

    #TF-Navbarbs5>ul .dropdown-menu {
        display: block;
        -webkit-transition: all 0.3s ease-in-out;
        -moz-transition: all 0.3s ease-in-out;
        -ms-transition: all 0.3s ease-in-out;
        -o-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
        -webkit-transform: translateY(40px);
        -moz-transform: translateY(40px);
        -ms-transform: translateY(40px);
        -o-transform: translateY(40px);
        transform: translateY(40px);
        transform-origin: top;
        -webkit-transform-origin: top;
        padding: 0;
        border-radius: 0;
        box-shadow: 0px 3px 6px 2px rgba(0, 0, 0, 0.35);
        padding: 0;
        margin: 0;
        box-shadow: none !important;
        background-color: #ffffffd1;
        z-index: 30;
        opacity: 0;
        visibility: hidden;
        border: 1px solid #FFF;
        border-top: none;
        left: 0;
    }

    

    #TF-Navbarbs5>ul>li {
        display: inline-block;
        padding: 5px 0;
        -webkit-transition: all 0.3s ease-in-out;
        -moz-transition: all 0.3s ease-in-out;
        -ms-transition: all 0.3s ease-in-out;
        -o-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
    }

    #TF-Navbarbs5>ul li:hover>.dropdown-menu{
        -webkit-transform: translateY(0px);
        -moz-transform: translateY(0px);
        -ms-transform: translateY(0px);
        -o-transform: translateY(0px);
        transform: translateY(0px);
        opacity: 1;
        visibility: visible;
    }

    #TF-Navbarbs5>ul .dropdown-menu>li {
        transition: all .3s ease-in-out;
        border-bottom: 1px solid #FFF;
        min-width: 270px;
    }

    #TF-Navbarbs5>ul .dropdown-menu>li:hover {
        background-color: #FFF;
    }

    #TF-Navbarbs5>ul .dropdown-menu>li a,
    #TF-Navbarbs5>ul .dropdown-menu>li a:hover {
        color: #000;
    }

    span.menu-text {
        position: relative;
        z-index: 1;
    }

    #TF-Navbarbs5>ul>li>.dropdown-menu>li>.dropdown-menu {
        left: 100%;
        top: 0;
    }

    #TF-Navbarbs5>ul .mobile-nav {
        display: inline-block;
        margin-left: 8px;
        float: right;
        position: relative;
        z-index: 1;
        background-color: transparent;
        border: none;
        padding: 0;
    }

    #TF-Navbarbs5>ul>li>a:before {
        content: "";
        position: absolute;
        right: 0px;
        left: 0;
        bottom: 0;
        height: 2px;
        border-radius: 0;
        opacity: 0;
        transform: scaleX(0);
        transition: all .3s ease-in-out;
        transform-origin: center;
    }


    .header-transparent #TF-Navbarbs5>ul>li>a:before {
        background-color: #ffffff14;
    }

    #TF-Navbarbs5>ul>li>a:before {
        background-color: #0186f0;
    }

    #TF-Navbarbs5>ul>li>a {
        position: relative;
    }

    #TF-Navbarbs5 {
        position: static;
        max-width: calc(100% - 255px);
        float: left;
    }

    .tf-mega-menu {
        position: static !important;
    }


    #TF-Navbarbs5>ul>li.tf-mega-menu .dropdown-menu>li {
        border-bottom: none;
    }

    #TF-Navbarbs5>ul>li.tf-mega-menu>ul.dropdown-menu {
        width: 100%;
        right: 0;
        left: 0;
        top: 100%;
        margin: 0 auto;
        padding: 15px 0 !important;
        border: 0;
        border-radius: 0px !important;
        display: -ms-flexbox !important;
        display: flex !important;
        -ms-flex-wrap: wrap !important;
        flex-wrap: wrap !important;
        background-color: #ffffff;
    }

    #TF-Navbarbs5>ul>li.tf-mega-menu>ul.dropdown-menu>li {
        -ms-flex: 0 0 25%;
        flex: 0 0 25%;
        max-width: 25%;
    }

    #TF-Navbarbs5>ul>li.tf-mega-menu>ul.dropdown-menu li:hover {
        background-color: transparent !important;
    }

    #TF-Navbarbs5>ul>li.tf-mega-menu>ul.dropdown-menu>li>a {
        font-weight: 600;
        text-transform: uppercase;
        white-space: pre-wrap;
    }

    #TF-Navbarbs5>ul>li.tf-mega-menu>ul.dropdown-menu li a {
        padding: 5px 13px;
        position: relative;
        width: auto;
        display: inline-block;
        padding-left: 30px;
    }

    #TF-Navbarbs5>ul>li.tf-mega-menu>ul.dropdown-menu>li ul li a {
        color: #565656;
        font-size: 14px;
        width: 100%;
    }
    #TF-Navbarbs5>ul>li.tf-mega-menu>ul.dropdown-menu>li ul li a img.nav-menu-img {
        width: 100%;
        height: auto;
    }

    #TF-Navbarbs5>ul>li.tf-mega-menu>ul.dropdown-menu>li ul li a:hover {
        color: #000;
    }

    #TF-Navbarbs5>ul li.tf-mega-menu:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
    }

    #TF-Navbarbs5 .tf-mega-menu ul.dropdown-menu>li .dropdown-menu {
        box-shadow: none;
    }

    #TF-Navbarbs5>ul>li.tf-mega-menu>.dropdown-menu>li .dropdown-menu {
        position: static;
        -webkit-transform: translateY(1px);
        -moz-transform: translateY(1px);
        -ms-transform: translateY(1px);
        -o-transform: translateY(1px);
        transform: translateY(1px);
        border: 0;
        padding-right: 20px;
    }

    #TF-Navbarbs5>ul>li.tf-mega-menu>.dropdown-menu .dropdown-menu {
        background-color: transparent;
    }

    .tf-mega-menu>ul.dropdown-menu li .mobile-nav {
        display: none !important;
    }

    span.img-nav-item-text {
        display: none;
    }

    /* catalog */

    
    .catalogue-container {
        width: 250px;
        background-color: #4caf50;
        color: #FFF;
        position: relative;
        float: right;
        margin: 0;
        height: 100%;
        padding: 14px;
        padding-top: 24px;
        padding-bottom: 10px;
        cursor: pointer;
    }

    h2.product-catalogue-heading {
        font-size: 15px;
        line-height: 18px;
    }
    h2.product-catalogue-heading:after {
        content: "\f107";
        font-family: 'FontAwesome';
        float: left;
    }

    .product-catalogue-container {
        position: absolute;
        z-index: 99;
        background-color: #FFF;
        width: 100%;
        right: 0;
        left: 0;
        top: 100%;
        visibility: hidden;
        opacity: 0;
        transform: translateY(15px);
        transition: all 0.3s ease-in-out;
    }

    .catalogue-container:hover .product-catalogue-container {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .product-catalogue-menu>li:hover > ul:not(.tf-mega-menu>ul li.menu-item ul) {
        /* display: block; */
        transform: translateX(1px);
        visibility: visible;
    }

    .product-catalogue-menu>li ul:not(.tf-mega-menu>ul li.menu-item ul) li:hover>ul {
        visibility: visible;
        transform: translateX(0) translateY(0);
    }


    .product-catalogue-menu li.tf-mega-menu:hover>ul {
        display: -ms-flexbox;
        display: flex;
    }



    .product-catalogue-menu>li ul *:not(ul) {
        transition: none !important;
    }

    #product-catalogue-menu .tf-mega-menu>ul {
        max-width: 821px;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        width: 70vw;
        padding: 20px;
        position: absolute;
        top: -1px;
        margin-right: -1px;
        display: flex;
    }

    #product-catalogue-menu li.tf-mega-menu {
        /* position: relative !important; */
    }

    #product-catalogue-menu .tf-mega-menu>ul>li.menu-item {
        -ms-flex: 0 0 25%;
        flex: 0 0 25%;
        max-width: 25%;
    }

    #product-catalogue-menu .tf-mega-menu>ul li.menu-item ul {
        display: block;
        position: relative;
        right: 0;
        box-shadow: none;
        max-width: 100%;
        border: none;
        background-color: transparent;
        /* transform: translateX(0); */
        /* visibility: visible; */
        /* opacity: 1; */
    }

    #product-catalogue-menu .tf-mega-menu>ul li.menu-item ul a {
        color: #4d4d4d;
        font-size: 14px;
    }

    #product-catalogue-menu .tf-mega-menu ul li a {
        white-space: pre-wrap;
    }

    #product-catalogue-menu>li .mobile-nav {
        display: inline-block;
        float: left;
        margin-left: 5px;
        transform: rotate(90deg);
    }

    #product-catalogue-menu>li .menu-item-description {
        left: 0px;
        top: 0px;
    }
}

/* desktop */

/* Mobile */
@media(max-width:767px) {
    #TF-Navbarbs5 {
        background-color: #FFF;
        max-height: 400px;
        overflow-x: hidden;
        overflow-y: auto;
        margin: 15px 0px;
    }

    #TF-Navbarbs5.in {
        margin-bottom: -15px;
    }

    #TF-Navbarbs5 li{

    }
    #TF-Navbarbs5>ul>li>a,
    #TF-Navbarbs5>ul>li>a:focus,
    #TF-Navbarbs5>ul>li>a:hover {
        color: #1e364e !important;
    }

    #TF-Navbarbs5 ul {
        text-align: right;
        padding: 0;
        padding-right: 30px;
    }

    #TF-Navbarbs5>ul>li {
        display: block !important;
    }

    #TF-Navbarbs5 li a{
        position: relative;
    }

    #TF-Navbarbs5>ul>li .mobile-nav, 
    #product-catalogue-menu>li .mobile-nav {
        display: inline-block;
        border: 1px solid #1e364e;
        height: 36px;
        width: 36px;
        text-align: center;
        float: left;
        color: #1e364e;
        font-size: 9px;
        position: absolute;
        left: 20px;
        top: 6px;
        z-index: 1;
        border-radius: 2px;
        background-color: #FFF;
        padding-top: 0;
    }
    #product-catalogue-menu>li .mobile-nav {
        left: 0;
    }
    .mobile-nav i {
        font-weight: bold;
        font-size: 22px;
        margin-top: 7px;
        transform: rotate(90deg);
        transition: .3s all ease;
    }

    .show>a>.mobile-nav>i {
        transform: rotate(0deg);
    }

    .caret {
        position: relative !important;
        left: auto !important;
        display: inline-block;
        width: 0;
        height: 0;
        margin-top: 20px !important;
        vertical-align: middle;
        border-top: 10px solid;
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
    }

    .navbar-nav>li>a:after {
        display: table;
        clear: both;
        content: "";
    }

    .navbar-nav .show .dropdown-menu {
        padding-right: 5px;
        background-color: #FFF;
        border: none;
    }

    .nav .show>a,
    .nav .show>a:focus,
    .nav .show>a:hover {
        background-color: #fff;
        border-color: #ffffff;
    }

    .navbar-default .navbar-nav .show .dropdown-menu>li>a {
        color: #1e364e;
    }


    .dropdown-menu>li>a {
        padding: 10px;
    }

    .dropdown-menu>li>a,
    .dropdown-menu>li>a:hover,
    .dropdown-menu>li>a:active,
    .dropdown-menu>li>a:focus {
        color: #1e364e;
    }

    .slider-heading {
        font-size: 6vw;
    }

    .slider-desc {
        font-size: 2.5vw;
    }

    .banner-link {
        margin-top: 15px;
        padding: 5px 15px;
    }

    .site-branding.site-logo {
        float: right;
    }

    .navbar-light .navbar-toggler {
        color: #1E354E;
        border: none;
        float: left;
    }

    #site-navigation .navbar-header {
        padding: 10px 0;
    }

    .sm-order-first {
        -ms-flex-order: 0;
        order: 0;
        text-align: right !important;
    }

    .sm-order-last {
        -ms-flex-order: 13;
        order: 13;
    }

    .sm-order-2 {
        -ms-flex-order: 2;
        order: 2;
    }

    header#masthead.sticky-head #sticky-header-container {
        display: none;
    }

    .nav-menu-img {
        display: none;
    }

    #TF-Navbarbs5>ul li:not(.show) > ul{
        display: none;
    }

    .main-navigation.toggled ul {
        clear: both;
    }
    .main-navigation ul ul{
        position: static !important;
        width: 100%;
        float: none !important;
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
    .header-topbar .top-contact-items,
    .header-topbar .topbar-menu,
    .header-topbar .header-topbar-links{
        float: none !important;
        text-align: center;
    }

    .catalogue-container{
        display: none;
    }
}

@media screen and (max-width: 600px) {
    /* #masthead.site-header.sticky-head {
        position: absolute !important;
    } */
}

@media (max-width: 1199px){
    .header-middle-r-container .myaccount-links {
        /*display: none;*/
    }

    .header-middle-r-container{
        
    }
    .header-middle-r-container > div {
        
    }
    .myaccount-links{
        order: 9;
    }
}

/* Mobile */

.button-icon-bar {
    width: 37px;
    height: 0px;
    border-bottom: 2px solid #ababab;
    margin: 0 auto;
    margin-bottom: 7px;
    display: block;
    border-radius: 30px;
    -webkit-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
}




.button-icon-bar:first-child {
    margin-top: 5px;
}

.toggled .button-icon-bar:nth-child(1){
    transform: translateX(58px);
    /*opacity: 0;*/
}
.toggled .button-icon-bar:nth-child(2){
    transform: translateX(-58px);
}

.toggled .button-icon-bar:nth-child(3){
    transform: translateY(58px);
}

.button-icon-bar:nth-child(4) {
    transform: rotate(-40deg) translateX(-50px) translateY(-22px);
}

.button-icon-bar:nth-child(5) {
    transform: rotate(38deg) translateX(45px) translateY(-25px);
}

.toggled .button-icon-bar:nth-child(4) {
    transform: rotate(-35deg) translateX(6px) translateY(-15px)
}

.toggled .button-icon-bar:nth-child(5) {
    transform: rotate(33deg) translateX(-15px) translateY(-20px)
}

.button-icon-bar:nth-child(4), .button-icon-bar:nth-child(5) {

}

.menu-item-description {
    position: absolute;
    left: -10px;
    background-color: #4caf50;
    color: #ffffff;
    font-size: 10px;
    padding: 2px 5px;
    top: -6px;
    text-shadow: none;
    z-index: 10;
}

.menu-item-description:after {
    content: "";
    border-top: 7px solid #4caf50;
    border-bottom: 7px solid rgba(221, 221, 221, 0);
    border-right: 10px solid #ddd0;
    border-left: 6px solid #ddd0;
    display: inline-block;
    position: absolute;
    bottom: -8px;
    right: 7px;
    transform: rotate(82deg);
}

/*menu end*/
/* li.menu-item a:focus + ul, */
li.menu-item a + ul.nav-link-focus{
    -webkit-transform: translateY(1px) !important;
    -moz-transform: translateY(1px) !important;
    -ms-transform: translateY(1px) !important;
    -o-transform: translateY(1px) !important;
    transform: translateY(1px) !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: block;
}
.dropdown-toggle::after{
    content: none !important;
}

