/* Minification failed. Returning unminified contents.
(7,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(174,30): run-time error CSS1039: Token not allowed after unary operator: '-brand-color'
(202,22): run-time error CSS1039: Token not allowed after unary operator: '-brand-color'
(226,17): run-time error CSS1039: Token not allowed after unary operator: '-brand-color'
(233,17): run-time error CSS1039: Token not allowed after unary operator: '-brand-color'
(239,17): run-time error CSS1039: Token not allowed after unary operator: '-brand-color'
(318,26): run-time error CSS1039: Token not allowed after unary operator: '-brand-color'
(521,22): run-time error CSS1039: Token not allowed after unary operator: '-brand-color'
 */

/*--------------------------------------------------
    RAFFLE MODAL: START
----------------------------------------------------*/

:root {
    --brand-color: #1daf4c;
}

.modal-raffle .modal-dialog {
    width: calc(100% - 20px);
    margin: 0 auto;
}

.modal-raffle .modal-dialog-scrollable {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

@media (min-width: 1445px) {
    .modal-raffle .modal-dialog {
        max-width: 1416px;
    }
}

.modal-raffle .modal-content {
    border-radius: 23px;
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    outline: 0;
    max-height: calc(100% - 80px);
    overflow: hidden;
}

.modal-raffle .modal-header {
    display: flex;
    align-items: center;
    flex-direction: row;
    position: relative;
    border: 0px;
    height: 60px;
}

    .modal-raffle .modal-header .logo {
        background: url('https://assets.raffletix.com.au/home_asset/spacer.gif?d=1x1xdefaultx1') no-repeat center left;
        flex: initial;
        height: 50px;
        min-width: 33.33%;
    }

    /* Pick Winner Confirmation Modal */
    .modal-raffle .modal-header .modal-title-before {
        flex: initial;
        min-width: 33.33%;
    }

    .modal-raffle .modal-header .modal-title {
        flex: auto;
        color: #555555;
        font-size: 20px;
        font-weight: 600;
        min-width: 33.33%;
        text-align: center;
    }

    .modal-raffle .modal-header .modal-header-btns {
        min-width: 33.33%;
        display: flex;
        justify-content: end;
        align-self: baseline;
        gap: 1rem;
        text-align: center;
    }

        .modal-raffle .modal-header .modal-header-btns a {
            cursor: pointer;
        }


    .modal-raffle .modal-header .fullscreen-btn, .modal-raffle .modal-header .close-btn {
        color: #ffffff;
        background: #aeaeae;
        border: 0;
        width: 28px;
        border-radius: 50%;
        opacity: 1;
        transition: opacity .15s ease-in-out;
        display: block;
    }

/* MODAL BODY GRADIENT START*/

.modal-raffle .modal-body-gradient {
    position: relative;
    max-height: calc(100% - 140px);
}

    .modal-raffle .modal-body-gradient::before {
        position: absolute;
        right: 17px;
        left: 17px;
        top: -3px;
        z-index: 1;
        content: '';
        height: 30px;
        /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#ffffff+0,ffffff+100&1+46,0+100,0+101 */
        background: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 46%, rgba(255,255,255,0) 100%, rgba(255,255,255,0) 101%); /* FF3.6-15 */
        background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(255,255,255,1) 46%,rgba(255,255,255,0) 100%,rgba(255,255,255,0) 101%); /* Chrome10-25,Safari5.1-6 */
        background: linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(255,255,255,1) 46%,rgba(255,255,255,0) 100%,rgba(255,255,255,0) 101%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    }

    .modal-raffle .modal-body-gradient::after {
        position: absolute;
        right: 17px;
        left: 17px;
        bottom: -2px;
        content: '';
        height: 30px;
        background: -moz-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 54%, rgba(255,255,255,1) 100%);
        background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 54%,rgba(255,255,255,1) 100%);
        background: linear-gradient(to bottom, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 54%,rgba(255,255,255,1) 100%);
    }


/* MODAL BODY GRADIENT END */

/* MODAL BODY */
.modal-raffle .modal-body {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 30px 15px;
    max-height: 100%;
}

    /* Pick Winner Confirmation Modal */
    .modal-raffle .modal-body.modal-body--close-raffle {
        text-align: center;
        font-size: 26px;
    }

.modal-raffle .modal-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    column-gap: 1em;
    border-top: none; /* use the gradient */
}

    .modal-raffle .modal-footer .btn {
        width: 165px;
        height: 40px;
        line-height: 38px;
        padding: 0px 10px;
        border-radius: 999rem;
        font-weight: 800;
        font-size: 18px;
        opacity: 1;
        transition: opacity .15s ease-in-out;
    }
        .modal-raffle .modal-footer .btn:hover {
            opacity: 0.8;
        }

        .modal-raffle .modal-footer .btn-rt {
            background: var(--brand-color);
            color: #ffffff;
        }

    .modal-raffle .modal-footer .btn-default {
        color: #ffffff;
        background: #aeaeae;
    }

    .modal-raffle .modal-footer .btn.btn--modal-back {
        width: 285px;
        border-radius: 999rem;
    }

    .modal-raffle .modal-footer .modal-raffle__congrat {
        display: none;
    }

/* RAFFLE WINNER */

.raffle-winner {
    background: #dfdfdf;
    border-radius: 23px;
    padding: 20px;
    margin: 0px 15px 40px;
}

.raffle-winner--picked {
    background: var(--brand-color);
}

.raffle-winner__title {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    line-height: 40px;
    margin-bottom: 12px;
    flex-direction: column;
}

.raffle-winner__title-wrapper {
    display: flex;
    width: 100%;
}

.raffle-winner__additional-info {
    text-align: center;
    flex-basis: 30%;
    flex-grow: 0;
}

.raffle-winner__place {
    color: var(--brand-color);
    font-weight: 700;
    font-size: 36px;
    white-space: nowrap;
}

.raffle-winner__rrp {
    color: var(--brand-color);
    font-size: 21px;
    white-space: nowrap;
}

.raffle-winner__prize {
    color: var(--brand-color);
    font-weight: 700;
    font-size: 36px;
    margin-right: 0px;
    flex: 1;
    text-align: center;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.raffle-winner--picked .raffle-winner__place {
    color: #ffffff;
}

.raffle-winner--picked .raffle-winner__rrp {
    color: #ffffff;
}

.raffle-winner--picked .raffle-winner__prize {
    color: #ffffff;
}

.raffle-winner__summary {
    display: flex;
    width: 100%;
    gap: 10px;
    align-items: center;
}

.raffle-winner__ticket {
    color: #ffffff;
    text-align: center;
    flex: 0 0 30%; /* Does not grow, stays 30% width */
}

.raffle-winner__ticket-num {
    font-size: 100px;
    line-height: 1.2;
    font-weight: 700;
    text-align: center;
}

.raffle-winner__winner {
    flex-grow: 1; /* Takes up remaining width */
    text-align: center;
    color: #ffffff;
    display: flex;
    justify-content: center; /* Centers text */
    align-items: center;
}

.raffle-winner__name {
    font-size: 90px;
    line-height: 1.4;
    font-weight: 700;
    word-break: break-word;
    max-width: 100%;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.raffle-winner .raffle-winner__button {
    display: flex;
    align-items: center;
    justify-content: center;
}

    .raffle-winner .raffle-winner__button .raffle-winner__btn {
        width: 160px;
        line-height: 3.2;
        padding: 0px 30px;
        border-radius: 999rem;
        font-weight: 800;
        font-size: 16px;
        letter-spacing: 1px;
        background: var(--brand-color);
        color: #ffffff;
        opacity: 1;
        transition: opacity .15s ease-in-out;
        align-items: center;
    }

        .raffle-winner .raffle-winner__button .raffle-winner__btn:hover {
            opacity: 0.8;
        }


/* RESPONSIVE */
@media (max-width: 1600px) {

    .raffle-winner__place {
        font-size: 36px;
    }

    .raffle-winner__rrp {
        font-size: 21px;
    }

    .raffle-winner__prize {
        font-size: 36px;
    }

    .raffle-winner__ticket-num {
        font-size: 100px;
    }

    .raffle-winner .raffle-winner__name {
        font-size: 90px;
    }
}


@media (max-width: 1400px) {

    .raffle-winner__place {
        font-size: 34px;
    }

    .raffle-winner__rrp {
        font-size: 21px;
    }

    .raffle-winner__prize {
        font-size: 34px;
    }

    .raffle-winner__ticket-num {
        font-size: 80px;
    }

    .raffle-winner .raffle-winner__name {
        font-size: 72px;
    }
}

@media (max-width: 1200px) {

    .raffle-winner__place {
        font-size: 32px;
    }

    .raffle-winner__rrp {
        font-size: 20px;
    }

    .raffle-winner__prize {
        font-size: 32px;
    }

    .raffle-winner__ticket-num {
        font-size: 60px;
    }

    .raffle-winner .raffle-winner__name {
        font-size: 54px;
    }
}

@media (max-width: 992px) {

    .raffle-winner__place {
        font-size: 30px;
    }

    .raffle-winner__rrp {
        font-size: 18px;
    }

    .raffle-winner__prize {
        font-size: 30px;
    }

    .raffle-winner__ticket-num {
        font-size: 50px;
    }

    .raffle-winner .raffle-winner__name {
        font-size: 45px;
    }
}

@media (max-width: 768px) {

    .raffle-winner__place {
        font-size: 28px;
    }

    .raffle-winner__rrp {
        font-size: 16px;
    }

    .raffle-winner__prize {
        font-size: 28px;
    }

    .raffle-winner__ticket-num {
        font-size: 45px;
    }

    .raffle-winner .raffle-winner__name {
        font-size: 41px;
    }
}

@media (max-width: 576px) {

    .modal-raffle .modal-header .logo {
        display: none;
    }

    .modal-raffle .modal-title {
        text-align-last: start;
    }

    .modal-raffle .modal-header span {
        min-width: 0;
    }

    .modal-raffle .modal-content {
        max-height: calc(100% - 40px);
    }

    .raffle-winner__place {
        font-size: 30px;
    }

    .raffle-winner__rrp {
        font-size: 16px;
    }

    .raffle-winner__prize {
        font-size: 28px;
    }

    .raffle-winner__ticket-num {
        font-size: 60px;
    }

    .raffle-winner .raffle-winner__name {
        font-size: 32px;
    }

    .raffle-winner__title-wrapper {
        flex-wrap: wrap;
        justify-content: center;
    }

    .raffle-winner__additional-info {
        flex-basis: 100%;
    }

    .raffle-winner__summary {
        flex-direction: column;
    }

    .modal-raffle .modal-footer {
        text-align: center;
        flex-direction: column;
        row-gap: 10px;
    }

    .raffle-winner__title-wrapper {
        flex-direction: column;
    }

    .modal-raffle .modal-footer .modal-raffle__back {
        width: 100%;
    } 

    .modal-raffle .modal-footer .btn.btn--modal-back {
        width: 100%;
    }

}

/* BACKGROUND */

.window-background {
    background: var(--brand-color);
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1040;
    opacity: 0;
    -webkit-transition: opacity 0.6s ease-in-out;
    -moz-transition: opacity 0.6s ease-in-out;
    -o-transition: opacity 0.6s ease-in-out;
    transition: opacity 0.6s ease-in-out;
}

body.winner-modal-open .window-background,
html.fullscreen .window-background {
    top: 0;
    opacity: 1;
}

.fullscreen {
    overflow: hidden !important;
    padding: 0 !important;
}

html.fullscreen body {
    padding: 0 !important;
}


/* ALL WINNERS PICKED */
.modal-raffle .congrat-all-winners-picked {
    display: none;
}

