/* 
    Document   : mates.css
    Created on : 16-10-2016, 12:37:19
    Author     : joaquin
    Description:
        Hoja de estilos para Mates.
*/

root { 
    display: block;
}

body {
    background-color: #f5f5E1;
    font-family: Arial, Helvetica, sans-serif;
    margin: 0 0 0 0;
    border-top:  5px solid #f0f0d2;
    border-left: 5px solid #f0f0d2;
    border-bottom: 5px solid #f0f0d2;
    border-right: 5px solid #f0f0d2;
    border-radius: 10px;
    padding: 5px;
}

@media screen and (min-width: 800px) {
    /*
    Diseño adaptativo (responsive):
    ===============================
    Si es una pantalla mediana, utiliza el % central.
    */
    body {
        margin: 0 15% 0 15%;
    }
}

@media screen and (min-width: 1200px) {
    /*
    Si es una pantalla ancha, utiliza el % central.
    */
    body {
        margin: 0 30% 0 30%;
    }
}

.Cabecera {
    border-radius: 8px;
    background-color: #f0f0d2;
    margin: 0 0 0 0px;
    width: 100%;
    height: 35px;
}

.ImagenIcono {
    text-align: justify;
    font-size: small;
    padding: 0px 0px 0px 0px;
    border-top: 1px solid grey;
    border-right: 1px solid grey;
    border-bottom: 1px solid grey;
    border-left: 1px solid grey;
    border-radius: 8px;
}

.margen_5puntos{
    margin-right: 5px;
    margin-left: 5px;
}

.Pie {
    border-radius: 8px;
    background-color: #f0f0d2;
    margin: 0 0 0 0px;
    width: 100%;
    height: 35px;
    text-align: center;
    font-size: small;
}

.Boton {
    background-color: #f0f0d2;
    font-weight:bold;
    margin-top: 3px;
    margin-bottom: 3px;
    padding: 8px; 
    border-radius: 8px;
    font-family: Verdana, Geneva, sans-serif;
    font-weight: bolder;
    color: #0000aa;
    height: fit-content;
}

.comentarios_boton { 
    width: available;
    margin-left: 40px;
    margin-right: 20px;
    font-family: Verdana, Geneva, sans-serif;
    font-size: small;
    font-weight:normal;
    color: black;
    text-align: left;
}

.BotonJuego {
    background-color: #f0f0d2;
    font-weight:bold;
    width: 100%;
    margin-top: 3px;
    margin-bottom: 3px;
    padding: 8px; 
    border-radius: 8px;
    font-family: Verdana, Geneva, sans-serif;
    font-weight: bolder;
    color: #0000aa;
    text-transform: uppercase;
}

.BotonJuegoS11 {
    background-color: #f0f0d2;
    width: fit-content;
    margin-top: 3px;
    margin-bottom: 3px;
    padding: 3px; 
    border-radius: 8px;
    font-family: Verdana, Geneva, sans-serif;
    font-weight: bolder;
    color: #0000aa;
    text-transform: uppercase;
    border-radius: 0.8em;
    -moz-border-radius: 0.8em;
    -webkit-border-radius: 0.8em;
    display: inline-block;
    line-height: 1.6em;
    margin-right: 1px;
    margin-left: 1px;
    text-align: center;
    font-size: small;
    float: right;
}

.BotonJuegoS11b {
    background-color: #f0f0d2;
    width: fit-content;
    margin-top: 3px;
    margin-bottom: 3px;
    padding: 3px; 
    border-radius: 8px;
    font-family: Verdana, Geneva, sans-serif;
    font-weight: bolder;
    color: green;
    text-transform: uppercase;
    border-radius: 0.8em;
    -moz-border-radius: 0.8em;
    -webkit-border-radius: 0.8em;
    display: inline-block;
    line-height: 1.6em;
    margin-right: 1px;
    margin-left: 1px;
    text-align: center;
    font-size: small;
    float: right;
}

#Version{
    font-size: x-small;
    float: right;
    text-align: right;
    margin-top: 18px;
}

#Titulo{
    vertical-align: 0%;
    font-weight:bold;
    font-size:large;
}
#ImagenLogoTxt{
    vertical-align: -15%;
    font-weight:bold;
    font-size:xx-large;
}
#Instrucciones {
    text-align: justify;
    font-size: small;
    padding: 0px 5px 0px 5px;
    border-top: 1px solid #000000;
    border-right: 1px solid #000000;
    border-bottom: 1px solid #000000;
    border-left: 1px solid #000000;
    border-radius: 8px;
}

table {
    text-align: right;
    margin: auto;
    border-collapse:collapse;
    font-size: small;
    font-family: Arial, Helvetica, sans-serif;
}
table td, th {
    text-align: right;
    border:1px solid #f0f0d2;
    padding:1px 2px 1px 2px;
}
table th {
    padding-top:5px;
    padding-bottom:4px;
    background-color:#c0c0a2;
    color:#000;
    font-weight:bold;
}
table tr:nth-child(even) {
    color:#000;
    background-color:#f5f5E1;
}
table tr:nth-child(odd) {
    color:#000;
    background-color:#f0f0d2;
}
table caption{
    color: #fff;
    background: #000;
    font-weight:bold;
    text-align: left;
}
table caption {
    caption-side: top;
    min-width: 4em;
}

.num_com {
    color:blue;
}

.scroll_tabla {
    alignment-baseline: central;
    border-radius: 8px;
    border: 2px solid #f0f0d2;
    overflow-x: scroll;
    overflow-y: hidden;
    white-space:nowrap;
}


.scroll_tabla_xy {
    alignment-baseline: central;
    border-radius: 8px;
    border: 2px solid #f0f0d2;
    overflow-x: scroll;
    overflow-y: scroll;
    white-space:nowrap;
    max-height: 250px;
}

.fila_cabecera{
    color:black; 
    font-size:20px; 
    font-family:arial; 
    font-weight:bold; 
    text-align:center;
}

.Ancla {
    text-decoration: none;
    font-size: large;
}

.circulo_azul{
    width: 100%;
    font-weight:bold;
    font-size:x-large;
    text-align: center;
    background: blue;
    border-radius: 0.8em;
    -moz-border-radius: 0.8em;
    -webkit-border-radius: 0.8em;
    color: #ffffff;
    display: inline-block;
    font-weight: bold;
    line-height: 1.6em;
    text-align: center;
    font-size: medium;
    float: right;
}

.circulo_bola {
    background: green;
    border-radius: 0.8em;
    -moz-border-radius: 0.8em;
    -webkit-border-radius: 0.8em;
    color: #ffffff;
    display: inline-block;
    font-weight: bold;
    line-height: 1.6em;
    margin-right: 3px;
    margin-left: 3px;
    text-align: center;
    width: 1.6em; 
    font-size: x-large;
    float: right;
}

.circulo_bola_amarilla {
    background: gold;
    border-radius: 0.8em;
    -moz-border-radius: 0.8em;
    -webkit-border-radius: 0.8em;
    color: #ffffff;
    display: inline-block;
    font-weight: bold;
    line-height: 1.6em;
    margin-right: 3px;
    margin-left: 3px;
    text-align: center;
    width: 1.6em; 
    font-size: x-large;
    float: right;
}

.cuadrado_rojo {
    background: white;
    border-top:  1px solid red;
    border-left: 1px solid red;
    border-bottom: 1px solid red;
    border-right:1px solid red;
    border-radius: 0.1em;
    -moz-border-radius: 0.1em;
    -webkit-border-radius: 0.1em;
    color: green;
    display: inline-block;
    font-weight: bold;
    line-height: 1.2em;
    margin-right: 0px;
    margin-left: 0px;
    text-align: center;
    width: 1.2em; 
    font-size: large;
    float: right;
}

.cuadrado_rojo_bloque {
    background: white;
    border-top:  1px solid red;
    border-left: 1px solid red;
    border-bottom: 3px solid red;
    border-right: 1px solid red;
    border-radius: 0.1em;
    -moz-border-radius: 0.1em;
    -webkit-border-radius: 0.1em;
    color: green;
    display: inline-block;
    font-weight: bold;
    line-height: 1.2em;
    margin-right: 0px;
    margin-left: 0px;
    text-align: center;
    width: 1.2em; 
    font-size: large;
    float: right;
}

.cuadrado_transparente {
    border-top:  1px solid transparent;
    border-left: 1px solid transparent;
    border-bottom: 1px solid transparent;
    border-right:1px solid transparent;
    border-radius: 0.1em;
    -moz-border-radius: 0.1em;
    -webkit-border-radius: 0.1em;
    color: green;
    display: inline-block;
    font-weight: bold;
    line-height: 1.2em;
    margin-right: 0px;
    margin-left: 0px;
    text-align: center;
    width: 1.2em; 
    font-size: large;
    float: right;
}

.cuadrado_transparente_indice {
    border-top:  1px transparent;
    border-left: 1px transparent;
    border-bottom: 3px transparent;
    border-right: 1px transparent;
    border-radius: 0.1em;
    -moz-border-radius: 0.1em;
    -webkit-border-radius: 0.1em;
    color: black;
    display: inline-block;
    font-weight: normal;
    line-height: 1.2em;
    margin-right: 3px;
    margin-left: 0px;
    text-align: center;
    width: 1.2em; 
    font-size: small;
    float: right;
}

.texto_pleno {
    background: transparent;
    padding: 3px 2px 0px 2px;
    border-top:  1px transparent;
    border-left: 1px transparent;
    border-bottom: 3px transparent;
    border-right: 1px transparent;
    border-radius: 0.4em;
    -moz-border-radius: 0.4em;
    -webkit-border-radius: 0.4em;
    color: black;
    display: inline-block;
    font-weight: normal;
    line-height: 1.2em;
    margin-top: 5px;
    margin-right: 3px;
    margin-left: 0px;
    text-align: center;
    font-size: small;
    float: right;
}

.CasillaCentrada{
    width: 100%;
    text-align: center;
}

.CasillaCentrada_50{
    width: 50;
    text-align: center;
}

.CasillaDerecha{
    width: 100%;
    text-align: right;
}

.CasillaNumeros{
    text-align: center;
    border-radius: 8px;
}

.CasillaGuia{
    text-align: center;
    border-radius: 4px;
    color:black;
    background-color: activecaption;
    font-weight: bold;
}

.error{ 
    color: red; 
    background: none repeat scroll 0 0 #f5f5E1; 
    border: 1px solid #f0f0d2; 
    font-weight: normal; 
    margin: 10px auto; 
    text-align: center;
    padding: 15px; 
    width: 270px; 
    font-size: small;
}

.advertencia{ 
    color: green; 
    background: none repeat scroll 0 0 #f5f5E1; 
    border: 1px solid #f0f0d2; 
    font-weight: normal; 
    margin: 10px auto; 
    text-align: center;
    padding: 15px; 
    width: 270px; 
    font-size: small;
}

.BloqueSolucion{
    border-radius: 8px;
    border: 2px solid #f0f0d2; 
}

.destacado{
    font-size: large;
    font-weight:bold;
    font-style: italic;
}
.formula{
    font-size: large;
    font-weight:bold;
}