/*
  Theme Name: Batlleiroig
  Theme URI: http://llos.co
  Author: LLOS&
  Author URI: https://llos.co
  Description: batlleiroig Template
  Version: 2.12
  Text Domain: bir
  License: GPLv2
  GitLab Theme URI: https://gitlab.com/llos/clients/bir
  Release Asset: true
*/
.search-form .search-spin{
  position: absolute;
  top: 110%;
  left: calc(50% - 10px);
}
.modal-full .swiper-button-next, .modal-full .swiper-button-prev { width: 15%; }
html:not(.has-scroll-init) {
    overflow: auto !important;
}

html:not(.scrolling) .home #header .btn-search {
  opacity: 0.3;
}

#header::before {
    opacity: 0;
  }

.wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper {
		overflow:hidden;
    padding-bottom:56.25%;
    position:relative;
    height:0;
	}
.wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper iframe {
		left:0;
    top:0;
    height:100%;
    width:100%;
    position:absolute;
	}

.hidden-header #header {
  background: #fff;
  color: #000;
}

img {
    user-drag: none;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

/*.projects-grid .projects-cols .project-card {
  width: 16.6%;
}*/

.projects-grid {
  padding-top: 0 !important;
}

.anchor-section:last-child .related-module {
  margin-bottom: 0;
}

	picture.img-fluid,
picture.img-fluid img {
    max-width: 100%;
    height: auto;
    display: block;
}

@media (min-width: 1840px) {
    .col-xtra-3 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 auto;
        flex: 0 0 auto;
        width: 25%;
    }
}

.flex-images figure figcaption {
    padding: 15px 15px 0 0;
    font-size: 14px;
    line-height: 1.25;
    max-width: 470px;
    letter-spacing: 0;
}
@media (min-width: 992px) {
  .yearbooks-slider .swiper-slide {
      width: 23% !important;  
  }
}

.swiper-wrapper {
  pointer-events: all;
}

.modal-full .swiper-button-prev, .modal-full .swiper-button-next {
  height: 70%;
}