/*
* Adaptations sur le CSS de D.P.
*/

/* ************ GENERAL ************* */
/* Liens */
a {text-decoration:none;}
a:hover {text-decoration:underline;}

/* CNIL*/
.cnil {
	position:fixed; bottom:0;
	width:70%; 
	left:15%;
	border:#faebcc solid 1px;
	border-bottom:none;
	color:#8a6d3b; 
	background-color:#fcf8e3;
	border-radius:3px 3px 0 0;
	z-index:10;
	padding:10px 20px;
	font-size:12px;
	text-align:center;
}
.cnil .cnil-close {position:absolute; top:3px; right:5px; font-size:9px; cursor:pointer;}
@media (max-width: 43.75em) {.cnil {width:100%; left:0%;}}

/* ************ HEADER ************* */

/* Topbar */
.actions_toolbar {margin:0 1em 1em 0;}
.nav_primary .nav_li-lv1 a {padding:0.75em 1.25em;}
.header_wrap .logo_plus-baseline, .nav_primary {
	font-family: "breeserif", "Cambria", "georgia", "Times", "Times New Roman", "serif", "serif";
	font-weight:300;
	text-transform:uppercase;
}

/* Header */
@media (min-width:43.75em) {
	.header_wrap .logo_plus-baseline {
		text-align:center;
		width:initial;
	}
}
.header_wrap .logo_plus-baseline {padding:15px; margin:0;}
.header_wrap .logo_plus-baseline p {font-size:1em; padding:0;}
.header_logo {margin:0; padding:0; max-height:250px;}

/* ************ FOOTER ************* */
/* Footer */
footer {padding-top:10px; font-size:.7em;}
footer .sitemap_item-lv1 a:after, .sitemap_item-lv1 button:after {content:'';}
footer .sitemap_item-lv1>a:after, .sitemap_item-lv1>button:after {content:'';}
footer a, footer a:active, footer a:hover, footer a:visited, footer a:focus {color:white; font-weight:bold;}

/* ************ SIDEBAR ************* */
/* Sidebar (pages articles) */
ul.sidebar {list-style:none; margin-top:0;}
ul.sidebar>li.widget_item {margin:20px 0;}
ul.siderbar#news_last-container ul#news_last-container {width:100%;}

/* ************ WIDGETS ************* */		
/* Widget en images / en vidéos */
.news_gallery-photo.title_overlay img {min-width:100%; min-height:none; /* min-height:100%;*/}
.title_overlay .title {margin-bottom:-1px;}

/* Widget Tags/Mots clés*/
.tag {
	text-decoration:none;
    background:#fff;
    color:#333333;
    border:#333333 1px solid;
    display:inline-block;
    outline:0;
    padding:0 0.3em;
}

/* Last news */
.news_last-item .date {padding:1.25em 0;}
.news_last-item .linkto_article {line-height:1.4em;}
@media (max-width:74.9375em) and (min-width:37.5em) {
	.news_last-container .news_last-legend [class^="source_"],
	.news_last-container .news_last-legend [class*=" source_"]
		{display:inline-block; width:49%;}
}
.news_last-title.no-legend {border-bottom: solid #e9e9e9 3px;}

/* ************ BOITE DE DIALOGUE ************* */	
/* Boite de dialogue (Recherche et autres) */
.wy-dlg .action_search-bar {top:0; opacity:1;}
.wy-dlg .action_search-bar .icon-cross {padding:.5em .7em;}		
.wy-dlg .action_search-bar h2 {margin: 0 0 5px 0;}
.wy-dlg .action_search-bar input[type="submit"] {width:auto;}

/* Boite de dialogue */
.wy-dlg {
	position:absolute;
	top:0; left:0;
	z-index:100;
	width:100%; height:100%;
	background:rgba(0,0,0,.5);
	margin:0; padding:0;
	display:none;
}
.wy-dlg .action_search-bar {    
	/*left: 50%;
    margin-left: -13.5em;*/
	margin: 0 auto;
    position: relative;
}

/* ************ FORMULAIRES ************* */	
/* Formulaires */
form .form-group {text-align:center; margin-bottom:10px;}
form .form-group input[type="submit"], form .form-group button {display: inline-block;}
form label.checkbox {display:inline;}

button {    
	background: #333333;
    border: 0;
    color: #fff;
    display: inline-block;
    outline: 0;
    padding: 0.1em 0.5em;
    position: relative;
    width: 28%;
}
button:hover, button:focus {
    background: #fff;
    color: #333;
}
select, textarea {
    display:inline-block;
    font-family:"breeserif","Cambria","$georgia","serif";
    outline:0;
    background:none;
    border:1px solid #ccc;
    -webkit-transition:200ms all ease-in-out;
    transition:200ms all ease-in-out;
    padding:0.25rem 0.5rem;
}
textarea {width:90%;}
textarea:hover {
    background:#dedede;
}

input[type="submit"], button {
	width:auto;
	display:block;
}
input[type="submit"].inline, button.inline {
	display:inline-block;
}
input[type="search"], 
input[type="text"], 
input[type="email"], 
input[type="password"],
select {
    background:none;
    border:1px solid #ccc;
    -webkit-transition:200ms all ease-in-out;
    transition:200ms all ease-in-out;
    width:18.75em;
	max-width: 100%;
    padding:0.25rem 0.5rem;
}
textarea:focus,
input[type="search"]:focus, 
input[type="text"]:focus, 
input[type="email"]:focus, 
input[type="password"]:focus {
    border:1px solid #111;
}
a input[type="submit"]:hover, a button:hover, button a:hover {text-decoration:none;}

/* ************ ALERTES ************* */	
/* Alertes */
.wy-alert {
	position:fixed;
	top:0;
	width:50%;
	left:25%;
	padding:15px;
	text-align:center;
	border:#333 solid 1px;
	border-top:none;
	color:#333;
	cursor:pointer;
	border-radius:0 0 3px 3px;
	z-index:10;
	display:none;
}
.wy-alert-close {position:absolute; top:3px; right:5px; font-size:9px;}
.wy-alert-success {color:#3c763d; background-color:#dff0d8; border-color:#d6e9c6;}
.wy-alert-danger, .wy-alert-error {color:#a94442; background-color:#f2dede; border-color:#ebccd1;}
.wy-alert-warning {color:#8a6d3b; background-color:#fcf8e3; border-color:#faebcc;}
.wy-alert-info {color:#31708f; background-color:#d9edf7; border-color:#bce8f1;}
@media (max-width: 43.75em) {.wy-alert {width:100%; left:0%;}}


/* ************ ARTICLE ************* */
/* Intégration d'une image/vidéo dans une page article */
.article_video-wrap {width:66%;}
.article_video-wrap a {position:relative}
.article_video-wrap a img.play {position:absolute; top:50%; left:50%; margin:-48px 0 0 -48px;}


/* Articles cachés */
article .pw-hidden-article {position:relative;}
article .pw-hidden-article .pw-article-mask {
	position:absolute;
	top:0; left:0;
	width:100%; height:100%;
	background:-webkit-linear-gradient(rgba(255,255,255,0),rgba(255,255,255,1));
	background:-moz-linear-gradient(rgba(255,255,255,0),rgba(255,255,255,1));
	background:-ms-linear-gradient(rgba(255,255,255,0),rgba(255,255,255,1));
	background:-o-linear-gradient(rgba(255,255,255,0),rgba(255,255,255,1));
	background:linear-gradientrgba(255,255,255,0),rgba(255,255,255,1));
}

/* Articles */
article .article_related-category a {margin-bottom:1px;}
article .article_related-words {font-weight:bold; font-style:italic; color:#333;}
article .article_comment-wrap .wy-report-comment {
	border-radius:1px;
	position:absolute;
	top:1px; left:1px;
	cursor:pointer;
	padding:0px 3px;
	display:none;
	color:#8a6d3b; 
	background-color:#fcf8e3; 
	border:#faebcc 1px solid;
}
article .article_related-illustration img:before {background:none;}
article ul.pdf-files {
	list-style:none;
}
article ul.pdf-files img {
	width:48px;
}
article form .form-group {text-align:left;}

/* Image */
.article_related-illustration:before {
  background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.8)), url("/upload/18/pics/2015/11/web/56386f9a8cdc2.jpg") no-repeat center top;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.8)), url("/upload/18/pics/2015/11/web/56386f9a8cdc2.jpg") no-repeat center top;
  top: 0em;
}

@supports ((-webkit-filter: blur(30px)) or (filter: blur(30px))) {
  .article_related-illustration:before {
    background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)), url("/upload/18/pics/2015/11/web/56386f9a8cdc2.jpg") no-repeat center top;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)), url("/upload/18/pics/2015/11/web/56386f9a8cdc2.jpg") no-repeat center top;
	top: 4em;
  }
}

/* ************ LISTING ************* */
/* Vidéo sur listing */
.category_page .article_illustration:before {z-index:-1;}
					
/* Listes d'articles */
.category_page .article figure {text-align:center; overflow:hidden;}
.category_page .article_excerpt {line-height:1.5em;}

@media (max-width:34.375em) {
	.category_page {padding:0;}
	.category_page .category_list {padding:.5em;}
}


/* ************ PAGES STATIQUES ************* */
/* bloc page - fond blanc */
[class^="page-bloc-"], [class*=" page-bloc-"] {background: #fff; margin:0 auto 4em auto; padding:1em; width:90%;}
.page-bloc-sm {max-width:43.75em;}
.page-bloc-md {max-width:65em;}
.page-bloc-lg {max-width:none;}

/* ************ HOME ************* */
/* photo de une */
#featured_articles-wrap img {width:100%;}
@media (max-width: 46.875em) {
	[id="featured_articles-wrap"] .article + .article {width:100%;}
}

.category_wrap .article {margin-bottom:.5em;}
@media (max-width: 46.875em) {
	.category_wrap .article:nth-child(n+4) {display:none;}
}
@media (min-width: 75em) {
	.category_wrap .article:nth-child(n+4) {display:none;}
}
@media (min-width: 61.3125em) {
	[id="featured_articles-wrap"]:before, [id="featured_articles-wrap-bg"]:before {bottom:5% !important; left:4% !important;}
}

/* Home widget */
.widget_title {font-size:1.5em; margin: 0 0 0.7em 0;}
.widgets_list {margin-top:1.5em; font-size:0.8em;}
.widgets_list [id^="widget_top"] a {
    margin-bottom: 0em;
    padding: 0 0 1em 1.5em;
}
@media (min-width: 46.875em) and (max-width: 75em) {
	.home_main > .widgets_list {display: flex;}
}
@media (min-width: 61.25em) {
	.widgets_list .widget_item {width:18.75%;}  /* 5 widgets */ 
	.widgets_list .widget_item:nth-child(n+6) {display:none;}
}
@media (min-width: 61.3125em) and (max-width: 75em) {
	.home_main > .widgets_list > li {width:23.75%;} /* 4 widgets */ 
	.home_main > .widgets_list > li:nth-child(n+5) {display:none;}
}
@media (min-width: 46.875em) and (max-width: 61.3125em) {
	.home_main > .widgets_list > li {width:32%;} /* 3 widgets */ 
	.home_main > .widgets_list > li:nth-child(n+4) {display:none;}
}
@media (min-width: 34.375em) and (max-width: 46.875em) {
	.home_main > .widgets_list > li {
		width: 47.25%;  /* 2 widgets */ 
		margin: 1em .5em;
	}
}

/* Pub */
/*
#featured_articles-wrap .wy-advert, .wy-advert {text-align:center; overflow:hidden; margin-bottom:10px;}
#featured_articles-wrap .wy-advert img, .wy-advert img {height:100%; width:auto; max-width:none;}
*/
#featured_articles-wrap .wy-advert, .wy-advert {text-align:center; margin-bottom:10px;}
#featured_articles-wrap .wy-advert img, .wy-advert img {max-height:100%; max-width:100%; width:auto; height:auto;}

/* ************ BARRE DE NAVIGATION ************* */
nav.nav_primary .navbar {
	/*overflow-x:hidden;
	height:43px;*/
}

.nav_primary li.menu_title {background:#333333; padding:.2em 0 0 1em;}
.nav_primary li.menu_title a {background:#e9e9e9; padding:0.5em 1.25em;}
.nav_primary .nav_li-lv1.more ul {left:initial; right:0;}
.nav_primary .nav_li-lv1:hover ul,
.nav_primary .nav_li-lv1:focus ul {max-height:none;}

.nav_primary .nav_li-lv1:hover .ui_indicator-more:after,
.nav_primary .nav_li-lv1:focus .ui_indicator-more:after {
  -webkit-transform:rotate(45deg);
      -ms-transform:rotate(45deg);
          transform:rotate(45deg);
}
.nav_primary .ui_indicator-more:after {
  -webkit-transform:rotate(-45deg);
      -ms-transform:rotate(-45deg);
          transform:rotate(-45deg);
  display:inline-block;
}
.ui_indicator-more:after {
  speak:none;
  font-family:'icomoon' !important;
  /*content:"\e94f";*/
  content:"\e937";
  margin-left:.25em;
  text-transform:none;
  line-height:1;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
@media (max-width: 43.75em) {
	.nav_primary .nav_li-lv1 {width:49%; text-align:center;}
	.nav_primary .nav_li-lv1 a {}
	.nav_primary .nav_li-lv1 ul {width:200%;}
	.nav_primary .nav_li-lv1 a, .nav_primary li.menu_title a {
		padding:.8em;
		font-size:1.4em;
	}
	.nav_primary .nav_li-lv1 ul a {
		font-size:1.2em;
	}
}
@media (max-width:34.375em) {
	.actions_toolbar li:not(:first-child) a {border-left: 2px solid #e9e9e9;}
	.actions_toolbar li a {background:white;}
	.actions_toolbar li {width: auto;}
	.actions_toolbar .legend {display:none;}
	.actions_toolbar li > a:before {padding:1em .5em; font-size:1.3em;}
}
@media (min-width:34.375em) {
	.actions_toolbar .legend {display:inline;}
}

nav.nav_primary .short-logo {display:none; position:absolute; top:0; left:0; background:#fff; text-align:center; height:2.95em; padding:0.25em 0;}
nav.nav_primary .short-logo img {max-height:2.5em;}
.nav_primary ul.navbar {
   background:#333333;
    margin-top: 0;
    margin-bottom: 0;
}
.nav_primary {margin-left:0; width:100%; position:relative;}
@media (min-width: 46.875em) {
	.nav_primary ul.navbar {margin-left: 4.6875%;}
	.nav_primary .short-logo {width: 4.6875%;}
}
@media (min-width: 75em) {
	.nav_primary ul.navbar {margin-left: 23.75%;}
	.nav_primary .short-logo {width: 23.75%;}
}

#at4-share, #at4-soc {
    top: auto !important;
    bottom: 25% !important;
}
