/*
Theme Name:     Winwood Child-theme
Theme URI:      https://demo2.wpopal.com/winwood/
Description:    Winwood child theme.
Author:         Duc Pham (Opal Team)
Template:       winwood
Version:        1.0.0
*/

/* Main */
.blog .hentry, 
.archive .hentry, 
.search .hentry{
  border: none !important;
  margin-bottom: 0px !important;
}

/* GDPR */
#moove_gdpr_cookie_info_bar.moove-gdpr-dark-scheme {
  background-color: #1B1B1BF7 !important;
  border-top: none !important;
}

/* Header */
body.admin-bar #sticky-header{
	top: 32px;
}

#sticky-header{
  position: fixed;
  top: 0;
	width: 100% !important;
	display: block; /* Set initial display */
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 
				0 1px 3px rgba(0, 0, 0, 0.08);
  opacity: 0;     /* Start invisible */
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#sticky-header.visible {
  opacity: 1;
  visibility: visible;
}

#sticky-header .en103-header-mobile-menu svg{
  fill: #0B0B90;
}

#sticky-header .en103-header-mobile-menu svg .st0{
  stroke: #000;
}

/* Fix Elementor Pro double caret on select */
.elementor-select-wrapper .select-caret-down-wrapper{
  display: none !important;
}

/* Forms */
.elementor-form .elementor-form-fields-wrapper .elementor-field-type-textarea{
  margin-top: 20px;
}

#en103-form-submit{
  margin-top: 30px;
}

/* Hotspots Style 02 */
.hotspots_style-2 .opal-image-hotspots-main-icons .opal-image-hotspots-icon{
  width: 10px;
  height: 10px;
  background: #fff;
  border: 6px solid #0b0b90;
  outline: 2px solid #fff;
}

/* Municipio Page */
.en-hover-container{
  cursor: pointer;
}

.en-hover-container:hover{
  cursor: default;
}

.en-hover-container .en-hover-text{
  display: none;
  overflow: hidden;
  transform: translateY(50px);
  animation: fadeInUp 0.5s ease-in-out forwards; /* Adjust duration as needed */
  margin-top: 10px;
}

.en-hover-container:hover .en-hover-text{
  display: block;
  transform: translateY(0);
}

/* Widget Where to Eat */
.places-list{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 90px 160px;
  grid-auto-flow: row;
  align-items: stretch;
}

.places-list .place-list-container{
  display: flex;
  flex-direction: row;
  gap: 40px;
  border-style: solid;
  border-width: 0px 0px 1px 0px;
  border-color: #BDBDBD;
  padding-bottom: 70px;
}

.places-list .place-list-container .place-image img{
  max-width: 95px;
}

.places-list .place-list-container .place-info .place-location{
  display: flex;
  flex-direction: row;
  gap: 10px;
  padding-top: 15px;
  align-items: center;
}

.places-list .place-list-container .place-info .place-location svg{
  fill: #fff;
  width: 17px;
  height: 17px;
  padding-right: 5px;
}

.places-list .place-list-container .place-info .place-description{
  padding-top: 35px;
  margin: 0px;
  max-width: 95%;
}

.places-list .place-list-container .place-image .fallback-icon svg{
  width: 100px;
  height: 100px;
}

.places-list .place-info .place-location a {
  color: var(--location-color, #FFF) !important;
}

/* Remove border-bottom for the last row items if the number is odd */
.places-list.odd .place-list-container:last-child {
  border-bottom: none;
  padding-bottom: 0px;
}

/* Remove border-bottom for the last row items if the number is even */
.places-list.even .place-list-container:nth-last-child(-n+2) {
  border-bottom: none;
  padding-bottom: 0px;
}

/* Events */
.event-types-list{
  list-style: none;
  margin: 0px;
}

.event-types-list li{
  text-align: center;
}

.event-types-list li a{
  display: block;
  width: 100%;
  color: var(--e-global-color-primary);
  text-transform: uppercase;
  font-size: 18px !important;
  font-weight: 500 !important;
  border: 1px solid var(--e-global-color-primary);
  border-radius: 50px;
  padding: 25px;
  margin-bottom: 15px;
}

.event-types-list li:hover a{
  background-color: var(--e-global-color-primary);
  color: var(--e-global-color-secondary);
}

/* Singles */
body.single-post .elementor-widget-loop-carousel.elementor-element :is(.swiper, .swiper-container) ~ .elementor-swiper-button-prev.swiper-button-disabled,
body.single-post .elementor-widget-loop-carousel.elementor-element :is(.swiper, .swiper-container) ~ .elementor-swiper-button-next.swiper-button-disabled,
body.single-en103_eventos .elementor-widget-loop-carousel.elementor-element :is(.swiper, .swiper-container) ~ .elementor-swiper-button-prev.swiper-button-disabled,
body.single-en103_eventos .elementor-widget-loop-carousel.elementor-element :is(.swiper, .swiper-container) ~ .elementor-swiper-button-next.swiper-button-disabled{ 
  display: none !important;
}

/* Pagination */
.elementor-pagination .page-numbers.current{
  padding: 8px 15px;
  background-color: var(--e-global-color-primary);
  color: #fff;
  border-radius: 25px;
  width: 40px;
  display: inline-block;
}

/* Hotspots */
.elementor-widget-winwood-image-hotspots .opal-image-hotspots-container .opal-image-hotspots-main-icons{
  filter: drop-shadow(0px 4px 21px rgba(0, 0, 0, 0.25));
}

.tooltip-opal-image-hotspots-container{
  padding: 0 25px;
}

.tooltip-opal-image-hotspots-container .opal-image-hotspots-title{
  color: #0B0B90;
  font-family: "Montserrat";
  font-size: 18px;
  font-weight: 400;
  text-transform: uppercase;
  margin: 0px;
  margin-top: 10px;
}

.tooltip-opal-image-hotspots-container .opal-image-hotspots-description{
  color: #000;
  font-family: "Montserrat";
  font-size: 17px;
  font-weight: 400;
  padding: 10px 0px 20px;
}

.tooltip-opal-image-hotspots-container .opal-image-hotspots-description strong{
  font-weight: 500;
}

.tooltip-opal-image-hotspots-container .opal-image-hotspots-cta-button{
  display: inline-block;
  border-radius: 70px;
  background: #0B0B90;
  border: 1px solid #0B0B90;
  color: #FFF;
  font-family: "Montserrat";
  font-size: 12px !important;
  font-weight: 500 !important;
  text-transform: uppercase;
  padding: 10px 20px !important;
  margin-bottom: 10px;
}

.tooltip-opal-image-hotspots-container .opal-image-hotspots-cta-button:hover{
  background: transparent;
  color: #0B0B90;
}

.tooltipster-box .hotspots-content-wrapper.style-2 .title{
  font-size: 30px;
  text-align: center;
  margin: 0px;
}

/* Widget Featured Events */
.featured-events{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 80px 80px;
  grid-auto-flow: row;
  align-items: stretch;
}

.featured-events .event-item .event-image{
  width: 100% !important;
}

.featured-events .event-item .event-box .event-box-container{
  max-width: 370px;
  margin: 0 auto;
}

.featured-events .event-item .event-box .event-title{
  display: block;
}

.featured-events .event-item .event-box .event-when{
  display: flex;
  flex-direction: row;
  align-items: center;
}

.featured-events .event-item .event-box .event-when svg{
  width: var(--fe-icon-size, 17);
}

/* Keyframes for the animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/************************************** MEDIAS *******************************************/
/*****************************************************************************************/
@media (max-width: 1600px){ 
  /* Widget Featured Events */
  .featured-events{
    gap: 80px 60px;
  }
}

@media (max-width: 1500px){ 
  /* Widget Featured Events */
  .featured-events{
    gap: 70px 50px;
  }
}

@media (max-width: 1366px){ 
  /* Events */
  .event-types-list li a{
    font-size: 17px !important;
    padding: 22px 25px;
  }

  .tooltipster-box .hotspots-content-wrapper.style-2 .title{
    font-size: 28px;
  }

  /* Widget Where to Eat */
  .places-list{
    gap: 70px 100px;
  }

  .places-list .place-list-container .place-image img{
    max-width: 85px;
  }

  .places-list .place-list-container{
    gap: 30px;
  }

  .places-list .place-list-container .place-info .place-description{
    padding-top: 30px;
    max-width: 100%;
  }
  
  /* Widget Featured Events */
  .featured-events{
    gap: 60px 40px;
  }
}

@media (max-width: 1200px){ 
  /* Events */
  .event-types-list li a{
    font-size: 17px !important;
    padding: 20px 25px;
  }

  /* Hotspots */
  .elementor-widget-winwood-image-hotspots .opal-image-hotspots-container .opal-image-hotspots-main-icons svg{
    width: 40px;
  }

  .tooltip-opal-image-hotspots-container .opal-image-hotspots-title{
    font-size: 17px;
  }
  
  .tooltip-opal-image-hotspots-container .opal-image-hotspots-description{
    font-size: 15px;
    line-height: 1.2em;
  }

  .tooltip-opal-image-hotspots-container .opal-image-hotspots-cta-button{
    font-size: 11px !important;
  }

  .tooltipster-base,
  .tooltipster-base.tooltipster-show{
    max-width: 300px !important;
  }

  .tooltipster-box .hotspots-content-wrapper.style-2 .title{
    font-size: 26px;
  }

  /* Widget Where to Eat */
  .places-list{
    gap: 60px 60px;
  }

  .places-list .place-list-container{
    gap: 30px;
    padding-bottom: 60px;
  }

  .places-list .place-list-container .place-image img{
    max-width: 85px;
  }

  .places-list .place-list-container .place-info .place-location{
    padding-top: 10px;
  }

  .places-list .place-list-container .place-info .place-description{
    padding-top: 25px;
    max-width: 100%;
  }

  /* Widget Featured Events */
  .featured-events{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px){ 
  /* Events */
  .event-types-list li a{
    font-size: 16px !important;
    padding: 18px 22px;
  }

  /* Hotspots */
  .elementor-widget-winwood-image-hotspots .opal-image-hotspots-container .opal-image-hotspots-main-icons svg{
    width: 30px;
  }

  .tooltip-opal-image-hotspots-container .opal-image-hotspots-title{
    font-size: 17px;
  }
  
  .tooltip-opal-image-hotspots-container .opal-image-hotspots-description{
    font-size: 15px;
    line-height: 1.2em;
  }

  .tooltip-opal-image-hotspots-container .opal-image-hotspots-cta-button{
    font-size: 11px !important;
  }

  .tooltipster-base,
  .tooltipster-base.tooltipster-show{
    max-width: 280px !important;
  }

  .tooltipster-box .hotspots-content-wrapper.style-2 .title{
    font-size: 24px;
  }

  /* Widget Where to Eat */
  .places-list{
    grid-template-columns: repeat(1, 1fr);
    gap: 60px 60px;
  }

  .places-list .place-list-container{
    padding-bottom: 60px;
  }

  .places-list .place-list-container .place-info .place-location{
    padding-top: 10px;
  }

  .places-list .place-list-container{
    gap: 30px;
  }

  .places-list .place-list-container .place-info .place-description{
    padding-top: 25px;
    max-width: 90%;
  }

  .places-list.even .place-list-container:nth-last-child(-n+2){
    border-bottom: 1px solid #fff;
    padding-bottom: 40px;
  }

  /* Remove bottom border for the last item only in single-column layout */
  .places-list .place-list-container:last-child {
    border-bottom: none !important;
  }

}

@media (max-width: 782px){ 
  /* Header */
  body.admin-bar #sticky-header{
	top: 46px;
  }
	
}

@media (max-width: 767px){ 
  /* Municipio Page */
  .en-hover-container::before{
    background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 30%, transparent 90%) !important;
  }

  .en-hover-container .en-hover-text{
    display: block;
  }

  /* Events */
  .event-types-list{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px; /* Space between items */
  }

  .event-types-list li a{
    font-size: 14px !important;
    padding: 15px 15px;
    margin-bottom: 0px;
  }

  /* Hotspots */
  .elementor-widget-winwood-image-hotspots .opal-image-hotspots-container .opal-image-hotspots-main-icons svg{
    width: 20px;
  }

  .tooltip-opal-image-hotspots-container{
    padding: 0 20px;
  }
  
  .tooltip-opal-image-hotspots-container .opal-image-hotspots-title{
    font-size: 16px;
  }
  
  .tooltip-opal-image-hotspots-container .opal-image-hotspots-description{
    font-size: 14px;
    line-height: 1.2em;
  }

  .tooltip-opal-image-hotspots-container .opal-image-hotspots-cta-button{
    font-size: 10px !important;
  }

  .tooltipster-base,
  .tooltipster-base.tooltipster-show{
    max-width: 260px !important;
  }

  .tooltipster-box .hotspots-content-wrapper.style-2 .title{
    font-size: 22px;
  }

  /* Widget Where to Eat */
  .places-list{
    grid-template-columns: repeat(1, 1fr);
    gap: 40px 60px;
  }

  .places-list .place-list-container{
    flex-wrap: wrap;
    padding-bottom: 40px;
    gap: 30px;
    flex-direction: column;
  }

  .places-list .place-info{
    text-align: center;
  }

  .places-list .place-list-container .place-info .place-location{
    justify-content: center;
  }

  .places-list .place-list-container .place-image{
    margin: 0 auto;
  }

  .places-list .place-list-container .place-image img{
    max-width: 115px;
  }

  .places-list .place-list-container .place-info .place-location{
    padding-top: 10px;
  }

  .places-list .place-list-container .place-info .place-description{
    padding-top: 30px;
    max-width: 450px;
    margin: 0 auto;
  }

  .places-list.even .place-list-container:nth-last-child(-n+2){
    border-bottom: 1px solid #fff;
    padding-bottom: 40px;
  }

  /* Remove bottom border for the last item only in single-column layout */
  .places-list .place-list-container:last-child {
    border-bottom: none !important;
  }

  /* Widget Featured Events */
  .featured-events{
    grid-template-columns: repeat(1, 1fr);
  }

  .featured-events .event-item{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    flex-direction: column;
  }

  .featured-events .event-item .event-box .event-box-container{
    max-width: 100%;
  }

  .featured-events .event-item .event-image{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    vertical-align: middle;
    display: inline-block;
  }

}

@media (max-width: 600px){ 
  /* Header */
  body.admin-bar #sticky-header{
	top: 0;
  }
	
}

@media (max-width: 440px){ 
  /* Events */
  .event-types-list{
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px; /* Space between items */
  }
}