
/* valores por defecto: */

* {
	margin: 0px;
	padding: 0px;
	font-family: Arial, Helvetica, sans-serif;
	border-spacing: 0px;
	border-collapse: collapse;
	box-sizing: border-box;
}

body {
	background-image: url(pngs/fondo_agenda2.jpg);
	width:100%;
	height:100%;
	min-width: 650px;
	background-attachment: fixed;
	background-color: #330d99;
	background-repeat: no-repeat;
}

h1 {
	color: rgb(100, 100, 100);
}

p {
	font-size: 13px;
	color: black;
	margin-bottom: 4px;
}
/* MAIN */

#maincenter {
	max-width: 1024px;
	min-width: 640px;
	margin-left: auto;
	margin-right: auto;
	position: relative;
	background-color: white;
}

/* BAR TOP */

#topbar {
	height: 36px;
	width: 100%;
	max-width: 1024px;
	/* min-width: 640px; */
	position: fixed;
	top: 0px;
	border-bottom: 1px solid gray;
	background-color: black;
}

#btns_top {
	position: absolute;
	left: 186px;
	top: 6px;
}

.btn_top {
	width: 100px;
	height: 25px;
	float: left;
	display: block;
	cursor: pointer;
	margin-left: 24px;
	background-size: 100%;
	background-repeat: no-repeat;
	border-bottom-right-radius: 12px;
}

.btn_top > #tri {
	margin-left: -8px;
	margin-top: 6px;
}

.btn_top:hover {
	background-color: rgba(255, 255, 0, 0.2);
}

.quienes_somos {
	background-image: url(pngs/quienes-somos2x.png);
}

.libro_visitas {
	background-image: url(pngs/libro-de-visitas2x.png);
}

.politica_editorial {
	background-image: url(pngs/politica-editorial2x.png);
}

#btns_topder {
	width: auto;
	margin-top: 7px;
	float: right;
}

.btn_topder {
	margin-right: 5px;
	width: auto;
	min-width: 32px;
	height: 34px;
	display: inline-block;
	cursor: pointer;
	background-size: 32px;
	background-repeat: no-repeat;
}

.btn_topder:hover {
	background-color: rgba(255, 255, 0, 0.8);
}

.btn_mail {
	background-image: url(pngs/mail2x.png);
}

.btn_clima {
	background-image: url(pngs/clima2x.png);
}
.btn_pdf {
	background-image: url(pngs/pdf2x.png);
}


/* BAR LEFT */

#leftbar {
	background-image: url(pngs/acbb-menu.png);
	background-repeat: no-repeat;
	background-size: 100%;
	position: absolute;
	padding-top: 38px;
	top: 0px;
	width: 186px;
	height: 445px;
	margin-top: 36px;

	/* overflow-y: scroll;
	overflow-x: hidden;
	overscroll-behavior-y: contain; */
	/* outline: 1px solid deeppink; */
}
#leftbarfill {
	background: linear-gradient(#D7DAEC, #D5D8EA,#D7DAEC);
	background-color: #D7DAEC;
	width: 170px;
	margin-left: 6px;
	display: block;
	position: relative;
	height: auto;
}

#leftbarend {
	background-image: url(pngs/acbb-menu-end.png);
	background-repeat: no-repeat;
	background-size: 100%;
	background-position: bottom;
	position: absolute;
	top: 445px;
	width: 186px;
	height: auto;
	padding-bottom: 47px;
}
/* 
#leftbarwrapper{

} */


#aclogo {
	background-image: url(pngs/acbb-logo-top.png);
	background-repeat: no-repeat;
	position: fixed;
	top: 0px;
	width: 186px;
	height: 90px;
	background-size: 100%;
	pointer-events: none;
	z-index: 9999;
}

.eventBlock{
	position: fixed;
	top: 0px;
	width: 160px;
	height: 76px;
	/* background-color: #F447; */
	z-index: 11111;
	border-bottom-right-radius: 36px;
}

#mainmenu {
	width: 134px;
	height: auto;
	margin-left: 30px;
	margin-top: 0;
	margin-bottom: 10px;
	display:block;
}

.btn_menu {
	width: 134px;
	height: 20px;
	cursor: pointer;
	border-bottom-right-radius: 20px 10px;
	display:block;
	/* outline: 1px solid #14ffa1; */
}

.btn_menu:hover {
	background-color: rgba(255, 255, 0, 0.2);
}

#tri {
	width: 10px;
	height: 12px;
	margin-top: 3px;
	margin-left: 2px;
	background-image: url(pngs/tri2x.png);
	background-repeat: no-repeat;
	background-size: 10px;
	display: inline-block;
}

.btn-pdf {
	width: 136px;
	height: 30px;
	margin-left: 28px;
	cursor: pointer;
	border-radius: 8px;
	display:block;
	background-image: url(pngs/pdfbutton.png);
	background-repeat: no-repeat;
	background-size: 136px;
	margin-bottom: 10px;
}

.btn-pdf:hover {
	background-color: rgba(255, 255, 0, 0.2);
}

#banners {
	display:block;
	/* background-color: rgba(255, 20, 145, 0.255); */
	width: 160px;
	margin-left: 7px;
	/* margin-top: 20px; */
}

.banner {
	border-top-left-radius: 3px;
	border-top-right-radius: 3px;
	border-bottom-left-radius: 3px;
	border-bottom-right-radius: 34px;
	display: inline-block;
	width: 162px;
	height: auto;
	margin-bottom: 8px;
	cursor: pointer;
	border: 1px solid rgba(0, 0, 0, 0);
}
.slide {
	border-top-left-radius: 8px;
	border-top-right-radius: 8px;
	display: block;
	height: auto;
	overflow: hidden;
	bottom: -4px;
	height: 0;
	width: 400px;
	transition: 0.4s;
	border: 2px solid transparent;
	position: fixed;
	left : calc(50% - 200px);
	background-color: white;
	z-index: 9999;
}
/* .slidecompu {
	position: absolute;
	left: 163px;
} 

.slidephone {
	position: fixed;
	left: 200;
	z-index:10000;
} */

.slide > img {
	border-radius: 6px;
	width: 400px;
}
.slideopen {
	height:284px;
	border: 2px solid rgba(33, 57, 143, 0.57);
}

.banner > img {
	width: 160px;
}

.banner:hover {
	border: 1px solid rgba(255, 255, 0, 1);
}



/* MESSAGE */

.messagepop {
top:36px;
right:0;
display:none;
position:absolute;
padding: 10 6 7 6;
border-radius: 6px;
background-color: #66666671;
color: #2a2a2a;
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;


z-index:11111;
text-align: center;

}




/* FOOTER */

#footer {
	font-size: 11px;
	padding-left: 196px;
	padding-right: 10px;
	padding-top: 10px;
	padding-bottom: 10px;
	text-align: center;
	color: #888888;
	background-color: #f6f6ff;
	position: relative;
	display: block;
	width: auto;
}

#footer a {
	text-decoration: underline;
	color: #8888ff;
}

/*---- CONTENIDO DINAMICO -----*/

#dyn-page {
	display: block;
	width: 100%;
	height: auto;
	min-width: 640px;
	min-height: calc(100vh - 59px);
	background-color: white;
	position: relative;
	padding-left: 206px;
	padding-right: 30px;
	padding-top: 46px;
	padding-bottom: 20px;
}

#dyn-page::after {
	content: '';
	clear: both;
	display: table;
}

/* -----------------------------------------------*/
/* --- E L E M E N T O S   D E   P A G I N A S ---*/
/* -----------------------------------------------*/

.fraseinicio {
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    color: #888;
    opacity: 0;
    letter-spacing: .12em;
    margin: 2em auto .5em;
}

.fraseinicio.autogone {
	animation: myanim 8s;
	animation-iteration-count: 1;
}


@keyframes myanim {
	10% {
		opacity: 1;
	}
	80% {
		opacity: 1;
	 }
	100% {
		opacity: 0;
	}
}

.centered {
	text-align: center;
}

.frase {
	color: #666666;
	text-align: center;
	display: inline-block;
	width: auto;
	margin-top: 48px;
	margin-bottom: 24px;
	margin-left: 36px;
	margin-right: 36px;
	font-size: 16px;
	letter-spacing: 2px;
	font-style: italic;
	font-weight: bolder;
}

.frase .autor {
	display: block;
	width: 92%;
	margin-left: auto;
	margin-right: auto;
	border-bottom: 1px solid #999999;
	text-align: right;
	letter-spacing: 0px;
	font-style: normal;
	font-weight: normal;
	cursor: pointer;
}

.frase .acl {
	display: block;
	width: 92%;
	margin-left: auto;
	margin-right: auto;
	letter-spacing: 0px;
	font-size: 14px;
	text-align: right;
	font-style: normal;
	font-weight: normal;
}

/*------ B O T O N E S   A R T E / I N S T I T ------*/

.btngrp {
	min-width: 360px;
	max-width: 540px;
	margin: auto;
	padding-top: 12%;
	padding-bottom: 60px;
	text-align: center;
}

.btnlnk {
	width: 150px;
	height: 78px;
	display: inline-block;
	margin: auto;
	padding: 10px;
}

.btnlnk:hover {
	filter: drop-shadow(0px 0px 5px rgba(32, 0, 96, 0.5)) contrast(120%);
}

/*------- P O R T A D A  +++  C I N E S -------*/
article,
.nota {
	text-align: left;
	color: black;
	font-size: 13px;
	padding-bottom: 16px;
}

article:not(:last-of-type),
.nota:not(:last-of-type) {
	border-bottom: 1px solid #666;
}

article.fold h2,
article.fold h3 {
	cursor: pointer;
}

article.folded {
	padding-bottom: 0;
	margin-bottom: 0;
}
article.folded h2,
article.folded h3 {
	display: inline-block;
	margin: 0;
}
article.folded > section {
	display: none;
}

article h2,
.nota h2 {
	color: #666666;
	font-size: 20px;
	font-weight: bolder;
	margin-top: 10px;
	margin-bottom: 12px;
}
article h3,
.nota h3 {
	color: #666666;
	font-size: 18px;
	font-weight: normal;
	margin-bottom: 12px;
	margin-top: -12px;
}
article::after,
.nota::after {
	content: '';
	clear: both;
	display: table;
}

.afiche {
	display: inline-block;
	background-color: #e0e0e0;
	padding: 12px;
	width: 45%;
	max-width: 500px;
}

.vert {
	width: 32%;
}

.chico {
	width: 20%;
}

.afiche img {
	width: 100%;
	height: auto;
}

.der {
	float: right;
	margin-right: 0;
	margin-left: 12px;
}

.izq {
	float: left;
	margin-right: 12px;
	margin-left: 0;
}

/*------- S E M A N A  +++  F I N   D E -------*/

.calendario {
	text-align: left;
	color: black;
	font-size: 13px;
	padding-bottom: 16px;
}

.calendario h2 {
	color: #666666;
	font-size: 20px;
	font-weight: bolder;
	margin-top: 10px;
	margin-bottom: 16px;
}

.fecha {
	text-align: center;
	color: #ffffff;
	background-color: black;
	border-bottom-right-radius: 12px;
	display: inline-block;
	width: 36px;
}

.calendario h3 {
	color: #666666;
	font-size: 18px;
	font-weight: normal;
	margin-bottom: 12px;
	margin-top: -12px;
}

.calendario::after {
	content: '';
	clear: both;
	display: table;
}

/*------- I N I C I O -------*/


.ejemplar {
	position: sticky;
	top: 36px;
	margin: -10px auto;
	text-align: center;
	font-size: 12px;
	color: rgb(36, 36, 36);
	background-color: rgba(255, 255, 255, 0.867);
	border-bottom: 1px solid #ccc;
	padding:4 4 2;
	/* width:fit-content; */
}

.iniciodiv {
	width: 100%;
	margin: auto;
	text-align: center;
}

.inicioitem {
	min-width: 250px;
	width: 45%;
	/* padding: 6px; */
	/* display: inline-table; */
	display:inline-table;
	margin-top: 20px;
	margin-left: 6px;
	margin-right: 6px;
	text-align: center;
	cursor: pointer;
}

@media (width <= 850px) {
	.inicioitem{
		width: 90%;
	}
  }

.inicioitem h2 {	
	width: 100%;
	color: #666666;
	font-size: 18px;
	font-weight: bolder;
}

.inicioitem h3 {	
	width: 100%;
	color: #888888;
	font-size: 13px;
	font-weight: bold;
}

.inicioitem img {
	width: 90%;
	min-width: 300px;
	height: 180px;
	object-fit: cover;
}

/*-------- T O D O S   L O S   D I A S --------*/

.lugares {
	margin-top: 24px;
	margin-bottom: 24px;
}

.lugares p {
	font-size: 13px;
}

.documentales {
	font-size: 13px;
}

.documentales h2 {
	font-size: 18px;
	font-weight: bolder;
	color: #666666;
	margin-bottom: 12px;
}

.indent {
	padding-left: 6px;
	border-left: 1px dotted black;
}

.documentales a {
	color: black;
	font-style: italic;
}

.diasbanners {
	float: right;
}

.diasbanners div {
	margin-top: 30px;
	position: relative;
	cursor: pointer;
}

/*-------- A R T I S T A S --------*/

#artistasbb {
	margin: auto;
	padding-top: 5%;
	padding-bottom: 60px;
	text-align: center;
	width: 100%;
	
}

.artista {
	text-align: center;
	position: relative;
	display: inline-block;
	width: 160px;
	height: 220px;
	margin: 5px;
	cursor: pointer;
	color: black;
	border: 1px solid #aaaaaa;
	background-color: white;
	font-size: 14px;
	overflow: hidden;
	border-bottom-right-radius: 40px;
}

.artista:hover {
	filter: drop-shadow(0px 0px 5px rgba(32, 0, 96, 0.5)) contrast(120%);
}

.artista img {
	height: 160px;
	width: 160px;
	display: block;
}

.artistatxt {
	position: absolute;
	top: 160px;
	left: 0;
	width: 160px;
	height: 60px;
	display: table;
	text-align: center;
}

.cellcenter {
	font-size: 12px;
	padding-left: 4px;
	padding-right: 4px;
	text-align: center;
	display: table-cell;
	vertical-align: middle;
}
.cellcenter p {
	font-size: 14px;
}

/*-------- L I B R O S --------*/

#librosbb {
	margin: auto;
	padding-top: 5%;
	padding-bottom: 60px;
	text-align: center;
	width: 100%;
}

.libro {
	text-align: center;
	position: relative;
	display: inline-block;
	width: 320px;
	height: 100px;
	cursor: pointer;
	color: black;
	border: 1px solid #aaaaaa;
	background-color: white;
	margin: 5px;
}

.libro:hover {
	filter: drop-shadow(0px 0px 5px rgba(32, 0, 96, 0.5)) contrast(120%);
}
.librotapa {
	position: absolute;
	left: 0;
	top: 0;
	display: inline-block;
	text-align: center;
	height: 100px;
	width: 90px;
	overflow: hidden;
	background-color: #999999;
}
.librotapa img {
	height: 100px;
	margin: auto;
}

.librotxt {
	position: absolute;
	left: 94px;
	top: 0px;
	padding: 2px;
	width: auto;
	height: 90px;
	display: table;
	font-size: 12px;
}
.librotxt br {
	display: block;
	margin: 3px 0;
	content: ' ';
}
.librocenter {
	padding-left: 4px;
	padding-right: 4px;
	text-align: left;
	display: table-cell;
	vertical-align: middle;
}

.librotxt p {
	font-size: 14px;
	font-weight: bold;
	margin-bottom: 4px;
}
.editorial {
	position: absolute;
	bottom: 1px;
	right: 3px;
	font-size: 11px;
	text-align: right;
}
.invisible {
	display: none;
}


#articulos-index a
{
	text-decoration: none;
	border-bottom: 1px solid #666;
	display: block;
}


/* .artheaders {
	cursor: pointer;
	border-bottom: 1px solid #666;
} */
#articulos-index a > h2 {
	display: inline-block;
	color: #666;
	font-size: 18px;
	padding-right: 4px;
	border-right: 1px dashed #888;
}

#articulos-index a > h3 {
	color: #888;
	padding-left: 4px;
	display: inline-block;
	font-size: 16px;
}

#articulos-index a:hover {
	background-color: rgba(255, 255, 0, 0.2);
}

/* .artheaders.showing {
	background-image: linear-gradient(90deg, #88d4 0%, #ddd0);
} */

.articsContainer{
	margin-top: 20px;
	display:flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.articsContainer article.open{
	border-top: 1px solid #666;
	border-bottom: 1px solid #666;
	order: -1;
	position:relative;
}
.articsContainer article.open::after{
	content:'X';
	position:absolute;
	top:10;
	right:0;
	width:14px;
	height:14px;
	text-align: center;
	background-color:  #88d3 ;
	border-radius: 4px;
	border: solid 1px #88d ;
	opacity: .4;
	pointer-events: none;
}

.articsContainer article:not(.open) {
	padding: 8px;
	overflow: hidden;
	height: 132px;
	width: 30%;
	display: inline-block;
	border: 1px solid #666;
	font-size: 10px;
	border-bottom-right-radius: 44px;
}

.articsContainer article:not(.open) *:not(h2) {
	pointer-events: none;
}

.articsContainer article:not(.open) .afiche{
	padding: 2px;
	width:50px;
}
.articsContainer article:not(.open) h2{
	margin-top: 0;
	font-size: 18px;
}
.articsContainer article:not(.open) h3{
	
	font-size: 14px;
}

.articsContainer h2{
	cursor:pointer
}

.articsContainer h2:hover{
	background-image: linear-gradient(90deg, #88d3 0%, #ddd0);
	text-decoration: underline;
}
.politica_art, 
.quienes_art{
	padding-top: 2em;

}
.politica_art ul {
	width:80%;
	list-style-type: disc;
}
.politica_art li {
		font-weight: normal;
		padding-bottom: 0.7em;
		line-height: 1.2em;
	  }

.quienes_art h4{
		color: #000;
		font-weight: normal;
		margin-bottom: 0.5em;
		font-style: italic;
		text-decoration: underline;  
}

.quienes_art .afiche {
		
		background-color: #e0e0e000;
		padding: 12 0 12 12;
}

.bahia_section {
	padding-top: 1em;
	padding-bottom: 3em;
	/* display:flex;
	justify-content: stretch;
	align-items: start; */
	border-bottom: 1px solid #666;
	/* gap: 24px; */
}
.bahia_section .texto {
	min-width: 40%;
	text-align: justify;
}

.bahia_section .bfotos{
		float:right;
		padding-left: 12px;
		width:36%;
		max-width: 400px;
		min-width:150px;
	}

.bahia_section .bfotos img{
	width: 100%;
	height: auto;
}
.bahia_section .bfotos p{
	font-size:0.8em;
	color: #444;
	text-align: center;
	padding-top:4px;
	padding-bottom: 16px;
}

.bahia_section .bfotos p:last-child{
	padding-bottom: 8px;
}

.horizontalCel {
	z-index: 9999;
	position:fixed;
	left:0;
	top:0;
	background-image: url('pngs/acbb-horizontal.png');
	background-repeat: no-repeat;
	background-position: center bottom;
	background-size: 100%;
	width:100vw;
	height:100vh;
	background-color: #6230996e;
	pointer-events: none;
	touch-action: none;
	backdrop-filter: blur(2px) contrast(50%);
}

#leftWrapper {
 position: fixed;
 top: 0px;
 width: 186px;
 height: 100%;
 max-height: 100dvh;
 overflow-y: scroll;
 overflow-x: hidden;
 -ms-overflow-style: none;
 scrollbar-width: none;
}

#leftWrapper::-webkit-scrollbar {
	display: none;
}
