.game2 {
background: rgba(179,220,237,1);
background: -moz-linear-gradient(top, rgba(179,220,237,1) 0%, rgba(41,184,229,1) 63%, rgba(188,224,238,1) 100%);
background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(179,220,237,1)), color-stop(63%, rgba(41,184,229,1)), color-stop(100%, rgba(188,224,238,1)));
background: -webkit-linear-gradient(top, rgba(179,220,237,1) 0%, rgba(41,184,229,1) 63%, rgba(188,224,238,1) 100%);
background: -o-linear-gradient(top, rgba(179,220,237,1) 0%, rgba(41,184,229,1) 63%, rgba(188,224,238,1) 100%);
background: -ms-linear-gradient(top, rgba(179,220,237,1) 0%, rgba(41,184,229,1) 63%, rgba(188,224,238,1) 100%);
background: linear-gradient(to bottom, rgba(179,220,237,1) 0%, rgba(41,184,229,1) 63%, rgba(188,224,238,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b3dced', endColorstr='#bce0ee', GradientType=0 );
}


/*
#messages {
    display:none;
}
*/

.g2i, i {
    border-radius: 21px;
    padding: 9px;
    transition: 0.2s ease-out;
    width: 80px;
    display: inline-block
}


table {
    width: 100%;
}


#game {
    font-family: Helvetica, Arial, "Lucida Grande", sans-serif;
    width: 340px;
    text-align: center
}

.leg {
    box-shadow: 7px 7px 28px 0px rgba(50, 50, 50, 0.6);
    height: 55px;
    width: 12px;
    border-radius: 0 0 8px 8px;
    float: left
}

.right {
    border: 0px solid #00f;
    float: right
}

table.g2board {
    border: 0px solid #00f;
    box-shadow: 7px 7px 28px 0px rgba(50, 50, 50, 0.6);
    padding: 7px;
    border-spacing: 4px;
    border-radius: 8px 8px 0 0
}

td.g2hole {
    border: 0px solid #00f;
    border-radius: 2000px;
    box-shadow: inset 7px 7px 20px 0px rgba(50, 50, 50, 0.4);
    opacity: 1;
    height: 40px;
    background: #fff;
}
th {
    text-align: center;
    color: #fff;
}

Xbutton {
    margin: 20px auto 0
}

#game,
table {
    margin: 30px auto 0
}
.leg,
.g2board
{
    background: #00f
}

td.g2hole:hover {
    opacity: 0.6
}

td.Red,
td.Yellow {
    box-shadow: inset 0 0 25px rgba(99, 99, 99, 0.7)
}

.Red:hover,
.Yellow:hover {
    opacity: 1
}

td.Yellow,b.Yellow {
    background: #ff0
}

td.Red,b.Red {
    background: #f00;
    color: #fff
}

.panel-title {
    font-size: 28px;
}

@media (max-width: 479px) {
    #game {
        width: 249px;
    }
    td.g2hole {
        height: 29px;
        border-width: 0
    }
    .leg {
        width: 8px;
        height: 40px
    }
    Xbutton {
        margin: 10px auto 0
    }
    td.g2hole {
        box-shadow: inset 3px 3px 10px 0px rgba(50, 50, 50, 0.4)
    }
    td.Red,
    td.Yellow {
        box-shadow: inset 0 0 10px rgba(99, 99, 99, 0.7)
    }
    .leg,
    table.g2board {
        box-shadow: 3px 3px 10px 0px rgba(50, 50, 50, 0.6)
    }

}

@media (max-width: 321px) {
    .col-xs-12 {
        margin-left: 0px;
        margin-right: 0px;
        padding-left: 0px;
        padding-right: 0px;
    }

    .panel { padding-right: 0px; }
}

.bg-2-footer {
  font-size: 18px;
  background-color: #fff;
}
