/*

Theme Name: Gitana Template
Description: Template Gitana
Author: Luis Ribeiro
Version: 2.0

TIPS : Link for convert fonts : https://transfonter.org/
       Link for calculate vw / px : https://web-development.space/tools/px-to-vw/

*/

/****************** FONTS *****************/

/* @font-face {
  font-family: "Noto Sans";
  src: url(assets/fonts/NotoSans-Medium.woff2) format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
} */

@font-face {
  font-family: 'helveticanowtext-black-demo';
  src: url('assets/fonts/helveticanowtext-black-demo.woff2') format('woff2');
}



/****************** VARIABLES *****************/

:root {
  /* COULEURS */

  /* --dark: #000; */

  /* TAILLES POLICES */

  /* --fz-tiny:; */
  /* --fz-smallest:;  */
  /* --fz-small:; */
  /* --fz-normal:;  */
  /* --fz-medium:;  */
  /* --fz-xl:;  */

  /* --fz-h1: ; */
  /* --fz-h2: ; */
  /* --fz-h3: ; */

  /* LINE-HEIGHT */

  /* --lh:;  */

  /* --lh-h1:; */
  /* --lh-h2:; */
  /* --lh-h2:; */
  /* --lh-h3:; */

  /* MARGES EXTERNES */

  /* --mb:; */

  /* MARGES INTERNES */

  /* --padding-section:; */

  /* TRANSITION */

  /* --transition-speed: 0.3s; */
  /* --transition-effect:; */

  /* FONTS */

  --main-font: 'GothamPro', sans-serif;
  /* --secondary-font: ; */


  /*popup */
  --rc-bg: #08192b;
  /* bleu nuit */
  --rc-bg-veil: rgba(8, 25, 43, .55);
  --rc-card: rgba(10, 25, 45, .86);
  --rc-border: rgba(255, 255, 255, .08);
  --rc-text: #e7eef7;
  --rc-accent: #f2c24a;
  /* or doux */
}

/****************** RESET *****************/

* {
  margin: 0;
  padding: 0;
  border: 0;
  box-sizing: border-box;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

a,
a:hover {
  text-decoration: none;
  transition: var(--transition-speed);
}

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

p,
ul,
ol {
  margin: 0;
  padding: 0;
}

ol,
ul {
  list-style: none;
  padding: 0;
}

.container-fluid {
  padding: 0;
}

@media (min-width: 1400px) {
  .container {
    width: 1340px;
    max-width: 100%;
  }
}

@media (min-width: 1601px) {
  .container {
    width: 1540px;
    max-width: 100%;
  }
}

/****************** GLOBAL *****************/

body {
  position: relative;
  -webkit-font-smoothing: subpixel-antialiased;
  font-family: var(--main-font);
  font-weight: 400;
  font-size: var(--fz-normal);
  color: "";
  background-color: "";
  overflow-x: hidden;
}

/* STYLING TEXTS */

strong {
  font-weight: 700;
}

em {
  font-style: italic;
}

.libouton>a {
  padding: 6px 12px;
  color: white;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.3s;
  font-size: 17px;
}

.libouton-transparent>a {
  background-color: transparent;
  border: 1px solid white;
  transition: all 0.3s;
}

.libouton-transparent:hover>a {
  background-color: white;
  color: black;
  transition: all 0.3s;
}

.bouton {
  padding: 6px 12px;
  color: white;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.3s;
  font-size: 17px;
  text-transform: uppercase;
}

.bouton-white {
  background-color: transparent;
  transition: all 0.3s;
  position: relative;

}

.bouton.bouton-white::after {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: white;
  display: block;
  position: absolute;
  translate: -50% -50%;
  top: 50%;
  right: -30px;
}

.bouton-primary {
  background-color: #FFCE22;
  border: 1px solid #FFCE22;
  color: black;
  transition: all 0.3s;
}

.toppage {
  font-size: 40px;
  font-weight: 100;
  padding-top: 20px;
  padding-right: 80px;
  padding-left: 80px;
  background-color: #ffffff;
  color: #14233f;
}

.toppage>p {
  border-top: 2px solid #14233f;
  margin-bottom: 30px;
}

p {
  line-height: 1.5;
}


.gb-post-title {
  font-weight: 300 !important;
}

.gb-post-description {
  display: none !important;
}

.toppage p {
  font-size: 12px;
  opacity: 0.3;
  margin-top: 5px;
}

.toppage .breadcrumbs {
  font-size: 12px;
  opacity: 0.5;
  margin: 0 !important;
  margin-top: 5px !important;
  padding: 0 !important;
  text-transform: uppercase;
}

#main-content {
  position: relative;
  z-index: 2;
  background: transparent;
  min-height: 100vh;
}

footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  height: var(--footer-h);
  box-sizing: border-box;
}

.footer-spacer {
  height: var(--footer-h);
  background: transparent;
}

.gitanablocks-section.gitanablocks-primary .bouton-transparent {
  border: 1px solid white;
  color: white;
}

.gitanablocks-section.gitanablocks-primary .bouton-transparent:hover {
  border: 1px solid white;
  color: #14233f;
}

.gitanablocks-section.gitanablocks-third .bouton-transparent {
  border: 1px solid #14233f;
  color: #14233f;
}

.gitanablocks-section.gitanablocks-third .bouton-transparent:hover {
  border: 1px solid white;
  color: white;
  background-color: #14233f;
}


.gitana-header-homepage_titre h1 {
  font-size: 60px;
  font-weight: 100;
  color: white;
}

.gitana-header-homepage_titre p {
  font-size: 20px;
  font-weight: 100;
  color: white;
  margin-bottom: 30px;
}

.gitana-header-homepage_titre h2 {
  font-size: 18px;
  font-weight: 100;
  color: white;
}

.gitana-header-homepage_titre {
  display: flex;
  flex-direction: column;
}

#cmplz-manage-consent .cmplz-manage-consent {
  margin-right: 80px !important;

}

.cmplz-cookiebanner.cmplz-show {
  margin-right: 80px !important;
  z-index: 999999;
}

/************ BLOCK right click *************/
#rc-modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: var(--rc-bg-veil);
  backdrop-filter: blur(4px);
  z-index: 199999;
  transition: opacity .2s ease, visibility .2s ease;
}

#rc-modal.rc-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.rc-card {
  width: min(92vw, 520px);
  background: var(--rc-card);
  color: var(--rc-text);
  border: 1px solid var(--rc-border);
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .45);
  padding: 22px 22px 18px;
}

.rc-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}

.rc-icon {
  width: 28px;
  height: 28px;
  fill: var(--rc-accent);
  flex: none;
}

.rc-title {
  font: 600 1.1rem/1.2 system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  letter-spacing: .2px;
  margin: 0;
}

.rc-text {
  margin: 6px 0 16px;
  opacity: .95;
}

.rc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--rc-accent);
  color: #0a1422;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform .08s ease, filter .2s ease;
}

.rc-btn:hover {
  filter: brightness(1.05);
}

.rc-btn:active {
  transform: translateY(1px) scale(.99);
}

/* Option : micro-toast discret quand on re-clique */
.rc-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  background: var(--rc-card);
  color: var(--rc-text);
  border: 1px solid var(--rc-border);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: .92rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}

.rc-toast.rc-show {
  opacity: 1;
  transform: translateX(-50%) translateY(-4px);

}

.sib-form {
  display: flex;
  align-items: center;
}

.sib-email-input {
  padding: 10px 20px;
}

.sib-default-btn {
  padding: 10px 20px;
  cursor: pointer;
}

.sib-default-btn:hover {}

/****************** HEADER *****************/

/****************** FOOTER *****************/

/****************** RESPONSIVE *****************/

@media only screen and (max-width: 1280px) {
  .wp-block-gitanablocks-section {
    padding: 30px 10px 10px 10px;
  }

  .wp-block-gitanablocks-section.gitanablocks-layout-boxed {
    padding: 30px 100px 10px 100px;
  }

  .bandeauheritage {
    display: none !important;
  }

  .saison {
    display: none !important;
  }

  #mainNav,
  #sitefooter,
  body {
    padding-right: 0 !important;
  }
}

@media only screen and (max-width: 991px) {
  .wp-block-gitanablocks-section.gitanablocks-layout-boxed {
    padding: 10px 50px 10px 50px;
  }
}

@media only screen and (max-height: 750px) {
  .gitana-footer-edr {
    margin-right: 0 !important;
  }

  .gitana-footer-edr_ensavoir {
    margin-bottom: 20px !important;
  }

  .gitana-footer {
    padding: 20px 20px 20px 20px !important;
  }

  .gitana-footer-content {
    margin-bottom: 10px !important;

  }
}

#mainNavMobile {
  background-color: white;
  height: 10vh;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 99999;
  width: 100vw;
  padding: 10px;
}

#mainNavMobile .logoMobile {
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  height: 100%;
  flex: 1;
  z-index: 100009;
}

#mainNavMobile .boutonMenuMobile {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

#mainNavMobile .boutonMenuMobile .burgerButton {
  border: 1px solid #08192b;
  border-radius: 6px;
  height: 80%;
  aspect-ratio: 1 / 1;
  margin-right: 10px;
  padding: 10px;
}

.burgerButton_image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 10px;
  height: 100%;
}

#mobileMenuWindow {
  padding: 80px 50px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#mobileMenuWindow .content menu {
  list-style: none;
}

#mobileMenuWindow .content menu li {
  margin-bottom: 10px;
  font-size: 20px;
  color: #14233f;
}

#mobileMenuWindow .content menu li a {
  color: #14233f;
  text-decoration: none;
}


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

  .gitanablocks-citation__quote {
    font-size: 20px;
    gap: 0;
  }

  .gb-last-posts-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr) !important;
    grid-template-rows: repeat(3, 1fr) !important;
    grid-column-gap: 0px !important;
    grid-row-gap: 0px !important;
    grid-column-gap: 10px !important;
    grid-row-gap: 10px !important;
  }

  .wp-block-gitanablocks-last-posts-variant .gb-last-posts-list a:nth-child(1) {
    grid-area: 1 / 1 / 2 / 2;
  }

  .wp-block-gitanablocks-last-posts-variant .gb-last-posts-list a:nth-child(2) {
    grid-area: 1 / 2 / 2 / 3;
  }

  .wp-block-gitanablocks-last-posts-variant .gb-last-posts-list a:nth-child(3) {
    grid-area: 2 / 1 / 3 / 2;
  }

  .wp-block-gitanablocks-last-posts-variant .gb-last-posts-list a:nth-child(4) {
    grid-area: 2 / 2 / 3 / 3;
  }

  .wp-block-gitanablocks-last-posts-variant .gb-last-posts-list a:nth-child(5) {
    grid-area: 3 / 1 / 4 / 2;
  }

  .wp-block-gitanablocks-last-posts-variant .gb-last-posts-list a:nth-child(6) {
    grid-area: 3 / 2 / 4 / 3;
  }

  .wp-block-gitanablocks-last-posts-variant .gb-last-posts-list a:nth-child(2) .gb-post-thumbnail-wrap,
  .wp-block-gitanablocks-last-posts-variant .gb-last-posts-list a:nth-child(3) .gb-post-thumbnail-wrap,
  .wp-block-gitanablocks-last-posts-variant .gb-last-posts-list a:nth-child(4) .gb-post-thumbnail-wrap,
  .wp-block-gitanablocks-last-posts-variant .gb-last-posts-list a:nth-child(5) .gb-post-thumbnail-wrap {
    height: unset;
  }

  #mainNavMobile {
    display: flex !important;
  }

  .gitana-header-homepage_titre h2 {
    margin-top: 10px;
  }

  #mainNav,
  #moving_logo {
    display: none !important;
  }

  .gitana-header-homepage_titre h1 {
    font-size: 35px;
  }

  .gitanablocks-citation {
    gap: 0;
  }

  .gitanablocks-section>*,
  .gitanablocks-section__inner>* {
    margin-bottom: 15px;
  }

  .wp-block-gitanablocks-text-image .gb-content {
    padding: 20px;
  }

  .wp-block-gitanablocks-text-image {
    flex-direction: column;
  }

  .gitana-header-homepage {
    height: 70vh !important;
    padding: 15vh 10vw 10vh 10vw !important;
  }

  .wp-block-gitanablocks-title-h2 {
    font-size: 25px;
  }

  .gitanablocks-section.gitanablocks-third a.bouton {
    font-size: 15px;
  }

  .wp-block-gitanablocks-text-image.is-image-right {
    flex-direction: column-reverse;
  }

  #main-content {
    margin-bottom: 0 !important;
  }

  .gitana-footer {
    padding: 40px 10px !important;
  }

  .gitana-footer-edr {
    margin-right: 0 !important;
    flex-direction: column;
    padding: 10px;
  }

  .gitana-footer-content {
    flex-wrap: wrap;
    gap: 20px !important;
  }

  .gitana-footer-edr_ensavoir {
    margin-right: 20px !important;
  }

  .wp-block-gitanablocks-section.gitanablocks-layout-boxed {
    padding: 10px 20px 10px 20px;
  }

  .toppage {
    font-size: 30px !important;
    font-weight: 100 !important;
    padding-top: 20px !important;
    padding-right: 40px !important;
    padding-left: 40px !important;
    margin-bottom: 20px !important;
  }

  .presentation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    gap: 80px;
    margin-right: 0px !important;
    flex-direction: column !important;
  }

  .wp-block-gitanablocks-section {
    padding: 30px 10px 10px 10px !important;
  }

  .gitanablocks-one-evenement-card__title {
    margin: 0 0 26px 0;
    font-size: 20px;
    line-height: 1.05;
    font-weight: 300;
  }

  .gitanablocks-one-evenement-card {
    border: 1px solid #060A23;
    padding: 20px;
    position: relative;
    color: #060A23;
  }

  .gitanablocks-one-evenement-card__label {
    margin: 0 0 18px 0;
    font-size: 25px;
    position: absolute;
    top: 20px;
    left: 20px;
  }

  .presentation-text .presentation-resume {
    margin-left: 30px !important;
  }

  .presentation-text .presentation-date {
    margin-left: 30px !important;
  }

  .pied {
    margin-top: 0 !important;
  }

  .presentation-image {
    width: 100%;
  }

  #sitefooter {
    position: relative;
  }


  .gitanablocks-last12_flex {
    flex-direction: column;
  }

  .gitanablocks-last12_flex_left {
    position: relative !important;
    top: 0 !important;
    width: 100%;
  }

  .gitanablocks-last12_flex_left .gitanablocks-last12__item .gitanablocks-last12__media {
    height: unset !important;
    aspect-ratio: 1/1;
  }

  .gitanablocks-last12_flex_right {
    grid-column-gap: 20px !important;
  }

  h2+.wp-block-gitanablocks-last-posts-variant {
    margin-top: -35px;
  }

}

@media only screen and (max-width: 576px) {}