#catalog .item_bottle_shot_dt,
#catalog .item_bottle_shot_p,
#portfolio .brand_logo_dt,
#portfolio .brand_logo_p,
#catalog .item_button_d, 
#catalog .item_button_t,
#portfolio .brand_button_d, 
#portfolio .brand_button_t {
    display: none;
}
#locales_section {
    display: none;
}
#catalog .item_button_d button,
#catalog .item_button_t button {
    cursor: pointer;
}
#portfolio_nav .faceted_nav_search {
    font-size: 14px;
}
#portfolio_nav .faceted_nav_search::placeholder {
    font-style: italic;
}
/* only small phone */ 
@media (max-width: 375px) {
    .option_count,
    .field_label {
        font-size: small!important;
    }
}
/* only large phone */
@media (min-width: 361px) and (max-width: 480px) {
    .option_count,
    .field_label {
        font-size: medium!important;
    }
}
/* special case */
@media (max-width: 600px) {
    #products_title {
        flex-direction: column;
        align-items: flex-end;
        gap: 1rem;
    }
    #brands_title .catalog_nav,
    #products_title .catalog_nav {
        float: right;
        margin-top: 0;
        font-size: small;
    }
}
/* up to large phone */
@media (max-width: 480px) {
    #brands_title {
        margin-bottom: 35px;
        display: block!important;
    }
    #brands_title .catalog_nav {
        float: right;
        margin-top: 0;
    }
    #portfolio img {
        width: 100px!important;
        max-width: 100px!important;
    }
    #catalog img {
        max-width: 52px!important;
        max-height: 120px!important;
    }
    #catalog .item_bottle_shot_p,
    #portfolio .brand_logo_p {
        display: block!important;
    }
    #catalog .item_row,
    #portfolio .brand_row {
        padding: 10px 0!important;
    }
    #portfolio_section {
        padding-bottom: 0!important;
    }
    #portfolio_nav #faceted_left_side {
        padding-right: 0;
        max-width: 100%!important;
    }
    #portfolio_nav #faceted_right_side {
        display: none;
    }
}
/* only tablets */
@media (min-width: 481px) and (max-width: 980px) {
    #catalog_nav #faceted_container {
        display: flex!important;
    }
    .option_count,
    .field_label {
        font-size: small!important;
    }
    #brands_title .catalog_nav {
        font-size: 16px!important;
    }
    #portfolio img {
        width: 150px!important;
        max-width: 150px!important;
    }
    #catalog .item_bottle_shot {
        min-width: 65px;
    }
    #catalog img {
        max-width: 65px!important;
        max-height: 160px!important;
    }
    #catalog .item_button_t,
    #portfolio .brand_button_t {
        display: block!important;
        position: relative;
        bottom: 3px;
    }
    #catalog_nav #faceted_left_side {
        padding-right: 5px;
        max-width: 50%;
    }
    #catalog_nav #faceted_right_side {
        padding-left: 5px;
        max-width: 50%!important;
    }
    #portfolio_nav #faceted_left_side {
        padding-right: 0;
        max-width: 50%!important;
    }
    #portfolio_nav #faceted_right_side {
        padding-left: 10px;
    }
    #faceted_search,
    #portfolio_section #or_divider {
        /* width: 50%; */
    }
}
/* tablets and bigger */
@media (min-width: 481px) {
    #catalog .item_bottle_shot_dt,
    #portfolio .brand_logo_dt {
        display: block!important;
    }
}
/* phone and tablets */
@media (max-width: 980px) {
    #catalog_nav #facet_filters_module,
    #catalog_nav #faceted_nav_column {
        margin-bottom: 10px;
    }
    
/*    #catalog #bev_cat_group #bev_categories_count,
    #catalog #bev_cat_group .bev_cat label {
        display: none!important;
    }
    #catalog #bev_cat_group {
        margin: 0;
    }
    #catalog #bev_cat_group fieldset {
        margin-bottom: 10px;
    }*/
    #portfolio_nav #faceted_container {
        display: flex!important;
    }
    #catalog_nav #filters_content .filter_detail,
    #catalog_nav #bev_cat_content .filter_detail,
    #catalog_nav #origins_content .filter_detail {
        display: none;
    }
    #portfolio_nav .faceted_section {
        margin: 0!important;
    }
}
/* ~iPad Pro */
@media (min-width: 981px) and (max-width: 1100px){
    #faceted_nav_column {
        width: 195px;
        margin-right: 20px;        
    }
    #catalog_nav #faceted_nav {
        width: 195px;
        max-width: 195px;
    }
    #catalog_column {
        width: 70%;
    }
}
/* smaller than desktop ??? */
@media (min-width: 981px) {
    #portfolio .brand_button_d,
    #catalog .item_button_d {
        display: flex !important;
        flex-direction: column;
        align-items: center;
    }
    #portfolio .brand_button_d,
    #catalog .item_button_d a {
        font-size: x-small;
        line-height: 2;
    }
    #portfolio .brand_button_d a,
    #catalog .item_button_d a:first-of-type {
        margin-top: 10px;
    }
}
/* desktop */
@media (min-width: 981px) {
    #catalog_nav #bev_cat_section,
    #catalog_nav #filters_section,
    #catalog_nav #origins_section {
        display: none;
    }
    #catalog_nav #bev_cat_content,
    #catalog_nav #filters_content,
    #catalog_nav #origins_content {
        overflow: visible;
    }
    #catalog_nav #origins_content {
        margin-bottom: 5px;
    }
    #catalog .item_bottle_shot {
        min-width: 80px;
    }
}
/* Facet Collapsable */
.facet_collapsible {
    color: white;
    background-color: #8ebde5;
    border-radius: 5px;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.25);
    padding: 5px 5px 5px 10px;
    margin-bottom: 15px;
}
.facet_collapsible:after {
    content: '\025BC'; /* Unicode character for "DOWN-POINTING TRIANGLE" */
    font-size: 16px;
    color: white;
    float: right;
}
#faceted_nav .active {
    margin-bottom: 5px;
}
#faceted_nav .disabled:after {
    color: darkgrey;
}
.facet_collapsible_content fieldset{
  width: 100%;
  margin-bottom: 5px;
}
#facet_filters_module {
    /* display:none; */
    margin-bottom: 1rem;
}
#catalog .item_bottle_shot_p img,
#portfolio .brand_logo_p img {
    float: left;
}
#catalog .item_button_t,
#portfolio .brand_button_t {
    float: right;
}

#faceted_container {
    display: block;
}
#faceted_left_side {
    flex-grow: 1;
    max-width: 100%;
}
#faceted_right_side {
    flex-grow: 1;
}

/* portfolio flex serach results */
#brands_title,
#products_title {
    display: flex;
    justify-content: space-between;
}
#catalog .item_row,
#portfolio .brand_row {
    display: flex;
    align-items: center;
    border-radius: 10px;
    padding: 20px 0;
    margin: 5px 0;
    justify-content: space-between;
}
#catalog .item_bottle_shot,
#portfolio .brand_logo {
    margin: 0 20px;
    text-align: center;
}
#catalog .item_bottle_shot_p img,
#portfolio .brand_logo_p img {
    margin: 0 15px 5px 0;
}
#catalog .catalog_data,
#portfolio .brand_data {
    width: 100%;
    padding: 0 10px;
}
#catalog .catalog_data p {
    padding-bottom: 0.25em;
}
#portfolio .brand_data p {
    padding-bottom: 0.25em;    
}
#catalog button,
#portfolio button {
    margin: 0 20px;
}
#portfolio img {
    border: 1px solid #0a0a0a;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.2);
    width: 250px;
    max-width: 250px;
}
/* bottle shot drop shadows on catalog page */
#catalog img {
    max-width: 80px;
    max-height: 200px;
    filter: drop-shadow(2px 5px 5px #00000075);
}

.facet_title_row {
    display: flex;
    justify-content: space-between;
}
#catalog #faceted_nav .facet_title_row {
    height: 20px;
}



/* serach results */
/*#catalog .item_bottle_shot{
    width: 15%;
    height: 125px;
    background-clip: padding-box;
    -webkit-border-radius: 10px 0 0 10px;
    -moz-border-radius: 10px 0 0 10px;
    border-radius: 10px 0 0 10px;
}
#catalog .item_data {
    width: 70%;
}
#portfolio .brand_logo{
    width: 35%;
    text-align: center;
}
#portfolio .brand_data {
    width: 50%;
}
#portfolio .brand_button,
#catalog .item_button {
    width: 15%;
    background-clip: padding-box;
    -webkit-border-radius: 0 10px 10px 0;
    -moz-border-radius: 0 10px 10px 0;
    border-radius: 0 10px 10px 0;
}*/
#catalog .item_name,
#portfolio .brand_name{
    font-size: large;
    font-weight: 700;
}
#catalog .data_row_label,
#portfolio .data_row_label{
    font-weight: 700;
    color: black;
}
#catalog .item_button button,
#portfolio .brand_button button {
    cursor: pointer;
}
#catalog .item_row:nth-child(odd) .item_button_d button,
#catalog .item_row:nth-child(odd) .item_button_t button {
    background-color: #cdd7d6;
}
#portfolio .brand_row:nth-child(even) .brand_button_d button,
#portfolio .brand_row:nth-child(even) .brand_button_t button {
    background-color: #cdd7d6;
}
#catalog button,
#portfolio button {
    border: 1px solid #6484a0;
    padding: 5px 10px;
}
#catalog .prices,
#catalog .srps,
#catalog .catalog-add-to-cart {
    display: flex;
    gap: 0.5rem;
}
#catalog .catalog-add-to-cart {
    margin-top: 0.5rem;
}
#catalog .atc-inputs-wrapper {
    display: flex;
    align-items: flex-start;
}
#catalog .atc-inputs-wrapper .left-column {
    border-collapse: collapse;
    border: none;
    max-width: fit-content;
    margin: 0;
}
#catalog .atc-inputs-wrapper .left-column th,
#catalog .atc-inputs-wrapper .left-column td {
    padding: 0 1rem 0 0;
    border: none;
}
#catalog .atc-inputs-wrapper .left-column td select {
    min-width: 70px;
    text-align: center;
}
#catalog .add-to-cart-message {
    display: block;
    height: fit-content;
    flex-basis: fit-content;
    background-color: #add7b3;
    border-radius: 5px;
    opacity: 0;
    transition: opacity 1s ease, height 1s ease;
}
#catalog .add-to-cart-message.show {
    opacity: 1;
}
.catalog #atc-sale-unit-wrapper,
#catalog #atc-sale-unit-wrapper {
    margin-top: 1rem;
}
#catalog .catalog-add-to-cart .data_row_label {
    color: #f87060;
}
#catalog .my-quantity {
    width: 70px;
    text-align: center;
    padding: 3px 2px 3px 15px;
    border-radius: 5px;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.2);
    border: 1px solid grey;
}
#catalog .atc-sale-unit-wrapper .atc-sale-unit {
    font-size: x-small;
    line-height: 1rem;
    margin-top: 0.25rem;
    float: right;
    /* visibility: hidden; */ /* temp till we get catalog cache prices */
}
#catalog .atc-sale-unit-wrapper .atc-price {
    display: none;
    flex-direction: column;
    align-items: center;
}
#catalog .atc-sale-unit-wrapper .atc-sale-unit-plural {
    visibility: hidden;
}
#catalog .atc-stock-message-wrapper {
    font-size: x-small;
    line-height: 1rem;
    margin-top: 0.25rem;
}
#catalog .atc-stock-message {
}
#catalog .atc-stock-message-wrapper .atc-stock-message {
    padding: 2px 5px;
    border-radius: 3px;
    width: fit-content;
}
#catalog .item_row:nth-child(even) .atc-stock-message-wrapper .atc-stock-message {
    border: 1px solid darkgrey;
    box-sizing: content-box;
}
#catalog .atc-stock-message-wrapper .atc-stock-message.atc-stock-level {
    background-color: #ccc1b7;
    margin-top: 0.5rem;
    margin-bottom: 0.25rem;
    display: none;
}
#catalog .atc-stock-message-wrapper .atc-stock-message.atc-qty-based {
    background-color: #cfb0d4;
     display: none;
    margin-bottom: 5px;
}
#catalog .catalog-add-to-cart a.button {
    width: fit-content;
    text-align: center;
    padding: 4px 15px !important;
    border-radius: 5px;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.2);
    border: 1px solid grey;
    color: white;
    background-color: #6484A0;
    white-space: nowrap;
}

#catalog .price_variation,
#catalog .srps_variation {
    font-size: small;
}

/*#portfolio img {
    margin-top: 3px;
    border: 1px solid #0a0a0a;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.2);
}*/

#faceted_search {
    margin: 10px 0;
}
#faceted_search input {
    height: 40px;
    width: 100%;
    border-radius: 3px;
    border-radius: 5px;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.2); 
    font-size: larger;
    padding: 10px 5px;
    font-style: italic;
    font-size: 14px;
}
#faceted_search img {
    position: relative;
    top: 3px;
}
#faceted_search > * {
    vertical-align: text-bottom;
    line-height: normal;
}
.bev_types {
    display: none;
}
.dd_selector {
    width: 100%;
    margin-bottom: 10px;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;   
    background-image: url('/wp-content/themes/Divi-child/images/icons/dd_unselected.png'), linear-gradient(to bottom, #ffffff 0%, #cdd7d6 50%, #cdd7d6 100%);
    background-repeat: no-repeat, no-repeat;
    background-position: right .7em top 50%, 0 0;
    background-size: .65em auto, 100%;
}
.dd_selector option {
    background-color: #cdd7d6;
}

.field_label,
.option_count {
    font-size: medium ! important;
}
#faceted_price_range label span {
    font-size: small;
}
.filter_detail {
    font-size: small;
    line-height: 1.2em;
}
.facet_title_row .filter_detail {
    line-height: inherit;
}

#locales_section,
#locales_section label {
    font-size: 18px;
}
.checkboxes.srps fieldset {
    font-size: small;
}
#srps_section,
#sustainability_section,
#sustainability_section label,
#formats_section,
#formats_section label ,
.locales_section,
.locales_section label {
    font-size: 16px;
    cursor: pointer;
}

#inclusions_wrapper .facet_collapsible_content {
    max-height: unset;
}

/* Customize the label (the container) */
.inclusions .checkbox_container {
    border: 1px solid darkgrey;
    padding: 2px 33px;
    border-radius: 5px;
    line-height: 2rem;
}
.checkbox_container {
    display: block;
    position: relative;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    padding-top: 2px!important;
    padding-left: 23px;
    margin: 0;
}

/* Hide the browser's default checkbox */
.checkbox_container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Create a custom checkbox */
.inclusions .checkmark,
.inclusions .checkmark.changed {
    top: 0.5rem;
    left: 7px;
}
.checkmark {
    position: absolute;
    top: 5px;
    left: 0;
    height: 17px;
    width: 17px;
    background-color: #cdd7d6; /* light brown */
    border: 1px solid #0a0a0a;
    border-radius: 3px;
}
.checkmark.changed {
    position: absolute;
    top: 5px;
    left: 0;
    height: 17px;
    width: 17px;
    background-color: #e8e0d1; /* very light brown */
    border: 1px solid #0a0a0a;
    border-radius: 3px;
}

/* On mouse-over, add a tan background color */
.checkbox_container:hover input ~ .checkmark {
  background-color: #8ebde5; /* medium brown */
}
.checkbox_container:hover input ~ .checkmark.changed {
  background-color: #e8e0d1; /* very light brown */
}

/* When the checkbox is checked, add a background color */
.checkbox_container input:checked ~ .checkmark {
  background-color: #6484a0; /* dark green */
}
.checkbox_container input:checked ~ .checkmark.changed {
  background-color: #e8e0d1; /* very light brown */
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.checkbox_container input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.checkbox_container .checkmark:after {
  left: 4px;
  top: 1px;
  width: 4px;
  height: 8px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}
.checkbox_container .checkmark.changed:after {
  left: 4px;
  top: 1px;
  width: 4px;
  height: 8px;
  border: solid #0a0a0a;
  border-width: 0 1px 1px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}
#page_num {
    padding-left: 5px;
}
#total_pages {
    padding-right: 5px;
}
#portfolio .story_read_more,
#portfolio .story_show_less,
#catalog .story_read_more,
#catalog .story_show_less {
    color: #6484a0;
}
#portfolio .story_read_more:hover,
#portfolio .story_show_less:hover,
#catalog .story_read_more:hover,
#catalog .story_show_less:hover {
    cursor: pointer;
}