@font-face {
    font-family: Montserrat;
    src: url('/font/montserrat.woff2');
    font-style: normal;
}
@font-face {
    font-family: Montserrat;
    src: url('/font/montserrat-italic.woff2');
    font-style: italic;
}

@font-face {
    font-family: 'Playfair Display';
    src: url('/font/playfair-display.woff2');
    font-style: normal;
}
@font-face {
    font-family: 'Playfair Display';
    src: url('/font/playfair-display-italic.woff2');
    font-style: italic;
}

@font-face {
    font-family: ETmodules;
    font-display: block;
    src: url(/font/modules.woff);
    font-weight: 400;
    font-style: normal;
}

body {
    font-family: Montserrat, sans-serif;
}

a {
    color: #ffe9aa;
}

a.cta-link {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
}

a.cta-link:before {
    font-family: ETmodules;
    content: '';
    font-size: 130%;

    position: relative;
    top: 0.15em;
    font-weight: 400;
    font-feature-settings: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    font-style: normal;
    display: inline-block;
    box-sizing: border-box;
    margin-right: 0.3em;
}

div.content-box {
    padding: 38px 44px;
    color: #fff;
    background-color: #222;
    border-radius: 14px;
    padding: 30px;
    margin: 30px auto;
    width: 80%;
    max-width: 1080px;
}

@media (max-width: 980px) {
    div.content-box {
        width: 100%;
        max-width: none;
        border-radius: 0;
    }
}

header {
    padding-top: 20px;
    padding-bottom: 5px;
    background-color: black;
}

@media (max-width: 980px) {
    header {
        padding-top: 0px;
        padding-bottom: 20px;
    }
}

header svg.logo {
    display: block;
    margin: 0px auto;
    width: 252px;
    height: 132px;
    max-width: none;
}

header nav {
}

header nav ul {
    margin: 1em 0;
    padding: 0;
    list-style-type: none;
    text-align: center;
}

header nav li {
    display: inline-block;
    padding: 0 1.3em;
}

header nav li a {
    color: #fefaf1;
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-weight: 600;
    font-size: 18px;

    letter-spacing: 1px;
    transition: color 0.3s;
}

header nav li.active a,
header nav li a:hover {
    color: #ffe9aa;
}

@media (max-width: 980px) {
    /* note: this needs to match the javascript which also checks for 980px */
    header nav {
        cursor: pointer;

        /* without these the tap target doesn't work due to complexities around our animations */
        background-color: black;
        min-height: 30px;
    }
    header nav li {
        display: block;
        padding: 0;
        height: 0px; /* the first three will override this */
        width: 220px;
        overflow: hidden;
        margin: 0 auto;

        scale: 0.1;
        margin-top: -15px;
        transition: width 0.5s, height 0.5s, scale 0.5s, margin-top 0.5s;
    }

    header nav li a {
        display: block;
        width: 220px;
        height: 20px;
        line-height: 20px;

        overflow: hidden;
        margin: 0 auto;
        background-color: #ffe9aa;
        color: #fefaf1;
        border-radius: 3px;
        transition: height 0.5s, line-height 0.5s, width 0.1s,
            background-color 0.1s, color 0.5s;
        padding: 0; /* we only need this to override mess.css */
        border: none; /* we only need this to override mess.css */
        white-space: nowrap;
    }

    header nav li:nth-child(1),
    header nav li:nth-child(2),
    header nav li:nth-child(3) {
        height: 20px;
    }

    header nav.active li {
        height: 3em;

        width: 10em;
        scale: 1;
        margin-top: 0;
    }

    header nav.active li a {
        height: 3em;
        line-height: 3em;
        width: 100%;
        background-color: transparent;
        font-size: 18px;
    }
}

.content-box .banner {
    margin: -30px -30px 30px -30px;
}

.content-box .banner img {
    width: 100%;
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
}

h1 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: 50px;
    color: #ffe9aa !important;
}

h1.event-title {
    font-size: 40px;
    text-transform: none;
}

@media screen and (max-device-width: 550px) {
    h1 {
        font-size: 44px;
    }
}

.et_pb_image_wrap {
    display:block;
}

.event-thumb
{
    width: auto;
    height: 85px;
    max-width: none;
}

@media screen and (max-device-width: 625px) {
    .et_pb_image
    {
        width: calc(100%);
        text-align: center;
    }
    .event-thumb
    {
        width: 100% !important;
        height: auto !important;
        max-width: none;
        max-height: 350px;
    }
}

div.content-box h1:after {
    content: '';
    display: block;
    width: 130px;
    margin: 0.4em 0;
    border-bottom: 2px solid #ffe9aa;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: #ffe9aa !important;
}

h2 {
    font-size: 26px;
}

h4 {
    margin: 1rem 0 0.5rem 0;
    padding: 0; /* mess.css adds this. it should not */
}

hr {
    margin: 1rem 0;
}

.content-box ul,
.content-box ol {
    margin: 0.5rem 0;
    padding: 0 0 0 1.3rem;
}

.content-box ul {
    list-style-type: disc;
}

.content-box ol {
    list-style-type: decimal;
}

.content-box table thead th {
    font-weight: bold;
    color: #ffe9aa !important;
}

.content-box table th,
.content-box table td {
    padding: 0 1em 0 0;
    text-align: left;
}

form.basic label {
    display: inline-block;
    width: 166px;
    vertical-align: middle;
}

form.basic input[type='checkbox'],
form.basic input[type='radio'] {
    display: none;
}
form.basic input[type='checkbox'] + label:before,
form.basic input[type='radio'] + label:before {
    display: inline-block;
    content: '';
    border: 2px solid #ffe9aa;
    width: 20px;
    height: 20px;
    position: relative;
    top: 5px;
    left: -13px;
    border-radius: 3px;
}
form.basic input[type='radio'] + label:before {
    border-radius: 50%;
}
form.basic input[type='checkbox']:checked + label:before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15 13"><path fill="%23ffe9aa" d="M13.5 3.5l-8 8-4-4 1.5-1.5 2.5 2.5 6.5-6.5z"/></svg>');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 80%;
}
form.basic input[type='radio']:checked + label:before {
    /* svg circle */
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 13 13"><circle fill="%23ffe9aa" cx="6.5" cy="6.5" r="5.5"/></svg>');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 80%;
}


/* make the label 100% wide if it's after a checkboxes or radios */
form.basic input[type='checkbox'] + label,
form.basic input[type='radio'] + label {
    width: auto;
}

@media screen and (max-device-width: 550px) {
    form.basic label {
        display: block;
        width: auto;
        margin-left: 0.6em;
        margin-top: 1em;
    }
}

form.basic input[type='text'],
form.basic input[type='submit'],
form.basic input[type='number'],
form.basic input[type='tel'],
form.basic input[type='email'],
form.basic select,
div.payment-wrapper-text,
div.payment-wrapper-expiry,
div.payment-wrapper-number {
    appearance: none;
    background-color: #fff;
    border: 0px solid #fff;
    display: inline-block;
    padding: 12px;
    margin: 7px 7px 7px 7px;
    border-width: 0;
    border-radius: 12px;
}

form.basic input[type='submit']:active
{
    position: relative;
    top: 1px;
    box-shadow: #fff3 0 1px 2px, #000 0 2px 2px inset, #300a 0 0 10px 5px inset;
}

form.basic select
{
    padding-right: 40px;
    position: relative;
    background-image: url("data:image/svg+xml,<svg width='40' height='24' xmlns='http://www.w3.org/2000/svg'><path d='m0,6l12,12l12,-12l-24,0z'/><path fill='none' d='m0,0l24,0l0,24l-24,0l0,-24z'/></svg>");
    background-repeat: no-repeat;
    background-position: right;
    background-size: 24px 20px;
}

div.payment-wrapper-text,
div.payment-wrapper-expiry,
div.payment-wrapper-number {
    padding: 0 !important; /* messes up fields if there is any padding */
    height: 2.7em;
    vertical-align: middle;
}

form.basic input[type='text'].short {
    width: 7em;
}

form.basic input[type='text'].tiny {
    width: 5em;
}

form.basic input[type='text'],
form.basic input[type='tel'],
form.basic input[type='email'],
div.payment-wrapper-text,
div.payment-wrapper-expiry {
    width: 18em;
    font-family: inherit;
    font-size: inherit;
    background-color: #fff;
    color: #000;
}

@media (max-width: 500px) {
    form.basic input[type='text'],
    form.basic input[type='tel'],
    form.basic input[type='email'] {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
}

div.payment-wrapper-expiry {
    width: 10em;
}

form.basic input[type='number'],
div.payment-wrapper-number {
    width: 5em;
    font-family: inherit;
    font-size: inherit;
    background-color: #fff;
    color: #000;
}
form.basic input[type='number']::-webkit-outer-spin-button,
form.basic input[type='number']::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

form.basic input[type='submit'] {
    margin-left: 178px;
    padding-left: 30px;
    padding-right: 30px;

    font-family: 'Playfair Display', serif;
    font-size: 18px;
    letter-spacing: 1px;
    font-weight: 700;
    color: #ffe9aa;
    text-transform: uppercase;

    background-image: linear-gradient(180deg, #ec2212 0%, #8b0b09 100%);
    cursor: pointer;
}



@media (max-width: 500px) {
    
    form.basic input[type='submit'] {
        margin-left: 0;
        width: 100%;
    }
}

form.basic div.loading-spinner.submit-progress
{
    display: none;
    position: relative;
    top: 1.8em;
    right: 5em;
}

form.basic.submitting div.loading-spinner.submit-progress
{
    display: inline-block;
}

form.basic.submitting input[type='submit']
{
    display: none !important;
}

form.basic.submitting input[type='submit']:before
{
    display: block;
}

@media screen and (max-device-width: 550px) {
    form.basic input[type='submit'] {
        margin-left: 0;
    }
}

form.basic input[type='text']::placeholder {
    color: #666;
}

form.basic input[type='text'].small {
    width: 12em;
}

form.basic ul#form-errors
{
    margin: 1em 0;
    border: 1px solid #ec2212;
    background-color: #8b0b09;
    color: #fff;
    padding: 1em 1em 1em 2em;
    
    clear: both;
    
    transform: scaleY(1);
    transition: transform 0.5s ease-in-out;
}

form.basic ul#form-errors:empty
{
    transform: scaleY(0);
}

div.acknowledgement-of-country {
    color: #fff;
    margin-bottom: 20px;
}

.our_product_tab h4 {
    color: inherit;
}

footer {
    padding: 100px 0;
    background-color: black;
}

footer h2 {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 42px;
    color: #ffe9aa;
}

/* loading spinner */
div.loading-spinner {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 13px;
}
div.loading-spinner div {
    position: absolute;
    top: 0px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #ffe9aadd;
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
}
div.loading-spinner div:nth-child(1) {
    left: 8px;
    animation: loading1 0.6s infinite;
}
div.loading-spinner div:nth-child(2) {
    left: 8px;
    animation: loading2 0.6s infinite;
}
div.loading-spinner div:nth-child(3) {
    left: 32px;
    animation: loading2 0.6s infinite;
}
div.loading-spinner div:nth-child(4) {
    left: 56px;
    animation: loading3 0.6s infinite;
}
@keyframes loading1 {
    0% {
        transform: scale(0);
    }
    100% {
        transform: scale(1);
    }
}
@keyframes loading3 {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(0);
    }
}
@keyframes loading2 {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(24px, 0);
    }
}

.info-box
{
    position: relative;
    border: 1px solid #FFE9AA;
    border-radius: 10px;
    padding: 0.5em 0.5em 0.5em 40px;
    
    font-size: smaller;
    color: #FFE9AA;
}

.info-box:before
{
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 30px;
    
    border-top-left-radius: 7px;
    border-bottom-left-radius: 7px;
    
    background-color: #ffe9aa;
        
    content: "";
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M248 64C146.39 64 64 146.39 64 248s82.39 184 184 184 184-82.39 184-184S349.61 64 248 64z' fill='none' stroke='black' stroke-miterlimit='10' stroke-width='32'/%3E%3Cpath fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='32' d='M220 220h32v116'/%3E%3Cpath fill='none' stroke='black' stroke-linecap='round' stroke-miterlimit='10' stroke-width='32' d='M208 340h88'/%3E%3Cpath d='M248 130a26 26 0 1026 26 26 26 0 00-26-26z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 24px;
    background-position: center top 4px;
}

.whatson-section div.loading-spinner
{
    display: block;
    margin: 10px auto;
}

.whatson-section p.error
{
    padding: 10px;
    text-align: center;
}



.loading {
    position: relative;
    margin: 0em 1em;
    height: 2.23em;
    font-size: 0.4em;
    z-index: 10;
}

.loading:after {
    content: '';
    position: absolute;
    
    top: 50%;
    left: 50%;
    width: 4em;
    height: 4em;
    transform: translate(-50%, -50%);
    
    border: 0.8em solid #ccc3;
    border-left-color: currentColor;
    box-shadow: 0 0 2px 2px #000, 0 0 2px 2px #000 inset;
    border-radius: 50%;
    opacity: 0.3;
    
    animation: loadingAnimationRotate 1.5s infinite linear;
    z-index: -1;
}

@keyframes loadingAnimationRotate {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  50% {
    transform: translate(-50%, -50%) rotate(180deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
