/*
Based upon the design "Prolific" by Free CSS Templates
http://www.freecsstemplates.org/css-templates/?search=prolific
Released for free under a Creative Commons Attribution 3.0 License
*/

/* Main CSS */

/* Commun ------------ */

* {
	margin: 0;
	padding: 0;
}

a {
	text-decoration: underline;
}

a:hover {
	text-decoration: none;
}

p.error {
	color: red;
	font-weight: bold;
}

p.ok {
	color: green;
	font-weight: bold;
}

#login a {
	color: #FFFFFF;
}

br.clearfix {
	clear: both;
}

h1,h2,h3,h4 {
	font-weight: normal;
}

body,input {
	font-family: "Open Sans", sans-serif;
}

h2,h3,h4 {
	color: #333333;
	font-family: Abel, sans-serif;
	margin-bottom: 1em;
}

p {
	margin-bottom: 1.75em;
}

ul {
	margin-bottom: 1.75em;
}

ul h4 {
	margin-bottom: 0.4em;
}

ul {
	list-style: none;
}

.box {
	margin: 0 0 35px 0;
	overflow: hidden;
}

.section-list {
	padding-left: 0;
	list-style: none;
}

.linkbutton {
	font-family: "Open Sans", sans-serif;
	font-size: 11.5pt;
	background: transparent;
	border: 0px;
	cursor: pointer;
	text-decoration: underline;
	color: #5B874B;
}

.linkbutton[disabled] {
	text-decoration: none;
	color: #808080;
}

ul.list li.first {
	padding-top: 0;
	border-top: 0;
}


#logo a {
	text-decoration: none;
	color: #FFFFFF;
}

#logo h1 {
	font-family: Abel, sans-serif;
	font-size: 3.5em;
}

#menu a {
	color: #FFFFFF;
	font-size: 1.25em;
	text-decoration: none;
}

#menu ul {
	list-style: none;
}

#col1 {
	overflow: hidden;
	width: 355px;
	float: left;
}

#col2 {
	width: 355px;
	margin: 0 0 0 390px;
	overflow: hidden;
}

#search input.form-text {
	border: 0;
	color: #FFFFFF;
	padding: 9px 40px 9px 9px;
	text-shadow: 0px 0px 1px rgba(0,0,0,0.5);
	border-radius: 6px;
}

body {
	font-size: 11.5pt;
	line-height: 2em;
	background-position: center top;
	background-size: cover;
}

h2 {
	font-size: 2.25em;
}

h2.news {
	margin-bottom: 0em;
}

h3 {
	font-size: 1.75em;
}

h4 {
	font-size: 1.5em;
}

strong {
	color: #333;
}

.alignleft {
	float: left;
}

.alignright {
	float: right;
}

img.alignleft {
	margin: 5px 30px 30px 0;
	border-radius: 6px;
}

img.alignright {
	margin: 5px 30px 30px 0;
	border-radius: 6px;
}

img.aligntop {
	margin: 5px 0 20px 0;
	border-radius: 6px;
}

.section-list li {
	padding: 25px 0 25px 0;
	clear: both;
}

ul.list li {
	border-top: solid 1px #CFCFCF;
	padding: 10px 0 10px 0;
}

.hm-account-button {
	display: inline-block;
	height: 100%;
	padding: 0px 5px 0px 5px;
	cursor: pointer;
}

.hm-account-button:hover {
	background-color: rgba(0,0,0,0.5);
}

.hm-account-button>img
{
	height: 1.7em; transform: translate(0, 0.45em)
}

/* Responsive ------------ */

/* Menu size ------------- */
#menu ul li {
	display: inline;
}

@media only screen and (max-width : 320px) {
#menu ul li {
	padding: 0 3px 0 3px;
	font-size: 35%;
}
}

@media only screen and (min-width : 321px)and (max-width : 480px) {
#menu ul li {
	padding: 0 3px 0 3px;
	font-size: 44%;
}
}

@media only screen and (min-width : 481px) and (max-width : 600px) {
#menu ul li {
	padding: 0 3px 0 3px;
	font-size: 60%;
}
}

@media only screen and (min-width : 601px) and (max-width : 768px) {
#menu ul li {
	padding: 0 3px 0 3px;
	font-size: 75%;
}
}

/* Petits écrans ----------- */
@media only screen and (max-width: 768px) {
#content {
	width: 100%;
	overflow: hidden;
}

#header {
	color: #FFFFFF;
	position: relative;
	padding: 0px 35px 0px 35px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	overflow: hidden;
}

#footer {
	text-align: center;
	padding: 30px 0 30px 0;
	font-size: 0.8em;
}

#menu {
	font-family: Abel, sans-serif;
	line-height: 60px;
	height: 60px;
	padding : 0px 0px 0px 0px;
	width: 100%x;
	text-align: center;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.5);
}

#login {
	color: #FFFFFF;
	text-align: center;
	font-size: 0.8em;
	width: 100%;
	margin: 0px;
}

#outer {
	padding: 0px 0 0 0;
}

#page {
	margin: 0;
	padding: 30px 10px 0 10px;
	position: relative;
	background: #FFFFFF;
	text-shadow: 1px 1px 0px #FFFFFF;
}

#sidebar {
	display: none;
}

img.maxwidth {
	max-width: 100%;
	width: 100%;
}

#search {
	height: 147px;
	line-height: 147px;
}

#search input.form-text {
	width: 100%;

}

#logo {
	text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.newsmeta {
	color: gray;
	font-style:italic;
	margin-bottom: 1em;
	font-size: 80%;
}

div.newscard {
	width: 43%;
	margin: 0.5em;
	display: inline;
	border: 1px solid lightgray;
	text-align: center;
	line-height: 1.2em;
	border-radius: 6px;
}

.newscardmeta {
	color: gray;
	font-style:italic;
	font-size: 60%;
}

div.newscardtitle {
	font-weight: bold;
	display: table-cell;
	vertical-align: middle;
	height: 3em;
}

div.newsthumbnail {
	width: 100%;
	height: 100%;
	height: 80px;
	margin: 0 auto;
	background-size: cover;
	background-position: center;
}

}

/* Autres ----------- */
@media only screen and (min-width : 769px) {	
#content {
	padding: 0;
	width: 750px;
	margin: 0 0 0 350px;
}

#header {
	color: #FFFFFF;
	position: relative;
	padding: 0px 35px 0px 35px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	overflow: hidden;
}

#footer {
	text-align: center;
	padding: 30px 0 30px 0;
	font-size: 0.8em;
}

#menu {
	font-family: Abel, sans-serif;
	padding: 0 40px 0 40px;
	line-height: 60px;
	margin: 0;
	height: 60px;
	width: 1100px;
	text-align: center;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.5);
}

#login-container {
	display: flex;
	justify-content: center;
}

#login {
	padding: 0px 10px 0px 10px;
	display: inline-block;
	color: #FFFFFF;
	text-align: center;
	font-size: 0.8em;
	margin-top: 0px;
	margin-bottom: 0px;
	margin-left:auto;
	margin-right:auto;
	border-bottom-left-radius: 6px;
	border-bottom-right-radius: 6px;
}

#outer {
	padding: 60px 0 60px 0;
}

#wrapper {
	width: 1180px;
	position: relative;
	margin: 0 auto;
	border-radius: 6px;
	border-collapse: separate;
	overflow: hidden;
}

#sidebar {
	float: left;
	padding: 0;
	width: 315px;
}

img.maxwidth {
	max-width: 700px;
	  width: expression(this.width > 700 ? 700: true);
}

#search {
	height: 147px;
	line-height: 147px;
}

#search input.form-text {
	width: 240px;
	height: 18px;
}

#logo {
	text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

#page {
	margin: 0;
	width: 1100px;
	padding: 70px 40px 0 40px;
	position: relative;
	background: #FFFFFF;
	text-shadow: 1px 1px 0px #FFFFFF;
}

#menu ul li {
	height: 100%;
	padding: 0 20px 0 20px;
	display: inline-block;
}

#menu>ul>li:hover {
	background-color: rgba(0,0,0,0.5);
}

.newsmeta {
	color: gray;
	font-style:italic;
	margin-bottom: 1em;
	font-size: 80%;
}

div.newscard {
	width: 31%;
	margin: 0.5em;
	display: inline;
	border: 1px solid lightgray;
	text-align: center;
	line-height: 1.2em;
	border-radius: 6px;
}

.newscardmeta {
	color: gray;
	font-style:italic;
	font-size: 60%;
}

div.newscardtitle {
	font-weight: bold;
	display: table-cell;
	vertical-align: middle;
	height: 3em;
}

div.newsthumbnail {
	width: 200px;
	height: 180px;
	margin: 0 auto;
	background-size: cover;
	background-position: center;
}

/* CSS Guide du nouveau */

div#block-jaune {
	line-height: 1.75em;
	margin:1.5em 10px;
	padding:.5em 10px;
	background:#FFE08B;
	border-left:10px solid #775F1D;
}

div#block-bleu {
	line-height: 1.75em;
	margin:1.5em 10px;
	padding:.5em 10px;
	background:#9CD7FF;
	border-left:10px solid #2D6285;
}

div#block-vert {
	line-height: 1.75em;
	margin:1.5em 10px;
	padding:.5em 10px;
	background:#82FF7E;
	border-left:10px solid #156012;
}

div#block-rouge {
	line-height: 1.75em;
	margin:1.5em 10px;
	padding:.5em 10px;
	background:#FF8B8B;
	border-left:10px solid #5E1E1E;
}

div#block-gris {
	line-height: 1.75em;
	margin:1.5em 10px;
	padding:.5em 10px;
	background:#DDDDDD;
	border-left:10px solid #777777;
}

.commande
{
	border: 1px solid #9a9a9a;
	border-radius: 2px;
	padding: 0px 5px 0px 5px;
	background-color: #f3f3f3;
}

.ldBar-label {
	color: white;
	-webkit-text-stroke-width: 1px;
	-webkit-text-stroke-color: black;
	font-size: 30px;
	font-weight: 900;
	font-family: 'sans-serif';
}
.ldBar-label:after {
	content: "€";
	font-size: 30px;
}
.financement-container {
	display: flex;
	align-items: center;
	flex-direction: column;
	justify-content: center;
}

.financement-div {
	height: 180px;
	line-height: 180px;
	bottom: 0;
	position: relative;
	text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}