/*
Theme Name: Above Deck
*/


p {
    margin-bottom: 0px;
}

a {
    text-decoration: none;
}

.feat-yeachts-grid .yacht-info {
    font-size: 12px;
}

.yacht-search-card {
    font-size: 12px;
}

.special_tag_wrap {
    position: absolute;
    width: 8em;
    right: 0;
    bottom: 0;
    z-index: 9;
}

.special_tag_wrap img {
    width: 100%;
    height: 40px;
}

.feature-icons {
    justify-content: flex-end;
}

.feature-icons img {
    width: 40px;
    height: 25px;
}

.search-yachts-pagination li.active > .page-link, 
.search-yachts-pagination .page-link.active {
    background-color: #103F54;
    border-color: #103F54;
    color: #fff;
}
.search-yachts-pagination .page-link {
    color: #000;
}
.yacht-name-link {
    color: #103F54;
}
.yacht-name-link:hover {
    color: #103F54;
    text-decoration: underline;
}

/* ebrochure styles */
.detailspagecont .galleryslider img {
    display: block;
    height: auto;
    width: 100%;
}
.detailspagecont ul#lightSlider li.lslide.active, .detailspagecont ul#lightSlider li.lslide.active img, .detailspagecont ul#lightSlider li img {
    height: 450px;
}
.detailspagecont .stickyinfo {
    background: #fff;
    border-radius: 10px;
    padding: 50px 30px 30px;
    margin-bottom: 40px;
    box-shadow: 0 6px 50px 0 rgb(0 0 0 / 8%);
    margin: 20px 0 20px;
}
.detailspagecont .stickyinfo p {
    display: flex;
    align-items: center;
    line-height: 28px;
    gap: 14px;
    margin-bottom: 20px;
    padding: 6px 10px !important;
    border-radius: 5px;
    font-size: 14px;
}
.detailspagecont .stickyinfo img {
    width: 24px !important;
    margin: 0px !important;
    height: 24px;
}
.detailspagecont .stickyinfo .boatlayoutsec p {
    background: #103F54;
    color: #fff;
}
.detailspagecont a.enquirebtn {
    padding: 12px 30px;
    margin: 0 auto;
    text-align: center;
    background: #103F54;
    color: #fff;
    display: block;
    width: 250px;
    height: 50px;
    line-height: 26px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 18px;
    margin-top: 40px;
}
.detailspagecont .tabsec {
    margin-top: 60px;
    background: #fff;
}
.detailspagecont .tabsec .nav {
    width: 100%;
}
.detailspagecont .tabsec button {
    border: 1px solid #103F54 !important;
    flex: 1;
    background: #103F54;
    height: 60px;
    border-radius: 0;
    color: #fff;
    font-size: 18px;
    padding: 0;
    line-height: 60px;
    transition: 1s;
    font-weight: 600;
}
.detailspagecont .tabsec button:nth-child(1) {
    border-radius: 10px 0 0 0;
}
.detailspagecont .tabsec button.active {
    height: 75px;
    margin-top: -15px;
    border-radius: 10px 10px 0 0;
    line-height: 75px;
    color: #103F54;
}
.detailspagecont div#nav-tabContent {
    padding: 40px 20px;
    background: #efefef;
}
.detailspagecont .tabsec #nav-specials-tab {
    background: red;
    border-color: #FF0000 !important;
}
.detailspagecont .tabsec #nav-specials-tab.active {
    color: #FFF;
}

div#nav-rate div#availability .row.justify-content-md-center {
    margin: 20px 0;
}
#availability .grphical-desgin .col-md-1.text-center {
    width: 20% !important;
}
.color-legend {
    display: inline-block;
    width: 40px;
    height: 40px;
    margin: 10px;
}
.cya-rates-calendar {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #ddd;
}
.cya-rates-calendar th, .cya-rates-calendar td {
    /* border: 1px solid #ddd; */
    text-align: center;
    font: normal 11px "Lato-Regular", sans-serif;
    padding: 10px;
    color: #4d4d4d;
    line-height: 12px;
    border-radius: 0;
    font-weight: bold;
    text-shadow: none;
}
.cya-rates-calendar thead tr:first-child th {
    background-color: #000;
    color: #fff;
}
/* div#nav-rate div#availability table.cya-rates-calendar td, 
div#nav-rate div#availability table.cya-rates-calendar th {
    border-color: #000;
} */
div#nav-rate div#availability table.cya-rates-calendar thead tr:first-child th {
    background: #025373;
    color: #fff;
    font: normal 13px "Lato-Regular", sans-serif;
    padding: 5px 20px;
    text-align: left;
}
div#nav-rate div#availability table.cya-rates-calendar thead tr:nth-child(2) th {
    padding: 0.5em 0.3em;
    color: #707586;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    border: none;
    border-bottom: 1px solid #d5d9e2;
    background: #f2f6fe;
}
.cya-booking-available{ background-color: #fff !important; border: 0 !important; }
.cya-booking-hold{ background-color: #025373 !important; color: #fff !important; }
.cya-booking-booked{ background-color: #dd9933 !important; color: #fff !important; }
.cya-booking-unavailable{ background-color: #999 !important; opacity: 0.75 !important; color: #fff !important; }
.cya-booking-transit{ background-color: #000 !important; color: #fff !important; }

div#nav-rate div#availability table.cya-rates-calendar tbody tr td {
    margin: 8px !important;
}

/* Crew Gallery */
.crewgallery {
    margin-top: 30px;
    align-items: center;
}
.crewgallery .row {
    background: #fff;
    margin: 25px 0;
}
.crewgallery .row .col-md-4 {
    padding-right: 0;
}
.crew_photo_wrap {
    margin-bottom: 35px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ccc;
}
.crewgallery img {
    width: 100%;
    object-fit: cover;
    object-position: top center;
}

.menulists p {
    font-size: 14px;
    padding-bottom: 10px;
}

.pt-20 {
    padding-top: 20px;
}
div#nav-amenities .row p.text-dark {
    padding: 10px;
    margin: 15px 0;
}
div#nav-amenities .alert.alert-dark {
    background: #103F54;
    margin: 0 13px;
    display: inline-block;
    border: 1px solid #103F54;
    color: #dfdfdf;
}
span.input-group-text.calendar-icon {
    cursor: pointer !important;
}

.location-info {
    color: #006C9D;
}

.location-flag.fi {
    width: 20px;
    height: 20px;
    display: inline-block;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    vertical-align: middle;
    overflow: hidden;
}

.location-name {
    color: #006C9D;
    font-size: 15px;
}

.crew-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
}

.crew-gallery-img {
    max-width: 90%;
    max-height: 85vh;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* =========================================
   FOOD SECTION
========================================= */

.food-gallery-section {
    position: relative;
}

.food-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #eef6fc;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #23649a;
    font-size: 24px;
    flex-shrink: 0;
}

.food-gallery-section h3 {
    font-size: 24px;
    font-weight: 600;
    color: #142b43;
}

.food-gallery-section p {
    font-size: 15px;
}


/* =========================================
   VIEW ALL
========================================= */

.food-view-all {
    color: #23649a;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
}

.food-view-all:hover {
    color: #174b77;
}


/* =========================================
   PREVIEW PHOTO CARD
========================================= */

.food-photo-card {
    display: block;
    width: 100%;
    height: 190px;

    padding: 0;
    border: 0;

    overflow: hidden;
    border-radius: 12px;

    background: #f4f4f4;
    cursor: pointer;

    position: relative;
}

.food-photo-card img {
    width: 100%;
    height: 100% !important;

    object-fit: cover;

    display: block;

    transition:
        transform 0.35s ease,
        filter 0.35s ease;
}

.food-photo-card:hover img {
    transform: scale(1.04);
    filter: brightness(0.9);
}


/* =========================================
   PREVIEW CAROUSEL ARROWS
========================================= */

.food-preview-carousel {
    padding: 0 25px;
}

.food-carousel-control {
    width: 42px;
    opacity: 1;
}

.food-arrow {
    width: 38px;
    height: 38px;

    border-radius: 50%;

    background: #fff;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #526b82;

    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);

    font-size: 18px;
}

.food-carousel-control:hover {
    opacity: 1;
}

.food-carousel-control:hover .food-arrow {
    color: #23649a;
}


/* =========================================
   MODAL
========================================= */

.food-modal-content {
    border: 0;
    border-radius: 16px;
    overflow: hidden;
}

.food-modal-content .modal-header {
    padding: 18px 22px;
}

.food-modal-content .modal-title {
    color: #142b43;
    font-weight: 600;
}


/* =========================================
   FULL IMAGE
========================================= */

.food-gallery-image-wrapper {
    width: 100%;
    height: 75vh;

    background: #f5f5f5;

    display: flex;
    align-items: center;
    justify-content: center;
}

.food-gallery-image {
    width: 100%;
    height: 100% !important;

    object-fit: contain !important;
}


/* =========================================
   MODAL ARROWS
========================================= */

.food-modal-arrow {
    width: 46px;
    height: 46px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.95);

    display: flex;
    align-items: center;
    justify-content: center;

    color: #263f58;

    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.15);

    font-size: 20px;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

    .food-gallery-section h3 {
        font-size: 20px;
    }

    .food-gallery-section p {
        font-size: 13px;
    }

    .food-icon {
        width: 44px;
        height: 44px;
        font-size: 20px;
    }

    .food-preview-carousel {
        padding: 0;
    }

    .food-photo-card {
        height: 145px;
    }

    .food-carousel-control {
        display: none;
    }

    .food-view-all {
        font-size: 13px;
    }

    .food-gallery-image-wrapper {
        height: 65vh;
    }

}