* {
  margin: 0;
  padding: 0;
}

.contenedor_tab {
  display: grid;
  background: grey;
  width: 450px; /*450px*/
  position: relative;
}

.ficha {
  position: absolute;
}

.casilla {
  height:27px;
  width:50px;
}

.casilla2 {
  height: 50px;
  width: 26px;
}

.casilla3 {
  height: 53px;
  width: 50px;
}

.parte_arriba {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

.fila1 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

.fila_centro {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

.parte_del_medio {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

.casa {
  width: 150px;
  height: 150px;
  display: inline-block;
  position: relative;
}

.pocision_casa_ficha {
  position: absolute;
  width: 150px;
  height: 150px;
  padding: 3px;
}

.pcf1 {
  top:5px;
  left:10px;
}

.pcf2 {
  top:5px;
  left:100px;
}

.pcf3 {
  top: 100px;
  left: 10px;
}

.pcf4 {
  top: 100px;
  left:100px;
}

.seleccion_de_ficha {
  max-width: 500px;
  border: 1px solid #000;
  padding: 1%;
  border-radius: 15px;
  position: absolute;
  bottom:0;
  left:0;
  display: none;
  background: #FAFAFA;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-gap: 5px;
}

.seleccion_de_ficha div {
  border: 2px solid #000;
  padding: 3%;
  max-height: 32px;
  max-width: 32px;
  cursor: pointer;
  overflow: hidden;
}

.seleccion_de_ficha div:hover {
  background: #DFDFDF;
}

.nombre_turno button {
  width: 450px;
  cursor: pointer;
  font-size: 20px;
  padding: 3px;
  position: absolute;
}

.nombre_turno {
  font-size: 20px;
  padding: 5px;
  width: 450px;
  margin: 0;
}

.nombre_turno p {
  color:#000;
  font-size: 22px;
  padding: 2px;
  background: #27D742;
}

.casilla svg {
  padding: 5px;
}

.tabla_pocisiones {
  width: 120px;
  position: absolute;
  top: 5px;
  left:500px;
}

.tabla_pocisiones div {
  width: 100%;
  display: grid;
  grid-template-columns: 40px 1fr;
  border: 1px solid #000;
  padding: 5px;
}

.tabla_pocisiones div svg {
  width: 100%;
  height: 35px;
}

.tabla_pocisiones div p {
  font-size: 20px;
  padding: 2px;
}

#eligio_circulo {
  display: none;
}

#eligio_cuadrado {
  display: none;
}

#eligio_triangulo {
  display: none;
}

#eligio_raro {
  display: none;
}

.boton_salir {
  margin-top: 10px;
  font-size: 20px;
  padding: 5px;
  background: #fff;
  border: 2px solid #000;
  position: fixed;
  bottom: 0;
  right: 0;
  text-decoration: none;
}

.boton_salir:hover {
  text-decoration: underline;
}

/*--*/

.contenedor_solicitud {
  display: grid;
  width: 90%;
  grid-template-columns:20% 30% 30% 20%;
  padding: 1%;
  margin: 1% auto;
  background: #E3E3E3;
  color: #000;
  font-family: 'Roboto Condensed', sans-serif;
  border-top: 1px solid #626262;
  border-bottom: 1px solid #626262;
  cursor: default;
  font-size: 18px;
}

.contenedor_partida {
  display: grid;
  width: 90%;
  grid-template-columns:20% 60% 20%;
  padding: 1%;
  margin: 1% auto;
  background: #E3E3E3;
  color: #000;
  font-family: 'Roboto Condensed', sans-serif;
  border-top: 1px solid #626262;
  border-bottom: 1px solid #626262;
  cursor: default;
  font-size: 18px;
}

.contenedor_ps:hover {
  background: #D8D8D8;
}

.contenedor_ps h3 {
  margin-bottom: 8px;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 21px;
}

.boton_admin_config {
  display: inline-block;
  padding: 7px;
  position: fixed;
  top: 0;
  right: 0;
  font-size: 25px;
  cursor: pointer;
  border: solid 2px #000;
  background: #fff;
  z-index: 6000;
}

.cuadro_config {
  display: none;
  position: fixed;
  top: 1%;
  left: 1%;
  width: 60%;
  padding: 1%;
  border: 2px solid #000;
  z-index:1000;
  background: #fff;
}

.error_db {
  position: fixed;
  display: block;
  margin: auto;
  border: 2px solid red;
  border-radius: 10%;
  width: 80%;
  background: #CF4242;
  color: #fff;
  padding: 2%;
  z-index: 1000;
  top:30%;
  left:8%;
}

.error_db h3 {
  font-size: 30px;
  text-align: center;
  font-family: arial;
}

.error_db p {
  font-size: 24px;
}

h1 {
  font-size: 40px;
  padding: 2%;
  border-bottom: 2px solid #000;
  background: #42CF4B;
}

.mensaje_bienvenida {
  margin-top: 1%;
  padding: 1% 2%;
  font-size: 23px;
  display: block;
  background: #42CF68;
}

.invitacion_login {
  margin-top: 1%;
  padding: 2%;
  font-size: 23px;
  background: #3EC462;
}

.invitacion_login p {
  font-size: 25px;
  margin-bottom: 1%;
  font-family: 'Oswald', sans-serif;
  margin-bottom: 1%;
}

.invitacion_login a {
  text-decoration: none;
  color: #000;
  border: 1.5px solid #3E9DC4;
  background: #fff;
  padding: 1%;
  transition: all ease 0.5s;
  display: inline-block;
}

.invitacion_login a:hover {
  cursor: pointer;
  background: #3E9DC4;
  transition: all ease 0.5s;
}

.formulario {
  display: block;
  width: 80%;
  margin: 1% auto;
  padding: 1%;
  font-size: 23px;
  font-family: 'Roboto Condensed', arial;
}

.formulario input[type="text"],
.formulario input[type="password"] {
  padding: 1%;
  font-size: 23px;
  width: 97.8%;
  display: inline-block;
  border: 1px solid #42CF4B;
  font-family: 'Oswald', sans-serif;
}

.formulario input[type="submit"] {
  padding: 1%;
  font-size: 23px;
  width: 100%;
  border: none;
  cursor: pointer;
  display: block;
  background:#3EC45C;
  transition: all ease 0.5s;
}

.formulario input[type="submit"]:hover {
  background:#28793A;
  color:#fff;
  transition: all ease 0.5s;
}

.formulario_inputcontenet {
  display: grid;
  grid-template-columns: 5% 95%;
  margin-bottom: 1%;
  width: 100%;
  overflow: hidden;
}

.formulario_inputcontenet .fas {
  background: #42CF4B;
  text-align: center;
  font-size: 25px;
  padding: 25%;
  display: inline-block;
}

.formulario_inputcontenet:hover .fas {
  background:#3EC45C;
}

.formulario input[type="text"]:focus,
.formulario input[type="password"]:focus {
  border: 1px solid #28793A;
}

.form_new div {
  width: 100%;
  overflow: hidden;
  display: grid;
  grid-template-columns: 70% 30%;
}

.form_new input[type="text"] {
  width: 99.3%;
}

.form_new select {
  font-size: 20px;
  font-family: 'Oswald', sans-serif;
}

.form_new select option:nth-child(2) { background: red; }
.form_new select option:nth-child(3) { background: yellow; }
.form_new select option:nth-child(4) { background: #277CEA; }
.form_new select option:nth-child(5) { background: green; }

.form_new select option:nth-child(2):hover { background: red; }
.form_new select option:nth-child(3):hover { background: yellow; }
.form_new select option:nth-child(4):hover { background: #277CEA; }
.form_new select option:nth-child(5):hover { background: green; }

.boton_normal_green {
  display: inline-block;
  border: 2px solid #3AB656;
  font-size: 20px;
  padding: 5px;
  text-decoration: none;
  color:#000;
  margin: 1%;
  transition: all ease 0.5s;
  cursor: pointer;
}

.boton_normal_green:hover {
  background: #3AB656;
  transition: all ease 0.5s;
}

.boton_normal_red {
  display: inline-block;
  border: 2px solid #E42B2B;
  font-size: 20px;
  padding: 5px;
  text-decoration: none;
  color:#000;
  margin: 1%;
  transition: all ease 0.5s;
}

.boton_normal_red:hover {
  background: #E42B2B;
  color: #fff;
  transition: all ease 0.5s;
}

.accesos_de_control {
  background: #D8D8D8;
}

.errores {
  padding: 1%;
  color: #fff;
  background: #E12C2C;
  display: inline-block;
  margin-left: 1%;
}

.errores li {
  font-size: 21px;
  list-style: none;
}

.registros {
  display: block;
  width: 80%;
  margin: 1% auto;
}

.registros p {
  background: #E3E3E3;
  color: #000;
  font-family: 'Raleway', sans-serif;
  border-top: 1px solid #626262;
  border-bottom: 1px solid #626262;
  padding: 1%;
  cursor: default;
  font-size: 18px;
}

.registros p:hover {
  background: #D8D8D8;
}

.paginacion a {
  text-decoration: none;
  font-size: 19px;
  color:#000;
  font-family: 'Roboto Condensed', sans-serif;
  padding: 1%;
  margin: 1%;
  background: #3DD45F;
  display: inline-block;
  transition: all ease 0.3s;
}

.paginacion a:hover {
  background: #3AC559;
  transition: all ease 0.3s;
  cursor: pointer;
}

.paginacion .disabled {
  background: #B6B6B6;
}

.paginacion .disabled:hover {
  background: #B6B6B6;
  cursor: not-allowed;
}

.mensaje_ganador {
  width: 80%;
  padding: 2%;
  position: fixed;
  left: 7.9%;
  top:10%;
  border: 2px solid #B48436;
  background: #D79D3F;
  display: none;
}

.mensaje_ganador h3 {
  font-size: 25px;
  font-family: 'Source Sans Pro', sans-serif;
  margin-bottom: 3px;
}

.mensaje_ganador p {
  font-size: 20px;
  font-family: 'Roboto Condensed', sans-serif;
}
