@charset "utf-8";
/* (A) GALLERY WRAPPER */
/* (A1) BIG SCREENS - 3 VIDEOS PER ROW */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-gap: 10px;
  max-width: 1200px; /* optional */
  margin: 0 auto; /* optional */
}
 
/* (A2) SMALL SCREENS - 2 VIDEOS PER ROW */
@media screen and (max-width: 768px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
 
/* (B) GALLERY VIDEOS */
/* (B1) THUMBNAIL VIDEO */
.gallery video {
    width: auto;
    height: 100%;
    object-fit: cover; /* fill | contain | cover | scale-down */
    cursor: pointer;
	max-height: 700px;
}
 
/* (B2) FULLSCREEN VIDEO */
.gallery video.full {
  /*position: absolute;
  top: 0;
	left: 0;
	z-index: 999;*/
	margin: auto;
	padding:0px;
  width: calc(100% - 50px);
  /*height: 100vw;
	 height: calc(100% - 50px);*/
  background: #0b0b0b59;
  object-fit: scale-down;
}
 
/* (C) EXIT FULLSCREEN */
#vClose {
  position: fixed; 
	/*display: none;*/
  top: 0; right: 0; z-index: 9999;
  font-size: 20px; font-weight: 700;
  padding: 10px 15px;
  color: #fff;
  background: #741414;
  cursor: pointer;
}
#vClose.show { display: block; }