﻿/* Global Font */
body,
html {
  font-family: "Montserrat-Arabic" !important;
}

/* Begin:CustomScroll */
html {
  /* scrollbar-color: rgba(152, 152, 152, 0.051); */
  scrollbar-width: thin;
}

body::-webkit-scrollbar {
  width: 0.49em;
  height: 0.49em;
}

body::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

body::-webkit-scrollbar-thumb {
  background-color: #9898980d;
  outline: 1px solid #a07fbf;
}

/* End:CustomScroll */

body {
  /* padding-top: 150px; */
  /* padding-bottom: 20px; */
}

/* Custom height */
.m-vh-50 {
  max-height: 50vh;
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
  padding-left: 15px;
  padding-right: 15px;
}

/* Carousel */
.carousel-caption p {
  font-size: 20px;
  line-height: 1.4;
}

/* Make .svg files in the carousel display properly in older browsers */
.carousel-inner .item img[src$=".svg"] {
  width: 100%;
}

/* Aside */
/* Header */
.header-fixed.toolbar-fixed .wrapper {
  padding-top: calc(10px + var(--kt-toolbar-height));
}

/* Aside icons */
.menu-link-p-0 {
  padding-left: 0px !important;
}

.aside-menu .menu-item {
  padding: 10px 0px;
}

.aside-menu .menu-item .menu-icon {
  flex-grow: 0.2;
}

.aside-menu .menu .menu-item .menu-content,
.aside-menu .menu .menu-item .menu-link {
  padding-left: 32px !important;
}

.aside-menu .menu-item .menu-link {
  justify-content: space-between;
}

.aside-menu .menu-item .menu-icon .menu-icon-title {
  padding-top: 10px;
}

a.nav-link.btn.btn-flex.active{
  border-bottom: 3px solid!important;
}

/* Aside media */
@media (min-width: 992px) {
  [data-kt-aside-minimize="on"] .aside {
    width: 100px;
  }

  .aside {
    width: 100px;
  }

  .aside .aside-menu {
    width: 100px;
  }

  .aside-enabled.aside-fixed .wrapper {
    padding-left: 100px;
  }

  .aside-enabled.aside-fixed[data-kt-aside-minimize="on"] .wrapper {
    padding-left: 100px;
  }

  .aside-enabled.aside-fixed.header-fixed .header {
    left: 100px;
  }

  [data-kt-aside-minimize="on"] .aside.aside-hoverable:hover:not(.animating) {
    width: 100px;
  }
}

.menu-sub.menu-sub-lg-down-dropdown.show {
  top: 0px !important;
}

.aside-menu .menu .menu-item .dropdown-title a {
  padding-left: 0px !important;
}

.aside-enabled.aside-fixed.toolbar-fixed .toolbar {
  left: 100px;
}

/* QR code generator */
#qrCode {
  margin: 15px;
}

/* Custom Lights */
.bg-blue {
  background-color: var(--bs-blue) !important;
}

.bg-light-blue {
  background-color: rgb(221, 242, 254);
}

.svg-icon-blue {
  color: var(--bs-blue) !important;
}

.text-blue {
  color: var(--bs-blue);
}

.badge-blue {
  background-color: var(--bs-blue) !important;
}

.badge-warning {
  color: #4a4a4a;
}

.svg-icon-light-warning {
  color: #392c67;
}

.svg-icon-light-danger {
  color: #e71d36;
}

.alert-blue {
  color: black !important;
  border-color: rgb(221, 242, 254);
  background-color: rgb(221, 242, 254);
}

.bg-hover-transparent:hover {
  background-color: transparent !important;
}

/* Accordion */
.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
  margin-right: auto !important;
  margin-left: 0 !important;
}

.accordion-button:not(.collapsed) {
  background-color: #622a95c2 !important;
}

/* Form */
.form-select {
  border-color: var(--primary-color);
  line-height: 1.45;
}

/* centring place holder */
input[type="password"]::placeholder {
  position: absolute !important;
  top: 55% !important;
  transform: translateY(-50%) !important;
}

/* Select 2 options */
.select2-selection__rendered li {
  direction: ltr !important;
}

/* Button Light */
.btn.btn-light-blue {
  color: var(--bs-blue) !important;
  border-color: #f1faff;
  background-color: #f1faff;
}

.btn-check:active+.btn.btn-light-blue,
.btn-check:checked+.btn.btn-light-blue,
.btn.btn-light-blue.active,
.btn.btn-light-blue.show,
.btn.btn-light-blue:active:not(.btn-active),
.btn.btn-light-blue:focus:not(.btn-active),
.btn.btn-light-blue:hover:not(.btn-active),
.show>.btn.btn-light-blue {
  color: #fff !important;
  border-color: var(--bs-blue) !important;
  background-color: var(--bs-blue) !important;
}

.btn-check:active+.btn.btn-active-light-blue,
.btn-check:checked+.btn.btn-active-light-blue,
.btn.btn-active-light-blue.active,
.btn.btn-active-light-blue.show,
.btn.btn-active-light-blue:active:not(.btn-active),
.btn.btn-active-light-blue:focus:not(.btn-active),
.btn.btn-active-light-blue:hover:not(.btn-active),
.show>.btn.btn-active-light-blue {
  background-color: #f1faff !important;
  border-color: #f1faff;
  color: var(--bs-blue) !important;
}


/* Stores Images */
div.card-header>div.image-input.image-input-circle {
  max-width: 100%;
  max-height: 100%;
  aspect-ratio: 1;
  object-fit: contain;
}

div.image-input.image-input-circle>div.image-input-wrapper {
  max-width: 100%;
  max-height: 100%;
}

/* Data table Custom */
#data-table_next,
#data-table_previous {
  padding: 0 10px;
}

#data-table_next a i,
#data-table_previous a i {
  background-size: 20px;
  object-fit: contain;
  width: 100%;
  height: 100%;
}

.pagination {
  direction: ltr !important;
}

#data-table_previous a i {
  margin-top: 2.8px;
}

.dir-ltr {
  direction: ltr !important;
}

.dir-rtl {
  direction: rtl !important;
}

/* FilePond instance model */
.filepond--panel-root {
  background-color: #f1faff !important;
  border-radius: 10px;
  border: 1px dashed var(--bs-blue);
}

.primary-light-border {
  border: solid #a07fbf !important;
}

.filepond--root {
  min-height: 60px;
}

.filepond--root .filepond--drop-label {
  height: fit-content;
  min-height: fit-content;
}

.filepond--file-info-main {
  display: none;
}

.pulse-icon {
  animation: pulse 1.5s ease-in-out infinite;
}

/* App engage */
.app-engage {
  position: fixed;
  right: 0;
  top: 70%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  z-index: 5;
  padding-right: 12px !important;
}

.app-engage .app-engage-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  box-shadow: 0px 0px 22px #e0e0e0;
  border-width: 1px;
  border-style: solid;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 8px !important;
  border-radius: 6px;
  width: 66px;
  height: 70px;
  color: #3f4254;
  border-color: #e8e8e8;
  background-color: #ffffff;
}

.app-engage .app-engage-btn.app-engage-btn-toggle-on {
  width: 35px;
  height: 35px;
  display: none;
}

.app-engage .app-engage-btn.app-engage-btn-toggle-off {
  width: 35px;
  height: 35px;
}

.app-engage.app-engage-hide .app-engage-btn {
  visibility: hidden;
}

.app-engage.app-engage-hide .app-engage-btn.app-engage-btn-toggle-on {
  visibility: visible;
  display: flex;
}

.app-engage.app-engage-hide .app-engage-btn.app-engage-btn-toggle-off {
  display: none;
}

/* marquee text effect */
.marquee {
  width: 300px;
  margin: 0 auto;
  overflow: hidden;
  box-sizing: border-box;
}

.marquee span {
  display: inline-block;
  width: max-content;

  padding-left: 100%;
  /* show the marquee just outside the paragraph */
  will-change: transform;
}

.marqueeRTL span {
  animation: marqueeRTL 10s linear infinite;
}

.marqueeLTR span {
  animation: marqueeLTR 10s linear infinite;
}

.marquee span:hover {
  animation-play-state: paused;
}

.text-end {
  text-align: end !important;
}

.text-start {
  text-align: start !important;
}

@keyframes marqueeLTR {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(-100%, 0);
  }
}

@keyframes marqueeRTL {
  0% {
    transform: translate(-100%, 0);
  }

  100% {
    transform: translate(0, 0);
  }
}

/* Respect user preferences about animations */

@media (prefers-reduced-motion: reduce) {
  .marquee span {
    animation-iteration-count: 1;
    animation-duration: 0.01;
    /* instead of animation: none, so an animationend event is 
     * still available, if previously attached.
     */
    width: auto;
    padding-left: 0;
  }
}

.vertical-align-center {
  vertical-align: middle !important;
}

.gallery-logo-not-found {
  display: none;
}

.text-ellipsis {
  max-width: 180px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
a.hover-zoom{
  transition: all 0.30s ease-in-out;
}
a.hover-zoom:hover {
  transform: scale(1.04);
}

@media screen and (min-width: 992px) {
  .gallery-logo-not-found {
    display: inherit !important;
    visibility: hidden;
  }
}

/* Key frame */
@keyframes pulse {
  0% {
    transform: scale(1);
  }

  30% {
    transform: scale(0.7);
  }

  100% {
    transform: scale(1);
  }
}

/* Hide/rearrange for smaller screens */
@media screen and (max-width: 767px) {

  /* Hide captions */
  .carousel-caption {
    display: none;
  }
}