/*correction 26-04-2017 */
.ms-layer {
    width: 23% !important;
 }
#masthead {
    padding: 0 35px 10px 35px !important;
}
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu {
    
    box-shadow: 0px 0px 0px 0px !important;
    -moz-box-shadow: 0px 0px 0px 0px !important;
    -webkit-box-shadow: 0px 0px 0px 0px !important;
    border: 1px solid #ddd;
    border-top: 0px !important;
    margin-top: 0px !important;
}

.site-navigation {
    margin-bottom: 0px !important;
}

a.btn_lire_slide:hover {
    background: #831c16 !important;
}

#wp_editor_widget-4 {
    border-top: 4px solid RGB(235,0,0)!important;
}
.ms-layer {
box-shadow: 0px 0px 0px rgba(50, 50, 50, 0.7);
}

.mega-sub-menu {
    border-bottom: 4px solid RGB(235,0,0) !important;
}
.content-thematique {
border-top: 0px;
}

.last-tr .content-thematique {
    border-bottom: 0pxc;
}


/* Correction 04-2017 */


.ms-layer h1, .caption h1 {
text-shadow: none !important;
font-size: 1.1em;
margin-bottom: 20px;
margin-top: 20px;
line-height: 1.3em !important;
font-weight: bold !important;
/* font-family:'Merriweather';*/
  }

.caption{
  /*font-family:'Merriweather';*/

}

#main {
    box-shadow: 0px 3px 5px rgba(50, 50, 50, 0.6);
    max-width: 955px;
    margin: auto;
    margin-top: 15px;
}



a.btn_lire_slide {
    display: block;
   background: #64a3e3 !important;
   padding-top:5px;
}


a.retouraccueil {
    display: inline-block;
    margin: 2px 2px 2px 0;
    padding: 8px 9px 8px 9px !important;
    background: #248cc8;
    padding: 5px 10px;
    font-weight: bold;
    color: white;
    width: auto;
    text-decoration: none !important;
    font-size: 14px;
}


/* Correction Slide */
.caption a:hover{
  color:white;
}

a.btn_lire_slide{
  margin-top:5px;
}


a.btn_lire_slide:hover {
    background: #003893 !important;
    }

.conseil-ministre .entry-meta{
  padding:10px 0 0 0px;
}

.conseil-ministre header
{
  margin-top: -10px;
}
/* Gestion du responsive */
@media screen and (max-width: 1280px) {

  /* Gestion du slide */
  .ms-layer h1 {
    /*line-height: 1.2em;*/
    font-size: 1.1em;
  }

  .html5gallery-elem-1{
 
  margin-left:0px !important; 
  padding-left:0px !important;
}

}

@media screen and (max-width: 1024px) {

 
  .blocthematique {
    font-size: 0.9em;
    line-height: 1.1em;
  }

  .ms-layer h1 {
   line-height: 1.2em;
  }
  #mega-menu-item-132 li a{
    line-height: 1.5em !important;
    font-size: 13px !important;
  }

  #wp_editor_widget-4 .titre-gouv {
    font-weight: bold;
    font-size: 15px;
  }

  #wp_editor_widget-4 {
    padding: 10px 20px 0px 10px !important;
  }

  #wp_editor_widget-4 .text-gouv {
    font-size: 14px;
    color: #09689b;
  }

.btn_lire_slide {
    height: 20px;
    width: 100px;
  }

  .titrethematique h1 {
    font-size: 1.2em !important;
    margin-left:10px;
  }

#mega-menu-item-124 li a {
    color: #0d68c8 !important;
    font-size: 13px !important;
}

#mega-menu-item-153 li a {
    color: #0d68c8 !important;
    font-size: 13px !important;
}


}



@media screen and (max-width: 900px) {
 
#wp_editor_widget-4 p {
    margin-bottom: 10px;
    text-align: left;
}

#wp_editor_widget-4 .widget_wysija_cont p {
    margin-bottom: -5px;
}

#wp_editor_widget-4 {
    padding: 0px 20px 0px 10px !important;
}

#wp_editor_widget-4 .wysija-submit {
    margin-top: 0px;
}


}



@media screen and (max-width: 900px) {

  #panel-239-2-0-0 .w4pl-inner li .titre_limit {
   text-align: left;
}

.ms-layer h1 {
    margin-bottom: 10px;
    margin-top: 10px;
}

.myfooter .bloc_ft {
    display: inline-block;
    width: 12%;
    margin-right: 1%;
    min-width: 100px;
}

.myfooter .bloc_ft h2 {
    font-size: 15px;
    font-weight: bold;
    color: rgb(2, 58, 86);
    margin-bottom: 15px;
}

.myfooter .menu a {
    font-size: 12px;
}


.myfooter .widget_wysija_cont .wysija-input {
    display: none;
}

.newsletter-footer{
  display: none;
}

.myfooter .widget_wysija_cont .wysija-submit-field {
    display: none;
}

.lienwebmail{
  font-size: 12px;
}

 #mega-menu-item-124 li a {
    color: #0d68c8 !important;
    font-size: 11px !important;
}

#mega-menu-item-153 li a {
    color: #0d68c8 !important;
    font-size: 11px !important;
}

.mega-menu-item-152 .mega-sub-menu {
    height: 350px !important;
    width: 100% !important;
}

#mega-menu-item-132 li a {
    line-height: 1.1em !important;
    font-size: 13px !important;
}

#mega-menu-item-nav_menu-13 li a {
    color: #0d68c8 !important;
    font-size: 13px !important;
  }

}




/* Correction du 10-04-2017 */

.foogallery-thumbnail .thumbnail-caption h3 {
    font-size: 1.0em !important;
}





@media screen and (max-width: 480px) {
  #masthead #searchform {
    display: none
  }

.btn_lire_slide {
    height: 15px;
    width: 75%;
}

.w4pl-inner li .date_publish, .w4pl-inner li .date_pubish {
    margin-top: 10px;
}

.w4pl-inner li .titre_limit a {
    line-height: 1.2em;
    margin-top:10px;
}

.w4pl-inner li{
  line-height: 1.2em;
}
a.btn_lire_slide {
  font-size:9px;
  background: none !important;
  border: none !important;
  }
  #wp_editor_widget-4 {

    background-size: 100% 100%;
}



}


@media screen and (max-width: 720px) and (max-width: 768px) {

.ms-layer h1 {
    line-height: 1.0em !important;
    text-align:left;
}

a.btn_lire_slide {
  font-size:9px;
  background: none !important;
  border: none !important;
  }


.ms-layer h1 {
    line-height:1em !important;
    font-size: 1.2em !important;
}

.ms-layer {
    color: white;
    opacity: 0.9;
    margin: 0;
    display: block;
    width: 60%;
    margin-left:-100px;
    height: 80%;
}
  #masthead #searchform {
    display: none
  }


#secondary {
 padding-left: 10px !important;
 margin-right: 0px !important;
padding-right: 0px !important;
}

#wp_editor_widget-4 {
    background-size: 100% 100%;
}

.myfooter {
    display: none !important;
}



#mega-menu-item-sow-editor-6 h4,#mega-menu-item-sow-editor-4 h4{
  display:none !important;
}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-item {
    color: #666;
    font-family: inherit;
    font-size: 12px;
    display: block;
    float: left;
    clear: none;
    padding: 5px;
    padding-top:40px;
    vertical-align: top;
}

#mega-menu-item-sow-editor-6 {
    border: 0px !important;
    margin-top: 20px !important;
    background: none !important;
}

#mega-menu-item-sow-editor-7{
display:none !important;
}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-item {
    display: block;
    padding: 5px !important;
    vertical-align: top;
}

h4.mega-block-title{
  display:none !important;
}

#mega-menu-item-124 .mega-menu-columns-1-of-4 {
    width: 18% !important;
}

#mega-menu-item-124 ul.mega-sub-menu {
    width: 105% !important;
    height: 340px !important;
    background: white !important;
}

#mega-menu-item-124 li a {
    font-size: 12px !important;
}

#mega-menu-item-nav_menu-13 {
    margin-top: 10px !important;
}

.mega-menu-item-152 .mega-sub-menu {
    height: 350px !important;
    width: 100% !important;
}

#mega-menu-item-nav_menu-10 {
    margin-top: 0px !important;
}

#mega-menu-item-nav_menu-15 li a, #mega-menu-item-nav_menu-16 li a, #mega-menu-item-nav_menu-17 li a {
    padding-left: 10px !important;
    margin-bottom: 10px !important;
    line-height: 1.2em !important;
    padding-top: 5px !important;
}

#mega-menu-item-sow-editor-4{
display:none !important;
}

#mega-menu-item-sow-editor-3{
display:none !important;
}


}

/* Média smartphone couché */

@media screen and (max-width: 800px) {


#colophon {
    padding: 10px;
}

.conseil-ministre header.entry-header{
  margin-top: 10px;
}

.myfooter .menu a {
    font-size: 8px;
}

#mega-menu-item-124 li a {
    color: #0d68c8 !important;
    font-size: 12px !important;
}
#mega-menu-item-sow-editor-6 li a {
    line-height: 1.0 !important;
}

#mega-menu-item-sow-editor-6 li {
    margin-bottom: 5px !important;
}

}


@media screen and (orientation: portrait) and (min-width: 320px) and (max-width: 1024px) {

.ms-layer h1,.caption {
    font-size: 1.2em;
  }

.conseil-ministre h2 {
    font-size: 12px;
    padding: 2px;
    padding-left: 5px;
    line-height: 1.5em;
}


.conseil-ministre .entry-meta{
line-height: 1.5em;
}

.conseil-ministre header.entry-header{
  margin-bottom: -5px;
}

#pg-239-0 .panel-grid-cell {
    padding-left: 0px;
    padding-right: 0px;
}

.conseil-ministre {
    margin-left: -15px;
    text-align: left;
}

.conseil-ministre p a{
    font-size:1.0em;
}
.conseil-ministre a strong{
    font-size:0.8em;
}

.conseil-ministre h2 {
    line-height: 1.2em;
}


.conseil-ministre {
    float: left;
    position: relative !important;
    margin-top: -70px !important;
    margin-left: 10px;
    width: 100%;
   max-height:125px !important;
}



.html5gallery-elem-1{
  max-width: 120%;
  min-width: 120%;
  margin-left:0px !important; 
  padding-left:0px !important;
  max-height:140px !important;
  float:left;
}

#panel-239-0-0-0 .textwidget{
	height: 150px;
	margin-bottom: 50px;
	background: white;
	padding-top: 10px;
	padding-left: 10px;
}


a.lien-gov{
 width:100% !important;
 float:left;
 font-size: 0px;
margin-left: 0px;
background: none;
}



  a.lien-gov:before {
   content:  "\ Découvrir les membres du gouvernement ";
   font-size:18px;
   color:white;
   text-decoration:none;
   display: block;
   text-align: center !important;
   vertical-align: middle !important;
   padding-top: 10px;
   padding: 20px 0px 20px 0px;
   background: #008472;
}


#pgc-239-1-0 .text-widget{
width:100%;
background:white;
height:185px;
padding-top:10px;
}



#panel-239-0-0-0 .text-widget{
height: 185px;
margin-bottom: 50px;
background: white;
padding-top: 10px;
padding-left: 0px;
}


#wonderplugingallery-container-1 {
    margin-left: 0px !important;
}


.btn_lire_slide {
    height: 15px;
    width: 75%;
}

a.btn_lire_slide {
  font-size:9px;
  background: none !important;
  border: none !important;
  }



#masthead .hgroup .logo img {
   display: none;
}

#pl-239 .panel-grid-cell {
   width : 100% !important;
   max-width : 100% !important;
}

#pl-239 .panel-grid {
    margin-top: 0px;
}

#pgc-239-1-0 .textwidget{
  float: left !important;
  margin-top:15px;
  margin-left: 0px;
  width:100%;

}



.entry-content p {
    text-align: left !important;
    font-size: 14px !important;
    line-height: 30px !important;
}


#panel-239-2-0-0 .w4pl-inner .post-excerpt {
    text-align: left;
    font-size: 0.9em;
    line-height: 1.3em;
  }


.w4pl-inner .post-excerpt {
    display:block;
    text-align: left;
}

#panel-239-2-0-0 .w4pl-inner li{

  padding-top:10px;

}

.w4pl-inner li
{
  width: 90%;
  margin-right:5px;
  height:75%;
  height:125px !important;
  line-height: 1.3em;
}

#w4pl-list-2067 .w4pl-inner li
{
  width: 95% !important;
}


#w4pl-list-2067 .w4pl-inner li
{
  margin-left:0px;
}

#main {
    padding: 0px;
}



#w4pl-inner-2067 .w4pl-inner li
{
  width: inherit !important;
  margin-right:0px;
}
#w4pl-inner-2067 .w4pl-inner li img
{
  margin:10px !important;
  margin-left: 5px !important;
}

.w4pl-inner li a.read_more {
font-size:0.9em !important;
margin-top:10px;
}

.w4pl-inner li img {
    float: left;
    padding-right: 10px;
    min-height: 100px !important;
    max-width: 125px !important;
    min-width: 125px !important;
    width: 150px !important;
    margin:10px !important;
    margin-left: 5px !important;
}

.w4pl-inner li .date_publish, .w4pl-inner li .date_pubish, .w4pl-inner li .titre_limit a,.w4pl-inner li .titre_limit,a.readmore{
    text-align: left;
    line-height:1.3em !important;
    font-size:1.0em;
    margin-top: 5px;
  }

  .w4pl-inner li .date_publish, .w4pl-inner li .date_pubish{
    margin-top:10px;
  }

#pl-239 .panel-grid-cell .widget-title{
text-align:left;
}

#pl-239 .panel-grid {
    margin-top: -10px;
}

.entry-content ul li, .entry-content ol li {
    margin-left: 1.5em;
    font-size: 0.9em;
    
  }

.w4pl-inner li a.read_more {
font-size:0.9em !important;
}


.w4pl-inner li .date_publish, .w4pl-inner li .date_pubish, .w4pl-inner li .titre_limit a,.w4pl-inner li .titre_limit,a.readmore{
    text-align: left;
    line-height:1.0em !important;
    font-size:0.9em;
}

#main {
    padding: 5px !important;
}


.conseil-ministre header.entry-header {
    margin-top: 0px;
}

.conseil-ministre h2 {
    text-align: left !important;
}

.titrethematique h1 {
  display: none;
}

.blocthematique {
    display: none;
}

body.responsive #secondary {
    float: left !important;
}


.blocthematique {
   float:left;
}

.myfooter {
    display: none !important;
}

.conseil-ministre {
    float: right;
    top: 0;
    right: 200;
    position: absolute;
    margin-left: 220px;
}

.ytp-title {
    font-size: 123%;
}



.html5gallery-elem-1 {
    overflow: hidden;
    padding: 4px;
    -moz-box-shadow: 0px 0px 0px #aaa !important;
    -webkit-box-shadow: 0px 0px 0px #aaa !important;
    box-shadow: 0px 0px 0px #aaa !important;
}


.voirtout {
    float: left;
}

#wp_editor_widget-4 .text-gouv {
    font-size: 12px;
}
.conseil-ministre .entry-meta {
    padding: 0px 0 0 5px;
}

.ms-layer h1 {
   line-height: 1.2em;
}


}

@media screen and (orientation: landscape) and (min-width: 600px) and (max-width: 1280px) {

.ms-layer h1,.caption {
    font-size: 1.4em;
  }
.conseil-ministre {
    float:none;
    position: relative !important;
    margin-top: 5px;
    margin-left: 0px;
    width: 100%;
    min-height: 150px;
    max-height: 150px;
}



.html5gallery-elem-1{
  max-width: 100%;
  min-width: 100%;
  margin-left:10px !important; 
  padding-left:0px !important;
  float:none;
  min-height: 150px;
  max-height: 197px;
}



a.lien-gov{
 width:100% !important;
 float:none;
 font-size: 0px;
margin-left: 0px;
background-size: 100%;
}
 
.content-thematique {
    font-size: 0.8em !important;
}


#wp_editor_widget-4 input[type="submit"]{
  margin-top: 0px;
}

#wp_editor_widget-4 .widget_wysija_cont p {
    margin-bottom: 20px;
}

}





@media screen and (min-width: 600px) and (max-width: 1280px) {

#panel-239-0-0-0 .textwidget{
	padding-left: 30px;
}


.html5gallery-elem-1{
margin-left:30px !important;
}
.conseil-ministre {
    float:none;
    position: relative !important;
    margin-top: 5px;
    margin-left: 0px;
    width: 100%;
    min-height: 125px;
    max-height: 125px;
}



.html5gallery-elem-1{
  max-width: 100%;
  min-width: 100%;
  margin-left:5px !important; 
  padding-left:0px !important;
  float:none;
  min-height: 175px;
  max-height: 197px;
}


a.lien-gov{
 width:100% !important;
 float:none;
 font-size: 0px;
margin-left: 5px;
background-size: 100%;
}
 
.content-thematique {
    font-size: 0.8em !important;
}


#wp_editor_widget-4 input[type="submit"]{
  margin-top: 0px;
}

#wp_editor_widget-4 .widget_wysija_cont p {
    margin-bottom: 20px;
}

}