/* cmsms stylesheet: buddy013_v1.0.1-portfolio-gallery modified: dinsdag 3 september 2024 23:05:54 */
@charset "utf-8";
/* ----------------------------------------------
  Portfolio & Gallery CSS Document - CMS Template Buddy
  Template No.: 013
  Version 1.0.1 / for CMSMS 2.2.10+	
  www.cmstemplatebuddy.com
  See our Copyrights page
------------------------------------------------- */

/* 
*  Portfolio gallery custom styles 
*  Magnific Popup - v1.1.0 - 2016-02-20
*  http://dimsemenov.com/plugins/magnific-popup/
*  Copyright (c) 2016 Dmitry Semenov;
================================================== */

/* Portfolio */
.portfolio-grid {
  display: flex;
  flex-wrap: wrap;
  margin: 10px -6px;
  max-width: 100%;
}
.portfolio-grid__item {
  flex: 0 0 calc(50% - 12px);
  max-width: calc(50% - 12px);
  margin: 0 6px 12px;
}
.portfolio-category {
  font-size: 13px;
  color: #777;
}
.portfolio-image {
  position: relative;
}
.portfolio-image a {
} 
.portfolio-image img {
}
.portfolio-title {
  text-transform: initial;
  font-size: 19px;
  font-weight: 600;
  line-height: 120%;
  letter-spacing: 0;
}
.portfolio-description {
  padding: 15px 5px 10px;
}
.portfolio-description h4 {
  margin: 0;
}
.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 2;
  text-align: center;
  background-color: rgba(0,0,0,0.5);
  transition: opacity .4s ease-in-out;
}
.portfolio-grid__item:hover .portfolio-overlay {
  opacity: 1;
}
.portfolio-overlay a {
  position: absolute;
  top: 50%;
  left: 50%;
  background-color: #F5F5F5;
  width: 40px !important;
  height: 40px !important;
  margin: -28px 0 0 -44px;
  font-size: 18px;
  line-height: 40px;
  text-align: center;
  color: #444;
  border-radius: 50%;
  -webkit-transition: all .2s linear;
  -o-transition: all .2s linear;
  transition: all .2s linear;
}
.portfolio-overlay .portfolio-image__right-icon {
  left: auto;
  right: 50%;
  margin-left: 0;
  margin-right: -44px;
  -webkit-transition-delay: .05s;
  -o-transition-delay: .05s;
  transition-delay: .05s;
}
.portfolio-grid__item:hover .portfolio-overlay .portfolio-image__left-icon, 
.portfolio-grid__item:hover .portfolio-overlay .portfolio-image__right-icon {
  margin-top: -18px;
}
.portfolio-shuffle {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border: 1px solid rgba(0,0,0,0.08);
  font-size: 14px;
  text-align: center;
  margin: 0 12px;
  line-height: 40px;
  color: #333;
  border-radius: 4px;
  cursor: pointer;
  -webkit-transition: all .2s linear;
  -o-transition: all .2s linear;
  transition: all .2s linear;
}
.portfolio-shuffle:hover {
  background-color: var(--color2-hex-color);
  color: #FFF;
  text-shadow: 1px 1px 1px rgba(0,0,0,0.2);
}
.portfolio-detail {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 40px;
}
.portfolio-detail__image {
  overflow: hidden;
}
.portfolio-detail__title {  
  font-size: 20px;
  font-weight: 600;
  padding-bottom: 10px;
  margin-bottom: 20px;
  text-transform: initial;
  border-bottom: 2px solid var(--color2-hex-color);
}
.portfolio-detail__category {
  color: #777;
  font-size: 13px;
}
.portfolio-detail__description {
  margin: 10px 0;
} 
.portfolio-detail__item-label {
  font-weight: 600;
}

/* Portfolio slider */
.portfolio-detail__slider {
  margin: 10px 0 20px;
  padding-top: 25px;
  opacity: 0;
} 
.progress-bar {
	position: relative;
	margin-top: 38px;
	height: 4px;
	background-color: #F5F5F5;
	box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
	border-radius: 2px;
}
.progress-bar:first-child { margin-top: 0; }
.progress-bar .progress {
	position: absolute;
	top: 0;
	left: 0;
	width: 0;
	height: 100%;
	background-color: var(--color2-hex-color);
	overflow: visible !important;
	border-radius: 2px;
	-webkit-transition: width 1.2s ease-in-out;
	-o-transition: width 1.2s ease-in-out;
	transition: width 1.2s ease-in-out;
}
.progress-bar .progress-percent {
	position: absolute;
	top: -28px;
	right: 0;
	background-color: #333;
	color: #F9F9F9;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.2);
	height: 22px;
	line-height: 22px;
	padding: 0px 5px;
	font-size: 11px;
	border-radius: 2px;
}
.progress-bar .progress-percent .counter-instant {
	font-weight: 400;
	font-family: 'Lato', sans-serif;
}
.progress-percent:after, .progress-percent:before {
	top: 100%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
}
.progress-percent:after {
	border-top-color: #333;
	border-width: 4px;
	left: 50%;
	margin-left: -4px;
}
.progress-percent:before {
	border-top-color: #333;
	border-width: 5px;
	left: 50%;
	margin-left: -5px;
}
.progress-bar > span {
	position: absolute;
	z-index: 1;
	top: -23px;
	left: 0;
	line-height: 20px;
	font-size: 12px;
	font-weight: bold;
	text-transform: uppercase;
	color: #222;
}

.portfolio-gallery .theme-item {
  border: 2px solid #fff;
}
.portfolio-gallery .theme-item:hover {
  border: 2px solid #42b0db;
  box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.16);
  cursor: pointer;
  z-index: 2;
}

.portfolio-gallery .theme-image {
  position: relative;
  overflow: hidden;
  height: 210px;
  display: flex;
}
.portfolio-gallery .theme-image img {
  max-height: 100%;
  height: auto;
  width: auto;
margin: 0 auto;
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
  -ms-transition: all 0.2s;
  -o-transition: all 0.2s;
  transition: all 0.2s;
}

.portfolio-gallery .theme-description {
  padding: 15px 5px 10px;
  background-color: var(--lgreen-bg-color);
  padding: 10px;
  font-size: 16px;
}
.gallerynavigation, .pagenavigation {
  display: flex;
}

.pagenavigation div {
  margin-right: 10px;
  font-size: 16px;
}

.pagelinks {
  font-size: 16px;
}

.pagelinks > * {
  margin: 0 4px;
}

.parentlink {
  margin-right: 20px;
}

.footer-big .portfolio-gallery {
  border: none;
}

.footer-big .portfolio-gallery .img:hover img {
  -ms-transform: scale(1.1, 1.1); /* IE 9 */
  -webkit-transform: scale(1.1, 1.1); /* Safari */
  transform: scale(1.1, 1.1);
}

.footer-big .portfolio-gallery .img {
  margin-bottom: 30px;
}

.footer-big .portfolio-gallery .img .image-overlay .overlay-icon {
  width: 40px;
  height: 40px;
}

.footer-big .portfolio-gallery .img .image-overlay .overlay-icon i {
  margin: 10px 0 0 11px;
}

.footer-big .parentlink a {
  color: var(--color2-hex-color);
}

.footer-big .img a,
.footer-big .img a:hover {
  border: none;
}

/*** Media Queries
================================================== */

/* Extra small devices (portrait phones, less than 576px) 
No media query for `xs` since this is the default in Bootstrap  */

/* sm : Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  .gallery-top {
    height: 400px;
  }
  .gallery-thumbs {
    height: 120px;
  }
}

/* md : Medium devices (tablets, 768px and up)*/
@media (min-width: 768px) { 
  .portfolio-grid {
    margin-left: -6px;
    margin-right: -6px;
    max-width: 100%;
  }
  .portfolio-grid__item {
    flex: 0 0 25%;
    max-width: 25%;
    margin: 0 0 10px 0;
    padding: 0 6px 12px;
  }
  .gallery-top {
    height: 500px;
  }
  .gallery-thumbs {
    height: 140px;
  }

}

/* lg : Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .portfolio-detail {
    grid-template-columns: 2fr 1fr;
  }

}
