/**
 * Projects CSS
 */

:root {
	--bgcolor: white;
	--textcolor: black;
	--bgcolordark: #2a2a2a;
	--textcolordark: white;
	--linear-dradient-1: rgba(42, 42, 42, 0.1);
	--linear-dradient-2: rgba(42, 42, 42, 0.3);
	--linear-dradient-3: rgba(42, 42, 42, 0.5);
	--linear-dradient-4: rgba(42, 42, 42, 1);
	--time: 0.4s;
	--scale: 1.05;
}

.msimmo-separator {
	height: 100px;
}
.msimmo-rounded-corners {
	border-radius: 5px 5px 5px 5px;
}
.msimmo-box-shadow {
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07), 0 2px 10px rgba(0, 0, 0, 0.05), 0 0 5px rgba(0, 0, 0, 0.05);
	-webkit-box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07), 0 2px 10px rgba(0, 0, 0, 0.05), 0 0 5px rgba(0, 0, 0, 0.05);
	-moz-box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07), 0 2px 10px rgba(0, 0, 0, 0.05), 0 0 5px rgba(0, 0, 0, 0.05);
	-o-box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07), 0 2px 10px rgba(0, 0, 0, 0.05), 0 0 5px rgba(0, 0, 0, 0.05);
}
.msimmo-vetical-scroll { 
	display: block;
	margin:5px; 
	padding:5px;
	overflow-y: auto; 
	overflow-x: hidden;
	text-align:justify; 
}
.msimmo-zoom:hover{
	transform : scale(var(--scale));
	-moz-transform : scale(var(--scale));      /* Firefox */
	-webkit-transform : scale(var(--scale));   /* Chrome - Safari */
	-o-transform : scale(var(--scale));        /* Opera */
}
.msimmo-wrapper {
	display: flex;
	justify-content: center;
	align-items: center;	
	overflow: hidden;
	padding-top: 50px;
	padding-bottom: 50px;
}

.msimmo-background-image {
	height: 550px;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	position: relative;
}
.msimmo-dark {
	background-color: var(--bgcolordark);
	color: var(--textcolordark);
}
.msimmo-dark h2{
	color: var(--textcolordark);
	text-align: center;
}
.msimmo-section-container {
	margin-right: auto;
	margin-left: auto;
	padding-top: 50px; 
	padding-left: 15px;
	padding-right: 15px;
	font-size: 18px; 
}

.msimmo-section-container h1, .msimmo-section-container h2, .msimmo-section-container h3{
	text-align: center;
}

/* Hero section */
.msimmo-hero-container {
	height: 100%;
	margin: 0px;
}
.msimmo-hero-container h1, .msimmo-hero-container h2 {
	color: var(--textcolordark);
}
.msimmo-hero-container .hero-image {
	height: 100vh;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	position: relative;
	background-image:linear-gradient(to bottom,
		var(--linear-dradient-1),
		var(--linear-dradient-2),
		var(--linear-dradient-2),
		var(--linear-dradient-1));
}
.msimmo-hero-container .hero-text {
	width: 100%;
	text-align: center;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: var(--textcolordark);
}
.msimmo-hero-container .hero-text div {
	display: flex;
	display: -webkit-flex; /* Safari */
	justify-content: center;
	-webkit-justify-content: center; /* Safari 6.1+ */
	align-items: center;
	-webkit-align-items: center; /* Safari 7.0+ */
	padding: 0px 20px 0px 20px;
}
.msimmo-hero-container .hero-text > div > div {
	float: left;
}
.msimmo-hero-container .hero-text span {
	padding: 0px 20px 0px 20px;
}
.msimmo-hero-container .hero-text .hero-info {
	padding-top: 4vh;
}
.msimmo-hero-container iframe { 
	/*display: none;*/
	min-width: 100%;
	min-height: 100%;
	width: auto;
	height: auto;
	top: 50%;
	left: 50%;
	transform: translateX(-50%) translateY(-50%);      
	z-index: -100;   
	background-size: cover;
}
@media (min-aspect-ratio: 16/9) {
	#hero-section iframe {
		width: 	100%;
		height: auto;
	}
}
@media (max-aspect-ratio: 16/9) {
	#hero-section iframe {
		width: 	auto;
		height: 100%;
	}
}
@media (max-width: 767px) {
	#hero-section iframe {
		display: none;
	}
	.msimmo-hero-container .hero-image {
		height: 100vh;
		background-position: center;
		background-repeat: no-repeat;
		background-size: cover;
		position: relative;
		background-image:linear-gradient(to bottom,
			var(--linear-dradient-3),
			var(--linear-dradient-4)), 
			url(https://objectstorage.omnicasa.com/brusselsrealestate.public/new5-0L.jpg);
	}
}

/* Description section */
#description-section .description {
	width: 30vw;
	height: 520px;
	background-color: var(--bgcolor);
	padding: 40px;
}
#description-section .description .title {
	font-weight: 700;
	text-transform: uppercase;
	color: #dd5c11;
	padding-bottom: 20px;
}
#description-section .description .text {
    font-weight: 500;
	color: var(--textcolor);
	padding-bottom: 20px;
}
#description-section .image { height: 550px; }
#description-section .image { width: 60vw; }

.text-two-colunms {
	display: grid;
	grid-template-areas: 'title content';
	grid-gap: 30px;
	padding: 10px;
}

.left-text { 
	grid-area: title; 
	font-size:26px;
	font-width: 700;
}
.right-text { 
	grid-area: content; 
	font-size:18px;
	padding-top: 10px;
}


/*********************
	Section styles
**********************/
.msimmo-project-section {
	margin-right: auto;
	margin-left: auto;
	padding-left: 15px;
	padding-right: 15px;
}
.msimmo-project-section .item {
	margin-left: 0 !important;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-align: center;
	align-items: center;
	margin-bottom: 50px;	
}
.msimmo-project-section .item .text {
	-ms-flex: 0 0 auto;
	flex: 0 0 auto;
	max-width: 350px;
	text-align: right;
	float: left;
	vertical-align: baseline;
} 
.msimmo-project-section .item .text .title {
	font-size: 44px;
    font-weight: 700;
    margin-bottom: 10px;
}
.msimmo-project-section .item .text .description {
	border: 0;
    outline: 0;
    vertical-align: baseline;
    margin: 0;
    padding: 0;
}
.msimmo-project-section .item .image {
	border:10px;
	height: 550px;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	border-radius: 8px;	
	box-shadow: 0 0px 10px 0 rgba(0,0,0,0.15);
	-ms-flex: 1 1 auto;
	flex: 1 1 auto;
}

/*************************
	Subsection styles
**************************/
.msimmo-project-subsection {
	/*color: #7a7c80;*/
}
.msimmo-project-subsection .title {
	font-weight: 700;
    font-size: 20px;
    margin-bottom: 10px;
    text-align: center;
}

.msimmo-scroll {  
	display:grid;   
	grid-auto-flow:column;  
	grid-gap:10px; 
	margin:30px;
	overflow:auto;
	padding: 5px 5px 10px 0px;
	width:1060px;
	margin-left: auto;
	margin-right: auto;
}
.msimmo-scroll:before, .msimmo-scroll:after {
  content: '';
  width: 5px;
}
.msimmo-scroll .item {
	padding:10px; 
	font-size:20px; 
	color: #7a7c80;
	width:250px;
	background:#ffffff;
	border-radius: 5px 5px 5px 5px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07), 0 2px 10px rgba(0, 0, 0, 0.05), 0 0 5px rgba(0, 0, 0, 0.05);
	-webkit-box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07), 0 2px 10px rgba(0, 0, 0, 0.05), 0 0 5px rgba(0, 0, 0, 0.05);
	-moz-box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07), 0 2px 10px rgba(0, 0, 0, 0.05), 0 0 5px rgba(0, 0, 0, 0.05);
	-o-box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07), 0 2px 10px rgba(0, 0, 0, 0.05), 0 0 5px rgba(0, 0, 0, 0.05);
}
.msimmo-scroll .item .image {
	width: 100%;
	height: 186px;
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
	border-radius: 5px 5px 0 0;
}
.msimmo-scroll .item .title {
	font-weight: 700;
	margin: 10px 0;
	font-size: 20px;
}
.msimmo-scroll .item .description {
	border: 0;
	outline: 0;
	vertical-align: baseline;
	font-size: 18px;
	margin: 0;
	padding: 0;
}

/* List price section */
.msimmo-container-list-price {
	height: 50vh;
	width: 80vw; 
	padding: 20px;
	position: relative;
}
/* unvisited link */
.msimmo-container-list-price > a:link, 
.msimmo-container-list-price > a:visited,
.msimmo-container-list-price > a:hover,
.msimmo-container-list-price > a:active {
  color: var(--textcolor);
}

.item-list-1 { grid-area: WebIDName; font-weight: 700; }
.item-list-2 { grid-area: NumberOfBedRooms; font-weight: 700; }
.item-list-3 { grid-area: SurfaceTotal; }
.item-list-4 { grid-area: SurfaceTerrace; }
.item-list-5 { grid-area: SurfaceGarden; }
.item-list-6 { grid-area: Price; font-weight: 800; font-size: 30px; text-align: center; }
.item-list-7 { grid-area: Floor; }
.item-list-8 { grid-area: Ident; font-weight: 700; text-align: center; }

.grid-item-price {
	display: grid;
	grid-template-areas:
	'WebIDName WebIDName NumberOfBedRooms SurfaceTotal'
	'SurfaceTerrace SurfaceGarden Price Price'
	'Floor Floor Price Price'
	'Ident Ident Ident Ident';
	grid-gap: 0px;
	padding: 10px;
	margin: 10px;
}

#documents-section .item-document { margin: 10px; padding: 10px; }

@media only screen and (min-width: 1200px) {
	.msimmo-section-container { max-width: 1170px; }
}

@media only screen and (max-width: 1024px) {
	.msimmo-project-section .item .image { height: 400px; }
	.msimmo-scroll { width:790px; }
}

@media only screen and (min-width: 769px) {
	.msimmo-group-sections > div:nth-of-type(odd) li {
		display: flex;
		display: -webkit-flex; /* Safari */
		flex-direction: row-reverse;
		-webkit-flex-direction: row-reverse; /* Safari 6.1+ */
	}
	.msimmo-group-sections > div:nth-of-type(odd) li .text {
		text-align: left;
		padding-left: 30px;
	}
	.msimmo-group-sections > div:nth-of-type(even) li .text {
		text-align: right;
		padding-right: 30px;
	}
}


@media only screen and (min-width: 769px) {
	#description-section .msimmo-wrapper { flex-direction: row-reverse; }
}

@media only screen and (max-width: 768px) {
	.msimmo-project-section .item { display:block; }
	.msimmo-project-section .item .text { 
		float:none; 
		max-width: 100%;
		text-align: center;
		padding-bottom: 20px;
		margin-right: auto;
		margin-left: auto;
	}
	.msimmo-project-section .item .image { height: 300px; }
	.msimmo-scroll { width:530px; }
	.msimmo-hero-container .hero-text .hero-info { display: block; }
	.msimmo-hero-container .hero-text > div > div { float: none; }
	.text-two-colunms { display: block; }
	.left-text { text-align: center; }

	#description-section .msimmo-wrapper { display: block; }
	#description-section .msimmo-wrapper .description { width: 100%; margin-top: 20px; height: 100%; padding-bottom: 0px;}
	#description-section .msimmo-wrapper .image { width: 100%; }
}	
}

@media only screen and (max-width: 480px) {
	.msimmo-project-section .item .image { height: 200px; }
	.msimmo-scroll { width:270px; }
}


