/* ************************** */
/* #region Variables & Fonts */

/* variables */
:root {
  --main-background-color: #f7f7f7;
  --main-background-color2: #e0e0e0;
  --main-color: #2c57da;
  --main-color-hover: #2443a0;
  --color-red :rgb(255, 65, 65);
  --color-overlay :#000000e0;
  --connected: none;
  --notconnected:none; 
  --main-border-radius:3px;
  --font-regular: Arial, sans-serif;
}
/* fonts */
@font-face {
  font-family: 'stph-font';
  src: url('/sources/fonts/stph-font.ttf') format('truetype'); 
  font-weight: normal;
  font-style: normal;
}
/* #endregion Variables & Fonts */
/* ************************ */

/* ************************** */
/* #region State CSS Classes */

.connected{display: var(--connected);}
.notconnected{display: var(--notconnected);}
.swipe{background-color:rgb(236, 238, 104)}
.hidden {display: none}
.hu993 {display: none;}
.no-scroll {
    overflow: hidden; 
    overflow-y: hidden; 
    touch-action: none; 
    height: 100vh; 
    position: fixed; 
    height: 100%; 
    width: 100%;
}
.hidden-sm{display: none !important;}
@media (min-width: 1024px){.hidden-sm{display: flex !important;}}

/* #endregion State CSS Classes */
/* ************************** */

/* ************************** */
/* #region Buttons            */

.btn_add{
    display: flex; 
    align-items: center; 
    background-color: var(--main-color); 
    color: white;  
    padding: 0px 20px; 
    border-radius: 10px; 
    border-style: none; 
    gap: 10px;   
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;}
.btn_add_position{
    position: fixed; 
    top: 5px; 
    margin: auto;  
    transition: all ease; 
    transition-duration: .5s; 
    z-index: 400;}

/* #endregion Buttons            */
/* ************************** */

/* ************************** */
/* #region Flex Properties   */

.flex-row{ display: flex; flex-direction: row;}
.flex-col{ display: flex; flex-direction: column;}
.align-items-start {align-items: flex-start;}
.align-items-center {align-items: center;}
.ai_c {align-items: center;}
.ai_str{align-items: stretch;}
.align-items-end {align-items: flex-end;}
.justify-content-start{justify-content: flex-start;}
.justify-content-center{justify-content: center;}
.jc_c{justify-content: center;}
.jc_st{justify-content: flex-start;}
.justify-content-end{justify-content: flex-end;}
.jc_space_ar{justify-content: space-around;}
.jc_space_bt{justify-content: space-between;}
.jc_space_ev{justify-content: space-evenly;}
.flcc{display: flex; flex-direction: column; justify-content: center; align-items: center;}
.flrc{display: flex; flex-direction: row; justify-content: center; align-items: center;}
.fl_wrap {flex-wrap: wrap;}.fl_nowarp {flex-wrap: nowrap;}.fl_warprev{flex-wrap: wrap-reverse;}
.gap5{gap: 5px;}.gap10{gap: 10px;}.gap15{gap: 15px;}.gap20{gap: 20px;}
.gap0_10{gap: 0px 10px;}.gap0_20{gap: 0px 20px;}
.flex1{flex: 1;}.flex2{flex: 2;}.flex3{flex: 3;}
/* #endregion Flex Properties  */
/* ************************** */

/* ************************** */
/* #region Margin & Padding */
.padd_010{padding: 0px 10px;}
.padd_10_0{padding: 10px 0px;}
.margin_b25{margin-bottom: 25px;}
.margin25{margin: 25px;}
.mb0{margin-bottom: 0px;}
.mt25{margin-top: 25px;}
/* #endregion Margin & Padding */
/* ************************** */
.static {position: static;}
.fixed {position: fixed;}
.absolute {position: absolute;}
.relative {position: relative;}
.sticky {position: sticky;}

.wcalc90{width: calc(90% - 20px);}
.wcalc100{width: calc(100% - 20px);}
.w350{width: 350px;}
.w100{width: 100%;}
.mw1200 {max-width: 1200px;}
.mw1100 {max-width: 1100px;}
.mw1000 {max-width: 1000px;}
.mw900 {max-width: 900px;}
.mw550 {max-width: 550px;}
.mw400 {max-width: 400px;}
.mw320 {max-width: 320px;}
.minw150 {min-width: 150px;}
.minw400 {min-width: 400px;}

.svg_80{width: 80px; height: 80px;}
.svg_70{width: 70px; height: 70px;}
.svg_45{width: 45px; height: 45px;}
.svg_25{width: 25px; height: 25px;}
.svg_20{width: 20px; height: 20px;}
.svg_16{width: 16px; height: 16px;}
.svg_blue {fill: var(--main-color);}
.svg_white{fill: white;}
.svg_v44 {fill: rgb(255, 255, 255);width: 25px;height: 25px;background-color: var(--main-color);border-radius: 50%;padding: 8px;}

.txt_aj{text-align: justify;}
.txt_ac{text-align: center;}
.txt_al_j{text-align: justify;}
.txt_al_c{text-align: center;}
.txt_al_st{text-align: start;}
.list_st_sq{list-style-type: square;}
.span12{font-size: 12px;}
.color_white{color: white;}
.color_black{color: black;}
.fsize15{font-size: 15px;}
.fsize18{font-size: 18px;}
.font_w400{font-weight: 400;}

.border-box{-webkit-box-sizing: border-box;-moz-box-sizing: border-box; box-sizing: border-box;}
.box{-webkit-box-sizing: border-box;-moz-box-sizing: border-box; box-sizing: border-box;}


.mobile-menu-label{ display: block; width: 100%; font-weight: 700;color: #182c86;  font-size: 30px;}
.mobile-submenu-label{ display: block; width: 100%; font-weight: 650;color: #182c86;  font-size: 25px;}

.bg_color_blue{background-color:var(--main-color);}
.bg_color_red{background-color:var(--color-red);}

.btn-main{background-color: var(--main-color); color: white; padding: 10px 30px; border-style: none; border-radius: 5px; font-size: 18px;}
.dashed-border{border-radius: 5px; border-color: var(--main-color); border-width: 3px; border-style: dashed;}
.line-border{border-radius: 5px; border-color: var(--main-color); border-width: 2px; border-style: solid;}

.skeleton {opacity: 1; animation: skeleton-loading 1s linear infinite alternate;}

.skeleton-text {width: 100%;height: .4rem;margin-bottom: .25rem;border-radius: .125rem;}
/* .skeleton-text:last-child {
margin-bottom: 0;
width: 80%;
} */
@keyframes skeleton-loading {
0% {background-color: hsl(0, 0%, 57%);}
100% {background-color: hsl(0, 0%, 9%);}}

.btn_login_logout {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 140px;
  height: 56px;
  border: none;
  border-radius: 40px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition-duration: .3s;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.199);
  gap: 10px;
}
.btn_login_logout--sign {
  width: 30%;
  transition-duration: .3s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn_login_logout--sign svg { width: 17px;}
.btn_login_logout--sign svg path { fill: white;}
.btn_login_logout--text {
  position: absolute;
  right: 0%;
  padding-right: 10px;
  width: 70%;
  opacity: 1;
  color: white;
  font-size: 0.8em;
  font-weight: 600;
  transition-duration: .3s;
}
.btn_login_logout:active { transform: translate(2px ,2px);}

@media (max-width: 320px) {

    }

  @media (min-width: 321px) and (max-width: 768px) {

    }

  @media (min-width: 769px) and (max-width: 992px) {

    }

  @media (min-width: 993px) and (max-width: 1200px) {
    .hu993 {display: block;}
    }

  @media (min-width: 1201px) {
      .btn_login_logout {
        height: 45px;
        width: 45px;
        border-radius: 50%;
      }
      .btn_login_logout--sign {
        width: 100%;
      }
      .btn_login_logout--text {
        right: 0%;
        width: 100px;
        opacity: 0;
      }
      .btn_login_logout:hover { width: 140px; border-radius: 40px; transition-duration: .3s;}
      .btn_login_logout:hover .btn_login_logout--sign { width: 30%; transition-duration: .3s;}
      .btn_login_logout:hover .btn_login_logout--text { opacity: 1; width: 70%; transition-duration: .3s; padding-right: 10px;}

      .btn_add_position{position: fixed; top: 75px; right: 50px; transition: all ease; transition-duration: .5s;}
  }


.arretes_m_ctn{display: flex; flex-direction: row; align-items: center; justify-content: space-between; margin-bottom: 30px; gap: 10px; position: relative;}
/* OLD CSS  */

.editor-svg{
  width: 20px;
  height: 20px;
  fill: rgb(255, 255, 255);
}
.editor-ctn-btn{
  position: relative;

}
.editor-btn-unit{
  /* background-color: var(--main-color); */
  border-style: none;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  padding: 7px;
  color: white;
  right: -20px;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}
.editor-btn-g{
  background-color: var(--main-color);
  border-style: none;
  border-radius: 50px;
  padding: 10px 20px 10px 20px;
  color: white;
  right: -20px;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}
.arm-svg {height: 40px;fill: black;}
.arm-svg-pdf {height: 25px;fill: var(--main-color);}
.arm-tab {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
gap: 15px;
width: 100%;

}
/* ******************** */
/* #region MAIN SELECTORS */

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  font-family: open_sans, Arial, Helvetica, sans-serif;
  background-color: var(--main-background-color);
}
body {
  display: flex;
  flex-direction: column;
  position: inherit;
}

header {
  z-index: 500;
}

a {
  color: #000000;
  text-decoration: none;
  cursor: pointer;
}
button {
  cursor: pointer;
}
ul {
  list-style-type: none;
  padding: 0;
}
main {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  margin-top: 64px;
  margin-bottom: 25px;
  min-height: 50dvh;
  gap: 20px;
}

h1, h2{text-align: center;font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;}

h1, h2, h3, h4, h5, h6 {text-wrap: balance;}

h1 {font-size: 30px;font-weight: 700;font-size: clamp(27px, 4vw, 48px);margin: 15px 0px;}
h2 {font-size: clamp(32px, 8vw, 40px);font-weight: 700;margin: 12px 0px;}
p {font-size: clamp(14px, 3vw, 17px);margin: 12px 0px;text-wrap: pretty;text-align: justify;}
span {color: var(--main-color-hover);font-weight: 700;}
img {max-width: 100%;}

@media (min-width: 1201px) {main {position: relative;margin-top: 64px;}}

/* #endregion MAIN SELECTORS */
/* ******************** */

.l-ctn-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 90%;
  margin-bottom: 20px;
}
.l-ctn-main img {
  box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}
@media (min-width: 850px) {
  .l-ctn-main {
    width: 70%;
  }
}

/* ******************** */
/* #region HEADER */

.pc-main-menu {

  background-color: var(--main-background-color);
  position: relative;
  width: 100%;
}

.pc-header {
  display: flex;
  flex-direction: row;
  background-color: var(--main-background-color);
  justify-content: space-between;
  align-items: center;
  position: fixed;
  padding-left: 3px;
  height: 35px;
  top: 0px;
  z-index: 500;
  width: 100%;
  transition: all 1s ease;
  box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.1); /* Ombre vers le bas */
}

.pc-menu-sublist{
  position: fixed;
  /* width: 200px; */
  top: 70px;
  padding: 15px;
  background-color: var(--main-color);
  border-radius: 5px;
  box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.1);
}
.pc-menu-sublist li a {color: white;}
.pc-menu-sublist li:not(:first-child){
  margin-top: 6px;
  padding-top: 6px;
  border-top: 2px solid white;
}
.pc-menu-sublist-last{
    position: fixed;
    top: 70px;
    padding: 15px;
    background-color: var(--main-color);
    border-radius: 5px;
    box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.1);
  }
.pc-menu-sublist-last li a {color: white;}
.pc-menu-sublist-last li:not(:first-child){
  margin-top: 6px;
  padding-top: 6px;
  border-top: 2px solid white;
}
.pc-menu-ctn {
  width: 100%;
}

.pc-ctn-login {
  /* display: none; */
  flex-direction: row-reverse;
  justify-content: center;
  align-items: center;
  gap: 5px;
  margin-right: 15px;
  margin-left: 15px;
}
.pc-login-label {
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}
.pc-menu-list {
  display: flex;
  justify-content: center;
  /* gap: 25px; */
  gap: clamp(20px, 2vw,250px);
  width: 100%;
} 
.pc-menu-list li{
    margin-right: 20px;
  }
.pc-menu-list li a {
  font-size: 1.1em ;
  font-weight: 700;
}

.mobile-header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  /* background-color: var(--main-background-color); */
  /* background-color: #00000000; */
  background-color: #00000000;

  height: 5px;
  position: fixed;
  width: 100%;
  transition: all 0.3s ease;
  z-index: 1700;
}

.mobile-main-menu {
  /* margin-top: 35px; */
  background-color: var(--main-background-color);
  width: 100%;
  /* min-height: 100dvh; */
  height: calc(100% - 1px);
  /* margin-top: 45px; */
    /* height: 100%; */
  position: fixed;
  overflow-y: auto; /* Active le défilement vertical si le contenu dépasse la hauteur */
  -webkit-overflow-scrolling: touch; /* Améliore le défilement sur iOS */
}


.hamburger-menu-icon {
  margin-top: 5px;
  margin-right: 5px;
  width: 35px;
}


.mobile-menu-mainlist {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 15px;
  border-top: 2px solid rgba(43, 1, 1, 0.363);
  border-bottom: 2px solid rgba(43, 1, 1, 0.363);
}
.mobile-menu-mainlist li {
  border-bottom: 1px solid rgba(43, 1, 1, 0.363);
}
/* .mobile-menu-mainlist li a{
  font-size: 25px;
  font-weight: 50;
  display: block;
  width: 100%;
} */
.mobile-menu-sublist{
  margin-left: 20px; 
  padding: 10px;}
.mobile-menu-sublist li:not(:last-child) {
  margin-bottom: 15px;
}
.mobile-menu-sublist li a {
  width: 100%;
}

/* ************ */
/* mobile et pc */
/* ************ */

.href a:hover{
  text-decoration: underline;
  text-decoration-color: var(--main-color);
  text-decoration-thickness: 2px; /* Ajustez l'épaisseur de la ligne de soulignement */
  text-underline-offset: 3px; /* Ajustez la distance entre le texte et la ligne de soulignement */
}

.toto{
  text-decoration: underline;
  text-decoration-color: var(--main-color);
  text-decoration-thickness: 2px; /* Ajustez l'épaisseur de la ligne de soulignement */
  text-underline-offset: 3px; /* Ajustez la distance entre le texte et la ligne de soulignement */
}

.login-icon {
  width: 30px;
  height: 30px;
}
.logo-header {
  margin-top: 5px;
  width: 60px;
  height: 60px;
  transition: all 1s ease;
}
.logo-header:hover {
  transform: scale(0.95);
}
.menu-arrow-down {
  height: 15px;
  width: 15px;
  position: relative;
  top: 1px;
}

/* #endregion HEADER */
/* ******************** */
/* ***************************** */
/* #region MEDIA QUERIES HEADER */
/* ******************** */

@media (max-width: 320px) {
  .pc-header {
    display: none;
  }
}

@media (min-width: 321px) and (max-width: 768px) {
  .pc-header {
    display: none;
  }
}

@media (min-width: 769px) and (max-width: 992px) {
  .pc-header {
    display: none;
  }
}

@media (min-width: 993px) and (max-width: 1200px) {
  .pc-header {
    display: none;
  }
}

@media (min-width: 1201px) {
  .pc-header {
    height: 70px;
  }
  .mobile-header {
    display: none;
  }


  #pc-main-menu {
    display: block;
  }

  .logo-header {
    margin-top: 20px;
    width: 80px;
    height: 80px;
  }
  .pc-ctn-login {
    display: flex;
  }
  .hamburger-menu-mobile {
    display: none;
  }
}

/* ******************** */
/* #endregion MEDIA QUERIES */
/* *************************** */

/* #region Article Card */
            
.article_card {
position: relative;
display: flex;
max-width: 20rem;
flex-direction: column;
overflow: hidden;
border-radius: 0.75rem;
--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
transition-property: all;
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
transition-duration: 300ms;
}

@media (min-width: 500px) {.article_card {width: 20rem;}}

.article_card:hover {
--tw-translate-y: -0.25rem;
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
cursor: pointer;
--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.article_card_head {
position: relative;
height: 11rem;
overflow: hidden;
}

.article_card_content {
--tw-bg-opacity: 1;
background-color: rgb(255 255 255 / var(--tw-bg-opacity));
padding-top: 1rem;
padding-bottom: 1rem;
padding-left: 0.75rem;
padding-right: 0.75rem;
}

.article_card-img {
--tw-bg-opacity: 1;
background-color: rgb(255 255 255 / var(--tw-bg-opacity));
height: 100%;
width: 100%;
object-fit: cover;
}

.article_card-title {
margin-bottom: 0.5rem;
font-size: 0.75rem;
line-height: 1rem;
font-weight: 600;
text-wrap:unset;
text-align: unset;
}

.article_card-footer {
display: flex;
align-items: center;
justify-content: space-between;
}

.article_card-date {
font-size: 0.75rem;
line-height: 1rem;
--tw-text-opacity: 1;
color: rgb(156 163 175 / var(--tw-text-opacity));
}

.article_card-end {
position: relative;
z-index: 40;
display: flex;
align-items: center;
gap: 0.5rem;
}

.article_card-category {
font-size: 0.75rem;
line-height: 1rem;
--tw-text-opacity: 1;
color: rgb(156 163 175 / var(--tw-text-opacity));
}

.article_card-svg {
height: 1.5rem;
width: 1.5rem;
/* --tw-text-opacity: 1;
color: rgb(234 88 12 / var(--tw-text-opacity)); */
color: var(--main-color);
}

.article_card-svg:hover {
--tw-text-opacity: 1;
color: rgb(59 130 246 / var(--tw-text-opacity));
}
/* #endregion  */

/* page en construction :  */

.newtons-cradle {
  --uib-size: 50px;
  --uib-speed: 1.2s;
  --uib-color: #2c57da;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--uib-size);
  height: var(--uib-size);
 }
 
 .newtons-cradle__dot {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  width: 25%;
  transform-origin: center top;
 }
 
 .newtons-cradle__dot::after {
  content: '';
  display: block;
  width: 100%;
  height: 25%;
  border-radius: 50%;
  background-color: var(--uib-color);
 }
 
 .newtons-cradle__dot:first-child {
  animation: swing var(--uib-speed) linear infinite;
 }
 
 .newtons-cradle__dot:last-child {
  animation: swing2 var(--uib-speed) linear infinite;
 }
 
 @keyframes swing {
  0% {
   transform: rotate(0deg);
   animation-timing-function: ease-out;
  }
 
  25% {
   transform: rotate(70deg);
   animation-timing-function: ease-in;
  }
 
  50% {
   transform: rotate(0deg);
   animation-timing-function: linear;
  }
 }
 
 @keyframes swing2 {
  0% {
   transform: rotate(0deg);
   animation-timing-function: linear;
  }
 
  50% {
   transform: rotate(0deg);
   animation-timing-function: ease-out;
  }
 
  75% {
   transform: rotate(-70deg);
   animation-timing-function: ease-in;
  }
 }
 