html,
body {
  margin: 0;
  padding: 0;
  background-color: #f2f6f8;
}

/* RESET BASE SUR LE CSS DANS myd/back.css */
.subheader:not(:empty) {
  margin-bottom: calc(1rem) !important;
}

.page-header {
  /* height: auto; */
}

.nav-menu li.active:not(.open)>a::before {
  color: #ffc241;
}

.panel-toolbar .btn-panel[data-action="panel-fullscreen"],
.panel-toolbar .btn-panel.js-panel-fullscreen {
  background: #1dc9b7;
}

.panel-toolbar .btn-panel[data-action="panel-collapse"],
.panel-toolbar .btn-panel.js-panel-collapse {
  background: #ffc241;
}

.subheader:not(:empty) {
  margin-bottom: calc(0.5rem) !important;
}

.bootstrap-select .dropdown-menu .dropdown-menu {
  -webkit-transform: scale(1);
  transform: scale(1);
  visibility: visible;
  opacity: 1;
}

a.btn>i.fal {
  margin-right: 5px;
}

.configurateur-select-card:hover {
  filter: grayscale(100%);
}

.mod-skin-dark:not(.mod-skin-light) .fc a {
  color: unset !important;
}

.table-hover tbody tr:hover {
  box-shadow: none;
  -webkit-box-shadow: none;
}

.table tr td:last-child {
  width: 15%;
}

#tableDocsChantier td:last-child,
#tableDocsAffaire td:last-child {
  width: 15%;
}

#tableDocsChantier td:last-child a,
#tableDocsAffaire td:last-child a {
  margin-right: 0.5em;
}

#tableDocsChantier td:last-child a:last-child,
#tableDocsAffaire td:last-child a:last-child {
  margin-right: 0;
}

#tableDocsChantier td i,
#tableDocsAffaire td i {
  margin-right: 0;
}


.chat-online {
  color: #34ce57
}

.chat-offline {
  color: #e4606d
}

.chat-messages {
  display: flex;
  flex-direction: column;
  max-height: 800px;
  overflow-y: scroll
}

.chat-message-left,
.chat-message-right {
  display: flex;
  flex-shrink: 0
}

.chat-message-left {
  margin-right: auto
}

.chat-message-right {
  flex-direction: row-reverse;
  margin-left: auto
}

.custom-file-label:lang(fr)::after {
  content: "Parcourir";
}

/* END RESET BASE SUR LE CSS DANS myd/back.css */

label.required:not(.form-check-label):after {
  content: "\2000*";
  color: red;
}



/*Hide all except first fieldset*/
#msform fieldset:not(:first-of-type) {
  display: none;
}



#msform .action-button-previous:hover,
#msform .action-button-previous:focus {
  background-color: #000000;
}

/*The background card*/
.card {
  z-index: 0;
  border: none;
  position: relative;
}



/*Field names*/
.fieldlabels {
  color: gray;
  text-align: left;
}

/*Icon progressbar*/
#progressbar {
  margin-bottom: 30px;
  overflow: hidden;
  color: lightgrey;
  height: 70px;
}

#progressbar .active {
  color: var(--theme-primary);
}

#progressbar li {
  list-style-type: none;
  font-size: 15px;
  width: 25%;
  float: left;
  position: relative;
  font-weight: 400;
}

/*Icons in the ProgressBar*/
#progressbar #account:before {
  font-family: 'Font Awesome 5 Pro';
  content: "\f13e";
}

#progressbar #personal:before {
  font-family: 'Font Awesome 5 Pro';
  content: "\f007";
}

#progressbar #address:before {
  font-family: 'Font Awesome 5 Pro';
  content: "\f015";
}

#progressbar #subscription:before {
  font-family: 'Font Awesome 5 Pro';
  content: "\f2eb";
}

/*Icon ProgressBar before any progress*/
#progressbar li:before {
  width: 40px;
  height: 40px;
  line-height: 35px;
  display: block;
  font-size: 18px;
  color: #ffffff;
  background: lightgray;
  border-radius: 50%;
  margin: 0 auto 10px auto;
  padding: 2px;
}

/*ProgressBar connectors*/
#progressbar li:after {
  content: '';
  width: 100%;
  height: 2px;
  background: lightgray;
  position: absolute;
  left: 0;
  top: 18px;
  z-index: -1;
}

/*Color number of the step and the connector before it*/
#progressbar li.active:before,
#progressbar li.active:after {
  /* background: #886ab5; */
  background: var(--theme-primary)
}

/*Animated Progress Bar*/
.progress {
  height: 7px;
}

.progress-bar.my-reverse-class {
  -webkit-animation-direction: reverse;
  -moz-animation-direction: reverse;
  -ms-animation-direction: reverse;
  -o-animation-direction: reverse;
  animation-direction: reverse;
}

.progress-bar {
  background-color: --theme-primary;
}

/*Fit image in bootstrap div*/
.fit-image {
  width: 100%;
  object-fit: cover;
}

.chat-online {
  color: #34ce57
}

.chat-offline {
  color: #e4606d
}

.chat-messages {
  display: flex;
  flex-direction: column;
  max-height: 800px;
  overflow-y: scroll
}

.chat-message-left,
.chat-message-right {
  display: flex;
  flex-shrink: 0
}

.chat-message-left {
  margin-right: auto
}

.chat-message-right {
  flex-direction: row-reverse;
  margin-left: auto
}

.custom-file-label:lang(fr)::after {
  content: "Parcourir";
}

.page-logo img {
  width: 175px;
  height: auto;
}

@media (max-width: 1250px) {
  .page-logo img {
    width: 90px;
    height: auto;
  }
}


.row .form-group:only-child {
  margin-bottom: 1.5rem;
}

.dropdown-toggle {
  border: 1px solid #dee2e6;
}

/* .select-option-text {
  overflow: hidden;
  overflow-wrap: break-word;
  width: 100%;
  display: inline-block;
  white-space: pre-line;
} */

.bootstrap-select .dropdown-menu .dropdown-menu {
  -webkit-transform: scale(1);
  transform: scale(1);
  visibility: visible;
  opacity: 1;
}

.alert {
  margin-bottom: 0;
}

textarea {
  max-height: 100px;
}


.radio-inline {
  margin-right: 0.5rem !important;
}



/* START TOGGLE MOIS / ANNEE */
:root {
  --white: white;
  --gray: #999;
  --lightgray: whitesmoke;
  --darkgreen: #2a9d8f;
  --popular: #ffdd40;
  --starter: #f73859;
  --essential: #00aeef;
  --professional: #ff7f45;
}

/* SWITCH STYLES
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.switch-wrapper {
  position: relative;
  display: inline-flex;
  padding: 4px;
  border: 1px solid lightgrey;
  border-radius: 30px;
}

.switch-wrapper [type="radio"] {
  position: absolute;
  left: -9999px;
}

.switch-wrapper [type="radio"]:checked#monthly~label[for="monthly"],
.switch-wrapper [type="radio"]:checked#yearly~label[for="yearly"] {
  color: var(--white);
}

.switch-wrapper [type="radio"]:checked#monthly~label[for="monthly"]:hover,
.switch-wrapper [type="radio"]:checked#yearly~label[for="yearly"]:hover {
  background: transparent;
}

.switch-wrapper [type="radio"]:checked#monthly+label[for="yearly"]~.highlighter {
  transform: none;
}

.switch-wrapper [type="radio"]:checked#yearly+label[for="monthly"]~.highlighter {
  transform: translateX(100%);
}

.switch-wrapper label {
  font-size: 16px;
  z-index: 1;
  min-width: 100px;
  line-height: 32px;
  cursor: pointer;
  border-radius: 30px;
  transition: color 0.25s ease-in-out;
  padding: 0;
  margin: 0;
  text-align: center;
}

.switch-wrapper label:hover {
  background: var(--lightgray);
}

.switch-wrapper .highlighter {
  position: absolute;
  top: 4px;
  left: 4px;
  width: calc(50% - 4px);
  height: calc(100% - 8px);
  border-radius: 30px;
  background: var(--darkgreen);
  transition: transform 0.25s ease-in-out;
}

/* END TOGGLE MOIS / ANNEE */

.map-background {
  position: fixed;
  left: 0;
  right: 0;
  -webkit-filter: blur(2px);
  -moz-filter: blur(2px);
  -o-filter: blur(2px);
  -ms-filter: blur(2px);
  filter: blur(1.5px);
  opacity: 0.7;
}

.logo-medium {
  max-width: 400px;
}

#create-account-block {
  border-radius: 1rem;
  margin: 0 auto;
  width: 820px;
}

#login-account-block {
  border-radius: 1rem;
  margin: 0 auto;
  width: 450px;
}

#subscriptions_prices ul {
  margin: 0;
  padding: 0;
  padding-left: 1em;
}

#login-block {
  border-radius: 1rem;
  margin: 0 auto;
  width: 400px;
}

#subscriptions_prices ul {
  list-style: none;
}

#subscriptions_prices ul li {
  margin-bottom: 0.7em;
}

.chat-message p {
  margin: 0;
  padding: 0;
}

.text-decoration-line-through {
  text-decoration: line-through !important;
}

.card-header:not(.collapsed) .rotate-icon {
  transform: rotate(180deg);
}

*[id^="accordion_"] .card:last-child .card-header {
  border-bottom: none;
}

.header-icon:not(.btn)[data-toggle="dropdown"][data-toggle="dropdown"]::after {
  top: 0.85rem;
  left: -0.25rem;
}

.swal2-title {
  font-size: 1.0625em;
}

.rounded-top-xxl {
  border-radius: 15px !important;
}

#subscriptions-list .header {
  height: 50px;
}

#subscriptions-list .prices {
  height: 120px;
  border-bottom: 2px solid #E7E7E7;
  margin-top: 15px;
}

#subscriptions-list .header h3 {
  color: #2d2d2d;
  font-size: 25px;
  font-weight: 500;
  letter-spacing: 0.2px;
  margin: 0 0 0px;
}

#subscriptions-list .header .sub-title {
  color: #B2B2B2;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.2px;
}

#subscriptions-list .price .sub-price {
  color: #3E3E3E;
  font-size: 65px;
  font-weight: 600;
}

#subscriptions-list .price .integer,
#subscriptions-list .price .decimal {
  color: #3E3E3E;
  font-size: 50px;
  font-weight: 600;
}

#subscriptions-list .price .integer {
  height: 70px;
}

#subscriptions-list .price .decimal,
#subscriptions-list .price .sub-price-free {
  font-size: 16px;
}

#subscriptions-list .populaire {
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  overflow: hidden;
  position: absolute;
  display: inline-block;
  text-align: center;
  z-index: 2;
  -ms-transform: rotate(90deg);
  transform: rotate(90deg);
  -webkit-transform: rotate(90deg);
}

#subscriptions-list .populaire div {
  padding: 10px 10px 10px 10px;
  margin-top: 45px;
  transform: translateY(-50%) translateX(-50%) translateX(45px) rotate(-45deg);
  color: #ffffff;
  background-color: #104911;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.3px;
  width: 200%;
}

#subscriptions-list .border-lg {
  border: 1px solid #104911;
}