.shared-layout {
    width: 100%;
    margin: 0 auto;
    margin-bottom: 30px;
}

@media (max-width: 1024px) {
    .shared-layout {
        margin: 0;
    }
}

@media (max-width: 640px) {
    .shared-layout {
        margin-top: 15px;
    }
}
/* Custom styled checkboxes */
input[type="checkbox"]:not(:checked),
input[type="checkbox"]:checked {
    position: absolute;
    opacity: 0;
    z-index: 9999;
    margin: 0;
    width: 15px;
    height: 15px;
}

input[type="checkbox"]:not(:checked):hover,
input[type="checkbox"]:checked:hover {
    cursor: pointer;
}

input[type="checkbox"]:not(:checked) + label,
input[type="checkbox"]:checked + label {
    position: relative;
    padding-left: 25px;
    cursor: pointer;
}

input[type="checkbox"]:not(:checked) + label:before,
input[type="checkbox"]:checked + label:before {
    background: transparent;
    border: 1px solid #195969;
    border-radius: 4px;
    width: 16px;
    height: 16px;
    font-family: FontAwesome;
    content: '\f0c8';
    color: transparent;
    position: absolute;
    top: 4px;
    left: 1px;
}

.root_panel.wine-theme input[type="checkbox"]:not(:checked) + label:before,
.root_panel.wine-theme input[type="checkbox"]:checked + label:before {
    background: transparent;
    border: 2px solid var(--cream-dark);
    width: 13px;
    height: 13px;
    border-radius: 0;
}

.root_panel.wine-theme input[type="checkbox"]:checked + label:before {
    border: 2px solid var(--clay);
}

input[type="checkbox"]:not(:checked) + label:after,
input[type="checkbox"]:checked + label:after {
    width: 14px;
    height: 14px;
    font-family: FontAwesome;
    font-size: 12px;
    font-weight: 100;
    content: '\f00c';
    background-color: transparent;
    color: #52c4cd;
    position: absolute;
    top: 5px;
    left: 2px;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
}

.root_panel.wine-theme input[type="checkbox"]:not(:checked) + label:after,
.root_panel.wine-theme input[type="checkbox"]:checked + label:after {
    background-color: var(--clay);
    color: var(--white);
    border-radius: 0;
    font-size: 10px;
}

input[type="checkbox"]:not(:checked) + label:after {
    opacity: 0;
}

input[type="checkbox"]:checked + label:after {
    opacity: 1;
}

input[type="checkbox"]:not(:checked):hover + label:after {
    opacity: 0.6;
}

.filters-wrapper {
    width: 335px;
    height: 100%;
    background-color: #f3f1f2;
    border: 1px solid #c6c6c6;
}

.root_panel.wine-theme .filters-wrapper {
    background-color: var(--cream-light);
    border: 0
}

.filters {
    position: relative;
    height: 100%;
    padding: 55px 45px 35px;
}

.mobile-filters-wrapper .filters {
    padding: 35px 20px;
}

.filters .close {
    display: none;
    width: 12px;
    height: 12px;
    content: '';
    position: absolute;
    top: 6px;
    right: 12px;
    cursor: pointer;
}

.filters .close i {
    color: #195969;
}

.filters label {
    margin-bottom: 5px;
    font-size: 16px;
    font-weight: normal;
}

.filters .form-group {
    position: relative;
    background-color: transparent;
}

.filters .form-group input {
    color: #bdbdbd;
    font-family: 'Josefin Sans', sans-serif;
}

.filters .form-group input::-webkit-input-placeholder {
    opacity: 1;
    color: #bdbdbd;
    font-family: 'Josefin Sans', sans-serif;
}
.filters .form-group input::-moz-placeholder {
    opacity: 1;
    color: #bdbdbd;
    font-family: 'Josefin Sans', sans-serif;
}
.filters .form-group input:-ms-input-placeholder {
    opacity: 1;
    color: #bdbdbd;
    font-family: 'Josefin Sans', sans-serif;
}
.filters .form-group input:-moz-placeholder {
    opacity: 1;
    color: #bdbdbd;
    font-family: 'Josefin Sans', sans-serif;
}

.root_panel.wine-theme .filters .form-group input,
.root_panel.wine-theme .filters .form-group input::-webkit-input-placeholder {
    color: var(--dark-brown);
    font-size: var(--text-lg);
    font-weight: var(--font-weight-normal);
}

.filters input.listing-input {
    width: 100%;
    height: 33px;
    padding: 0 0 0 5px;
    margin: 0;
    margin-bottom: 35px;
    background-color: transparent;
    border: 1px solid #333333;
    border-radius: 6px;
    box-shadow: 0px 0px 0px;
    font-size: 15px;
}

.root_panel.wine-theme .filters input.listing-input {
    padding: 0 0 0 10px;
    height: 47px;
    background-color: var(--white);
    border: 1px solid var(--clay);
    border-radius: 0;
}

.filters button.listing-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 0;
    top: 0;
    background-color: #b07eb5;
    height: 33px;
    width: 33px;
    margin: 0;
    color: white;
    border: 1px solid #333333;
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
    padding: 0;
}

.root_panel.wine-theme .filters button.listing-submit {
    width: 60px;
    height: 47px;
    background-color: var(--clay);
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.filters button.submit > i {
    font-size: 13px;
    transform: rotateY(180deg);
    margin: 0;
}

.filters .clear-filters {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px 18px;
    margin-bottom: 10px;
    font-family: 'Josefin Sans', sans-serif;
    color: white;
    background-color: #b07eb5;
    font-size: 15px;
    border-radius: 6px;
}

@media (min-width: 640px) {
    .filters .clear-filters.close-filters{
        display: none;
    }
}

.root_panel.wine-theme .filters .clear-filters {
    position: relative;
    background-color: var(--clay);
    color: var(--white);
    font-size: var(--text-sm);
    width: auto;
    border-radius: 50px;
    padding: 9px 35px 9px var(--space-2);
}

.root_panel.wine-theme .filters .clear-filters::after {
    font-family: 'Font Awesome 6 Pro';
    content: '\f057';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-55%);
    font-weight: 900;
}

.filters .clear-filters:hover {
    text-decoration: none;
}

.filters .filter-label {
    color: #195969;
    font-size: 15px;
    font-family: 'Josefin Sans', sans-serif;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 15px;
}

.root_panel.wine-theme .filters .filter-label {
    margin-bottom: 10px;
    color: var(--dark-brown);
    font-size: var(--text-lg);
    text-transform: none;
}

.date-inputs-container span {
    color: #195969;
}

.filters .scroll-container { overflow-y: auto; }

.filters ul.filter-items {
    padding: 0;
    margin: 0 0 30px;
    list-style: none;
}

.filters ul.filter-items:last-of-type {
    margin-bottom: 20px;
}

.root_panel.wine-theme .filters ul.filter-items {
    margin-bottom: var(--space-8);
}

.filters ul.filter-items > li {
    display: none;
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 6px;
}

.filters ul.filter-items.show-more > li,
.filters ul.filter-items > li:nth-child(-n+5) { display: block; }

.filters ul.filter-items li.show-more {
    font-family: 'Josefin Sans', sans-serif;
    background-color: transparent;
    padding: 0;
    margin: 15px 0;
    color: #195969;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
}

.root_panel.wine-theme .filters ul.filter-items li.show-more {
    margin: 10px 0 0;
    color: var(--clay);
    text-transform: none;
    font-weight: var(--font-weight-normal);
    font-size: var(--text-sm);
}

.filters .show-more > i {
    margin-left: 5px;
    font-size: 15px;
    font-weight: bold;
    color: #52c4cd;
}

.root_panel.wine-theme .filters .show-more > i {
    color: var(--clay);
}

.filters ul.filter-items > li > label {
    color: #28404f;
    margin: 0;
}

.root_panel.wine-theme .filters ul.filter-items > li > label {
    color: var(--body-color);
    font-size: var(--text-base);
    font-weight: var(--font-weight-normal);
}

.filters ul.filter-items > li > label > span {
    color: #52c4cd;
    display: inline-block;
    margin-left: 5px;
    font-weight: 600;
}

.root_panel.wine-theme .filters ul.filter-items > li > label > span {
    color: var(--body-color);
    font-weight: var(--font-weight-normal);
}

.filters ul.filter-items > li > a {
    text-align: left;
}

.filters input.disabled[type="checkbox"] + label,
.filters input.disabled[type="checkbox"] {
    display: none;
}

@media (max-width: 1100px) {
    .filters .close { display: inline-block; }
}

.flex-wrapper {
    display: flex;
    overflow: hidden; /*IE fix*/
}

.root_panel.wine-theme .flex-wrapper {
    gap: var(--space-px);
}

.results-wrapper {
    display: flex;
    flex-direction: column;
    width: calc(100% - 335px);
}

.results {
    padding: 0px 0px 20px;
    text-align: center;
}

.layout-map .results {
    padding: 0;
}

ul.options {
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
}

ul.options > li {
    display: inline-block;
    vertical-align: top;
    margin: 0 5px;
    text-align: center;
}

ul.options > li.title,
ul.options > li.sort-title {
    padding: 10px 5px;
    font-size: 14px;
    line-height: 27px;
    padding-left: 15px;
}

ul.options > li > span { display: inline-block; }

.desktop.options {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 20px 45px;
    border-top: 1px solid #c6c6c6;
    border-bottom: 1px solid #c6c6c6;
}

@media (max-width: 1100px) {
    .desktop.options {
        padding: 20px 25px;
    }
}

.root_panel.wine-theme .desktop.options {
    background-color: var(--cream-light);
    border: 0;
}

.desktop.options > ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    margin-left: 0;
}

.desktop.options > ul > li {
    font-size: 14px;
    line-height: 15px;
}

.root_panel.wine-theme .desktop.options > ul > li {
    font-size: var(--text-base);
    font-weight: var(--font-weight-bold);
}

.desktop.options > ul > li > a,
.mobile-options ul > li > a {
    color: #bdbdbd;
    margin-right: 20px;
    font-weight: normal;
}

.root_panel.wine-theme .desktop.options > ul > li > a,
.root_panel.wine-theme .mobile-options ul > li > a {
    color: var(--dark-brown);
    font-size: var(--text-base);
    font-weight: var(--font-weight-bold);
}

.desktop.options > ul > li > a:hover,
.mobile-options ul > li > a:hover {
    text-decoration: none;
}

.desktop.options > ul > li > a.active,
.mobile-options ul > li > a.active {
    color: #195969;
}

.root_panel.wine-theme .desktop.options > ul > li > a.active {
    position: relative;
    color: var(--clay);
}

.root_panel.wine-theme .desktop.options > ul > li > a.active::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 2px;
    background-color: var(--clay);
}

.desktop.options > ul > li > a > i {
    font-size: 15px;
}

.desktop.options > ul:first-of-type {
    margin-right: 25px;
}

.desktop.options > ul:last-of-type > li:nth-child(2),
.events-only .desktop.options > ul:last-of-type > li:nth-child(3) {
    position: relative;
    margin-right: 15px;
}

.root_panel.wine-theme .desktop.options > ul:last-of-type > li:nth-child(2),
.root_panel.wine-theme .events-only .desktop.options > ul:last-of-type > li:nth-child(3) {
    margin-right: 0;
}

.desktop.options > ul:last-of-type > li:nth-child(2)::after,
.events-only .desktop.options > ul:last-of-type > li:nth-child(3)::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 100%;
    background-color: #bdbdbd;
}

.root_panel.wine-theme .desktop.options > ul:last-of-type > li:nth-child(2)::after,
.root_panel.wine-theme .events-only .desktop.options > ul:last-of-type > li:nth-child(3)::after {
    display: none;
}

.desktop.options .sort-title {
    position: relative;
    font-size: 15px;
    text-transform: uppercase;
    margin-right: 40px;
    color: #195969;
    font-weight: 700;
}

.root_panel.wine-theme .desktop.options .sort-title {
    margin-right: var(--space-5);
    color: var(--dark-brown);
    font-size: var(--text-base);
    text-transform: none;
}

.desktop.options .sort-title::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -20px;
    transform: translateY(-50%);
    width: 1px;
    height: calc(100% + 10px);
    background-color: #bdbdbd;
}

.root_panel.wine-theme .desktop.options .sort-title::after {
    display: none;
}

ul.options .sort {
    position: relative;
}

ul.options .sort::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 30%;
    background-color: black;
}

ul.options .sort:last-of-type::after {
    display: none;
}

ul.mobile-options {
    display: none;
    width: 100%;
    position: relative;
    padding: 0;
    margin: 0px;
    list-style: none;
    text-align: center;
    border-top: 1px solid #c6c6c6;
    border-bottom: 1px solid #c6c6c6;
}
@media (max-width: 425px) {
    ul.mobile-options .sort {
        display: none;
    }
}


ul.mobile-options > li {
    position: relative;
    display: inline-block;
    flex: 1;
}

.root_panel.wine-theme ul.mobile-options {
    background-color: var(--cream-light);
    border: 0;
}

ul.mobile-options > li:nth-child(2) {
    border-left: 1px solid #c6c6c6;
    border-right: 1px solid #c6c6c6;
}

.root_panel.wine-theme ul.mobile-options > li:nth-child(2) {
    border-left: 2px solid var(--white);
    border-right: 2px solid var(--white);
}

ul.mobile-options > li > a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    font-size: 16px;
    font-weight: 700;
    line-height: 22px;
    color: #195969;
    text-transform: uppercase;
}

.root_panel.wine-theme ul.mobile-options > li > a {
    color: var(--clay);
    font-size: var(--text-base);
    font-weight: var(--font-weight-normal);
}

ul.mobile-options > li > a:hover,
ul.mobile-options > li > a:active,
ul.mobile-options > li > a:visited {
    text-decoration: none;
}

ul.mobile-options > li i {
     font-size: 16px;
     font-weight: 900;
}

ul.mobile-options > li > a > i {
    font-size: 15px;
    margin-left: 4px;
    margin-bottom: 4px;
    color: #bfbfbf;
}

.root_panel.wine-theme ul.mobile-options > li > a > i {
    color: var(--clay);
    font-size: var(--text-xs);
}

ul.mobile-options > li ul li i {
    font-weight: normal;
}

ul.mobile-options > li.active > a > i {
    transform: rotate(180deg);
}

ul.mobile-options ul.options {
    border: 0;
}

ul.mobile-options .options-dropdown {
    position: absolute;
    left: 0px;
    z-index: 10;
    display: none;
    background-color: #f3f1f2;
}

.root_panel.wine-theme ul.mobile-options .options-dropdown {
    background-color: var(--cream-light);
}

ul.mobile-options > li.active > .options-dropdown {
    display: block;
    z-index: 100;
}

ul.mobile-options .options-dropdown.centered {
    right: 0;
    left: auto;
    transform: none;
    width: 100%;
    min-width: 320px;
}

ul.mobile-options li:last-child .options-dropdown.centered {
    left: auto;
    right: 0;
    transform: translateX(0);
}

ul.mobile-options > li.active > .options-dropdown .mobile-filters-wrapper {
    width: 320px;
    overflow-y: auto;
    text-align: left;
}

ul.mobile-options > li.active > .options-dropdown > ul.options {
    display: inline-block;
    width: auto;
    padding: 15px 0;
}

.shared-items-container {
    width: 100%;
    padding-top: 30px;
    padding-left: 4%;
    padding-right: 4%;
}

.root_panel.wine-theme .shared-items-container {
    padding-top: 37px;
    padding-left: 50px;
    padding-right: 47px;
}

[data-sv-items-wrapper] {
    list-style: none;
    margin: 0;
    width: 100%;
}

ul.options .controlled-width-listing .distanceSort,
ul.mobile-options .distanceSort {
    opacity: 0;
    pointer-events : none;
    vertical-align: top !important;
    overflow: hidden;
}
.desktop.options > ul[data-sv-distanceSort]{
    opacity: 0;
    pointer-events:none;
} 

.events-only ul [data-sv-distanceSort],
.events-only ul[data-sv-distanceSort] {
    opacity: 0.5;
    height: auto;
    pointer-events: none;
}

/****Shared Items****/
.shared-items .shared-item {
    display: flex;
    width: 100%;
    position: relative;
    box-shadow: 3px 6px 8px rgba(0,0,0,0.04), -3px 6px 8px rgba(0,0,0,0.04);
    border-radius: 6px;
}

.root_panel.wine-theme .shared-items .shared-item {
    background-color: var(--cream-light);
    box-shadow: 0px 3px 20px 0px #0000001A, 0px 3px 6px 0px #0000000A;
    border-radius: 0;
}

.shared-items .shared-item.featured .feat-listing {
    position: absolute;
    top: 7px;
    right: -4px;
    padding: 4px 35px 2px 10px;
    color: white;
    text-transform: uppercase;
    text-align: right;
    font-size: 11px;
    background-color: #b07eb5;
    letter-spacing: 1px;
}

.root_panel.wine-theme .shared-items .shared-item.featured .feat-listing {
    right: -5px;
    background-color: var(--sage-dark);
    padding: var(--space-1) 35px 2px 19px;
}

/* hide the featured flag at the smallest sizes, then ensure it's on top when visible */
@media only screen and (max-width: 640px) {
	.shared-items .shared-item.featured .feat-listing {
		display: none;
	}
}

@media only screen and (max-width: 640px) {
    .root_panel.wine-theme .shared-items .shared-item.featured .feat-listing {
        display: block;
        z-index: 1;
    }
   
}

@media only screen and (max-width: 600px) {
    .root_panel.wine-theme .shared-items .shared-item.featured .feat-listing {
        top: auto;
        bottom: 7px;
    }
}
@media only screen and (min-width: 481px) {
     ul.mobile-options .options-dropdown.centered {
        right: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        min-width: 320px;
    }
}
@media only screen and (min-width: 641px) {
	.shared-items .shared-item.featured .feat-listing {
		z-index: 1;
	}
}

.root_panel.wine-theme .shared-items .shared-item.featured .feat-listing:before,
.root_panel.wine-theme .shared-items .shared-item.featured .feat-listing:after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-image: url('/includes/public/assets/images/featured-icon.svg');
    background-repeat: no-repeat;
    background-size: contain;
    width: 6.9px;
    height: 9.6px;
}

.root_panel.wine-theme .shared-items .shared-item.featured .feat-listing:before {
    left: var(--space-2);
}

.root_panel.wine-theme .shared-items .shared-item.featured .feat-listing:after {
    right: var(--space-6);
}

.shared-items .shared-item .image-container {
    position: relative;
    flex: 0 0 auto;
}

.layout-list .shared-items .shared-item .image-container { max-width: 280px; }

.shared-items .shared-item .image-container a {
    display: block;
    height: 100%;
}

.shared-items .shared-item .image-container img {
    display: block;
    width: 100%;
    height: auto;
    border-top-right-radius: 6px;
    border-top-left-radius: 6px;
    aspect-ratio: 275/183;
}

.root_panel.wine-theme .shared-items .shared-item .image-container img {
    border-top-right-radius: 0;
    border-top-left-radius: 0;
}

.shared-items .shared-item .content-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.shared-items .shared-item .contents {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 15px;
    text-align: left;
    height: 100%;
}

.shared-items .shared-item .contents h2 {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 19px;
    line-height: 22px;
    font-weight: 700;
    color: #195969;
    margin: 0 0 5px 0;
    letter-spacing: 0;
    text-transform: uppercase;
}

.shared-items .shared-item .contents h2 a {
    color: #195969;
}

.root_panel.wine-theme .shared-items .shared-item .contents h2 a {
    color: var(--dark-brown);
}

.shared-items .shared-item .contents h2 a:hover {
    text-decoration: none;
}

.shared-items .shared-item .contents .distance,
.shared-items .shared-item .contents .address,
.shared-items .shared-item .contents .date-range {
    display: block;
    position: relative;
    font-size: 15px;
    line-height: 20px;
    margin-bottom: 3px;
}
.shared-items .shared-item .contents .date-range {
    font-weight: bold;
}
.shared-items .shared-item .date-cont {
    padding: 4px 12px;
    position: absolute;
    top: 0;
    left: 0;
    color: #fff;
    background-color: #52c4cd;
    text-transform: uppercase;
    font-weight: bold;
    line-height: 1.4em;
}

.root_panel.wine-theme .shared-items .shared-item .date-cont {
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 65px;
    height: 65px;
    background-color: var(--sage-light);
    border-radius: 100px;
    color: var(--dark-brown);
}
@media screen and (min-width: 64em) {
    .root_panel.wine-theme .shared-items .shared-item .date-cont {
        width: 80px;
        height: 80px;
    }
}

.root_panel.wine-theme .shared-items .shared-item .date-cont .month {
    font-weight: var(--font-weight-bold);
    font-size: var(--text-xs);
    line-height: var(--leading-none);
}
@media screen and (min-width: 64em) {
    .root_panel.wine-theme .shared-items .shared-item .date-cont .month {
        font-size: var(--text-sm);
    }
}

.shared-items .shared-item .date-cont .day{
    font-size: 1.7em;
}

.root_panel.wine-theme .shared-items .shared-item .date-cont .day{
    font-size: 28px;
    font-weight: var(--font-weight-normal);
}
@media screen and (min-width: 64em) {
    .root_panel.wine-theme .shared-items .shared-item .date-cont .day{
        font-size: var(--text-4xl);
    }
}

.shared-items .shared-item .contents .distance { font-weight: 700; }

.shared-items .shared-item .contents .address i {
    color: #52c4cd;
    font-size: 17px;
    margin-right: 5px;
}

.root_panel.wine-theme .shared-items .shared-item .contents .address i {
    color: var(--clay);
    font-size: var(--text-sm);
}

.shared-items .shared-item .listing-btns {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: auto;
    padding: 20px 0 5px;
    border-top: 1px solid #dbdbdb;
}

.shared-items .shared-item .listing-btns .see-more {
    border: 0;
    background-color: #5bc4cc;
    padding: 2px 20px;
    font-size: 14px;
}

.root_panel.wine-theme .shared-items .shared-item .listing-btns .see-more {
    background-color: var(--clay);
    color: var(--white);
    padding: var(--space-2) var(--space-4);
}

.shared-items .shared-item .rateInfo,
.shared-items .shared-item .book-rates {
    display: none;
    width: 100%;
    font-size: 14px;
    font-style: italic;
    text-align: center;
}

/****Grid View****/
.layout-grid [data-sv-items-wrapper] {
    display: flex;
    flex-flow: wrap;
    flex-direction: row;
    align-content: flex-start;
    justify-content: flex-start;
}

.layout-grid [data-sv-items-wrapper] > li {
    display: flex;
    flex-grow: 1;
    flex-shrink: 0;
    flex-basis: calc(33.3333% - 20px);
    min-width: 270px;
    padding: 0;
    margin: 0 10px 20px;
    max-width: 260px;
}

.root_panel.wine-theme .layout-grid [data-sv-items-wrapper] > li {
    max-width: none;
    margin: 0;
}

.layout-grid .shared-items .shared-item {
    flex-direction: column;
}

@supports ( display: grid ) {
    .layout-grid [data-sv-items-wrapper] {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
        grid-column-gap: 10px;
        margin: 0 0 20px;
    }
    .root_panel.wine-theme .layout-grid [data-sv-items-wrapper] {
        grid-column-gap: var(--space-4);
        grid-row-gap: var(--space-5);
    }
    .layout-grid [data-sv-items-wrapper] > li { max-width: auto; }
}

@media (min-width: 640px) {
    .root_panel.wine-theme .layout-grid [data-sv-items-wrapper] {
        grid-row-gap: var(--space-10);
    }
}

/**** Map View ****/
.shared-map-container { display: none; }

.layout-map .shared-items {
    list-style: none;
    margin: 0;
}

.layout-map .shared-items .shared-item {
    margin-bottom: 20px;
}

.layout-map .shared-items .shared-item .image-container {
    flex: auto;
}

.layout-map .shared-items .shared-item .image-container img {
    border-top-right-radius: 0;
    border-bottom-left-radius: 6px;
}

.layout-map .shared-map-container {
    display: block;
    position: relative;
}

.shared-map .gMapContainer,
.shared-map .gMapHolder {
    width: 100%;
    height: 100%;
    min-height: 900px;
}

.layout-map .map-list-cont {
    display: none;
    position: absolute;
    z-index: 99;
    top: 35px;
    left: 35px;
    width: 400px;
    height: 65%;
    overflow: hidden;
    padding-bottom: 45px;
    background-color: white;
}

@media (min-width: 641px) {
    .layout-map .map-list-cont {
        display: block;
    }
}

.layout-map .map-list {
    height: calc(100% - 100px);
    overflow-y: scroll;
    padding: 15px;
}

.layout-map .map-list-heading {
    padding: 15px;
    border-bottom: 1px solid silver;
}

.layout-map .map-list-heading h3 {
    font-family: 'Josefin Sans', sans-serif;
    text-transform: uppercase;
    font-weight: 700;
    color: #195969;
    font-size: 36px;
    line-height: 36px;
    margin: 0;
}

.layout-map .map-list-cont .pagination {
    display: flex;
    justify-content: center;
}

.layout-map .listings-bottom {
    display: none;
}

.layout-map .map-list-cont .listings-bottom {
    display: block;
    width: 100%;
    transform: translate(0);
    padding: 25px 15px;
}

.layout-map .shared-items .shared-item .contents {
    width: 100%;
    padding: 10px;
    background-color: white;
}

.layout-map .shared-items .shared-item .contents .address {
    font-size: 14px;
}

.layout-map .shared-items .shared-item .contents {
    width: 100%;
    padding: 5px 10px 15px;
}

.layout-map .shared-items .shared-item .contents .address {
    font-size: 14px;
}

.layout-map .shared-items .shared-item .listing-btns {
    display: none;
}

.layout-map .shared-items .shared-item .contents h2 {
    font-size: 17px;
}

.layout-map .shared-items-container {
    display: none;
}

/****List View****/

.layout-list [data-sv-items-wrapper] {
    flex-direction: column;
    padding-right: 25px;
}

.layout-list .shared-items .shared-item {
    margin-bottom: 35px;
    box-shadow: 3px 6px 8px rgba(0,0,0,0.07), -3px -2px 8px rgba(0,0,0,0.07);
}

.layout-list .shared-items .shared-item .listing-btns {
    margin-top: auto;
    justify-content: flex-start;
    padding-left: 15px;
}

.layout-list .shared-items .shared-item .contents {
    width: 100%;
    height: auto;
}

.layout-list .shared-items .shared-item .image-container img {
    border-top-right-radius: 0;
    border-bottom-left-radius: 6px;
}

/****Listings Bottom****/
.listings-bottom {
    width: 100%;
    padding: 15px 45px;
    border-top: 1px solid #c6c6c6;
    border-bottom: 1px solid #c6c6c6;
    margin-top: auto;
}

.root_panel.wine-theme .listings-bottom {
    border: 0;
}

.listings-bottom .pagination {
    list-style: none;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.listings-bottom .pagination > li {
    float: none;
    display: flex;
    align-items: center;
    font-size: 18px;
    color: silver;
    height: auto;
}

.root_panel.wine-theme .listings-bottom .pagination > li {
    color: var(--body-color);
    font-size: var(--text-base);
    font-weight: var(--font-weight-semibold);
}

.listings-bottom .pagination > li:hover a {
    background: transparent;
}

.listings-bottom .pagination > li a {
    font-size: 18px;
    color: #195969;
    font-weight: 700;
}

.root_panel.wine-theme .listings-bottom .pagination > li a {
    color: var(--clay);
    font-size: var(--text-base);
    font-weight: var(--font-weight-semibold);
}

.listings-bottom .pagination > li a:hover {
    background-color: transparent;
}

.listings-bottom .pagination .prev {
    margin-right: 15px;
}

.listings-bottom .pagination .prev i {
    margin-right: 7px;
    font-weight: bold;
}

.listings-bottom .pagination .next {
    margin-left: 15px;
}

.listings-bottom .pagination .next i {
    margin-left: 7px;
    font-weight: bold;
}

@media (max-width: 1100px) {
    .listings-bottom {
        padding-left: 35px;
    }
}

@media (max-width: 1024px) {
    .desktop.options,
    .desktop-filters {
        display: none;
    }
    ul.mobile-options {
        display: flex;
    }
    .shared-items-container {
        padding: 25px 15px;
    }
    .root_panel.wine-theme .shared-items-container {
        padding: var(--space-6) 10px;
    }
    [data-sv-items-wrapper] {
        margin: 0;
        max-width: none;
    }
    .layout-list [data-sv-items-wrapper] {
        padding-right: 0;
    }
    .listings-bottom {
        padding: 15px 0;
    }
    .root_panel.wine-theme .listings-bottom {
        background-color: var(--cream-light);
    }
    .listings-bottom .pagination {
        justify-content: center;
    }
    .results-wrapper {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .results {
        padding: 0;
    }
    .layout-grid [data-sv-items-wrapper] > li:last-of-type,
    .layout-list [data-sv-items-wrapper] > li:last-of-type .shared-item {
        margin-bottom: 0;
    }
    .layout-list .shared-items .shared-item {
        margin-bottom: 25px;
    }
    .root_panel.wine-theme .layout-list .shared-items .shared-item {
        margin-bottom: var(--space-5);
    }
    .layout-list .shared-items .shared-item .image-container {
        width: 38%;
        overflow: hidden;
    }
    .layout-list .shared-items .shared-item .content-wrapper {
        width: 62%;
    }
    .layout-list .shared-items .shared-item .listing-btns {
        padding: 10px 0 10px 15px;
    }
    .layout-list .shared-items .shared-item .image-container img {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: auto;
        max-width: none;
        height: 100%;
    }
    .shared-items .shared-item .contents h2 {
        font-size: 18px;
    }
    .listings-bottom .pagination .prev {
        margin-right: 10px;
    }
    .listings-bottom .pagination .next {
        margin-left: 10px;
    }
    .listings-bottom .pagination > li,
    .listings-bottom .pagination > li a {
        font-size: 15px;
    }
    .root_panel.wine-theme .listings-bottom .pagination > li a {
        font-size: var(--text-base);
    }
}

/* begin: Quick View */

.results-wrapper .quickview-wrapper a {
	font-size: 15px;
	font-weight: 400;
}

.root_panel.wine-theme .results-wrapper .quickview-wrapper a {
    font-size: 17px;
}

.results-wrapper .quickview-wrapper a:hover {
	text-decoration: none;
}

/* end: Quick View */
