.shared-layout {
    width: 100%;
    margin: 0 auto;
    background: #00473c;
}

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

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';
    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-wrapper {
    float: left;
    width: 300px;
}

.filters {
    position: relative;
    padding: 30px 25px;
    background-color: #00473c;
    overflow-y: auto;
    overflow-x: hidden;
}

.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 .filter-by {
    display: inline-block;
    margin-bottom: 30px;
    font-size: 20px;
    font-weight: bold;
    color: black;
}

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

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

.filters .form-group input::-webkit-input-placeholder {
    opacity: 1;
    color: #7f8b9b;
    font-style: italic;
}
.filters .form-group input::-moz-placeholder {
    opacity: 1;
    color: #7f8b9b;
    font-style: italic;
}
.filters .form-group input:-ms-input-placeholder {
    opacity: 1;
    color: #7f8b9b;
    font-style: italic;
}
.filters .form-group input:-moz-placeholder {
    opacity: 1;
    color: #7f8b9b;
    font-style: italic;
}

.filters input.shared-input.input-text {
    width: 100%;
    height: 40px;
    padding: 0px 15px;
    margin-right: 0;
    margin-bottom: 35px;
    background-color: #fff;
    border: transparent;
    font-size: 17px;
}

.filters button.shared-submit {
    position: absolute;
    right: 0;
    left: auto;
    top: 0;
    bottom: 0;
    background-color: #0094ad;
    margin: 0;
    padding: 0 12px;
    color: #fff;
}

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

.filters a.clear-filters {
    display: block;
    text-align: center;
    padding: 15px 18px;
    margin-bottom: 10px;
    border: 2px solid #fff;
    color: #fff;
    text-transform: uppercase;
}

.filters .filter-label {
    font: 400 19px/1 'Ridley Grotesk W05 Regular', sans-serif;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 15px;
    letter-spacing: 3px;
}

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

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

.filters .show-more {
    font: 400 17px/1 'Ridley Grotesk W05 Regular', sans-serif;
    text-transform: uppercase;
    padding: 0;
    margin: 10px 0 15px;
    color: #fff;
}

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

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

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

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

.results-wrapper {
    margin-left: 300px;
}

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

.controlled-width-listing {
    max-width: 1182px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.options .controlled-width-listing {
    max-width: none;
    margin: 0 10px;
    margin-left: 19%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

ul.options {
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
    border-bottom: 1px solid #7f8b9b;
    border-top: 1px solid #7f8b9b;
    background-color: #fff;
}

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

ul.options > li > a {
    font: 400 15px/1 'Ridley Grotesk W05 Regular', sans-serif;
    color: #001737;
    text-transform: uppercase;
}

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 .controlled-width-listing > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

ul.options .controlled-width-listing > div > li > a {
    display: inline-block;
    padding: 11px 12px 9px;
    font-size: 16px;
    line-height: 25px;
    color: #001737;
    text-align: center;
    border-bottom: 2px solid transparent;
    text-transform: uppercase;
}
ul.options .controlled-width-listing > div > li > a i {
    color: #7f8b9b;
    margin-right: 5px;
}

ul.options .controlled-width-listing > div > li > a.active,
ul.options .controlled-width-listing > div > li > a.active > i {
    color: #0094ad;
}
ul.options .controlled-width-listing > div > li > a.active > i {
}

ul.options li.sort-title {
    font-size: 17px;
    font-weight: 500;
    color: #001737;
    text-transform: uppercase;
    letter-spacing: 3.5px;
}
ul.options .sort-by li.active::after {
    content: "|";
    display: inline-block;
    transform: translateY(-100%);
}
ul.options .sort-by li::after { 
    display: none;
}
ul.options .sort-by li:first-of-type::after,
ul.options .sort-by li:last-of-type::after {
    display: none;
}

ul.mobile-options {
    display: none;
    width: 100%;
    position: relative;
    padding: 0;
    margin: 0px;
    list-style: none;
    border-top: 1px solid #7f8b9b;
    border-bottom: 1px solid #7f8b9b;
    text-align: center;
    background-color: #fff;
}

ul.mobile-options > li {
    position: relative;
    display: inline-block;
    vertical-align: top;
    border-right: 1px solid #7f8b9b;
    width: 32%;
    padding: 16px 0px;
}

ul.mobile-options > li:last-of-type {
    border-right: 0;
}

ul.mobile-options > li > a {
    font-size: 15px;
    font-weight: 500;
    color: #001737;
    text-transform: uppercase;
    letter-spacing: 2px;
}

ul.mobile-options > li .far {
     color: #7f8b9b;
     font-size: 16px;
     margin-left: 8px;
    }

ul.mobile-options > li.active a > .fa {
}

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

ul.mobile-options .options-dropdown {
    position: absolute;
    left: -15px;
    z-index: 10;
    display: none;
    top: calc(100% + 1px);
}

ul.mobile-options .options-dropdown::before {
    display: block;
    width: 0;
    height: 0;
    content: '';
    position: absolute;
    top: -12px;
    left: 50%;
    z-index: 99;
    transform: translateX(-50%);
}

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

ul.mobile-options .options-dropdown.centered {
    right: 0;
    left: 0;
    width: 100%;
}

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

ul.mobile-options > li.active > .options-dropdown > ul.options {
    display: block;
    width: auto;
    padding: 0px 5px 5px;
    background-color: #fff;
}

ul.mobile-options li.filter.active .tab-title::before {
    content: 'Close ';
}
ul.mobile-options li.filter.active a { padding: 11px 5px 9px; }

.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: 840px;
}

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

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

.layout-map .map-list-heading {
    border-bottom: 3px solid whitesmoke;
}
.map-list-heading.item-list-header h3 {
    margin-bottom: 0;
    padding: 15px;
}
.layout-map .map-list-cont ul.pagination {
    display: flex;
    justify-content: center;
    margin: 0px;
}

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

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

.shared-items-container {
    width: 100%;
    padding-top: 30px;
    padding-bottom: 30px;
    background-color: #fdfcf8;
}

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

[data-sv-items-wrapper] {
    list-style: none;
    margin-left: 55px;
}

[data-sv-items-wrapper].grid-view {
    display: flex;
    flex-flow: wrap;
    flex-direction: row;
    align-content: flex-start;
    justify-content: center;
}

[data-sv-items-wrapper].grid-view > li {
    width: 33.3333%;
    padding: 0;
    margin-bottom: 25px;
    max-width: 320px;
    min-width: 308px;
    display: flex;
}

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

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

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

.layout-list .shared-items .shared-item {
    display: flex;
    margin-bottom: 35px;
    padding-left: 0;
    max-width: 840px;
    margin: 0px 0px 20px;
    flex-direction: row;
}

.layout-map .shared-items .shared-item {
    display: flex;
    margin-bottom: 0;
    padding-left: 0;
    border-bottom: 2px solid whitesmoke;
    padding: 0px;
}
.layout-map .shared-items .shared-item a {
    display: flex;
}
.layout-list .shared-items .shared-item .contents {
    flex: 1 1 50%;
    padding: 10px 25px 5px;
    margin: 10px 0px;
    margin-left: -35px;
}

.layout-map .shared-items .shared-item .contents {
    flex: 1 1 60%;
    padding: 4px 8px;
    margin: 0px 0px 0px;
}

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

.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.featured .feat-listing {
    padding: 9px 10px;
}
.layout-list .shared-items .shared-item .listing-btns {
    display: flex;
    justify-content: space-between;
}

.layout-list .shared-items .shared-item .image-container {
    flex: 0 1 300px;
}

.layout-map .shared-items .shared-item .image-container {
    flex: 1 1 40%;
    height: 125px;
}

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

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

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

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

.shared-items .shared-item {
    position: relative;
    padding: 0 10px;
    display: flex;
    flex-direction:column;
    flex:1;
}

.shared-items .shared-item.featured .feat-listing {
    position: absolute;
    top: auto;
    bottom: 0px;
    left: 5px;
    right: 5px;
    padding: 9px 10px 42px;
    color: white;
    text-transform: uppercase;
    text-align: center;
    font-size: 14.5px;
    letter-spacing: 1px;
    background-color: rgba(0,148,173,0.8);
}

.shared-items .shared-item .image-container {
    position: relative;
    display: flex;
    overflow: hidden;
}
.shared-items .shared-item .image-container::after {
    content: '';
    position: absolute;
    top: 0px;
    left: 15px;
    right: 15px;
    height: 15px;
    background-image: url(/includes/public/assets/orange-pattern.svg);
}

.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: 15px 20px 35px;
    text-align: left;
    background-color: #fff;
    margin: -37px 10px 0px;
    position: relative;
    box-shadow: 0px 0px 15px rgba(0,0,0,0.15);
    flex: 1;
    flex-basis: auto;
}
.shared-items .shared-item .contents::after {
    content: "";
    position: absolute;
    bottom: 0px;
    left: 20px;
    right: 20px;
    height: 15px;
    background-image: url(/includes/public/assets/orange-pattern.svg);
}

.shared-items .shared-item .contents h2 {
    font: 400 19px/1.15 'Ridley Grotesk W05 Regular', sans-serif;
    color: #001737;
    text-transform: uppercase;
    margin: 0 0 4px 0;
    letter-spacing: 2px;
    word-break: break-word;
}

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

.shared-items .shared-item .contents .address {
    font-size: 16px;
    line-height: 1.35;
    margin-bottom: 26px;
}
.shared-items .shared-item .contents p.address a {
    font-family: 'Ridley Grotesk W05 Regular', sans-serif, sans-serif;
    color: #7f8b9b;
}
.shared-items .shared-item .contents .action {
    position: absolute;
    bottom: 32px;
    right: 21px;
}
.shared-items .shared-item .contents .address .fa {
    display: none;
}

.shared-items .shared-item .listing-btns a {
    display: inline-block;
    text-transform: uppercase;
    color: #0094ad;
}

.shared-items .shared-item .listing-btns a:first-of-type {
    margin-right: 25px;
}
.shared-items .listing-btns {
    position: absolute;
    right: 21px;
    bottom: 34px;
}
[data-sv-distancesort] {
    opacity: 0.5;
    pointer-events: none;
}
.distanceSort {
    visibility: hidden;
}
.shared-items .shared-item .listing-btns a.details {
    float: right;
    margin-right: 0;
}
.shared-items .shared-item .listing-btns .book-now {
    
}

.shared-items .shared-item i.fas.fa-info-circle {
    color: #0094ad;
}
.listings-bottom {
    padding-bottom: 30px;
}

.back-to-btn {
    color: black;
}

.back-to-btn i {
     color: #7f8b9b;
     margin-left: 8px;
     font-size: 20px;
 }

ul.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    list-style: none;
    margin: 0px 0px 60px;
    text-align: right;
    border-bottom: 1px solid #7f8b9b;
    border-top: 1px solid #7f8b9b;
    background: #fff;
}

ul.pagination > li {
    display: inline-flex;
    align-items: center;
    float: none;
    font-size: 17px;
    letter-spacing: 3px;
}
ul.pagination > li > a {
    color: #7f8b9b;
}

ul.pagination > li a:hover {
    background-color: transparent;
}
ul.pagination i {
    font-size: 26px;
}
ul.pagination .pagination-prev {
    margin-left: 15px;
}
ul.pagination .pagination-next {
    margin-right: 15px;
}
ul.pagination span.pagination-first i:nth-child(2) {
    margin-left: -8px;
}
ul.pagination span.pagination-last i:nth-child(2) {
    margin-left: -6px;
}
@media screen and (min-width: 40.063em) {
    ul.pagination {
        margin: 0px 0px 100px;
        padding-right: 15px;
    }
    ul.mobile-options > li > a {
        font-size: 17px;
    }
    ul.pagination {
        justify-content: flex-end;
    }
}

@media (max-width: 1024px) {
    .layout-list [data-sv-items-wrapper] {
        flex-direction: column;
        margin-left: 0px;
    }
    [data-sv-items-wrapper] {
        list-style: none;
        margin-left: 0px;
    }
    .shared-items-container {
        padding-left: 25px;
        padding-right: 25px;
    }
    .desktop-filters,
    ul.options {
        display: none;
    }
    .results-wrapper {
        margin-left: 0;
    }
    ul.mobile-options {
        display: block;
    }
    .layout-list .shared-items .shared-item {
        padding-left: 15px;
    }
    ul.mobile-options > li.active > .options-dropdown .mobile-filters-wrapper {
        width: 315px;
    }
}

@media (max-width: 800px) {
    [data-sv-items-wrapper].grid-view > li {
        width: 50%;
    }
    [data-sv-items-wrapper].grid-view {
        justify-content: center;
    }
}

@media (max-width: 641px) {
    [data-sv-items-wrapper].grid-view > li {
        width: 100%;
    }
    ul.mobile-options > li.active > .options-dropdown > ul.options {
        position: relative;
        width: 300px;
        left: -100px;
    }
    ul.mobile-options > li:last-child.active > .options-dropdown > ul.options {
        position: relative;
        width: 300px;
        left: -205px;
    }
    .layout-map .map-list-cont {
        display: none;
    }
    .shared-items-container {
        padding-left: 10px;
        padding-right: 10px;
    }
    .back-btn-cont {
        display: flex;
        justify-content: center;
        margin-bottom: 20px;
    }
    ul.pagination-container {
        display: flex;
        justify-content: center;
    }
}

ul.filter-items li {
    display: none;
}
ul.filter-items.showmore li,
ul.filter-items li:nth-child(1),
ul.filter-items li:nth-child(2),
ul.filter-items li:nth-child(3),
ul.filter-items li:nth-child(4),
ul.filter-items li:nth-child(5) {
    display: block;
}
ul.filter-items li.showmore {
    font: 400 17px/1 'Ridley Grotesk W05 Regular', sans-serif;
    text-transform: uppercase;
    padding: 0;
    margin: 10px 0 15px;
    color: #fff;
    margin-bottom: 38px;
}
span.sep {
    position: absolute;
    top: 14px;
    left: 69px;
}
li.distanceSort .sep {
    left: 0;
}
.sort-by li {
    position: relative;
}
