@charset "utf-8";

.mfp-close-btn-in .popup-content .mfp-close {
  background-color: #000;
  color: #fff;
  opacity: 1;
  transition: all 0.3s ease;
}

.mfp-close-btn-in .popup-content .mfp-close:hover {
  opacity: .8;
}

.masonry-section {
  
}

.masonry-section .masonry-filter {
  text-align: center;
}

.masonry-section .masonry-filter > a {
  background: transparent;
  border: none;
  margin: 0 10px;
  padding: 0 0 2px 0;
  display: inline-block;
  color: #6f6f6f;
}

.masonry-section .masonry-filter > a.active,
.masonry-section .masonry-filter > a:hover {
  background: transparent;
  border-bottom: 1px solid #232323;
  color: #232323
}

.masonry-section .masonry-grid {
  overflow-x: hidden;
}

.masonry-section .masonry-grid > ul {
  overflow-x: hidden;
  margin: 0 -10px;
}

.masonry-section .masonry-grid .grid-item {
  position: relative;
  margin: 0 10px 20px;
}

.masonry-section .visible_item {display: none;}

.masonry-section .grid-item figure {
  margin: 0;
}

.masonry-section .grid-item img {
  width: 100%;
}

.masonry-section .grid-item:hover figcaption {
  opacity: 1;
  transform: translate(-50%, 0);
}


/* MORE-BUTTON */
.masonry-grid+.load-more {
  display: table;
  margin: 40px auto;
  padding: 10px 50px 8px;
  width: auto;
  background-color: #0F3036;
  border: 2px solid #0F3036;
  line-height: inherit;
  border-radius: 0;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: #fff;
  font-weight: 600;
  transition-duration: 0.3s;
  transition-timing-function: ease-in-out;
}

.masonry-grid+.load-more:hover {
  background: transparent;
  color: #0F3036;
}

@media screen and (max-width: 767px) {
  .masonry-grid+.load-more {
    margin: 20px auto;
    padding: 7px 35px 4px;
    font-size: 15px;
  }
  
  .masonry-section .masonry-grid > ul {
    margin: 0 -5px;
  }
  
  .masonry-section .masonry-grid .grid-item {
    position: relative;
    margin: 0 5px 10px;
  }
  
}



/*  */
.popup-content {
  position: relative;
  margin: 0 auto;
  max-width: 1200px;
  background-color: #fff;
}

.popup-content img {
  max-width: 100%;
}

.popup-content-info h6 {
  padding: 30px 0 20px 30px;
  font-size: 24px;
  background: #fff;
  font-weight: 600;
  color: #000;
  z-index: 9;
}

.popup-content-info > div {
  position: absolute;
  overflow-y: auto;
  top: 90px;
  left: 30px;
  right: 0;
  bottom: 0;
  height: calc(100% - 100px);
  font-size: 20px;
}

.popup-content-info ul li span {
  font-weight: 600;
  padding-right: 20px;
  color: #2C7745;
}

@media (max-width:768px) { 
  .popup-content-info {
    
  }
  
  .popup-content-info h6 {
    padding: 20px 0 10px 20px;
    font-size: 20px;
  }
  
  .popup-content-info > div {
    position: relative;
    top: initial;
    left: initial;
    height: 100%;
    font-size: 15px;
    padding: 20px 0 20px 20px;
  }
  
}