/* ///////////////////////////////// */

#catalog_nav .facet_title_row {
    width: 100%;
}
/* price range slider */
#faceted_price_range {
    margin-bottom: 21px;
}

#faceted_price_range,
#srps_section {
    /* display: none; */
}

#faceted_nav_column {
    margin-right: 5.5%;
    width: 20.875%;
}
#catalog_column {
    width: 73.625%;
}

sup {
    font-size: 80%;
    /* vertical-align: top; */
    /* position: relative; */
    top: -1px;
    /* left: -2px; */
}

.slider-div {
    /* display: table; */
    width: 180px;
    height: 100%;
    margin-top: 15px;
    margin-left: auto;
    margin-right: auto;
}

.slider-container {
    /* display: table-cell; */
    vertical-align: middle;
    text-align: center;
}

.slider-wrapper {
    width: 180px;
    display: inline-block;
    position: relative;
    /* font-family: arial; */
}

.ui-slider {
    background: #CDD7D6;
    border: 1px solid #d2d2d2;
    height: 10px;
    position: relative;
    border-radius: 100px;
    margin-top: 20px;
}

.ui-slider-range {
    background: #6484A0;
    height: 10px;
    position: absolute ! important;
    border-top: 1px solid #5d99c8;
    border-bottom: 1px solid #5d99c8;
    transform: translateY(-1px);
}

.ui-slider-range:after {
    /* content: ''; */
    width: 100%;
    height: 1px;
    background: #fff;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.3;
}

.ui-slider-handle {
    background: #555;
    position: absolute;
    width: 24px;
    height: 24px;
    top: 50%;
    display: block;
    transform: translate(-50%, -50%);
    border-radius: 100px;
    background: linear-gradient(#555, #454545);
    cursor: move; /* fallback if grab cursor is unsupported */
    cursor: grab;
    cursor: -moz-grab;
    cursor: -webkit-grab;
    box-shadow: inset -2px -2px 6px 2px rgba(0, 0, 0, 0.1);
    transition: width 0.1s;
}

.ui-slider-handle:focus {
    outline: none;
}

.ui-slider-handle:active {
    cursor: grabbing;
    cursor: -moz-grabbing;
    cursor: -webkit-grabbing;
}

.ui-state-active {
    width: 22px;
}

.range-wrapper {
    top: -55px;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 16px;
    position: absolute ! important;
}

.range {
    white-space: nowrap;
    border: darkgrey;
    border-radius: 2px;
    font-size: small;
    letter-spacing: 0.02em;
    width: 150px;
    position: absolute ! important;
    top: -15px;
    left: -12px;
    height: 24px;
}

.range:after {
    /* content: ''; */
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-left: 67px solid transparent;
    border-right: 67px solid transparent;
    border-top: 6px solid #d2d2d2;
}

.range-value {
    border: 1px solid darkslategrey;
    background-color: #CDD7D6;
    width: 75px;
    text-align: center;
    display: inline-block;
    transition: background 0.1s;
}

.range-divider {
    width: 1px;
    display: inline-block;
}

.range-divider:after {
    position: absolute;
    top: 0;
    left: 50%;
    width: 1px;
    height: 100%;
    background: darkgrey;
    content: '';
}

.range-alert {
    width: 16px;
    height: 16px;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    background: #fff;
    border-top-right-radius: 2px;
    border-bottom-right-radius: 2px;
    border: 1px solid #d2d2d2;
    color: #0E0E0E;
    line-height: 15px;
    transition: right 0.2s;
    display: none;
}

.range-alert:active {
    right: -15px;
}

.marker {
    position: absolute ! important;
    top: 100%;
    padding-top: 5px;
    font-size: 13px;
    letter-spacing: 0.05em;
    transform: translateX(-50%);
}

.marker:after {
    content: '';
    width: 1px;
    height: 8px;
    background: #d2d2d2;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.marker-0 {
    transform: translateX(-25%);
}

.marker-0:after {
    display: none;
}

.marker-50 {
    width: 100%;
    left: 50%;
    padding-top: 0 ! important;
}

.marker-50:after {
    display: none;
}

.marker-100 {
    right: 0;
    transform: translateX(25%);
}

.marker-100:after {
    display: none;
}
.mobile-divider {
    display: none;
}

/* phone and tablets */
@media (max-width: 980px) {
    .facet_collapsible_content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.2s ease-out;
    }
    .catalog_data .item_name_wrapper .add-to-tasting-sheet {
        text-align: center;
    }
}

/* tablet only */
@media (min-width: 600px) and (max-width: 980px) {
    #upper-section {
        display: flex;
    }
    #faceted_price_range {
        /* margin: auto; */
        margin-bottom: 20px;
        margin-left: auto;
        margin-right: 10px;
    }
}

@media (min-width: 600px) {
    #catalog_section #catalog_price {
         height: 45px;
    }
}

@media (max-width: 599px) {
    #brand_search {
        width: max( 200px, 50%);
        margin: auto;
    }
    #faceted_search {
        margin: 0 0 10px 0;
    }
    #upper-section hr:last-of-type {
        margin: 1px 0 10px 0;
    }
    .mobile-divider {
        display: block;
    }
    #catalog_section #catalog_price {
         height: 69px;
     }
}

/* desktop */
@media (min-width: 981px) {
    #locales_section + div, #srps_section + div, #sustainability_section + div, #bev_cats_section + div, #formats_section + div {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.2s ease-out;
    }
    .catalog_data .item_name_wrapper .add-to-tasting-sheet {
        display: none !important;
    }
}

.pagination_links {
    margin: 0 0 0 10px;
}

table {
    border-collapse: collapse;
    width: 100%;
    font-family: sans-serif;
}

th, td {
    text-align: left;
    padding: 8px;
    /* width: calc((100% - 20%) / 2); */
}

#catalog,
#portfolio {
    border-collapse: separate;
    border: 0 white;
    font-size: small;
    line-height: initial;
}

#catalog .portfolio-story-short,
#portfolio .portfolio-story-short {
    margin-bottom: 0.25rem;
}

#catalog .portfolio-story-long,
#portfolio .portfolio-story-long {
    margin-bottom: 0.5rem;
}

#catalog_header {
    background-color: #6484a0;
}

#catalog_header th {
    color: white;
}

#catalog .item_row:nth-child(even) {
    background-color: #cdd7d6;
}

#catalog .item_row:nth-child(odd) {
    border: 1px solid #6484a0;
}

#portfolio .brand_row:nth-child(odd) {
    background-color: #cdd7d6;
}

#portfolio .brand_row:nth-child(even) {
    border: 1px solid #6484a0;
}

#catalog .item_row,
#portfolio .brand_row {
    width: 100%;
}

/* pagination */
.catalog_nav {
    margin-top: 6px;
}

.catalog_nav a {
    padding: 0 9px 3px;
    text-decoration: none;
    border-radius: 5px;
}

.cat_nav_shadow a {
    box-shadow: inset 0px 0.5px 0px rgba(255, 255, 255, 1), 1px 1px 3px rgba(0, 0, 0, .3);
}

#catalog {
    padding-top: 0 !important;
}

.de_bottom_pagination {
    display: flex !important;
    justify-content: space-between;
}

/* hide quantity field on in Daily Deal Order form on catalog and portfolio pages */
.dd_order_form_quantity {
    display: none;
}

#or_divider {
    margin-bottom: 0;
    text-align: center;
    position: relative;
}

#or_divider::after {
    content: '';
    height: 5px;
    display: block;
    position: absolute;
    background: #cdd7d6;
    width: 100%;
    left: 50%;
    transform: translateX(-50%);
    top: calc(50% - 2.5px);
    z-index: -2;
}

#or_divider p {
    position: relative;
    background-color: white;
    width: fit-content;
    display: inline-block;
    padding: 0 5px;
    z-index: -1;
}

#faceted_nav_column {
    z-index: 2 !important;
}
.catalog_data .item_name_wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: unset !important;
    font-weight: unset !important;
}

/* Search Boxes Tool Tip */
#portfolio_nav #faceted_nav,
#portfolio_nav #faceted_nav div,
#catalog_section .et_pb_column div {
    position: relative;
}

#portfolio_nav #faceted_search,
#catalog_search_widget {
    z-index: 999;
}

/* Product Search Box Tool Tip */
#brand_search {
    font-size: 16px;
}

#brand_search[data-tool-tip] {
    position: relative;
    white-space: normal;
}

#brand_search[data-tool-tip]::after {
    content: attr(data-tool-tip);
    font-family: 'Nunito', Helvetica, Arial, Lucida, sans-serif;
    display: block;
    position: absolute;
    width: 200px;
    font-size: small;
    line-height: normal;
    background-color: #0a0a0a;
    color: white;
    border-radius: 3px;
    padding: 0.5em 1em;
    top: 0;
    left: 0;
    transform: scale(0);
    transition: top ease-out 250ms,
    left ease-out 250ms,
    transform ease-out 250ms;
}

#brand_search[data-tool-tip]:hover::after {
    top: calc(100% + 0.5em);
    left: 0;
    transform: scale(1);
    z-index: 1;
}

#faceted_nav #inclusions_wrapper {
    display: block !important;
    margin-top: 0.5rem;
}

#inclusions_wrapper #inclusions_section,
#inclusions_wrapper .facet_title_row {
    display: none;
}
.et_pb_text_15 #inclusions_wrapper {
    margin-top: 1.5rem;
}
#inclusions_wrapper .facet_collapsible_content {
    max-height: unset;
    background-color: unset;
}

/* Featured Products */
#featured_products #brand_item_row {
    margin: auto;
}

#featured_products_module {
    display: none;
}

#featured_products #featured_title {
    color: #f87060;
}

#featured_products .woo_item_row {
    justify-content: space-evenly;
}

#featured_hr {
    margin-top: 40px;
}

@media (max-width: 1280px) {
    #featured_products .woo_item:last-of-type {
        display: none;
    }
}

/* Wishlists */
#contact_us {
    z-index: 1;
}
#de-add-to-wishlist-wrapper {
    display: none;
}
.yith-wcwl-icon {
    margin-right: 10px;
}
.add-to-wishlist {
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
    margin-top: 0.25rem;
}
.yith-wcwl-add-to-wishlist {
    margin-top: 0 !important;
    z-index: 8;
}
.yith-wcwl-add-to-wishlist .add-to-wishlist.variation {
    display: none;
}
.yith-wcwl-popup-footer .popup_button.button {
    content: '' !important;
    width: fit-content !important;
    display: inline-block !important;
    padding-right: 1rem !important;
    background-color: #6484a0;
    border-color: #0a0a0a !important;
    border: 2px solid;
    padding: 0.3em 1em;
    border-color: #0a0a0a;
    border-radius: 5px;
    text-align: center;
    color: #ffffff;
}
.yith-wcwl-popup-footer .popup_button:after {
    content: '' !important;
}
#de-pp-modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9;
    /*transform: scale(0.25);*/
    /*opacity: 0%;*/
    /*transition: all 0.5s ease-in-out;*/
}
#de-pp-modal .de-popup-variation-title {
    text-align: center;
    font-size: larger;
    font-weight: 700;
    color: #6484a0;
    margin-bottom: 1rem;
}
#de-pp-modal .pp_pic_holder.pp_woocommerce {
    position: fixed;
    display: block;
    top: 50%;
    left: 50% !important;
    width: 540px;
    transform: translate(-50%, -50%) scale(0.25);
    opacity: 0;
    transition: all 0.5s ease-in-out;
}
#de-pp-modal .pp_pic_holder.pp_woocommerce.show {
    transform: translate(-50%, -50%) scale(1);
    opacity: 100%;
}
#de-pp-modal .pp_pic_holder .pp_content {
    height: fit-content !important;
    min-height: 300px;
}
#de-pp-modal .pp_pic_holder .pp_content .vintage-select {
    text-align: center;
    margin-bottom: 1rem;
}
.catalog_data .select-variation-wrapper {
    display: none;
}
#de-pp-modal .pp_pic_holder .pp_content .vintage-select select {
    padding: 0.5rem 1rem;
    font-size: large;
}
#de-pp-modal .de-public-disclosure {
    font-size:small;
    text-align: center;
}
#de-pp-modal .de-public-disclosure-label {
    font-weight: 700;
}
div.yith-wcwl-add-to-wishlist .de-add-to-wishlist:hover {
    cursor: pointer;
}
.yith-wcwl-overlay {
    opacity: 0.8;
    height: 6000px;
    display: none;
    width: 10000px !important;
    z-index: 100000 !important;
    left: -1000px !important;
    position: absolute !important;
    top: -1000px !important;
}