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

.shared-layout .flex-wrapper {
    display: flex;
}

.shared-layout .results-wrapper {
    width: 100%;
}

/* Custom styled checkboxes */

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

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: #618fb3;
    border: 1px solid white;
    border-radius: 2px;
    width: 15px;
    height: 15px;
    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: 13px;
    height: 13px;
    font-family: FontAwesome;
    font-size: 9px;
    font-weight: 100;
    content: '\f00c';
    background-color: #e0bd6e;
    color: white;
    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 input.disabled[type="checkbox"] + label,
.filters input.disabled[type="checkbox"] { display: none; }

.desktop-filters .shared-input {
    height: 45px;
    line-height: 40px;
    font-size: 16px;
    border: none;
}

.filters-wrapper {
    width: 320px;
    margin-top: 47px;
    height: calc(100% - 47px);
    background-color: #618fb3;
}

.filters {
    position: relative;
    padding: 25px;
    height: 100%;
    z-index: 1;
}

.filters::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 10px;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    border: 1px solid white;
    z-index: 2;
    pointer-events: none;
}

.filters .close {
    display: inline-block;
    width: 12px;
    height: 12px;
    content: '';
    position: absolute;
    top: 8px;
    right: 2px;
    background-image: url('../includes/public/assets/images/ic-cancel.svg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    cursor: pointer;
}

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

.filters .filter-by {
    display: inline-block;
    margin-bottom: 30px;
    font-size: 32px;
    font-family:'Lucida Fax W01 Regular';
    color: white;
    text-transform: uppercase;
    letter-spacing: 3px;
}

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

.filters form {
	display: inline-block;
	width: 100%;
	height: 100%;
}

.filters .form-group {
    position: relative;
}

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

.filters button.shared-submit {
    position: absolute;
    right: 0;
    bottom: 0;
    height: 45px;
    width: 50px;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #e0bd6e;
    color: white;
    padding: 0;
}

.filters button.shared-submit .fa {
    font-size: 20px;
}

.filters button.clear-filters {
    display: block;
    width: 100%;
    text-align: center;
    padding: 8px 18px;
    margin-bottom: 10px;
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
    background-color: #e0bd6e;
    z-index: 100;
}

.filters .filter-label {
    color: white;
    font-size: 22px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 3px;
}

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

.filters ul.filter-items > li {
	display: none;
    font-size: 16px;
    color: #fff;
    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 {
    background-color: transparent;
    padding: 0;
    margin: 10px 0;
    color: #e0bd6e;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    z-index: 100;
    letter-spacing: 0.05em;
}

.filters .show-more > i.fa {
    margin-left: 2px;
	font-size: 18px;
	font-weight: normal;
	color: #e0bd6e;
	line-height: 18px;
	vertical-align: middle;
}

.filters .show-more.active > i.fa {
    transform: rotate(180deg);
}

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

.filters ul.filter-items > li > label > span {
    color: white;
    display: inline-block;
    margin-left: 5px;
    letter-spacing: 1px;
}

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

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

.controlled-width-listing {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.options-wrapper {
    width: calc(100% + 320px);
    transform: translateX(-320px);
    border-top: 1px solid #e9eae9;
}

ul.options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    margin: 0;
    list-style: none;
    height: 47px;
}

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

ul.options > li > a {
    color: #918a3c;
}

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; }

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

ul.options li > a {
    display: inline-block;
    padding: 11px 12px 9px;
    font-size: 16px;
    line-height: 25px;
    color: #909492;
    text-align: center;
}

ul.options li > a.active {
    color: #e0bd6e;
}

ul.options .sort-title {
    font-weight: bold;
    color: #505151;
    margin-right: 15px;
}

ul.mobile-options {
    display: flex;
    width: 100%;
    position: relative;
    padding: 0;
    margin: 0px;
    list-style: none;
    background-color: white;
    text-align: center;
}

ul.mobile-options > li {
    position: relative;
    flex: 1;
    background-color: #e0bd6e;
    text-align: center;
}

ul.mobile-options > li:nth-child(2) {
    margin: 0 2px;
}

ul.mobile-options > li > a {
    display: block;
    width: 100%;
    padding: 15px 10px;
    font-size: 14px;
    font-weight: 600;
    line-height: 22px;
    color: white;
    text-align: center;
}

ul.mobile-options > li .fa {
	position: relative;
	top: 2px;
    color: white;
    font-size: 18px;
    margin-left: 5px;
}

 ul.mobile-options > li .options li .fa {
     color: #909492;
}

 ul.mobile-options > li .options li a.active > .fa {
     color: #e0bd6e;
}

 ul.mobile-options > li.sort .options {
     flex-direction: column;
 }

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

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

ul.mobile-options .options-dropdown {
    position: absolute;
    left: 0;
    top: 100%;
    z-index: 10;
    display: none;
}

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

ul.mobile-options li.view .options-dropdown {
    left: 50%;
    transform: translateX(-50%);
}

ul.mobile-options li.sort .options-dropdown {
    right: 0;
    left: auto;
}

ul.mobile-options > li.active > .options-dropdown .mobile-filters-wrapper {
    width: 320px;
    text-align: left;
    overflow-y: scroll;
    background-color: #618fb3;
}

ul.mobile-options > li.active > .options-dropdown > ul.options {
    display: flex;
    width: 100%;
    min-width: 320px;
    height: auto;
    padding: 15px;
    background-color: white;
    box-shadow: 0px 2px 8px rgba(0,0,0,0.1);
}

ul.mobile-options .options-dropdown > ul.options a {
    padding: 5px;
}

ul.mobile-options li.filter.active .tab-title::before {
    content: 'Close ';
    line-height: 30px;
}
ul.mobile-options li.filter.active a {
	letter-spacing: -0.03em;
	padding: 11px 5px 9px;
}

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

ul [data-sv-distanceSort] {
	opacity: 0.5;
	height: auto;
}

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

.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 {
    position: absolute;
    top: 35px;
    left: 35px;
    z-index: 9;
    width: 400px;
    height: 85%;
    background-color: white;
    overflow: hidden;
    padding-bottom: 100px;
    box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.3);
}

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

.layout-map .map-list-heading {
    border-bottom: 1px solid #f4f4f0;
    padding: 10px;
}

.layout-map .map-list-heading h3 {
    margin-bottom: 5px;
}

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

.layout-map .map-list-cont .pagination .pagination-next,
.layout-map .map-list-cont .pagination .pagination-prev {
    width: 130px;
    font-size: 16px;
    border-radius: 0px;
    background-color: #e0bd6e;
    padding: 15px 25px;
    color: white;
    text-align: center;
    text-transform: uppercase;
}

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

.layout-map .map-list-cont .listings-bottom {
    display: block;
}

.shared-items-container {
    width: 100%;
    padding: 40px 25px 0;
    border-top: 1px solid #e9eae9;
}

@media (max-width: 641px) {
    .shared-items-container {
        padding: 20px 0;
    }
}

.shared-items {
    margin-bottom: 4px;
}

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

.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 {
    position: relative;
    flex-shrink: 1;
    flex-basis: 33.3333%;
    padding: 0 15px;
    margin: 0 0 50px;
    border-bottom: 2px solid #f4f4f0;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 1024px) {
	.shared-layout {
		margin-bottom: 60px;
	}
    .layout-grid [data-sv-items-wrapper] > li {
        flex-basis: calc(50% - 30px);
        max-width: 50%;
    }
}

@media (max-width: 641px) {
	.shared-layout {
		margin-bottom: 30px;
	}
    .layout-grid [data-sv-items-wrapper] > li {
        flex-basis: 100%;
        max-width: 100%;
        margin: 0 15px 20px;
        padding: 0;
    }
}

.layout-grid [data-sv-items-wrapper] > li:nth-last-child(-n+3) {
    border-bottom: transparent;
}

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

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

.layout-list .shared-items .shared-item {
    display: flex;
    margin-bottom: 35px;
    padding-left: 0;
    box-shadow: 0px 2px 8px rgba(0,0,0,0.1);
}

.layout-map .shared-items .shared-item {
    display: flex;
    margin-bottom: 0;
    padding-left: 0;
    border-bottom: 2px solid #f4f4f0;
}

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

.layout-map .shared-items .shared-item .contents {
    width: 100%;
    padding: 4px 8px;
}

.layout-list .shared-items .shared-item .contents .address,
.layout-map .shared-items .shared-item .contents .address {
    margin-bottom: 10px;
}

.layout-list .shared-items .shared-item .contents .address.distance {
	width: 100%;
	margin-bottom: 5px;
}

.layout-map .shared-items .shared-item .contents .address.distance {
	width: 100%;
	margin-bottom: 0;
	margin-top: 5px;
}

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

.layout-list .shared-items .shared-item .listing-btns .book-now,
.layout-map .shared-items .shared-item .listing-btns .book-now {
    margin: 0 0 0 25px;
    font-size: 13px;
}

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

.layout-map .shared-items .shared-item .image-container {
    width: 140px;
    max-height: 85px;
}

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

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

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

.layout-map .results-wrapper .clearfix {
    display: none;
}

.shared-items .shared-item {
    position: relative;
}

.shared-items .shared-item.featured .feat-listing {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 4px;
    color: white;
    text-transform: uppercase;
    text-align: left;
    font-size: 12px;
    background-color: #ce5323;
    z-index: 5;
}

.shared-items .shared-item .image-container {
    position: relative;
    z-index: 1;
}

.shared-items .shared-item .image-container::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 10px;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    border: 1px solid white;
    z-index: 2;
    pointer-events: none;
}

.layout-map .shared-items .shared-item .image-container::before {
    top: 5px;
    left: 5px;
    width: calc(100% - 10px);
    height: calc(100% - 25px);
    min-height: 60px;
}

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

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

.shared-items .shared-item .contents {
    padding: 10px 0 40px;
    text-align: left;
}

.shared-items .shared-item .contents h2 {
    font-family:'Lucida Fax W01 Regular';
    font-size: 22px;
    line-height: 30px;
    margin: 0 0 5px 0;
    letter-spacing: 0;
}

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

.shared-items .shared-item .contents .address {
    display: inline-block;
    color: #505151;
    font-size: 16px;
    line-height: 22px;
    margin-bottom: 20px;
}

.shared-items .shared-item .contents .address .fa {
    color: #e0bd6e;
    font-size: 16px;
    margin-right: 5px;
}

.shared-items .shared-item .contents .date { margin-bottom: 5px; }

.shared-items .shared-item .listing-btns span > span:first-child { margin-right: 10px; }
.shared-items .shared-item .listing-btns span > span:last-child { margin-left: 10px; }

.shared-items .shared-item .listing-btns a {
    display: inline-block;
    color: #505151;
    width: auto;
}

.shared-items .shared-item .listing-btns .fa {
    color: #43a5d1;
    margin-right: 5px;
}

.shared-items .shared-item .listing-btns .book-now {
    padding: 8px 12px;
    border: 2px solid #918a3c;
    color: #918a3c;
    font-weight: bold;
    font-size: 15px;
    margin: 25px 0;
}

@media (max-width: 641px) {
    .shared-items .shared-item .contents {
        padding: 10px 0 20px;
    }
    a[data-sv-viewby="map"] {
        display: none !important;
    }
    ul.mobile-options > li.view > .options-dropdown > ul.options {
        justify-content: center;
    }
    .layout-list .shared-items .shared-item {
        margin-bottom: 15px;
    }
    .layout-list .shared-items .shared-item .contents {
        padding: 10px;
    }
    .layout-list .shared-items .shared-item .contents h2 {
        font-size: 20px;
        line-height: 24px;
    }
    .layout-list .shared-items .shared-item .contents .address {
        font-size: 14px;
        line-height: 18px;
        margin-bottom: 5px;
    }
    .layout-list .shared-items .shared-item .listing-btns a {
        font-size: 14px;
    }
    .layout-list .shared-items .shared-item .image-container::before {
        top: 5px;
        left: 5px;
        width: calc(100% - 10px);
        height: calc(100% - 10px);
    }
    .layout-list .shared-items .shared-item .image-container {
        align-self: flex-start;
    }
}

.listings-bottom {
    border-bottom: 1px solid #e9eae9;
    padding-bottom: 20px;
}

.listings-bottom .listings-bottom-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.listings-bottom .back-to-btn {
    color: #e0bd6e;
}

.listings-bottom .back-to-btn i {
     color: #e0bd6e;
     margin-left: 8px;
     font-size: 20px;
}

 @media (max-width: 641px) {
     .listings-bottom .listings-bottom-wrapper {
         flex-direction: column;
     }
     .listings-bottom .back-btn-cont {
         margin-bottom: 15px;
     }
}

.shared-layout .pagination {
    list-style: none;
    margin: 0;
    text-align: right;
}

.shared-layout .pagination > li {
    display: inline-flex;
    float: none;
    align-items: center;
    font-size: 16px;
    font-weight: 600;
    color: #505151;
}

.shared-layout .pagination > li.count-cont {
	padding: 0 13px 8px 12px;
	vertical-align: middle;
}

.shared-layout .pagination > li a { padding: 11px 0px 9px; }

.shared-layout .pagination > li a:hover {
    background-color: transparent;
}

.shared-layout .pagination a > .fa.fa-angle-double-left {
    font-size: 20px;
    margin-right: 15px;
    color: #909492;
}

.shared-layout .pagination .pagination-prev,
.shared-layout .pagination .pagination-next {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 20px;
    height: 20px;
    background-color: #e0bd6e;
    color: white;
}

.shared-layout .pagination-prev i,
.shared-layout .pagination-next i {
    font-size: 20px;
    color: white;
}

.shared-layout .pagination a > .fa.fa-angle-double-right {
    font-size: 20px;
    margin-left: 15px;
    color: #909492;
}

@media (max-width: 1024px) {

}

@media (max-width: 641px) {

}
