/**
***Style général gabarit long format***
**/

/**General**/
html {color: #222;font-size: 1.2em;line-height: 1.4;font-family: 'Open Sans', sans-serif;}
body{overflow-x:hidden;font-family: 'Open Sans', sans-serif;}
hr {display: block;height: 1px;border: 0;margin: 30px 0;padding: 0;}
audio,canvas,iframe,img,svg,video {vertical-align: middle;}
fieldset {border: 0;margin: 0;padding: 0;}
textarea {resize: vertical;}
.browserupgrade {margin: 0.2em 0;color: #FFFFFF;padding: 0.2em 0;}
iframe{width:100%;height: 98% !important;}
audio,canvas,iframe,img,svg,video {vertical-align: middle;border:none;}
fieldset {border: 0;margin: 0;padding: 0;}
textarea {resize: vertical;}
audio{visibility:visible!important;margin:30px 0;width:100%;}
video{visibility:visible!important;}
iframe{margin:10px 0;}
h1,h2,h3,h4,h5{font-family: 'Open Sans', sans-serif;}
a,.btn,.titraille h1,.ion,#top-menu li,.pop,button{-webkit-transition: all 0.4s linear 0s; -moz-transition: all 0.4s linear 0s; transition: all 0.4s linear 0s!important;}
blockquote,.well,.panel.jumbotron{margin:30px 0;}
.clear{clear:left;}
.blank{height:30px;}

/**Progressbar**/
#progression {position:fixed;top: 54px;height: 4px;width: 100%;background: #cfcfcf;z-index: 99999;transition: all 0.3s ease;}
#barre{position: absolute;top: 0;width: 1%;height: 100%;transition: all 0.3s;}
#accueil{width: 100px;position: fixed!important;bottom: 55px;left: 35px;display:none;cursor:pointer;}
#accueil img{width:100%;height:auto;max-width:100px;width:100px;margin-bottom:6px;}
#accueil img:hover{opacity:0.8;}
#accueil span{text-transform:uppercase;font-size:0.8em!important;}

/**Navbar**/
#boutonhome{display:none;}
.navbar-fixed-top{background:#FFFFFF;height:54px;}
.chapitre .navbar-fixed-top{background:#FFFFFF;height:100px;}
.article .navbar-fixed-top{background:#343434;}
.navbar-right{margin-right:25px;font-size:32px;margin-top:10px;}
.navbar-right{margin-top: 4px;}
.navbar-right ul li .ion{cursor:pointer!important;}
.navbar-right ul{list-style-type:none;padding:0;margin:0;} 
.navbar-right li{display:inline-block;-webkit-transition: all 0.4s linear 0s; -moz-transition: all 0.4s linear 0s; transition: all 0.4s linear 0s!important;}
.navbar-right li:hover{color:#FFFFFF!important;opacity:1;}
.navbar-right li:nth-child(1),
.navbar-right li:nth-child(2) {font-size:24px;padding-top:8px;margin-left:10px;} 
.navbar-right li:nth-child(3){font-size:24px;padding-top:8px;margin-right:15px;}
.topage .navbar-right li:hover{opacity:1!important;color:#F1D9B1;}
.navbar-right .ion{font-size:32px;cursor:pointer;}
.ion-close-round{display:none;}
.content {position: relative;display: flex;justify-content: center;
align-items: center;min-height: 85vh;margin: 0 auto;padding: 3em 2em;}
.menu--ama {counter-reset: itemCounter;}
.menu a:hover{text-decoration: none!important;}
.menu--ama .menu__item {font-family: 'Open Sans', sans-serif;font-weight : 300;font-size: 2em;
font-weight: 500;margin: 3em 0;padding-left: 0.5em;color: #343434;}
.menu--ama .menu__item:first-child {--menu-item-color:#F7CA18;}
.menu--ama .menu__item:nth-child(2) {--menu-item-color:#1e824c;}
.menu--ama .menu__item:nth-child(3) {--menu-item-color:#c0392b;}
.menu--ama .menu__item:nth-child(4) {--menu-item-color:#3498db;}
.menu--ama .menu__item::before {content: counter(itemCounter);font-size: 1em;
font-weight: 300;position: absolute;right: 100%;bottom: calc(100% - 0.35em);counter-increment: itemCounter;color: #ddd;}
.menu--ama .menu__item:hover::before,.menu--ama .menu__item:focus::before {color: var(--menu-item-color);}
.menu--ama .menu__item-name {font-size: 1.5em;font-weight: 300;
display: flex;flex-wrap: wrap;padding: 0.5em 0 0 0;white-space: pre;}

    .menu__item-name{display:none;} @media screen and (max-width:1024px) 
    {
        .menu__item{font-size: 1.5em!important;}
        .menu__item-name{font-size: 1.5em!important;}
    }
     .menu__item-name{display:none;} @media screen and (max-width:800px) 
    {
        .imgmenu {display:none;}
    }
    .menu__item-name{display:none;} @media screen and (max-width:640px) 
    {
        .menu__item-name{font-size: 1.25em!important;}
        .menu__item-name{font-size: 1.25em!important;}
         
    }
     .menu__item-name{display:none;} @media screen and (max-width:540px) 
    {
        .menu__item-name{font-size: 1em!important;}
     .menu__item-name{font-size: 1em!important;}

    }
      .menu__item-name{display:none;} @media screen and (max-width:480px) 
    {
        .menu__item-name{font-size: 0.75em!important;}
        .menu__item-name{font-size: 0.75em!important;}
        
    }



.menu--ama .menu__item-name::after {background: var(--menu-item-color);transform: scale3d(0,1,1);transform-origin: 0% 50%;transition: transform 0.5s;}
.menu--ama .menu__item:hover .menu__item-name::after,
.menu--ama .menu__item:focus .menu__item-name::after {transform: scale3d(1,1,1);}
.menu--ama .menu__item-name span {display: inline-block;}
/**Fixed**/
.menu--ama .menu__item-name {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-direction: normal;
    -moz-box-direction: normal;
    -webkit-box-orient: horizontal;
    -moz-box-orient: horizontal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -moz-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-align-content: center;
    -ms-flex-line-pack: center;
    align-content: center;
    -webkit-box-align: center;
    -moz-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
	min-height:40px;
}
/*
    Legacy Firefox implementation treats all flex containers
    as inline-block elements.
*/
@-moz-document url-prefix() {
	.menu--ama .menu__item-name {width: 100%;-moz-box-sizing: border-box;}
}

/**Menu**/
#top-menu{position:fixed;height:100%;height:100vh; overflow-y:hidden; font-size:14px;list-style-type:none; width:100%;right:4px;background:#FFFFFF;top: 55px!important; text-align:center;
padding:0;z-index:999999;display:none;}
#top-menu a{text-decoration: none!important;}
.brand{height:98px;position:absolute;left:5px;top:0;z-index:2;}
.brand img {height: 42px;padding-left: 15px;display: block;padding-top: 8px;}
.brand img:hover{opacity:0.7;}
.logosmall img{height:54px!important;width:auto;}
#networks{list-style-type:none;z-index:9999999;position:fixed;top:5px;right:70px;}
#menu li{-webkit-transition: all 0.4s linear 0s; -moz-transition: all 0.4s linear 0s; transition: all 0.4s linear 0s!important;cursor:pointer;}
.ion-social-twitter{font-size:27px!important;}
#menu li:hover{opacity:0.7;}
#menu a,#menu a:hover{color:#FFFFFF!important;}
#burger {margin-left:15px;}

.imgmenu {width:80px;height:auto;float:left;margin-right:15px;}

/**Slider**/
#carousel{margin-top:30px;margin-bottom:60px;}
.carousel-caption {position: relative;left: auto;margin-top:-20px;right: auto;text-shadow:none;color:#676767;font-family:'Open Sans Condensed', sans-serif;}
.carousel-indicators {bottom: -0;}
.carousel-indicators .active{width: 17px;height: 17px;border-radius:17px;}
.carousel-indicators li{width: 16px;height: 16px;border-radius:16px;background-color:#FFFFFF;}

/**Intro chapitre**/
#page-title{position:absolute;bottom: -5px;text-align:center;width:100%;}
#page-title h3{font-size:1em;font-family:'Open Sans',sans-serif;font-weight:300;text-transform:uppercase;color:#343434;}
.intro-chapitre {padding:0;cursor:pointer;}
.intro-chapitre img{width:100%;height:auto;z-index:1;}
.intro-chapitre .col-xs-6{padding:0;}
.titre1{position:fixed;bottom:-15px;width:50%;left:0;}
.titre2{position:fixed;bottom:-15px;width:50%;left:50%;}
.intro-chapitre:before {content: "";display: block;position: absolute;top: 0;bottom: 0;left: 0;right: 0;-moz-transition: background .3s linear;-webkit-transition: background .3s linear;-o-transition: background .3s linear;transition: background .3s linear;}
.intro-chapitre img:hover{opacity:0.6; transition: all .2s ease-in-out;-webkit-transition: all .2s ease-in-out;-moz-transition: all .2s ease-in-out;-o-transition: all .2s ease-in-out;transform: translateX(0);-webkit-transform: translateX(0);}
.minihr {display: block;clear: both;height: 0;margin: 40px 25% 10px 25%;padding: 0;border: 0;line-height: 1;border-top:3px solid #1e824c;width:50%;}
.minihrrouge {display: block;clear: both;height: 0;margin: 40px 25% 10px 25%;padding: 0;border: 0;line-height: 1;border-top:3px solid #c0392b;width:50%;}
.minihrbleu {display: block;clear: both;height: 0;margin: 40px 25% 10px 25%;padding: 0;border: 0;line-height: 1;border-top:3px solid #3498db;width:50%;}
.minihrjaune {display: block;clear: both;height: 0;margin: 40px 25% 10px 25%;padding: 0;border: 0;line-height: 1;border-top:3px solid #f7ca18;width:50%;}
.minihrnoir {display: block;clear: both;height: 0;margin: 40px 25% 10px 25%;padding: 0;border: 0;line-height: 1;border-top:3px solid #343434;width:50%;}

/**Article**/
.main-article{max-width:1300px;padding-bottom:40px;float:none;margin:0 auto;margin-top:70px;font-weight: 300;}
.main-article p{font-size:1.35em;}
.apropos{margin-top:130px;}
.sectionlf{margin-top:60px!important;}
.main-article h1{font-weight:600;font-size:3.5em;margin-bottom:40px;text-transform:uppercase;font-family:'Open Sans Condensed',sans-serif;line-height:100%;text-align: center; text-decoration: bold;}
#chapo{font-family: 'Open Sans Condensed', sans-serif;margin-bottom:0;text-align:center;font-size:1.9em;line-height:130%;}
.main-article img{width:100%;height:auto;}
.intertitre{font-family: 'Open Sans Condensed';font-weight: 300 !important;font-size:2.4em;margin: 35px 0 25px 0;}
#titretop{color:#FFFFFF;margin: 0 25%;position:absolute;width:50%;text-align:center;
top:13px;font-family: 'Open Sans Condensed', sans-serif;font-size:20px;font-weight: 700;}
#titretop a{color:#FFFFFF!important; text-decoration: none;}
#titretop-b{font-size:16px;color:#FFFFFF;position:absolute;top:16px;left:260px;font-family: 'Open Sans Condensed', sans-serif;font-size:20px;font-weight: 700;}
#titretop a:hover,#titretop a:focus,#titretop a:active,
#titretop-b a:hover,#titretop-b a:focus,#titretop-b a:active{text-decoration:none!important;}
.main-article em{font-style:normal;font-weight:500;}
.main-article .btn{margin:30px 0;color:#FFFFFF;}
.main-article .btn:hover{opacity:0.6;}
.main-article h2{font-size:2.4em;margin:35px 0 25px 0;color:#000000;
font-family:'Open Sans Condensed',sans-serif;line-height:100%;font-weight:200;text-align: center;}
.main-article ul{list-style-type:square;color:#000000!important;}
.main-article blockquote:before{font-family: Ionicons;content: '\f347';
font-size:38px;padding-right:20px;float: none;margin-top: -55px;position: absolute;left: 50%;}
.main-article blockquote{margin:80px auto 40px auto;font-style:italic;font-size:1.5em;border:none;
text-align:center;color:#333333;max-width:77%;padding:0;line-height: 120%;}
.well{margin:30px 0;border:none;}
.jumbotron{padding:20px;color:#FFFFFF;margin:40px 0;border-radius:4px;}
.leg{font-family:'Open Sans Condensed',sans-serif;margin:-35px 0 30px 0;font-size:1.3em;color:#545454;}
.center{text-align:center;}
.main-article img{max-width:100%;height:auto;margin:40px 0;}
.bloctxt{margin-bottom:30px;}
.parallax-window {min-height: 650px;background: transparent;}
#logos img{float:left;margin-right:30px;height:80px;width:auto;}
#logos{margin-top:40px;}
img.left{float:left;max-width:350px!important;padding-right:20px;margin-top:5px!important;}
.embed-responsive{margin:35px 0;}
img.imgsmall{float:none!important;width:60%!important;margin: 30px 20%!important;}

/**Load**/
#loader{width:100%;height:100%;position:fixed;z-index:9999999;top:0;text-align:center;display:table;}
#inner{text-align:center;color:#FFFFFF;display:table-cell;vertical-align:middle;font-family:'Open Sans',sans-serif!important;}
#inner h1{font-family:'Open Sans',sans-serif!important;font-weight:bold;padding:0 30px;}

/**Footer**/
#up{position:fixed;right:30px;bottom:60px;font-size:32px;display:none;cursor:pointer;}
#footer {width:100%;background:#343434;color:#FFFFFF; padding: 10px 0; margin-bottom:0;font-family: 'Open Sans Condensed', sans-serif;font-weight:bold; text-align: center;}
#footer a{color:#FFFFFF;}

/* ==========================================================================
   Helper classes from Boilerplate
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    white-space: nowrap; /* 1 */
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    -webkit-clip-path: none;
    clip-path: none;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
    white-space: inherit;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }
	
	#next,img,iframe,audio,video,#up,#scroll,#footer,.leg,.legende,#plan{display:none;}
    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre {
        white-space: pre-wrap !important;
    }
    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
.col-md-6{padding:0;width:50%;}

/**Responsive**/
@media screen and (max-width:1200px) { 
	#accueil{left:15px;width:70px;}
	#accueil img {max-width: 70px;width: 70px;}
}
@media screen and (max-width:1024px) { 
	.main-article h1 {font-size: 3.2em;}
	.menu--ama .menu__item-name {font-size: 1.4em;}
	.article .menu--ama .menu__item-name {font-size: 1.1em !important;}
}
@media screen and (max-width:980px) { 
	.main-article {padding: 0 35px!important;}
}
@media screen and (max-width:810px) { 
	.menu--ama .menu__item-name {font-size: 0.9em;}	
}
@media screen and (max-width:769px) { 
	.main-article h1 {font-size: 2.8em;}
	.navbar-right {position: absolute;right: -10px;}
	.brand {position: absolute;left: 5px;top: -5px;z-index: 2;height: auto;}
	#titretop{top: 14px;}
}
@media screen and (max-width:670px) { 
	.menu--ama .menu__item-name {-webkit-hyphens: none;-moz-hyphens: none;
    -ms-hyphens: none;hyphens: none;}
}

@media screen and (max-width:580px) { 
	#brandt{display:none;}
	#boutonhome{display:block;font-size:30px;margin-top:-8px;}
}
@media screen and (max-width:510px) { 
	.article .menu--ama .menu__item-name {font-size: 1em !important;}
}

@media screen and (max-width:490px) { 
	.article .menu--ama .menu__item-name {font-size: 0.9em !important;}
}
@media screen and (max-width:450px) { 
	.menu--ama .menu__item-name {
		font-size: 1.2em !important;
	}
}
@media screen and (max-width:430px) { 
	.article .menu--ama .menu__item-name {font-size: 0.8em !important;}
}
@media screen and (max-width:400px) { 
	.menu--ama .menu__item-name {
		font-size: 1.1em !important;
	}
}
@media screen and (max-width:380px) { 
	.article .menu--ama .menu__item-name {font-size: 0.7em !important;}
}