/*
Description:
    Contains all the styles for the winning wheel page.

Verison History:
    2012-01-28, Douglas McKechie
    - Created based off earlier version.

    2015-09-26, Douglas McKechie
    - Minor updates for the 2.0 winwheel example.
*/
body {
    font-family: arial;
    background-image: url(../wheel.png);
    background-repeat: no-repeat;
    background-size: cover;
    height: 100%;
    display: flex;
    overflow-x: hidden;
    justify-content: center;
}

.container-wheel {
    max-width: 1366px;
    height: fit-content;
    width: -webkit-fill-available;
}

.container-right {
    display: flex;
    margin-top: 180px;
}
/* Sets the background image for the wheel */
.the_wheel {
    /*background-image: url(../backgroup-wheel.png);*/
    background-position: center;
    background-repeat: none;
    display: flex;
    justify-items: center;
    align-items: center;
    width: 400px;
    height: 400px;
    background-size: cover;
}

.logo-right {
    position: absolute;
    top: 30px;
    right: 45px;
    height: 97px;
}

/* Do some css reset on selected elements */
h1, p {
    margin: 0;
}

div.power_controls {
    margin-right: 70px;
}

div.html5_logo {
    margin-left: 70px;
}

/* Styles for the power selection controls */
table.power {
    background-color: #cccccc;
    cursor: pointer;
    border: 1px solid #333333;
}

    table.power th {
        background-color: white;
        cursor: default;
    }

td.pw1 {
    background-color: #6fe8f0;
}

td.pw2 {
    background-color: #86ef6f;
}

td.pw3 {
    background-color: #ef6f6f;
}

/* Style applied to the spin button once a power has been selected */
.clickable {
    cursor: pointer;
}

/* Other misc styles */
.margin_bottom {
    margin-bottom: 5px;
}

div:not(.hc_column_cnt) > table:not(.grid-table) td {
    padding: 0;
}

.wheel {
    height: 500px;
    width: 500px;
    position: relative;
}

#canvas {
    /*height: 500px;*/
    width: 500px;
}

.button-wheel {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 500px;
}

#spin_button {
    height: 100px;
    width: 100px;
    position: absolute;
    top: calc(50% - 50px);
    left: 200px;
}

.button-gif {
    height: 500px;
    width: 500px;
    padding: 100px;
    -webkit-animation: opacity 4s infinite linear; /* Safari 4+ */
    -moz-animation: opacity 4s infinite linear; /* Fx 5+ */
    -o-animation: opacity 4s infinite linear; /* Opera 12+ */
    animation: opacity 4s infinite linear; /* IE 10+, Fx 29+ */
}

.logo-left {
    padding-top: 50px;
    width: 100%;
    max-width: 450px;
}

.opacity-v1 {
    -webkit-animation: opacity-v1 1.5s infinite linear; /* Safari 4+ */
    -moz-animation: opacity-v1 1.5s infinite linear; /* Fx 5+ */
    -o-animation: opacity-v1 1.5s infinite linear; /* Opera 12+ */
    animation: opacity-v1 1.5s infinite linear; /* IE 10+, Fx 29+ */
    /*zoom: 150%;
    -ms-transform: translate(0, -20%);
    transform: translate(0,-20%);*/
}

.list-group-title {
    font-size: 26px;
    color: #fdbc25;
    font-weight: bolder;
    text-transform: uppercase;
    font-family: monospace;
}

.list-group {
    margin-bottom: 20px;
    padding-left: 0;
    width: 100%;
    max-width: 450px;
    text-align: center;
    padding: 0 20px;
}

.list-group-item {
    position: relative;
    display: block;
    padding: 10px 5px;
    border: 3px solid #f7d4e8;
    font-size: 15px;
    color: #b7117a;
    font-weight: 600;
    margin: 4px;
    border-radius: 10px;
    text-transform: uppercase;
    font-family: sans-serif;
    background: linear-gradient(#e3a61f, #febf23, #e3a61f);
    text-shadow: 2px 2px 5px #ffffff;
}

.list-group .list-group-item:last-child {
    border-bottom: 3px solid #deadc4;
}

.list-group-item:last-child {
    margin-bottom: 4px;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
}

.list-group-light {
    text-shadow: none;
    /*border: 3px solid #febf23 !important;
    color: white;
    background: #b7117a;*/
    -webkit-animation: background 0.75s infinite linear; /* Safari 4+ */
    -moz-animation: background 0.75s infinite linear; /* Fx 5+ */
    -o-animation: background 0.75s infinite linear; /* Opera 12+ */
    animation: background 0.75s infinite linear; /* IE 10+, Fx 29+ */
}

#canvas {
    /* height: 500px;*/
    width: 500px;
}

.popup-wheel {
    background-image: url(../wheel.png);
    background-repeat: no-repeat;
    background-size: cover;
    border: 1px solid #9C9C9C;
    border-radius: 5px;
}

.box-lightbox {
    background-color: #FFF;
    margin: 10px auto;
    border-radius: 5px;
    display: none;
    max-width: 700px;
    max-height: fit-content;
    padding: 0;
    float: none;
    text-align: center;
}

.wheel-lucky {
    max-width: 400px;
}

.error-input {
    color: red;
    position: absolute;
    top: calc(50% - 10px);
    right: 20px;
    font-size: 14px;
}

.button-share {
    background-color: var(--primary-color) !important;
    color: white;
}

.banner-v1 {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    align-items: center;
}

    .banner-v1 .img-v1 {
        position: absolute;
        left: 50%;
        top: 0;
        -ms-transform: translate(-50%, 0);
        transform: translate(-50%,0);
    }

.img-title {
    padding: 0 20px;
}

.text-moving {
    height: 50px;
    overflow: hidden;
    position: relative;
}

    .text-moving h3 {
        font-size: 3em;
        color: #cf2b8a;
        position: absolute;
        width: 100%;
        height: 100%;
        margin: 0;
        line-height: 50px;
        text-align: center;
        /* Starting position
    -moz-transform: translateX(100%);
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
    /* Apply animation to this element */
        -moz-animation: example1 15s linear infinite;
        -webkit-animation: example1 15s linear infinite;
        animation: example1 15s linear infinite;
    }

.only-mobile {
    display: none;
}
/* Move it (define the animation) */
@-moz-keyframes example1 {
    0% {
        -moz-transform: translateX(100%);
    }

    100% {
        -moz-transform: translateX(-100%);
    }
}

@-webkit-keyframes example1 {
    0% {
        -webkit-transform: translateX(100%);
    }

    100% {
        -webkit-transform: translateX(-100%);
    }
}

@keyframes example1 {
    0% {
        -moz-transform: translateX(100%); /* Firefox bug fix */
        -webkit-transform: translateX(100%); /* Firefox bug fix */
        transform: translateX(100%);
    }

    100% {
        -moz-transform: translateX(-100%); /* Firefox bug fix */
        -webkit-transform: translateX(-100%); /* Firefox bug fix */
        transform: translateX(-100%);
    }
}

@media (max-width: 992px) {
    .only-desktop {
        display: none;
    }

    .only-mobile {
        display: block;
    }

    body {
        height: fit-content;
        background-image: url(../backgroup-mobile.png);
    }

    .banner-v1 {
        margin-top: 0 !important;
    }

    .container-right {
        padding-top: 0;
        height: auto;
        display: flex;
        align-items: center;
        width: fit-content;
        margin-top: 0;
    }

    .logo-left {
        padding-top: 10px;
        width: 80%;
        max-width: 350px;
    }

    .logo-right {
        /*position: absolute;*/
        position: initial;
        padding-top: 5px;
        right: calc(50% - 60px);
        height: 70px;
    }

    .wheel {
        margin-top: 30px;
        height: 100%;
        width: 100%;
        padding: 2px;
    }

    #canvas {
        /*height: 100%;*/
        width: 100%;
        /*max-height: 100%;
        max-width: 100%;*/
    }

    .button-wheel {
        position: absolute;
        overflow: hidden;
        width: 100%;
        max-width: 300px;
    }

    #spin_button {
        height: 80px;
        width: 80px;
        position: absolute;
        top: calc(50% - 40px);
        left: calc(50% - 40px);
    }

    .button-gif {
        height: 300px;
        width: 300px;
        padding: 50px;
    }

    .wheel-lucky {
        max-width: 300px;
    }

    .img-title {
        padding: 0;
        width: 100%;
    }

    .row {
        margin-left: 0;
        margin-right: 0;
    }

    .list-group-item {
        /*        letter-spacing: -1.25px;*/
        font-size: 13.5px;
    }
}

@media (min-width:993px) {
}

@-webkit-keyframes opacity {
    from {
        opacity: 1;
        -webkit-transform: rotate(0deg);
    }

    25% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }

    75% {
        opacity: 0.5;
    }

    to {
        opacity: 1;
        -webkit-transform: rotate(359deg);
    }
}

@-webkit-keyframes opacity-v1 {
    from {
        opacity: 1;
        /*-webkit-transform: rotate(0deg);*/
        /*transform: rotate(0deg);*/
    }

    50% {
        opacity: 0.5;
    }

    to {
        opacity: 1;
        /*-webkit-transform: rotate(359deg);*/
        /*transform: rotate(90deg);*/
    }
}

@keyframes background {
    from {
        background: white;
        border: 3px solid white !important;
    }

    to {
        background: linear-gradient(#e3a61f, #febf23, #e3a61f);
        border: 3px solid #f7d4e8 !important;
    }
}