.shared-layout.listings {
    --dark-blue: #1e497f;
    --light-blue: #8fbae4;
    --yellow: #ffc709;
    --red: #eb5152;
    --button-hover: #d2474a;
    --font-calendar: "CooperHewittMedium";
    --font-button: "CooperHewittBook",sans-serif;
    --font-price: "CooperHewittSemibold", sans-serif;
}

.shared-layout.listings .results {
    padding: 0;
}

.shared-layout.listings .layout-cont {
    display: grid;
    grid-template-columns: auto;
}

.shared-layout.listings .pager-top {
    display: none;
}

.shared-layout.listings .desktop-filters,
.shared-layout.listings .desktop-filters > .filter-pane,
.shared-layout.listings .desktop-filters > .filter-pane > .filters {
    height: 100%;
}

.shared-layout.listings .desktop-filters {
    display: none;
}

.shared-layout.listings .desktop-options {
    display: flex;
    margin: 0 0 20px;
    background-color: #fff;
    border-top: 1px solid #d8d7d7;
    border-bottom: 1px solid #d8d7d7;
}

.shared-layout.listings .desktop-options ul.options {
    border: none;
}

.shared-layout.listings .desktop-options li {
    list-style-type: none;
    margin: 0 10px;
}

.shared-layout.listings .desktop-options .price-asc,
.shared-layout.listings .desktop-options .price-desc {
    align-items: center;
}

.shared-layout.listings .mobile-options .price-asc span::after,
.shared-layout.listings .desktop-options .price-asc span::after {
    content: '\f162';
    font-family: 'FontAwesome';
    margin-left: 5px;
    transition: color 0.25s ease;
    color: #404040;
}

.shared-layout.listings .mobile-options .price-desc span::after,
.shared-layout.listings .desktop-options .price-desc span::after {
    content: '\f163';
    font-family: 'FontAwesome';
    margin-left: 5px;
    transition: color 0.25s ease;
    color: #404040;
}

@media (hover: hover) {
    .shared-layout.listings .desktop-options .price-asc:hover span::after,
    .shared-layout.listings .desktop-options .price-desc:hover span::after {
        color: var(--red);
    }
}

.shared-layout.listings .shared-items-container .shared-items {
    padding: 0 20px;
}

.shared-layout.listings.layout-map .shared-items {
    display: none;
}

.shared-layout.listings .daterange-calendar {
    margin-bottom: 30px;
    font-family: var(--font-calendar);
    text-transform: uppercase;
}

.shared-layout.listings .daterange-calendar .next i,
.shared-layout.listings .daterange-calendar .prev i {
    font-size: 22px;
    color: var(--red);
}

.shared-layout.listings .daterange-calendar .month-wrapper,
.shared-layout.listings .daterange-calendar .month-wrapper table {
    width: 100% !important;
}

.shared-layout.listings .daterange-calendar .month-wrapper table thead,
.shared-layout.listings .daterange-calendar .month-wrapper table tr {
    background: var(--dark-blue);
}

.shared-layout.listings .daterange-calendar .month-wrapper table tr {
    border-bottom: 1px solid var(--red);
}

.shared-layout.listings .daterange-calendar .month-wrapper table thead > tr {
    border: none;
}

.shared-layout.listings .daterange-calendar .month-wrapper table thead > tr > th {
    width: 100% !important;
}

.shared-layout.listings .daterange-calendar .month-wrapper table thead > tr > th:last-of-type {
    display: flex;
    justify-content: flex-end;
}

.shared-layout.listings .daterange-calendar .month-wrapper table td > div {
    color: white;
}

.shared-layout.listings .daterange-calendar .month-wrapper table td > div.invalid {
    color: var(--light-blue);
    opacity: 0.25;
}

.shared-layout.listings .daterange-calendar .month-wrapper table td > div.valid {
    cursor: pointer;
}

.shared-layout.listings .daterange-calendar .month-wrapper table td > div.valid.checked,
.shared-layout.listings .daterange-calendar .month-wrapper table td > div.valid:hover {
    color: var(--yellow);
}

.shared-layout.listings .daterange-calendar .month-wrapper table td > div {
    display: flex;
    align-items: center;
    justify-content: center;
}

.shared-layout.listings .daterange-calendar .month-wrapper .month-name {
    text-align: center;
    color: var(--yellow);
}

.shared-layout.listings .daterange-calendar .month-wrapper .week-name th {
    color: var(--red);
}

.shared-layout.listings ul[data-sv-items-wrapper].grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(259px, 1fr));
}

.shared-layout.listings ul[data-sv-items-wrapper].list {
    display: grid;
    grid-template-columns: 1fr;
}

.shared-layout.listings ul[data-sv-items-wrapper]::before {
    display: none;
}

.shared-layout.listings ul[data-sv-items-wrapper] > li {
    display: grid;
    width: 100%;
}

.shared-layout.listings.layout-grid .shared-items .shared-item {
    display: flex;
    flex-direction: column;
}

.shared-layout.listings.layout-grid .shared-items .shared-item .contents {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.shared-layout.listings.layout-grid .shared-items .shared-item .contents .tripbuilder {
    margin-top: auto;
}

.shared-layout.listings .shared-items .shared-item .contents .details-wrapper {
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: flex-end;
    margin-top: auto;
}

.shared-layout.listings.layout-list .shared-items .shared-item .contents .details-wrapper {
    max-width: 300px;
}

.shared-layout.listings .shared-items .shared-item .booking-cont {
    text-align: center;
}

.shared-layout.listings .shared-items .shared-item .booking-cont p {
    font-family: var(--font-button);
    font-size: 13px;
    line-height: 22px;
    color: #404040;
    margin-bottom: 8px;
}

.shared-layout.listings .shared-items .shared-item .booking-cont p span {
    display: block;
    font-size: 18px;
    font-weight: bold;
    font-family: var(--font-price);
}

.shared-layout.listings .shared-items .shared-item .booking-cont a {
    display: inline-block;
    background-color: var(--red);
    border-radius: 3px;
    color: #fff;
    font-family: var(--font-button);
    font-size: 13px;
    letter-spacing: 0.05em;
    line-height: 1em;
    padding: 11px 15px;
    margin-bottom: 15px;
}

.shared-layout.listings .shared-items .shared-item .booking-cont a::after {
    content: "";
    font-family: FontAwesome;
    position: relative;
    right: -7px;
}

@media (hover: hover) {
    .shared-layout.listings .shared-items .shared-item .booking-cont a:hover {
        background-color: var(--button-hover);
    }
}

@media (min-width: 1025px) {
    .shared-layout.listings .layout-cont {
        grid-template-columns: 300px 1fr;
    }

    .shared-layout.listings ul.mobile-options {
        display: none;
    }

    .shared-layout.listings .shared-items-container {
        padding: 0 0 50px;
    }

    .shared-layout.listings .shared-items-container .shared-items {
        padding: 0 50px;
    }

    .shared-layout.listings .desktop-filters {
        display: block;
    }

    .shared-layout.listings.layout-list .shared-items .shared-item {
        min-height: auto;
        max-width: 1000px;
    }

}