/*
Custom CSS Ruleta 2021
Desarrollador: Ariel Hernández Friz
*/

body{
    font-family: 'Encode Sans Semi Expanded', sans-serif;
}
.bg-header{
    background-color:#1a237e;
 }

/* Sets the background image for the wheel */
div.the_wheel
{
    background-image: url(../img/ruleta.png);
    background-position: center;
    background-repeat: none;
    width:250px;
    height:317px;
    margin: 0 auto;
}
canvas#canvas{
    padding-top: 0;
    margin-top: -27px;
}

/* Do some css reset on selected elements */
h1, p
{
    margin: 0;
}

div.power_controls{
    background-color: #fbfbfb;
    padding: 30px;
    text-align: center;
    border-radius: 10px;
    -webkit-box-shadow: 1px 16px 23px #ebebeb;
    -moz-box-shadow: 1px 16px 23px #ebebeb;
    box-shadow: 1px 16px 23px #ebebeb;
}

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 */
.preg{
	display:none;
    font-size: 30px;
   
}
.margin_bottom{
    margin-bottom: 5px;
}
.myClass{
  
}
.myClass2{
    background-color: #fff4f4 !important;
    border: solid 1px #f1cbcb !important;
    color: #a9a9a9 !important;
}
.active{
	display: block !important;
    color: #181818;
    padding: 15px 10px;
    font-weight: 700;
    border-radius: 4px;
    -webkit-animation: fadeInFromNone 0.8s ease-out;
    -moz-animation: fadeInFromNone 0.8s ease-out;
    -o-animation: fadeInFromNone 0.8s ease-out;
    animation: fadeInFromNone 0.8s ease-out;
}


@-webkit-keyframes fadeInFromNone {
    0% {
        display: none;
        opacity: 0;
    }
    1% {
        display: block;
        opacity: 0;
    }
    100% {
        display: block;
        opacity: 1;
    }
}

@-moz-keyframes fadeInFromNone {
    0% {
        display: none;
        opacity: 0;
    }
    1% {
        display: block;
        opacity: 0;
    }
    100% {
        display: block;
        opacity: 1;
    }
}

@-o-keyframes fadeInFromNone {
    0% {
        display: none;
        opacity: 0;
    }
    1% {
        display: block;
        opacity: 0;
    }
    100% {
        display: block;
        opacity: 1;
    }
}

@keyframes fadeInFromNone {
    0% {
        display: none;
        opacity: 0;
    }
    1% {
        display: block;
        opacity: 0;
    }
    100% {
        display: block;
        opacity: 1;
    }
}

#ulListado-op{
    list-style: none;
    width: 100%;
    margin-bottom: 30px;
    margin: 0;
    padding: 15px 0 30px 40px;
}
.disc{
    background: #73d1bc8a;
    border: solid 1px #00b88f;
    font-weight: 700;
    width: 25px;
    height: 25px;
    color: #2e2d2d;
    text-align: center;
    padding: 7px 5px;
    line-height: 1;
    list-style: none;
    float: left;
    margin-right: 5px;
    border-radius: 50%;
    font-size: 11px;
}

.active-disc{
    background-color: #e3e3e3;
    border: solid 1px #858585;
}

/*
    Cotroles del juego
--------------------------------------------------*/
#controles{
    float: left;
    width: 100%;
    margin-top: -100px;
}
#cont-btn-finalizar,
#cont-btn-girar{
    text-align: center;
    width: 70px;
}

#cont-btn-girar{
    float: right;
}

#cont-btn-finalizar strong,
#cont-btn-girar strong{
    font-size: 12px;
    text-transform: uppercase;
    padding-top: 10px;
    display: inline-block;
    color: #6343af;
}
#cont-btn-finalizar{
    float: left;
    width: 100%;
    margin-top: 30px;
}

#spin_button{
    float: right;
    width: 70px;
    height: 70px;
    cursor: pointer;
    /*margin-right: 30px;*/
    display: block;
    background: #fd9405;
    border: inherit;
    color: #fff;
    padding: 10px;
    border-radius: 50%;
    -webkit-transition: all .2s linear;
    -moz-transition: all .2s linear;
    transition: all .2s linear;
}
#spin_button .bi:before{
    color: #FFF;
    font-size: 50px;
    font-weight: 700;
}
#spin_button:hover{
    background: #ff7300;
}
#spin_button:disabled,
button[disabled]{
  border: 1px solid #fd9405;
  background-color: #ffbe64;
  color: #666666;
  cursor: no-drop;
}
#resetWheel{
    padding: 10px 30px;
    background: #efef09;
    color: #000;
    text-decoration: none;
    /*margin: 0 auto;*/
    float: right;
}
/* Always */
input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
    opacity: 1;
}


#btn-resultados{
  
    background-color: #534bae;
    color: #fff;
    border: none;
    /*float: left;*/
    /*margin-left: 30px;*/
    margin: 0 auto;
    padding: 10px 40px;
    border-radius: 40px;
}
#btn-resultados:hover{
    background-color: #3d32af;
}
#btn-resultados .bi:before{
    color: #FFF;
    font-size: 23px;
    font-weight: 700;
}
#btn-resultados:disabled,
button[disabled]{
  border: 1px solid #534bae;
  background-color: #928cd8;
  color: #666666;
  cursor: no-drop;
}




/* Coteedor Ruleta 
-------------------------*/
#container-wheel{
    float: left;
    width: 100%;
}

#listado-preguntas{
    background: #fff;
    border-radius: 0 0 10px 10px;
    box-shadow: 0px 2px 14px #e4e4e4;
}
.title-pre{
    background: #534bae;
    padding: 15px;
    color: #fff;
    text-align: center;
}
#ulListado{
    list-style: decimal;
    padding: 25px 40px;
}
#ulListado li{
    margin-bottom: 10px;
}
#ulListado li::marker{
    font-weight: 700;
}


/*
    container crear grupos
----------------------------------------------------------------*/
#container-crear-grupos{
    float: left;
    width: 100%;
    padding: 30px 70px;
    margin-top: 30px;
}
#btn-crear-grupos{
    border: none;
    padding: 10px 30px;
    background-color: #524ab0;
    color: #FFF;
    font-weight: 700;
    border-radius: 25px;
    -webkit-transition: all .2s linear;
    -moz-transition: all .2s linear;
    transition: all .2s linear;
}
#btn-crear-grupos:hover{
    background-color: #4c24a8;
}
#input_crear_grupo{
    padding: 8px 15px;
    width: 75px;
    margin-right: 12px;
    border-radius: 25px;
    border: solid 1px #524ab0;
}

/* grupos */
#container-grupos{
    float: left;
    width: 100%;
    margin-top: 50px;
    box-shadow: 0px 3px 7px #d0cfcf;
    border-radius: 20px;
    padding: 30px 10px;
}
#container-grupos h2{
    font-size: 19px;
    color: #524ab0;
    text-align: center;
    text-transform: uppercase;
    font-weight: 700;
}
#tabla-grupos tr td{
    padding-left: 0;
    padding-right: 0;
    text-align: center;
    font-weight: 700;
    color: #443c69;
}

#tabla-grupos tr td input{
    font-size: 13px;
    width: 50px;
    border-radius: 20px;
    padding: 5px 8px;
    border: solid 1px rgb(187, 187, 187);
}
#tabla-grupos tr td input:focus{
    outline: none;
    border: solid 1px #999;
    background-color: rgb(247, 247, 247);
}


/* uploads */
#file-input {
  color: transparent;
  width: 230px;
}
#file-input::-webkit-file-upload-button {
  visibility: hidden;
}
#file-input::before {
  content: 'Subir archivo';
  text-transform: uppercase;
  color: #fff;
  background-color:#b3b3b3;
  display: inline-block;
  border: 1px solid #999;
  border-radius: 22px;
  padding: 8px 55px;
  outline: none;
  white-space: nowrap;
  -webkit-user-select: none;
  cursor: pointer;
  letter-spacing: 1px;
  font-size: 11px;
  font-weight: 700;
}
#file-input:hover::before {
  border-color: black;
}
#file-input:active {
  outline: 0;
}
#file-input:active::before {
  background-color: #999; 
}

#file-input:disabled::before,
#file-input[disabled]::before{
    cursor: no-drop;
}


.msn-file-input{
    color: #5f5e5e;
    font-weight: 700;
    margin-top: 20px;
}



/* 
    resultadps
----------------------------------------------------*/
#container-resultados{
    box-shadow: 0 1px 7px #d4d4d4;
    border-radius: 0 1px 10px 10px;
}
.container-table{
    padding: 30px;
}
#container-resultados h3{
    background: #4d408e;
    color: #fff;
    text-align: center;
    padding: 10px;
}

#salir-ruleta{
    background: #ce2b2b;
    color: #fff;

}
#volver-juego{
    background: #4d408e;
    color: #fff;
}

#btnExportar{
    background: #d1c535;
    color: #fff;
}
#btnExportar,
#volver-juego,
#salir-ruleta{
    border: none;
    padding: 10px 30px;
    border-radius: 20px;
    font-size: 12px;
    text-transform: uppercase;
}

.tableexport-caption{
    padding-top: 20px;
}
.tableexport-caption .button-default{
    border: none;
    padding: 5px 20px;
    border-radius: 5px;
    margin-right: 15px;
    font-size: 14px;
    background: #b5ebf1;
    -webkit-transition: .2s all linear;
    -moz-transition: .2s all linear;
    transition: .2s all linear;
}
.tableexport-caption .button-default:hover{
    background:#6be5f3;
}
