/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

/*
##========================================================================================
##                                                                                      ##
##                                    DATA THEME LIGTH                                  ##
##                                                                                      ##
##========================================================================================
*/
html{
    font-family: 'opificioregular', sans-serif;
	font-size: 10px;
    background-color: var(--body-background);
    /*variables*/
    --body-background:#FFF;
    --background-light-text:#FFF;
    --background-second :#FFF;
    --connect-button:#F29400;
	--add-button:#E20019;
	--logo-yellow:#FFD200;
	--button-dark-text:#80B61A;
    --little-title:#000;
}

.header-logo__dark {
    display: none;
}

@font-face {
    font-family: 'opificioregular';
    src: url('../fonts/opificio_regular-webfont.woff2') format('woff2'),
         url('../fonts/opificio_regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'opificiobold';
    src: url('../fonts/opificio_bold-webfont.woff2') format('woff2'),
         url('../fonts/opificio_bold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}
/*
##========================================================================================
##                                                                                      ##
##                                    DATA THEME DARK                                   ##
##                                                                                      ##
##========================================================================================
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat&family=Roboto+Slab:wght@700&family=Titillium+Web:wght@200&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Montserrat&family=Titillium+Web:wght@200&display=swap');

html[data-theme='dark']{
    font-family: 'Montserrat', sans-serif;
    /*variables*/
    --body-background:#A8131D;
    --background-light-text:#fff;
    --background-second: #B0D2D9;
    --connect-button:#CD493D;
	--add-button:#0F3250;
	--button-dark-text:#A8131D;
    --little-title: #0F3250;


/*Charte CMA :
    blanc : #FFF;
    couleurs principales
    rouge éclairé : #EA4B3C
    CTA : #CD493D
    rouge cma : #A8131D

    couleurs secondaires
    bleu frais : #B0D2D9
    bleu marine : #0F3250

  */
}
html[data-theme='dark'] .header-logo__light{
    display: none;
}
html[data-theme='dark'] .header-logo__dark{
    display: block;
}
html[data-theme='dark'] h1, h2, strong {
    font-family: 'Roboto Slab', 'Titillium Web', sans-serif;
}

/*Fin DATA THEME : DARK##────  ──────────────────────────────────────────────────────────────────────────────────*/

body{
	padding: 0 1rem;
    position:relative;
}

h1 {
	font-size: 3.4rem;
	color:var(--button-dark-text);
    margin : 0 0 7rem;
}
@media only screen and (min-width: 760px) {
	h1 {
        font-size: 5.1rem;
	}
}
h2 {
	font-size: 2.1rem;
	color:var(--background-light-text);
}

h1, h2, strong {
    font-family: 'opificiobold', sans-serif;
}

p {
	font-size: 1.3rem;
	color:var(--button-dark-text);
    line-height: 2rem;
}
a {
    font-size: 1.3rem;
    color:var(--button-dark-text);
}
.error_message{
    position: fixed;
    top: 40%;
    left: 10%;
    width: 80%;
    background-color: var(--connect-button);
    color: var(--background-light-text);
    padding: 1em;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    font-size: 1.3rem;
}
.contenaire{

	background-color:var(--background-second);
	padding: 12rem 1rem 0;
    min-height: calc(100vh - 288px);
    outline: solid .15rem var(--button-dark-text);
}

@media only screen and (min-width: 760px) {
	.contenaire{
		width: 70vw;
        padding: 20rem 1rem 0;
		margin: 0 auto;
	}
}
.window--is-working {
    position : absolute;
    z-index: 1000;
    top:0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(8, 8, 8, 0.8);
    -webkit-transition: .5s;
    -o-transition: .5s;
    transition: .5s;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    color:var(--button-dark-text);
    padding: 50vh 0;

}
.window--is-working p {
    text-align: center;
    font-family:'opificiobold';
    font-size: 4rem;
}
.window--is-working .header-logo {
    height: auto;
    margin: 0 0 10rem;
    background-color: var(--background-light-text);
    padding: 1rem;
}
@media only screen and (min-width: 760px){
    .window--is-working p {
        font-size: 10rem;
    }
    .window--is-working .header-logo {
        height: 10rem;
    }
}
header {
	position:relative;
}
.c-nav-container {
	position:fixed;
	top: 0;
	right: 0;
	left: 0;
	padding: 1rem;
	z-index: 1000;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	background-color:var(--background-light-text);
	-webkit-box-shadow: 0 .5rem 1.5rem var(--button-dark-text);
	        box-shadow: 0 .5rem 1.5rem var(--button-dark-text);
}
.header-avatar {
	height: 2rem;
    padding: 0;
    cursor:pointer;
    fill:var(--button-dark-text);
}
@media only screen and (min-width: 760px) {
    .header-avatar {
        padding: 0 3rem;
        height: 10rem;
    }
}
.c-nav-logo-name {
	width: 100%;
	padding: 0 5%;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
}
.c-nav-name {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}
/* log-out */
.c-id {
    display: block;
    position: relative;
}
.c-loggout {
    position: absolute;
    background-color: var(--background-light-text);
    top:110%;
    left: 0;
    right: 0;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    padding: 2rem 1rem;
    z-index: 2000;
    background-color: var(--connect-button);
    color: var(--background-light-text);
    font-size: 2.1rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-transform: translateX(0);
        -ms-transform: translateX(0);
            transform: translateX(0);
    -webkit-transition: .2s;
    -o-transition: .2s;
    transition: .2s;
}
.c-loggout[hidden]{
            -webkit-transform: translateX(-300%);
                -ms-transform: translateX(-300%);
                    transform: translateX(-300%)
}
.c-loggout a {
    position:relative;
    font-size: 1.3rem;
    color: var(--background-light-text);
    text-decoration: none;
}

.c-loggout a::after {
    content : "";
    position: absolute;
    left    : 0;
    bottom  : 0;
    height  : 1rem;
    width   : 0%; 
    margin-bottom: -1vh;
    border-bottom: solid var(--background-light-text) .15rem;
    -webkit-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
}
.c-loggout a:hover::after {
    width: 100%;
}
.header-logo {
    height: 2rem;
}
@media only screen and (min-width: 760px) {
    .header-logo {
        height: 10rem;
    }
}
/*burger##────  ──────────────────────────────────────────────────────────────────────────────────*/
.toggle-buttons {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
}

.toggle-menu {
    position: relative;
    z-index: 1010;
    font-size:2rem;
	background-color:var(--background-light-text);
    cursor: pointer;
    display:block;
    width:5rem;
	padding: 0;
    height:40px;
    border-style:none;
    outline: none;
        -webkit-appearance: none;
}
.toggle-menu span:after,
.toggle-menu span:before {
  content: "";
  position: absolute;
  left: 0;
  top: -9px;
}
.toggle-menu span:after{
    top: 9px;
  }
.toggle-menu span {
    position: relative;
    display: block;
  }
.toggle-menu span,
.toggle-menu span:after,
.toggle-menu span:before {
    width: 100%;
    height: 5px;
    background-color:var(--button-dark-text);
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    -webkit-backface-visibility: hidden;
            backface-visibility: hidden;
  }
  .toggle-menu.on span {
    background-color: transparent;
  }
  .toggle-menu.on span:before {
    -webkit-transform: rotate(45deg) translate(5px, 5px);
        -ms-transform: rotate(45deg) translate(5px, 5px);
            transform: rotate(45deg) translate(5px, 5px);
  }
  .toggle-menu.on span:after {
    -webkit-transform: rotate(-45deg) translate(7px, -8px);
        -ms-transform: rotate(-45deg) translate(7px, -8px);
            transform: rotate(-45deg) translate(7px, -8px);
  }
    @media (min-width: 992px) {

        nav > ul[hidden]{
            -webkit-transform: none;
                -ms-transform: none;
                    transform: none;
        }
        nav {
            width: calc(100% - 240px);
            padding-right: 30px;
        }
        nav ul {
            position: static;
            -webkit-box-orient: horizontal;
            -webkit-box-direction: normal;
                -ms-flex-direction: row;
                    flex-direction: row;
            -webkit-box-pack: justify;
                -ms-flex-pack: justify;
                    justify-content: space-between;
        }
    }
/*fin du menu burger*/
/* navigation ##────  ──────────────────────────────────────────────────────────────────────────────────*/
@media only screen and (min-width: 760px) {
	.c-nav-container{
		-ms-flex-pack: distribute;
		    justify-content: space-around;
	}

}
.c-nav_menu {
    position: fixed;
    background-color: var(--background-light-text);
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    z-index: 1000;
    color: var(--button-dark-text);
    font-size: 3rem;
    line-height: 13rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-transform: translateX(0);
        -ms-transform: translateX(0);
            transform: translateX(0);
    -webkit-transition: .2s;
    -o-transition: .2s;
    transition: .2s;
}
.c-nav_menu[hidden]{
    -webkit-transform: translateX(-100%);
        -ms-transform: translateX(-100%);
            transform: translateX(-100%)
}
.c-nav_menu li a {
    position:relative;
    font-size: 2.1rem;
    text-decoration: none;
}
@media only screen and (min-width: 760px) {
    .c-nav_menu li a {
        font-size: 3.4rem;
    }
}

.c-nav_menu li a::after {
    content : "";
    position: absolute;
    left    : 0;
    bottom  : 0;
    height  : 1rem;
    width   : 0%; 
    margin-bottom: -1vh;
    border-bottom: solid var(--button-dark-text) .5rem;
    -webkit-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
}
.c-nav_menu li a:hover::after {
    width: 100%;
}

/*##────  mode Dark/ligth button───────────────────────────────────────────────────────*/
header input[type=checkbox]{
	height: 0;
	width: 0;
	visibility: hidden;
}

header label {
	cursor: pointer;
	text-indent: -9999px;
	width: 52px;
	height: 27px;
	background: var(--button-dark-text);
	float: right;
	border-radius: 100px;
	position: relative;
}

header label:after {
	content: '';
	position: absolute;
	top: 3px;
	left: 3px;
	width: 20px;
	height: 20px;
	background: var(--background-light-text);
	border-radius: 90px;
	-webkit-transition: 750ms;
	-o-transition: 750ms;
	transition: 750ms;
}
html[data-theme='dark'] header label:after{
    right: 3px;
    left:auto;
}

input:checked + header label {
	background: var(--button-dark-text);
}

input:checked + header label:after {
	left: calc(100% - 5px);
	-webkit-transform: translateX(-100%);
	    -ms-transform: translateX(-100%);
	        transform: translateX(-100%);
}

header label:active:after {
	width: 45px;
}

html.transition,
html.transition *,
html.transition *:before,
html.transition *:after {
  -webkit-transition: all 750ms !important;
  -o-transition: all 750ms !important;
  transition: all 750ms !important;
  -webkit-transition-delay: 0 !important;
       -o-transition-delay: 0 !important;
          transition-delay: 0 !important;
}
.sun {
    position:relative;
    height: 1rem;
    width: 1rem;
    background: var(--button-dark-text);
    border:.3rem solid var(--background-light-text);
    border-radius: 50%;
    margin: 1rem auto 0;
}
.sun span {
    display: block;
    position:absolute;
    top:50%;
    left:50%;
    z-index: -1;
    height: 0.2rem;
    background: var(--button-dark-text);
    width: 2.5rem;
    -webkit-transition: width .7s;
    -o-transition: width .7s;
    transition: width .7s;
}
.sun.night span {
    width: 0;
}
.sun .line1 {
    -webkit-transform: translate(-50%,-50%);
        -ms-transform: translate(-50%,-50%);
            transform: translate(-50%,-50%);
}
.sun .line2 {
    -webkit-transform: translate(-50%,-50%) rotate(90deg);
        -ms-transform: translate(-50%,-50%) rotate(90deg);
            transform: translate(-50%,-50%) rotate(90deg);
}
.sun .line3 {
    -webkit-transform: translate(-50%,-50%) rotate(45deg);
        -ms-transform: translate(-50%,-50%) rotate(45deg);
            transform: translate(-50%,-50%) rotate(45deg);
}
.sun .line4 {
    -webkit-transform: translate(-50%,-50%) rotate(-45deg);
        -ms-transform: translate(-50%,-50%) rotate(-45deg);
            transform: translate(-50%,-50%) rotate(-45deg);
}
.sun::after{
    content:'';
    height: 1rem;
    width: 1rem;
    border-radius: 50%;
    position: absolute;
    background: var(--body-background);
    top: -1rem;
    right: -2rem;
    -webkit-transition: .7s;
    -o-transition: .7s;
    transition: .7s;
}
.sun.night::after {
    top: -0.3rem;
    right: -0.3em;
    background: var(--background-light-text);
}
/* ##──── FRONT PAGE ──────────────────────────────────────────────────────────────────────── */
.front_page {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns:1fr;
    grid-template-columns:repeat(1,1fr);
    grid-gap: 1rem;
}
.front_page-image img {
    max-width: 100%;
    height: auto;
}
.front_page-description {
    background-color: var(--button-dark-text);
    padding: 1rem;
}
.front_page-description h2 {
    line-height: 3rem;
    font-size: 2.1rem;
    color: var(--background-light-text);
    background: var(--button-dark-text);
    margin: 0 0 2rem;
}

.front_page-description p {
    color: var(--background-light-text);
    line-height: 2rem;
}
@media only screen and (min-width: 760px){
    .front_page {
        -ms-grid-columns: 1fr 1rem 1fr;
        grid-template-columns: repeat(2,1fr);
    }
    .front_page-content {
        grid-column: 1/span2;
    }
}

.login_link {
    font-size: 2.1rem;
    background-color: var(--button-dark-text);
    color: var(--background-light-text);
    padding: 2rem;
    display: inline-block;
    text-decoration: none;
    margin: 2rem 0;
}
.login_link:hover {
    background-color: var(--background-light-text);
    color:var(--button-dark-text);
    outline: solid .3rem var(--button-dark-text);
}

/* ##──── LOGIN ───────────────────────────────────────────────────────────────────────────── */
.login-username input, .login-password input {
    width: 94%;
    margin: 0 0 2rem;
    padding: 0 .5rem;
    height: 6rem;
    font-size: 2.1rem;
    color: var(--button-dark-text);
    border: none;
    border-bottom: solid .15rem var(--button-dark-text);
}
.login-username input::-webkit-input-placeholder, .login-password input::-webkit-input-placeholder {
    color: var(--button-dark-text);
    opacity: .5;
}
.login-username input::-moz-placeholder, .login-password input::-moz-placeholder {
    color: var(--button-dark-text);
    opacity: .5;
}
.login-username input:-ms-input-placeholder, .login-password input:-ms-input-placeholder {
    color: var(--button-dark-text);
    opacity: .5;
}
.login-username input::-ms-input-placeholder, .login-password input::-ms-input-placeholder {
    color: var(--button-dark-text);
    opacity: .5;
}
.login-username input::placeholder, .login-password input::placeholder {
    color: var(--button-dark-text);
    opacity: .5;
}
.login-remember {
    padding: 2rem 0;
}

/* #──── FILTRES ──────────────────────────────────────────────────── */
.c_search_form {
	margin: 0 0 2rem;
}
.search_input {
    width: 76%;
    height: 2rem;
    border:none;
    border-right: solid .3rem var(--button-dark-text);
	font-family: 'opificioregular';
    color: var(--button-dark-text);
	font-size: 1.3rem;
}
.search_btn {
	width: 20%;
	background-color: transparent;
	color:var(--background-light-text);
   background-image:url('../img/search_icon.svg');
   background-position: center;
   background-repeat: no-repeat;
   background-size: contain;
   border: none;
}
input[type="submit"] {
    float: right;
    height: 2rem;
    cursor:pointer;
}


li {
	list-style: none;

}
.cat-item {
    position:relative;
}
.cat-item a {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	font-size: 3.4rem;
    color: var(--background-light-text);
    text-decoration: none;
    list-style: none;
    background: var(--button-dark-text);
    margin: 0 0 2rem;
    height: 7rem;
    -webkit-transition: .2s;
    -o-transition: .2s;
    transition: .2s;
}
.cat-item a:hover {
    background: var(--background-light-text);
    color: var(--button-dark-text);
    outline: solid .3rem var(--button-dark-text);
}
.current-cat a {
    background: var(--background-light-text);
    color: var(--button-dark-text);
    outline: solid .3rem var(--button-dark-text);
}
.c-cat {
    position:absolute;
    top:0;
    right: 0;
    z-index: 900;
    width: 7rem;
    height: 7rem;
    color: var(--background-light-text);
    font-size: 4rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    cursor: pointer;
    -webkit-transition: .2s;
    -o-transition: .2s;
    transition: .2s;
}
.cat-item a:hover~.c-cat {
    background-color:var(--background-light-text);
    color: var(--button-dark-text);
}
.current-cat .c-cat {
    color:var(--button-dark-text)!important;
}
.cat-item .children {
    display:none;
	-ms-grid-columns: 1fr;
	grid-template-columns: repeat(1,1fr);
	grid-gap:1rem;
}
.cat-item .children  li a {
	-webkit-box-pack: start;
	    -ms-flex-pack: start;
	        justify-content: flex-start;
	font-size: 2.1rem;
    color:var(--background-light-text);
	background: var(--connect-button);
    outline: none;
	padding: 0 0 0 2rem;
    -webkit-transition: .2s;
    -o-transition: .2s;
    transition: .2s;
}
.cat-item .children  li a:hover {
    background: var(--background-light-text);
    color: var(--connect-button);
    outline: solid .3rem var(--connect-button);
}
.c-filter {
    margin-bottom: 7rem;
}
@media only screen and (min-width: 760px) {
	.cat-item .children  {
		-ms-grid-columns: 1fr 1rem 1fr;
		grid-template-columns: repeat(2,1fr);
	}
	.c-filter {
		width: 60%;
		margin:0 auto 7rem;
	}
}
@media only screen and (min-width: 1220px ){
	.cat-item .children  {
		-ms-grid-columns: 1fr 1rem 1fr 1rem 1fr 1rem 1fr;
		grid-template-columns: repeat(4,1fr);
	}
	.c-filter {
		width: 60%;
		margin:0 auto 7rem;
	}
}

/* ##──── Galerie d'articles ──────────────────────────────────────────────────────────────── */
.c-posts {
    position:relative;
}
.c-posts_galery {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr;
    grid-template-columns: repeat(1,1fr);
    grid-gap:1rem;
}
.c-post_card {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    min-height: 65rem;
    background-color: var(--background-light-text);
    color:var(--little-title);
    padding: 0 0 1rem;
    border:none;
    margin-bottom: 3rem;
    -webkit-transition: .2s;
    -o-transition: .2s;
    transition: .2s;
}
.c-post_card:hover {
    /* outline: solid .3rem var(--button-dark-text); */
    -webkit-box-shadow: .5rem .5rem 1.5rem var(--button-dark-text);
            box-shadow: .5rem .5rem 1.5rem var(--button-dark-text);
}
.c-post_card p {
    color: #fff!important;;
}
@media only screen and (min-width: 760px) {
    .c-posts_galery {
        -ms-grid-columns: 1fr 1rem 1fr;
        grid-template-columns: repeat(2,1fr);
    }
}
@media only screen and (min-width: 1220px) {
    .c-posts_galery {
        -ms-grid-columns: 1fr 1rem 1fr 1rem 1fr;
        grid-template-columns: repeat(3,1fr);
    }
}
.c-h2 {
    font-size: 2.1rem;
    color: var(--background-light-text);
    background: var(--button-dark-text);
    padding: 1rem;
    margin: 0 0 2rem;
    height: 7rem;
}
.c-post_card img {
    margin:2rem;
}
.c-post_card_block-details, .c-post_card_block-content {
    margin: 2rem;
    font-size: 1.3rem;
    line-height: 2rem;
    color:var(--little-title);
}
.c-post_designation{
    font-size: 2.1rem;
    color:var(--button-dark-text);
}

.post_link, .post_meta_link {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    background-color: var(--connect-button);
    height: 2rem;
    padding: 1rem;
    margin-bottom: 1rem;
    -webkit-transition: .2s;
    -o-transition: .2s;
    transition: .2s;
}
.post_link:hover, .post_meta_link:hover {
    background: var(--background-light-text);
    outline: solid .3rem var(--connect-button);
}

.post_link a, .post_meta_link a {
    width: 100%;
    text-align:center;
    font-size: 1.3rem;
    color:var(--background-light-text);
    text-decoration: none;
    -webkit-transition: .2s;
    -o-transition: .2s;
    transition: .2s;
}
.post_link:hover.post_link a, .post_meta_link:hover.post_meta_link a {
    color:var(--connect-button);
}

/* ──── SINGLE ──────────────────────────────────────────────────────────────────────────── */
.c-post_img_add {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
    padding-top: 2rem;
}
.c-post_img_add a {
    display: contents;
}
.c-post_img_add a img {
    width: 25%;
    height: auto;
    margin: 0 2% 0 0;
}
.edit-post {
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    -webkit-box-pack:end;
        -ms-flex-pack:end;
            justify-content:end;
    width: 100%;
}
.edit-post a {
    background-color:var(--connect-button);
    color: var(--background-light-text);
    padding: 1rem;
    margin: 0 0 3rem;
    text-decoration: none;    
}
.edit-post a:hover{
    color:var(--connect-button);
    background-color: var(--background-light-text);
    outline: solid .3rem var(--connect-button);
}
.c-single_content {
    position:relative;
    border-top:solid .15rem var(--button-dark-text);
    margin: 3rem auto 0;
    padding-top: 1rem;
    width: 100%;
}
@media only screen and (min-width: 760px) {
    .c-single_content {
        width: 70%;
    }
}
.c-single_img-box img {
    width: 100%;
    height: auto;
}
/* ─── pagination ──────────────────────────────────────────────────────────────────────── */
.pagination, .pagination_custom-pt, .return {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}
@media only screen and (min-width: 760px) {
    .pagination, .pagination_custom-pt, .return  {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
            -ms-flex-direction: row;
                flex-direction: row;
        width: 100%;;
    }
}
.pagination a, .pagination_custom-pt a, .return a {
    color: var(--background-light-text);
    background: var(--button-dark-text);
    padding: 1rem;
    margin: 0 1rem 3rem;
    text-decoration:none;
    width: 80%;
    text-align: center;
}
@media only screen and (min-width: 760px) {
    .pagination a, .pagination_custom-pt a, .return a  {
        width: auto;
    }
}
.pagination a:first-of-type:before {
    content:'\00003C    ';
    white-space: pre-wrap;
}
.pagination a:last-of-type:after {
    content:'    \00003E';
    white-space: pre-wrap;
}
.pagination a:hover, .pagination_custom-pt a:hover, .return a:hover {
    background-color:var(--background-light-text);
    color: var(--button-dark-text);
    outline: solid .3rem var(--button-dark-text) ;
}
.page-numbers.current {
    font-size: 1.3rem;
    padding: 1rem;
    color: var(--button-dark-text);
    margin: 0 1rem 3rem;
}
.nav-links {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}
/* ##──── commentaires ────────────────────────────────────────────────────────────────────── */
.comment-form {
    margin-bottom: 7rem;
}
.logged-in-as {
    display: none;

}
.comment-form textarea{
    width: 99%;
    color:var(--little-title);
    outline:solid .15rem var(--button-dark-text);
    font-family: 'opificioregular';
    font-size: 1.3rem;
}
.comment-form input[type='submit']{
    float:none;
    font-family: 'opificioregular';
    color: var(--background-light-text);
    background: var(--button-dark-text);
    padding: 1rem;
    cursor:pointer;
    height: auto;
}
.comment-form input[type='submit']:hover{
    color: var(--button-dark-text);
    background: var(--background-light-text);
    outline:solid .3rem var(--button-dark-text);
}
.comments_list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: end;
        -ms-flex-align: end;
            align-items: flex-end;
}
.comment {
    background-color: var(--button-dark-text);
    border-radius: 1.3rem;
    color: var(--background-light-text);
    margin-bottom: 3rem;
    padding: 1rem;
}
@media only screen and (min-width: 760px) {
    .comment {
        width:70%;
    }
}
.comment-author *{
    color:(var(--button-dark-text));
    font-size: 1.3rem;
}
.comment *{
    font-size: 1.3rem;
    line-height: 2rem;
    text-decoration: none;
}
.avatar {
    content:url('../img/avatar_white.svg');
}

.comment p {
    margin:2rem 0;
}
.comment a {
    display: inline-block;
    outline: solid .15rem var(--background-light-text);
    color:var(--background-light-text);
    text-decoration: underline;
    padding: .5rem;
    margin-top: 1rem;
    width: 7rem;
}
.comment a:hover {
    background-color:var(--background-light-text);
    color: var(--button-dark-text);
}
.comment p a {
    color: var(--button-dark-text);
    width: 100%;
    text-decoration: underline;
    word-break: break-all;
    padding-right: 0px;
}
.posted-by-professeur {
    display: none;
    background-color: var(--connect-button);
}
.posted-by-professeur.viewed-by-professeur {
    display: block;
}
.posted-by-professeur.posted-by-post-author {
    display: block;
}
.posted-by-professeur a {
    color:var(--background-light-text);
    text-decoration: none;
}
.posted-by-professeur a:hover {
    color: var(--connect-button);
} 
.bypostauthor {
    margin-right: 3rem;
}
.comment-meta {
    border:none;
    color:var(--connect-button);
}
.comment-metadata {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
}
.edit-link {
    width: 100%;
}
.comment-content {
    background-color:var(--background-light-text);
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 1.3rem;
}
.comment-content p {
    color: var(--button-dark-text);
}
.posted-by-professeur .comment-content p {
    color:var(--connect-button);
}
.comment .depth-2 {
    margin-top: 2rem;
}
.add_post {
    position: fixed;
    top: 70%;
    right: 2vw;
    z-index: 900;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    font-family: 'opificioregular', sans-serif;
    font-size: 10.5rem;
    color: var(--background-light-text);
    background-color: var(--add-button);
    width: 8.2rem;
    height: 8.2rem;
    border-radius: 50%;
    -webkit-box-shadow: .3rem .3rem 5px #7930384f;
            box-shadow: .3rem .3rem 5px #7930384f;
}
@media only screen and (min-width: 760px){
    .add_post {
        right: 10vw;
    }
}
.add_post:hover {
    -webkit-box-shadow: .6rem .6rem 5px #7930384f;
            box-shadow: .6rem .6rem 5px #7930384f;
}
/*──── FrontEnd ACF Form ───────────────────────────────────────────────────────────────── */
.acf-label {
    font-size: 2.1rem;
}
.acf-input-wrap input {
    border:solid .15rem var(--button-dark-text);
}
.acf-basic-uploader input {
    font-family: 'opificioregular';
    color: var(--button-dark-text);
}
.mce-edit-area {
    border:solid .15rem var(--button-dark-text)!important;
}
.acf-form-submit {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: flex-end;
}
.acf-form-submit input[type="submit"], .login-submit input[type="submit"] {
    float:none;
    background: var(--button-dark-text);
    color: var(--background-light-text);
    padding: 0 2rem;
    cursor: pointer;
    margin: 0 0 7rem;
    height: 4.5rem;
}
.acf-form-submit input[type="submit"]:hover, .login-submit input[type="submit"]:hover {
    background-color: var(--background-light-text);
    color:var(--button-dark-text);
    outline: solid .15rem var(--button-dark-text);
}

/* ##──── footer ──────────────────────────────────────────────────────────────────────────── */
footer {
    margin: 1rem -1rem;
    border-top : solid .15rem var(--button-dark-text);
    background-color: var(--background-light-text);
}
footer .post_link a {
    display: block ruby;
    padding: 1rem;
    color: var(--background-light-text);
}
.c-footer {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -ms-flex-pack: distribute;
        justify-content: space-around;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    margin:0 auto;
    padding: 3rem 1rem;
}

.c-footer_wrap {
    border: none;
    margin-right: 2rem;
    padding-right: 2rem;
    text-align: left;
    
}
.c-footer a {
    display:inline-block;
    color:var(--button-dark-text);
    text-decoration: none;
    padding-bottom: 1rem;
}
.c-footer_logo-contenaire {
    display: inline-table;
    padding: .5rem;
    width: 60%;
}
.c-footer_loggout {
    margin-top: 1rem;
}
@media only screen and (min-width: 760px){
    .c-footer {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
            -ms-flex-direction: row;
                flex-direction: row;
        -ms-flex-pack: distribute;
            justify-content: space-around;
        width: 70%;
    }
    .c-footer_wrap {
        border-right: solid .15rem var(--button-dark-text);
        text-align: end;
    }
    .c-footer_logo-contenaire {
        width:20%;
    }
}
.c-footer_logo-contenaire a {
    display:contents;
}
#wcb.carbonbadge {
    --b1: #0e11a8;
    --b2: #00ffbc;
    text-align: left!important;
    color: var(--button-dark-text)!important;
    line-height: 1.15;
    padding-left: 15%!important;
    margin-bottom: 1rem;
}
#wcb #wcb_a, #wcb #wcb_g{
    border : .13rem solid var(--button-dark-text)!important;
}
#wcb #wcb_a{
    background: var(--button-dark-text)!important;
}.example {
    display: -ms-grid;
    display: grid;
    -webkit-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
    background: -webkit-gradient(linear, left top, left bottom, from(white), to(black));
    background: -o-linear-gradient(top, white, black);
    background: linear-gradient(to bottom, white, black);
}
.wps-pgfw-pdf-generate-icon__wrapper-frontend {
    display: inline !important;
    gap: 0 !important;
}