:root {
  --bs-primary: #007bff;
  --bs-danger: #dc3545;
  --bs-secondary: #6c757d;
}

.user-panel img {
  height: 2.1rem;
  /* width: 2.1rem; */
}

.login-logo {
  width: 49px;
  margin: 0 auto;
}

.guest-message {
  max-height: 250px;
  overflow-y: scroll;
}

.photo-update {
  position: relative;
  width: fit-content;
  margin: 0 auto;
  cursor: pointer;
}

.photo-update .edit-btn {
  position: absolute;
  margin: 0 auto;
  bottom: 23px;
  background-color: white;
  right: 0;
  font-size: xx-large;
  padding: 1px 10px;
  border-radius: 50%;
  border: 3px solid #adb5bd;
  color: #adb5bd;
  transition: transform .3s;
}

.photo-update:hover>.edit-btn {
  transform: scale(1.1);
  color: black;
}

:root {
  --bs-primary: #007bff;
  --bs-secondary: #5a6268;
  --bs-danger: #dc3545;
}

.login-logo {
  width: 49px;
  margin: 0 auto;
}

.login-form {
  max-width: 350px;
  margin: 0 auto;
}

.sidebar-profile {
  height: 25px;
  width: 25px;
  object-fit: cover;
  margin-right: 3px;
}

.register-form {
  max-width: 500px;
}

.alert-validation li {
  list-style: auto inside;
}

.alert-success {
  color: #155724;
  background-color: #d4edda;
  border-color: #c3e6cb;
}

.alert-danger {
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
}

.alert-info {
  color: #0c5460;
  background-color: #d1ecf1;
  border-color: #bee5eb;
}

.alert-warning {
  color: #856404;
  background-color: #fff3cd;
  border-color: #ffeeba;
}

#myAccount .dropdown-header {
  font-size: 1.2rem;
  text-align: left;
  font-weight: 600;
}

#myAccount .dropdown-item i {
  margin-right: 8px;
}

#myAccount .navbar-user-photo {
  height: 27px;
  width: 27px;
  margin-right: 3px;
  object-fit: cover;
}

.photo-update img {
  width: 200px;
  height: 200px;
  object-fit: cover;
}

.photo-update {
  position: relative;
  width: fit-content;
  margin: 0 auto;
  cursor: pointer;
}

.photo-update .edit-btn {
  position: absolute;
  margin: 0 auto;
  bottom: 23px;
  background-color: white;
  right: 0;
  font-size: xx-large;
  padding: 1px 10px;
  border-radius: 50%;
  border: 3px solid #adb5bd;
  color: #adb5bd;
  transition: transform .3s;
}

.photo-update:hover>.edit-btn {
  transform: scale(1.1);
  color: black;
}

label:not(.form-check-label):not(.custom-file-label) {
  font-weight: normal;
}

.user-block {
  margin-bottom: 10px;
  position: relative;
  padding: 14px;
  border-radius: 5px;
  transition: all .3s;
  width: 100%;
  background-color: aliceblue;
}

.user-block:hover {
  background-color: antiquewhite;
}

.user-block .dropdown,
.user-block .dropup,
.user-block .dropleft {
  display: flex;
  align-items: center;
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  cursor: pointer;
}

.user-block .dropdown i,
.user-block .dropup i,
.user-block .dropleft i {
  padding: 10px;
  color: #adb5bd;
  transition: all .3s;
}

.user-block .dropdown i:hover,
.user-block .dropup i:hover,
.user-block .dropleft i:hover {
  color: black;
  transform: scale(1.5);
}

.user-block .username,
.user-block .description {
  margin-right: 20px;
}

.w-300px {
  width: 300px;
}

.w-340px {
  width: 340px;
}

.loading-spinner {
  position: static;
}

.loading-spinner .spinner-container {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.modal-content .card {
  margin-bottom: 0;
}

.modal-content .card-footer {
  background-color: transparent;
}

.dynamic-inputs .form-control {
  border: none;
  border-bottom: 1px solid #eaeaea;
  border-radius: 0;
  transition: transform .3s;
}

.dynamic-inputs .form-control:focus {
  transform: scale(1.03);
  border: 1px solid #adb5bd;
  border-radius: 5px;
}

.blink {
  animation: blink 1s infinite;
}

@keyframes blink {
  0% {
    opacity: 0;
  }

  50% {
    opacity: .5;
  }

  100% {
    opacity: 1;
  }
}

.table-nowrap td {
  white-space: nowrap;
}

.table-nowrap .modal {
  white-space: normal;
}

.table td,
.table th {
  vertical-align: middle;
}

.table-container {
  max-height: 80vh;
  overflow-y: auto;
}

.sticky-top {
  position: sticky;
  top: 0;
  background-color: #f9f9f9;
  /* z-index: 1; */
}


.with-form .form-group,
.with-form .input-group {
  margin-bottom: 20px;
}

.with-form h4 {
  margin: 27px 0;
}

.card-mystyle .card-title {
  float: none;
}

.card .h-100 {
  object-fit: cover;
}

.card-header h2,
.card-header h3,
.card-header h4,
.card-header h5 {
  margin-bottom: 0;
}

.card-note {
  position: relative;
  background: yellow;
}

.card-note img {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 50px;
}

.card-note .note-editor {
  background-color: transparent;
}

.list-paragraph {
  margin: 20px 0;
}

.list-paragraph p {
  margin: 0;
  padding: 0;
}

.btn-light {
  border: 1px solid #eaeaea;
}

/* Gallery Admin */
.radio-option {
  cursor: pointer;
}

.gallery-admin {
  position: relative;
  background-color: grey;
  border-radius: 5px;
}

.gallery-admin .caption {
  position: absolute;
  bottom: 5px;
  width: 100%;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, .5);
  text-align: center;
  font-size: 86%;
  transition: .5s;
}

.gallery-admin .btns {
  position: absolute;
  top: 10px;
  left: 10px;
  width: auto;
  color: rgba(255, 255, 255, .5);
  font-size: 86%;
  transition: .5s;
  cursor: pointer;
}

.gallery-admin:hover>.caption {
  background: rgba(255, 255, 255, 1);
}

.gallery-admin:hover>.btns,
.gallery-admin:hover>.btns {
  color: rgba(255, 255, 255, 1);
}

.edit-btn,
.delete-btn {
  margin-right: 5px;
  border: none;
  background: none;
  color: inherit;
}

.edit-btn i,
.delete-btn i {
  transition: .3s;
}

.gallery-admin img {
  min-height: 115px;
  object-fit: contain;
  border: 1px solid #eaeaea;
  border-radius: 4px;
}

.edit-btn:hover>i,
.delete-btn:hover>i {
  transform: scale(1.5);
}

.gallery-admin:hover>img {
  filter: brightness(.5);
}


/* Loading Data */
.loading-data {
  position: relative;
}

.loading-data .loading {
  z-index: 99999;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  transition: 1s;
}

.online-dot {
  position: static;
}

.online-dot::after {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: var(--bs-success);
  border-radius: 50%;
  position: absolute;
}

form label {
  color: #ababab;
  /* font-size: 80%; */
}

form .custom-control-label,
form .form-check-label {
  color: inherit;
  font-size: inherit;
}

.zoom-text {
  display: inline-block;
  transition: transform 0.3s ease;
  cursor: pointer;
  font-size: 16px;
  color: inherit;
  padding: 5px;
  border-bottom: 1px solid #ddd;
}

.zoom-text:hover {
  transform: scale(1.05);
  background-color: inherit;
  border-radius: 5px;
}

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

.select2-results__options [aria-disabled=true] {
  color: lightgrey;
}

.page-profile {
  position: relative;
  overflow: hidden;
  height: 43px;
  width: 43px;
  border-radius: 10px;
}

.page-profile img {
  height: 100%;
  object-fit: cover;
  transition: .3s;
}

.page-profile img:hover {
  transform: scale(1.1);
}

label:not(.form-check-label):not(.custom-file-label) {
  font-weight: normal;
}

.table-align-middle td,
.table-align-middle th {
  vertical-align: middle;
}

.is-invalid+.note-editor {
  border: 1px solid red !important;
}

.sticky-bottom {
  position: sticky;
  bottom: 0px;
  background-color: inherit;
  /* height: 68px; */
}

.zoom-img {
  overflow: hidden;
}

.zoom-img img {
  overflow: hidden;
  transition-duration: 0.5s;
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.zoom-img img:hover,
.hover:hover>.zoom-img img {
  transform: scale(1.2);
  transition-duration: 0.5s;
}

.card .card-body .card-text {
  color: #6c757d;
  font-size: 99%;
  line-height: normal;
}

.card h4,
.card h3,
.card h2 {
  font-size: 17px;
  font-weight: 600;
}

.card h4 a,
.card h3 a,
.card h2 a {
  text-decoration: none;
  color: rgba(70, 70, 70, 1.00);
}

.tourattribute {
  /* font-size: small !important; */
  color: grey;
}

.tourattribute a {
  text-decoration: none;
  color: inherit;
}

.tourattribute span {
  margin: 5px 10px 5px 0;
  text-wrap: nowrap;
}

.accordion .card {
  margin-bottom: 0;
}

.tab-pane .card {
  border: 1px solid #dee2e6;
  border-top: 0;
  border-radius: 0 0 5px 5px;
}

.form-control.is-valid,
.was-validated .form-control:valid {
  border-color: #ced4da;
  padding-right: inherit;
  background-image: none;
  padding-right: 0;
}

.form-floating>.form-control {
  height: inherit;
}

#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 99999999;
  font-size: x-large;
}

.gallery-row div {
  margin-bottom: 1rem;
}

.gallery-row div button {
  min-height: 144px;
}

.gallery {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 5px;
  cursor: pointer;
  transition: .3s;
}

.gallery:hover {
  transform: scale(1.08);
}

.gallery .caption {
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  padding: 4px;
  background-color: rgba(255, 255, 255, 0.6);
  font-size: small;
  line-height: 103%;
  text-align: center;
}

.gallery input[type=checkbox] {
  position: absolute;
  top: 0;
  right: 0;
  margin: 8px;
}

.gallery .main {
  position: absolute;
  top: 8px;
  left: 8px;
}

.gallery img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

#image-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

#image-preview img {
  width: calc(33.33% - 10px);
  object-fit: cover;
}

#bulkActionPanel {
  display: none;
}

.form-search {
  max-width: 353px;
  height: fit-content;
}

.pointer {
  cursor: pointer;
}

.code-area,
.code-area:focus {
  background: rgb(39, 39, 39);
  color: rgb(160, 125, 12);
}


.nowrap {
  white-space: nowrap;
}

.wrapper .content {
  padding-bottom: 1rem;
}

.blinking {
  animation: blinker 2s linear reverse;
}

@keyframes blinker {
  25% {
    background-color: yellow;
  }

  50% {
    background-color: white;
  }

  75% {
    background-color: yellow;
  }

  100% {
    background-color: white;
  }
}

.notification-dot {
  width: 8px;
  height: 8px;
  background-color: red;
  border-radius: 50%;
  display: inline-block;
  margin-left: 5px;
  vertical-align: middle;
}

.nav-item hr {
  background-color: #6c757d;
}

.bg-light td {
  background-color: #f0f0f0;
}

.cancelled * {
  color: var(--bs-danger);
  font-weight: 100;
}


.cancelled .badge {
  background-color: inherit;
  border: none !important;
  font-weight: normal;
}

.bg-light .btn-primary {
  color: var(--bs-white) !important;
}

.checked-ul-green ul li {
  list-style: none;
  padding-left: 5px;
}

.checked-ul-green ul li::before {
  content: '✓ ';
  color: green;
  font-weight: bold;
  margin-right: 5px;
}

.checked-ul-green ul li::marker {
  width: 1em;
  height: 1em;
  margin-bottom: 0;
}

.card-body .nav-pills .nav-link.active {
  color: #fff !important;
}

.custom-control {
  z-index: 0;
}

/* Inline Edit Form */
.editable {
  border: none;
  background-color: transparent;
  font-size: 16px;
  padding: 5px;
  display: inline-block;
  width: auto;
  margin-bottom: 1px;
}

.editable:focus {
  outline: none;
  color: var(--bs-black);
  border-bottom: 1px solid #000;
  background-color: #f3f3f3;
  margin-bottom: 0;
}

.note-editing-area {
  padding: 2px;
  margin-bottom: 1px;
}

.heading-container {
  margin: 3rem 0 1rem 0;
}

.heading-container .heading {
  display: block;
  position: relative;
  margin-top: 0;
  margin-bottom: 31px;
  padding-left: 15px;
  font-weight: 700;
  color: var(--bs-black);
  font-size: 2rem;
}

.heading-container .heading::before {
  content: '';
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 0;
  width: 8px;
  height: auto;
  border-radius: 5px;
  background-color: var(--bs-primary);
}

.heading-container .text-lead {
  display: block;
  font-size: 1.25rem;
  margin-bottom: 31px;
}

.text-center .heading::before {
  display: none;
}

.custom-scrollbar {
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.custom-scrollbar::-webkit-scrollbar {
  display: none;
}

table .form-check-input {
  position: relative;
  margin-top: 0;
  margin-left: 0;
}

.input-group>:not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
  border-color: lightgray;
}

.pagination {
  margin-bottom: 5px;
}

.btn-outline-secondary {
  border-color: darkgrey;
}

.element-loading-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  bottom: 0;
  top: 0;
  right: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.9);
  z-index: 1;
}

@media (min-width: 576px) {
  .w-sm-50 {
    width: 50% !important;
  }
}

.price-tooltip .tooltip-inner {
  max-width: 400px;
  text-align: left;
  padding: 12px;
  font-size: 0.875rem;
}

.price-tooltip .tooltip-arrow::before {
  border-top-color: #333 !important;
}

.form-switch .form-check-input {
  margin-left: -20px;
}

.form-switch .form-check-label {
  margin-left: 20px;
}

/* Bootstrap 5 Carousel Fixes for AdminLTE compatibility */
.carousel-item-next:not(.carousel-item-start),
.active.carousel-item-end {
  transform: translateX(100%);
}

.carousel-item-prev:not(.carousel-item-end),
.active.carousel-item-start {
  transform: translateX(-100%);
}

.carousel-item-next.carousel-item-start,
.carousel-item-prev.carousel-item-end {
  transform: translateX(0);
}

.carousel-item-next,
.carousel-item-prev,
.carousel-item.active {
  display: block;
}

@media (min-width: 992px) {
  .sidebar-mini.sidebar-collapse.layout-fixed .brand-link {
    width: 9.6rem;
  }
}