/* style override for rapid style edit */
/* no compilation, no compression */


/* mini tools */



/* floats */
.float-left { float:left; }
.float-right { float:right; }
.clear,
.float-left + *:not(.float-left):not(.float-right),
.float-right + *:not(.float-left):not(.float-right) {
    clear: both;
    display: block;
}




@media (max-width: 767px) {
    .float-left.mbp,
    .float-right.mbp {
        float: none;
    }
    .screen-large {
        display: none;
    } 
}
@media (min-width: 768px) {
    .screen-small {
        display: none;
    } 
}





/* TODO: adding flex tools */

/* Hidden tools */

/* Hide only visually, but have it available for screenreaders: h5bp.com/v */
.visuallyhidden,
.sr-only {border:0;clip:rect(0000);height:1px;overflow:hidden;position:absolute;width:1px;margin:-1px;padding:0;}
/* Extends the .visuallyhidden class to allow the element to be focusable when navigated to via the keyboard: h5bp.com/p */
.visuallyhidden.focusable:active,.visuallyhidden.focusable:focus{clip:auto;height:auto;overflow:visible;position:static;width:auto;margin:0;}

/* Text cut tools */

/* Automatic text cut to prevent text superposition : http://rocssti.nicolas-hoffmann.net/ */
.cut { word-wrap: break-word; -webkit-hyphens: auto; -moz-hyphens: auto; -ms-hyphens: auto; -o-hyphens: auto; hyphens: auto; }
.nocut { word-wrap: normal; -webkit-hyphens: none; -moz-hyphens: none; -ms-hyphens: none; -o-hyphens: none; hyphens: none; }
/* add ... if too long text-line, must specify a width to this container */
.ellipsis { white-space: nowrap; overflow: hidden; -o-text-overflow: ellipsis;  text-overflow: ellipsis; }




/* global */
.entry-title,
h1.entry-title,
#content h1 {
    font-size: 1.8em;
    font-weight: bold;
}

/* espace vertical entre les images insérées */
.entry-content div + div {
    margin-top: 1.25rem;
}

.entry-content div + div.border,
.entry-content div + div.dashed {
    margin-top: 0;
}

#content h2,
.text-block h2 {
    text-transform: uppercase;
}
.single-no-sidebar .site-main {
    max-width: 630px;
}

/* cookie CNIL consentement */
#cookie-banner-message {
    border-top: #000 solid 2px;
    padding: .5rem 1rem;
    background-color: #fff;
    margin-top: 2.5rem;
    text-align: center;
    font-size: .75em;
}
.cookie-banner-message .btn-save {
    display: inline-block;
    margin: 0 .3rem;
    padding: .5rem .6rem;
    transition: all 0.3s ease-in-out;
    text-decoration: none;
    color: #1A181B;
    border: none;
    background-color: #fff;
    border: #000 solid 2px;
    border-radius: 0;
}
/* clique et dessine */
.border {
    margin: 0 0 1em;
    padding: 1em 1.5em;
    border: 1px solid #000;
}
.dashed {
    margin-left: 2em;
    border: 1px dashed #000;
}

/* Archive */

.sya_date {
    display: none;
}

.sya_container a {
    color: #000;
    text-decoration: none;
}
.sya_container a:focus,
.sya_container a:hover {
    text-decoration: underline;
}
.sya_yearslist a {
    display: inline-block;
    margin-bottom: .8rem;
}
.sya_container > a {
    font-size: 1.5rem;
    display: block;

}
.sya_container > a:first-child {
    font-size: 1.5rem;

    border-top: none;
}
.sya_container ul {
    padding: 0;
    margin: 2rem 0;
    list-style: none;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;

    -webkit-flex-flow: row wrap;
    justify-content: space-around;
    border-bottom: #000 dotted thin;
}

.sya_container ul li {
    list-style: none;
    padding: 5px;
    width: 300px;
    margin-top: 10px;
}


/* mobile header footer and menu */

@media (max-width: 599px) {

    .main-navigation {
        margin-top: 2rem;
        width: 100%;
        float: none;
    }
    .main-navigation li,
    .main-navigation li ul,
    .main-navigation li ul li,
    .main-navigation li > a,
    .main-navigation li ul li > a {
        display: block;
        float: none;
        width: auto;
    }
    .main-navigation > div > ul > li > a {
        background-color: #000;
        border: 2px solid #fff;
        border-bottom: none;
        color: #fff; 
    }
    .main-navigation li > a,
    .main-navigation li ul li > a {
        padding: .8rem;
        text-align: center;
    }
    .main-navigation a:focus,
    .main-navigation a:hover {
        color: #fff;
        text-decoration: underline;
    }
    .main-navigation .sub-menu {
        margin-top: 2px;
        margin-bottom: 4px;
        box-shadow: none;
    }
    .main-navigation .sub-menu li > a {
        padding: .5em;
        background-color: #ccc;
        border: 2px solid #fff;
        border-top: none;
    }

    .navicon-wrap {
        text-align: right;
    }
    .menu-toggle::before {
        margin-right: 0;
    }
    button.menu-toggle {
        border: #000 solid 2px;
        background: #fff;
        padding: .5rem;
        text-align: center;
        border-radius: 0;
        font-size: 2em;
        margin-top: 1.5rem;
        margin-right: .3rem;
        display: inline-block;
    }
    .site-header {
        position: relative;
    }
    .logo-link {
        float: none;
        width: 120px;
        position: absolute;
        top: -.3rem;
        left: -.1rem;
    }
    
    .fz-tool-menu {
        margin-bottom: -1rem;
        margin-top: 2.2rem;
        margin-right: .5rem;
    }
    .fz-tool-menu ul li a {
        margin-left: .2em;
    }
    .footer-wrapper {
        padding: 1rem;
    }

    .main-navigation ul ul {
        display: block;
        position: relative;
        top: auto;
        left: auto;
        z-index: inherit;
    }

    .entry-title,
    h1.entry-title,
    #content h1 {
        font-size: 1.5em;
    }
    h2 {
        font-size: 1.2em;
    }
    
}



/* Pagination standard de WP*/
.nav-links {
    text-align: center;
    margin-top: 50px;
    color: #000;
}
.nav-links a {
    text-decoration: none;
    color: #000;
}
.nav-links .page-numbers {
    font-size: 1.2em;
    line-height: 1.4;
    margin: 0 .3rem;
}
.nav-links .page-numbers.prev,
.nav-links .page-numbers.next {
    margin: 0 .6rem;
}
.nav-links .page-numbers.current {
    text-decoration: underline;
}

/* image de vignette plus grande même si trop petite */

.grid-item img {
    width: 100%;
    height: auto;
}

/* ajout d'une fleche sur les liens de navigation */
.nav-links .nav-previous a::before,
.nav-links .nav-next a::after {
    display: inline-block;
    text-decoration: none;
    font-size: 1.2rem;
    vertical-align: baseline;
    line-height: 1.4;
}
.nav-links .nav-previous a::before {
    content: '<';
    margin-right: .5rem;
}
.nav-links .nav-next a::after {
    content: '>';
    margin-left: .5rem;
}



/* logo mobiles */
@media (max-width: 599px) {
    .home .logo-link {
        background-size: 120px 120px;
    }
    .fz-tool-menu {
        margin-bottom: -4rem;
        margin-top: -.3rem;
    }
    button.menu-toggle {
        padding: .3rem .5rem;
        text-align: center;
        margin-top: 1.5rem;
        margin-right: .45rem;
    }
}
@media (min-width: 600px){
	/* footer padding */
    .footer-col-1 h2,
    .footer-col-2 p{
        padding-left: 1rem;
    }   
}