﻿html, body {
    font-family: Montserrat;
    max-width: 100%;
    font-size: 10pt;
    padding: 0px;
    margin: 0px;
}

div#UpdatePanel1 {
    padding: 0px;
    margin: 0px;
}

div#pnlErrors {
    background: #dd3d0d;
    margin: 0px;
    padding-top: 1px;
    font-size: 10pt;
    box-shadow: 0px 0px 10px -4px #000000;
    padding-bottom: 1px;
}

li.ErrorTextLI {
    margin-bottom: 0px;
    color: white;
    font-size: 9pt;
    font-weight: 500;
}

ul.ErrorTextUL {
    max-width: 472px;
    margin-left: auto;
    margin-right: auto;
}

.fldFirstName {
    width: 92%;
}

body {
    font-family: Montserrat;
    max-width: 100%;
    font-size: 10pt;
    background: linear-gradient(#c21ce0, #910dc2);
    padding-bottom: 20px;
}

.pnlThankYou,
.pnlMainForm {
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    background: white;
    padding-top: 8px;
    padding-bottom: 22px;
    box-shadow: 0px 0px 8px -3px #000000;
}

.pnlMainFormdef {
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    background: white;
    padding-top: 0px;
    padding-bottom: 0px;
    box-shadow: none;
}

h2 {
    font-size: 23pt;
    margin-bottom: 10px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.help {
    text-align: center;
    display: block;
    margin-bottom: 2%;
    margin-top: 0.5%;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.subhelp {
    font-size: 70%;
    text-align: center;
    width: 80%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3%;
    margin-top: 0%;
}

.kiddate {
    width: 100%;
}

.kidname {
    margin-right: 5px;
    width: 155px;
}

.fldLastName {
    width: 100%;
}

.fldEmail {
    width: 100%;
}

.fldValue {
    margin-bottom: 4px;
    margin-right: 6px;
    width: 100%;
}

.fldAge {
    width: 29%;
    margin-right: 0px;
}

.bdaydatatable {
    width: 280px;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

table#fldFirstName {
    margin-right: 5px;
    width: 125px;
}

.fldPhone {
    width: 93%;
}

.fldZip {
    width: 81%;
    min-width: 79px;
}

.fldAge {
    width: 100%;
}

.fldPhoneTD {
    width: 150px;
}

.fldZipTD {
    width: 30%;
}

.fldAgeTD {
    width: 15%;
    min-width: 51px;
}

td.fldname.fldfirstnametd {
    padding-right: 17px;
}

table.bdaydatatable td {
    padding-bottom: 6px;
}

td.fldname {
    width: 50%;
    padding-right: 0px;
}

table#ckTermsAgree {
    font-size: 8pt;
    width: 76%;
    margin-left: auto;
    margin-right: auto;
}

.ckTermsAgree label {
    display: block;
    padding-left: 5px;
    font-size: 7pt;
    line-height: 110%;
}

div#cmdAddKidRow {
    margin-top: 6px;
    border-radius: 25px;
    background: red;
}

div#cmdSignUp {
    border-radius: 25px;
    background: red;
}

.lblCopyright {
    text-align: center;
    display: block;
    color: white;
    font-size: 9pt;
    margin-top: 7px;
}

.buttonrow {
    text-align: center;
    padding-top: 17px;
}

.kiddate, .kidname {
    margin-bottom: 6px;
}

.dxeNullText_Office365 .dxeEditArea_Office365, .dxeNullText_Office365 .dxeMemoEditArea_Office365, .dxFirefox .dxeNullText_Office365 .dxeEditArea_Office365, .dxFirefox .dxeNullText_Office365 .dxeMemoEditArea_Office365 {
    color: #ad65b8;
}

.DateHelp {
    text-align: center;
    font-size: 6pt;
    margin-bottom: 4px;
    color: purple;
    font-style: italic;
}

div#pnlHeaderImage {
    height: 250px;
    background-size: cover;
    background-position-x: center;
}

div#cmdSignUp:active {
    background: black;
}

@keyframes slowSpin {
    from {
        transform: translate(-50%, -50%) rotate(360deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(0deg);
    }
}

.spinholder {
    position: relative;
    width: 93%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: -25px;
    margin-left: auto;
    margin-right: auto;
    bottom: -15px;
}


.spinnerframe {
    position: relative; /* Ensure it respects z-index */
    background-image: url(/images/prizeframe2.png);
    width: 100%; /* Frame width relative to container */
    aspect-ratio: 1 / 1; /* Square frame */
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 10; /* Frame is on top */
}

.spinner {
    position: absolute;
    background-image: url(/images/prizewheel.png);
    aspect-ratio: 1 / 1;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: 74%;
    top: 41.9%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    transform-origin: center center;
    z-index: 5;
    animation: slowSpin 40s linear infinite;
}

div#pnlSpinner {
    background-image: url(/images/prizebackground.jpg);
    background-size: cover;
    background-position: bottom;
    background-position-y: -92px;
    max-height: 300px;
    display: block;
    overflow: hidden;
}

.pageheader {
    background: linear-gradient(#c21ce0, #910dc2);
    display: block;
    height: auto;
    width: 100%;
    text-align: center;
    vertical-align: middle;
    padding: 5px;
    padding-top: 9px;
    padding-left: 0px;
    padding-right: 0px;
}

.pnlThankYou p {
    width: 85%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

img.ceclogo {
    width: 100px;
    margin-left: auto;
    margin-right: auto;
}

p#footer-copyright {
    color: white;
    text-align: center;
    font-size: 8pt !important;
}

.pnlMainForm {
    position: relative; /* Ensure the panel is positioned for the overlay */
}

.local-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .45);
    z-index: 10;
    justify-content: center;
    align-items: center;
    font-size: 25px;
    font-weight: bold;
    text-align: center;
    color: #f9f9f9;
    display: none;
}

.hidden {
    display: none !important;
}

.disabled {
    pointer-events: none; /* Prevent user interaction */
}

.btnSpinnerFinished {
    position: absolute;
}

h2.youwon {
    font-size: 21pt;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    color: #920dc3;
    line-height: 110%;
}

span.dx-vam {
    font-size: 18pt;
    padding-left: 15px;
    padding-right: 20px;
    padding-bottom: 5px;
}

span#lblThankYouHeadline {
    text-align: center;
    display: block;
    font-size: 18pt;
    font-weight: bold;
    margin-top: 14px;
    margin-bottom: 11px;
}

span#lblThankYouText {
    text-align: center;
    display: block;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 9px;
}

.dxeNullText_Office365 .dxeEditArea_Office365, .dxeNullText_Office365 .dxeMemoEditArea_Office365, .dxFirefox .dxeNullText_Office365 .dxeEditArea_Office365, .dxFirefox .dxeNullText_Office365 .dxeMemoEditArea_Office365 {
    color: #909090;
}

div#pnlAdminText {
    font-size: 60%;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    text-align: justify;
    margin-top: 3%;
}

#lblWelcomePhonePrompt {
    display: block;
    text-align: center;
    font-size: 10pt;
    font-weight: bold;
    margin-bottom: 4px;
}

input#fldWelcomePhoneNumber {
    display: block;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    font-size: 17pt;
    border-radius: 8px;
    border: 2px solid #888888;
    padding: 3px;
}

span#lblWelcomeFooter {
    display: block;
    width: 90%;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    font-size: 9pt;
    margin-top: 31px;
}

.welcomeform {
    background: #f4f4f4;
    padding: 9px;
    display: table;
    margin-left: auto;
    margin-right: auto;
    padding-right: 15px;
    padding-left: 15px;
    padding-bottom: 0px;
    margin-top: 16px;
}

.fieldname {
    font-size: 6pt;
    text-transform: uppercase;
}

.fldKidBDate {
}

td.kidbdateTD {
    width: 36%;
}

td.kidnameTD {
    padding-right: 15px;
}

.DateHelp.kidsbdayhead {
    font-size: 6pt;
    margin-bottom: 8px;
}

.ckboxHolder {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    font-size: 8pt;
    background: #f4f4f4;
    border-radius: 4px;
    padding: 3px;
}

input#ckTerms {
    margin-right: 5px;
}

.cmdSubmit {
    font-size: 16pt;
    background: red;
    color: white;
    padding: 8px;
    padding-left: 20px;
    padding-right: 20px;
    border: none;
    border-radius: 20px;
    box-shadow: 0px 2px 5px -3px #000;
    font-weight: 700;
    margin-left: auto;
    margin-right: auto;
    display: block;
    margin-top: 9px;
    margin-bottom: 12px;
}

    .cmdSubmit:hover {
        background: #b10000;
    }

    .cmdSubmit:active {
        background: #000000;
    }

@media screen and (max-width: 580px) {

    table.bdaydatatable {
        width: 100%;
    }

    .fldValue {
        font-size: 14pt;
        padding-top: 4px;
        padding-bottom: 3px;
        font-family: monospace;
        font-weight: normal;
        color: #000;
        border: 1px solid #999999;
        border-radius: 3px;
        padding-left: 5px;
        color: #111196;
        font-weight: bold;
    }

    .fieldname {
        font-size: 9pt;
        font-family: monospace;
        color: #666;
    }

    table#ckTermsAgree {
        width: 88%;
        padding: 3px;
        background: #f4f4f4;
        border-radius: 5px;
        border-left: 2px solid #f4f4f4;
        border-right: 2px solid #f4f4f4;
    }

    .DateHelp.kidsbdayhead {
        font-size: 9pt;
        margin-bottom: 9px;
        margin-top: 3px;
        font-style: normal;
        font-weight: bold;
    }
}


@media screen and (max-width: 480px) {

    p.primary {
        display: none;
    }

    h2 {
        font-size: 19pt;
        margin-bottom: 17px;
    }

    span#lblInstructions {
        display: none;
    }

    span#lblSubInstructions {
        font-size: 10pt;
        margin-bottom: 20px;
    }

    div#pnlSpinner {
        max-height: max-content;
    }
}
