html,
body {
  height: 100%;
  width: 100%;
    max-height: 100%;
    overflow: auto;
    display: flex;
    flex-direction: column;
}

body>header {
  flex-shrink: auto;
}

body>main {
  flex-shrink: auto;
  flex-grow: auto;
    overflow: auto;
}

body>footer {
  flex-shrink: auto;
  z-index: 9999;
    position: absolute;
    bottom: 0;
    left: 0;
    width: calc(100%);
}

#user-avatar {
  width: 1.8rem;
  height: 1.8rem;
    object-fit: scale-down;
    object-position: center center;
}

#user-img-profile {
  width: 100%;
  height: auto;
    max-height: 20vh;
    object-fit: scale-down;
    object-position: center center;
}

.body-wrapper .main-wrapper .page-wrapper .content-wrapper {
  min-height: calc(100vh - 84px - 62px) !important;
}

.bg-secondary {
  background-color: var(--bs-gray-500) !important;
}

.navbar-brand>img {
  height: 2em;
}


/* loader */

body.loading {
  overflow: hidden;
}

#pre-loader {
  display: flex;
  position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    backdrop-filter: brightness(.5);
    z-index: 99999;
    align-items: center;
    justify-content: center;
}

.lds-default {
  display: inline-block;
  position: relative;
    width: 80px;
    height: 80px;
}

.lds-default div {
  position: absolute;
  width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    animation: lds-default 1.2s linear infinite;
}

.lds-default div:nth-child(1) {
  animation-delay: 0s;
  top: 37px;
    left: 66px;
}

.lds-default div:nth-child(2) {
  animation-delay: -0.1s;
  top: 22px;
    left: 62px;
}

.lds-default div:nth-child(3) {
  animation-delay: -0.2s;
  top: 11px;
    left: 52px;
}

.lds-default div:nth-child(4) {
  animation-delay: -0.3s;
  top: 7px;
    left: 37px;
}

.lds-default div:nth-child(5) {
  animation-delay: -0.4s;
  top: 11px;
    left: 22px;
}

.lds-default div:nth-child(6) {
  animation-delay: -0.5s;
  top: 22px;
    left: 11px;
}

.lds-default div:nth-child(7) {
  animation-delay: -0.6s;
  top: 37px;
    left: 7px;
}

.lds-default div:nth-child(8) {
  animation-delay: -0.7s;
  top: 52px;
    left: 11px;
}

.lds-default div:nth-child(9) {
  animation-delay: -0.8s;
  top: 62px;
    left: 22px;
}

.lds-default div:nth-child(10) {
  animation-delay: -0.9s;
  top: 66px;
    left: 37px;
}

.lds-default div:nth-child(11) {
  animation-delay: -1s;
  top: 62px;
    left: 52px;
}

.lds-default div:nth-child(12) {
  animation-delay: -1.1s;
  top: 52px;
    left: 62px;
}

@keyframes lds-default {

  0%,
  20%,
    80%,
    100% {
      transform: scale(1);
    }

    50% {
      transform: scale(1.5);
    }
}

img#post-banner-mgt {
  width: 100%;
  max-height: 40vh;
    object-fit: scale-down;
    object-position: center center;
}

img.post-banner {
  height: 21vh;
  width: 100%;
    object-fit: scale-down;
    object-position: center center;
}

.truncate-3 {
  display: -webkit-box;
  -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

span.select2-selection.select2-selection--single {
  border-radius: 0;
}

#user-avatar-modal {
  width: 100%;
  height: 15vh;
    object-fit: scale-down;
    object-position: center center;
}

.nav-item.active a.nav-link {
  font-weight: bolder !important;
}

.summary-card {
  border-left-width: 5px !important;
  border-left-style: solid;
}

.clip-text {
  position: fixed;
  top: 0;
}

th.short,
td.short {
  width: 0;
  text-align: center !important;
}

.no-caret.dropdown-toggle::after {
  display: none;
}

.dropstart .no-caret.dropdown-toggle::before {
  display: none;
}

/* input[type="date"]:not(.has-value):before {
  color: rgba(39, 39, 39, .7);
  content: attr(placeholder);
}

.form-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.form-inline .form-control {
  height: calc(2.3rem + 5px);
}

*/

.was-validated .form-select:valid:not([multiple]):not([size]),
.was-validated .form-select:valid:not([multiple])[size="1"],
.form-select.is-valid:not([multiple]):not([size]),
.form-select.is-valid:not([multiple])[size="1"] {
  --mdb-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%234f4f4f' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
  display: block;
  width: 100%;
  padding: .375rem 2.25rem .375rem .75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--mdb-surface-color);
  appearance: none;
  background-color: var(--mdb-body-bg);
  background-image: var(--mdb-form-select-bg-img), var(--mdb-form-select-bg-icon, none);
  background-repeat: no-repeat;
  background-position: right .75rem center !important;
  background-size: 16px 12px;
  border-radius: var(--mdb-border-radius);
  box-shadow: var(--mdb-box-shadow-inset);
  transition: all .2s linear;
  --mdb-form-select-bg-icon: unset !important;
}

.was-validated .form-control:valid,
.form-control.is-valid {
  border-color: var(--mdb-form-valid-border-color);
  padding-right: unset !important;
  background-image: unset !important;
  background-repeat: no-repeat;

}

.select2-search__field {
  width: 100% !important;
}

#signature-initial,
#signature-end {
  width: 300px;
  height: 200px;
  object-fit: contain;
  object-position: center;
}