body {
    font-size: 16px !important;
    overflow-x: hidden;
    /* font-family: "Montserrat", sans-serif; */
    font-family: 'greta', sans-serif;

    color: #55585e;
    background-color: #f5f7fb;
 }

.page-wrapper .page-body-wrapper .front-page-body {
  min-height: calc(100vh);
  margin-top: 76px;
  padding: 0 15px 0 15px;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  background-image: url('../images/front-bg.jpg');
  background-size: cover;
    background-position: bottom center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

 .front-header-bg{
  background-color: #fafbf5 !important;

  background-image: url('../images/front-header-bg.png');
  background-repeat:no-repeat;
  background-position: left;
}

.header-bg{
    background-color: #D0B18F !important;

    background-image: url('../images/header-bg.png');
    background-repeat:no-repeat;
    background-position: right;
}
.header-bg a {
    color: #fff;
    text-decoration: none;
}

.page-main-header .main-header-right .nav-right > ul > li svg {
    stroke: #fff;
}
.page-main-header .main-header-right .nav-right > ul > li i {
    color: #fff;
}


.rtl .page-main-header .main-header-right .main-header-left {
    margin-right: unset;
    border-right: unset;
    border-left: 0px solid #5e5e68;
}

/* sidebar menu css */
.rtl .page-wrapper.compact-wrapper .page-body-wrapper header.main-nav {
    text-align: right;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    border-left: 1px solid #e6edef;
    border-right: unset;
    background-image: url('../images/bg-nav.png');
    background-size: cover;
  }

  .page-wrapper.compact-wrapper .page-body-wrapper header.main-nav .sidebar-user {
    padding: 20px;
    position: relative;
    border-bottom: 1px solid #e6edef;
    margin-bottom: 0px;
    background-image: url('../images/bg-profile.png');
    margin-top: -2px;
      }



/* for mobile and tablet */
@media screen and (max-width: 1120px) {
    .left-menu-header{
        display: none;
    }
}
@media screen and (max-width: 991px) {

    .page-main-header .main-header-right .nav-right > ul > li svg {
        stroke: #000;
    }
    .page-main-header .main-header-right .nav-right > ul > li i {
        color: #000;
    }

    .rtl .page-wrapper .page-main-header .main-header-right > .mobile-toggle {
        padding-left: 20px;
        padding-right: unset;
        color:#fff
    }

    .page-wrapper .page-main-header .main-header-right .nav-right > ul.open {
        z-index: 1;
        opacity: 1;
        -webkit-transform: translateY(0px) scaleY(1);
                transform: translateY(0px) scaleY(1);
        visibility: visible;
        margin-top: 10px;
    }
}

/* footer css */

footer {
    margin-right: 0px;
    margin-left: unset;
    background-color: #c8a37b;
    position:absolute;
    width: 100%;
    padding: 4px !important;

}
.front-footer {
    margin-right: 0px;
    margin-left: unset;
    background-color: #71685b;
    position:absolute;
    width: 100%;
    padding: 4px !important;

}

/* login card bg */
.login-card {
    /* background-image: url(../images//login/card-login.jpg) !important; */
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0 auto;
    padding: 30px 12px;
    background-size: cover;
    background-position: top left !important;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;

  }

  /* ################## css tools added by devloper ############### */
  .border-round {
    border: 1px solid #E4E6EF;
    border-radius: 0.82rem !important;
  }
  /*section-bg*/
.section-bg {
    background-image: url(../images/section-bg.png) !important;
    background-size: fixed;
    background-position: top right;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
  }

  .front-section-bg {
    background-image: url(../images/front-section-bg.png) !important;
    background-size: fixed;
    background-position: top right;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
  }

  /*sidbar link */
  .page-wrapper.compact-wrapper .page-body-wrapper header.main-nav .sidebar-main-title > div {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-top: 10px;
    margin-right: -10px;
    margin-left: -10px;
    margin-top: 5px;
    margin-bottom: 5px;
    border: 1px solid #e6edef;
    border-radius: 5px;
    background-color: rgba(224, 224, 227, 0.312);

}
/* .page-wrapper.compact-wrapper .page-body-wrapper header.main-nav .sidebar-main-title > div h6 {
    color: #168eea;
    font-size: 17px;
    margin-bottom: 0; }
.page-wrapper.compact-wrapper .page-body-wrapper header.main-nav .sidebar-main-title > div p {
    color: #242934;
    margin-bottom: 0; }
 */


.page-wrapper.compact-wrapper .page-body-wrapper header.main-nav .main-navbar .nav-menu > li {
    display: block;
    float: none;
    width: 100%;
    padding: 3px 15px;
    font-size: 16px;
}
.page-wrapper.compact-wrapper .page-body-wrapper header.main-nav .main-navbar .nav-menu > li span {
    font-weight: 600;
    font-size: 16px;
}
.page-wrapper.compact-wrapper .page-body-wrapper header.main-nav .main-navbar .nav-menu > li a {
    padding: 5px 15px;
    position: relative;
    color: #222222;
    font-size: 16px;
}

/* box elements */
.box-control {
    display: block;
    margin-bottom: 0.25rem;
    width: 100%;
    min-height: calc(1.2em + 1.2rem + 4px);
    padding: 0.50rem 1rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #3F4254;
    background-color:transparent;
    background-clip: padding-box;

     border: 1px solid #e6edef !important;
    border-radius: 0.32rem !important;
    box-shadow: 0 1px 1px 0 rgba(87, 86, 86, 0.052);

    /* box-shadow: rgba(0, 0, 0, 0.02) 0px 6px 24px 0px, rgba(0, 0, 0, 0.05) 0px 0px 0px 1px !important; */
    /* border-radius: 5px !important; */


}
/*form-control*/
.form-control {
  display: block;
  margin-bottom: 0.5rem;
  width: 100%;
  min-height: calc(1.2em + 1.2rem + 4px);
  padding: 0rem 1rem;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.5;
  color: #3F4254;
  background-color: #ffffff;
  background-clip: padding-box;
  border: 1px solid #E4E6EF;
  border-radius: 0.42rem !important;
  -webkit-box-shadow: none;
  box-shadow: none;
  -webkit-transition: border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
  transition: border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
}

.label {
  font-weight: bold !important;
  display: block;
  margin-bottom: 0.50rem;
  width: 100%;
  min-height: calc(1.2em + 1.2rem + 4px);
  padding: 0.5rem 1rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #4c4e56;
  background-color: #ffffff;
  background-clip: padding-box;
  border: 1px solid #E4E6EF;
  border-radius: 0.42rem;
  -webkit-box-shadow: none;
  box-shadow: none;
  -webkit-transition: border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
  transition: border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
}
.showlabel {
  font-weight: bold !important;
  display: block;
  margin-bottom: 0.40rem;
  width: 100%;
  min-height: calc(1.0em + 1.0rem + 3px);
  padding: 0.4rem 0.6rem;
  font-size: 0.95rem;
  line-height: 1.2;
  color: #4c4e56;
  background-color: #ffffff;
  background-clip: padding-box;
  border: 1px solid #E4E6EF;
  border-radius: 0.42rem;
  -webkit-box-shadow: none;
  box-shadow: none;
  -webkit-transition: border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
  transition: border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
}


/* images classes */
.user-avatar img {
  width: 150px;
  height: auto;
  margin: 0;
  border: 2px solid #cecbcb;
  /* border-radius: 50%;  */
}

.centralize {
  display: flex; justify-content: center; align-items: center;
}

/*modify upload file browse language */
.custom-file {
  position: relative;
  display: inline-block;
  width: 100%;
  height: calc(2.25rem + 2px);
  margin-bottom: 0; }

.custom-file-input {
  position: relative;
  z-index: 2;
  width: 100%;
  height: calc(2.25rem + 2px);
  margin: 0;
  opacity: 0; }

.custom-file-input:focus ~ .custom-file-control {
  border-color: #80bdff;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25); }

.custom-file-input:focus ~ .custom-file-control::before {
  border-color: #80bdff; }

.custom-file-input:lang(en) ~ .custom-file-label::after {
  content: "استعرض"; }

.custom-file-label {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
  height: calc(2.25rem + 2px);
  padding: .375rem .75rem;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  border: 1px solid #ced4da;
  border-radius: .42rem; }

.custom-file-label::after {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 3;
  display: block;
  height: calc(calc(2.25rem + 2px) - 1px * 2);
  padding: .375rem .75rem;
  line-height: 1.5;
  color: #495057;
  content: "Browse";
  background-color: #e9ecef;
  border-right: 1px solid #ced4da;
  border-radius: .25rem 0 0 .25rem; }

/* end images classes */


.icon-btn {
  font-size: 16px;
  padding: 0.175rem 0.300rem;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 1px;
  min-width: 30px;
  }


/* card customize */
.card {
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.14);
    border-color: #b8b8b8 !important;
    border: 0px !important; }

  .card-header {
    color: #ffffff !important;
    padding: 15px 5px !important;
    border-bottom: 1px solid rgba(216, 215, 215, 0.418); }

  .card-body {
    line-height: 1.5;
    padding: 1.5rem; }

  .card-body p {
    text-align: justify;
    /* text-indent: 1.5rem;  */
}
/*======= Background-color css starts  ======= */
.bg-secondary {
  background-color: #c8a37b !important;
  color: #fff !important; }

/*
.bg-primary {
  background-color: #168eea !important;
  color: #fff; }

.bg-secondary {
  background-color: #4a8cbb !important;
  color: #fff !important; }

.bg-success {
  background-color: #1b4c43 !important;
  color: #fff; }

.bg-danger {
  background-color: #d22d3d !important;
  color: #fff; }

.bg-info {
  background-color: #717171 !important;
  color: #fff; }


  .bg-light {
    background-color: #f6f8fcc2 !important;
    color: #181717; }

.bg-dark {
  background-color: #2c323f !important;
  color: #fff; }

.bg-warning {
  background-color: #e2c636 !important;
  color: #fff; }

.bg-label {
  background-color: #fbe98f93 !important;
  color: #fff; }

/*======= Background-color css end  ======= */



 /*##########  custom modal view and effect and media responsive size in dashboard  ############*/

 .modal.fade:not(.in).right .modal-dialog {
  -webkit-transform: translate3d(25%, 0, 0);
  transform: translate3d(25%, 0, 0);
}
.bg-modal {
  background-color: #f3f3f3f8 !important;
  color :rgb(29, 26, 26) !important;
  border-color: #d4d0d0c3 !important;
  border-radius: 0 !important;
}

.modal-header{
  /* padding:  1.45rem !important; */
  font-size: 1.25rem !important;
  border-top-left-radius: 0px !important;
  border-top-right-radius: 0px !important;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 30px 60px -12px inset, rgba(0, 0, 0, 0.3) 0px 18px 36px -18px inset !important;
  background-color: #D0B18F !important;
  color:white !important;
   min-height: 82px;

}

.modal-footer {
  display: flex;
  width: 100% !important;
  background-color: #D0B18F !important;
  color:white !important;
  flex-wrap: wrap;
  margin: 0 auto;
  text-align: center;
  justify-content:center !important;
   padding: 0px  !important;
  border-top: 1px solid #EBEDF3;
  border-bottom-right-radius: 0 !important;
  border-bottom-left-radius: 0 !important;


}

.modal {
padding: 0 !important; /* override inline padding-right added from js*/
}

.modal .modal-content {
height: 100% ;
border: 0;
border-radius: 0;
}
.modal .modal-body {
overflow-y: auto;
padding: 0.5rem !important;
}

.modal .modal-dialog {
  width: 100%;
  max-width: 1200px;
  height: 100%;
  /* margin: 40px auto 40px 1px !important; */
  margin: 0px auto 0px 0px !important;
}

@media (max-width:575px) {
  #primaryNav {
    margin: 0;
    /* float: right; */
    width: 100%;
  }

  #primaryNav.col2 li { width:99.0%; }
  #primaryNav.col3 li { width:99.0%; }
}

  @media (min-width:576px) and (max-width:767px) {
      .modal .modal-dialog {
          width: 100%;
          /* max-width: 480px !important; */
          height: 100%;
          margin: 0px auto 0px 1px !important;
      }

      #primaryNav {
        margin: 0;
        /* float: right; */
        width: 100%;
      }

      #primaryNav.col2 li { width:99.0%; }
      #primaryNav.col3 li { width:99.0%; }


  }
  @media (min-width:768px) and (max-width:991px) {
          .modal .modal-dialog {
          width: 100%;
          /* max-width: 576px !important; */
          height: 100%;
          margin: 0px auto 0px 1px !important;
      }
      #primaryNav {
        margin: 0;
        /* float: right; */
        width: 100%;
      }
      #primaryNav.col2 li { width:99.0%; }
      #primaryNav.col3 li { width:99.0%; }

  }
  @media (min-width:992px) and (max-width:1023px) {
      .modal .modal-dialog {
          width: 100%;
          max-width: 100% !important;
          height: 100%;
          margin: 0px auto 0px 1px !important;
      }
      #primaryNav {
        margin: 0;
        /* float: right; */
        width: 90%;
      }
  }
  @media (min-width:1024px) and (max-width:1199px) {

      .modal .modal-dialog {
          width: 100%;
          max-width: 95% !important;
          height: 100%;
          margin: 0px auto 0px 1px !important;
      }

      #primaryNav {
        margin: 0;
        /* float: right; */
        width: 100%;
      }
  }
  @media (min-width:1200px) and (max-width:1440px) {
      .modal .modal-dialog {
          width: 100%;
          max-width: 1124px !important;
          height: 100%;
          margin: 0px auto 0px 1px !important;
      }

      #primaryNav {
        margin: 0;
        /* float: right; */
        width: 100%;
      }
  }

  @media (min-width:1441px)  {
    .modal .modal-dialog {
        width: 100%;
        max-width: 1200px !important;
        height: 100%;
        margin: 0px auto 0px 1px !important;
    }

    #primaryNav {
      margin: 0;
      /* float: right; */
      width: 80%;
    }
}

   /*##########  end custom modal view and effect and media responsive size in dashboard  ############*/

  /*#### tables classes ####### */
  .table-sm th,td {

      padding: 8px !important;
      font-size:  15px !important;
    }

    /* .line-through {
       text-decoration-line: line-through;
      text-decoration-thickness: 0.2rem;
      text-decoration-skip-ink: none;
      text-decoration-color: red;
      text-decoration-style: dotted;
  }*/



  /* livewire loading block design*/



   /* ####### dark-only customize by devlopers ########## */

   body.dark-only .box-control {
    border: 1px solid rgba(36, 105, 92, 0.2) !important;
    background-color: transparent !important;
    color:rgba(255, 255, 255, 0.7) !important;

  }
  body.dark-only .form-control {
    border: 1px solid rgba(36, 105, 92, 0.2) !important;
    background-color: transparent !important;
    color:rgba(255, 255, 255, 0.7) !important;

  }
  body.dark-only .label {
    border: 1px solid rgba(36, 105, 92, 0.2) !important;
    background-color: transparent !important;
    color:rgba(255, 255, 255, 0.7) !important;

  }
  body.dark-only .page-wrapper.horizontal-wrapper .page-body-wrapper .page-body .card .bg-white, body.dark-only .compact-wrapper .page-body-wrapper .page-body .card .bg-white {
    border: 1px solid rgba(36, 105, 92, 0.2) !important;
    background-color: transparent !important;
    color:rgba(255, 255, 255, 0.7) !important;
  }

  body.dark-only .compact-wrapper .breadcrumb {
    background-color: transparent !important;
    color:rgba(255, 255, 255, 0.7) !important;
}

  /* ##### end dark-only customize by devlopers ######## */

  /* ------------------------------------------------------------------
   scroller theme css  + footer styles
---------------------------------------------------------------------*/
/* change scroll color to be like sidebar color and top bar #####*/
/*for chrome and safari*/
::-webkit-scrollbar {
  width: 0px;
}

/* ::-webkit-scrollbar-track {
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  background-color: #361830;
} */

/*for firefox browsers */
.sb-nav-fixed #layoutSidenav #layoutSidenav_nav .sb-sidenav .sb-sidenav-menu,
html {
  scrollbar-width: none;
  scrollbar-color: #498AB0 #E4E6EF;
}

/* used for responsive table */

@media (min-width:1px) and (max-width:1440px) {

  ::-webkit-scrollbar-thumb {
    background-color: rgba(122, 152, 184, 0.92);

    width: 2px;
    border-radius: 15px;
  }

  ::-webkit-scrollbar-track {
     background-color: rgba(217, 232, 248, 0.92);
     width: 2px;
    border-radius: 10px;


  }

}

/* front-classes */

.front-bg {
background-color: #0065a6 !important;
}

.invalid {
  color: #dc3545;
  border-color: #dc3545;
  padding-right: calc(1.5em + 0.75rem);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem); }
  .invalid:focus {
    border-color: #dc3545;
    -webkit-box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
            box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25); }

 .valid{
  color: #0b6126;

 }

 .bg-formlabel{
  background-color: #837c74 !important;
  color:#ffffff !important;
 }

 /*********************************======= Page Header css Start ======= */
.page-wrapper .page-main-header {
  position: fixed ;
  top: 0;
  z-index: 9;
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: relative !important;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  background-color: #fff;
  -webkit-box-shadow: 0 0 20px rgba(25, 124, 207, 0.08);
          box-shadow: 0 0 20px rgba(25, 124, 207, 0.08);
        }






