
.portofolio-image-container{
	height: 23.298rem;
	overflow: hidden;
	position: relative;
}

.portofolio-desc-container{
	height: 23.298rem;
	overflow: hidden;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
}

.portofolio-image{
	margin: 0 -100%;
	height: 100%;
/*	filter: grayscale(100%);*/
	-webkit-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	transition: all 0.5s ease;;
}



.portofolio-description{
	color: #95969B;
}

.title-overlay{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
}

.decoration-bar{
	position: relative;
	z-index: 1;
}

.portofolio-title{
	position: relative;
	width: 100%;
	height: 100%;
}

.portofolio-title h1{
	position: relative;
	z-index: 2;
}

.decoration-bar{
	height: 23px;
	width: 100%;
}

.portofolio-description{
	width: 70%;
}

.right-aligned-portofolio .portofolio-description{
	margin-left: 30%;
}

.left-aligned-portofolio, .right-aligned-portofolio{
	height: 23.298rem;
}

.right-desc{
	display: none;
}

.opacity-1{
	opacity: 1;
}

.portofolio-modal{
	display: none;
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0;
	right: 0;
	z-index: -1;
	opacity: 0;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	-webkit-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	transition: all 0.5s ease;
}

.portofolio-modal .modal-box{
	position: relative;
	min-width: 50rem;
	min-height: 16rem;
	background: white;
	z-index: 1002;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	    -ms-flex-direction: column;
	        flex-direction: column;
	padding: calc( 0.5 * var(--baseline) );
}

.modal-box .heading-text{
	display: none;
}


.overlay-dark{
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.4);
	position: absolute;
	z-index: 1001;
}

.right-aligned-portofolio .button-container{
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: end;
	    -ms-flex-pack: end;
	        justify-content: flex-end;
}


.button-container{
	cursor: pointer;
}

.opacity-1{
	opacity: 1;
}

.image-show{
	display: none;
	width: 90%;
	padding: 0 calc( 0.5 * var(--baseline) );
}

.image-show div{
	height: calc( 12 * var(--baseline) );	
	margin: 0 0 calc( 1 * var(--baseline) ) 0;
	background-size: cover!important;
	background-position: center!important;	
	background-repeat: no-repeat !important;

}

.image-list{
	display: none;
	width: 90%;
/*	height: calc( 3.5 * var(--baseline) );*/
	height: auto; 
	overflow-x: auto;
	overflow-y: visible;
	margin-bottom: var(--baseline);
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	padding: 0 calc( 0.5 * var(--baseline) );
}

.gallery-item{
	height: calc( 3 * var(--baseline) );
	width: calc( 3 * var(--baseline) );
	display: inline-block;
	margin: 0 calc( 0.5 * var(--baseline) ) 0 0;
	background-size:auto 100% !important;
	background-position: center !important; 
	cursor: pointer;
}

.close-control{
	position: absolute;
	right: 1.5rem;
	top: 1rem;
	cursor: pointer;
	visibility: hidden;
}

.close-control svg{
	height: 10px;
}

.selected{
/*	transform-origin: 50% 50%; 
	transform: scaleY(1.1);*/
}

#loading-bar{
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	    -ms-transform: translate(-50%, -50%);
	        transform: translate(-50%, -50%);
}


@media screen and (max-width: 991px ){

	.left-aligned-portofolio, .right-aligned-portofolio{
		height: auto;
	}

	.portofolio-image-container{
		height: 100%;
		overflow: hidden;
	}

	.portofolio-image{
		position: relative;
		z-index: 4;
		margin: 0;
		width: 100%;
		height: auto;
		overflow: hidden;

	}

	.portofolio-title{
		margin: 0.625rem 0 0.625rem 0!important;
	}

	.portofolio-title h1{
		text-align: center;
		display: none;
	}

	.decoration-bar{
		visibility: hidden;
	}

	.portofolio-desc-container{
		height: auto;
	}

	.portofolio-description{
		width: 100%;
/*		margin-bottom: 4.7rem;*/
	}

	.button-container{
		margin-top:calc( 0.5 * var(--baseline));
		margin-bottom: calc( 3 * var(--baseline));
	}

	.right-aligned-portofolio .button-container {
	    display: -webkit-box;
	    display: -ms-flexbox;
	    display: flex;	
	    -webkit-box-pack: start;	
	        -ms-flex-pack: start;	
	            justify-content: flex-start;
	}

	.portofolio-modal .modal-box{
		min-width: 95%;
	}

	.portofolio-description h4{
		margin: 0;
	}

	.left-desc{
		display: none;
	}

	.right-desc{
		display: block;
	}

	.right-aligned-portofolio .portofolio-description{
		margin-left: 0;
	}

	.mobile-title{
		position: absolute;
		bottom: 5%;
		left: 10%;
		z-index: 5;
		color: white;
	}

}


