/* Moving in template styles to css file */

.container {
    width: auto !important;
}

/**** START - NEW LISTING CARDS ****/
.yacht_listing .yacht-information {
    padding: 17px 14px 11px 14px !important;
    color: #707070 !important;
    display: flex;
    text-align: left;
    border-left: 1px solid lightgray;
    border-bottom: 1px solid lightgray;
    border-right: 1px solid lightgray;
}

.yacht_listing .yacht_notices {
    all: revert;
    padding: 0;
    order: 5;
}

.yacht_listing .yacht_like {
    position: absolute;
    z-index: 2;
    padding: 10px;
}

.yacht_listing .yacht_title {
    color: #002B49 !important;
    font: normal normal 600 14px/18px Montserrat !important;
    letter-spacing: 2.8px !important;
    height: 36px;
    width: 100% !important;
    margin-bottom: 13px !important;
    text-align: left;
}

.yacht_gysListing {
    padding: 0px;
}

.yacht_gysListing {
    font-weight: bold !important;
    color: #002B49 !important;
    text-transform: uppercase !important;
    font-size: 12px !important;
    margin-left: 0px !important;
    letter-spacing: 2.4px !important;
    background-color: transparent !important;
}

.yacht_listing .yacht_location {
    font-size: 12px !important;
    margin-top: 0px !important;
    margin-bottom: 10px !important;
    text-transform: capitalize !important;
    padding-left: 0px !important;
    font-family: Montserrat, sans-serif !important;
    font-weight: normal !important;
    flex-wrap: wrap;
    width: 100% !important;
}

.yacht_listing .yacht_price {
    padding-left: 0px !important;
    margin-bottom: 8px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    width: 100%;
    vertical-align: baseline !important;
    font-family: Montserrat, sans-serif !important;
    font-weight: normal !important;
    color: #707070;
    width: 100%;
}

.yacht_listing .yacht_cta {
    font: normal normal 600 12px/22px Montserrat;
    letter-spacing: 2.4px;
    color: #5DAAD5;
    margin: 0px;
    order: 4;
}

.yacht_image_wrapper .banner {
    background: #E4E4E4;
}

.simplefavorite-button.preset {
    padding: 0.5em 1em 0.5em 1.5em;
}

.yacht_listing img.yacht_image {
    max-height: 245px !important;
    min-height: 245px !important;
}

.yacht_listing .price-reduced {
    position: absolute;
    top: 0;
    left: 0;
    width: auto;
    padding: 4px 12px 4px 14px;
    color: #002B48 !important;
    background-color: #E4E4E4;
    text-transform: uppercase;
    font: normal normal 600 14px/22px Montserrat;
    letter-spacing: 2.8px;
}

.yacht_listing .new-listing {
    position: absolute;
    top: 0;
    left: 0;
    width: auto;
    padding: 4px 12px 4px 14px;
    color: #FFFFFF;
    background-color: #002B48;
    text-transform: uppercase;
    font: normal normal 600 14px/22px Montserrat;
    letter-spacing: 2.8px;
}
.yacht_listing .in-stock {
    position: absolute;
    top: 0;
    left: 0;
    width: auto;
    padding: 4px 32px 4px 32px;
    color: #002B49 !important;
    background-color: #F7E353;
    text-transform: uppercase;
    font: normal normal 600 14px/22px Montserrat;
    letter-spacing: 2.8px;
}

.sold-flag {
    /*width: auto !important;*/
    height: auto !important;
    position: absolute;
    padding: 4px 12px 4px 14px;
    background-color: #707070;
    text-align: center;
    font: normal normal 600 14px/22px Montserrat;
    letter-spacing: 2.8px;
    color: #FFFFFF;
    text-transform: uppercase;
    opacity: 1;
    left: 0;
    top: 0;
    z-index: 100;
}

.yacht_listing .sold-boat {
    background-color: #002B49 !important;
    color: #FFFFFF !important;
}

.yacht_listing .fas.fa-heart {
    color: #002b49;
}

#search-info-section, #new-yachts-info-section, #buyer-resources-section {
    padding: 0 40px;
}

@media screen and (max-width: 610px){
    #search-info-section, #new-yachts-info-section, #buyer-resources-section {
        padding: 0 34px;
        margin-top: 80px;
    }
}

/*Overrides*/
.wws-results-container {
    max-width: 1440px;
}
.world-wide-search .search-results-wrap .featured_listings {
    max-width: 1440px !important;
    grid-gap: 12px 16px;
}
#search-engine-page {
    padding: 0 !important;
}
.search-results-wrap {
    padding: 0 !important;
}

#all-yachts-template {
    margin-left: auto;
    margin-right: auto;
    max-width: 1440px;
    margin-bottom: 60px;
    color: rgb(0, 43, 73);
}

.simplefavorite-button.active svg path {
    fill: #F7E353 !important;
}

.simplefavorite-button:hover svg path {
    fill: #F7E353 !important;
}

.results {
    margin-top: 60px;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    padding: 0px 20px;
}
.results__top {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}
.results__title h1 {
    padding: 0 !important;
}
.results__toggle {
    margin-top: 30px;
}
.results__toggle label {
    text-transform: uppercase;
    color: rgb(0, 43, 73);
    letter-spacing: 2.5px;
    font-weight: 600;
    font-size: 12px !important;
}
.results__toggle label.gs-checkbox__label:before {
    height: 15px;
    width: 15px;
    margin: 6px 8px 1px 1px;
}
.results__toggle label.gs-checkbox__label:after {
    top: 8px;
    left: 4px;
    width: 10px;
    height: 10px;
}
.results__tag {
    display: inline-block;
    margin-bottom: 8px;
    margin-right: 4px;
}
.results__top-footer {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}
.results__sort {
    display: block;
}

.results__sort .gs-label__container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 10px;
}

.results__sort .gs-label__container label {
    font-family: Montserrat, sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-wrap: nowrap;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-right: 5px;
}

@media screen and (min-width: 540px) {
    .results__sort {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .results__sort .gs-label__container {
        justify-content: center;
        margin-bottom: 0px;
    }

    .results__sort .gs-label__container label {
        margin-right: 10px;
    }
}

.searchStatsV2 .pagination li a {
    color: #002d49 !important;
}

.searchStatsV2 .pagination .currentpage a {
    color: #f7e353 !important;
}

.results__sort .gs-select {
    width: auto;
}

.results__sort .gs-select select {
    padding: 12px 16px !important;
    font-size: 12px;
    padding-right: 48px !important;
}

.results .non-sale-count {
    display: none;
}


@media screen and (min-width: 576px){
    .results__sort {
        margin: 0;
    }
}
@media screen and (min-width: 768px){
    .results__content .featured_listings {
        grid-template-columns: 1fr 1fr;
    }
}
@media screen and (min-width: 992px){
    .results {
        padding: 0px 30px;
    }
    .results__top {
        flex-direction: row;
        width: 100%;
        justify-content: space-between;
        align-items: flex-end;
    }
    .results__toggle {
        margin-top: 0px;
    }
}

.results__pagination {
    width: 100%;
}

.pagination__wrapper {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    row-gap: 20px;
}

.pagination__list {
    display: flex;
    list-style: none;
    flex-direction: row;
    position: relative;
}

.next.pagination__list-item,
.prev.pagination__list-item {
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2.5px;
    padding-right: 20px;
    padding-left: 20px;
}

.next.pagination__list-item a,
.prev.pagination__list-item a {
    color: #002d49;
}

.pagination__list-item {
    padding: 16px;
    font-size: 12px;
    color: rgb(112, 112, 112);
}

.pagination__list-item a {
    color: rgb(112, 112, 112);
}
.currentpage.pagination__list-item a {
    color: #5DAAD5;
    font-weight: 700;
}
.prev, .next {
    position: absolute;
    top: 100%;
}
.next {
    right: 0px;
}
.prev {
    left: 0px;
}
@media screen and (min-width: 768px){
    .prev, .next {
        position: initial;
    }
}
@media screen and (min-width: 992px){
    .results__content .featured_listings {
        grid-template-columns: 1fr 1fr 1fr;
    }
    .pagination__wrapper {
        margin-top: 20px;
        flex-direction: row;
    }
    .pagination__list-item {
        font-size: 16px;
    }
}
@media screen and (min-width: 1400px){
    .results__content .featured_listings {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}

.results__bottom {
    margin-top: 120px;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    padding: 0px 20px;
}

@media screen and (min-width: 992px) {
    .results__bottom {
        padding: 0px 30px;
    }
}

.brands {
    margin-bottom: 120px;
}

.brands__header {
    text-align: center;
    margin-bottom: 30px;
}

.brands__header h2 {
    margin-bottom: 16px;
}

.brands__grid {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: center;
    grid-gap: 20px;
}

.brands__grid-item {
    display: flex;
    flex-direction: column;
    background-size: cover;
    height: 230px;
    background-position: center;
    position: relative;
}

.brands__grid-item-text {
    position: absolute;
    bottom: 12px;
    color: #ffffff;
    width: 100%;
    text-align: center;
}
.brands__grid-item-img {
    display: flex;
    position: absolute;
    align-items: start;
    width: 152px;
    align-self: end;
    top: 20px;
    right: 20px;
    height: auto;
}
@media screen and (min-width: 576px){
    .brands__grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}
@media screen and (min-width: 768px){
    .brands__grid {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
    }
}


.video-cta {
    margin-bottom: 120px;
}
.video-cta__header {
    text-align: center;
    margin-bottom: 30px;
}
.video-cta__header h2 {
    margin-bottom: 12px;
}
.video-cta__content {
    display: grid;
    grid-template-columns: 1fr;
    background: rgb(228, 228, 228);
}
.video-cta__content-left {
    max-height: 360px;
}
.video-cta__content-left iframe {
    width: 100%;
    max-width: 840px !important;
}
.video-cta__content-right {
    padding: 30px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
}
.video-cta__title {
    margin-bottom: 12px;
}
.video-cta__button {
    margin-top: 20px;
}
@media screen and (min-width: 768px){
    .video-cta__content {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}


.resources {
    margin-bottom: 60px;
}
.resources__header {
    text-align: center;
    margin-bottom: 30px;
}
.resources__title {
    margin: 0 auto;
    margin-bottom: 20px;
}
.text-highlight {
    position: relative;
    white-space: nowrap;
    width: fit-content;
}
.text-highlight:before {
    background-color: rgb(247, 227, 83);
    content: "";
    position: absolute;
    width: calc(100% + 4px);
    height: 60%;
    left: -2px;
    bottom: 0;
    z-index: -1;
}
@media screen and (max-width: 576px){
    .text-highlight {
        white-space: initial;
    }
    .text-highlight:before {
        display: none;
    }
}
.resources__grid {
    display: grid;
    grid-template-columns: 1fr;
    padding: 0px 30px;
    grid-gap: 30px;
    margin-bottom: 60px;
}
.resources__grid-image img {
    width: 100%;
    height: auto;
    margin-bottom: 16px;
}
.resources__grid-text {
    color: rgb(0, 43, 73);
    font-weight: 600;
    text-align: center;
}
.resources__content {
    text-align: center;
    padding: 0px 20px;
}
@media screen and (min-width: 576px){
    .resources__grid {
        grid-template-columns: 1fr 1fr 1fr;
        padding: 0px;
    }
}
@media screen and (min-width: 768px){
    .resources__grid {
        padding: 0 60px;
    }
    .resources__content {
        padding: 0px 120px;
    }
}
