:root {
  --main-bg-color: #32394d;
  --main-color: #509e9f;
  --main-color-dark: #217273;
}
body {
  --ck-z-default: 100;
  --ck-z-modal: calc(var(--ck-z-default) + 999);
}
#infosComplementaires,
#ajoutSociete,
.hidden {
  display: none;
}

#nbDestinataires {
  text-align: center;
}

#editor .tools {
  display: none;
  position: absolute;
  left: 15px;
}

#editor .tools p {
  display: inline-block;
}

#editor .template:hover .tools {
  display: inline-block;
}

.wyswiyg p {
  padding: 0px !important;
}

#imageManager div.col-md-2 {
  margin-bottom: 10px;
}
#imageManager img {
  max-width: 100%;
  max-height: 200px;
}
header#page-topbar {
  background-color: #000000;
  color: #fff;
}

.formError {
  border: 2px solid #ff0000;
}
.vehicule {
  color: #ff0000;
  font-weight: bold;
}
.hide {
  display: none;
}

.interventionFaite {
  color: green;
  font-weight: bold;
}
.fc-view-agendaDay .fc-event-container {
  width: 100% !important;
}
.fc-view-agendaDay .fc-event {
  width: 20% !important;
}
.fc-view-agendaDay .fc-event-time {
  font-size: 18px !important;
  font-weight: bold;
}
.fc-view-agendaDay .fc-event-time .noDay {
  display: none !important;
}
.fc-view-agendaWeek .fc-event-time {
  /*	font-size: 18px !important;*/
  font-weight: bold;
}
.provisoire:after {
  background-image: url("/assets/images/fond_option.png");
  background-size: 100% 100%;
  display: inline-block;
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  opacity: 0.25;
  content: "";
}

.lds-spinner {
  color: official;
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-spinner div {
  transform-origin: 40px 40px;
  animation: lds-spinner 1.2s linear infinite;
}
.lds-spinner div:after {
  content: " ";
  display: block;
  position: absolute;
  top: 3px;
  left: 37px;
  width: 6px;
  height: 18px;
  border-radius: 20%;
  background: #fff;
}
.lds-spinner div:nth-child(1) {
  transform: rotate(0deg);
  animation-delay: -1.1s;
}
.lds-spinner div:nth-child(2) {
  transform: rotate(30deg);
  animation-delay: -1s;
}
.lds-spinner div:nth-child(3) {
  transform: rotate(60deg);
  animation-delay: -0.9s;
}
.lds-spinner div:nth-child(4) {
  transform: rotate(90deg);
  animation-delay: -0.8s;
}
.lds-spinner div:nth-child(5) {
  transform: rotate(120deg);
  animation-delay: -0.7s;
}
.lds-spinner div:nth-child(6) {
  transform: rotate(150deg);
  animation-delay: -0.6s;
}
.lds-spinner div:nth-child(7) {
  transform: rotate(180deg);
  animation-delay: -0.5s;
}
.lds-spinner div:nth-child(8) {
  transform: rotate(210deg);
  animation-delay: -0.4s;
}
.lds-spinner div:nth-child(9) {
  transform: rotate(240deg);
  animation-delay: -0.3s;
}
.lds-spinner div:nth-child(10) {
  transform: rotate(270deg);
  animation-delay: -0.2s;
}
.lds-spinner div:nth-child(11) {
  transform: rotate(300deg);
  animation-delay: -0.1s;
}
.lds-spinner div:nth-child(12) {
  transform: rotate(330deg);
  animation-delay: 0s;
}
@keyframes lds-spinner {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.table-nowrap td.wrap {
  white-space: normal;
}

.nav-tabs {
  border-bottom: 0px;
}
.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
  border-color: #e2e5e8;
}
.nav-tabs .nav-link:hover {
  border-color: transparent;
}

.tab-content {
  margin-top: 15px;
}

.card-title {
  padding: 10px;
  background-color: var(--main-bg-color);
  color: #ffffff;
  border-radius: 5px 5px 0px 0px;
}
.card-title h5 {
  color: #ffffff;
  display: inline-block;
  margin: 0px;
  font-size: 16px;
}

.card-title .rightButton {
  float: right;
  cursor: pointer;
}

.center {
  text-align: center;
}

textarea {
  height: 200px;
}

.topnav {
  background-color: #32394d;
}

.navbar-light .navbar-nav .nav-link {
  color: #ffffff;
}
.blue-border {
  border-color: var(--main-bg-color) !important;
}

.list-unstyled li label {
  width: 200px;
}

.select2-container {
  /* min-width: 200px; */
  width: 100% !important;
}

.select2-search__field {
  min-width: 200px;
}
.select2-selection {
  border: 1px solid #e2e5e8 !important;
}

.select2-dropdown {
  z-index: 9999 !important;
}

.late {
  background-color: #ffc8c8;
}

.switch {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 22px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 1px;
  bottom: 1px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

input:checked + .slider {
  background-color: #2196f3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196f3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(20px);
  -ms-transform: translateX(20px);
  transform: translateX(20px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 22px;
}

.slider.round:before {
  border-radius: 50%;
}

.arrow {
  clip-path: polygon(90% 0%, 100% 50%, 90% 100%, 0% 100%, 10% 50%, 0% 0%);
}
.arrow-r {
  clip-path: polygon(90% 0%, 100% 50%, 90% 100%, 0% 100%, 0% 50%, 0% 0%);
}
.arrow-l {
  clip-path: polygon(100% 0%, 100% 100%, 90% 100%, 0% 100%, 10% 50%, 0% 0%);
}

#calendar {
  min-height: 300px;
}

/* .fc-header-toolbar {
      display: inline-block;
      float: none !important;
  } */

/* @media (max-width: 768px) { 
    .fc-header-toolbar {
      min-height: '44px';
      display: flex !important;
      justify-content: space-between;
      flex-wrap: nowrap;
    }
   } */

.fc .fc-toolbar {
  display: initial !important;
}

.fc-toolbar-chunk {
  float: left;
  text-align: center;
}

.fc-toolbar-chunk:nth-child(1),
.fc-toolbar-chunk:nth-child(3) {
  width: 20%;
}

.fc-toolbar-chunk:nth-child(2) {
  width: 60%;
}

.circle{
  width: 3rem; 
  height: 3rem; 
  border-radius: 50%; 
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

.missingInput{
  border: 2px solid red;;}

/* .missingInputRadio{
  color: red;
} */

.selected-date {
  background-color: var(--main-color) !important;  /* La couleur de fond de la date sélectionnée */
  color: #FFFFFF !important;
  border-radius: 50%;
}

/* classe de fullcallandar */
.fc-daygrid-day-top {
  display: flex;
  justify-content: space-evenly;
}

.fc-daygrid-day-events {
  display: none !important;  /* Masque les événements sous le jour */
}

/* Supprimer les bordures inutiles autour des événements */
.fc-daygrid-day-frame {
  border: none !important;
}










@media (max-width: 575px) {
  .fs-xs-1 {
    font-size: 2rem;
  }

  .fs-xs-2 {
    font-size: 1.75rem;
  }

  .fs-xs-3 {
    font-size: 1.5rem;
  }

  .fs-xs-4 {
    font-size: 1.25rem;
  }

  .fs-xs-5 {
    font-size: 1rem;
  }

  .fs-xs-6 {
    font-size: 0.875rem;
  }

  .fs-icon{
    font-size: 30px;
  }
}
@media (min-width: 576px) and (max-width: 767px) {
  .fs-sm-1 {
    font-size: 2.25rem; 
  }
  .fs-sm-2 {
    font-size: 2rem;
  }
  .fs-sm-3 {
    font-size: 1.75rem;
  }
  .fs-sm-4 {
    font-size: 1.5rem;
  }
  .fs-sm-5 {
    font-size: 1.25rem;
  }
  .fs-sm-6 {
    font-size: 1rem;
  }

  .fs-icon{
    font-size: 40px;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .fs-md-1 {
    font-size: 2.5rem;
  }
  .fs-md-2 {
    font-size: 2.25rem;
  }
  .fs-md-3 {
    font-size: 2rem;
  }
  .fs-md-4 {
    font-size: 1.75rem;
  }
  .fs-md-5 {
    font-size: 1.5rem;
  }
  .fs-md-6 {
    font-size: 1.25rem;
  }
  .fs-icon{
    font-size: 50px;
  }
}
@media (min-width: 991px) and (max-width: 1200px) {
  .fs-lg-1 {
    font-size: 3rem;
  }
  .fs-lg-2 {
    font-size: 2.75rem;
  }
  .fs-lg-3 {
    font-size: 2.5rem;
  }
  .fs-lg-4 {
    font-size: 2.25rem;
  }
  .fs-lg-5 {
    font-size: 2rem;
  }
  .fs-lg-6 {
    font-size: 1.75rem;
  }
  .fs-icon{
    font-size: 60px;
  }
}

@media (min-width: 1201px) {
  .fs-xl-1 {
    font-size: 3.5rem;
  }
  .fs-xl-2 {
    font-size: 3.25rem;
  }
  .fs-xl-3 {
    font-size: 3rem;
  }
  .fs-xl-4 {
    font-size: 2.75rem;
  }
  .fs-xl-5 {
    font-size: 2.5rem;
  }
  .fs-xl-6 {
    font-size: 2.25rem;
  }

  .fs-icon{
    font-size: 60px;
  }
}

.border-primary {
	border-color: var(--main-color) !important;
}
.bg-primary {
    --bs-bg-opacity: 1;
    background-color: var(--main-color) !important;
}

.text-primary {
    --bs-text-opacity: 1;
    color: rgba(var(--main-color), var(--bs-text-opacity)) !important;
}

.btn-primary {
    color: #fff;
    background-color: var(--main-color);
    border-color: var(--main-color);
}
.btn-primary:hover {
    color: #fff;
    background-color: var(--main-color-dark);
    border-color: var(--main-color-dark);
}

.btn-check:active+.btn-primary, .btn-check:checked+.btn-primary, .btn-primary.active, .btn-primary:active, .show>.btn-primary.dropdown-toggle {
    color: #fff;
    background-color: var(--main-color-dark) !important;
    border-color: var(--main-color-dark) !important;
}

.bg-rdv{
  background: url('https://climalise.dandgo.fr/assets/images/bg-rdv.svg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}