*{
	margin: 0px;
	padding: 0px;
}

@font-face {
    font-family: 'Arabic';
    src: url('../fonts/Arabic.eot');
    src: url('../fonts/Arabic.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Arabic.woff2') format('woff2'),
        url('../fonts/Arabic.woff') format('woff'),
        url('../fonts/Arabic.svg#Arabic') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Hacen";
    src: url("../fonts/Hacen_Liner_Screen.eot");
    /* IE 9 */
    src: url("../fonts/Hacen_Liner_Screen.eot?") format("eot"), 
    url("../fonts/Hacen_Liner_Screen.woff") format("opentype"), 
    url("../fonts/Hacen_Liner_Screen.ttf") format("truetype");
    /* Safari, Android, iOS */
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'segoeuil';
    src: url('../fonts/segoeuil.eot');
    src: url('../fonts/segoeuil.eot?#iefix') format('embedded-opentype'), 
	url('../fonts/segoeuil.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

.Arabic{font-family:'Arabic';}
.Hacen{font-family:'Hacen';}
.segoeuil{font-family:'segoeuil';}


/*-------------------shine  ------------*/
.icon {
  position: relative;
  overflow: hidden;
  display: block;
  color: #fff;
  text-decoration: none;
  text-align: center;
  line-height: 50px;
  border:#CCC 1px solid;
  border-radius: 10px;
  justify-content: center;
  align-items: center;
}

.icon:after {
  
  animation: shine 2s ease-in-out  infinite;
  animation-fill-mode: forwards;  
  content: "";
  position: absolute;
  top: -110%;
  left: -210%;
  width: 200%;
  height: 200%;
  opacity: 0;
  transform: rotate(30deg);
  

  background: linear-gradient(
    to right, 
    rgba(255, 255, 255, 0.13) 0%,
    rgba(255, 255, 255, 0.13) 77%,
    rgba(255, 255, 255, 0.5) 92%,
    rgba(255, 255, 255, 0.0) 100%
  );
}

/* Hover state - trigger effect */


/* Active state */

.icon:active:after {
  opacity: 0;
}

@keyframes shine{
  10% {
    opacity: 1;
    top: -30%;
    left: -30%;
    transition-property: left, top, opacity;
    transition-duration: 0.7s, 0.7s, 0.5s;
    transition-timing-function: ease;
  }
  100% {
    opacity: 0;
    top: -30%;
    left: -30%;
    transition-property: left, top, opacity;
  }
}
/*-------------------end shine ------------*/
/*-------------------dialog------------*/

.dialog_overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    background: #000000;
    opacity: 0.8;
    filter: alpha(opacity=80);
    -moz-opacity: .80;
    z-index: 99;
    display: none;
}

.dialog {
    display: none;
    margin: auto;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    max-height: 90%;
    width: 90%;
    z-index: 100;
    padding-top: 0px;
    border: 1px solid #CCC;
    background-color: #FFF;
    opacity: 0.97;
    overflow: auto;
    border-radius: 3px;
}

/*-------------------end dialog ------------*/
body{
	background-color:#FFF;
}

.n3m {
    color: #666;
    padding: 4px;
    margin: 10px;
    text-align: center;
    border: 0px;
    font-size: 20px;
    font-weight: normal;
    cursor: pointer;
	transition: transform 500ms;
}

.n3m:hover {
transition: transform 50ms;
transform: translateY(-5px);
}


.warn {
    margin: auto;
    position: relative;
    width: 100%;
    padding: 15px;
    color: red;
    background: #F1F1F1;
    overflow: hidden;
    text-align: right;
    font-family: Hacen_Liner_Screen;
    font-size: 22px;
    border-radius: 6px;
    display: block;
    border: 2px solid red;
}

.ok {
    margin: auto;
    position: relative;
    width: 100%;
    padding: 16px;
    color: #FFF;
    background: #91C516;
    overflow: hidden;
    text-align: right;
    font-family: Hacen_Liner_Screen;
    font-size: 22px;
    border-radius: 6px;
    display: block;
    border: 1px solid #BABABA;
}
.menu {
    color: #000;
    padding: 6px;
    margin: 0px;
    float: right;
    text-decoration: none;
    display: block;
    font-size: 18px;
    font-weight: normal;
    width: 100%;
    border: 0px;
    font-family: "Hacen";
}


.footer{
   position: fixed;
   left: 0;
   bottom: 0;
   width: 100%;
   background-color: #EEE;
   color: #777;
   padding:10px;
   text-align: center;
   font-size:13px;
}

/*----------------------  table s ---------------*/
.HacenTable{
	font-family:'Hacen';
	border-collapse: collapse;
    margin: 25px 0;
    font-size: 0.9em;
    font-family: sans-serif;
    min-width: 400px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

.styled-table {
	width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    font-size: 0.9em;
    font-family: sans-serif;
    min-width: 400px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
	page-break-inside:auto
}

.styled-table th,
.styled-table td {
	font-family:'Hacen';
	text-align:right;
    padding: 12px 15px;
	page-break-inside:avoid; page-break-after:auto;
}

.styled-table tbody tr {
    border-bottom: 1px solid #dddddd;
	page-break-inside:avoid; page-break-after:auto;
}

.styled-table tbody tr:last-of-type {
    border-bottom: 2px solid #777;
	page-break-inside:avoid; page-break-after:auto;
}
.styled-table tbody tr.active-row {
    font-weight: bold;
    color: #009879;
	page-break-inside:avoid; page-break-after:auto;
}

/*----------------------  table s ---------------*/

/*----------------  logo transform  ------------------*/
.logo {
    position: relative;
    margin:-60px 0 0 -60px;
    -webkit-animation:spin 5s linear infinite;
    -moz-animation:spin 5s linear infinite;
    animation:spin 5s linear infinite;
}
@-moz-keyframes spin { 
    100% { -moz-transform: rotate(360deg); } 
}
@-webkit-keyframes spin { 
    100% { -webkit-transform: rotate(360deg); } 
}
@keyframes spin { 
    100% { 
        -webkit-transform: rotate(360deg); 
        transform:rotate(360deg); 
    } 
}
/*----------------  end logo transform  --------------*/
/*----------------  box - rippon  --------------*/
.box {
  position: relative;
  border: 1px solid #BBB;
  background: #EEE;
  cursor:pointer;
}
.ribbon {
  position: absolute;
  right: -5px; top: -5px;
  z-index: 1;
  overflow: hidden;
  width: 75px; height: 75px;
  text-align: right;
}
.ribbon span {
  font-size: 20px;
  font-weight: bold;
  color: #FFF;
  text-transform: uppercase;
  text-align: center;
  line-height: 20px;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  width: 100px;
  display: block;
  background: #79A70A;
  background: linear-gradient(#787878 0%, #787878 100%);
  box-shadow: 0 3px 10px -5px rgba(0, 0, 0, 1);
  position: absolute;
  top: 19px; right: -21px;
}
.ribbon span::before {
  content: "";
  position: absolute; left: 0px; top: 100%;
  z-index: -1;
  border-left: 3px solid #787878;
  border-right: 3px solid transparent;
  border-bottom: 3px solid transparent;
  border-top: 3px solid #787878;
}
.ribbon span::after {
  content: "";
  position: absolute; right: 0px; top: 100%;
  z-index: -1;
  border-left: 3px solid transparent;
  border-right: 3px solid #787878;
  border-bottom: 3px solid transparent;
  border-top: 3px solid #787878;
}
/*---------------- end box - rippon  --------------*/
/*------------   Grids   --------------*/

#grid-container {
  display: grid;
  grid-template-columns: auto auto auto;
  grid-gap: 10px;
  padding: 15px;
}

@media screen and (max-width: 600px) {
	#grid-container {
	  display: grid;
	  grid-template-columns: auto;
	  grid-gap: 10px;
	  padding: 5px;
	}
}

#grid-container > div {
  text-align: center;
  font-size: 30px;
  border-radius: 8px;
  border:1px solid #CCC;
  background-color: #FFF;
  font-family:'Hacen';
}

#grid-container2 {
  display: grid;
  grid-template-columns: auto auto auto auto;
  grid-gap: 10px;
  padding: 15px;
}

@media screen and (max-width: 600px) {
	#grid-container2 {
	  display: grid;
	  grid-template-columns: auto;
	  grid-gap: 10px;
	  padding: 5px;
	}
}

#grid-container2 > div {
  text-align: center;
  font-size: 30px;
  border-radius: 8px;
  border:1px solid #CCC;
  background-color: #FFF;
  font-family:'Hacen';
}

/*------------   end grids   --------------*/
/*------------   table x   --------------*/
	.zui-table {
		cursor:pointer;
		border: solid 1px #DDEEEE;
		border-collapse: collapse;
		border-spacing: 0;
		font-family: Arabic;
		font-size: 23px;
		padding:0px;
		margin:0px;
		direction: rtl;
	}
	.zui-table thead th {
		background-color: #DDD;
		border: solid 1px #333;
		color: #A52A2A;
		padding:3px;
		margin:0px;
		text-align: center;
	}

	.zui-table tbody tr {
		height: 10px;;		
	}	
	
	.zui-table tbody td {
		border: solid 1px #CCC;
		color: #333;
		padding:3px;
		margin:0px;
		text-align: center;
		height: 10px;;		
	}
	.zui-table tbody td:hover {
		background-color: #888;
		color: #FFF;
	}
	.zui-table-highlight-all {
		overflow: hidden;
		z-index: 1;
	}
	.zui-table-highlight-all tbody td, .zui-table-highlight-all thead th {
		position: relative;
	}
	.zui-table-highlight-all tbody td:hover::before {
		background-color: #DDD;
		content:'\00a0';
		height: 100%;
		left: -5000px;
		position: absolute;
		top: 0;
		width: 10000px;
		z-index: -1;
	}
	.zui-table-highlight-all tbody td:hover::after {
		background-color: #DDD;
		content:'\00a0';
		height: 10000px;
		left: 0;
		position: absolute;
		top: -5000px;
		width: 100%;
		z-index: -1;
	}
	#mRow {
		background-color: #DDD;
		border: solid 1px #333;
		color: #A52A2A;
		padding:0px;
		margin:0px;
		text-align: center;
	}
/*------------   end table x   --------------*/

.BH:hover {
  background-color: #666;
  color: white;
}

/* --------------  counter ---------------------*/
.counter {
  height: 30px;
  width: 100%;
  border:1px #666 solid;
  border-radius: 0px;
}
.fill{
  background: #D6CB63;
  height: 100%;
  animation-name: countDown;
  animation-timing-function: linear;
  border-radius: 0px;
}
@keyframes countDown {
  from {
    width: 0%;
  }
  to {
    width: 100%;
  }
}
/* --------------  end counter ---------------------*/
/* --------------  stars rating---------------------*/
.rating {
  display: block;
  unicode-bidi: bidi-override;
  text-align: center;
}
.rating .star {
  display: none;
}
.rating label {
  color: #EFEFEF;
  display: inline-block;
  font-size: 24pt;
  cursor:pointer;
  padding:0px;
  margin:0px; 
  transition: transform .15s ease;
}
.rating label:hover {
  transform: scale(1.35, 1.35);
}
.rating label:hover,
.rating label:hover ~ label {
  color: #FAF3B2;
}
.rating .star:checked ~ label {
  color: #FFDD00;
}
/* --------------  end stars rating ---------------------*/
input[type="checkbox"]{
  width: 26px; 
  height: 26px; 
}


input[type="radio"]{
padding:0px;
margin:0px; 
}


/*--------------------------------   snackbar  ---------------*/

#snackbar {
    visibility: hidden;
    min-width: 250px;
    margin-left: -125px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 2px;
    padding: 16px;
    position: fixed;
    z-index: 99;
    left: 50%;
    bottom: 30px;
    font-size: 17px;
}

#snackbar.show {
    visibility: visible;
    -webkit-animation: fadein 0.5s, fadeout 0.5s 6.5s;
    animation: fadein 0.5s, fadeout 0.5s 6.5s;
    z-index: 100;
}

@-webkit-keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }
    to {
        bottom: 30px;
        opacity: 1;
    }
}

@keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }
    to {
        bottom: 30px;
        opacity: 1;
    }
}

@-webkit-keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }
    to {
        bottom: 0;
        opacity: 0;
    }
}

@keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }
    to {
        bottom: 0;
        opacity: 0;
    }
}


/*---------- Calendar  -------------*/
  .weekday {
    color: #777;
    font-size: 16px;
  }

  #calendar {
    -moz-user-select: none;
    border: 1px solid #DDD;
    color: #777;
    font-family: 'Hacen' ;
    font-size: 16px;
	font-weight: bold;
    margin: 2px auto;
    padding: 0em;
    width: 380;
    direction: rtl;
    vertical-align: top;
  }

  #calendar .navigation {
	border: 1px solid #CCC;
	font-family: 'Hacen' ;
    font-weight: normal;
    padding: 1px;
    position: relative;
  }

  #calendar .navigation .title {
    background: none repeat scroll 0 0 transparent;
	font-family: 'Hacen' ;
    font-size: 16px;
    font-weight: normal;
    line-height: 1.6em;
    margin: 0 0.3em;
    text-align: center;
  }

  #calendar table {
    border-collapse: collapse;
    font-weight: normal;
    table-layout: fixed;
    width: 100%;
  }

  #calendar table th {
    border: 0 none;
    font-weight: normal;
    padding: 0.5em 0.5em;
    text-align: center;
  }

  #calendar table td {
    border: 0px none;
    padding: 1px;
  }

  #calendar table td a {
    background-color: #EEE;
    border: 1px solid #888;
    color: #000;
    display: block;
    font-weight: bold;
    opacity: 0.0;
    padding: 0.2em;
    text-align: right;
    text-decoration: none;
  }

  #calendar table td a:hover {
    background-color: #FFEA76;
    border: 1px solid #000;
    color: #FFF;
    opacity: 1;
  }

  .ejz {
    background-color: #FFF;
    opacity: 0.8;
  }

  .ejz:hover {
    opacity: 1;
  }

  #calendar table td.current a {
    font-weight: bolder;
    opacity: 1;
  }

  #calendar table td.ejz a {
    background-color: #FFF;
    border: 1px solid #CCC;
    display: block;
    font-weight: bolder;
    opacity: 1;
    padding: 0.2em;
    text-align: right;
    text-decoration: none;
  }

  #calendar table td.today a {
    border: 1px solid #000;
	background-color: #FFEA76;
    color: red;
    font-weight: bolder;
    opacity: 1;
  }

  #calendar span.gre {
    text-align: left;
    font-size: 13px;
    direction: ltr;
    color: #000;
    float: left;
    padding-top: 10px;

  }
/*---------- End Calendar -------------*/

.rainbow {
  animation: colorRotate .5s  0s infinite;
  font-size: 20px;
}

@keyframes colorRotate {
  from {
    color: #00FF00;
  }
  10% {
    color: #FF0000;
  }
  30% {
    color: #0000FF;
  }
  75% {
    color: #FF0000;
  }
  100% {
    color: #FF0000;
  }
}


.rainbow2 {
 position: relative;
        background: linear-gradient(45deg, red , #0000FF, #333);
		font-size:17px;
        background-repeat: repeat;
        background-size: 80%;
        animation: animate 2s infinite;
        -webkit-background-clip: text;
        -webkit-text-fill-color: rgba(255, 0, 255, 0);
      }
      @keyframes animate {
        0% {
          background-position: 100%;
        }
        100% {
          background-position: -200%;
        }
      }

.wrapper {
    margin: 20px auto;
    width: 300px;
    height: 350px;
    background: white;
    border-radius: 4px;
    border: 1px solid #AAA;
    -webkit-box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 90;
}