body{
	/*background: yellow;*/
}

span.break-line {
    display: block;
}


/*********************************************************/
/** TOP HEADER AFB (VERT) **/
/*********************************************************/
	
.bar-bg-green{
/*  height: 50px; */
  display: flex;
}

.bar-bg-green #block-reseauxsociaux,
.bar-bg-green #block-menuafb,
.bar-bg-green #block-menuheaderofbanglais {
	display: block;
}

.bar-bg-green #block-reseauxsociaux{
	padding-right: 20px;
	padding-top: 10px;
}

.bar-bg-green #block-menuafb,
.bar-bg-green #block-menuheaderofbanglais {
	margin-bottom: 20px;
	padding-right: 0px;
}

ul.menu--menu-afb li,
ul.menu--menu-header-ofb-anglais li {
  list-style: none;
  display: inline-block;
}

/*********************************************************/
/** FORMULAIRE DE RECHERCHE - TOP **/
/*********************************************************/
	
#search-picto-mobile{
	display: none;
}

/*********************************************************/
/** PAGE RECHERCHE **/
/*********************************************************/
  
.path-recherche #edit-actions--2 #edit-reset--2{
  background: #FFF;
  /*background-size: 15px;*/
  text-indent: 0px;
  overflow: visible;
  left: -83px;
  width: 80px;*/
}
.path-recherche #edit-actions--2 #edit-reset--2:hover{
  background: #FFF;
  text-decoration: underline;
}



.path-recherche #edit-actions--2 #edit-submit-recherche--2{  
  width: 100%;
  text-indent: 0px;
  overflow: visible;
  border-radius: 60px;
  padding: 0px 30px;
}

.path-recherche #edit-actions--2 #edit-submit-recherche--2:hover{
  text-decoration: underline;
}  

.path-recherche #edit-actions--2 #edit-submit-recherche--2 .glyphicon-search{
  display: none;
}



.path-recherche #block-facetsblock .reset-filters{
  margin: auto;
  margin-bottom: 60px;
  position: relative;
  bottom: inherit;
  left: inherit;
  right: inherit;
  width: auto;
}

.path-recherche #block-facetsblock-2{
  position: absolute;
  right: 30px;
  top: 30px;
  width: 20%;
  padding: 0px
}



/*********************************************************/
/** MAIN HEADER AFB : LOGO + MENU (WHITE) **/
/*********************************************************/
#navbar{
  /*position: initial;*/
  /* position: inherit;*/
  position: static;
}

#main-header{
    /*flex-direction: row;*/
}

#logo-container{
	
}
#logo-container{
	justify-content: left;

	margin: 20px 0px;
	padding: 0px 15px;
	
	/*width: auto;*/
}

.navbar .logo,
.bar-bg-green .logo {
	padding-left: 40px;
}

.navbar  div.navbar-header.col-xs-1 {
  display: none;
}



/*********************************************************/
/*********************************************************/
/******* MAIN MENU PRINCIPAL OFB *******/
/*********************************************************/
/*********************************************************/

/*********************************************************/
/** MENU DESKTOP **/
/*********************************************************/

#main-menu{
	display: flex;
}

.navbar-header #block-menumainnavigationafb {
	/*display: none;*/
}


/*********************************************************/
/** MENU MOBILE **/
/*********************************************************/

#menu-mobile-OFB,
#submenu-mobile--contener
#submenu-mobile,
.picto-humburger{
	display: none;
}


/*********************************************************/
/** MENU DECOUVERTE AFB **/
/*********************************************************/
.block-afb-decouverte-block{
  display: block;
}

#discover-website{
	display: block;
  z-index: 300;
}
.decouvert_site_afb{
	padding: 0px;
	background: #DBF1FC;
}
.decouvert_site_afb:hover,
.decouvert_site_afb.active{
	background: #99D7F7;
}

.decouvert_site_afb.active:hover{
  background: #DBF1FC;
}

.decouvert_site_afb .content{
	margin: auto;
	flex-direction: column;
	width: auto;
}

.decouvert_site_afb .content .icon-site-afb{
	margin-right: 0px;
}

.decouvert_site_afb.active .content .icon-site-afb{
	background: url('../img/svg/picto_screen_close.svg') center center no-repeat;
	background-size: contain;
	background-size: 30px 30px;
	display: block;
}

.decouvert_site_afb .dafbs__lighter-sm{
	display: block;
	text-align: center;
	margin-top: 5px;
}

.decouvert_site_afb_wrapper{
  padding: 0px 15px;
}

.decouvert_site_afb_wrapper .row{
  flex-direction: row;
  margin: 30px 0px;
}

#sitesAFB_category{
  border: none;
  margin-bottom: 0px;
}
.sitesAFB_thumbnail{
  margin-bottom: 0px;
}

.menu-site-item {
  text-align: right;
}

.menu-site-item:before{
  right: 0px;
  left: inherit;
}

.menu-site-item:hover,
.menu-site-item.active {
  padding-left: 0px;
  padding-right: 20px
}

.menu-site-item:hover:before,
.menu-site-item.active:before{
  width: 10px;
}



/*********************************************************/
/** HOMEPAGE - TOP SLIDER **/
/*********************************************************/
.view-id-articles_a_la_une_diaporama_.view-display-id-block_1:before{

  height: 105%;
  width: 150%;
  /*right: -80%;*/
  right: -600px;
}



/*********************************************************/
/** HOMEPAGE - BLOC CHIFFRE CLE & ZOOM SUR ... **/
/*********************************************************/
.chiffres-and-zoom .container.myflexbox{
  /*flex-direction: row;*/
}

.chiffres-and-zoom .container.myflexbox .flex-item img{
  /*margin: 15px;*/
  /*height: 300px;*/
  /*width: auto;*/
}

.block-afb-zoom-sur-block .content .field--name-body iframe{
  /*height: 300px;*/
}


/*********************************************************/
/** HOMEPAGE - NOS ACTUALITES A LA UNE **/
/*********************************************************/

#block-views-block-actualites-a-la-une-block-2 .more-link,
#block-views-block-actualites-a-la-une-block-3 .more-link {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

#block-views-block-actualites-a-la-une-block-2 .more-link a,
#block-views-block-actualites-a-la-une-block-3 .more-link a {
  top: 40px;
  right: 30px;
  position: absolute;
}


/*********************************************************/
/** HOMEPAGE - TIME LINE EVENT / EVENEMENT / AGENDA ... **/
/*********************************************************/
/* CTA */ 

.timeline .more-link,
.page-node-3277 .view-id-agenda.view-display-id-block_4 .more-link,
.page-node-2707 .documentation_life_artisan .more-link,
.page-node-4789 .documentation_life_artisan .more-link {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.timeline .more-link a,
.page-node-3277 .view-id-agenda.view-display-id-block_4 .more-link a {
  top: 0px;
  right: 15px;
  position: absolute;
}

.page-node-2707 .documentation_life_artisan .more-link a,
.page-node-4789 .documentation_life_artisan .more-link a {
  top: 40px;
  right: 30px;
  position: absolute;
}


/*********************************************************/
/** PAGE RECUEIL DES ACTES ADMINISTRATIFS **/
/*********************************************************/

.jstree-default-large .jstree-node{
  margin-left: 32px;
}


.jstree a.tree-leaf span.leaf-date,
.jstree a.tree-leaf span.leaf-size{
	display: inline-block;
}



/*********************************************************/
/** PAGE RECRUTEMENT **/
/*********************************************************/

#views-exposed-form-recrutement-v2-page-1 .form-inline,
#views-exposed-form-recrutement-v2-block-1 .form-inline {
  flex-direction: row;
}

.path-recrutement .form-inline .form-group,
.page-node-3443 .form-inline .form-group {

	width: 25%;
	/*padding-right: 2%;*/
}


/**************************************************************/
/*************** TERRITOIRES - START *********************/
/**************************************************************/

/*Main Slider Territoires*/

#slider-territoire h1 span.title {
	bottom: 70px;
	font-size: 7vw;
}

.field--name-field-image-slider .owl-item .field--item:before{
  height: 105%;
  width: 150%;
  /*right: -80%;*/
  right: -600px;
}


#slider-territoire #desc-img{
  padding-left: 40%;
}

#bg-territoire{
	padding: 30px 0px;
}
#bg-territoire >.container.full-width{
	padding-right: 15px;
	padding-left: 15px;
}

.territoire_onglets{
	margin-top: 10px;
	padding-right: 15px;
	padding-left: 15px;
	border: none;
}

.territoire_onglets ul{
	display: block;
}

.territoire_onglets ul#sub-menu-territoire.fixedTop{
  position: fixed;
  top: 40px;
  /*width: 25%;*/
  width: 22%;
  /*margin-top: 10px;*/
  /*padding-right: 15px;*/
  /*padding-left: 15px;*/
}

.territoire_onglets ul.closed{
	height: auto;
}

.territoire_onglets ul:after{
	display: none;
}

.territoire_onglets ul li{
  list-style: none;
  color: #003976 ;
  position: relative;
  transition: all 0.2s ease;
  margin-bottom: 20px;
  text-transform: uppercase;
  font-weight: 700;

  height: auto;
  line-height: inherit;
  background: none;
  padding: 0px;
}

.territoire_onglets ul li a{
  color: #003976 ;
}

.territoire_onglets ul li:before {
  content: '';
  display: block;
  background-color: #003976;
  height: 3px;
  top: 8px;
  left: 0px;
  position: absolute;
  transition: all 0.2s ease;
  width: 0px;
}

.territoire_onglets ul li:hover,
.territoire_onglets ul li.active {
  color: #003976;
  cursor: pointer;
  font-weight: 700;

  padding-left: 20px;
}

.territoire_onglets ul li:hover:before,
.territoire_onglets ul li.active:before{
  width: 10px;
}

#bg-territoire.t_actu .territoire_onglets ul li a,
#bg-territoire.t_actu .territoire_onglets ul li.active a,
#bg-territoire.t_enjeux .territoire_onglets ul li a,
#bg-territoire.t_enjeux .territoire_onglets ul li.active a,
#bg-territoire.t_espaces .territoire_onglets ul li a,
#bg-territoire.t_espaces .territoire_onglets ul li.active a{
  color: #FFFFFF;
}
#bg-territoire.t_actu .territoire_onglets ul li:before,
#bg-territoire.t_enjeux .territoire_onglets ul li:before,
#bg-territoire.t_espaces .territoire_onglets ul li:before{
  background: #FFFFFF;
}


.territoire_contents{
  padding-top: 0px;
}



/* MODULE DOCUMENTATION */
/*********************************************************/
/** PAGE DOCUMENTATION (LISTING +  DETAILS) **/
/*********************************************************/
.path-documentation .documentafb{
  flex-direction: row;
}

/*Page type "Documentation" : Bloc CTA "Retour à la liste des documents */

#block-retouralalistedocumentation,
#block-retouraladocumentationlifeartisan {
  text-align: left;
}

/*********************************************************/
/** FILTERS **/
/*********************************************************/
#area-button-fixed{
  display: none;
}

body.path-documentation #area-button-fixed{
  display: block;
}


/*********************************************************/
/*PAGINATION*/
/*********************************************************/
.path-actualites .view-actualites nav.pager-nav{
  margin-left: 25%;
}
.path-presse .view-actualites nav.pager-nav{
  margin-left: 25%;
}

.path-agenda-ete-biodiversite nav.pager-nav{
  margin-left: 25%;
}


/*********************************************************/
/* FOOTER - BLOC LOGO MTES */
/*********************************************************/
#block-logomeem .flex-row{
	/*justify-content: flex-end;*/
	flex-direction: column;
    align-items: flex-start;
    margin-bottom: 0px;
}

.footer-ofb .logo-mtes {
  margin-bottom: 30px;
}

/*********************************************************/
/* FOOTER - BLOC RESAUX SOCIAUX FOOTER */
/*********************************************************/
.footer-ofb .container.full-width{
	display: flex; 
	align-items: center;
}

.footer-left{
	width: auto;
	padding-top: 20px;
}

#block-reseauxsociaux-2{
	text-align: center;
	display: flex;
}

#block-reseauxsociaux-2 p {
    /*justify-content: flex-start;*/
    justify-content: center;
}


.footer-ofb #block-liensfooter .col-xs-12{
	columns: inherit;
}

.footer-ofb #block-liensfooter a {
/*  border-right: 1px solid #FFF; */
  line-height: 10px;
  display: inline-block;
}


#block-liensfootersecond{
	width: 100%;
}

ul.menu--liens-footer-second{
  display: flex;
  justify-content: center;
}

ul.menu--liens-footer-second li{
  display: inline-block;
}

ul.menu--liens-footer-second li a{
	font-size: 12px;
	font-weight: 400;
}



/*BANDEAU TWITTER ON PAGE PRESSE*/
@media screen and (min-width: 880px) {
  
  #ban-twitter{
    display: flex;
    flex-direction: row;
  }

  #ban-twitter #title-join-us{
    margin-bottom: 0px;
  }

  #ban-twitter #title-join-us:before{
    content: '';
    display: block;
    background: url(../img/svg/twitter.svg) center center no-repeat;
    height: 40px;
    width: 40px;
    background-size: contain;
    margin-right: 30px;
  }

  #ban-twitter a.btn-twitter{
    width: auto;
    margin-bottom: 0px;
  }

}



/*POP IN DETAIL CHIFFRES CLES*/

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

  .path-chiffres-cles .spv-right-popup,
  .path-frontpage .spv-right-popup {
    max-width: 800px;
    max-height: 500px;
    /*overflow: hidden; *//*hidden for btn next/previous ?*/
  }

  .path-chiffres-cles .spv-right-popup .spv-inside-popup,
  .path-frontpage .spv-right-popup .spv-inside-popup {
    height: 500px;
    flex-direction: row;
  }

  .path-chiffres-cles .spv-right-popup .spv-inside-popup .key-flex-right,
  .path-frontpage .spv-right-popup .spv-inside-popup .key-flex-right {
    max-width: 300px;
  }

  .path-chiffres-cles .actus-a-la-une li{
    /*width: auto;*/
    /*padding: 0px 15px;*/
  }

}

/* UNIVERSITE POPULAIRE DE LA BIODIVERSITE */

.univ_pop_biodiv .container.full-width {
    position: relative;
    padding-left: 0;
    padding-right: 0;
  }

.univ_pop_biodiv .container.full-width img {
    width: 100%;
  }

.univ_pop_biodiv .container.full-width .button_upb {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
  }
  
.univ_pop_biodiv .container.full-width {
      padding-left: 15px;
      padding-right: 15px;
  }
	
.univ_pop_biodiv .container.full-width .button_upb a {
      right: 30px;
      bottom: 50px;
      position: absolute;
 }




