.category-details-container iframe { max-width: 100%; height: 175px; }



@media only screen and (max-width: 1920px) {
    .qty-input-col {
        text-align: center;
    }

    .custom-qty-input {
        margin-right: 5px;
    }

    .widthCol {
        text-align: right;
    }
}

@media only screen and (max-width: 767px) {

    .destinationCol { text-align: center; padding-bottom: 15px; }

    .fcb-country-tag { bottom: 0; }
    html { overflow-x: hidden; }
    body { overflow-x: hidden; }

    #submenu-desktop { display: none; }

    .main-container { padding: 10px; }
    .padding-top-bottom-35 { padding-top: 0; padding-bottom: 35px }

    .block-title-2 { text-transform: none !important; }

    #something-special-container {
        background-color: #E5E5E5;
        padding-top: 5px;
        padding-bottom: 5px;
    }
    #something-special-container p { font-size: 12px;}

    .category-page > .col-xs-6:nth-of-type(odd) { clear:left; }

    /*
     * Make sure the social media icons are centered on xs widths
     * by resetting the its style to normal values
     */
    .footer-copyright-section .social-media-container {
        display: block;
        position: relative;
        right: 0;
        padding-top: 5px;
    }

    .category_list_nav .category_list_nav_column {
        border: none;
    }

    .products-table .qty-input {
        width: 55px;
    }

    .products-table .product-row {
        flex-wrap: wrap;
    }

    .products-table .add-to-cart-btn { font-size: 14px; font-weight: bold; }

    .product-table-product-name { font-size: 16px; display: inline-block; max-width: 100%; overflow: hidden; text-align: center; }

    .category-details-container { width: 100%; }

    .footer-payment-methods .text-right {
        text-align: center;
    }

    .footer .footer-grey-bar {
        font-size: 15px;
        padding-left: 20px;
    }

    .footer .newsletter-input-section input { width: 100%; margin-bottom: 10px;}
    .footer-payment-methods .cc-img { height: 30px !important; }
    .footer-content-section { font-size: 14px; }
    .footer h4 { font-size: 18px;}

    #cat-first-img {
        margin-top: 20px;
        max-width: 100%;
    }

    .header .navbar-metals .navbar-nav > li > a { font-size: 22px; }
    .header .navbar-metals .fa { font-size: 22px; line-height: 26px; }
    .header .navbar-metals .fa.fa-home { font-size: 26px; }
    .mobile-phone { font-size: 16px; }

    #navbar .multi-column-dropdown li a, #navbar .metals-dropdown li a {
        background-color: white;
        color: black !important;
        border-bottom: 1px solid #AAA;
        font-size: 18px;
        height: 50px;
        padding-top: 12px;
        font-weight: bold;
    }

    .header #headerPart2 {
        padding-top: 0;
        padding-bottom: 0;
    }


    .header #headerPart2 { padding-top: 0; padding-bottom: 0; }

    .header .sa-search-box #search-box-input, .search-box-input-header { height: 100%; width: 100%; }
    .sa-search-box .show_search { height: 30px; padding-top: 0; padding-left: 0; padding-right: 0; padding-bottom: 0;}
    .mobile_search_container { padding-top: 10px; padding-left: 10px;}
    .navbar-mobile-search { display: none; }
    .content { min-height: auto !important; }

    .qty-input-col {
        text-align: left;
    }

    .custom-qty-input {
        margin: 0 5px 5px 5px;
    }

    .custom-cut-disclaimer {
        font-size: 10px;
    }

    .modal-dialog #notifications-container a {
        margin-left: 0 !important;
    }

    .modal-dialog #notifications-container input {
        width: 60px;
    }

    #mobile-tab-accordion hr { margin-top: 5px; margin-bottom: 0; background-color: #cacaca;}

    a[data-parent="#mobile-tab-accordion"] > .panel-heading {
        background-color: red;
        color: white;
    }

    .widthCol {
        text-align: left;
        margin-bottom: 10px;
    }

    #checkoutForm { overflow: hidden; }
    #search-box-input-btn { display: none; }
    #categoryBox { margin: 0 !important; }
    #categoryBox #mobile-tab-accordion .panel { border: none; box-shadow: 0px 2px 2px 2px lightgrey; }

    .category-details-container { margin: 0 !important; }
    .category-name > h1 { font-size: 48px; text-shadow: 0px 1px 2px grey; color: #303030; text-align: center; border-bottom: 1px solid lightgrey; padding-bottom: 10px; margin-bottom: 20px; }
    .category-details-header{ font-size: 7vw; text-shadow: 0px 1px 2px grey; color: #303030; text-align: center; padding-bottom: 10px; margin-bottom: 20px; }
    .shapes-grid-header { font-size: 7vw; text-shadow: 0px 1px 2px grey; color: #303030; text-align: center; border-bottom: 1px solid lightgrey; padding-bottom: 10px; margin-bottom: 20px; }
    .category-img #cat-first-img { margin: auto; box-shadow: 0 1px 3px 3px lightgrey; }
    .category-img #cat-img-gal > a > img { border: 1px solid lightgrey; }
    .category-details-container .panel-heading { border-radius: 4px; }

    .products-table { box-shadow: 0 3px 4px 3px lightgray; }
    .products-table .tooltipster-btn { display: inline-block; padding-bottom: 0; }
    .products-table .row { margin: 0 !important; }
    .products-table .product-row { padding: 20px 10px; border-bottom: 1px solid #80808080; }
    .products-table .mobile-product-detail-row { border-bottom: 1px solid lightgrey; padding-bottom:5px; margin-bottom: 10px !important;}
    .products-table .qty-input { width: 100%; font-size: 20px; }
    .products-table .length-select { font-size: 20px; }
    .products-table .length-col { padding-right: 5px !important; }
    .products-table .select-a-size { font-size: 20px !important; line-height: 100% !important; margin-left: 0 !important; }
    .products-table #product-weight { text-align: right !important; padding-right: 10px !important; margin-bottom: 5px !important; }
    .products-table .add-to-cart-col { margin-top: 10px; }
    .products-table .add-to-cart-col .add-to-cart-btn { float: right; margin-right: 10px; margin-top: 5px; padding: 5px; width: 42%;}
    .products-table .add-to-cart-col .tooltipster-btn { float: right; margin-right: 10px; margin-top: 5px; }
    .products-table .product-row .select-a-size { padding: 0 0 0 20px; line-height: 100%; }
    .products-table .product-row .length-select { margin-top: 10px; margin-bottom: 10px; }
    .products-table { border-radius: 4px; }
    .products-table .products-table-header { border-radius: 4px 4px 0 0; }
    .products-table ul { width: 200%; line-height: 200%; margin-top: -10px !important; }
    .metals-custom-dropdown-ul { width: 100%; line-height: 200%; margin-top: -10px !important; position: relative;}

    .products-table li { font-size: 22px; }
    .products-table .length-select-btn, .metals-custom-dropdown-btn { font-size: 14px !important; padding: 2px 10px 2px 2px !important; }

    /* Fixes broken footer section on mobile homepage */
    .footer-logo-section > div {
        float: none;
    }


    .add-to-cart-notification-row .btn { margin-right: 10px; }
    .card-hover-popout .add-to-cart-notification-row { margin-top: 45px; }
    .add-to-cart-popout { position: relative !important; margin-right: 0 !important; }


    nav.navbar {
        border:0;
    }
    .navbar-metals > .container > #navbar {
        position: relative;
        background: black;
        color:white
    }

    .navbar-metals > .container > #navbar > ul.nav {
        margin:0 -15px;
        max-height:calc(100vh - 52px);
        overflow-y:scroll;
        height: auto;
    }

    .header .nav > .dropdown:nth-of-type(n) > a, .header .nav > li > a {
        background: linear-gradient(to bottom, rgb(114, 73, 69) 0%, rgb(28, 33, 37) 20%, rgb(0, 0, 0) 98%, rgb(7, 8, 10) 100%);
        z-index: 1500;
        border-left: 1px solid #545E5F;
        outline: 1px solid #000;
        height: 50px;
        line-height: 30px;
    }

    .shapes_grid_holder { margin-left: -15px; margin-right: -15px; padding-bottom: 20px; display: grid; grid-template-columns: repeat(2, 1fr); grid-gap: 0 10px; }
    .shapes_grid_item { display: inline-block; width: 100%; border-radius: 5px; padding: 5px 20px; margin-top: 10px; background: white; border: 1px solid #ccc; font-size: 18px; font-weight: bold; height: 150px; box-shadow: 0 2px 2px 1px #000000b0; }
    .shapes_grid_item .img-holder { display: block; height: 70px; margin-left: 5px; margin-right: 5px; }
    .shapes_grid_item .img-holder .middle-helper { display: inline-block;  height: 100px;  vertical-align: middle; }
    .shapes_grid_item .img-holder img { max-width: 100%; max-height: 100%; }
    .shapes_grid_item:active, .shapes_grid_item:hover, .shapes_grid_item:focus { color: white; background-color: #FE0000; border-color: #888; transform: scale(1.05); box-shadow: 0px 2px 6px 1px #00000080; transition: transform 0.2s; }
    .shape-box { text-align: center; margin-bottom: 10px; }


    .mobile-products-table-header { margin-top: 5px; margin-bottom: 5px; display: inline-block;}

    .mobile_menu_btn { width: 100%; background: transparent; }
    .mobile_menu_btn:focus, .mobile_menu_btn:active, .mobile_menu_btn.active { background:#777777 !important; border-color: #535353 !important;}
    .mobile-menu-icons > div { padding: 0; min-height: 50px; }
    .mobile-menu-icons .col-xs-3 { width: 20%; }
    .metals-nav { height: auto; }
    #navbar .navbar-nav > .metals-dropdown > .dropdown-menu a:hover, #navbar .navbar-nav > .metals-dropdown > .dropdown-menu a:focus, #navbar .navbar-nav > .metals-dropdown > .dropdown-menu a.active { background: #FFFDA8; color: #000 !important; }

    .logo { margin-top: 10px;}

    .tableModal .modal-body { overflow: auto; min-height: 250px; max-height: 700px; }
    .tableModal .modal-header { height: 40px; }

    .cart-item-responsive { border-bottom: 1px solid #CCC; padding: 0 !important; }
    .cart-item-responsive-upper { padding: 10px !important; }
    .cart-product-total { padding: 10px; background-color: #E1E1E1; }
    .mobile-cart-btns .btn { width: 100%; margin-top: 10px; color: #FFF; }
    .mobile-cart-btns .removeFromCart { margin-left: 0; }

    .comment-input { width: 100%; margin-bottom: 5px;}
    #shipping_postal_code { width: 100%; }
    #shipping-calc-table .shipping-calc-row, #shipping-calc-table .shipping-calc-header, #shipping-calc-table .shipping-calc-expand-collapse, #shipping-calc-table .shipping-calc-cut-footer { font-size: 16px; }
    .shipping-calc-option-price { font-weight: bold; }
    #shipping-calc-table .upsContainer .carrierImage { top: 5px; }
    #shipping-calc-table .fedexContainer .carrierImage { top: 20px; }
    .custom-cut-description { font-size: 16px; }
    .custom-cut-description a { font-size: 16px; }
    .custom-cut-inputs-container .row { border-bottom: 1px solid #CCC; padding-bottom: 10px }

    .checkout-review-container .box-footer { display: block; }

    .cartTable { display: block; }
    .cartTable .delete { display: none; }
    .cartTable .CartDescription { padding: 0 10px 0 10px; font-weight: bold;}
    .cartTable .CartDescription p { margin-bottom: 0;}
    .cartTable .price { font-weight: bold; font-size: 20px; margin-right: 10px; width: 35%; }
    .cartTable .qty { display: none; }
    .cartTable .size { display: inline-block; text-align: left; margin-left: 10px; width: 55%; }
    .cartTable .cartTableHeader { display: none; }
    .cartTable .CartProductThumb { display: none; }
    .cartTable .CartProductThumb + td { width: 100%; }
    .cartTable tbody { display: block; }
    .cartTable tr { display: inline-block; width: 100%; }
    .cartTable tr td { display: inline-block; width: 45%; padding: 0 !important; }

    .cartTable .checkout-review-header-num { width: 5%; }
    .cartTable .checkout-review-header-product { width: 15%; }
    .cartTable .checkout-review-header-details { width: 15%; }
    .cartTable .checkout-review-header-size { width: 10%; }
    .cartTable .checkout-review-header-price { width: 10%; }
    .cartTable .checkout-review-header-qty { width: 7%; }
    .cartTable .checkout-review-header-total { width: 15%; text-align: right; padding-right: 15px; }

    .cart-container .go-back { width: 100%; }
    .cart-container .cart-checkout-btn, .cart-container .cart-request-quote-btn { width: 100%; }
    .cart-container .zoid-outlet { width: 100% !important; }
    .cart-container .checkout-btn-top-row { width: 100%; padding-top: 15px; }

    .cart-subtotal-row, .cart-shipping-totals-row, .cart-promo-code-row, .total-row { width: 100%;}
    .cart-pricing { border-top: 2px solid #e1e1e1; }

    .cart-product-unit-price { font-size: 16px; }
    .cart-product-total { font-size: 20px; }

    .mobile-cart-product-price-wrapper {
        display: flex;
        justify-content: center;
    }

    .mobile-cart-product-price-alignment {
        display: inline-block;
        text-align: right;
    }

    .checkout-confirmation > div { padding: 0 15px;  }
    .checkout-confirmation > div[class*="col-"] > div[class*="col-"] { padding-left: 0; padding-right: 0; }

    .processorRadioContainer { display: block; clear: left; margin-top: 10px; font-size: 16px; }
    .processorRadioContainer > img { max-width: 55px;  }

    .tooltiptext { width: 280px; top: 30px; bottom: auto; left: -110px; max-height: 270px; overflow: auto;}

    .linear-input-group.row { padding-bottom: 10px; border-bottom: 1px solid #CCC; }
    .linear-input-group input, .linear-input-group select { width: 60px;}
    .sqft-input-group input, .sqft-input-group select { min-width: 75px;}
    #custom-cut-modal-content select { width: 80px !important; }

    .line-item-description { padding: 0 14px; }

    .xs-text-left { text-align: left !important; }
    .xs-text-center { text-align: center !important; }
    .xs-text-right { text-align: right !important; }

    .account-tabs .nav-tabs li:nth-of-type(odd) { clear: left; }
    .account-tabs .nav-tabs li:nth-of-type(even) { clear: right; }
    .nav-tabs > li { width: 50%; }
    .nav-tabs li a { width: 100%; }

    .order_history_table { display: block; border: 0; }
    .order_history_table thead { display: none; }
    .order_history_table tr { display: block; }
    .order_history_table.table > tbody > tr > td { display: inline-block; width: 32%; border-top: 0; border-bottom: 0; }
    .order_history_table.table > tbody > tr > td.order-number { width: 100%; }
    .order_history_table.table > tbody > tr > td.actions { width: 100%; }
    .order_history_table.table > tbody > tr > td.order-details { width: 100%; }
    .order_history_table .table > tbody > tr > td { border-top: 0; }
    .order_history_table .table.member-order-history-lineitems > tbody > tr { border-top: 1px solid #CCC; }

    .member-order-history-lineitems { display: block; border: 0; }
    .member-order-history-lineitems thead { display: none; }
    .member-order-history-lineitems tr { display: block; }
    .member-order-history-lineitems.table > tbody > tr > td { display: inline-block; width: 32%; border: 0; }
    .member-order-history-lineitems.table > tbody > tr > td.cart-product-name { width: 100%; }
    .member-order-history-lineitems.table > tbody > tr > td.cart-product-name a { font-weight: bold; }

    .quick-order_row .products-table { display: block; border: 0;}
    .quick-order_row .products-table tr:nth-of-type(odd) { background: #EEE; }
    .quick-order_row .products-table tr { display: block; border-top: 1px solid #CCC; border-bottom: 1px solid #CCC; border-collapse: collapse; }
    .quick-order_row .products-table thead { display: none; }
    .quick-order_row .products-table td { display: inline-block; width: 49%; border: 0;}
    .quick-order_row .products-table td.qty { display: none; }
    .quick-order-header { margin: 5px -15px 5px -15px; }

    .ui-widget-overlay { background: #000 !important; }
    .ui-dialog { max-width: 100%; }

    .profile-users .user .actions .btn { padding: 10px; font-weight: bold; }
    .xs-100 { width: 100% !important; }
    .xs-yellow { background: #FFFDA8; }
    .xs-font-12 { font-size: 12px !important; }
    .xs-font-14 { font-size: 14px !important; }
    .xs-font-18 { font-size: 18px !important; }
    .order_history_table .order-number { width: 100%; font-weight: bold; }

    .order_tracking_table { display: block; }
    .order_tracking_table tr { display: block; border-top: 1px solid #CCC; }
    .order_tracking_table tr td { display: inline-block; width: 100%; border-top: 0 !important; }

    .ui-draggable .ui-dialog-titlebar { background: #FE0000; color: #FFF; }
    .ui-widget-content .ui-dialog-buttonset .ui-state-default:first-of-type { background: #000 !important; color:#FFF;}

    .processorView label span { display: none; }

    .delivery-comments { min-height: 0; }

    .custom-cut-modal .add-to-cart-notification-row { font-size: 14px; padding: 5px;}

    .shape-page .category-search-result-box-inner { border: 1px solid #E0E0E0; border-radius: 3px; padding: 5px; box-shadow: 0 2px 2px 1px #00000040; }
    .shape-page .category-search-result-box-inner:hover, .shape-page .category-search-result-box-inner:active
        { color: white; background-color: #999; border-color: #888; transform: scale(1.05); box-shadow: 0px 2px 6px 1px #00000080; transition: all 0.2s; }

    .quoteThanks .btn[type="reset"] { display: none; }
    .xs-text-center { text-align: center !important; }

    .cart-bottom-buttons, .cart-top-buttons { text-align: center; }
    .cart-top-buttons .cart-checkout-btn { margin: 10px 0; }
    .cart-totals { padding: 0 10px; }
    .shipping-calc-header { display: inline-block; width: 100%; }
    .clear-cart-btn, .go-back, .cart-checkout-btn { width: 100%; max-width: 300px !important; margin: 10px 0; height: 40px !important; padding: 10px; font-size: 16px; }
    #paypal-button { margin: 10px auto; }
    .footer-left { margin-bottom: 50px; }
    .metals-table-heading { margin: 0 5px; }
    .cart-item-list { margin: 0 5px; }
}

/* Landscape mobile */
@media only screen and (max-width: 567px) {
    #headerPart2 .logo { width: 80%; display: inline-block; }
    #headerPart2 .logo.themes-metals-assets-images-logo-split-bottom-png, #headerPart2 .logo[src*="bottom"] { display: none; }
    .cartFooter .box-footer .mobile-back-btn { display: none; }
    .cartFooter .box-footer .spacer { display: none; }
    .box-footer .btn { width: 100%; }

    #saved_carts_table { display: block; }
    #saved_carts_table tr { display: block; }
    #saved_carts_table tr td { display: inline-block; width: 45%; border-bottom: 0; border-top: 0; }
    #saved_carts_table thead { display: none; }
    #saved_carts_table .actions { width: 100%; }
    .ui-autocomplete { display: none !important;}
    #back { display: none !important; }

    .product .action-control .viewDetailsBtn { width: 100%; position: relative; margin-bottom: 5px; padding: 10px; }
    .product .action-control .addToCartButton { width: 100%; position: relative; margin-bottom: 5px; padding: 10px; }
    .product-table-grid-container .item { width: 100%; margin: 10px 0px; }
    .product-table-grid-container .product { overflow-y: auto; }

}
@media only screen and (min-width: 568px) and (max-width: 767px) {
    #headerPart2 .logo { width: 40%; display: inline-block; }
    .box-footer .back-btn { width: 50%; }
    .cartFooter .box-footer .mobile-back-btn { flex-grow: 0 !important; }
    .cartFooter .box-footer .continue-btn { flex-grow: 0 !important; }
    .ui-autocomplete { display: none !important;}
    .product .action-control .viewDetailsBtn { width: 100%; position: relative; margin-bottom: 5px; padding: 10px; }
    .product .action-control .addToCartButton { width: 100%; position: relative; margin-bottom: 5px; padding: 10px; }
    .product-table-grid-container .item { min-height: 600px; width: 50%; margin: 10px 0px; }
    .product-table-grid-container .product { overflow-y: auto; }
}

/* Tablet */
@media only screen and (min-width: 768px) and (max-width: 1199px) {
    /*.header .navbar-metals .fa { font-size: 1.7vw; }*/
    /*.header .navbar-metals .nav > li { font-size: 1.3vw; }*/

    .us-ca-checkout-here-btn { font-size: 16px !important; margin-top: 10px; }
    .checkout-review-container .userInfo .address-info { font-size: 18px !important; }
    .userInfo .address-info { font-size: 18px !important; }
    .order-confirm-info { font-size: 18px !important; }

    .cart-product-unit-price { padding-bottom: 10px; }
    .category-details-container { margin: 0 !important; }
    .category-name > h1 { font-size: 48px; text-shadow: 0px 1px 2px grey; color: #303030; text-align: center; border-bottom: 1px solid lightgrey; padding-bottom: 10px; margin-bottom: 20px; }
    .category-details-header { font-size: 7vw; text-shadow: 0px 1px 2px grey; color: #303030; text-align: center; padding-bottom: 10px; margin-bottom: 20px; }
    .shapes-grid-header { font-size: 7vw; text-shadow: 0px 1px 2px grey; color: #303030; text-align: center; border-bottom: 1px solid lightgrey; padding-bottom: 10px; margin-bottom: 20px; }

    .shapes_grid_holder { padding-bottom: 20px; display: grid; grid-template-columns: repeat(4, 1fr); grid-gap: 0 10px;}
    .shapes_grid_item { display: inline-block; width: 100%; border-radius: 5px; padding: 5px 20px; margin-top: 10px; background: white; border: 1px solid #ccc; font-size: 18px; font-weight: bold; height: 150px; float: left; box-shadow: 0 2px 2px 1px #000000b0;}
    .shapes_grid_item > a { color: #FFF; }
    .shapes_grid_item .img-holder { display: block; height: 70px; margin-left: 5px; margin-right: 5px; }
    .shapes_grid_item .img-holder .middle-helper { display: inline-block;  height: 100px;  vertical-align: middle; }
    .shapes_grid_item .img-holder img { max-width: 100%; max-height: 100%; }
    .shapes_grid_item:active, .shapes_grid_item:hover, .shapes_grid_item:focus { color: white; background-color: #FE0000; border-color: #888; transform: scale(1.05); box-shadow: 0px 2px 6px 1px #00000080; transition: all 0.2s; }
    .shape-box { text-align: center; margin-bottom: 10px; }

    .products-table .row { margin: 0 !important; }
    .products-table { border-radius: 4px; margin: 0 !important; }
    .products-table .products-table-header { border-radius: 4px 4px 0 0; }
    .products-table { box-shadow: 0 3px 4px 3px lightgray; }

    .sm-margin-top-10 { margin-top: 10px;}
    .sm-margin-top-20 { margin-top: 20px;}

    #something-special-container { border-right: 0 !important;}

    iframe { max-width: 100%; height: 325px; }
    #cat-img-gal { margin-top: 40px; margin-bottom: 20px; }

    #navbar { width: 40%; overflow-y: auto !important; float: right; }
    /*#navbar.collapsing {  position: absolute; right: 0; margin-top: 50px; }*/
    .metals-nav { height: auto; position: absolute; overflow-y: auto; overflow-x: hidden; z-index: 100; }
    .metals-nav .dropdown-menu { position: static; }
    #navbar .dropdown-menu { width: 100%; }
    .metals-nav > li { width: 100%;}
    .metals-nav > li > a { background: linear-gradient(to bottom, rgb(114, 73, 69) 0%, rgb(28, 33, 37) 20%, rgb(0, 0, 0) 98%, rgb(7, 8, 10) 100%);
        z-index: 1500;
        border-left: 1px solid #545E5F;
        outline: 1px solid #000; }
    #navbar .multi-column-dropdown, #navbar .dropdown:not(#submenu-desktop), #navbar .metals-dropdown:not(#submenu-desktop) { display: block; position: relative; width: 100%; }

    .header .navbar-metals { background: transparent; border: #000; }
    /*.header .navbar-metals:not(.navFixed) { position: absolute; }*/
    .navbar-collapse.collapse:not(.in) { display: none !important; }
    .mobile-menu-icons > div { width: 10%; background: #000; }
    .mobile-menu-icons > div.navbar-tablet-search { width: 50%; }
    .mobile-menu-icons > div { padding: 0; min-height: 50px; }
    .mobile-menu-icons > div .btn { width: 100%; }
    .sa-search-box .show_search { height: 35px; }
    #search-box-input-btn { display: none; }
    .navbar-tablet-search .sa-search-box .btn { display: none !important; }
    .sa-search-box .show_search { width: 100%; margin-top: 7px;}
    .header .sa-search-box #search-box-input, .search-box-input-header { height: 100%; font-size: 16px; }
    .navbar-collapse { padding: 0; }

    #custom-cut-modal-content input, #custom-cut-modal-content select { min-width: 70px; }
    .sm-padding-0 { padding: 0 !important; }

    .header .navbar-metals .navbar-nav > li > a { font-size: 22px; }
    .header .navbar-metals .fa { font-size: 22px; line-height: 26px; }
    .header .navbar-metals .fa.fa-home { font-size: 26px; }
    .mobile-phone { font-size: 22px; }
    #navbar .multi-column-dropdown li a, #navbar .metals-dropdown li a { font-size: 18px; font-weight: bold; border-bottom: 1px solid #AAA; height: 50px; line-height: 2.4;}
    #navbar .dropdown:not(.open) li a, #navbar .dropdown:not(.open) ul { display: none; }
    #navbar .metals-dropdown:not(.open) li a, #navbar .metals-dropdown:not(.open) ul { display: none; }

    .header .navbar-metals .navbar-nav > li > a { padding-top: 20px; padding-bottom: 13px; }

    .mdBarCreditCards { margin-right:-40px; }

    div#navbar.navbar-collapse.collapse.in { height: 10000px !important; }
    .shape-page .category-search-result-box-inner { border: 1px solid #E0E0E0; border-radius: 3px; padding: 5px; height: 200px; width: calc(33.3333333333% - 10px); margin: 5px;}
    .shape-page .category-search-result-box-inner:hover, .shape-page .category-search-result-box-inner:active
    { color: white; background-color: #999; border-color: #888; transform: scale(1.05); box-shadow: 0px 2px 6px 1px #00000080; transition: all 0.2s; }

    .add-to-cart-notification-row .btn { font-size: 20px; padding: 5px; margin-top: 5px; margin-bottom: 5px; }
    .add-to-cart-notification-row { height: 70px; }

    .card-hover-popout .add-to-cart-notification-row .btn { font-size: 14px; }
    .card-hover-popout .add-to-cart-notification-row { height: auto; padding: 8px; }

    .price-col { font-size: 19px !important; }
    .widthCol { text-align: left; }

    .bx-wrapper { height: 375px;}
    .photogallery_bx_slider .bx-wrapper img { height: 250px; }

    #cart-functions .btn, .cart-footer .btn  { font-size: 18px; }
    .shipping-tooltip { font-size: 16px; }
    .shipping-tooltip h5 { font-size: 18px; }
    .ui-autocomplete { display: none !important; }

    .footer-left { margin-bottom: 50px; }

}

/** SM size **/
@media only screen and (min-width: 768px) and (max-width: 991px) {
    .mobile-logo-link { display: none; }
    #submenu-desktop { display: none; }
    .navbar-mobile-search { display: inline-block; }
    .product-row input:not(.drop-qty-input), .product-row select { font-size: 22px; }
    #custom-cut-modal input, #custom-cut-modal select { font-size: 20px; }
    #custom-cut-modal .sqft-input-group input, #custom-cut-modal .sqft-input-group select { font-size: 22px; }
    .sqft-input-group { font-size: 22px; }
    #custom-cut-modal .modal-footer .btn { font-size: 20px; }
    .mobile-products-table-header { font-size: 22px; }
    .line-item-description { padding-left: 15px; }
    .cart-product-price { text-align: left; margin-top: 5px; }
    .cart-item-list { font-size: 22px; }
    .custom-cut-description { font-size: 22px !important; }
    .custom-cut-description a { font-size: 16px; }
    .mobile-cart-btns .btn { height: 42px; color: #FFF; }
    .mobile-cart-btns .btn .fa-pencil { font-size: 20px; margin-top: 3px; }
    .cart-item-list .length-select, .cart-qty-input { height: 42px; margin-top: 5px; font-size: 22px !important; }
    .cart-product-unit-price {
        font-size: 18px;
        line-height: 1.2;
        margin-top: 5px;
    }
    .cart-product-total { font-size: 20px; }
    .cart-item-responsive { border-bottom: 1px solid #CCC; padding-bottom: 5px;}
    .row-price { font-size: 22px !important; }
    .sqft-input-group .row-price { position: relative;  top: -38px; font-size: 24px !important; }
    .sm-text-center { text-align: center !important; }
    .sm-text-left { text-align: left !important; }
    .sm-text-right { text-align: right !important; }
    .x-custom-cut.visible-xs-inline-block.visible-sm-inline-block { width: 105px !important; }
    .qty-input-col { font-size: 16px; }
    .custom-cut-inputs-container .linear-input-group, .custom-cut-inputs-container .sqft-input-group { border-bottom: 1px solid #CCC; padding-bottom: 10px }
    .widthCol + .lengthCol { margin-top: 15px; }
    .sm-clear-left { clear: left; }
    /*.sa-search-box div:not(.show_search) { display: none; }*/
    .comment-input-row .btn { margin-top: 5px; }
    .sm-padding-0 { padding: 0 !important; }
    #shipping-calc-table .shipping-calc-row, #shipping-calc-table .shipping-calc-header, #shipping-calc-table .shipping-calc-expand-collapse, #shipping-calc-table .shipping-calc-cut-footer { font-size: 16px; }
    .shipping-calc-option-price { font-weight: bold; }
    .cart-totals { font-size: 20px; }
    .cart-totals .total, .cart-totals .total-label { font-size: 24px; border-top: 1px solid #CCC; }
    .processorRadioContainer { display: block; clear: left; margin-top: 20px; font-size: 24px; }
    .checkout-container .shipping-calc-container { width: 50%; }
    .readonly-address { font-size: 18px; margin-bottom: 10px; }
    .rightSidebar .btn-success { margin-bottom: 10px; }
    .social-media-container { width: 200px; right: 0; text-align: right;}
    .bx-wrapper { height: 250px; margin-bottom: 30px !important;}
    .photogallery_bx_slider .bx-wrapper img { height: 250px; }
    .clearance-table.products-table .product-row { height: auto; }
    #back { display: none !important; }
    .products-table .product-row { height: auto; }
    #navbar { position: absolute !important; right: 0; top: 50px;}

    .product .action-control .viewDetailsBtn { width: 100%; position: relative; margin-bottom: 5px; }
    .product .action-control .addToCartButton { width: 100%; position: relative;}
    .product-table-grid-container .item { margin: 10px 0px; }
    .product-table-grid-container .product { overflow-y: auto; }

    .card-hover-popout .add-to-cart-notification-row .btn { font-size: 14px; }
    .card-hover-popout .add-to-cart-notification-row { height: auto; padding: 8px; margin-top: 40px;  }
    .fcb-country-tag { bottom: 0; }
}

/** MD size **/
@media only screen and (min-width: 992px) and (max-width: 1199px) {
    .mobile-logo-link { display: none; }
    .mobile-logo-header {
        display: flex;
        flex-direction: row;

    }
    #metals-desktop-sidebar {
        margin-left: -300px;
    }
    #metals-desktop-sidebar.active {
        /* margin-left: 0; */
    }
    #submenu-desktop { display: none; }
    .navbar-mobile-search { display: none; }
    .hidden-md-only { display: none !important; }
    .hidden-lg-only { display: inline-block !important; }
    .products-table .row { font-size: 14px; }
    .md-padding-0 { padding: 0 !important; }
    .length-col { padding: 5px 0 7px 10px; }
    .product-row input, .product-row select { font-size: 19px; }
    #custom-cut-modal input, #custom-cut-modal select { font-size: 20px; }
    #custom-cut-modal .sqft-input-group input, #custom-cut-modal .sqft-input-group select { font-size: 16px; }
    #custom-cut-modal .modal-footer .btn { font-size: 20px; }
    .widthCol { text-align: right; padding: 0; }
    .processorRadioContainer { font-size: 24px; margin-bottom: 20px; }
    .md-clear-left { clear: left; float: left; }
    .products-table-header .product-weight-header {display: none;}
    #navbar { position: absolute !important; right: 0; top: 50px;}
}

/** Fix in-between MD and LG size for Eddy **/
@media only screen and (min-width: 993px) and (max-width: 1199px) {
    /* .footer-payment-methods .cc-img, .footer-payment-methods .cc-img + img { height: 25px; } */
    .footer .footer-links-section-body, .footer .footer-links-section-header { white-space: normal; }
}

@media (min-width: 1200px) {
    .mobile-logo-header { display: none; }
    #metals-desktop-sidebar {
        margin-left: -305px;
    }
    #metals-desktop-sidebar.active {
        margin-left: 0;
    }
    .shape-box { margin-top: 35px; }
    #submenu-mobile {
        display: none;
    }
    .hidden-md-only { display: inline-block !important; }
    .hidden-lg-only { display: none !important; }
    .lg-padding-0 { padding: 0 !important; }
    .quick-ship-btn { position: relative; }
    .quick-ship-btn-col { padding: 0 15px; }
    .quick-ship-msg { left: 15px; }
    #payment-info-paypal-img { width: 60% !important; }

    .fcb-form { min-width: 800px !important; margin-top: 20px !important; }
    .fcb-form-header-logo { background-image: url('/assets/files/Catalog_Photos/MetalsWebAppLogoLg.png'); width: 800px !important; background-position: center;}
    /* .metals-homepage-slideshow { height: 375px !important; } */

    .metals-responsive-header, .mobile-logo-header, .nav-header-wrapper { display: none; }
}

.nav-header-wrapper { height:48px; }

@media (max-width: 567px) {
    .nav-header-wrapper { height:30px; }
}

@media(max-width: 1199px) {
    #payment-info-paypal-img { max-width: 250px !important; }

    .metals-desktop-header, .metals-desktop-header-nav, .metals-desktop-header-left, .nav-desktop-header-wrapper { display: none; }
    .cart-break { display: none; }
}

@media (min-width: 992px) and (max-width: 1064px) {
    .bbb-logo, .trustwave-logo, .norton-logo{
        max-width: 24% !important;
    }
}

@media (min-width: 1200px) and (max-width: 1400px) {
    .metals-desktop-nav-dropdown {
        font-size: 15px !important;
    }
}

















.offcanvas_main_menu li a {
    font-size: 16px;
    font-weight: 400;
    text-transform: capitalize;
    display: block;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #ededed;
    color: #222;
    overflow-x: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.offcanvas_main_menu li a:hover {
    color: #ff0000;
}

.offcanvas_main_menu li ul.sub-menu {
    padding-left: 20px;
}


@media (max-width: 1199px) {

    #metals-desktop-sidebar {
        position: absolute;
        margin-left: -300px;
    }
    #metals-desktop-sidebar.mobile-active {
        margin-left: 0;
    }
    
    .offcanvas_menu {
        display: block;
        top: 0;
        left: 0;
        height: 100vh;
        overflow-y: auto;
        width: 290px;
    }

    .offcanvas_menu_wrapper {
        width: 290px;
        background: #fff;
        position: fixed;
        z-index: 999999;
        top: 0;
        transition: .5s;
        left: 0;
        margin-left: -300px;
        padding: 50px 15px 30px;
        overflow-x: hidden;
        white-space: nowrap;
        height: 100vh;
    }

    .offcanvas_menu_wrapper.active {
        margin-left: 0;
        margin-right: 290px;
    }

    .offcanvas_menu_wrapper .slinky-theme-default {
        background: inherit;
        min-height: 300px;
        overflow-y: auto;
    }

    .offcanvas_menu_wrapper .header-btn {
        margin-bottom: 30px;
    }

    .offcanvas_menu_wrapper .header-btn a {
        color: #222;
    }

    .offcanvas_menu_wrapper .header-btn a:hover {
        color: #222;
    }

    .offcanvas_main_menu li {
        position: relative;
    }

    .offcanvas_main_menu li:last-child {
        margin: 0;
    }

    .offcanvas_main_menu li span.menu-expand {
        position: absolute;
        right: 0;
    }

    .offcanvas_footer {
        margin-top: 50px;
        padding-bottom: 50px;
        text-align: center;
    }

    .offcanvas_footer span a {
        font-size: 22px;
        color: #fff;
        -webkit-transition: all 0.3s ease-out 0s;
        -moz-transition: all 0.3s ease-out 0s;
        -ms-transition: all 0.3s ease-out 0s;
        -o-transition: all 0.3s ease-out 0s;
        transition: all 0.3s ease-out 0s;
        display: block;
    }
    .offcanvas_footer {
        font-size: 22px;
        font-weight: 600;
        color: #111;
        background: red;
        padding: 15px 0;
    }
    .offcanvas_footer span a:hover {
        color: #ff0000;
    }

    .canvas_close {
        position: absolute;
        top: 10px;
        right: 13px;
    }

    .canvas_close a {
        font-size: 18px;
        text-transform: uppercase;
        font-weight: 500;
        width: 32px;
        height: 32px;
        display: block;
        text-align: center;
        line-height: 26px;
        border: 1px solid #ededed;
        border-radius: 50%;
        color: #222;
        -webkit-transition: all 0.3s ease-out 0s;
        -moz-transition: all 0.3s ease-out 0s;
        -ms-transition: all 0.3s ease-out 0s;
        -o-transition: all 0.3s ease-out 0s;
        transition: all 0.3s ease-out 0s;
    }

    .canvas_close a:hover {
        background: #ff0000;
        border-color: #ff0000;
        color: #fff;
    }

    .canvas_open a {
        font-size: 26px;
        width: 50px;
        height: 42px;
        display: block;
        line-height: 39px;
        text-align: center;
        border: 1px solid #232323;
        color: #222;
        -webkit-transition: all 0.3s ease-out 0s;
        -moz-transition: all 0.3s ease-out 0s;
        -ms-transition: all 0.3s ease-out 0s;
        -o-transition: all 0.3s ease-out 0s;
        transition: all 0.3s ease-out 0s;
    }

    .canvas_open a:hover {
        color: #ff0000;
        border-color: #ff0000;
    }

    .header-social {
        margin-bottom: 40px;
    }

    .header-social ul li {
        display: inline-block;
    }

    .header-social ul li a {
        height: 40px;
        width: 40px;
        text-align: center;
        line-height: 38px;
        color: #ff0000;
        border: 1px solid #eaeaea;
        border-radius: 50%;
        margin: 0 5px;
        -webkit-transition: all 0.3s ease-out 0s;
        -moz-transition: all 0.3s ease-out 0s;
        -ms-transition: all 0.3s ease-out 0s;
        -o-transition: all 0.3s ease-out 0s;
        transition: all 0.3s ease-out 0s;
    }

    .header-social ul li a:hover {
        background: #ff0000;
        border-color: #ff0000;
        color: #fff;
    }


    .metals-sidebar-backdrop {
        display: block;
        height: 0;
        opacity: 0;
        transition: opacity 0.2s linear;
    }

    .metals-sidebar-backdrop.active {
        opacity: 1;
        width: 100vw;
        height: 100vh;
        position: fixed;
        z-index: 99998;
        background-color: #00000080;
        top: 0;
        left: 0;
    }

    .shop-by-shape-item-link {
        color: black;
    }



















    .sidebar__title {
        margin: 0;
        color: #192437;
        font-size: 18px;
        font-weight: 400;
        text-transform: uppercase;
        margin-bottom: 30px;
    }

    .sidebar__single:not(.sidebar__search) {
        padding: 45px 50px 43px;
        background-color: #f4f4f5;
        border-radius: 0px;
    }

    .sidebar__single+.sidebar__single {
        margin-top: 30px;
    }

    .sidebar__post__single+.sidebar__post__single {
        margin-top: 50px;
    }

    .sidebar__post__single {
        position: relative;
    }

    .sidebar__post__single::before {
        position: absolute;
        content: '';
        left: 0;
        bottom: -25px;
        width: 100%;
        height: 1px;
        background: #fff;
    }

    .sidebar__post__single.item::before {
        display: none;
    }

    .sidebar__post-image,
    .sidebar__post-content {
        display: table-cell;
        vertical-align: middle;
    }

    .sidebar__post-image {
        min-width: 66px;
    }

    .sidebar__post-image .inner-block {
        width: 100%;
    }

    .sidebar__post-image .inner-block>img {
        width: 100%;
        border-radius: 0%;
    }

    .sidebar__post-content {
        padding-left: 20px;
    }

    .sidebar__post-title {
        margin: 0;
        font-size: 16px;
        line-height: 28px;
        font-weight: 400;
        color: #838999;
    }

    .sidebar__post-title a {
        -webkit-transition: all .4s ease;
        transition: all .4s ease;
        line-height: 24px;
        color: #192437;
        line-height: 24px;
        padding-right: 10px;
    }


    .sidebar__post-content span {
        font-size: 12px;
        font-weight: 700;
        text-transform: uppercase;
        color: #ff0000;
        padding-bottom: 9px;
    }

    .sidebar__post-title a:hover {
        color: #192437;
    }

    .sidebar__category-list {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .sidebar__category-list-item {
        line-height: 1em;
    }

    .sidebar__category-list-item a {
        color: #7e8591;
        font-size: 16px;
        font-weight: 300;
        display: block;
        position: relative;
        -webkit-transition: all .4s ease;
        transition: all .4s ease;
    }

    .sidebar__category-list-item a:hover {
        color: #ff0000;
    }

    .sidebar__category-list-item+.sidebar__category-list-item {
        margin-top: 27px;
    }

    .sidebar__tags-list {
        margin: 0;
        padding: 0;
        list-style: none;
        margin-top: -10px;
    }

    .sidebar__tags-list-item {
        display: inline-block;
        vertical-align: middle;
        line-height: 1em;
    }

    .sidebar__tags-list-item a {
        display: block;
        color: #7e8591;
        font-size: 16px;
        font-weight: 300;
        line-height: 36px;
        -webkit-transition: all .4s ease;
        transition: all .4s ease;
    }

    .sidebar__tags-list-item a:hover {
        color: #ff0000;
    }

    .sidebar__search-form {
        width: 100%;
        height: 72px;
        position: relative;
        border-radius: px;
        background: #ff0000;
    }

    .sidebar__search-form input {
        width: 100%;
        height: 100%;
        border: none;
        outline: none;
        color: #fff;
        padding-left: 40px;
        padding-right: 40px;
        background-color: transparent;
    }

    .sidebar__search-form ::-webkit-input-placeholder {
        opacity: 1;
        color: #fff;
    }

    .sidebar__search-form :-ms-input-placeholder {
        opacity: 1;
        color: #fff;
    }

    .sidebar__search-form ::-ms-input-placeholder {
        opacity: 1;
        color: #fff;
    }

    .sidebar__search-form ::-moz-placeholder {
        opacity: 1;
        color: #fff;
    }

    .sidebar__search-form ::placeholder {
        opacity: 1;
        color: #fff;
    }

    .sidebar__search-form button[type=submit] {
        background-color: transparent;
        border: none;
        outline: none;
        position: absolute;
        top: 50%;
        right: 50px;
        -webkit-transform: translateY(-50%);
        transform: translateY(-50%);
        cursor: pointer;
        padding: 0;
        -webkit-transition: all .4s ease;
        transition: all .4s ease;
    }

    .sidebar__search-form button[type=submit] i {
        font-size: 16px;
        color: #fff;
        -webkit-transition: all .4s ease;
        transition: all .4s ease;
    }


    .sidebar-close-btn-container {
        position: absolute;
        top: 10px;
        right: 16px;
    }
    .sidebar-close-btn-container i {
        cursor: pointer;
    }
}


@media (max-width: 767px) {
    .medium-call-us { display: none; }
    .metals-medium-logo-link {
        display: none;
    }
    .sidebar__post-title a {
        padding-right: 0;
        font-size: 15px;
    }
}


@media only screen and (min-width: 568px) and (max-width: 767px) {
    .metals-medium-logo-link {
        display: block;
    }
    #md-logo-medium {
        width: 500px;
        height: 70px;
    }
    #md-logo-mobile {
        display: none;
    }
}


@media (max-width: 991px) {
    #mobile-header-phone { padding-top: -7px; }
    .medium-call-us { display: inline; margin-right: 10px; }
    .mobile-logo-header {
        display: flex;
        flex-direction: column;
    }
    .sidebar {
        margin-top: 50px;
    }
}

@media (max-width: 1199px) {
    .sidebar__single:not(.sidebar__search) {
        padding: 30px;
    }
}