main{
	width: 100%;
}

hr{
	width: 20%;
	border: 3px solid var(--dark);
	margin: 15px 0 100px 0;
}

.gallery{
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	flex-wrap: wrap;
}

main img{
	width: 100%;
}

main .top-images{
	text-align: center;
	margin-bottom: 80px;
}
main .top-images img{
	width: 150px;
	margin: 0px 30px;
}


/*ACTIVITIES SECTION*/
main .activities{
	padding: 0px 30px;
	margin-bottom: 150px;
}

main .activities .activities-gallery .activity{
	width: 45%;
	margin-bottom: 50px;
	transition: transform .3s ease;
}

main .activities .activities-gallery .activity:hover{
	transform: scale(1.03);
}

main .activities .activities-gallery .activity .title{
	padding: 20px 40px;
	color: #fff;
	background: var(--color-primary);
}

/*INSTALLATIONS SECTION*/
main .installations h2{
	padding: 0 30px;
}
main .installations hr{
	margin: 0 30px;
}

main .installations .banner-installation{
	width: 100%;
	height: 400px;
	background: #ccc;
	position: relative;
	margin-top: 80px;

	background-image: url("../images/facilities/floor-2-bedroom.jpg");
	background-size: cover;
	background-position: left;
}


main .installations .banner-installation span{
	position: absolute;
	display: inline-block;
	width: 30px;
	top: 50%;
	cursor: pointer;
	transform: translateY(-50%);	
}

main .installations .banner-installation span.left{
	left: 20px;
}
main .installations .banner-installation span.right{
	right: 20px;
}

/*PATIENTS SECTION*/
main .patients{
	margin: 150px 0;
	background: var(--color-secondary);
	text-align: right;
	padding: 60px;
	color: #fff;
}

main .patients h2{
	color: #fff;
}
main .patients hr{
	display: inline-block;
	border-color: #fff;
}

main .patients .subtitle{
	text-align: left;
	font-size: 28px;
	font-weight: 700;
	margin-bottom: 30px;
}

main .patients .patients-gallery .image-by-background{
	width: 30%;
	max-height: 350px;
	min-height: 280px;
	background: #ccc;
	background-size: cover;
	background-position: center;
	margin-bottom: 30px;
	border: 2px solid #fff;
}

main .patients .patients-gallery .image-by-background:nth-child(1){
	background-image: url("../images/patients/1.jpg");
}

main .patients .patients-gallery .image-by-background:nth-child(2){
	background-image: url("../images/patients/2.jpg");
}

main .patients .patients-gallery .image-by-background:nth-child(3){
	background-image: url("../images/patients/3.jpg");
}

main .patients .patients-gallery .image-by-background:nth-child(4){
	background-image: url("../images/patients/4.jpg");
}

main .patients .patients-gallery .image-by-background:nth-child(5){
	background-image: url("../images/patients/5.jpg");
}

main .patients .patients-gallery .image-by-background:nth-child(6){
	background-image: url("../images/patients/6.jpg");
}

/*CENTER SECTION*/

hr.middle{
	margin: auto;
}

main .center{
	margin: 100px 30px;
	text-align: center;
}

main .center h2{
	text-align: center;
	margin-bottom: 60px;
}

main .center img{
	display: block;
	margin: auto;
	width: 80%;
	background: #ccc;
}

main .center .find-us{
	display: inline-block;
	text-decoration: none;
	margin: 50px auto;
	background: var(--color-secondary);
	padding: 20px 30px;
	color: #fff;
	font-size: 25px;
	border: none;
	border-radius: 4px;
}