body, html{
    margin: 0;
    padding: 0;
}

/*==================================================
    MENU PRINCIPAL
==================================================*/
/*.slicknav_menu{
    display:none;
}

.menu ul{
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #333333;
}

.menu li{
    list-style-type: none;
    display: inline-block;
}

.menu li a{
    display: block;
    color: black;
    text-align: center;
    padding: 16px;
    text-decoration: none;
}

.menu li a:hover{
    background-color: gray;
}*/


/*==================================================
                   BODY
==================================================*/
body{
    text-align: center;
    background-image: url("img/fondo.jpg");
    background-position: left;
    background-size: cover;
    background-repeat: no-repeat;
    margin: auto;
    text-align: center;
    min-height: 100vh;
    padding-bottom: 20px;
}

.generalBkForm{
    font-size: 20px;
    background: white;
    text-align: center;
    padding: 20px;
    border: solid 8px #8bbc47;
    width: 280px;
    display: none;
    margin: auto;
}

.generalBkForm input[type=text]{
    background: white;
    padding: 3px 8px;
    font-size: 18px;
    border: solid 1px #e1e1e1;
    margin-bottom: 10px;
    width: 100%;
}

/*==================================================
                      HEADER
==================================================*/
header{
    padding-top: 20px;
    padding-bottom: 20px;
    width: 100%;
}
header>img{
    width: 230px;
}
.headerMin>img{
    width: 130px;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -ms-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}

/*==================================================
                     CONTENIDO
==================================================*/
.content{
    position: relative;
    z-index: 1;
    text-align: center;
    width: 100%;
    min-height: 400px;
}

.btnPlay{
    position: fixed;
    left: 50%;
    top: 70%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 2;
}
.btnPlay:hover{
    top: 71%;
    border: solid 5px white;
}


/*==================================================
              Seleccion de jugadores
==================================================*/
.numberPlayers>div{
    position: relative;
}
input[type=radio]{
    position: absolute;
    visibility: hidden;
}

label{
    display: block;
    position: relative;
    font-weight: normal;
    font-size: 18px;
    padding: 15px 25px 15px 70px;
    margin: 10px auto;
    height: 30px;
    z-index: 9;
    cursor: pointer;
    -webkit-transition: all 0.25s linear;
}

.check{
    display: block;
    position: absolute;
    border: 3px solid #AAAAAA;
    border-radius: 100%;
    height: 25px;
    width: 25px;
    top: 15px;
    left: 25%;
    z-index: 5;
    transition: border .25s linear;
    -webkit-transition: border .25s linear;
}

.check::before {
    display: block;
    position: absolute;
    content: '';
    border-radius: 100%;
    height: 15px;
    width: 15px;
    top: 2px;
    left: 2px;
    margin: auto;
    transition: background 0.25s linear;
    -webkit-transition: background 0.25s linear;
}

input[type=radio]:checked ~ .check {
    border: 3px solid #CF1317;
}

input[type=radio]:checked ~ .check::before{
    background: #CF1317;
}

input[type=radio]:checked ~ label{
    color: #CF1317;
}

.numberPlayers input[type=button]{
    background: #CF1317;
    border: none;
    padding: 5px 10px;
    font-size: 18px;
    color: white;
    margin-top: 25px;
}


/*==================================================
                      config players
==================================================*/
.punteosTable input[type=button]{
    background: #CF1317;
    border: none;
    padding: 5px 10px;
    font-size: 18px;
    color: white;
    margin-top: 10px;
}
.punteosTable{
    font-size: 25px;
    font-weight: bold;
}
.punteosTable .nameContent{
    font-size: 17px;
    font-weight: bold;
}
.punteosTable .punteosItem{
    margin-top: 15px;
}
.punteosTable .avatar img{
    margin-top: 5px;
    width: 45px;
}
.player1{
    display: none;
}
.player2{
    display: none;
}
.player3{
    display: none;
}
.player4{
    display: none;
}
/*==================================================
                      config players
==================================================*/
.configPlayers input[type=button]{
    background: #CF1317;
    border: none;
    padding: 5px 10px;
    font-size: 18px;
    color: white;
    margin-top: 10px;
}
.configPlayers{
    font-size: 17px;
}
.configPlayers .avatar{
    padding: 0;
}
.configPlayers .avatar img{
    margin-top: 5px;
    width: 55px;
}

/*==================================================
                      Playing
==================================================*/
.playing{
    font-size: 15px;
    text-align: center;
}
.playing div{
    padding: 0;
}
.playing img{
    margin-top: 5px;
    width: 50px;
}

.description{
    background: #8bbc47;
    color: white;
    padding: 5px 10px;
    width: 100%;
    margin-top: 10px;
    font-size: 17px;
}

@keyframes spin {
    0% { transform: translateZ(-100px) rotateX(0deg) rotateY(0deg) rotateZ(0deg); }
    16% { transform: translateZ(-100px) rotateX(180deg) rotateY(180deg) rotateZ(0deg); }
    33% { transform: translateZ(-100px) rotateX(360deg) rotateY(90deg) rotateZ(180deg); }
    50% { transform: translateZ(-100px) rotateX(360deg) rotateY(360deg) rotateZ(360deg); }
    66% { transform: translateZ(-100px) rotateX(180deg) rotateY(360deg) rotateZ(270deg); }
    83% { transform: translateZ(-100px) rotateX(270deg) rotateY(180deg) rotateZ(180deg); }
    100% { transform: translateZ(-100px) rotateX(0deg) rotateY(0deg) rotateZ(0deg); }
}
@keyframes roll {
    0% { transform: translate3d(-50px,0px,-50px) }
    12% { transform: translate3d(0px,0,-50px) }
    25% { transform: translate3d(50px,25px,-50px) }
    37% { transform: translate3d(0px,25px,-50px) }
    50% { transform: translate3d(-50px,25px,-50px) }
    62% { transform: translate3d(0px,0,25px) }
    75% { transform: translate3d(50px,25px,-50px) }
    87% { transform: translate3d(0px,25px,-50px) }
    100% { transform: translate3d(-50px,0px,-50px) }
}
.platFormAnimation{
    animation: roll 1.5s infinite linear;
}
.diceAnimation{
    animation: spin 2.3s infinite linear;
}
.diceContent{
    cursor: pointer;
}
#platform {
    width:100px;
    height:100px;
    transform-style: preserve-3d;
    margin-top:15%;
    margin-bottom:15%;
    margin-left: 28%;

    -webkit-transition: -webkit-transform 0.5s ease;
    -moz-transition: -moz-transform 0.5s ease;
    transition: transform 0.5s ease;
}
#dice span {
    position:absolute;
    margin:100px 0 0 100px;
    display: block;
    font-size: 2.5em;
    padding: 10px;
}
#dice {
    position: absolute;
    width: 100px;
    height: 100px;
    transform-style: preserve-3d;

    -webkit-transition: -webkit-transform 0.3s ease;
    -moz-transition: -moz-transform 0.3s ease;
    transition: transform 0.3s ease;

}
.side {
    position: absolute;
    width: 100px;
    height: 100px;
    background: #CF1317;
    box-shadow:inset 0 0 40px #a81012;
    border-radius: 40px;
}
#dice .cover, #dice .inner {
    background: #a60f12;
    box-shadow: none;
}
#dice .cover {
    border-radius: 0;
    transform: translateZ(0px);
}
#dice .cover.x {
    transform: rotateY(90deg);
}
#dice .cover.z {
    transform: rotateX(90deg);
}
#dice .front  {
    transform: translateZ(50px);
}
#dice .front.inner  {
    transform: translateZ(49px);
}
#dice .back {
    transform: rotateX(-180deg) translateZ(50px);
}
#dice .back.inner {
    transform: rotateX(-180deg) translateZ(49px);
}
#dice .right {
    transform: rotateY(90deg) translateZ(50px);
}
#dice .right.inner {
    transform: rotateY(90deg) translateZ(49px);
}
#dice .left {
    transform: rotateY(-90deg) translateZ(50px);
}
#dice .left.inner {
    transform: rotateY(-90deg) translateZ(49px);
}
#dice .top {
    transform: rotateX(90deg) translateZ(50px);
}
#dice .top.inner {
    transform: rotateX(90deg) translateZ(49px);
}
#dice .bottom {
    transform: rotateX(-90deg) translateZ(50px);
}
#dice .bottom.inner {
    transform: rotateX(-90deg) translateZ(49px);
}
.dot {
    position:absolute;
    width:23px;
    height:23px;
    border-radius:12px;
    background: #ffffff;
    box-shadow:inset 5px 0 10px #838383;
}
.dot.center {
    margin:38px 0 0 38px;
}
.dot.dtop {
    margin-top:10px;
}
.dot.dleft {
    margin-left:67px;
}
.dot.dright {
    margin-left:10px;
}
.dot.dbottom {
    margin-top:67px;
}
.dot.center.dleft {
    margin:38px 0 0 10px;
}
.dot.center.dright {
    margin:38px 0 0 67px;
}
.descriptionDice{
    margin-top: 15px;
    font-size: 13px;
    font-weight: bold;
}


.nextTurnBtn{
    background: #CF1317;
    border: none;
    padding: 5px 10px;
    font-size: 18px;
    color: white;
    margin-top: 25px;
}

a.tooltips {
    position: relative;
    display: inline;
    color: black;
}
a.tooltips span {
    position: absolute;
    min-width:80px;
    color: #FFFFFF;
    background: #000000;
    height: 30px;
    line-height: 30px;
    text-align: center;
    visibility: hidden;
    border-radius: 6px;
}
a.tooltips span:after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -8px;
    width: 0; height: 0;
    border-top: 8px solid #000000;
    border-right: 8px solid transparent;
    border-left: 8px solid transparent;
}
a:hover.tooltips span {
    visibility: visible;
    opacity: 0.8;
    bottom: 20px;
    left: 50%;
    margin-left: -40px;
    z-index: 999;
}

/*==================================================
                      Footer
==================================================*/
footer{
    text-align: center;
    position: absolute;
    bottom: 0px;
    min-height: 300px;
    width: 100%;
    z-index: 0;
}



/*==================================================
=            Bootstrap 3 Media Queries             =
==================================================*/

/* Large Devices, Wide Screens */
@media only screen and (max-width : 1200px) {

}

/* Medium Devices, Desktops */
@media only screen and (max-width : 992px) {

}

/* Small Devices, Tablets */
@media only screen and (max-width : 768px) {
    /* #menu is the original menu */
    .menu{
        display:none;
    }

    .slicknav_menu {
        display:block;
    }
}

/* Extra Small Devices, Phones */
@media only screen and (max-width : 480px) {

}

/* Custom, iPhone Retina */
@media only screen and (max-width : 320px) {

}