@font-face {
    font-family: 'Nuance';
    src: url('../webfonts/Nuance.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'PT Serif';
    src: url('../webfonts/PTSerif-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'PT Serif';
    src: url('../webfonts/PTSerif-Bold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

#advent-popup
{
    display: none;
    text-align: center;
}
#advent-popup .modal-content {
    padding: 30px;
}
#advent-popup h2
{
    margin-top: 0;
    margin-bottom: 40px;
}
#advent-popup #login-page
{
    border-bottom: none;
}
.advent
{
    margin-bottom: -30px;
    position: relative;
    padding-top: 30px;
}
.advent *
{
    position: relative;
    z-index: 1;
    color: #fff;
}
.advent .day-anchor
{
    position: absolute;
}
.advent h1
{
    font-size: 60px;
}
.advent h1, .advent h2, .advent h4
{
    font-weight: bold;
    color: var(--purple-color);
    margin-bottom: 10px;
    margin-top: 10px;
}
.advent h4
{
    font-size: 20px;
    line-height: 1.5;
    max-width: 800px;
    margin: auto;
    color: #666;
}
.advent .advent-rules
{
    width: 100%;
    font-size: 14px;
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    color: #ccc;
}
.advent .advent-rules a:hover
{
    color: #fff;
    text-decoration: underline;
}
.advent .calendar-box, #advent-popup .calendar-box
{
    background: #fff;
    position: relative;
    height: 200px;
    width: 200px;
    border-radius: 20px;
    margin: 100px auto 0;
    box-shadow: -5px 5px 20px #222;
}
#advent-popup .calendar-box {
    margin-top: 40px;
}
.advent .calendar-box.current
{
    box-shadow: 0 0 40px 5px #e8be02;
    background: #ffc400;
    cursor: pointer;
    transition: 0.3s;
}
.advent .calendar-box.current .number
{
    color: #fff;
}
.advent .calendar-box.current:hover
{
    background: #ffd400;
    transition: 0.3s;
}
#advent-popup .calendar-box
{
    box-shadow: 0 0 40px 5px #e8be02;
    background: #ffc400;
}
.advent .calendar-box.unused
{
    background: #999;
    cursor: not-allowed;
}
.advent .calendar-box.unused .number
{
    color: #444;
}
.advent .calendar-box.opened:before, #advent-popup .calendar-box:before
{
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    width: 160px;
    height: 160px;
    box-shadow: inset 0px 0px 10px #888;
    background: #fafafa;
}
.advent .calendar-box.opened:after, #advent-popup .calendar-box:after
{
    content: '';
    position: absolute;
    top: 6px;
    right: -60px;
    width: 100px;
    height: 188px;
    background: linear-gradient(to left, #fff, #bbb);
    transform: perspective(200px) rotateY(-45deg);
    box-shadow: 5px 5px 15px #222;
}
.advent .calendar-box .number
{
    font-family: PTSerif;
    font-size: 90px;
    user-select: none;
    font-weight: 700;
    margin-bottom: 0;
    line-height: 1.6;
    color: #444;
}
.advent .calendar-box img, #advent-popup .calendar-box img
{
    position: absolute;
    width: 110px;
    height: 110px;
    left: 45px;
    top: 45px;
}
.advent-popup .fancybox-skin
{
    background: #ededed;
    border-radius: 4px;
}
#advent-popup .calendar-box
{
    margin-bottom: 50px;
}
#advent-popup h2
{
    margin-bottom: 30px;
}
#advent-popup p
{
    font-size: 15px;
}
#advent-popup #claim-reward-btn
{
    font-size: 16px;
}
#advent-popup #claim-reward-btn span
{
    font-size: 0.9em;
    font-weight: normal;
    text-transform: none;
}
.sm-only
{
    display: none;
}
@media(max-width: 700px)
{
    .sm-only
    {
        display: block;
    }
}
@media(max-width: 600px)
{
    .advent h1
    {
        font-size: 30px;
    }
    .advent h2
    {
        font-size: 20px;
    }
    .advent h4
    {
        font-size: 14px;
    }
}
@media(max-width: 991px)
{
    .advent .calendar-box
    {
        margin-top: 50px;
    }
}
@media(max-width: 500px)
{
    .advent .advent-rules
    {
        bottom: 0;
    }
    .advent .day-anchor
    {
        margin-top: -110px;
    }
    #advent-popup .calendar-box
    {
        height: 160px;
        width: 160px;
        border-radius: 15px;
        box-shadow: -3px 3px 15px #444;
    }
    #advent-popup .calendar-box:before
    {
        top: 16px;
        left: 16px;
        width: 128px;
        height: 128px;
    }
    #advent-popup .calendar-box:after
    {
        top: 8px;
        right: -41px;
        width: 70px;
        height: 144px;
        box-shadow: 3px 3px 10px #444;
    }
    #advent-popup .calendar-box img
    {
        width: 90px;
        height: 90px;
        left: 35px;
        top: 35px;
    }
    #advent-popup h2
    {
        font-size: 24px;
        line-height: 1.5;
        margin-bottom: 10px;
    }
    #advent-popup p
    {
        font-size: 12px;
    }
    #advent-popup #claim-reward-btn
    {
        padding: 15px 20px;
        width: 100%;
        font-size: 12px;
    }
}
.confets
{
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
}
#age-input
{
    width: 220px;
    height: 50px;
    top: 1px;
    position: relative;
    margin: 10px;
}
#send-age-form
{
    width: 220px;
}
.monday
{
    background: red;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    font-size: 26px;
    margin-bottom: 0;
}
.month-heading
{
    color: #666;
    font-size: 48px;
    padding-top: 80px;
    clear: both;
}
.head-hr
{
    width: 70px;
    border-top: 5px solid var(--purple-color);
    margin: 30px auto;
}
.advent a.button-link
{
    display: inline-block;
    margin-top: 20px;
}
@media (min-width: 991px)
{
    .month-hr
    {
        margin-bottom: -50px;
    }
}
.advent .top-img
{
    width: 100%;
    margin-top: 70px;
}
.advent-banner
{
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    text-align: center;
    padding: 100px 20px 50px;
    background-image: url('../../img/advent/top.png');
    background-size: cover;
    background-position: center center;
}
.advent-banner .button-link
{
    background: #fff;
    color: var(--purple-color);
}
.advent-banner h3
{
    font-size: 100px;
    font-family: Nuance;
    font-weight: lighter;
    margin-bottom: 0;
}
@media (max-width:767px)
{
    .advent-banner h3
    {
        font-size: 60px;
    }
}
.advent-overlay
{
    z-index: 0;
}
.advent-overlay:after
{
    content: " ";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    background: rgba(0,0,0,0.6);
}
#vouchers
{
    display: none;
}

/* Scratchcard */
.scratchbox-container
{
    background: #fff;
    border-radius: 10px;
    border: 1px solid #f7a500;
    padding: 5px;
    width: 510px;
    margin: auto;
}
.scratchbox
{
    margin: 5px;
    width: 150px;
    height: 140px;
    border-radius: 8px;
    cursor: pointer;
    display: inline-block;
    background-image: url('../../img/advent/scratch-1.svg');
    background-size: cover;
    transition: 0.3s;
}
.scratchbox.disabled
{
    background-image: url('../../img/advent/scratch-3.svg');
    cursor: not-allowed;
}
.scratchbox.disabled.claimed
{
    background-image: url('../../img/advent/scratch-4.svg');
}
.scratchbox:not(.disabled):hover
{
    background-image: url('../../img/advent/scratch-2.svg');
    transition: 0.3s;
}
.rewardbox
{
    width: 150px;
    height: 140px;
    display: inline-block;
    background: #fff;
    border-radius: 8px;
    border: 3px solid #f7a500;
    padding: 5px 10px;
    margin: 5px;
    position: relative;
}
.rewardbox strong
{
    font-size: 54px;
    position: absolute;
    width: 100%;
    left: 0;
    top: -5px;
}
.rewardbox span
{
    font-size: 24px;
    position: absolute;
    left: 0;
    bottom: 40px;
    width: 100%;
}
.rewardbox .btn
{
    position: absolute;
    bottom: 0;
    left: 0;
    font-size: 12px;
    border-radius: 0;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    width: 100%;
    padding: 10px 0;
}
@media (max-width: 991px)
{
    .scratchbox-container
    {
        width: 360px;
    }
    .scratchbox, .rewardbox
    {
        margin: 3px;
        width: 100px;
        height: 94px;
    }
    .rewardbox strong
    {
        font-size: 30px;
        top: -1px;
    }
    .rewardbox span
    {
        font-size: 16px;
        bottom: 30px;
    }
    .rewardbox .btn
    {
        font-size: 7px;
        padding: 8px 0;
    }
}
@media (max-width: 430px)
{
    .scratchbox-container
    {
        width: 240px;
    }
    .scratchbox:last-child, .scratchbox:nth-last-child(2), .scratchbox:nth-last-child(3)
    {
        display: none;
    }
}

/* Slot Machine */
.slot-container {
    position: relative;
    width: 100%;
    margin: 0 auto 30px;
}

#play-slot, #winner-btn {
    display: inline-block;
    width: 220px;
    margin-top: 20px;
}

#winner-btn {
    display: none;
}

#winner-ribbon {
    width: 100%;
    left: 0;
    top: 0;
    position: absolute;
    z-index: 1;
    display: none;
}

#winner-text {
    position: absolute;
    left: 0;
    top: 60px;
    z-index: 2;
    color: #fff;
    font-size: 36px;
    width: 100%;
    display: none;
}

.slot-wrapper {
    overflow: hidden;
    height: 190px;
    left: 0;
    top: 112px;
    width: 100%;
    display: flex;
    justify-content: center;
    position: absolute;
}
.slot-wrapper ul {
    padding: 0;
    margin: 0;
    list-style: none;
    position: relative;
    float: left;
}
.slot-wrapper ul {
    width: 120px;
    height: 190px;
    margin: 0 21px;
}
.slot-wrapper ul li {
    height: 100%;
    width: 100%;
}
.slot-wrapper ul li img {
    height: 100%;
    width: 100%;
    padding: 20px;
    object-fit: contain;
}
@media (max-width: 991px) {
    .slot-wrapper {
        top: 66px;
        height: 112px;
    }
    .slot-wrapper ul {
        height: 112px;
        width: 80px;
        margin: 0 8px;
    }
    #winner-text {
        font-size: 22px;
        top: 34px;
    }
}
@media (max-width: 575px) {
    .slot-container {
        max-width: 360px;
    }
    .slot-wrapper {
        top: 54px;
        height: 92px;
    }
    .slot-wrapper ul {
        height: 93px;
        width: 78px;
        margin: 0;
    }
    #winner-text {
        font-size: 20px;
        top: 26px;
    }
}

@media (max-width: 440px) {
    .slot-container {
        max-width: 250px;
    }
    .slot-wrapper {
        top: 38px;
        height: 63px;
    }
    .slot-wrapper ul {
        height: 62px;
        width: 46px;
        margin: 0 4px;
    }
    .slot-wrapper ul li img {
        padding: 10px;
    }
    #winner-text {
        font-size: 14px;
        top: 18px;
    }
}

.prev-month
{
    display: none;
}

.popup-message {
    position: absolute;
	text-align: center;
    color: #444;
    background: #fff;
    padding: 15px 20px;
    border-radius: 20px;
    z-index: 1000;
    display: none;
    animation: fadeIn 0.3s ease-out;
	font-size: 16px;
}

.popup-message i {
    margin-top: 10px;
    font-size: 34px;
}
.popup-message hr {
	margin: 10px auto;
	border-top: 1px solid #bbb;
}
.coursebox {
    padding: 25px 10px 10px;
    margin-top: 30px;
    border-radius: 14px;
    border: 1px solid var(--bs-border-color);
    position: relative;
}
.coursebox .option {
    position: absolute;
    top: -20px;
    background: #fff;
    width: 40px;
    height: 40px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--purple-color);
    color: var(--purple-color);
}
.coursebox .btn {
    font-size: 12px;
    width: 100%;
    margin-top: 10px;
}
.coursebox img {
    width: 100%;
    border-radius: 14px;
    margin-bottom: 10px;
}
.coursebox .course-name {
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}