/*
Theme Name: FDNone
Theme URI: www.fdn.fr
Author: quota_atypique
Author URI: www.hauteresolution.net
Description: Thème pour le nouveau site de FDN - 2016.
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: FDN
*/

/* Fontes */

@font-face {
    font-family: "Roboto";
    src: url('fonts/Roboto-Regular.ttf');
}
@font-face {
    font-family: "Roboto";
    font-style: italic;
    src: url('fonts/Roboto-Italic.ttf');
}

@font-face {
    font-family: "Roboto";
    font-weight: bold;
    src: url('fonts/Roboto-Bold.ttf');
}

html {
    font-size: 93.7%;
    height: 100%;
}

body {
    font-family: "Roboto", Helvetica, Arial, sans-serif;
    font-size: 1em;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    line-height: 1.5em;
    color: #030303;
    font-weight: 250;
    max-width: 100%;
    height: 100% !important;
}

/* Commun */
.container-fluid {
    max-width: 1170px;
}
video { background-color:black; }

/* Menus */

/* menu du haut */

div.navbar-top {
    height: 44px;
    text-align: right;
    background: #444752;
    color: #fff;
    text-transform: uppercase;
}

div.navbar-top ul {
    list-style:none;
    position:relative;
    float:left;
    margin:0;
    padding:0;
    float: right;
}

div.navbar-top ul li {
    position:relative;
    float:left;
    margin:0;
    padding:0;
}

div.navbar-top ul li a {
  display: block ;
  text-decoration: none ;
  padding: 10px 15px;
  float: right;
  font-size: 12px;
  color : #efefef;
}

div.navbar-top ul li a:hover {
    color: #000;
    background: #d2e1f6;
}

div.navbar-top ul ul {
    display:none;
    position:absolute;
    top:100%;
    left:0;
    background:#444752;
    padding:0
}

div.navbar-top ul ul li {
    float:none;
    width:100px;
}

div.navbar-top ul ul a {
    line-height:120%;
    padding:10px 15px;
}


div.navbar-top ul ul ul {
    top:0;
    left:100%
}

div.navbar-top ul li:hover > ul {
    display:block;
}

/* menu principal */
/* overwrite des classes de bootstrap */
.navbar {
    margin-bottom: 0;
    font-size: 0.9em;
    border-radius : 0 !important;
    background-color: #545864;
}

.navbar-header {
    background-color: #545864;
    border:0;
}

.navbar-offcanvas {
    background-color: #545864 !important;
    border-color: #394157 !important;
    text-transform: uppercase;
}

.navbar-offcanvas .navbar-nav > li > a {
    color: #efefef;
}

.navbar-offcanvas .navbar-nav > li > a:hover,
.navbar-offcanvas .navbar-nav > li > a:active,
.navbar-offcanvas .navbar-nav > li > a:focus {
    color: #000 !important;
    background-color: #d2e1f6 !important;
}

/*
.navbar-offcanvas .navbar-nav > .open > a, .navbar-offcanvas .navbar-nav > .open > a:focus, .navbar-offcanvas .navbar-nav > .open > a:hover {
    color: #000 !important;
    background-color: #d2e1f6 !important;
}

.navbar-offcanvas .navbar-nav > .active > a, .navbar-offcanvas .navbar-nav > .active > a:focus, .navbar-offcanvas .navbar-nav > .active > a:hover {
    color: #000 !important;
    background-color: #d2e1f6 !important;
} */

button.navbar-toggle {
    cursor: pointer;
    position: relative;
    line-height: 0;
    float: left;
    margin: 5px 10px 0px 5px;
    width: 40px;
    height: 40px;
    padding: 10px;
    border: 0;
    background: transparent;
}

button.navbar-toggle:hover {
	background: #5F7FAD;
}

button.navbar-toggle > .icon-bar {
    width: 100%;
    display: block;
    height: 3px;
    margin: 5px 0 0 0;
	color: #d2e1f6;
}

.offcanvas-toggle .icon-bar {
    background: #fff none repeat scroll 0% 0%;
}

#offcanvas-form input {
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
	border-bottom-right-radius: 0px;
	border-bottom-left-radius: 0px;
}

#offcanvas-form button {
	width:100%;
	border-top-left-radius: 0px;
	border-top-right-radius: 0px;
	border-bottom-right-radius: 4px;
	border-bottom-left-radius: 4px;
}

#offcanvas-divider {
	box-shadow: 0px 1px 0px rgba(255, 255, 255, 0.1) inset, 0px 1px 0px rgba(255, 255, 255, 0.1);
	border: 1px solid transparent;
	margin:0;
}

.dropdown-menu {
    background-color: #545864 !important;
    border-radius: 0 !important;
}

.dropdown-menu > li > a {
    color: #efefef !important;
}

.dropdown-menu>li>a:focus,.dropdown-menu>li>a:hover{
    color: #000 !important;
    background-color: #d2e1f6 !important;
}

.dropdown-menu>.active>a,.dropdown-menu>.active>a:focus,.dropdown-menu>.active>a:hover{
    color: #000 !important;
    background-color: #d2e1f6 !important;
}

/*
div.menu-mid {
    background: #545864;
    height: 40px;
    padding: 4px 0;
    text-transform: uppercase;
    font-size: 12px; 
}

nav.menu-mid ul {
    list-style:none;
    position:relative;
    display:inline-table;
    margin:0;
    padding:0;
    z-index: 5;
}

nav.menu-mid ul li {
    position:relative;
    float:left;
    margin:0;
    padding:0
}

nav.menu-mid ul ul {
    display:none;
    position:absolute;
    top:100%;
    left:0;
    background:#545864;
    padding:0;
}

nav.menu-mid ul ul li {
    width:100%;
}

nav.menu-mid ul ul a {
    line-height:120%;
    padding:10px 15px;
    width: 14em;
}

nav.menu-mid ul ul ul {
    top:0;
    left:100%
}

nav.menu-mid ul li:hover > ul {
    display:block
}

nav.menu-mid ul li a{
    display: block ;
    text-decoration: none ;
    padding: 0.8em 1em;
    float: left;
    color: #fff;
    font-size : 1em;
}

nav.menu-mid ul li a:hover {
	color: #000;
	background: #d2e1f6;
}

nav.menu-mid  .sub-menu.menu-item.a {
	width: 100%;
} */

#logo {
	background: url('img/logo-fdn.svg');
	width: 81px;
	height: 30px;
	/*padding: 5px;*/
	margin: 10px;
	display: block;
	float:left;
	background-size: 81px 30px;
}

.icon-home {
	background: url('img/icon-home.png');
	width: 19px;
	height: 17px;
	display: block;
	float:left;
}

/* rendre accessible le menu en cachant "accueil" mais en le laissant
 * lisible aux lecteurs d'écran (pas de lien vide)*/
#menu-menu > li:first-child {
    line-height: 0; 
    font-size: 0;
    color: transparent; 
}

/* Mon compte */
.top-button > a {
    background: #8da9d2;
}

.top-button > a:hover {
    background: #efefef !important;
    color: #000 !important;
}

@media (max-width:767px) { 
	/* Mon compte */
	.top-button > a {
		background: transparent !important;
	}
	
	.top-button > a:hover {
		color: #FFF !important;
		background-color: transparent !important;
	}
}

/* Mise en page */

.spacer {
	clear:both;
	visibility: hidden;
}

.relative {
    position: relative;
}

.vcenter {
/*	min-width:  80%;   Fallback for browsers do NOT support vh unit */
/*	min-width: 80vh;   These two lines are counted as one :-)  */
	min-height: 80%; /*  Fallback for browsers do NOT support vh unit   */
	min-height: 80vh; /* These two lines are counted as one :-)       */
	display: flex;
	align-items: center;
}

#wrapper {
    display: block;
    overflow:hidden;
    margin-top:10px;
}

blockquote {
	border-left: 5px solid #545864;
	border-right: 5px solid #545864;
	background: #f2f7ff;
	font-size: 14px;
	width: 80%;
	margin-left: auto;
	margin-right: auto;
}

address {
	background: rgb(242, 247, 255) none repeat scroll 0% 0%;
	padding: 10px;
	border: 1px solid #8DA9D2;
	width: 80%;
	margin-left: auto;
	margin-right: auto;
}

/* Titraille */

h1 {
	font-family: "Roboto", Helvetica, Arial, sans-serif;
	font-weight: bold;
	color: #444752;
}

h1 span {
	color: #8da9d2;
}

.bluefdn01 {
	color: #8DA9D2;
}

/* Footer */

footer {
    margin-top: 15px;
    width: 100%;
    background: #444752;
    color: #fff;
    text-transform: uppercase;
    font-size: 11px;
    text-align: center;
    padding-bottom: 10px;
}

footer ul {
	list-style: none;
	padding-left: 0px;
}

footer li {
	position: relative;
}

footer ul > li {
	display: inline;
 	margin:auto;
 	padding:0;
}

footer a {
	display: inline-block;
	text-decoration: none ;
	padding: 10px 6px;
	font-size: 12px;
    color: #fff;
}

footer a:hover {
	color: #337AB7;
	text-decoration:none;
}

#menu-bottom {
	background-color:transparent;
}

div.menu-bottom-container{
    text-align: center;
  /*  background: #545865;*/
    position: relative;
}

/* div.menu-bottom-container a{
    display: block ;
    text-decoration: none ;
    color: #fff;
    margin: 0 10px;
    text-align: center;
} */

/* home */

#banniere-home {
	background: url('img/bandeau-texte.jpg') no-repeat center #8da9d1;
	height: 194px;
	width: 100%;
}

#banniere-home h1 {
	text-align: center;
	color: #fff;
	font-size: 18px;
	width: 30%;
	margin: auto;
	padding-top: 5px;
}

#banniere-home h1 span {
	font-weight: bold;
	font-size: 37px;
	text-transform: uppercase;
}

section#main {
	float: left;
}

section.bloc-home {
	float: left;
	display: block;
}

section.bloc-home p {
    padding: 5px;
    font-size: 14px;
    text-align: left;
	font-family: "Roboto", Helvetica, Arial, sans-serif;
}

section.bloc-home:nth-child(odd) {
	border-right: 2px solid #f2f7ff;
}

section.bloc-home button {
    margin: 10px;
    color: #fff;
    float: right;
}

section.bloc-home button a {
    color: #fff;
}

section.bloc-home button:hover {
    background: #32618A;
}

section.bloc-home a:hover {
    text-decoration: none;
}

section.bloc-home h2 {
	text-align: left;
	font-family: "Roboto", Helvetica, Arial, sans-serif;
	font-size: 1.5em;
	font-weight: bold;
	color: #444752;
	margin-top: 10px;
}

section.bloc-home h2 span, section.bloc-home h3 {
	color: #8da9d2;
}

section.bloc-home h3 {
    font-size: 1.2em !important;
    margin-top: 12px;
}


#blog-home {
	width: 100%;
	float:left;
	display: block;
	background: #f2f7ff;
    padding: 10px;
    margin-bottom: 15px;
}

#blog-home h2 {
	font-family: "Roboto", Helvetica, Arial, sans-serif;
	font-size: 20px;
	font-weight: bold;
	color: #444752;
    margin-top: 5px;
}

#blog-home p {
	padding: 5px;
	font-size: 14px;
}

#blog-home button {
	margin: 10px;
	float: right;
}

/* Page */

#fil-ariane {
	background: #8da9d1;
	height: 50px;
	width: 100%;
	margin-bottom: 10px;
	color: #fff;
	padding: 15px;
}

#fil-ariane span {
	color: #000;
	background: #d2e1f6;
	padding: 2px;
}

#fil-ariane span:before {
    content: "►";
 	padding: 5px;
 }

section#page {
	background: #f2f2ee;
	padding: 10px;
}

section#page p {
	padding: 10px;
}

section button {
 	padding: 5px;
}

#page-content button:before {
    content: "►";
    padding: 5px;
}

button#searchsubmit:before {
    content: '' !important;
    padding:0 !important;
    background: #8DA9D2;
}

button#searchsubmit, #page-content button {
	text-align:center;
	background: #8da9d2;
	text-decoration:none;
	border:0;
	color: #FFFFFF;
	height: 34px;
}

#page-content button ul{
	padding: 10px;
}

#page-content button:hover {
    background: #5F7FAD;
}

/* Pagination */
.page-numbers {
	color: #fff;
	display: inline-block;
	padding: 5px 10px;
	margin: 0 2px 0 0;
	background: #8da9d2;
	line-height: 1;
	text-decoration: none;
	border-radius: 2px;
	font-weight: 600;
}
.page-numbers.current,
a.page-numbers:hover {
	background: #5F7FAD;
	color: #fff;
}

/* Accessibilité : éléments cachés visuellement, mais lisibles */
.screen-reader-text {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

/* Sidebar */

#sidebar {
    display: block;
    background: #f2f7ff;
    height: 100%;
   margin-bottom:-9999px;
    padding-bottom: 9999px; 
}

aside span {
	color: #8DA9D2;
}

aside span.actu-date {
	font-size:12px;
	float: left;
}

aside h2 {
	font-size: 1.2em;
	font-weight: bold;
	color: #444752;
	padding: 4px 0 15px 0;
	margin-top: 10px;
	position: relative;
}


aside h2:after {
	background: #8DA9D2 none repeat scroll 0% 0% / 100% auto;
	display: inline-block;
	margin-left: 10px;
	content: " ";
	padding-bottom: 0px;
	position: absolute;
	bottom: 0;
    left: 0;
    right: 0;
	height: 5px;
	width: 100%;
}

aside h2#incidents:after {
	background: transparent url("img/travaux.png") repeat scroll 0% 0%;
	display: inline-block;
	content: " ";
	position: absolute;
	height: 5px;
	width: 100%;
	position: absolute;
	bottom: 0;
    left: 0;
    right: 0;
}

aside h3 {
	background:-webkit-linear-gradient(180deg, white 0px, white 1px, #6AADDA 2px, #6AADDA 150px);
	background:   -moz-linear-gradient(180deg, white 0px, white 1px, #6AADDA 2px, #6AADDA 150px);
	background:     -o-linear-gradient(180deg, white 0px, white 1px, #6AADDA 2px, #6AADDA 150px);
	background:        linear-gradient(180deg, white 0px, white 1px, #6AADDA 2px, #6AADDA 150px); 
	background-repeat: no-repeat;
	-moz-background-size: 3px 100%;           
	-o-background-size: 3px 100%;          
	-webkit-background-size: 3px 100%;           
	background-size: 3px 100%;
	padding-left: 15px;
	padding-bottom: 2px;
}

aside h3 {
 	font-size: 16px;
 	font-weight: bold;
 	margin-top: -1px;
	color: #444752;
	text-transform: uppercase;
	line-height: 18px;
}

aside p {
	font-size: 14px;
	padding: 10px;
}

aside ul {
    padding-left: 15px;
}

section button {
 	padding-right: 15px;
 }

section button:before {
    content: "►";
 	padding: 5px;

}

/* Style pour le plugin TOC */
 
 ul.toc_list {
	list-style: outside none none;
	padding-left: 5px;
 }
 
/* on attaque le responsive ! 100% = 12 */

/*

*{ box-sizing:border-box;}

.col-4{
	width: 33.33333%
	background:blue;
	float: left;
	position: relative;
	min-height: 1px;
	border: 1px solid;
}

.col-8{
	width: 66.66666%
	background:red;
	float: left;
	position: relative;
	min-height: 1px;
	border: 1px solid;
}
*/
