.modal-dialog {
    margin-top: 150px;
}

.carousel-inner {
    height: 100%;
}

.image-slides {
    width: 100%;
    object-fit: cover;
    border-radius: .345rem!important;
    height: 100%;
}

#venueImages .gallery-image:nth-of-type(1) {
    margin-right: .4rem;
    padding-bottom: 31.5%;
    width: calc(50% - .4rem);
    background-size: cover;
    background-position: center;
    margin-top: 5px;
    border-radius: .345rem!important;
}

#venueImages .gallery-image:nth-of-type(2) {
    margin-right: .4rem;
    padding-bottom: calc(16% - .4rem);
    width: 25%;
    background-size: cover;
    background-position: center;
    margin-top: 5px;
    border-radius: .345rem!important;
}

#venueImages .gallery-image:nth-of-type(3) {
    padding-bottom: calc(16% - .4rem);
    width: calc(25% - .5rem);
    background-size: cover;
    background-position: center;
    margin-top: 5px;
    border-radius: .345rem!important;
}

#venueImages .gallery-image:nth-of-type(4) {
    margin-top: .4rem;
    margin-right: .4rem;
    padding-bottom: calc(16% - .4rem);
    width: 25%;
    background-size: cover;
    background-position: center;
    border-radius: .345rem!important;
}

#venueImages .gallery-image:nth-of-type(5) {
    margin-top: .4rem;
    padding-bottom: calc(16% - .4rem);
    width: calc(25% - .5rem);
    background-size: cover;
    background-position: center;
    border-radius: .345rem!important;
}

#venueImages .gallery-image {
    display: block;
    float: left;
    height: 0;
    outline: none;
    background-position: 50% 50%;
    background-size: cover;
    background-repeat: no-repeat;
    cursor: pointer;
}

.btn-gallery {
    float: right;
    bottom: 50px;
    right: 15px;
    opacity: 1;
    position: relative;
    vertical-align: middle;
    background: #fff;
    color: #1F879D;
    font-weight: 600;
    border-radius: .345rem!important;
    font-family: 'Montserrat';
}

.lift {
    transition: box-shadow .25s ease, transform .25s ease;
}

.package__details {
    border-radius: .345rem!important;
}

.ul-border {
    border: 1px solid #1F879D;
}

.badge {
    display: inline-block;
    min-width: 10px;
    padding: 7px 5px 5px 5px;
    font-size: 12px;
    font-weight: 700;
    color: #1F879D;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    background-color: #fff;
    border-radius: 50%;
    border: 2px solid #1F879D;
    margin-bottom: 3px;
    width: 30px;
    height: 30px;
}

.popular-label {
    background: #fff;
    color: #1F879D;
    border-radius: 5px;
    font-style: normal!important;
    border: 1px solid;
    font-size: 12px;
    padding: 5px 5px;
    line-height: 12px;
    float: right;
    font-weight: 700;
}

.pb-20 {
    padding-bottom: 20px;
}

.pb-5 {
    padding-bottom: 5px;
}

.package__details .special-offer-label {
    display: block;
    font-style: italic;
    color: #fff;
    padding: 0;
    margin-bottom: 1.75em;
}

@media screen and (min-width: 1025px) {
    .u-1\/3-desk {
        width: 32.9%!important;
    }
}

.media__img {
    float: left;
    margin-right: 15px;
}

@media screen and (max-width: 700px) {
    .u-1\/2-mobile {
        width: 49%!important;
    }
}

@media screen and (min-width: 601px) {
    .u-1\/3-tab-and-up {
        width: 32.5%!important;
    }
}


/* 
        ##Device = Desktops
        ##Screen = 1281px to higher resolution desktops
        */

@media (min-width: 1281px) {
    .spa-title {
        margin-top: 20px;
    }
}


/* 
            ##Device = Laptops, Desktops
            ##Screen = B/w 1025px to 1280px
            */

@media (min-width: 1025px) and (max-width: 1280px) {
    .spa-title {
        margin-top: 20px;
    }
}


/* 
            ##Device = Tablets, Ipads (portrait)
            ##Screen = B/w 768px to 1024px
            */

@media (min-width: 768px) and (max-width: 1024px) {
    #venueImages .gallery-image:nth-of-type(1) {
        margin-right: .4rem;
        padding-bottom: 35.3%;
        width: calc(50% - .4rem);
        background-size: cover;
        background-position: center;
        margin-top: 5px;
        border-radius: .345rem!important;
    }
    #venueImages .gallery-image:nth-of-type(2) {
        margin-right: .4rem;
        padding-bottom: calc(18% - .4rem);
        width: 25%;
        background-size: cover;
        background-position: center;
        margin-top: 5px;
        border-radius: .345rem!important;
    }
    #venueImages .gallery-image:nth-of-type(3) {
        padding-bottom: calc(18% - .4rem);
        width: calc(25% - .5rem);
        background-size: cover;
        background-position: center;
        margin-top: 5px;
        border-radius: .345rem!important;
    }
    #venueImages .gallery-image:nth-of-type(4) {
        margin-top: .4rem;
        margin-right: .4rem;
        padding-bottom: calc(18% - .4rem);
        width: 25%;
        background-size: cover;
        background-position: center;
        border-radius: .345rem!important;
    }
    #venueImages .gallery-image:nth-of-type(5) {
        margin-top: .4rem;
        padding-bottom: calc(18% - .4rem);
        width: calc(25% - .5rem);
        background-size: cover;
        background-position: center;
        border-radius: .345rem!important;
    }
}


/* 
            ##Device = Tablets, Ipads (landscape)
            ##Screen = B/w 768px to 1024px
            */

@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    #venueImages .gallery-image:nth-of-type(1) {
        margin-right: .4rem;
        padding-bottom: 35.3%;
        width: calc(50% - .4rem);
        background-size: cover;
        background-position: center;
        margin-top: 5px;
        border-radius: .345rem!important;
    }
    #venueImages .gallery-image:nth-of-type(2) {
        margin-right: .4rem;
        padding-bottom: calc(18% - .4rem);
        width: 25%;
        background-size: cover;
        background-position: center;
        margin-top: 5px;
        border-radius: .345rem!important;
    }
    #venueImages .gallery-image:nth-of-type(3) {
        padding-bottom: calc(18% - .4rem);
        width: calc(25% - .5rem);
        background-size: cover;
        background-position: center;
        margin-top: 5px;
        border-radius: .345rem!important;
    }
    #venueImages .gallery-image:nth-of-type(4) {
        margin-top: .4rem;
        margin-right: .4rem;
        padding-bottom: calc(18% - .4rem);
        width: 25%;
        background-size: cover;
        background-position: center;
        border-radius: .345rem!important;
    }
    #venueImages .gallery-image:nth-of-type(5) {
        margin-top: .4rem;
        padding-bottom: calc(18% - .4rem);
        width: calc(25% - .5rem);
        background-size: cover;
        background-position: center;
        border-radius: .345rem!important;
    }
}


/* 
            ##Device = Low Resolution Tablets, Mobiles (Landscape)
            ##Screen = B/w 481px to 767px
            */

@media (min-width: 481px) and (max-width: 767px) {
    .carousel-inner {
        height: 300px;
    }
    .image-slides {
        width: 100%;
        object-fit: cover;
        border-radius: .345rem!important;
        height: 300px;
    }
    .partner-details {
        padding: 0 5px;
    }
    #viewLocation {
        width: 100%;
    }
    .location-box {
        text-align: left;
    }
    .spa-title {
        margin-top: -15px;
    }
    #venueImages .gallery-image:nth-of-type(1) {
        width: 100%;
        height: 200px;
    }
    #venueImages .gallery-image:nth-of-type(2) {
        display: none;
    }
    #venueImages .gallery-image:nth-of-type(3) {
        display: none;
    }
    #venueImages .gallery-image:nth-of-type(4) {
        display: none;
    }
    #venueImages .gallery-image:nth-of-type(5) {
        display: none;
    }
}


/* 
            ##Device = Most of the Smartphones Mobiles (Portrait)
            ##Screen = B/w 320px to 479px
            */

@media (min-width: 320px) and (max-width: 480px) {
    .carousel-inner {
        height: 300px;
    }
    .image-slides {
        width: 100%;
        object-fit: cover;
        border-radius: .345rem!important;
        height: 300px;
    }
    .partner-details {
        padding: 0 5px;
    }
    #viewLocation {
        width: 100%;
    }
    .location-box {
        text-align: left;
    }
    .spa-title {
        margin-top: -15px;
    }
    #venueImages .gallery-image:nth-of-type(1) {
        width: 100%;
        height: 200px;
    }
    #venueImages .gallery-image:nth-of-type(2) {
        display: none;
    }
    #venueImages .gallery-image:nth-of-type(3) {
        display: none;
    }
    #venueImages .gallery-image:nth-of-type(4) {
        display: none;
    }
    #venueImages .gallery-image:nth-of-type(5) {
        display: none;
    }
}

@media (min-width: 768px) {
    .nav-tabs-justified>li>a,
    .nav-tabs.nav-justified>li>a {
        border-bottom: 1px solid #1F879D;
        border-radius: .345rem!important;
    }
}

.nav-tabs-justified>.active>a,
.nav-tabs-justified>.active>a:focus,
.nav-tabs-justified>.active>a:hover,
.nav-tabs.nav-justified>.active>a,
.nav-tabs.nav-justified>.active>a:focus,
.nav-tabs.nav-justified>.active>a:hover {
    border: 1px solid #1F879D;
    border-radius: .345rem!important;
}

.nav-justified.venue__offer-tabs>li>a {
    display: block;
    margin-right: -1px;
    margin-bottom: 1px;
    border-bottom: 1px solid #1F879D;
    border-radius: .345rem!important;
    font-size: 16px;
}

.nav>li>a:focus,
.nav>li>a:hover {
    margin-left: 0px!important;
}


/* For portrait layouts only */

@media only screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation:portrait) {
    .spa-title {
        margin-top: -15px;
    }
}


/* For landscape layouts only */

@media only screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation:landscape) {
    .spa-title {
        margin-top: 15px;
    }
}

.flexible {
    visibility: hidden;
}

input[type=checkbox]:checked+.flexible {
    visibility: visible;
}

#hint-form label.error {
    color: #FF0000;
}

table {
    border-collapse: collapse;
    width: 100%;
}

th,
td {
    text-align: left;
    padding: 8px;
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}

.venue__offer-tabs>li>a {
    white-space: normal;
    padding-top: .875em;
    padding-bottom: .875em;
}