/*-------------------------------------------------------*/
/* Pagina Single Portfolio
/*-------------------------------------------------------*/


/* Sectiune Info Proiect
-------------------------------------------------------*/

.info {
	padding: 60px 0;
}

.info-heading {
	font-size: 18px;
	line-height: 40px;
	margin-bottom: 0px;
}

p.info-text {
	font-size: 16px;
	line-height: 32px;
	margin-bottom: 20px;
	padding-left: 0px;
}


/* Sectiune Galerie Grid
-------------------------------------------------------*/

.tabel-portofoliu {
	margin: 0 8px;
}

@media (max-width: 767px) {
.tabel-portofoliu li {
	width: 50%;
	float: left;
	padding: 0 8px;
	margin-bottom: 16px;
	} 
}

@media (max-width: 991px) and (min-width: 768px) {
.tabel-portofoliu li {
	width: 33.33%;
	float: left;
	padding: 0 8px;
	margin-bottom: 16px;
	} 
}

@media (min-width: 992px) {
.tabel-portofoliu li {
	width: 25%;
	float: left;
	padding: 0 8px;
	margin-bottom: 16px;
	}
}
 
.foto-galerie > ul > li a {
	display: block;
	overflow: hidden;
	position: relative;
	float: left;
}
 
.foto-galerie > ul > li a > img {
	-webkit-transition: -webkit-transform 0.15s ease 0s;
	-moz-transition: -moz-transform 0.15s ease 0s;
	-o-transition: -o-transform 0.15s ease 0s;
	transition: transform 0.15s ease 0s;
	-webkit-transform: scale3d(1, 1, 1);
	transform: scale3d(1, 1, 1);
	height: 100%;
	width: 100%;
}
 
.foto-galerie > ul > li a:hover > img {
	-webkit-transform: scale3d(1.1, 1.1, 1.1);
	transform: scale3d(1.1, 1.1, 1.1);
}

.foto-galerie > ul > li a:hover .foto-galerie-poster > img {
	opacity: 1;
}

.foto-galerie > ul > li a .foto-galerie-poster {
	background-color: rgba(0, 0, 0, 0.1);
	bottom: 0;
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
	-webkit-transition: background-color 0.15s ease 0s;
	-o-transition: background-color 0.15s ease 0s;
	transition: background-color 0.15s ease 0s;
}

.foto-galerie > ul > li a .foto-galerie-poster > img {
	left: 50%;
	margin-left: -15px;
	margin-top: -15px;
	opacity: 0;
	position: absolute;
	top: 50%;
	-webkit-transition: opacity 0.3s ease 0s;
	-o-transition: opacity 0.3s ease 0s;
	transition: opacity 0.3s ease 0s;
}

.foto-galerie > ul > li a .foto-galerie-play > img {
	left: 50%;
	margin-left: -20px;
	margin-top: -20px;
	opacity: 1;
	position: absolute;
	top: 50%;
}

.foto-galerie > ul > li a:hover .foto-galerie-poster {
	background-color: rgba(0, 0, 0, 0.5);
}


/* Sectiune Fancybox
-------------------------------------------------------*/

.fancybox-bg {
    background: rgb(255, 255, 255);
}

.fancybox-is-open .fancybox-bg {
    opacity: 1;
}

/* Counter */

.fancybox-infobar {
	font-family: 'Open Sans', sans-serif;
	font-size: 14px;
    font-weight: 400;
    padding: 0 14px;
	color: #999;
}

/* Buttons */

.fancybox-button {
    background: #eee;
}

.fancybox-button,
.fancybox-button:visited,
.fancybox-button:link {
    color: #888;
}

.fancybox-button:hover {
    color: #000;
}

/* Navigation arrows */

.fancybox-navigation .fancybox-button {
    background-clip: content-box;
    height: 100px;
    opacity: 0;
    position: absolute;
    top: calc(50% - 50px);
    width: 70px;
}

.fancybox-navigation .fancybox-button div {
    padding: 7px;
}

.fancybox-navigation .fancybox-button--arrow_left {
    left: 0;
    left: env(safe-area-inset-left);
    padding: 31px 26px 31px 6px;
}

.fancybox-navigation .fancybox-button--arrow_right {
    padding: 31px 6px 31px 26px;
    right: 0;
    right: env(safe-area-inset-right);
}

/* Caption */

.fancybox-caption {
	background: transparent;
    color: #000;
	font-family: 'Raleway', sans-serif;
	font-size: 16px;
    font-weight: 500;
    line-height: 44px;
    padding: 0px 44px 0px 44px;
	height: 44px;

}

.fancybox-caption__body {
    max-height: 44vh;
}

/* Styling for Small-Screen Devices */

@media all and (max-height: 576px) {
    .fancybox-slide--image {
        padding: 0 0;
    }
}


