html {
  font-size: 14px;
}

section{
    overflow: hidden;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}


img{
    max-width:100%;
}
a {
    text-decoration: none;
    color: var(--primary);
}


.skip-link {
    position: absolute;
    top: -30px;
}

    .skip-link:focus {
        top: 0;
        z-index: 1047;
        position: fixed;
        background: white;
        margin: 0 5px;
        padding: 0 5px;
    }

.navbar-toggler .icon-bar {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 1px;
}
.navbar-logo {
   /* max-width: 400px;*/
    max-height: 35px;
}

@media screen and (max-width: 575px) {
    .navbar-logo {
    /* max-width: 400px; */
    max-height: 26px;
    }
}



.bg-primary {
    background: var(--primary) !important;
}
.bg-secondary {
    background: var(--secondary) !important;
}

/* #region Text */

/* colors */
.text-primary {
    color: var(--primary) !important;
}
.text-secondary {
    color: var(--secondary) !important;
}
.text-grey {
    color: var(--brand-grey);
}
.text-brand-light {
    color: var(--brand-light) !important;
}

.margaritaville-title {
    color: #307789 !important;
}


/* sizes */

.text-xlarge {
    font-size: 2.5rem;
    line-height: 3.5rem;
}

.text-large {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.text-small {
    font-size: .75rem;
    line-height: 1.25rem;
}

.text-small-header {
    font-size: 30px;
}


.text-large-header {
    font-size: 50px;
}

.text-xlarge-header {
    font-size: 80px;
}
.text-xxlarge-header {
    font-size: 100px;
}

.text-icon-mid {
    font-size: 45px;
}

.text-icon-large {
    font-size: 60px;
}

.text-block-w{
    max-width: 800px;
}
.text-block-xl-w {
    max-width: 1200px;
}

@media screen and (max-width: 1400px) {
    .text-xxlarge-header {
        font-size: 75px;
    }
    .text-xlarge-header {
        font-size: 65px;
    }
}

@media screen and (max-width: 1200px) {
    .text-xxlarge-header {
        font-size: 65px;
    }
    .text-large-header {
        font-size: 42px;
    }
    .text-small-header {
        font-size: 26px;
    }
}

@media screen and (max-width: 992px) {
    .text-xxlarge-header {
        font-size: 60px;
    }
    .text-xlarge-header {
        font-size: 55px;
    }
}

@media screen and (max-width: 768px) {
    .text-xxlarge-header {
        font-size: 55px;
    }
    .text-xlarge-header {
        font-size: 50px;
    }
    .text-large-header {
        font-size: 34px;
    }
}

@media screen and (max-width: 575px) {
    .text-xxlarge-header {
        font-size: 38px;
    }
    .text-xlarge-header {
        font-size: 34px;
    }

    .text-xlarge {
        font-size: 1.75rem;
    }

    .text-large-header {
        font-size: 28px;
    }
}






/* #endregion Text */

/* #region BrandHeader */


/* sizes */


/* #endregion BrandHeader */

/* #region BrandHeader */
.accordion-item, .accordion-item:last-of-type {
    /*border: 1px solid white !important;*/
    border-radius: 0;
}



.accordion-header {
    border-bottom: 1px solid white;
}
.accordion-button:focus {
    z-index: 3;
    border: none;
    outline: 0;
    box-shadow: none;
}
.accordion-button::after {
    color: white;
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/></svg>") !important;
}

.accordion-item:last-of-type {
    background: none;
    border: none;
}
.accordion-button {
    background: none;
    border: none;
}
    .accordion-button:not(.collapsed) {
        background: none;
        border: none;
    }

.btn-hollow-white {
   color: white;
   border: 1px solid white;
}

.btn-hollow-white:hover, .btn-hollow-white:focus {
    background: white;
    color: black;
}

.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    border-radius: 0 !important;
}

    .btn-primary:hover, .btn-primary:focus {
        background: white;
        color: var(--primary) !important;
        border-color: var(--primary) !important;
    }

.btn-secondary {
    background: var(--secondary);
    border-color: var(--secondary);
    color: white;
    border-radius: 0 !important;
}

    .btn-secondary:hover, .btn-primary:focus {
        background: white;
        color: var(--secondary);
    }


.margaritaville-btn {
    background: #307789 !important;
    border-color: #307789 !important;
}
    .margaritaville-btn:hover, .margaritaville-btn:focus {
        background: white !important;
        color: #307789 !important;
        border-color: #307789 !important;
    }


.btn-pp-close {
    box-sizing: content-box;
    width: 1em;
    height: 1em;
    padding: 0.25em 0.25em;
    color: #000;
    border: 0;
    border-radius: 0.25rem;
    opacity: 0.5;
    background-color: white;
}

.btn-pp-close {
    background-image: url( '/Images/Icons/close-btn.svg' );
    background-size: contain;
    font-size: 0.8em;
    border-radius: 500rem;
}

.nav-item-secondary:focus, .nav-item-secondary:hover {
    background-color: #e9ecef;
}

    .navbar-collapse.collapse.show {
        display: block !important;
        position: relative;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 1050;

    }

@media screen and (max-width: 1200px) {
    .lg-mobile-crop {
        height: 500px;
        object-fit: cover;
    }
    .lg-hide-items .lg-toolbar {
        opacity: 1 !important;
    }
}


/* #region Image Scroller */

.white-overlay {
    position: relative;
    max-height: 310px;
    overflow: hidden;
}

    .white-overlay::before {
        background-image: linear-gradient( top, rgba( 255, 255, 255, 0.2 ) 0%, rgba( 255, 255, 255, 1 ) 75% );
        background-image: linear-gradient( top, rgba( 255, 255, 255, 0.2 ) 0%, rgba( 255, 255, 255, 1 ) 75% );
        background-image: -moz-linear-gradient( top, rgba( 255, 255, 255, 0.2 ) 0%, rgba( 255, 255, 255, 1 ) 75% );
        background-image: -ms-linear-gradient( top, rgba( 255, 255, 255, 0.2 ) 0%, rgba( 255, 255, 255, 1 ) 75% );
        background-image: -o-linear-gradient( top, rgba( 255, 255, 255, 0.2 ) 0%, rgba( 255, 255, 255, 1 ) 75% );
        background-image: -webkit-linear-gradient( top, rgba( 255, 255, 255, 0.2 ) 0%, rgba( 255, 255, 255, 1 ) 75% );
        content: "\00a0";
        height: 100%;
        position: absolute;
        width: 100%;
        z-index: 2;
    }

@media screen and (max-width: 1200px) {
    .white-overlay {
        max-height: 270px;
        overflow: hidden;
    }
}

@media screen and (max-width: 767px) {
    .white-overlay {
        max-height: 150px;
        overflow: hidden;
    }
}

    /* #endregion Image Scroller */


    /* #region Image Scroller */
    .image-scroller {
        background: #FFF;
        list-style: none;
        height: 422px;
        white-space: nowrap;
        -ms-overflow-style: none;
        overflow-x: scroll;
        overflow-y: hidden;
        position: relative;
        margin-bottom: 8px;
    }

    .scroll-arrows {
        position: relative;
    }

    .scroll-arrow {
        margin: auto;
        width: 85px;
        display: inline-block;
        height: 400px;
        border: 0;
        position: absolute;
        top: -430px;
        z-index: 5;
        transition: 0.3s ease-in-out;
        background-color: rgba(var(--primary-rgb),0.6);
        padding-right: 0px;
        padding-left: 0px;
    }

        .scroll-arrow::before {
            color: #FFF;
            font-size: 50px;
            text-shadow: 2px 2px 2px #000;
        }

    .scroll-arrow-left {
        left: 0;
    }

    .scroll-arrow-right {
        right: 0;
    }

    .scroll-arrow-left:hover {
        padding-right: 15px;
        background-color: rgba(var(--primary-rgb)),0.8);
    }

    .scroll-arrow-right:hover {
        padding-left: 15px;
        background-color: rgba(var(--primary-rgb),0.8);
    }

    .scroll-arrow-left:active {
        padding-right: 25px;
        background-color: rgba(var(--primary-rgb),1);
    }

    .scroll-arrow-right:active {
        padding-left: 25px;
        background-color: rgba(var(--primary-rgb),1);
    }

    .scroll-arrow-left:focus, .scroll-arrow-right:focus {
        outline: 2px solid #FFF;
        outline-offset: -4px;
    }


.scroll-arrow.margaritaville-title {
    background-color: rgba(48,119,137,0.6);
}

.scroll-arrow-left:hover, .scroll-arrow-right:hover {
    background-color: rgba(48,119,137,0.8);
}

.scroll-arrow-left:active, .scroll-arrow-right:active {
    background-color: rgba(48,119,137,1);
}


    .image-scroller::-webkit-scrollbar {
        height: 13px;
    }

    .award-scroller::-webkit-scrollbar {
        height: 9px;
    }

    .award-scroller::-webkit-scrollbar-track {
        box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
        border-radius: 10px;
        margin: 10px;
        border: 3px solid transparent;
    }

    .image-scroller::-webkit-scrollbar-track {
        box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
        border-radius: 10px;
        margin: 10px;
        border: 5px solid transparent;
    }

    .image-scroller::-webkit-scrollbar-thumb, .award-scroller::-webkit-scrollbar-thumb {
        border-radius: 10px;
        background: var(--primary);
    }

    .image-scroller ul {
        margin: 0;
        padding: 0;
        font-size: 0;
    }

    .image-scroller li {
        display: inline-block;
    }

    .image-scroller img {
        height: 400px;
        margin: 0;
        padding: 0;
    }

    .img-box {
        position: relative;
        margin: auto;
        overflow: hidden;
    }

        .img-box img {
            transition: all 0.5s;
            display: block;
        }

        .img-box:hover img {
            transform: scale(1.13);
        }

    .gallery-image:focus::after {
        content: "";
        height: 97.5%;
        width: 98.2%;
        box-shadow: 0 0 0 0.25rem #1D5A90;
        position: absolute;
        top: 5px;
        left: 5px;
    }


    @media screen and (max-width: 767px) {

        .image-scroller img {
            height: 205px;
        }

        .image-scroller {
            height: 220px;
        }

        .scroll-arrow {
            width: 40px;
            display: inline-block;
            height: 60px;
            top: -150px;
            overflow: hidden;
        }

            .scroll-arrow::before {
                font-size: 25px;
                text-align: center;
            }

        .scroll-arrow-left:active, .scroll-arrow-left:hover {
            padding-right: 5px;
        }

        .scroll-arrow-right:active, .scroll-arrow-right:hover {
            padding-left: 5px;
        }

        .image-scroller::-webkit-scrollbar {
            height: 8px;
        }

        .image-scroller::-webkit-scrollbar-track {
            margin: 5px;
            border: 3px solid transparent;
        }
    }

    /* #endregion Image Scroller */

/* #region All Boats */
#searchResultsContainer {
    padding-left: 25%;
    min-height: calc(100vh - 112px);
}
/* #endregion All Boats */

/* #region Slider classes*/
    .carousel-caption {
        left: 57%;
        bottom: 25%;
    }

.gradient-caption {
    left: 0;
    right: 0;
    bottom: 26%;
    z-index: 3;
    position: absolute;
    text-align: center;
}

.gradient-sub-caption {
    left: 0;
    right: 0;
    bottom: 70px;
    z-index: 3;
    position: absolute;
    text-align: center;
}

@media (max-width: 1199px) {
    .gradient-caption {
        bottom: 35%;
    }
}

@media (max-width: 767px) {
    .gradient-caption {
        bottom: 35%;
    }
    .gradient-sub-caption {
        bottom: 20px;
    }
}
@media screen and (max-width: 575px) {
    .gradient-sub-caption {
        bottom: 10px;
        right: .5rem;
    }

    .carousel-caption {
        bottom: 10px;
        left: auto;
    }
}



    .small-screen {
        height: 400px;
    }

    .cover-background {
        position: relative !important;
        background-size: cover !important;
        overflow: hidden !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
    }
/* #endregion Slider classes*/


.series-list {
    bottom: 35px;
    right: 35px;
    text-align: right;
}
@media screen and (max-width: 767px) {
    .series-list {
        bottom: 15px;
        right: 15px;
        font-size: 28px;
    }
}
@media screen and (max-width: 575px) {
    .series-list {
        bottom: 5px;
        right: 10px;
        font-size: 20px;
    }
}

    /* helful resources classes */
    .hr-icon {
        min-width: 300px;
    }

    @media (max-width: 1199px) {
        /* page container */
        .hr-icon {
            min-width: unset;
        }
    }

    /* end helful resources classes*/

    /* #region Floorplan classes */
    .floorplan-image {
        width: 100%; /* Example container width */
        height: 1000px; /* Example container height */
        position: relative; /* Needed for absolute positioning */
    }

    .rotated-image {
        height: 1000px; /* Original image height */
        position: absolute; /* Make the image position relative to the container */
        transform-origin: bottom left; /* Set rotation origin to bottom left */
        transform: rotate(90deg); /* Rotate the image */
        left: 100px; /* Shift the image to the right by the original width */
    }
    /* #endregion Floorplan classes*/


    .padding-40px-top {
        padding-top: 40px;
    }

    .padding-60px-top {
        padding-top: 60px;
    }

    .padding-five-top {
        padding-top: 5%;
    }

    .padding-30px-bottom {
        padding-bottom: 30px;
    }

    .padding-40px-bottom {
        padding-bottom: 40px;
    }

    .padding-60px-bottom {
        padding-bottom: 60px;
    }

    .footer-logo {
        max-height: 54px;
        padding-bottom: 1em;
    }

    .overlay-accordion {
        position: absolute; /* or fixed if you want it to stay on screen */
        top: 50px;
        left: 50px;
        z-index: 999; /* higher than surrounding content */
        width: 300px;
        background-color: white;
        border: 1px solid #ccc;
        padding: 10px;
        box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    }


    @media (min-width: 1199px) {
        /* page container */
        .container, .container-lg, .container-md, .container-sm, .container-xl {
            max-width: 1170px;
        }
    }
