@charset "utf-8";
/* Responsive for Mobiles & Tablets */





/* Switching box model for all elements */
* {
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}


@media screen and (max-width:972px) {

/* Header */
#Header {
	height: 100px;	
}
#Header h1#logo {
    padding-left: 5px;
}
#Header h1#logo IMG {
	height: 95px;
}
#Header nav {
	top: 42px;
}
#Header nav a {
	font-size: 13px;
	margin-right: -6px;
}
}

@media screen and (max-width:768px) {


/* dossier candidature */
.pdf {
    position: relative;
    top: inherit;
    right: inherit;
    text-align: center;
    width: 350px;
    display: ;
    margin: 0 auto;
}
.pdf_version a {
    display: inline-block;
}

#questionPanel .field-full {
    width: 100%;
}
#questionPanel fieldset {
    margin: 30px 5px;
    padding: 20px 0px;
}
#questionPanel legend {
    font-size: 14px;
	font-weight: 500;
}
#questionPanel label {
    padding: 6px 4px;
	font-size: 14px;
}
#questionPanel label, #questionPanel input {
    float: none;
    width: 100% !important;
}
#questionPanel label.labelizer {
    float: left;
	text-align: center;
}
#questionPanel p {
    padding: 0;
}
#questionPanel input.field {
    border: 1px solid #ccc;
    background: none;
	border-radius: 4px;
	padding: 6px 2px;
}
#label_solidarite, #label_patrimoine, #label_environnement {
    font-size: 13px;
}
#ChoixCategorie label {
    font-size: 11px;
    line-height: 12px;
	text-align: center;
}
#ChoixCategorie label span {
    display: block;
}
#ChoixCategorie IMG {
    float: none;
}
.buttonNavigation, #submit, .wpcf7-submit {
    font-size: 13px;
}
.navigation {
    text-align: center;
	height: auto;
}

.navigation #previous, .navigation #next, .navigation #submission {
	float: none;
	margin: 5px 0;
}

/* Dreyeckland */
#dreyeckland {
    right: 18%;
}


.padding {
  padding: 10px 15px;
}
#Candidat {
	width: 50px !important;
	height: 50px !important;
	top: 1rem;
	right: 58px;
}

#Candidat a{
	width: 50px !important;
	height: 50px !important;
}

/* mep */
.container {
	width: 100%;
}
#Main {
	width: 100%;
	float: none;
	-webkit-box-shadow: none;
	box-shadow: none;	
}
body.page #Main, body.single #Main, body.category #Main, body.archive #Main {
	min-height: inherit;
}

/* general */
.twocols {
	width: 100%;
	float: none;
	min-height: inherit;
	padding: 0px;
}
body.single .twocols {
	padding: 5px;	
}

/* Header */
#Header {
	height: inherit;	
}
#Header h1#logo IMG {
	height: 80px;
}
#Header h1 a {
    Width: 325px !important;
    height: 105px !important;
    background-size: contain !important;
}

#Header nav {
	top: 0px;
	left: 0px; right: 0px;
	z-index: 9999;
}
#Header nav ul {
	display: block;
}
#Header nav li {
	display: block;
}
#Header nav a {
	border-radius: 0px;
}

#Header nav ul.sub-menu {
	display: block;
}
#Header nav ul.sub-menu a {
	font-size: 12px;
	padding-left: 50px;
}


/* Menu Responsive */
nav#nav + * {
		position: relative;
	}

/* Theming opened nav */	
#nav ul {				
	/* maximum height */
	max-height: 25em;

	/* translate with hardware acceleration */
	-webkit-transform: translateZ(0); 
	-ms-transform: translateZ(0);
			transform: translateZ(0);
	-webkit-transition: max-height .4s;
			transition: max-height .4s;
	will-change: max-height;

	/* global styles */
	margin: 0;
	padding: 0;
	list-style: none;
}
#nav a {
	display: block;
	width: 100%;
	padding: 1.2rem;
	color: #333;
	/*background: #fff;*/
	background-color: rgba(255, 255, 255, 0.9);
	text-decoration: none;
	margin-bottom: 2px;
}
#nav a:hover, 
#nav a:focus,
#nav a:active
{
	background: #eee;
}

/* Theming closed nav */
#nav.is-closed ul {
	max-height: 0;
	overflow: hidden;
}

/* Global styling nav button */	
/*#nav > button {
	display: block;
	position: absolute;
	top: 1rem; right: 1rem;
	z-index: 1;
	height: 3.5rem; width: 3.5rem;
	background-color: transparent;
	background-image: -webkit-gradient(linear, left top, right top, from(#a38000), to(#a38000)), -webkit-gradient(linear, left top, right top, from(#a38000), to(#a38000)), -webkit-gradient(linear, left top, right top, from(#a38000), to(#a38000));
	background-image: -webkit-linear-gradient(left, #a38000, #a38000), -webkit-linear-gradient(left, #a38000, #a38000), -webkit-linear-gradient(left, #a38000, #a38000);
	background-image: linear-gradient(to right, #a38000, #a38000),
		linear-gradient(to right, #a38000, #a38000),
		linear-gradient(to right, #a38000, #a38000);
	background-position: center top, center, center bottom;
	background-repeat: no-repeat;
	-webkit-background-size: 3.5rem .9rem;
			background-size: 3.5rem .9rem;
	padding: 0;
	outline: 0;
	border: 0;
	cursor: pointer;
	-webkit-tap-highlight-color:rgba(0,0,0,0);
	-webkit-transition: .2s;
			transition: .2s;
}*/
#nav > button {
	cursor: pointer;
	display: block;
	position: absolute;
	top: 1rem;
    right: 5px;
	width: 44px; height: 44px;
	background: url(../img/RespMenu-off.png);
	border: 0; outline: none;
	-webkit-transition: background 0.2s linear;
	-moz-transition: background 0.2s linear;
	-ms-transition: background 0.2s linear;
	-o-transition: background 0.2s linear;
	transition: background 0.2s linear;
}

/*  Removing Firefox's dotted outline on button */	
#nav > button::-moz-focus-inner {
	border: 0;
	outline: none;
}

/* Theming opened nav button */	
/*#nav:not(.is-closed) > button {
	-webkit-transform: rotate(180deg) translateZ(0);
			transform: rotate(180deg) translateZ(0);
	background-position: center, center, center;
}*/
#nav:not(.is-closed) > button {
	background: url(../img/RespMenu-on.png);
	z-index: +1;
	border: 0; outline: none;
	
}


/* Hide alternate text except from screen readers */
.visually-hidden {
	position: absolute !important;
	clip: rect(1px, 1px, 1px, 1px);
	overflow: hidden;
	height: 1px;
	width: 1px;
}


#Contents {
	width: 100%;
    padding: 2px;
}

/* articles */
h1.entry-title {
	-webkit-border-radius: 6px;
	border-radius: 6px;
	height: auto;
	padding: 6px 0 6px 0;
	font-size: 18px;
}
.entry-content {
	padding: 10px;	
}
body.single .entry-meta {
	text-align: center;
	font-size: 12px;
}
#Pratique h3 {
	padding-bottom: 10px;
	font-size: 17px;
}
body.single #Pratique h3 {
	margin: 5px 0 5px 0;
}
body.single .actu {
	clear: none;	
}

.actu {
	padding: 0;	
}
.actu h4 {
	font-size: 14px;	
}
.actu p {
	font-size: 12px;	
}
#Actualites IMG {
	width: 75px; height: 75px;	
}

/* contenus */
.entry-content {
	padding: 10px;	
}
.main h3, .main h4, .main h5 {
	margin: 10px 0 5px 0;
}
.main h3 {
	font-size: 18px;
}
.main h4 {
	font-size: 16px;
}
.main h5 {
	font-size: 14px;
}
.main h6 {
	font-size: 12px;
}
.main P, .main ul, .main ol {
	font-size: 13px; 
}
.main ul, .main ol {
	margin: 5px 0 10px 0;
}
.main li {
	margin: 5px 0 5px 20px;
}
.main P {
	margin: 7px 0;
}



/* Coldroite */
#Secondary {
	display: none;
}

/* Footer */
#Footer {
	height: auto;
}
#Footer h5 {
	width: 60%;
	float: left;
	padding: 10px 0 10px 0;
	margin: 5px 0 10px 5px;
}
#Links {
	width: 90px;
	float: right;
	position: inherit;
	text-align: right;
	margin: 8px 5px 0 0;
}
#Links a {
	font-size: 18px;
	width: 35px; height: 35px;
}
#Footer nav {
	clear: both;
	display: block;
	position: relative;
	width: 80%;
	margin: 20px auto 10px auto;
	text-align: center;
}
#Footer nav a {
	text-align: center;
}
#Links a.search-link {
	display: none;
}


/* Accueil */
#Categories {
	height: auto;	
}
.cat {
	float: none;
	width: 100%;
	min-height: inherit;
	margin-bottom: 6px;
}
.cat img {
	width: 80px; height: 80px;	
}
#ThreeCats {
	padding: 0 6px;		
}
#Pira h2 {
	padding: 6px;
	height: auto;
	max-height: inherit;
}
#Pira p.intro {
	padding: 0 6px;	
}
#CoupCoeur {
	position: relative;
	background: #f0faff;
	width: 100%;
	height: auto;
	top: inherit; margin-bottom: 0px;
}
#CoupCoeur h3 {
	padding: 20px 6px 0px 6px;
	margin: 10px 0 -15px 0;		
}
#CoupCoeur P {
	padding: 0 6px 10px 6px;		
}
#Pratique {
	height: auto;
	margin-top: -10px;
	padding: 10px;
}

body.home .actu {
	padding: 20px 0;
}
body.home #Pratique h3 {
	margin-bottom: 0;	
}
.accordion {
	height: auto;	
}
.accordion .ui-accordion-content {
	height: 150px;	
}

/* Articles */
body.category article {
  padding: 5px 0 10px 0;
  margin: 10px 0;
}

.alignright {
    float: none; display: block;
	position: relative;
    margin: 7px auto;
}

.bloc-video {
    width: 100%;
	height: auto;
    padding: 2px;
    background: #fff;
    border: 1px solid #ccc;
}

body.single .wp-post-image {
	display: none;	
}

body.single .main IMG, body.page .main IMG {
	width: 100%;
	height: auto;	
}


/* 404 */
#Visuel-404 {
  display: none;
}

#OneCol {
    padding: 20px 0px;
	min-height: 300px;
}

}

/* Smartphones (portrait and landscape) ----------- */
@media screen and (min-device-width : 320px) and (max-device-width : 768px) {
html, body {
   width: auto !important;
   overflow-x: hidden !important;
}
.container {
	min-width: 320px;
}

}

/* Smartphones ----------- */
@media only screen and (max-width : 480px) {
/* Dreyeckland */
#dreyeckland-mobile {
	width: 100%;
	text-align: center;
	max-width: inherit;
}
#dreyeckland-mobile img {
	max-height: 60px;	
}

/*#wrapper {
	padding-bottom: 80px;	
}*/

}

/*  Cas particuliers----------- */
@media only screen and (max-width : 1180px) {
/* Dreyeckland */
#dreyeckland {
    top: 30px;
	right: 46%;
}
#dreyeckland img {
	width: 75%;
    height: auto;	
}
}

@media only screen and (max-width : 960px) {
#dreyeckland {
	display: none;
}
#dreyeckland-mobile {
	display: inline;
	position: fixed;
	z-index: 99999;
	bottom: 0;
	left: 0;
	background: rgba(255,255,255,0.85);
	padding: 6px 12px;
}
}
