/******************************
  Fonts
*******************************/

#cms-content, 
#cms-content p,
#cms-content span.text,
#coms-content span,
#header-django .main-menu li,
footer * {
  font-family: 'Lato', sans-serif !important;
  font-weight: 400;
}

#cms-content h1, 
#cms-content h2, 
#cms-content h3 {
  font-family: 'Noto Serif Display', serif;
  font-weight: 200;
}

#cms-content {
  overflow-x: hidden;
}

/******************************
  Menu
*******************************/

/* Not margin top */
#header-django.position-fixed + #cms-content, 
#header-django.header-fixed ~ #cms-content, 
#header-django.header-fixed:not(.main-page) ~ #cms-content {
  margin-top: 0;
}

/* #header-django {
  background-color: #000;
  height: 115px;
  transition: background-color .4s ease;
} */

/* Mobile */

#header-django.position-fixed .sidebar-menu, #header-django.header-fixed .sidebar-menu, #header-django.header-fixed:not(.main-page) .sidebar-menu {
    padding-top: 85px;
    height: 100dvh;
    top: 0;
}

/******************************
  Home hero
*******************************/

@media (min-width: 770px) and (max-width: 990px) {
  .hero-new-xl h1,
  .hero-new-md h1 {
      font-size: 2rem;
  }

  .hero-new-md h2 {
    font-size: 2.5rem;
  }
}

@media (min-width: 991px) {
  .hero-new-xl h1,
  .hero-new-md h1 {
    font-size: 4.5rem;
  }

  .hero-new-md h2 {
    font-size: 2.5rem;
  }
}

@media (max-width: 770px) {
  .hero-new-xl h1,
  .hero-new-md h1 {
      font-size: 2rem;
  }

  .hero-new-md h2 {
    font-size: 1.8rem;
  }
}

/* Youtube */

.hero-new-md .youtube-container {
  height: 100% !important;
}

.hero-new-md .youtube-container.autoplay .video-wrapper {
  height: 100%
}

@media (max-width: 480px) {
  .hero-new-md .youtube-container {
    transform: scale(4.8);
  }  
}

@media (min-width: 481px) and (max-width: 770px) {
  .hero-new-md .youtube-container {
    transform: scale(2.6);
  }  
}

@media (min-width: 771px) and (max-width: 990px) {
  .hero-new-md .youtube-container {
    transform: scale(1.6);
  }  
}

@media (min-width: 991px) and (max-width: 1200px) {
  .hero-new-md .youtube-container {
    transform: scale(1.6);
  }  
}

/* Buttons */

a.dvn-button {
  background: #6DAFAC;
  color: white;
  font-weight: 400;
  padding: .5rem 1.5rem;
  transition: background .3s ease;
  text-decoration: none;
}

a.dvn-button:hover {
  background: white;
  color: #6DAFAC;
}

/* Video yate home */

.video-yate-home .youtube-container.autoplay .video-wrapper {
  padding-bottom: unset;
}

/******************************
  Activity searcher
*******************************/

.hero-new-xl .hero-content .activity-searcher-plugin,
.input-activity-searcher .input-group-prepend .input-group-text,
.hero-new-xl .hero-content .activity-searcher-plugin .btn-submit-container button,
.form-control {
  border-radius: 0 !important;
}

@media (min-width: 991px) {
  .hero-new-xl .activity-searcher-plugin {
    max-width: 75%;
  }
}

/******************************
  Activity cards
*******************************/

#activity_card_tbg .list_img,
#activity_card_tbg .btn-see-more,
#activity_card_tbg .label-promoted span,
#activity_card_tbg .show-description-btn, #activity_card_tbg .hide-description-btn {
  border-radius: 0;
}

#activity_card_tbg .item-title {
  font-family: 'Noto Serif Display';
  font-weight: 300;
}

/******************************
  Blog
*******************************/

#blog-section {
  max-width: 1400px;
}

#blog-section.post-detail-list article a .card img, 
#blog-section article a .card img,
#blog-section article .card,
#blog-section artic.e .card .card-body {
  border-radius: 0 !important;
}

#blog-section.post-detail-list article a .card .card-body h3.title, 
#blog-section article a .card .card-body h3.title {
  font-family: "Noto Serif Display";
  font-weight: 300;
}

#blog-section.post-detail-list article a .card .card-body h4.subtitle, 
#blog-section article a .card .card-body h4.subtitle {
  display: none;
}

/******************************
  Blog article
*******************************/

.app-blog .article-container {
  padding-top: 0 !important;
}

.app-blog .article-container .col-12.col-lg-8 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.app-blog .article-container .article-img {
  width: 100vw !important;
	position: relative;
}

.app-blog .article-img img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

.app-blog .article-img::after {
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  background: #00000054;
  left: 0;
  top: 0;
}

#blog-section.post-detail-list article a .card .card-body .date, #blog-section article a .card .card-body .date {
  display: none;
}
/******************************
  Activity detail hero (portada)
*******************************/

@media (min-width: 768px) {
  #main_image .img_main {
    height: 70vh;
    object-fit: cover;
    object-position: center 55%;
  }
}
