/*
 Theme Name:     Interface d'administration de DEFI-Écologique
 Theme URI:      https://administration.defi-ecologique.com
 Description:    Thème pour l'interface d'administration
 Author:         Grégoire Llorca
 Author URI:     https://www.marketingmalin.fr
 Template:       defi-ecologique
 Version:        1.0.0
*/


/*
white : #fff
red : #b3323c
Orange : #ffa001
limegreen: #81a26e
background : #f3f5f6
Light Primary : #d8ded3
Primary : #879a77
Dark Primary : #5c775b
Darkest Primary : #435643
Accent : #ffa000
Dark Accent: #cc8000
Primary text : #666
Secondary text : #444
Text contrast : #688B88
Divider color : #bdbdbd
Light divider color : #eaeaea
Lightest divider color : #f3f5f6
*/

/* Override parent theme */
table{
	min-width: 900px;
}
header{
	position: initial;
}
section#center{
	margin-top:0;
}
a{
	color:#688B88;
}
a:hover{
	color:#879a77;
}
.moitie{
	display:inline-block;
	vertical-align: middle;
	width: 50%;
}
.moitie .rapport_graph{
	min-width:0;
}
body{
	font-size: 16px !important;
}


/* Navigation */
#breadcrumbs{
	font-size: 1em;
	width: 100%;
}
#breadcrumbs li{
	display: inline-block;
}
/* Menu central */
.admin_menu,
.admin_menu a,
.admin_menu h3{
	color: #fff;
	font-size: 1em;
	border-radius: 0.5em;
	display: block;
	font-weight: 400;
}
.admin_menu i{
	font-size: 1.5em;
}
.admin_menu a{
	padding: 1px 0.5em;
	min-width: 50%;
    display: table;
    margin: 0 auto;
}
.admin_menu a:hover{
	color: #eaeaea;
	box-shadow: 0 1px 4px rgba(0,0,0,.4);
}
.admin_menu a:active{
	box-shadow: none;
}
.admin_menu h3 a span{
	padding-bottom: 0;
	border-bottom: 1px dashed #fff;
}
.admin_menu h3 a:hover span{
	border: none;
	padding-bottom: 1px;
}
.admin_menu > li{
	padding: 1em;
}
.admin_menu > li:hover{
	background-color: #5c775b !important;
	box-shadow: 0 1px 4px rgba(0,0,0,.4);
}
.admin_menu > li > div{
	display: table;
	margin: 0 auto;
	width: 100%;
}
.admin_menu > li > div > *{
	display: table-cell;
	vertical-align: middle;
	text-align: center;
}
.admin_menu .square{
	padding: 0 0.5em;
}
.admin_menu > li > div > .square{
	font-size: 2em;
	width: 7em;
}
.admin_menu .square span,
.admin_menu .square i{
	display: table;
	margin: 0 auto;
}
.admin_menu .square h3{
	padding: 0 0 0.5em;
	margin-bottom: 0;
}
.admin_menu .square i{
	padding: 0.5em 0;
}
.admin_menu_sub .square{
	padding: 0.1em 0.5em;
}
.admin_menu_sub{
	text-align: center;
}
.admin_menu_sub  a:hover{
	box-shadow: none;
	color: #eaeaea;
	text-shadow: 1px 1px 0px rgba(255,160,0,.6);
}
.admin_menu_sub > li{
	display: inline-block;
	vertical-align: top;
	width: calc( 25% - 2px );
	padding: 0;
	margin: 0;
	border: 1px solid #fff;
}
.admin_menu_sub .admin_menu_sub > li .square > a{
	font-size: 0.9em;
	text-align: center;
    vertical-align: middle;
    display: table-cell;
	padding: 0 0.2em;
}
.admin_menu_sub .admin_menu_sub > li,
.admin_menu_sub .admin_menu_sub > li .square > a > *{
	width: auto;
	border: none;
}
.admin_menu_sub .admin_menu_sub > li .square > a > span{
	display: none;
}
.admin_menu_sub .admin_menu_sub > li .square > a > i{
    margin: 0;
}

/* HEADER */
header .admin_menu{
	font-size: 0.9em;
}
header .admin_menu a{
	padding: 0.33em 0.66em;
	min-width: 0;
    display: block;
    margin: 0;
    text-align: left;
}
header .admin_menu li{
	margin-bottom: 0;
	padding: 1em 10em 1em 5em;
}
header .admin_menu > li > div > *{
	display: block;
	padding-left: 50px;
}
header .admin_menu > li > div > .square{
	font-size: 1.2em;
	width: auto;
	padding: 1em;
	display: table;
}
header .admin_menu .square h3{
	padding: 0;
	margin: 0;
}
header .admin_menu .square span,
header .admin_menu .square i,
header .admin_menu_sub > li{
	display: initial;
	width: auto;
	padding: 0;
	margin: 0;
	vertical-align: middle;
	border: none;
}
header .admin_menu .square i{
	margin-right: 0.25em;
}
header .admin_menu_sub > li{
	display: block;
	border: none;
	margin-bottom: 1.5em;
}
header .admin_menu_sub a{
	padding: 0;
}
header .admin_menu .page_active i.page_active{
	color: #ffa000;
	font-weight: 600;
	margin-left: 0.5em;
	font-size: 0.9em;
}
header .admin_menu_sub .admin_menu_sub{
	padding-left: 50px;
	text-align: left;
	margin-top: 0.5em;
}
header .admin_menu_sub .admin_menu_sub > li{
    display: inline-block;
	margin-bottom: 0;
}
header .admin_menu_sub .admin_menu_sub a.page_active{
	color: #ffa000;
}
.header_trigger {
	z-index: 99999;
	top: 2em;
	left: 2em;
}
.header_trigger button {
	font-size: 2em;
	padding: 0;
    border: none;
    background: none;
}
.header_trigger button:hover {
	cursor: pointer;
	background-color: #eaeaea;
	border-radius: 99em;
	line-height: 1;
}
#header.reduced .hidden,
#header.reduced #htrig_back{
	display: block;
	z-index: 2;
	width: auto;
}
#header.reduced #htrig{
	display: none;
}

/* FOOTER */
footer{
	background-color: #879a77;
}
#footer_nav{
	padding: 1em 0;
}	
#footer_nav ul{
	text-align: left;
}
#footer_nav #top_level{
	width: 100%
}
#footer_nav #top_level > li{
	display: table-cell;
	vertical-align: top;
	padding: 1em;	
}
#footer_nav #top_level > li > ul{
	border-left: 1px dashed #eaeaea;
}
#footer_nav #top_level > li > ul > li{
	padding-left: 1em;
}
#footer_nav a{
	color: #fff;
	margin-bottom: 0.6em;
	display: block;
}
#footer_nav a i{
	margin-right: 0.5em;
    min-width: 1.5em;
    text-align: center;
}

#shortcuts{
	padding: 1em;
	right: 50px;
	top: 50px;
	border: 1px solid #688B88;
	border-radius: 1.5em;
}
#shortcuts i{
	margin-right: 0.5em;
}
#shortcuts li,
#shortcuts p{
	margin: 0;
}
#shortcuts a{
	padding: 0.25em 0; 
}


/* CONVERT PDF */
.convert_pdf_header{
	background: #5b765a;
    background: -moz-linear-gradient(left, #5b765a 0%, #4fa472 100%);
    background: -webkit-linear-gradient(left, #5b765a 0%,#4fa472 100%);
    background: linear-gradient(to right, #5b765a 0%,#4fa472 100%);
	text-align: right;
	color: #fff;
}
.convert_pdf_header a{
	color: #fff;
}
.convert_pdf_header #header h2{
	color:#ffa000;
	font-size: 1.7em;
    font-weight: 300;
    text-transform: lowercase;
}
.convert_pdf_header #header > div{
	padding: 1em 0 !important;
    width: 900px !important;
    min-width: 1px !important;
}
.convert_pdf_header.communique_header #header > div{
	display: table-cell;
    vertical-align: middle;
	width: auto !important;
}
.convert_pdf_header svg, .convert_pdf_header img {
    height: 4em;
}
.convert_pdf_header #header #rs{
	margin: 0 0 0 auto;
}
.convert_pdf_header #header > div > div{
	display: table-cell;
	vertical-align: middle;
}
footer.convert_pdf_footer #copyright > .center{
	width: auto;
}
#convert_pdf .guest_bio a,
#convert_pdf #partenaires .partenaire h3 a,
#convert_pdf .ebooks_loop .ebook_container a,
#convert_pdf .articles_loop .art_container a,
#convert_pdf .ssc{
	color: #4fa472 !important;
}
#convert_pdf .ssc_border{
	border-color: #4fa472 !important;
}
body #convert_pdf{
	font-size: 18px !important;
}
/* body #convert_pdf #rapport_article_container{ */
	/* max-width: 1024px !important; */
	/* display: table; */
	/* margin: 0 auto; */
/* } */
#convert_pdf .zapeco_embed iframe  ,
#convert_pdf .video_div_container  ,
#convert_pdf .tlImageContainer ,
#convert_pdf .tlImageContainer a,
#convert_pdf .gl_link{
	display: none !important;
}
footer.convert_pdf_footer{
	padding: 0;
}
#convert_pdf a{
	color:#ffa000;
}
#convert_pdf .tags a{
	background-color: #ddeee4;
    color: #435643;
}
#convert_pdf a:hover{
	color:#cc8000;
}
#convert_pdf .post_meta .meta_box a {
    color: #aaa;
}
#convert_pdf .post_title .article_auteur a{
    color: #eaeaea !important;
}
#convert_pdf .post_title .meta_box a:hover {
    color: #fff;
}
#convert_pdf .quote a {
    color: inherit;
}
#convert_pdf .art_img .copyright a {
    text-decoration: none;
    color: #aaa;
}
#convert_pdf  .articles_loop .art_container h3 a {
    color: #5c775b;
}
#convert_pdf  .cta_ssc_ghost{
	color:#4fa472  !important;
	background-color: transparent !important;
	border-color: #4fa472  !important;
}
#convert_pdf  .cta_ssc_ghost:hover{
	color:#fff !important;
	background-color: #4fa472  !important;
	border-color: #4fa472  !important;
}
/* REDACTION */
#redaction_container #sommaire a{
	color: #5c775b;
}
#redaction_container .btt{
	margin-bottom: 2em;
}
#redaction_container .btt a{
	color: #4fa472;
	font-size: 0.8em;
	font-style: italic;
}
#redaction_container .btt i{
	margin-right: 0.33em;
}
#redaction_container .post_title{
	padding: 2em 0;
}
#redaction_container .stripe h2{
	margin: 4em 0 0.25em!important;
}
#redaction_container .stripe #presentation h2{
	margin-top: 0 !important;
}
#content_stripe{
	padding-left: 0 !important;
	padding-right: 0 !important;
}
/* GENERAL */
.float_table{
    display: inline-block;
    vertical-align: top;
    margin: 0.5em;
}
#cookie-law-info-bar,
#cookie-law-info-again{
	display:none;
}
.admin-header{
	padding: 0 5px;
	margin: 0;
	margin-top: 80px;
	background-color : #cfd8dc;
	border-bottom: solid 1px #bdbdbd;
}
.performances{
	color: #8bc34a;
	border: 1px dashed #8bc34a;
	padding: 1%;
}


/* Rapports */
/* MENUS */
.report_menu{
	display:table;
	margin:1em auto;
	text-align: center;	
}
.report_menu > div{
	display: inline-block;
	vertical-align: top;
	text-align:center;
}
.report_menu > div span{
	display: table-cell;
    vertical-align: middle;
}
.report_menu > div i{
	font-size:2em;
	display: table-cell;
    vertical-align: middle;
}
.report_menu > div a > p{
	color: #fff;
	display: table-row;
	vertical-align: middle;
	height: 50%;
}
.report_menu > div a{
	color:#fff;
	text-decoration:none;
}
.report_menu > div a:hover{
	color:#fff;
}
.report_menu.small{
	font-size: 0.8em;
}
.report_menu.small > div{
	width:150px;
	max-width: 15%;
}
.report_menu.small > div i{
	font-size: 1.5em;
}
.report_menu.small > div a{
	height: 120px;
}
.report_menu.big{
	max-width:850px;
	font-size: 29px;
}
.report_menu.big > div{
	width:250px;
}
.report_menu.big > div a{
	height: 220px;
}
#lignemenu > a{
	padding: 10px 15px;
	text-decoration: none;
	font-weight: 700;
	display: inline-block;
	vertical-align: middle;
	border: solid 1px #688B88;
	margin : 0.5em;
}
#lignemenu > a:hover{
	border-color:#879a77;
	color:#879a77;
}
/* ADMIN ACTIONS */
.admin_action{
	padding-left: 1em;
	margin:1em 0;
}
.admin_action > a{
	color:#688B88;
	font-size:1.2em;
	text-decoration:none;
	display: block;
	margin: 0.5em 0;
}
.admin_action > a:hover{
	color:#879a77;
}
.admin_action > a > i{
	margin-right: 0.5em;
	min-width: 1.1em;
    text-align: center;
}
/* FILTRES */
.filtres{
	border: 1px solid #eaeaea;
	padding: 1%;
}
.multi_filtres{
    display: table-cell;
    min-width: 200px;
}
.filtres > strong,
.filtres > a{
	padding: 10px 15px;
	text-decoration: none;
	font-weight: 700;
	display: inline-block;
	vertical-align: middle;
	margin : 0.5em;
}
.multi_filtres > strong,
.multi_filtres > a{
	display: block;
	padding: 0;
    text-align: left;
}
.filtres > strong{
	color:#81a26e;
}
/* MISE EN FORME */
.negatif{
	color:#b3323c;
}
.negatif:before{
	content: "\f056";	
    font: normal normal normal 1em 'Font Awesome 5 Free';
    font-weight: 900;
	margin-right: 5px;
}
.positif{
	color:#81a26e;
}
.positif:before{
	content: "\f055";
    font: normal normal normal 1em 'Font Awesome 5 Free';
    font-weight: 900;
	margin-right: 5px;
}
.neutre{
	color:#444;
}
.neutre:before{
	content: "\f28b";	
    font: normal normal normal 1em 'Font Awesome 5 Free';
    font-weight: 900;
	margin-right: 5px;
}
.perc:after{
	content: "\0025";
}
.negatif.perc:before{
	content: "\f0ab";	
}
.positif.perc:before{
	content: "\f0aa";	
}
.neutre.perc:before{
	content: "\f0a9";	
}
/* PAGE PRINCIPALE */
h3.category_title{
	color:#fff;
	padding: 15px;
	margin-top: 1.5em;
}
h3.category_title i{
	margin-right: 1em;
}
a.report_link{
	text-decoration: none;
	font-style: italic;
}
.menu_id{
	padding-top: 35px;
}
/* WIDGETS */
.widgets_area .widget{
	display: inline-block;
	vertical-align: top;
	margin: 1em;
}
.widget .w_container{
	padding: 1em;
	border: 1px solid #879a77;
}
.widget h4{
	max-width: 400px;
	min-width: 300px;
	min-height: 3.7em;
	margin:0 auto;
}
.widget .w_table{
	width: 100%;
	display:table;
	text-align:center;
}
.widget .w_table > div{
	display: table-cell;
    vertical-align: middle;
    padding: 0 1em;
}
.widget.widget_rapport_article .w_table > div{
	display: table;
	margin: 0 auto;
}
.widget .w_table .w_circle p{
    font-size: 2em;
    border: 3px solid #879a77;
    border-radius: 6em;
    padding: 0.8em;
    text-align: center;
	margin-bottom: 0.5em; 
}
.widget .w_table .w_values{
	text-align: left;
}
.widget .w_table .w_values > div > h5,
.widget .w_table .w_values > div > p{
	display: inline-block;
	vertical-align: middle;
	font-size: 0.8em;
	margin-bottom: 0;
}
.widget .w_table .w_values span{
	margin-left: 1em;
}
/* GRAPHS */
.rapport_graph{
	width: 100%;
	height: 400px;
	min-width: 70em;
}
.rapport_graph.bar_graph{
	height: 100vh;
}
/* TAGS */
.tags a{
	margin: 0 0.5em;
	padding: 0.2em 0.5em;
	border-radius: 0.5em;
	background-color: #879a77;
	color: #fff;
}
.tags a:hover{
	background-color: #d8ded3;
	color: #435643;
}

/* VERSION PDF DE LA NEWSLETTER */
#convert_pdf .content#pdf_newsletter{
	max-width: 600px !important;
}
#convert_pdf .content#pdf_newsletter h1{
	text-transform: initial;
    letter-spacing: initial;
	line-height: normal;
}
#convert_pdf .content#pdf_newsletter h1 a{
	color: #879a77;
}
#convert_pdf .content#pdf_newsletter #quote{
    font-style: italic;
    color: #879a77;
    max-width: 90%;
}

/* Single How To */
#ctas_sidebar{
	bottom: 4em;
	font-size: 0.8em;
}

/* Communiques de presse */
.convert_pdf_header.communique_header,
.communique#convert_pdf .post.content .contenu h2{
	background: #5b765a;
    background: -moz-linear-gradient(left, #5b765a 0%, #9fc75e  100%);
    background: -webkit-linear-gradient(left, #5b765a 0%,#9fc75e  100%);
    background: linear-gradient(to right, #5b765a 0%,#9fc75e  100%);
}
.communique#convert_pdf .post.content .contenu h2.pop{
	background: #ffa000;
	font-weight: 600;
}
.convert_pdf_header.communique_header #header > div:last-child h2{
	color:#fff;
}
.communique#convert_pdf .ssc,
.communique#convert_pdf .quote blockquote:before,
.communique#convert_pdf .post.content .contenu h3{
	color: #9fc75e !important;
}
.communique#convert_pdf .ssc_border{
	border-color: #9fc75e !important;
}
.communique#convert_pdf .ssc_background{
	background-color: #9fc75e !important;
}
.communique#convert_pdf .ssc_background_light{
	background-color: #e5e9e2 !important;
}
.communique#convert_pdf #post_gradient{
	background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-image: url(images/hero_shot_1000x2000.png);
    background-attachment: initial;
}
.communique#convert_pdf #post_gradient .post_title{
	background: linear-gradient(to right, rgba(79, 28, 13, 0.8) 35%, rgba(79, 28, 13, 0.5) 70%, rgba(79, 28, 13, 0) 100%);
	padding: 6em 5%;
    display: block;
    position: relative;
    width: 90%;
}
.communique#convert_pdf #post_gradient .post_title h1{
	max-width: 950px !important;
}
.communique#convert_pdf #sous_titre {
	table-layout: fixed;
}
.communique#convert_pdf #sous_titre > div{
	display: table-cell;
	vertical-align: middle;
}
.communique#convert_pdf #contacts_liste{
	font-size: 0.9em;
	margin: 0;
}
.communique#convert_pdf #contacts_liste h2{
	color: #5c775b;
	margin-bottom: 0.1em;
	font-size: 1.8em;
}
/* FORMULAIRES */
.stripe .mm_form textarea, .stripe .mm_form input, .stripe .mm_form select, .body_type footer .mm_form textarea, .body_type footer .mm_form input, .body_type footer .mm_form select, .body_service footer .mm_form textarea, .body_service footer .mm_form select, .body_service footer .mm_form input{
	border-color: #d8ded3;
}
.stripe .mm_form textarea:focus, .stripe .mm_form input:focus, .stripe .mm_form select:focus, .body_type footer .mm_form textarea:focus, .body_type footer .mm_form input:focus, .body_type footer .mm_form select:focus, .body_service footer .mm_form textarea:focus, .body_service footer .mm_form select:focus, .body_service footer .mm_form input:focus{
	border-color: #9fc75e;
}
/* TABLES */
table{
	border: none;
	border-spacing: 0;
}
table.center,
table.large{
	margin: 1em auto;	
}
table.full{
	min-width: 100%;	
}
table span{
	margin-right: 5px;
}
table span.right,
table span.left{
	margin: 0;
}
table i{
	margin-left: 5px;
	margin-right: 5px;
}
table thead{
	color: #fff;
	background-color: #879a77;
	font-weight: 600;
}
table thead tr td{
	padding: 0.5em;
    vertical-align: middle;
}
table.large thead tr td{
	padding: 20px 15px;
}
table thead tr td strong{
	display: table;
	margin: 0 auto;
	text-transform: uppercase;
	color:#5c775b;
}
table tbody tr{
	background-color:#f3f5f6;
	padding: 0.5em;
}
table.large tbody tr{
	padding: 15px;
}
table tbody tr td{
	border-top:1px solid #879a77;
	border-right: 1px solid #d8ded3;
	padding: 0.5em;
	vertical-align: middle;
}
table tbody tr.red td{
	border-color: #bdbdbd;
	background-color: #b3323c;
	color: #fff;
}
table tbody tr.green td{
	border-color: #bdbdbd;
	background-color: #81a26e;
	color: #fff;
}
table tbody tr.orange td{
	border-color: #bdbdbd;
	background-color: #ffa001;
	color: #fff;
}
table tbody tr.red td a,
table tbody tr.green td a,
table tbody tr.orange td a{
	color: #fff;
}
table.large tbody tr td{
	padding: 15px;
}
table tbody tr td.hhead{
	color: #fff;
	background-color: #879a77;
	font-weight: 600;
}
table tbody tr td.blank{
	background-color: #879a77;
}
table .soustd{
	display: inline-block;
	vertical-align: middle;
	margin-right:0;
}


@media (min-width: 1000px) {
	.content{
		max-width: 1700px !important;
		min-width: 1000px !important;
	}
	#convert_pdf .content{
		min-width: 0 !important;
		max-width: 900px !important;
	}
	#convert_pdf .rapport_graph{
		width: 900px !important;
		min-width: 0 !important;
	}
	#convert_pdf .widget h4 {
		max-width: 210px;
		min-width: 200px;
		min-height: 4.5em;
	}
}