@import url('https://fonts.googleapis.com/css2?family=Amiri&display=swap');
@media  (min-width: 0px) and (max-width: 600px) {
    .dcall{margin-top: 90px !important;}
    .dh1 h3{
        font-size:9pt !important; 
    }
    .logout_left a,.footer{
        float: left ;
        font-size: 10pt !important;
        font-weight: bold !important;
        line-height: 25px;
        
    }
    .logout_left img{
        width: 15px;
    }
    .nav{
          font-size: 7pt !important; 
          padding-left: 0pt !important;
          padding-right: 0pt !important;  
    }
    

}
@media  (min-width: 0px) and (max-width: 1000px) {
    
    .dh2 ,.info_user_right{
         position: fixed;
         width:0px;
         height: 0px;
         visibility: hidden;
        
    }
}

/*------------------------------------------------*/
:root {
            --primary-color: #4e73df;
            --secondary-color: #2e59d9;
            --hover-color: #224abe;
            --text-color: #5a5c69;
            --light-bg: #f8f9fc;
            --card-bg: #ffffff;
            --shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
            --transition: all 0.3s ease;
            --border-radius: 0.35rem;
        }


        * {
            font-family: 'Almarai', sans-serif;
        }

        .contain_blocks {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 25px;
            max-width: 1400px;
            margin: 0 auto;
            padding: 20px;
        }
        
        .blocks {
            position: relative;
			display: inline-block;
			cursor: pointer;
            width: 220px;
            height: 150px;
            background: var(--card-bg);
            border-radius: var(--border-radius);
            box-shadow: var(--shadow);
            transition: var(--transition);
            
            border-left: 4px solid var(--primary-color);
			
		
			
			
        }
        
        .blocks[disabled="enabled"]:hover {
            transform: translateY(-5px);
            box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.2);
            border-left-color: var(--hover-color);
        }
        
        .blocks[disabled="enabled"]:active {
            transform: scale(0.98);
        }
        
        .blocks a {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            height: 100%;
            text-decoration: none;
            color: var(--text-color);
            padding-top: 40px;
            position: relative;
        }
        
        .blocks img {
            position: absolute;
            top: 20px;
            left: 50%;
            transform: translateX(-50%);
            height: 60px;
            width: auto;
            max-width: 80px;
            object-fit: contain;
            transition: var(--transition);
        }
        
        .blocks[disabled="enabled"]:hover img {
            transform: translateX(-50%) scale(1.1);
        }
        
        .blocks h2{
            font-size: 14pt;
            font-weight: 700;
            text-align: center;
            margin-top: 10px;
            padding: 5px 10px;
            border-radius: 20px;
            transition: var(--transition);
            width: 90%;
        }
        
        .blocks[disabled="enabled"]:hover h2 {
            background: linear-gradient(to right, #f8f9fc, #e9ecef);
            color: var(--hover-color);
        }
        
        .blocks[disabled="disabled"] {
            opacity: 0.5;
            filter: grayscale(80%);
            pointer-events: none;
        }

		.blocks_hidden { 
		/* position: fixed;*/
		 width:0px !important;
		 height: 0px !important;
		 display: none !important;
		}

 /*-------------------------------------------------*/       
.blockList {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
	
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    list-style: none;
    padding: 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-right: 0; /* إزالة المسافة البادئة */	
}

.blocks:hover .blockList {
    opacity: 1;
    visibility: visible;
}

.blocks:hover > div {
    opacity: 0;
}

.blockList li {
    width: 100%;
	margin-top: -20px;
    text-align: center;
    
	
}
.blockList li ul li{
	padding: 10px 0 10px 0;	
}
.blockList li ul{
	list-style: none;
	padding-right: 0;
}

.blockList li a {
    display: block;
    padding: 8px 15px;
    color: #2e59d9;
    text-decoration: none;
    font-family: 'Almarai', sans-serif;
    font-size: 12pt;
    transition: all 0.2s ease;
    font-weight: bold;
}

.blockList li a:hover {
    background-color: rgba(78, 115, 223, 0.1);
    color: #224abe;
}

/* تأثيرات عند التمرير */
.blocks:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

 /*----------------------------------------------------*/       
        /* Responsive Design */
        @media (max-width: 1200px) {
            .blocks {
                width: 200px;
                height: 140px;
            }
        }
        
        @media (max-width: 992px) {
            .blocks {
                width: 180px;
                height: 130px;
            }
            
            .blocks h2 {
                font-size: 13pt;
            }
        }
        
        @media (max-width: 768px) {
            .contain_blocks {
                gap: 15px;
            }
            
            .blocks {
                width: 160px;
                height: 120px;
            }
            
            .blocks img {
                height: 50px;
                top: 15px;
            }
            
            .blocks h2 {
                font-size: 12pt;
            }
        }
        
        @media (max-width: 576px) {
            .blocks {
                width: 140px;
                height: 110px;
            }
            
            .blocks h2 {
                font-size: 11pt;
            }
        }

/*------------------------------------------------*/
html {direction: rtl;}
.title_header{
    font-size: 16pt;
    font-weight: bold;
    color:blue;
    text-shadow: 2px 1px 3px rgba(28,110,164,0.91);
    
}
body {
/*	 padding: 0px;*/
	 margin: 0px;
	font-family: 'Amiri', serif;
	
	

}
.body_login:not(.box_pasword){
	width: 100%;
	height: 100%;
	background-image: url('image/background_index.jpg');
	background-color:#7A695C;
	background-size: 100% 100%;
	filter: blur(10px);
	
/*		filter: hue-rotate(50deg);*/
		
		
	
}
/*  index page --loge in--------------------------------------*/
.logeuser {
 line-height: 30px;    
 position: absolute;
 height: 200px;
 width: 350px;    
 left: 50%;
 top:40%;
 transform:translate(-50%,-50%);
}
.logeuser div {

/* display: block;*/
  position: absolute;
  top:0px;
  left:0px;    
  width:100%;
  height: 100%;    
  padding: 10px;
-webkit-box-shadow: 6px 9px 13px -3px rgba(0,0,0,0.77);
-moz-box-shadow: 6px 9px 13px -3px rgba(0,0,0,0.77);
box-shadow: 6px 9px 13px -3px rgba(0,0,0,0.77);  
background:#99CC33;     
    
    
    
}
/*---------------------------------------------------*/
.txtlink {
padding-right: 10px;
padding-left: 10px;
    

}
.dcall {
    position: relative;
    margin-top: 120px !important;

	
}

.do_title {
  width: calc(100% - 10px);
  height: auto !important;
  position:absolute !important;
  text-align: right; 
  display: block;
  overflow-y: visible;
  padding: 10px 10px 10px 0; 
  font-size: 12pt;
  
  line-height: 2; 
  
}


.dcall_sp{
    position: relative;
    width: 100%;
    display: block;    
}
.dcleft {
    position: absolute;
    float: right;
    margin-right: 10%;
    width: 90%;
    height: 100%;
    text-align: center;
 }
.dcleft_sp {
    position: absolute;
    float: right;
    width: 100%;
    text-align: center;
 }

/*
.dcleft:hover {
    overflow-y:auto;
}
*/



.dcright {
    position: absolute;
    float: right;
    width: 10%;
    height: 100% !important;
    text-align: center;
    border-left:  2px solid #92E2F1;
    padding: 0px;
    margin: 0px;
}

.allclass{
	position: absolute;
	width: 100%;
    height: 100% !important;
    margin: 0px;
    padding: 0 ;
	overflow-y: visible !important;
	
    
    
}
.dcright a:link{
    text-decoration: none; 
    font-size: 12pt;
    font-weight:normal;
}

 .cname {  /*لمحاذات عمود الأسماء في الجدول*/
 text-align: right;
}  
 .lname {  /*لمحاذات عمود الأسماء في الجدول*/
 text-align: left;
}  
.checked-class  {   
    background-color:#ABE2F3;
    border-radius: 5px; 
}

div.title_table{
    border: 1px solid #1C6EA4;
    border-radius: 6px;
    padding:  10px;
    margin-top: 10px;
    width: calc(100% - 30px);
    display:block;
    vertical-align: text-top;
    line-height: normal;
}

table.big_head th {
/*  font-size: 14px;*/
  font-weight: black;
  color: blue;  
  background: #FFFF79;
  border: 1px solid #444444;
  text-align: center;
  vertical-align: middle;
  height: 20px;
}




.screen_center {
  left: 50%;    
  width: 600px;
  height: inherit;
  margin-top: 10px;
  position: absolute;
  transform: translateX(-50%);
  text-align: right; 
  display: block;
  padding:   10px 0px 10px 0px;
  font-size: 14pt;
  font-weight: bold;
  line-height: 1.5; 
  overflow-y: auto;      
  background: #F2F8E0;
  -webkit-box-shadow: 0px 0px 4px 5px rgba(0,0,0,0.24); 
  box-shadow: 0px 0px 2px 3px rgba(0,0,0,0.24); 
    
  
}
.inside_center{
/*   background: rgba(198,42,45,1.00); */
     padding:   0px 10px 0px 10px; 
}
.submit_search {
    padding: 0 5px 0 0 !important;
    text-align: right !important;
    background-image:url("icons/search.png") !important ;
}

div.divtable{
    border: 1px solid #1C6EA4;
    border-radius: 6px;
    padding: 10px;
    width: calc(100% - 30px);   
}
.footer_msg {
	display: inline-block;
    text-align: center;
    font-weight: bold;
	font-size: 12pt;
	color:#660000;
    text-shadow: 3px 2px 5px #B9B29A;
}


 .dnav a{
          padding: 8px 8px 8px 32px;
          text-decoration: none;
          font-size: 15px;
          color: black;
          display: block;
          transition: 0.3s;  
         font-family: 'El Messiri', sans-serif;
         cursor:pointer;
     }
 .dnav a:hover {
      color: white;
      background:rgba(177,184,40,1.00) ;
    }    
     
@media screen and (max-height: 450px) {
  .dnav {padding-top: 15px;}
  .dnav a {font-size: 18px;}
} 
/*-----------------------------------*/


.simpledate input[type="date"]::-webkit-inner-spin-button,.simpledate 
input[type="date"]::-webkit-calendar-picker-indicator {
    display: none;
    -webkit-appearance: none;
}
.w3-sidebar a{
    font-weight: bold;
    font-family: 'Cairo', sans-serif;
    text-align: center;
}
.w3-sidebar .a_click{
       color: white;
       background: rgba(66,192,22,1.00);       
}  
/*-------ثبات أعمدة الجدول------------*/

/*--------------------لعمل عدم تفعيل الأداة مع استخدامها في submit-------*/
.lock{     
    pointer-events: none;
    cursor: none;
}
