/*
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(bg-cover.jpg);
}

#spin-btn{
    background-color: #ebbe3e;
    border-color:  #f0b60d;
    color: #fff2f2;
}

canvas#canvas{
    position: relative;
    top: -46px;
    left: -3px;
}

.arrow-down {
    width: 0; 
    height: 0; 
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-top: 50px solid #9d1c1e;
    position: relative;
    top: -25px;
    z-index: 1;
}

/* Sets the background image for the wheel */
td.the_wheel
{
    background-image: url(bg.png);
    background-position: center;
    background-size: cover;
}

/* 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;
}

/*#info-modal{
    top: 25%;
}*/

#status-modal{
    top: 35%;
}

@media(max-width: 576px){
    .arrow-down {
        border-left: 20px solid transparent;
        border-right: 20px solid transparent;
        border-top: 20px solid #9d1c1e;
        position: relative;
        top: -15px;
    }

    .the_wheel{
        width: 400px;
        height: 400px;
    }

    canvas#canvas{
        width: 245px;
        top: -23px;
        left: -2px;
    }
}