.shared-layout {
    display: none;
    width: 100%;
    margin: 0 auto;
}
.shared-layout.listings-init { display: block; }

/* Control width of listings container & desktop options */
.contain-width {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
}

/* Custom styled checkboxes */

input[type="checkbox"]:not(:checked),
input[type="checkbox"]:checked {
    position: absolute;
    opacity: 0;
    z-index: 9999;
    margin: 0;
    width: 17px;
    height: 17px;
}

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: 2px solid white;
    border-radius: 4px;
    width: 17px;
    height: 17px;
    font-family: FontAwesome;
    content: '\f0c8';
    color: transparent;
    position: absolute;
    top: 4px;
    left: 1px;
}

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

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 ****/
.desktop-filters {
    flex: 0 0 300px;
    background-color: #50afad;
}

.events-only .desktop-filters {
    flex: 0 0 360px;
}

.desktop-filters .filters-wrapper {
	overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.filters-wrapper .scroll-container {}

.filters {
    position: relative;
    padding: 60px 30px;
}

.filters .close {
    display: inline-block;
    width: 17px;
    height: 17px;
    content: '';
    position: absolute;
    top: 15px;
    right: 15px;
    background-image: url('../png/close-vid.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    cursor: pointer;
}

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

.filters label {
    margin-bottom: 5px;
    font-size: 14px;
    font-weight: normal;
    color: #fff;
}

.filters .form-group {
    position: relative;
    margin-bottom: 30px;
}

.filters .form-group input::-webkit-input-placeholder {
    opacity: 1;
    color: lightgray;
}
.filters .form-group input::-moz-placeholder {
    opacity: 1;
    color: lightgray;
}
.filters .form-group input:-ms-input-placeholder {
    opacity: 1;
    color: lightgray;
}
.filters .form-group input:-moz-placeholder {
    opacity: 1;
    color: lightgray;
}

.filters input.shared-input.input-text {
    border: 0;
    margin: 0;
}

.filters button.shared-submit {
    width: 35px;
    background-color: #ffcc2e;
    padding: 0;
    margin: 0;
}

.filters button.shared-submit .fa {
    color: white;
}

.filters a.clear-filters {
    display: block;
    text-transform: uppercase;
    margin: 15px 0;
    padding: 5px 40px;
    background-color: white;
    color: #50afad;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
}

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

.filters .filter-label {
    margin-bottom: 7px;
    font-size: 20px;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
}

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

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

.filters .calendar-filter button.clear-filters {
	width: 100%;
	height: 30px;
	padding: 0;
	color: #50afad;
	background-color: white;
	font-weight: bold;
	font-family: "proxima-nova",sans-serif;
	text-transform: uppercase;
	line-height: 30px;
}

.filters .calendar-filter .month-name,
.filters .calendar-filter .week-name {
	text-transform: capitalize;
	text-align: center;
}

.filters .calendar-filter table tr td {
	padding: 0;
}

.filters .calendar-filter .day {
	padding: 0.5625rem 0.625rem;
	border: 1px solid white;
	text-align: center;
	cursor: pointer;
	color: #332212;
}

.filters .calendar-filter .day:hover,
.filters .calendar-filter .day.checked {
	color: white;
	background-color: #3f9c35;
}

.filters .calendar-filter .day.checked:hover {
	background-color: #ffcc2e;
}

.filters .calendar-filter .prev,
.filters .calendar-filter .next {
	cursor: pointer;
}

.filters .show-more {
    background-color: transparent;
    padding: 0;
    margin: 10px 0 15px;
    color: white;
    font-size: 17px;
    font-weight: 700;
	cursor: pointer;
}

.filters .show-more > i.fa {
    margin-left: 8px;
    font-size: 18px;
    color: black;
}

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

.filters ul.filter-items > li > label {
    margin: 0;
    color: white;
    font-size: 16px;
}

.filters ul.filter-items > li.nofilters {
	color: white;
}

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

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

@media (max-width: 1024px) {
    .desktop-filters {
        display: none;
    }
	.filters .calendar-filter .day {
		padding: 0.5rem 0;
	}
}

/* Required to hide cats with no count */
.filters input.disabled[type="checkbox"] + label,
.filters input.disabled[type="checkbox"] {
    display: none;
}

/**** End Filters ****/

/**** Begin Mobile Filters ****/

.mobile-options {
    display: none;
    margin: 0;
    list-style: none;
    border-top: 1px solid #efebe7;
    border-bottom: 1px solid #efebe7;
}

.mobile-options .mobile-control {
    flex: 1 1 33.3333%;
    position: relative;
    padding: 15px 5px;
    text-align: center;
}

.mobile-options .mobile-control:nth-child(2) {
    border-right: 1px solid #efebe7;
    border-left: 1px solid #efebe7;
}

.mobile-options a:hover {
    text-decoration: none;
}

.mobile-options .mobile-control > a {
    color: #332212;
    font-weight: 700;
    text-transform: uppercase;
}

.mobile-options .mobile-control > a i {
    margin-left: 8px;
    color: #50afad;
}

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

.mobile-options .mobile-control .options-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    width: 100%;
    min-width: 320px;
    max-width: 400px;
}

.mobile-options .mobile-control.active .options-dropdown {
    display: block;
    z-index: 100;
}

.mobile-options .mobile-control:first-child .options-dropdown {
    left: 0;
}

.mobile-options .mobile-control:nth-child(2) .options-dropdown {
    left: 50%;
    transform: translateX(-50%);
}

.mobile-options .mobile-control:last-child .options-dropdown {
    right: 0;
}

.mobile-options .mobile-control .options-dropdown .options {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: white;
    padding: 15px;
    margin: 0;
    list-style: none;
    box-shadow: 0px 3px 5px rgba(0,0,0,0.15);
    border-top: 1px solid #efebe7;
}

.mobile-options .mobile-control .options-dropdown .options a {
    color: silver;
}

.mobile-options .mobile-control .options-dropdown .options a.active {
    color: #50afad;
}

.mobile-filters-wrapper {
    background-color: #50afad;
    text-align: left;
}

@media (max-width: 1024px) {
    .mobile-options {
        display: flex;
    }
}

@media (max-width: 640px) {
    [data-sv-viewby="map"] {
        display: none;
    }
    .mobile-options .mobile-control.view .options-dropdown .options {
        justify-content: center;
    }
    .mobile-options .mobile-control.view .options-dropdown .options li {
        margin: 0 10px;
    }
    .mobile-options .mobile-control > a {
        font-size: 14px;
    }
}

/**** End Mobile Filters ****/

/**** Results, Options, Listings Bottom ****/
.flex-wrapper {
    display: flex;
}

.flex-wrapper-col {
    display: flex;
    flex-direction: column;
}

.results-wrapper {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.results-wrapper .results {
    height: 100%;
}

.results-wrapper .results .showGMap {
	display: none;
}

.flex-wrapper-col .options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 50px;
    padding: 2px 0;
    margin: 0;
    border-top: 1px solid #efebe7;
    border-bottom: 1px solid #efebe7;
    font-size: 14px;
}

.flex-wrapper-col .options .flex-cont {
    display: flex;
    align-items: center;
    height: inherit;
}

.flex-wrapper-col .options .flex-cont > div {
    flex: 0 1 auto;
    margin: 0 5px;
    padding: 0;
    height: inherit;
}

.flex-wrapper-col .options .flex-cont .pagination-cont {
    margin-left: auto;
}

.flex-wrapper-col .options .flex-cont > div:nth-child(2) ul li a::before {
    content: "|";
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    right: -90%;
    color: black;
}

.offers-only .flex-wrapper-col .options .flex-cont > div:nth-child(2) ul li a::before {
    right: -77%;
}

.events-only .flex-wrapper-col .options .flex-cont > div:nth-child(2) ul li a::before {
    right: -77%;
}

.flex-wrapper-col .options .flex-cont > div:nth-child(2) ul li:last-child a::before {
    display: none;
}

.flex-wrapper-col .options .flex-cont > div:first-child {
    margin-right: 60px;
}

.flex-wrapper-col .options ul {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    list-style: none;
    height: inherit;
}

.flex-wrapper-col .options .sort-title {
    font-weight: bold;
    margin-right: 25px;
    text-transform: uppercase;
}

.flex-wrapper-col .options li {
    /*position: relative;
    margin-right: 23px;
    height: inherit;
    display: flex;
    flex-direction: column;
    justify-content: center;*/
}

.flex-wrapper-col .options ul li:last-child {
    margin-right: 0;
}

.flex-wrapper-col .options a:hover {
    text-decoration: none;
}

.flex-wrapper-col .options li > a {
	padding: 12px;
	color: silver;
	font-weight: normal;
}

.flex-wrapper-col .options li > a.active {
    color: #50afad;
}

.flex-wrapper-col .options li > a.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #50afad;
}

.flex-wrapper-col .options li .view-by i {
    margin-right: 5px;
}

.listings-bottom {
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 1px solid #efebe7;
    border-bottom: 1px solid #efebe7;
}

@media (max-width: 1024px) {
    .results-wrapper .options {
        display: none;
    }
}

/**** End Results, Options, Listings Bottom ****/

/**** Pagination ****/

.pagination-cont .pagination {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin: 0;
    list-style: none;
}

.pagination-cont .pagination li {
    display: flex;
    align-items: center;
    margin: 0;
}

.pagination-cont .pagination li:nth-child(2) {
    margin: 0 15px;
}

.pagination-cont a:hover {
    text-decoration: none;
}

.pagination-cont .pagination li a {
    color: #332212;
}

.pagination-cont .pagination li i {
    font-size: 26px;
    color: #50afad;
}

.listings-bottom .pagination-cont .pagination li a {
	padding: 12px;
}

ul.pagination li a:hover,
ul.pagination li button:hover {
    background: transparent;
}

/**** End Pagination ****/

/**** Begin Map View Container ****/

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

.shared-map-container .shared-map {
    position: relative;
    height: 100%;
}

.shared-map-container .shared-map .temp-map {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("../jpg/map-img.jpg") center/cover no-repeat;
}

.layout-map .shared-map-container {
    display: block;
    height: 100%;
}

.map-list-cont {
    position: absolute;
    top: 35px;
    left: 35px;
    height: 85%;
    width: 400px;
    overflow: hidden;
    background-color: white;
    padding-bottom: 120px;
    z-index: 1;
}

.map-list-cont .map-list-heading {
    background-color: white;
    padding: 20px 25px;
    text-align: center;
    border-bottom: 1px solid #efebe7;
}

.map-list-cont .map-list-heading h3 {
    margin: 0;
}

.map-list-cont .map-list {
    height: 100%;
}

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

.shared-map-container .map-list .shared-items {
    height: calc(100% - 80px);
    overflow-y: auto;
    background-color: white;
    margin: 0;
    list-style: none;
    padding: 15px 12px 0;
}

.shared-map-container .map-list-pager {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    border-top: 1px solid #efebe7;
}

@media (max-width: 640px) {
    .shared-map-container {
        display: none !important;
    }
}

/**** End Map View Container ****/

/**** Begin Shared Items ****/

/* Begin Items Container */

.shared-items-container {
    padding: 30px 8% 30px 9%;
    width: 100%;
    margin: 0;
}

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

.layout-map [data-sv-items-wrapper] {
    display: none;
}

.layout-list [data-sv-items-wrapper] {
    display: flex;
    flex-direction: column;
}

[data-sv-items-wrapper] > li {
    flex-grow: 0;
    flex-shrink: 1;
    flex-basis: calc(33.3333% - 12px);
	/*display: flex;
	flex: 0 0 25%;*/
    height: auto;
    min-width: 255px;
    margin: 0 6px 12px;
}

.shared-items-container .shared-items {
    width: 100%;
    /*max-width: 830px;*/
}

.events-only.layout-grid .shared-items-container .event-date-heading {
	display: none;
}

@media (max-width: 1024px) {
    .shared-items-container {
        padding: 30px 15px;
    }
    [data-sv-items-wrapper] > li {
        flex-grow: 0;
        flex-shrink: 0;
        flex-basis: calc(50% - 12px);
    }
    .shared-items-container .shared-items {
        max-width: none;
    }
}

@media (max-width: 640px) {
    [data-sv-items-wrapper] > li {
        flex: 0 0 100%;
        margin: 0 0 12px;
    }
    .shared-items-container {
        padding: 10px 15px;
    }
}

@supports (display: grid) {
    [data-sv-items-wrapper] {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(275px, 1fr));
    }
}
/* End Items Container */

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

.shared-item .thumb {
    display: block;
    width: 100%;
    height: 100%;
}

.shared-items .shared-item .img-cont {
    position: relative;
    flex: 0 1 auto;
}

.shared-items .shared-item .img-cont .feat-badge {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 6px;
    color: white;
    font-size: 16px;
    text-transform: uppercase;
    text-align: center;
    z-index: 1;
}

.shared-items .shared-item .img-cont .feat-badge::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #50afad;
    opacity: 0.8;
    z-index: -1;
}

.shared-items .shared-item .content {
    flex: 1 1 auto;
    padding: 15px 10px 20px;
    border-left: 1px solid #efebe7;
    border-right: 1px solid #efebe7;
    border-bottom: 1px solid #efebe7;
}

.shared-items .shared-item .content .title {
    color: #332212;
    font-size: 19px;
    line-height: 25px;
    letter-spacing: 0;
    margin-bottom: 5px;
}

.shared-items .shared-item .content .title a {
    font-size: inherit;
    color: inherit;
}

.shared-items .shared-item .content .title a:hover {
    text-decoration: none;
}

.shared-items .shared-item .content .distance { 
    font-size: 16px;
    font-style: italic;
    margin-bottom: 5px; 
}

.shared-items .shared-item .content .address,
.shared-items .shared-item .content .active-date {
    font-size: 16px;
    line-height: 20px;
    margin-bottom: 5px;
    width: 75%;
}

.shared-items .shared-item .content .listing-btns a {
    font-weight: 700;
    font-size: 15px;
    color: #50afad;
}

.shared-items .shared-item .content .listing-btns a:hover {
    text-decoration: none;
}

@media (max-width: 640px) {
    .shared-items .shared-item .content .title {
        font-size: 20px;
    }
    .shared-items .shared-item .img-cont .feat-badge {
        padding: 3px;
    }
}

/* Begin Map View */

.layout-map .shared-map-container .shared-items .shared-item {
    flex-direction: row;
    width: 100%;
    margin-bottom: 10px;
}

.layout-map .shared-items .shared-item .img-cont {
    width: 150px;
    overflow: hidden;
}

.layout-map .shared-items .shared-item .thumb {
    position: absolute;
    top: 50%;
    left: 50%;
    width: auto;
    max-width: none;
    transform: translate(-50%, -50%);
}

.layout-map .shared-items .shared-item .content {
    padding-top: 10px;
    border-top: 1px solid #efebe7;
}

.layout-map .shared-items .shared-item .content .address {
    width: 100%;
}

/* End Map View */

/* Begin List View */

.layout-list [data-sv-items-wrapper] > li {
    flex: auto;
    width: 100%;
}

.layout-list .shared-items .shared-item {
    flex-direction: row;
    height: 100%;
}

.layout-list .shared-items .shared-item .img-cont {
    flex: 0 1 auto;
}

.layout-list .shared-items .shared-item .content {
    flex: 1 1 auto;
    height: auto;
    border-left: 0;
    border-top: 1px solid #efebe7;
    padding-left: 25px;
}

@media (max-width: 640px) {
    .layout-list .shared-items .shared-item .img-cont {
        flex: 0 1 100px;
        overflow: hidden;
        min-width: 100px;
    }
    .layout-list .shared-items .shared-item .thumb {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: auto;
        max-width: none;
    }
    .layout-list .shared-items .shared-item .img-cont .feat-badge {
        font-size: 14px;
    }
    .layout-list .shared-items .shared-item .content {
        padding: 5px 10px;
    }
    .layout-list .shared-items .shared-item .content .title {
        font-size: 16px;
        line-height: 18px;
    }
	.layout-list .shared-items .shared-item .content .address,
	.layout-list .shared-items .shared-item .content .active-date {
        width: 100%;
        font-size: 14px;
        line-height: 17px;
        margin-bottom: 5px;
    }
    .layout-list .shared-items .shared-item .content .listing-btns a {
        font-size: 14px;
    }
    .layout-list [data-sv-items-wrapper] > li {
        margin: 0 0 12px;
    }
}

/* End List View */

/**** End Shared Items ****/
