.overlay-bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);   
  -webkit-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  transition: all 0.5s ease;      
}
.parallax {
  width: 100%;
  background-position: 50% 0;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;   
  position: relative;      
}

.owl-prev {
  left: 0;
}
.owl-next {
  right: 0;
}
.owl-prev,
.owl-next { 
  color: #FFF;
  font-size: 50px;
  position:absolute; 
  top: 50%;
  transform: translate(0, -50%);
  width: 54px;
  height: 84px;
  background-color: rgba(0,0,0,0.6);
  text-align: center;
  line-height: 84px;
  z-index: 10;
  cursor: pointer;
  -webkit-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  transition: all 0.5s ease;
}
.owl-prev:hover,
.owl-next:hover {  
  background-color: rgba(0,0,0,1);
  color: #FFF;
}
.owl-dots {
  margin: 0 auto;
  left: 0;
  right: 0;
  text-align: center;
}
.owl-dot {
  width: 10px;
  height: 10px;
  border-radius: 100%;
  border: 1px solid #000;
  background: transparent;
  margin-right: 5px;
  display: inline-block; 
}
.owl-dot.active {
  border: 1px solid #0891FF;
  background: #0891FF;
}
@media(max-width:767px) {  
  .owl-nav {
    visibility: hidden;
  }   
}




/* ================================= */
    /*===== Work Gallery =====*/
/* ================================= */
.work-gallery-main-block {
  position: relative;
}

.work-gallery-main-block .section-heading,
.work-gallery-main-block .sub-heading {
  color: #FFF;
  position: relative;
}
.work-gallery-block {
  position: relative;
  overflow: hidden;
}
.work-gallery-block .overlay-bg {
  text-align: center;
  background-color: rgba(255,153,51,0.6);
  -webkit-transform:scale(0);
  -moz-transform:scale(0);
  -ms-transform:scale(0);
  -o-transform:scale(0);
  transform:scale(0);
}
.work-gallery-block:hover .overlay-bg { 
  -webkit-transform:scale(0.95);
  -moz-transform:scale(0.95);
  -ms-transform:scale(0.95);
  -o-transform:scale(0.95);
  transform:scale(0.95);
}
.work-gallery-block img { 
  -webkit-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  transition: all 0.5s ease;
}
.work-gallery-block:hover img { 
  -webkit-transform:scale(1.3);
  -moz-transform:scale(1.3);
  -ms-transform:scale(1.3);
  -o-transform:scale(1.3);
  transform:scale(1.3);
}
.work-gallery-block .overlay-bg i {
  color: #FFF;
  font-size: 25px;
  line-height: 50px;
  border-radius: 100%;
  border: 2px solid #FFF;
  width: 50px;
  height: 50px;
  text-align: center;
  position:absolute;
  top: 50%;
  left: 50%;
  margin-right: -50%;
  transform: translate(-50%, -50%);
  -webkit-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  transition: all 0.5s ease;
}
.work-gallery-block .overlay-bg i:hover {
  background-color: #0891FF;  
}
.work-gallery-two-main-block {
  padding: 72px 0 80px;
}
.work-gallery-two-main-block .section-heading,
.work-gallery-two-main-block .sub-heading {
  color: #000;
}


.clients-main-block {
  background-color: #F4F4F4;
  padding: 30px 0;
}
.client-slider {
  cursor: -webkit-grab;
}
.client-img {
  display: block;
  margin: 0 auto;
  -webkit-filter: grayscale(100%); 
  -moz-filter: grayscale(100%); 
  -ms-filter: grayscale(100%); 
  -o-filter: grayscale(100%); 
  filter: grayscale(100%);
  -webkit-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  transition: all 0.5s ease;
}
.client-img:hover {
  -webkit-filter: grayscale(0); 
  -moz-filter: grayscale(0); 
  -ms-filter: grayscale(0); 
  -o-filter: grayscale(0); 
  filter: grayscale(0);
}
.owl-carousel .owl-item .client-img img{
	width:auto;
}



/* ================================= */
    /*===== Portfolio Col-3 =====*/
/* ================================= */
.portfolio-col-three-main {
  margin: 73px 0 50px;
}
.portfolio-img {
  position: relative;
  overflow: hidden;
  margin-bottom: 30px;
}
.portfolio-img img {
  width: 100%;
}

/* ================================= */
    /*===== Portfolio Col-3 Full Width =====*/
/* ================================= */
.portfolio-full-three-main {
  margin: 73px 0 80px;
}
.portfolio-full-three-main .col-md-4,
.portfolio-full-three-main .col-sm-6 {
  padding: 0;
}
.portfolio-full-three-main .portfolio-img {
  margin-bottom: 0;
}

/* ================================= */
    /*===== Portfolio Col-4 =====*/
/* ================================= */
.portfolio-col-four-main {
  margin: 0px 0 0px;
}

/* ================================= */
    /*===== Portfolio Col-4 Full-width =====*/
/* ================================= */
.portfolio-full-four-main {
  margin: 73px 0 80px;
}
.portfolio-full-four-main .col-md-4,
.portfolio-full-four-main .col-sm-6 {
  padding: 0;
}
.portfolio-full-four-main .portfolio-img {
  margin-bottom: 0;
}

/* ================================= */
    /*===== Portfolio Col-5 =====*/
/* ================================= */
.portfolio-col-five-main {
  margin: 73px 0 50px;
}
.col-five {
  width: 20%;
  height: auto;
}
@media(max-width:767px) { 
  .col-five {
    width: 100%;
  } 
}
@media (min-width: 767px) and (max-width: 992px) { 
  .col-five {
    width: 50%;
  } 
}
/* ================================= */
    /*===== Portfolio Col-5 Full-width =====*/
/* ================================= */
.portfolio-full-five-main {
  margin: 73px 0 80px;
}
.portfolio-full-five-main .col-md-4,
.portfolio-full-five-main .col-sm-6 {
  padding: 0;
}
.portfolio-full-five-main .portfolio-img {
  margin-bottom: 0;
}


/* ================================= */
    /*===== Portfolio Masonry =====*/
/* ================================= */
.portfolio-masonry-main {
  margin: 72px 0 80px;
}
.portfolio-masonry-block {     
  -webkit-column-count: 4; 
  -moz-column-count: 4;
  column-count: 4;
  -webkit-column-gap: 0;
  -moz-column-gap: 0;
  column-gap: 0;
  -webkit-column-width: 25%;
  -moz-column-width: 25%;
  column-width: 25%;
}
.portfolio-masonry-block .portfolio-img { 
  margin-bottom: 0;
  overflow: visible;
}
.portfolio-masonry-block .portfolio-block {
  position: relative;
}
.portfolio-masonry-block .portfolio-block .overlay-bg {
  text-align: center;
  background-color: rgba(255,153,51,0.6);
  -webkit-transform:scale(0);
  -moz-transform:scale(0);
  -ms-transform:scale(0);
  -o-transform:scale(0);
  transform:scale(0);
}
.portfolio-masonry-block .portfolio-block:hover .overlay-bg { 
  -webkit-transform:scale(0.95);
  -moz-transform:scale(0.95);
  -ms-transform:scale(0.95);
  -o-transform:scale(0.95);
  transform:scale(0.95);
}
.portfolio-masonry-block .portfolio-block .overlay-bg i {
  color: #FFF;
  font-size: 25px;
  line-height: 50px;
  border-radius: 100%;
  border: 2px solid #FFF;
  width: 50px;
  height: 50px;
  text-align: center;
  position:absolute;
  top: 50%;
  left: 50%;
  margin-right: -50%;
  transform: translate(-50%, -50%);
  -webkit-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  transition: all 0.5s ease;
}
.portfolio-masonry-block .portfolio-block .overlay-bg i:hover {
  background-color: #0891FF;  
}
@media (max-width: 767px) {
  .portfolio-masonry-main .portfolio-masonry-block {
    -webkit-column-count: 1; 
    -moz-column-count: 1;
    column-count: 1;
    -webkit-column-gap: 0;
    -moz-column-gap: 0;
    column-gap: 0;
    -webkit-column-width: 100%;
    -moz-column-width: 100%;
    column-width: 100%;   
  }
}
@media (min-width: 767px) and (max-width: 992px) { 
  .portfolio-masonry-main .portfolio-masonry-block {
    -webkit-column-count: 2; 
    -moz-column-count: 2;
    column-count: 2;
    -webkit-column-gap: 0;
    -moz-column-gap: 0;
    column-gap: 0;
    -webkit-column-width: 50%;
    -moz-column-width: 50%;
    column-width: 50%;   
  }
}



@media(max-width:767px) {   
  .product-gallery-thumb {
    display: inline-block;
    margin: 30px 2px;
  }
  .product-quantity {    
    width: 50%;
  }
}
@media (min-width: 767px) and (max-width: 992px) { 
  .product-gallery-thumb {
    width: 100%; 
  }
}

