/*  #526573;*/

body{
	font-family:verdana,"Khmer", "Kh system", "Khmer OS", "Kh Content", "Font Awesome 5 Free Solid", "Font Awesome 5 Free Regular";
    padding: 0;
    margin: 0;
    font-size: 14px;
	user-select: none;
}
*{

}
a {
    text-decoration: none;
	cursor: pointer;
}
li{
	list-style:none;
}
.left{
	float:left;
}
a.show {
	padding: 10px;
	font-size:20px;
	/*background:#526573;*/

}

.main{
	position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
	display: grid;
	grid-template-columns: 250px auto;
}
.main .left{
	background-color: #7c9d81;
}

.loadingBg{
	position:absolute;
	width:100%;
	top:0;
	left:0;
	background-color:#000;
	z-index:9990;
	display:none;
	opacity: 0;
}

.loading{
	width:180px;
	height:55px;
	position:absolute;
	border:2px solid #657d69;
	background:#fff url(images/loading.gif) no-repeat center center;
	background-size: 55px;
	z-index:9999;
	display:none;
	text-align:center;
	padding-top:10px;
	font-weight:600;
	border-radius: 5px;
	color:#657d69;
}
#left{
    color: #FFF;
    width: 250px;
    background: #657d69;
    text-align: center;
}

#rigth{
	display: grid;
	grid-template-rows: 50px auto;
	
}

#rigth, #content{
	height: 100%;
	overflow: hidden;
}
.content{
	overflow: hidden;
	background-color: #fff;
}
.content .form{
	height: calc(100% - 2px);
	
}
#left .logo{
	background:#4b4b4b;
	overflow:hidden;
	text-align:left;
	margin-bottom: 10px;
}
#header{
    overflow: hidden;
    height: 50px;
	line-height: 50px;
    color: #fff;
    background: #404040;
    padding:0;
	display: flex;
}
#header .space{
	flex: 1;
}

#line{
	line-height: 3px;
	height: 3px;
	background: #000;
	opacity: .3;
	margin: 0;
}
#content{
    overflow: auto;
	background-color: #f8f8f8;
	padding-left: 10px;
	padding-right: 10px;
	display: grid;
	grid-template-rows: 50px 1fr 40px;
}
#form{
	padding:10px;
}

#form, #list{
	overflow:auto;

}

#toolbar{
    height: 30px;
    padding: 5px 0;
    text-align:right;
	padding: 10px 0;
	position: relative;
	display: flex;
}
.space {
	flex: 1;
}
#toolbar button{
	background-color: #657d69;
	padding: 0 10px;
}
#toolbar button span{
	padding: 0;
	line-height: 29px;
	padding-left: 5px;
	background: none;
	font-weight: 600;
}

#toolbar button:hover{
	background-color: #7c9d81;
}
#toolbar button svg{
	vertical-align: middle;
	width: 16px;
	height: 14px;
	padding-bottom: 4px;
}

.param {
	display: none;
}


button{
    border-collapse: collapse;
    border: 1px solid #999;
    margin-left: 5px;
    padding: 0;
    outline: none;
    background: #f5f5f5;
    line-height: 22px;
    cursor: pointer;
    font-family: verdana,"Khmer", "Kh system", "Khmer OS", "Kh Content";
}
button:hover{
    background: #f8f8f8;
    border-color: #444;

}

button span{
   	background: #657d69;
    padding:  0 10px 2px 10px;
    display: inline-block;
    line-height: 25px;
    cursor: pointer;
	color: #fff;
	font-size: 13px;
}
button .edit{
    background-position: 0  -40px;
}
button .delete{
    background-position: 0 -60px;
}
button .search{
    background-position: 0 -80px;
}
button .export{
    background-position: 0 -240px;
}

button .more{
    padding-left: 5px;
    padding-right: 20px;
     background-position: 35px -200px;
}
button.active{
    background: #f8f8f8;
    border-color: #444;
}

button:hover .add{
    background-position: 0  -120px;
}
button:hover .edit{
    background-position: 0  -140px;
}
button:hover  .delete{
    background-position: 0 -160px;
}
button:hover .search{
    background-position: 0 -180px;
}
button:hover .more{
    background-position: 35px -220px;
}
button:hover .export{
    background-position: 0px -260px;
}
#header button .search{
    background: #f3f3f4 url("../images/icon.png")no-repeat 4px -80px;
    line-height: 22px;
    display: inline-block;
    padding: 0 12px;
}
#header button:hover .search{
    background-position: 4px -180px;
}
.qSearch{
	display: flex;
    background-color: #657d69;
    border: 1px solid #657d69;
}
.qSearch >span{
	padding: 5px;
	cursor: pointer;
}
.searchText{

}

.nav-header{
	overflow:hidden;
	min-height:30px;
	text-align:right;
	float: right;
}

.nav-header ul{
	text-decoration:none;
	text-align:right;
	padding:0;
	margin:0;
	float:right;

}
.nav-header ul li{
	float:left;

}
.nav-header ul li:hover{
	background: #696969;
}
.nav-header ul li a{
	display:block;
	padding: 5px 15px;

	text-decoration:none;
	line-height:21px;
    white-space: nowrap;
}

.nav-header ul li a label{
	display:block;
	cursor:pointer;
}
.nav-header ul li a.nav{
	font-size: 20px;
	color: #fff;
	line-height: 30px;
	padding:0;
	position:relative;
}
.nav-header ul li a.nav label{
	position:absolute;
	top: -5px;
	right: -5px;
	background:red;
	color:#fff;
	padding:2px;
	z-index:100;
	height:9px;
	line-height:9px;
	font-size:10px;
	font-weight:600;

}

.nav-header ul li.user a.nav, .nav-header a.nav{
	font-size: 20px;
	color: #fff;
	line-height: 50px;
	height: 50px;
	padding: 0px 20px;
}
.nav-header ul li.user a.active{
	background: #696969;
}
.nav-header a.nav{
	display: block;
}
.nav-header a.nav:hover{
	background: #696969;
}

 ul li div.drop-smg{
	position:absolute;
	color:#666;
	top:50px;
	right:0;
	z-index:100;
	width: 300px;
	border: 1px solid #ddd;
	display:none;
	padding: 5px 0;
	text-align:left;
	box-shadow: 2px 2px 2px 2px #e7e7e7;
	border-radius: 3px;
	background:#fff;
}
ul li div.drop-smg a{
	border-bottom: 1px solid #ddd;
	color:#666;
}
.hhide{
    display: none;
}
ul.button{
    list-style: none;
    display: inline-block;
    position: relative;
    padding-top: 1px;
}
ul.button a.nav{
    font-size: 12px;
    display: inline-block;
    border: 1px solid #999;
    padding: 1px 20px 3px 10px;
    height: 21px;
    line-height: 21px;
    background: #f5f5f5 url("../images/icon.png") no-repeat 40px -197px;

}
ul.button a.nav:hover{
    background: #f8f8f8 url("../images/icon.png")no-repeat 40px -217px;
    border-color: #444;
}
ul.button  div.drop-smg{
    top: 30px;
    left: 0;
}
ul.button  div.drop-smg a{
    display: block;
    padding: 5px ;
}
div.drop-smg a:hover{
    background: #4C7EBB;
    color: #fff;
}
/* Menu left side bar */
.menu{

	width:250px;
	float:left;

	border-right:none;
	overflow:auto;
	font-weight: 600;
	text-align: left;
}
.menu ul ul{
	display:none;
}
.menu ul{
	margin:0;
	padding:0;
}
.menu a:before{

}
.menu a {
	color:#fff;
	text-decoration:none;
	padding: 3px 10px 3px 10px;
	display:block;
	font-size:14px;
	cursor: pointer;

	position:relative;
	line-height:27px;
}
.menu a.active{
    background: #7c9d81;
}
.menu a span{
	font-size:14px;
	padding-left: 5px;
}
.menu li li a{
	padding-left:30px;
}
.menu li li li a{
	padding-left:50px;
}
.menu a.active{
	color:#fff;
}
.menu a:hover{
	color:#fff;
	background:#7e908c;
}
/* drop down menu*/
.drop-menu{
	white-space:nowrap;
	width:50px;
	border-right:none;
	overflow:auto;
	font-weight: 600;
	text-align: left;
	position: relative;
    display: inline-block;

}
.drop-menu:hover {
	min-width: 390px;
}
.drop-menu li{
	position: relative;
	list-style:none;
}

.drop-menu a {
	color:#fff;
	text-decoration:none;
	padding: 3px 15px 3px 15px;
	display: block;
	font-size:14px;


	position:relative;
	line-height:25px;
}
.drop-menu a:hover{
	color:#fff;
	background:#7c9d81;
}
.drop-menu li.title a{
	background:#657d69;
	color: #fff;
}
.drop-menu li ul a{
	color: #657d69;
	background: #fff;
}

.drop-menu ul ul{
	display: none;
    position: absolute;

    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 999;
    top:0;
    left: 45px;
	height:auto;
}
.drop-menu ul ul ul{
	left: 100%;
	min-width: 160px;
}


.drop-menu li:hover > ul{
	display:block;
}
.drop-menu ul ul a span{
	display:inline-block;
	padding-left: 5px;
}


/* end */



.img-yes, .img-no {
    background: url(../images/yes-no16.png) 0 0 no-repeat;
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-top: 3px;
    cursor: pointer;
}
.img-no {
    background-position: 0 -16px;
}

table.list{
    border: 1px solid #444;
    border-collapse: collapse;
    width: 100%;
}
table.list td{
    border-top: 1px solid #444;
}
table.list th, table.list td{
    border-left: 1px solid #444;
    padding: 2px 5px;
}
table.list td:first-child{
    border-left: none;
}
.clear{
    clear: both;
}

.pagination {
	height:  30px;
	
	vertical-align: middle;
}
.pagination input{
	height: 20px;
	line-height: 20px;
	padding: 0 10px;
	margin:  0 5px;
}

.customIconButton, .customIconButton:hover{
	border: none;
	background: none;
	font-size: 14px;
	color: #657d69;
	line-height: 20px;
}
.customIconButton:hover{
	font-size: 16px;
}

.successStatus, .warningStatus, .errorStatus{
	position:fixed;
	right: 5px;
	bottom: 5px;
	z-index:  9999;
	color: #fff;
	padding: 10px;
	border-radius: 5px;
	max-width: 180px;
	display: none;
}
.successStatus .title, .warningStatus .title , .errorStatus .title{
	text-transform: capitalize;
}
.successStatus{
	background: #428ff4;
}
.warningStatus{
	background: #f4bb41;
}
.errorStatus{
	background: red;
}


.report .title{
	width: 100%;
	font-size: 16px;
	text-align: center;
	font-weight: 600;
}
.report table{
	width: 100%;
	border-collapse: collapse;
	border: 1px solid #999;
	border-left: 0;
	border-bottom: none;
}
.report td{
	border: 1px solid #999;
	border-top: none;
	border-right: none;
	padding: 2px 5px;
	text-align: left;
}
.report td:last-child{
	text-align: right;
}
.report .header td{
	background: lightgreen;
	text-align: left;
}
.report .header td:last-child{
	text-align: right;
}
.report .footer td{
	background: #ddd;
	text-align: right;
}
.report .group td{
	background: #ccc;
	text-align: left;
}

.report .footer-sign{
	display: grid;
	grid-template-columns: auto auto auto;
	grid-auto-rows: 10px;
	font-size: 12px;
	line-height: 10px;
	cursor: pointer;
	/* grid-template-rows: 10px 50px; */
	grid-gap: 20px;
	text-align: center;
}

#toolbar fieldset{
	margin: 0;
}
#toolbar fieldset select{
	line-height: 30px;
	height: 30px;
}



/* Form degign*/
.form{
	display: grid;
	grid-template-rows: 30px auto;
	border: 1px solid #657d69;
}
.form >div.title{
	background-color: #657d69;
	color: #FFF;
	padding: 0;
}
.form .title div{
	display: inline-block;
	line-height: 30px;
	background: #f8f8f8;
	color: #657d69;
	padding: 0 10px;
	font-weight: 600;
}
.form > div{
	padding: 10px;
}
form{
	display: flex;
	flex-wrap: wrap;
	gap: 15px 10px;
	max-height: 100%;
	overflow: auto;
}
.fieldset {
    display: inline-block;
    position: relative;
    border: none;
    background: none;
    text-align: left;
	flex: 1 1 100%;
	padding: 0;
	margin: 0;
}
.fieldset label {
    display: block;
}
.fieldset .text, .fieldset .textArea, .fieldset .select{
	width: calc(100% - 12px);
    line-height: 25px;
	min-height: 25px;
    border: 1px solid;
    outline: none;
    padding: 0 5px;
	min-width: 200px;
}
.fieldset .select{
	width: 100%;
	padding: 0;
	height: 27px;
}

.fieldset .error{
	    position: absolute;
    
    line-height: 18px;
    /* padding: 0 10px; */
    color: #fff;
    background-color: red;
    bottom: 5px;
    right: 5px;
    border-radius: 20px;
    width: 18px;
    text-align: center;
}

.error:hover .tooltiptext {
  visibility: visible;
}
.tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: black;
  color: #fff;
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;
      top: -5px;
    bottom: auto;
    right: 128%;

 
  /* Position the tooltip text - see examples below! */
  position: absolute;
  z-index: 1;
}
.tooltiptext::after {
  content: " ";
  position: absolute;
  top: 50%;
  left: 100%; /* To the right of the tooltip */
  margin-top: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent transparent black;
}
/*
     Tooltip style
*/
