/*/
 * Custom CSS
 * -----------------------------------------------------------------------------
/*/

.img-el {
  display: block;
  max-height: 160px;
}

.img-user-thumb,
.img-logo-thumb {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.img-user-thumb {
  max-height: 64px;
}

.img-logo-thumb {
  max-height: 48px;
}

.img-detail-static-thumb {
  display: block;
  max-height: 320px;
}

.img-gallery-thumb {
  display: block;
  max-height: 96px;
}

.img-preview {
  margin-bottom: 10px;
}

.img-user-preview,
.img-logo-preview,
.img-thumb-preview,
.img-detail-preview,
.img-detail-static-preview,
.img-gallery-preview {
  display: block;
}

.img-user-preview {
  max-height: 160px;
}

.img-logo-preview {
  max-height: 80px;
}

.img-thumb-preview {
  max-height: 160px;
}

.img-detail-preview {
  width: 100%;
}

.img-detail-static-preview {
  max-height: 320px;
}

.img-gallery-preview {
  max-height: 160px;
}

.user-avatar {
  width: 48px;
  height: 48px;
  display: inline-block;
  vertical-align: middle;
  border-radius: 50%;
  overflow: hidden;
}

.user-history {
  width: 40px;
  height: 40px;
  float: left;
  border-radius: 50%;
  overflow: hidden;
}

.user-list-item-link {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
}

.user-list .user-desc {
  margin-left: 52px;
}

.user-list .user-title {
  display: inline-block;
  vertical-align: middle;
}

.header-user-profile {
  float: right;
  margin-bottom: 0;
}

.header-user-img {
  border-radius: 50%;
}

.header-user-img__el {
  padding: 2px;
  border-radius: 50%;
  border: solid 1px #6ab058;
  width: 40px;
  height: 40px;
  object-fit: cover;
}

.header-user-name,
.header-user-img__el {
  display: inline-block;
  vertical-align: middle;
}

.header-user-name {
  margin-bottom: 0;
  color: #435966;
  margin-right: 12px;
}

.header-user-profile .dropdown-menu {
  border-color: #e9e9e9;
  width: 200px;
}

.header-user-profile .dropdown-item {
  padding: 10px 16px;
  color: #435966;
}

.dropdown-menu .header-user-name {
  text-align: center;
  padding: 10px 16px;
  display: inline-block;
  width: 100%;
  margin-right: 0;
}

.header-user-profile hr {
  margin: 0;
}

.side-menu {
  background-color: #5f9e5f;
}

#sidebar-menu > ul > li > a {
  color: #e2e2e2;
  background-color: transparent;
}

#sidebar-menu > ul > li > a.active {
  border-left: 3px solid #fff;
  color: #fff !important;
  font-weight: bold;
}

#sidebar-menu ul ul a:hover {
  color: #fff;
}

#sidebar-menu > ul > li > a:hover {
  color: #fff;
  text-decoration: none;
}

.menu-title {
  color: #e2e2e2;
}

.user-avatar--detail {
  width: 160px;
  height: 160px;
}

.user-avatar__img,
.user-img__el,
.user-history__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.user-img {
  border: solid 1px #eee;
  padding: 2px;
  border-radius: 50%;
}

.user-img__el {
  border-radius: 50%;
  border: solid 1px #5f9e5f;
}

.user-box .user-img {
  height: 40px;
  width: 40px;
}
.user-box .user-desc {
  width: initial;
}

.btn-icon {
  padding: 4px 8px !important;
  font-size: 16px;
}

.login-logo {
  display: inline-block;
}

.dashboard-logo {
  display: block;
  margin: 16px 20px;
}

.login-logo img {
  height: 64px;
  display: block;
  margin: 0 auto;
}

.dashboard-logo img {
  height: 40px;
  display: block;
}

* .c-primary {
  color: #5f9e5f;
}

.dropify-wrapper .parsley-errors-list {
  margin-top: 64px;
}

.input-group-icon {
  position: relative;
  padding-bottom: 20px;
}

.input-group-icon .parsley-errors-list {
  position: absolute;
  bottom: 0;
  left: 0;
}

.iframe-embed {
  width: 100%;
  max-width: 640px;
  height: 360px;
  border: 0;
  padding: 0;
  margin: 0;
  display: block;
}

.card-report {
  position: relative;
  border-radius: 4px;
  background-color: #fff;
  color: #3a3a3a;
  cursor: pointer;
  -webkit-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
  font-size: 0;
  transition: all 0.35s ease;
}

.card-report-box {
  padding: 16px;
}

.card-report-box::after {
  content: "";
  clear: both;
  display: table;
}

.card-report:hover {
  -webkit-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  background-color: #5f9e5f;
}

.card-report:hover .card-report-icon {
  color: #fff;
}

.card-report:hover .card-report-desc {
  color: #fff;
}

.card-report-link {
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.card-report-icon,
.card-report-text {
  display: inline-block;
  vertical-align: middle;
}

.card-report-icon {
  color: #5f9e5f;
  font-size: 20px;
  margin-right: 8px;
}

.card-report-desc {
  font-size: 14px;
  margin-bottom: 0;
}

.card-box-report {
  height: calc(100vh - 248px);
  margin-bottom: 0;
}

.card-box-report-full {
  min-height: calc(100vh - 200px);
  margin-bottom: 20px;
}

.input-daterangepicker {
  background-color: #fff;
  padding: 8px 12px;
  border: 1px solid #e3e3e3;
  font-size: 16px;
  border-radius: 4px;
  width: 100%;
  font-size: 14px;
  color: #495057;
}

.dtrg-group {
  background-color: rgba(113, 182, 249, 0.15) !important;
  color: #5f9e5f !important;
}

.table > thead > tr > th {
  border-top: none;
  border-bottom: solid 1px #f0f0f0;
}

.table td,
.table th {
}

body .mce-container .mce-toolbar-grp {
  border-top-width: 1px !important;
}

.text-custom {
  color: #5f9e5f !important;
}

.form-custom-icon {
  position: relative;
}

.form-custom-icon .form-control {
  padding-right: 32px;
}

.form-custom-icon i {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #98a6ad;
}

.btn-search {
  height: 38px;
}

.btn-custom-outline {
  border-color: #5f9e5f;
  color: #5f9e5f;
}

.btn-custom-outline:hover {
  border-color: #5f9e5f;
  background-color: #5f9e5f;
}

table td {
  max-width: 100%;
  white-space: nowrap;
}

.head-group {
  border-bottom: 1px solid #5f9e5f;
  margin-bottom: 16px;
}

.head-group-text {
  margin-bottom: 0;
  padding: 8px 12px;
}

.not-found {
  width: 100%;
  height: 100%;
  background-color: #fff;
  text-align: center;
  position: relative;
}
.not-found-text {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.not-found-icon {
  display: block;
  font-size: 48px;
  color: #98a6ad;
}

.card-chart {
  overflow: auto;
}

@media screen and (max-width: 767.98px) {
  .iframe-embed {
    height: 240px;
  }

  .card-report-icon {
    font-size: 24px;
  }

  .card-report-desc {
    font-size: 16px;
  }

  .search-item {
    margin-bottom: 16px;
  }
}

.search {
  text-align: right;
}

.search-wrapper {
  display: inline-block;
  vertical-align: middle;
  width: 260px;
  margin-left: 8px;
}

.pagination {
  float: right;
}

.card-row {
  margin-bottom: 24px;
  padding-bottom: 8px;
  border-bottom: 1px solid #ebebeb;
}

.card-item {
  float: left;
  width: 20%;
}

.card-item:last-child {
  width: 80%;
}

@media only screen and (max-width: 575.86px) {
  .custom-sort-item .form-group {
    width: 100%;
    margin-right: 0;
  }

  .side-menu {
    display: none;
  }

  .forced .side-menu {
    display: block;
  }
}

.skeleton {
  position: relative;
  overflow: hidden;
}

.skeleton::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  background-color: #ddd;
}
.skeleton::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  background-color: #ededed;
  background: linear-gradient(
      100deg,
      rgba(255, 255, 255, 0) 40%,
      rgba(255, 255, 255, 0.5) 50%,
      rgba(255, 255, 255, 0) 60%
    )
    #ededed;
  background-size: 200% 100%;
  background-position-x: 180%;
  animation: 1s loading ease-in-out infinite;
}

@keyframes loading {
  to {
    background-position-x: -20%;
  }
}

.skeleton-text {
  width: 100%;
  height: 0.7rem;
  margin-bottom: 0.5rem;
  border-radius: 0.25rem;
}

.custom-loader {
  display: inline-block;
  vertical-align: middle;
  position: relative;
  width: 16px;
  height: 16px;
  margin-right: 8px;
}

.btn-custom:active .custom-loader span,
.btn-custom:hover .custom-loader span {
  border-color: #5f9e5f transparent transparent transparent;
}

.custom-loader span {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  border: 2px solid #5f9e5f;
  border-radius: 50%;
  animation: custom-loader 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: #5f9e5f transparent transparent transparent;
}

.custom-loader span:nth-child(1) {
  animation-delay: -0.45s;
}

.custom-loader span:nth-child(2) {
  animation-delay: -0.3s;
}

.custom-loader span:nth-child(3) {
  animation-delay: -0.15s;
}

@keyframes custom-loader {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* .table-custom > thead {
  width: 100%;
} */

.table-custom > thead > tr > th {
  vertical-align: middle;
  border-bottom: solid 3px;
  border-color: #ebeff2;
}

.btn-custom .custom-loader span {
  border-color: #fff transparent transparent transparent;
}

.header-title-custom {
  border-bottom: solid 1px #5f9e5f;
  padding-bottom: 12px;
}

.table-head-custom {
  border-color: #5f9e5f;
}

.footer-custom-table th {
  border-top: solid 1px #dc3545 !important;
  color: #dc3545;
}

.footer-report {
  display: table;
  width: 100%;
  padding: 12px;
  border-top: 1px solid #5f9e5f;
}
.footer-report-label,
.footer-report-total {
  display: table-cell;
  width: 50%;
  font-weight: bold;
  color: #5f9e5f;
}

.footer-report-total {
  text-align: right;
}

.topbar .topbar-left,
.side-menu {
  width: 232px;
}
.content-page {
  margin-left: 232px;
}
.footer {
  left: 232px;
  padding-left: 24px;
  padding-right: 24px;
}
.card-box {
  position: relative;
}

.widget-chart-1 {
  font-size: 0;
}

.widget-chart-1 .widget-chart-box-1,
.widget-chart-1 .widget-detail-1 {
  float: none;
  display: inline-block;
  vertical-align: middle;
}
.widget-chart-1 .widget-chart-box-1 {
  width: 20%;
}
.widget-chart-1 .widget-detail-1 {
  text-align: right;
  width: 80%;
  min-height: initial;
  margin-left: 0;
}
.widget-chart-box-1 {
  font-size: 24px;
}
.widget-detail-1 h4 {
  margin: 0;
}
.widget-footer {
  background-color: rgba(0, 0, 0, 0.1);
  color: #fff;
  display: block;
  padding: 4px 0;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  text-align: center;
  z-index: 2;
  border-radius: 0 0 5px 5px;
  overflow: hidden;
}

.widget-footer a {
  display: block;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.card-chart {
  min-height: 400px;
}

.card-dashboard {
  min-height: 356px;
  position: relative;
}

.card-dashboard-content {
  display: block;
  width: 100%;
  overflow: hidden;
  overflow-y: auto;
  min-height: 248px;
}

.dashboard-not-found {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #435966;
  font-size: 16px;
  line-height: 1.2;
}

.dashboard-not-found i {
  font-size: 20px;
  margin-right: 4px;
  color: #5f9e5f;
}

/* width */
.card-dashboard-content::-webkit-scrollbar {
  width: 8px;
}

/* Track */
.card-dashboard-content::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* Handle */
.card-dashboard-content::-webkit-scrollbar-thumb {
  background: #bdbdbd;
  border-radius: 4px;
}

/* Handle on hover */
.card-dashboard-content::-webkit-scrollbar-thumb:hover {
  background: #888;
}

.card-chart.show-chart {
  display: block;
}
