/*
 * Droid Arabic Kufi (Arabic) http://www.google.com/webfonts/earlyaccess
 */
@font-face {
    font-family: 'Droid Arabic Kufi';
    font-style: normal;
    font-weight: 400;
    src: /*url(/static/style/fonts/DroidKufi-Regular.eot?#iefix) format('embedded-opentype')*/
   /* url(/static/style/fonts/DroidKufi-Regular.woff) format('woff'),*/
    url(/static/style/fonts/DroidKufi-Regular.ttf) format('truetype');
}
@font-face {
    font-family: 'Droid Arabic Kufi';
    font-style: normal;
    font-weight: 700;
    src: /*url(/static/style/fonts/DroidKufi-Bold.eot?#iefix) format('embedded-opentype'),*/
   /* url(/static/style/fonts/DroidKufi-Bold.woff) format('woff'),*/
    url(/static/style/fonts/DroidKufi-Bold.ttf) format('truetype');
}


/*  color style  var(--name-color)  var(--etqan-primary)*/
:root {
   /* --etqan-primary : #6d8a4e;
    --etqan-primary : #9cB724;*/
    --etqan-primary: #007152;
    --etqan-secondary:#b4a37c;
    --etqan-warning: #d25642;
    --etqan-baground: #fffef6;
    --etqan-light :#f7f5e9;
    --etqan-dark:#59503e;
    --etqan-primary-active: #F9FEFD;
    --etqan-primary-active-border: #037051;

}


html {
    position: relative;
    min-height: 100%;
    min-width: -webkit-fill-available;
}

body {
    font-family: 'Droid Arabic Kufi';
    font-weight: normal;
    font-style: normal;
    font-size: 12px;
    color: var(--etqan-dark);
    background-image: url('/static/style/imges/Artwork.svg');
    background-size: 64px;
}

body {
    margin: 0 0 100px;
    background-color: var(--etqan-baground);
}

.c-primary {
 color: var(--etqan-primary);
}
.c-secondary {
    color: var(--etqan-secondary);
}
.c-warning {
    color: var(--etqan-warning);
}

.c-dark {
    color: #333;
}

input[type=text], input[type=password], input[type=email], input[type=url], input[type=number], input[type=tel], textarea, select, .vTextField {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 5px 6px;
    margin-top: 0;
}

li a {
    color: green;
}


body {
    text-align: right;
}

.title_table{
    padding: 13px;
    font-size: 1.4rem;
    text-align: center;
}
.content_Card {
    margin: 0 auto;
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.card1 {
    border-radius: 9.25rem;
    width: 200px;
    height: 200px;
    float: right;
    background: #f8f9fa;
    padding: 20px;
    margin: 20px;
       box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    transition: 0.3s;
}

.card1:hover {
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
}

.card-title {
    text-align: center;
    font-size: 15px;
    padding-top: 26px;
     margin-bottom:0rem;
}

.card-value {
    text-align: center;
    font-size: 50px;
}

.card-title1 {
padding-top: 0;
        margin-bottom: auto;
}

.card-value1 {
    font-size: 37px;
}


.dropdown-menu {
    background-color: var(--etqan-primary) !important;
}


.table {
    width: inherit;
   /* border: 1px solid #F7F4E7;*/
    text-align: center;
    margin: auto;
    border-collapse: inherit;
    border-spacing: 0px;
    --bs-table-bg:unset;
}

.table th, .table td {
    border: 1px solid var(--etqan-light);
}

.table thead th {
    vertical-align: inherit;
}

.table thead {
    background: var(--etqan-light);
}

.table-empty, .table-empty>td, .table-empty>th {
    background-color: rgba(0, 0, 0, 0.01);
}
.table-zero, /*.table-zero>td,*/ .table-zero>th {
    background-color: #fb9e9e;
}

.table-zero>.table-zero {
    background-color: initial;
}
tr:hover {
    background: #f5f5f5;
}

.table-zero:hover, .table-zero>td:hover , .table-zero>.table-zero:hover {
   background: #fdb5b5;
}

.chart1 {
pointer-events: none;
    padding: 30px;
    margin: auto;
    max-width: 612px;
}
/*
.content {
   /* padding: 10px;
    margin: 10px;* /
    min-width:fit-content;
    min-height: 800px;
    background: #fbfbf6;
    border: 1px solid #dadada;
}

.content .title {
    background: #fbfbf6;
    border-bottom: 1px solid #e4e7ed!important;
    padding-bottom: 19px;
    font-size: 24px;
}
*/
.report {
    min-width :200px;
    min-height :100px;
}


.content .title {
    border-bottom: 1px solid #e4e7ed!important;
    padding-bottom: 19px;
}


form[role=login] > .erorr{
    text-align: start;
    color: #d50000;
}


.empty-cell {
background: #eee;
}

/*      Save Page          */
.save_page_N {
    background-color: #d8d8d8 ;
        color: #656565;
}
    .save_page_K {
    background-color: #fde790 ;
    color: #8c7417;
}

    .save_page_S{
    background-color: #f34040  ;
      color: #fbd0d0;
}
        .save_page_M{
    background-color: #bade7c ;
        color: #406500;
}
.save_page_undefined {
    background-color: #ffffff8c;
    color: #000;
    border: 1.2px solid red;
}
/*   input_page    */


form[role=input]   tr {
    border-bottom: solid 1px #ababab;
}


form[role=input] {
   font-size: 15px;
}

form[role=input]   th {
    text-align: center;
    padding: 10px;
}

form[role=input]  .lable {
    text-align: start;
}

form[role=input] input {
    min-height: 30px;
    width: 100%;
    max-width: 70px;
    text-align: center;
    padding: 0px;
}

/*     validate form          */
.errorlist
{
    color: red;
    list-style-type: none;
      margin: 10px 0;
  padding: 10px;
  border-radius: 3px 3px 3px 3px;
  color: #D8000C;
  background-color: #FFBABA;

}


.info-msg,
.success-msg,
.warning-msg,
.error-msg {
  margin: 10px 0;
  padding: 10px;
  border-radius: 3px 3px 3px 3px;
}
.info-msg {
  color: #059;
  background-color: #BEF;
}
.success-msg {
  color: #270;
  background-color: #DFF2BF;
}
.warning-msg {
  color: #9F6000;
  background-color: #FEEFB3;
}
.error-msg {
  color: #D8000C;
  background-color: #FFBABA;
}


.bg-etqan{
    color: white;
    background-color: var(--etqan-primary) !important;
}

.bg-etqan:hover{
    color: white;
}




.bg-etqan-active {
    background-color: var(--etqan-primary-active)!important;
    border: 1px solid var(--etqan-primary-active-border)!important;
    border-radius: 4px !important;
}


.bg-white {
    background-color: #fffefc!important;
}

.btn-etqan {
    background-color: var(--etqan-secondary) ;
    color: white;
}


.btn-etqan-primary {
    background-color: var(--etqan-primary);
    color: white;
}

.btn-etqan-primary:hover {
    border-color:var(--etqan-dark);
   /* background-color: var(--etqan-primary);
    color: white;*/
}

.btn-etqan-secondary {
    background-color: var(--etqan-secondary);
    color: white;
}

.btn-etqan-warning {
    background-color: var(--etqan-warning);
    color: white;
}

/*  nave    */

.bd-placeholder-img {
    font-size: 1.125rem;
    text-anchor: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

@media (min-width: 768px) {
    .bd-placeholder-img-lg {
        font-size: 3.5rem;
    }
}

.ourSlogan h1 p {
    font-size: 50px;
    font-weight: 700;
}

.ourSlogan h1 span {
    font-size: 50px;
    font-weight: 700;
}

/*.ourSlogan .slogan-btns a:first-child {
    background-color: #26532b;
}*/
/*.nav-scroller .nav {
    /*background: var(--etqan-primary)!important;* /

}*/


nav {
    background: var(--etqan-primary) !important;
    min-width: -webkit-fill-available;
    padding-bottom: 5px;
}

.nav-item-line{
    margin-top: 5px;
    width: 2px;
    background: white;
    opacity: 0.7;
}

.nav a {
    text-decoration: none !important;
    color: white;
    /* font-size: 50px;*/
    font-weight: 700;
}

.nav a {
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.nav a:before {
    content: "";
    position: absolute;
    z-index: -1;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ccc;
    height: 4px;
    -webkit-transform: translateY(4px);
    transform: translateY(4px);
    -webkit-transition-property: transform;
    transition-property: transform;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
}

.nav a:hover:before,
.nav a:focus:before,
.nav a:active:before {
    -webkit-transform: translateY(0);
    transform: translateY(0);
}

.spaceMargin {
    margin: 3rem 0 0;
}

.features {
    padding: 3rem 0;
}

button.rounded{
   /* width: fit-content;*/
    width: -webkit-fill-available;
    text-align: start;
    padding-inline-start: 30px;
}


@media (max-width: 767px) {
  .offcanvas-collapse {
    position: absolute;
    bottom: 0;
    left: 100%;
    width: 100%;
    padding-right: 1rem;
    padding-left: 1rem;
    overflow-y: auto;
    background-color: var(--etqan-light);
    transition: transform .3s ease-in-out, visibility .3s ease-in-out;
    visibility: visible;
    transform: translateX(-100%);
    display: inline-grid;
    top: 0;
    padding-top: 100px;
    align-items: start;
    z-index: 5;
  }
  /*  new  */
  .navbar-toggler-icon{
    position: absolute;
    cursor: pointer;
  }
  .navbar-toggler:focus {
    border-color: rgb(0 0 0 / 0%)!important;
    box-shadow: 0 0 0 0rem;
}
/* end new  */
    .navbar-circle {
   /* old
    position: fixed!important;
    bottom: 0;
    right: 0;
    margin: 5px;
    width: 50px;
    height: 50px;
    padding: revert;
    border-radius: 2em;
    
    */

    position: relative!important;
    border-color: rgb(0 0 0 / 0%)!important;
    bottom: 0;
    right: 0;
    margin: 5px;
    width: 100px;
    height: 100px;
    padding: revert;
    border-radius: 2em;
    border-radius: 50%;
    margin-top: -40px;
    margin-inline-start: -40px;
  }

  .offcanvas-collapse li {
      margin: 5px 40px;
  }

  .navbar-circle.collapsed {
    bottom: 0;
    right: 0;
  }

  


}

@media (min-width: 992px){
    .col-lg-2 {
        width: 11%;
    }
}


.nav-scroller {
  position: relative;
  z-index: 2;
 /* height: 2.75rem;*/
  overflow-y: hidden;
}

.nav-scroller .nav {
  display: flex;
  flex-wrap: nowrap;
  /*padding-bottom: 1rem;*/
  margin-top: -1px;
  overflow-x: auto;
  color: rgba(255, 255, 255, .75);
  text-align: center;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.nav-underline .nav-link {
  padding-top: .75rem;
  padding-bottom: .75rem;
  font-size: .875rem;
/*  color: #6c757d;*/
}


.navbar-light a {
    color: #fff!important;
    /*text-decoration: underline;*/
}

.heder-card .nav-link:hover ,.nav-pills .nav-link.active{
    color: var(--etqan-primary)!important;
    font-weight: bold!important;
    background-color: #eee!important;
    opacity: 0.95;
}

a.nav-link {
    display: flex;
        justify-content: center;
        align-items: center;
}

.heder-card .nav-link {
    color: var(--etqan-primary);
    margin: 3px;
    width: 100px;
    height: 64px;
    background-color: white;
}
 
/*
.nav-link {
    color: var(--etqan-primary);
    background-color: white;
}
/*.nav-underline .nav-link:hover {
  color: #007bff;
}


.nav-underline .active {
  font-weight: 500;
  color: #343a40;
}

.text-white-50 { color: rgba(255, 255, 255, .5); }

.bg-purple { background-color: #6f42c1; }


*/
.btn-toggle-nav a {
    display: inline-flex;
    padding: .1875rem .5rem;
    margin-top: .125rem;
    margin-left: 1.25rem;
    text-decoration: none;
}

.bg-light {
    background-color: var(--etqan-light) !important;
}

.logo_home{
    width: 300px;
    margin: auto;
    display: block;
    padding: 10px;
}

/*     loging style */

@CHARSET "UTF-8";
/*
over-ride "Weak" message, show font in dark grey
*/

.progress-bar {
    color: #333;
}

/*
Reference:
http://www.bootstrapzen.com/item/135/simple-login-form-logo/
*/

* {
    -webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
	outline: none;
}

    .form-control {
	  position: relative;
	  font-size: 16px;
	  height: auto;
	  padding: 10px;
	}


.login-form {
	margin-top: 60px;
}
/*
form[role=login] {
	color: #5d5d5d;
	background: #f2f2f2;
	padding: 26px;
	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
}*/
	form[role=login] img {
		display: block;
		margin: 0 auto;
		margin-bottom: 35px;
	}
	form[role=login] input,
	form[role=login] button {
		font-size: 18px;
		margin: 16px 0;
	}
	form[role=login] > div {
		text-align: center;
	}

.form-links {
	text-align: center;
	margin-top: 1em;
	margin-bottom: 50px;
}
	.form-links a {
		color: #fff;
	}

/*    end loging style */


footer .footer {
    background-color: var(--etqan-primary);
  color: #fff;
  text-align: right;
    position: absolute; 
    left: 0; 
    bottom: 0; 
    height: 100px; 
    width: 100%;

}
.footer__bottom{
    background-color: var(--etqan-primary);

}
.table-responsive {
    overflow-y: auto;
    height: 50vh;
}

.table-responsive {
    overflow-y: auto;
    height: 50vh;
}


.table-responsive table thead {
    position: sticky;
    top: 0;
}


/*
table {
    text-align: left;
    position: relative;
    border-collapse: collapse; 
  }
  th, td {
    padding: 0.25rem;
  }

  th {
    background: white;
    position: sticky;
    top: 0; /* Don't forget this, required for the stickiness */
   /* box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.4);
  }

  table thead th {
    padding: 3px;
    position: sticky;
    top: 0;
    z-index: 1;
   /* width: 25vw;*/
  /*  background: white;
  }*/

  .cards-new-week {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 6px;
        align-items: center
  }
   .title-card-new-week {
          grid-column: 1 / -1;
        }
    .card-box-new-week {
        display: inline-block;
        user-select: none;
        -webkit-user-select: none;
        margin: auto;
    }

  .card-list-select .card-box {
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
   /* background-color: #f8f9fa; /* لون خلفية فاتح */
  }
  
  .card-list-select .card-box:hover {
    transform: scale(1.05);
    box-shadow: 0 0 8px rgb(247 245 233 / 49%);
  }

  .card-box-course {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 67px;
    text-align: center;
    min-height: 45px;
    font-weight: bold;
  }

  .card-list-select-course {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
    gap: 6px;
    align-items: center;
  }
  
/* start iframe-modal*/

  .iframe-modal {
    display: block;  
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5); /* خلفية نصف شفافة */
}

.iframe-modal .modal-content  {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.iframe-modal .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.iframe-modal .close:hover,
.iframe-modal .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* end iframe-modal*/

  