/* =================================== */
/*  Init style 
/* =================================== */
body, html {
  font-family: Arial, sans-serif;
}

:root{

  /* Color */
  --color-light : #f1f1f1;
  --color-code : #a4a5a8;
  --color-function : #e6d809;
  --color-ini : #4f76ed;
  --color-dark : #f1f1f1;
  --color-green : #017b19;
  --color-red : #d32b01;
  --color-black : #000;

  /* Background-color */
  --background-light : #ffff;
  --background-dark : #090910;
  --background-navy : #05050a;
  --background-code : #141a2c;

   /* Font-size */
  --main-font : 12px; 
}

.index-content{
  margin: 0;
  padding: 0;
}

a{
  text-decoration: none;
  color: var(--color-black);
}

.mt-100 {
  margin-top: 100px;
}

.mt-70 {
  margin-top: 70px;
}

.mt-50 {
  margin-top: 50px;
}

.mt-30 {
  margin-top: 30px;
}

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

.mt-10 {
  margin-top: 10px;
}

.mb-100 {
  padding-bottom: 100px;
}

.mb-70 {
  padding-bottom: 70px;
}

.mb-50 {
  padding-bottom: 50px;
}

.mb-30 {
  padding-bottom: 300px;
}

.mb-20 {
  padding-bottom: 20px;
}

.mb-10 {
  padding-bottom: 10px;
}

.pt-100 {
  padding-top: 100px;
}

.pt-70 {
  padding-top: 70px;
}

.pt-50 {
  padding-top: 50px;
}

.pt-30 {
  padding-top: 300px;
}

.pt-20 {
  padding-top: 20px;
}

.pt-10 {
  padding-top: 10px;
}

.pb-100 {
  padding-bottom: 100px;
}

.pb-70 {
  padding-bottom: 70px;
}

.pb-50 {
  padding-bottom: 50px;
}

.pb-30 {
  padding-bottom: 300px;
}

.pb-20 {
  padding-bottom: 20px;
}

.pb-10 {
  padding-bottom: 10px;
}

/* Style for header */

header {
  background-color: var(--background-light);
  padding: 20px;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  width: 200px;
  height: auto;
}

.logo .desconnect{
  font-size: 17px;
  text-align: center;
  color: var(--color-red);
}

.menu-toggle {
  display: none;
}

.menu nav ul {
  list-style: none;
  display: flex;
}

.menu nav ul li {
  margin-right: 20px;
}

/* Style pour les sous-menus */
.navbar .navbar-toggler{
  border: 1px solid #000;
  font-size: 25px;
}

#main-menu{
  margin: auto;
}

#main-menu a{
  color: #05050a;
}

.documentation a{
  color: var(--color-red);
  padding: 7px 17px;
  border: 1px dashed var(--color-red);
}

/* End style for header */

.index_started{
  margin: 80px auto;
  width: 50%;
}

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

  #navbar1 ul li{
    border-bottom: 1px solid #ddd;
  }  

  .index_started{
    width: 90%;
  }
  .documentation{
    width: 100%;
    margin-top: 17px;
  }  

  .documentation a{
    padding: 7px 100px;
  }  
}

.index_started h1{
  text-align: center;
}

.index_started p{
  text-align: center;
}

.index_buttom{
  text-align: center;
}

.index_buttom a{
  border: 1px dashed var(--color-red);
  color: var(--color-red);
  padding: 10px 20px 10px 20px;
}

.index_buttom a:hover{
  border: 1px solid var(--color-red);
  color: var(--color-light);
  background-color: var(--color-red);
  border-radius: 5px;
}

.index_illustrations{
  margin-top: 200px;
}

.index_illustrations .illustration img{
border-radius: 15px;
}

.index_advantages{
  margin-top: 130px;
  margin-bottom: 30px;
}

.index_advantages .boxicon{
  font-size: 80px;
  margin-bottom: 10px;
}

.arcticle p{
  text-align: left;
}

.arcticle span strong{
  text-align: center;
}

.footer{
  padding: 30px;
  margin-top: 70px;
}

.formConnexion {
  margin: 200px auto 40px;
  width: 35%;
  box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.1), 0 2px 10px 0 rgba(0, 0, 0, 0.1);
  padding: 17px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  background: #ffffff;
}

.formRegister {
  margin: 100px auto 40px;
  width: 50%;
  box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.1), 0 2px 10px 0 rgba(0, 0, 0, 0.1);
  padding: 17px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  background: #ffffff;
}

.formConnexion .form-control {
  padding-left: 0;
  padding-right: 0;
  border: 0;
  border-radius: 0;
  margin-bottom: 17px;
  background-color: transparent;
  -webkit-box-shadow: 0 1px 0 #e6e6e6;
  box-shadow: 0 1px 0 #e6e6e6;
}

.reponses {
  text-align: center;
  color: var(--color-red);
  font-style: italic;
}

.texthead{
  font-size: 20px;
  text-align: center;
}

.epaphrodite a{
  color: var(--color-red);
  font-weight: 700;

}

#BtnValidate{
  width: 100%;
}

.chatcard {
  width: 90%;
}

#chat3 .form-control {
  border-color: transparent;
}

#chat3 .form-control:focus {
  border-color: transparent;
  box-shadow: inset 0px 0px 0px 1px transparent;
}

.badge-dot {
  border-radius: 50%;
  height: 10px;
  width: 10px;
  margin-left: 2.9rem;
  margin-top: -0.75rem;
}

.text-muted.d-flex.justify-content-start.align-items-center.pe-3.pt-3.mt-2 {
  position: absolute;
  bottom: 5px;
  width: calc(64% - 20px);
  background-color: #fff;
  border: 0.5px solid #6d6d6f;
  padding: 10px;
  border-radius: 15px;
}

.wrapper {
  width: 90%;
  margin: 30px auto;
}

.wrapper .box {
  border: 1px solid #efefef;
  padding: 10px 15px;
  min-height: 600px;
  max-height: 600px;
  overflow-y: scroll;
}

.wrapper .box .item {
  display: flex;
  float: left;
  margin: 10px 0;
}

.wrapper .typing-area {
  width: 80.7%;
  height: 50px;
  display: flex;
  padding: 10px;
  align-items: center;
  justify-content: center;
  position: fixed;
  bottom: 0;
}

.wrapper .typing-area .input-field {
  width: 100%;
  position: relative;
  bottom: 40px;
  border-radius: 10px;
}

.wrapper .typing-area .input-field input {
  width: 100%;
  padding: 10px 10px 10px 50px;
  outline: none;
  border: none;
  border-radius: 0px;
  transition: 0.3s all ease;
  font-family: "Poppins", sans-serif;
  border-radius: 10px;
  border: 1px solid #00738c;
}


.wrapper .typing-area .input-field #startButton{
  width: 5%;
  top: 40%;
  left: 0px;
  cursor: pointer;
  position: absolute;
  transform: translateY(-50%);
  border: none;  
}

.wrapper .typing-area .input-field #BtnValidate {
  width: 5%;
  top: 40%;
  right: 7px;
  cursor: pointer;
  position: absolute;
  transform: translateY(-50%);
  border: none;
}

.wrapper .typing-area .input-field #BtnValidate i{
  font-size: 30px;
  color: var(--color-red);
}

.wrapper .typing-area .input-field #startButton i{
  font-size: 25px;
  color: var(--color-red);
}

pre.code {
  padding: 10px;
  border-radius: 10px;
  color: var(--color-code);
  background-color: var(--background-code);
}

em.bot{
  font-style: normal;
  background-color: var(--background-main);
  color: var(--color-red);
  padding: 2px 10px 3px 10px;
}

@media(max-width:767px) {
  .cardform {
      margin: 100px auto;
      width: 90%;
      box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.1), 0 2px 10px 0 rgba(0, 0, 0, 0.1);
      padding: 17px;
      border-bottom-left-radius: 10px;
      border-bottom-right-radius: 10px;
      background: #ffffff;
  }

  .wrapper {
    width: 100%;
    margin: 30px auto;
  }  

  .wrapper .typing-area {
    width: 90%;
    margin: auto;
  }  

  .wrapper .typing-area .input-field #BtnValidate {
    right: 40px;
  }

  .formConnexion {
    margin: 100px auto 40px;
    width: 90%;
  }

  .formRegister {
    margin: 50px auto 40px;
    width: 90%;
  }
}

textarea{
  resize: none;
}

#searchGroup {
  padding: 0px 0px 0px 15px;
  border-radius: 20px;
  border: 0.5px solid #444444;
}

.searchCard {
  width: 25%;
  float: left;
  padding: 1.5px;
}

#LargeFilters::placeholder {
  font-style: italic;
  font-weight: 100;
}

.button_design button{
  border-radius: 20px;
}

input[type="date"]::-webkit-inner-spin-button,
input[type="date"]::-webkit-calendar-picker-indicator {
  display: none;
  -webkit-appearance: none;
}

.select2-container .select2-selection--single {
  height: 38px;
  border-radius: 4px;
  border: 1px solid #d2cfcf;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 38px;
  padding-left: 10px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 38px;
}

.select2-dropdown {
  border-radius: 4px;
  border: 1px solid #d2cfcf;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background-color: #f1f1f1;
  color: #333;
}

select[disabled] {
  background-color: #e9ecef;
  color: #000;
}

#dropdownMenuButton{
  background-color: #fff;
 }
 
 .dropdownEpaphroditesSelector fieldset{
   padding-left: 20px;
   width: 100%;
 }
 
 .epaphroditesSelector{
   width: 100%;
   border: 1px solid var(--dark-color);
 }
 
 .epaphroditesSelector .dropdown-menu{
   width: 100%;
   border: 1px solid var(--dark-color);
 }
 
 #dropdownMenuButton i{
   font-size: 14px;
   font-weight: bold;
   float: right;
 }

 #tdTableContent select{
  font-size: 9px;
  margin: 0px;
  border-radius: 0px;
}

.multiSelectForm {
  position: relative;
  width: 100%;
}

.multiSelectForm .form-label {
 
  color: #333;
  margin-bottom: 9px;
}

.multiSelectForm .dropdown .btn {
  background-color: #ffffff;
  border: 1px solid #ced4da;
  color: #333;
  padding: 8px 12px;
  border-radius: 5px;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.multiSelectForm .dropdown .btn:hover {
  background-color: #f8f9fa;
  border-color: #b8bfc6;
}

.multiSelectForm .dropdown-menu {
  max-height: 250px;
  overflow-y: auto;
  border-radius: 5px;
  border: 1px solid #ced4da;
  padding: 10px 10px 10px 20px;
}

.multiSelectForm .form-check {
  padding: 5px 10px;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}

.multiSelectForm .form-check:hover {
  background-color: #f1f3f5;
  border-radius: 4px;
}

.multiSelectForm .form-check-input {
  margin-right: 10px;
  cursor: pointer;
}

.multiSelectForm .form-check-label {
  cursor: pointer;
  font-size: 14px;
  color: #333;
}

.multiSelectForm .dropdown-toggle::after {
  display: none;
}

.multiSelectForm .dropdown-menu::-webkit-scrollbar {
  width: 6px;
}

.multiSelectForm .dropdown-menu::-webkit-scrollbar-thumb {
  background-color: #adb5bd;
  border-radius: 4px;
}

.multiSelectForm .dropdown-menu::-webkit-scrollbar-track {
  background: #f8f9fa;
  border-radius: 4px;
}

.radio-main-label {
  font-weight: bold;
  display: block;
}


.signature-container {
  position: relative;
  border: 1px solid var(--color-grey);
  width: 400px;
  height: 200px;
}

.clear-signature {
  position: absolute;
  top: 5px;
  right: 5px;
  border: none;
  background-color: var(--color-red);
  color: var(--color-white);
  padding: 5px;
  font-size: 17px;
  cursor: pointer;
}

.clear-signature:hover {
  background-color: var(--color-red);
}

.signature-canvas {
  width: 100%;
  height: 100%;
}

.digital-clock {
  font-family: 'Helvetica', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-red);;
  padding: 10px;
  margin: 0px auto 10px;
  border: 1px solid var(--color-red);;
}

.digital-clock .week {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-red);;
}

.digital-clock .week div {
  padding: 4px 6px;
  border-radius: 5px;
  color: var(--color-red);
  font-size: 10px;
  text-align: center;
}

.digital-clock .week .active {
  background: var(--color-red);
  color: #fff;
  font-weight: bold;
  border-radius: 0px;
}

.digital-clock .time {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 50px;
  font-weight: bold;
  padding-top: 10px;
}

.digital-clock .dot {
  margin: 0 5px;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.digital-clock .date {
  font-size: 16px;
  font-weight: bold;
  padding: 5px;
  width: 100%;
  border-top: 2px solid var(--color-red);
}

#calendar {
  margin: 0px auto 10px;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  background: var(--color-white);
  padding: 5px;
}

.calendar-header {
  display: flex;
  padding: 7px;
  font-size: 20px;
  font-weight: 500;
  text-align: center;
  align-items: center;
  margin-bottom: 10px;
  color: var(--color-red);
  justify-content: space-between;
  border-bottom: 1px solid var(--color-red);
}

.calendar-body {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  padding: 10px;
}

.calendar-day-name {
  color: var(--dark-color);
  text-align: center;
  padding: 8px 0;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
}

.calendar-day {
  background: var(--color-white);
  color: var(--dark-color);
  text-align: center;
  padding: 0px 0;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.calendar-day:hover {
  background: var(--color-red);
  color: var(--color-white);
}

.calendar-header button{
  border: 0px;
  background: none;
}

.calendar-day.today {
  background-color: var(--color-red);
  color: var(--color-white);
}

.calendar-day.empty {
  background: transparent;
  cursor: default;
}

.calendar-day.empty:hover {
  background: transparent;
  color: var(--dark-color);
}

.calendar-header button {
  font-size: 20px;
  padding: 5px;
  cursor: pointer;
}

.gauge-container {
  width: 125px;
  height: 125px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto;
}

.gauge {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background 0.5s linear;
}

.gauge::before {
  content: "";
  width: 75%;
  height: 75%;
  background: var(--gauge-background);
  border-radius: 50%;
  position: absolute;
}

.gauge span {
  position: absolute;
  font-size: 1.1em;
  font-weight: bold;
  color: var(--color-red);
}

.editor-container {
  font-family: 'Arial', sans-serif;
  border: 1px solid #e0e0e0;
  padding: 5px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.editor-container .toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px;
  background: linear-gradient(to bottom, #f9f9f9, #f0f0f0);
  border-bottom: 1px solid #e0e0e0;
  align-items: center;
}

.editor-container .toolbar-btn {
  padding: 6px;
  border: none;
  cursor: pointer;
  background: transparent;
  border-radius: 4px;
  transition: background-color 0.2s ease;
  font-size: 20px;
}

.editor-container .toolbar-btn:hover {
  background-color: rgba(0,0,0,0.1);
}

.editor-container .toolbar-btn i {
  color: #333;
}

.editor-container .toolbar-btn:hover i {
  color: var(--color-red);
}

.editor-container .toolbar select {
  padding: 4px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: white;
  min-width: 120px;
}

.editor-container .toolbar select.textSize {
  min-width: 80px;
}

.editor-container .toolbar input[type="color"] {
  border: none;
  width: 28px;
  height: 28px;
  cursor: pointer;
  padding: 0;
  border-radius: 4px;
}

.editor-container .separator {
  width: 1px;
  height: 24px;
  background: #ddd;
  margin: 0 8px;
}

.editor-container .editor {
  min-height: 400px;
  max-height: 400px;
  padding: 10px;
  background: white;
  line-height: 1.6;
  overflow-y: auto;
  border: 0.5px solid #666;
}

.editor-container .table-palette {
  position: absolute;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid #ccc;
  padding: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  z-index: 1000;
}

.editor-container .table-grid {
  display: inline-block;
}

.editor-container .table-row {
  display: flex;
}

.editor-container .table-cell {
  width: 20px;
  height: 20px;
  border: 1px solid #ccc;
  background: #f0f0f0;
  margin: 1px;
  cursor: pointer;
}

.editor-container .table-cell.highlighted {
  background: var(--color-red);
}

.editor-container .table-size-display {
  text-align: center;
  margin-top: 5px;
  font-size: 12px;
  color: #333;
}
