/*
Theme Name: Círculo de Bellas Artes
Theme URI: https://landings.circulobellasartes.com
Version: 1.0
Description: Custom theme 2023.
Author: CBA
Author URI: https://www.circulobellasartes.com
template: bb-theme
*/

/* FONTS */

@font-face {
    font-family: 'Untitled';
    src: url('/wp-content/themes/cba2023/fonts/untitled-sans-light.woff2?21032024') format('woff2');
    font-weight: 300;
  }
  
@font-face {
    font-family: 'Untitled';
    src: url('/wp-content/themes/cba2023/fonts/untitled-sans-regular.woff2?21032024') format('woff2');
    font-weight: 400;
  }

@font-face {
  font-family: 'Untitled';
  src: url('/wp-content/themes/cba2023/fonts/untitled-sans-medium.woff2?21032024') format('woff2');
  font-weight: 500;
}

@font-face {
  font-family: 'Untitled';
  src: url('/wp-content/themes/cba2023/fonts/untitled-sans-bold.woff2?21032024') format('woff2');
  font-weight: 700;
}

@font-face {
  font-family: 'Untitled';
  src: url('/wp-content/themes/cba2023/fonts/untitled-sans-black.woff2?21032024') format('woff2');
  font-weight: 900;
}

/* GENERAL */


a.underline {
  text-decoration: underline;
}

a.subrayado,
.subrayado a {
  text-decoration: underline 2px;
  text-underline-offset: 10px;
 }


 a.btn {
  padding: 20px;
  border: solid 2px #000;
  margin-top: 20px;
  display: inline-block;
  margin-right: 20px;
 }

.mobile {
  display: none;
}

@media only screen and (max-width: 600px) {

.mobile {
    display: block;
    
  }

}

/* HEADER */

/* LOGO */

.cba-logo img {
  z-index: 99;
  position: relative;
}

/* HEADER RIGHT */

#cba-header-right {
	float: right;
}
.cba-header-right-1,
.cba-header-right-2 {
	display: inline-block;
	vertical-align: top;
}

.cba-header-right-1 li {
	list-style: none;
	font-size: 30px;
	line-height: 32px;
	font-weight: 400;
  margin-right: 20px;
}
@media only screen and (min-width: 1640px) {
  .cba-header-right-1 li {
    display: inline;
  }
}

.cba-header-right-1 li.lang-item {
  font-size: 20px;
  text-transform: uppercase;
}
.cba-header-right-1 li.lang-item a {
  color: #000;
  text-decoration: underline;
}

.cba-header-right-1 li.lang-item.current-lang a {
  color: #AFAFAF;
  text-decoration: none;
}


.cba-header-right-2 a,
.cba-header-mobile a {
  line-height: 0; 
  font-size: 0;
  color: transparent; 
	height: 36px;
	display: inline-block;
	vertical-align: top;
}

#cba-buscar {
	background-image: url('/wp-content/themes/cba2023/assets/img/icono_lupa.svg');
	background-repeat: no-repeat;
	background-size: contain;
	width: 36px;
	margin-top: 2px;
	margin-left: 80px;
}

.cba-ico-menu {
	background-image: url('/wp-content/themes/cba2023/assets/img/icono-menu.svg');
	background-repeat: no-repeat;
	background-size: contain;
	width: 50px;
	margin-top: 6px;
	margin-left: 20px;
}


/* MENU */

.cba-logo img.on-top ,
.cba-title h1.on-top {
  z-index: 99;
  position: relative;
}

body.no-scroll {
  margin: 0; 
  height: 100%; 
  overflow: hidden
}

.hidden {
  display: none;
}

#fullscreenDiv {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: 9;
  overflow-y: scroll;
}

#closeDivLink img,
.closeSearch img {
  position: fixed;
  right: 60px;
  top: 60px;
}

/* MENU MOBILE */

@media only screen and (max-width: 480px) {
  #closeDivLink img {
    left: 20px;
    top: 50px;
    width: 40px;
  }

  .closeSearch img {
    width: 40px !important;
    top: 40px;
    right: 40px;
  }

  .cba-menu-content {
    display: none;
  }

  .cba-menu-title h3 {
    border-bottom: 1px #ccc solid;
    cursor: pointer;
    background: url('/wp-content/themes/cba2023/assets/img/flechas/flecha-menu-der.svg') no-repeat right;
  }

  .cba-menu-title h3.abierto {
    background: url('/wp-content/themes/cba2023/assets/img/flechas/flecha-menu-izq.svg') no-repeat right;
  }

  #menu-header-bottom-es {
    flex-direction: column;
  }

  #menu-header-bottom-es .menu-item {
    width: 100%;
    border: none;
  }

  #menu-header-bottom-es .menu-item a {
    padding-left: 0;
    padding-bottom: 20px;
  }

  .cba-menu-iconos .fl-icon-group {
    text-align: left !important;
  }
}

/* SEARCH */

input.fl-search-text, 
input.fl-search-text::placeholder {
  font-size: 28px;
}

input.fl-search-text, 
input.fl-search-text:focus {
  font-size: 28px;
  padding: 20px;
  border-radius: 0;
  border: 0;
  border-bottom: 2px solid #000;
  background: transparent;
  background-image: url(/wp-content/themes/cba2023/assets/img/icono_lupa.svg);
  background-repeat: no-repeat;
  background-position: left;
  padding-left: 50px !important;
}

.resultados-grid .fl-post-grid-terms {
	margin: 30px 0;
	font-size: 20px;
	line-height: 32px;
	text-decoration: underline 2px;
  text-underline-offset: 10px;
}

.resultados-grid .fl-post-grid-more {
	display: block;
	padding: 20px;
	border: solid 2px #000;
	margin-top: 40px;
	text-align: center;
	font-size: 20px;
	line-height: 32px;
}

/* HOME */
.cba-estasemana .fl-post-carousel-navigation {
  top: -160px;
  left: auto;
  right: 75px;
}

.cba-estasemana .fl-post-carousel-navigation .carousel-prev {
  right: 0;
  left: auto;
}

.cba-estasemana .fl-post-carousel-navigation .carousel-next {
  right: auto;
  left: 0;
}

/* SLIDER */

.fl-slide-cta-link {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  line-height: 0 !important;
  font-size: 0 !important;
  color: transparent !important;
}

.fl-content-slider-navigation a {
  width: 110px;
  height: 110px;
  background-repeat: no-repeat;
}
.fl-content-slider-navigation a div {
  display: none;
}

.fl-content-slider-navigation a.slider-next {
  background-image: url('/wp-content/themes/cba2023/assets/img/flechas/flecha_blanca_derecha.svg');

}
.fl-content-slider-navigation a.slider-prev {
  background-image: url('/wp-content/themes/cba2023/assets/img/flechas/flecha_blanca_izquierda.svg');
}

.fl-module-content-slider .bx-wrapper {
  margin-bottom: 0 !important;
}

.fl-module-content-slider .bx-wrapper .bx-pager {
  bottom: 40px;
}

.fl-module-content-slider .bx-wrapper .bx-pager.bx-default-pager a {
  background: transparent;
  width: 16px;
  height: 16px;
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;
  border-radius: 8px;
  border: 2px solid #fff;
}

.fl-module-content-slider .bx-wrapper .bx-pager.bx-default-pager a.active, 
.fl-module-content-slider .bx-wrapper .bx-pager.bx-default-pager a:focus, 
.fl-module-content-slider .bx-wrapper .bx-pager.bx-default-pager a:hover {
  background: #fff;
}


.cba-slider-topleft {
  display: block;
  position: absolute;
  top: -20px;
  left: 100px;
  font-size: 20px !important;
  text-decoration: underline 2px !important;
  line-height: 1 !important;
  text-underline-offset: 10px;
}

@media only screen and (max-width: 480px) {

  .fl-content-slider-navigation a {
    width: 85px;
    height: 110px;
    display: none;
  }

  .fl-content-slider-navigation a.slider-prev {
  background-position-x: -30px;
  }

    .fl-slide-content {
  background-color: transparent !important;
  }
  
    .fl-content-slider .fl-slide-bg-photo {
  position:absolute;
  }
  
    .fl-slide-mobile-photo {
    display: none;
  }

  .cba-slider-topleft {
    top: 10px;
    left: 10px;
  }

}

/* CAROUSEL */

.cba-carousel-row {
  position: relative;
}

.cba-carousel-nav {
  position: absolute;
  right: 60px;
  top: 120px;
}
.cba-carousel-nav div {
  display: inline;
}

.cba-carousel-nav a  {
  display: inline-flex;
  width: 55px;
  height: 55px;
  background-repeat: no-repeat;
  line-height: 0; 
  font-size: 0;
  color: transparent; 
}

.cba-carousel-nav-prev a  {
  background-image: url('/wp-content/themes/cba2023/assets/img/flechas/flecha_izq.svg');
}

.cba-carousel-nav-next a  {
  background-image: url('/wp-content/themes/cba2023/assets/img/flechas/flecha_derecha.svg');
}

.bx-next.disabled {
  visibility: hidden;
}

.bx-wrapper .bx-loading { display:none; }

.carousel-item {
  position: relative;
}

.carousel-item-categoria {
  text-align: left;
  font-size: 26px;
  line-height: 28px;
  font-weight: 400;
  text-decoration: none;
  display: inline-block;
  margin-top: 10px;
}

a.carousel-item-categoria:hover {
  text-decoration: none;
}

.carousel-item-titulo {
  text-align: left;
  font-size: 36px;
  line-height: 46px;
  font-weight: 500;
  margin-top: 20px;
}

.carousel-item-fecha {
  text-align: left;
  font-size: 36px;
  line-height: 50px;
  font-weight: 400;
}

.carousel-item-boton {
  text-align: center;
  font-size: 20px;
  line-height: 28px;
  font-weight: 500;
  border: 2px solid #000000;
  width: 100%;
  padding: 20px;
  display: block;
  position: absolute;
  bottom: 0;
}


ul.cba-carousel {
	padding:0;
}

.fl-post-grid-post {
	border: none;
}

.fl-post-column .fl-post-grid-post {
	margin-bottom: 40px;
}

.fl-post-column .fl-post-grid-post .carousel-item-titulo {
	margin-top: 10px;
}

.carousel-item-fecha span::before {
	content:"—";
}

@media only screen and (max-width: 468px) {

  .carousel-item {
    min-height: auto;
  }

  .carousel-item-boton {
    position: static;
  }

  .bx-wrapper {
    margin-bottom: 0 !important;
  }

  .cba-carousel-nav {
    left: 10px;
    width: 100%;
  }
  .cba-carousel-nav-prev a {
    background-image: url('/wp-content/themes/cba2023/assets/img/flechas/fecha-izq-mobile.svg');
    float: left;
    display: block;
  }
  .cba-carousel-nav-next a {
    background-image: url('/wp-content/themes/cba2023/assets/img/flechas/flecha-der-mobile.svg');
    float: right;
    display: block;
  }

  .cba-h2-home h2 {
    text-align: center;
  }

}



/* MARQUEE */

.marquee {
  width: 100%;
  height: 40px;
  overflow: hidden;
}

.marquee li {
  font-size: 24px;
}

.marquee__content {
  display: flex;
  list-style: none;
  animation: scrolling 20s linear infinite;
}

.marquee__item {
  flex-shrink: 0;
}


@keyframes scrolling {
  0% { transform: translateX(0) }
  100% { transform: translateX(-100%) }
}


@media only screen and (max-width: 468px) {

.marquee__content {
  animation: scrolling 5s linear infinite;
}

}

/* SINGLE */

.box-info.clearfix {
  background: #ccc;
  padding: 20px;
  position: absolute;
  top: -50px;
  left: 0;
  width: 100%;
  text-align: center;
}

.cba_single_cat a {
	font-size: 20px;
	text-decoration: underline 2px;
  text-underline-offset: 10px;
}

.cba_single_cat {
	margin-right: 40px;
}

.cba_single_datestart,
.cba_single_dateend {
		font-size: 20px;
    display: inline-block;
    margin-top: 20px;
}

.cba_single_dateend::before {
	content:"—";
}
.cba_single_datestart {
	background: url(/wp-content/themes/cba2023/assets/img/icono_calendario.svg) no-repeat left;
	padding-left: 40px;
}
 
 .cba_single_espacio {
   display: inline-block;
   background: url(/wp-content/themes/cba2023/assets/img/icono_sala.svg) no-repeat left;
   padding-left: 40px;
   padding-top: 10px;
   margin-left: 80px;
   font-size: 20px;
 }
 
 .cba_single_espacio ul {
  list-style: none;
  padding:0;
 }

 .cba_single_espacio li {
  display: inline-block;
}
.cba_single_espacio li:nth-child(n+2)::before {
  content:", ";
}


@media only screen and (max-width: 468px) {
  .cba_single_cat {
    display: block;
  }
  .cba_single_espacio {
    margin-left: 0;
    display: block;
    margin-top: 10px;
  }
}

/* PIE BOLETIN */

form.suscrip-boletin {
	position: relative;
}
input.suscrip-email {
	padding: 20px;
	border-radius: 0;
}
input.suscrip-email,
input.suscrip-email::placeholder {
	font-size: 28px;
}
input.suscrip-enviar {
	position: absolute;
  margin-left: -60px;
  right: 10px;
  top: 15px;
}


/* Contenido relacionado */

/* Estilo general para el contenedor principal */
.contenidos_relacionados {
  margin: 20px 0;
}
.contenidos_relacionados h2 {
  font-size: 50px;
  margin-bottom: 15px;
  text-align: left;
}
.contenidos_relacionados h3 {
  font-size: 36px !important;
  line-height: 40px !important;
  color: #000; /* Color del título */
  text-align: left;
  font-weight: 500 !important;
}

/* Estilo para la lista */
.contenidos_relacionados ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 20px; /* Espaciado entre columnas */
  justify-content: center; /* Centrar los elementos */
}

/* Estilo para cada elemento de la lista */
.contenidos_relacionados ul li {
  flex: 1 1 calc(33.333% - 20px); /* 3 columnas con espacio entre ellas */
  box-sizing: border-box;
  text-align: left;
}

/* Estilo para los enlaces */
.contenidos_relacionados ul li a {
  display: block;
  text-decoration: none; /* Sin subrayado */
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Animación al pasar el cursor */
}



/* Estilo para las imágenes */
.contenidos_relacionados ul li img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 10px auto;
}
