﻿/* 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; */
}

.blockui-overlay {
  z-index: 999999 !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Ensure modal backdrops don't conflict with blockUI */
.modal-backdrop {
  z-index: 1050 !important;
}

.modal {
  z-index: 1055 !important;
}

.blockui-message {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  z-index: 9999999 !important;
}

/* 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;
}

.menu-end-lg {
    transform: translate(100px, -100px) !important;
}
/* 
[dir=rtl] .select2-container--bootstrap5 .select2-dropdown .select2-results__option.select2-results__option--selected {
    background-position: center right 1.25rem !important;
} */

.min-w-fit {
    min-width: fit-content !important;
}


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;
    }

    .menu-end-lg {
        transform: translate(200px, -100px) !important;
    }

    [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;
}

.header-fixed.toolbar-fixed .wrapper {
    padding-top: 65px !important;
}

/* 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) !important;
}

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


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

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

.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);
}

[dir="rtl"] .alert [data-bs-dismiss="alert"] {
  right: unset !important;
  left: 0 !important;
}

[dir="rtl"] .menu-item .menu-link .menu-icon{
  margin-right: unset !important;
  margin-left: .5rem !important;
}

[dir=rtl] .select2-container--bootstrap5 .select2-dropdown .select2-results__option{
  text-align: right;
}
.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;
}

#cultureFormControl .select2-container--bootstrap5 .select2-selection__rendered,
[dir="rtl"] #cultureFormControl .select2-container--bootstrap5 .select2-selection__rendered{
  padding-right: unset !important;
  padding-left: unset !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;
}

#Attachments span.filepond--file-info-main {
  display: block;
}

.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;
}

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

/* Quill editor */
.ql-toolbar {
    direction: ltr !important;
}

.ql-toolbar button.ql-iframe {
  /* Hide the default button text */
  text-indent: -9999px !important;
  overflow: hidden !important;
  width: 28px !important;
  /* Standard Quill button width */
  padding: 0 !important;
  /* Base64 encoded SVG for a simple window/monitor icon */
  background-image: url('data:image/svg+xml,<svg fill="%23a1a5b7" height="64px" width="64px" version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 370.533 370.533" xml:space="preserve"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"><g><path d="M268.168,0H123.604c-8.314,0-15.055,6.74-15.055,15.053v34.012h95.555c3.978,0,7.794,1.58,10.607,4.394l60.381,60.381 c2.813,2.813,4.393,6.628,4.393,10.606v179.523h34.012c8.312,0,15.052-6.74,15.052-15.053V60.381L268.168,0z M262.535,69.871 c-2.65,0-4.798-2.146-4.798-4.797V19.006l50.88,50.865H262.535z"></path><path d="M152.89,194.432l-24.397-24.395c-1.588-1.589-3.701-2.464-5.947-2.464c-2.247,0-4.36,0.875-5.949,2.464l-8.126,8.125 c-3.279,3.279-3.278,8.616,0.002,11.896l24.397,24.395c1.589,1.59,3.702,2.465,5.947,2.465c1.473,0,2.885-0.383,4.133-1.091 l-3.933-3.933c-3.125-3.125-3.125-8.189,0-11.314c3.124-3.123,8.189-3.123,11.314,0l3.931,3.931 C156.069,201.305,155.617,197.159,152.89,194.432z"></path><path d="M205.872,62.296c-0.466-0.465-1.11-0.731-1.768-0.731H59.54c-9.68,0-17.556,7.874-17.556,17.553V352.98 c0,9.679,7.875,17.553,17.556,17.553h189.892c9.678,0,17.552-7.874,17.552-17.553V124.445c0-0.668-0.26-1.296-0.732-1.768 L205.872,62.296z M211.81,265.25l-8.122,8.124c-4.612,4.611-10.742,7.151-17.263,7.151c-6.52,0-12.65-2.54-17.263-7.151 l-24.396-24.396c-4.333-4.332-6.836-10.008-7.122-16.088c-6.079-0.286-11.754-2.789-16.087-7.123l-24.398-24.396 c-9.517-9.52-9.517-25.007-0.001-34.523l8.126-8.125c4.61-4.611,10.741-7.15,17.263-7.15c6.52,0,12.65,2.539,17.261,7.149 l24.398,24.396c4.461,4.461,6.803,10.234,7.083,16.089c6.095,0.276,11.785,2.779,16.127,7.12l24.397,24.397 C221.328,240.246,221.327,255.732,211.81,265.25z M198.471,133.936c-2.65,0-4.799-2.146-4.799-4.797V83.07l50.881,50.865H198.471z"></path><path d="M176.102,217.643c-1.588-1.588-3.701-2.463-5.949-2.463c-1.473,0-2.885,0.382-4.133,1.089l3.933,3.933 c3.125,3.125,3.125,8.189,0,11.314c-1.562,1.562-3.609,2.343-5.657,2.343c-2.047,0-4.095-0.781-5.657-2.343l-3.934-3.934 c-0.707,1.248-1.091,2.66-1.091,4.134c0,2.246,0.875,4.358,2.464,5.947l24.396,24.396c1.59,1.59,3.704,2.466,5.95,2.466 c2.247,0,4.358-0.875,5.948-2.465l8.122-8.124c3.28-3.28,3.281-8.618,0.001-11.899L176.102,217.643z"></path></g></g></svg>') !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 16px 16px !important;
  /* Adjust size of the SVG */
}

.form-check.form-check-solid .form-check-input{
  background-color: #d3d3d3!important;
}
.form-check.form-check-solid .form-check-input:checked{
  background-color: var(--primary-color)!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);
}

.d-hover-flex:hover {
    display: flex !important;
}

.blockui-overlay {
    z-index: 999999 !important;
    box-shadow: 0 1rem 2rem 1rem rgba(0, 0, 0, 0.1) !important;
}

.blockui-message {
    direction: ltr;
}

@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;
    }
}