/**
 * tragapanymascasopas.com - Rediseño febrero 2022 - Luciano García - info@luciano.es
 * 
 * CSS para toda la web en general
 */
@charset "utf-8";
* { box-sizing: border-box;}

/***** Inicio centrado *****/
html {
	display: table;
	margin: 0 auto;
	height: 100%; 
	width: 98%;
	max-width: 900px; /* 1326 */
	min-width: 250px;
}
body { 
	display: table-cell;
	vertical-align: middle; 
	font-family: Verdana, 'Trebuchet MS', Tahoma, Arial;
	background-color: #FFFEED;
	color: #06090E;
	background: white; /* #F4F6FA; azul muy claro */
	border: 1px solid #426BB5;
    border-right-width: 2px;
    border-bottom-width: 2px;
    margin: 5px auto;
    padding: 0px;
    text-align: center;
	background: white; /* #F4F6FA; azul muy claro */
	/* Bordes redondeados */
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}
/***** Fin centrado *****/

/**********************************/
header {
	background: #C8D4E8; 
	color: #476EB2;
	min-height: 170px;
	/*border-bottom: 1px solid #C8D4E8;*/
	border-bottom: 1px solid #476EB2;
	/* Hay que redondear los bordes superiores para que no hagan efecto raro con #cont0 */
    -webkit-border-top-left-radius: 5px;
    -moz-border-top-left-radius: 5px;
    border-top-left-radius: 5px;
    
    -webkit-border-top-right-radius: 5px;
    -moz-border-top-right-radius: 5px;
    border-top-right-radius: 5px;
}
/* Mismo estilo para los botones de los botones del div modal con foto */
nav {
	background-color: #C8D4E8;
	color: #476EB2;
	font-size: 90%;
	font-weight: 600;
	padding: 0px 5px;
}
nav div#menu_h a,
a.boton_fotos {
	border: 2px solid #476EB2; 
	float: left; 
	padding: 5px 10px; 
	margin: 8px 10px; 
	background-color: #476EB2; 
	color: white;
	text-decoration: none;
}
nav div#menu_v { font-size: 130%; }
nav div#menu_v p {
	border: 2px solid #476EB2; 
	padding: 5px 10px;  
	margin: 8px; 
	background-color: #476EB2;
	text-align: left; 
}
nav div#menu_v p a {
	display: block; 
	color: white;
	text-decoration: none;
}
nav div#menu_v p a img {
	vertical-align: middle; 
	float: right;
}
nav div#menu_h a, nav div#menu_v p,
a.boton_fotos {
	-webkit-box-shadow: 4px 4px 5px 0px rgba(0,0,0,0.75);
	-moz-box-shadow: 4px 4px 5px 0px rgba(0,0,0,0.75);
	box-shadow: 4px 4px 5px 0px rgba(0,0,0,0.75);
}
nav div#menu_h a:hover,
a.boton_fotos:hover {
	color: #476EB2;
	background-color: white;
}

main {
	/* Antes #contenido */
	padding: 10px;
}
main h1, main h2, main h3 {
	color: #476EB2;
}
/* main.main_jornada {} Definido pero sin usar */
/* main.main_receta {} */
figcaption {
	font-size: 90%;
	text-align: left;
}
footer {
	/* Antes #pie */
	background: #C8D4E8; 
	color: #476EB2;
	text-align: right;
	font-size: 80%;
	/*margin-top: 10px;*/
	padding-right: 10px;
	border-top: 1px solid #426BB5;
	/* Hay que redondear los bordes inferiores para que no hagan efecto raro con #cont0 */
    -webkit-border-bottom-left-radius: 5px;
    -moz-border-bottom-left-radius: 5px;
    border-bottom-left-radius: 5px;
    
    -webkit-border-bottom-right-radius: 5px;
    -moz-border-bottom-right-radius: 5px;
    border-bottom-right-radius: 5px;
}
h1 { font-size: 160%; }
h2 { font-size: 145%; }
h3 { font-size: 130%; }
h1, h2, h3 { margin: 0px; }
/**********************************/
.salta {
    clear: both;
}
.redon5 {
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}
.primero, .segundo, .tercero { line-height: 1.4em; }
.primero {
	float: left; width: 59%; box-sizing: border-box;
	/*background-color: #B2A929;*/
	/*border: 1px solid #B2A929;*/
	margin: 10px 0px;
}
.segundo {
	float: right; width: 39%; box-sizing: border-box;
	/*background-color: #B2A929;*/
	border: 1px solid #B2A929;
	margin: 10px 0px;
}
.tercero {
	float: left; width: 100%; box-sizing: border-box;
	/*background-color: #B2A929;*/
	/*border: 1px solid #B2A929;*/
	margin: 10px 0px;
}
.tercero figure {
	width: 45%;
	float: left;
	margin: 15px;
}
.tercero figure img {
	width: 100%; height: auto;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}
.primero img, .segundo img {
	width: 100%; height: auto;
}
.primero embed, .segundo embed {
	width: 100%; height: auto;
}
.tit_col_1 {
    /*color: #FFF789;*/
	color: #06090E;
    font: 120% "Trebuchet MS";
    margin: 0px;
}
.con_col_1 {
    /*border: 1px solid #0099CC;*/
    text-align: left;
    padding: 5px 10px;
    margin: 0px;
	/*background-color: white;*/
	/* Hay que redondear los bordes inferiores para que no hagan efecto raro con #cont0 */
    -webkit-border-bottom-left-radius: 5px;
    -moz-border-bottom-left-radius: 5px;
    border-bottom-left-radius: 5px;
    
    -webkit-border-bottom-right-radius: 5px;
    -moz-border-bottom-right-radius: 5px;
    border-bottom-right-radius: 5px;
}
.ampliable, .boton_fotos { cursor: pointer; }
.enlace_boton { 
/*
text-decoration: none; color: white; border: 2px solid #476EB2; padding: 5px 10px; background-color: #476EB2;
text-decoration: none; color: white; border: 2px solid #476EB2; padding: 5px 10px; background-color: #476EB2;*/
	/* Hacemos que un enlace parezca un botón */
	display: block;
	margin: 5px;
	padding: 15px;
	border: 1px solid #C0C0C0;
	color: white;
	/*background-color: #E6E6E6; */
	background-color: #476EB2;
	text-decoration: none;
	/*font-size: 110%;*/
	/*letter-spacing: 0.1em;*/
	/*border: 1px solid #476EB2;*/
	border-right-width: 3px;
	border-bottom-width: 3px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}
/**********************************/
#menu_vertical {
    display: none;
	/*text-align: center;*/
}
#menu_v { display: none; }
/*
#enlaces_escr div {
	display: block;
	float: left;
	left: 0;
	background-color: #476EB2; 
}
#enlaces_escr a { 
	text-decoration: none; 
	color: #FFFEED; 
	padding: 10px 20px;
	border-right: 1px solid #FFFEED;
	display: block;
}
*/
#enlaces_movil div {
	/*display: none;*/
	width: 0px; height: 0px; overflow: hidden;
	float: left;
	left: 0;
	background-color: #476EB2; 
	border-bottom: 1px solid #FF9900;
}
#enlaces_movil a { 
	text-decoration: none; color: white; 
	padding: 10px 20px;
	border-right: 1px solid #FF9900;
	display: block;
}
.movil_submenu p {
	margin: 0px auto;
	width: 90%; height: auto;
	text-align: right;
	border: 1px solid #FF9900;
	border-top: 0px;
}
/*********************************************************************/
.tabla_datos {
    margin: 0px; 
    border: 1px solid #313131;
}
    /*
    En Explorer no funcionan las filas pares e impares:
    tr:nth-child(odd){ background: #000000; color: #FFFFFF; }
    tr:nth-child(even){ background: #FFFFFF; color: #000000; }
    */
    .tabla_datos th {
        font-size: 95%;
        background-color: #A3A3A3;
        padding: 3px 5px;
        border: 1px solid #EAEAEA;
    }
	/*
    .tabla_datos th a:link, a:visited, a:active, a:hover{
        color: #0000E9;
    }
	*/
    .tabla_datos td {
        font-size: 95%;
        border: 1px solid #A3A3A3;
        padding: 3px 5px;
        text-align: left;
    }
    
.tabla_datos_2 {
    margin: 0px; 
    border: 1px solid #313131;
}
    .tabla_datos_2 th {
        font-size: 80%;
        background-color: #EAEAEA;
        padding: 3px 5px;
        border: 1px solid #A3A3A3;
    }
	/*
    .tabla_datos_2 th a:link, a:visited, a:active, a:hover{
        color: #0000E9;
    }
	*/
    .tabla_datos_2 td {
        font-size: 80%;
        border: 1px solid #A3A3A3;
        padding: 3px 5px;
    }
/**********************************/
ul.ul_menu_jornada {
	/*list-style-image: url("https://www.tragapanymascasopas.com/favicon.ico");*/
	list-style-image: url("https://www.tragapanymascasopas.com/imagenes/tm_cerdito_azul_16x16.gif");
}

span.socio_DESACTIVADO_ {
	background-color: rgb(181, 202, 247);
	color: rgb(25, 28, 70);
	display: inline-block;
	padding: 0 5px;
	margin: 1px auto;
	cursor: default;
	white-space: nowrap;
	
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}
span.socio_DESACTIVADO_:hover { background-color: rgb(25, 28, 70); color: white; }

.galeria_mini { text-align: center; }
.galeria_mini figure { margin: 0; padding: 0; }
.galeria_mini figure img { width: 60px; height: 60px; margin: 0; background-color: #476EB2; }

.galeria_mini figure img.foto_socio { cursor: default; /*pointer*/ }
.galeria_mini figure img.foto_socio_DESACTIVADO_:hover { border: 3px solid #476EB2; }
/**********************************/
@media screen and (max-width: 99999px) {
	#logo { width: 150px; height: 150px; }
}
@media screen and (max-width: 767px) {
	/*768*/
	.primero { width: 100%; }
	.segundo { width: 100%; }
	.tercero figure { width: 95%; }
	#logo { width: 100px; height: 100px; }
	header { min-height: 100px; }
	h1 { font-size: 140%; color: red; }
	h2 { font-size: 130%; }
	h3 { font-size: 110%; }
	div.div_izq, div.div_der { width: 100%; background-color: pink;} /* Usados en mas.php */
}
@media screen and (max-width: 480px) {
	#logo  { width: 50px; height: 50px; }
	header h1 { display: none; }
	header h2 { font-size: 110%; }
	header h3 { display: none; }
	/*.segundo { display: none; }*/
	.tit_col_1, .con_col_1 { margin: 0px; }
	#menu_h { display: none; }
    #enlaces_movil {
		display: block;
        width: 100%;
        height: 100%;
        left: -100%;
        margin:0;
		/*position: fixed;*/
        position: absolute;
        /*display:none;*/
        /*float:none;*/
		margin-top: 40px;
		border-top: 1px solid #FF9900;
    }
	#enlaces_movil div {
		width: 100%; height: auto;
		text-align: left;
	}
    #menu_vertical {
        display: block;
        width: 100%;
        background: #ccc;
    }
	#menu_h { display: none; }
	#menu_v { display: block; }
	/* Quitar bordes, que se vea a toda pantalla */
	header, footer {
		/* Bordes redondeados */
		-webkit-border-radius: 0px;
		-moz-border-radius: 0px;
		border-radius: 0px;
	}
}
