/*
 Theme Name:   AGONE
 Template:     yootheme
 Author:       Graphik-Factory.com
 Description:  Agone 1.0
 Version:      1.0.0
 Text Domain:  yootheme-agone
*/

em {
  color: #000!important;
}

@media (min-width: 1200px) {
  .uk-heading-medium {
    font-size: 60px!important;
  }
}

@media only screen and (max-width: 1199px) {
        :root {
            --font-size-extra-small: 0.75rem;
            --font-size-small: 0.938rem;
            --font-size-regular: 1rem;
            --font-size-big: 1.25rem;
            --font-size-extra-big: 1.5rem;
            --font-size-geant: 1.875rem;
        }
    }
    @media only screen and (min-width: 1200px) {
        :root {
            --font-size-extra-small: 0.875rem;
            --font-size-small: 1rem;
            --font-size-regular: 1.25rem;
            --font-size-big: 1.5rem;
            --font-size-extra-big: 1.875rem;
            --font-size-geant: 2rem;
        }
    }
    
:root {
        --body-font-family-primary: Oswald, -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
        --body-font-family-secondary: Oswald, -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
        --body-font-family-extra: LeagueSpartan, -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
        --body-font-weight-primary: 300;
        --body-font-weight-secondary: 400;
    }
    
    

:root {
    --spacer-extra-smaller: 0.25rem;
    --spacer-smaller: 0.625rem;
    --spacer-small: 1rem;
    --spacer: 1.25rem;
    --spacer-medium: 1.5rem;
    --spacer-big: 1.875rem;
    --spacer-extra-big: 2.5rem;
    --spacer-extra-bigger: 5rem;
    --spacer-geant: 7.5rem;
}



.uk-modal {background: rgba(255,255,255,.2)!important;}
.uk-container {margin-left:0!important}

.uk-divider-small::after{
    background-image:none!important;
    border-color: #000!important;
}

.linkmeeting{
    padding-left: 10px;
  border-left: 5px solid #fff;
  display: block; 
}
.linkmeeting:hover{border-left: 5px solid #d4211c;}

#line1,#line2{position:relative}

#leftgrey {background-color: #efefef;min-height:300px;position:relative}
#leftgrey:before{
    content: "";
  position: absolute;
  top: -40px;
  left: -40px;
  width: calc(100% + 60px);
  height: calc(100% + 100px);
  background-color: #efefef;
  clip-path: polygon(0px 0px,calc(100% - 20px) 40px,100% calc(100% - 60px),0 100%);
}

#leftgreybook {background-color: #efefef;min-height:300px;position:relative}
#leftgreybook:before{
    content: "";
  position: absolute;
  top: -40px;
  left: -40px;
  width: calc(100% + 60px);
  height: calc(100% + 100px);
  background-color: #efefef;
  clip-path: polygon(0px 0px,100% 40px,100% 100%,0 95%);
 background-image: linear-gradient(0deg, #26425b 0, #26425b 100%), url("/i/cover.jpg");
 background-repeat: no-repeat;
  background-size: cover;
  background-blend-mode: multiply;
}

  #mainsection::before {
   content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: #efefef;
            clip-path: polygon(0 0,420px 30px,450px 400px,0 500px);

  }
  
   #mainsection.large::before {
    clip-path: polygon(0 0,420px 30px,450px 600px,0 700px);
   }
  
#listcat ul {list-style-type: none;line-height: 40px;white-space: nowrap;}
#listcat ul a {color:#000;font-size: 1.4rem;font-weight: 200;}
#listcat ul li {position:relative}
#listcat ul li:hover > a::before,#listcat ul li.current-cat > a::before {
    content: "";
    position:absolute;
    border-left:4px solid #000;
    height: 39px;
    width:10px;
    left:-14px;
    top:0;
}

.linkauthor {color:black;text-decoration: underline dotted;text-decoration-skip-ink: none;}





.uk-navbar-nav > li.uk-active > a::before,.uk-navbar-nav > li:hover > a::before, .uk-navbar-nav > li > a[aria-expanded="true"]::before {
     content: ""; /* Ajout de la propriété content */
background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032.43%2079.24%22%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill%3A%231d1d1b%3Bstroke-width%3A0px%3B%7D%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cg%20id%3D%22Calque_1-2%22%3E%3Cpath%20class%3D%22cls-1%22%20d%3D%22m0%2C3.37L19.13%2C0l.85%2C4.8-9.45%2C1.67%2C11.68%2C66.25%2C9.38-1.65.85%2C4.8-19.13%2C3.37L0%2C3.37Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E")!important;
  bottom: 0px;
  top: 56px;
  left: 0;
  
  background-repeat: no-repeat;
  height: 36px;
}

.uk-navbar-nav > li.uk-active > a::after,.uk-navbar-nav > li:hover > a::after, .uk-navbar-nav > li > a[aria-expanded="true"]::after {
     content: ""; /* Ajout de la propriété content */
background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032.59%2079.21%22%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill%3A%231d1d1b%3Bstroke-width%3A0px%3B%7D%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cg%3E%3Cpath%20d%3D%22m12.6%2C74.41l9.38-1.65L10.22%2C6.52.85%2C8.18%2C0%2C3.37%2C19.13%2C0l13.45%2C75.84-19.13%2C3.37-.85-4.8Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E")!important;
  bottom: 0px;
  top: 51px;
right: -15px;
  background-repeat: no-repeat;
  height: 36px;
   width: 30px;
  position: absolute;
}

#topfooter::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: black;
            clip-path: polygon(0 0,100% 100%,0 100%);
        }
        
.metalist .el-link:nth-child(1){
    color:#464646!important;
    font-weight:400;
    text-decoration: underline;
}


/***** LIST AUTEURS ****/

#res_auteurs2 {
    display: flex;
    flex-wrap: wrap;
}

#res_auteurs2 > div {
    flex: 1 0 20%; /* Cela divise l'espace en 5 colonnes */
    box-sizing: border-box;
    padding: 0 10px; /* Un peu d'espacement entre les colonnes */
}

#res_auteurs2 h2 {
    margin-top: 0; /* Pour éviter un espace supplémentaire en haut */
}


.book-card__release-date {
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-item-align: center;
    align-self: center;
    -ms-flex-align: start;
    align-items: flex-start;
    -ms-flex-pack: center;
    justify-content: center;
    margin-top: var(--spacer-extra-big);
    margin-left: calc(-1 * var(--spacer));
    padding: var(--spacer) var(--spacer-extra-big) var(--spacer) var(--spacer);
    color: var(--c-on-third);
    
    font-size: var(--release-date-font-size, var(--font-size-extra-small));
}


.book-card__release-date::before {
    content: "";
    -webkit-clip-path: polygon(5px 0%, calc(100% - 15px) calc(0% + 11px), calc(100% - 7px) calc(100% - 13px), 0% calc(100% - 5px));
    clip-path: polygon(5px 0%, calc(100% - 15px) calc(0% + 11px), calc(100% - 7px) calc(100% - 13px), 0% calc(100% - 5px));
    display: block;
    position: absolute;
    z-index: -1;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #d4211c;
}
.book-card__release-date .release-date__date {
    font-family: var(--body-font-family-extra);
    -webkit-transform-origin: left center;
    -ms-transform-origin: left center;
    transform-origin: left center;
    -webkit-transform: scaleX(1.14);
    -ms-transform: scaleX(1.14);
    transform: scaleX(1.14);
}


/*********************** HP ********************************/

/* Style de base pour tous les éléments */
.grid-container > div {
    border: 1px solid black;
    padding: 10px;
    font-size: 16px;
}

/* Pour les petits écrans : max-width: 599px */
.grid-container {
    display: grid;
    grid-template-columns: 1fr;
}

/* Pour écrans entre 600px et 899px */
@media only screen and (min-width: 600px) and (max-width: 899px) {
    /*.home {border-top:10px solid pink} */ 
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
     .event {
        grid-column: span 2;
    }
    .paraitre,.blog {
        grid-column: span 2;
    }
}

/* Pour écrans entre 900px et 1199px */
@media only screen and (min-width: 900px) and (max-width: 1199px) {
   /* .home {border-top:10px solid yellow}  */
    .grid-container {
        grid-template-columns: repeat(6, 1fr);
    }
    .paru{
        grid-column: span 2;
    }
    .paraitre {
        grid-column: span 6;
    }
    .blog {
        grid-column: span 3;
    }
    .event {
        grid-column: span 2;
    }
}

/* Pour écrans entre 1200px et 1599px */
@media only screen and (min-width: 1200px) and (max-width: 1599px) {
   /* .home {border-top:10px solid blue}  */
    .grid-container {
        grid-template-columns: repeat(3, 1fr);
        grid-template-areas:
           "paru1 paru2 paraitre"
    "blog paru3 paru4"
    "blog focus1 focus2"
    "blog focus3 focus4"
    "event event event";
    }

    .paru:nth-child(-n+2) {
        grid-area: paru;
    }
    .paru:nth-child(n+3) {
        grid-area: paru;
    }
    .paraitre {
        grid-area: paraitre;
    }
    .blog {
        grid-area: blog;
    }
    .focus {
        grid-area: focus;
    }
    .event {
        grid-area: event;
    }
}

/* Pour écrans de 1600px et plus */
@media only screen and (min-width: 1600px) {
    /*.home {border-top:10px solid red}  */
    .grid-container {
        grid-template-columns: repeat(14, 1fr);
        grid-template-areas:
            "paru paru paru paraitre"
            "blog paru paru paru"
            "blog focus focus focus focus"
            "blog event event event";
    }

    .paru {
        grid-area: paru;
    }
    .paraitre {
        grid-area: paraitre;
    }
    .blog {
        grid-area: blog;
    }
    .focus {
        grid-area: focus;
    }
    .event {
        grid-area: event;
    }
}


