/* Font */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=Lato:wght@400;700&display=swap');

/* Global */
html,
body {
    padding: 0;
    margin: 0;
}
body {
    font-family: 'Lato', sans-serif;
    -webkit-font-smoothing: antialiased;
    font-size: 62.5%;
    color: #000;
    background-color: #131313;
}

/* Defaults */
a {
    text-decoration: none;
    -webkit-transition: color 0.2s linear;
    -moz-transition: color 0.2s linear;
    -ms-transition: color 0.2s linear;
    -o-transition: color 0.2s linear;
    transition: color 0.2s linear;
}
h1,
h2,
h3,
h4,
h5,
h6,
ul,
ol,
li,
p,
form {
    padding: 0;
    margin: 0;
}

/* Logo */
.logo {
    width: 200px;
    height: 200px;
    background-image: url(../img-final/logo-light.svg);
    background-size: 80%;
    background-position: center;
    background-repeat: no-repeat;
    margin: 40px auto 0 auto;
    border-radius: 50%;
}
.logo-white {
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}
.logo-black {
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}
.block-20 {
    width: 100%;
    height: 20px;
}
.block-40 {
    width: 100%;
    height: 40px;
}
.block-300 {
    width: 100%;
    height: 300px;
}

/* Content */
#content {
    max-width: calc(500px - 20px);
    overflow: hidden;
    text-align: center;
    padding: 0 10px;
    margin: 0 auto;
}
.content-internal1 {
}
.content-internal2 {
    background-image: url(../img-final/background-lulworth1.jpg);
    background-size: 100%;
    background-position: center top;
    background-repeat: no-repeat;
}

/* Page Section */
#content .page-section {
    width: calc(100% - 40px);
    float: left;
    background-color: #fff;
    padding: 20px 20px 5px 20px;
    margin-bottom: 30px;
    position: relative;
    border-radius: 20px;
}
#content .page-section::before {
    content: '';
    width: calc(100% - 40px);
    height: 6px;
    display: block;
    background-color: #555;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    position: absolute;
    left: 20px;
    top: -6px;
}
#content .page-section-nolip::before {
    display: none;
}
#content .subheading {
    text-align: center;
    margin-bottom: 10px;
}
#content .subheading span {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
    background: rgba(0, 0, 0, 0.06);
    padding: 8px 12px;
    border-radius: 30px;
}
#content h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 26px;
    font-weight: 400;
    color: #000;
    line-height: 1.35;
    text-align: center;
    margin-bottom: 20px;
}
#content p {
    font-size: 17px;
    font-weight: 400;
    color: #222;
    line-height: 1.35;
    margin-bottom: 20px;
}
#content p a {
    color: #5e8878;
    font-weight: 700;
    border-bottom: 1px dotted #5e8878;
}
#content ul {
    margin-bottom: 20px;
}
#content ul li {
    font-size: 17px;
    font-weight: 400;
    color: #222;
    line-height: 1.35;
    margin-left: 20px;
    margin-bottom: 10px;
}
#content p.textgreen {
    color: #5e8878 !important;
    background: rgba(94, 136, 120, 0.1);
    padding: 14px;
    border-radius: 10px;
}
#content p.textpink {
    color: #d9868d !important;
    background: rgba(217, 134, 141, 0.1);
    padding: 14px;
    border-radius: 10px;
}

/* Photos */
.photo-lulworth-castle1 {
    width: calc(100% + 40px);
    height: 280px;
    margin-bottom: 20px;
    background-image: url(../img-final/photo-lulworth-castle1.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    left: -20px;
}
.photo-lulworth-cove1 {
    width: calc(100% + 40px);
    height: 280px;
    margin-bottom: 20px;
    background-image: url(../img-final/photo-lulworth-cove1.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    left: -20px;
}
.photo-lulworth-cove2 {
    width: calc(100% + 40px);
    height: 270px;
    margin-bottom: 20px;
    background-image: url(../img-final/photo-lulworth-cove2.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    left: -20px;
}
.photo-visit {
    width: calc(100% + 40px);
    height: 240px;
    margin-bottom: 20px;
    background-image: url(../img-final/photo-visit.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    left: -20px;
}
.photo-hotel1 {
    width: calc(100% + 40px);
    height: 300px;
    margin-bottom: 20px;
    background-image: url(../img-final/photo-hotel1.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    left: -20px;
}
.photo-hotel2 {
    width: calc(100% + 40px);
    height: 300px;
    margin-bottom: 20px;
    background-image: url(../img-final/photo-hotel2.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    left: -20px;
}
.photo-hotel-castleinn {
    width: calc(100% + 40px);
    height: 360px;
    margin-bottom: 20px;
    background-image: url(../img-final/photo-hotel-castleinn.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    left: -20px;
}
.photo-hotel-limestone {
    width: calc(100% + 40px);
    height: 320px;
    margin-bottom: 20px;
    background-image: url(../img-final/photo-hotel-limestone.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    left: -20px;
}
.photo-hotel-coveinn {
    width: calc(100% + 40px);
    height: 350px;
    margin-bottom: 20px;
    background-image: url(../img-final/photo-hotel-coveinn.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    left: -20px;
}
.photo-hotel-lodge {
    width: calc(100% + 40px);
    height: 320px;
    margin-bottom: 20px;
    background-image: url(../img-final/photo-hotel-lodge.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    left: -20px;
}
.photo-food1 {
    width: calc(100% + 40px);
    height: 280px;
    margin-bottom: 20px;
    background-image: url(../img-final/photo-food1.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    left: -20px;
}
.photo-rsvp1 {
    width: calc(100% + 40px);
    height: 240px;
    margin-bottom: 20px;
    background-image: url(../img-final/photo-rsvp1.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    left: -20px;
}
.photo-breakfast-menu {
    width: calc(100% + 40px);
    margin-bottom: 20px;
    position: relative;
    left: -20px;
}

/* Photo Temp */
.photo-temp1 {
    width: 100%;
    height: 300px;
    background-image: url(../img/IMG_4383.JPG);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.photo-temp2 {
    width: 100%;
    height: 300px;
    background-image: url(../img/IMG_4384.JPG);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.photo-drinks1 {
    width: calc(100% + 40px);
    height: 300px;
    margin-bottom: 20px;
    background-image: url(../img-final/photo-drinks1.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    left: -20px;
}

/* Photo Double */
.photo-double {
    width: calc(100% + 40px);
    overflow: hidden;
    margin-bottom: 20px;
    position: relative;
    left: -20px;
}
.photo-double .photo-double-item:first-child {
    width: 49%;
    float: left;
}
.photo-double .photo-double-item:last-child {
    width: 49%;
    float: right;
}

/* Photo Clip */
.clip-1 {
    clip-path: polygon(0 0, 100% 5%, 100% 100%, 0 95%);
}
.clip-2 {
    clip-path: polygon(0 5%, 100% 0%, 100% 100%, 0 95%);
}
.clip-double-1 {
    clip-path: polygon(0 0, 100% 3%, 100% 97%, 0 94%);
}
.clip-double-2 {
    clip-path: polygon(0 3%, 100% 6%, 100% 100%, 0 97%);
}

/* Misc */
.rsvp-no-gif {
    width: 100%;
    margin-bottom: 20px;
}
.guest-photo {
    width: calc(100% + 40px);
    margin-bottom: 20px;
    background-color: #f5f5f5;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    left: -20px;
}
.story-photo {
    width: calc(100% + 40px);
    background-color: #f5f5f5;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    left: -20px;
}
.story-photo:last-of-type {
    margin-bottom: 20px;
}
.bow-tie {
    width: 100%;
    height: 1px;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.2) 50%,
        rgba(0, 0, 0, 0) 100%
    );
    margin: 30px 0;
    position: relative;
}
.bow-tie::before {
    content: '';
    width: 32px;
    height: 1px;
    background-color: #fff;
    position: absolute;
    left: calc(50% - 16px);
    top: 0;
}
.bow-tie::after {
    content: '';
    width: 16px;
    height: 16px;
    background-image: url(../img-final/bow-tie.svg);
    background-size: 16px;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    left: calc(50% - 8px);
    top: -7px;
}
.page-text {
    width: 100%;
    float: left;
    margin-bottom: 30px;
}
.text-faqs {
    color: #fff !important;
    text-align: center;
    padding: 0 50px;
    margin-bottom: 0px !important;
}
.text-footer {
    color: #fff !important;
    text-align: center;
    padding: 0 50px;
    margin-bottom: 0px !important;
}

/* temp */
.itinerary-date {
    font-size: 22px !important;
}
.itinerary-item {
    overflow: hidden;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 20px;
    margin-bottom: 20px;
}
.itinerary-item-end {
    border-bottom: 0;
    padding-bottom: 0;
}
.itinerary-item .icon {
    width: 50px;
    height: 50px;
    float: left;
    background-color: rgba(0, 0, 0, 0.06);
    background-size: 24px;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 50px;
}
.itinerary-item .text {
    width: calc(100% - 66px);
    float: right;
}
.itinerary-item .text .time {
    font-size: 14px;
    font-weight: 700;
    color: #000;
    margin: 2px 0 6px 0;
}
.itinerary-item .text p {
    margin-bottom: 0 !important;
}
.itinerary-item .icon-wine {
    background-image: url(../img-final/icon-wine.svg);
}
.itinerary-item .icon-beer {
    background-image: url(../img-final/icon-beer.svg);
}
.itinerary-item .icon-castle {
    background-image: url(../img-final/icon-castle.svg);
}
.itinerary-item .icon-seats {
    background-image: url(../img-final/icon-seats.svg);
}
.itinerary-item .icon-ceremony {
    background-image: url(../img-final/icon-ceremony.svg);
    background-size: 32px;
}
.itinerary-item .icon-sunglasses {
    background-image: url(../img-final/icon-sunglasses.svg);
}
.itinerary-item .icon-toast {
    background-image: url(../img-final/icon-toast.svg);
}
.itinerary-item .icon-dog {
    background-image: url(../img-final/icon-dog.svg);
}
.itinerary-item .icon-dinner {
    background-image: url(../img-final/icon-dinner.svg);
}
.itinerary-item .icon-cocktail {
    background-image: url(../img-final/icon-cocktail.svg);
}
.itinerary-item .icon-photo {
    background-image: url(../img-final/icon-photo.svg);
}
.itinerary-item .icon-confetti {
    background-image: url(../img-final/icon-confetti.svg);
}
.itinerary-item .icon-dance {
    background-image: url(../img-final/icon-dance.svg);
}
.itinerary-item .icon-cheese {
    background-image: url(../img-final/icon-cheese.svg);
}
.itinerary-item .icon-fireworks {
    background-image: url(../img-final/icon-fireworks.svg);
}
.itinerary-item .icon-evening-food {
    background-image: url(../img-final/icon-evening-food.svg);
}
.itinerary-item .icon-pillow {
    background-image: url(../img-final/icon-pillow.svg);
}

/* Loading */
#loading {
    display: block;
}
#loading .loading-dog {
    width: 120px;
    height: 120px;
    background-image: url(../img-final/loading-dog.webp);
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
    margin: 0 auto;
    position: absolute;
    left: calc(50% - 60px);
    top: calc(50% - 60px);
}

#invite-lookup {
    display: none;
}

#invite-show1 {
    display: none;
    text-align: left;
}
#invite-show1-no {
    display: none;
    text-align: left;
}
#invite-show2 {
    display: none;
    text-align: left;
}

/* Toast animation */
.toast-group {
    position: fixed;
    z-index: 9999;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    pointer-events: none;
}
.toast {
    display: flex;
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    transition: 230ms cubic-bezier(0.21, 1.02, 0.73, 1);
    transform: translateY(0px);
    justify-content: center;
}
.toast-inner {
    display: flex;
    align-items: center;
    background: #fff;
    font-size: 14px;
    font-weight: 400;
    color: #222;
    line-height: 1.35;
    will-change: transform;
    box-shadow:
        0 3px 10px rgba(0, 0, 0, 0.1),
        0 3px 3px rgba(0, 0, 0, 0.05);
    pointer-events: auto;
    padding: 8px 10px;
    border-radius: 8px;
    animation: 0.35s cubic-bezier(0.21, 1.02, 0.73, 1) 0s 1 normal forwards
        running toast;
}
@keyframes toast {
    from {
        opacity: 0.5;
        transform: translate3d(0, -200%, 0) scale(0.6);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }
}
.toast-inner-reverse {
    animation: 0.35s cubic-bezier(0.21, 1.02, 0.73, 1) 0s 1 normal forwards
        running toast-reverse;
}
@keyframes toast-reverse {
    from {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }
    to {
        opacity: 0.5;
        transform: translate3d(0, -200%, 0) scale(0.6);
    }
}

/* Button animation */
.submit-group {
    width: 100%;
    height: 44px;
    display: block;
    text-align: center;
}
.submit-button {
    width: 100%;
    height: 44px;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    background-color: #90b3a6;
    border: 0;
    border-radius: 10px;
    position: relative;
}
.submit-button::before,
.submit-button::after {
    content: '';
    width: 100%;
    height: 44px;
    background-size: 30px;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    animation-fill-mode: forwards;
}
.submit-button-stage2 {
    width: 44px;
    transition: all 0.5s;
    transition-delay: 0.5s;
}
.submit-button-stage2 span {
    opacity: 0;
    transition: all 0.5s;
}
.submit-button-stage2::before {
    background-image: url(../img-final/stage2.svg);
    opacity: 0;
    animation-delay: 0.5s;
    animation-name: submit-button-fadein;
    animation-duration: 0.5s;
}
.submit-button-stage3 {
    background-color: #5e8878;
    transition: all 0.5s;
}
.submit-button-stage3::before {
    animation-delay: 0s;
    animation-name: submit-button-fadeout;
    animation-duration: 0.5s;
}
.submit-button-stage3::after {
    background-image: url(../img-final/stage3.svg);
    opacity: 0;
    animation-delay: 0.5s;
    animation-name: submit-button-fadein;
    animation-duration: 0.5s;
}
@keyframes submit-button-fadein {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
@keyframes submit-button-fadeout {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

/* Form */
.form {
    display: block;
    margin-bottom: 20px;
}
.form input[type='text'] {
    width: 100%;
    display: block;
    font-size: 15px;
    color: #222;
    border: 1px solid #e5e5e5;
    padding: 12px 10px;
    margin-bottom: 10px;
    box-sizing: border-box;
    border-radius: 10px;
}
.form label {
    width: 100%;
    display: block;
    font-size: 15px;
    color: #222;
    background-color: #f9f9f9;
    background-image: url(../img-final/check-grey.svg);
    background-size: 16px;
    background-position: 10px center;
    background-repeat: no-repeat;
    border: 1px solid #e5e5e5;
    padding: 12px 10px 12px 36px;
    margin-bottom: 10px;
    box-sizing: border-box;
    border-radius: 10px;
}
.form label .price {
    color: #000;
    font-weight: 700;
    float: right;
}
.form input[type='radio'] {
    display: none;
}
.form input[type='radio']:checked + label {
    color: #5e8878;
    background-color: rgba(94, 136, 120, 0.1);
    background-image: url(../img-final/check-green.svg);
    border-color: #5e8878;
}
.form input[type='radio']:checked + label .price {
    color: #5e8878;
}

#food-person2,
#allergies-person2,
#allergies-person1-info,
#allergies-person2-info {
    display: none;
}

/* FAQs */
.faq-item {
    overflow: hidden;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 15px;
    margin-bottom: 15px;
}
.faq-item:last-of-type {
    border-bottom: 0;
    padding-bottom: 0;
    margin-bottom: 20px;
}
.faq-item h4 {
    font-size: 17px;
    font-weight: 700;
    color: #222;
    line-height: 1.35;
}
.faq-item .faq-answer {
    display: none;
    padding-top: 15px;
    margin: 0 !important;
}

#countdown {
    display: flex;
    justify-content: space-around;
    align-items: center;
    text-align: center;
}
#countdown div {
    font-size: 17px;
    font-weight: 700;
    color: #000;
    line-height: 1.35;
}
#countdown div span {
    width: 80px;
    display: block;
    background: #000;
    font-size: 26px;
    color: #fff;
    padding: 20px 0;
    margin-bottom: 10px;
    border-radius: 8px;
}

/* Infobox */
.infobox {
    background: #111;
    font-size: 16px;
    color: #fff;
    padding: 10px 20px;
    margin-bottom: 20px;
    border-radius: 10px;
}
.infobox .item {
    border-bottom: 1px solid #222;
    padding: 10px 0;
    display: flex;
    justify-content: space-between;
}
.infobox .item:last-of-type {
    border-bottom: 0;
}
.infobox .item .detail {
    font-weight: 700;
}
.infobox .item a {
    color: #fff;
    border-bottom: 1px dotted #fff;
}
