body
{
    font-family: arial;
}

/* Sets the background image for the wheel */
td.the_wheel
{
    background-image: url(/../../images/Birthday_wheel1.png);
    background-position: center;
    background-repeat: no-repeat;
    padding-top: 9px;
}

@media only screen and (min-width: 1099px) {
    td.the_wheel {
        width: 440px;
        height: 564px;
    }
}

/* 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;
    width: 100px;
    text-align: center;
    cursor: pointer;
    border:1px solid #333333;
}

table.power th
{
    background-color: white;
    cursor: default;
}

td.pw1
{
    background-color: #5ed6d1;
}

td.pw2
{
    background-color: #65e2dd;
}

td.pw3
{
    background-color: #6dece7;
}

/* Style applied to the spin button once a power has been selected */
.clickable
{
    cursor: pointer;
}

/* Other misc styles */
.margin_bottom
{
    margin-bottom: 5px;
}

.modal-content p {
    text-align: center;
}

.the_wheel canvas {
    /*margin-left: 2px;*/
}

.power_buttons div {
    display: inline-block;
    width: 100px;
    height: 50px;
    text-align: center;
    background-color: #cccccc;
}

.power_buttons .pw1
{
    background-color: #5ed6d1;
}

.power_buttons .pw2
{
    background-color: #65e2dd;
}

.power_buttons .pw3
{
    background-color: #6dece7;
}



@media only screen and (max-width: 500px) {

    .powerControls {
        display: block;
    }

    td.the_wheel {
        background-size: cover;
    }

    td.the_wheel canvas {
        width: 300px;
        /*height: 307px;*/
    }

    td .power_controls {
        display: none;
    }

    div.powerControls
    {
        margin-top: 13px;
        margin-right:0px;
    }

    .power_buttons div {
        display: inline-block;
        width: 90px;
        height: 30px;
        text-align: center;
        background-color: #cccccc;
    }

    .container .col-12 h1 {
        font-size: 46px;
    }

    .container .col-12 p {
        font-size: 14px;
    }

    .modal-content{
        background-color: #fefefe;
        margin: auto;
        padding: 20px;
        border: 1px solid #888;
        width: 90%;
    }

    #spin_button {
        width: 100px;
    }
}

@media only screen and (max-width: 768px) and (min-width: 480px) {
    .container .col-lg-4 h1 {
        margin-top: 50px;
    }

    #spin_button {
        width: 100px;
    }
}

@media only screen and (max-width: 1024px) and (min-width: 768px) {
    div.power_controls {
        margin-right: 6px;
    }

    .powerControls {
        display: none;
    }

    .col-lg-8 table {
        margin-left: 21px;
    }

    .col-lg-8 table img{
        margin-left: 21px;
    }

    #spin_button {
        width: 100px;
    }

    p.mobile {
        display: none;
    }
}

@media only screen and  (min-width: 768px) {
    .powerControls {
        display: none;
    }

    #spin_button {
        width: 100px;
    }

    p.mobile {
        display: none;
    }
}