.link {
    color: black !important;
    cursor: pointer;
}
.link:hover {
    color: #555 !important;
}

.metals-header {
    background-color: #FE0000;
    display: flex;
    position: static;
    justify-content: space-between;
    box-shadow: 0 -2px 8px 3px black;
    flex-direction: column;
}
.metals-header.fixed-padding {
    margin-bottom: 0px;
}

/* RESPONSIVE HEADER */
#mobile-header-phone {
    display: block;
    font-weight: bold;
    color: white;
    font-size: 2.5rem;
    width: 100%;
}
.medium-call-us {
    display: block;
    color: yellow;
    width: 100%;
    font-style: italic;
}
.metals-responsive-header {
    display: flex;
    position: static;
    justify-content: space-between;
    padding: 0;
    flex: 1;
    background-color: #111;
    width: 100%;
}
.metals-responsive-header.fixed {
    position: fixed;
    top: 0;
    z-index: 10005;
    box-shadow: 0 -2px 8px 3px black;
}
.metals-mobile-search-container.fixed {
    position: fixed !important;
    top: 62px;
    z-index: 10005;
}
.mobile-logo-header {
    position: relative;
    text-align: center;
    min-height: 105px;
    padding: -5px;
}
.metals-mobile-nav {
    display: flex;
    justify-content: space-evenly;
    width: 100%;
}
.metals-mobile-nav i {
    font-size: 3rem;
    color: white;
    background-color: transparent;
    vertical-align: -0.5rem;
}
.metals-mobile-nav button,
.metals-mobile-nav a {
    width: 20%;
    margin: 0;
    height: 100%;
    padding: 16px;
    background-color: transparent;
    border: none;
    color: white;
    text-align: center;
}
.metals-mobile-nav button:focus,
.metals-mobile-nav a:focus {
    background-color: #222;
}
.metals-mobile-search-container {
    width: 100%;
    padding: 16px;
    display: flex;
    background-color: #222;
}
.metals-header-search-input {
    width: 100%;
    border: none;
    font-size: 14px;
    padding: 2px 10px;
}
.metals-mobile-search-btn {
    background-color: white;
    border-radius: 0;
}
.mobile-logo-link {
    background-color: red;
    display: inline-block;
    text-align: center;
    padding-top: 16px;
}

.search-enter-active,
.search-leave-active {
    transition: max-height 0.3s ease-in-out, padding 0.3s ease-in-out;
}

.search-enter-to,
.search-leave-from {
    overflow: hidden;
    max-height: 66px;
    padding: 16px;
}

.search-enter-from,
.search-leave-to {
    overflow: hidden;
    max-height: 0;
    padding: 0 16px;
}





/* DESKTOP HEADER */
.metals-desktop-header {
    display: flex;
    padding: 16px;
    flex: 1;
    min-height: 105px;
}
.metals-desktop-header-nav {
    display: flex;
    flex: 1;
    background-color: #111;
    z-index: 10000;
}
.metals-desktop-nav-dropdown.more {
    display: none;
}
.metals-desktop-nav-dropdown-menu.more {
    columns: 1;
    right: auto;
    left: auto;
    margin-left: -225px;
    margin-right: auto;
    width: 400px;
}
.metals-desktop-nav-dropdown-menu.small {
    columns: 1;
    right: auto;
    left: auto;
    margin-left: -225px;
    margin-right: auto;
    width: 400px;
}
.metals-desktop-header-left {
    display: flex;
    flex: 1;
    min-width: 503px;
}
#md-logo-top {
    max-width: 100%;
}
.metals-desktop-header-middle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    max-width: 400px;
    min-width: 270px;
    flex: 1;
    padding: 0 10px;
    z-index: 10002;
}
@media only screen and (min-width: 1200px) and (max-width: 1500px) {
    #md-logo-top { width: 503px !important; height: 67px !important; }
    .metals-desktop-header-middle {
        flex: 0;
        flex-shrink: 1;
    }
    .metals-desktop-header-left {
        flex-grow: 1;
    }
    .metals-desktop-nav-dropdown.more {
        display: list-item;
    }
    .metals-desktop-nav-dropdown.extra {
        display: none;
    }
    .metals-desktop-header-call-us {
        font-size: 18px !important;
        padding-top: 5px !important;
    }
}
.metals-header-drop-zone {
    flex: 1;
    text-align: center;
    width: 100%;
    font-weight: bold;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.metals-header-drop-zone-link {
    color: white !important;
}
.metals-desktop-header-right {
    display: flex;
    flex: 1;
    flex-direction: column;
}
.metals-desktop-logo-link {
    flex: 1;
}

.metals-desktop-header-top-right {
    display: flex;
    flex: 2;
    justify-content: space-evenly;
}
.metals-desktop-header-quick-quote-btn {
    background-color: #ffff4a;
    border-radius: 5px;
    border: 1px solid #fdd001;
    color: black !important;
    font-size: 15px;
    font-weight: bold;
    max-height: 34px;
    padding: 5px 30px;
    max-width: 150px;
}
.metals-desktop-header-quick-quote-btn:hover {
    background-color: #ffea3a;
}
.metals-desktop-header-call-us {
    font-size: 22px;
    color: white;
    font-weight: bold;
}

.metals-desktop-header-bottom-right {
    display: flex;
    flex: 1;
    justify-content: space-around;
}

.metals-desktop-header-track-orders-btn {
    font-weight: bold;
    padding: 0 5px;
    color: white;
}
.metals-desktop-header-track-orders-truck {
    transform: scaleX(-1);
}

.metals-desktop-header-my-account-dropdown-btn,
.metals-desktop-header-minicart-btn {
    background-color: transparent;
    border: none;
    color: white;
    font-weight: bold;
}


.metals-desktop-header-minicart-qty {
    color: black;
    border-radius: 25%;
    background-color: #ffff4a;
    font-weight: normal;
    padding: 3px;
}

.minicart-cart-icon,
.metals-desktop-header-my-account-text {
    margin-left: 5px;
    margin-right: 5px;
}

.metals-desktop-header-cart {
    padding-top: 3px;
    padding-left: 5px;
    padding-right: 5px;
    font-weight: bold;
}

.metals-desktop-header-my-account-dropdown-btn,
.metals-desktop-header-track-orders-btn,
.metals-desktop-header-cart {
    height: 34px;
    line-height: 34px;
    color: white !important;
}

.metals-desktop-header-my-account-dropdown-btn.active,
.metals-desktop-header-track-orders-btn:hover,
.metals-desktop-header-minicart-btn:hover,
.metals-desktop-header-cart:hover {
    background-color: black;
    border-radius: 5px;
    cursor: pointer;
    color: white !important;
}





/* DESKTOP NAV */
#metals-desktop-nav {
    flex: 1;
    width: 100%;
    display: flex;
    background-color: #111;
}

#metals-desktop-nav.fixed {
    position: fixed;
    top: 0;
    z-index: 10005;
}

.metals-desktop-navbar {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex: 1;
    width: 100%;
}

.metals-desktop-nav-dropdown {
    flex: 1;
    text-align: center;
    max-width: 175px;
    padding: 8px 0;
    font-size: 18px;
    cursor: pointer;
    border-right: 1px solid #444;
}

.metals-desktop-header-home-button {
    font-size: 2rem;
    width: 58px;
    flex: none;
}

.metals-desktop-nav-dropdown:first-of-type {
    border-left: 1px solid #444;
}
.metals-desktop-nav-dropdown a {
    color: white;
    font-size: 18px;
    position: relative;
    top: 2px;
}
.metals-desktop-nav-dropdown:hover a {
    color: white;
}
.metals-desktop-nav-dropdown:hover {
    background-color: #555;
}

.metals-desktop-nav-dropdown-menu {
    display: none;
    position: absolute;
    background-color: white;
    box-shadow: 0 6px 12px rgb(0 0 0 / 18%);
    margin-top: 10px;
    max-width: 100%;
    width: 1499px;
    min-height: 102px;
    left: auto;
    margin-left: -10px;
    columns: 3;
    column-gap: 0;
    z-index: 99999;
}
.metals-desktop-nav-dropdown-menu-item {
    text-align: left;
}
.metals-desktop-nav-dropdown-menu-item a {
    font-size: 16px;
    color: black !important;
    width: 100%;
    height: 100%;
    display: inline-block;
    padding: 5px 24px;
    line-height: 30px;
    font-weight: 400;
    border-top: 1px solid #eaeaea;
}
.metals-desktop-nav-dropdown-menu-item:hover,
.metals-desktop-nav-dropdown-menu-item:hover > a {
    /*font-weight: bold;*/
    color: #FE0000 !important;
    background-color: #F7F7F7;
}


.metals-desktop-nav-dropdown-menu.active {
    display: block;
}

.metals-desktop-nav-dropdown-menu-item:hover .navThumbnailContainer {
    height: 100px;
    width: 100px;
    display: inline-block;
    opacity: 1;
    left: -110px;
}

.nav-item-img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}








.metals-desktop-header-my-account-dropdown {
    position: relative;
}
.my-account-dropdown-container {
    position: absolute;
    top: 90%;
    right: 0;
    z-index: 100000;
    float: left;
    display: block;
    min-width: 160px;
    padding: 5px 0;
    margin: 2px 0 0;
    font-size: 14px;
    text-align: left;
    list-style: none;
    background-color: #fff;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: 4px;
    -webkit-box-shadow: 0 6px 12px rgb(0 0 0 / 18%);
    box-shadow: 0 6px 12px rgb(0 0 0 / 18%);
}
.my-account-link {
    color: black !important;
    display: inline-block;
    padding: 5px 10px;
    width: 100%;
}
.my-account-link:hover {
    color: white !important;
    font-weight: bold;
    background-color: #FE0000;
}
.my-account-dropdown-item {
    height: 30px;
}
.my-account-dropdown-container .divider {
    height: 1px;
    margin: 9px 0;
    overflow: hidden;
    background-color: #e5e5e5;
}

/* LOGIN MODAL */


/* PASSWORD RESET */
#passwordResetContainer {
    margin: 10px;
}




#main-site-content {
    display: flex;
    width: 100%;
    margin-top: 0px;
}
/* If screen size is smaller than 991px add 100px of padding top to main-site-content until page is loaded*/
@media screen and (max-width: 991px) {
    .header-fallback {
        background-color: red;
        height: 20vh;
      }
}
@media screen and (min-width: 992px) {
    .header-fallback {
        background-color: red;
        height: 15vh;
      }
}

.page_editor_content .container-fluid .container {
    width: 100% !important;
}
.page_editor_content {
    margin-left: auto; margin-right: auto; 
}

.photogallery_bxslider_ulArray .autoSlider img {
    width: 100% !important;
    height: auto !important;
}

@media screen and (max-width: 767px) {
    .bx-prev {
		display: none;
	}
	
	.bx-next {
		display: none;
	}
}

.header-social {
    text-align: center;
}

.offcanvas_footer {
    background-color: white !important;
}
.offcanvas_footer a {
    color: #FE0000 !important;
}
.metals-sidebar-dropdown-menu {
    display: none;
    background-color: #f8f8f8;
}
.metals-sidebar-dropdown-menu.active {
    display: block;
}
.show_search {
    border-radius: 0 !important;
    display: flex;
    padding: 0 !important;
    align-items: center;
    padding-left: 1px !important;
}
.show_search input {
    width: 100% !important;
    height: 100% !important;
}
.show_search #search-box-input-btn {
    color: gray !important;
    padding: 5px 10px !important;
}
.suggestive_search {
    top: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    left: 0 !important;
    border-radius: 0 !important;
}
.ui-menu-item {
    border-radius: 0 !important;
}

@media only screen and (max-width: 1199px) {
    .show_search {
        margin:0 !important;
        padding:0 !important;
        height: 34px !important;
        width: 100% !important;
    }
    .sa-search-box .col-xs-2 {
        margin-left: -15px !important;
        display: block !important;
    }
    .sa-search-box {
        z-index: 99996;
    }
    .sa-search-box form {
        display: flex;
        justify-content: center;
        width: 100%;
    }
    .metals-header-search, .sa-search-box {
        display: flex !important;
        flex: 2;
    }
    .metals-header-search-input, #search-box-input, .search-box-input-header {
        height: 34px;
    }
    .minisearch-header-btn, #minisearch-btn {
        margin-left: 16px;
        background: transparent;
        border: 0;
        font-size: 22px;
        padding: 0 16px;
        outline: none;
        height: 100%;
    }
    #minisearch-btn:focus, .minisearch-btn-header:focus {
        background-color: #111;
    }
    .suggestive_search {
    }
}







/* DESKTOP SIDEBAR */

#metals-desktop-sidebar {
    transition: .5s;
    z-index: 999999999;
    margin-top: 15px;
}
.desktop-sidebar-wrapper {
    width: 310px;
    position: relative;
    background: #fff;
    z-index: 9999;
    height: 100vh;
    transition: .5s;
    padding: 0 15px;
}
.metals-desktop-sidebar-button {
    position: absolute;
    margin-top: 70px;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    cursor: pointer; 
    font-family: Roboto, Arial, sans-serif;
    white-space: normal;
    z-index: 0;
    display: block;
    transition: .5s;
}

.metals-sidebar-inner-button {
    height: 25px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 30px 60px -12px inset, rgba(0, 0, 0, 0.3) 0px 18px 36px -18px inset;
}

.desktop-sidebar-menu {
    display: block;
    
}
.metals-desktop-sidebar-button {
    margin-left: 280px;
}
.metals-desktop-sidebar-button.open {
    margin-left: 290px;
}

.sidebar-expand {
    /* height: 30px;
    width: 30px;
    background-color: #FE0000;
    color: #fff;
    line-height: 30px;
    text-align: center;
    cursor: pointer;
    border-radius: 4px;
    box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.6);
    font-size: 20px; */
    border: 1px solid rgb(213, 213, 213);
    border-left: 0px;
    z-index: 9999;
    transition: .5s;
    text-align: center;
    vertical-align: middle;
    white-space: normal;
    font: inherit;
    list-style: none;
    margin: 0px;
    outline: 0px;
    overflow: visible;
    padding: 0px;
    color: inherit;
    width: 23px;
    height: 48px;
    cursor: pointer;
    border-radius: 0px 8px 8px 0px;
    background: 7px center / 7px 10px no-repeat rgb(255 255 255);
    
}


.metals-desktop-minicart-button {
    position: absolute;
    margin-top: 50px;
    right: 10px;
    background-color: #111;
    color: white;
    font-size: 20px;
    font-weight: bold;
    border-radius: 50%;
    text-align: center;
    height: 35px;
    width: 35px;
    box-shadow: 1px 1px 6px #00000073;
}
.minicart-count {
    background-color: #FE0000 !important;
    color: white !important;
    position: absolute !important;
    top: -8px !important;
    right: auto !important;
    left: 18px !important;
    padding: 3px 6px !important;
}

.sidebar-glyphicon {
    font-size: 12px;
    margin-top: 15px;
}

#mobile-hamburger-btn {
    padding: 0px 16px;
}

#mobile-hamburger-icon {
    float:left;
    padding-left: 50%;
}

#mobile-hamburger-menu-text {
    float:left;
    clear: both;
    padding-left: 48%;
    font-size: 10px;
}

/* Nav Dropdown Width Reductions */
.nav-index-0 {
    margin-left: 0px;
}
.nav-index-1 {
    margin-left: -175px;
}
.nav-index-2 {
    margin-left: -350px;
}
.nav-index-3 {
    margin-left: -525px;
}
.nav-index-4 {
    margin-left: -700px;
}
.nav-index-5 {
    margin-left: -875px;
}
.nav-index-6 {
    margin-left: -1050px;
}
.nav-index-7 {
    margin-left: -1157px;
}
.nav-index-8 {
    margin-left: -1316px;
}

#metals-desktop-sidebar {
     width: 300px;
     display: inline-block;
 }

@media (max-width: 1500px) {
    .metals-desktop-nav-dropdown-menu {
        width: 1224px;
    }
    .desktop-sidebar-wrapper {
        width: 270px;
    }
    .shop-by-shape-sidebar-link {
        font-size: 16px !important;
    }
    .metals-desktop-sidebar-button {
        margin-left: 240px !important;
    }
    .metals-desktop-sidebar-button.open {
        margin-left: 288px !important;
    }
    .quick-shop-material-dropdown-list {
        width: 196px;
    }
    #metals-desktop-sidebar {
        width: 260px;
    }
}
@media (max-width: 1240px) {
    .metals-desktop-nav-dropdown-menu {
        margin-left: 0;
        left: 0;
    }
}

/* id: 1, name: 'Hot Roll Steel' */
/* id: 3, name: 'Aluminum' */
/* id: 5, name: 'Stainless Steel' */
/* id: 2, name: 'Brass & Copper' */
/* id: 6, name: 'Cold Finish Steel' */ 
/* id: 8, name: 'Alloy Steel' */
/* id: 4, name: 'Tool Steel' */ 
/* id: 95, name: 'Galvanized Steel' */ 
/* id: 87, name: 'Specialty Metals' */
/* id: 105, name: 'Gear' */
.menuitem-more {
    max-width: 136px;
}
#menuitem-1 {
    max-width: 162px;
}
#menuitem-3 {
    max-width: 135px;
}
#menuitem-2 {
    max-width: 185px;
}
#menuitem-6 {
    max-width: 190px;
}
#menuitem-8 {
    max-width: 147px;
}
#menuitem-4 {
    max-width: 135px;
}
#menuitem-95 {
    max-width: 195px;
}
#menuitem-87 {
    max-width: 185px;
}