@font-face {
    font-family: Khmer OS Battambang;
    src: url(KhmerOSbattambang.ttf);
    }

@font-face {
    font-family: Khmer M2;
    src: url(khmerM2.ttf);
    }

@font-face {
    font-family: digital;
    src: url(DS-DIGI.TTF);
    }

*{
	box-sizing: border-box;
	font-family: Khmer OS Battambang;
	font-size: 14px;
	}
	
:root{
    --main_color: #006994; 
    --highlight:  #e27703;
    }

body{
	height: 100vh; 
	width: 100%; 
	margin: 0px; 
	padding: 0px; 
	display: grid; 
	grid-template-rows: 9% 85% 6%; 
	height: calc(var(--vh, 1vh) * 100);
	}

.nav{
	display: grid; 
	grid-template-columns: 1fr 3fr 1fr; 
	align-content: center; 
	background-color: var(--main_color); 
	border-bottom: 5px orange solid;
	-moz-box-shadow:0 5px 5px rgba(182, 182, 182, 0.75);
	-webkit-box-shadow: 0 5px 5px rgba(182, 182, 182, 0.75);
	box-shadow: 0 5px 5px rgba(182, 182, 182, 0.75);
	padding: 0 20px;
	}

.nav_1{
    display: grid;
    align-content: center; 
	}
	
.nav_1:hover{
    color: orange;
    cursor: pointer;
    }

.logo{
    width: 60px;
    display: grid;
    align-content: center; 
    }

.blink_fast {
    animation: blinker_fast 0.8s linear infinite;
    color: red;
    font-family: Times New Roman;
    }

.blink {
    animation: blinker 1.5s linear infinite;
    color: green;
    font-family: Times New Roman;
    }
    
@keyframes blinker {
    50% {
        opacity: 0;
        }
    }

@keyframes blinker_fast {
    50% {
        opacity: 0;
        }
    }        
#m2{
	font-family: Khmer M2; 
	}

img{
    width: 100%;
}

.pro_thump{
    width: 60px;
    display: grid;
    align-content: center;
    justify-content: center;
}

.patient_profile{
    display: grid;
    grid-template-columns: auto 70px;
}

.med_form{
    display: grid;
    grid-template-columns: 5fr 2fr 1fr;
    gap: 10px;
}

.nav_2{
	display: grid; 
	grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr; 
	align-content: center; 
	}

.nav_21{
	display: grid; 
    align-content: center;
    justify-content: center;
    font-family: Khmer M2;
    color: white;
    font-size: 20px;
	}
	
.nav_2_item{
    display: grid;
    align-content: center; 
    justify-content: center;
	}

.nav_icon{
    display: grid;
    align-content: center; 
    width: 35px;
    cursor: pointer;
}

.nav_icon:hover{
    background-color: orange;
    cursor: pointer;
    border-radius: 50%;
    padding: 10px;
    width: 50px;
    }

.nav_2_item:hover{
	color: var(--main_color); 
	}

.nav_3{
	display: grid; 
	justify-content: right; 
	align-content: center; 
	color: white; 
	}
	
.container{
	padding: 30px;
	display: grid; 
	grid-template-rows: 1fr 10fr; 
	gap: 10px; 
	height: 100%;
	overflow: hidden;
	}

.container_body_modified{
	display: grid; 
	grid-template-rows: 10fr 1fr; 
	overflow: hidden;
	height: 100%;
	gap: 10px; 
	}
	
.container_body_1{
    border: 1px solid black;
    padding: 0;
    margin: 0;
    border-radius: 5px;
    height: 100%;
    overflow-y: auto;
    }

.container_body_1::-webkit-scrollbar {
    display: none;
    } 

.containter_body{
	overflow: auto;
	border: 1px solid black;
	border-radius: 5px;
	}

.containter_body::-webkit-scrollbar {
    display: none;
    } 

.summary{
	margin-top: 20px; 
	padding: 10px; 
	border: 1px orange dashed; 
	border-radius: 5px; 
	}

.container_head{
	background-color: lightgray; 
	border: 1px solid var(--main_color); 
	border-radius: 5px; 
	display: grid; 
	grid-template-columns: 1fr 1fr 1fr; 
	align-content: center; 
	gap: 5px; 
	padding: 5px;  
	}

.container_foot{
	background-color: lightgray; 
	border: 1px solid var(--main_color); 
	border-radius: 5px; 
	display: grid; 
	grid-template-columns: 28% 7% 7% auto 5% 7% 7% 7% 7%; 
	align-content: center; 
	padding: 5px;  
	}
	
.container_head_item_1{
	display: grid;  
	grid-template-columns: 40px auto; 
	align-content: center;  
	gap: 20px; 
	}
	
.container_head_item_11{
    display: grid; 
    justify-content: center;
	}

.container_head_item_12{
	display: grid;  
	align-content: center;
	font-size: 18px;
	color: var(--main_color);
	font-weight: bold;
	}
	
.container_head_item_2{
	display: grid;  
	align-content: center;  
	justify-content: center; 
	font-size: 18px;
	color: var(--main_color);
	}
	
.container_head_item_3{
	display: grid;  
	align-content: center; 
    justify-content: right;
	}
	
.action{
    display: grid;
    grid-template-columns: 1fr 1fr; 
    gap: 5px;
}

.action_1{
    display: grid;
    grid-template-columns: 1fr 2fr 1fr; 
    gap: 5px;
}

/* Slideshow container */
.slideshow-container {
    width: 100%;
    min-width: 500px;
    min-height: 100px;
    position: relative;
    margin: auto;
    }

/* Hide the images by default */
.mySlides {
  display: none;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  width: auto;
  bottom: -50px;
  padding: 16px;
  color: white;
  background-color: rgba(0,0,0,0.5);;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 3px;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
  color: black;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: -50px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}


/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

.graph_wrap{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 5px;
    }
    
.graph_wrap_item{
    border: 1px solid var(--main_color);
    border-radius: 5px;
    color: var(--main_color);
    display: grid;
    align-content: center;
    justify-content: center;
    padding: 5px;
    cursor: pointer;
    font-size: 12px;
    }

.graph_wrap_item:hover{
    background-color: white;
    }

.graph_wrap_item.active{
    background-color: white;
    }
    
.graphcontent{
    display: none;
    height: 100%;
    overflow: hidden;
    }

.search{
	display: grid; 
	grid-template-columns: 85% auto; 
	gap: 5px; 
	}

.search_wrap{
    display: grid;
    grid-template-columns: 4fr 4fr 1fr;
    gap: 10px;
}

.sakura{
    display: grid;
    grid-template-rows: 90% 10%;
    height: 100%;
}

.sakura_1{
    overflow-y: auto; 
    border: 1px solid black;
    border-radius: 4px;
}

.sakura_1::-webkit-scrollbar {
    display: none;
} 

.sakura_1_modified{
    overflow-y: hidden; 
}

.sakura_2{
    display: grid;
    grid-template-columns: 1fr 1fr; 
}

.sakura_21{
    display: grid;
    align-content: end;
}

.sakura_22{
	display: grid;  
	align-content: end; 
    justify-content: right;
}

.footer{
	background-color: black; 
	display: grid; 
	grid-template-columns: 1fr 1fr 1fr;  
	align-content: center; 
	border-top: 5px orange solid; 
	padding: 10px; 
	color: white;
	}
	
.footer_1{
    color: orange;
    display: grid;
    align-content: center;
    font-size: 12px;
	}

.footer_2{
    display: grid;
    align-content: center;
    justify-content: center;
    font-size: 12px;
	}
	
.footer_3{
    display: grid;
    align-content: center;
    text-align: right;
	}
	
.footer_32{
    display: grid;
    align-content: center;
	}
	
.lab_side{
    margin-left: 20px;
    display: grid;
    grid-template-rows: 7% 93%;
    overflow: hidden;
}

.lab_side_2{
    margin-top: 10px;
    overflow-y: scroll;
}  

table{
	width : 100%; 
	table-layout: fixed;
	font-size: 12px;
	}

table, th, td{
	border-collapse: collapse; 
	text-align: left; 
	padding: 10px; 
	}
	
td{
	border-bottom: 1px dashed gray;
	padding: 5px; 
	}

th{
	font-weight: bold; 
	color: var(--main_color); 
	position: sticky;
    top: 0;
    background-color: lightgray;
	}

tr:hover{
	background-color:white; 
	}

#click{
	cursor: pointer; 
	}
	
.new_bt{
    display: grid;
    align-content: center;
    justify-contnet: center;
	width: 100%; 
	height: 40px; 
    font-size: 12px;
    background-color: var(--main_color);
    color: white;
    cursor: pointer;
    text-align: center;
}

.delete_bt{
    display: grid;
    align-content: center;
    justify-contnet: center;
	width: 100%; 
	height: 40px; 
    font-size: 12px;
    background-color: black;
    color: white;
    cursor: pointer;
    text-align: center;
    border-radius: 5px;
}

select{
	width: 100%; 
	height: 40px; 
    outline: none;
    border: 1px solid var(--main_color);
    padding: 5px;
    font-size: 12px;
    border-radius: 5px;
	}

option{
	height: 40px;
	}
	
input{
	width: 100%; 
	height: 40px; 
	-webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
    border: 1px solid var(--main_color);
    padding: 5px;
    font-size: 12px;
    border-radius: 5px;
	}
	
input[type="checkbox"]{
    appearance: none;
    -webkit-appearance: none;
    height: 50px;
    width: 50px;
    cursor: pointer;
    display: grid;
    align-content: center;
    justify-content: center;
}

input[type="checkbox"]:after{
    content: "";
    font-weight: 900;
    font-size: 50px;
    color: white;
    display: none;
}

input[type="checkbox"]:hover{
    background-color: #a5a5a5;
}

input[type="checkbox"]:checked{
    background-color: var(--main_color);
}

input[type="checkbox"]:checked:after{
    display: block;
}

textarea{
    resize: none;
	width: 530px;
	height: 200px; 
	padding: 10px; 
	}
	
#select {
    width: 100%; 
    height: 40px; 
    font-size: 12px;
    padding: 5px;
	}
	
#my_select {
    width: 100%; 
    height: 40px; 
    font-size: 12px;
	}

.modal {
	top: 0; 
	right: 0; 
	display: none; 
	z-index: 1; 
	position: absolute; 
	width: 100%; 
	height: 100%; 
	background-color: rgba(0, 0, 0, 0.85); 
	}

.form_wrap {
	display: grid; 
	height: 100%; 
	align-content: center; 
	justify-content: center; 
	}
	
.sew_wrap {
	display: grid; 
	height: 90%; 
	width: 90%; 
	padding: 30px;
	margin: auto;
	overflow: hidden;
	}

.sew_wrap_modified{
	display: grid; 
	height: 80%; 
	width: 30%; 
	padding: 30px;
	margin: auto;
	overflow: hidden;
	}
	
.hand{
	display: grid;
	width: 700px;
	background-color: lightgray;   
	padding: 20px; 
	gap: 5px; 
	border-radius: 5px; 
	}

.sewing_modified{
    width: 80%;
	background-color: lightgray;   
	border-radius: 5px; 
	display: grid;
	overflow: hidden;
	padding: 20px; 
	margin: auto;
	}

.sewing{
	background-color: lightgray;   
	padding: 20px; 
	gap: 5px; 
	border-radius: 5px; 
	display: grid;
	grid-template-rows: 1fr 9fr;
	overflow: hidden;
	}

.sewing_item{
	display: grid;
	grid-template-columns: 1fr 4fr;
	gap: 10px;
	height: 100%;
	overflow: hidden;
	}

.sewing_item_modified{
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 10px;
	height: 100%;
	} 
	
.sewing_item_1{
	overflow-y: auto;
	}
	
.sewing_item_11{
	border: 2px gray solid; 
	padding: 5px; 
	margin-bottom: 5px;
	cursor: pointer;
	}   

.sewing_item_11:hover{
    border: 2px var(--main_color) solid; 
	background-color: white;
	} 

.sewing_item_11.active{
    border: 2px var(--main_color) solid; 
	background-color: white;
	} 
	
.sew_item_11_head{
    text-align: center;
    text-transform:uppercase; 
    font-size: 16px; 
    font-weight: bold;
    }

.sewing_item_11_modified{
    display: grid;
    grid-template-columns: 3fr 1fr; 
	border: 2px gray solid; 
	padding: 0 30px 5px 5px; 
	margin-bottom: 5px;
	cursor: pointer;
	}  

.sewing_item_11_modified_2{
    display: grid;
    align-content: center;
    justify-content: center;
    height: 100%;
    cursor: pointer;
	}
	
.sewing_item_2{
    border: 2px var(--main_color) solid; 
	overflow-y: auto;
	padding: 0 50px;
	display: grid;
	align-content: center;
	justify-content: center;
	background-color: white;
	height: 100%;
	}

.sewing_item_21{
    display: none; 
	}
	
.test{
	display: grid;
	width: 900px;
	background-color: lightgray;   
	padding: 20px; 
	gap: 5px; 
	border-radius: 5px; 
	}

.hand_item_head{
	display: grid; 
	height: 40px; 
	grid-template-columns: 70% 30%; 
	border-bottom: 2px solid var(--main_color); 
	}

.hand_item_head_modified{
	display: grid; 
	grid-template-columns: 70% 30%; 
	border-bottom: 2px solid var(--main_color); 
	justify-content: center;
	}  
	
.hand_item_head_1{
	font-family: Khmer M2; 
	color: var(--main_color); 
	font-size: 20px; 
	}

.hand_item_head_2{
	text-align: right; 
	color: var(--main_color); 
	}

.hand_item {
	display: grid; 
	grid-template-columns: 120px auto; 
	gap: 10px;
	height: 40px; 
	}

.test_item {
	display: grid; 
	grid-template-columns: 10% 90%; 
	padding: 10px 10px;
	background-color: lightgray;
	}
	
.test_item_1 {
	display: grid; 
	align-content: center;
	color: var(--main_color);
	} 
	
.test_item_2 {
	display: grid; 
	grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
	gap: 5px;
	} 

.test_item_2_item {
	display: grid; 
    grid-template-columns: 35px auto;
	align-content: center; 
	font-family: Times New Roman;
	}
	
.test_item_2_item_2{
	display: grid; 
	align-content: center; 
	background-color: green;
	}

.lab_request{
    display: grid;
    gap: 5px;
}

.rx_item{
    display: grid;
    gap: 5px;
    padding: 10px 0px;
    overflow-y: auto;
	}
	
.rx_row{
    display: grid;
    grid-template-columns: 70% 30%;
    padding: 5px;
	}
	
.rx_row_item{
    text-align: right;
    font-size: 10px;
	}
	
#checkbox{
	height: 20px;
	width: 20px;
	margin: 0; 
	}

.hand_item_textarea {
	display: grid; 
	grid-template-columns: 130px 530px; 
	min-height: 40px; 
	}

.hand_item_3_columns {
	display: grid; 
	grid-template-columns: 120px 1fr 1fr; 
	gap: 10px;
	height: 40px; 
	}
	
.hand_item_4_columns_modified {
	display: grid; 
	grid-template-columns: 120px 1fr 1fr 1fr; 
	gap: 10px;
	height: 40px; 
	}
	
.x{
    display: grid;
    align-content: center;
    justify-content: center;
}

.hand_item_4_columns {
	display: grid; 
	grid-template-columns: 120px 1fr 0.05Fr 1fr; 
	height: 40px; 
	gap: 10px;
	}
	
	
.hand_item_1{
	margin: auto 0px;
	font-size: 13px;
	}


#submit {
	background-color: var(--main_color); 
	border: none;
	cursor: pointer; 
	color: white; 
	}

a{
    text-decoration: none;
	font-family: Khmer OS Battambang;
	font-size: 11px;
	}

#active {color: orange; }

p{
    padding: 0px;
    margin: 0px;
    }
    
.main {
	height: 100%; 
	display: grid; 
	grid-template-columns: 1fr 1fr 1fr 1fr; 
	align-content: center; 
	gap: 20px; 
	}

.main_item {
	height: 200px; 
	border-radius: 5px; 
	display: grid; 
	grid-template-rows: 20% 80%; 
	background-color: var(--main_color);
	}

.main_item_head {
	border-bottom: 1px white solid;
	display: grid; 
	align-content: center;
	justify-content: center; 
	color: white; 
	}

.main_item_body { 
	display: grid; 
	align-content: center;
	justify-content: center; 
	font-size: 40px; 
	}
	
.prescription{
    height: 100%;
    display: grid;
    grid-template-rows: 8% 92%;
    overflow: hidden;
}

.prescription_body{
    margin-top: 10px;
    overflow-y: auto;
}

.prescription_contain{
	display: grid; 
	justify-content: center; 
	padding: 10px; 
	}

.prescription_contain_item{
	display: grid; 
	grid-template-rows: 100px auto 35px; 
	width: 800px;
	padding: 5px; 
	}

.prescription_contain_item_head{
	display: grid;  
	justify-content: center; 
	align-content: center;  
	font-size: 30px;
	}

.prescription_contain_item_footer{
	display: grid; 
	grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
	gap: 5px;  
	}

.prescription_contain_item_footer_item{
	background-color: var(--main_color); 
	border-radius: 5px;
	display: grid; 
	align-content: center; 
	justify-content: center;  
	cursor: pointer; 
	border: 1px gray solid; 
	color: white; 
	}

#newdl {
	padding: 5px; 
	cursor: pointer; 
	background-color: black; 
	border-radius: 3px;  
	font-size: 12px; 
	height: 40px;   
	min-width: 100px;
	color: white;
	border: none;
	}

#newdl:hover {
	background-color: orange; 
	} 
	
#new {
	padding: 5px; 
	cursor: pointer; 
	background-color: var(--main_color); 
	border-radius: 3px;  
	font-size: 14px; 
	height: 40px;   
	min-width: 100px;
	color: white;
	border: none;
	} 
	
#new:hover {
	background-color: orange; 
	} 
	
.work_contain{
    height: 100%;
    display: grid;
	grid-template-columns: 1fr 1fr; 
	padding:30px;
	overflow: hidden;
	gap: 5px;
	}
	
.work_item{
    display: grid;
	gap: 10px;
	}
	
.order_wrap{
    display: grid;
	grid-template-columns: 1fr 1fr; 
	gap: 5px;
	}
	
.patient_contain{
    height: 100%;
    display: grid;
	grid-template-columns: 1fr 4fr; 
	padding:30px;
	overflow: hidden;
	gap: 5px;
	}
	
.general_wrap{
    margin-right: 20px;
}

.patient{
	border: 1px solid var(--main_color);  
	border-radius: 5px;
	display: grid; 
	grid-template-rows: 94% 6%; 
	padding: 5px;
	background-color: white;
	margin-right: 20px;
	overflow: hidden;
	}
	
.patient_top{
    display: grid;
    grid-template-rows: 7% 93%;
    overflow: hidden;
}
	
.barcode{
    margin-top: 20px;
    display: grid;
    align-content: center;
    justify-content: center;
    }
    
.patient_2 {
	display: grid; 
	grid-template-columns: 1fr 1fr 1fr; 
	align-content: center; 
	justify-content: center;  
	gap: 5px;  
	}


.patient_4 {
	display: grid; 
	grid-template-columns: 1fr 1fr 1fr 1fr; 
	align-content: center; 
	justify-content: center;  
	gap: 5px;  
	}
	
.patient_1{
	display: grid; 
	grid-template-columns: 1fr; 
	align-content: center; 
	}	
	
.patient_2_modified{
	display: grid; 
	grid-template-columns: 1fr 1fr; 
	align-content: center; 
	gap: 5px;  
	}
	
.side_foot{
    display: grid;
    align-content: center;
}

.patient_3{
	display: grid; 
	grid-template-columns: 1fr 1fr 1fr 1fr 1fr; 
	align-content: center; 
	gap: 5px;  
	border-top: 1px var(--main_color) solid;
	}
	
.patient_item {
	display: grid; 
	grid-template-columns: 30% 70%; 
	padding: 5px; 
	margin-bottom: 1px; 
	}

.payment{
    background-color: lightgray;
    padding: 5px;
    }

.sub_description{
    color: gray;
    font-size: 10px;
    }

.dropBox{
    display: none; 
    position: absolute; 
    top: 45px; 
    background-color: 
    lightgray; height: 300px; 
    width: 100%; 
    overflow-y: auto; 
    border-radius: 5px; 
    border: 5px solid lightgray;
    }
    
.dropBox::-webkit-scrollbar {
    display: none;
    }
    
.dropBoxItem{
    background-color: white; 
    padding: 5px;
    border: 1px solid white;
    border-radius: 5px; 
    cursor: pointer;
    }

.dropBoxItem:hover{
    border: 1px solid gray;
    }
    
.center{
    display: grid;
    align-content: center;
    justify-content: center;
    }
    
.newbt{
    display: grid;
    align-content: center;
    justify-content: center;
    background-color: var(--main_color);
    border-radius: 5px;
    min-width: 40px;
    color: white;
    padding: 5px;
    cursor: pointer;
    }
   
.newbt:hover{
    background-color: orange;
    }

a {
    all: unset;
    }

a div:hover{
    color: var(--main_color);
    }
.sub_total_item {
	display: grid; 
	grid-template-columns: 1fr 1fr 1fr 1fr; 
	padding: 5px; 
	margin-bottom: 1px; 
	height: 30px; 
	border-bottom: 1px dashed gray;
	}

.total_sum {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    align-content: center;
}

.rx_wrap{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 10px;
}

.dlbt{
    min-width: 30px;
    background-color: black;
    font-size: 10px;
    border: none;
    cursor: pointer;
    color: white;
    padding: 5px;
    border-radius: 5px;
    text-align: center;
    }
    
.dlbt:hover {
    background-color: orange;
    }

#bt{
    min-width: 30px;
    background-color: var(--main_color);
    font-size: 12px;
    border: none;
    cursor: pointer;
    color: white;
    padding: 5px;
    border-radius: 5px;
    text-align: center;
	}

#bt:hover {
	background-color: orange; 
	color: black;
	}

.patient_item_1 {
	display: grid; 
	align-content: center; 
	color: gray; 
	font-size: 12px; 
	}

.patient_item_2 {
	display: grid; 
	align-content: center; 
	}

.patient_side{
	display: grid; 
	grid-template-rows: 7% 93%; 
	overflow: hidden;
	}

#close{
	cursor: pointer; 
	}

#close:hover {
	color: red; 
	}

.case_contain {
	padding: 30px; 
	display: grid; 
	grid-template-rows: 7% 93%; 
	overflow: hidden;
	}
	
.list_contain{
    height: 100%;
	display: grid; 
	grid-template-rows: 7% 93%;
	}
	
.scroll_wrap{
    overflow-y:auto;
    height: 100%;
}

/* Style the buttons inside the tab */
.tab button {
  	background-color: #f1f1f1;
  	border: none;
  	outline: none;
  	cursor: pointer;
	height: 100%; 
	border-top-left-radius: 5px; 
	border-top-right-radius: 5px; 
	width: 150px; 
	margin-right: 5px; 
	}

/* Change background color of buttons on hover */
.tab button:hover {
	background-color: lightgrey;
	}

	/* Create an active/current tablink class */
.tab button.active {
  	background-color: lightgrey;
	color: var(--main_color); 
	}

/* Style the tab content */
.tabcontent {
  	background-color: lightgrey;
  	display: none;
  	padding: 20px;
    overflow-y:hidden;
	}

.general_contain{
	display: grid;
	grid-template-columns:20% 80%; 
	height: 100%;
	}

.general_contain_1{
	border: 1px solid var(--main_color); 
	display: grid;
	grid-template-rows: auto 40px;
	padding: 15px;
	background-color: #E0E0E0;
	border-radius: 5px;
	}

.foot{
    padding: 5px;
    display: grid;
    grid-template-columns: 1fr 1fr; 
}

.foot_2{
    margin-right: 0; 
    margin-left: auto;
}

.home_contain{
    display: grid;
    justify-content: center;
    align-content: center;
}

.home_wrap{
    width: 1000px;
    height: 200px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 30px
}

.display_contain{
    display: grid;
    padding: 30px;
    overflow: hidden;
    height: 100%;
}

.display_wrap{
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    gap: 30px;
    overflow: hidden;
}

.display_item{
    display: grid;
    grid-template-rows: 95% 5%;
    gap: 2px;
    padding: 5px;
    overflow: hidden;
}

.display_item_show{
    display: grid;
    grid-template-columns: 80% 20%;
    gap: 2px;
    border: 1px gray solid;
    padding: 5px;
    margin-bottom: 5px;
    border-radius: 5px;
}

.home_item{
    display: grid;
    grid-template-rows: 80% 20%;
    gap: 2px;
    cursor: pointer;
}

.home_item_1{
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
    background-color: var(--main_color);
    display: grid;
    justify-content: center;
    align-content: center;
}

.display_item_show_2{
    display: grid;
    justify-content: center;
    align-content: center;
}


.display_item_show_2_item{
    display: grid;
    justify-content: center;
    align-content: center;
    background-color: var(--main_color);
    color: white;
    font-size: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
}


.home_icon{
    width: 100px;
}

.home_item_2{
    display: grid;
    justify-content: center;
    align-content: center;
    background-color: orange;
    color: var(--main_color);
}

.display_item_1{
    overflow-y: auto;
}

.display_item_1::-webkit-scrollbar {
    display: none;
} 

.display_item_2{
    display: grid;
    justify-content: center;
    align-content: center;
    color: var(--main_color);
    font-size: 16px;
}

.user_wrap {
	width: 500px; 
	background-color: #E0E0E0; 
	padding: 15px; 
	border-radius: 5px; 
	border: 1px solid var(--main_color); 
	box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
	} 

.general_contain_1_item{
	display: grid; 
	grid-template-columns: 150px auto; 
	padding-bottom: 5px; 
	}

.general_contain_2{
	margin-right: 20px; 
	}

.general_contain_2_1{
	border: 1px dashed var(--main_color); 
	background-color: white; 
	padding: 10px; 
	margin-bottom: 5px;
	}

.general_item_2{
    display: grid;
    justify-content: center;
    align-content: center;
    font-size:22px;
    font-family: Times New Roman;
}

#Prescription{
	display: grid;
	grid-template-columns: 20% 80%; 
	}

.prescription_1_item{
	padding: 20px; 
	display: grid; 
	gap: 5px; 
	border: 2px black solid; 
	}

.edit_container{
	display: grid; 
	justify-content: center; 
	align-content: center; 
	}

.dropdown-wrap{
	display: grid; 
	grid-template-columns: 1fr 4fr;
	gap: 10px;
	}
	
.modified_2{
    text-align: center;
    font-family: Khmer M2;
    font-size: 16px;
    padding: 10px;
    border-bottom: 1px solid var(--main_color);
    color: var(--main_color);
}

.modified_3{
    margin-right: 0;
    margin-left: auto;
}

.dropdown-content{
	position: relative; 
	}

.dropdown-button{
	width: 100%; 
	padding: 10px; 
	background-color: var(--main_color);
	cursor: pointer; 
	text-align: center; 
	color: white; 
	}

.dropdown-content:hover .dropdown-item{
	display: grid; 
	}

.dropdown-item{
	display: none; 
	width: 100%; 
	position: absolute; 
	z-index: 1; 
	background: var(--main_color); 
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
	color: white; 
	}

.dropdown{
	padding: 5px 10px; 
	cursor: pointer; 
	}

.dropdown:hover {
	background: orange; 
	}
	
sup{
    font-size: 10px;
}

.bio{
    display: grid;
    grid-template-columns: 2fr 8fr;
    gap: 20px;
    overflow-y: hidden;
    }

.bio-wrap{
    height: 100%;
    display: grid;
    grid-template-rows: 10% 90%;
    overflow-y: hidden;
    }

.bio_1{
    height: 100%;
    overflow-y: auto;
    } 
    
.bio_2{
    height: 100%;
    overflow-y: auto;
    } 
   
.bio_1_wrap_item{
    border: 1px var(--main_color) solid;  
    background-color: white;
    border-radius: 5px;
    overflow: hidden;
    }

.bio_request{
    border: 1px var(--main_color) solid;  
    background-color: white;
    border-radius: 5px;
    margin-bottom: 5px;
    overflow: hidden;
    }
    
.imaging_wrap{
    display: grid;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
    padding: 5px 0;
    }

.overlay{
    position: absolute; 
    bottom: 0; 
    background-color: rgba(255, 255, 255, 0.7);
    color: #f1f1f1; 
    transition: .5s ease;
    opacity:0;
    color: white;
    font-size: 13px;
    padding: 10px;
    text-align: center;
    width: 100%;
    display: grid;
    grid-template-columns: 70% 30%; 
}

.imaging_wrap:hover .overlay {
    opacity: 1;
}

.bio_1_wrap_item_1{
    background-color: #f1f1f1;
    font-size: 13px;
    display: grid;
    grid-template-columns: 10% 70% 10% 10%;
    padding: 5px;
    align-content: center;
    }

.bio_1_wrap_item_11{
    text-align: center;
    font-size: 12px;
    background-color: #f1f1f1;
    padding: 5px;
    }

.bio_1_wrap_item_12{
    display: grid;
    align-content: center;
    justify-content: center;
    padding: 5px;
    }

.station_bed{
    text-align: center;
    font-size: 20px;
    font-family: Times New Roman;
    }

.bio_1_wrap_item_2{
    display: grid;
    grid-tempalte-columns: 80% 20%; 
    padding: 5px 10px;
    font-size: 13px;
    }

.parameter{
    padding: 10px;
    background-color: #eeeeee; 
    overflow-y: auto;
    }

fieldset {
	border: none; 
	padding: 0;
	margin-bottom: 10px;
	}

.advice-item{
	display: grid; 
	grid-template-columns: 200px auto; 
	}

.invoice{
	display: grid; 
	grid-template-columns: 1fr 1fr 1fr 1fr;
	height: 100%;
	overflow: hidden;
	padding: 30px;
	gap: 30px;
	}

.invoice_head{
	display: grid; 
	grid-template-columns: 80% 20%; 
	border-bottom: 1px gray solid; 
	padding: 10px; 
	}

.invoice_head_item{
	text-align: right;
	}
	
.invoice_head_item_1{
	text-align: center;
	}

.invoice_body{
	padding: 5px; 
	background-color: white; 
	border: 1px var(--main_color) solid;
	border-radius: 5px;
	height: 100%;
	overflow: hidden;
	display: grid;
	grid-template-rows: 7% 86% 7%;
	}
	
.invoice_center{
    overflow-y: auto;
    padding: 10px 0;
}

.labo_side{
    display: grid;
    grid-template-rows: 40% 60%;
}

.invoice_body_item{
	padding: 10px; 
	overflow-y: auto;
	}

.invoice_body_item_last{
    display: grid;
    grid-template-columns: 1fr 1fr; 
    gap: 10px; 
    padding: 0px 10px;
    align-content: center;
    border-top: 1px var(--main_color) solid;
	}
	
.invoice_body_item_last_item{
    text-align: right;
	}

.invoice_imagimg{
	padding-top: 2px;
	display: grid; 
	grid-template-columns: 75% 25%; 
	border-bottom: 1px gray dashed;
	}
.invoice_imagimg_item_1{
    font-size: 12px;
}
.invoice_imagimg_item{
	text-align: right;
	}

.invoice_foot{
	padding: 5px;
	text-align: right;
	background-color: lightgray;
	}

.image_container{
	display: grid; 
	grid-template-columns: 1fr 1fr;
	gap: 30px; 
	padding: 30px; 
	}

.report_side{
	border: 1px solid var(--main_color); 
	display: grid; 
	grid-template-rows: 110px auto 50px;  
	}

.report_head{
	padding: 5px; 
	display: grid; 
	text-align: center; 
	border-bottom: 1px solid var(--main_color); 
	}

.report_head_1{
	font-family: Khmer M2; 
	color: var(--main_color); 
	font-size: 20px; 
	}

.report_body{
	padding: 10px;  
	}

.report_body_2{
	padding: 10px;
	font-size: 18px;   
	}

.report_foot{
	padding: 10px;  
	display: grid; 
	grid-template-columns: 1fr 1fr; 
	}

.report_foot_2{ 
	display: grid; 
	grid-template-columns: 1fr 1fr 1fr; 
	gap: 10px;  
	}

.picture_side{ 
	display: grid; 
	grid-template-rows: 50px auto 50px; 
	border: 1px gray solid;
	}

.picture_side_1{ 
	display: grid; 
	justify-content: center; 
	align-content: center; 
	font-size: 18px; 
	background-color: lightgray; 
	}

.picture_side_2{ 
	display: grid; 
	justify-content: center; 
	align-content: center;  
	}

.picture_side_3{ 
	background-color: lightgray; 
	display: grid;
	align-content: center;
	padding: 0px 5px;
	}
	
.image_form{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
}

.image_form_1{
    display: grid;
}

#file_lable{
    background-color: green;
    display: grid;
    justify-content: center;
    align-content: center;
    cursor: pointer;
}

span{
    font-family: Times New Roman;
}

strong{
    font-family: Consolas;
    font-weight: normal;
}

#en{
    font-family: Times New Roman;
}

.dbtn {
    background-color: var(--main_color);
    color: white;
    padding: 10px;
    font-size: 12px;
    border: none;
    cursor: pointer;
    min-width: 160px;
}

.drop{
    float: right;
    position: relative;
    display: inline-block;
}

.drop-content{
    display: none;
    position: absolute;
    background-color: var(--main_color);
    min-width: 160px;
    overflow: auto;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    right: 0;
    z-index: 1;
}

.drop_1{
    float: right;
    position: relative;
    display: inline-block;
}

.drop-content_1{
    display: none;
    position: absolute;
    background-color: var(--main_color);
    min-width: 160px;
    bottom: 0;
    overflow: auto;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    color: white;
}

.drop-content-item{
  color: white;
  padding: 5px 10px;
}

.drop-content-item:hover {
    background-color: orange;
    cursor: pointer;
}

.show {display: block;}

.sidebar{
    height: 100%;
    width: 0px;
    position: fixed;
    z-index: 1;
    top: 0;
    right: 0;
    background-color: var(--main_color);
    transition: 0.5s;
    overflow:hidden;
    display: grid;
    grid-template-rows: 9% 85% 6%;
}

.sidebar_head{
    display: grid;
    justify-content: right;
    align-content: center;
    border-bottom: 5px orange solid;
    cursor: pointer;
    font-size: 50px;
    padding: 0 20px;
}


.sidebar_body{
    overflow-y: auto;
}

.sidebar_body::-webkit-scrollbar {
    display: none;
} 

#cross{
    font-size: 30px;
    color: white;
}

#cross:hover{
    color: orange;
}

.sidebar_item{
    display: grid;
    grid-template-columns: auto 30px;
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px white solid;
}

.sidebar_item:hover{
    background-color: orange;
    color: #2980B9;
}

.sidebar_item_1{
    display: grid;
    align-content: center;
    font-size: 14px;
    color: white;
}

.sidebar_item_2{
    display: grid;
    align-content: center;
}

.sidebar_foot{
    border-top: 5px orange solid;
    background-color: black;
    color: white;
    display: grid;
    justify-content: right;
    align-content: center;
    padding: 0 20px;
}

#closeSidebar{
    cursor: pointer;
}

#openSidebar{
    font-weight: bold;
    font-size: 50px;
    cursor: pointer;
}

#openSidebar:hover{
    color: orange;
}

.construction{
    width: 250px;
}

.under_construction{
    text-align: center;
    background-color: orange;
    padding: 10px;
    border-radius: 5px;
    font-size: 12px;
    color: white;
}

.construction_head{
    font-family: Khmer M2;
    border-bottom: 1px white solid;
    font-size: 20px;
    padding-bottom: 5px;
    margin-bottom: 5px;
}

.flow{
    display: grid;
    gap: 5px;
    grid-template-columns: 1fr 1fr 1fr;
}

@media only screen and (max-width: 1800px) {
    *{
        font-size: 13px;
    }
    
    .nav{
	    border-top: 1px orange solid;
	    border-bottom: 1px orange solid;
	}
	
    body {
        grid-template-rows: 10% 85% 5%;
    }
    
    .home_wrap{
        width: 550px;
        height: 300px;
        gap: 30px
    }
	
	.home_icon{
        width: 70px;
    }
    
    .logo{
        width: 40px;
    }
    
    .sidebar{
        grid-template-rows: 10% 85% 5%;
    }
      
    .sidebar_head{
	    border-top: 1px orange solid;
	    border-bottom: 1px orange solid;
    }
    
  .container{
        padding: 20px;
	    grid-template-rows: 11% 89%; 
	}
    #new {
    	min-width: 70px;
    	}
	.rx_wrap{
	    grid-template-columns: 1fr 1fr 1fr 1fr;
	}
	
	fieldset {
	    margin-top: 5px; 
	    padding-bottom: 0px; 
	}
	
	table, th, td{
	    padding: 8px; 
	    font-size: 12px;
	}
	.invoice{
    	padding: 20px;
    	gap: 10px;
	}
	.case_contain{
	    padding: 20px
	}
	
	.patient_contain{
	    height: 100%;
	    padding: 20px;
	    display: grid;
	    grid-template-columns: 1fr 4fr;
	    gap: 20px;
	}
	
	.lab_side{
        grid-template-rows: 10% 90%;
    }
	.patient_item {
	    height: 30px; 
	}
	
	.tabcontent {
  	    padding: 15px;
	}
	
	.test_item{
	    grid-template-columns: 20% 80%;
	}
	
	.test_item_2 {
    	grid-template-columns: 1fr 1fr 1fr 1fr;
    	} 
}

@media only screen and (max-width: 900px) {
    *{
        font-size: 8px;
    }
    
    .body{
        min-height: -moz-available; /* WebKit-based browsers will ignore this. */
        min-height: -webkit-fill-available; /* Mozilla-based browsers will ignore this. */
        min-height: fill-available;
    }
    
    .nav{
	    border-top: 1px orange solid;
	    border-bottom: 1px orange solid;
	    grid-template-columns: 40px auto 40px;
	    padding-left: 5px;
	    padding-right: 5px;
	}
	
	.nav_icon{
        width: 30px;
    }
    
	.home_wrap{
        width: 300px;
        height: 400px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 30px
    }
	
	.home_icon{
        width: 50px;
    }
    
    .general_contain{
    	display: block;
    	height: 100%;
    	}
    	
	.general_contain_2{
	    display: grid;
	    grid-template-columns: 1fr 1fr;
	    gap: 5px;
    	margin-right: 0; 
    	}
    
    .invoice{
    	display: grid; 
    	grid-template-columns: 1fr 1fr;
    	padding: 10px;
    	gap: 10px;
    	}
    
    .modified_2{
        font-size: 10px;
        padding: 5px;
    }
    	
    body {
        grid-template-rows: 10% 85% 5%;
    }
    
    .tab button {
    	width: 40px; 
    	}
    	
    .sidebar{
        grid-template-rows: 10% 85% 5%;
    }
  
    .container{
        padding: 10px;
	    grid-template-rows: 11% 89%; 
	}
	
	.rx_wrap{
        display: grid;
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    table, th, td{
        font-size: 8px;
    	padding: 3px;
	}
	
	tr:nth-child(even) {
        background-color: white;
    }
    
    td{
	border-top: 0px;
	}
	
	fieldset{
	    padding: 3px;
	}
	
	span{
	    font-size: 8px;
	}
	
	.bio_1_wrap_item{
        margin-bottom: 10px;    
        }
    
	.case_contain{
	    padding: 10px
	    grid-template-rows: 10% 90%; 
	}
	
	.patient_contain{
	    height: 100%;
	    display: grid;
	    grid-template-columns: 1fr;
	     grid-template-rows: 220px auto;
	     gap: 5px;
	}
	
	.patient{
    	margin-right:0;
    	margin-bottom: 10px;
    	}

	.patient-side{
    	height: 100%;
    	}
    	
	.patient_item {
	    height: 20px; 
	}
	
    .patient_item_1 {
    	font-size: 8px; 
    	}
	
	.patient_item_2 {
    	font-size: 8px; 
    	}
	
	.tabcontent {
  	    padding: 5px;
	}
	
	.divider{
	    display: grid;
	    grid-template-columns: 1fr 1fr 1fr;
	    gap: 10px;
	    overflow: hidden;
	}
	
	.test_item {
    	display: block; 
    	padding:10px;
    	background-color: lightgray;
    	}
    	
    .test_item_1 {
    	display: block;
    	padding-bottom: 10px;
    	} 
    	
    .test_item_2 {
    	display: grid; 
    	grid-template-columns: 1fr 1fr;
    	gap: 10px;
    	} 
    
    .test_item_2_item {
    	display: grid; 
    	grid-template-columns: 25px auto;
    	align-content: center; 
    	font-family: Times New Roman;
    	}
    	
    .sewing_item{
    	display: grid;
    	grid-template-columns: 1fr;
    	grid-template-rows: 1fr 2fr;
    	gap: 10px;
    	overflow: hidden;
    	}
    
    .sewing_item_1{
        display: grid;
        grid-template-columns: 1fr 1fr;
    	overflow-y: auto;
    	}   
    	
	.footer{
	    border-top: 1px orange solid; 
    	grid-template-columns: 1fr 1fr;  
    	}
    	
    .hand{
	    width: 350px;
	    padding: 10px; 
	}
	
	.hand_item {
    	display: grid; 
    	grid-template-columns: 20% 80%; 
    	gap: 0;
    	height: 40px; 
	}
	
	.hand_item_textarea {
    	display: grid; 
    	grid-template-columns: 20% 80%; 
    	min-height: 40px; 
	}
	
	textarea{
        resize: none;
    	width: 100%;
    	}
	
	.hand_item_1{
    	margin: auto 0;
    	font-size: 8px;
    	}
    	
	.hand_item_head_1{
	    font-size: 14px; 
	}
	
	.hand_item_head{
        padding: 0px 5px;
	}
	
	.hand_item_3_columns {
    	grid-template-columns: 20% 40% 40%; 
    	gap: 0;
    	}
    	
    .footer_1{
        font-size: 9px;
    }
    
    .footer_2{
        display: none;
    }
    
    .general_contain_1{
    	display: grid;
    	grid-template-rows: 90% 10%;
    	margin-top: 5px;
    	padding: 5px;
    	height: 80%;
    	}
    	
    .general_item_2{
        font-size: 18px;
    }
    
    .dlbt{
	    padding: 5px;
	    min-width: 10px;
	    font-size: 6px;
	}
	
    #bt{
	    padding: 5px;
	    min-width: 10px;
	    font-size: 6px;
	}
	
	.foot{
        grid-template-columns: 60% 40%; 
    }
}