﻿@media screen and (max-width: 767px) {

    #HeaderContent {
        text-align: center;
        height: initial;
    }

    #HeaderQuickOrderPadForm {
        display: none !important;
    }


    /*********WELCOME BANNER*********/

    .Welcome {
        display: block;
        margin-right: 0px;
    }

    .WelcomeBackHeader {
        width: 100% !important;
        text-align: center;
        font-size: 12px;
        line-height: 20px;
    }

    .WelcomeBackAccountMobile {
        width: 100%;
        text-align: center;
        margin-left: 0px
    }

    .WelcomeBackNameMobile {
        float: none;
        margin-right: 0px;
    }

    .WelcomeAccount {
        float: none;
        margin-right: 0px;
    }


    /*********HEADER LOGO*********/

    .HeaderLogoWrapper {
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        display: block;
    }

    .HeaderLogo {
        margin-left: auto;
        margin-right: auto;
        display:block;
    }



    /*********TOP NAVIGATION*********/

    #TopNavResults {
        display: none !important;
    }

    #P1Wrap {
        display: none !important;
    }

    #SignIn, #MyAccount, #ShoppingCartText {
        display: none !important;
    }

    #ShoppingCart {
        background-image: none;
    }

    #MiniCart {
        display: none !important;
    }

    #MobileShopCartImg {
        display: inherit;
        position: absolute;
        top: 0px;
        right: 5px;
    }


    #MobileNavigation {
        z-index: 999;
        position: absolute;
        top: 53px;
        left: 0px;
        width: 100%;
        display: initial;
        text-align: left;
    }

    #MobileNavigation > ul > li > a {
        color: white !important;
        font-weight: normal;
    }

    .DropDown, #HeaderProducts {
        display: none !important;
    }

    .DropDownArrow {
        vertical-align: middle;
    }

    #Dropdown {
        display: none !important;
    }

    #HeaderLogin {
        min-width: 300px;
        max-width: 400px;
        width: 80%;
    }

    .LoginInput input {
        width: 87%;
    }


    /*********MOBILE NAVIGATION*********/



    #MobileNavigation a, #MobileNavigation a:hover, #MobileNavigation a:active {
        color: #fff;
        display: block;
        text-decoration: none;
        padding-left: 15px;
    }

    #MobileNavigation ul {
        padding: 0px;
        margin: 0px;
    }

    #MobileNavigation ul > li {
        list-style-type: none;
        background-color: #065590;
        font-size: 18px;
        border-bottom: 1px solid #031c2f;
        line-height: 39px;
    }

    .MobileNavSub li {
        background: #8e8e8e !important;
    }


    #IndustriesDrop > li > a {
        padding-left: 25px !important;
    }


    ul#IndustriesDrop li {
        /* background-color: #0e0e0e !important; */
    }


    #AboutDrop > li > a {
        padding-left: 25px !important;
    }

    #MobileNavLink {
        color: #fff;
        display: block;
        text-decoration: none;
    }

    .Close {
        font-size: 20px;
    }

    #SubHeader li a {
        font-size: 16px;
        line-height: 30px;
    }

    #KnowledgeCenterLink a {
        border-right: 0px !important;
    }

    #SubHeaderWrapper {
        border-top: none;
        position: absolute;
        bottom: 53px;
        width: 100%;
        z-index: 999;
    }

    #SubHeader {
        min-width: initial;
        max-width: initial;
    }

    #SubHeader li {
        width: 27%;
    }

    #ProductsLink svg,
    #ProductsLink i {
        display: none;
    }

    #MainSearchWrapper {
        width: 100%;
        right: 0px;
        background: #ecebeb;
        bottom: 0px;
        height: 53px;
        display: flex;
    }

    .SearchSuggestions {
        display: none !important;
    }

    #SearchBar {
        position: inherit;
        width: auto;
        height: initial;
        background-color: none;
        border-radius: 0px;
        background-image: none;
    }


    .SearchButton {
        position: absolute;
        right: 5px;
        top: 1px;
        left: initial;
    }

    #NewSearch {
        padding: 0px;
        background-color: #bdbfc1;
        text-align: left;
        position: relative;
        right: 0px;
    }

    #HeaderWrapper {
        margin-top: 0px;
        position: relative;
        height: auto;
    }

    #Header {
        max-width: 767px;
        height: 290px;
    }


    #Logo img {
        width: 60%;
        min-width: inherit;
        max-width: 315px;
        float: none;
    }


    #MobileSearch {
        display: inherit;
        position: relative;
        width: 80%;
        padding: 5px 0px;
        margin: 0 auto;
    }

    #MobileSearchBox {
        width: 100%;
        height: 25px;
        text-align: center;
    }

    #MobileSearchButton {
        position: absolute;
        right: 0px;
        top: 8px;
    }

    .DesktopOnly {
        display: none !important;
    }


    .DesktopOnlyContact {
        display: none !important;
    }

    #ProductsFlyout {
        display: none !important;
    }

    #AddToCart {
        right: 0px;
        left: 0px;
        bottom: 0px;
        margin: 0 auto;
        width: 120px;
    }


    /* MINI CART */
    span#CartBubble {
        display: none !important;
    }

    #AdminPage {
        display: none !important;
    }

    .DesktopOnly {
        display: none !important;
    }

    .MobileOnly {
        display: inline-block !important;
    }

    #HeaderContent {
        text-align: center;
        height: 130px;
    }

    .CompanyLogo {
        display: inline-block;
        max-width: 195px;
        width: 47%;
        left: 10px;
        top: 5px;
    }

    #QuickPad, #PhoneNumber, #HeaderContact, #Slogan {
        display: none !important;
    }

    #SocialMediaHeader svg,
    #SocialMediaHeader i {
        height: 39px;
        font-size: 20px;
    }

    #TopNavigationWrapper {
        display: inline-block;
        vertical-align: top;
        margin: 0 auto;
        width: 100%;
        position: absolute;
        bottom: 105px;
        top: auto;
        left: 0px;
        right: 18px;
        text-align: center;
    }

    .TopNavigation svg,
    .TopNavigation i {
        font-size: 20px;
    }

    #TopNavigationWrapper a, #TopNavigationWrapper a:active, #TopNavigationWrapper a:hover, #TopNavigationWrapper a:visited {
        font-size: 20px;
    }

    #CartBox {
        padding-left: 0px;
        float: right;
        border-right: 0px;
        width: auto;
        position: absolute;
        right: 5px;
        top: 5px;
    }

        #CartBox:hover {
            background: none !important;
            color: #065590 !important;
        }

    #ModelLookup {
        border: none;
        float: none;
        margin-right: 0px;
    }

    #TopNavLinkTitles1 {
        right: auto;
        font-size: 12px;
    }

    #HeaderSignIn p {
        right: auto;
        font-size: 12px;
    }

    #TopNavLinkTitles2 {
        right: auto;
        font-size: 12px;
        left: 2px;
        bottom: 7px;
    }

    #HeaderAccount p {
        right: auto;
        font-size: 12px;
        left: 2px;
        bottom: 7px;
    }

    .MyAccountWrapper p {
        right: auto;
        font-size: 12px !important;
        margin-right: 6px;
    }

    #TopNavLinkTitles3 {
        right: auto;
        font-size: 12px !important;
        margin-right: 6px;
    }

    #TopNavLinkTitles5 {
        font-size: 12px;
    }

    .MyAccountIcon {
        width: 20px;
    }

    #ShoppingCartLink img {
        width: 22px;
    }

    .MyCart span {
        width: 20px;
        bottom: 37px;
        left: 3px;
    }


    #HeaderMyAccount {
        display: none !important;
    }

    #HelloMessage {
        top: 68px;
    }

    #HeaderAccount, #HeaderSignIn {
        vertical-align: top;
        height: 62%;
        float: none;
    }

    #HeaderSignIn {
        margin-left: 25px;

    }

    #HeaderAccount {
        height: initial;
        margin-left: 15px;
    }

    #HeaderQuickPadButton {
        padding: 0px;
        margin-right: 0px;
    }

    #HeaderSearchBox {
        width: 100% !important;
        min-width: inherit;
        float: none;
    }

    #QuickPadIcon {
        display: inline-block;
    }

    #ResourcesLink {
        display: inline-block !important;
    }

    #ResourcesLink svg,
    #ResourcesLink i {
        display: none;
    }

    .DropdownLvl2 {
        display: none !important;
    }


    #SearchBar {
        width: 100%;
        position: absolute;
        bottom: 0px;
        height: 53px;
        z-index: 99;
        left: 0px;
        background: #bdbfc1;
    }

    #NewSearch {
        width: 84%;
        height: auto;
        position: relative;
        z-index: 999999999;
        padding: 0px;
        left: 20px;
        bottom: 0px;
        margin: 0 auto;
    }

    #SearchForm {
        width: 79%;
        display: inline-block;
        margin-bottom: 0px;
        vertical-align: middle;
        margin-top: 7px;
        border: none;
        top: 0px;
        right: unset;
        left: 24px;
    }

    .SearchButton {
        top: -5px;
        right: 7px;
    }

    #SearchTextInput {
        width: 94%;
        display: inline-block;
        z-index: 99;
    }

    #MobileDropDown {
        right: 75px;
    }

    #MobileMenu {
        display: inline-block;
        cursor: pointer;
        margin: 8px 5px 5px 5px;
        float: left;
        flex: 0;
    }

    .bar1, .bar2, .bar3 {
        width: 35px;
        height: 5px;
        background-color: #065590;
        margin: 6px 0;
        transition: 0.4s;
    }

    /* Rotate first bar */
    .change .bar1 {
        -webkit-transform: rotate(-45deg) translate(-9px, 6px);
        transform: rotate(-45deg) translate(-9px, 6px);
    }

    /* Fade out the second bar */
    .change .bar2 {
        opacity: 0;
    }

    /* Rotate last bar */
    .change .bar3 {
        -webkit-transform: rotate(45deg) translate(-8px, -8px);
        transform: rotate(45deg) translate(-8px, -8px);
    }

    .Expanded {
        display: inline-block;
        background-repeat: no-repeat !important;
        background-position: center !important;
        width: 40px;
        height: 40px;
    }

    #MobileMenuWrapper img {
        position: absolute;
        left: 0px;
    }

    .active {
        background: #fff;
        color: #ffffff !important;
        font-weight: bold;
    }

    #AccountDrop {
        border-top: 1px solid #696969;
    }

    #AccountDrop li {
        padding-left: 15px;
        font-size: 16px !important;
        font-weight: normal;
        background-color: #bdbfc1 !important;
    }

    #AccountDrop li a {
        color: #242021;
        font-weight: bold;
    }

    #ResourcesDrop {
        border-top: 1px solid #696969;
    }

    #ResourcesDrop li {
        padding-left: 15px;
        font-size: 16px !important;
        font-weight: normal;
        background-color: #bdbfc1 !important;
    }

    #ResourcesDrop li a {
        color: #242021;
        font-weight: bold;
    }

    #IndustriesDrop {
        border-top: 1px solid #696969;
    }

    #IndustriesDrop li {
        padding-left: 15px;
        font-size: 16px !important;
        font-weight: normal;
        background-color: #bdbfc1 !important;
    }

    #IndustriesDrop li a {
        color: #242021;
        font-weight: bold;
    }

    #ServicesDrop {
        border-top: 1px solid #696969;
    }

    #ServicesDrop li {
        padding-left: 15px;
        font-size: 16px !important;
        font-weight: normal;
        background-color: #bdbfc1 !important;
    }

    #ServicesDrop li a {
        color: #242021;
        font-weight: bold;
    }

    #AboutDrop {
        border-top: 1px solid #696969;
    }

    #AboutDrop li {
        padding-left: 15px;
        font-size: 16px !important;
        font-weight: normal;
        background-color: #bdbfc1 !important;
    }

    #AboutDrop li:hover, #MobileNavigation li:hover {
        background-color: #101829;
    }

    #AboutDrop li a {
        color: #242021;
        font-weight: bold;
    }


    .DropDownImg {
        width: 10px;
    }

    .Follow, .SocialIcon, .dropdown-content3, .TopNavSocial {
        display: none !important;
    }

    .Active {
        background-color: #000 !important;
    }

    #SubHeader {
        height: 40px;
    }

    #SubHeader li {
        width: 30%;
        font-size: 18px;
        padding: 0px;
    }

    .welcomebackHeader {
        width: 100% !important;
        text-align: center;
        font-size: 10px;
        line-height: 20px;
    }

    a#ShoppingCartLink {
        vertical-align: bottom;
        margin-left: 1px;
    }

    #SearchButton {
        width: 40px;
        height: 40px;
        margin: 0px;
    }

    .QOPButton {
        display: none;
    }

    .TopNavigation {
        right: 0px;
        float: none;
        width: 100%;
        text-align: center;
        margin: 0 auto;
    }

    @media screen and (max-width: 600px) {
        #SearchForm {
            width: 72%;
        }
    }

    @media screen and (max-width: 500px) {
        #SearchForm {
            width: 69%;
        }
    }

    @media screen and (max-width: 420px) {
        #SearchForm {
            width: 60%;
        }
    }

}
