

/*html, body {*/
/*    max-width: 100vw;*/
/*    overflow-x: hidden;*/
/*}*/

/* QUICK SHOP */
.quick-shop-container {
    border: 1px solid #d3d3d3;
    margin-bottom: 50px;
}
.quick-shop-header, .shop-by-shape-header {
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    background-color: #eee;
    border-bottom: 1px solid #d3d3d3;
    padding: 5px 10px;
}
.quick-shop-body {
    padding: 10px;
}
.quick-shop-body select {
    margin-bottom: 10px;
}
.quick-shop-shape-container {
    display: flex;
}
.quick-shop-shape {
    flex: 1;
    width: 100%;
}
.quick-shop-submit-container {
    text-align: center;
}
.quick-shop-submit-btn {
    flex: 1;
    max-width: 50px;
    font-weight: bold;
    margin-left: 5px;
    height: 100%;
}



/* SHOP BY SHAPE */
.shop-by-shape-container {
    margin-top: 10px;
    border: 1px solid #d3d3d3;
    position: relative;
    top: -20px;
}
.shop-by-shape-list {
    list-style: none;
}
.shop-by-shape-item {
    border-bottom: 1px solid #d3d3d3;
}
.shop-by-shape-item-link {
    display: flex !important;
    padding: 10px !important;
    position: relative;
    font-size: 18px !important;
    font-weight: bold !important;
    margin-bottom: 0 !important;
    border-bottom: none !important;
    cursor: pointer;
}
.shop-by-shape-item-link:hover {
    background-color: #FE0000 !important;
    color: white !important;
}
.shop-by-shape-item-name {
    flex-grow: 1;
}
.shop-by-shape-image {
    max-height: 19px;
    max-width: 26px;
    display: flex;
    align-self: center;
    margin-bottom: 2px;
    margin-right: 4px;
}
.shop-by-shape-dropdown {
    display: block;
    left: 278px;
    position: absolute;
    box-shadow: none;
    border-radius: 0;
    background: white;
    width: 300px;
    border: 1px solid #d3d3d3;
    font-size: 16px;
    top: 0;
    z-index: 10000;
}
.shop-by-shape-dropdown-item {

}
.shop-by-shape-dropdown-item a {
    padding: 5px !important;
    white-space: nowrap;
    border-bottom: none !important;
    border-top: 1px solid #ededed;
    margin: 0 !important;
    font-size: 14px !important;
}
.shop-by-shape-dropdown-item:hover a {
    color: red !important;
}

@media screen and (min-width: 992px) {
    .sidebar-fallback {
        background-color: white;
        width: 310px;
        position: relative;
        background: #fff;
        height: 100vh;
        padding: 0 15px;
      }
}

/* metals-select */
.metals-select {

}
.metals-select ::-webkit-scrollbar { background-color: transparent; width: 10px; }
.metals-select ::-webkit-scrollbar-thumb { background-color: #ccc; border-radius: 10px; box-shadow: 0 1px 2px #0000001f; }
.metals-select-activator {
    overflow-x: hidden;
    width: 100%;
    border-radius: 4px;
    background-color: transparent;
    display: block;
    color: #444;
    font-size: 14px;
    border: 1px solid #ccc;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    line-height: 1.4;
    padding: 6px 12px;
    height: 34px;
}
.metals-select-activator-text {
    max-width: 95%;
    text-overflow: ellipsis;
    overflow-x: hidden;
}
.metals-select-dropdown {
    padding-left: 0;
    background: white;
    line-height: 1.25;
    white-space: nowrap;
    top: auto;
    left: 15px;
    cursor: pointer;
    max-height: 300px;
    list-style: none;
    box-shadow: 0 1px 4px #0000004f;
    overflow-x: hidden;
}
.metals-select-dropdown.searchable {
    top: 35px !important;
}
.metals-select-dropdown-search-container {
    padding-left: 0;
    background: white;
    line-height: 1.25;
    white-space: nowrap;
    margin-bottom: 0;
    left: 15px;
    cursor: pointer;
    max-height: 41px;
    list-style: none;
    box-shadow: 0 1px 4px #0000004f;
    overflow-y: hidden;
    overflow-x: hidden;
}
.metals-select-dropdown-item {
    color: #1f1f1f;
    font-size: 16px;
    font-weight: bold;
    padding: 10px;
    border-bottom: 1px solid lightgray;
}
.metals-select-dropdown-item:focus,
.metals-select-dropdown-item:hover,
.metals-select-dropdown-item.metals-focused,
.metals-select-dropdown-item.metals-selected{
    background-color: red;
    color: white;
    outline: none;
}
.metals-select-dropdown-search:focus {
    outline: 2px auto #FF000080;
}
.metals-select-dropdown-search {
    width: 100%;
    border: none;
    border-bottom: 1px solid lightgray;
    font-family: Arial, FontAwesome, sans-serif;
    font-display: swap; 
    padding: 10px;
}

.metals-dropdown-options {
    position: absolute;
    z-index: 9999;
    background-color: white;
    box-shadow: 0 1px 4px #0000004f;
}
.metals-dropdown-option {
    padding: 5px;
    cursor: pointer;
}
.metals-dropdown-option.active,
.metals-dropdown-option.selected {
    background-color: red;
    color: white;
    font-weight: bold;
}
.quick-shop-material-dropdown-list {
    width: 236px;
}
.quick-shop-shape-dropdown-list {
    width: 236px;
}
.quick-shop-shape-container {
    margin-top: 10px;
}
.quick-shop-shape-select {
    width: 100%;
}
.quick-shop-go-btn {
    font-weight: bold;
    width: 100%;
    margin-top: 10px;
}


.desktop-sidebar-backdrop {
    display: block;
    height: 0;
    opacity: 0;
    transition: opacity 0.2s linear;
}

.desktop-sidebar-backdrop.active {
    opacity: 1;
    width: 100vw;
    height: 100vh;
    position: fixed;
    z-index: 99998;
    background-color: #00000080;
    top: 0;
    left: 0;
}
