/*------------------------------------------------------------------------
# Pivot Drupal
# ------------------------------------------------------------------------
# Created by Symphony Themes
# Websites:  http://www.symphonythemes.com -  Email: info@symphonythemes.com
--------------------------------------------------------------------------
    1.   Custom CSS
    2.   Forms
    3.   Blog & Article
    4.   Others
--------------------------------------------------------------------------------*/

/* 01. Custom CS

 --------------------------------------------------------------------------------*/
body { position: unset; }
@media screen and (min-width: 768px) {
  body { margin-top: 0; }
}
html {
	scroll-behavior: smooth;
}
a { 
  text-decoration: none;
}
.text-white a {
  color: #fff !important;
}
.top-banner {
  width: 100%;
  display: block;
  line-height: 0; /* Elimina espacio adicional debajo de la imagen */
}

.top-banner img {
  width: 100%;
  height: auto;
  display: block;
}
.btn-white:hover a,
.btn-white a:hover {
  color: #333333 !important;
}
img { height: auto; }
.store-link img { width: auto; }

.menu li span.dropdown__trigger {
  font-weight: bold;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  -webkit-transition: all .5s ease;
  -moz-transition: all .5s ease;
  transition: all .5s ease;
  padding-bottom: 40px;
  display: inline-block;
  line-height: 18px;
}
.menu li span.dropdown__trigger:hover {
  color: #ece50099;
}
.menu li span.dropdown__trigger:after {
    font-family: ElegantIcons;
    font-style: normal;
    font-weight: 300;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    content: "\33";
    color: #fff;
}
.overlay-bar li.has-dropdown span.dropdown__trigger:after {
  color: #fff;
}
.overlay-bar.nav-sticky li.has-dropdown span.dropdown__trigger:after {
  color: #fff;
}
ul.menu .dropdown-backdrop {
  display: none;
}
li.has-dropdown:after {
  display: none;
}
.overlay-bar .menu li span.dropdown__trigger {
  color: #fff;
}
.overlay-bar .menu li span.dropdown__trigger:hover {
  color: #fff;
}
.top-bar.nav-sticky .menu li span.dropdown__trigger {
  padding-bottom: 32px;
}
.overlay-bar.nav-sticky .menu li span.dropdown__trigger {
  color: #fff;
}
.offscreen-container .menu li span.dropdown__trigger {
  padding-bottom: 0px !important;
  color: #fff !important;
}
.offscreen-container .menu li span.dropdown__trigger:hover {
  color: #fff !important;
}
@media only screen and (min-width: 320px) and (max-width: 767px) {
  .top-bar .menu li span.dropdown__trigger {
    color: #fff;
    padding-bottom: 0px;
  }
  .overlay-bar .menu li span.dropdown__trigger:hover {
    color: #ece50099;
  }
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) {
  .overlay-bar .menu li span.dropdown__trigger {
    color: #fff;
    padding-bottom: 0px;
  }
  .overlay-bar .menu li span.dropdown__trigger:hover {
    color: #ece50099;
  }
}
.simple-bar .menu li span.dropdown__trigger {
  padding-bottom: 54px;
}
@media all and (max-width: 767px) {
  .simple-bar .menu li span.dropdown__trigger {
    padding-bottom: 0px;
  }
}
.centered-logo .menu li span.dropdown__trigger {
  padding-bottom: 24px;
}
@media all and (max-width: 767px) {
  .centered-logo .menu li span.dropdown__trigger {
    padding-bottom: 0px;
  }
}
.fullscreen-nav-container .menu li span.dropdown__trigger {
  color: #fff;
  font-size: 32px;
  font-weight: 300;
  font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  text-transform: none;
  padding-bottom: 0px;
}
@media all and (max-width: 767px) {
  .fullscreen-nav-container .menu li span.dropdown__trigger {
    font-size: 24px;
    padding-bottom: 0px;
  }
}

@media all and (min-width: 768px) {
  #block-pivot-main-menu {
    float: left;
  }
  #block-blocksocialicons {
    float: right;
  }
}
@media only screen and (max-width: 767px) and (min-width: 320px) {
  .overlay-bar .menu li span.dropdown__trigger:after {
    color: #fff;
  }
}

/* Section */
@media (min-width: 998px) {
  section,
  .side-image .content {
    padding-top: 100px;
    padding-bottom: 100px;
  }
}
section.coming-soon .container,
section.section-video-background .container,
section.section-image-background .container { 
  position: relative; 
}

/*--------------------------------------------------------------------------------*/

/* 02. Forms

/*--------------------------------------------------------------------------------*/
button#edit-preview {
  display: none;
}

/* Contact form */
#contact-message-feedback-form {
  border: 0;
  border-radius: 25px;
  margin: 24px; 

}
#contact-message-feedback-form .form-item,
#contact-message-feedback-form .form-wrapper,
#contact-message-feedback-form .js-form-item,
#contact-message-feedback-form .js-form-wrapper {
  margin: 0 !important	;
}
  #contact-message-feedback-form .form-item,
  #contact-message-feedback-form .js-form-item {
    padding: 16px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.2);
  }

#contact-message-feedback-form .form-item input,
#contact-message-feedback-form .form-item textarea,
#contact-message-feedback-form .js-form-item input,
#contact-message-feedback-form .js-form-item textarea  {
  background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
  font-family: "Open Sans","Helvetica Neue",Helvetica,Arial,sans-serif;
  border: medium none;
  box-shadow: none;
  width: 100%;
} 

#contact-message-feedback-form button#edit-submit,
#contact-message-feedback-form input.form-submit {
  margin: 20px;
}
.block-contact-wide {
  margin-bottom: 200px;
}
.block-contact-wide #contact-message-feedback-form { 
  border: none;
}
.block-contact-wide #contact-message-feedback-form .form-item,
.block-contact-wide #contact-message-feedback-form .js-form-item {
  border: none;
}
.block-contact-wide #contact-message-feedback-form .form-item input,
.block-contact-wide #contact-message-feedback-form .form-item textarea,
.block-contact-wide #contact-message-feedback-form .js-form-item input,
.block-contact-wide #contact-message-feedback-form .js-form-item textarea  {
  background: rgba(255, 255, 255, 0.85);
  margin-bottom: 0;
}

.block-contact-wide #contact-message-feedback-form button#edit-submit,
.block-contact-wide #contact-message-feedback-form input.form-submit {
  color: #fff !important;
  font-family: "Raleway", "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: bold;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  background-color: #000;
  border-color: #000;
  border-radius: 20px;
  padding:14px 24px;
}
button#edit-submit,
input.form-submit {
  background: #111111;
  color: white;
  border-radius: 10px;
  margin: 5px;
}
.contact-photo h1 { 
  margin-bottom: 100px;
}
/* contact page view*/

.ContactCard {
 border-radius: 10px;
 width: 100%;
 text-align: left;
 justify-content: center;
 display: flex;
}
.Infocontact {
margin: auto;
width: 100%;
max-width: 450px;
}

/* Estilos generales para la sección de contacto */
.contact-info-section {
  position: relative;
  width: auto;
  max-width: 450px;
  height: auto;
  max-height: 550px;
  background-image: url('../img/bkg_contact.jpg') ;
  background-size:cover;
  background-color: #000;
  color: #C9C9C9;
  padding: 20px;
  font-family: Arial, sans-serif;
  border-radius: 10px;
}

/* Contenido principal */
.contact-info-content {
  position: relative;
  z-index: 2; /* Por encima del fondo */
  height: 100%;
  display: flex;
  flex-direction: column;
  margin: 10px;
}

/* Título y subtítulo */
.contact-title {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #FFFFFF ;
}

.contact-subtitle {
  font-size: 16px;
  margin-bottom: 60px; /* Espacio antes de la información de contacto */
  opacity: 0.8;
  color: #FFFFFF ;
}

/* Detalles de contacto */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 60px;
  
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  
}

/* Iconos de contacto usando SVG */
.contact-phone,
.contact-email,
.contact-address {
  width: 20px;
  height: 20px;
  position: relative;
  flex-shrink: 0;
}

.contact-phone::before,
.contact-email::before,
.contact-address::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.contact-phone::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 512 512'%3E%3Cpath d='M164.9 24.6c-7.7-18.6-28-28.5-47.4-23.2l-88 24C12.1 30.2 0 46 0 64C0 311.4 200.6 512 448 512c18 0 33.8-12.1 38.6-29.5l24-88c5.3-19.4-4.6-39.7-23.2-47.4l-96-40c-16.3-6.8-35.2-2.1-46.3 11.6L304.7 368C234.3 334.7 177.3 277.7 144 207.3L193.3 167c13.7-11.2 18.4-30 11.6-46.3l-40-96z'/%3E%3C/svg%3E");
}

.contact-email::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 512 512'%3E%3Cpath d='M48 64C21.5 64 0 85.5 0 112c0 15.1 7.1 29.3 19.2 38.4L236.8 313.6c11.4 8.5 27 8.5 38.4 0L492.8 150.4c12.1-9.1 19.2-23.3 19.2-38.4c0-26.5-21.5-48-48-48H48zM0 176V384c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V176L294.4 339.2c-22.8 17.1-54 17.1-76.8 0L0 176z'/%3E%3C/svg%3E");
}

.contact-address::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 384 512'%3E%3Cpath d='M215.7 499.2C267 435 384 279.4 384 192C384 86 298 0 192 0S0 86 0 192c0 87.4 117 243 168.3 307.2c12.3 15.3 35.1 15.3 47.4 0zM192 128a64 64 0 1 1 0 128 64 64 0 1 1 0-128z'/%3E%3C/svg%3E");
}

.contact-text {
  font-size: 16px;
  line-height: 1.4;
  color: #FFFFFF;
}

/* Iconos sociales */
.social-icons {
  display: flex;
  gap: 15px;
  margin-top: auto; 
  margin-bottom: 20px;
}

.social-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Estilos responsivos */
@media (max-width: 768px) {
  .contact-info-section {
    padding: 30px 20px;
  }
  
  .contact-subtitle {
    margin-bottom: 40px;
  }
  
  .contact-details {
    margin-bottom: 40px;
  }
}

/* Simplenews */
.block-simplenews #edit-manage,
.block-simplenews .description.text-muted  { 
  display: none; 
}
.block-simplenews form { 
  display: flex; 
  gap: 20px;
}
.block-simplenews .field--name-mail {
  margin-bottom: 0 !important;
}
.photo-form-wrapper.no-margin {
  margin: 0;
}
.photo-form-wrapper button[type="submit"],
.photo-form-wrapper input.form-submit {
  color: #fff !important;
  font-family: "Raleway","Open Sans","Helvetica Neue",Helvetica,Arial,sans-serif;
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 1px;
  text-transform: uppercase;
  height: 54px;
  background-color: black;
  border-color: black;
}
.photo-form-wrapper.no-margin input {
  margin: 0;
}
.photo-form-wrapper button#edit-subscribe {
  background-color: #feb41c;
  border-color: #feb41c;
}
.photo-form-wrapper.subscribe-inline .field--name-mail,
.photo-form-wrapper.subscribe-inline #edit-actions {
  display: inline-block;
}
#edit-subscriptions-wrapper {
  display: none;
}
#block-simplenewssubscription #edit-mail-wrapper input {
  border: 1px solid #fff;
  background: rbga(255,255,255,0.2);
  color: #fff;
  box-shadow: none;
  height: auto;
}
#block-simplenewssubscription #edit-actions button {
  background: none;
  border: 2px solid #feb41c;
  color: #fff;
  padding: 14px 24px;
  border-radius: 50px;
  background-color: #feb41c;
}

@media all and (min-width: 768px) {
  #block-simplenewssubscription #edit-mail-wrapper {
    width: 70%;
	float: left;
  }
  #block-simplenewssubscription #edit-actions {
    width: 27%;
  }
  body.user-logged-in #block-simplenewssubscription #edit-actions {
    width: 100%;
	float: right;
  }
}

/* Login/register page */
body.path-user .main-container {
  background: url(../img/hero6.jpg) center center no-repeat;
  background-size: cover !important;
  min-height: 100vh;
  padding-top: 196px;
}
body.path-user nav.tabs {
  margin-bottom: 30px;
}
body.path-user .region-content form input:not(.form-submit),
.user-login-form input,
.user-register-form input,
.user-pass input {
  border: none;
  box-shadow: none;
  font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 50px;
  padding: 14px 24px 14px 24px;
  width: 100%;
  margin-bottom: 30px;
  height: auto;
}
body.path-user .region-content form button,
.user-login-form button,
.user-register-form button,
.user-pass button,
body.path-user .region-content form input.form-submit,
.user-login-form input.form-submit,
.user-register-form input.form-submit,
.user-pass input.form-submit {
  color: #fff !important;
  font-family: "Raleway", "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: bold;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  background-color: #e74c3c;
  border-color: #e74c3c;
  border-radius: 50px;
  padding:14px 24px;
}
body.path-user .region-content form #edit-actions {
  text-align: center;  
}
@media all and (min-width: 768px) {
  body.path-user .region-content {
    width: 50%;
    margin: 0 25%;
  }
}
#block-userlogin ul { display: none; }

/*--------------------------------------------------------------------------------*/

/* 03. Blog & Article

/*--------------------------------------------------------------------------------*/

/* Blog list */
.blog-image-snippet .text-white a:hover {
  color: var(--main-color) !important;
}
/* Article detail */
.article__title h1 {
  margin-bottom: 16px;
  font-size: 40px;
}
.blog-image-holder {
  text-align: center;
  margin-bottom: 30px;
}
.blog-image-holder img {
  display: inline;
  width: 100%;
}
.field--name-field-tags .field--item {
  display: inline;
  padding-left: 7px;
}
.field--name-field-blog-category {
  display: inline;
}
.field--name-field-image {
  width: 100%;
  margin: 0;
}
.field--name-field-tags {
  margin-top: 20px;
}
.field--name-field-tags,
.field--name-field-tags .field__items {
  display: flex;
  align-items: center;
  gap: 10px;
}
nav.links span.comment-forbidden.nav-link {
  padding: 0;
}

/* Article Comment */
article .comments h2 {
  margin-bottom: 30px;
}
article .comments .indented {
  overflow: hidden;
}
.indented {
  margin-left: 50px;
}
.comment-content {
  background: #fff;
  padding: 20px;
}
article.comment {
  margin: 15px 0;
}
.blog-comment {
  margin-bottom: 32px;
}
.blog-comment .inline__links {
  margin-top: 10px;
}
/*--------------------------------------------------------------------------------*/

/* 04. Other

/*--------------------------------------------------------------------------------*/

/* Search results */
body.path-search .region-content ol li {
  margin-bottom: 30px;
}
body.path-search h2 {
  margin-top: 30px;
  margin-bottom: 20px;
}
.node_search-results li.list-group-item { padding: 25px; } 

/* Nav Tab */
.user-logged-in nav.tabs {
  position: fixed;
  left: 0;
  top: 140px;
  transition: all 0.5s ease 0.25s;
  z-index: 1000;
} 
.user-logged-in nav.tabs ul.tabs--primary,
.user-logged-in nav.tabs ul.nav-tabs {
  background: #fff none repeat scroll 0 0;
  border: medium none;
  list-style: outside none none;
  opacity: 0.9;
}
.user-logged-in nav.tabs ul.tabs--primary li {
  float: none;
  opacity: 0.8;
}
.user-logged-in nav.tabs ul.tabs--primary li a {
  margin-right: 0;
}
.user-logged-in nav.tabs ul.tabs--primary li.active a, 
.user-logged-in nav.tabs ul.tabs--primary li:hover a {
  background: #ffb500 none repeat scroll 0 0;
  border: none;
  border-radius: 0;
  color: #fff;
}
.user-logged-in nav.tabs ul.tabs--primary li.active, 
.user-logged-in nav.tabs ul.tabs--primary li:hover {
  opacity: 1;
}
.user-logged-in nav.tabs ul.nav-tabs {
  display: flex;
  flex-direction: column;
}

/* Portfolio & Projects */
.projects-container .row { display: block; }
.project .hover-state { 
  position: relative; 
  margin-left: 15px;
}
.project.no-pad .hover-state { 
  margin-left: 0;
}
.project h1.text-white a:hover {
  color: #fff;
}

/* Extra */


/* Estilos para el bloque de noticias relacionadas */
.block-views-blocknoticias-relacionadas-block {
  margin-bottom: 30px;
}

.block-views-blocknoticias-relacionadas-block h2 {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #333;
}

/* Estilos para cada item de noticia */
.noticia-relacionada-item {
  margin-bottom: 15px;
  position: relative;
}

.noticia-relacionada-wrapper {
  position: relative;
  height: auto;
  overflow: hidden;
}

.noticia-relacionada-imagen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.noticias-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(236, 229, 0, 0.6) 0%, rgba(246, 110, 60, 0.6) 50%, rgba(63, 59, 76, 0.6) 90%);
  z-index: 1;
}

.noticia-relacionada-contenido {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 15px;
  z-index: 2;
  color: white;
}

.noticia-relacionada-contenido h3 a{
  font-size: 14px;
  font-weight: bold;
  color: white;
  line-height: 1.3 !important;
}

.noticia-relacionada-fecha {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.9);
}

.noticia-relacionada-link {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
}

/* Estilos para el botón de ver todas las noticias */
.ver-todas-noticias {
  display: block;
  width: 100%;
  padding: 10px;
  background-color: #f1c40f;
  color: #333;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  margin-top: 15px;
  text-transform: uppercase;
  font-size: 14px;
}

/* Botón ver más */

.view-all {
  position: relative;
  display: flex; 
  justify-content: center; 
  align-items: flex-end; 
  margin-bottom: 20px; 
  height: 100%; 
}
.view-all a:hover{
  color: #333 !important;
}
.btn-view-all {
  display: inline-block;
  padding: 10px 30px;
  color: #000;
  text-decoration: none;
  font-weight: bold;
  border-radius: 30px;
  transition: background-color 0.3s;
  text-transform: uppercase;
  font-size: 14px;  
}
.btn_news {
  background-color: #ffeb3b;
 }
 .btn_event {
  background-color: #F66E3C;
 }
.btn-view-all:hover .btn_news{
  background-color: #fdd835;
}
.btn-view-all:hover .btn_event{
  background-color: #F66E3C;
}

/* Estilos fondo footer */

 .bgfooter {
  background-image:url(../img/bkg_black_footer.jpg) !important;
 }

/* Estilos para el breadcrumb */
.breadcrumb {
  margin-top: 20px;
  font-size: 16px;
  display: flex;
  gap: 5px;
  text-align: justify;
  inline-size: auto;
  font-weight: 300;
  width: 100%;
  padding-right: var(--bs-gutter-x, 0.75rem); /* Estos valores vienen de Bootstrap */
  padding-left: var(--bs-gutter-x, 0.75rem);
  margin-right: auto;
  margin-left: auto;
}

.breadcrumb a {
  color: #333;
  text-decoration: none;
  font-weight: bold;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* Opcional: Si quieres un ancho máximo como el de los contenedores de Bootstrap */
@media (min-width: 576px) {
  .breadcrumb {
    max-width: 540px;
  }
}
@media (min-width: 768px) {
  .breadcrumb {
    max-width: 720px;
  }
}
@media (min-width: 992px) {
  .breadcrumb {
    max-width: 960px;
  }
}
@media (min-width: 1200px) {
  .breadcrumb {
    max-width: 1140px;
  }
}
@media (min-width: 1400px) {
  .breadcrumb {
    max-width: 1320px;
  }
}

/* Título principal */
.page-title {
  font-size: 28px;
  font-weight: bold;
  margin: 30px 0;
  text-transform: uppercase;
}

/* ===== ESTILOS PARA LA VISTA DE LISTA DE NOTICIAS ORIGINAL ===== */
.news-list-view .views-row {
  display: flex;
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid #e0e0e0;
  position: relative;
}

.news-list-view .news-list-image {
  flex: 0 0 300px;
  margin-right: 30px;
}

.news-list-view .news-list-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.news-list-view .news-list-title, 
.news-list-view .news-list-date, 
.news-list-view .news-list-excerpt {
  flex: 1;
}

.news-list-view .news-list-date {
  color: #666;
  font-size: 14px;
  margin-bottom: 10px;
}

.news-list-view .news-list-title h2 {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
  line-height: 1.3;
}

.news-list-view .news-list-title a {
  color: #333;
  text-decoration: none;
}

.news-list-view .news-list-title a:hover {
  color: #000;
}

.news-list-view .news-list-excerpt {
  color: #555;
  line-height: 1.6;
}

.news-list-view .news-list-more-wrapper {
  display: flex;
  justify-content: center; 
  margin-top: 15px; 

}

.news-list-view .news-list-more {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #ff5722;
  border-radius: 50%;
  color: white;
  text-decoration: none;
  transition: background-color 0.3s;
}
.news-list-view .news-list-more i.fa-long-arrow-right {
    width: auto !important; /* Elimina width y height */
    height: auto !important;
    font-size: 20px !important; /* Asegura el font-size */
    /* Otros resets si es necesario, como padding, margin */
}

.news-list-view .arrow-icon {
  width: auto !important; /* Elimina width y height */
    height: auto !important;
    font-size: 20px !important; /* Asegura el font-size */
    /* Otros resets si es necesario, como padding, margin */
}

/* Estilos responsive para la vista de lista */
@media (max-width: 768px) {
  .news-list-view .views-row {
    flex-direction: column;
  }
  
  .news-list-view .news-list-image {
    flex: 0 0 auto;
    margin-right: 0;
    margin-bottom: 15px;
    width: 100%;
  }
  
  .news-list-view .news-list-more-wrapper {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    margin-top: 15px;
    text-align: right;
  }
}

/* ===== ESTILOS PARA LA NUEVA VISTA DE NOTICIAS HOME =====*/
.news-list-view-home .noticias-home-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 10px;
}

.news-list-view-home .noticias-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.news-list-view-home .noticia-principal {
  grid-row: span 2;
  height: 300px;
}

.news-list-view-home .noticias-secundarias {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
}

.news-list-view-home .noticia-small {
  height: 145px;
}

.news-list-view-home .noticia-item {
  position: relative;
  overflow: hidden;
  height: 100%;
}

.news-list-view-home .imagen-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.news-list-view-home .imagen-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.news-list-view-home .noticia-contenido {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  z-index: 2;
  color: white;
}  

.news-list-view-home .noticia-contenido h3 {
font-size: 10px;
line-height: 20px;
font-weight: bold;

}
.news-list-view-home .noticia-contenido h3  a{
  font-size: 18px;
  font-weight: bold;
  margin: 0 0 5px 0;
  color: white !important;
  /* Coloca 3 puntos suspencibos si el texto es más grandes que lo generado por dos lineas con wrap */
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.news-list-view-home .noticia-principal .noticia-contenido h3 {
  font-size: 24px;
}

.news-list-view-home .fecha {
  font-size: 12px;
  color: white;
}

.news-list-view-home .resumen {
  font-size: 14px;
  margin-top: 5px;
  color: white;
}

.news-list-view-home .noticia-principal .resumen {
  display: block;
}

.news-list-view-home .noticia-small .resumen {
  display: none;
}

/* Estilos responsive para la vista home */
@media (max-width: 768px) {
  .news-list-view-home .noticias-grid {
    grid-template-columns: 1fr;
  }
  
  .news-list-view-home .noticia-principal {
    height: 200px;
  }
  
  .news-list-view-home .noticia-small {
    height: 100px;
  }
} 

/* Estilos básicos para la vista de eventos */
.eventos-list-view-home .view-row{
  margin-bottom: 30px;
}

.eventos-list-view-home .imagen-wrapper {
  position: relative;
  width: 90%;
  height: 450px;
  overflow: hidden;
}
.eventos-list-view-home .eventos-title a{
  color: #ffffff;
  font-weight: 300;
  text-decoration: none;
}

.eventos-list-view-home .imagen-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.eventos-list-view-home .overlay-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: linear-gradient(180deg, rgba(47, 44, 57,0.75) 75%);
  z-index: 1;
}

.eventos-list-view-home .evento-contenido {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  z-index: 2;
  color: white;

  /* Añade estas líneas para la alineación vertical */
  display: flex;
  flex-direction: column; /* Alinea los elementos verticalmente */
  justify-content: flex-end; /* Empuja el contenido hacia la parte inferior, dejando espacio arriba */
}

.eventos-list-view-home .evento-contenido h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 0 0 5px 0;
  color: white; /* Asegúrate de que el color del título sea blanco */
}
.eventos-list-view-home .evento-contenido h3 a {
  color: white; /* Asegúrate de que el color del enlace del título sea blanco */
  text-decoration: none; /* O el estilo que prefieras */
}
.eventos-list-view-home .evento-contenido h3 a:hover {
  color: white; /* Mantiene el color blanco al pasar el ratón */
}

.eventos-list-view-home .fecha {
  font-size: 14px;
  margin-bottom: 5px;
  color: white; /* Asegúrate de que la fecha sea blanca */
}

.eventos-list-view-home .resumen p{
  font-size: 14px;
  margin-bottom: 10px;
  color: white !important; /* Asegúrate de que el resumen sea blanco */
}

.eventos-list-view-home .btn-ver-evento {
  display: inline-block;
  align-self: center;
  width: 100%;
  max-width: 200px;
  text-align: center;
  padding: 6px 12px;
  background-color: #83D7EF;
  color: white;
  text-decoration: none;
  font-size: 18px;
  border: none;
  border-radius: 20px; /* Añadido para redondear los bordes */
}

/* Correcciones para Drupal */
.eventos-list-view-home .views-field {
  margin-bottom: 0;
}

.eventos-list-view-home .views-field img {
  margin: 0;
  padding: 0;
  display: block;
}


/*css directorio de artistas */

.artists-grid .view-content{
  display: grid;
  gap: 15px;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
}

.artistCard {
  display: flex;
  background-color: #D3D3D3;
  color: #000;
  border-radius: 10px;
  padding: 12px;
  max-width: 100%;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  height: 150px;
  min-width: 270px;
}

.artistCard  .row {
  display: flex;
  width: 100%;
  align-items: center;
}

.artistCard  .user-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 60px;
}

.artistCard  .card-info {
  padding-left: 10px;
} 
.artistCard  .card-info .card-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 10ch;
}

.artistCard  .location {
  color: #666;
  font-size: 12px;
}

.artistCard  .menu-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 25px;
}

/* Responsive breakpoints */
@media (max-width: 575px) {
  .artists-grid .view-content{
    grid-template-columns: 1fr;
  }
}

@media (min-width: 576px) and (max-width: 767px) {
  .artists-grid .view-content{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .artists-grid .view-contentf{
    grid-template-columns: repeat(3, 1fr);
  }
}


/* Estilos generales del carrusel */
.carousel-galeria-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1200px;
  margin: 6em auto;
  padding: 0 15px;
}

/* Sección de detalles */
.carousel-galeria-details {
  width: 100%;
  margin-bottom: 20px;
  padding: 0 15px;
}

.carousel-galeria-details .details-item {
  display: none;
}

.carousel-galeria-details .details-item.active {
  display: block;
}

.carousel-galeria-details .row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.carousel-galeria-details .col-md-6 {
  flex: 0 0 50%;
  max-width: 50%;
  padding: 0 15px;
}

.titulo-obra {
  font-size: 20px;
  font-weight: bold;
  margin-top: 0;
  margin-bottom: 5px;
  color: #333;
}

.aka, .estilo, .fecha {
  margin-bottom: 5px;
  color: #555;
}

.tecnica, .zona, .lugar , .open-modal-descripcion{
  margin-bottom: 5px;
}
.tecnica {
  line-height: 44px;
}

/* Visor principal */
.carousel-galeria-main {
  width: 100%;
  margin-bottom: 20px;
  overflow: hidden;
  position: relative;
  background-color: #f0f0f0;
  border-radius: 4px;
}

.carousel-galeria-item {
  display: none;
}

.carousel-galeria-item.active {
  display: block;
}

.visor-principal {
  position: relative;
}

.imagen-principal {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
}

.imagen-principal img {
  max-width: 100%;
  max-height: 400px;
  display: block;
}

.imagen-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  width: 100%;
  background-color: #f0f0f0;
  color: #666;
  font-size: 16px;
}

/* Botones de navegación principales */
.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background-color 0.3s;
}

.nav-btn:hover {
  background-color: rgba(0, 0, 0, 0.9);
  color: #ece50099;
}

.prev-btn {
  left: 10px;
}

.next-btn {
  right: 10px;
}

/* Miniaturas */
.carousel-galeria-thumbnails {
  display: flex;
  position: relative;
  width: 100%;
  margin-bottom: 20px;
  padding: 0 40px;
}

.miniaturas-container {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 0;
  gap: 10px;
  width: 100%;
  scrollbar-width: none; /* Firefox */
}

.miniaturas-container::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Edge */
}

.thumbnail-galeria-item {
  cursor: pointer;
  opacity: 0.6;
  border: 1px solid #ccc;
  flex: 0 0 auto;
  transition: opacity 0.3s, border-color 0.3s;
  margin-right: 10px;
}
/* .thumbnail-galeria-item:hover {
  position: absolute;
  background: inherit;
  filter:
  blur(40px)
  saturate(400%);
  -webkit-filter:
  blur(40px)
  saturate(400%);
  z-index: -1000;
} */
.thumbnail-galeria-item:hover {
 opacity: 1;
 border-color: #83D7EF;
}



.thumbnail-galeria-item:hover {
 opacity: 1;
 border-color: #83D7EF;
}



.thumbnail-galeria-item.active {
  opacity: 1;
  border-color: #ece50099;
}

.thumbnail-galeria-item img {
  max-width: 80px;
  width: 100%;
  object-fit: cover;
  height: 100%;
  display: block;
}

.no-image, .no-thumbnail {
  background-color: #f0f0f0;
  color: #777;
  text-align: center;
  padding: 15px;
  width: 80px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 12px;
}

/* Botones de navegación de miniaturas */
.mini-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: black;
  border: none;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
}

.mini-nav-btn:hover {
  color: #ece50099;
}

.mini-prev-btn {
  left: 0;
}

.mini-next-btn {
  right: 0;
}
.text-galeria-colum-rht {
  text-align: justify
}

/* Botón Ver más y Modal */
.ver-mas-container {
  text-align: left;
  margin-top: 10px;
}

.ver-mas-container button.open-modal-descripcion {
  background: none;
  border: none;
  color: Black;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}

/* Estilos para los filtros de Drupal */
.form-control .views-exposed-form {

justify-content: center;
display: flex;
flex-wrap: wrap;
align-items: flex-end; /* Alinea todos los elementos al final */
gap: 10px;
}
.views-exposed-form {
justify-content: center;
display: flex;
flex-wrap: wrap;
align-items: flex-end; /* Alinea todos los elementos al final */
gap: 10px;
}

.views-exposed-form .form-item {
flex: 1;
min-width:180px;
display: flex;
flex-direction: column;
}

.views-exposed-form .form-item > label { /* Usamos el selector de hijo directo */
  margin-bottom: 5px;
  color: black;
  font-weight: bold;
}

.views-exposed-form select,
.views-exposed-form input[type="text"],
.views-exposed-form input[type="date"]  {
border: 2px solid black;
color: black;
width: 98%;
max-width: 400px;
}

.views-exposed-form .form-actions {
display: flex;
flex: 0 0 auto;
align-items: flex-end;
padding-top: 18px;
}


.views-exposed-form input[type="submit"] {
  border: 2px solid black;
  text-align: center;
  box-shadow: none !important;
}
.btn .form-control:focus .views-exposed-form input[type="submit"]{
  color: #212529;
  background-color: #fff;
  border-color: black;
  outline: 0;
  box-shadow: none !important;
  --bs-btn-focus-box-shadow: 0 0 0 0.25rem black;
}



/* Estilos responsivos */
@media (max-width: 768px) {
.views-exposed-form {
  gap: 10px;
}

.views-exposed-form .form-item,
.views-exposed-form .form-actions {
  flex: 0 0 100%;
}

.views-exposed-form .form-actions {
  padding-top: 0; /* Eliminar el padding en móviles */
  margin-top: 10px; /* Añadir margen superior en móviles */
}
  .carousel-galeria-details .col-md-6 {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 15px;
  }
  
  .imagen-principal {
    min-height: 300px;
  }
}

/* Estilos básicos para el contenedor principal */
.recursos-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  font-family: Arial, sans-serif;
  text-align: center;
}

/* Estilos para la navegación de tabs */
.recursos-tabs-nav {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  border-bottom: 1px solid #ddd;
  justify-content: center;
  overflow-x: auto; /* Para dispositivos móviles */
}

.recursos-tab-item {
  padding: 10px 20px;
  cursor: pointer;
  margin-right: 5px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.recursos-tab-item:hover {
  background-color: #f5f5f5;
}

.recursos-tab-item.active {
  border-bottom: 3px solid #ece50099;
  font-weight: bold;
}

.recursos-tab-item i {
  margin-right: 5px;
}

/* Estilos para el contenido de los tabs */
.recursos-tab-content {
  display: none;
}

.recursos-tab-content.active {
  display: block;
}

/* Estilos para la cuadrícula de cards */
.recursos-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  justify-items: center;
}

/* Responsive: tablets */
@media (min-width: 768px) {
  .recursos-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Responsive: desktop */
@media (min-width: 992px) {
  .recursos-cards-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Estilos para las cards */
.recursos-card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  padding: 20px;
  width: 100%;
  height: auto;
  min-height: 150px;
  max-width: 300px;
  cursor: pointer;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative; 
  overflow: hidden;
}

.recursos-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.recursos-card-icon {
  font-size: 24px;
  color: #ece50099;
  margin-bottom: 15px;
}
.recursos-card .overlay-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(180deg, rgba(47, 44, 57, 0.0) 0%, rgba(47, 44, 57, 0.8) 75%, rgba(47, 44, 57, 1) 100%);
  /*  background: linear-gradient(180deg, rgba(147, 147, 148, 0.425) 0%, rgba(201, 200, 206, 0.8) 75%, rgb(245, 244, 247) 100%);*/
    z-index: 1; 
}



.recursos-card-title {
  font-size: 18px;
  margin: 0;
  font-weight: bold;
  color: #000;
}
.recursos-card-title a {
 color: #000;
}
.recursos-card-icon,
.recursos-card-title {
    position: relative;
    z-index: 2; 
}


.recursos-card-date {
  font-size: 14px;
  color: #666;
  margin-bottom: 10px;
}

.recursos-card-text {
  font-size: 14px;
  color: #333;
  margin-bottom: 15px;
  flex-grow: 1;
}

.recursos-card-link {
  display: inline-block;
  color: black;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
}

.recursos-card-link:hover {
  text-decoration: underline;
}

/* Estilos del modal */

.modal-descripcion {
  display: none; /* Inicialmente oculto */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; 
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000; 
  /* Centrado del contenido */
  text-align: center;
  justify-content: center;
  align-items: center; 
} 
/*centrado usando en js el display block */
/* .modal-descripcion:before {
  content: "";
  display: inline-block;
  height: 100%;
  vertical-align: middle;
  margin-right: -0.25em;
}  */

.modal-contenido {
  position: relative;
  background-color: white;
  width: 90%;
  max-width: 600px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  padding: 20px;
  height: auto;
  max-height: fit-content;
  overflow-y: auto;
  /* display: inline-block;
  vertical-align: middle; */
  text-align: left;
}

/* Botón de cierre */
.close-button {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 24px;
  cursor: pointer;
  color: #333;
  background: none;
  border: none;
  padding: 0;
  line-height: 1;
}

/* Estilos del encabezado del modal */
.modal-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-bottom: 20px;
}

/* Contenedor del avatar */
.avatar-container {
  margin-top: 10px;
  margin-bottom: 15px;
  text-align: center;
}

/* Icono de usuario */
.fa-circle-user {
  font-size: 70px;
  color: #000;
}

/* Imagen de avatar (cuando se usa en lugar del icono) */
.avatar-img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
}

/* Estilos de los textos del encabezado */
.modal-titulo {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 5px;
}

.modal-subtitulo {
  font-size: 16px;
  font-weight: normal;
  margin-bottom: 5px;
}

.modal-ubicacion {
  font-size: 14px;
  color: #777;
  margin-bottom: 10px;
}

/* Estilos del cuerpo del modal */
.modal-body {
  width: 100%;
  text-align: justify;
  margin-bottom: 20px;
}

.modal-body p {
  text-align: justify;
  margin-bottom: 15px;
  line-height: 1.5;
  font-size: 14px;
  color: #333;
}

/* Estilos del pie del modal */
.modal-footer {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

/* Botón de contactar */
.boton-contactar {
  background-color: #000;
  color: white;
  border: none;
  border-radius: 5px;
  padding: 10px 30px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
}

.boton-contactar:hover {
  color: #ece50099;
}

/* Estilos responsivos */
@media (max-width: 480px) {
  .modal-contenido {
    width: 95%;
    padding: 15px;
  }

  .fa-circle-user {
    font-size: 60px;
  }

  .avatar-img {
    width: 60px;
    height: 60px;
  }

  .modal-titulo {
    font-size: 16px;
  }

  .modal-subtitulo {
    font-size: 14px;
  }

  .modal-ubicacion {
    font-size: 12px;
  }

  .modal-body p {
    font-size: 13px;
  }

  .boton-contactar {
    padding: 8px 25px;
    font-size: 13px;
  }
}
/* Asegurarse de que las imágenes del avatar tengan formato circular */
.avatar-container img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
}

/* Estilo para la ubicación secundaria (localidad) */
.modal-ubicacion-secundaria {
  font-size: 13px;
  color: #888;
  margin-top: -5px;
  margin-bottom: 10px;
}

/* Ajustes para el contenido generado por Drupal */
.modal-body img {
  max-width: 100%;
  height: auto;
  margin: 10px 0;
}

.modal-body ul,
.modal-body ol {
  margin-left: 20px;
  margin-bottom: 15px;
}

/* Responsive para el contenido de Drupal */
@media (max-width: 480px) {
  .avatar-container img {
    width: 60px;
    height: 60px;
  }

  .modal-ubicacion-secundaria {
    font-size: 12px;
  }
}

.field--name-title {
  font-size: 20px !important;
  line-height: 4;
  font-weight: bold;
}

.recursos-tabs-nav .recursos-tab-item.disabled {
  opacity: 0.5; /* Hace que se vea atenuado */
  cursor: not-allowed; /* Cambia el cursor para indicar que no se puede hacer clic */
  pointer-events: none; /* Deshabilita los eventos de clic en este elemento */
}