﻿html, body {
    margin: 0;
    padding: 0;
}

body {
    height: 100vh;
}

* {
    box-sizing: border-box;
}

.other-amount input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
.other-amount input[type=number] {
    -moz-appearance: textfield;
}

.voucher-upgrade-container {
    width: auto;
}

.voucher-upgrade {
    width: 0;
    position: fixed;
    top: 25%;
    right: 0;
    z-index: 8;
    transition: width 400ms cubic-bezier(.47,1.64,.41,.8), opacity 1ms ease, min-height 300ms ease-in-out;
    text-align: center;
    opacity: 0;
    overflow: hidden;
    min-height: 4rem;
    max-height: 4rem;
    display: grid;
    grid-template-rows: 4rem;
    box-shadow: -1px 1px 5px 0px lightgrey;
}

    .voucher-upgrade.show {
        width: 100vw;
    }

    .voucher-upgrade.opacity {
        opacity: 1;
    }

    .voucher-upgrade.expand {
        min-height: 30vh;
        max-height: unset;
    }

.voucher-upgrade-title {
    font-size: 1.1rem;
    font-weight: 500;
    padding: 1rem;
    text-transform: uppercase;
}

.voucher-upgrade-text {
    padding: 1rem;
}

.voucher-upgrade-button {
    display: grid;
    justify-items: center;
    padding-bottom: 1rem;
}

.close-upgrade {
    position: relative;
    color: inherit;
    background: transparent;
    border: none;
    float: right
}

.overlay {
    height: 100%;
    width: 100%;
    position: fixed;
    background: RGBA(0,0,0,0.5);
    z-index: 9;
    top: 0;
}

.card-overlay {
    height: 100%;
    width: 100%;
    position: absolute;
    background: RGBA(0,0,0,0.5);
    z-index: 7;
}

.parent {
    height: 100vh;
    z-index: -1;
}

.header {
    height: 6rem;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    grid-column: 1/4;
}

#logoContainer {
    justify-self: center;
    padding: 0.5rem 0;
    grid-column: 2;
    height: 6rem;
}

.logo-wrapper {
    height: 6rem;
    cursor: pointer;
}

.logo-wrapper img {
    max-height: 100%;
    max-width: 100%;
}

.subheader {
    min-height: 20px;
    text-align: center;
    padding: 1rem;
    margin-bottom: 0;
    grid-column: 1/4;
}

.booking-details-summary-container {
    border: solid 1px #ccc;
}

.page-container {
    display: grid;
    padding-bottom: 2rem;
}


.cta:hover {
    transition: background-color 400ms ease-in;
}

.cta-u {
    width: max-content;
    justify-self: start;
}

.to-billing-button {
    width: max-content;
    justify-self: end;
}

.vouchers-container {
    display: grid;
    justify-content: center;
}

.voucher-cards {
    display: grid;
    grid-template-columns: min-content;
    justify-self: center;
    margin-top: 12rem;
}

.voucher-card {
    position: relative;
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: 10rem auto 1fr auto;
    background-color: #fff;
    border-radius: 0;
    box-shadow: 0 5px 5px -5px #333;
    max-width: 100%;
    margin-top: 0rem;
    background: transparent;
    transition: all 0.3s ease;
}

    .voucher-card:hover {
        transform: translate3d(0, -2px, 0);
    }

.voucher-header {
    position: relative;
    padding: 0.5rem;
    top: 1rem;
}

    .voucher-header img {
        height: 200px;
        object-fit: cover;
        width: 350px;
        z-index: 1;
        position: relative;
        cursor: pointer;
    }

.voucher-subheader {
    z-index: 0;
    height: 4rem;
    position: relative;
    margin: 0;
}

.voucher-summary {
    margin: 0;
    position: relative;
    display: grid;
    padding: 0 1rem;
    grid-template-rows: min-content min-content auto min-content;
}

.voucher-summary-text {
    margin: 5px 0 0 10px;
}

.voucher-summary-list li {
    font-size: 16px;
    line-height: 1.5;
}

.voucher-footer {
    display: grid;
    grid-template-columns: auto 40%;
    padding: 0.5rem 1rem;
}

    .voucher-footer button {
        grid-column: 2;
    }

.price-read-more {
    margin-top: 1rem;
    align-self: baseline;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: baseline;
}

.link-btn {
    display: inline-block;
    color: inherit;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    padding-left: 5px;
    transition: all 0.5s ease-in-out;
}

.read-more {
    padding-right: 5px;
}

    .read-more i {
        margin-left: 5px;
    }

@keyframes bounceArrow {
    0% {
        transform: translateX(0);
    }

    75% {
        transform: translateX(-2px);
    }

    100% {
        transform: translateX(0);
    }
}

.voucher-selected-container {
    max-width: min-content;
    display: none;
    margin: 0 auto;
}

.voucher-selected-page-container {
    margin-top: 12rem;
}


.voucher-selected-card {
    display: grid;
    grid-template-areas:
        "header"
        "subheader"
        "summary"
        "footer";
    grid-template-rows: 10rem auto 1fr auto;
    justify-self: center;
}

.voucher-selected-header {
    grid-area: header;
    position: relative;
    top: 1rem;
    display: grid;
    align-items: center;
}

    .voucher-selected-header img {
        margin: 0.5rem;
        width: 350px;
        height: 200px;
        object-fit: cover;
        border-right: 0;
        z-index: 1;
        position: relative;
    }

.voucher-selected-subheader {
    grid-area: subheader;
    z-index: 0;
    height: 4rem;
    background: #ffffff;
    position: relative;
    margin: 0;
}

.voucher-selected-summary {
    grid-area: summary;
    padding: 1rem 1rem 0 1rem;
    display: grid;
}

.voucher-selected-price {
    margin-left: 1rem;
}

.voucher-selected-summary-list {
    margin-bottom: 0.5rem;
    margin-left: 1rem;
}

.voucher-selected-footer {
    grid-area: footer;
    padding-bottom: 1rem;
    display: grid;
    grid-template-columns: 8rem 8rem;
    grid-gap: 2rem;
    padding-right: 1rem;
    justify-self: end;
    position: relative;
}

.voucher-selected-description {
    margin-left: 1rem;
}

.voucher-selected-footer-container {
    grid-area: footer;
    display: grid;
}

.voucher-option {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: end;
    grid-column-gap: 1rem;
    align-self: end;
}

.voucher-title-div {
    display: grid;
    padding: 1rem;
    align-items: baseline;
    grid-template-columns: 1fr auto;
}

.btn {
    border-radius: 0;
    padding: 0.4rem;
    text-decoration: none;
    transition: background-color 0.4s;
}

.atc {
    align-self: end;
}


.atc-upgrade {
    align-self: end;
}

.qty-container {
    display: grid;
    align-self: end;
}

.terms-container {
    margin: 1rem;
}

.cart-container {
    justify-self: end;
    grid-column: 3;
    align-self: end;
    padding-right: 1rem;
}

.cart-content {
    display: grid;
    position: fixed;
    border: 1px solid #ccc;
    border-radius: 0 0 0 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    z-index: 10;
    width: 100%;
    right: 0;
    top: 6rem;
}

    .cart-content h2 {
        margin-top: 0;
    }

    .cart-content ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .cart-content li {
        padding: 5px 0;
        border-bottom: 1px solid #ccc;
    }

.cartHeader {
    display: grid;
    grid-template-columns: auto auto;
    grid-column-gap: 3rem;
}

    .cartHeader a#reset {
        text-decoration: underline;
        color: inherit;
    }

.cartItems {
    display: grid;
    grid-template-columns: 1fr auto auto;
    grid-column-gap: 0.5rem;
}

.itemsmall {
    margin-top: -5px;
    padding-left: 0.5rem;
}

.itemCost, .itemDelete, .overviewTotalInfo {
    justify-self: end;
}

.itemDelete {
    cursor: pointer;
}

.restaurantItem, .spaItem, .extrasItem, .voucherItem {
    padding-bottom: 5px;
    padding-left: 1rem;
}

.remove {
    color: inherit;
}

.floatOverviewInfo {
    padding: 15px;
}

.floatOverviewSummary {
    padding: 15px;
}

.roomItemHeader {
    font-weight: bold;
}

.rotate {
    -moz-transition: all .5s linear;
    -webkit-transition: all .5s linear;
    transition: all .5s linear;
}

    .rotate.down {
        -moz-transform: rotate(90deg);
        -webkit-transform: rotate(90deg);
        transform: rotate(90deg);
    }

.checkout-button-container {
    display: grid;
    padding: 1rem;
    text-align: center;
    grid-row-gap: 1rem;
}

.checkout-button {
    width: 100%;
    padding: 0.2rem;
}

.cart-icon-container {
    display: grid;
    grid-template-columns: 2.4em min-content;
    align-items: center;
    font-weight: bold;
    padding: 1rem 0;
    cursor: pointer;
}

.cart-count-badge {
    position: relative;
}

    .cart-count-badge:after {
        content: attr(value);
        font-size: 12px;
        font-weight: bold;
        border-radius: 20%;
        padding: 10px 5px;
        position: absolute;
        left: 22px;
        top: -25px;
    }

.filter-range-container {
    display: grid;
    grid-template-columns: 4rem min-content 4rem;
    grid-column-gap: 0.5rem;
    align-items: baseline;
}

#filter-category {
    border-radius: 0;
}

.voucher-filter {
    display: grid;
    grid-template-columns: auto auto;
    grid-column: 1/4;
    margin: 0 auto;
    font-size: 0.8rem;
    padding: 0 1rem 1rem 1rem;
    grid-column-gap: 1rem;
}

.option-select {
    position: absolute;
    left: 1rem;
    width: calc(100% - 2rem);
    border: none;
    overflow: auto;
    z-index: 8;
    font-size: 12px;
    transition: height 0.2s, opacity 0.3s linear;
    padding: 0;
    border-radius: 0;
    background-image: none;
    opacity: 0;
    height: 0;
    max-height: 220px;
    top: 20%;
    border-radius: 2px;
}

    .option-select li {
        padding: 0.5rem 0;
        border-bottom: 1px solid;
        text-align: center;
        width: 100%;
        cursor: pointer
    }

        .option-select li:hover {
            background: lightgray;
            color: white;
        }

        .option-select li:checked {
            box-shadow: 0 0 10px 100px lightgray inset;
        }

.selected-option-select {
    position: absolute;
    border: none;
    overflow: auto;
    z-index: 7;
    transition: height 0.2s, opacity 0.3s linear;
    padding: 0;
    border-radius: 0;
    background-image: none;
    opacity: 0;
    height: 0;
    top: -14rem;
    box-shadow: -4px -11px 15px 0px lightgray;
    width: 18rem;
    text-align: center;
    border-radius: 2px;
}

    .selected-option-select li {
        padding: 0.5rem 0;
        border-bottom: 1px solid;
        text-align: center;
        width: 100%;
        cursor: pointer
    }

        .selected-option-select li:hover {
            background: lightgray;
            color: white;
        }

        .selected-option-select li:checked {
            box-shadow: 0 0 10px 100px lightgray inset;
        }



.addedToCart {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    left: 1rem;
    width: calc(100% - 2rem);
    border: none;
    z-index: 7;
    transition: height 0.2s, opacity 0.3s ease-in;
    padding: 1rem;
    font-size: initial;
    height: 0;
    background: white;
    border-radius: 3px;
    box-shadow: 0px 0px 6px 1px rgba(0,0,0,0.5);
    color: black;
    height: 0;
    opacity: 0;
    top: 50%;
    pointer-events: none;
}

.overviewBookingButton {
    padding-top: 1rem;
    grid-column: 1;
}

#buyVoucher {
    width: 100%;
}

select {
    border-radius: 0 !important;
}

.voucher-name {
    text-transform: uppercase;
    font-weight: 450;
}

.voucher-category {
    text-transform: uppercase;
    border-bottom: solid 1px black;
}

.voucher-selected-title {
    font-weight: 500;
    font-size: 1.1rem;
}
/**********************************
        ACCORDION CLASSES
***********************************/
.accordion {
    font-size: 1rem;
    width: inherit;
    margin: 0 auto;
    border: 1px solid lightgrey;
}

.accordion-header {
    padding: 1rem;
    cursor: pointer;
    font-size: 1rem;
    transition: all .3s;
}

.checkout-accordion-header {
    padding: 1rem;
    cursor: pointer;
    font-size: 1rem;
    transition: all .3s;
}

.accordion__item {
    border-bottom: 1px solid lightgrey;
}

    .accordion__item .accordion__item {
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    }

.accordion-header:hover {
    position: relative;
    z-index: 5;
}

.checkout-accordion-header:hover {
    position: relative;
    z-index: 5;
}

.accordion-body {
    display: none;
    border-top: 1px groove #dfdfdf
}

.accordion-body__contents {
    font-size: .85em;
}

.accordion__item.active:last-child .accordion-header {
    border-radius: 0;
}

.accordion:first-child > .accordion__item > .accordion-header {
    border-bottom: 1px solid transparent;
}

.accordion__item > .accordion-header:after {
    content: "\e59e";
    font-family: 'FONT AWESOME 6 PRO';
    font-size: 1.2em;
    float: right;
    position: relative;
    top: -2px;
    transition: .3s all;
    transform: rotate(0deg);
}

.accordion__item.active > .accordion-header:after {
    content: "\e404";
    transform: rotate(-360deg);
}

*, p {
    margin: 0;
    padding: 0;
    font-family: 'Nanum Gothic', sans-serif;
}

a {
    text-decoration: none;
}

.breadcrumbs {
    margin: auto -1rem;
    float: left;
    font-size: 0.8rem;
}

    .breadcrumbs li {
        float: left;
        list-style: none;
    }

        .breadcrumbs li a {
            display: block;
            min-height: 50px;
            max-height: 50px;
            border-image: none;
            position: relative;
            margin-left: 25px;
            margin-right: 6px;
            padding: 15px 0 15px 10px;
            z-index: 1;
        }

            .breadcrumbs li a:before {
                content: "";
                position: absolute;
                left: 100%;
                top: 0;
                width: 0;
                height: 0;
                border-top: 25px solid transparent;
                border-bottom: 25px solid transparent;
                z-index: -1;
            }

            .breadcrumbs li a:after {
                content: "";
                position: absolute;
                left: -25px;
                top: 0px;
                width: 0px;
                height: 0px;
                border-width: 25px;
                border-style: solid;
                border-left: 25px solid transparent;
                -moz-border-top-colors: none;
                -moz-border-right-colors: none;
                -moz-border-bottom-colors: none;
                -moz-border-left-colors: none;
                border-image: none;
                z-index: -1;
            }

        .breadcrumbs li:first-child a {
            margin-left: 0;
            padding-left: 20px;
            border-top-left-radius: 0;
            border-bottom-left-radius: 0;
        }

            .breadcrumbs li:first-child a:after {
                display: none;
            }

        .breadcrumbs li:last-child a {
            margin-right: 0;
            padding-right: 20px;
            border-top-right-radius: 0;
            border-bottom-right-radius: 0;
        }

            .breadcrumbs li:last-child a:before {
                display: none;
            }

    .breadcrumbs .active a {
        color: black;
        text-decoration: underline;
        cursor: default;
    }

.checkout-items-container {
    border: 1px solid grey;
}

.checkout-container {
    display: grid;
    grid-template-rows: 5rem auto;
    grid-auto-rows: auto;
    margin-top: 10rem;
}

.recipient-information-container {
    padding: 1rem;
}

.postcode_lookup {
    display: grid;
    grid-template-columns: 1fr auto;
    column-gap: 5px;
    row-gap: 5px;
}

    .postcode_lookup button {
        border-radius: 0px;
    }

.personalisation {
    display: grid;
    grid-row-gap: 1rem;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    background: transparent;
    bottom: 0;
    color: transparent;
    cursor: pointer;
    height: auto;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: auto;
}

.reviewHeader {
    display: grid;
    grid-template-columns: 2fr auto auto;
    align-items: baseline;
}

.voucherPrice {
    justify-self: end;
    font-weight: bold;
    padding-right: 1rem
}

.billing-review-container {
    display: grid;
    grid-template-columns: auto;
    grid-column-gap: 1rem;
    padding: 1rem;
}

.checkout-review {
    grid-row: 1;
}

.guestDetailHeader {
    grid-column: unset;
    padding-top: 1rem;
}

.to-billing {
    display: grid;
    justify-content: end;
    padding: 1rem;
}

.overview {
    padding-bottom: 1rem;
}

.overviewTitle {
    font-size: 1.1em;
}

.error-message {
    background-color: #ffe5e5;
    border: 1px solid #ff8080;
    border-radius: 4px;
    color: #ff0000;
    opacity: 0;
    height: 0;
    transition: opacity 0.3s ease-in-out;
    text-align: center;
}

    .error-message.show-error {
        opacity: 1;
        height: fit-content;
        padding: 10px;
        margin-top: 1rem;
    }

.error {
    border: 1px solid red;
}

.header-container {
    position: fixed;
    z-index: 8;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
}

/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 20px;
    margin: 1rem 0;
}

    /* Hide default HTML checkbox */
    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

    .slider:before {
        position: absolute;
        content: "";
        height: 12px;
        width: 12px;
        left: 3px;
        bottom: 4px;
        background-color: white;
        -webkit-transition: .4s;
        transition: .4s;
    }

input:checked + .slider {
    background-color: #43d500;
}

input:focus + .slider {
    box-shadow: 0 0 1px #43d500;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

.slider.round {
    border-radius: 34px;
}

    .slider.round:before {
        border-radius: 50%;
    }

.switch-label {
    position: absolute;
    top: 50%;
    left: 50px;
    transform: translateY(-50%);
    color: #555;
    width: max-content;
}

.related-vouchers {
    justify-content: center;
    display: grid;
}

.sale-banner {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: rgba(0,0,0,0.8);
    height: 3rem;
    width: 200px;
    z-index: 2;
    text-align: center;
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
    display: grid;
}

    .sale-banner span {
        margin: auto;
    }

.hero-image {
    margin-top: 8rem;
    width: 100%;
    height: 300px;
    margin-bottom: -10rem;
    background-image: url('@(Model.Defaults.hero_image ?? "")');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 55%
}

    .hero-image img {
        object-fit: cover;
        width: 100%;
        height: 100%;
    }


@media only screen and (min-width: 600px) {

    .guestNameContainer {
        display: grid;
        grid-template-columns: auto 2fr;
        grid-column-gap: 1rem;
    }

    .nameDiv {
        display: grid;
        grid-template-columns: auto auto;
        grid-column-gap: 1rem;
    }

    .address {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        column-gap: 10px;
        padding-top: 5px;
    }

    .address1 {
        grid-column: 1 / 4;
    }

    .guestPhoneContainer {
        width: 40%;
    }

    .voucher-upgrade.show {
        width: 60vw;
    }

    .voucher-filter {
        font-size: 1rem;
    }

    .voucher-selected-subheader {
        display: none;
    }

    .voucher-selected-header {
        top: 0;
    }

    .voucher-selected-container {
        justify-content: unset;
    }

    .voucher-selected-card {
        grid-template-rows: 12rem auto 1fr auto;
    }

    .breadcrumbs {
        font-size: 1rem;
        margin: auto;
        width: unset;
    }

    #breadcrumbs {
        justify-self: center;
    }
}

@media only screen and (min-width:768px) {
    .page-container {
        grid-template-columns: 1fr 4fr 1fr;
        justify-content: center;
    }

    .hero-image {
        grid-column: 2;
    }

    .vouchers-container {
        grid-column: 2;
    }

    .checkout {
        grid-column: 2;
    }

    .voucher-cards {
        grid-gap: 20px;
        grid-template-columns: repeat(2, min-content);
    }

    .voucher-filter {
        grid-template-columns: 1fr 1fr;
    }

    .cart-content {
        width: 50%;
    }

    .voucher-header img {
        height: 200px;
        width: 300px;
    }

    .voucher-upgrade.show {
        width: 50vw;
    }

    .link-btn i {
        opacity: 0;
        transition: all 0.3s ease;
    }

    .link-btn:hover i {
        opacity: 1;
        animation: bounceArrow 0.7s infinite;
    }

    .link-btn:hover {
        text-decoration: underline;
        color: inherit;
        transform: translate3d(0, -2px, 0);
    }

    .billing-review-container {
        grid-template-columns: 60% 1fr;
    }

    .checkout-review {
        grid-row: unset;
    }

    .guestDetailHeader {
        grid-column: 1/3;
        padding: unset;
    }

    .overviewBookingButton {
        grid-column: 2;
    }

    .voucher-selected-container {
        grid-column: 2;
    }

    .voucher-selected-card {
        display: grid;
        grid-template-areas:
            "header summary summary"
            "header summary summary"
            "header footer footer";
        margin-left: -10rem;
        position: relative;
        grid-template-rows: auto auto 5rem;
        justify-self: unset;
    }


    .voucher-selected-header {
        grid-area: header;
        position: relative;
        left: 10rem;
    }

        .voucher-selected-header img {
            margin: 0.5rem;
            width: 330px;
            height: 260px;
            object-fit: cover;
            border-right: 0;
        }

    .voucher-selected-summary {
        padding: 1rem 1rem 0 10rem;
    }

    .voucher-selected-summary, .voucher-selected-footer-container {
        width: 550px;
    }

    .hero-image {
        height: 350px;
        grid-column: 1/4;
    }
}

@media only screen and (min-width:992px) {
    .voucher-cards {
        grid-template-columns: repeat(3, min-content);
    }

    .cart-content {
        width: 33%;
        max-width: 400px;
    }

    .voucher-upgrade.show {
        width: 33vw;
    }

    .voucher-selected-header img {
        width: 420px;
        height: 340px;
    }

    .voucher-selected-card-container {
        display: grid;
        justify-content: center;
    }
}

@media only screen and (min-width: 1200px) {
    .voucher-header img {
        height: 200px;
        width: 350px;
    }

    .voucher-upgrade.show {
        width: 20vw;
    }

    .voucher-selected-summary, .voucher-selected-footer-container {
        width: 850px;
    }

    .voucher-selected-price {
        margin: -3.5rem 0;
        align-self: self-end;
        z-index: 0;
    }
}
