html{
    height: 100%;
}

body{
    height: 100%;
	font-family: Arial;
	color: #333333;
	font-size: 14px;
	background-color: #0D0D0D;
	text-rendering: optimizeLegibility !important;
	-webkit-font-smoothing: antialiased !important;
    background-image: url("../images/bg2.jpg");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    overflow: hidden;
}

.btn {
    background-color: #14CC14;
    border: 3px solid #141414;
    padding: 10px 20px;
    border-radius: 16px;
    margin: 0 0 10px 0;
    font-size: 20px;
    cursor: pointer;
    outline: none;
}

.btn.inactive{
    background-color: #CCCCCC;
    border: 3px solid #C4C4C4;
    color: #AAAAAA;
}

.btn:disabled {
    background-color: #cccccc;
    cursor: default;
}

.btn:focus {
    outline:none !important;
}
button::-moz-focus-inner {
  border: 0;
}

#btn-pausa{
    background-color: #E48C00;
    display: none;
    width: 100%;
}

#btn-mezclar, #btn-restart{
    width: 100%;
}


#juego{
    width: calc(90vh + 320px);
    margin: 0 auto;
    height: 100%;
}

#juego:after{
    content: ' ';
    display: block;
    visibility: hidden;
    clear: both;
    height: 0;
}

.left {
    float: left;
    width: calc(100% - 320px);
    height: 100%;
}

.right {
    float: left;
    width: 260px;
    margin-left: 40px;
    height: 100%;
}

#cuadricula {
    width: 90vh;
    height: 90vh;
    border: 3px solid #2B2B2B;
    border-radius: 25px;
    background-color: #2B2B2B;
    overflow: hidden;
    box-shadow: 0px 0px 5px 0px #000000;
    transition: 1s ease-in-out;
}

#cuadricula table {
    width: 100%;
    height: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    border-width: 0;
}
#cuadricula table td {
    width: 25%;
    border-right: 3px solid #2B2B2B;
    border-bottom: 3px solid #2B2B2B;
    background-color: #979797;
    padding: 10px;
    transition: 1s ease-in-out;
    box-shadow: 8px 8px 10px 0px #303030 inset, -8px -8px 10px 0px #b8b8b8 inset;
}
#cuadricula table tr td:last-child {
    border-right: 0 none;
}
#cuadricula table tr:last-child td {
    border-bottom: 0 none;
}

/*
#cuadricula[data-rotstate="1"] table td{
    box-shadow: 8px 8px 10px 0px #303030 inset, -8px -8px 10px 0px #b8b8b8 inset;
}

#cuadricula[data-rotstate="2"] table td{
    box-shadow: 8px -8px 10px 0px #303030 inset, -8px 8px 10px 0px #b8b8b8 inset;
}

#cuadricula[data-rotstate="3"] table td{
    box-shadow: -8px -8px 10px 0px #303030 inset, 8px 8px 10px 0px #b8b8b8 inset;
}

#cuadricula[data-rotstate="4"] table td{
    box-shadow: -8px 8px 10px 0px #303030 inset, 8px -8px 10px 0px #b8b8b8 inset;
}*/

.dado {
    width: 100%;
    height: 100%;
    /*background-color: #F2E79E;*/
    color: #141414;
    margin: 0px auto;
    border-radius: 15px;
    text-align: center;
    box-sizing: border-box;

    box-shadow: 4px 4px 4px #1C1C1C;
    background: #fcfcfc; /* Old browsers */
    background: -moz-linear-gradient(top, #fcfcfc 0%, #dbdbdb 15%, #d1d1d1 85%, #969696 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #fcfcfc 0%,#dbdbdb 15%,#d1d1d1 85%,#969696 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #fcfcfc 0%,#dbdbdb 15%,#d1d1d1 85%,#969696 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fcfcfc', endColorstr='#969696',GradientType=0 ); /* IE6-9 */
}


.letra {
    line-height: 148px;
    width: 100%;
    height: 100%;
    font-size: 12vh;
    font-weight: bold;
    vertical-align: middle;
    display: table-cell;
}

.letra-bg {
    border-radius: 100px;
    border-radius: 100px;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#fcfcfc+0,dbdbdb+60,d1d1d1+70,969696+100&1+0,1+60,0+70 */
    background: -moz-radial-gradient(center, ellipse cover, rgba(252,252,252,1) 0%, rgba(219,219,219,1) 60%, rgba(209,209,209,0) 70%, rgba(150,150,150,0) 100%); /* FF3.6-15 */
    background: -webkit-radial-gradient(center, ellipse cover, rgba(252,252,252,1) 0%,rgba(219,219,219,1) 60%,rgba(209,209,209,0) 70%,rgba(150,150,150,0) 100%); /* Chrome10-25,Safari5.1-6 */
    background: radial-gradient(ellipse at center, rgba(252,252,252,1) 0%,rgba(219,219,219,1) 60%,rgba(209,209,209,0) 70%,rgba(150,150,150,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fcfcfc', endColorstr='#00969696',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
    width: 100%;
    height: 100%;
    display: table;
}

.espacio-vacio {
    width: 150px;
    height: 150px;
    margin: 0px auto;
    border-radius: 15px;
}

.dado.or-d .letra{
	transform: rotate(180deg);
}
.dado.or-r .letra{
	transform: rotate(90deg);
}
.dado.or-l .letra{
	transform: rotate(270deg);
}

#timer {
    background-color: #cccccc;
    border-radius: 25px;
    margin-top: 20px;
    font-size: 90px;
    text-align: center;
    padding: 10px 0;
    box-sizing: border-box;
    width: 260px;
    border: 3px solid #141414;
    color: #252525;
}

#timer.active {
   background-color: #14CC14;
}

#back_overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(10,10,10,0.9);
    display: none;
    z-index: 100;
}

#finish_overlay, #pause_overlay {
    width: 550px;
    height: 130px;
    position: absolute;
    top: calc(50% - 150px);
    left: calc(50% - 275px);
    background-color: rgba(200, 200, 200, 0.5);
    border-radius: 14px;
    padding: 80px 0px;
    box-shadow: 10px 10px 10px #000000;
    display: none;
    z-index: 101;
}

#btn-verificar, #btn-continuar {
    margin: 0 auto;
    display: block;
}

#finish_overlay .txt, #pause_overlay .txt {
    text-align: center;
    color: #ececec;
    font-size: 40px;
    margin-bottom: 30px;
}

label {
  font-size: 2rem;
  line-height: 2rem;
  vertical-align: middle;
}

.custom-checkbox {
    width: 50px;
    height: 2rem;
    line-height: 2rem;
    border-radius: 20px;
    border: 0 none;
    position: relative;
    display: inline-block;
    vertical-align: middle;
    transition: background .25s ease-in-out;
    box-shadow: 0 0 2px 0 #000000;
    background-color: #EEEEEE;
    cursor: pointer;
    margin-left: 10px;
}

.custom-checkbox:after {
    content: '';
    position: absolute;
    background: #6D6D6D;
    width: 32px;
    height: 2rem;
    top: 0;
    left: 0;
    border-radius: 50%;
    transition: left .25s ease-in-out, background .25s ease-in-out;
}

.custom-checkbox.active {
    background: #b3e4b3;
}

.custom-checkbox.active:after {
    left: 18px;
    background: #218B21;
    transition: left .25s, background .25s;
}

.text-center {
  text-align: center;
}