body {
    background: #fafafa;
}

body #header-custom:not(.fixedheader) {
    background: #fafafa;
}

.apply-section {
    padding: 10px 0 0
}

.apply-section a {
    color: #0172F7;
    font-size: 14px;
    line-height: 1.3;
    display: none;
    background: #0075BF;
    border-radius: 16px;
    color: #fff;
    text-transform: uppercase;
    padding: 15px;
    font-size: 16px;
    font-weight: 500;
    transition: .25s all;
    width: auto;
    max-width: 120px;
    text-align: center;
}
.apply-section a:hover{
    background: #ddd;
    color: black;
    transition: .25s all;
}
.show .apply-section a{
    display: block;
}
.box-listing-boat {
    background: #FFFFFF;
    border-width: 0px 1px 1px 1px;
    border-style: solid;
    border-color: #F2F2F2;
    border-radius: 16px;
    overflow: hidden;
    margin: 0 0 20px;
}

.more-filters-button {
    border: 0;
    border-radius: 15px;
    background: #fff;
    padding: 15px;
    display: flex;
    align-items: center;
    max-width: 333px;
    width: 100%;
    font-family: 'Futura PT';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 21px;
    color: #0172F6;
    justify-content: center;
}

.more-filters-button img {
    margin-right: 10px;
}

.wrapper-more-filters h4 {
    font-family: 'Futura PT';
    font-style: normal;
    font-weight: 700;
    font-size: 20px;
    line-height: 26px;
    color: #000000;
    margin: 0 0 20px
}

.wrapper-more-filters h6 {
    font-family: 'Futura PT';
    font-style: normal;
    font-weight: 500;
    font-size: 10px;
    line-height: 13px;
    text-transform: uppercase;
    color: #666C80;
    margin: 0 0 10px
}

.wrapper-more-filters label {
    font-family: 'Futura PT';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
    color: #000000;
    margin-left: 5px;
}

.general-group-filter {
    padding: 0 0 30px;
    display: inline-block;
    width: 100%;
}

.wrapper-box-boat {
    padding: 15px 15px 20px;
    min-height: 230px;
}

.box-image-boat {
    min-height: 220px;
    position: relative;
    overflow: hidden;
    max-height: 220px;
}

.box-image-boat img {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    max-width: fit-content;
    max-height: 250px;
    min-height: 250px;
}

.name-boat a {
    font-family: 'Futura PT';
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 18px;
    margin: 0 0 5px;
    color: #000000;
}

.info-boat {
    font-family: 'Futura PT';
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 15px;
    color: #666C80;
    margin: 0 0 15px;
}

.icons-boat-options {
    display: flex;
    align-items: center;
    width: 100%;
}

.boat-skipper-info .icons-boat-options img {
    margin-right: 10px;
}

.title-details {
    font-family: 'Futura PT';
    font-style: normal;
    font-weight: 500;
    font-size: 10px;
    line-height: 13px;
    margin: 0;
    text-transform: uppercase;
    color: #000;
}

.info-cabins {
    font-family: 'Futura PT';
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 13px;
    text-transform: uppercase;
    color: #000000;
    margin: 0;
}

.boat-skipper-info {
    font-family: 'Futura PT';
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 15px;
    color: #0172F7;
    display: inline-block;
    margin: 0 0 15px;
    width: 100%;
}

.boat-skipper-info img {
    margin-right: 5px;
}

.price-wrapper-boat {
    font-family: 'Futura PT';
    font-style: normal;
    font-weight: 600;
    font-size: 12px;
    line-height: 15px;
    color: #000000;
}

.search-listing-wrapper form {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.search-listing-wrapper form button {
    min-width: 333px;
}

.search-listing-wrapper form .input-group {
    margin: 0 0 20px;
    display: inline-block;
    min-width: 333px;
}

.search-listing-wrapper form button {
    border: 0;
    background: url(../assets/images/ArrowDropDown.svg) no-repeat right #F2F4F7 !important;
    -webkit-appearance: none;
    border-radius: 16px;
    padding: 15px 40px;
    background-position-x: 96% !important;
}

.row-listing {
    margin-top: 40px
}

.general-title-h4 {
    font-family: 'Futura PT';
    font-style: normal;
    font-weight: 700;
    font-size: 24px;
    line-height: 31px;
    color: #000000;
    margin: 0 0 20px
}

/* price range */

.top-row-flex {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 0 0 10px;
    justify-content: space-between;
    font-size: 14px;
}

.top-row-flex h6 {
    margin: 0;
}

.range_filter {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    margin-top: 10px;
}

#age-slider {
    height: 5px;
    background: #E7ECFE;
}

#age-slider .range-slider__range {
    background: #0172F6;
}

#pweek-slider {
    height: 5px;
    background: #E7ECFE;
}

#pweek-slider .range-slider__range {
    background: #0172F6;
}

#wcs-slider {
    height: 5px;
    background: #E7ECFE;
}

#wcs-slider .range-slider__range {
    background: #0172F6;
}

#berths-slider {
    height: 5px;
    background: #E7ECFE;
}

#berths-slider .range-slider__range {
    background: #0172F6;
}

#length-slider {
    height: 5px;
    background: #E7ECFE;
}

#length-slider .range-slider__range {
    background: #0172F6;
}

#cabins-slider {
    height: 5px;
    background: #E7ECFE;
}

#cabins-slider .range-slider__range {
    background: #0172F6;
}

.range-slider__thumb {
    height: 30px;
    width: 30px;
    border: none;
    border-radius: 50%;
    background: url(../assets/images/range-thumb.svg) center center no-repeat !important;
    background-size: contain;
    pointer-events: auto;
    -moz-appearance: none;
    appearance: none;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.05);
}

.range_value {
    font-size: 12px;
}

.range_container {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}

.price-input {
    display: flex;
    margin: 0;
    width: auto;
    align-items: center;
    justify-content: center;
}

.price-input .field {
    display: flex;
    width: 100%;
    align-items: center;
}

.field input {
    text-align: center;
    border: 0;
    -moz-appearance: textfield;
    padding: 0;
    font-family: 'Futura PT';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
    /* identical to box height */
    color: #000000;
    background: transparent;
    width: auto;
    height: auto;
    display: inline-block;
    width: 50px;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

.moreEquipments {
    cursor: pointer;
}

.hideEquipment {
    display: none;
}

.price-input .separator {
    width: 130px;
    display: flex;
    font-size: 19px;
    align-items: center;
    justify-content: center;
}

.slider {
    height: 5px;
    position: relative;
    background: #E7ECFE;
    border-radius: 5px;
}

.slider .progress {
    height: 100%;
    left: 0;
    right: 20%;
    position: absolute;
    border-radius: 5px;
    background: #0172F6;
}

.range-input {
    position: relative;
}

.range-input input {
    position: absolute;
    width: 100%;
    height: 5px;
    top: -5px;
    background: none;
    pointer-events: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

/* input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 30px;
  height: 30px;
  border: 0;
    border-radius: 50%;
  background-image: url('../assets/images/range-thumb.svg');
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  cursor: pointer;
} */

/*
input[type="range"]::-webkit-slider-thumb {
    height: 30px;
    width: 30px;
    border: none;
    border-radius: 50%;
    background: url(../assets/images/range-thumb.svg) center center no-repeat !important;
    background-size: contain;
    pointer-events: auto;
    -moz-appearance: none;
    appearance: none;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.05);
}
*/

/* input[type="range"]::-moz-range-thumb {
    height: 30px;
    width: 30px;
    border: none;
    border-radius: 50%;
    background: url(../assets/images/range-thumb.svg) center center no-repeat !important;
    background-size: contain;
    pointer-events: auto;
    -moz-appearance: none;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.05);
} */

.wrapper {
    display: inline-block;
    width: 100%;
}

/* end  price range */

@media screen and (max-width:991px) {
    .search-listing-wrapper form button,
    .search-listing-wrapper form .input-group {
        min-width: 0
    }
    /* .filters-opened .select-destination{
      position: fixed;
      z-index: 99999999;
      top: 70px;
      max-width: calc(100% - 60px);
    }
    .wrapper-more-filters{
      overflow-x: scroll;
    }
    .wrapper-more-filters::-webkit-scrollbar {
      width: 2px;
    }
    .filters-opened .select-period{
      position: fixed;
      z-index: 99999999;
      top: 145px;
      max-width: calc(100% - 60px);
    }
    .wrapper-more-filters h4{
      margin-bottom: 160px
    } */
    .wrapper-more-filters{
      overflow-y: scroll;
    }
    .box-image-boat img {
        min-height: 250px;
        max-height: 250px;
    }
    .wrapper-box-boat {
        min-height: 0
    }
    .wrapper-more-filters {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 99999999;
        width: 100%;
        height: 100%;
        background: #fff;
        padding: 30px;
    }
    .form-check-label.tooltip-custom .tooltiptext::before{
        position: relative;
        content: '(';
        border: 0;
        right: auto;
        left: auto;
        top: auto;
        bottom: auto;
        margin: 0;
    }
    .form-check-label.tooltip-custom .tooltiptext::after{
        position: relative;
        content: ')';
        border: 0;
        right: auto;
        left: auto;
        top: auto;
        bottom: auto;
        margin: 0;
    }
    .form-check-label.tooltip-custom .tooltiptext{
      position: relative;
      top: auto;
      visibility: visible;
      background: transparent;
      color: grey;
      padding: 0;
      min-height: 0;
        display: inline-block;
        min-width: 0;
    }
    .close-more-filters {
        position: absolute;
        right: 30px;
        top: 15px;
    }
    .bootstrap-select:not([class*="col-"]):not([class*="form-control"]):not(.input-group-btn) {
        width: 100%
    }
    .more-filters-button {
        margin: 0;
        width: 100%;
        max-width: 100%;
    }
    .form-check-label.tooltip-custom sup{
      display: none
    }
    .general-group-filter{
      padding-bottom: 5px;
    }
}

@media screen and (min-width: 992px) {
    .boat-skipper-info .row .col-md-6:first-child{
        display: flex;
        align-items: center;
    }
    .box-listing-boat .wrapper-box-boat{
      min-height: 250px;
    }
    .wrapper-more-filters h6 {
        font-size: 16px;
        line-height: 24px;
    }
    .wrapper-more-filters label {
        font-size: 16px;
        line-height: 22px;
    }
    .general-title-h4 {
        font-size: 28px;
        line-height: 34px;
    }
    .row-listing {
        margin-top: 0;
    }
    .content-area-listing {
        padding-top: 40px
    }
    .search-listing-wrapper form {
        flex-direction: row
    }
    .name-boat a {
        font-size: 16px;
        line-height: 22px;
        min-height: 44px;
        display: block;
    }
    .title-details {
        font-size: 14px;
        line-height: 1.3;
        font-weight: 500;
    }
    .details-boat {
        min-height: 0;
        display: block;
        margin: 0 0 5px;
    }
    .boat-skipper-info {
        font-size: 14px;
        line-height: 1.3;
    }
    .info-boat {
        font-size: 14px;
        line-height: 18px;
        /* min-height: 54px; */
        margin: 0 0 10px;
    }
    .info-cabins {
        min-height: 0;
    }
    .price-wrapper-boat {
        font-size: 18px;
        line-height: 1.3;
    }
    .search-listing-wrapper form .input-group {
        width: 25%;
        min-width: 0;
        margin-right: 20px;
        max-width: calc(25% - 15px);
        display: flex;
        overflow: hidden;
        border-radius: 16px;
    }
}

.pagination {
    display: inline-block;
}

.pagination a {
    color: black;
    float: left;
    padding: 8px 16px;
    text-decoration: none;
}

.pagination a.active {
    background-color: #0172F6;
    color: white;
}

.pagination a:hover:not(.active) {background-color: #ddd;}

.pointer {
    cursor: pointer;
}
