@font-face {
  font-family: "BentonSans-Regular";
  src: url('../fonts/BentonSans Regular.otf');
}

@font-face {
  font-family: "BentonSans-Book";
  src: url('../fonts/BentonSans Book.otf');
}

:root {
  --primary-color: #275dc5;  
}



/* Insérez ici le CSS */
body,
html {
  height: 100%;
  margin: 0;
  font-family: "BentonSans-Regular";
  color: #222;
}

a {
  text-decoration: none;
}

.container {
  position: relative;
  min-height: 100%;
  background-color: #fff;
  height: 100%;
}

.menu {
  width: 100px;
  height: 100%;
  position: fixed;
  box-shadow: 0 4px 40px 0 rgba(0, 0, 0, 0.1);
  left: 0px;
  top: 0px;
  z-index: 100;
  background-color: #fff;
}

.logo {
  padding: 20px;
  text-align: center;
  color: #43558a;
  min-width: 60px;
}

.link_box {
  text-align: center;
  margin-bottom: 20px;
  margin-top: 20px;
  font-size: 30px;
  font-weight: 100;
  color: #999;
}

.link_box a {
  color: #999;
}


.link_btm {
  position: fixed;
  bottom: 0;
  text-align: center;
  width: 100px;
}

.active a {
  color: #43558a;
}

.active:after {
  content: "\A";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #43558a;
  display: block;
  margin-left: 45px;
}

.chart_user {
  height: auto;
  overflow-y: auto;
}

.search_box {
  box-shadow: 0 4px 40px 0 rgba(0, 0, 0, 0.1);
  width: calc(100% - 248px);
  margin-bottom: 30px;
  border-radius: 5px;
  background-color: #fff;
}

.search_input {
  width: calc(100% - 120px);
  padding: 12px;
  border: none;
  margin: 10px 0 10px 0;
}

.icon_search {
  margin-bottom: -7px;
  margin-left: 10px;
}

.icon_locate {
  margin-bottom: -7px;
  margin-left: 10px;
  width: 20px
}

.icon_changelog {
  margin-left: -40px;
  float: inline-start;
  border-radius: 5px;
  background-color: #fff;
}

.icon_reply {
  margin-top: 1px;
  margin-left: 5px;
  float: inline-start;
  font-size: 10px;
  height: 15px;
}


.grey {
  color: #666
}

#map {
  width: 100%;
  height: 65%;
  margin: 0px 0px 20px 0px;
  border-radius: 10px;
  z-index: 10;
}

.main {
  width: 100%;
  height: 100%;
}

.col_menu {
  width: 100px;
  float: left;
}

.col_1 {
  float: left;
  width: calc(70% - 160px);
  padding: 30px;
  height: calc(100% - 60px)
}

.col_2 {
  float: left;
  width: calc(30% - 30px);
  padding-top: 30px;
  padding-right: 30px;
  border-radius: 10px;
  height: calc(100% - 80px)
}

.col_50_1 {
  float: left;
  width: calc(50% - 160px);
  padding: 30px;
  height: calc(100% - 60px)
}

.col_50_2 {
  float: left;
  width: calc(50% - 30px);
  padding-top: 30px;
  margin-bottom: 30px;
}

.col_25 {
  float: left;
  width: calc(40% - 160px);
  padding: 30px;
  height: calc(100% - 60px)
}

.col_75 {
  float: left;
  width: calc(60% - 30px);
  padding-top: 30px;
  margin-bottom: 30px;
  margin-top: 45px;
}

.col_100 {
  float: left;
  width: calc(100% - 170px);
  padding-top: 30px;
  margin-bottom: 30px;
  margin-left: 35px;
}

.col_50_m {
  float: left;
  width: calc(70% - 160px);
  padding: 0px;
  height: calc(100% - 60px);
  margin-left: 15%;
}


.mt-20 {
  margin-top: 20px
}

.mb-20 {
  margin-bottom: 20px
}

.p-20 {
  padding: 20px
}

.p-10 {
  padding: 10px
}

h3 {
  font-size: 16px;
  font-weight: 100;
  padding: 0;
  margin: 0;
}

.h3_activity {
  margin-top: 0px;
  margin-bottom: 5px
}

.card {
  width: 100%;
  box-shadow: 0 4px 40px 0 rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  background-color: #fff;
  font-size: 13px;

}

.h_100_card {
  height: 100%;
  overflow-y: auto;
}

.h_50_card {
  height: 50%;
  overflow-y: auto;
}

.h_25_card {
  height: 25%;
  overflow-y: auto;
}

.strava_connect_box {
  float: right;
  width: 220px;
}

.strava_connect_box img {
  border-radius: 3px;
}

.strava_connect_box .card {
  height: 60px
}

.strava_btn {
  border: #fc5200 solid 1px;
  border-radius: 2px;
  padding: 0px;
  text-align: center;
}

.strava_btn {
  color: #fc5200 !important;
}

.prog_box {
  width: 100%;
  height: 12px;
  border-radius: 5px;
  background-color: #ccc;
}

.color_badge_box {
  width: 15px;
  height: 15px;
  border-radius: 10px;
  float: left;
  margin-top: 30px;
  margin-left: -20px;
  position: relative;
}



.prog {
  height: 10px;
  background-color: indianred;
  float: left;
  border-radius: 2px;
  text-align: center;
  font-size: 10px;
  color: #fff;
  padding-top: 2px;
}

.user_pict {
  width: 50px;
  height: 50px;
  margin-right: 5px;
  background-color: #ccc;
  border-radius: 3px;
  display: inline-block;
}

.user_pict img {
  width: 50px;
  height: 50px;
  border-radius: 3px;
}

.user_info {
  display: inline-block;
  height: 50px;
  padding-left: 5px
}

.user_infos {
  display: flex;
  align-items: flex-start;
  padding: 10px 0px 10px 0px;
}

.user_data {
  color: #999;
  font-size: 12px;
  ;
}

.icon {
  font-size: 8px;
}

.user_name {
  font-weight: bold;
  font-size: 14px;
  margin-top: 5px;
  margin-bottom: 5px;
}

.user_action {
  margin-left: auto;
  margin-top: 12px;
  margin-right: 0px;
}

.btn {
  border: #43558a solid 1px;
  border-radius: 2px;
  padding: 5px 10px 5px 10px;
  font-size: 12px;
  color: #43558a;
}

.color_badge {
  width: 15px;
  height: 15px;
  border-radius: 10px;
  float: right;
  margin-top: -14px;
  margin-right: -6px;
  position: relative;
}

.prog_label {
  display: flex;
  align-items: flex-start;
  margin-top: 10px;
}

.prog_label .info {
  text-align: center;
}

.icon_title {
  margin-bottom: -5px;
}

.bloc_activity {
  width: 10px;
  height: 25px;
  color: #FFF;
  -webkit-text-stroke: 0.5px;
  -webkit-text-stroke-color: #000;
  text-align: center;
  background-color: aliceblue;
  float: left;
  border-radius: 2px;
  padding-top: 15px;
  font-size: 14px;
  margin-right: 10px;
  opacity: 0.8;
}

.histo_activity_box {
  height: 60px
}

.date_activity {
  padding-top: 2px;
  font-weight: bold;
  margin-bottom: 10px;
}

.btn_send {
  border: #43558a solid 1px;
  border-radius: 2px;
  text-align: center;
  width: 100%;
  padding: 10px 0px 10px 0px;
  margin-top: 20px;
  font-size: 12px;
  color: #43558a;
  background-color: #FFF;
  cursor: pointer;
}



.btn_send:hover {
  background-color: #43558a;
  color: #FFF;

}

.btn_valid{
  width: 100%; padding:15px; margin-top:20px; border-radius:10px; border: .0625rem solid var(--primary-color); background-color: var(--primary-color); color: #FFF; font-weight: 900; 
  cursor: pointer !important;  
}

.btn_valid:hover{
  color: #FFF;  
  cursor: pointer !important; 
  background-color: #3275a8;
}


#results {
  max-height: 200px;
  overflow-y: auto;
  border-radius: 5px;
  padding: 0px;
  position: absolute;
  z-index: 100;
  margin-top: -10px;
  width: calc(70% - 408px);
  background-color: #fff;
}



.city {
  cursor: pointer;
  margin: 10px 10px 10px 35px;
  padding: 5px;
  background-color: #f9f9f9;
  border-radius: 5px;
}

.city:hover {
  background-color: #e9e9e9;
}


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


  .menu {
    width: 100%;
    display: block;
    display: flex;
    height: 50px;
    align-items: center;
  }

  .link_box {
    float: left;
    width: 40px;
  }

  .link_btm {
    float: right;
    position: relative;
  }

  .active:after {
    display: none;
  }

  .links {
    width: calc(100% - 70px);
    display: flex;
    justify-content: center;
    margin-top: 5px;
  }

  .col_menu {
    width: 100%;
  }

  .col_1 {
    width: calc(100% - 60px);
    margin-top: 30px;
  }

  .col_2 {
    width: calc(100% - 60px);
    margin-left: 30px;
  }

  .col_50_1 {
    margin-top: 30px;
    width: calc(100% - 60px);
    margin-left: 0px;
    height: auto;
  }


  .col_50_2 {
    width: calc(100% - 60px);
    margin-left: 0px;
    height: auto;
    margin-bottom: 50px;
    margin-left: 30px;
  }

  .col_25 {
    width: calc(100% - 60px);
    margin-left: 0px;
    height: auto;
  }

  .col_75 {
    width: calc(100% - 60px);
    margin-left: 0px;
    height: auto;
    margin-bottom: 50px;
    margin-left: 30px;
    margin-top: 0px;
    padding-top: 0;
  }


  .col_100 {
    float: left;
    width: calc(100% - 60px);
    padding-top: 30px;
    margin-bottom: 30px;
    margin-left: 30px;
  }


  .col_50_m {
    float: left;
    width: calc(100% - 50px);
    padding: 0px;
    margin-left: 30px;
  }



  #results {
    width: calc(100% - 60px);
  }

  .strava_connect_box {
    float: none;
    width: 100%;
    margin-bottom: 10px;
  }

  .search_box {
    width: 100%;
  }
}

.form-control {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-clip: padding-box;
  background-color: #f3f8ff;
  border: 1px solid transparent;
  border-radius: var(--bs-border-radius-sm) 0 var(--bs-border-radius-sm) 0;
  box-shadow: 0 0;
  color: var(--bs-body-color);
  display: block;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.6;
  padding: .75rem 1.25rem;
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
  width: calc(100% - 40px);
}

.color_selector_box {
  width: 20px;
  height: 20px;
  border-radius: 3px;
  display: inline-block;
  margin-right: 5px;
}

.alert-primary {
  color: green;
}

#legal p {
  line-height: 20px;
  text-align: justify;
}


#changelog hr {
  border: 0;
  height: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}


.footer_link {
  font-size: 10px;
  text-align: center;
  margin-top: 20px;
}

.footer_link a {
  color: #333;
}

.under_box {
  background-color: #fff;
  border-radius: 5px;
  padding: 15px;
  box-shadow: inset 0 4px 40px 0 rgba(0, 0, 0, 0.1);
  text-align: center;
}

#comments {
  margin-top: 20px;
}

.picture_user {
  float: left;
  width: 50px;
  min-height: 50px;
}

.picture_user img {
  border-radius: 2px;
}

.comment_user {
  float: left;
  width: calc(100% - 50px);
}

.comment_user textarea {
  width: calc(100% - 15px);
  border: none;
  font-family: "BentonSans-Regular";
  min-height: 30px;
  resize: none;
}

.comment_user textarea:focus {
  overflow: hidden;
  outline: none;
}

.comment_user p {
  margin-top: 15px;
  margin-bottom: 10px;
}

.actions_user {
  float: right;
  bottom: 0;
  margin-bottom: 10px;
  width: 128px;
  text-align: center;
  margin-top: 2px;
  border: #43558a solid 1px;
  border-radius: 2px;
  padding: 10px;
  font-size: 12px;
  color: #43558a;
}

.sort_box {
  font-size: 12px;
  font-weight: bold;
  margin-top: 30px;
}

.sort_box select {
  border: none;
}

.comment {
  margin-top: 25px;
  color: #333;
  margin-bottom: 20px;
}

.comment .comment_user {
  font-size: 15px;
  line-height: 20px;
  width: calc(100% - 50px);
}

.comment .comment_username {
  font-weight: bold;
  margin-bottom: 15px;
  margin-top: 5px;
}

.comment .comment_action_box {
  font-size: 12px;
  font-weight: bold;
  display: inline-flex;
}

.comment .comment_action_box .act {
  margin-right: 30px;
  display: inline;
  min-width: 30px;
  margin-bottom: 10px;
}

.add_comment_box_in {
  width: 100%;
  margin-top: 20px;
}

.add_comment_box_in .comment_user {
  float: left;
  width: calc(100% - 50px);
}

.add_comment_box_in .comment_user textarea {
  width: calc(100% - 15px);
  border: none;
  font-family: "BentonSans-Regular";
  height: 30px;
  resize: none;
}

.add_comment_box_in .actions_user {
  float: right;
  margin-bottom: 12px;
}

.v_line {
  margin-top: 4px;
  margin-left: 18px;
  border-radius: 2px 2px 0 0;
  border-left: 4px solid #ccc;
  margin-bottom: 10px;
}


.auto-resize {
  overflow: hidden;
  /* Cache la barre de défilement */
  resize: none;
  /* Empêche le redimensionnement manuel */
  min-height: 50px;
  /* Hauteur minimale */
  max-height: 300px;
  /* Hauteur maximale */
}

.btn_load_more_div {
  text-align: center;
}

.btn_load_more {
  bottom: 0;
  margin-bottom: 10px;
  width: 128px;
  text-align: center;
  margin-top: 2px;
  border: #43558a solid 1px;
  border-radius: 2px;
  padding: 10px;
  font-size: 12px;
  color: #43558a;
}

.comment_1_box {
  border: #43558a solid 1px;
  color: #43558a;
  background-color: #FFF;
  border: none;
  cursor: pointer;
  font-size: 12px;
}

#news p {
  line-height: 20px;
}

.newsroom {
  padding: 8px;
  margin: 0;
}

.newsroom:hover {
  background-color: #e9e9e9;
  cursor: pointer;
}

.newsroom_list {
  height: 300px;
  overflow-y: auto;
}

.newsroom_list hr {
  border: 0;
  margin: 0;
  height: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0;
}

.newsroom_list h2 {
  font-weight: bold;
  margin: 0;
}

.newsroom_list .date {
  font-size: 12px;
  padding-top: 5px;
}

.newsroom_list a {
  color: #000
}

;

#news {
  font-size: 14px;
}

#comments {
  margin-top: 0;
  padding-top: 0;
}

#comments hr {
  border: 0;
  margin: 0;
  height: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0;
}

.black_link {
  color: #000;
}

.badge {
  position: relative;
  margin: 0.2em 1.7em;
  width: 50px;
  height: 76px;
  border-radius: 10px;
  display: inline-block;
  top: 0;
  transition: all 0.2s ease;
}

.badge:before,
.badge:after {
  position: absolute;
  width: inherit;
  height: inherit;
  border-radius: inherit;
  background: inherit;
  content: "";
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

.badge:before {
  transform: rotate(60deg);
}

.badge:after {
  transform: rotate(-60deg);
}

.badge:hover {
  top: -4px;
}

.badge .circle {
  width: 46px;
  height: 35px;
  position: absolute;
  background: #fff;
  z-index: 10;
  border-radius: 50%;
  top: -20px;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  padding: 10px 0px 0px 0px;
  text-align: center;
}

.badge .circle i.fa {
  font-size: 24px;
  margin-top: 8px;
}

.badge .font {
  display: inline-block;
  margin-top: 1em;
}

.badge .ribbon {
  text-align: center;
  position: absolute;
  border-radius: 4px;
  padding: 5px 5px 0px;
  width: 74px;
  z-index: 11;
  color: #fff;
  bottom: 12px;
  left: 50%;
  margin-left: -43px;
  height: 23px;
  top: 52px;
  font-size: 10px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.27);
  text-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
  text-transform: uppercase;
  background: linear-gradient(to bottom right, #555 0%, #333 100%);
  cursor: default;
}

.yellow {
  background: linear-gradient(to bottom right, #ffeb3b 0%, #fbc02d 100%);
  color: #ffb300;
}

.orange {
  background: linear-gradient(to bottom right, #ffc107 0%, #f57c00 100%);
  color: #f68401;
}

.pink {
  background: linear-gradient(to bottom right, #F48FB1 0%, #d81b60 100%);
  color: #dc306f;
}

.red {
  background: linear-gradient(to bottom right, #f4511e 0%, #b71c1c 100%);
  color: #c62828;
}

.purple {
  background: linear-gradient(to bottom right, #ab47bc 0%, #4527a0 100%);
  color: #7127a8;
}

.teal {
  background: linear-gradient(to bottom right, #4DB6AC 0%, #00796B 100%);
  color: #34a297;
}

.blue {
  background: linear-gradient(to bottom right, #4FC3F7 0%, #2196F3 100%);
  color: #259af3;
}

.blue-dark {
  background: linear-gradient(to bottom right, #1976D2 0%, #283593 100%);
  color: #1c68c5;
}

.green {
  background: linear-gradient(to bottom right, #cddc39 0%, #8bc34a 100%);
  color: #7cb342;
}

.green-dark {
  background: linear-gradient(to bottom right, #4CAF50 0%, #1B5E20 100%);
  color: #00944a;
}

.silver {
  background: linear-gradient(to bottom right, #E0E0E0 0%, #BDBDBD 100%);
  color: #9e9e9e;
}

.gold {
  background: linear-gradient(to bottom right, #e6ce6a 0%, #b7892b 100%);
  color: #b7892b;
}

.size-18 {
  width: 16px;
  height: 16px;
}


.notifications_badge {
  border-radius: 15px;
  width: 30px;
  height: 30px;
  text-align: center;
  color: #FFF;
  background-color: #b3072c;
  float: right;
  margin-top: -64px;
  margin-right: -5px;
  padding: 6px 4px 13px 4px;
  font-size: 12px;
  box-shadow: #ccc 0px 0px 20px;
  border: solid 2px #fff;
}


.notifications_badge_no {
  border-radius: 15px;
  width: 30px;
  height: 30px;
  text-align: center;
  color: #FFF;
  background-color: #ececec;
  float: right;
  margin-top: -64px;
  margin-right: -5px;
  padding: 6px 4px 13px 4px;
  font-size: 12px;
  box-shadow: #ccc 0px 0px 10px;
  border: solid 2px #fff;
}

.link_notif_box {
  color: #000;
}

.notifications_box {
  position: absolute;
  float: right;
  z-index: 99;
  max-height: 300px;
  background-color: #FFF;
  width: calc(70% - 160px);
  margin-top: 70px;
  box-shadow: #ccc 0px 10px 10px;
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 5px;
}

.notifications_box ul {
  max-height: 300px;
  overflow-y: auto;
  margin: 0;
  padding: 0;
}

.notifications_box li {
  min-height: 40px;
  border-bottom: #ccc solid 1px;
  padding: 10px;
  font-size: 13px;
  background-color: transparent;
}

.notifications_box li img {
  width: 40px;
  float: left;
  border-radius: 2px;
}

.notifications_box .text {
  float: left;
  width: calc(100% - 80px);
  padding: 5px 10px 10px 10px;
  line-height: 15px;
}

.unclicked li {
  background-color: #cccccc62
}

.notifications_box li:hover {
  background-color: #E0E0E0;
}


.login_input_box{
  width: calc(100% - 35px); padding:15px; margin-top:20px; border-radius:10px; border: .0625rem solid #ccc
}
.login_btn_box{ 
  width: 100%; padding:15px; margin-top:20px; border-radius:10px; border: .0625rem solid var(--primary-color); background-color: var(--primary-color); color: #FFF; font-weight: 900; 
}

#login_center {margin-left: -100px;}
#login_center p{line-height: 20px !important; margin-bottom: 0;}
#login_center a{color:var(--primary-color)}
@media only screen and (max-width: 800px) {
  .notifications_box {
    position: absolute;
    float: right;
    z-index: 99;
    max-height: 300px;
    background-color: #FFF;
    width: calc(100% - 60px);
    margin-top: -13px;
    box-shadow: #ccc 0px 10px 10px;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
  }

  .notifications_box ul {
    max-height: 300px;
    overflow-y: auto;
    margin: 0;
    padding: 0;
  }

  .notifications_box li {
    border-bottom: #ccc solid 1px;
  }


  #login_center{margin-left: -5px !important;}
}


.info_red{color: red;}

.checkbox_input{ margin-top: 10px; margin-bottom: -5px;}


.alert {
  background-color: #ecfdf5;
  border: 1px solid #34d399;
  border-radius: 6px;
  padding: 16px;
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
}
.check-icon {
  width: 24px;
  height: 24px;
  fill: #059669;
  margin-right: 12px;
  flex-shrink: 0;
}
.alert-content {
  flex: 1;
}
.alert-title {
  color: #065f46;
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 4px 0;
}
.alert-description {
  color: #047857;
  margin: 0;
}

.alert_red {
  background-color: #fef2f2;
  border: 1px solid #ef4444;
  border-radius: 6px;
  padding: 16px;
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
}

.alert-title_red {
  color: #991b1b;
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 4px 0;
}
.alert-description_red {
  color: #b91c1c;
  margin: 0;
}

.info-text {
  color: #4b5563;
  text-align: center;
  margin: 20px 0;
  line-height: 1.5;
}

.error-icon {
  width: 24px;
  height: 24px;
  fill: #dc2626;
  margin-right: 12px;
  flex-shrink: 0;
}

.loader {
  border: 3px solid #f3f3f3; /* couleur de fond */
  border-top: 3px solid #3498db; /* couleur du spinner */
  border-radius: 50%;
  width: 20px;
  height: 20px;
  animation: spin 0.8s linear infinite;
  display: inline-block;
  vertical-align: middle;
  margin-left: 8px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 10px 18px;
  border-radius: 20px;
  font-size: 14px;
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
  z-index: 9999;
  width: 70%;
  text-align: center;
}

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