.wrapper{
  margin: 10px auto;
  max-width: 1100px;
  max-height: auto;
  height: 100%;
}
.wrapper nav{
  display: flex;
  justify-content: center;
  
}
.wrapper .items{
  display: flex;
  max-width: 620px;
  text-align: center;
    width: 100%;
    z-index: 1;
  
}
.items span{
  padding: 6px 20px;
  font-size: 15px;
  font-weight: 300;
  cursor: pointer;
  color: #FAC564;
  margin-right: 10px;
  border: 1px solid #FAC564;
  transition: all 0.3s ease;
}
.items span.active,
.items span:hover{
  color: #fff;
  background: #FAC564;
}
.gallery{
  display: flex;
  flex-wrap: wrap;
  position: relative;
  margin-top: 30px;
  column-count: 3;
  max-width:100%;

  
 

}
.gallery .image{


  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 20px;
  padding: 0px;
  box-sizing: border-box;
  background-color: white;
}
.gallery .image span{
  display: flex;
  width: 100%;
  overflow: hidden;
}
.gallery .image img{
   width: 100%;
  vertical-align: middle;
  transition: all 0.3s ease;
  
}

.gallery .image.hide{
  display: none;
}
.gallery .image.show{
  animation: animate 0.4s ease;
}
@keyframes animate {
  0%{
    transform: scale(0.5);
  }
  100%{
    transform: scale(1);
  }
}



/*@media screen and(max-width:375px){
  .gallery{
    column-count: 1;
  }
}*/





/**/
.preview-box{
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  background: #fff;
  max-width: 700px;
  width: 100%;
  z-index: 5;
  opacity: 0;
  pointer-events: none;
  border-radius: 3px;
  padding: 0 5px 5px 5px;
  box-shadow: 0px 0px 15px rgba(0,0,0,0.2);
}
.preview-box.show{
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
  transition: all 0.3s ease;
}
.preview-box .details{
  padding: 13px 15px 13px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.details .title{
  display: flex;
  font-size: 18px;
  font-weight: 400;
}
.details .title p{
  font-weight: 500;
  margin-left: 5px;
}
.details .icon{
  color: #007bff;
  font-style: 22px;
  cursor: pointer;
}
.preview-box .image-box{
  width: 100%;
  display: flex;
}
.image-box img{
  width: 100%;
  border-radius: 0 0 3px 3px;
}
.shadow{
  position: fixed;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  z-index: 2;
  display: none;
  background: rgba(0,0,0,0.4);
}
.shadow.show{
  display: block;
}
@media (max-width: 1000px) {
  .gallery .image{
    width: calc(100% / 3);
  }
}
@media (max-width: 800px) {
  .gallery .image{
    width: calc(100% / 2);
  }
}
@media (max-width: 700px) {

  .wrapper nav .items{
    max-width: 600px;
  }
  nav .items span{
    padding: 7px 15px;
  }
}
@media (max-width: 600px) {
  .wrapper{
    margin: 30px auto;
  }
  .wrapper nav .items{
    flex-wrap: wrap;
    justify-content: center;
  }
  nav .items span{
    margin: 5px;
  }
  .gallery{
    column-count: 1;
  }
  .gallery .image{
    width: 100%;
    margin-left: -15px;
  }
  .carousel-indicators{
    visibility: hidden;
  }
  .gallery-container{
    margin-top: -1000px;
  }
  .port-content{
    margin-bottom: 500px;
  }
}


/*####################################################*/
/* Hide the images by default */
.mySlides {
  display: none;
  position: relative;
}

/* Add a pointer when hovering over the thumbnail images */
.cursor {
  cursor: pointer;
}
.img-row{
    position: relative;

}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 40%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}

/* Position the "next button" to the right */
.next {
    margin-left: 1100px;
margin-top: 250px;
  border-radius: 3px 0 0 3px;
  background-color: black;
}

.prev{
    margin-top: 250px;
    margin-left: -30px;
    background-color: black;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* Container for image text */
.caption-container {
  text-align: center;
  background-color: #222;
  padding: 2px 16px;
  color: white;
}



/* Six columns side by side */
.column {
  float: left;
  width: 13.66%;
}

/* Add a transparency effect for thumnbail images */
.demo {
  opacity: 0.6;
}

.active,
.demo:hover {
  opacity: 1;
}


/*##############################################*/
.owl-carousel .owl-item img {
    display: block;
    width: 100px;
    height: 80px;
    margin-top: 5px;

}
.section-padding {
    padding: 0px 0;
}
.brand-carousel {
    
    margin: 0;
}
.owl-dots {
    text-align: center;
    
}
.owl-dot {
    display: inline-block;
    height: 15px !important;
    width: 15px !important;
    background-color: #444 !important;
    opacity: 0.8;
    border-radius: 50%;
    margin: 0 5px;
}
.owl-dot.active {
    background-color: black !important;
}



@media screen and (max-width: 767px){
.owl-carousel .owl-item img {
    display: block;
    width: 70%;
   
}
.box{
    margin-left:70px;
}

.next {
    right: 0;
margin-top: 10px;
  border-radius: 3px 0 0 3px;
  background-color: black;
}

.prev{
    margin-top: 10px;
    margin-left: -30px;
    background-color: black;
}
.image-container{
  margin-top: -490px;
}

.gallery .image img{
    min-width:110%;
}
.prev,
.next {
    position:absolute;
}
}





