@import url('https://fonts.googleapis.com/css2?family=Amiri&display=swap');
@media  (min-width: 0px) and (max-width: 600px) {
	.contain_blocks{padding: 0;}
    .blocks div img{ height:50px;} 
    .blocks div  h2{ font-size:10pt; }
    .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) {
    .blocks{width: 40% !important;}
    .dh2 ,.info_user_right{
         position: fixed;
         width:0px;
         height: 0px;
         visibility: hidden;
        
    }
}
@media (min-width: 768px) and (max-width: 1300px) {
    .blocks div img{ height:70px;} 
    .blocks div  h2{ font-size:13pt; }
}

/*------------------------------------------------*/
: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);
}

 /*----------------------------------------------------*/       
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;
}
*/

.contain_blocks{
	padding:15px 10px 10px 10px !important;
}

.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;
}



   
     

/*-----------------------------------*/


.simpledate input[type="date"]::-webkit-inner-spin-button,.simpledate 
input[type="date"]::-webkit-calendar-picker-indicator {
    display: none;
    -webkit-appearance: none;
}

.w3-sidebar .a_click{
       color: white;
       background: rgba(66,192,22,1.00);       
}  
/*-------ثبات أعمدة الجدول------------*/

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

/*----------------------------------------------------------------------------------*/

    .w3-sidebar {
		position: absolute;
		display: inline-block ;
        right: 0;
        left: auto;
        height: 100vh;
        overflow-y: auto;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
        background: linear-gradient(to bottom, #4CAF50, #81C784) !important;
    }
    
    .w3-sidebar:hover {
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.2);
    }
    
    .w3-sidebar .w3-bar-item {
		padding: 6px 0px;
		display: block;
        border-radius: 4px;
        margin: 1px 3px;
        transition: all 0.3s ease;
        text-align: right;
		font-size: 11pt;
        font-weight: 520;
        color: white !important;
        border-left: 3px solid transparent;
		width:100%;
		text-decoration: none;
		cursor:pointer;
    }
    
    .w3-sidebar .w3-bar-item:hover {
        background-color: rgba(255, 255, 255, 0.2) !important;
        transform: translateX(-3px);
        border-left: 5px solid white ;
		width:auto;
		
    }
    
    .w3-sidebar .nav.active {
        background-color: rgba(255, 255, 255, 0.3) !important;
        font-weight: bold;
    }
    
    /* زر القائمة العائمة */
    .floating-menu-btn {
        display: none;
        position: fixed;
        bottom: 20px;
        right: 20px;
        z-index: 99;
        background-color: #4CAF50;
        color: white;
        border: none;
        border-radius: 50%;
        width: 50px;
        height: 50px;
        font-size: 20px;
        cursor: pointer;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        transition: all 0.3s;
    }
    
    .floating-menu-btn:hover {
        background-color: #45a049;
        transform: scale(1.1);
    }
    
    /* تأثيرات للعناوين */
    .sidebar-title {
        padding: 15px;
        text-align: center;
        background-color: rgba(0, 0, 0, 0.1);
        margin-bottom: 10px;
        color: white;
        font-weight: bold;
        font-size: 1.2em;
    }
    



.w3-sidebar .hr-with-label {
  position: relative;
  text-align: center;
  margin: 10px 0;
}

.w3-sidebar .hr-with-label hr {
  border: 0;
  height: 1px;
  background: #ccc;
}

.w3-sidebar .hr-with-label .label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin-top: -3px;    
  background: #A3DC9A;
  width: 100%;
  padding: 0 3px;
  color: #3E5F44;
  font-size: 10pt;
  font-weight: 600;
}


