/* cairo-regular - arabic */
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/Cairo/cairo-v6-arabic-regular.eot');
  /* IE9 Compat Modes */
  src: local('Cairo'), local('Cairo-Regular'),
    url('fonts/Cairo/cairo-v6-arabic-regular.eot?#iefix') format('embedded-opentype'),
    /* IE6-IE8 */
    url('../fonts/Cairo/cairo-v6-arabic-regular.woff2') format('woff2'),
    /* Super Modern Browsers */
    url('../fonts/Cairo/cairo-v6-arabic-regular.woff') format('woff'),
    /* Modern Browsers */
    url('../fonts/Cairo/cairo-v6-arabic-regular.ttf') format('truetype'),
    /* Safari, Android, iOS */
    url('../fonts/Cairo/cairo-v6-arabic-regular.svg#Cairo') format('svg');
  /* Legacy iOS */
}

body,
.page,
.button,
h1,
h2,
h3,
h4,
h5,
h6,
p,
div {
  font-family: Roboto, Noto, sans-serif !important;
}

body[lang="ar"],
[lang="ar"] .page,
[lang="ar"] .button,
[lang="ar"] h1,
[lang="ar"] h2,
[lang="ar"] h3,
[lang="ar"] h4,
[lang="ar"] h5,
[lang="ar"] h6,
[lang="ar"] p,
[lang="ar"] div {
  font-family: 'Cairo', sans-serif !important;
}





body {
  background: #2979ff !important;
  height: 100% !important;
  position: absolute !important;
  width: 100% !important;
}

/* Hide install instructions when in standalone (installed PWA) mode */
@media all and (display-mode: standalone) {

  #installer,
  #sheetIos,
  #sheetAndroid,
  ons-action-sheet[id="sheetIos"],
  ons-action-sheet[id="sheetAndroid"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
}

/* iOS Safari standalone mode detection (uses different mechanism) */
@supports (-webkit-touch-callout: none) {
  /* Only apply in fullscreen/standalone on iOS */
  @media all and (display-mode: standalone) {

    #sheetIos,
    #sheetAndroid {
      display: none !important;
    }
  }
}

#installer {
  position: fixed;
  display: none;
  top: 0;
  right: 0;
  text-align: center;
  transition: opacity .3s ease-in-out;
  z-index: 10002;
  width: 100%;
  height: 100%;
  background: #2b78fc;
  color: #fff;
  direction: rtl;
}

#installer.available {
  display: block;
}

#installer .btninstall {
  position: absolute;
  width: 100%;
  bottom: 10%;
}

#installer .img img {
  width: 50%;
  max-width: 200px;
  border-radius: 50%;
  margin-top: 5vh;
}

#installer .btninstall .button {
  border: solid 1px #fff;
}





.all-pages {
  height: 100% !important;
  position: absolute !important;
  /*background: #fff !important;*/
  top: 0;
  left: 0;
  width: 100% !important;
}

.login_content {
  height: initial !important;
}

.loading {
  position: absolute;
  top: 40%;
  text-align: center;
  width: 100%;
  font-size: 2rem;
  color: #fff
}

.loading img {
  height: 13vh;
  border-radius: 50%;
}


#snackbar {
  visibility: hidden;
  width: 100%;
  margin-left: 0;
  background-color: #333;
  color: #fff;
  text-align: center;
  border-radius: 2px;
  padding: 16px;
  position: fixed;
  z-index: 99999;
  left: 0;
  bottom: 30px;
}

#snackbar a {
  margin: 0 7px;
  color: yellow;
  /* color:red; */
  font-size: 1.2rem;
}

#snackbar.show {
  visibility: visible;
  -webkit-animation: fadein 0.5s;
  animation: fadein 0.5s;
}

@-webkit-keyframes fadein {
  from {
    bottom: -200px;
    opacity: 0;
  }

  to {
    bottom: 30px;
    opacity: 1;
  }
}

@keyframes fadein {
  from {
    bottom: -200px;
    opacity: 0;
  }

  to {
    bottom: 30px;
    opacity: 1;
  }
}


.font-cairo,
.font-cairo * {
  font-family: 'Cairo', sans-serif;
}

th {
  background-color: lightblue;
  border-width: 3px;
  border-top-width: inherit;
}

td {
  direction: ltr;
  text-align: center;
}

.ui-widget.ui-widget-content {
  direction: ltr;
}

.dataCalc {
  background-color: #eeeeee;
  padding: 5px;
  margin-bottom: 20px;
}

.timeData {
  display: none;
}

.datepicker td,
.datepicker th {
  border-radius: 0;
}

.dropdown-menu {
  min-width: 20rem;
}

.dropdown-menu table {
  width: 100%;
}

.rtl {
  direction: rtl;
}

ons-toolbar,
ons-toolbar * {
  direction: ltr !important;
  text-align: left !important;
}

.progress-circular__background {
  stroke: #ffec3b !important;
}



ons-toolbar .toolbar__right {
  text-align: right !important;
}

ons-toolbar .center,
ons-toolbar .toolbar__center {
  text-align: center !important;
}

ons-action-sheet,
ons-toast {
  display: none;
}