/*
	Theme Name: EuropeEcologie
	Theme URI: https://geroh.fr
	Description: Theme pour le site de la délégation des Verts au Parlement Européen
	Version: 1.0.1
	Author: Géroh sarl
	Author URI: https://geroh.fr
	Tags: EuropeEcologie, Ajax

*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html {
	font-size:62.5%;
}
body {
	font:300 11px/1.4;
	font-family: Arial, sans-serif !important;
	color:#444;
}

h1, h2, h3, h4, h5, h6{
	font-family: 'Rubik-bold' !important;
}
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
	max-width:100%;
	vertical-align:bottom;
}
a {
	color:#444;
	text-decoration:none;
}
a:hover {
	color:#444;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

/* wrapper */
.wrapper {
	max-width:1240px;
	width:100%;
	margin:0 auto;
	position:relative;
	background-color: #fff;
	box-shadow: 0 0 10px #333;
	min-height: 1460px;
	padding-top: 20px;
}

.home .wrapper{
	padding-top: 0;
}

.single-depute .wrapper{
	box-shadow: none;
}

/* header */
.header {
	position: fixed;
	width: 100%;
	height: 80px;
	background-color: #fff;
	z-index: 999;
	/*padding-left: 50px;*/
	border-bottom: 1px solid #73c077;
}

.header-content{
	max-width: 1240px;
	width: 100%;
	margin: auto;
	position: relative;
}

.header-shadow{
	position: fixed;
	/*width: calc(100% - 50px);*/
	width: 100%;
	height: 80px;
	background-color: #fff;
	z-index: 995;
	right: 0;
	box-shadow: 0 1px 3px #666;
}

.menu-gauche{
	background-color: #43a047;
	width: 50px;
	height: 100%;
	position: fixed;
	z-index: 998;
	display: none;
}

.couleur-bleu{
	background-color: #00595a;
}

/* logo */
.logo {
	float: left;
	width: 210px;
	border-bottom: 1px solid #73c077;
}

.logo-img {
	float: left;
	max-height: 79px;
}

.logo-img.ale{
	margin-left: 10px;
    margin-top: 7px;
    max-height: 66px;
}

.nav-content{
	float: left;
	height: 80px;
	width: 930px;
}

.second-nav{
	height: 40px;
	line-height: 40px;
	width: 100%;
    background-color: #73c077;
}

.slogan {
    height: 40px;
    color: #fff;
    text-transform: uppercase;
    /*padding-left: calc(50px + 1em);*/
    /*font-style: italic;*/
    /*text-align: center;*/
    padding-left: 18px;
    width: 80%;
    float: left;
}

.slogan > div{
	/*width: 1240px;*/
	/*margin: auto;*/
}

.nav-social{
	float: right;
	width: 20%;
	height: 40px;
	line-height: 40px;
	padding-top: 7px;
}

.nav-social img{
	height: 25px;
	float: right;
	padding-right: 1em;
	vertical-align: middle;
}

.envelope{
	margin-right: 0.7em;
}
/* nav */
.nav {
	width: 630px;
	float: left;
	height: 40px;
	background-color: #efefef;
	border-top: 1px solid #73c077;
	border-bottom: 1px solid #73c077;
}

.ico-search{
	width: 300px;
	height: 40px;
	float: right;
	background-color: #efefef;
	border-top: 1px solid #73c077;
	border-bottom: 1px solid #73c077;
	padding-top: 7px;
}

.ico-search img{
	float: right;
	margin-right: 1em;
	height: 25px;
	cursor: pointer;
}

#s{
	width: 0;
	display: none;
	float: right;
	margin-right: 1em;
	border: 0;
}


.nav ul {
	width: 100%;
	height: 100%;
	padding: 0;
	background-color: #efefef;
}

.nav li{
	text-decoration: none;
	list-style: none;
	height: 38px;
	line-height: 40px;
	font-size: 18px;
	text-transform: uppercase;
	font-family: "Rubik";
	font-weight: 400;
	float: left;
	text-align: center;
	padding-left: 1em;
	padding-right: 1em;
	border-left: 1px solid #73c077;
}

.nav li:last-child{
	border-right: 1px solid #73c077;
}


.nav .current-menu-item,
.nav li:hover{
	text-decoration: none;
	background-color: #fff;
	/*text-decoration: underline;*/
}

.nav li a{
	text-decoration: none;
	color: #73c077;
}

.agir-content{
	position: absolute;
	right: 0;
    z-index: 999;
}

.small-agir-content {
	font-size:10px;
	letter-spacing: .2px;
}

.bouton-agir{
	/*background-color: #43a047;*/
	background-color: #e74c3c;
  background-image: url("img/icons/newsletter-icone.png");
  background-position: 25px 8px;
	background-size: 50px;
  background-repeat: no-repeat;
  color: #fff;
  float: right;
  height: 105px;
  padding-top: 63px;
  position: relative;
  text-align: center;
  text-decoration: none !important;
  text-transform: uppercase;
  width: 100px;
	font-size: 15px;
  line-height: 14px;
  font-weight: bold;
}


.sub-menu{
	display: none;
}

.bouton-agir:after{
	/*border-color: transparent #1B5E20 transparent transparent;*/
	border-color: transparent #c0392b transparent transparent;
    border-style: solid;
    border-width: 0 15px 25px 0;
    bottom: 0;
    content: "";
    height: 0;
    left: 0;
    margin: 0 0 0 -15px;
    position: absolute;
    width: 0;
    z-index: 990;
}

.bouton-agir a{
	color: #fff;
    font-family: "Rubik-bold";
    font-size: 20px;
    text-decoration: none !important;
}

.bouton-agir a:hover{
	color: #efefef;
}

/*////////////////////////*/
/* sidebar */
.sidebar {
	float: left;
    position: relative;
    width: 100%;
}


/*------------------------------------*\
    PAGES
\*------------------------------------*/

/* video embed */
article iframe, .content iframe {
    max-width: 100% !important;
}

/*------------------------------------*\
    IMAGES
\*------------------------------------*/



/*------------------------------------*\
	TYPOGRAPHY
\*------------------------------------*/

@font-face {
	font-family:'Rubik';
	src:url('fonts/Rubik-regular/Rubik-regular.eot');
	src:url('fonts/Rubik-regular/Rubik-regular.eot?#iefix') format('embedded-opentype'),
		url('fonts/Rubik-regular/Rubik-regular.woff') format('woff'),
		url('fonts/Rubik-regular/Rubik-regular.ttf') format('truetype'),
		url('fonts/Rubik-regular/Rubik-regular.svg#Rubik-regular') format('svg');
    font-weight:normal;
    font-style:normal;
}
@font-face {
	font-family:'Rubik-extra';
	src:url('fonts/Rubik-900/Rubik-900.eot');
	src:url('fonts/Rubik-900/Rubik-900.eot?#iefix') format('embedded-opentype'),
		url('fonts/Rubik-900/Rubik-900.woff') format('woff'),
		url('fonts/Rubik-900/Rubik-900.ttf') format('truetype'),
		url('fonts/Rubik-900/Rubik-900.svg#Rubik-900') format('svg');
    font-weight:normal;
    font-style:normal;
}
@font-face {
	font-family:'Rubik-bold';
	src:url('fonts/Rubik-700/Rubik-700.eot');
	src:url('fonts/Rubik-700/Rubik-700.eot?#iefix') format('embedded-opentype'),
		url('fonts/Rubik-700/Rubik-700.woff') format('woff'),
		url('fonts/Rubik-700/Rubik-700.ttf') format('truetype'),
		url('fonts/Rubik-700/Rubik-700.svg#Rubik-700') format('svg');
    font-weight:normal;
    font-style:normal;
}

/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

@media only screen and (min-width:320px) {

}
@media only screen and (min-width:480px) {

}
@media only screen and (min-width:768px) {

}
@media only screen and (min-width:1024px) {

}
@media only screen and (min-width:1140px) {

}
@media only screen and (min-width:1280px) {

}
@media only screen and (-webkit-min-device-pixel-ratio:1.5),
	   only screen and (min-resolution:144dpi) {

}

/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
	margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:5px 20px 20px 0;
}
a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
.sticky {

}
.bypostauthor {

}

/*------------------------------------*\
    CORRECTIONS EDGE IE
\*------------------------------------*/

@supports (-ms-ime-align: auto) {
   /* Microsoft EdgeV13&14 CSS styles go here */
	.megamenu-article .image-article {
		top: 0 !important;
	}
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    /* IE10 & IE11 CSS styles go here */
    .megamenu-article .image-article {
		top: 0 !important;
	}
}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}
