
* {
  margin: 0px;
  box-sizing: border-box;
}

.thumb_gallery {
  cursor: pointer;
  margin-bottom: 30px;
}

.thumb_gallery:hover { opacity: 0.8; }

#background_overlay {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0, 0.9);
  z-index: 999;
  overflow: auto;
}

.container_img {
  position: relative;
  max-width: 1000px;
  max-height: 600px;
  margin: 2% auto;
  animation-name: zoom_image;
  animation-duration: 0.4s;
}

.con-ac-ar {
  width: 1000px;
  height: 600px;
  position: relative;
}

.closebtn {
  text-align: right;
  font-size: 2.5em;
  color: rgb(255, 255, 255);
  cursor: pointer;
}

.activePopUpImg {
  width: 1000px;
  height: 600px;
  padding: 2px;
  background-color: rgb(255, 255, 255);
  border-radius: 5px;
}

.previousImage, .nextImage {
  color: #fff;
  font-size: 2.5em;
  cursor: pointer;
  opacity: 0;
  width: 80px;
  text-align: center;
}

.previousImage {
  position: absolute;
  line-height: 600px;
  top: 0;
  left: 0;
  bottom: 0;
}

.nextImage {
  position: absolute;
  line-height: 600px;
  top: 0;
  right: 0;
  bottom: 0;
}

.previousImage:hover {
  opacity: 1;
  transition: 0.2s;
}

.nextImage:hover {
  opacity: 1;
  transition: 0.4s;
}




.logo-design-page .container_img, .logo-design-page .con-ac-ar{max-width: 500px; height: auto;}
.logo-design-page .container_img .activePopUpImg{width: 100%; height: auto;}
.logo-design-page .con-ac-ar .nextImage, .logo-design-page .con-ac-ar .previousImage{line-height: 500px;}


.print-design .content{position: relative; overflow: hidden; margin-bottom: 25px;}
.print-design .content .thumb_gallery {
  opacity: 1;
  display: block;
  width: 100%;
  height: auto;
  transition: .5s ease;
  backface-visibility: hidden;
  transition: all .5s ease-in-out;
  margin-bottom: 0;
}

.print-design .content .middle {
  transition: .5s ease;
  opacity: 0;
  position: absolute;
  text-align: left;
   background: rgba(0,0,0,0.8);
    padding:30px;
    color: #fff;
    top: 0%;
    left: 0;
    right: 0;
    bottom: 0;
  color: #fff;
}

.print-design  .content:hover .thumb_gallery {
  opacity: 0.5; transform: scale(1.3);
}

.print-design .content:hover .middle {
  opacity: 1;
}

.home_page .special-sec h3{margin-left: 0;}
.print-design .portfolioBrochure.smart-work-sec{margin-top: 50px;}
.print-design .portfolioBrochure .thumb_gallery{cursor: default;}
.print-design .brochurePortSection h2, .logoDesignPortfolio h2{margin-bottom: 50px;}
.logoDesignPortfolio .thumb_gallery{width: 100%;}


@keyframes
zoom_image {  from {
  transform: scale(0.5)
}

  to { transform: scale(1) }
}
@media screen and (min-width: 650px) and (max-width: 1100px) {

  .container_img {
    width: 100%;
    height: 500px;
  }

  .con-ac-ar {
    width: 100%;
    height: 500px;
  }

  .activePopUpImg {
    width: 100%;
    height: 500px;
  }

  .previousImage, .nextImage { line-height: 500px; }
}
@media screen and (min-width: 351px) and (max-width: 649px) {

  .container_img {
    width: 100%;
    height: 400px;
  }

  .con-ac-ar {
    width: 100%;
    height: 400px;
  }

  .activePopUpImg {
    width: 100%;
    height: 400px;
  }

  .previousImage, .nextImage { line-height: 400px; }
}
@media screen and (max-width: 350px) {

  .container_img {
    width: 100%;
    height: 300px;
  }

  .con-ac-ar {
    width: 100%;
    height: 300px;
  }

  .activePopUpImg {
    width: 100%;
    height: 300px;
  }

  .previousImage, .nextImage { line-height: 300px; }
}
