	/* to squares */
/*Muuri Gallery Grid Styles*/
.gallery-boris-grid{
  position: relative;
  width: 100%;
  margin: auto;
  margin-top: 20px;
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.gallery-boris-grid.loaded{
  opacity: 1;
}

@media (max-width: 677.98px) { 
  .gallery-boris-grid{  
	width: calc(var(--item-width) + 16px);;
  }

  .pswp__top-bar .pswp__button:not(:last-child) {
	margin: 0 2px !important;
  }
}

@media screen and (min-width: 677.99px) and (max-width:1007.98px) {
  .gallery-boris-grid{
	width: calc((var(--item-width) + 16px) * 2);
  }
}

@media (min-width: 1007.99px){
  .gallery-boris-grid{
	max-width: calc((var(--item-width) + 16px) * 3);
  }
}

.gallery-boris-header{
  text-align: center;
  margin-top: 5%;
}

/* plugins.styles.css */ /* agregado por mi */
  @media (max-width: 430px) {
  .gallery-boris-header {
	text-align: center;
	margin-top: 45%;
  }
}	

.gallery-boris-header .header-title{
  margin: 1.5rem 0 0 0;
  font-size: calc(1.125rem + 0.75vw);
  font-weight: 600;
}

.gallery-boris-header .header-description{
  margin: 0.5rem calc(0.725rem + 3vw) 0.5rem calc(0.725rem + 3vw);
  font-size: 0.85rem;
  opacity: 0.8;
}

.gallery-boris-header .header-description span{
  font-size: 0.725rem;
  color: #222;
  line-height: 0.675rem;

}


.gallery-boris-search{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0.875rem 0;
  width: 100%;
}

.gallery-boris-search form{
  position: relative;
}

.gallery-boris-search form::before{
  content: '';
  position: absolute;
  width:0.725rem;
  height: 0.725rem;
  border: 2px solid #222;
  left: 7px;
  top: 6px;
  border-radius: 1rem;
}

.gallery-boris-search form::after{
  content: '';
  position: absolute;
  width: 2px;
  height: 8px;
  background-color: #222;
  border-radius: 2px;
  transform: rotate(135deg);
  top: 17px;
  left: 21px;
}

.gallery-boris-search-bar{
  /* width: 20rem; /*
  /* min-width: 16rem; */
  width: auto;
  min-width: auto;
  height: 2rem;
  border: 1px solid #4f4f4f;
  border-radius: 2rem;
  padding: 0 1rem 0 1.825rem;
  font-family: inherit;
}
.gallery-boris-search-bar:focus-visible{
  outline: none;
  border-color: #222;
  background-color: #f0f0f0;
}

.gallery-boris-filters{
  position: relative;
  flex-wrap: wrap;
  display: flex;
  align-items: center;
  justify-content: center;
}


.gallery-boris-grid .item{
  display: block;
  position: absolute;
  width: var(--item-width);
  height: var(--item-height);
  margin: var(--item-v-margin) var(--item-h-margin);
  z-index: 1;
}

.gallery-boris-item{
  display: block;
  position: relative;
  width: 80%;
  height: 100%;
  border-radius: 0px;
  overflow: hidden;
}

.gallery-boris-item:hover{
  border: 2px solid rgba(0, 0, 0, 0.6);
}

.gallery-boris-item .overlay{
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: 0.4s ease-in;
}

.gallery-boris-item:hover .overlay{
  opacity: 1;
}



.gallery-boris-img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.4s ease-in-out;
}

.gallery-boris-item:hover .gallery-boris-img{
  transform: scale(1.08);
}


.gallery-boris-item:hover .hidden-caption-content{
  transform: translateY(0);
  opacity: 1;
}

/* todos los marcos no despuntados */
.gallery-item{
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 0px;
  overflow: hidden;
}






/* Responsive cuadrados */	
@media only screen and (max-width: 600px) and (orientation: portrait) {
.gallery-grid .item {
	  /* margin-left: 23%; */
	display: flex;
	justify-content: center;
  }
}
	
/* iPhone SE (1ra y 2da generación)*/
@media only screen and (max-device-width: 375px) and (max-device-height: 667px) {
.gallery-grid .item {
	  /* margin-left: 23%; */
	display: flex;
	justify-content: center;
  }
}

/* iPhone XR */
@media only screen and (max-device-width: 414px) and (max-device-height: 896px) {
.gallery-grid .item {
	  /* margin-left: 23%; */
	display: flex;
	justify-content: center;
  }
  }
  

/* iPhone 12 Pro */
@media only screen and (max-device-width: 390px) and (max-device-height: 844px) {
.gallery-grid .item {
	  /* margin-left: 23%; */
	display: flex;
	justify-content: center;
  }
}

/* iPhone 14 Pro Max */
@media only screen and (max-device-width: 430px) and (max-device-height: 932px) {
.gallery-grid .item {
	  /* margin-left: 23%; */
	display: flex;
	justify-content: center;
  }
  }
  

/* iPad Air (4ta generación) */
@media only screen and (min-device-width: 820px) and (max-device-width: 1180px) {
.gallery-grid .item {
	  /* margin-left: 23%; */
	display: flex;
	justify-content: center;
  }
}

/* iPad Pro */
@media only screen and (min-device-width: 1024px) and (max-device-width: 1366px) {
.gallery-grid .item {
	  /* margin-left: 23%; */
	display: flex;
	justify-content: center;
  }
}

/* iPad Mini (5ta generación) */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
.gallery-grid .item {
	  /* margin-left: 23%; */
	display: flex;
	justify-content: center;
  }
}	