﻿.top_menu ul li a.pull2, .pull {
    display: none;
    position: relative;
}

.pull {
    /*position: absolute;
    right: 20px;
    top: 176px;*/
}

    .pull img {
        -webkit-transition: all 900ms ease-in-out;
        -ms-transition: all 900ms ease-in-out;
        -moz-transition: all 900ms ease-in-out;
        transition: all 900ms ease-in-out;
    }
.menu_wrapper {
    width: 100%;
    padding-top: 10px;
}

.top_menu {
    position: absolute;
    top: 0;
    right: 0;
}

    .menu:after, .header_wrapper:after,
    .top_menu:after {
        display: table;
        content: '';
        clear: both;
    }

    .top_menu ul, .menu ul {
        list-style: none;
    }

.header__bottom ul li {
    display: inline-block;
    vertical-align: top;
}

.top_sub {
    display: none;
    background: #f7f7f7;
    font-size: 1.8rem;
    font-weight: 400;
    left: 0;
    min-height: 0;
    position: fixed;
    top: 12.4rem;
    /*width: 100%;*/
    left:unset !important;
    z-index: 3;
    height: 400px;
}
.top_sub {
    border-top: .2rem solid #f0f0f0;
    padding-bottom: 4rem;
    padding-top: 3.7rem;
    /*top: var(--header-height);*/
    /*clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: clip-path .2s 0ms, visibility 0ms .2s;*/
    
}
.thinheader .top_sub {
    margin-top: -10px;
}

.navliwrap ul {
padding-left:0px !important;
}
.show {
    /*display: block;*/
    /*clip-path: polygon(0 0,100% 0,100% 100%,0 100%);
    transition: clip-path .2s 0ms,visibility 0ms 0ms;*/
    /*visibility: visible;*/
}



    /*
.header__bottom ul.top_sub li:nth-of-type(4) {
    background-color:pink;
    display: inline-block;
    vertical-align: top;
}

.header__bottom ul.top_sub1 li:nth-of-type(4) {
    background-color:initial;
    display: inline-block;
    vertical-align: top;
}*/
    .top_menu ul li {
        /*float: left;*/
        display: inline-block;
    }

        .top_menu ul li a {
            padding: 0 16px;
            color: #040503;
            font-size: 17px;
            display: block;
            font-family: "secondary",sans-serif;
            -webkit-transition: all 200ms ease-in-out;
            -ms-transition: all 200ms ease-in-out;
            -moz-transition: all 200ms ease-in-out;
            transition: all 200ms ease-in-out;
        }

        .top_menu ul li.login a:first-of-type {
            border-right: 1px solid #040503;
        }

        .top_menu ul li.login a {
            display: inline-block;
        }

    .top_menu .basket a {
        margin-top: -13px;
        padding: 0;
    }

    .top_menu .basket img {
        max-height: 20px;
    }

    .header__bottom {
        display: inline-block;
    }

        .header__bottom ul li {
            margin-right: 4.4rem;
        }

        .top_sub > li, .header__bottom ul.top_sub li {
            margin-right: 0px;
            width: 100%;
        }

        .header__bottom ul.top_sub li {
        width:100%;
        }

        .header__bottom ul.top_sub > li > ul > li {
            /*margin-right: 96px;*/
            width: fit-content;
            padding: 6px 0px;
        }

        .header__bottom ul.ulProducts > li > ul > li {
            margin-right: 12px;
            width: fit-content;
            padding: 6px 0px;
        }

            .header__bottom ul.top_sub1 > li {
                width: unset;
                width: initial;
            }

.navliwrap {
    display: flex !important;
    flex-direction: row !important;
    max-width: 144rem;
}
@media only screen and (max-width: 1024px) {
    .navliwrap {
        flex-direction: column !important;
        max-width:unset;
    }
        .navliwrap ul {
        padding-left:0px !important;
        }
        
}

.top_sub > li > ul {
    margin: 0 auto;
    /*max-width: 144rem;*/
    padding-left: 0rem;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    column-count: 3;
    width: 100%;
    justify-content: space-between;
}

.menuimagewrapper {
    display: none;
    visibility: hidden;
}

.header__bottom ul.top_sub {
    /*display: none;
        width: 100%;
        position: absolute;
        left: 0px;
        margin-top: 0px;*/
    /*min-height: 400px;*/
    padding-left: 1rem;
    padding-right: 2rem;
    height: fit-content;
    /*min-height: 382px;*/
    border: 1px solid #326cc4;
}

        .header__bottom ul.top_sub1 {
            position: relative;
            /*left: 0px;*/
            width: fit-content;
            display: block;
            column-count:2;
            column-gap:60px;
            text-align: left;
            padding-top: 10px;
        }

.ulProducts > li > ul {

}
.ulContact_Us > li > ul {
    padding-left: 19.5rem;
}
.ulResidential_Septic_Services> li> ul {
padding-left:63.5rem;
}
.ulCommercial_Septic_Services > li > ul {
    padding-left: 34.5rem;
}
.ulAbout_Us > li > ul {
    padding-left: 50rem;
}
.ulAbout_Us > li > ul {
    padding-left: 77.5rem;
}
ul.inner {

}
.header__bottom .ulProjects ul.top_sub1, .header__bottom .ulResidential_Septic_Services > li > ul, .header__bottom .ulAbout_Us > li > ul, .ulCommercial_Septic_Services > li > ul {
    column-count: 1;
}
.header__bottom .ulProjects > li > ul {
    column-count: 2;
}
.ulResidential_Septic_Services > li > ul, .ulAbout_Us > li > ul, .ulProjects > li > ul, .ulCommercial_Septic_Services > li >ul {
    flex-direction: column;
    flex-wrap:wrap;
    justify-content:flex-start;
}
.ulProducts > li > ul {
    flex-direction: column;
    flex-wrap: wrap;
    max-height: 240px;
    align-content:flex-start;
    column-gap:8px;
    justify-content:flex-start;
}
.ulResidential_Septic_Services #menuimage, .ulCommercial_Septic_Services #menuimage {
    display: none;
    visibility: hidden;
}
.navliwrap>ul>li {
    white-space:nowrap;

}
/*.ulAbout #menuimage, .ulProducts #menuimage, .ulProjects #menuimage {
    position: absolute;
    right: 23rem;
    padding: 37px 0px;
}*/
/* .header__bottom ul.top_sub {
        background-color: #ffffff;
        vertical-align: top;
        padding-top: 30px;
        padding-bottom: 30px;
        text-align: left;
        border-top: .2rem solid #f0f0f0;
        padding-left: calc(22vw);
    }*/
.header__bottom ul.top_sub1 li {
    display: block;
    position: relative;
    padding: 2px 0px 10px 0px;
    text-wrap: nowrap;
}

    /*.header__bottom ul li a.depth2 {
            padding: 0px 0px 20px 60px;
            font-size: 22px;
        }

            .header__bottom ul li a.depth2:hover {
                color: #899797;
            }
    */
        .header__bottom ul.top_sub1 li a {
            padding: 0px 0px 0px 0px;
            text-transform: capitalize;
            font-weight: normal;
        }


    .catdesc {
        font-size: 13px;
        line-height: 13px;
        color: #899797;
    }

.catimgorig, .catdescorig, .catimgplorig {
    display: none;
    visibility: hidden;
}

    .top_sub div.mtag, .product_content_each div.mtag {
        float: right;
        background-color: #1a1a1a;
        padding: 2px 12px 2px 12px;
        border-radius: 50px;
        color: #ffffff;
        position: relative;
        font-size: 12px;
        font-family: primary,sans-serif;
        letter-spacing: .5px;
        display: flex;
        height: 22px;
        line-height: 22px;
        margin-left: 15px;
        margin-top: 5px;
    }

    .product_content_each div.mtag {
        float: left;
        margin-left: 0px;
        font-style: normal;
        background-color: #899797;
        color: #ffffff;
    }

        .product_content_each div.mtag span {
        }

    /* .top_sub div.mtag:before {
        content: 'i';
        text-transform: lowercase;
        font-family: secondary, sans-serif;
        font-style: normal;
        position: absolute;
        left: -7px;
        width: 22px;
        height: 22px;
        background-color: #899797;
        padding: 0px 0px 0px 0px;
        border-radius: 100px;
        color: #1a1a1a;
        top: 0px;
        text-align: center;
        vertical-align: middle;
        border: 1px solid #899797;
    }*/
    .top_sub_left {
        background: linear-gradient( #ffffff, #eaeaea);
        background: -webkit-linear-gradient(#ffffff, #eaeaea);
        background: -o-linear-gradient( #ffffff, #eaeaea);
        background: -moz-linear-gradient( #ffffff, #eaeaea);
        background: linear-gradient( #ffffff, #eaeaea);
    }

    .header__bottom ul li:hover .top_sub {
        /*display: flex;
    position: absolute;*/
        /*padding-left:340px;
    justify-content: center;*/
    }


#menuimage {
    position: relative;
    right: 0px;
    top: 0px;
    /*max-width: 460px;*/
    max-width: 300px;
    width: 100%;
    /*margin-right:2rem;*/
    height: auto;
    text-align: right;
    -webkit-transition: all 200ms ease-in-out;
    -ms-transition: all 200ms ease-in-out;
    -moz-transition: all 200ms ease-in-out;
    transition: all 200ms ease-in-out;
}

        #menuimage img {
            width: auto;
            max-width: 100%;
            /*height:100%;*/
            max-height: 100%;
            position: relative;
            -webkit-transition: all 600ms ease-in-out;
            -ms-transition: all 600ms ease-in-out;
            -moz-transition: all 600ms ease-in-out;
            transition: all 600ms ease-in-out;
        }

    .header__bottom ul li a.page-menu__title {
        display: block;
        font-weight: 500;
        margin-bottom: 1.6rem;
    }

.ulResidential_Septic_Services ul li a.page-menu__title, .ulAbout_Us ul li a.page-menu__title, .ulProducts ul li a.page-menu__title {
    font-weight: normal;
}

.header__bottom ul li span.toggle2nolink {
    display: block;
    padding: 0px 0px 0px 0px;
    font-weight: 500;
}
    .header__bottom ul li span.toggle2nolink:hover {
        color: #1a1a1a;
        text-decoration: none;
    }

.header__bottom ul li span.toggle2nolink:after {
    display: none;
}
    .toggle2link img {
        display: none;
        position: absolute;
    }

    .toggle2link:hover img {
        display: none;
        top: 0px;
        left: 0px;
        width: 300px;
        border: 2px solid red;
    }

    .top_menu .contact li .log_out {
        display: none;
    }

    .top_menu .contact li.active .log_out {
        display: block;
        text-transform: capitalize;
    }

    .top_menu .contact li.active .log_in {
        display: none;
    }

    .top_menu .contact li .log_out img {
        position: relative;
        top: 4px;
    }

.header__bottom ul li a, .header__bottom ul li span {
    color: #1a1a1a;
    padding: 15px 0vw 0px 0vw;
    margin-right: .5vw;
    margin-left: .5vw;
    display: inline-block;
    -webkit-transition: all 200ms ease-in-out;
    -ms-transition: all 200ms ease-in-out;
    -moz-transition: all 200ms ease-in-out;
    transition: all 200ms ease-in-out;
}

        .header__bottom ul li a:hover {
            text-decoration: none;
        }

        .header__bottom ul li a.toggle2link {
            padding: 0px 0px 0px 0px;
            margin-bottom:0px;
            margin-left:3px;
        }

    .header__bottom > ul > li:first-of-type > a, .header__bottom > ul > li:first-of-type > span {
        padding-left: 0;
    }

    .header__bottom > ul > li:last-of-type > a, .header__bottom > ul > li:last-of-type > span {
        padding-right: 0;
    }

    .top_menu ul li a:hover, .header__bottom ul li span:hover {
        color: #dc2032;
        text-decoration: none;
    }

    .submenu_appear > ul > li > a {
        padding: 0px;
    }


    .menu ul {
        z-index: 4000;
    }


    .submenu {
        display: none;
        background: #ffffff;
        text-align: center;
        margin: 0 auto;
    }

        .submenu ul {
            padding: 0px 6%;
        }

            .submenu ul li {
                position: relative;
                width: 16.666666667%;
                float: left;
                min-height: 170px;
            }

                .submenu ul li a {
                    display: block;
                    padding: 0px;
                }

                .submenu ul li img {
                    max-width: 150px;
                    max-height: 200px;
                    margin: 0 auto;
                    width: 100%;
                }

                .submenu ul li span {
                    display: inline-block;
                    position: absolute;
                    left: 50%;
                    bottom: 0;
                    -ms-transform: translateX(-50%); /* IE 9 */
                    -webkit-transform: translateX(-50%); /* Safari */
                    transform: translateX(-50%);
                }



    .submenu_appear {
        display: block;
        left: 0;
        width: 100%;
        /*z-index: 5000;*/
        /*position: absolute;*/
        /*top: 158px;*/
        /*height: 200px;*/
        -webkit-transition: all ease-in-out 5s;
        -ms-transition: all ease-in-out 5s;
        -moz-transition: all ease-in-out 5s;
        transition: all ease-in-out 5s;
        padding: 0px;
        box-shadow: 5px 0px rgba(241,242,242,.5);
    }

        .submenu_appear > ul > li > a {
            padding: 0px;
        }

    .headerauxicon {
        height: 1.7rem !important;
        padding-bottom: 4px;
    }

.footer-topsection {
display:flex;
}
.footer__main {
width:40%;
padding-bottom:20px;
flex-wrap:wrap;
}

.footernav {
    display: flex;
    flex-direction:row;
    width: 77%;
    justify-content: space-between;
    flex-wrap:wrap;
}

    .footernav > ul {
    width:50%;
    }
.footernav ul li span.listnavlink {
    display: block;
    padding: 0px 0px 0px 0px;
    font-weight: 500;
}

.footernav ul li span.listnavlink:hover {
    color: #1a1a1a;
    text-decoration: none;
}
    .footernav .listhead {
        font-weight:bold;
        padding-bottom:20px;
    }
        .footernav .listhead span.listnavlink {
            font-weight: bold;
        }
    .footernav .list_top_sub .listitem {
        padding:10px 0px;
        width:fit-content;
    }
        .footernav .list_top_sub .listitem a {
            text-wrap: nowrap;
        }
@media only screen and (max-width: 1452px) {
    .submenu {
            max-width: 100%;
        }

        .submenu_appear {
            /*top:166px;    */
        }

        .header__bottom ul li a, .header__bottom ul li span {
            /*padding: 25px 65px 10px;*/
        }

        .submenu_appear > ul > li > a {
            padding: 0px;
        }

        .menu-trigger {
            top: 6vw;
        }
    }

@media only screen and (max-width: 898px) {
    .footer-topsection {
        flex-direction:column;
    }
    .footer__main {
    width:100%;
    flex-direction:row;
    padding-bottom:40px;
    }
    .footernav > ul {
    width:180px;
    padding-bottom:40px;
    }
    .footernav {
        display: flex;
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
    }
}
    @media only screen and (max-width: 1324px) {


        .top_sub > li > ul {
        padding-left:.2rem;
        }
        .catdesc {
            font-size: 14px;
            line-height: 14px;
        }


        .header__bottom ul li a, .header__bottom ul li span, .header__bottom ul li:first-of-type a, .header__bottom ul li:first-of-type span, .header__bottom ul li:last-of-type a, .header__bottom ul li:last-of-type span {
            /*padding: 25px 20px 10px;*/
            padding: 0px;
        }

            .header__bottom ul li a.mega-menu__button {
                padding: 16px 28px 16px 28px;
                color: #ffffff;
            }

        .mobilebtn {
            display: none;
        }

        .header__bottom ul.top_sub li a, .header__bottom ul.top_sub li span, .header__bottom ul.top_sub li:first-of-type a, .header__bottom ul.top_sub li:first-of-type span, .header__bottom ul.top_sub li:last-of-type a, .header__bottom ul.top_sub li:last-of-type span {
            padding: 4px 4px 4px 0px;
        }

        .top_menu {
            top: -30px;
            margin-bottom: 40px;
        }

        .submenu_appear > ul > li > a {
            padding: 0px;
        }

        .submenu, .contact_parent {
            padding: 0 15px;
        }
    }

    @media only screen and (max-width: 1200px) {
        .header__bottom ul li {
            margin-right: 3.0rem;
        }
        /*.header__top {
    margin-bottom:0px;
    }*/
        .header__aux {
            min-height: 38px !important;
        }
        /*.header__right {
    padding-left:2rem !important;
    }*/
    }

    @media only screen and (max-width: 1024px) {
        .header__bottom ul.top_sub {
            border: none;
        }
        .top_sub {
        top:0;
        padding-top:0px;
        height:100% !important;
        width:100%;
        }
        .page-menu__back, .page-menu__back svg {
        top:14px !important;
        }
            .page-menu__back svg {
                left: 0 !important;
            }
        .top_sub > li > ul, .top_sub1 {
            display: flex;
            width: 100%;
            padding-top: 86px;
            align-items:flex-end !important;
            flex-direction:column;
            align-content:flex-end;
            flex-wrap:nowrap;
        }
        .header__bottom ul.top_sub > li > ul > li {
        margin-right:16px;
        }
        .navliwrap ul {
            text-align: right;
        }

                .top_sub > li > ul .mega-menu__link, .top_sub1 .mega-menu__link {
                    font-size: 1.6rem;
                }
        #menuimage{
            display:none;
        }

        .mobilebtn {
            display: flex !important;
            flex-direction: column;
            justify-content: flex-start;
        }

        .header__bottom ul li.mobilebtn a {
            margin: 18px 0px;
            width: fit-content;
            font-size: 1.6rem;
            display: flex;
        }

        .header__bottom ul li a {
            /* padding: 20px 1vw 7px 0vw;*/
        }

        .mobile-menu-open .mega-menu {
            left: 0 !important;
        }
        /*  .header__bottom ul {
    background: #f7f7f7;
    height: 100%;
    left: 100%;
    overflow: auto;
    padding: 9.5rem 2rem 4rem;
    position: fixed;
    top: 0;
    transition: left .2s;
    width: 100%;
    z-index: 1000;
}*/

        .menu-open {
            left: 0 !important;
        }

        .pull {
            display: inline-block;
            /*float: right;
        margin: 16px 16px 16px 0;
        margin-bottom: 20px;
        z-index: 1200;*/
        }

        .pull-rotate {
            transform: rotate(-90deg);
            -webkit-transition: all 600ms ease-in-out;
            -ms-transition: all 600ms ease-in-out;
            -moz-transition: all 600ms ease-in-out;
            transition: all 600ms ease-in-out;
        }
    }

    @media only screen and (max-width: 798px) {

        .mm-opening .menu-trigger {
            left: unset;
            right: 0px;
        }

        .menu-trigger {
            position: fixed;
            left: 0px;
            top: 28vw;
        }

        .mm-opening .menu-trigger {
            position: absolute;
            right: -122px;
            top: 0px;
        }

        .header__bottom ul li a, .header__bottom ul li:last-of-type a {
        }

        .header__bottom ul li span, .header__bottom ul li:first-of-type a, .header__bottom ul li:first-of-type span, .header__bottom ul li:last-of-type span {
            padding: 25px 0px 10px;
        }

        .header_wrapper .header__bottom ul {
            background-color: #ffffff;
            z-index: 1000;
            position: absolute;
            right: 8px;
            width: 80%;
            text-align: left;
            padding-left: 40px;
            /*margin-top: 90px;*/
            top: 160px;
            box-shadow: 2px 2px 8px 1px rgba(0, 0, 0, .2);
            overflow-y: scroll;
        }

        .header_wrapper .header__bottom > ul {
            max-height: 100vw;
        }

        .header_wrapper .header__bottom ul.top_sub, .header_wrapper .header__bottom ul.top_sub1 {
            z-index: 1001;
            position: relative;
            right: 19px;
            top: 0px;
            width: 90%;
            text-align: left;
            padding-left: 26px;
            margin-top: 0px;
            box-shadow: none;
        }

        .header__bottom ul.top_sub1 li a {
            /*font-size: 24px;*/
            line-height: 28px;
        }

        .catdesc {
            font-size: 20px;
            line-height: 20px;
        }



        .menu > ul {
            margin-top: 0px;
        }


        #menuimage {
            display: none;
            visibility: hidden;
            text-space-collapse: collapse;
        }

        .header__bottom ul li:hover .top_sub {
            display: block;
            height: 100%;
            text-align: right;
        }

        ul.top_sub > li {
            display: block;
            width: 100%;
        }

        .menu ul {
            display: none;
            margin-bottom: 24px;
        }

        .header__bottom ul li {
            display: block;
        }

        .header__bottom.footer_menu ul li {
            display: block;
        }

        .header__bottom ul li a, .header__bottom ul li span, .header__bottom ul li:first-of-type a, .header__bottom ul li:first-of-type span, .header__bottom ul li:last-of-type a, .header__bottom ul li:last-of-type span {
            /*padding: 25px 35px 10px;*/
        }

        .submenu_appear > ul > li > a {
            padding: 0px;
        }

        .submenu_appear {
            height: unset;
        }

        .submenu {
            padding: 0 15px;
            top: 45%;
            /*top: 272px;*/
        }

            .submenu ul li {
                width: 45%;
                text-align: center;
                float: none;
                display: inline-block;
                vertical-align: top;
            }

        .top_menu {
            position: relative;
            padding-top: 40px;
            margin-bottom: 0px;
        }
        .header__bottom ul li span.icon--contact {
            padding: 0px;
        }

    }
@media only screen and (max-width: 628px) {
    .top_sub > li > ul{
        flex-direction:column;
        flex-wrap:nowrap;

    }
    .top_sub > li > ul>li {
        margin-bottom:0px;
    }
    .header__bottom ul.ulProducts > li > ul > li {
    width:100%;
    }
    .header__bottom ul li:first-of-type a {
    padding:25px 0px 0px;
    }
    .header__bottom ul.top_sub > li > ul > li {
    width:100%;
    }
}
    @media only screen and (max-width: 567px) {

        .top_sub div.mtag {
            float: left;
        }

        .menu-trigger {
            top: 150px;
        }

        .header_wrapper .header__bottom ul {
            padding-left: 20px;
        }

        .header__bottom ul.top_sub1 li {
            padding-left: 16px;
        }

        .header_wrapper .header__bottom ul.top_sub, .header_wrapper .header__bottom ul.top_sub1 {
            padding-left: 16px;
        }

        .submenu ul li {
            min-height: 200px;
            margin-bottom: 22px;
        }

        .top_menu {
            width: 100%;
            /*top:-65px;*/
        }

            .top_menu ul li {
                float: none;
                display: inline-block;
                padding: 8px 0px;
            }

            .top_menu .basket {
                width: 100%;
            }

                .top_menu .basket a {
                    line-height: 1.6;
                    margin-top: 0;
                }
    }

    @media only screen and (max-width: 392px) {

        .top_menu ul li a {
            padding: 0 13px;
        }
    }

@media only screen and (max-width: 380px) {
    .header__bottom ul.top_sub1 {
    display:flex;
    flex-direction:column;
    }
}