/*
* Globals
*/
@import url(//fonts.googleapis.com/earlyaccess/alefhebrew.css);
@import url(//fonts.googleapis.com/earlyaccess/notonaskharabic.css);
@import url(//fonts.googleapis.com/earlyaccess/notokufiarabic.css);
@import url(//fonts.googleapis.com/earlyaccess/lateef.css);
@import url(//fonts.googleapis.com/earlyaccess/amiri.css);
@import url(//fonts.googleapis.com/css?family=Oswald);


/*
==================================
Now follow my own style and tweeks
==================================
*/


@font-face {
 font-family : "STC";
 src: url('STC.woff');
}
@font-face {
  font-family: "Droid Regular";
  src: url('droid_regular.woff2');
}

.FontTahoma {
 font-family: Tahoma, Geneva, sans-serif;
}

.FontCairo {
  font-family: Cairo, Tahoma;
}

.FontAmiri {
 font-family: 'Amiri', Tahoma, sans-serif;
}

.FontNotoNaskh {
 font-family: 'Noto Naskh Arabic', Tahoma, sans-serif;
}

.FontNotoKufi {
 font-family: 'Noto Kufi Arabic', Tahoma, sans-serif;
}

.FontLateef {
 font-family: Lateef, Tahoma, sans-serif;
}

.FontSTC {
  font-family: 'STC', Tahoma, sans-serif;
}

.FontDroid {
  font-family: "Droid Regular";
}

.pointer {
  cursor: pointer;
}

label {
  font-size: 1rem;
  letter-spacing: initial;
}

label.require::after, label.required::after {
    margin-left: 8px;
    float: right;
}

body {
  direction: rtl;
  font-family: "Droid Regular", sans-serif;
  text-align: initial;
  font-size: 0.9em;
  line-height: initial;
}

@media print {
  body {
    background-color: white;
  }
}

/* backgroun for login page */
.VYMape {
  background: #e0e0e0;
  bottom: 0;
  direction: ltr;
  right: 0;
  overflow: hidden;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
}

.form-type-material.form-group label:not(.custom-control):not(.switch),
.form-type-material .form-group label:not(.custom-control):not(.switch) {
  left: inherit;
  right: 0;
}

.flexbox > *:first-child {
  margin-right: 0;
}

.flexbox > * {
  margin-right: 4px;
}

.menu {
  list-style: none;
  margin-bottom: 30px;
}

.menu-category::after {
  content: '';
  width: 100%;
  height: 0;
  border-top: 1px dashed #fff;
  vertical-align: middle;
  margin-right: 1.5rem;
  opacity: 0.3;
  position: absolute;
  top: 50%;
  margin-top: 3px;
}


@media (min-width: 991px) {
  .sidebar ~ .topbar, .sidebar ~ main {
      margin-left: initial;
      margin-right: 260px;
  }
}

@media (max-width: 991px) {
  .sidebar-expand-lg.sidebar {
      -webkit-box-shadow: none;
      box-shadow: none;
      right: -260px;
  }
  .sidebar-open .sidebar {
      right: 0;
  }
}

/* sidebar positioning */
.sidebar {
  left: initial;
}


/* topbar */
.topbar-search .lookup-placeholder {
  right: 0;
}

.topbar-right {
  -webkit-box-align: center;
  align-items: center;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: row;
  flex-direction: row;
}

.topbar-left {
  display: -webkit-box;
  display: flex;
  -webkit-box-align: center;
  align-items: center;
  -webkit-box-direction: reverse;
  flex-direction: row-reverse;
}


/* sidebar */

.sidebar-header {
  background-image: url("../img/sidebar-background.jpg");
}

.sidebar-navigation {
  background-image: url("../img/gplay.png");
}

ul.menu {
  padding-right: 0;
}

.sidebar-icons-boxed .menu-link .icon {
  border-radius: 50%;
}

.menu-link .title {
  font-family: "Droid Regular";
}

.sidebar .open .ti-angle-left {
  -webkit-transform: rotate(-90deg);
  transform: rotate(-90deg);
}

.menu-link .ti-angle-left {
  font-size: 8px;
  cursor: pointer;
  display: inline-block;
  -webkit-transition: -webkit-transform 0.3s linear;
  transition: -webkit-transform 0.3s linear;
  transition: transform 0.3s linear;
  transition: transform 0.3s linear, -webkit-transform 0.3s linear;
}

.menu-submenu {
    padding-right: 0;
    display: none;
    list-style-type: none;
}

.topbar .dropdown-grid::before,
.topbar .dropdown-grid::after {
  content: '';
  position: absolute;
  top: -11px;
  right: 17px;
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 9px solid rgba(0, 0, 0, 0.045);
}

/*.topbar .dropdown-menu.dropdown-menu-right::before,
.topbar .dropdown-menu.dropdown-menu-right::after,
.topbar .dropdown-grid.dropdown-menu-right::before,
.topbar .dropdown-grid.dropdown-menu-right::after {
  right: inherit;
  left: 28px;
}*/

/*.topbar .dropdown-menu.dropdown-menu-right::before,
.topbar .dropdown-menu.dropdown-menu-right::after {
  right: inherit;
  left: 28px;
}*/

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: "Droid Regular", sans-serif;
}

.header-info .right {
  -webkit-box-flex: 1;
  flex: 1 1 1;
}

.header-info .left {
  -webkit-box-flex: 1; 
  flex: 0 1 0;
}

.lookup-circle.lookup-right::before {
    left: 0;
    right: auto;
}

.lookup-circle.lookup-right.lookup-lg input {
    padding-left: 48px;
    padding-right: 0;
}

.lookup-circle.lookup-right input {
    padding-left: 36px;
    padding-right: 0;
}

.lookup-circle.lookup-right input:focus {
    padding-left: 18px;
    padding-right: 18px;
}

.lookup-circle.lookup-right.lookup-lg input:focus {
    padding-left: 48px;
    padding-right: 24px;
}


/*
========================
The dropdown months menu
========================
*/
.form-type-material .bootstrap-select .dropdown-toggle {
  padding-left: 25px;
  padding-right: 0px;
  text-align: left;
}

.bootstrap-select .dropdown-toggle {
  padding-left: 25px;
  padding-right: 0px;
  text-align: left;
}

select[name='hijriMonthsMenu'] + button div.filter-option, select[name='hijriYearsMenu'] + button div.filter-option {
  padding-right: 4px !important;
}


/* floating dropdown menues */
.dropdown-menu {
  text-align: right;
}

/*.bootstrap-select:not([class*="col-"]):not([class*="form-control"]):not(.input-group-btn) {
  width: 128px;
}*/

.bootstrap-select .dropdown-toggle .filter-option {
  float: right;
  text-align: right;
  padding-right: 0px;
}

.form-type-material .bootstrap-select.btn-group .dropdown-toggle {
  padding-left: 25px;
  float: right;
  text-align: right;
}

.bootstrap-select.btn-group .dropdown-menu a.dropdown-item {
  text-align: right;
}

/*
MANSORY
*/
/*.grid-sizer, .masonry-item {
  width: 32.3%;
  float: right;
}*/

.masonry-item {
  padding-bottom: 10px;
}

.r-25 {
  border-radius: 25px;
}

.rtr-25 {
  border-top-right-radius: 25px;
}

.rtl-25 {
  border-top-left-radius: 25px;
}

.rbr-25 {
  border-bottom-right-radius: 25px;
}

.rbl-25 {
  border-bottom-left-radius: 25px;
}


/* header of each page that explaing the functions of the page */
header.header {
  margin-bottom: 0;
}

.header-title small {
    display: block;
    font-weight: 300;
    line-height: 1.7;
    color: inherit;
    opacity: 0.7;
    padding-top: 16px;
    font-size: 65%;
}

.bg-ui-general {
  background-image: url("/assets/img/header/general.png");
}

.masonry-grid .card, .row .card {
  border-radius: 20px;
}

.card-footer:last-child {
  border-radius: 0px 0px 20px 20px;
}

.fc table {
  width: 100%;
  box-sizing: border-box;
  table-layout: fixed;
  border-collapse: collapse;
  border-spacing: 0;
  font-size: 1em;
}

.fc td, .fc th {
  border-style: solid;
  border-width: 1px;
  padding: 0;
}

.fc th {
  font-weight: 400;
  border: none;
  padding: 12px 0;
  text-align: center;
  vertical-align: top;
}

.fc-unthemed thead, .fc-unthemed tbody, .fc-unthemed td, .fc-unthemed tbody {
  border-color: #ebebeb;
}

.fc-unthemed tbody {
  overflow: hidden;
}

.fc-unthemed tbody td {
  height: 10em;
  transition-property: initial;
  transition-duration: 0.5s;
}

.fc-unthemed td {
  font-family: STC;
  border-style: solid;
  border-width: 2px;
  border-color: #BBB;
  vertical-align: top;
  padding: 8px;
  line-height: 1em;
  color: grey;
}

.fc-unthemed td div {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.fc td .hijri {
  color: #223dca;
  font-size: 12pt;
}

.fc-event {
  font-size: 14pt;
  display: inline-block;
  vertical-align: middle;
  line-height: 24px;
  border: none;
  color: #fff;
  background-color: #33cabb;
  border-radius: 2px;
  padding: 6px 6px;
  opacity: .9;
  -webkit-transition: none;
  transition: none;
}

.fc td .gre {
  color: #ff57ca;
  font-size: 12pt;
  align-self: flex-end;
}

.fc-unthemed td.fc-today {
  background-color: #fcf8e3;
}

.fc-unthemed td.current {
  color: red;
}

.fc td.out {
  opacity: 0.3
}

/*.fc td i {
  transform: translate(50%, 0%);
  position: absolute;
  top: 0;
  right: 50%;
}*/


/* for mobile display */
#calendar_cards .card-body {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 200px;
}

#calendar_cards .card-body .hijri {
  color: #223dca;
  font-size: 12pt;
}

#calendar_cards .card-body .gre {
  color: #ff57ca;
  font-size: 12pt;
  align-self: flex-end;
}

/* FAB button */

.fab-fixed {
  right: initial;
  left: 40px;
}

.fab-dir-left .fab-buttons {
  top: 0;
  right: 56px;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: inherit;
  flex-direction: row;
}

.btn {
  letter-spacing: initial;
}

.btn-float {
  width: 48px;
  height: 48px;
  font-size: 18px;
}

.fab-dir-left .fab-buttons li {
  padding: 3px 4px;
}

/*form wizard*/
.nav-process-circle .nav-item.processing .nav-link::after {
  -webkit-transform: translateX(-8px);
  transform: translateX(-8px);
}

.nav-process-circle .nav-link::before {
  left: calc(50% + 14.5px);
  right: calc(-50% + 14.5px);
}

.tab-content > .active {
  display: flex;
}


/* new booking modal */
#createBookingModal label {
  font-size: 12px;
}

.modal-header {
  border-top-left-radius: initial;
  border-top-right-radius: initial;
}

.modal-header .close {
  padding: 15px;
  margin: -15px auto -15px -15px;
}

.modal-footer {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: start;
  justify-content: flex-end;
}

/* form controls */
/*.custom-control {
  margin-left: 1rem;
}*/

.custom-checkbox .custom-control-label::after {
  top: 0.25rem;
  left: initial;
  right: -1.5rem;
  padding-left: initial;
}

.custom-control {
  padding-left: initial;
  padding-right: 1.5rem;
}

.custom-checkbox .custom-control-label::before {
  left: initial;
  right: -1.5rem;
}

.custom-control-description {
  padding-right: 8px;
}

/* form errors margin */
ul.list-unstyled {
  padding-right: 0;
}


/* View Booking Modal */
.modal-title {
  font-family: Cairo, sans-serif;
  font-weight: 500;
  color: #3CA07C;
}

.divider::after {
  margin-right: 16px;
  margin-left: initial;
}

.divider::before {
  margin-left: 16px;
  margin-right: initial;
}


/* New booking modal */
.callout {
  border-left: none;
  padding: 15px 20px;
  margin-bottom: 10px;
  border-right: 3px solid transparent;
  border-right-color: transparent;
}

.callout-danger {
  border-left: none;
  border-right-color: #f96868;
  background-color: #fcfdfe;
}

.alert-dismissible .close {
  float: left;
  position: initial;
  top: initial;
  right: initial;
  padding: 2px 2px;
}

/* widen the modals in wide viewports */
@media (min-width: 768px) {
  .modal-dialog.wide {
      width: 600px;
  }
}

@media (min-width: 577px) and (max-width: 767px) {
  .modal-dialog.wide {
      width: 80%;
  }
}

@media (max-width: 576px) {
  .modal-dialog.wide {
      width: 100%;
  }
}

.switch-toggle label, .switch-toggle > span {
    line-height: 2.3em;
}

.switch-indicator {
  background: #ffcdcd;
}

.switch-indicator::after {
  background: #f96868;
}

.accordion .card-title a::before {
  float: left;
  margin-left: 0px;
  margin-right: 0px;
}

.swal2-modal button + button {
    margin-left: 0;
    margin-right: 12px;
}


/* edit expense modal */
.modal-footer > :not(:last-child) {
  margin-left: .25rem;
}

.modal-footer > :not(:first-child) {
  margin-right: .25rem;
}
.bootstrap-select.show-tick .dropdown-menu .selected span.check-mark {
  right: initial;
  left: 15px;
}

.bootstrap-select.show-tick .dropdown-menu li a span.text {
  margin-right: 8px;
}

.dropdown-toggle::after {
  margin-left: -13px;
}

.dropup .dropdown-toggle::after {
  margin-left: -13px !important;
}

.dropdown-item {
  font-size: 0.85rem;
  font-weight: 500;
  color: black;
}

.bootstrap-select .dropdown-menu .selected {
  color: black;
}

/* the toggle-switch grey color */
.switch-candy-grey a {
  background-color: #E4E7Ea;
}

[type="checkbox"] + label[for], [type="radio"] + label[for] {
  cursor: pointer;
}

button, input, optgroup, select, textarea {
  font-family: Cairo, sans-serif;
  font-weight: 300;
}

/* edit partner modal */
.quickview {
  left: -300px;
  right: initial;
}

.quickview.quickview-lg {
  left: -420px;
  right: initial;
}

.quickview.reveal {
  left: 0;
  right: initial;
}

/* full screen overlay */
#overlay {
  position: fixed; /* Sit on top of the page content */
  display: none; /* Hidden by default */
  width: 100%; /* Full width (cover the whole page) */
  height: 100%; /* Full height (cover the whole page) */
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.75); /* Black background with opacity */
  z-index: 1070; /* Specify a stack order in case you're using a different order for other elements */
}

#overlay .content{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  -ms-transform: translate(-50%,-50%);
}


div.dataTables_wrapper div.dataTables_filter input {
    width: 36px;
}


/* minimize modal header height for mobile view */
@media (max-width: 768px) {
  #create-partner-modal .modal-header {
    padding: 0;
  }
  #create-partner-modal .card {
    margin-bottom: 0;
  }
  #create-partner-modal .card-body {
    padding: 8px;
  }

  #qv-user-details .card {
    padding: 4px;
    margin: 0;
  }
  #qv-user-details .card-body {
    padding: 0;
  }

  /* users modal */
  #create-user-modal .card {
    margin-bottom: 0;
  }
  #create-user-modal .card-body {
    padding: 8px;
  }

  /* create and edit customer modals */
  #create-customer-modal .card {
    margin-bottom: 0;
  }
  #create-customer-modal .card-body {
    padding: 8px;
  }

  #edit-customer-modal .card {
    margin-bottom: 0;
  }
  #edit-customer-modal .card-body {
    padding: 8px;
  }

}


/* services style */
@media (min-width: 576px) {
  .form-inline .custom-control {
    -ms-flex-align: flex-start;
    align-items: initial;
    justify-content: initial;
  }
}

/* add on input fields */
.input-group {
  -ms-flex-wrap: initial;
  flex-wrap: initial;
}

/* toast right margin fix */
.toast .text {
  margin-right: initial;
}

.input-group-append {
  margin-right: -1px;
  margin-left: initial;
}

.input-group>.input-group-append>.input-group-text {
  border-top-right-radius: 2px !important;
  border-bottom-right-radius: 2px !important;
  border-top-left-radius: 0px !important;
  border-bottom-left-radius: 0px !important;
}

.input-group>.custom-select:not(:first-child), .input-group>.form-control:not(:first-child) {
    border-top-left-radius: 2px;
    border-bottom-left-radius: 2px;
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
}
/* card headers margins */

.card-header>*:first-child {
  margin-left: initial;
  margin-right: 0;
}

.card-header>*:last {
  margin-right: initial;
  margin-left: 0;
}

.form-group input.form-control, textarea.form-control {
  border-color: #CCC;
  color: #535962;
}
.form-control.is-invalid {
  padding-right: 8px;
  padding-left: calc(1.5em + .75rem);
}

.form-control.is-invalid, .was-validated .form-control:invalid {
  background-position: center left calc(.375em + .1875rem);
}

.form-type-material input.form-control, .form-type-material textarea.form-control {
  border-color: transparent;
  color: #535962;
}

.number {
  font-weight: 600;
  font-family: "Droid Regular", sans-serif;
}