.imgs-grid {
  max-width: 100%;
  margin: 0 auto;
  font-size: 0;
}
/*
.imgs-grid.imgs-grid-1 .imgs-grid-image {
  width: 100%;
  text-align: center;
}
.imgs-grid.imgs-grid-2 .imgs-grid-image,
.imgs-grid.imgs-grid-4 .imgs-grid-image {
  width: 50%;
}
.imgs-grid.imgs-grid-3 .imgs-grid-image,
.imgs-grid.imgs-grid-6 .imgs-grid-image {
  width: 33.333333333333336%;
}
.imgs-grid.imgs-grid-5 .imgs-grid-image:nth-child(1),
.imgs-grid.imgs-grid-5 .imgs-grid-image:nth-child(2),
.imgs-grid.imgs-grid-5 .imgs-grid-image:nth-child(3) {
  width: 33.333333333333336%;
}
.imgs-grid.imgs-grid-5 .imgs-grid-image:nth-child(4),
.imgs-grid.imgs-grid-5 .imgs-grid-image:nth-child(5) {
  width: 50%;
}
*/
.imgs-grid .imgs-grid-image {
  position: relative;
  display: inline-block;
  padding: 1px;
  box-sizing: border-box;
  text-align: center;
width: 20%;
}
.imgs-grid .imgs-grid-image:before {
  content: "";
  display: block;
  position: absolute;
  top: 1px;
  left: 1px;
  right: 1px;
  bottom: 1px;
  background-color: #f0f0f0;
}
.imgs-grid .imgs-grid-image:hover {
  cursor: pointer;
}
.imgs-grid .imgs-grid-image .image-wrap {
  position: relative;
  display: flex;
  overflow: hidden;
  vertical-align: middle;
  height:120px;
  line-height: 120px;
  width:auto;
  align-items: center;
    justify-content: center;
}
.imgs-grid .imgs-grid-image .image-wrap img {
  position: relative;
   width: 100%;
    height: 120px;
    margin: 0;
    object-fit: cover;
}
.imgs-grid .imgs-grid-image .view-all {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  text-align: center;
}
.imgs-grid .imgs-grid-image .view-all:before {
  display: inline-block;
  content: "";
  vertical-align: middle;
  height: 100%;
}
.imgs-grid .imgs-grid-image .view-all:hover {
  cursor: pointer;
}
.imgs-grid .imgs-grid-image .view-all:hover .view-all-text {
  text-decoration: underline;
}
.imgs-grid .imgs-grid-image .view-all .view-all-cover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: black;
  opacity: 0.4;
}
.imgs-grid .imgs-grid-image .view-all .view-all-text {
  position: relative;
  font-size: 16px;
  font-family:'Heebo Bold',arial, sans-serif;
  color: white;
    line-height: 1;
    display: inline-block;
    margin: 25px 0;
}
@media (max-width: 350px) {
  .imgs-grid .imgs-grid-image .view-all .view-all-text {
    font-size: 10px;
  }
 
}
.imgs-grid-modal {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background-color: #000;
  opacity: 0;
  z-index: 100;
  -webkit-user-select: none;
  -moz-user-select: -moz-none;
  -khtml-user-select: none;
  -o-user-select: none;
  user-select: none;
}
.imgs-grid-modal .modal-caption {
  padding: 30px 50px;
  text-align: center;
  color: white;
}
.imgs-grid-modal .modal-close {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 35px;
  height: 35px;
  background-image: url(img/imgs-grid-icons.png);
  background-repeat: no-repeat;
  background-position: -100px;
      z-index: 9999;
      cursor: pointer;
}
.imgs-grid-modal .modal-close:hover {
  cursor: pointer;
}
.imgs-grid-modal .modal-inner {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}
.imgs-grid-modal .modal-inner .modal-control {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 70px;
}
.imgs-grid-modal .modal-inner .modal-control:hover {
  cursor: pointer;
}
.imgs-grid-modal .modal-inner .modal-control.left {
  left: 0;
}
.imgs-grid-modal .modal-inner .modal-control.right {
  right: 0;
}
.imgs-grid-modal .modal-inner .modal-control .arrow {
  margin: 0 auto;
  height: 100%;
  width: 40px;
  background-repeat: no-repeat;
  background-image: url(img/imgs-grid-icons.png);
  cursor: pointer;
}
.imgs-grid-modal .modal-inner .modal-control .arrow.left {
  background-position: 2px center;
}
.imgs-grid-modal .modal-inner .modal-control .arrow.right {
  background-position: -42px center;
}
.imgs-grid-modal .modal-inner .modal-image {
  position: absolute;
  top: 0;
  left: 70px;
  right: 70px;
  bottom: 0;
  text-align: center;
}
.imgs-grid-modal .modal-inner .modal-image center{
  height:100%;
}
.imgs-grid-modal .modal-inner .modal-image:before {
  display: inline-block;
  content: "";
  vertical-align: middle;
  /*height: 100%;*/
}
.imgs-grid-modal .modal-inner .modal-image img {
  max-width: 100%;
  max-height: 100%;
  vertical-align: middle;
}
.imgs-grid-modal .modal-inner .modal-image img:hover {
  cursor: pointer;
}
.imgs-grid-modal .modal-inner .modal-loader {
  display: inline-block;
  vertical-align: middle;
  color: silver;
  font-size: 14px;
  display: none;
}

@media (max-width: 800px) {
  .imgs-grid-modal .modal-inner .modal-control {
    width: 40px;
  }
  .imgs-grid-modal .modal-inner .modal-control .arrow {
    -webkit-transform: scale(0.7);
    -moz-transform: scale(0.7);
    -o-transform: scale(0.7);
    -ms-transform: scale(0.7);
    transform: scale(0.7);
  }
  .imgs-grid-modal .modal-inner .modal-image {
    left: 0;
    right: 0;
  }
		  .imgs-grid .imgs-grid-image {
			width: 33.333333333333336%;
		}
		
	.imgs-grid .imgs-grid-image .image-wrap {
		height: 70px;
		line-height: 70px;
		width: 100%;
	}
	.imgs-grid .imgs-grid-image .image-wrap img {
    height: 70px;
}
	.imgs-grid .imgs-grid-image .view-all .view-all-text{
		    font-size: 12px;
  
	}
	 .imgs-grid-modal .modal-inner .modal-control{
	  display:none;
   }
   
   .imgs-grid-modal .modal-inner .modal-image1 {
    position: relative;
    bottom: 0;
    text-align: center;
    transform: translate(-50%,-50%);
    left: 50%;
    top: 50%;
    right: auto;
  }
  .imgs-grid-modal .modal-inner .modal-loader {
    
    
    display: none;
  }
  
}
.imgs-grid-modal .modal-indicator {
  position: absolute;
  bottom: 0;
  height: 60px;
  width: 100%;
  text-align: center;
}
.imgs-grid-modal .modal-indicator ul {
  margin: 0;
  padding: 0;
}
.imgs-grid-modal .modal-indicator ul li {
  display: inline-block;
  width: 12px;
  height: 12px;
  border: 1px solid white;
  box-sizing: border-box;
  border-radius: 100%;
  margin: 0 1px;
  vertical-align: middle;
}
.imgs-grid-modal .modal-indicator ul li:hover {
  cursor: pointer;
}
.imgs-grid-modal .modal-indicator ul li.selected {
  background-color: white;
  width: 14px;
  height: 14px;
  margin: 0;
}


@media (min-width: 992px) {
	.imgs-grid-modal .modal-inner {
	  top: 60px;
	  bottom: 60px;
	}

	.imgs-grid{
		display:flex;
	}

}
body.image-modal-open{
	
	overflow: hidden;
}
.modal-image iframe{
 
  height:100%;
  width:100%;
  max-width: 98vh;
}
.instagram-media{
  border:0px solid black !important;
}

iframe.facebook{
  
  max-width: 600px;

}

.imgs-grid-modal .modal-inner {	
	bottom: 130px;
}
.modal-reel {
	height: 124px;	
	position: fixed;
	bottom: 0;
	right:50px;
	width: 100%;
	z-index: 1;	
	transition: all 1s;
	
}
.modal-reel-wrapper{
	
	overflow: hidden;
	height: 124px;	
	position: fixed;
	bottom: 0;
	width: 100%;
	z-index: 1;		
	background: #000;
}
.reel-thumb{
	width:120px;
	max-width:120px;
	height:120px;
	padding:0px;
	display:inline-block  ;	
	text-align: center;
	vertical-align: middle;
	line-height: 120px;
	position: relative;
	cursor: pointer;
	overflow: hidden;
}
.reel-thumb.selected {
border:1px solid  #ff6083;
}

.reel-thumb img {
	max-width: 100px;
	max-height: 100px;
	border-radius: 5px;
	object-fit: cover;
	width: auto; 
	height: auto; 
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}
.modal-left, .modal-right {
	position: fixed;
	bottom: 45px;
	z-index: 2;
	cursor: pointer;
	background: #fff;
	height: 30px;
	width: 30px;
	text-align: center;
	border-radius: 50%;
	line-height: 30px;
}
.modal-left{
	left: 15px;;
}
.modal-right {	
	right: 15px;
}


@media (max-width: 800px) {

 .gallery_type_image .modal-reel{
    height:auto;
    width:auto !important;
    position: relative;
    right:0px;
    padding-top: 5px;
    cursor: pointer;
  }
  .gallery_type_image .modal-reel-wrapper{
    overflow: scroll;
    position: relative;
    height: auto;
    top:440px;
    top:0;
  }
  .gallery_type_image.imgs-grid-modal .modal-inner {
    position: absolute;
    padding: 0 10px;
    z-index: 10;
    background: #000;
    height: 440px;
    display: none;
  }
  .gallery_type_image.imgs-grid-modal{
    position: fixed;
    bottom: auto;
    height: 100vh;
    overflow: scroll;
    
  }

  .gallery_type_image.imgs-grid-modal .modal-inner .modal-image{
    position: relative;
  }

  .gallery_type_image .modal-right,.gallery_type_image .modal-left{
    display: none;
  }

  .gallery_type_image #modal-image{
    background: none no-repeat;
    background-size: contain !important;
    height:360px;
    top:40px;
  }
  .gallery_type_image.imgs-grid-modal .modal-inner .modal-image img{
    display: none !important;
  }
 

  .gallery_type_image .reel-thumb{
    width: 100%;
    max-width: 100%;
    height: auto;
    padding: 10px;
  }

  .gallery_type_image.imgs-grid-modal .modal-close{
    position: fixed;
  }
  .reel-thumb.selected{
    border:0;
  }
  .reel-thumb img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 5px;
    object-fit: fill;
    position: inherit;
    top: auto;
    left: auto;
    transform: none;
    width:100vw;
	box-shadow: 0 0 7px rgb(0 0 0 / 20%);
  }
  .modal-reel-wrapper{
	background: #fff;
	
}
}

/* Landscape */
@media (max-width: 800px) and (orientation:landscape) {

  .reel-thumb img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 5px;
    object-fit: fill;
    position: inherit;
    top: auto;
    left: auto;
    transform: none;
    width: 100vw;
    max-height: none;
    height: auto;
	box-shadow: 0 0 7px rgb(0 0 0 / 20%);
  }
}