/*.wheel-content {
    background-image: url(../images/wheel.png);
    background-position: center;
    background-repeat: no-repeat;
}*/

html {
    font-size: 18px !important;
}

body.spin-to-win-won {
    overflow: hidden;
}

.spin-to-win-header {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 5rem;
    left: 0;
    right: 0;
}

.spin-to-win-header-images {
    display: flex;
    width: 1100px;
    align-items: center;
}

.spin-to-win-header img {
    height: fit-content;
}

.spin-to-win-header img:first-of-type {
    max-width: 240px;
    margin-right: 2rem;
    padding-right: 2rem;
    border-right: 2px solid #b59044;
}

.spin-to-win-header img:last-of-type {
    max-width: 150px;
}

.spin-to-win-terms {
    display: block;
    font-size: .875rem;
    padding-right: 4rem;
    margin-top: 2rem;
    color: #fff;
    text-decoration: none;
    text-align: right;
}

@media only screen and (max-width: 767px) {
    html {
        font-size: 14px !important;
    }

    body {
        padding-top: 0 !important;
        font-size: inherit !important;
    }


}

.content-wrapper {
    min-height: 100vh;
    background-image: linear-gradient(0deg, #000e39, #023a78);
    padding: 3rem 0rem 4rem 2rem;
    justify-content: center;
}

.content-wrapper,
#content {
    display: flex;
    align-items: center;
}

#content {
    justify-content: space-between;
}

.wheel-canvas {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

#content {
    max-width: 1100px;
}

.wheel-content {
    padding-top: 4rem;
    width: 500px;
    position: relative;
}

.wheel-pointer {
    position: absolute;
    top: 4rem;
    right: 0;
    bottom: 0;
    display: inline-flex;
    align-items: center;
    transform: translateX(50%);
}

.form-content {
    max-width: 50%;
}

.spin-to-win-won .form-content {
    display: none;
}

.form-content h1,
.form-content p,
.spin-to-win-modal-content h1,
.spin-to-win-modal-content p,
.pre-code-entry .validation-panel span,
.post-code-entry h2 {
    text-align: center;
    color: #fff;
}

.post-code-entry h2 {
    font-size: 1.5rem;
}

.form-content h1 {
    font-size: 2rem;
    padding-left: 2rem;
    padding-right: 2rem;
}

.form-content p,
.spin-to-win-form,
#gform_wrapper_1 {
    padding-left: 4rem;
    padding-right: 4rem;
}

.spin-to-win-form {
    display: flex;
    flex-direction: column;
    row-gap: 1.25rem;
}

.spin-to-win select, 
.spin-to-win textarea, 
.spin-to-win input[type=url], 
.spin-to-win input[type=tel], 
.spin-to-win input[type=text], 
.spin-to-win input[type=time], 
.spin-to-win input[type=date], 
.spin-to-win input[type=datetime], 
.spin-to-win input[type=datetime-local], 
.spin-to-win input[type=email], 
.spin-to-win input[type=number], 
.spin-to-win input[type=search], 
.spin-to-win input[type=password], 
.spin-to-win .ct-widget select,
.spin-to-win select:focus, 
.spin-to-win textarea:focus, 
.spin-to-win input[type=url]:focus, 
.spin-to-win input[type=tel]:focus, 
.spin-to-win input[type=text]:focus, 
.spin-to-win input[type=time]:focus, 
.spin-to-win input[type=date]:focus, 
.spin-to-win input[type=datetime]:focus, 
.spin-to-win input[type=datetime-local]:focus, 
.spin-to-win input[type=email]:focus, 
.spin-to-win input[type=number]:focus, 
.spin-to-win input[type=search]:focus, 
.spin-to-win input[type=password]:focus, 
.spin-to-win .ct-widget select:focus,
.spin-to-win fieldset .wc-stripe-elements-field:focus,
.spin-to-win input,
.spin-to-win .form-submit,
.post-code-entry .form-submit {
    height: auto;
    background-color: #fff;
    color: #000;
    padding: .75rem .5rem;
    border-radius: 8px;
    border-style: none;
    box-shadow: 0 0 14px 0 rgb(0 0 0 / 60%);
}

.spin-to-win-form .form-submit,
.spin-to-win-modal-content input[type="submit"],
.pre-code-entry .validation-panel button,
.post-code-entry .form-submit,
#gform_submit_button_1,
.spin-to-win-form .form-submit:hover,
.spin-to-win-modal-content input[type="submit"]:hover,
.pre-code-entry .validation-panel button:hover,
.post-code-entry .form-submit:hover,
#gform_submit_button_1:hover {
    background-color: #b59044;
    color: #fff;
    font-size: 1.25rem;
    text-transform: uppercase;
    padding: 0.5rem;
}

.spin-to-win-form .form-submit:hover,
.spin-to-win-modal-content input[type="submit"]:hover,
.pre-code-entry .validation-panel button:hover,
.post-code-entry .form-submit:hover,
#gform_submit_button_1:hover {
    background-color: #a3854a;
}

.spin-to-win-modal fieldset {
    padding: 0;
    border-style: none;
}

.post-code-entry {
    padding-left: 4rem;
    padding-right: 4rem;
}

.post-code-entry .form-submit,
#gform_submit_button_1 {
    width: 100%;
    text-align: center;
}

.spin-to-win-modal {
    z-index: 3;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
    display: none;
    justify-content: center;
    align-items: center;
}

.spin-to-win-won .spin-to-win-modal {
    display: flex;
}

.spin-to-win-modal-content {
    padding: 2rem;
    margin: 1rem;
    max-height: 80vh;
    background-image: linear-gradient(0deg, #000e39, #023a78);
    max-width: 600px;
    border-radius: 14px;
    box-shadow: 0 0 18px rgb(0 0 0 / 70%);
    overflow: auto;
}

.pre-code-entry {
    position: relative;
}

.loading-panel {
    display: none;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.loading-panel span {
    width: 100%;
    color: #fff;
    text-align: center;
}

.pre-code-entry.loading .loading-panel {
    display: flex;
}

.pre-code-entry.loading.error .loading-panel {
    display: none;
}

.pre-code-entry.loading input {
    visibility: hidden;
}

.pre-code-entry .validation-panel {
    display: none;
    row-gap: 1rem;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 2rem;
    right: 2rem;
}

.pre-code-entry.error .validation-panel {
    display: flex;
}

.pre-code-entry .validation-panel button {
    border-style: none;
    border-radius: 8px;
}

@media only screen and (max-width: 960px) {

    .content-wrapper {
        padding: 200px 1rem 1rem;
    }

    #content {
        flex-direction: column;
        padding: 0;
    }

    .form-content {
        order: 1;
        max-width: 90%;
    }

    .wheel-content {
        padding-top: 0;
        margin-top: 2rem;
        order: 2;
        width: 300px;
    }

    .wheel-pointer {
        top: 0;
    }

    .form-content p, 
    .spin-to-win-form, 
    #gform_wrapper_1,
    .form-content h1 {
        padding: 0 !important;
    }
    
    #prizePointer {
        width: 40px;
    }

    .spin-to-win-header {
        top: 2rem;
        left: 1rem;
    }

    .spin-to-win-header-images {
        display: flex;
        width: 100%;
    }

    .spin-to-win-terms {
        padding-right: 0;
    }
}

/**
 * Gravity Form
 */
#gform_wrapper_1 legend {
    border-style: none;
    margin-bottom: .25rem;
}

#gform_wrapper_1 .gfield,
#input_29_4_3_container {
    width: 100% !important;
    margin-bottom: 1.25rem;
}

#gform_wrapper_1 .screen-reader-text, 
#gform_wrapper_1 .hidden_label .gfield_label, 
#gform_wrapper_1 .hidden_sub_label {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    width: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    word-wrap: normal !important;
}

#gform_submit_button_1 {
    font-weight: 400;
}

#gform_wrapper_1 .gform_submission_error {
    font-size: 1.25rem;
    text-align: center;
    color: #b59044;
}

#gform_wrapper_1 .gfield_validation_message {
    color: #b59044;
    border: 2px solid #b59044;
    border-radius: 8px;
    padding: 0.25rem;
    margin-top: 0.5rem;
}

/**
 * Loader
 */
.lds-default {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

.lds-default div {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    animation: lds-default 1.2s linear infinite;
}

.lds-default div:nth-child(1) {
    animation-delay: 0s;
    top: 37px;
    left: 66px;
}

.lds-default div:nth-child(2) {
    animation-delay: -0.1s;
    top: 22px;
    left: 62px;
}

.lds-default div:nth-child(3) {
    animation-delay: -0.2s;
    top: 11px;
    left: 52px;
}

.lds-default div:nth-child(4) {
    animation-delay: -0.3s;
    top: 7px;
    left: 37px;
}

.lds-default div:nth-child(5) {
    animation-delay: -0.4s;
    top: 11px;
    left: 22px;
}

.lds-default div:nth-child(6) {
    animation-delay: -0.5s;
    top: 22px;
    left: 11px;
}

.lds-default div:nth-child(7) {
    animation-delay: -0.6s;
    top: 37px;
    left: 7px;
}

.lds-default div:nth-child(8) {
    animation-delay: -0.7s;
    top: 52px;
    left: 11px;
}

.lds-default div:nth-child(9) {
    animation-delay: -0.8s;
    top: 62px;
    left: 22px;
}
.lds-default div:nth-child(10) {
    animation-delay: -0.9s;
    top: 66px;
    left: 37px;
}

.lds-default div:nth-child(11) {
    animation-delay: -1s;
    top: 62px;
    left: 52px;
}

.lds-default div:nth-child(12) {
    animation-delay: -1.1s;
    top: 52px;
    left: 62px;
}

@keyframes lds-default {

    0%, 20%, 80%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.5);
    }
}

/**
 * Validation
 */
.error-message {
    color: #b59044;
    padding: 0.5rem 0.75rem;
    border: 2px solid #b59044;
    border-radius: 8px;
    margin-top: -1rem;
    font-weight: 700;
}

/**
 * Confetti
 */
.spin-to-win-won .spin-to-win-confetti-panel {
    display: block;
}

.spin-to-win-confetti-panel {
    display: none;
    min-height: 100vh;
    overflow: hidden;
    padding: 60px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 2;
}

.spin-to-win-confetti {
    background: rgb(166,124,0);
    background: linear-gradient(0deg, rgba(166,124,0,1) 0%, rgba(191,155,48,1) 10%, rgba(255,191,0,1) 20%, rgba(255,207,64,1) 30%, rgba(255,220,115,1) 40%, rgba(255,216,99,1) 50%, rgba(255,220,115,1) 60%, rgba(255,207,64,1) 70%, rgba(255,191,0,1) 80%, rgba(191,155,48,1) 90%, rgba(166,124,0,1) 100%);
    border: 1px solid #A57C01;
    position: absolute;
    display: flex;
    width: 10px;
    height: 25px;
    top: -100px;
}

.spin-to-win-confetti:nth-child(1) {
    animation: fall 2.5s linear infinite;
    left: 10%;
}

.spin-to-win-confetti:nth-child(2) {
    animation: fall 2.3s linear infinite .2s;
    left: 20%;
}

.spin-to-win-confetti:nth-child(3) {
    animation: fall 2.4s linear infinite .4s;
    left: 30%;
}

.spin-to-win-confetti:nth-child(4) {
    animation: fall 2.7s linear infinite .1s;
    left: 40%;
}

.spin-to-win-confetti:nth-child(5) {
    animation: fall 2.6s linear infinite .7s;
    left: 50%;
}

.spin-to-win-confetti:nth-child(6) {
    animation: fall 2.4s linear infinite .2s;
    left: 60%;
}

.spin-to-win-confetti:nth-child(7) {
    animation: fall 2.1s linear infinite .7s;
    left: 70%;
}

.spin-to-win-confetti:nth-child(8) {
    animation: fall 2.4s linear infinite .9s;
    left: 80%;
}

.spin-to-win-confetti:nth-child(9) {
    animation: fall 2.9s linear infinite .9s;
    left: 90%;
}

.spin-to-win-confetti:nth-child(10) {
    animation: fall 2.2s linear infinite 1.1s;
    left: 100%;
}

.spin-to-win-confetti:nth-child(11) {
    animation: fall2 2.5s linear infinite;
    left: 95%;
}

.spin-to-win-confetti:nth-child(12) {
    animation: fall2 2.3s linear infinite 1.1s;
    left: 85%;
}

.spin-to-win-confetti:nth-child(13) {
    animation: fall2 2.4s linear infinite 1.2s;
    left: 75%;
}

.spin-to-win-confetti:nth-child(14) {
    animation: fall2 2.7s linear infinite 1.3s;
    left: 65%;
}

.spin-to-win-confetti:nth-child(15) {
    animation: fall2 2.6s linear infinite 1.4s;
    left: 55%;
}

.spin-to-win-confetti:nth-child(16) {
    animation: fall2 2.4s linear infinite 1.5s;
    left: 45%;
}

.spin-to-win-confetti:nth-child(17) {
    animation: fall2 2.1s linear infinite 1.6s;
    left: 35%;
}

.spin-to-win-confetti:nth-child(18) {
    animation: fall2 2.4s linear infinite 1.7s;
    left: 25%;
}

.spin-to-win-confetti:nth-child(19) {
    animation: fall2 2.9s linear infinite 1.8s;
    left: 15%;
}

.spin-to-win-confetti:nth-child(20) {
    animation: fall2 2.2s linear infinite 1.9s;
    left: 5%;
}

.spin-to-win-confetti:nth-child(21) {
    animation: fall 2.5s linear infinite;
    left: 3%;
}

.spin-to-win-confetti:nth-child(22) {
    animation: fall 2.3s linear infinite 1.3s;
    left: 13%;
}

.spin-to-win-confetti:nth-child(23) {
    animation: fall 2.4s linear infinite 1.4s;
    left: 23%;
}

.spin-to-win-confetti:nth-child(24) {
    animation: fall 2.7s linear infinite 1.5s;
    left: 33%;
}

.spin-to-win-confetti:nth-child(25) {
    animation: fall 2.6s linear infinite 1.6s;
    left: 43%;
}

.spin-to-win-confetti:nth-child(26) {
    animation: fall 2.4s linear infinite 1.2s;
    left: 53%;
}

.spin-to-win-confetti:nth-child(27) {
    animation: fall 2.1s linear infinite 1.7s;
    left: 63%;
}

.spin-to-win-confetti:nth-child(28) {
    animation: fall 2.4s linear infinite 1.8s;
    left: 73%;
}

.spin-to-win-confetti:nth-child(29) {
    animation: fall 2.9s linear infinite 1.9s;
    left: 83%;
}

.spin-to-win-confetti:nth-child(30) {
    animation: fall 2.2s linear infinite 1.1s;
    left: 93%;
}

.spin-to-win-confetti:nth-child(31) {
    animation: fall2 2.2s linear infinite 1.1s;
    left: 7%;
}

.spin-to-win-confetti:nth-child(32) {
    animation: fall2 2.9s linear infinite .9s;
    left: 17%;
}

.spin-to-win-confetti:nth-child(33) {
    animation: fall2 2.4s linear infinite .1s;
    left: 27%;
}

.spin-to-win-confetti:nth-child(34) {
    animation: fall2 2.1s linear infinite .7s;
    left: 37%;
}

.spin-to-win-confetti:nth-child(35) {
    animation: fall2 2.4s linear infinite .2s;
    left: 47%;
}

.spin-to-win-confetti:nth-child(36) {
    animation: fall2 2.6s linear infinite .7s;
    left: 57%;
}

.spin-to-win-confetti:nth-child(37) {
    animation: fall2 2.7s linear infinite .9s;
    left: 67%;
}

.spin-to-win-confetti:nth-child(38) {
    animation: fall2 2.4s linear infinite .4s;
    left: 77%;
}

.spin-to-win-confetti:nth-child(39) {
    animation: fall2 2.3s linear infinite .2s;
    left: 87%;
}

.spin-to-win-confetti:nth-child(40) {
    animation: fall2 2.5s linear infinite .3s;
    left: 97%;
}

@keyframes fall {
    0% {top:-110px; transform: rotate(0deg) rotateY(-90deg); opacity:1;}
    100% {top:900px; transform: rotate(360deg) rotateY(180deg); opacity:0.7;}
}

@keyframes fall2 {
    0% {top:-110px; transform: rotate(0deg) rotateY(90deg); opacity:1;}
    100% {top:900px; transform: rotate(-360deg) rotateY(-180deg); opacity:0.5;}
}
