.wrapper-main.yachts {
    background: url(/images/yacht/background-desktop.jpg) repeat fixed top center;
}

.yacht-search h1 {
    display: flex;
    align-items: center;
}

.yacht-search h1:after {
    content: '';
    display: block;
    width: 29px;
    height: 35px;
    background: url(/images/yacht/anchor.png) no-repeat center;
    margin-left: 10px;
}

.yacht-search h2 {
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: bold;
}

.yacht-search-header h2 {
    color: #333;
    margin-bottom: 10px;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
}

.yacht-search-header h2 b {
    font-weight: 600;
}

.yacht-search__form {
    border: 1px solid #D3D3D3;
    padding: 20px;
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
}

.yacht-search-rent-type-warning {
    margin-bottom: 25px;
}

.yacht-search__fields {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    grid-gap: 0 10px;
}

.yacht-search__fields label {
    font-weight: normal;
    font-size: 14px;
    margin-bottom: 4px;
}

.yacht-search__fields .select2 .select2-selection--single {
    height: 40px !important;
    display: flex;
    align-items: center;
    box-shadow: none;
    border: 1px solid #D3D3D3;
}

.yacht-search__fields .select2-container--krajee-bs3 .select2-selection--single .select2-selection__clear {
    top: 11px;
}

.yacht-search__fields label {
    color: #333;
}

.yacht-search__fields input {
    height: 40px;
    border: 1px solid #D3D3D3;
    border-radius: 0;
    box-shadow: none;
}

.yacht-search__sliders {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.yacht-search__sliders .sliders {
    display: flex;
}

.yacht-search__sliders .slider {
    width: 350px;
    font-size: 16px;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.yacht-search__sliders .slider .caption {
    align-self: flex-start;
    margin-bottom: 20px;
}

.yacht-search__sliders .slider input {
    border: none;
    background: transparent;
    width: auto;
}

.yacht-search__sliders .slider:not(:first-child) {
    margin-left: 40px;
}

.yacht-search__sliders .ui-widget.ui-widget-content {
    width: calc(100% - 20px);
    display: flex;
    justify-content: center;
    border: none;
}

.yacht-search__form .submit {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.yacht-search__form .submit a,
.yacht-search__form button {
    width: 200px;
    height: 40px;
    background-color: #14B1BB;
    color: white;
    line-height: 40px;
    text-transform: none;
    text-decoration: none;
    font-size: 16px;
    margin: 0;
}

@media (max-width: 767px) {
    .yacht-search__form .submit {
        justify-content: center;
    }
}

.yacht-types {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 40px 30px;
    margin-bottom: 60px;
}

.yacht-type {
    height: 260px;
    background-repeat: no-repeat;
    background-size: cover;
    text-decoration: none;
    position: relative;
}

.yacht-type:hover .yacht-type__inner {
    background: linear-gradient(180deg, #14B1BB 0%, rgba(37, 83, 80, 0.447917) 99.65%, rgba(20, 177, 187, 0) 173.94%);
}

.yacht-type__inner {
    width: 100%;
    height: 100%;
    background: linear-gradient(181.98deg, #2A5472 1.67%, rgba(49, 86, 112, 0) 280.41%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.yacht-type h3 {
    color: white;
    font-size: 25px;
}

.yacht-type div {
    color: white;
    font-size: 18px;
}

.yacht-items {
    display: grid;
    grid-gap: 40px 30px;
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 50px;
}

.yacht-search .pagination-block {
    margin-bottom: 60px;
}

.yacht-item__photo {
    display: block;
    position: relative;
    height: 260px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    margin-bottom: 10px;
}

.yacht-item:hover .yacht-item__photo:after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.2);
}

.yacht-item__billets {
    position: absolute;
    top: 10px;
    left: 10px;
    width: calc(100% - 20px);
    display: flex;
    flex-wrap: wrap;
    z-index: 10;
    font-size: 14px;
}

.yacht-item__billet {
    padding: 7px;
    height: 33px;
    text-align: center;
    background-color: #14B1BB;
    color: white;
    min-width: 60px;
    margin-right: 8px;
    margin-bottom: 10px;
}

.yacht-item__billet.gray {
    background-color: gray;
}

.yacht-item__price-type {
    display: flex;
    justify-content: space-between;
    color: #14B1BB;
    margin-bottom: 15px;
}

.yacht-item__price-type a {
    color: inherit;
}

.yacht-item__price-type a:hover {
    text-decoration: underline;
}

.yacht-item__price-type .price {
    font-weight: bold;
}

.yacht-item__price-type .price.gray {
    color: gray;
}

.yacht-item__title {
    margin-bottom: 5px;
    font-size: 16px;
    color: black;
}

.yacht-item__title a {
    font-size: inherit;
    font-weight: bold;
    color: inherit;
}

.yacht-item__features span {
    margin-right: 10px;
}

.yacht-search__additional label {
    font-weight: normal;
    font-size: 14px;
    margin-bottom: 4px;
}

.yacht-search__additional .options-grid {
    margin-top: 15px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-column-gap: 40px;
}

.yacht-search__additional .toggle {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
}

.yacht-search__additional .arrow {
    display: block;
    width: 13px;
    height: 13px;
    background: url(/images/yacht/arrow.png) center no-repeat;
    margin-left: 8px;
}

.yacht-search__additional.expanded .arrow {
    transform: rotate(180deg);
}

.yacht-search__additional:not(.expanded) .body {
    display: none;
}

.yacht-search .ui-widget.ui-widget-content {
    background: #D3D3D3;
    height: 5px;
}

.yacht-search .ui-slider-horizontal .ui-slider-range {
    background: #14B1BB;
}

.yacht-search .ui-slider .ui-slider-handle {
    width: 26px;
    height: 26px;
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    border: none;
    top: -12px;
    border-radius: 15px;
}

.yacht-block {
    overflow: hidden;
    clear: left;
}

.yacht-block h2 {
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: bold;
}

.yacht-block .yacht-items {
    display: block;
    width: calc(100% + 30px);
    margin: 0 -15px 60px -15px;
    height: auto;
}

.yacht-block .yacht-items .slick-list {
    margin-bottom: 30px;
}

.yacht-block .yacht-items .yacht-item {
    padding: 0 15px;
}

.yacht-item__info,
.yacht-item__actions {
    display: flex;
    gap: 10px;
    position: absolute;
    bottom: 0;
    padding: 0 0 0 10px;
    z-index: 10;
}

.yacht-item__actions {
    left: 0;
}

.yacht-item__info {
    right: 0;
}

.yacht-item__info > *,
.yacht-item__actions > * {
    width: 44px;
    height: 44px;
    outline: none;
    border: none;
    background-position: center;
    background-repeat: no-repeat;
}

.yacht-item__actions > * {
    background-color: rgba(78, 128, 163, 0.8);
}

.yacht-item__info > * {
    cursor: default;
    background-color: rgba(20, 177, 187, 0.8);
}

.yacht-item__info > *:hover {
    background-color: #14B1BB;
}

.yacht-item__actions .like {
    background-image: url(/images/yacht/like_white.svg);
}

.yacht-item__info .video {
    background-image: url(/images/yacht/video_white.svg);
    cursor: pointer;
}

.yacht-item__actions .compare {
    background-image: url(/images/yacht/plus.svg);
}

.yacht-item__actions > :hover,
.yacht-item__actions > .active {
    background-color: #14B1BB;
}

.yacht-block .slick-dots {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.yacht-block .slick-dots button {
    display: block;
    width: 15px;
    height: 15px;
    background-color: #AAE3E6;
    flex-wrap: wrap;
    font-size: 0;
}
.yacht-block .slick-dots .slick-active button {
    background-color: #14B1BB;
}

.yacht-search-accordion {
    padding-top: 45px;
    margin-bottom: 70px;
    border-top: 4px solid #14B1BB;
}

.yacht-search-accordion .container {
    max-width: 970px;
}

.yacht-search-accordion-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.yacht-search-accordion-header h2 {
    text-align: inherit;
    margin-bottom: 15px;
}

.yacht-search-accordion-header p {
    margin-bottom: 40px;
}

.yacht-search-contact {
    height: 400px;
    background: url(/images/yacht/contact-bg.jpg) center no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 50px;
}

.yacht-search-contact h2 {
    color: white;
    font-size: 35px;
    margin-bottom: 40px;
    text-align: center;
}

.yacht-search-contact a {
    max-width: 350px;
    width: 100%;
    background: #F0592B;
    color: white;
    height: 50px;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-transform: uppercase;
}

.yacht-stop-rents a {
    color: #f9e260 !important;
}
.yacht-type-download {
    display: flex;
    gap: 10px;
    text-transform: none;
    font-size: 15px;
}

.yacht-type-download {
    color: #14B1BB;
}

.yacht-type-download:active,
.yacht-type-download:focus,
.yacht-type-download:hover {
    color: #14B1BB;
    text-decoration: underline;
}

.yacht-type-download:before {
    content: '';
    width: 22px;
    height: 22px;
    background: url(/images/yacht/download.png) center no-repeat;
}

@media (max-width: 1199px) {
    .yacht-search__fields {
        grid-template-columns: repeat(3, 1fr);
    }
    .yacht-types {
        grid-template-columns: repeat(2, 1fr);
    }
    .yacht-items {
        grid-template-columns: repeat(2, 1fr);
    }
    .yacht-search__additional .options-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .yacht-search__sliders {
        flex-direction: column;
        align-items: flex-start;
    }
    .yacht-search__sliders .sliders {
        display: grid;
        width: 100%;
        grid-template-columns: 1fr 1fr;
        grid-gap: 20px;
        margin-bottom: 20px;
    }
    .yacht-search__sliders .slider {
        margin-left: 0 !important;
        width: auto;
    }
    .yacht-search__sliders .submit {
        align-self: center;
    }
    .wrapper-main.yachts {
        background-image: url(/images/yacht/background-tablet.jpg);
    }
}

@media (max-width: 767px) {
    .yacht-search-contact h2 {
        font-size: 24px;
    }
    .yacht-search-contact a {
        font-size: 16px;
    }
    .yacht-search__fields {
        grid-template-columns: 1fr;
        margin-bottom: 5px;
    }
    .yacht-search__fields .form-group {
        margin-bottom: 0;
    }
    .yacht-types {
        grid-template-columns: 1fr;
    }
    .yacht-items {
        grid-template-columns: 1fr;
    }
    .yacht-search__sliders .sliders {
        grid-template-columns: 1fr;
    }
    .yacht-search__additional .options-grid {
        grid-template-columns: 1fr;
    }
    .wrapper-main.yachts {
        background-image: url(/images/yacht/background-mobile.jpg);
    }
}