
.content-heading{margin-bottom:0 !important;}
:root {
    --distance_to_top_no_nav: 150px;
    --distance_to_top_w_nav: 190px;
}
.cart-container .col-6 {
    z-index: -1 !important;
 }

@media (min-width: 768px) {
    #maincontent {
        padding-top: var(--distance_to_top_w_nav) !important;padding-top: 190px !important;padding-top: 190px;
    }
    .shipping-information-title {
        padding-top: 10px;
    }
}
@media (max-width: 947px) {
    ul.compare.wrapper{
        display: none;
    }
}
@media (min-width: 768px) {
    .cart-summary._sticky {
        position: inherit !important;
    }
}

#news-image {
    float:right;
    padding: 15px;
}
.quote-header {
    color: #fff;
}
.block-new-customer {
    clear: inherit !important;
    float: right !important;
}
.block-customer-login {
    float: left !important;
}

#checkout {
    margin-top: 20px;
}
#tooltip-label {
    display: none;
}
.navigation .level0 .submenu a {
    /*border-style: none !important;
    padding: 5px 20px !important;
    top:auto;*/

}
.level_one {
    font-weight: 800;
}
a.menu-item-active > span {
    text-decoration: none !important;
}
.navigation .level0.active > .level-top,
.navigation .level0.has-active > .level-top {
    border-style:none !important;
}

.ct-view .ct-width-50-mid {
    width: 67% !important;
    margin: auto !important;
}
.ct-view .ct-column {
    float: none !important;
}
.ct-view .ct-column-main {
    display: inherit !important;
}
/*   Matt's CSS for Mega menu   */
/*
#####
For some reason the code below was working as intended and then it started breaking stuff.
#####
.ves-megamenu {
    margin-left: -15px !important;
    margin-right: -15px !important;
    width: 1280px !important;
}
*/
@media (min-width: 768px) {
    .navigation .level0 {
        margin: 0 5px 0 0 !important;
    }
}


/*  Below gets rid of the Toggle Nav text */
.ves-navdrilldown > span {
    display: none !important;
}
.dropdown-submenu   {
    margin-top: -15px !important;
    margin-bottom: -15px !important;
}
div.nav-item.level2:hover {
    /*background:#e2e2e2;*/
}
.ves-megamenu .nav-item > a {
    /*padding: 0 20px !important;*/
}
.ct-field img {
    margin: 15px;
}
.search.results .product-items {
    text-align: left;
}
.inside{
    margin: 20px auto;
    max-width: 1280px;
    padding: 0 20px;
    width: auto;
}
.inside h1 {
    font-size: 40px;
    font-weight: 600;
    color: #333745;
}
.inside h2 {
    font-size: 24px;
    font-weight: 600;
    display: inline-block;
    color: #333745;
}
.ves-megamenu .dropdown-menu .subgroup.level1 > .dropdown-mega {
    padding: 0 10px;
    max-width: 100%;
    min-width: auto;
}
@media all and (min-width: 768px), print {
    .navigation .level0 .submenu a:hover,
    .navigation .level0 .submenu a.ui-state-focus {
        background: none !important;
        color: #f4771d !important;
    }
}
.ves-megamenu.menu-hover .subhover:hover .dropdown-menu {
    padding: 10px;
}
.ves-megamenu .dropdown-menu .subgroup.level1 > .dropdown-mega {
    /*padding: 0 20px!important;*/
}
div.nav-item.level2 {
    margin-left: -15px !important;
    margin-right: -15px !important;
}
/*   CSS to align the Miniquote button   */
.miniquote-wrapper  {
    margin-top: 10px;
}
.miniquote-wrapper.active .block-miniquote {
    z-index: 902;
    margin-top: 0px !important;
}
.minicart-wrapper.active .block-minicart {
    z-index: 902;
}
.miniquote-wrapper .block-miniquote:before {
    right: 69px !important;
}
.miniquote-wrapper .block-miniquote:after {
    right: 68px !important;
}

#product-addtoquote-button {
    width: 150px !important;
    color: white !important;
    background: #5ac5d7!important;
    border: none !important;
    border-radius: 10px !important;
    text-align: center !important;
    transition: all .3s ease;
}
#product-addtoquote-button:hover {
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, .225) !important;
}
div > ul > li {
    margin-left: 30px;
}
.alphabet > a {
    padding: 12px;
    text-decoration: none;
    color: orange !important;
    font-weight:600;
    font-size: 2rem;
}
.alphabet > a.alphabet_inactive {
    color: #a9a9a9 !important;
}


#brand-clear-bottom {
    margin-bottom: 0px;
    padding-bottom: 0px;
}
.alphabet > a:hover {
    text-decoration: none !important;
}
div.col-lg-11 > div.row > div.col-lg-2 > a, div.col-lg-11 > div.row > div.col-lg-2 > a:hover  {
    text-decoration: none;
    color: #48a7d0;
}
div.col-lg-11 > div.row > div.col-lg-2 > a  {
    font-size: 1.5rem !important;
}
.row > div.col-lg-1 > h1 {
    margin-top: 10px;
}
.row > div.col-lg-11 > div.row {
    margin-top: 15px;
}
#featured_brands {
    padding: 80px 0;
}
#featured_brands.row > div.col-lg-12 > div.col-lg-12 > div.row div.col-lg-2 > img {
    width: 225px;
    height: 225px;

}
@media (max-width: 767px) {
    .ves-menu {
        /*display:none !important;*/
    }
    .block-search .control {
        height: 64px !important;

        background-color:#333745;
        margin-bottom: 5px;
    }
    .block-search input {
         left:auto !important;
        width: 94%;
     }
}
.filter-options-title {
    font-size: 1.4rem;
}
.cart.table-wrapper .actions-toolbar {
    padding-bottom: 40px !important;
}
@media (min-width: 768px) {
    .cart.table-wrapper .product-item-details {
        padding-bottom: 0 !important;
    }
    .product-item-name {
        height: auto !important;
    }
}
.sub-category {
    display: table !important;

}
.sub-category a span {
    /*display: table-cell !important;*/
    vertical-align: middle;
    position: relative;
}
.services-container, .resources-container, .about-us-container {
    padding: 5px 0 30px 0;
}

.cart.table-wrapper .actions-toolbar > .action-edit {
    right: 30px !important;
}

#registration input.action.primary {
    width: auto ;
    border-radius: 3px;
}

.registration-container,
.content-container,
.services-container,
.resources-container,
.about-us-container,
.brand-container,
.resources .resources-container{
    margin: auto auto 40px auto;
    max-width: 1280px;
    padding-left: 20px;
    padding-right: 20px;
    width: auto;
    position: relative;

}

.brand-container,
.services-container,
.about-us-container,
.resources .resources-container {
    padding-top: 20px;
}

p {
    margin-bottom: 2rem !important;
}
.quote-image-left {
    float: left;
    width: 50%;
    height: 400px;
    background-position: right;
    background-size: cover;
}

.search-autocomplete {
    z-index: 9999 !important;
}
@media (max-width: 767px) {
    .quote-image-left {
        width: 100%;
    }
}
.sidebar .product-items .action.delete {
    right: inherit !important;
    top: 10px !important;
}
#compare-items .product-item-name > a {
    font-weight: inherit !important;
    font-size: 14px !important;
}
@media (max-width: 767px) {
    li.nav.item.current {
        margin-top:30px;
    }
    #cart-container {
        margin-top: 8px!important;
        padding-top: 0px !important;
    }
    .action.tocompare {
        display: none !important;
    }
}
.table-checkout-shipping-method tbody td:first-child {
    padding-left: 25px !important;
    max-width: 50px !important;
}
.cart.table-wrapper .product-item-name {
    width: 100%;
}
@media (min-width: 768px) {
    div.nav-item.level2:first-child a {
        padding-top: 0 !important;
    }
    div.nav-item.level2:last-child a {
        padding-bottom: 7px !important;
    }
}
@media all and (min-width: 768px) and (max-width: 1050px), print {
    .quotation-quote-index .item {
        width: 100% !important;
    }

    .quotation-quote-index .product-item-name {
        /* width: 150px; */
    }

    .quotation-quote-index .product-image-container {
        width: 100px;
    }
}

.mark, mark {
    background-color: rgba(0,0,0,0) !important;
}
@media (min-width: 768px) {
    #brands_landing {
        width: 100vw;
        background: rgba(0,0,0,0.05);
        margin-left: calc(-50vw + 50%);
        padding: 20px calc(1vw + 25%);
    }
}


button.action.quote-btn-list {
    margin: 0 auto;
    display: initial;
    padding: 18px 0;
    width: 58%;
    border-radius: 10px !important;
    border: none !important;
    background: #5ac5d7!important;
    color: white !important;
    font-size: 1.3rem;
    line-height: 1;
}

@media (min-width: 768px) {
    .sections.nav-sections {
        width: 100%;
        position: absolute;
        z-index: 501;
    }
}
.page.messages, .message {
    z-index: 500 !important;
}
@media (max-width: 768px) {
    .block-search .label {
        display: none !important;
    }
}
.minicart-wrapper .block-minicart {
    right: -30px !important;
    margin-top: 9px;
    width: 390px;
}
.minicart-wrapper .block-minicart:before {
    right: 31px !important;
}
.minicart-wrapper .block-minicart:after {
    right: 30px !important;
}

.megamenu-content .level1 a {
    /*font-size: 14px;
    line-height: 18px !important;
    padding: 0 !important;*/
}
.mega-col .nav-item.level2 a {
    font-size: 13px;
    line-height: 16px !important;
    padding: 14px 0 !important;
    display: table;
}
@media (max-width: 768px) {
    #homeNews {
        display: none;
    }
}
div.newsPhoto > img {
    margin: auto;
}

@media (max-width:1290px) and (min-width: 768px) {
    .ves-megamenu li.level0 > a {
        padding: 0 17px !important;
    }
}
@media (max-width:1236px)and (min-width: 768px) {
    .ves-megamenu li.level0 > a {
        padding: 0 15px !important;
    }
}
@media (max-width:1205px)and (min-width: 768px) {
    .ves-megamenu li.level0 > a {
        padding: 0 13px !important;
    }
}
@media (max-width:1172px)and (min-width: 768px) {
    .ves-megamenu li.level0 > a {
        padding: 0 11px !important;
    }
}
@media (max-width:1140px)and (min-width: 768px) {
    .ves-megamenu li.level0 > a {
        font-size:1.5rem;
    }
}
@media (max-width:1085px)and (min-width: 768px) {
    .ves-megamenu li.level0 > a {
        padding: 0 7px !important;
    }
}
@media (max-width:1020px)and (min-width: 768px) {
    .ves-megamenu li.level0 > a {
        padding: 0 5px !important;
    }
}
@media (max-width:986px)and (min-width: 768px) {
    .ves-megamenu li.level0 > a {
        padding: 0 3px !important;
    }
}
@media (max-width:956px)and (min-width: 768px) {
    .ves-megamenu li.level0 > a {
        font-weight: 600;
        font-size:1.4rem;
    }
}
@media (max-width:887px)and (min-width: 768px) {
    .ves-megamenu li.level0 > a {
        font-weight: 600;
        font-size:1.2rem;
    }
}
@media ( max-width: 940px)and (min-width: 768px) {
    #ui-id-9 {
        /*display: none;*/
    }
}
@media (max-width:841px)and (min-width: 768px) {
    .ves-megamenu li.level0 > a {
        font-size:1.2rem;
        font-weight: 600;
    }
    #ui-id-8 {
        /*display: none;*/
    }
}
@media (min-width: 768px) {
    .breadcrumbs-container {
        height: 190px !important;
    }
}
#push-up {
    margin:auto;
}
@media (max-width: 767px)  {
    #ui-id-8, #ui-id-9 {
        display: block;
    }
}

.ves-megamenu .dropdown-menu .subgroup.level1 > a {
    /*padding-left: 0px !important;*/
}

/*   End of Matt's CSS   */

/* Mark NAV changes */

.dropdown-submenu {
    margin-top: 0px !important;
    margin-bottom: 0px !important;
}
.navigation .level0 .submenu a {
    /*padding: 4px 20px !important;*/
    font-size: 1.2rem;
}
.mega-col .nav-item.level2 a {
    padding: 2px 0 4px 0 !important;
}

.navigation .level0 .submenu a {
    padding: 8px 20px 0px 15px !important;
}
.ves-megamenu .dropdown-menu .subgroup.level1 > .submenu > .content-wrap > .megamenu-content {
    margin: 4px 0 !important;
}
@media (min-width: 768px) {
    .ves-megamenu.menu-hover .subhover:hover .dropdown-menu {
        padding: 0 20px !important;
    }
    .ves-megamenu .dropdown-menu .subgroup.level1 > a {
        padding-left: 0px !important;
    }
}

@media (max-width: 768px) {
    .brand-links {
        color:#50b9cb !important;
    }
}
li.item.link.compare {
    margin-top: 10px;

}
li.item.link.compare a,li.item.link.compare a:hover {
    text-decoration: none !important;
}
@media (max-width: 900px) {
    .product-image-container {
        /*display: none;*/
    }
}
#product-comparison {
    border: 1px solid #dee2e6;
}
.minicart-items .item-qty {
    width: 55px;
}

/* End Mark NAV changes */
@media (max-width: 768px) {
    div.block.block-dashboard-info div.block-title {
        margin-top: 50px;
    }
}


.nav.item {
    width: 100%;
}

#nc_account_page_heading, #login_account_page_heading{
    font-size: 24px;
    display: table;
}
#nc_account_page_heading, #login_account_page_heading {
    margin: 0;
    padding-top: 5px;
    border-bottom: 2px solid #f4771d;
    content: "";
    display: block;
}

@media (max-width: 768px) {
    .ct-field img {
        margin: 0;
    }
    #homeIndustries .industryList li .ct-field-field {
        font-size: 14px;
    }

    .navigation .level0 .submenu a {
        padding: 4px 20px !important;
    }
}

@media (min-width: 768px) {
    #brandList div li a {
        padding: 0px 6%;
    }
    .opc-block-shipping-information {
        /*padding: 10px 30px;*/
    }
}
.videoWrapper {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 25px;
    height: 0;
    margin: 25px 0;
}
.videoWrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
#maincontent .other-title {
    font-size: 24px;
    display: table;
}

#maincontent .other-title:after {
    margin: 0;
    padding-top: 5px;
    border-bottom: 2px solid #f4771d;
    content: "";
    display: block;
}

@media only screen and (max-width: 639px) {
    .products-list .product-item-photo {
        display: none;
    }
}
.input-text.qty {
    width:55px !important;
}
@media (max-width: 1100px) {
    .minicart-items .product-item-details {
        padding-left: 0;
    }

}
.social-links {
    margin-top: 20px ;
}
#block-new-customer-heading,#block-customer-login-heading {
    margin-bottom: 1.5rem;
}
.block-customer-login .block-content,.block-new-customer .block-content {
    margin-top: 1rem;
}

.hp-category-name {
    overflow: hidden;
    height: 90px;
    padding: 0px 3px;
}

.documents-list li {
    clear: both;
    float: left;
}

[class*="documents-wrapper"]{
    display: flow-root;
}

#product-comparison tr:nth-child(even) {
    background-color: #0000002b;
}
#product-comparison th.cell.label.remove {
    border-bottom: unset;
}
#product-comparison button.action.tocart.primary {
    width: 58%;
}

#product-comparison button.action.quote-btn-list.tocart {
    padding: 12px 0px;
}
#mini-cart .price-container {
    display: inline-block;
}
#shopping-cart-table th.col.qty {
    text-align: center;
}
#shopping-cart-table .field.qty {
    text-align: center;
}
@media (max-width:768px) {
    .breadcrumbs ul > li {
        display: none !important;
    }
    .breadcrumbs ul > li:nth-last-of-type(-n+2) {
        display: inline-block !important;
    }
    .product-item .old-price {
        margin: 0px 0px !important;
    }
}
.quote-related {
    background: #5ac5d7 !important;
}
.catalog-product-view .aw-rl__list-wrapper .items {
    position:relative !important;
}

.blog-post-view h1[data-content-type="heading"][data-element="main"],
.blog-post-view h2[data-content-type="heading"][data-element="main"],
.blog-post-view h3[data-content-type="heading"][data-element="main"],
.blog-post-view h4[data-content-type="heading"][data-element="main"],
.blog-post-view h5[data-content-type="heading"][data-element="main"],
.blog-post-view h6[data-content-type="heading"][data-element="main"] {
    font-weight: 700 !important;
}
.contentmanager-content-view h1[data-content-type="heading"][data-element="main"],
.contentmanager-content-view h2[data-content-type="heading"][data-element="main"],
.contentmanager-content-view h3[data-content-type="heading"][data-element="main"],
.contentmanager-content-view h4[data-content-type="heading"][data-element="main"],
.contentmanager-content-view h5[data-content-type="heading"][data-element="main"],
.contentmanager-content-view h6[data-content-type="heading"][data-element="main"] {
    font-weight: 700 !important;
}
