/*
###########################################################
###########################################################
###  _______ _____  _____ _   _          _____   _____  ###
### |__   __|  __ \|_   _| \ | |   /\   |  __ \ / ____| ###
###    | |  | |__) | | | |  \| |  /  \  | |__) | (___   ###
###    | |  |  _  /  | | | . ` | / /\ \ |  ___/ \___ \  ###
###    | |  | | \ \ _| |_| |\  |/ ____ \| |     ____) | ###
###    |_|  |_|  \_\_____|_| \_/_/    \_\_|    |_____/  ###
###                                                     ###
###########################################################
# SITE WEB : https://www.trinaps.com ######################
# version : prod 2.3 ######################################
###########################################################
*/
@font-face {
  font-family:"Manrope-Light";
  src:url(../fonts/Manrope-Light.ttf)
}
@font-face {
  font-family:"Manrope-Medium";
  src:url(../fonts/Manrope-Medium.ttf)
}
@font-face {
  font-family:"Manrope-Regular";
  src:url(../fonts/Manrope-Regular.ttf)
}
@font-face {
  font-family:"Manrope-ExtraBold";
  src:url(../fonts/Manrope-ExtraBold.ttf)
}
@font-face {
  font-family:"Manrope-Bold";
  src:url(../fonts/Manrope-Bold.ttf)
}

@font-face {
    font-family:"Calibri_W01_Regular.ttf";
    src:url(../fonts/Calibri_W01_Regular.ttf)
}
@font-face {
  font-family:"fa-solid-900";
  src:url(../fonts/fa-solid-900.woff2)
}

@font-face {
  font-family:"Raleway-VariableFont_wght";
  src:url(../fonts/Raleway-VariableFont_wght.ttf)
}

html{
    font-family: "Raleway-VariableFont_wght";
    color : black;
    margin:0;
}
  body{
      margin : 0;
      background-color: rgb(255, 255, 255);
      /*min-height: 1400px;*/
  }
  #chart-container {
    width: 91%;
    height: auto;
    color: black;
  }
  
  .tdbouton{
    min-width: 200px;
    max-width: 200px;
  }

  .switch {
    position: relative;
    display: inline-block;
    width: 49px;
    height: 19px;
  }  
  
  /* Hide default HTML checkbox */
  .switch input {
    opacity: 0;
    width: 0;
    height: 0;
  }
  .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgb(0, 204, 255);
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  .slider:before {
    position: absolute;
    content: "";
    height: 15px;
    width: 15px;
    left: 4px;
    bottom: 2px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
  }
  .zonetext{
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    min-height: 200px;
    width: 96%;
    max-width: 1500px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 1%;
  }
  .boutonvalid{
    text-transform: none;
    color: #fff;
    background-color: #204d74;
    border-color: #122b40;
    display: inline-block;
    margin-bottom: 0;
    font-family: "Raleway-VariableFont_wght";
    font-weight: normal;
    text-align: center;
    vertical-align: middle;
    touch-action: manipulation;
    cursor: pointer;
    background-image: none;
    border: 1px solid transparent;
    white-space: nowrap;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    border-radius: 4px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    zoom: 120%;
    margin-bottom: 15px;
  }
  .linknotice {
      background: linear-gradient(135deg, #3f88c8 0%, #2e6a9e 100%);
      color: white;
      border: none;
      padding: 12px 35px;
      font-size: 16px;
      font-weight: 500;
      border-radius: 6px;
      cursor: pointer;
      text-decoration: none;
      display: inline-block;
      box-shadow: 0 4px 15px rgba(63, 136, 200, 0.3);
      transition: all 0.3s ease;
      position: relative;
      overflow: hidden;
      text-align: center;
      vertical-align: middle;
      line-height: 1.42857143;
      margin-bottom: 15px;
  }

  .linknotice::before {
      content: '';
      position: absolute;
      top: 50%;
      left: 50%;
      width: 0;
      height: 0;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.2);
      transform: translate(-50%, -50%);
      transition: width 0.6s, height 0.6s;
  }

  .linknotice:hover::before {
      width: 300px;
      height: 300px;
  }

  .linknotice:hover {
      box-shadow: 0 6px 25px rgba(63, 136, 200, 0.5);
  }


  input:checked + .slider {
    background-color: #2196F3;
  }
  
  input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
  }
  
  input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
  }
  
  /* Rounded sliders */
  .slider.round {
    border-radius: 34px;
  }
  
  .slider.round:before {
    border-radius: 50%;
  }
  .titreinfo{
    color: #3F88C8 !important;
  }

  .imgposte {
    width: 380px;
    max-width: 380px;
    max-height: 380px;
  }
  .caracteristique{
    text-align: start;
    font-size: 1.3em;
  }
  #nomberview{
    display: flex;
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
  }
  
  td{
      padding-left: 20px;
      padding-right: 20px;
      font-size : 12px;
      text-align: center;
  }
  form{
    margin-block-end: 0;
  }
  th{
      font-size : 17px;
  /*color : rgba(255,100,100,1);*/
  }
  a{
      color : rgba(100,150,255,1);
  }
  h2{
      margin-block-end : 0;
  }
  p{
    text-align: justify;
    text-justify: inter-word;
  }

  .bouton{
      background-image: linear-gradient(to right, #16A085 0%, #F4D03F 51%, #16A085 100%);
      font-size: 20px;
      padding: 10px;
      text-decoration: none;
      text-align: center;
      text-transform: uppercase;
      transition: 0.5s;
      background-size: 200% auto;
      color: white;
      /*box-shadow: 0 0 20px #eee;*/
      border-radius: 10px;
      display: block;
      width: 80px;
      margin-top: 50px;
  
  }
  .bouton:hover { 
      background-position: right center;
  }
  
  #menu2{
    border-bottom: 6px solid #23adff;
    padding: 5px;
    padding-top: 2%;
  }
  
  /*---- DÃ©but Menu ----*/
  #menu{
    background-color: #0086D5;
    display: block;
    width: 100%;
    /*position: fixed; version 1.4*/ 
  }
  
  #menugr{
   width: 70%;
  }
  
  #menudr{
  max-width: 250px;
  position: absolute;
  right: 0;
  display: flex;
  }
  nav#menubar1 { /* menu */
  
      padding-left: 5px;
      padding-right:5px;
      border: #083a7c;
      display: block;
      background-color: #0086D5;
      margin-left: auto;
      margin-right: auto;
      position: relative;
      display: flex;
  } 
  .linkmenu{
    cursor:pointer;
    border-width: 0;
    border-style: none;
    border-image: none;
    position: relative;
    font-size: 17px;
    background:none;
    padding: 15px 20px; /* dimention des cases */
    color: rgb(255, 255, 255);
    text-decoration: none;
    display: inline-block; /*crÃ©ation de block*/
  }

  #menudruser{
    margin-block-start: 0;
    margin-block-end: 0;
    color: #fff;
    padding-top: 5px;
    padding-right: 7px;
  }
  
  nav#menubar2 { /* menu */
  
      padding-left: 5px;
    padding-right:5px;
      border: #083a7c;
    display: block;
    background-color: #0086D5;
    margin-left: auto;
    margin-right: auto;
    position: initial;
    /*width: -moz-fit-content;*/
    /*width: fit-content;*/
  
  } 
  

  .linkmenu:hover{ /*vurvol avec la sourie*/
      background: #1E2942;
      color: #FFFFFF;
    text-decoration: none;
  }
  .menuform{
    margin: 0;
    display: block;
  }
  
  th{
    padding-bottom: 12px;
  }
  
  td{
    border-bottom: 1px solid rgba(255, 255, 255, 0.294);
    padding-top: 4px;
    padding-bottom: 4px;
  }
  
  #param{
      background-color: rgb(79, 93, 90);
      border: none;
      color: white;
      padding: 12px 16px;
      font-size: 16px;
      cursor: pointer;
  }
  
 
  table{
    margin-bottom : 40px;
  }
  
  .linkpage{
    cursor:pointer;
    border-width: 0;
    border-style: none;
    /*border-color: none;*/
    border-image: none;
   /* rÃ©grage de menu */
      position: relative;
      font-size: 15px;
      background:none;
      padding: 5px 5px; /* dimention des cases */
      color: rgb(255, 255, 255);
  
      text-decoration: none;
      /*border-radius: 6px;*/
      display: inline-block; /*crÃ©ation de block*/
  }
  
  
  .linkpage:hover{ /*vurvol avec la sourie*/
      background: rgb(230, 130, 0);
      color: #FFFFFF;
      text-decoration: none;
  }

.mobile{
  padding-left: 0px;
  padding-right: 0px;
}

footer{
  height: 25px;
}

#mentions{
  text-align: center;
  padding-top: 20px;
  padding-bottom: 30px;
  font-size: 15px;
}

.zonetextmentions h2{
  margin-top: 15px;
}
.zonetextmentions h3{
  margin-top: 15px;
}
  
.linkmenuactive{ /*survol avec la sourie*/
  cursor:pointer;
  border-width: 0;
  border-style: none;
  border-image: none;
  position: relative;
  font-size: 17px;
  background:none;
  padding: 15px 20px; /* dimention des cases */
  color: rgb(255, 255, 255);
  text-decoration: none;
  display: inline-block; /*crÃ©ation de block*/
  background: #1E2942;
}



.menutrinaps {
  font-size: 16px;
  line-height: 1.6;
  text-align: center;
  padding-bottom: 20px;
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
  padding: 20px;
}

.menutrinaps p {
  font-size: 1.2em;
  line-height: 1.6;
  color: #333;
  text-align: center;
}

.menutrinaps a.lientrinaps {
  color: white;
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.3s ease;
}

.menutrinaps a.lientrinaps:hover {
  color: #81D4FA;
  text-decoration: none;
}

/*2.3*/


/* ===== Recherche dans la barre de navigation ===== */
 
#menugr {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
}
 
#search-wrapper {
    position: relative;
    margin-left: auto;
    align-self: center;
    margin-top: 4px;
    margin-bottom: 4px;
}
 
#search-input {
    padding: 7px 16px;
    border-radius: 20px;
    border: none;
    font-size: 15px;
    width: 220px;
    outline: none;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-family: inherit;
    transition: background 0.2s, width 0.2s;
}
 
#search-input::placeholder {
    color: rgba(255, 255, 255, 0.75);
}
 
#search-input:focus {
    background: rgba(255, 255, 255, 0.95);
    color: #222;
    width: 300px;
}
 
#search-input:focus::placeholder {
    color: #aaa;
}
 
/* Liste de suggestions */
#search-suggestions {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    min-width: 100%;
    max-height: 320px;
    overflow-y: auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
    list-style: none;
    margin: 0;
    padding: 4px 0;
    z-index: 1000;
}
 
#search-suggestions li {
    padding: 10px 18px;
    font-size: 15px;
    color: #222;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    outline: none;
}
 
#search-suggestions li:last-child {
    border-bottom: none;
}
 
#search-suggestions li:hover,
#search-suggestions li:focus {
    background: #e8f2fc;
    color: #0086D5;
}
 
/* ===== Highlight modèle ciblé via #modele-XXX ===== */
 
@keyframes highlightFade {
    0%   { box-shadow: 0 0 0 4px #3F88C8; }
    70%  { box-shadow: 0 0 0 4px #3F88C8; }
    100% { box-shadow: none; }
}
 
.highlight-modele {
    animation: highlightFade 2s ease-out forwards;
    border-radius: 8px;
}
 
/* ===== Mobile : on cache le champ de recherche ===== */
 
@media (max-width: 700px) {
    #search-wrapper {
        display: none;
    }
}
