@charset "utf-8";


/* Global Style */
html {
    overflow: auto; /* Cho phép cuộn ngang và dọc */
}

body {
    font-family: Verdana, Tahoma, Arial, sans-serif;
    font-size: 100%;
    color: #333;
    margin: 0 auto;
    padding: 0;
    display: flex;
    justify-content: center;
}

/* Container chính để giới hạn width */
.wrapper {
    width: 985px;
    margin: 0 auto;
}

.clear {
    clear: both;
}



/* End Global Style */

/* Header Style */
#header {
    width: 985px;
    height: 66px;
    position: relative;
}

#header h1{
	position:absolute;
	font-size: 1.7em;
	font-weight: bold;
	color: #123F73;
	height: 50px;
	left: 480px;
	top: 25px;
	margin:0;
	padding:0;
	width:480px;
}

#header #logo{
	position:absolute;
	width:250px;
	height:50px;
	top:5px;
	left:25px;
	background:url(../../images/logo.gif) no-repeat;

}

/* Navigation section */


.nav {
    width: 985px; /* Giữ cố định */
    margin: 0 auto;
}


.nav:after{ /*Add margin between menu and rest of content in Firefox*/
content: "."; 
display: block; 
height: 0; 
clear: both; 
visibility: hidden;
}


.nav ul {
    margin: 0;
    padding: 0;
    position: absolute; /* Khôi phục để cố định vị trí */
    top: 40px;
    left: 470px; /* Cách lề trái 470px */
    width: 585px;
    text-align: center;
}

/* Navigation section */
.nav ul li {
    display: block;
    float: left;
    list-style: none;
    margin: 0;
    padding-right: 3px;
    text-align: center;
    width: auto;
    position: relative; /* Định vị cho menu con */
}

.nav ul li a {
    color: #545353; /* Màu xám đậm */
    display: block;
    font-size: 0.75em; /* Font size của menu cha */
    font-weight: bold;
    height: 21px;
    line-height: 21px;
    padding: 0;
    width: 113px;
    text-decoration: none;
/*    background: url(../../Images/tab_menu_bg.gif) no-repeat scroll 0 -22px; */
}

.nav ul li a.on{
/*    background-color: #ff6600; /* Màu cam */
	background: url(../../Images/tab_menu_bg.gif) no-repeat scroll 0 0;    
	color:#FFFFFF;
	}

.nav ul li a:hover, .nav ul li a.selected{ /*script dynamically adds a class of "selected" to the current active menu item*/
	background-color: #ff6600; /* Màu cam */
/*	background:  url(../../Images/tab_menu_bg.gif) no-repeat scroll 0 0; /*THEME CHANGE HERE*/ 
	color:#FFFFFF;
	}





/* ######### Style for Drop Down Menu ######### */

.dropmenudiv {
    position: absolute;
    top: 100% !important; /* Thay vì 100%, thử đặt 0 để nằm sát dưới <li> */
    left: 0 !important; /* Căn trái với <li> */
    right: auto !important; /* Loại bỏ kéo sang phải */
    margin: 0;
    padding: 0;
    border: 1px solid #ff6600; /* Viền cam */
    border-bottom-width: 0;
    font-size: 0.8em;
    line-height: 18px;
    z-index: 100;
    background-color: white !important; /* Nền trắng */
    width: 140px; /* Chiều rộng như ban đầu */
    visibility: hidden;
}

.dropmenudiv a, .dropmenudiv a:visited {
    width: auto;
    display: block;
    text-indent: 3px;
    border-bottom: 1px dotted #ff6600; /* Đường kẻ dưới cam chấm chấm */
    padding: 2px 0;
    text-decoration: none;
    font-weight: bold;
    color: #424141; /* Chữ xám đen */
}

.dropmenudiv a.on {
    background-color: #8c8b8b; /* Màu nền khi được chọn */
    color: #ffffff; /* Chữ trắng khi được chọn */
    border-bottom: 1px dotted #FFFFFF; /* Đường kẻ dưới trắng khi được chọn */
}

* html .dropmenudiv a { /* Hack cho IE */
    width: 100%;
}

.dropmenudiv a:hover {
    background-color: #ff6600; /* Nền cam khi hover */
    color: #ffffff; /* Chữ trắng khi hover */
    border-bottom: 1px dotted #FFFFFF; /* Đường kẻ dưới trắng khi hover */
}

    #navSubBG{ /*Vị trí thanh màu dưới chân menu cha*/
	  position:absolute;
	  top:61px;
	  /**top:110px; for IE*/
	  width:111.5%;
	  height:5px;
	  background:#ff6600;
	  clear:both;
	  padding:0;
	  margin:0;
	  z-index:-6000;
  }
  /* End Navigation section*/
/* End Header Style*/

#content {
    width: 1100px; /* Giữ cố định */
    margin: 1px auto;
    min-height: 400px;
    border: #e46d05 solid 2px;
	border-left: 2px solid #e46d05 !important; /* Đảm bảo viền trái hiển thị */
	box-sizing: border-box; /* Đảm bảo viền không làm tăng kích thước tổng */
    
}


#content h3{
	margin:5px 0 0 5px;
	padding:0px;

	font-size:1.1em;
	color:#02AEBE;
	font-weight:bold;
}

#content .divThongBao
{
    width:100%;
    font-size:.8em;
    text-align:center;
    background:#CCE6FF;
}

#content .divError
{
    width:100%;
    font-size:.8em;
    text-align:center;
    background:#FFD7D7;
}


#content fieldset
{
    font-size:0.7em;
    line-height:15px;
    margin:0;
    height:38px;
    padding:2px;
    padding-left:20px;
    text-align:left;
    background: #D0D0D0;
	
}

#content .divBottom {
    width: 100%;
    font-size: 10pt;
    border-top: solid 1px gray;
    background-color: #D0D0D0;
    height: 25px; /* Ví dụ: tăng lên 45px, bạn có thể điều chỉnh */
    display: flex; /* Giữ nếu đã dùng để canh giữa */
    justify-content: center; /* Canh giữa ngang */
    align-items: center; /* Canh giữa dọc */
}

/* Table list Style*/
#content #tblInfo{
	padding:5px;
	background:#FFF;
	font-size:.8em;
	border-collapse:collapse;
	table-layout:fixed;
	margin:auto;
	width:985px;
}

#content #tblDanhSach{
	padding:0px;
	background:#F2F3FF;	
	border:1px solid #e46d05;
	border-collapse:collapse;
	table-layout:fixed;
	margin:auto;
	width:985px;
}

#content #tblDanhSach tr.odd {
	background: #E6F2FF;
}

#content #tblDanhSach tr:hover{
	background: #BBDBFF;
}

#content #tblDanhSach th {
	font-size: .75em;
	color: #fff;
	background: #e46d05;
	text-align: center;
	vertical-align: middle;
	height: 20px;
	padding:.3em .2em;
	border:1px solid #999;
	margin:0;
}
#content #tblDanhSach td 
{
	padding: .1em .1em;
	text-align: center;
	vertical-align: middle;
	height: 20px;
	font-size:.8em;
	border:1px solid #999;
	margin:0;
}

#content #tblDanhSach td.function{
	padding: 0 .2em;
	height: 20px;
	font-size:.8em;
	border:1px solid #999;
	margin:0 auto;
}

#content #tblDanhSach a.table_list_save{
	width:22px;
	height:22px;
    float:left;
	background:url(../../images/action_icons.gif) no-repeat 0 0;
	display:block;
	margin-right:4px;
}

#content #tblDanhSach a.hide_control
{
	display:none;	
}

#content #tblDanhSach a.table_list_edit{
	width:22px;
	height:22px;
    float:left;
	background:url(../../images/action_icons.gif) no-repeat -24px 0;
	display:block;
	margin-right:4px;
}

#content #tblDanhSach a.table_list_delete{
	width:22px;
	height:22px;
    float:left;
	background:url(../../images/action_icons.gif) no-repeat -48px 0;
	display:block;
}

#content #tblDanhSach th.chk, #tblDanhSach td.chk{
	padding: .1em .1em;
	margin:0 auto;
}

#content #tblDanhSach .inputText
{
    font-size:.9em;
	width:95%;
	margin:0 auto;
	padding: .2em .2em;

}

#content #tblDanhSach .trFilter th
{
    background-color:#B6BFDE;
}

#content .divScrollTable 
{
    height: 480px;
    overflow: auto; 
    margin:0px 2px 3px;
    clear:both;
}
/* End table list Style*/

/* Table Form Style */
#content .tblForm
{
	width:950px;
	margin:auto;border-collapse: collapse;
	border: 1px solid #999999;
	margin-bottom:5px;
}

#content .tblForm th
{
	border: 1px solid #999999;
	background-color:#FFFFCC;
	height:25px;
	padding:0;
	margin:0;
}

#content .tblForm tr
{
	
}

#content .tblForm td
{
	
    font-size: 0.8em;
    height: 20px;
    margin: 0;
    padding: 0.2em;
    vertical-align: middle;
	
}

#content .tblForm td .ASPinput
{
	width:90%;
	height:17px;
	line-height:17px;
	/*border:0 none;*/
	/*border-bottom:1px dashed #E46D05;*/
	font-size:1.1em;
}

#content .tblForm td textarea
{
	width:90%;
	height:65px;
	color:#000;
	background-color:#fff;
}

#content .alignLeft
{
	text-align:left;
}
#content .alignLeft
{
	text-align:right;
}


/* End Table Form Style */

/* Update form style */
#content .smallfont 
{
	font-size: .8em;
}
/* End Update form style */

/* Paging style */

/************************* PAGINATION **************************************/
/*.paginationTG
{
float:right;
font:10px Tahoma, Verdana, Arial, "Trebuchet MS", Helvetica, sans-serif;
color:#3d3d3d;
margin-top: 10px;
margin-left:auto;
margin-right:15px;
width:50%;
text-align:right;
}*/

.paginationTG {
    position: absolute;
    font: .7rem Tahoma, Verdana, Arial, "Trebuchet MS", Helvetica, sans-serif; /* 0.75rem ~ 12px ở kích thước gốc */
    color: #3d3d3d;
    top: 89px;
    left: 680px; /* Giữ cố định vì bạn muốn chiều rộng cố định */
    width: 36%;
    text-align: right;
    -webkit-text-size-adjust: 100%; /* Ngăn Safari tự điều chỉnh phông chữ */
	

	
}

.paginationTG ul{
margin: 0;
padding: 0;
}

.paginationTG li{
list-style-type: none;
display: inline;
padding-bottom: 1px;
}

.paginationTG a, .paginationTG a:visited{
padding: 5px 6px;
text-decoration: none; 
background-color: inherit;
color: #e46d05;
font-weight: bold;
cursor:pointer;
}

.paginationTG a:hover, .paginationTG a:active{
color: #ffffff;
background-image: url(../../Images/pagination_bg.png);
background-position: top center;
background-repeat: no-repeat;
text-decoration: none; 
}

.paginationTG li.currentpage{
font-weight: bold;
padding: 5px 9px;
background-color: inherit;
color: #ffffff;
background-image: url(../../Images/pagination_bg.png);
background-position: top center;
background-repeat: no-repeat;
}

.paginationTG li.disablepage{
padding: 0 5px;
border: 1px solid #929292;
color: #929292;
}

.paginationTG li.nextpage{
font-weight: bold;
}

* html .paginationTG li.currentpage, * html .paginationTG li.disablepage{ /*IE 6 and below. Adjust non linked LIs slightly to account for bugs*/
padding-right: 9px;
padding-left: 9px;
}
/************************* PAGINATION **************************************/


#content div.divPhanTrang
{
    width: 800px;
    margin-top:10px;
    margin-left:10px;
    font-size:.75em;
}

#content div.divPhanTrang .divThongTinTrang
{
    float:right;
}

#content div.divPhanTrang .divSoMucHienThi
{
    float:left;
}

/* End Paging style */


/* Function button style */
#content div.divChucNang {
    margin-left: 10px;
    margin-bottom: 10px;
}

#content div.divChucNang .button
{
    margin-right:15px;
}
/* End function button style */

/* End Content Style*/


/* Footer Style*/
#footer {
    min-width: 985px;
    width: auto !important;
    width: 985px;
    margin: 0 auto;
    height: 25px;
    background: #e46d05;
    display: flex; /* Sử dụng Flexbox */
    justify-content: center; /* Căn giữa theo chiều ngang */
    align-items: center; /* Căn giữa theo chiều dọc */
    padding: 0;
}

#footer p {
    margin: 0 auto;
    padding: 0;
    color: #fff;
    font-weight: normal;
    font-size: .7em;
    line-height: 25px;
}
/* End Footer Style*/
/* Form style */

.inputText
{
    color:#113355;
}

/*Chạy chữ người dùng trên head */

#running_user_info {
    position: absolute;
    top: 43px; /* Vị trí so với top */
    left: 118px; /* Đẩy sát bên phải của logo */    
    width: 150px; /* Thay đổi bề rộng khung chạy */
    overflow: hidden;
    white-space: nowrap;
}

#running_user_info span {
    display: inline-block;
    font-size: 11px;
    font-weight: normal;
    color: #b0b0b0;
    animation: scrollText 15s linear infinite;
}

@keyframes scrollText {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(-100%);
    }
}
/*Chạy chữ người dùng trên head */