/* Theme Name: Gimont Child Theme
Theme URI: https://themeforest.net/user/ovatheme/portfolio
Description: This is child theme of gimont
Author: Ovatheme
Author URI: https://themeforest.net/user/ovatheme
Template: gimont
Version: 1.0.1
Tags: two-columns, three-columns, left-sidebar, right-sidebar, custom-menu, editor-style, featured-images, flexible-header, full-width-template, post-formats, rtl-language-support, sticky-post, translation-ready
Text Domain:  gimont-child
*/

/* SERVICES - Ajuste en template 2 */
.ova-sev-single-2 .wrap-title {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    background-color: rgb(159 7 7 / 85%) !important;
    padding: 65px;
    border-radius: 0px;
    text-align: center;
}

.ova-sev-single-2 .hero-banner {
    height: 230px !important;
}

.ova-sev-single-2 .share-social-icons {
    display: none !important;
}

@media (max-width: 767px) {
    .ova-sev-single-2 .wrap-title,
    .ova-sev-single-2 .wrap-title a,
    .ova-sev-single-2 .wrap-title h3,
    .ova-sev-single-2 .wrap-title h4 {
        font-size: 26px !important;
        line-height: 1.2;
    }
}

/* Oculta SOLO cuando el header está en sticky */
section.active_sticky .hide-on-sticky{
  display:none !important;
}

section.active_sticky .logo-sticky-ajust{
    padding-top: 10px;
}

/* Modificar lista del footer  */
.elementor-element-47ef7ec.list-ajust-footer .ova-sev-list-2 a.title{
  font-size: 14px !important;
  line-height: 0!important;
}

.elementor-element-47ef7ec.list-ajust-footer .ova-sev-list-2 ul.wrapper li.item{
  margin: 0 0 0 0 !important;
  padding: 0 !important;
}

/* Modificar lista de Eventos Home  */
.ovaev-event-element .event-thumbnail{
  max-height: 155px !important;
  height: 155px;  
  overflow: hidden;
  position: relative;
}

.ovaev-event-element .event-thumbnail img{
  display: block;
  width: 100%;
  height: 155px;     
  object-fit: cover; 
  object-position: center;
}

/* Portfolio Grid 2: mantener el estilo de categoría aunque ya no enlace */
.portfolio-grid-2 .categories {
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
}

/* Team Single ajustes  */
.ova_team_single .summary {
    padding-bottom: 20px !important;
}

.ova_team_single .image-team {
    max-width: 400px;
    margin-right: 100px;
}

.ova_info .content_info .ova-info-content {
	margin-top: 150px;
}
.calendari-petit {
	
}


/* ============================= */
/* CALENDARI PETIT PERSONALITZAT */
/* ============================= */

.calendari-petit .month {
    font-size: 16px;
    color: #fff;
}

.calendari-petit .cal1 .clndr .clndr-controls {
    color: #be1824;
    font-size: 0px;
    line-height: 45px;
    font-weight: 800;
    background-color: #2d2525;
    margin-bottom: -10px;
}

.calendari-petit .cal1 .clndr .clndr-controls .clndr-control-button .clndr-next-button:after {
    border: solid #fff;
    border-width: 0 2px 2px 0;
}

.calendari-petit .cal1 .clndr .clndr-controls .clndr-control-button .clndr-previous-button:before {
    border: solid #fff;
    border-width: 0 2px 2px 0;
}

.calendari-petit .cal1 .clndr .clndr-table .header-days .header-day {
    color: #2d2525;
}
.calendari-petit .cal1 .clndr .clndr-table tr .day .day-contents {
    box-sizing: border-box;
    font-size: 14px;
    font-weight: 800;
    text-align: center;
    color: #2d2525;
}

.calendari-petit .cal1 .clndr .clndr-table tr {
    height: 0px;
}

/* Sidebar buscador ajustes  */
.sidebar .widget {
    padding: 15px !important;
}



/* ========================================= */
/* Format Archius descarregables Comunicació */
/* ========================================= */

/* Contenedor general */
.ova-list-attachment {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Cada archivo */
.ova-list-attachment li {
  list-style: none;
  margin: 0 0 18px 0;
  padding: 0;
}

/* Tarjeta estilo documento */
.ova-list-attachment li {
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  background: #fff;
  transition: all 0.25s ease;
}

.ova-list-attachment li:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  border-color: #dcdcdc;
}

/* Distribución interna */
.ova-list-attachment li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px;
}

/* Icono izquierdo */
.ova-list-attachment .icon-attachment {
  flex: 0 0 auto;
  font-size: 22px;
  line-height: 1;
  color: #022955;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Bloque central */
.ova-list-attachment .ova-file-name-size {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

/* Nombre del archivo como título */
.ova-list-attachment .ova-file-name {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  color: #222;
  word-break: break-word;
}

/* Tipo y tamaño como texto secundario */
.ova-list-attachment .ova-file-size {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 14px;
  color: #7a7a7a;
  line-height: 1.4;
}

.ova-list-attachment .ova-file-size .type {
  text-transform: lowercase;
}

.ova-list-attachment .ova-file-size .file-size {
  color: #7a7a7a;
}

/* Bloque de acciones derecha */
.ova-list-attachment .ova-download {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Botones icono */
.ova-list-attachment .ova-download a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid #d9d9d9;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #022955;
  background: #fff;
  transition: all 0.25s ease;
}

.ova-list-attachment .ova-download a:hover {
  background: #022955;
  border-color: #022955;
  color: #fff;
}

/* Tamaño iconos */
.ova-list-attachment .ova-download a i {
  font-size: 16px;
  line-height: 1;
}

/* Responsive */
@media (max-width: 767px) {
  .ova-list-attachment li {
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
  }

  .ova-list-attachment .ova-file-name {
    font-size: 18px;
  }

  .ova-list-attachment .ova-download {
    flex-direction: row;
    gap: 8px;
  }

  .ova-list-attachment .ova-download a {
    width: 38px;
    height: 38px;
  }
}

.event-sidebar-with-calendar .event-sidebar-calendar {
	margin-bottom: 30px;
	padding: 20px;
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 6px;
}

.event-sidebar-with-calendar .event-sidebar-calendar .widget-title {
	margin: 0 0 15px 0;
	font-size: 20px;
	line-height: 1.3;
}
