*{
    font-family: Tahoma;
    font-size: 13px;
}
body{
    margin: 0;
    padding: 0;
}

form{
    margin: 0px;
    padding: 0px;
}

.clearfloat{
    clear: both;
}
#banner{
    height: 10%;
    background: url('../images/banner_bg.jpg');
    background-position: bottom;
}
#middle{
    background: url("../images/background.jpg");
}
#login_out_lable{
    float: right;
    margin-right: 10px;
	margin-top: 10px;
}
#left, #right{
    height: 85%;
}
#left{
    width: 80%;
    float: left;
    margin: 0px;
    padding: 0px;
    overflow: auto;
    overflow-style: auto;
}
#contenbackground{
    background: white;
    margin: 10px 5px 10px 10px;
    height: 96%;
    overflow: hidden;
    opacity: 0.95;
    
}
#menubackground{
    background: white;
    margin: 10px 10px 10px 5px;
    height: 96%;
    overflow: auto;
    
}
#right{
    width: 20%;
    float: right;
    
    /*background: #018bdb;*/
    background-size: contain;
    margin: 0px;
    padding: 0px;
    overflow: auto;
    overflow-style: auto;
}
#footer{
    height: 5%;
    background: url('../images/footer_bg.jpg');
    clear: both;
}
#Sub_Menu{
    background: #009900;
    padding: 0;
    margin: 0;
    text-shadow: 0px 1px 0px rgb(0, 0, 0);
    color: rgb(255, 255, 255);
    height: 25px;
}
.tieudechucnang{
    color: white;
    font-size: 16px;
    font-weight: bold;
    line-height: 22px;
    float: left;
    padding: 0px 5px 0px 5px;
}
.menucontrongchucnang{
    float: right;
}
.menucontrongchucnang ul{
    overflow: hidden;
}
.menucontrongchucnang ul li{
    float: left;
    
}
.menucontrongchucnang ul li a{
    color: white;
    font-size: 12px;
    font-weight: bold;
    text-decoration: none;
    line-height: 25px;
    border-left: solid 1px #016301;
    padding: 10px;
    margin: 0px;
}
.menucontrongchucnang ul li a:hover{
    opacity: 0.5;
}
#Sub_Conten{
    width: 100%;
    height: 96%;
    overflow: auto;
    padding: 0px;
    margin: 0;
    
}


input[type="submit"]{
    height: 20px;
    background: #009900;
    opacity: 0.90;
    border: none;
    color: white;
    font-weight: bold;
}
input[type="submit"]:hover{
    opacity: 0.5;
}
input[type="submit"]:hover{
    background: -moz-linear-gradient(center top , rgb(255, 255, 255), rgb(204, 204, 204)) repeat scroll 0% 0% transparent;
}
table{
    border-collapse: collapse;
}
fieldset table tr td, fieldset table tr th{
    border: 1px solid rgb(170, 170, 170);
}
fieldset table tr td{
}
fieldset table tr th{
    background: none repeat scroll 0% 0% rgb(211, 220, 227);
}
#error_mesgess{
    color: red;
    margin: 0;
    padding: 0;
}
ul{
    margin: 0;
    padding: 0;
}
li{
    list-style-type: none;
    margin-left: 5px;
}
.error{
    color: red;
}
#Listbox_checkbox_khoi_khoaphong{
    width: 300px;
    height: 100px;
    overflow: auto;
    border: solid 1px black;
}
table{
    border: solid 1px black;
}
th, td{
    border: solid 1px #CDCDCD;
    border-collapse: collapse;
    margin: 0px;
    padding: 2px;
}

.td:hover{
    background: none repeat scroll 0% 0% rgb(238, 238, 238);
    
}
th,.cell_blocked{
    background: #D7F7D6;
}
.txt_nhaplieu{
    width: 100%;
}
#txt_tongso:hover,#txt_nu:hover{
    color: green;
    font-size: 1.1em;
}
.hethan{
    color: red;
}
#menubackground ul li{
    list-style-image: none;
    background: #009900;
    margin: 1px 0px 1px 0px;
    line-height: 15px;
    color: white;
    font-weight: bold;
    padding: 5px;
}
#menubackground ul li:hover{
    opacity: 0.9;
}
#menubackground li ul li{
    background: white;
}
#menubackground li ul li a{
    text-decoration: none;
    color: #009900;
    width: 100%;
}
/*.chan{
    background: white;
}
.le{
   background: #f7f9fa; 
}*/
.table_danhsach{
    margin: 5px auto 5px auto;
    width: 100%;
    
}
.table_danhsach tr thead{
    position: fixed;
}
.table_danhsach tr:hover {
    background: #EBFCCD;
}
.table_danhsach tr td{
    margin: 0;
    padding: 2px;
    
}
.table_danhsach tr td input[type="text"],.table_danhsach tr td select{
    background: none;
    border: none;
    width: 100%;
}
.table_danhsach tr td input[type="text"]:hover, .table_danhsach tr td input[type="password"]:hover,
.table_danhsach tr td select:hover{
    background: #c3febe;
}
.tr_sttcot td{
    text-align: center;
    font-weight: bold;
}
.table_form{
    margin: 5px auto 5px auto;
    border: none;
}
.table_form tr td{
    background: white;
    padding: 5px;
    border: none;
}
.table_form tr td label{
    font-weight: bold;
}
.tieudebaocao{
    text-align: center;
    font-size: 15px;
}
.number_cell{
    text-align: right;
    margin-right: 2px;
}
#block_background{
    position: absolute;
    display: block;
    top: 0;
    width: 100%;
    height: 100%;
    background: #727272;
    margin-left: -10px;
}
#active_tab{
    background: white;
}
#active_tab a{
    color: #009900;
    text-shadow: none;
}
#login_out_lable a{
    color: white;
    text-decoration: none;
}
#login_out_lable a:hover{
    text-decoration: underline;
}
#system_name_lable{
    float: left;
    font-size: 1.6em;
    color: yellow;
    padding: 15px;
    text-shadow: 1px 1px 2px white;
}
#Print_Panel{
    height: 30px;
    text-align: right;
    border-bottom: 1px solid #009900;
}
#form_taianh{
    box-shadow: 20px 20px 50px #009900;
}

/* New code */

#MenuThemLoai
{
	width: 80%;
	min-height: 35px;
	color:#111111;
	margin: 20px auto 1px auto;
}
#MenuThemLoai li {
	float:left;
	line-height: 35px;
	list-style:none;
}
#MenuThemLoai ul a {
	background: #009B01;
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
	color:#FFFFFF;
	display:block;
	font-family:Verdana;
	font-size:12px;
	line-height: 22px;
	margin:1px 1px 0 0;
	padding:6px 10px;
	text-decoration:none !important;
	border: 1px solid #009B01;
}
#MenuThemLoai ul a:hover {
	background: transparent;
	border-bottom: 1px solid #FCFEFC;
	color:#000000;
}
#MenuThemLoai ul a.selected {
	background: transparent;
	border-bottom: 1px solid #FCFEFC;
	border-weight: 0;
	color:#000000;
	cursor:default;
	margin-bottom:0;
}
#Container_Loai
{
	width: 99%;
	padding: 20px 0;
	height: auto;
	margin: 0 auto;
	border: 1px solid #009B01;
}

input#kinhdo, input#vido
{
	border: 1px solid #545454;
	margin-bottom: 3px;
    box-sizing: border-box;
    display: block;
	outline: medium none;
    padding: 3px 5px;
    transition: all 0.3s ease 0s;
}

input#kinhdo:focus, input#vido:focus
{
	border: 1px solid #427B2E;
}

label.cabinet
{
    width: 70px;
    height: 30px;
    display: block;
    overflow: hidden;
}

label.cabinet input.file
{
    position: relative;
    height: 100%;
    width: auto;
    opacity: 0;
    -moz-opacity: 0;
    filter:progid:DXImageTransform.Microsoft.Alpha(opacity=0);
}

 /* new */
.download
{
	width: 200px;
	height: 51px;
	background: url('../../images/theme/download.png');
	background-repeat: no-repeat;
	background-size: 100% 100%;
}

.download:hover
{
	background: url('../../images/theme/download_over.png');	
	background-repeat: no-repeat;
	background-size: 100% 100%;
}

.col-3
{
	float: left;
	width: 33.3%;
}

.col-4
{
	float: left;
	width: 24%;
}

/* images zoom */
	.image-link {
	  cursor: -webkit-zoom-in;
	  cursor: -moz-zoom-in;
	  cursor: zoom-in;
	}
	
	/* This block of CSS adds opacity transition to background */
	.mfp-with-zoom .mfp-container,
	.mfp-with-zoom.mfp-bg {
		opacity: 0;
		-webkit-backface-visibility: hidden;
		-webkit-transition: all 0.3s ease-out; 
		-moz-transition: all 0.3s ease-out; 
		-o-transition: all 0.3s ease-out; 
		transition: all 0.3s ease-out;
	}

	.mfp-with-zoom.mfp-ready .mfp-container {
			opacity: 1;
			cursor: zoom-out;
	}
	
	.mfp-with-zoom.mfp-ready.mfp-bg {
			opacity: 0.8;
	}

	.mfp-with-zoom.mfp-removing .mfp-container, 
	.mfp-with-zoom.mfp-removing.mfp-bg {
		opacity: 0;
	}
	
	/* padding-bottom and top for image */
	.mfp-no-margins img.mfp-img {
		padding: 0;
	}
	
	/* position of shadow behind the image */
	.mfp-no-margins .mfp-figure:after {
		top: 0;
		bottom: 0;
	}
	
	/* padding for main container */
	.mfp-no-margins .mfp-container {
		padding: 0;
	}
	
	/* aligns caption to center */
	.mfp-title {
	  text-align: center;
	  padding: 6px 0;
	}
	.image-source-link {
	  color: #DDD;
	}
	
	body { 
		-webkit-backface-visibility: hidden; 
	}
/* End */

#thongtinchitietloai input[type=checkbox]:not(old){
  width   : 28px;
  margin  : 0;
  padding : 0;
  opacity : 0;
}

#thongtinchitietloai input[type=checkbox]:not(old) + label{
  display      : inline-block;
  margin-left  : -28px;
  padding-left : 28px;
  background   : url('../../images/theme/checks.png') no-repeat 0 0;
  line-height  : 24px;
}

#thongtinchitietloai input[type=checkbox]:not(old):checked + label{
  background-position : 0 -24px;
}

@media (min-width: 485px) and (max-width: 768px) {
	.col-3, .col-4
	{
		width: 50%;
	}
	.loai_image
	{
		width: 48%;
	}
}

@media (min-width: 240px) and (max-width: 480px) {
	.col-3, .col-4
	{
		float: none;
		width: 100%;
	}
}

img
{
	max-width: 100%;
}

#body_popup
{
	background: #141414;
	opacity: 0.7;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	position: fixed;
	z-index: 9997;
}

#popup_map
{
	width: 500px;
	height: 505px;
	background: #FFFFFF;
	border: 2px solid #006800;
	position: fixed;
	padding: 5px;
	top: 5%;
	left: 30%;
	z-index: 9998;
}

#progress
{
	background: #EDEDED;
	opacity: 0.8;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	position: fixed;
	z-index: 9999;
}

.zoomimage img
{
	border: 2px solid #D7DBE0;
	width: 100%;
	height: 120px;
}

.bandonhandang img
{
	border: 2px solid #D7DBE0;
	width: 100%;
	height: 120px;
}

a.popup:hover
{
	cursor: pointer;
}

#View_popup_map
{
	width: 80%;
	height: 75%;
	background: #FFFFFF;
	border: 2px solid #006800;
	position: fixed;
	padding: 5px;
	top: 5%;
	left: 10%;
	z-index: 9998;
}