/* Style the Image Used to Trigger the Modal */
.myImg {
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

.myImg:hover {
  opacity: 0.7;
}

/* The Modal (background) */
.modal-img {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 1;
  /* Sit on top */
  padding-top: 100px;
  /* Location of the box */
  left: 0;
  top: 0;
  width: 100%;
  /* Full width */
  height: 100%;
  /* Full height */
  overflow: auto;
  /* Enable scroll if needed */
  background-color: rgb(0, 0, 0);
  /* Fallback color */
  background-color: rgba(0, 0, 0, 0.9);
  /* Black w/ opacity */
}

/* Modal Content (Image) */
.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
}

.modal-content.payment {
  width: 80%;
  max-width: none;
  margin-top: 80px;
  height: 80vh;
  overflow: hidden;
}

.modal-content.payment .modal-header button {
  min-width: 200px;
  font-weight: 700;
}

.modal-content.payment .modal-header h2 {
  font-weight: 700;
  margin-top: 10px;
}

.modal-content.payment .modal-body {
  font-size: 21px;
  height: 65vh;
  overflow: auto;
}

.modal-content.payment .modal-body button {
  min-width: 143px;
  margin-bottom: 7px;
}

/* Caption of Modal Image (Image Text) - Same Width as the Image */
#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

/* Add Animation - Zoom in the Modal */
.modal-content,
#caption {
  animation-name: zoom;
  animation-duration: 0.6s;
}

@keyframes zoom {
  from {
    transform: scale(0);
  }

  to {
    transform: scale(1);
  }
}

/* The Close Button */
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

.search-field {
  position: relative;
}

.search-result {
  display: none;
  position: absolute;
  width: 100%;
  top: 48px;
  border: 1px solid #f4f4f4;
  padding: 10px;
  background: #fff;
  z-index: 99;
}

.input-lg + .search-result {
  top: 57px;
}

.input-xs + .search-result {
  top: 30px;
}

.input-sm + .search-result {
  top: 37px;
}

.search-field a {
  text-transform: capitalize;
  color: #555;
  cursor: pointer;
  display: block;
  margin-bottom: 5px;
}

.search-field a:last-child {
  margin-bottom: 0px;
}

.be-splash-screen.bg-login {
  background-image: url(../img/apotek.jpg);
  background-size: cover;
}

.btn.btn-xl {
  position: relative !important;
  font-weight: 600;
}

.btn-xl small {
  position: absolute;
  font-size: 10px;
  top: -15px;
  right: 5px;
  color: #000;
  font-weight: 300;
}

.fixed-bottom {
  position: fixed;
  bottom: 0px;
  right: 0;
  width: 100%;
  background: #fff;
}

.input-xs
  + .select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  height: 30px !important;
  line-height: 30px !important;
  font-size: 12px;
}

.input-xs + .select2-container--default .select2-selection--single {
  height: 30px;
}

.input-xs
  + .select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  height: 30px;
  width: 30px;
}

.input-xs
  + .select2-container--default
  .select2-selection--single
  .select2-selection__arrow
  b:after {
  line-height: 30px;
}

/* sm */
.input-sm
  + .select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  height: 37px !important;
  line-height: 37px !important;
  font-size: 12px;
}

.input-sm + .select2-container--default .select2-selection--single {
  height: 37px;
}

.input-sm
  + .select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  height: 37px;
  width: 37px;
}

.input-sm
  + .select2-container--default
  .select2-selection--single
  .select2-selection__arrow
  b:after {
  line-height: 37px;
}

.invoice-logo {
  background-size: contain;
}

.panel-detail label {
  font-weight: 600;
}

.panel-detail {
  font-size: 14px;
}

.summery {
  margin-left: 0px;
  margin-right: 0px;
}

.summery .row {
  border-bottom: 1px solid #ccc;
  padding-top: 10px;
  padding-bottom: 10px;
}

.summery .col-xs-6 {
  padding-left: 10px;
  padding-right: 10px;
}

.page-head.flex {
  background: #fff;
  display: flex;
  justify-content: space-between;
}

.page-head .btn-action {
  display: flex;
  align-items: center;
}

.configs {
  color: #555;
  text-decoration: none;
  cursor: pointer;
}

.configs .icon-container {
  cursor: pointer;
}

.be-top-header .navbar-header .navbar-brand {
  padding: 0;
}

.navbar-brand img {
  width: 142px;
  height: 60px;
  object-fit: contain;
}

.be-user-nav > li.dropdown > a img {
  border-radius: 10px;
  object-fit: contain;
}

.user-display-bg {
  max-height: 60px;
  border-radius: 20px 20px 0 0;
}

.user-display {
  border-radius: 20px;
}

.btn {
  border-radius: 10px;
}

.panel {
  border-radius: 10px;
}

.be-datatable-footer {
  padding: 13px;
}

.dataTables_paginate .pagination .paginate_button a {
  border-radius: 10px;
}

.widget.widget-tile {
  border-radius: 10px;
}

.widget.modify {
  display: flex;
  justify-content: space-between;
}

.widget .mark {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.mark.color-1 {
  background-color: #ffc94a;
}

.mark.color-2 {
  background-color: #fa7070;
}

.mark.color-3 {
  background-color: #8b93ff;
}

.mark.color-4 {
  background-color: #74e291;
}

.input-group-xs .form-control,
.input-group-xs .input-group-addon,
.input-group-xs .input-group-btn .btn {
  height: 32px;
  padding: 6px 9px;
}

.input-group-sm .form-control,
.input-group-sm .input-group-addon,
.input-group-sm .input-group-btn .btn {
  height: 37px !important;
  padding: 4px 12px !important;
}

.input-group-xxs .form-control,
.input-group-xxs .input-group-addon,
.input-group-xxs .input-group-btn .btn {
  height: 30px !important;
  padding: 3px 6px !important;
}

.form-control.input-xxs {
  height: 20px !important;
  padding: 3px 6px !important;
  font-size: 10px;
}

.dataItem td {
  vertical-align: top !important;
}

.d-flex {
  display: flex;
}

.d-flex.gap-1 {
  gap: 5px;
}

.widget .data-info .details {
  display: flex;
  justify-content: space-between;
}

.widget .sum {
  border-top: 1px solid #ccc;
  padding-top: 7px;
  margin-top: 7px;
  font-weight: bold;
  font-size: 16px;
}

.border {
  border: 1px solid #ccc;
}
.text-white {
  color: #fff !important;
}
/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px) {
  .modal-content {
    width: 100%;
  }
}
