
.contenedor.agenda {
	align-items: stretch;
	align-content: flex-start;
	justify-content: center;	
}
#plantillero { display: flex-item; align-self: flex-start; }

.contenedor.agenda>[class^="columna"]{
	align-self: stretch;
	justify-content: center;
	align-items: center;
	align-content: center;
	max-width: 500px;
}

.cargamapa {
	
	cursor: pointer;
	font-size: 1em;
	display: flex;
	flex-flow: column wrap;
	width: 16rem;
	justify-content: center;
	align-items: center;
	text-align: center;

	border-radius:20px;
	padding-bottom: 1rem;
	
	color: var(--linkB);
	background: rgba(var(--bk_bg_rgb),0.5);
}
.cargamapa:hover {
	color: var(--high);
	background: var(--bk_bg);
}

.cargamapa::before {
  content: "\01F5FA";
  font-size: 6rem;
  display: block;
}
.AGcinto {
flex: 100%;
display:flex;
padding:0.5vh 0;
margin:0; 
background: var(--bgBlockB);
justify-content:center;
align-items: center;
} 
/*#Intro {
	grid-template-columns: 5% calc(85% - 300px) auto 5%; 
}

#Intro > :is(.as,.bis) {
	grid-column: 2 / 3;
}*/

/*#Intro .bis {
	display: block;
} */
#Intro .bis { justify-content: center; }
#Intro > .bis > .sti {
		order: 1;	
}


#Intro .dat {
	/*float: right;*/
	order: 2;
	margin-left: 1vw;
	max-width: 280px;
	min-width: 240px;
	display: flex;
	flex-flow: row wrap;
	gap:10px;
}
#Intro .dat > time {
	display: flex;
	width: 100%;
	flex-flow: row wrap;
	gap:10px;
	justify-content: space-between;
}

#Intro .dat > table {
	flex: 100%;
	font-size: 0.6rem;
}


#Intro .dat > time > div {
	/*border-radius:20px;*/
	background: radial-gradient(#e5d7c6, #d8c4ab);
	font-size: .8rem;
	text-shadow: 0 0 5px #FFF;
	overflow: hidden;
	/*flex: calc(45% - 5px);*/
	font-family: var(--ffamH);
}
#Intro .dat > time > div > div {
	margin: 0;
	padding: 0;
	text-align: center;
	color: #745835;
}
#Intro .dat > time > div > div.a {
	background: #745835;
	color: #FFF;
}
#Intro .dat > time >div > div.b {
	font-size: 300%;
	/*font-weight: bold;*/

}
#Intro .dat > time > div > div > :is(a:link, a:visited) { display: block; 	line-height: 1em; padding: 0; margin: 0 1em; color:  #745835; }

#Intro .dat > time > div > div.c {
	/*font-size: 90%;*/
	padding: 0 1em 1em 1em;
}


.AGcinto fieldset { border:0; display: flex; gap:1em; align-items:center; }

.AGcinto label { color: var(--fontBlockB); font-weight: bold; display: none; }
.AGcinto select { font-size: calc(1em + 0.2vw); background:#FFF; color: var(--fontBlockB); padding: 0.3em;   }

.AGcinto a {
	float:left;
	margin:.6rem 1rem;
	font-size:1.6em;
}
.AGcinto a.activa { font-size:2em; font-weight:bold; }


/*fieldset#buscaAG { width:auto; float:right; border:0; padding:0; margin:-9px 0 10px 0; text-align:right; }
#AGcinto fieldset#buscaAG { margin-top:8px; margin-bottom:0;}
fieldset#buscaAG input { font-size:11px; color:#999999; width:200px; background:#EDEDED; margin:0; font-weight:bold; text-indent:10px; }
fieldset#buscaAG button { font-size:14px; color:#86930D; margin:0 5px; font-weight:bold; }*/




.ficha {
	background: var(--bgBlockB);
	padding: 2vh 1vw;
	

}
#contenidos .ficha p { font-size: 1em; display: flex; justify-content: flex-start; align-items:center; text-indent: 0; gap: 2em;   }
.ficha [data-icono]::before {
	display: inline-flex;
	font-size: 200%;
	color: rgba(200,200,200,0.6);	
	
}
#contenidos .ficha p > span { display: inline-flex; } 
#contenidos .ficha p span.pais a { margin-left: 0.5em; }















#agIntro {
width : 96%;
float : left;
margin: 0 2%;
overflow : hidden;
}
#agIntro .bk { display:none; /*width:25px; height:20px; float:right; margin:0; background: #ACBD0F url(../patrones/D2_head.png) top right no-repeat;*/ }
#agIntro .b { width:100%; margin:0; padding:0; color:#666666; /*background: #ACBD0F url(../patrones/D_head.png) top left no-repeat;*/ } 

/*#agIntro .pie {
height : 20px;
overflow : hidden;
background: #ACBD0F url(../patrones/AUXpie.png) top left no-repeat;
width:100%;
}
#agIntro .pieR {
width : 49%;
float : right;
height:20px;
margin : 0;
background: #ACBD0F url(../patrones/AUXpieR.png) top right no-repeat;
}*/
#agIntro .pie, #agIntro .pieR { display:none; }

#agIntro H4 {
font-size : 2.8em;
font-weight : bold;
overflow : hidden;
margin:0;
margin-left:2%;
}
/*#agIntro H4 a:link, #agIntro H4 a:visited {
color : #666666;
}
#agIntro H4 a:hover, #agIntro H4 a:active {
color : #000000;
}*/

#agIntro H5 {
font-size : 1.2em;
margin : 0 2% 0 2%;
font-style : oblique;
border-bottom : 0.1em dotted #666666;
padding-bottom : 0.4em;
}

#agIntro .ficha {
margin: 1em 5%;
text-indent : 0;
width:400px;
float:left;
font-style : normal;
color : #666666;
background-color:#CCCCCC;
text-align : center;
text-indent:0;
font-weight:bold;
font-size:11px;
line-height:10px;
}



#agIntro .ficha p {  background:none; padding:10px 0; margin:0; text-align:left; font-size:12px; clear:left;  }
#agIntro .ficha p span { background-image:url(../../patrones/agenda/patron_agenda.png); background-repeat:no-repeat; background-color:none; float:left; width:30px; height:30px; margin:-10px 10px 0 10px;  } 
/*#agIntro .ficha p.tfn, #agIntro .ficha p.fax { font-size:11px; }*/ 

#agIntro .ficha p.direccion, #agIntro .ficha .pais { margin:0; padding:10px; text-align:left; color:#FFFFFF; font-size:11px; font-weight:bold; background:#999999; }
#agIntro .ficha p.direccion { line-height:10px; } #agIntro .ficha .pais { margin-bottom:10px; }
#agIntro .ficha .pais span.flags { margin:-2px 10px 0 0; }

#agIntro .ficha p.direccion a:link, #agIntro .ficha p.direccion a:visited { color:#dee4d6; } 
#agIntro .ficha .pais a:link, #agIntro .ficha .pais a:visited { color:#dee4d6; } 
#agIntro .ficha p.direccion a:hover, #agIntro .ficha .pais a:hover { color:#FFCC00; }

#agIntro .ficha .foto { width:120px; float:right; margin:0 0 0 10px; }


#agIntro .ficha p.mail span { background-position:0 -80px; }
#agIntro .ficha p.web span { background-position:-30px -80px; }
#agIntro .ficha p.tfn span { background-position:-60px -80px; }
#agIntro .ficha p.fax span { background-position:-90px -80px; }
/*#agIntro .ficha p span a { display: block; float:left; margin:20px 0 0 0; }*/

#agIntro P a:link, #agIntro P a:visited { text-decoration:none; }
 #agIntro P a:hover { color:#FFCC00; border-bottom:1px solid #FFCC00; }

#agIntro .dat {
width : 91px;
margin : 10px 10px 0 0;
font-size : 1.4em;
text-align : right;
color : #FFFFFF;
font-weight : normal;
float:right;
padding : 0;
}
#agIntro .dat div {
font-size : 10px;
font-weight : bold;
width:90px; height:70px;
text-align:center;
background-image:url(../../patrones/agenda/patron_agenda.png);
background-repeat:no-repeat;
margin-bottom:10px;

}
/*#agIntro .dat div.futuro { float:left; background-position:0 0; }
#agIntro .dat div.presente { float:left; background-position:-200px 0;  }
#agIntro .dat div.pasado { float:left;  background-position:-100px 0;  }

#agIntro .dat div.actual, #agIntro .dat div.antiguo { float:right; margin:-25px -2px 0 0; width:100px; height:40px; }
#agIntro .dat div.antiguo {  background-position:-300px 0; }
#agIntro .dat div.actual { background-position:-400px 0; height:54px; }
 
#agIntro .dat div p { width:70px; float:left; margin:3px 0 0 10px; padding:0; text-align:center; text-indent:0; font-size:10px; color:#999999; line-height:10px; }

#agIntro .dat div.pasado p a { color:#654d2e; }
#agIntro .dat div.futuro p a { color:#68782e; }
#agIntro .dat div.presente p a { color:#d79818; }

#agIntro .dat div p a:hover { color:#FF9933; text-decoration:none; border-bottom:0; padding-bottom:0; }

#agIntro .dat div p.a { font-size:11px; color:#FFFFFF; }
#agIntro .dat div p.b { font-size:30px; margin-top:20px; margin-bottom:5px; background:none; }*/





#agIntro .pais {
width:50%;
float:left;
font-size : 1.2em;
margin : 10px;
color : #FFFFFF;
}

#AGfoto { float: right; margin:5px; margin-right:2%; }


#calendario {
width : 98%;
border : 0;
margin : 5px 1%;
background : var(--bkB_bg);
color: #999;
text-shadow: none;

}

#calendario td { 
border : 0.1em solid #cfd6ba;
background : #f5f5f5;
font-weight : bold;
width : 10%;
padding : 0.5em 0 0.5em 0;
text-align : center;
vertical-align : middle;
}
#calendario td.up { border:0; }

#calendario td.sun { background : #e1d3c4; }
#calendario td.hoy { background : #d2cec1; cursor : pointer; }
#calendario td.act, #calendario td.but {
background : #ACBD0F;
cursor : pointer;
color:#FFFFFF;
}

#calendario td.act:hover, #calendario td.but:hover, #calendario td.cur {
background : #FFCC00;
color:#000000;
cursor : pointer;
}


#calendario td.blank { background : #f1f1f1; }


#calendario table { width:auto; } 
#calendario table td.leg { padding: 3px 5px; width:auto; color:#ACBD0F; font-weight:bold; text-align:center; } 
#calendario table td.but { padding: 3px 2px; width: 10px; }
#calendario table td.leg select { font-size:9px; color:#ACBD0F; border:0; background:none; font-weight:bold; text-align:center; }

.abreCal { width:40px; height:30px; float:right; background:url(../../patrones/iconos/calendario.png) center no-repeat; cursor: pointer; margin: 0 0 0 10px; }

.abreCal:hover { background:url(../../patrones/iconos/calendarioOV.png) center no-repeat; }

#agendaPLT #calendario{ float:right; width:65%; margin-bottom:20px; }
#agendaPLT #calendario td { padding:10px 0; font-size:13px; font-weight:bold; }

#agendaPLT #Agmeses {
width:33%; float:left; text-align:center; font-size:16px; font-weight:normal; margin:0; margin-top:30px; line-height:26px;
}
#agendaPLT #Agmeses a { margin-right:6px; }
#agendaPLT #Agmeses a.activa { font-size:20px; font-weight:bold; }

#agendaPLT .LC { margin:0; width:49%; }

#agendaPLT #calP { width:49%; float:right; }
#agendaPLT #calP #calendario, #agendaPLT #calP #Agmeses { width:100%; }


#agendaPOPUP {
position : fixed;
top : 0;
left : 0;
right : 0;
bottom : 0;
overflow : hidden;
z-index : 99;
padding : 0;
background : url(../../patrones/manta.png) repeat left top;
}
#INagendaPOP, .cierraAG {
width : 520px;
margin : 0 auto;
padding : 5px 20px;
border : 1px solid #999999;
border-top : 0;
background : url(../../patrones/BKG.jpg) repeat left top;
}
#INagendaPOP {
height : 520px;
overflow : hidden;
padding-bottom : 20px;
}
#INagendaPOP br {
margin-bottom : 10px;
}
.cierraAG {
text-align : right;
border-top : 1px solid #999999;
border-bottom : 0;
font-size : 13px;
font-weight : bold;
margin-top : 20px;
}
.cierraAG a:link {
text-decoration : none;
}
/*.AGdat, .AGdat2 {
width : 96%;
font-size : 11px;
color:#996600;
background : none;
text-indent : 0;
text-align:left;
margin: 3px 2%;
font-weight:bold;
}*/


#agendaPLT .Bbox .Ddat div span { font-size:16px; }

#agendaPLT .Hbox h3, #agendaPLT .Hbox h4, #agendaPLT .Hbox h5 { float:left; text-align:left; text-indent:20px; margin:8px 0; }
#agendaPLT .Hbox h3 { font-size:18px; }
#agendaPLT .Hbox h4 { font-size:14px; }
#agendaPLT .Hbox h5 { font-size:12px; }
/*#agendaPLT .DQ .Bbox h4 { text-align:center; font-size:18px; }*/

#agendaPLT div.Agcinto { width:90%; float:left; margin:0 10px 20px; font-size:16px; font-weight:bold; color:#999999; }
#agendaPLT div.Agcinto b, #agendaPLT div.Agcinto i { font-size:20px; }
#agendaPLT div.Agcinto span { display:block; float:left; font-size:11px; font-style:oblique; width:100%; text-align:center; text-indent:0; border-top: 1px solid #CCCCCC; padding:5px 0 0 0; margin:5px 0 0 0; } 

#agendaPLT .tUper { width:100%; float:left; margin-top:-15px; }

#agendaPLT .IntroDAT { width:100%; margin:0; }
#agendaPLT .IntroDAT span { display:block; float:left; font-weight:bold; color:#999999; font-size:13px; margin:0; }
#agendaPLT .IntroDAT div {
	width:98%; margin:-5px 0 10px 0; float:right; text-align:left; font-size:12px; color:#999999;
}
#agendaPLT .IntroDAT div a { font-size:14px; margin:0 5px; }
#agendaPLT .IntroDAT div a.activa { font-size:18px; font-weight:bold; }










#agendaPLT fieldset#paiseSel { width:auto; float:right; margin:0; padding:0; border:0; margin-top:-30px; }
#agendaPLT fieldset#paiseSel select { color:#999999; font-size:12px; font-weight:bold; width:200px; }






#agendaPLT .Ddat {
width : 96%;
font-size : 11px;
color:#996600;
background : none;
text-indent : 0;
text-align:left;
margin: 3px 2%;
font-weight:bold;
float:left;
}

#agendaPLT .Ddat span {
font-size : 12px;
font-weight : bold;
}
#agendaPLT .Ddat span span {
font-size : 16px;
}



/*.AGdat2 {
text-align : right;
}
.AGdat span, .AGdat2 span {
font-size : 12px;
font-weight : bold;
}
.AGdat span span, .AGdat2 span span {
font-size : 16px;
}*/

.AGvacio {
width : 96%;
float : left;
margin : 0 2% 10px 2%;
padding : 0;
background:#EEE2D5;
border:1px solid #996600;
text-align : center;
font-size : 12px;
color:#996600;
font-weight:bold;
}
.AGvacio div { float: left; width:40px; height:40px; margin:0; padding:0; margin-right:20px; background-image:url(../../patrones/agenda/patron_agenda.png); background-repeat:no-repeat; margin:5px 10px 5px 5px; background-position:0 -120px; }

.AGvacio p { margin:12px 5px 0 0; text-align:center; text-indent:0; }

.agEstado0, .agEstado1, .agEstado2 { width:20px; height:20px; float:left; display:block;  background-image:url(../../patrones/agenda/patron_agenda.png); background-repeat:no-repeat; margin:0 10px 0 -10px; }

.agEstado0 { background-position:-120px -80px; }
.agEstado2 { background-position:-140px -80px; }
.agEstado1 { background-position:-160px -80px; }





@media screen and (min-width: 800px) {
	#Intro>.bis  {
		display: grid;
		grid-template-columns: repeat(4,auto);
		grid-template-rows: repeat(2,auto);
		justify-content: flex-start;
		align-items: center;
	}
	#Intro>.bis > p {
		grid-column: 1 / 4;
		grid-row: 1;	
	}
	#Intro>.bis > p + p {
		grid-row: 2;
	}
	#Intro .dat {
		justify-self:flex-end;
		grid-row: 1 / 3;
		grid-column: 4;
	}
}



