html,
body {
  font-family: Source Sans Pro, sans-serif;
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

#global {
  flex: 1;
  /* prend l’espace disponible */
}


.text-mycolor {
  color: #007180;
}

.text-orange {
  color: #da5315e4;
}

.text-exed {
  color: #007180;
}

.bg-mycolor {
  background-color: #007180;
  color: #F1F6F6;
}

.bg-exed {
  background-color: #007180;
  color: #F1F6F6;
}

.bg-exedlight {
  background-color: #F1F6F6;
}

.btn-mycolor {
  background-color: #007180 !important;
  color: white !important;
}

.btn-mycolor:hover {
  background-color: #007180;
  color: white;
}

.btn-outline-mycolor {
  border-color: #007180;
  color: #007180;
}

.btn-outline-mycolor:hover {
  background-color: #007180;
  color: white;
}

.btn-link-mycolor {
  color: #007180;
  text-decoration: underline;
  font-size: small;
  border: 0;
  background-color: transparent;
}


.highlight-shadow {
  position: relative;
  padding: 0 5px;
  box-shadow: inset 0 -12px 0 0 #c3f2f5;
}



/*************** NAV MY */

.nav-tabs.my>.nav-link:not(.active) {
  border: solid 1px lightgray;
  color: lightgray;
  background-color: #F1F6F6;
}

.nav-tabs.my>.nav-link:not(.active)>.stat {
  color: lightgray;
}

.nav-tabs.my>.nav-link {
  width: 200px;
}

a,
.card-text {
  text-decoration: none;
  color: black;
}

.card-img-top {
  height: 250px;
  width: 100%;
  object-fit: cover;
  object-position: center;
}


/* INDEX PAGE */
.card-index2 {
  margin-top: .5rem;
  padding-top: 0rem;
  padding-bottom: 0rem;
}

.card-index .card-body {
  padding: 0rem;
  margin: .8rem;
}

.card-index2 .card-body {
  padding: 0rem;
  margin: .8rem;
}

.card-index3 .card-body {
  padding: 0.2rem;
  font-size: 1rem;
  text-align: center;
}

.card-index3 {
  padding: 0rem;
  margin-top: 0.3rem;
  background-color: #F1F6F6;
}

.card-index2:hover {
  background-color: #F1F6F6;
}

.card-index2:hover div {
  transform: scale(1.015);
}

.card-index3:hover div {
  transform: scale(1.03);
}


footer {
  background-color: #007180;
  box-shadow: inset 0px 10px 10px -3px rgba(0, 0, 0, 0.35);
}





a.back-to-top {
  display: none;
  width: 60px;
  height: 60px;
  text-color: white;
  text-indent: -9999px;
  position: fixed;
  z-index: 9;
  left: 30px;
  bottom: 30px;
  background: #007180 url("images/up-arrow.png") no-repeat center 53%;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
}

.padtb0 td,
th {
  padding-top: 0px;
  padding-bottom: 0px;
}


/* Styles pour l'icône d'aide persistante */
.help-icon {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 50px;
  height: 50px;
  background-color: #f95850;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9999;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  text-decoration: none;
  color: white;
  font-size: 24px;
  font-weight: bold;
}

.help-icon:hover {
  background-color: #f95850;
  transform: scale(1.1);
  animation: wiggle 0.5s ease-in-out infinite;
  text-decoration: none;
  color: white;
}

/* Animation de gigotement */
@keyframes wiggle {
  0% {
    transform: scale(1.2) rotate(0deg);
  }

  25% {
    transform: scale(1.2) rotate(-3deg);
  }

  50% {
    transform: scale(1.2) rotate(3deg);
  }

  75% {
    transform: scale(1.2) rotate(-3deg);
  }

  100% {
    transform: scale(1.2) rotate(0deg);
  }
}

/* Responsive : ajuster la position sur mobile */
@media (max-width: 768px) {
  .help-icon {
    width: 35px;
    height: 35px;
    font-size: 16px;
    bottom: 15px;
    right: 15px;
  }
}


/* CHANGE BACKGROUND OF CUSTOM SWITCH */
.custom-control-input:focus~.custom-control-label::before {
  /* when the button is toggled off  
				it is still in focus and a violet border will appear */
  border-color: #17a2b8 !important;
  /* box shadow is blue by default 
  but we do not want any shadow hence we have set  
  all the values as 0 */
  box-shadow:
    0 0 0 0rem rgba(0, 0, 0, 0) !important;
}

/*sets the background color of 
          switch to violet when it is checked*/
.custom-control-input:checked~.custom-control-label::before {
  border-color: #17a2b8 !important;
  background-color: #17a2b8 !important;
}

/*sets the background color of 
          switch to violet when it is active*/
.custom-control-input:active~.custom-control-label::before {
  background-color: #17a2b8 !important;
  border-color: #17a2b8 !important;
}

/*sets the border color of switch 
          to violet when it is not checked*/
.custom-control-input:focus:not(:checked)~.custom-control-label::before {
  border-color: #17a2b8 !important;
}


/* sets the bakground to white when disabled */

.form-control:disabled {
  background-color: white !important;
  border-top: none !important;
  border-bottom: none !important;
  border-right: none !important;
  border-radius: 0 !important;
}

.form-comp:disabled {
  background-color: white !important;
  border-top: none !important;
  border-bottom: none !important;
  border-right: none !important;
  border-radius: 0 !important;
}

.custom-select:disabled {
  background-color: white !important;
  background: none !important;
  color: black !important;
  border-top: none !important;
  border-bottom: none !important;
  border-right: none !important;
  border-radius: 0 !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
}


input[type=radio] {
  transform: scale(1.2);
}


/* Custom button */
.btn-search.page-left {
  position: -webkit-sticky;
  /* Safari */
  position: fixed;
  width: 100px;
  bottom: 40px;
  background-color: #96308F;
  color: #FFF;
  border-color: #96308F;
  border-radius: 25px;
}

.btn-search.page-right {
  position: -webkit-sticky;
  /* Safari */
  position: fixed;
  width: 100px;
  bottom: 40px;
  right: 10px;
  background-color: #96308F;
  color: #FFF;
  border-color: #96308F;
  border-radius: 25px;
}

.btn-search:hover,
.btn-search:focus,
.btn-search:active {
  background-color: #FFF;
  color: #96308F;
  border-color: #96308F;

}


/************* NEW CHECKBOX */
.newcheckbox {
  display: block;
  position: relative;
  padding-left: 22px;
  margin-bottom: 0px;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide the browser's default checkbox */
.newcheckbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 15px;
  width: 15px;
  border: solid lightgray 0.5px;
  border-radius: 2px;
}

/* On mouse-over, add a grey background color */
.newcheckbox:hover input~.checkmark {
  background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.newcheckbox input:checked~.checkmark {
  background-color: #17a2b8;
}


.newcheckbox input:checked:disabled~.checkmark {
  background-color: lightgrey;
}


/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.newcheckbox input:checked~.checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.newcheckbox .checkmark:after {
  width: 10px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

/* Style the indicator (dot/circle) */
input[type='radio'] {
  accent-color: #007180 !important;
}



.myred {
  color: #EC8C7B;
}

/* Zoom when hover */
/* [1] The container */
.zoom {
  overflow: hidden;
  /* [1.2] Hide the overflowing of child elements */
}

/* [2] Transition property for smooth transformation of images */
.zoom img {
  transition: transform .5s ease;
  opacity: 0.9;
}

/* [3] Finally, transforming the image when container gets hovered */
.zoom:hover img {
  transform: scale(1.03);
  opacity: 1.0;
}

a {
  text-decoration: none;
}

.list-group-item.active {
    background-color:#5fa4b0;
    color:white;
    border-color:#5fa4b0;
}