@charset "UTF-8";
/* main color: #9f762b 
   muted color: #7b7665
	border: #d9d4cc
	menu color #4f4c40
	red: #f44336
*/
/* HEADER */
#header {
  background-color: #fff;
  height: 80px;
  /*position: relative;*/
  z-index: 1000;
  position: fixed;
  width: 100%;
}
#header .nav-barre {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #fff;
  box-shadow: 0 1px 15px rgba(0, 0, 0, 0.04), 0 1px 6px rgba(0, 0, 0, 0.04);
  font-weight: 500;
}
#header .nav-left {
  height: 100%;
  display: flex;
  align-items: center;
}
#header .nav-left ul {
  display: flex;
  margin-bottom: 0;
  margin-left: 25px;
}
#header .nav-left li {
  padding: 5px 30px;
  border-left: 1px solid rgba(159, 118, 43, 0.25);
}
#header .nav-left li:first-child {
  border-left: none;
}
#header .brand {
  display: block;
  width: 49px;
  padding: 15px 30px 15px 40px;
}
#header .nav-right {
  padding-right: 30px;
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  cursor: pointer;
}
#header .nav-right .dropdown-menu {
  right: 3px;
  text-align: center;
  border: none;
  background-color: #fff;
  border-radius: 0;
  box-shadow: 0 1px 15px rgba(0, 0, 0, 0.04), 0 1px 6px rgba(0, 0, 0, 0.04);
  left: 0;
}
#header .nav-right .dropdown-menu li {
  border-bottom: none;
}
#header .nav-right span {
  margin-right: 10px;
}
#header .nav-right img {
  border-radius: 50%;
}
.menu-toggle {
  width: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  margin-right: 12px;
}
.menu-toggle div {
  width: 24px;
  height: 1px;
  background: #2d2923;
  margin: 3px 0;
}
#header .search-bar {
  display: flex;
  align-items: center;
  justify-content: left;
  background: #f8f9fa;
  border: 1px solid #eee;
  border-radius: 20px;
  position: relative;
  width: 230px;
  height: 40px;
}
#header .search-bar input {
  background: transparent;
  border: 0;
  color: #212121;
  font-size: 0.8rem;
  line-height: 2;
  height: 100%;
  outline: initial !important;
  padding: 0.5rem 1rem;
  width: 10.5rem;
  box-shadow: none;
  margin: 0;
}
#header .search-bar .search-icon {
  font-size: 18px;
  width: 24px;
  display: inline-block;
  color: #7b7665;
}
#header .badge-top-container {
  position: relative;
}
#header .badge-top-container .badge {
  min-width: 6px;
  min-height: 8px;
  position: absolute;
  top: 2px;
  right: 4px;
  border-radius: 10px;
  color: #fff;
  background-color: #9f762b;
  display: inline-block;
  padding: 0.25em 0.4em;
  font-size: 75%;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  font-weight: 600;
  margin: 0;
}
#header .header-icon {
  font-size: 22px;
  cursor: pointer;
  height: 36px;
  width: 36px;
  line-height: 36px;
  display: inline-block;
  text-align: center;
  border-radius: 8px;
  margin: 0 2px;
  color: #7b7665;
}
#header .header-icon.header-user {
  margin-left: 20px;
  border-radius: 50%;
  /* background: red; */
  font-size: 30px;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0;
  border: 1px solid #eee;
}
/*   END HEADER */
/*  MENU */
#nav-menu > ul {
  list-style: none;
  text-align: center;
  width: 120px;
  margin: 0;
  padding: 0;
  position: fixed;
  z-index: 2;
  top: 80px;
  height: calc(100vh - 80px);
  background: #fff;
  box-shadow: 0 4px 20px 1px rgba(0, 0, 0, 0.06), 0 1px 4px rgba(0, 0, 0, 0.08);
  overflow-y: auto;
  left: calc(-120px - 20px);
  transition: all 0.24s ease-in-out;
}
#nav-menu > ul.open {
  left: 0;
}
#nav-menu > ul > li {
  position: relative;
  display: block;
  width: 100%;
  cursor: pointer;
  border-bottom: 1px solid #d9d4cc;
}
#nav-menu .display-sub-menu.active .triangle {
  position: absolute;
  width: 0;
  height: 0;
  right: 0;
  bottom: 0;
  border-style: solid;
  border-width: 0 0 30px 30px;
  border-color: transparent transparent #9f762b transparent;
}
#nav-menu .nav-item {
  display: block;
  width: 100%;
  padding: 23px 0;
  color: #47404f;
  cursor: pointer;
  font-weight: 500;
  font-size: 13px;
}
#nav-menu .nav-item:hover {
  color: #9f762b;
}
#nav-menu .nav-icon {
  font-size: 32px;
  height: 32px;
  width: 32px;
  display: block;
  margin: 0 auto 6px;
}
#nav-menu .menu-left-area {
  display: none;
}
#nav-menu .menu-left {
  left: calc(-220px - 20px);
  z-index: 1;
  width: 220px;
  padding: 0.75rem 0;
  transition: all 0.24s ease-in-out;
  background: #fff;
  position: fixed;
  top: 80px;
  height: calc(100vh - 80px);
  box-shadow: 0 4px 20px 1px rgba(0, 0, 0, 0.06), 0 1px 4px rgba(0, 0, 0, 0.08);
}
#nav-menu .menu-left ul {
  margin: 0;
}
#nav-menu .menu-left.open-left {
  left: 120px;
}
#nav-menu .menu-left a {
  color: #4f4c40;
  text-transform: capitalize;
  display: flex;
  align-items: center;
  font-size: 13px;
  cursor: pointer;
  padding: 12px 24px;
  transition: 0.15s all ease-in;
}
#nav-menu .menu-left a:hover {
  background: #eee;
}
#nav-menu .menu-left i {
  font-size: 20px;
  margin-right: 8px;
  vertical-align: middle;
  color: #7a7664;
}
/* END MENU */
#main-content {
  width: 100%;
  min-height: 100vh;
  float: right;
  margin-top: 80px;
  transition: all 0.24s ease-in-out;
}
#main-content .container-fluid {
  padding: 0 30px;
}
#main-content.nav-open {
  width: calc(100% - 120px);
}
#main-content.login-page {
  background: url(/img/wp.jpg) no-repeat;
  background-size: cover;
  margin: 0;
}
#login {
  background: #fff;
  box-shadow: 0 4px 20px 1px rgba(0, 0, 0, 0.06), 0 1px 4px rgba(0, 0, 0, 0.08);
  width: 400px;
  margin: 50px auto;
  padding: 30px;
  border-radius: 10px;
}
#login .form-control input[type="text"],
#login .form-control input[type="password"] {
  padding: 6px 12px;
  border-radius: 20px !important;
  box-shadow: none;
}
#login .form-control label {
  margin-bottom: 8px;
}
#login .logo {
  width: 100px;
  margin: 0 auto 20px;
}

#main-content form {
  margin: 0;
}
.help-inline {
  margin-bottom: 10px;
}
.widget {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: #fff;
  background-clip: border-box;
  border-radius: 10px;
  box-shadow: 0 4px 20px 1px rgba(0, 0, 0, 0.06), 0 1px 4px rgba(0, 0, 0, 0.08);
  border: 0;
  overflow: hidden;
  margin-bottom: 25px;
}

.widget-title {
  font-size: 18px;
  padding: 25px 20px;
  display: flex;
  justify-content: space-between;
  align-item: center;
}
.widget-title i {
  display: none;
}
.widget-title h4 {
  margin: 0;
  font-weight: 500;
}

.widget-body {
  flex: 1 1 auto;
  padding: 0 20px 20px;
}

#footer {
  color: #9f762b;
  padding: 40px 0 20px;
  clear: both;
  text-align: center;
  font-size: 12px;
}
#main-content .form-control input:focus {
  box-shadow: 0 0 0 0.2rem rgba(159, 118, 43, 0.25);
  border: 1px solid #9f762b;
}
#main-content .btn-form,
#main-content .btn,
.btn.btn-modal {
  background-color: #9f762b;
  color: #fff;
  text-shadow: none;
  box-shadow: none;
  padding: 6px 12px;
  outline: none;
  border: 1px solid #9f762b;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
#main-content .btn-form {
  border-radius: 25px;
  width: 100%;
  font-weight: 500;
}
#main-content .btn,
.btn.btn-modal {
  display: inline-block;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  user-select: none;
  font-size: 13px;
  line-height: 1.5;
  border-radius: 4px;
}
.btn.btn-modal {
  font-weight: 600 !important;
}
.btn.btn-modal.cancel {
  background-color: #fff;
  color: inherit;
  border: 1px solid #fff;
}
#main-content .btn.cancel {
  color: inherit;
  background-color: #dad8d5;
  border: 1px solid #dad8d5;
}
#main-content .btn.deleteRow {
  background-color: #fff;
  border: 1px solid #f44336;
  color: #f44336;
}
#main-content .btn.deleteRow i {
  font-style: normal;
}
#main-content .btn.deleteRow:hover {
  background: #f44336;
  box-shadow: 0 8px 25px -8px #f44336;
  border-color: #f44336;
  color: #fff;
}
#main-content .btn.disabledX,
#main-content .btn.btn-yellow {
  background-color: #fff;
  border: 1px solid #e0b635;
  color: #e0b635;
}
#main-content .btn.enabledX {
  background-color: #fff;
  border: 1px solid #2da582;
  color: #2da582;
}
#main-content .btn.disabledX i {
  font-style: normal;
}
#main-content .btn.disabledX:hover,
#main-content .btn.btn-yellow:hover {
  background: #e0b635;
  box-shadow: 0 8px 25px -8px #e0b635;
  border-color: #e0b635;
  color: #fff;
}
#main-content .btn.success,
#main-content .btn.availableX {
  background-color: #fff;
  border: 1px solid #4caf50;
  color: #4caf50;
}
#main-content .btn.success:hover,
#main-content .btn.availableX:hover {
  background: #4caf50;
  box-shadow: 0 8px 25px -8px #4caf50;
  border-color: #4caf50;
  color: #fff;
}
#main-content .btn.edit {
  background-color: #fff;
  border: 1px solid #9f762b;
  color: #9f762b;
}
#main-content .btn.edit:hover {
  background: #9f762b;
  box-shadow: 0 8px 25px -8px #9f762b;
  border-color: #9f762b;
  color: #fff;
}
#main-content .btn.btn-info {
  background-color: #fff;
  border: 1px solid #003473;
  color: #003473;
}
#main-content .btn.btn-info:hover {
  background: #003473;
  box-shadow: 0 8px 25px -8px #003473;
  border-color: #003473;
  color: #fff;
}
#main-content .btn.btn-dark {
  background-color: #fff;
  border: 1px solid #47404f;
  color: #47404f;
}
#main-content .btn.btn-dark:hover {
  background: #47404f;
  box-shadow: 0 8px 25px -8px #47404f;
  border-color: #47404f;
  color: #fff;
}
#main-content .btn.btn-purple {
  background-color: #fff;
  border: 1px solid #663399;
  color: #663399;
}
#main-content .btn.btn-purple:hover {
  background: #663399;
  box-shadow: 0 8px 25px -8px #663399;
  border-color: #663399;
  color: #fff;
}

#main-content .btn.cancel:hover {
  box-shadow: none;
}
#main-content .btn.btn-100 {
  width: 100%;
}
#main-content .btn span {
  margin-left: 8px;
}
#main-content .btn-form:hover,
#main-content .btn:hover {
  box-shadow: 0 8px 25px -8px #9f762b;
}
#main-content label {
  position: relative;
  top: 3px;
}
#main-content .table {
  border-top: 1px solid #e6e3df;
}
#main-content .table th {
  border-bottom: 2px solid #e6e3df;
  font-weight: 500;
}
#main-content .table td {
  font-size: 12px;
}
#main-content .table .actions {
  display: flex;
  justify-content: center;
}
#main-content .table .actions > * {
  margin: 0 4px;
}
#main-content .dataTables_wrapper select,
#main-content .dataTables_wrapper input[type="search"] {
  margin: 0 2px;
}
.dataTables_length {
  margin-bottom: 12px;
}
#main-content input[type="text"],
#main-content input[type="number"],
#main-content input[type="password"],
#main-content input[type="file"],
#main-content input[type="search"],
#main-content select,
#main-content textarea {
  height: 34px;
  padding: 6px 12px;
  font-size: 13px;
  line-height: 1.5;
  border-radius: 4px !important;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  margin: 0;
  margin-bottom: 10px;
  outline: initial !important;
  background: #fdfcfa;
  border: 1px solid #d9d4cc;
  color: #47404f;
  box-shadow: none;
  box-sizing: border-box;
}
#main-content textarea {
  height: inherit;
}
#main-content input[type="text"]:read-only,
#main-content input[type="text"]:disabled {
  background: #ededed; /*#dad8d5;*/
  
}
#main-content input[type="text"]:disabled::placeholder { 
  color:#47404f;
}
#main-content input[type="text"]:read-only:focus,
#main-content select:read-only:focus {
  border-color: #d9d4cc;
  box-shadow: none;
}
#main-content input[type="text"]:focus,
#main-content input[type="search"]:focus,
#main-content select:focus {
  box-shadow: 0 0 0 0.2rem rgba(159, 118, 43, 0.25);
  border: 1px solid #9f762b;
}
#main-content #clientSearch input {
  font-size: 20px;
  height: 40px;
}
#main-content strong {
  font-weight: 600;
}
#main-content .input-append,
#main-content .input-prepend {
  position: relative;
}
#main-content .add-on {
  position: absolute;
  right: 0;
  padding: 6px;
  border-radius: 0 4px 4px 0;
  border: 1px solid #d9d4cc;
  z-index: 1;
}
.productsCheck {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.productsCheck > div {
  display: flex;
}
#main-content .productsCheck label {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 5px 0;
  width: 100px;
  border: 1px solid #d9d4cc;
  margin-right: 16px;
  border-radius: 4px;
  top: 0;
}
.moreOptions {
  cursor: pointer;
}
.orderDetails {
  display: flex;
  align-items: center;
}
#main-content .orderDetails input {
  width: 9%;
  margin: 0 15px 0 5px;
}
#main-content .display-others,
#main-content .hide-others {
  text-decoration: underline;
  cursor: pointer;
  margin-top: 5px;
  font-weight: 600;
  width: 100%;
  text-align: center;
  color: #9f762b;
}
#main-content .display-others i,
#main-content .hide-others i {
  margin-left: 5px;
}
#main-content .others,
#main-content .hide-others {
  display: none;
}
#main-content .label-success,
.badge-success {
  background-color: #4caf50;
  color: white;
}

#main-content .label-danger,
.badge-danger {
  background-color: #f44336;
  color: white;
}
.table-condensed th,
.table-condensed td {
  padding: inherit !important;
}
#indexNumbers .widget-body {
  padding: 20px;
  display: flex;
  align-items: center;
}
#indexNumbers .areaIcon {
  color: rgba(159, 118, 43, 0.28);
  font-size: 4rem;
}
#indexNumbers .numbers {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 150px;
  margin: auto;
  width: 100%;
  color: #7b7665;
  font-size: 13px;
}
#indexNumbers .numbers strong {
  color: #9f762b;
  font-size: 20px;
  font-weight: 500;
}
.reduceDetails th,
.reduceDetails td {
  padding: 7px !important;
}
.reduceDetails.invoicing td,
.reduceDetails.invoicing th {
  padding: 5px !important;
  font-size: 11px !important;
}
.reduceDetails .price {
  font-size: 12px;
}
#main-content .vehicule td,
#main-content .vehicule th {
  font-size: 11px;
}
#DFDetails.input-form-details th {
  font-size: 12px;
}
/*#DFDetails.input-form-details td {
	font-size: 11px;
} 
#DFDetails.input-form-details li {
	font-size: 10px;
	padding: 5px 8px
}*/
#DFDetails.input-form-details .price {
  font-size: 11px;
  font-weight: 600;
}
.clientDT .icons i {
  font-size: 20px;
}
.clientDT th {
  font-size: 12px;
}
.clientDT .disabledX {
  padding: 6px 5px !important;
}
/* Flash message */
#returnMsg {
  text-align: center;
  padding: 10px;
  font-weight: 500;
  font-size: 16px;
  color: #fff;
  position: absolute;
  left: 0;
  right: 0;
  z-index: 10;
}
#returnMsg.success {
  background-color: #4caf50;
  box-shadow: 0 6px 10px -6px #4caf50;
}
#returnMsg.failed {
  background-color: #f44336;
  box-shadow: 0 6px 10px -6px #f44336;
}
/* END flash message */

/*  Input form  */
.output-details > span {
  display: block;
  width: 100%;
  height: 34px;
  line-height: 1;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.output-details > input {
  width: 100%;
}
.output-infos input,
.output-infos select {
  margin: 0 30px 0 0;
}
/*  END Input from  */

/* General */
.price {
  font-weight: bold;
  font-size: 14px;
  color: #337ab7;
  text-align: right;
}
.price1 {
  color: #337ab7;
}
.price2 {
  color: orange;
}
/* -- Intervention -- */
#intervention .row-fluid input {
  margin-bottom: 0;
}
#intervention .plus {
  right: 20px;
  bottom: 10px;
}
#intervention .minus {
  top: 0;
  right: 20px;
  cursor: pointer;
}
#intervention .select2-container .select2-selection--single {
  height: 34px;
  border: 1px solid #d9d4cc;
  width: 180px;
}
#intervention
  .select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  height: 32px;
}
#intervention
  .select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  line-height: 32px;
}
#interType label {
  width: 200px;
}
#interType .interType {
  display: flex;
  align-items: center;
}
#interType .interType > div {
  margin-bottom: 5px;
  display: none;
}
#interType .interType > .show {
  display: block;
}
#interType .interType > div input {
  border-radius: 4px 0 0 4px !important;
  width: 175px;
}
#intervention input[type="checkbox"] {
  transform: scale(1.25);
}
#intervention #external-1 {
  display: none;
}
#from-notif {
  background-color: #97f997;
  padding: 0.125rem 1rem;
  border: 1px solid #67f16c;
  border-radius: 2px;
  margin-bottom: 2rem;
}
#from-notif p {
  font-style: italic;
}
/* -- END intervention -- */
/* -- Camion -- */
.not-washed strong,
.not-washed a {
  color: #f44336;
}
.next-washing {
  text-align: left;
  font-size: 10px;
  margin-top: 5px;
}
.wash .washAction {
  display: none;
}
.wash.enableWash .washAction {
  display: inline-block;
  background-color: #ffc107;
  color: #fff;
  box-shadow: none;
  border-color: orange;
  cursor: pointer;
}
.next-washing strong,
.next-washing a {
  text-align: center;
  display: block;
  font-size: 12px;
}
.enableWash strong,
.enableWash a {
  color: #ffc107;
}
.wash.washed .washAction,
.wash.not-washed .washAction {
  display: inline-block;
  background-color: #4caf50;
  color: #fff;
  box-shadow: none;
  border-color: #4caf50;
}
.wash.not-washed .washAction {
  background-color: #f44336;
  border-color: #f44336;
}
.wash-raison,
.wash-at {
  display: none;
}
.wash-raison.activated,
.wash-at.activated {
  display: block;
}
#schedule-intervention {
  display: none;
}
/* -- special classes -- */
#main-content .dflex {
  display: flex;
}
#main-content .aicenter {
  align-items: center;
}
#main-content .jccenter {
  justify-content: center;
}
#main-content .fdcolumn {
  flex-direction: column;
}

/* -- Notification menu -- */
#notifs-action.activated {
  background-color: #eee;
  padding: 22px 0;
}
#notifs-items {
  position: absolute;
  display: none;
  background-color: #fff;
  margin: 0;
  top: 80px;
  right: 2px;
  box-shadow: 0 1px 15px 1px rgba(0, 0, 0, 0.04), 0 1px 6px rgba(0, 0, 0, 0.08);
}
#notifs-items li {
  display: flex;
  align-items: center;
  height: 70px;
  border-top: 1px solid #dee2e6;
}
#notifs-items li:first-child {
  border-top: none;
}
#notifs-items .notif-icon {
  display: flex;
  background-color: #eee;
  width: 44px;
  height: 100%;
  margin: 0;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
#notifs-items .notif-content {
  height: calc(100% - 8px);
  padding: 4px 12px;
  width: 240px;
}
#notifs-items .notif-date {
  text-align: right;
  width: 100%;
  display: block;
  font-size: 10px;
  color: #aaa;
  margin: 0;
  line-height: 1.25;
}
#notifs-items h5 {
  font-size: 13px;
  margin: 0;
  white-space: nowrap;
  font-weight: 500;
}
#notifs-items p {
  margin: 0;
  font-size: 11px;
  color: #7b7565;
  line-height: 1.25;
  font-weight: normal;
}
.open .header-user {
  background-color: #eee;
}

/* -- index output form -- */
#access_delivery {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  text-decoration: underline;
  font-weight: 600;
  font-size: 15px;
  line-height: 36px;
  position: relative;
}
#access_delivery:before {
  content: "";
  width: 1px;
  background-color: rgba(159, 118, 43, 0.25);
  position: absolute;
  top: 0;
  bottom: 0;
  left: 31px;
}
#actions-btn {
  display: flex;
  justify-content: space-between;
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
}
#sectors-of {
  margin: 0;
  text-align: left;
}
#DFDetails .addition {
  text-align: right;
  font-weight: 500;
}
/* --- sector DT --- */
#sectors_list .sectors_name {
  text-align: left;
}
#sectors_list .widget-body .province_name {
  font-size: 16px;
  font-weight: 500;
}
#sectors_list .widget-body .cercle_name {
  padding-left: 2.5rem;
  font-size: 15px;
  font-weight: 500;
}
#sectors_list .widget-body .caidat_name {
  padding-left: 5rem;
  font-size: 14px;
  font-weight: 500;
}
#sectors_list .widget-body .commune_name {
  padding-left: 7.5rem;
  font-weight: 500;
}
#sectors_list .widget-body .sector_name {
  padding-left: 10rem;
}
#sectors_list .sector_code {
  text-align: right;
  font-size: 16px;
  font-weight: 600;
}
#searchClientValid,
#searchClient {
  position: absolute;
  right: 22px;
  z-index: 1;
  margin-top: 3px !important;
}
#sector_mark > div {
  display: flex;
  margin-bottom: 2rem;
  align-items: center;
  height: 2.5rem;
}
#sector_mark input {
  margin: 0;
  margin-right: 0.75rem;
  width: 1rem;
  height: 1rem;
}
#sector_mark span {
  margin-right: 2rem;
}
/* --- official form --- */
.official-cat {
  display: none;
}
/* ---  --- */
.controled {
  color: #4caf50;
  font-weight: 600;
}

/* --- storekeeper items --- */
#main-content #store-items td {
  font-size: 14px;
}
.items-list {
  display: none;
}
.items-list.activated {
  display: block;
}
#main-content #itemCategoryList li {
  margin-bottom: 10px;
}
#main-content #itemCategoryList li.activated {
  background: #9f762b;
  box-shadow: 0 8px 25px -8px #9f762b;
  border-color: #9f762b;
  color: #fff;
}

#itemOrderForm .item-row {
  display: flex;
}
#itemOrderForm .item-quantity {
  margin: 0 10px !important;
}
#itemSales .of_status li {
  padding: 5px;
}
.max-qte {
  color: #f44336;
  position: relative;
  top: 6px;
}
#tallyForm .table {
  width: auto !important;
  margin: 0 auto;
}

.date-tabs {
  display: flex;
  justify-content: end;
}
.date-tabs li {
  margin: 0 4px;
}

#officialForm .image_area {
  position: relative;
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

#modal-avatar .preview {
  overflow: hidden;
  width: 160px;
  height: 160px;
  margin: 10px;
  border: 1px solid red;
}

#modal-avatar.modal-l {
  width: 700px !important;
}

#officialForm .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.8);
  overflow: hidden;
  height: 0;
  transition: 0.5s ease;
  width: 100%;
}

#officialForm .image_area:hover .overlay {
  height: 50%;
  cursor: pointer;
}

#officialForm .text {
  color: #333;
  font-size: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
}
#indexNumbers.summary .widget-body {
  min-height: 84px;
}
.daterangepicker .available {
  color: black;
}

/* == mag demande == */
#item-demand-form .official-type {
  display: none;
}
#item-demand-form .official-type.active {
  display: block;
}

table .group-links {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
}
table .group-links a {
  font-size: 20px;
  margin: 0 4px;
}

/* Event Calendar */
.calendar {
  display: flex;
  flex-flow: column;
}
.calendar .header .month-year {
  font-size: 20px;
  font-weight: bold;
  color: #636e73;
  padding: 20px 0;
}
.calendar .days {
  display: flex;
  flex-flow: wrap;
}
.calendar .days .day_name {
  width: calc(100% / 7);
  border-right: 1px solid #2c7aca;
  padding: 20px;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: bold;
  color: #818589;
  color: #fff;
  background-color: #448cd6;
}
.calendar .days .day_name:nth-child(7) {
  border: none;
}
.calendar .days .day_num {
  display: flex;
  flex-flow: column;
  width: calc(100% / 7);
  border-right: 1px solid #e6e9ea;
  border-bottom: 1px solid #e6e9ea;
  padding: 15px;
  font-weight: bold;
  color: #7c878d;
  cursor: pointer;
  min-height: 100px;
}
.calendar .days .day_num span {
  display: inline-flex;
  width: 30px;
  font-size: 14px;
}
.calendar .days .day_num .event {
  margin-top: 10px;
  font-weight: 500;
  font-size: 14px;
  padding: 3px 6px;
  border-radius: 4px;
  background-color: #f7c30d;
  color: #fff;
  word-wrap: break-word;
}
.calendar .days .day_num .event.green {
  background-color: #51ce57;
}
.calendar .days .day_num .event.blue {
  background-color: #518fce;
}
.calendar .days .day_num .event.red {
  background-color: #ce5151;
}
.calendar .days .day_num:nth-child(7n + 1) {
  border-left: 1px solid #e6e9ea;
}
.calendar .days .day_num:hover {
  background-color: #fdfdfd;
}
.calendar .days .day_num.ignore {
  background-color: #fdfdfd;
  color: #ced2d4;
  cursor: inherit;
}
.calendar .days .day_num.selected {
  background-color: #f1f2f3;
  cursor: inherit;
}
.calendar .header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.calendar .header .next-month,
.calendar .header .preview-month {
  cursor: pointer;
  display: block;
  border: 1px solid;
  padding: 5px 10px;
  border-radius: 4px;
  background-color: #f5f5f5;
  background-image: linear-gradient(to bottom, #fff, #e6e6e6);
  background-repeat: repeat-x;
  border-color: #e6e6e6 #e6e6e6 #bfbfbf;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  color: #333;
  text-shadow: 0 1px 1px rgb(255 255 255 / 75%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 20%), 0 1px 2px rgb(0 0 0 / 5%);
}
.calendar .header .month-year {
  text-transform: capitalize;
}
.calendar table {
  width: 100%;
  box-sizing: border-box;
  table-layout: fixed;
  border-collapse: collapse;
  border-spacing: 0;
}

.calendar th,
.calendar td {
  border-style: solid;
  border-width: 1px;
  padding: 0;
  vertical-align: top;
  border-color: #ddd;
}
.calendar td {
  height: 140px;
}
.calendar .today {
  background: #fcf8e3;
}
.calendar .day_num {
  display: block;
  padding: 2px;
  text-align: right;
  font-size: 1em;
}
.calendar .ignore {
  background-color: #f3f3f3;
}
.calendar .event {
  display: block;
  margin-top: 10px;
  font-weight: 500;
  font-size: 14px;
  padding: 3px 6px;
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
  position: relative;
}
.calendar .event .title {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  width: 100%;
  display: block;
}

.calendar .event .time {
  display: block;
  width: 100%;
}

.calendar .event .e-close {
  cursor: pointer;
  position: absolute;
  top: 0;
  right: 0;
  font-size: 1.2rem;
  color: white;
  display: block;
}

.e-yellow {
  background-color: #f7c30d;
}
.e-green {
  background-color: #51ce57;
}
.e-blue {
  background-color: #518fce;
}
.e-red {
  background-color: #ce5151;
}
.e-orange {
  background-color: #f89406;
}
#selected-offs {
  height: 100px;
  overflow-x: scroll;
  width: 100%;
}
ul#avatars {
  margin: 0;
  white-space: nowrap;
}
ul.e-avatar {
  margin: 0;
}
ul#avatars li,
ul.e-avatar li {
  display: inline-block;
}
ul#avatars div,
ul.e-avatar div {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 10px;
  width: 60px;
}
ul#avatars .u-close,
ul.e-avatar .u-close {
  position: absolute;
  top: -16px;
  right: 4px;
  width: 4px;
  padding: 10px;
  height: 4px;
  display: initial;
  border-radius: 25px;
  border: 2px solid white;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #9f762b;
  color: white;
  font-family: fantasy;
  cursor: pointer;
  margin-top: 20px;
}

ul#avatars .name,
ul.e-avatar .name {
  font-size: 10px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow-x: clip;
  width: 100%;
  text-align: center;
}
#e-modal .modal-body {
  max-height: 280px;
  height: 280px;
}
#search-group {
  width: 100%;
  background: #ddd;
  border-radius: none !important;
  height: 40px;
  border: none;
  margin-bottom: 5px;
}
#search-group input#offsSearch {
  width: 100%;
  background: #ddd;
  border-radius: none !important;
  height: 40px;
  border: none;
  color: black;
  font-size: 16px;
}

#modal-offs ul {
  margin: 0;
}
/* Customize the label (the container) */
.a-container {
  display: block;
  position: relative;
  cursor: pointer;
}

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

/* Create a custom checkbox */
.checkmark {
  position: absolute;
  top: 10px;
  right: 0;
  height: 25px;
  width: 25px;
  background-color: #eee;
}

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

/* When the checkbox is checked, add a blue background */
.a-container input:checked ~ .checkmark {
  background-color: #9f762b;
}

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

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

/* Style the checkmark/indicator */
.a-container .checkmark:after {
  left: 9px;
  top: 5px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

/* end Event Calendar */
