@import url("../plugins/font-awesome/css/all.css");
@import url("../plugins/calendar/calendar.css");
@import url("../plugins/bootstrap/css/bootstrap.min.css");
@import url("../plugins/datatables/datatables.min.css");
@import url("../plugins/animate/animation.css");

* {
  margin: 0px;
  padding: 0px;
}
.afficher {
  display: none;
}
.label {
  font-size: 0.8rem;
}
.modalAddEmployer .label,
.modalAddEmployer label {
  color: #6a6868;
}

.loading {
  position: fixed;
  z-index: 9999;
  overflow: show;
  margin: auto;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 50px;
  height: 50px;
}

/* Transparent Overlay */
.loading:before {
  content: "";
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.2);
}

/* :not(:required) hides these rules from IE9 and below */
.loading:not(:required) {
  /* hide "loading..." text */
  font: 0/0 a;
  color: transparent;
  text-shadow: none;
  background-color: transparent;
  border: 0;
}

.loading:not(:required):after {
  content: "";
  display: block;
  font-size: 10px;
  width: 50px;
  height: 50px;
  margin-top: -0.5em;

  border: 15px solid rgba(33, 150, 243, 1);
  border-radius: 100%;
  border-bottom-color: transparent;
  -webkit-animation: spinner 1s linear 0s infinite;
  animation: spinner 1s linear 0s infinite;
}
.layout {
  height: 100vh;
  display: flex;
  background-color: rgb(30 64 175);
  justify-content: space-around;
}

.layout .left-sidebar-menu {
  flex: 1.2;
  padding: 10px;
  display: flex;
  align-items: center;
  flex-direction: column;
  -webkit-box-shadow: 6px -2px 9px -5px rgba(0, 0, 0, 0.84);
  box-shadow: 6px -2px 9px -5px rgba(0, 0, 0, 0.84);
}

.cr-sidebar {
  position: fixed;
  top: 0;
  bottom: 0;
  left: -224px;
  z-index: 5;
  width: 224px;
  font-weight: 200;
  color: #fff;
  background-position: 50%;
  background-size: cover;
  transition: left 0.1s ease-in;
}

.cr-sidebar--open {
  left: 0;
  transition: left 0.2s ease-in;
}

.cr-sidebar--open + .cr-content {
  margin: 0 0 0 224px;
  transition: margin 0.2s ease-in;
  overflow-y: hidden !important;
  overflow-x: hidden;
}

.cr-sidebar + .cr-content {
  transition: margin 0.1s ease-in;
}

.photo {
  height: 260px;
  margin: 10px 30px 30px 30px;
  padding: 5px;
  border: solid 1px #444;
  border-radius: 10px;
}
.photo img {
  height: 100%;
}
.layout .left-sidebar-menu .menuh {
  display: flex;
  flex-direction: column;
  justify-content: stretch;
  width: 100%;
}
.layout .left-sidebar-menu .nav-link {
  max-width: 200px;
  min-width: 200px;
}
.layout .right-content {
  flex: 7;
  display: flex;
  flex-direction: column;
  overflow-y: hidden;
  overflow-x: hidden;
}
.layout .right-content .menu-head {
  flex: 0.6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  color: #f0f7fa;
}
.layout .right-content .content {
  flex: 7;
  background-color: #f0f7fa;
  padding: 10px 0px 30px 10px;
  overflow-y: hidden;
  overflow-x: hidden;
}
.layout .right-content .content .cards {
  width: auto;
  height: auto;
  border: solid 1px #e2e2f2;
  margin: 7px;
}
.layout .right-content .content .card {
  width: 285px;
  height: 450px;
  position: relative;
  border-radius: 5px;
  margin: 5px;
  font-size: 14px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: normal;
}
.backed_card {
  position: absolute;
}
.header_card {
  height: 80px;
}
.header_card img {
  width: 100%;
  height: 100%;
}
.photo_card {
  height: 160px;
  text-align: right;
}
.photo_card img {
  height: 100%;
}
.carte_content {
  position: absolute;
  width: 285px;
  height: 435px;
  z-index: 111;
  padding-top: 120px;
}
.infos_card {
  height: 110px;
  margin-top: 10px;
  text-align: left;
  font-size: 16px;
  padding: 5px;
  margin-left: 10px;
}
.info_left {
  padding-right: 15%;
  display: inline;
}
.info_right {
  display: block;
  position: absolute;
  margin-left: 80px;
  margin-top: -15px;
}
.footer_card {
  font-size: 11px;
  color: midnightblue;
}
#dos {
  font-size: 19px;
}
#dos .logo img {
  width: 30%;
  height: auto;
}

.scroller {
  overflow-y: scroll !important;
  overflow-x: hidden;
  width: 100%;
}

.modal_fullscreen {
  width: 100%;
  max-width: none;
  height: 100%;
  margin: 0;
}
.modal.fade .modal-dialog {
  transform: none !important;
}
.form_data_input {
  padding: 0.2em;
  margin-right: 5px;
  margin-bottom: -5px !important;
  width: 110px;
}
button.dt-button,
div.dt-button,
a.dt-button,
input.dt-button {
  padding: 0.2em 0.5em;
}

.drop-zone {
  max-width: 100%; /*max to make it responsive*/
  height: 60px;
  text-align: center;
  font-weight: 500;
  font-size: 20px;
  cursor: pointer;
  color: lightgrey;
  border: 4px dashed seagreen;
  border-radius: 10px;
}
.drop-zone.highlight {
  border-color: purple;
  margin: 5px;
  background-color: #e5e5e5;
}

.drop-zone .input-file {
  display: none;
}
.preview_documents {
  /* display: flex; */
  position: relative;
  margin-top: 1rem;
  padding-bottom: 1.3rem;
  min-height: 300px;
}
.preview_documents > .preview-image {
  position: relative;
  float: left;
  margin-bottom: 5px;
  margin-bottom: 20px;
}
.preview_documents > .preview-image > .image-zone {
  width: 100%;
  height: 100%;
}
.preview_documents > .preview-image > .image-zone > img {
  width: 100%;
  height: 100%;
}
.preview_documents > .preview-image > .tools-edit-image {
  position: absolute;
  z-index: 100;
  color: #fff;
  bottom: 0;
  width: 100%;
  text-align: center;
  margin-bottom: 10px;
  display: none;
}
.preview_documents > .preview-image > .image-cancel {
  font-size: 18px;
  position: absolute;
  top: 0;
  right: 0;
  font-weight: bold;
  cursor: pointer;
  display: none;
  z-index: 100;
}
.preview-image:hover > .image-zone {
  cursor: move;
  opacity: 0.5;
}
.preview-image:hover > .tools-edit-image,
.preview-image:hover > .image-cancel {
  display: block;
}
.modal_doc .close {
  position: absolute;
  right: -30px;
  top: 0;
  z-index: 999;
  font-size: 2rem;
  font-weight: normal;
  color: #fff;
  opacity: 1;
  background-color: red;
  padding: 5px;
}

.modal-content .form-control {
  height: calc(1.7rem + 0.34rem + 2px);
  padding: 0px 10px;
  background-color: #e2e2f2;
}
.modal-content select.form-control:not([size]):not([multiple]) {
  height: calc(1.9rem + 2px);
}
.modal-content .input-group-text {
  padding: 0.12rem 0.7rem !important;
}

.home-menu-container {
  margin: 20px;
  display: grid;
  grid-template-rows: repeat(1, 150px);
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 30px;
}

.item {
  padding: 20px;
  font-size: 20px;
  font-family: sans-serif;
  -webkit-box-shadow: 1px 1px 10px 3px rgba(62, 168, 255, 0.46);
  box-shadow: 1px 1px 10px 3px rgba(62, 168, 255, 0.46);
  border-radius: 10px;
}
.item ul li a {
  width: 100%;
}
.item:hover {
  opacity: 0.7;
}
.item img {
  display: block;
  float: right;
}

/*----------- BUTTON ----------*/
.btn-lg.btn-toggle {
  padding: 0;
  margin: 0 5rem;
  position: relative;
  height: 2.5rem;
  width: 6rem;
  border-radius: 3rem;
  color: #6b7381;
  background: #bdc1c8;
  margin-bottom: 30px;
}
.btn-toggle.btn-lg > .switch {
  position: absolute;
  top: 0.2rem;
  left: 0.1rem;
  width: 2rem;
  height: 2rem;
  border-radius: 1.875rem;
  background: #fff;
  transition: left 0.25s;
}
.btn-toggle.active {
  background-color: #ff8800;
}
.btn-toggle.btn-lg.active > .switch {
  left: 3.75rem;
  transition: left 0.25s;
}

.btn-lg.btn-toggle:after {
  content: "Active";
  right: -5rem;
  opacity: 0.5;
  line-height: 2.5rem;
  width: 5rem;
  text-align: center;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 2px;
  position: absolute;
  bottom: 0;
  transition: opacity 0.25s;
}

.btn-lg.btn-toggle.active:after {
  opacity: 1;
}

/*------------ CHECKBOX -------------*/
.toggle-switch {
  margin: 0 auto;
  position: relative;
  display: inline;
}
.toggle-switch label {
  padding: 0;
}
input.cb-switch {
  display: none;
}
.toggle-switch label input + span {
  position: relative;
  display: inline-block;
  margin-right: 10px;
  width: 5.5rem;
  height: 2rem;
  background: linear-gradient(
    to bottom,
    rgba(230, 230, 230, 0.1) 0%,
    rgba(0, 0, 0, 0.1) 100%
  );
  border: 1px solid #eee;
  transition: all 0.3s ease-in-out;
  box-shadow: inset 0 0 5px #828282;
  text-align: right;
  padding-right: 5px;
  padding-top: 2px;
  text-transform: uppercase;
}
.toggle-switch label input + span small {
  position: absolute;
  display: block;
  width: 2rem;
  height: 1.5rem;
  background: #fff;
  transition: all 0.3s ease-in-out;
  top: 0.2rem;
  left: 0.2rem;
}
.toggle-switch label input:checked + span {
  background-color: #ff8800;
}
.toggle-switch label input:checked + span small {
  left: 3rem;
  transition: left 0.25s;
  text-align: left;
}

footer {
  font-size: 0.8rem;
  background-color: rgb(30 64 175);
}

.form_rapport ul,
.colonn {
  column-count: 4;
  column-gap: 2rem;
  list-style: none;
}
input.error,
textarea.error {
  border: 1px dashed red;
  font-weight: 300;
  color: red;
}

.sort-list {
  display: flex;
  flex-direction: column;
  list-style: none;
}

.input-sort-max:checked ~ .sort-list {
  flex-direction: column-reverse;
}

.content .menu {
  border-bottom: 1px solid #444;
  padding-bottom: 10px;
}

.input-sort-min:checked ~ .sort-list {
  flex-direction: column;
}

.form_rapport .form-group {
  margin-bottom: 0rem;
}
.form_rapport .form-group label {
  text-transform: uppercase;
  font-size: 0.5rem;
  margin-bottom: 0rem;
  padding-top: 0px;
  color: #fff;
}
#listFields li label {
  font-size: 0.8rem;
}

@media print {
  html,
  body {
    height: auto;
    font-size: 12pt; /* changing to 10pt has no impact */
    color: #000;
    font-family: sans-serif;
  }
  /*
    @page {size: portrait; margin-top: -1in; margin-bottom:-1in; color: #FFF; } */
  @page {
    size: 8.5in 11in;
    margin: 0px 30px;
  }
  .afficher {
    display: inline;
    margin-bottom: 10px;
  }
  input {
    display: none;
  }
  #menu-bar,
  a,
  header,
  footer,
  .btn,
  input,
  select,
  .dt-buttons {
    display: none !important;
  }
  .cr-sidebar {
    margin: 0px !important;
    left: 0px !important;
  }
  .cr-sidebar--open + .cr-content {
    margin: 0 0 0 0px !important;
  }
  ::-webkit-scrollbar {
    display: none;
  }
  .border {
    border: none !important;
  }
  .no-print {
    display: none;
  }
  .container .dossier h3 {
    font-size: 1.7rem;
  }
  .layout {
    flex: none;
  }
  .layout .right-content {
    flex: none;
    padding-left: 120px;
    padding-right: 100px;
  }
  .content {
    flex: none;
  }
  .table td,
  .table th {
    border-top: none;
  }

  table {
    border-collapse: collapse;
    width: 100% !important;
    margin-right: 15px;
  }
  table tr td {
    page-break-inside: avoid;
    white-space: nowrap;
  }
  table tr th {
    text-transform: uppercase;
    border: none !important;
  }
  thead {
    background-color: #000 !important;
  }
  .table-bordered td,
  .table-bordered th {
    border: none !important;
  }
  hr {
    margin-top: 30px;
    margin-bottom: 30px;
    border: dashed 1px #818181;
  }
}

.result_search_employer {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #8c8b8b;
  border: 1px solid #d5d6d8;
  border-top: none;
  z-index: 9999;
  max-height: auto;
  overflow-y: hidden;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.08);
}
.result {
  position: absolute;
  z-index: 999;
  top: 100%;
  left: 0;
  padding: 0px 15px;
}
.search-box input[type="text"],
.result {
  width: 100%;
  box-sizing: border-box;
}
/* Formatting result items */
.result p,
.result_search_employer p {
  margin: 0;
  padding: 7px 10px;
  border: 1px solid #f7f3f3;
  border-top: none;
  cursor: pointer;
  background-color: #1f1a1a;
}
.result p:hover {
  background: #f5f3f7;
}
