﻿body {
	font: 14px/20px verdana,arial,helvetica,clean,sans-serif !important;
	height: 100%;
	text-align: justify !important;
}

h4 {
	font-size: 17.5px;
}
h1, h2, h3, h4, h5, h6 {
	color: #317eac;
	font-family: "Telex",sans-serif;
	font-weight: bold;
	line-height: 20px;
	margin: 10px 0;
	text-rendering: optimizelegibility;
}

form.info{
	max-width: 840px;
	margin: auto;
}

.above5{
	margin-top: 5px !important;
}

.above10{
	margin-top: 10px !important;
}

.above15 {
	margin-top: 15px !important;
}

.above30 {
	margin-top: 30px !important;
}

.above-below15 {
	margin-bottom: 15px !important;
	margin-top: 15px !important;
}

.container{
	width:100% !important;
}

/* styles for validation helpers */
.required-field {
	color: Red;
}

.field-validation-error {
	color: #b94a48;
	font-style: italic;
	/*margin-top: 2px;*/
}

.field-validation-valid {
	display: none;
}

input.input-validation-error {
	border: 1px solid #b94a48;
}

input[type="checkbox"].input-validation-error {
	border: 0 none;
}

.validation-summary-errors {
	color: #b94a48;
}

.validation-summary-valid {
	display: none;
}

.non-exist{
	color : red;
	text-decoration: line-through;
}

.ngoai-truong {
	color:orangered;
	font-size: medium;
	font-style:italic;
}

#fmessage
{
	color: red;
	font-weight: bold;
	position: fixed;
	text-align: center;
	vertical-align: middle;	
	width: 100%;
}

#message, #dmessage
{
	color: red;
	/*font-weight: bold;
	position: fixed;*/
	text-align: center;
	vertical-align: middle;	
	width: 100%;
}


/*CSS For Loading: hiển thị trạng thái chờ trong khi load*/
#loadingScreen 
{
	background: url(../images/ajax-loader.gif) no-repeat 5px 5px #FEFEFE !important;
	padding: 20px;
}

/* hide title bar on the loading screen */
.loadingScreenWindow .ui-dialog-titlebar {
	display: none;
}

.loading  
{
	background: url(../images/loading.gif) no-repeat scroll 50% 68% #FEFEFE !important; 	
	border-radius: 4px;
	height: 60px; 
	margin: 0; 
	width: 60px;
}

.header-title
{
	border-radius : 4px;
	background: url('../images/bg-th.gif') repeat-x scroll 50% 50% #CCCCCC;
	border: 1px solid #AAAAAA;
	color: #003399;/*#222222;*/
	font-weight: bold;
	font-size: 13px;
	padding: 10px;
}

/*CSS FOR jquery ui*/
.ui-searchFilter
{
	z-index : 9999 !important;
}

.ui-dialog{
	z-index: 9999 !important;
}

.ui-jqgrid-view a {
	color: #2fa4e7 !important;
}

.ui-jqgrid tr.jqgrow td {
	white-space: normal !important;
	height:auto;
	/*vertical-align:text-top;*/
}

.noclose .ui-dialog-titlebar-close
{
	display:none;
}

.ui-datepicker select.ui-datepicker-month
{
	width: 60% ! important;
}
.ui-datepicker select.ui-datepicker-year
{
	width: 40% ! important;
}

ul.summary
{
	list-style-type: square;
	margin: 0;
	padding: 5px 0 0 15px;
}

ul.summary li
{
	padding: 2px 0px;
}

/*ul.summary li:before {
	content: "• ";
	color: red; or whatever color you prefer 
}*/
/*END CSS FOR jquery ui*/


/*****CSS FOR Add, Edit, Detail form*/
.header-block, 
.info-block
{
	border: 1px solid #cfcfcf;
	padding: 3px;
}

.info-block
{
	padding: 10px;
	background-color: #f5f5f5;
}

.form-control[readonly]
{
	background-color: #fff;
}

.form-filter {
	margin-bottom:1px;
}

.form-filter .filter
{
	padding-right: 15px; 
	padding-top:5px;
}

button, input[type="button"], input[type="submit"] {
	min-height: 36px;
	min-width: 60px;
	padding: 4px !important;
}

.input-group .form-control:first-child, 
.input-group-addon:first-child, 
.input-group-btn:first-child > .btn, 
.input-group-btn:first-child > .btn-group > .btn, 
.input-group-btn:first-child > .dropdown-toggle, 
.input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle), 
.input-group-btn:last-child > .btn-group:not(:last-child) > .btn
{
	border-right: none;
}

table.tbl
{
	background-color: #f5f5f5;
	border-bottom: 2px solid #cfcfcf;
	border-top: 1px solid #cfcfcf;
	border-right: 2px solid #cfcfcf;
	border-collapse: collapse;    
	margin: 5px auto 0 auto;  
	width: 100%; 
}

table.tbl-inner
{
	width: 100%;
	color: #000000;
	/*border-bottom: 3px solid #000;*/
	border-top: 1px solid #cfcfcf;
	border-right: 1px solid #cfcfcf;
	border-collapse: collapse;    
	margin: 0;   
}

table.tbl tr.button
{
	background-color : #dcdcdc;
	height: 45px;
	text-align: left;
}

table.tbl th
{
	background: #f1edec url(../images/bg-th.gif) repeat-x bottom left;
	border-left: 1px solid #cfcfcf;
	border-bottom: 1px solid #cfcfcf;	
	padding: 3px;
	text-align: center;
}

table.tbl td
{
	border-left: 1px solid #cfcfcf;
	border-bottom: 1px solid #cfcfcf;
	height: 27px;
	padding: 2px;
}

table.tbl td.lbl
{
	/* background-color: #EEEEE6; */    
	background-color: #EEEEE6;
	color: #000080;
	height: 32px;
	padding: 0 0 0 5px;
	text-align: left;
	/*width: 200px !important;*/
}

table.tbl td.lbl2
{
	/* background-color: #EEEEE6; */    
	background-color: #EEEEE6;
	color: #000080;
	height: 25px;
	padding: 0 0 0 30px;
	text-align: left;
	/*width: 200px !important;*/
}

table.tbl td.title, .title
{
	background-color: #3394A1;
	color: #FFFFFF;
	/*font-size: 14px;*/
	/*height:32px;*/
	padding:5px;
	text-align: center;  
	width:100%;  
}

table.tbl td input.textinput[type="text"], 
table.tbl td input.textinput[type="password"],
table.tbl td select.combobox 
{ margin: 0px; width: 100%;}

table.tbl td input.form-control,
table.tbl td select.form-control
{
	padding: 2px;
}

/*****END CSS FOR Add, Edit, Detail form*/

@media (min-width: 768px) {
	.dropdown-menu {
		border-radius: 6px !important;
		margin: 2px 0 0 !important;
	}

	.navbar .nav > li > .dropdown-menu::before {
		border-bottom: 7px solid rgba(0, 0, 0, 0.2);
		border-left: 7px solid transparent;
		border-right: 7px solid transparent;
		content: "";
		display: inline-block;
		left: 9px;
		position: absolute;
		top: -7px;
	}

	.navbar .nav > li > .dropdown-menu::after {
		border-bottom: 6px solid #ffffff;
		border-left: 6px solid transparent;
		border-right: 6px solid transparent;
		content: "";
		display: inline-block;
		left: 10px;
		position: absolute;
		top: -6px;
	}

	button, input[type="button"], input[type="submit"] {
		/*min-width: 0px;
		min-height: 0px;*/
		margin-bottom:2px;
	}
}

@media (max-width: 450px) {
	.navbar-brand{
		/*display: none;*/
		font-size: 12px;
	}

	button, input[type="button"], input[type="submit"] {
		min-width: 0px;
		/*min-height: 0px;*/
		margin-bottom:2px;
	}
}

@media print {
  .print-disable {
	display:none !important;
  }

  .printable {
	display: block !important;
  }

}

/*body {
	padding-top: 50px;
	position: relative;
}
	  
pre {
	tab-size: 8;
}
	  
@media screen and (max-width: 768px) {
	.side-collapse-container{
		width:100%;
		position:relative;
		left:0;
		transition:left .4s;
	}
	.side-collapse-container.out{
		left:200px;
	}
	.side-collapse {
		top:50px;
		bottom:0;
		left:0;
		width:90%;
		position:fixed;
		overflow:hidden;
		transition:width .4s;
		z-index:9999;
	}
	.side-collapse.in {
		width:0;
	}
}*/