/* ADVENT CALENDAR */

.rewards-advent-calendar {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
    gap: 25px;
}

.rewards-advent-calendar .rewards-advent-calendar-day {
    display: flex;
    justify-content: center;
    align-items: center;

    width: 220px;
    height: 220px;
    max-width: 100%;
    max-height: 220px;

    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.rewards-advent-calendar .rewards-advent-calendar-day a {
    display: block;
    height: 100%;
    width: 100%;
}

/* ADVENT CALENDAR END */

/* POPUP */
.rewards-advent-calendar-popup {
	position: fixed;
	display: none;
	top: 0;
	left: 0;
	background-color: #ffffff80;
	z-index: 1000;
	width: 100%;
	height: 100%;
}

.rewards-advent-calendar-popup-container {
    position: relative;
    display: block;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #ffffff;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
    padding: 20px;
    z-index: 1000;
}

.rewards-advent-calendar-popup-container .rewards-advent-calendar-question .rewards-advent-calendar-close-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    cursor: pointer;
    
    background: none;
    border: none;
    padding: 0px;

    appearance: none;
    -webkit-appearance: none;
}

.rewards-advent-calendar-failed-popup {
	position: fixed;
	display: block;
	top: 0;
	left: 0;
	background-color: #ffffff80;
	z-index: 1000;
	width: 100%;
	height: 100%;
}

.rewards-advent-calendar-failed-popup .rewards-advent-calendar-popup-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #ffffff;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.rewards-advent-calendar-failed-popup .rewards-advent-calendar-popup-container .rewards-advent-calendar-question {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rewards-advent-calendar-failed-popup .rewards-advent-calendar-popup-container .rewards-advent-calendar-question .rewards-advent-calendar-failed-close-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    cursor: pointer;
    
    background: none;
    border: none;
    padding: 0px;

    appearance: none;
    -webkit-appearance: none;
}

/* Normal Question Section */
.rewards-advent-calendar-question .wpAdvQuiz_content {
    margin-bottom: 20px !important;
}

.rewards-advent-calendar-question .wpAdvQuiz_content p {
    margin: 0px;
}

.rewards-advent-calendar-question .wpAdvQuiz_content h3 {
    font-family: "Futura PT";
    font-size: 60px;
    font-weight: bold;
    color: #f22e51;
    text-align: center;
    text-transform: uppercase;
    padding: 0px 40px;
    margin-bottom: 25px;
}

.rewards-advent-calendar-question .wpAdvQuiz_content .wpAdvQuiz_text p:nth-child(3) > span {
    display: block;
	margin-bottom: 25px;
	text-align: center;
	width: 100%;
}

.rewards-advent-calendar-question .wpAdvQuiz_content h4 {
    font-family: "Futura PT";
    font-size: 40px;
    font-weight: bold;
    color: #f22e51;
    text-align: center;
    text-transform: uppercase;
    margin: 40px 0px;
}

.rewards-advent-calendar-question .wpAdvQuiz_content .wpAdvQuiz_forms .forms_questions_container {
    display: flex;
    flex-wrap: wrap;
}

/* Submit Button */
.rewards-advent-calendar-question .wpAdvQuiz_content .wpAdvQuiz_button {
    width: fit-content !important;
    height: unset !important;
    padding: 13px 30px !important;
    margin: 0px auto !important;
    display: block;
    text-transform: none;
    font-size: 16px;
    font-weight: 600 !important;
    line-height: 18px;
    border: 0px !important;
    border-radius: 13px !important;
    box-shadow: none !important;
}

/* Form Question - Email Field Settings */
.rewards-advent-calendar-question .wpAdvQuiz_content .wpAdvQuiz_forms .forms_questions_container .forms_question_row.field_type_4 {
    width: 50%;
    padding: 10px;
}

.rewards-advent-calendar-question .wpAdvQuiz_content .wpAdvQuiz_forms .forms_questions_container .forms_question_row.field_type_4 input {
    display: flex !important;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    height: 50px;

    font-size: 14px;
    line-height: 16px;
    padding: 15px 20px;
    border: 1px solid #20A5B3;
    border-radius: 12px;
}

.rewards-advent-calendar-question .wpAdvQuiz_content .wpAdvQuiz_forms .forms_questions_container .forms_question_row.field_type_4 input::placeholder, .rewards-advent-calendar-question .wpAdvQuiz_content .wpAdvQuiz_forms .forms_questions_container .forms_question_row.field_type_4 input::-moz-placeholder {
    font-size: 14px;
    font-weight: 300;
    color: #BCBCBC;
}

/* Form Question - Text Field Settings */
.rewards-advent-calendar-question .wpAdvQuiz_content .wpAdvQuiz_forms .forms_questions_container .forms_question_row.field_type_0 {
    width: 50%;
    padding: 10px;
}

.rewards-advent-calendar-question .wpAdvQuiz_content .wpAdvQuiz_forms .forms_questions_container .forms_question_row.field_type_0 input {
    display: flex !important;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    height: 50px;

    font-size: 14px;
    line-height: 16px;
    padding: 15px 20px;
    border: 1px solid #20A5B3;
    border-radius: 12px;
}

.rewards-advent-calendar-question .wpAdvQuiz_content .wpAdvQuiz_forms .forms_questions_container .forms_question_row.field_type_0 input::placeholder, .rewards-advent-calendar-question .wpAdvQuiz_content .wpAdvQuiz_forms .forms_questions_container .forms_question_row.field_type_0 input::-moz-placeholder {
    font-size: 14px;
    font-weight: 300;
    color: #BCBCBC;
}

/* Form Question - TextArea Field Settings */
.rewards-advent-calendar-question .wpAdvQuiz_content .wpAdvQuiz_forms .forms_questions_container .forms_question_row.field_type_1 {
    width: 50%;
    padding: 10px;
}

.rewards-advent-calendar-question .wpAdvQuiz_content .wpAdvQuiz_forms .forms_questions_container .forms_question_row.field_type_1 textarea {
    display: flex !important;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    height: 50px;

    font-size: 14px;
    line-height: 16px;
    padding: 15px 20px;
    border: 1px solid #20A5B3;
    border-radius: 12px;
}

.rewards-advent-calendar-question .wpAdvQuiz_content .wpAdvQuiz_forms .forms_questions_container .forms_question_row.field_type_1 textarea::placeholder, .rewards-advent-calendar-question .wpAdvQuiz_content .wpAdvQuiz_forms .forms_questions_container .forms_question_row.field_type_1 textarea::-moz-placeholder {
    font-size: 14px;
    font-weight: 300;
    color: #BCBCBC;
}

/* Form Question - Checkbox Field Settings */
.rewards-advent-calendar-question .wpAdvQuiz_content .wpAdvQuiz_forms .forms_questions_container .forms_question_row.field_type_3 {
	width: 100%;
	display: flex;
	justify-content: flex-start;
	align-items: center;
	gap: 5px;
	padding: 10px 10px 0px 10px;
}

.rewards-advent-calendar-question .wpAdvQuiz_content .wpAdvQuiz_forms .forms_questions_container .forms_question_row.field_type_3 input {
    caret-color: transparent !important;
    border: 1px solid #383333;
    border-radius: 3px;
}

.rewards-advent-calendar-question .wpAdvQuiz_content .wpAdvQuiz_question .wpAdvQuiz_question_text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.rewards-advent-calendar-question .wpAdvQuiz_content .wpAdvQuiz_question .wpAdvQuiz_question_text h3 {
    margin-bottom: 30px;
}

.rewards-advent-calendar-question .wpAdvQuiz_content .wpAdvQuiz_question .wpAdvQuiz_question_text p {
    font-size: 20px;
    font-weight: bold;
    line-height: 24px;
    margin-bottom: 30px;
    text-align: center;
}

.rewards-advent-calendar-question .wpAdvQuiz_content .wpAdvQuiz_question .wpAdvQuiz_questionList {
    caret-color: transparent;
}

.rewards-advent-calendar-question .wpAdvQuiz_content .wpAdvQuiz_question .wpAdvQuiz_questionList .wpAdvQuiz_questionInput[type="radio"] {
    display: none !important;
}

.rewards-advent-calendar-question .wpAdvQuiz_content .wpAdvQuiz_question .wpAdvQuiz_questionList .custom-radio {
    display: inline-block;
    position: relative;
    padding-left: 20px;
    margin-right: 15px;
    cursor: pointer;
}

.rewards-advent-calendar-question .wpAdvQuiz_content .wpAdvQuiz_question .wpAdvQuiz_questionList .custom-radio .radio-dot {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background-color: transparent;
    border: 1px solid;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.rewards-advent-calendar-question .wpAdvQuiz_content .wpAdvQuiz_question .wpAdvQuiz_questionList {
	padding: 10px !important;
	margin-bottom: 0px !important;
	background-color: transparent !important;
	border: 1px solid #20A5B3 !important;
	border-radius: 12px !important;
}

.rewards-advent-calendar-question .wpAdvQuiz_content .wpAdvQuiz_question .wpAdvQuiz_questionList .wpAdvQuiz_questionListItem {
    text-align: center;
}

.rewards-advent-calendar-question .wpAdvQuiz_content .wpAdvQuiz_question .wpAdvQuiz_questionList label {
    font-size: 14px;
    font-weight: 300;
}

/* Form Question - Invalid Input Field Settings */
.rewards-advent-calendar-question .wpAdvQuiz_content .wpAdvQuiz_invalidate {
	border-radius: 12px;
	margin: 5px 0px 0px 0px !important;
	text-align: center;
}

/* Results Section */
.rewards-advent-calendar-question .wpAdvQuiz_results {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
    padding: 0px 20px;
}

.rewards-advent-calendar-question .wpAdvQuiz_results .wpAdvQuiz_header {
    font-size: 20px;
    line-height: 23px;
}

.rewards-advent-calendar-question .wpAdvQuiz_results .wpAdvQuiz_resultsList p {
    font-size: 14px;
    font-weight: 100;
    line-height: 16px;
    text-align: center;
}

.rewards-advent-calendar-question .wpAdvQuiz_results > div:last-child {
    margin: 0px !important;
}

/* Only Once Section */
.rewards-advent-calendar-question .wpAdvQuiz_lock {
    margin-top: 20px;
}

/* POPUP END */

/* Mobile Styles */
@media screen and (max-width: 767px) {

    /* POPUP */

    html.popup-open {
        overflow: hidden;
    }

    .rewards-advent-calendar-popup .rewards-advent-calendar-popup-container {
        overflow-y: auto;
        width: 90%;
    }
    
    .rewards-advent-calendar .rewards-advent-calendar-day {
        width: 75px;
        height: 75px;
    }

    .rewards-advent-calendar-failed-popup .rewards-advent-calendar-popup-container {
        width: 90%;
        padding: 40px 20px;
    }

    .rewards-advent-calendar-question {
        height: fit-content;
    }

    .rewards-advent-calendar-question .wpAdvQuiz_content h3 {
        font-size: 30px;
        line-height: 34px;
        padding: 0px;
        margin-bottom: 25px;
    }

    .rewards-advent-calendar-question .wpAdvQuiz_content .wpAdvQuiz_forms .forms_questions_container .forms_question_row.field_type_0, .rewards-advent-calendar-question .wpAdvQuiz_content .wpAdvQuiz_forms .forms_questions_container .forms_question_row.field_type_4, .rewards-advent-calendar-question .wpAdvQuiz_content .wpAdvQuiz_forms .forms_questions_container .forms_question_row.field_type_1 {
        width: 100%;
    }

    .rewards-advent-calendar-question .wpAdvQuiz_content h4 {
        font-size: 30px;
        line-height: 34px;
    }

    /* POPUP END */
}

/* iPad Styles */
@media screen and (max-width: 850px) and (min-width: 780px)  {

    /* POPUP */

    html.popup-open {
        overflow: hidden;
    }

    .rewards-advent-calendar-popup .rewards-advent-calendar-popup-container {
        overflow-y: auto;
        width: 90%;
    }

    .rewards-advent-calendar-question {
        height: fit-content;
    }

    .rewards-advent-calendar-question .wpAdvQuiz_content h3 {
        font-size: 30px;
        line-height: 34px;
        padding: 0px;
        margin-bottom: 25px;
    }

    .rewards-advent-calendar-question .wpAdvQuiz_content .wpAdvQuiz_forms .forms_questions_container .forms_question_row.field_type_0, .rewards-advent-calendar-question .wpAdvQuiz_content .wpAdvQuiz_forms .forms_questions_container .forms_question_row.field_type_4, .rewards-advent-calendar-question .wpAdvQuiz_content .wpAdvQuiz_forms .forms_questions_container .forms_question_row.field_type_1 {
        width: 100%;
    }

    .rewards-advent-calendar-question .wpAdvQuiz_content h4 {
        font-size: 30px;
        line-height: 34px;
    }

    /* POPUP END */
}

/* ANIMATIONS */

.anim-shake {
    /* Start the shake animation and make the animation last for 0.5 seconds */
    animation: tilt-n-move-shaking 5s ease-in-out;
  
    /* When the animation is finished, start again */
    animation-iteration-count: infinite;
}

@keyframes tilt-n-move-shaking {
    0% { transform: translate(1px, 1px) rotate(0deg); }
    10% { transform: translate(-1px, -2px) rotate(-1deg); }
    20% { transform: translate(-3px, 0px) rotate(1deg); }
    30% { transform: translate(3px, 2px) rotate(0deg); }
    40% { transform: translate(1px, -1px) rotate(1deg); }
    50% { transform: translate(-1px, 2px) rotate(-1deg); }
    60% { transform: translate(-3px, 1px) rotate(0deg); }
    70% { transform: translate(3px, 1px) rotate(-1deg); }
    80% { transform: translate(-1px, -1px) rotate(1deg); }
    90% { transform: translate(1px, 2px) rotate(0deg); }
    100% { transform: translate(0px, 0px) rotate(0deg); }
}

/* ANIMATIONS END */