@charset "UTF-8";
/* CSS Document */

@font-face {
    font-family: "LinotypeUnivers";
    src: url('LinotypeUnivers-420Cn.ttf');
}

body {
	background: #FFF;
	margin: 0px;
	padding: 0px;
	font-family: LinotypeUnivers, Arial, Sans-serif;
}

p {
	font-size: 1.5em;
}

#header {
	background: #FFF url(../img/candidats_muni.jpg);
	background-size:100% auto;
	width: 100%;
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
	left: 0;
	clip-path: polygon(0 0, 100% 0, 100% 84%, 0% 100%);
}

#header_wrapper {
	width: 100%;
	display: inline-block;
	position: relative;
}

#header_wrapper:after {
	padding-top: 66%;
  	display: block;
  	content: '';
}

#footer_img {
	width: 960px;
	max-width: 100%;
	height: auto;
}

#logo-plr {
	background: #FFF url(../img/plr-corcelles.gif) no-repeat center center;
	background-size:100% auto;
	float: left;
	margin-left: 5%;
}

#ma-commune {
	background: #FFF url(../img/ecomm26.png) no-repeat center center;
	background-size:100% auto;
	float: right;
	margin-right: 5%;
}

.logo {
	max-width: 413px;
	width: 90%;
	height: 210px;
	margin-top: 20px;
	margin-bottom: 50px;
}

#menu {
	clear: both;
	text-align: center;
}

#menu a {
	width: 413px;
	display: inline-block;
	background-color: #f0f0f0;
	margin: 5px 5px;
	text-decoration: none;
	color: #145eaa;
	font-size: 2em;
	padding: 0.7em;
	padding-top: 1em;
}

#menu a:hover {
	color: #00a4e3;
}

.candidate_wrapper {
	margin-top: 50px;
	margin-bottom: 50px;
	width: 100%;
}

.candidate {
	max-width: 960px;
	margin: 0px auto;
	padding: 0px;
}

.candidate img {
	position: absolute;
	display: block;
	clip-path: polygon(0 5%, 100% 0, 100% 95%, 0% 100%);
}

.candidate_muni_info_wrapper {
	margin-left: 413px;
	padding: 10px;
	height: 470px;
}

.candidate_muni_info {
	background-color: white;
	height: 450px;
	padding: 10px;
	overflow: hidden;
}

.candidate_cc_info_wrapper {
	margin-left: 413px;
	padding: 10px;
	height: 440px;
}

.candidate_cc_info {
	background-color: white;
	height: 420px;
	padding: 10px;
}

.candidate_name {
	color: #00a4e3;
	font-size: 3em;
}

.candidate_job {
	margin-top: 20px;
	color: #145eaa;
	font-size: 2em;
}

.candidate_age {
	margin-top: 10px;
	color: #145eaa;
	font-size: 2em;
}

.candidate_desc p {
	font-size: 0.96em;
}

.candidate_desc ul {
	font-size: 0.96em;
}

.prog_wrapper {
	background-color: #f0f0f0;
	width: 100%;
	margin-top: 50px;
	margin-bottom: 50px;
	padding-top: 20px;
	padding-bottom: 20px;
}

.prog_prog {
	max-width: 960px;
	width: 85%;
	margin: auto;
	background-color: white;
	padding: 10px;
}

.picto {
	display: block;
	margin-left: auto;
	margin-right: auto;
	max-width: 100%;
	height: auto;
}

.social-icon {
	width: 50px;
	height: auto;
	vertical-align: middle;
}

h2 {
	color: #145eaa;
	font-size: 2em;
}

ul {
	font-size: 1.5em;
	color: black;
}

h1 {
	font-size: 3em;
	color: #00a4e3;
	text-align: center;
	margin-top: 50px; 
}

a {
	text-decoration: none;
	color: #145eaa;
	font-size: 1.5em;
}

a:hover {
	color: #00a4e3;
}

.center {
	text-align: center;
}

#footer {
	margin-top: 50px;
	text-align: center;
}

#footer p {
	font-size: 1em;
}

#footer a {
	font-size: 1em;
}

.prog_prog a {
	font-size: 1em;
}

.content {
	margin: 0px auto;
	width: 100%;
	max-width: 960px;
}

form {
	text-align: center;
	font-size: 1.5em;
}

input {
	border: 1px solid #ccc;
	border-radius: 10px;
	padding: 1em;
	padding-bottom: 0.7em;
	display: inline-block;
}

.mail-field {
	width: 80%;
}

.submit {
	background-color: #145eaa;
	color: white;
	padding-top: 1em;
	padding-left: 2em;
	padding-right: 2em;
	padding-bottom: 0.7em;
	margin: 20px;
}

.submit:hover {
	background-color: #00a4e3;
}

#demain {
	background: #FFF url(../img/picto/picto5.jpg) no-repeat center center;
	background-size:100% auto;
	max-width: 400px;
	width: 100%;
	height: 200px;
	margin: 20px auto;
}

.social img {
	height: 2em;
	width: auto;
	vertical-align: middle;
}

.social p {
	vertical-align: middle;
}

@media (max-width: 920px) {

	#logo-plr {
		float: none;
		margin: 20px auto;
	}
	
	#ma-commune {
		display: none;
	}
}

@media (max-width: 800px) {

	.candidate img {
		position: relative;
		margin: 0px auto;
	}
	
	.candidate_muni_info_wrapper {
		margin: 0px auto;
		padding: 0px;
		height: auto;
		width: 425px;
	}
	
	.candidate_muni_info {
		height: auto;
	}
	
	.candidate_cc_info_wrapper {
		margin: 0px auto;
		padding: 0px;
		height: auto;
		width: 425px;
	}
	
	.candidate_cc_info {
		height: auto;
	}
}

@media (max-width: 490px) {

	#menu a {
		width: 80%;
		margin: 5px auto;
		font-size: 1.5em;
		padding: 0.7em;
		padding-top: 1em;
	}
	
	h1 {
		font-size: 2em;
	}
	
	.candidate img {
		width: 100%;
		max-width: 425px;
	}
	
	.candidate_muni_info_wrapper {
		width: 100%;
	}

	.candidate_cc_info_wrapper {
		width: 100%;
	}
}
