/*	Theme Name:  HPV 2024
	Theme URI: https://club-hpv.fr
	Description: Handball Pays de Vannes
	Version: 1
	Author: A l'Encre bleue
	Author URI: https://alencrebleue.com
*/
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font-family: 'Fira Sans', sans-serif;
  font-style: normal;
  color: #0F0F0F;
}

body {
  background: #fff;
  overflow-x: hidden;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

ul {
  list-style-type: none;
}

img {
  width: auto;
  display: block;
  max-width: 100%;
  height: auto;
}

body {
  -webkit-font-smoothing: antialiased;
}

blockquote {
  box-shadow: 0 3px 6px #00000029;
  padding: 0.25em 1.5em;
  background: rgba(255, 142, 223, 0.25);
  border-left: 5px solid var(--gris-bleu);
  margin: 1.5em 0;
  font-weight: 600;
}

@font-face {
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 400;
  src: local(''),
    url('/wp-content/themes/HPV/assets/fonts/FiraSans-Regular.woff2') format('woff2'),
    /* Ajout d'une virgule */
    url('/wp-content/themes/HPV/assets/fonts/FiraSans-Regular.woff') format('woff');
  font-display: swap;
}

@font-face {
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 500;
  src: local(''),
    url('/wp-content/themes/HPV/assets/fonts/FiraSans-Medium.woff2') format('woff2'),
    /* Ajout d'une virgule */
    url('/wp-content/themes/HPV/assets/fonts/FiraSans-Medium.woff') format('woff');
  font-display: swap;
}

@font-face {
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 600;
  src: local(''),
    url('/wp-content/themes/HPV/assets/fonts/FiraSans-SemiBold.woff2') format('woff2'),
    url('/wp-content/themes/HPV/assets/fonts/FiraSans-SemiBold.woff') format('woff');
  font-display: swap;
}

@font-face {
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 700;
  src: local(''),
    url('/wp-content/themes/HPV/assets/fonts/FiraSans-Bold.woff2') format('woff2'),
    url('/wp-content/themes/HPV/assets/fonts/FiraSans-Bold.woff') format('woff');
  font-display: swap;
}

@font-face {
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 800;
  src: local(''),
    url('/wp-content/themes/HPV/assets/fonts/FiraSans-ExtraBold.woff2') format('woff2'),
    url('/wp-content/themes/HPV/assets/fonts/FiraSans-ExtraBold.woff') format('woff');
  font-display: swap;
}

@font-face {
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 900;
  src: local(''),
    url('/wp-content/themes/HPV/assets/fonts/FiraSans-Black.woff2') format('woff2'),
    url('/wp-content/themes/HPV/assets/fonts/FiraSans-Black.woff') format('woff');
  font-display: swap;
}

/*------------------------------------*\
    MARGE SUR MENU ADMIN (lorsque le menu est en fixe, il est caché en partie)
\*------------------------------------*/
.logged-in.admin-bar header {
  margin-top: 32px;
}

.logged-in.admin-bar #wpadminbar {
  z-index: 999999;
}

/*------------------------------------*\
    LA GRID
\*------------------------------------*/
* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.container {
  margin: 0 auto;
  padding-left: 0;
  padding-right: 0;
}

.row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.row>* {
  float: left;
  width: 100%;
}

.row::after {
  content: "";
  display: block;
  clear: both;
}

@media screen and (min-width:1200px) {
  .container {
    max-width: 1140px;
  }
}

@media screen and (min-width:481px) and (max-width:1199px) {
  .container {
    max-width: 95%;
  }
}

@media screen and (max-width:480px) {
  .container {
    max-width: 92%;
  }
}

@media screen and (min-width:800px) {
  .row>* {
    padding-left: .9375em;
    padding-right: .9375em;
  }
}

/* Variable de couleur */
:root {
  --primary-color: #0BFE75;
  --secondary-color: #33B661;
  --black: #122D3A;
  --dark-grey: #ECEDF7;
  --white: #ffffff;
}

/* Typographie */
h1 {
  font-weight: 700;
  font-style: italic;
  font-size: 48px;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.5;
}

h2 {
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.8px;
  font-size: 40px;
  text-transform: uppercase;
  line-height: 1.5;
  text-align: center;
  color: var(--gris-bleu);
  position: relative;
  z-index: 10;
}

h3 {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.5;
}

h4 {
  font-weight: 700;
  font-size: 16px;
  line-height: 1.5;
}

p {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
}

.btn {
  font-style: italic;
  font-weight: 700;
  text-transform: uppercase;
  position: relative;
  padding: 12px 98px 12px 26px;
  background: #fff;
}

.btn::after {
  content: "";
  width: 16px;
  height: 12px;
  background-image: url(/wp-content/themes/HPV/images/fleche-btn.svg);
  position: absolute;
  top: 50%;
  right: 26px;
  transform: translate(-50%, -50%);
}

/*------------------------------------*\
    MAIN
\*------------------------------------*/
/* global box-sizing */
a {
  color: var(--gris-bleu);
  text-decoration: none;
}

a:hover {
  color: var(--vert);
}

a:focus {
  outline: 0;
}

a:hover,
a:active {
  outline: 0;
}

input:focus {
  outline: 0;
}

:focus {
  outline: none;
}

/* IMG POUR WISIWYG */
img.size-auto,
img.size-full,
img.size-large,
img.size-medium,
.attachment img,
.widget-container img {
  max-width: 100%;
  height: auto;
}

.alignleft,
img.alignleft {
  display: inline;
  float: left;
  margin-right: 24px;
  margin-top: 4px;
}

.alignright,
img.alignright {
  display: inline;
  float: right;
  margin-left: 24px;
  margin-top: 4px;
}

.aligncenter,
img.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

img.alignleft,
img.alignright,
img.aligncenter {
  margin-bottom: 12px;
}

hr {
  border: none;
}

hr.small {
  margin: 0.5em 0;
}

hr.medium {
  margin: 1em 0;
}

hr.large {
  margin: 2em 0;
}

/* =====================================
             MENU
=======================================*/
/* Styles généraux pour les icônes */

.menu-icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.home-icon {
  background-image: url('/wp-content/themes/HPV/images/home.png');
}

.facebook-icon {
  background-image: url('/wp-content/themes/HPV/images/facebook.svg');
}

.instagram-icon {
  background-image: url('/wp-content/themes/HPV/images/instagram.svg');
}

#top.current {
  overflow: hidden;
}

#top.highlight {
  overflow: hidden;
  position: initial;
}

header {
  width: 100%;
  top: 0;
  z-index: 11;
  position: fixed;
  -webkit-transition: all 1s ease;
  -moz-transition: all 1s ease;
  -ms-transition: all 1s ease;
  -o-transition: all 1s ease;
  transition: all 1s ease;
}

header.hidden {
  transform: translateY(-82px);
}

#menu-aeb .contain {
  width: 90%;
  max-width: 1170px;
  margin: auto;
  display: flex;
  padding: 10px 0;
  position: relative;
  justify-content: space-between;
}

#secondaire {
  width: 100%;
}

#menu-secondaire .contain {
  width: 90%;
  max-width: 1170px;
  margin: auto;
  display: flex;
  padding: 0;
  position: relative;
  justify-content: space-between;
}

.loghead {
  max-width: initial;
}


@media only screen and (min-width: 1200px) {
  header.hidden {
    transform: translateY(-184px);
  }

  .content_aeb {
    margin-top: 182px;
  }

  .no-wrap-sec {
    margin-top: 102px;
  }

  header #menumara .wrap-nav {
    display: inline-flex;
  }

  header #menumara {
    align-self: center;
  }

  #menu-aeb {
    background: var(--gris-bleu);
    ;
  }

  #menu-secondaire {
    background: var(--vert);
  }

  #menu-secondaire .wrap {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    align-items: center;
  }

  #menu-secondaire p {
    font-weight: 500;
  }

  .dropdown-content {
    display: none;
  }

  #menumara .wrap-nav li {
    align-self: center;
    padding-left: 30px;
  }

  #menumara .wrap-nav .dropdownli {
    padding-left: 0px;
  }

  #menumara .wrap-nav li:last-child {
    padding-left: 16px;
  }

  #menumara .menu-contact,
  #menumara .menu-demo {
    display: none;
  }

  .logo-site {
    padding: 10px 0;
  }

  .logo-site a {
    align-self: center;
  }

  .dropdown,
  .wrap-nav li a,
  .itemnolink {
    color: #fff;
    cursor: pointer;
    font-family: "Fira Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
  }

  .dropdown .itemnolink {
    padding-bottom: 2em;
    padding-left: 30px;
    padding-right: 16px;
  }

  .wrap-nav a.btn {
    padding: 0.5em;
    margin-left: 0.5em;
  }

  .dropdown {
    position: relative;
  }

  .dropdown:after,
  .dropdownsub:after {
    content: url(/wp-content/themes/HPV/images/puce-menu.svg);
    position: absolute;
    right: 0px;
    top: 0;
  }

  .dropdownsub:after {
    right: 8px;
    top: 6px;
    transform: rotate(270deg);
  }

  .dropdownsub {
    padding: 0.5em 1.5em 0.5em 1em;
  }

  .dropdownli:hover .dropdown-content1,
  .dropdownsub:hover .dropdown-content2 {
    display: grid;
    position: absolute;
    top: 3em;
    left: 1em;
    width: max-content;
    background: var(--gris-bleu);
    border-top: 5px solid var(--vert);
    box-shadow: 0 3px 6px #00000029;
  }

  .dropdownsub:hover .dropdown-content2 {
    top: 0px;
    left: 100%;
  }

  .dropdown:hover .dropdown-content a,
  .dropdown:hover .dropdown-content span {
    font-weight: 400;
    font-size: 15px;
    padding: 0.5em 1em;
    color: var(--vert);
  }

  .dropdown:hover .dropdown-content a {
    color: var(--blanc);
  }

  .dropdown:hover .dropdown-content span {
    padding: 0;
  }

  .dropdown .dropdown-content a:hover {
    color: var(--vert);
  }
}

@media only screen and (min-width: 1200px) and (max-width: 1240px) {
  .wrap-nav li {
    padding-left: 2em;
  }
}

@media only screen and (max-width: 1199px) {
  .logo-site {
    margin: auto;
  }

  .content_aeb {
    margin-top: 101px;
  }

  /*}
@media only screen and (min-width: 1025px) and (max-width: 1199px) {*/
  .menu {
    display: none;
    position: fixed;
    background: rgba(18, 0, 108, 0.9);
    height: 100%;
    width: 100%;
    z-index: 100;
    left: -100%;
  }

  .menu.active {
    display: block;
    right: 0%;
    left: inherit;
    margin-top: 72px;
  }

  .menu .wrap {
    height: 100%;
    position: relative;
    text-align: left;
    overflow: scroll;
    padding-bottom: 5em;
    background: var(--gris-bleu);
  }

  .menu .wrap .mara {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
  }

  /*.menu .wrap #horszone{
	position: absolute;
	width: 100%;
	height: 100%;
	z-index:2;
}*/
  .menu .wrap .wrap-nav {
    margin: 4em auto;
  }

  .menu .wrap .wrap-nav {
    width: max-content;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    height: 100%;
    max-height: 420px;
    align-items: center;
  }

  .menu .wrap ul li {
    position: relative;
    padding: 0.5em 0 .25em;
  }

  .menu .wrap a:hover {
    color: var(--vert)
  }

  .menu .dropdown .dropdown-content a:hover {
    color: var(--vert);
  }

  .menu .dropdown-content1 {
    display: none;
  }

  .menu .dropdown-content2 {
    display: none;
  }

  .menu .activeli .dropdown-content1 {
    display: block;
  }

  .menu .activesub .dropdown-content2 {
    display: block;
  }

  .menu .wrap ul li a,
  .menu .wrap ul li span,
  .menu .wrap ul .dropdown {
    color: var(--blanc);
    text-transform: uppercase;
    font-size: 20px;
    line-height: 25px;
    font-weight: 700;
  }

  .hamburger {
    cursor: pointer;
    display: inline-flex;
    overflow: hidden;
    align-self: center;
  }

  .hamburger__container {
    width: 55px;
    height: 42px;
    position: relative;
  }

  .hamburger:hover .hamburger__inner {
    transform: translate(-51px, 50%);
    opacity: 0;
  }

  .hamburger:hover .hamburger__inner::before,
  .hamburger:hover .hamburger__inner::after {
    transform: translate(102px, 0);
    opacity: 0;
  }

  .hamburger.is-active .hamburger__inner {
    display: none;
  }

  .hamburger__inner {
    background-color: var(--vert);
    border-radius: 20px;
    position: absolute;
    transition-property: transform, opacity;
    transition-timing-function: ease;
    transition-duration: 0.4s;
    top: 50%;
    transform: translate(0, -50%);
    opacity: 1;
  }

  .hamburger__inner::before,
  .hamburger__inner::after {
    background-color: var(--vert);
    border-radius: 20px;
    position: absolute;
    transition-property: transform, opacity;
    transition-timing-function: ease;
    transition-duration: 0.4s;
    content: "";
    opacity: 1;
  }

  .hamburger__inner::before {
    top: -12px;
  }

  .hamburger__inner::after {
    top: 12px;
  }

  .hamburger:hover .hamburger__hidden {
    opacity: 1;
    transform: translate(0, -50%);
  }

  .hamburger:hover .hamburger__hidden::before,
  .hamburger:hover .hamburger__hidden::after {
    opacity: 1;
    transform: translate(0, 0);
  }

  .hamburger.is-active .hamburger__hidden {
    opacity: 1;
    transform: rotate(45deg);
  }

  .hamburger.is-active .hamburger__hidden::before {
    transform: translate(0, 12px) rotate(90deg);
    transform-origin: center;
  }

  .hamburger.is-active .hamburger__hidden::after {
    transform-origin: center;
    transform: translate(0, -12px) rotate(0);
    opacity: 0;
  }

  .hamburger__hidden {
    opacity: 0;
    background-color: var(--vert);
    border-radius: 20px;
    position: absolute;
    transition-property: transform, opacity;
    transition-timing-function: ease;
    transition-duration: 0.4s;
    top: 50%;
    transform: translate(51px, -50%);
  }

  .hamburger__hidden::before,
  .hamburger__hidden::after {
    background-color: var(--vert);
    border-radius: 20px;
    position: absolute;
    transition-property: transform, opacity;
    transition-timing-function: ease;
    transition-duration: 0.4s;
    content: "";
    transform: translate(102px, 0);
  }

  .hamburger__hidden::before {
    top: -12px;
  }

  .hamburger__hidden::after {
    top: 12px;
  }

  #entete .nav-site {
    top: 50%;
    right: 0;
    transform: translate(0, -50%);
  }

  .nav-site {
    display: inline-flex;
    align-self: center;
    position: absolute;
    left: 0;
  }

  /* AJout Toggle sur le menu burger pour les liens en sous menu */
  .dropdown-content {
    display: block;
    padding-top: 0.25em;
  }

  .dropdown-content.dropdown-content1 {
    padding-left: 1em;
  }

  .dropdown-content.dropdown-content2 {
    padding-left: 1em;
  }

  .dropdown span {
    position: relative;
    padding: 0 0.5em 0 0;
  }

  .dropdown span:before {
    content: ' ';
    transform: rotate(45deg);
    position: absolute;
    right: -0.2em;
    top: 0.55em;
    margin: 0;
    height: 3px;
    width: 10px;
    border-radius: 10px;
    background: var(--vert);
  }

  .dropdown span:after {
    content: ' ';
    transform: rotate(-45deg);
    position: absolute;
    right: -0.5em;
    top: 0.55em;
    margin: 0;
    height: 3px;
    width: 10px;
    border-radius: 10px;
    background: var(--vert);
  }

  .dropdown>div>a:after {
    display: none;
  }

  .menu .dropdown .dropdown-content a {
    display: block;
    text-align: left;
    text-transform: initial;
    color: #fff;
    font-size: 17px;
    font-weight: 400;
    line-height: 28px;
    position: relative;
  }

  header {
    position: fixed;
  }

  .hamburger__inner,
  .hamburger__hidden,
  .hamburger__hidden::before,
  .hamburger__hidden::after {
    width: 35px;
    height: 5px;
  }

  .hamburger__inner::before {
    width: 27px;
    height: 5px;
  }

  .hamburger__inner::after {
    width: 18px;
    height: 5px;
  }

  .menu.active {
    width: 100%;
  }

  .nav-site {
    width: 40px;
  }

  #menu-aeb {
    position: fixed;
    z-index: 99;
    width: 100%;
    background: var(--gris-bleu);
    box-shadow: 0 3px 6px #00000029;
  }

  .menu .wrap .wrap-nav {
    width: max-content;
  }

  .menu .wrap .resoc {
    display: block;
    margin: auto;
    width: max-content;
  }
}

@media screen and (max-width:480px) {
  .menu.active {
    margin-top: 59px;
  }
}

@media only screen and (max-width: 404px) {
  .content_aeb {
    margin-top: 90px;
  }
}

/* =========================
      FIN MENU 
===========================*/

/* =================
======Footer =======
===================*/
footer {
  background: #fff;
  padding: 2em 0 0;
  position: relative;
  z-index: 11;
}

footer * {
  color: var(--gris-bleu);
}


/* RESPONSIVE */
@media only screen and (min-width: 801px) {
  .bloc-1 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }

  .bloc-2 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }

  .bloc-3 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 33.3%;
    flex: 0 0 33.3%;
    max-width: 33.3%;
  }

  .bloc-4 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    max-width: 25%;
  }

  .bloc-5 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 20%;
    flex: 0 0 20%;
    max-width: 20%;
  }

  .bloc-6 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 16.66%;
    flex: 0 0 16.66%;
    max-width: 16.66%;
  }

  .bloc-2-3 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 66.66%;
    flex: 0 0 66.66%;
    max-width: 66.66%;
  }

  .bloc-3-4 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 75%;
    flex: 0 0 75%;
    max-width: 75%;
  }

  .bloc-2-5 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 40%;
    flex: 0 0 40%;
    max-width: 40%;
  }

  .bloc-3-5 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 60%;
    flex: 0 0 60%;
    max-width: 60%;
  }

  .bloc-4-5 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 80%;
    flex: 0 0 80%;
    max-width: 80%;
  }
}

/*------------------------------------*\
    MISC
\*------------------------------------*/
::selection {
  background: #424242;
  color: #FFF;
  text-shadow: none;
}

::-webkit-selection {
  background: #424242;
  color: #FFF;
  text-shadow: none;
}

::-moz-selection {
  background: #424242;
  color: #FFF;
  text-shadow: none;
}

/*------------------------------------*\
    PERSONNALISATION HPV
\*------------------------------------*/

:root {
  --vert: #0BFE75;
  /* --gris-bleu: #122D3B; */
  --gris-bleu: #0F0F0F;
  /* --gris-clair: #284654; */
  --gris-clair: #414141;
  --blanc: #FFF;
  --transparent: #b0b0b0cc;
  --polygon: polygon(0% 3%, 10% 0%, 20% 2%, 30% 3%, 40% 4%, 50% 1%, 60% 3%, 70% 5%, 80% 2%, 90% 0%, 100% 2%, 100% 98%, 90% 100%, 80% 98%, 70% 96%, 60% 98%, 50% 100%, 40% 98%, 30% 96%, 20% 100%, 10% 97%, 0% 100%);
  --border-img: 4px solid var(--blanc);
}

/* POUR TOUS LE SITE */

section {
  padding: 4em 0;
}

.row>* {
  position: relative;
  z-index: 10;
}

.bloc-1 {
  padding-bottom: 3em;
  position: relative;
  z-index: 10;
}

.bloc-1::after {
  content: "MATCHS";
  position: absolute;
  z-index: 2;
  height: 100%;
  width: 100%;
  bottom: 55%;
  left: 50%;
  transform: translate(-50%, 0%);
  color: var(--transparent);
  opacity: 0.3;
  font-size: 150px;
  text-align: center;
  font-style: italic;
  font-weight: 800;
  letter-spacing: 10.5px;
  text-transform: uppercase;
}

.actu-stage .bloc-1::after,
.stage .bloc-1::after {
  content: "STAGES";
}

.partenaire .bloc-1::after,
.nos-partenaires .bloc-1::after {
  content: "PARTENAIRES";
}

.actu .bloc-1::after,
.actualite .bloc-1::after {
  content: "ACTUALITÉS";
}

.nous-suivre .bloc-1::after {
  content: "SUIVEZ-NOUS";
}

.organigramme .bloc-1::after {
  content: "MEMBRES";
}

#inscrire .bloc-1::after {
  content: "LICENCIÉ";
}

#contacted .bloc-1::after {
  content: "CONTACT";
}

.benevole .bloc-1::after {
  content: "BÉNÉVOLAT";
}

.devenir-partenaire .bloc-1::after {
  content: "ÉQUIPE";
}

.equipe .bloc-1::after {
  content: "L'ÉQUIPE";
}

.entrainement .bloc-1::after {
  content: "PLANNING";
}

.biseau {
  color: var(--gris-bleu);
  background-color: var(--vert);
  padding: 0 0.25em;
  position: relative;
  z-index: 10;
  font-style: italic;
}

.biseau:after,
.biseau:before {
  content: '';
  height: 48px;
  width: 26px;
  position: absolute;
  top: 0;
}

.biseau:before {
  background: linear-gradient(113deg, transparent 50%, var(--vert) 50%);
  left: -25px;
}

.biseau:after {
  background: linear-gradient(113deg, var(--vert) 50%, transparent 50%);
  right: -25px;
}

.clip {
  background-color: var(--blanc);
  position: relative;
  margin: 2em 0;
}

.clip::after {
  content: '';
  background-color: var(--gris-bleu);
  clip-path: var(--polygon);
  position: absolute;
  top: 0%;
  left: 0%;
  z-index: 1;
  height: 100%;
  width: 100%;
}

.actu-stage .container,
.actu .container {
  position: relative;
  z-index: 10;
}

.btn-score,
.btn-border {
  text-align: center;
  margin: 3em 0;
}

.btn-score a {
  font-size: 20px;
  background: var(--vert);
}

.btn-score a:hover {
  background-color: var(--gris-bleu);
  color: var(--vert);
}

.btn-score a:hover::after {
  background-image: url(/wp-content/themes/HPV/images/fleche-btn-vert.svg);
}

.btn-border a {
  position: relative;
}

.btn-border a::before {
  content: "";
  width: 230px;
  height: 2px;
  background: var(--blanc);
  position: absolute;
  bottom: 4%;
}

.actu-stage .btn-border .btn,
.actu .btn-border .btn {
  background-color: transparent;
  color: var(--blanc);
}

.actu-stage .btn-border .btn::after,
.actu .btn-border .btn::after {
  background-image: url(/wp-content/themes/HPV/images/fleche-btn-blanc.svg);
}

.actu-stage .btn-border .btn:hover,
.actu .btn-border .btn:hover {
  color: var(--vert);
}

.actu-stage .btn-border .btn:hover::after,
.actu .btn-border .btn:hover::after {
  background-image: url(/wp-content/themes/HPV/images/fleche-btn-vert.svg);
}

.actu-stage .btn-border a:hover::before,
.actu .btn-border a:hover::before {
  background: var(--vert);
}

span.gfield_required {
  display: none;
}

@media screen and (min-width:1025px) and (max-width:1199px) {
  .bloc-1 {
    padding-bottom: 4em;
  }

  .bloc-1::after {
    font-size: 130px;
    bottom: 33%;
  }
}

@media screen and (min-width:801px) and (max-width:1024px) {
  .bloc-1::after {
    font-size: 100px;
    bottom: 25%;
  }
}

@media screen and (max-width:800px) {

  .bloc-1 {
    padding-bottom: 2em;
    margin-top: 2em;
  }

  .bloc-1::after {
    letter-spacing: 1px;
    font-size: 70px;
    bottom: 60%;
  }

  .clip::after {
    clip-path: polygon(0% 0.5%, 10% 0%, 20% 0.5%, 30% 1%, 40% 0.5%, 50% 0%, 60% 0.5%, 70% 1%, 80% 1%, 90% 0%, 100% 0%, 100% 99.5%, 90% 100%, 80% 99.5%, 70% 99%, 60% 99%, 50% 99.5%, 40% 100%, 30% 99.5%, 20% 99%, 10% 99.5%, 0% 100%);
  }
}

@media screen and (min-width:481px) and (max-width:800px) {
  .bloc-1 h2 {
    font-size: 28px;
  }

  .biseau:after,
  .biseau:before {
    height: 33px;
  }
}

@media screen and (max-width:480px) {

  section {
    padding: 2em 0;
  }

  .bloc-1::after {
    letter-spacing: 1px;
    font-size: 45px;
    bottom: 50%;
  }

  h3 {
    font-size: 20px;
  }

  .bloc-1 h2 {
    font-size: 22px;
  }

  .biseau:after,
  .biseau:before {
    height: 27px;
    width: 13px;
  }

  .biseau::before {
    left: -13px;
  }

  .biseau::after {
    right: -13px;
  }
}

/* HEADER SEC */

#menu-secondaire a:hover {
  background-color: var(--gris-bleu);
  color: var(--blanc);
}

#menu-secondaire a:hover::after {
  background-image: url(/wp-content/themes/HPV/images/fleche-btn-blanc.svg);
}

@media screen and (max-width:1199px) {
  #menu-secondaire {
    display: none;
  }
}

/* HEADER */

.mara a:hover {
  color: var(--vert);
}

.mara .home-icon:hover {
  background-image: url(/wp-content/themes/HPV/images/home-vert.svg);
}

.mara .facebook-icon:hover {
  background-image: url(/wp-content/themes/HPV/images/facebook-vert.svg);
}

.mara .instagram-icon:hover {
  background-image: url(/wp-content/themes/HPV/images/instagram-vert.svg);
}

@media screen and (max-width:480px) {
  #menu-aeb .loghead {
    width: 85%;
    height: 70px;
    margin-left: 3em;
  }
}

/* HPV */

#hpv {
  position: relative;
  padding: 0;
}

#hpv img {
  width: 100%;
}

#hpv .bloc-baniere {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#hpv h2 {
  color: var(--blanc);
  text-align: center;
}

#hpv .titre {
  text-align: center;
}

#hpv .titre h2 {
  font-size: 140px;
  font-style: italic;
  font-weight: 900;
  letter-spacing: 2.8px;
  color: var(--blanc);
  line-height: 80px;
  position: relative;
  text-transform: uppercase;
}

#hpv .titre h2 strong {
  color: transparent;
  -webkit-text-stroke: var(--blanc);
  -webkit-text-stroke-width: 3px;
  letter-spacing: 9px;
  font-style: italic;
  font-size: 150px;
}

#hpv .titre h2 span {
  color: var(--blanc);
  background-color: var(--gris-bleu);
  padding: 0.25em 0.5em;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 50px;
  font-style: italic;
  letter-spacing: 1px;
  z-index: 10;
  display: block;
  line-height: 1;
}

#hpv .rencontre,
#hpv .bloc-event,
#hpv .bloc-fin {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  position: relative;
  justify-content: center;
  height: 100%;
}

#hpv .slick-track {
  display: flex;
  align-items: center;
  height: 500px;
  /* padding: 6em 0; */
}

#hpv .slick-slide {
  align-content: center;
  height: 500px;
}

#hpv .slick-slide>div {
  display: flex;
  justify-content: center;
  height: 100%;
}

#hpv .bloc-event,
#hpv .bloc-fin {
  max-width: 1140px;
}

#hpv .bloc-event>*,
#hpv .bloc-fin>* {
  z-index: 11;
}

#hpv .bloc-event::before,
#hpv .bloc-event::after,
#hpv .bloc-fin::before,
#hpv .bloc-fin::after {
  content: '';
  position: absolute;
  height: 390px;
  width: 840px;
  background-color: var(--blanc);
  transform: skewX(345deg);
  z-index: 3;
}

#hpv .bloc-fin::before,
#hpv .bloc-fin::after {
  height: 300px;
  width: 740px;
}

#hpv .bloc-event::after,
#hpv .bloc-fin::after {
  background-color: transparent;
  border: 8px solid var(--vert);
  top: 56%;
  left: 54%;
  transform: translate(-50%, -50%) skewX(345deg);
  z-index: 2;
}

#hpv .bloc-fin::after {
  left: 53%;
}

#hpv .lieu-event,
#hpv .date-event {
  margin-bottom: 10px;
}

#hpv .lieu-event p {
  font-weight: 500;
  line-height: 1.2;
  text-transform: uppercase;
}

#hpv .date-event p {
  color: var(--vert);
  background-color: var(--gris-bleu);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
  padding: 0.25em 2em;
}

#hpv .contenu-event,
#hpv .contenu-fin {
  text-align: center;
  width: 50%;
  padding: 10px 0 20px;
  margin-bottom: 10px;
}

#hpv .contenu-event h2,
#hpv .titre-fin h2 {
  color: var(--gris-bleu);
  font-size: 40px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.2;
  font-style: italic;
  margin-bottom: 10px;
}

#hpv .contenu-event p,
#hpv .contenu-fin p {
  font-size: 20px;
  line-height: 1.2;
}

#hpv .bloc-event .btn,
#hpv .bloc-fin .btn {
  color: var(--gris-bleu);
  background-color: var(--vert);
}

#hpv .bloc-event .btn:hover,
#hpv .bloc-fin .btn:hover {
  color: var(--blanc);
  background-color: var(--gris-bleu);
}

#hpv .bloc-event .btn:hover::after,
#hpv .bloc-fin .btn:hover::after {
  background-image: url(/wp-content/themes/HPV/images/fleche-btn-blanc.svg);
}

#hpv .oposant {
  margin-top: 2em;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
}

#hpv .oposant,
#hpv .date-heure {
  margin-bottom: 15px;
}

#hpv .oposant h2 {
  font-size: 40px;
  font-weight: 500;
  color: var(--blanc);
  line-height: 1.2;
  text-transform: uppercase;
  font-style: normal;
}

#hpv .oposant span {
  font-size: 30px;
  font-weight: 700;
  color: var(--white);
  background: var(--gris-bleu);
  padding: 0 1rem;
  line-height: 1.2;
  text-transform: uppercase;
  font-style: italic;
  margin: 0 0.5em
}

#hpv .date-heure p {
  background-color: var(--vert);
  font-size: 26px;
  font-weight: 600;
  color: var(--gris-bleu);
  line-height: 1.2;
  padding: 0.25em 2em;
}

#hpv .lieu p {
  font-size: 24px;
  font-weight: 500;
  color: var(--blanc);
  line-height: 1.2;
}

#hpv .slick-dots {
  margin-top: 1em;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
}


#hpv .slick-dots button {
  cursor: pointer;
  background-color: transparent;
  color: transparent;
  border: 2px solid var(--blanc);
  padding: 0 4px;
  margin: 0 0.5em;
}

#hpv .slick-dots .slick-active {
  scale: 1.2;
}

#hpv .slick-dots .slick-active button {
  background-color: var(--blanc);
}

@media screen and (min-width:1200px) and (max-width:1700px) {
  #hpv img {
    height: 650px;
    object-fit: cover;
  }
}

@media screen and (max-width:1199px) {
  #hpv img {
    height: 600px;
    object-fit: cover;
  }
}

@media screen and (min-width:1025px) and (max-width:1199px) {
  #hpv .contenu-event h2 {
    font-size: 35px;
  }

  #hpv .bloc-event::before,
  #hpv .bloc-event::after,
  #hpv .bloc-fin::before,
  #hpv .bloc-fin::after {
    height: 360px;
    width: 800px;
  }

  #hpv .bloc-event::after {
    left: 52%;
  }
}

@media screen and (min-width:801px) and (max-width:1024px) {
  #hpv img {
    height: 500px;
    object-fit: cover;
  }

  #hpv .slick-track,
  #hpv .slick-slide {
    height: 460px;
  }

  #hpv .bloc-event::before,
  #hpv .bloc-event::after {
    height: 360px;
    width: 560px;
  }

  #hpv .bloc-fin::before,
  #hpv .bloc-fin::after {
    height: 290px;
    width: 600px;
  }

  #hpv .contenu-event h2,
  #hpv .titre-fin h2 {
    font-size: 28px;
  }

  #hpv .contenu-event p,
  #hpv .contenu-fin p {
    font-size: 18px;
  }

  #hpv .slick-dots {
    margin-top: 0em;
  }
}

@media screen and (min-width:710px) and (max-width:800px) {
  #hpv .contenu-event {
    padding: 10px 20px 20px;
  }
}

@media screen and (min-width:481px) and (max-width:800px) {
  #hpv img {
    height: 500px;
    object-fit: cover;
  }

  #hpv .slick-track,
  #hpv .slick-slide {
    height: 440px;
  }

  #hpv .slick-dots {
    margin-top: 0em;
  }

  #hpv .titre h2 {
    font-size: 120px;
  }

  #hpv .titre h2 span {
    font-size: 40px;
  }

  #hpv .titre h2 strong {
    font-size: 130px;
  }

  #hpv .oposant h2 {
    font-size: 30px;
  }

  #hpv .oposant span {
    font-size: 25px;
  }

  #hpv .bloc-event::before,
  #hpv .bloc-event::after {
    height: 370px;
    width: 350px;
    transform: skewX(352deg);
  }

  #hpv .bloc-fin::before,
  #hpv .bloc-fin::after {
    height: 290px;
    width: 365px;
    transform: skewX(352deg);
  }

  #hpv .bloc-event::after {
    top: 53%;
    left: 54%;
    transform: translate(-50%, -50%) skewX(352deg);
  }

  #hpv .bloc-fin::after {
    left: 54%;
    transform: translate(-50%, -50%) skewX(352deg);
  }

  #hpv .date-event p {
    padding: 0.25em 1em;
  }

  #hpv .contenu-event h2,
  #hpv .titre-fin h2 {
    font-size: 22px;
  }

  #hpv .contenu-event p,
  #hpv .contenu-fin p {
    font-size: 18px;
  }
}

@media screen and (max-width:480px) {
  #hpv img {
    height: 500px;
    object-fit: cover;
  }

  #hpv .slick-track,
  #hpv .slick-slide {
    height: 470px;
  }

  #hpv .slick-dots {
    margin-top: 0em;
    margin-bottom: 1em;
  }

  #hpv .titre h2 {
    font-size: 90px;
  }

  #hpv .titre h2 span {
    font-size: 40px;
  }

  #hpv .titre h2 strong {
    font-size: 80px;
  }

  #hpv .oposant {
    margin-top: 0.5em;
    flex-direction: column;
  }

  #hpv .oposant h2 {
    font-size: 22px;
  }

  #hpv .oposant span {
    font-size: 22px;
  }

  #hpv .date-heure {
    margin-bottom: 8px;
  }

  #hpv .date-heure p {
    font-size: 24px;
    padding: 0.25em 1em;
  }

  #hpv .bloc-fin {
    padding: 1em 0;
  }

  #hpv .bloc-event::before,
  #hpv .bloc-event::after {
    height: 400px;
    width: 276px;
    transform: skewX(0deg);
  }

  #hpv .bloc-fin::before,
  #hpv .bloc-fin::after {
    height: 320px;
    width: 275px;
    transform: skewX(0deg);
  }

  #hpv .bloc-event::after,
  #hpv .bloc-fin::after {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) skewX(0deg);
  }

  #hpv .date-event p {
    padding: 0.25em 1em;
  }

  #hpv .contenu-event {
    width: 60%;
  }

  #hpv .contenu-event h2,
  #hpv .titre-fin h2 {
    font-size: 20px;
  }

  #hpv .contenu-event p,
  #hpv .contenu-fin p {
    font-size: 16px;
  }
}

/* ENTRIES */

#entries {
  padding: 5em 0;
}

#entries h1 {
  font-size: 48px;
  font-style: italic;
  font-weight: 700;
  text-transform: uppercase;
  width: max-content;
  margin: auto;
  padding: 0 30px;
  background: var(--gris-bleu);
  color: #fff;
  position: relative;
}

#entries h1:after,
#entries h1:before {
  content: '';
  height: 72px;
  /* Hauteur de l'élément */
  width: 30px;
  /* Hauteur de l'élément */
  position: absolute;
}

#entries h1:before {
  background: linear-gradient(113deg, transparent 50%, var(--gris-bleu) 50%);
  left: -30px;
}

#entries h1:after {
  background: linear-gradient(113deg, var(--gris-bleu) 50%, transparent 50%);
  right: -30px;
}

#entries h1 span {
  color: var(--vert);
  font-style: italic;
}

#entries h3 {
  font-size: 26px;
  font-style: normal;
  font-weight: 500;
  text-align: center;
  margin: 0.5em 0;
}

#entries .bloc-2 {
  position: relative;
  margin-bottom: 30px;
}

#entries .bloc-2 h2 {
  padding: 15px 60px;
  font-size: 22px;
  font-style: italic;
  font-weight: 500;
  color: var(--blanc);
  text-transform: uppercase;
  background: var(--gris-bleu);
  position: absolute;
  bottom: 0;
  left: 15px;
  width: max-content;
}

#entries .bloc-2 h2 span {
  font-style: italic;
  color: var(--vert);
}

@media screen and (min-width:801px) and (max-width:1024px) {
  #entries {
    padding: 5em 0 2em;
  }
}

@media screen and (min-width:801px) {
  #entries .bloc-2 {
    transition: all 0.5s ease;
  }

  #entries .bloc-2 a {
    display: block;
    overflow: hidden;
  }

  #entries .bloc-2:hover img {
    scale: 1.1;
  }

  #entries .bloc-2 img {
    transition: all 0.5s ease;
  }

}

@media screen and (max-width:800px) {
  #entries {
    padding: 2em 0 1em;
  }

  #entries .bloc-2 img {
    width: 100%;
  }

  #entries .bloc-2 h2 {
    left: 0px;
  }
}

@media screen and (min-width:481px) and (max-width:800px) {

  #entries h1 {
    font-size: 28px;
  }

  #entries h1:after,
  #entries h1:before {
    height: 42px;
  }

  #entries h3 {
    font-size: 24px;
  }
}

@media screen and (max-width:480px) {

  #entries h1 {
    font-size: 20px;
    padding: 0 5px;
  }

  #entries h1:after,
  #entries h1:before {
    height: 30px;
  }

  #entries .bloc-2 h2 {
    padding: 7px 30px;
    font-size: 16px;
  }
}

/* MATCH */

.match {
  padding: 0;
}

@media screen and (max-width:800px) {
  .match .bloc-2:nth-child(2) {
    margin-bottom: 2rem;
  }
}

@media screen and (min-width:481px) and (max-width:800px) {
  .match .btn-score a {
    font-size: 16px;
  }
}

@media screen and (max-width:480px) {
  .match .btn-score a {
    font-size: 16px;
    line-height: 2;
  }

  .match .btn {
    padding: 10px 28px 10px 10px;
  }

  .match .btn::after {
    top: 48%;
    right: -5px;
  }
}

@media screen and (max-width:395px) {
  .match .btn::after {
    top: 72%;
    right: -5px;
  }
}

/* CONTACT & NEWSLETTER */

#gform_1_validation_container.gform_validation_errors,
#gform_2_validation_container {
  height: 1px;
  width: 1px;
  opacity: 0%;
  padding: 0;
  margin: 0;
}

/* FOOTER */

.footer .bloc-3:first-of-type,
.footer .bloc-3:nth-child(2) {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-around;
}

.footer .img-footer img {
  max-width: max-content;
}

.footer .coordonnee div {
  margin-bottom: 0.5em;
}

.footer .menu-res {
  display: flex;
  margin-top: 0.25em;
}

.footer .menu-res li:last-child {
  padding-left: 0.5em;
}

.footer .menu-icon {
  width: 25px;
  height: 25px;
}

.footer .fb {
  background-image: url(/wp-content/themes/HPV/images/facebook-noir.svg);
}

.footer .fb:hover {
  background-image: url(/wp-content/themes/HPV/images/facebook-vert.svg);
}

.footer .insta {
  background-image: url(/wp-content/themes/HPV/images/instagram-noir.svg);
}

.footer .insta:hover {
  background-image: url(/wp-content/themes/HPV/images/instagram-vert.svg);
}

.footer .navigation *,
.footer .equipe * {
  margin-bottom: 0.5em;
}

.footer .bloc-3:nth-child(3) h4 {
  margin-bottom: 0.5em;
}

#gform_2 #field_2_1 label,
#gform_1 #field_1_1 label,
#gform_1 #field_1_3 label,
#gform_1 #field_1_4 label,
#gform_1 #field_1_5 label {
  font-size: 16px;
  font-weight: 400;
}

#gform_2 #input_2_1::placeholder,
#gform_1 #input_1_1_6::placeholder,
#gform_1 #input_1_3::placeholder,
#gform_1 #input_1_4::placeholder,
#gform_1 #input_1_5::placeholder {
  font-style: italic;
  font-weight: 500;
}

#gform_2 #gform_fields_2 {
  grid-row-gap: 10px;
}

#gform_2 #field_2_3 {
  margin-bottom: 24px;
}

#gform_1 #gform_submit_button_1,
#gform_2 #gform_submit_button_2 {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  font-style: italic;
  background-color: var(--vert);
  color: var(--gris-bleu);
  border-radius: 0;
  padding: 12px 98px 12px 26px;
  box-shadow: none;
}

#gform_2 #gform_submit_button_2:hover,
#gform_1 #gform_submit_button_1:hover {
  background-color: var(--gris-bleu);
  color: var(--vert);
}

#gform_1 .gform_footer {
  width: max-content;
  position: relative;
}

#gform_2 .gform_footer {
  width: max-content;
  position: relative;
  margin-block-start: 0;
}

.gform_footer::after {
  content: "";
  cursor: pointer;
  width: 16px;
  height: 12px;
  background-image: url(/wp-content/themes/HPV/images/fleche-btn.svg);
  position: absolute;
  top: 50%;
  left: 170px;
  transform: translate(-50%, -50%);
}

#gform_2 .gform_footer::after {
  top: 50%;
  left: 170px;
  transform: translate(-50%, -50%);
}

.gform_footer:hover::after {
  background-image: url(/wp-content/themes/HPV/images/fleche-btn-vert.svg);
}

.footer .mbp {
  margin-top: 1em;
  text-align: center;
}

@media screen and (max-width:800px) {

  .footer .bloc-3:nth-child(2) {
    display: none;
  }

  .footer .mbp p {
    font-size: 14px;
  }
}