@import url(../css/fancybox.css);
html {
  scroll-behavior: smooth;
}

.clr {
  width: 100%;
  float: left;
}
.img {
  width: 100%;
}
a, .btn, button {
  -webkit-transition: all 0.5s ease-out 0s;
  -moz-transition: all 0.5s ease-out 0s;
  -ms-transition: all 0.5s ease-out 0s;
  -o-transition: all 0.5s ease-out 0s;
  transition: all 0.5s ease-out 0s;
  color: #000000;
  outline: none;
  cursor: pointer;
  outline: 0;
  text-decoration: none;
}
a:focus, .btn:focus, button:focus, select:focus, .custom-select:focus, .form-control:focus {
  text-decoration: none;
  outline: none;
  box-shadow: none;
}
.btn:hover, a:hover, button:hover {
  color: #b0807d;
  text-decoration: none;
  -webkit-transition: all 0.5s ease-out 0s;
  -moz-transition: all 0.5s ease-out 0s;
  -ms-transition: all 0.5s ease-out 0s;
  -o-transition: all 0.5s ease-out 0s;
  transition: all 0.5s ease-out 0s;
}
h1, h2, h3, h4, h5, h6 {
  color: #000000;
  font-weight: 400;
  text-transform: normal;
  margin-bottom: 10px;
}
ul {
  margin: 0px;
  padding: 0px;
}
li {
  list-style: none;
}


/* gallery */

.masonry {
  -webkit-column-gap: 1em;
  -moz-column-gap: 1em;
  column-gap: 1em;
  -moz-column-gap: 1.5em;
  -webkit-column-gap: 1.5em;
  column-gap: 1.5em;
}
.gallery-box .img {
  max-width: 100%;
  height: 500px;
  object-fit: cover;
}

.slam-balk-gallery .gallery-box .img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
  box-shadow: -1px 1px 9px #00000040;
}
.masonry .item {
  display: inline-block;
  background: #ffffff;
  padding: 0px;
  margin: 0 0 1.5em;
  width: 100%;
  transition: 1s ease all;
  -webkit-transition: 1s ease all;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-shadow: 2px 2px 4px 0 #ccc;
  /* float: left; */
}

@media only screen and (max-width:320px) {
  .masonry {
    -moz-column-count: 1;
    -webkit-column-count: 1;
    column-count: 1;
  }
}

@media only screen and (min-width:321px) and (max-width:768px) {
  .masonry {
    -moz-column-count: 2;
    -webkit-column-count: 2;
    column-count: 2;
  }
}

@media only screen and (min-width:769px) and (max-width:1200px) {
  .masonry {
    -moz-column-count: 3;
    -webkit-column-count: 3;
    column-count: 3;
  }
}

@media only screen and (min-width:1201px) {
  .masonry {
    -moz-column-count: 3;
    -webkit-column-count: 3;
    column-count: 3;
  }
}
.gallery-title .div-title {
  font-size: 18px;
  color: #000;
  line-height: 28px;
  text-align: center;
  margin-bottom: 0;
  margin-top: 12px;
  display: none;
}
.gallery-box:hover .gallery-title .div-title {
  color: #fdb811;
}
.gallery-box {
  position: relative;
  margin-bottom: 23px;
} 
.gallery-box a {
  display: block;
  position: relative;
}
.gallery-box a:before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000000bd;
  -webkit-transition: 0.4s;
  -o-transition: 0.4s;
  transition: 0.4s;
  opacity: 0;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.gallery-box:hover a::before{
  opacity: 1;
}
.gallery-box .overlay {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
} 
.gallery-box:hover .overlay {
  opacity: 1;
} 
.gallery-box .overlay img {
 width: 30px;
} 
/* gallery */

.service-block {
  counter-increment: slides-num;
  border-radius: 5px;
  cursor: pointer;
}

 .service-block .inner-box .year {
  font-size: 30px;
  line-height: 1.2em;
  color: #000;
  font-weight: 500;
  width: 100%;
}

.service-block {
  position: relative;
  margin-bottom: 30px;display: flex;
  height: 100%;
}

.service-block:last-child {
  margin-bottom: 0px;
}

.service-block .inner-box {
  padding: 50px 45px;
background: #fff7f7;
border-radius: 7px;
transition: all 500ms ease;
width: 100%;
}
.service-block .inner-box:hover {
  background: #d9c5c4;
  color: #b5acac;
}
.service-block .inner-box:hover .download-btn a {
  color: rgb(211, 0, 0);
}

.service-block .download-btn img {
  width: 20px;
  height: 20px;
  background-blend-mode: inherit;
  mix-blend-mode: luminosity;
}
.service-block .download-btn img {
  width: 20px;
  height: 20px;
}
 .service-block .inner-box:hover .year {
  color: #fff;
  opacity: 1;
}

.service-block .inner-box h6 {
  position: relative;
  margin: 0;
  margin-top: 90px;
  font-size: 18px;
  text-transform: uppercase;
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 30px;
}

.service-block .inner-box p {
  font-size: 14px;
  letter-spacing: 1px;
}

.service-block .inner-box h6 a {
  color: #000;
  transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
}

.service-block .inner-box:hover:before,
.service-block .inner-box:hover .year,
.service-block .inner-box:hover h6,
.service-block .inner-box:hover p,
.service-block .inner-box:hover button,
.service-block .inner-box:hover h6 a {
  color: #000;
}

.download-btn a {
  display: block;
  font-size: 14px;
  line-height: 20px;
  color: #a00000;
  padding: 10px 0px;
  /* font-family: 'proxima_novabold'; */
  text-transform: uppercase;
  font-weight: bold;
  margin-top: 30px;
}




.portfolio-section .gallery-work {
  display: flex;
  align-content: center;
  justify-content: center;
  align-items: center;
  background-color: #f1f1f1;
  margin-bottom: 80px;
  padding: 50px;
}
.portfolio-section .gallery-box .img {
  height: 500px;
object-fit: cover;
width: auto;
width: auto !important;
max-width: auto !important;
max-width: fit-content;
}


.portfolio-section .gallery-content {
padding:0px;
padding-bottom: 0;
}.portfolio-section .gallery-content h4 {
  font-size: 2.5rem;
  }

  @media screen and (min-device-width: 320px) and (max-device-width: 768px) {
      .portfolio-section .gallery-work{
        margin-bottom: 30px;
    }
    .portfolio-section .gallery-content h4 {
        font-size: 25px;
        font-weight: 500;
    }
    .portfolio-section .gallery-content {
      padding: 20px 0;
      padding-bottom: 0;
   }

  }