.container-page-gallery{
  max-width: var(--container);
  width: 100%;
  margin: 4rem auto;
}

.container-page-gallery .galleries {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 3rem;
  align-items: start;
}

.container-page-gallery .not-found-galleries {
  background-color: var(--opa-marrom-escuro);
  padding: 2rem;
  color: var(--opa-branco);
  text-align: center;
  margin-bottom: 2rem;
  font-family: var(--font-family-soleil);
  font-style: normal;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.5rem;
  letter-spacing: -0.02em;
  display: none;
}

.container-page-gallery .loading-galleries {
  background-color: var(--opa-bege-claro);
  padding: 2rem;
  text-align: center;
  margin-bottom: 2rem;
  font-family: var(--font-family-soleil);
  font-style: normal;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.5rem;
  letter-spacing: -0.02em;
  display: none;
}

.container-page-gallery .galleries .gallery {
  display: flex;
  flex-direction: column;
  align-items: center;
  /*justify-content: space-between;*/
  justify-content: flex-start;
  width: 100%;
  border-bottom: 1px solid var(--opa-cinza);
  padding-bottom: 3rem;
  margin-bottom: 2.5rem;
  position: relative;
  min-height: 415px;
}

.container-page-gallery .galleries .gallery:after{
  content: '';
  background-color: var(--opa-cinza);
  height: 1px;
  width: 100%;
  position: absolute;
  bottom: -1px;
  left: 1rem;
}

.container-page-gallery .galleries .gallery:nth-child(4),
.container-page-gallery .galleries .gallery:nth-child(5),
.container-page-gallery .galleries .gallery:nth-child(6),
.container-page-gallery .galleries .gallery:nth-child(4):after,
.container-page-gallery .galleries .gallery:nth-child(5):after,
.container-page-gallery .galleries .gallery:nth-child(6):after{
  background-color: transparent;
  border-bottom: none;
}

.container-page-gallery .galleries .gallery:nth-child(3n):after{
  left: 0rem;
}

.container-page-gallery .galleries .gallery .images{
  max-height: 18.75rem;
  height: 100%;
  display: flex;
  align-items: center;
  width: 100%;
}

.container-page-gallery .galleries .gallery .images figure{
  width: 100%;
}
.container-page-gallery .galleries .gallery .images img{
  border-radius: 0.5rem;
  object-fit: cover;
  width: 100%;
  max-height: 18.75rem;
  height: 100%;
}

.container-page-gallery .galleries .gallery .title{
  font-family: var(--font-family-soleil-bold);
  font-style: normal;
  font-size: 1.5rem;
  line-height: 1.875rem;
  letter-spacing: -0.02em;
  color: var(--opa-vermelho);
  margin: 1rem 0 1.2rem;
}

.container-page-gallery .galleries .gallery .footer{
  width: 100%;
  display: flex;
  flex-direction: column;
}

.container-page-gallery .galleries .gallery .footer .info{
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 3rem;
}
.container-page-gallery .galleries .gallery .footer .info .count,
.container-page-gallery .galleries .gallery .footer .info .date{
  font-family: var(--font-family-soleil);
  font-style: normal;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.375rem;
  letter-spacing: -0.02em;
  color: var(--opa-cinza-escuro);
  display: flex;
  align-items: center;
}

.container-page-gallery .galleries .gallery .footer .info .count img,
.container-page-gallery .galleries .gallery .footer .info .date img{
  margin-right: 0.5rem;
}

.container-page-gallery .galleries .gallery .footer .info .date img{
  position: relative;
  top: -0.1rem;
}

.container-page-gallery .form-filter{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.container-page-gallery .form-filter input,
.container-page-gallery .form-filter select{
  height: 4.375rem;
  line-height: 4.375rem;
  border: 1px solid var(--opa-cinza-claro);
  padding: 0 1rem;
  font-family: var(--font-family-soleil);
  font-style: normal;
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1.375rem;
  letter-spacing: -0.01em;
  color: var(--opa-cinza-escuro);
}

.container-page-gallery .form-filter select option{
  background-size: cover;
  width: 3rem;
  height: 3rem;
}

.container-page-gallery .form-filter input::placeholder,
.container-page-gallery .form-filter input::-ms-input-placeholder,
.container-page-gallery .form-filter input::-ms-input-placeholder {
  color: var(--opa-cinza-escuro)
}


.dropdown-months dd, 
.dropdown-months dt, 
.dropdown-months ul,
.dropdown-pub dd,
.dropdown-pub dt,
.dropdown-pub ul,
.dropdown-years dd, 
.dropdown-years dt, 
.dropdown-years ul { 
  margin:0px; 
  padding:0px; 
}
.dropdown-pub dd,
.dropdown-months dd,
.dropdown-years dd { 
  position:relative; 
}
.dropdown-months a, 
.dropdown-years a, 
.dropdown-pub a,
.dropdown-pub a:visited,
.dropdown-months a:visited,
.dropdown-years a:visited { 
  font-family: var(--font-family-soleil);
  font-style: normal;
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1.375rem;
  letter-spacing: -0.01em;
  color: var(--opa-cinza-escuro);
}
.dropdown-pub dt a:hover,
.dropdown-months dd a:hover, 
.dropdown-years dd a:hover{
  color: var(--opa-marrom-claro);
}
.dropdown-pub dt a,
.dropdown-months dt a,
.dropdown-years dt a {
  background: transparent;
  background-image: url("/wp-content/themes/labbotheme/assets/img/arrow-down-s-line.svg");
  background-repeat: no-repeat;
  background-position-x: 95%;
  background-position-y: 50%;
  
  width: 100%;
  display: flex;
  align-items: center;
  height: 4.375rem;
  line-height: 4.375rem;
  border: 1px solid var(--opa-cinza-claro);
  padding: 0 1rem;
  
}
.dropdown-pub dt a span,
.dropdown-months dt a span,
.dropdown-years dt a span {
  cursor: pointer; 
  padding: 0 1rem;
  position: relative;
  top: 3px;
}
.dropdown-pub dd ul,
.dropdown-months dd ul,
.dropdown-years dd ul { 
  background: var(--opa-branco) none repeat scroll 0 0; 
  border-bottom: 1px solid var(--opa-cinza-claro);
  border-left: 1px solid var(--opa-cinza-claro);
  border-right: 1px solid var(--opa-cinza-claro);
  color: var(--opa-cinza-escuro);
  display: none;
  left: 0px; 
  padding: 1rem 0 1rem 1rem; 
  position: absolute; 
  top: 0px; 
  width: auto; 
  min-width: 170px; 
  list-style: none;
  width: 100%;
  z-index: 999;
}
.dropdown-pub span.value,
.dropdown-months span.value,
.dropdown-years span.value { 
  display:none;
}
.dropdown-pub dd ul li a,
.dropdown-months dd ul li a, 
.dropdown-years dd ul li a { 
  padding:5px; 
  display:block;
}
.dropdown-pub img.flag,
.dropdown-months img.flag,
.dropdown-years img.flag { 
  border:none; 
}
.flagvisibility { 
  display:none;
}
#search_input_products {
  grid-column: 1/4;
}


@media only screen and (max-width: 991px) {
  .container-page-gallery{
    padding: 0 1rem;
  }
  .container-page-gallery .form-filter{
    grid-template-columns: 100%;
  }
  .container-page-gallery .galleries{
    grid-template-columns: 100%;
  }
}

@media only screen and (max-width: 600px) {
  .container-page-gallery .galleries{
    grid-template-columns: 100%;
  }
}
.lity-container {
    padding: 5% 15%;
}
.owl-modal-gallery .owl-carousel.owl-drag .owl-item {
    display: flex;
    justify-content: center;
}
.img-modal {
height: 600px;
object-fit: cover;
}
.opa-instagram {
  padding: 0;
}