@font-face {
  font-family: 'Poppins';
  src: local('Poppins'), local('Poppins Regular'), local('Poppins-Regular'), url('fonts/Poppins-Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: local('Poppins SemiBold'), local('Poppins-SemiBold'), url('fonts/Poppins-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: local('Poppins Bold'), local('Poppins-Bold'), url('fonts/Poppins-Bold.woff2') format('woff2');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: local('Poppins'), local('Poppins Regular'), local('Poppins-Regular'), url('fonts/Poppins-Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'All Round Gothic';
  src: local('All Round Gothic Bold'), local('All-Round-Gothic-Bold'), local('AllRoundGothic-Bold'), url('fonts/AllRoundGothic-Bold.woff2') format('woff2');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'All Round Gothic';
  src: local('All Round Gothic Xlig'), local('All-Round-Gothic-Xlig'), local('AllRoundGothic-Xlig'), url('fonts/AllRoundGothic-XLig.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

* {
  margin: 0;
  padding: 0;
  border: 0;
}
img {
  height: auto;
}
body {
  font-family: 'Poppins', Arial, Helvetica, sans-serif;
  font-size: medium;
  font-weight: 300;
  color: #000;
  background: #FFF;
}
header{
  height: 100vh;
  background: #800000  url(../images/accueil/bg-ph-accueil.webp) center no-repeat;
  background-size: cover;
  color: #FFF;
}
#nav_haut{
  position: fixed;
  top:0;
  z-index: 3;
  width: 100%;
  padding: 5px 2.5vw;
  box-sizing: border-box;
  background: transparent linear-gradient(180deg, #F00 0%, #800000 100%);
  transition: .2s ease;
}
#nav_haut.scrolled  {
  margin-top: -150px;
}

#nav_haut>div{
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
}
#nav_haut h2 img{
  display: block;
  width: 100%;
}
#nav_haut ul{
  display: flex;
  justify-content:flex-end;
  align-items: center;
  gap: 1vw;
  list-style: none;
}
#nav_haut ul li{
  margin: 0
}
#nav_haut ul li a{
  color: #FFF;
  font-size: 1em;
  font-weight: 600;
  text-transform: uppercase;
  border-bottom: 2px solid transparent;
}
#nav_haut ul li a.active,
#nav_haut ul li a:hover{
  border-bottom: 2px solid #FFF;
}
header h1{
  padding: 50vh 10% 0;
  font-family: 'All Round Gothic';
  font-size: 5em;
  line-height: 0.8em;
  text-shadow: 0px 3px 5px #000000;
}
#nav_rubrique {
  position: absolute;
  padding: 0 10vw 0 0;
  max-width: 40vw;
  background-color: rgba(0, 0, 0, 0.5);
  bottom: 20px;
  right: 0;
  border-radius: 40px 0 0 40px;
}
#nav_rubrique ul{
  display: flex;
  list-style: none;
}
#nav_rubrique ul li{
  border-right: 1px solid #FFF;
  font-weight: 600;
  text-align: right;
  white-space: pre-line;
}
#nav_rubrique ul li:last-of-type{
  border-right: 0;
}
#nav_rubrique ul li a{
  display: block;
  padding: 10px;
  height: 100%;
  box-sizing: border-box;
  transition: .5s ease;
}
#nav_rubrique ul li:first-of-type a{
  border-radius: 40px 0 0 40px;
}
#nav_rubrique ul li a:hover{
  background: transparent linear-gradient(180deg, rgba(255, 0, 0, 0.5) 0%,  rgba(128, 0, 0, 0.5) 100%);
}
#nav_rubrique ul li a.active{
  color:#F00;
}

/* Footer */
footer{
  padding-top: 5vw;
  background: transparent linear-gradient(180deg, #F00 0%, #800000 100%);
  color: #FFF;
}
footer h2 img{
  display: block;
}
#footer_adresse{
  padding: 5px 5px 5px 20px;
  background: url(../images/ico-map.svg) no-repeat top 5px left;
  background-size: 15px;
}
#footer_reseaux{
  width: 30%;
}
#footer_reseaux ul{
  display: flex;
  list-style: none;
  gap: 30px;
}
#footer_reseaux ul li{
  display: flex;
  align-items: center;
}
#footer_reseaux img{
  display: block;
  width: 30px;
}
#footer_partenaires{
  width:90%;
  margin: 5vw auto;
  display: flex;
  list-style: none;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2em;
}
#footer_partenaires li{
  width: calc(20% - 2em);
}
#footer_partenaires li img{
  display: block;
  margin:0 auto;
  max-width:100%;
  height: auto;
}
#footer_legals {
  width: 100%;
  margin: 0;
  border-top: 1px solid #FFF;
}
#footer_legals p {
  margin: 0;
  padding: 10px;
  width: auto;
  font-size: 0.8em;
  text-align: center;
}
/* Contenu */
section {
  overflow: hidden;
}
.fil_ariane {
  width: 90%;
  padding: 1vw 5%;
  font-size: 0.7em;
  text-align: center;
  text-transform: uppercase;
}
.fil_ariane strong{
  color: #F00;
  font-weight: normal;
}
article {
  padding: 1vw 5vw 5vw;
  box-sizing: border-box;
}
article h2 {
  width: fit-content;
  margin: 0 auto;
  padding: 1em 1em 1em 0;
  font-family: 'All Round Gothic';
  font-size: 2.5em;
  font-weight: normal;
  background: url(../images/bg-titres.webp) no-repeat center right;
  background-size: contain;
}
section h3 {
  margin-bottom: 0.5em;
  font-size: 1.8em;
  font-weight: normal;
}
article p {
  margin-bottom: 1em;
  line-height: 1.5em;
  text-align: justify;
}
aside p {
  margin-bottom: 1em;
  line-height: 1.5em;
}
section ul {
  margin-bottom: 2em;
  list-style: inside;
}
article img {
  max-width: 100%;
  align-self: center;
}
a:link,
a:active,
a:visited,
a:hover {
  color: inherit;
  text-decoration: none;
}
.col2,
.col3 {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  list-style: none;
}
.col2>* {
  width: 47.5%;
}
.col3>* {
  width: 30%;
}
.col2>*>img,
.col3>*>img {
  width: 100%;
}
.large1000{
  margin: 0 auto;
  width:90%;
  max-width: 1000px;
}
.large1200{
  margin: 0 auto;
  width:90%;
  max-width: 1200px;
}
.boutons {
  margin-bottom: 1em;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: #000;
}
.boutons>* {
  display: inline-block;
  padding: 5px 20px;
  background: #FFF;
  font-weight: 600;
  font-size: 1em;
  text-align: center;
  border: 1px solid #F00;
  border-radius: 20px;
  cursor: pointer;
  transition: .5s ease;
}
.boutons>*:hover {
  border: 1px solid #000;
  background: transparent linear-gradient(180deg, #F00 0%, #800000 100%);
  color: #FFF;
}
#presentation>div{
  display: flex;
  align-items: flex-start;
}
#presentation>div>img{
  margin-left: 20px;
  width:30%;
  align-self: flex-start;
}
#presentation .boutons{
  margin-top: 20px;
  justify-content: flex-end;
}
#pratique{
  padding: 5vw;
  color: #FFF;
  background: #000 no-repeat center;
  background-size: cover;
}
#pratique>div{
  padding: 20px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
}
#pratique li {
  margin-bottom: 1em;
  padding-left:20px;
  list-style: none;
  background: url(../images/ico-flecheD.svg) no-repeat left center;
  background-size: 15px;
  border-bottom: 1px #FFF dotted;
}
#pratique li a{
  float: right;
}
/* Accueil */
header.accueil h1{
  position: absolute;
  left:10%;
  margin: 45vh 0 0;
  padding: 1em 1em 1em 0;
  background: url(../images/bg-titres.webp) no-repeat center right;
  background-size: contain;
  text-align: right;
}
header.accueil h1 span{
  font-family: 'Poppins';
  font-size: 0.5em;
  font-weight: normal;
}
.bfleche {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 40px;
  height: 40px;
  padding: 5px;
  background: #FFF;
  border-radius: 50%;
}
.bfleche img{
  width:50%;
}
header.accueil .bfleche {
  position: absolute;
  bottom: -25px;
  left: calc(50% - 25px);
  justify-content: center;
  align-items: flex-start;
}
header.accueil .bfleche img {
  height: 50%;
}
#accueil_presentation{
  padding-top: 5vw;
}
#accueil_presentation p{
  text-align: center;
}
#accueil_actus h2{
  margin: 0 0 0.5em 0;
}
.slider{
  margin:0 auto;
  position:relative;
}
.slider-container{
  /* width:90%; */
  margin:0 auto;
  max-width:1000px;
  overflow:hidden;
}
.slider-content{
  display:flex;
  flex-wrap:nowrap;
  list-style:none;
  margin: 0;
}
.slider-content li{
  flex:0 0 75%;
  max-width: 750px;
  margin:0;
  display: flex;
}
.slider-content li>img{
  width: 50%;
}
.slider-content li>div{
  width: 50%;
  box-sizing: border-box;
  padding: 20px;
}
.slider-content li img{
  border-radius: 10px;
}
.slider-content li>div a{
  float: right;
  font-weight: 600;
}
.arrow-left,
.arrow-right{
  position:absolute;
  z-index:2;
  bottom:calc(50% - 20px);
  left: -20px;
  cursor:pointer;
}
.arrow-right{
  left: unset;
  right:calc(25% - 20px);
}
#accueil_rubriques ul{
  gap: 30px 10px;
  list-style: none;
  color: #FFF;
}
#accueil_rubriques li{
  width: calc(33.33% - 60px);
  height: calc(30vw - 20px);
  padding: 20px;
  max-height: 360px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 10px;
}
#accueil_rubriques li.evenements{
  background-image: url(../images/accueil/bg-ph-evenements.webp);
}
#accueil_rubriques li.athletisme{
  background-image: url(../images/accueil/bg-ph-athletisme.webp);
}
#accueil_rubriques li.sport-nature{
  background-image: url(../images/accueil/bg-ph-sport-nature.webp);
}
#accueil_rubriques li.sport-sante{
  background-image: url(../images/accueil/bg-ph-sport-sante.webp);
}
#accueil_rubriques li.photos-videos{
  background-image: url(../images/accueil/bg-ph-photos-videos.webp);
}
#accueil_rubriques li.contact{
  background-image: url(../images/accueil/bg-ph-contact.webp);
}
#accueil_rubriques li a{
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding: 10px;
  height: calc(100% - 20px);
  border: 1px solid #FFF;
  border-radius: 10px;
  font-size: 1.2em;
  font-weight: bold;
  text-transform: uppercase;
  text-shadow: 0px 3px 5px #000000;
  transition: .5s ease;
}
#accueil_rubriques li a:hover {
  border: 1px solid #000;
  background: transparent linear-gradient(180deg, rgba(255, 0, 0, 0.5) 0%,  rgba(128, 0, 0, 0.5) 100%);
  color: #FFF;
}
/* Evenements */
header.evenements{
  background-image: url(../images/evenements/bg-ph-evenements.webp);
}
header.evenements-csl{
  background-image: url(../images/evenements/bg-ph-csl.webp);
}
#pratique.evenements{
  background-image: url(../images/evenements/bg-ph-evenements-pratique.webp);
}
/* Categories */
#categories{
  padding: 5vw;
  color: #FFF;
  background: #000 no-repeat center;
  background-size: cover;
}
#categories ul{
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
}
#categories li{
  flex: 1 1 20%;
  max-width: 30vw;
  padding: 20px;
  list-style: none;
  text-align: center;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
}
/* Atlhetisme */
header.athle-enfants{
  background-image: url(../images/athletisme/bg-ph-athle-enfants.webp);
}
header.athle-jeunes{
  background-image: url(../images/athletisme/bg-ph-athle-jeunes.webp);
}
header.athle-adultes{
  background-image: url(../images/athletisme/bg-ph-athle-adultes.webp);
}
#categories.athle{
  background-image: url(../images/athletisme/bg-ph-categories.webp);
}
/* sport-nature */
header.sportnature-marchenordique{
  background-image: url(../images/sport-nature/bg-ph-marchenordique.webp);
}
header.sportnature-running{
  background-image: url(../images/sport-nature/bg-ph-running.webp);
}
/* Sport santé */
header.sport-sante{
  background-image: url(../images/sport-sante/bg-ph-sport-sante.webp);
  background-position: center bottom;
}
/* Actualités */
#actualites nav{
  padding-top: 2.5vw;
}
#actualites .col3{
  justify-content: flex-start;
  gap: 20px;
}
#actualites .col3 li{
  flex: 0 1 calc(33.3% - 20px);
}
#actualites .col3 img{
  border-radius: 10px;
}
#actualites .col3 a{
  float: right;
  font-weight: 600;
}
#actualite>div>img{
  display: block;
  margin: 20px auto;
  border-radius: 10px;
}
#actualite{
  margin: 0 auto;
  max-width: 900px;
}
#actualite ul{
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  list-style: none;
}
#actualite ul li{
  width: 20%;
}
#actualite ul li img{
  border-radius: 10px;
  cursor: pointer;
}
#actualite nav.liens{
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
#actualite nav.liens a{
  font-weight: 600;
  padding-left: 30px;
  background: url(../images/ico-flecheD.svg) no-repeat center left;
  background-size: 25px;
}
/* Photos Vidéos */
#photos-videos div iframe{
  width: 100%;
}
/* Contact */
#Fcontact {
  width: 80%;
  margin: 0 10%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
#Fcontact label {
  display: none;
}
#Fcontact input[type=text],
#Fcontact input[type=email],
#Fcontact textarea {
  width: 45%;
  padding: 15px 1.5%;
  margin-bottom: 20px;
  background: #FFF;
  border: 1px solid #F00;
  font-family: inherit;
  font-size: 1em;
  color: #000;
}
#Fcontact textarea {
  width: 100%;
}
#FcontactAction {
  width: 100%;
}
/* Animations */
.animTranslateL {
  position: relative;
  left: -50%;
  opacity: 0;
  transition: 2s all ease;
}

.animTranslateR {
  position: relative;
  right: -50%;
  opacity: 0;
  transition: 2s all ease;
}

.animTranslateL.show {
  opacity: 1;
  left: 0;
}

.animTranslateR.show {
  opacity: 1;
  right: 0;
}
/* RGPD */
@keyframes anim-rgpd {
  from {
    bottom: -100px;
  }
  to {
    bottom: 0;
  }
}
#rgpd {
  position: fixed;
  background: transparent linear-gradient(180deg, #F00 0%, #800000 100%);
  color: #FFF;
  bottom: 0;
  width: 100%;
  min-height: 50px;
  z-index: 9999;
  animation-name: anim-rgpd;
  animation-duration: 1s;
}
#rgpd>div {
  max-width: 1200px;
  padding: 10px 20px 10px 10px;
  margin: 0 auto
}
#rgpd p a {
  text-decoration: underline;
  color: inherit;
}
#rgpd .boutons {
  margin: 1em 0;
}
#rgpd_f button {
  border: 1px solid #315493;
  padding: 3px;
}
.mobile {
  display: none;
}
.cacher {
  display: none !important;
}
@media screen and (max-width:1180px) { /* Tablettes */
  #nav_haut h2{
    width:20%;
  }
  #nav_haut ul li a{
    font-size: 0.8em;
  }
  .slider-content li{
    flex:0 0 100%;
    max-width: 1000px;
  }
  .arrow-right{
    left: unset;
    right: -20px;
  }
  #nav_rubrique {
    max-width: 60vw;
  }
}
@media screen and (max-width:1000px) { /* Smartphones */
  #mobile_nav {
    position: absolute;
    z-index: 5;
    top: 10px;
    right: 10px;
  }
  #mobile_nav .fermer {
    display: block;
  }
  #nav_haut{
    position: relative;
    height: 60px;
  }
  #nav_haut h2{
    width: 100px;
  }
  #nav_haut ul{
    position: absolute;
    z-index:3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    top: 60px;
    left: 0;
    width: 100%;
    height: calc(100vh - 60px);
    padding: 10vw;
    box-sizing: border-box;
    background: rgba(0, 0, 0, 0.8);
  }
  #nav_haut>div>ul{
    border-top: 1px #000 solid;
  }
  #nav_haut>div>ul>li{
    margin: 0;
    width:100%;
    display: block;
    margin-bottom: 1em;
    background: url(../images/ico-chevron.svg) no-repeat right center;
  }
  #nav_haut>div>ul>li.active{
    background: none;
  }
  header h1,
  header.accueil h1{
    margin: 50vh 5vw 0;
    padding: 0;
    background: none;
    font-size: 2.5em;
  }
  #nav_rubrique{
    width: 100%;
    max-width: none;
    padding: 0;
    border-radius: 0;
  }
  #nav_rubrique ul{
    flex-direction: column;
  }
  #nav_rubrique ul li{
    border:0;
    white-space: normal;
    font-size:0.8em;
  }
  footer{
    font-size: 0.7em;;
  }
  #footer_reseaux{
    width: 100%;
  }
  footer h2 img{
    margin: 0 auto;
    width: 50%;
  }
  #footer_adresse {
    padding: 5px;
    text-align: center;
    background: none;
  }
  #footer_reseaux ul{
    justify-content: center;
  }
  #footer_reseaux img{
    width: 20px;
  }
  #footer_partenaires {
    gap: 1em;
  }
  #footer_partenaires li{
    width: calc(33% - 1em);
  }
  #footer_legals p {
    white-space: pre-line;
  }
  section {
    font-size: 0.8em;
  }
  article h2{
    background: none;
    font-size : 2em;
    margin-bottom: 0.5em;
    padding: 0;
  }
  section h3{
    font-size:1.5em;
  }
  .col2>*,
  .col3>* {
    width: 100%;
    padding: 0;
    margin-bottom: 1em;
  }
  #presentation>div{
    flex-direction: column;
  }
  #presentation .boutons{
    justify-content: center;
  }
  #presentation>div>img{
    width: 100%;
    margin: 0;
  }
  aside{
    font-size: 0.8em;
  }
  /* Accueil */
  header.accueil h1{
    position:unset;
    margin-top: 75vh;
  }
  #accueil_actus,
  #actus{
    width: 100%;
  }
  .slider-container{
    width: 90vw;
  }
  .slider-content li{
    display: block;
  }
  .slider-content li>img,
  .slider-content li>div{
    width: 80vw;
  }
  .arrow-left, 
  .arrow-right{
    top: 150px;
  }
  .arrow-right{
    justify-content: flex-start;
  }
  #accueil_rubriques ul {
    gap: 20px;
  }
  #accueil_rubriques li {
    width: calc(50% - 10px);
    height: calc(50vw);
    margin:0;
    padding: 10px;
    box-sizing: border-box;
  }
  /* Athle */
  #categories ul{
    flex-direction: column;
  }
  #categories li{
    max-width: none;
  }
  /* Actus */
  #actualites .col3 li{
    flex:1 1 100%;
  }
  /* Contact */
  #Fcontact input[type=text],
  #Fcontact input[type=email] {
    width: 100%
  }
  /* Mobile */
  .mobile {
    display: block;
  }
  .mobile_no {
    display: none !important;
  }
}
@media only screen and (min-device-width: 480px) and (max-device-width: 1000px) and (orientation: landscape) {
  header h1,
  header.accueil h1 {
    margin: 120px 5vw 0;
    text-align: left;
  }
  #nav_haut>div>ul>li{
    margin-bottom:5px;
  }
  #nav_rubrique{
    bottom: 0;
  }
  #nav_rubrique ul li a{
    padding: 5px 10px;
  }
}