 /* HIDE DURING PAGE LOAD (show via JS)
-------------------------------------------------- */



/* CUSTOMIZE THE GLOBAL STYLES
-------------------------------------------------- */

* {
    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box;    /* Firefox */
    box-sizing: border-box;         /* Opera/IE 8+ */
}
:root {
    --text-shadow-base: 1px 1px 3px rgba(0,0,0,.25);
    --box-shadow-base: 1px 1px 10px rgba(0,0,0,.25);
    --form-shadow-base: 0 3px 10px rgba(0,0,0,.2);
    --color-base-darker: #1d1d1b;
    --color-base-dark: #4a4a49;
    --color-base-medium: #9d9d9c;
    --color-base-light: #dddddd;
    --color-base-light-bg: #eeeeee;
    --color-base-lighter: #ffffff;
    --color-contrast-dark: #da1e1e;
    --color-contrast-medium: #f5630d;
    --color-contrast-light: #ffcd04;
}
html {
    -webkit-text-size-adjust: 100%;
    font-variant-ligatures: none;
    -webkit-font-variant-ligatures: none;
    text-rendering: optimizeLegibility;
    -moz-osx-font-smoothing: grayscale;
    font-smoothing: antialiased;
    -webkit-font-smoothing: antialiased;
    text-shadow: rgba(0, 0, 0, .01) 0 0 1px;
}

body {
    font-family: "clother", sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 16px;
    letter-spacing: 1px;
	color: var(--color-base-darker);
    background-color: #fff;
    scroll-behavior: smooth;
}
html, body {
    margin: 0;
    padding: 0;
    max-width: 100vw;
}
a {
    text-decoration: none;
    color: var(--color-base-darker);
    transition: all ease .5s;
}
article p a {
    border-bottom: 1px solid var(--color-contrast-medium);
}
a i {
	color: var(--color-contrast-medium);
}
a:hover {
    color: var(--color-contrast-medium);
}
article p a:hover {
    border-bottom: 1px solid var(--color-base-dark);
}
a,
a:focus,
a:hover,
a:active {
    outline: none;
}
h1 {
    font-weight: 700;
    font-style: normal;
    margin-top: 0;
}
h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-weight: 400;
    font-style: normal;
}
h1, .h1 {  
    font-size: 2.4rem;
    text-transform: uppercase;
    color: var(--color-contrast-medium);
}
h2, .h2 {
    font-size: 1.8rem;
	padding-top: 1em;
}
h3, .h3 {
    font-size: 1.4rem;
	padding-top: 1em;
}
h4, .h4 { 
    font-size: 1.2rem;
}
figure {
	margin: 0;
}
img {
    height: auto;
    width: auto;
    max-width: 100%;
    max-height: 100%;
}
article figure img {
    border-radius: 10px;
}

/* FORMS
-------------------------------------------------- */

input, 
button, 
select, 
textarea {
    border: 1px solid var(--color-base-light);
    border-radius: 6px;
    padding: 10px 20px;
    font-size: 1.2rem;
}
input[type=text], 
input[type=email], 
input[type=number], 
select, 
textarea {
    width: 100%;
}
input[type="radio"]{
    padding: inherit;
    border-radius: 0;
}
input[type=checkbox]:focus, 
input[type=color]:focus, 
input[type=date]:focus, 
input[type=datetime-local]:focus, 
input[type=datetime]:focus, 
input[type=email]:focus, 
input[type=month]:focus, 
input[type=number]:focus, 
input[type=password]:focus, 
input[type=radio]:focus, 
input[type=search]:focus, 
input[type=tel]:focus, 
input[type=text]:focus, 
input[type=time]:focus, 
input[type=url]:focus, 
input[type=week]:focus, 
select:focus, 
textarea:focus {
    border-color: transparent !important;
    box-shadow: var(--form-shadow-base) !important;
}
/* no focus style for non-keyboard-inputs elements */
body:not(.user-is-tabbing) button:focus,
body:not(.user-is-tabbing) input:focus,
body:not(.user-is-tabbing) select:focus,
body:not(.user-is-tabbing) textarea:focus {
  outline: none;
}

/* and for keyboard users, override everything with
   a Big Blue Border when focused on any element */
body.user-is-tabbing *:focus {
  outline: 2px solid #7AACFE !important; /* for non-webkit browsers */
  outline: 5px auto -webkit-focus-ring-color !important;
}
label {
    display: inline-block;
    font-weight: 600;
}
label b {
    color: red;
}
form h3 {
    color: var(--color-base-medium);
    border-top: 1px solid var(--color-base-light);
}

/* CF7 */
.wpcf7-list-item {
    margin: 0;
    display: block;
}
.wpcf7-list-item label {
    font-weight: 300;
    padding: inherit;
    font-size: 1rem;
}
.buttForm,
#searchsubmit {
    display: block;
    background-color: var(--color-contrast-medium);
    padding: 10px;
    color: #fff !important;
    border: none;
    border-radius: 10px;
    font-weight: 600 !important;
    text-transform: uppercase;
    text-align: center;
    margin: 1em auto;
    transition: all ease .5s;
    width: 100%;
}
#searchsubmit {
    display: inline;
    margin: auto;
    width: auto;
}
.buttForm:hover,
#searchsubmit:hover {
    background-color: var(--color-base-darker);
    color: var(--color-base-lighter);
}

/* HEADER
-------------------------------------------------- */

.siteHeader {
    position: fixed;
    z-index: 2;
    top: 0; 
    left: 0;
    right: 0;
    bottom: auto;
    height: 120px;
    background-color: #fff;
    border-bottom: 1px solid var(--color-base-light);
    transition: all ease .5s;
}
.persistent .siteHeader {
    height: 70px;
    box-shadow: var(--box-shadow-base);
}
.headerLogo {
    width: auto;
    height: 60px;
    position: absolute;
    z-index: 3;
    top: 30px;
    left: 20px;
    transition: all ease .5s;
}
@media (min-width: 400px) {
  .headerLogo {
      height: 80px;
      top: 20px;
    }
  }
.persistent .headerLogo {
    height: 60px;
    top: 5px;
}
.headerLogo a,
.headerLogo a:hover,
.headerLogo a:visited {
    line-height: 60px;
}
.persistent .headerLogo a,
.persistent .headerLogo a:hover,
.persistent .headerLogo a:visited {
    line-height: 40px;
}

/* Main menu */
.mobileMenu {
    width: 80px;
    position: fixed;
    z-index: 11;
    top: 20px;
    right: 20px;
    bottom: auto;
    left: auto;
    transition: all ease .7s;
}
.mobileMenu .burger {
    width: 80px;
    stroke: #333;
    stroke-width: .6;
    transition: all ease .7s;
}
.mobileMenu:hover .burger {
    stroke: #f00;
}
.persistent .mobileMenu {
    top: 10px;
    width: 50px;
}
.persistent .mobileMenu .burger {
    width: 50px;
}

.mainNav {
    background: var(--color-base-light-bg);
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 0%;
    padding-top: 100px;
    z-index: 10;
    opacity: 0;
    transition: all 600ms cubic-bezier(.62,.04,.3,1.56);
    transition-delay: 100ms;
}
.mainNav.show {
    width: 100vw;
    opacity: 1;
}
.mainMenu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.mainMenu a {
    font-size: 3rem;
    letter-spacing: normal;
    text-transform: uppercase;
    font-weight: 800;
    line-height: 1;
}
.mainMenu a span {
    padding: 5px 40px;
    display: block;
    text-align: center;
}
@media (min-width: 470px) {
    .mainNav.show {
        width: 70vw;
        border-left: 1px solid var(--color-base-light);
    }
    .mainMenu a {
        font-size: 4rem;
    }
    .mainMenu a span {
        text-align: left;
    }
  }

/* FOOTER
-------------------------------------------------- */

.siteFooter {
    background-color: var(--color-base-light-bg);
    border-top: 1px solid var(--color-base-light);
    padding: 0 20px;
}
.footerContent {
    max-width: 1400px;
    margin: 0 auto;
}
.footerGridContainer {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    align-content: flex-start;
}
.footerGridContainer .footerWidgetContainer {
    flex: 100%;
    position: relative;
    max-width: 100%;
    padding: 20px;
}
@media (min-width: 900px) {
  .footerGridContainer .footerWidgetContainer {
    flex: 33.33%;
    max-width: 33.33%;
  }
}
.siteFooter h2 {
    text-transform: uppercase;
    padding-top: 0;
    margin-top: 0;
}

/* FOOTER Menu */
.siteFooter .menu {
    margin: 0;
    padding: 0;
    list-style-type: none;
}
.siteFooter li {
    margin: 0 0 2px 0;
    padding: 0;
    background-color: var(--color-contrast-light);
}
.siteFooter li a {
    display: block;
    position: relative;
    color: var(--color-base-darker);
    padding: 0 1em;
    line-height: 2em;
    text-decoration: none;
    text-transform: uppercase;
    transition: all ease .5s;
}
.siteFooter li a .menuIcon {
    padding-right: .5em;
}
.siteFooter li a::after {
    text-rendering: auto;
    content: "";
    transition: all ease .5s;
}
.siteFooter li a:hover {
    color: var(--color-contrast-dark);
}
.siteFooter li a:hover::after {
    font: var(--fa-font-solid);
    text-rendering: auto;
    padding-left: .5em;
    -webkit-font-smoothing: antialiased;
    content: "\2b";
    color: var(--color-base-darker);
}

/* subFooter */
.subFooter {
    display: flex;
    border-top: 1px solid var(--color-base-light);
    background-color: var(--color-base-lighter);
}

/* Back to top */
.totop {
	position: fixed;
	bottom: 0;
	right: 20px;
	z-index: 104400;
}
@media (max-width: 800px) {
    .subFooter.mutate .totop {
        display: none !important;
        opacity: 0;
        transition: all ease 1s;
    }
    .subFooter.mutate.is-inViewport .totop {
        display: inline !important;
        opacity: 1;
    }
}
.totop a, 
.totop a:visited {
	background-color: var(--color-contrast-medium);
	display: block;
    width: 80px;
	height: 40px;
	color: #fff;
	text-align: center;
	line-height: 40px;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    transition: all ease .5s;
}
.totop a:hover {
	color: #fff;
	background-color: var(--color-base-darker);
	text-decoration: none;
}
.totop a i {
	color: #fff;
}

/* Bottom Nav */
.bottomNav {
    font-size: .9rem;
    background-color: #fff;
    padding: 0 100px 0 40px;
    line-height: 40px;
    height: 40px;
}
.bottomNav nav {
    display: inline-block;
    padding-right: 20px;
}
.bottomNav nav li {
    display: inline-block;
}
.bottomNav nav li a {
    margin-right: 10px;
    border-bottom: 1px solid var(--color-contrast-medium);
}
.bottomNav nav li:last-child a {
    margin-right: 0;
}
@media (max-width: 800px) {
    .bottomNav nav {
        display: none;
    }
}

/* Copyright */
.refDYD,
.copyright {
    font-size: .7rem;
}


/* GENERAL CONTENT
-------------------------------------------------- */

/* Lists Hack */
ul.wp-block-list {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
}
ul.wp-block-list li {
    padding-left: 1.7em;
    padding-bottom: 0.8em;
    line-height: 1.4em;
    text-indent: -1.6em;
}
ul.wp-block-list li:before {
    font-family: "Font Awesome 7 Free";
    font-weight: 900;
    content: "\f00c";
    color: var(--color-contrast-medium);
    padding-right: 0.5em;
    font-size: 1.2em;
    position: relative;
}
ol.wp-block-list {
  list-style: none;
  counter-reset: my-counter;
  padding: 0;
}

ol.wp-block-list li {
  counter-increment: my-counter;
  margin-bottom: 10px;
}

ol.wp-block-list li::before {
  content: counter(my-counter) "-";
  font-weight: bold;
  color: var(--color-contrast-medium);
  margin-right: 10px;
  text-align: right;
  display: inline-block;
}

main {
    min-height: calc(100vh - 240px);
    padding: 200px 0 60px 0;
}

/* Hack si premier block est different de Slide */
.noSlide {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 40px;
}

/* hack block Media et texte */
.wp-block-media-text > .wp-block-media-text__content {
  padding: 0;
}
@media(min-width:600px) {
    .wp-block-media-text > .wp-block-media-text__content {
      padding: 0 0 0 8%;
  }
}

/* hack complianz */
#cmplz-document {
    max-width: 100%;
}

/* PAGE
-------------------------------------------------- */

/* HOME PAGE
-------------------------------------------------- */

/* AGENDA SINGLE
-------------------------------------------------- */

.single-agenda h1 {
    text-transform: none;
    font-size: 1.8rem;
    color: var(--color-base-darker);
}
.single-agenda h1 span {
    text-transform: uppercase;
    font-size: 2.4rem;
    color: var(--color-contrast-medium);
}

/* ARCHIVES
-------------------------------------------------- */

main.agenda-archive {
    max-width: 1400px;
    padding: 200px 40px 60px 40px;
    margin: 0 auto;
}

/* Archives Agenda */

.agendaGrid article.agenda {
    border-top: 1px solid var(--color-base-light);
    padding: 20px 0;
}
@media(min-width:600px) {
    .agendaGrid article.agenda {
        display: flex;
        row-gap: 40px;
        column-gap: 40px;
      }
      .agendaLeft {
        width: 40%;
      }   
}
@media(min-width:800px) {
      .agendaLeft {
        width: 25%;
      }     
}
.agenda-category-badge {
    padding: 0 1rem;
    color: var(--color-base-darker);
}
.agendaRight h2 {
    padding: 0;
}

/*  Archives filters */
.agenda-filters ul {
    margin: 0;
    padding: .5em 0;
}
.agenda-filters li {
    display: inline-block;
}
.agenda-filters li a {
    padding: .5em;
    border-right: 1px solid var(--color-base-light);
}
.agenda-filters li:last-child a {
    border-right: none;
}
.agenda-filters li a:hover {
    border-bottom: 1px solid var(--color-base-dark);
}

/*  Archives Nav */
.archiveNav {
	clear: both;
	text-align: center;
	display: block;
	padding: 3rem 0;
}
.archiveNav li {
	display: inline;
}
.archiveNav a,
.archiveNav a:hover,
.archiveNav .active a,
.archiveNav .disabled {
    display: inline-block;
	background-color: var(--color-contrast-medium);
    border: 1px solid var(--color-contrast-medium);
	cursor: pointer;
	color: #fff;
	text-decoration:none;
    font-weight: 900;
    height: 30px;
    width: 30px;
    line-height: 30px;
    text-align: center;
    padding: 0;
    margin-right: 5px;
    transition: all ease .5s;
}
.archiveNav .current {
	padding: 10px;
	padding: 0.7rem;
}

.archiveNav a:hover {
    background-color: var(--color-contrast-dark);
    color: #fff;
}
.archiveNav .active a,
.archiveNav .current {
	color: var(--color-base-dark);
	background-color: #fff;
}

