html {
  scroll-behavior: smooth;
}

.fond {
  background-color: #FFC800;
}

.offcanvas-header {
  padding: 0.5rem 0.5rem !important;
}

#search::placeholder {
  color: white;
  opacity: 1;
}

#profil-border-color {
  border-color: #808080 !important;
}

.no-padding > [class*="col-"] {
  padding-right: 0;
  padding-left: 0;
}

.hello_msg {
  color: gray;
  font-weight: 900;
}

.fond_connect {
  background-color: gray;
}

.text_exemple {
  text-align: center;
  color: gray;
  font-size: 70px;
  background-color: red;
}

.back {
  background-color: #FFC800;
}
.formul {
  width: 150px;
  margin: 1em;

  -webkit-box-sizing: border-box; /* Pour les anciennes versions des navigateurs WebKit */
  -moz-box-sizing: border-box; /* Pour tous les navigateurs Gecko */
  box-sizing: border-box;
}


#log_top {
  margin-top: 6.5rem;
}

.link {
  color: initial;
  text-decoration: none;
}

.link:hover {
  color: initial;
}

.visible {
  visibility: visible !important;
}

.invisible {
  display: none !important;
}

/*
.link:active {
    border: 1px solid white;
    z-index: 100;
}*/

.form_div {
  width: 37em;
  margin-bottom: 1em;
  margin-left: 1em;
  margin-right: 1em;
}

.smallDiv_form {
  width: 25em;
  margin-bottom: 1em;
  margin-left: 1em;
  margin-right: 1em;
}

.btn_form {
  width: 13em;
  margin-left: 1em;
  margin-bottom: 1em;
}

.colkash > * {
  padding-right: 0 !important;
  padding-left: 0 !important;
}

#nothingshow {
  margin-top: 10%;
}

.position-relative {
  top: 14rem;
  bottom: 0;
}

.paper-plane {
  width: 46px;
  height: 46px;
  color: black;
}

#send-button {
  position: absolute;
  right: 0;
  top: 11px;
}

.card-footer {
  padding: 0 !important;
  background-color: inherit !important;
  border-top: none !important;
}

.send {
  background-color: #0099ff !important;
  margin: 2px;
  padding: 0;
  border-radius: 10px;
}

#send_read {
  color: white;
}

.msg_card {
  word-break: break-all;
  min-width: 5em;
  white-space: pre-wrap;
}

#received_read {
  color: gray;
}

.received {
  background-color: #f1f0f0 !important;
  margin: 2px;
  padding: 5px 5px 0;
  border-radius: 10px;
}

#write-message:focus {
  background-color: #edeef6;
  outline: none;
  box-shadow: none;
  color: black;
}

button {
  border: none !important;
  background-color: inherit;
  cursor: pointer;
}

@media (min-width: 100px) {
  #paymentModalStuff {
    max-width: 750px !important;
  }
}

.card-warning:not(.card-outline) > .card-header {
  background-color: #ffc107;
}

.card-warning:not(.card-outline) > .card-header,
.card-warning:not(.card-outline) > .card-header a {
  color: #1f2d3d;
}

.card-warning:not(.card-outline) > .card-header a.active {
  color: #1f2d3d;
}

.card-warning.card-outline {
  border-top: 3px solid #ffc107;
}

.card-warning.card-outline-tabs > .card-header a:hover {
  border-top: 3px solid #dee2e6;
}

.card-warning.card-outline-tabs > .card-header a.active {
  border-top: 3px solid #ffc107;
}

.bg-warning .btn-tool,
.bg-gradient-warning .btn-tool,
.card-warning:not(.card-outline) .btn-tool {
  color: rgba(31, 45, 61, 0.8);
}

.bg-warning .btn-tool:hover,
.bg-gradient-warning .btn-tool:hover,
.card-warning:not(.card-outline) .btn-tool:hover {
  color: #1f2d3d;
}

.card.bg-warning .bootstrap-datetimepicker-widget .table td,
.card.bg-warning .bootstrap-datetimepicker-widget .table th,
.card.bg-gradient-warning .bootstrap-datetimepicker-widget .table td,
.card.bg-gradient-warning .bootstrap-datetimepicker-widget .table th {
  border: none;
}

.card.bg-warning
  .bootstrap-datetimepicker-widget
  table
  thead
  tr:first-child
  th:hover,
.card.bg-warning .bootstrap-datetimepicker-widget table td.day:hover,
.card.bg-warning .bootstrap-datetimepicker-widget table td.hour:hover,
.card.bg-warning .bootstrap-datetimepicker-widget table td.minute:hover,
.card.bg-warning .bootstrap-datetimepicker-widget table td.second:hover,
.card.bg-gradient-warning
  .bootstrap-datetimepicker-widget
  table
  thead
  tr:first-child
  th:hover,
.card.bg-gradient-warning .bootstrap-datetimepicker-widget table td.day:hover,
.card.bg-gradient-warning .bootstrap-datetimepicker-widget table td.hour:hover,
.card.bg-gradient-warning
  .bootstrap-datetimepicker-widget
  table
  td.minute:hover,
.card.bg-gradient-warning
  .bootstrap-datetimepicker-widget
  table
  td.second:hover {
  background: #dda600;
  color: #1f2d3d;
}

.card.bg-warning .bootstrap-datetimepicker-widget table td.today::before,
.card.bg-gradient-warning
  .bootstrap-datetimepicker-widget
  table
  td.today::before {
  border-bottom-color: #1f2d3d;
}

.card.bg-warning .bootstrap-datetimepicker-widget table td.active,
.card.bg-warning .bootstrap-datetimepicker-widget table td.active:hover,
.card.bg-gradient-warning .bootstrap-datetimepicker-widget table td.active,
.card.bg-gradient-warning
  .bootstrap-datetimepicker-widget
  table
  td.active:hover {
  background: #ffce3a;
  color: #1f2d3d;
}

.direct-chat.chat-pane-open .direct-chat-contacts {
  -webkit-transform: translate(0, 0);
  transform: translate(0, 0);
}

.direct-chat.timestamp-light .direct-chat-timestamp {
  color: #30465f;
}

.direct-chat.timestamp-dark .direct-chat-timestamp {
  color: #cccccc;
}

.direct-chat-messages {
  -webkit-transform: translate(0, 0);
  transform: translate(0, 0);
  height: 250px;
  padding: 10px;
}

.direct-chat-msg,
.direct-chat-text {
  display: block;
}

.direct-chat-msg {
  margin-bottom: 10px;
}

.direct-chat-msg::after {
  display: block;
  clear: both;
  content: "";
}

.direct-chat-messages,
.direct-chat-contacts {
  transition: -webkit-transform 0.5s ease-in-out;
  transition: transform 0.5s ease-in-out;
  transition: transform 0.5s ease-in-out, -webkit-transform 0.5s ease-in-out;
}

.direct-chat-text {
  border-radius: 0.7rem;
  background: #d2d6de;
  border: 1px solid #d2d6de;
  color: #444;
  margin: 10px 0 1px;
  padding: 5px 10px;
  position: relative;
  max-width: 30em;
}

@media screen and (max-width: 549px) {
  .direct-chat-text {
    max-width: 25em;
  }
}



.direct-chat-text::after,
.direct-chat-text::before {
  border: solid transparent;
  word-break: break-word;
  border-right-color: #d2d6de;
  content: " ";
  height: 0;
  pointer-events: none;
  position: absolute;
  right: 100%;
  top: 15px;
  width: 0;
}

.direct-chat-text::after {
  border-width: 5px;
  margin-top: -5px;
}

.direct-chat-text::before {
  border-width: 6px;
  margin-top: -6px;
}

.right .direct-chat-text {
  padding-right: 0;
}

.right .direct-chat-text::after,
.right .direct-chat-text::before {
  border-left-color: #ffc107;
  border-right-color: transparent;
  left: 100%;
  right: auto;
}

.direct-chat-img {
  border-radius: 50%;
  float: left;
  height: 40px;
  width: 40px;
}

.right .direct-chat-img {
  float: right;
}

.direct-chat-infos {
  display: block;
  font-size: 0.875rem;
  margin-bottom: 2px;
}

.direct-chat-name {
  font-weight: 600;
}

.direct-chat-timestamp {
  color: #697582;
}

.direct-chat-contacts-open .direct-chat-contacts {
  -webkit-transform: translate(0, 0);
  transform: translate(0, 0);
}

.direct-chat-contacts {
  -webkit-transform: translate(101%, 0);
  transform: translate(101%, 0);
  background: #343a40;
  bottom: 0;
  color: #ffffff;
  height: 250px;
  overflow: auto;
  position: absolute;
  top: 0;
  width: 100%;
}

.direct-chat-warning .right > .direct-chat-text {
  background: #ffc107;
  border-color: #ffc107;
  color: #1f2d3d;
}

.direct-chat-warning .admin > .direct-chat-text {
  background: #2993d1;
  border-color: #2993d1;
  color: #ffffff;
}

.admin-right .direct-chat-text {
  padding-right: 0;
}

.admin-left .direct-chat-text::after,
.admin-left .direct-chat-text::before {
  border-right-color: #2993d1;
}

.admin-right .direct-chat-text::after,
.admin-right .direct-chat-text::before {
  border-left-color: #2993d1;
  border-right-color: transparent;
  left: 100%;
  right: auto;
}

#idHeight {
  min-height: 20rem !important;
  max-height: 20rem !important;
  height: 20rem !important;
  overflow-x: hidden;
  overflow-y: scroll;
}

#idDiscHeight {
  min-height: 28.2rem !important;
  height: 28.2rem !important;
  max-height: 28.2rem !important;
  overflow-x: hidden;
  overflow-y: scroll;
}

/*medium default image dimanesion */
@media (min-width: 768px) {
  .profile {
    align-items: center !important;
    justify-content: center !important;
    width: 80px;
    height: 80px;
    border-radius: 50%;
  }

  .profil-name {
    padding-top: 20%;
    color: #ffffff;
    font-size: 2rem;
  }

  /*small default image dimanesion */
  .small-profil {
    width: 43px;
    height: 43px;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50%;
  }

  .small-profil-name {
    padding-top: 20%;
    color: #ffffff;
    font-size: 1.3rem;
  }

  /*very small default image dimanesion */
  .v-small-profil {
    width: 30px;
    height: 30px;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50%;
  }

  .v-small-profil-name {
    padding-top: 10%;
    color: #ffffff;
    font-size: 1.2rem;
  }

  /*large default image dimanesion */
  .largeProfile {
    width: 100px;
    height: 100px;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50%;
  }

  .largeProfile_name {
    padding-top: 22%;
    color: #ffffff;
    font-size: 2.5rem;
  }
}

@media (max-width: 767px) {
  /*large default image dimanesion */
  .largeProfile {
    width: 100px;
    height: 100px;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50%;
  }

  .largeProfile_name {
    padding-top: 22%;
    color: #ffffff;
    font-size: 2.5rem;
  }

  /*very small default image dimanesion */
  .v-small-profil {
    width: 30px;
    height: 30px;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50%;
  }

  .v-small-profil-name {
    padding-top: 10%;
    color: #ffffff;
    font-size: 1.2rem;
  }

  .profile {
    width: 80px;
    height: 80px !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50%;
  }

  .profil-name {
    padding-top: 20%;
    color: #ffffff;
    font-size: 2rem;
  }

  .navbar-brand {
    margin-right: unset !important;
    font-size: medium !important;
  }

  /*small default image dimanesion */
  .small-profil {
    width: 49px;
    height: 49px;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50%;
  }

  .small-profil-name {
    padding-top: 0.7rem;
    color: #ffffff;
  }
}

.imgClips {
  clip-path: ellipse(50% 50%);
}

@media (min-width: 768px) {
  .row-cols-md-3 > * {
    flex: 0 0 auto;
    width: 30.3333333333% !important;
  }
}

.cardRow > * {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.notreadNot {
  font-weight: bold !important;
  color: #000000 !important;
}

.readNot {
  font-weight: normal;
}

@media (max-width: 997px) {
  .cardRow {
    display: none !important;
  }

  .incardRow {
    visibility: visible !important;
  }
}

@media (min-width: 997px) {
  .cardRow {
    visibility: visible !important;
  }

  .incardRow {
    display: none !important;
  }
}
