/***********
 * FRAME 1 *
 * *********/
.frame-1 {
	position: relative;
	height: 80vh;
	
	background-image: url('/img/pages/communaute/bg-header.jpg');
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
	
	text-align: center;
}

.frame-1 .container {
	position: relative;
	top: 50%;
	
	-webkit-transform: translateY(-50%);
	-moz-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	-o-transform: translateY(-50%);
	transform: translateY(-50%);
}

.frame-1 h1 {
	font-size: 40px;
	font-weight: 500;
	margin: 0 0 10px 0;
}

.frame-1 h2 {
	font-size: 22px;
	margin: 0;
	line-height: 30px;
}

.frame-1 a {
	display: block;
	width: 240px;
	max-width: 100%;
	
	margin: 90px auto 0 auto;
	padding: 15px 5px;
	
	box-sizing: border-box;
	text-align: center;
	text-decoration: none;
	
	font-size: 20px;
	font-weight: 500;
	
	background-color: #FFF;
	color: #6c90ac;
	
	-webkit-transition: all ease 0.2s;
	-moz-transition: all ease 0.2s;
	-ms-transition: all ease 0.2s;
	-o-transition: all ease 0.2s;
	transition: all ease 0.2s;
	
	border-radius: 4px;
	box-shadow: rgba(142, 172, 189, 0.498039) 0px 5px 20px 0px;
}

.frame-1 a:hover {
	-webkit-transform: translateY(-1px);
	-moz-transform: translateY(-1px);
	-ms-transform: translateY(-1px);
	-o-transform: translateY(-1px);
	transform: translateY(-1px);
}







/***********
 * FRAME 2 *
 * *********/
.frame-2 {
	position: relative;
}

.frame-2 .left,
.frame-2 .right {
	display: inline-block;
	vertical-align: top;
	
	width: 50%;
	
	box-sizing: border-box;
}

.frame-2 .left {
	padding: 0 60px;
	height: 700px;
	line-height: 700px;
}

.frame-2 .left > div,
.frame-2 .right > div {
	width: 600px;
	max-width: 100%;
}

.frame-2 .left > div {
	float: right;
	text-align: right;
}

.frame-2 .left > div img {
	display: inline-block;
	vertical-align: middle;
	width: 360px;
	max-width: 100%;
}

.frame-2 .right {
	padding: 101px 60px;
}

.frame-2 .right > div {
	float: left;
}

.frame-2 .right h2 {
	font-size: 32px;
	font-weight: 500;
	margin: 0 0 40px 0;
}

.frame-2 .right p {
	width: 400px;
	max-width: 100%;
	font-size: 16px;
}

.frame-2 .right a {
	display: block;
	width: 240px;
	max-width: 100%;
	
	margin: 40px 0 0 0;
	padding: 15px 5px;
	
	box-sizing: border-box;
	text-align: center;
	text-decoration: none;
	
	font-size: 20px;
	font-weight: 500;
	
	background-color: #FFF;
	color: #e4503d;
	
	border-radius: 4px;
	
	-webkit-transition: all ease 0.2s;
	-moz-transition: all ease 0.2s;
	-ms-transition: all ease 0.2s;
	-o-transition: all ease 0.2s;
	transition: all ease 0.2s;
	
	box-shadow: rgb(213, 229, 238) 0px 5px 20px 0px;
}

.frame-2 .right a:hover {
	-webkit-transform: translateY(-1px);
	-moz-transform: translateY(-1px);
	-ms-transform: translateY(-1px);
	-o-transform: translateY(-1px);
	transform: translateY(-1px);
}







/***********
 * FRAME 3 *
 * *********/
.frame-3 {
	position: relative;
	padding: 142px 0;
	
	background-image: url('/img/pages/communaute/bg-frame-3.jpg');
	background-repeat: repeat;
	background-position: left top;
}

.frame-3 .left,
.frame-3 .right {
	display: inline-block;
	vertical-align: top;
	
	width: 50%;
}

.frame-3 .bloc {
	position: relative;
	display: block;
	width: 380px;
	max-width: 100%;
	
	margin: 0;
	padding: 20px;
	
	box-sizing: border-box;
	border-radius: 4px;
	
	box-shadow: rgba(45, 28, 18, 0.498039) 0px 20px 80px 0px;
}

.frame-3 .bloc h3 {
	font-size: 28px;
	font-weight: 500;
	margin: 0 0 20px 0;
}

.frame-3 .bloc p {
	margin: 0;
	font-size: 18px;
	font-weight: 400;
}

.frame-3 .bloc p a {
	color: inherit;
}

.frame-3 .bloc p b {
	font-weight: 500;
}

.frame-3 .left .bloc.aussi {
	top: 60px;
	left: 120px;
}

.frame-3 .right .bloc {
	top: 220px;
}





/* @2x
–––––––––––––––––––––––––––––––––––––––––––––––––– */
@media all and (-webkit-min-device-pixel-ratio: 1.5), all and (-o-min-device-pixel-ratio: 3 / 2), all and (min--moz-device-pixel-ratio: 1.5), all and (min-device-pixel-ratio: 1.5) {
	.frame-1 { background-image: url('/img/pages/communaute/bg-header@2x.jpg') }
}




/* Responsive
–––––––––––––––––––––––––––––––––––––––––––––––––– */

/* Plus petit que 1100
–––––––––––––––––––––––––––––––––––––––––––––––––– */
@media (max-width: 1100px) {
	.frame-3 .left .bloc.aussi {
		left: 0;
	}
	.frame-3 .right .bloc {
		left: 20px;
	}
}




/* Plus petit que 1000
–––––––––––––––––––––––––––––––––––––––––––––––––– */
@media (max-width: 1000px) {
	.frame-2 .right {
		padding: 40px;
	}
}



/* Plus petit que 800
–––––––––––––––––––––––––––––––––––––––––––––––––– */
@media (max-width: 800px) {
	.frame-2 .left {
		display: none;
	}
	
	.frame-2 .right {
		display: block;
		width: 100%;
		height: auto;
		padding: 20px;
	}
	
	.frame-2 .right h2 br {
		display: none;
	}
	
	.frame-2 .right > div {
		width: 100%;
		float: none;
	}
	
	.frame-2 .right p {
		width: 100%;
	}
	
	.frame-2 .right a {
		margin: 40px auto 0 auto;
	}
}



/* Plus petit que 700
–––––––––––––––––––––––––––––––––––––––––––––––––– */
@media (max-width: 700px) {
	.frame-3 .left,
	.frame-3 .right {
		display: block;
		width: 100%;
		height: auto;
	}
	
	.frame-3 .bloc {
		position: static;
		width: 100%;
		margin: 0 0 20px 0;
	}
}




/* Plus petit que 500
–––––––––––––––––––––––––––––––––––––––––––––––––– */
@media (max-width: 500px) {
	.frame-1 {
		padding: 60px 0;
	}
	
	.frame-1 h1 {
		font-size: 26px;
	}
}




/* Plus petit que 400
–––––––––––––––––––––––––––––––––––––––––––––––––– */
@media (max-width: 400px) {
	.frame-2 .right h2 {
		font-size: 26px;
	}
}







/* Plus petit que 440
–––––––––––––––––––––––––––––––––––––––––––––––––– */
@media (max-height: 400px) {
	.frame-1 {
		height: auto;
		padding: 40px;
	}
	
	.frame-1 .container {
		position: static;
		
		-webkit-transform: none;
		-moz-transform: none;
		-ms-transform: none;
		-o-transform: none;
		-transform: none;
	}
}