body {
  font-size: 13px !important;
}

#block-card-countable-stats .card-group {
  margin-top: 15px;
}

#block-card-countable-stats .card-group .card {
  background-color: white !important;
  padding: 0px !important;
  cursor: pointer;
  border-right: solid 5px #c3002f;
}

@media (max-width: 575.98px) {
  #block-card-countable-stats .card-group .card {
    margin-top: 10px;
    margin-right: 0px !important;
  }
}

#block-card-countable-stats .card-group .card .card-body {
  padding: 5px;
}

#block-card-countable-stats .card-group .card .card-body .row {
  color: #373738 !important;
  text-align: end;
}

#block-card-countable-stats .card-group .card .card-body .row .col-4 {
  border-radius: 3px;
  justify-content: center;
  align-items: center;
  display: flex;
  position: absolute;
  top: -20px;
  left: 15px;
  height: 75px;
  width: 60px;
  -webkit-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1) !important;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1) !important;
}

@media (max-width: 575.98px) {
  #block-card-countable-stats .card-group .card .card-body .row .col-4 {
    top: 0px;
    box-shadow: none !important;
    left: 0px;
    height: 100%;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
    width: 30%;
  }
}

#block-card-countable-stats .card-group .card .card-body .row .col-4 img {
  height: 40px;
  width: 40px;
}

#block-card-countable-stats .card-group .card .card-body .row .col-8 {
  margin-left: 75px;
  color: #373738 !important;
  padding: 0px;
}

#block-card-countable-stats .card-group .card .card-body .row .col-8 .stat-data-wrapper {
  text-align: end;
  font-weight: bold !important;
}

#block-card-countable-stats .card-group .card .card-body .row .col-8 .stat-data-wrapper .stat-title,
#block-card-countable-stats .card-group .card .card-body .row .col-8 .stat-data-wrapper span,
#block-card-countable-stats .card-group .card .card-body .row .col-8 .stat-data-wrapper small {
  color: #373738 !important;
}

#block-card-countable-stats .card-group .card .card-body:hover .row .col-4 {
  top: 0px !important;
  box-shadow: none !important;
  left: 0px !important;
  height: 100% !important;
  border-top-right-radius: 0px !important;
  border-bottom-right-radius: 0px !important;
  width: 30% !important;
  transition: 0.5s ease all;
}

#block-card-amount-stats .card-group {
  margin-top: 15px;
}

#block-card-amount-stats .card-group .card {
  background-color: white !important;
  padding: 0px !important;
  cursor: pointer;
  border-right: solid 5px #c3002f;
}

@media (max-width: 575.98px) {
  #block-card-amount-stats .card-group .card {
    margin-top: 10px;
    margin-right: 0px !important;
  }
}

#block-card-amount-stats .card-group .card .card-body {
  padding: 5px;
}

#block-card-amount-stats .card-group .card .card-body .row {
  color: #373738 !important;
  text-align: end;
}

#block-card-amount-stats .card-group .card .card-body .row .col-4 {
  border-radius: 3px;
  justify-content: center;
  align-items: center;
  display: flex;
  position: absolute;
  top: -20px;
  left: 15px;
  height: 75px;
  width: 60px;
  -webkit-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1) !important;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1) !important;
}

@media (max-width: 575.98px) {
  #block-card-amount-stats .card-group .card .card-body .row .col-4 {
    top: 0px;
    box-shadow: none !important;
    left: 0px;
    height: 100%;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
    width: 30%;
  }
}

#block-card-amount-stats .card-group .card .card-body .row .col-4 img {
  height: 40px;
  width: 40px;
}

#block-card-amount-stats .card-group .card .card-body .row .col-8 {
  margin-left: 25%;
  color: #373738 !important;
  padding: 0px;
}

#block-card-amount-stats .card-group .card .card-body .row .col-8 .stat-data-wrapper {
  text-align: end;
  font-weight: bold !important;
}

#block-card-amount-stats .card-group .card .card-body .row .col-8 .stat-data-wrapper .stat-title,
#block-card-amount-stats .card-group .card .card-body .row .col-8 .stat-data-wrapper span,
#block-card-amount-stats .card-group .card .card-body .row .col-8 .stat-data-wrapper small {
  color: #373738 !important;
}

@media (max-width: 575.98px) {
  #block-card-amount-stats .card-group .card .card-body .row .col-8 .stat-data-wrapper .stat-title {
    font-size: 13px !important;
  }
}

#block-card-amount-stats .card-group .card .card-body:hover .row .col-4 {
  top: 0px !important;
  box-shadow: none !important;
  left: 0px !important;
  height: 100% !important;
  border-top-right-radius: 0px !important;
  border-bottom-right-radius: 0px !important;
  width: 30% !important;
  transition: 0.5s ease-in-out all;
}

.modal.modal-fullscreen .modal-dialog {
  width: 100vw;
  height: 100vh;
  margin: 0;
  padding: 0;
  max-width: none;
}

.modal.modal-fullscreen .modal-content {
  height: auto;
  height: 100vh;
  border-radius: 0;
  border: none;
}

.modal.modal-fullscreen .modal-body {
  overflow-y: auto;
}

#modalReaffectation .modal-body,
#modalConfiguration .modal-body {
  overflow-y: hidden !important;
}

#modalReaffectation .card,
#modalConfiguration .card {
  border: none !important;
}

#modalReaffectation .card .card-body,
#modalConfiguration .card .card-body {
  height: 70vh;
  overflow-y: auto;
}

#modalReaffectation .card .card-body table tbody tr.active,
#modalConfiguration .card .card-body table tbody tr.active {
  background-color: #e0e3e4 !important;
}

.ld-sidebar {
  border-right: 2px solid #ccc;
  overflow: auto;
}

@media (min-width: 768px) {
  .ld-sidebar {
    position: -webkit-sticky;
    position: sticky;
    top: 4rem;
    z-index: 1000;
    height: calc(100vh - 4rem);
  }
}

.ld-sidebar a.list-group-item {
  cursor: pointer;
  text-decoration: none;
  color: #6f7a7f !important;
}

.ld-sidebar a.list-group-item:hover, .ld-sidebar a.list-group-item.active {
  background-color: #f7f7f7;
}

.ld-sidebar a.list-group-item:visited {
  color: #6f7a7f !important;
}

.ld-sidebar .list-group.list-group-flush.sub-menu {
  margin-left: 18px !important;
  margin-top: 3px;
}

.ld-sidebar .list-group.list-group-flush.sub-menu .list-group-item {
  border: 0px !important;
}

.ld-sidebar .list-group.list-group-flush.sub-menu .list-group-item.active {
  border-left: 2px solid #3a55b1 !important;
}

.add-emargement-profeseurs-page .right-box {
  height: 400px;
  max-height: 400px;
  overflow: auto;
  position: relative;
  border-left: 1px solid rgba(0, 0, 0, 0.125);
}

.add-emargement-profeseurs-page .right-box .top-header {
  position: sticky;
  z-index: 500;
  background-color: #ffff;
  height: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  top: -1px;
  padding-top: 5px;
  padding-right: 10px;
  margin-bottom: 15px;
}

.switcher-login {
  display: flex;
  justify-content: space-between;
  background-color: #373738;
  align-items: center;
}

.switcher-login #account-type-displayer {
  text-transform: uppercase;
  font-weight: 800;
}

.sortable-ghost-class {
  background-color: #f7f7f7 !important;
}

#more-stats span:hover {
  transform: scale(1.2);
  cursor: zoom-in !important;
  box-shadow: 2px 2px 0px 2px black;
}

.partage-document-page .partage-header {
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  align-items: center;
  margin-top: 8px;
  border-bottom: 1px solid #e0e3e4;
  padding-bottom: 5px;
}

.partage-document-page .partage-header button {
  border: none;
  color: #546e7a;
  border-radius: 50%;
  height: 40px;
  width: 40px;
}

.partage-document-page .partage-header button:hover {
  background-color: #fafafa;
  color: #0d1530 !important;
}

table#object_list tbody tr.active {
  background-color: #546e7a;
  color: #ffff;
}

.mx-chat-box {
  background-color: #ccc;
  height: 70vh;
  max-height: 70vh;
  overflow: hidden;
  position: relative;
  justify-content: end;
}

.mx-chat-box .messages-container {
  padding: 10px;
  height: 100%;
  overflow: scroll;
  padding-bottom: 80px;
}

.mx-chat-box .messages-container .message {
  margin-bottom: 10px;
}

.mx-chat-box .messages-container .message .sender {
  margin-bottom: 5px;
}

.mx-chat-box .messages-container .message .sender span {
  font-weight: bold;
}

.mx-chat-box .messages-container .message .send-at {
  margin-top: 5px;
  text-align: right;
}

.mx-chat-box .messages-container .message .send-at span {
  font-style: italic;
}

.mx-chat-box .write-wrapper {
  display: flex;
  position: absolute;
  bottom: 0;
  width: 100%;
  padding-left: 5px;
  padding-right: 5px;
  padding-top: 5px;
  background-color: #ffff;
}

.mx-chat-box .write-wrapper .form-group {
  margin-bottom: 0px;
  width: 90%;
}

.mx-chat-box .write-wrapper .mx-send-wrapper {
  align-self: end;
  margin-left: 8px;
}

#student-elearning-page ul.side-bar {
  margin-top: 45px;
}

#student-elearning-page ul.side-bar li {
  display: flex;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 500;
  color: gray;
  align-items: center;
}

#student-elearning-page ul.side-bar li .item_index {
  width: 20px;
  height: 20px;
  border-radius: 20px;
  background-color: #f3f4f6;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 10px;
}

.etat_eleves_page .search-wrapper #getEleveStats #content-search .select2-selection__choice {
  font-size: 12px !important;
  background-color: #424449 !important;
}

@media (max-width: 575.98px) {
  #navbarCollapseAlt {
    background: #c85050;
  }
  #navbarCollapseAlt .navbar-nav .nav-item .nav-link {
    color: #ffff;
    font-weight: bold !important;
  }
  #navbarCollapseAlt .navbar-nav .nav-item .dropdown-menu .dropdown-item {
    color: #ffff !important;
  }
}

#student-home .splide__slide img {
  width: 100%;
  border-radius: 3px !important;
}

@media (max-width: 575.98px) {
  #student-home .splide__slide img {
    height: 200px !important;
  }
}

@media (max-width: 575.98px) {
  .hk-pg-wrapper .hk-breadcrumb {
    margin-top: 50px !important;
  }
}
