body
{
	margin: 0;
	padding: 0;
	color: #555;
	font: normal 10pt Arial,Helvetica,sans-serif;
	background: #EFEFEF;
}

#page
{
	margin: 5px;
	background: white;
	
	/*width: 1170px;*/
}

#header
{
	margin: 0;
	padding: 0;
	border-top: 3px solid #C9E0ED;
}

#content
{
	/*padding: 5px;*/
}

#sidebar
{
	padding: 20px;
}

#footer
{
	padding: 10px;
	margin: 10px 20px;
	font-size: 0.8em;
	text-align: center;
	border-top: 1px solid #C9E0ED;
}

#logo
{
	padding: 10px 20px;
	font-size: 200%;
}

#mainmenu
{
	background: #2789b9;
	/*margin: 5px;*/
	text-transform: capitalize;
}

#mainmenu ul
{
	padding:10px 20px;
	margin:0px;
}

#mainmenu ul li
{
	display: inline;
	margin-right: -5px;
}

#mainmenu ul li a
{
	color:#ffffff;
	background-color:transparent;
	font-size:12px;
	font-weight:bold;
	text-decoration:none;
	padding: 11px 7px 10px;
	border-left: 1px solid #ccc;
}

#mainmenu ul li a:hover, #mainmenu ul li.active a
{
	color: #565353;
    background-color: navajowhite;
    text-decoration: none;
}

div.flash-error, div.flash-notice, div.flash-success
{
	padding:.8em;
	margin-bottom:1em;
	border:2px solid #ddd;
}

div.flash-error
{
	background:#FBE3E4;
	color:#8a1f11;
	border-color:#FBC2C4;
}

div.flash-notice
{
	background:#FFF6BF;
	color:#514721;
	border-color:#FFD324;
}

div.flash-success
{
	background:#E6EFC2;
	color:#264409;
	border-color:#C6D880;
}

div.flash-error a
{
	color:#8a1f11;
}

div.flash-notice a
{
	color:#514721;
}

div.flash-success a
{
	color:#264409;
}

div.form .rememberMe label
{
	display: inline;
}

div.view
{
	padding: 10px;
	margin: 10px 0;
	border: 1px solid #C9E0ED;
}

div.breadcrumbs
{
	font-size: 0.9em;
	padding: 5px 20px;
}

div.breadcrumbs span
{
	font-weight: bold;
}

.portlet
{

}

.portlet-decoration
{
	padding: 3px 8px;
	background: #B7D6E7;
	border-left: 5px solid #6FACCF;
}

.portlet-title
{
	font-size: 12px;
	font-weight: bold;
	padding: 0;
	margin: 0;
	color: #298dcd;
}

.portlet-content
{
	font-size:0.9em;
	margin: 0;
	padding: 5px 8px;
	margin-bottom:15px;
	background:#EFFDFF;
}

.portlet-content ul
{
	list-style-image:none;
	list-style-position:outside;
	list-style-type:none;
	margin: 0;
	padding: 0;
}

.portlet-content li
{
	padding: 2px 0 4px 0px;
}

.post
{
	margin: 0 0 20px;
}

.post .title
{
	font-size: 1.5em;
	border-bottom: 1px solid #C9E0ED;
}

.post .title a
{
	color: #555;
	text-decoration: none;
}

.post .author
{
	color: #888;
	margin: 0 0 5px;
}

.post .nav
{
	-moz-border-radius:7px;
	padding: 5px;
	background: #EFFDFF;
}

.comment
{
	-moz-border-radius:7px;
	padding: 10px;
	background: #F5F5F5;
	margin: 5px 0;
}

.comment .content
{
	margin: 10px 0;
}

.comment .author
{
	margin: 5px 0;
	padding: 0 0 3px;
	border-bottom: 1px solid #DDD;
}

.comment .time
{
	color: #888;
	font-size: 0.8em;
}

.comment a.cid
{
	color:#CCC;
	float:right;
	font-size:1.5em;
	font-weight:bold;
	padding:0 5px 5px 5px;
	text-decoration: none;
}

.comment a.cid:hover
{
	color:#555;
}

.comment .pending
{
	color:red;
}
table tr td  img{
	border: 1px solid #ccc;
}
table .green{
	background: #0f0;
}
table .yellow{
	background: #ffff01;
}
table .blue{
	background: #0ff;
}
table .red{
	background: #f36262;
	color: #fff !important;
}
#ui-datepicker-div{
	background: #16d28c;
    cursor: pointer;
}
.table.table-process td{
	padding: 0px;
}
.table.table-process p{
	margin: 2px;
    white-space: nowrap;
    overflow: hidden;
    width: 150px;
	font-size: 12px;
	text-transform: capitalize;
}

.table.table-process .item-bill {
    border-bottom: 1px solid #ccc;
    padding: 5px;
}
.table.table-process .item-bill .status{
	color: blue;
}
.table.table-process .item-bill .day{
	color: red;
}

.button-edit {
    /*position: absolute;
    width: 106px !important;
    margin-left: -280px;
    background: #ccc;
	display: none;*/
}
/*table .button-column{
	display: none;
}
table tr.filters > td:last-of-type {
    display: none;
}
.pre-line{
	white-space: pre-line !important;
}
.grid-view table.items td{
	padding: 5px !important;
}*/
/*.grid-view table.items td:nth-child(5){
	max-width: 350px;
    overflow: hidden;
    white-space: nowrap;
}
.grid-view table.items td:nth-child(9){
	max-width: 170px;
    overflow: hidden;
    white-space: nowrap;
}
.grid-view table.items td:nth-child(13){
	max-width: 100px;
    overflow: hidden;
    white-space: nowrap;
}*/
.grid-view{
	padding: 0px !important;
}

.grid-view table.items th{
	background: #22776c  !important;
}

.btn{
	border-radius: 0px;
}

.grid-view table.items th, .grid-view table.items td{
	white-space: pre-line;
}
#history p{
	padding: 2px;
    margin-bottom: 0px;
}

#history .me{
	background: #f9e8e8;
    padding: 5px;
}

@media screen and (max-width: 769px) {
	#mainmenu ul li{
		display: inline-grid;
		margin-right: 0px;
		border-bottom: 1px solid #fff;
		background: #4fafd7;
		width: 70px;
		height: 30px;
	}
	#mainmenu ul li a{
		font-size: 10px;
		white-space: nowrap;
	}
	button, input, select, textarea {
	    border: 1px solid #ccc;
	    padding: 5px;
	    border-radius: 5px;
	}

	
}

/*menu moi */
.panel-group {white-space: nowrap;}
.glyphicon { margin-right:10px; }
.panel-title{font-size: 14px !important;}
.panel-body { padding:5px !important; font-size: 13px;}
.panel-body table tr td { padding-left: 15px }
.panel-body .table {margin-bottom: 0px; }
.panel-body .table tr td{padding: 8px 5px !important}
.panel-body .active {color: red}

.panel-default>.panel-heading {
    color: #fff!important;;
    background-color: #59a5e6!important;;
    border-color: #ddd!important;;
}

/*only for screen over 1400px*/
@media (min-width: 992px) and (max-width : 1200px){
	.menu-left-div{
		width: 15% !important;
	}
	.menu-right-div{
		width: 85% !important;
	}
}

@media (min-width: 1200px) and (max-width : 1300px){
	.menu-left-div{
		width: 13.5% !important;
	}
	.menu-right-div{
		width: 86.5% !important;
	}
}

/*only for screen over 1400px*/
@media (min-width: 1300px) and (max-width : 1400px){
	.menu-left-div{
		width: 12% !important;
	}
	.menu-right-div{
		width: 88% !important;
	}
}

/*only for screen over 1400px*/
@media (min-width: 1400px) and (max-width : 1600px){
	.menu-left-div{
		width: 10.5% !important;
	}
	.menu-right-div{
		width: 89.5% !important;
	}
}

/*only for screen over 1400px*/
@media (min-width: 1600px) and (max-width : 2800px){
	.menu-left-div{
		width: 9.3% !important;
	}
	.menu-right-div{
		width: 90.7% !important;
	}
}

h2 {
  font-family: Futura, "Trebuchet MS", Arial, sans-serif;
  font-size: 1.5em;
  text-align: center;
}
h2 span {
  color: #e56a5a;
}
.drag {
  background-color: #fff;
  font-weight: bold;
  font-size: 16px;
  border-radius: 5px;
  border: 2px solid #ffe957\9;
  cursor: pointer;
  display: inline-grid;
  margin: 5px;
  padding: 3px;
  width: auto;
  -webkit-transition: background-color 0.25s ease-in;
  -moz-transition: background-color 0.25s ease-in;
  -ms-transition: background-color 0.25s ease-in;
  -o-transition: background-color 0.25s ease-in;
  transition: background-color 0.25s ease-in;
}
.drag:last-of-type {
  margin-right: 5px;
}
.drag:hover {
  background-color: #f94a34;
}

.dropIt {
  background: #5eced2;
  border-radius: 5px;
  margin-right: 15px;
  margin-bottom: 15px;
  padding: 10px;
}
.dropChuaLam {
  height: auto;
}
.dropdown-menu>li>a {
    padding: 10px;
    border: 1px solid #cccc;
}
#history p {
    padding: 2px;
    margin-bottom: 0px;
    white-space: pre-line;
}

.open>.dropdown-menu {
    width: 70px;
    min-width: 55px;
    margin-right: 23px;
    left: -21px;
    background: #6092ec;
    color: #fff;
}
.dropdown-toggle{
	height: 44px;
}
.dropdown-toggle::after {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: .255em;
    vertical-align: .255em;
    content: "";
    border-top: .3em solid;
    border-right: .3em solid transparent;
    border-bottom: 0;
    border-left: .3em solid transparent;
}
.dropdown-item{
	    display: flex;
		padding: 5px;
    border-bottom: 1px dashed;
	color: #fff;
	font-size: 17px;
}
}
.nav-tabs>li {
    float: left;
    margin-bottom: -1px;
    font-size: 13px;
    min-width: 45px;
}
.nav-tabs>li>a,.nav-tabs>li.active>a, .nav-tabs>li.active>a:focus, .nav-tabs>li.active>a:hover {
 padding: 7px;	
 text-align: center;
}
#exTab2 h3 {
	color: #2689c3;
    border-bottom: 1px solid #c6dcef;
    font-size: 18px;
    padding-bottom: 4px;
}

#exTab2 .tab-content {
       
}
#exTab2 .nav>li>a {
    padding: 8px !important; 
}

.table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th, .table>thead>tr>td, .table>thead>tr>th{
	padding: 4px;
}
