/**
* customize by thanh
*
**/

/*html {
    margin: 0;
    padding: 0;
    background: url(../img/bg.png) top left repeat;
}

 @START GROUP HEADER 
#header {
    background-color: #FEFEFE;
    height: 50px;
    text-align: center;
}

#headerTop {
    background: url("../img/menubarbg.png") repeat-x scroll left bottom
        transparent;
    height: 50px;
}

.container {
    margin: 0 auto;
    width: 980px;
}

#logo {
    height: 30px;
    width: 180px;
    float: left;
    background: url(../img/logo.png) center left no-repeat;
}

#headerTop ul {
    list-style-image: none;
    list-style-position: outside;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

#headerTop li {
    float: left;
    margin-right: 2px;
}

#headerTop li.spacer {
    display: none;
    height: 0;
    margin: 0;
    width: 0;
}

#headerTop li a {
    color: #111;
    display: block;
    font-size: 11px;
    line-height: 30px;
    padding: 0px 10px;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    margin-top: 2px;
    border: 1px solid transparent;
}

#headerTop li a:hover,#headerTop li a.active {
    color: #0983D1;
    border: 1px solid #DDD;
    background: url(../img/menu-item-active.png) left top repeat-x;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
}*/

#searchBox {
    margin-top: 4px;
    width: 170px;
    background: #FFF url(../img/search-area-bg.gif) no-repeat scroll right
        center;
    border: 1px solid #BBB;
}

.form-item {
    display: inline;
    margin-bottom: 1em;
    margin-top: 0;
    padding: 0;
}

input.form-text {
    background: none;
    border: none;
    color: #333333;
    float: left;
    font-size: 11px;
    height: 22px;
    width: 145px;
}

#breadcrumbs {
    height: 30px;
    background-color: #EEE;
    border-bottom: 1px solid #CCC;
    display: none;
    -moz-box-shadow: 0 1px 3px #CCC;
    -webkit-box-shadow: 0 1px 3px #CCC;
}

#breadcrumbs a {
    font-size: 11px;
    text-decoration: none;
    color: #444;
    padding: 0 10px;
    position: relative;
    float: left;
}

#breadcrumbs a:hover {
    color: #3B87C5;
}

#breadcrumbs span {
    float: left;
    height: 0;
    margin: 0 0 0 0;
    overflow: hidden;
    padding-top: 30px;
    position: relative;
    width: 9px;
    background: url(../img/breadcrumb_sep.png) center center no-repeat;
}

#breadcrumbs span.home {
    background: url(../img/home.png) no-repeat scroll center center;
    width: 24px;
}

.breadcrumbs-wrapper {
    position: relative;
    width: 980px;
    margin: 0 auto;
    height: 30px;
    line-height: 30px;
}

/* @END GROUP HEADER*/

/* @START GROUP BODY WRAPPER*/
#bodyWrapper {
    text-align: center;
    margin-top: 10px;
}

#bodyContainer {
    -moz-box-shadow: 0 0 3px #AAA;
    -webkit-box-shadow: 0 0 3px #AAA;
    margin: 0 auto 20px;
    min-height: 400px;
    padding: 0px 10px 10px;
    position: relative;
    text-align: left;
    /*width: 930px;*/
    border: 1px solid #999;
    background-color: #E4E2E2;
}

/* @END GROUP BODY WRAPPER */ 

/* @START GROUP FOOTER */
#footer {
    color: #777;
    text-align: center;
    height: 70px;
    padding-top: 7px;
    font-size: 11px;
}

#footer  a {
    color: #777;
    text-decoration: none;
}

/* @END GROUP FOOTER */

/* @START GROUP QUICK UTILITY NAVIGATION */
#quickNav {
    position: fixed;
    height: 30px;
    text-align: center;
    bottom: 0px;
    width: 100%;
    z-index: 99;
}

#utilityNav {
    -moz-box-shadow: 0 0 3px #AAA;
    -webkit-box-shadow: 0 0 3px #AAA;
    background: url(../img/quick_nav_bg.png) top left repeat-x;
    margin-left: 15px;
    margin-right: 15px;
    border-top: 1px solid #999;
    border-left: 1px solid #999;
    border-right: 1px solid #999;
    position: relative;
    height: 30px;
}

#utilityNav ul {
    list-style-image: none;
    list-style-position: outside;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

#quickNav li {
    float: left;
    border-right: 1px solid #CCC;
}

#quickNav li.spacer {
    display: none;
    height: 0;
    margin: 0;
    width: 0;
}

#quickNav li a {
    color: #333;
    display: block;
    font-size: 11px;
    line-height: 30px;
    padding: 0px 10px;
    text-decoration: none;
}

#quickNav li a:hover,#quickNav li.active a {
    background-color: #B5B5B5;
    color: #FFFFFF;
}

/* @END GROUP QUICK UTILITY NAVIGATION*/

/* @START GROUP ADMIN WIDGET*/
.admin-widget {
    font-size: 12px;
    background-color: #FEFEFE;
    border: 1px solid #AAA;
    -moz-box-shadow: 0 0 3px #AAA;
    -webkit-box-shadow: 0 0 3px #AAA;
    width: 298px;
}

.admin-widget-title {
    height: 35px;
    line-height: 35px;
    text-transform: uppercase;
    padding: 0 10px;
    font-weight: bold;
    background: url(../img/panel-header-bg.png) bottom left repeat-x;
    border-bottom: 1px solid #DDD;
}

.admin-widget-content {
    padding: 10px;
    border-top: 1px solid #FEFEFE;
    height: 200px;
    overflow: auto;
}

.admin-widget-content ul {
    list-style: none;
    padding: 0 0 0 10px;
    margin: 0;
}

.admin-widget-content ul li {
    padding: 0 0 10px 0;
}

.admin-widget-content ul li a {
    color: #555;
    text-decoration: none;
}

.admin-widget-content ul li a:hover {
    color: #111;
}

/* @END GROUP ADMIN WIDGET*/

/* @START GROUP GRID TABLE */
table.grid {
    padding: 0;
    margin: 0;
    border-top: 1px solid #BBB;
    border-left: 1px solid #BBB;
    border-right: 1px solid #BBB;
    border-bottom: none;
}

table.grid th {
    background-color: #F3F3F3;
    border-bottom: 1px solid #BBBBBB;
    color: #000;
    font: 11px Verdana, Arial, Helvetica, sans-serif;
    height: 17px;
    padding: 6px 5px;
    text-align: left;
    text-transform: uppercase;
}

table.grid th.header {
    cursor: pointer;
}

table.grid th.headerSortUp {
    background: #CCCCCC url(../img/asc.png) top right no-repeat !important;
}

table.grid th.headerSortDown {
    background: #CCCCCC url(../img/desc.png) top right no-repeat !important;
}

table.grid td {
    border-top: 1px solid #FEFEFE;
    border-bottom: 1px solid #D0D0D0;
    background-color: #FFF;
    padding: 5px 5px;
    color: #333;
    font-size: 11px;
    text-align: left;
}

table.grid tr td.highlight {
    background-color: #FFDDBB !important;
}

table.grid tr.last td {
    border-bottom: 1px solid #BBB;
}

table.grid tr:hover td{ 
    background-color: #D8EDED;
}

table.grid td a {
    color: green;
    text-decoration: none;
}

div.table-caption {
    -moz-border-radius: 8px 8px 0 0;
    -webkit-border-radius: 8px 8px 0 0;
    background: #E7E7E7 url(../img/tbl_header.png) top left repeat-x;
    border-top: 1px solid #BBB;
    border-left: 1px solid #BBB;
    border-right: 1px solid #BBB;
    padding: 10px;
    position: relative;
    text-align: left;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    color: #000;
}

div.table-footer {
    -moz-border-radius: 0 0 8px 8px;
    -webkit-border-radius: 0 0 8px 8px;
    background: #E7E7E7 url(../images/tbl_header.png) top left repeat-x;
    border-left: 1px solid #BBB;
    border-right: 1px solid #BBB;
    border-bottom: 1px solid #BBB;
    padding: 10px;
    text-align: left;
    font-size: 11px;
}

div.table-footer-2 {
    -moz-border-radius: 0 0 8px 8px;
    -webkit-border-radius: 0 0 8px 8px;
    background-color: #F3F3F3;
    border-left: 1px solid #BBB;
    border-right: 1px solid #BBB;
    border-bottom: 1px solid #BBB;
    padding: 10px;
    text-align: left;
    font-size: 11px;
    color: #999;
}

div.table-caption-condition {
    -moz-border-radius: 8px 8px 0 0;
    -webkit-border-radius: 8px 8px 0 0;
    background: #E7E7E7 url(../img/tbl_header.png) top left repeat-x;
    border-top: 1px solid #BBB;
    border-left: 1px solid #BBB;
    border-right: 1px solid #BBB;
    padding: 5px;
    padding-left: 10px;
    position: relative;
    text-align: left;
    font-size: 11px;
    font-weight: bold;
    color: #000;
}

/* @END GROUP GRID TABLE */ /* @START GROUP PAGING */
.prev {
    margin: 0 5px 0 0;
}

.next {
    margin: 0 20px 0 5px;
}

.current {
    color: #000;
    text-decoration: underline;
}

.counter {
    color: #555;
}

/* @END GROUP PAGING */ /* @START GROUP OVERRIDE JQUERY UI DIALOG */
.custom-dialog {
    -moz-border-radius: 8px !important;
    -webkit-border-radius: 8px !important;
    -moz-box-shadow: 0 0 20px #222;
    -webkit-box-shadow: 0 0 20px #222;
    border: none !important;
    overflow: visible !important;
    padding: 0 0 8px 0 !important;
}

.custom-dialog>.ui-widget-header {
    -moz-border-radius: 8px 8px 0 0 !important;
    -webkit-border-radius: 8px 8px 0 0 !important;
    background: #EEE url("../img/tbl_header.png") left bottom repeat-x
        !important;
    border: none !important;
    border-bottom: 1px solid #CCC !important;
}

.custom-dialog .ui-widget-content {
    padding: 1em 1em 0.5em 1em !important;
}

.custom-dialog .ui-dialog-buttonpane {
    border-top: none !important;
    padding: 0 1em 0 1em !important;
}

.custom-dialog .ui-dialog-titlebar-close {
    margin: 0 !important;
    padding: 0 !important;
    position: absolute !important;
    top: 5px !important;
    right: 5px !important;
    height: 18px !important;
    width: 19px !important;
    border: 1px solid transparent;
}

.custom-dialog>.ui-widget-header .ui-icon-closethick {
    background: transparent url("images/ui-icons_222222_256x240.png") -96px
        -128px no-repeat !important;
    height: 18px !important;
    width: 19px !important;
}

.custom-dialog .ui-dialog-title {
    font-size: 1em;
    text-transform: uppercase;
    height: 27px;
    line-height: 27px;
}

.custom-dialog .ui-dialog-titlebar {
    padding: 0 1em;
}

.custom-dialog>.ui-widget-header .ui-state-hover {
    background: none !important;
    border: none !important;
    border: 1px solid #CCC !important;
}

.custom-dialog>.ui-widget-header .ui-state-focus {
    background: none !important;
    border: none !important;
    border: 1px solid transparent !important;
}

.ui-widget-overlay {
    background: #555 !important;
    opacity: 0.7 !important;
}

.ui-button-text-only .ui-button-text {
    padding: 0.2em 1em;
}

/* @END GROUP OVERRIDE JQUERY UI DIALOG */
    /* @START GROUP OVERRIDE JQUERY UI TAB */
.ui-tabs {
    border: none;
    padding: 0;
}

.ui-tabs>.ui-tabs-nav {
    background: #F8F8F8 url(../img/tab-bg.png) bottom left repeat-x;
    border: 1px solid #CCCCCC;
    border-bottom: none;
    list-style: none outside none;
    position: relative;
    padding: 0;
}

.ui-tabs .ui-tabs-nav li {
    background: none repeat scroll 0 0 transparent;
    border: none;
    border-right: 1px solid #CCC;
    float: left;
    margin: 0;
    padding: 0;
    position: relative;
}

.ui-tabs .ui-tabs-nav li.ui-state-active {
    background: none repeat scroll 0 0 #FFF;
}

.ui-tabs>ul.ui-corner-all {
    -moz-border-radius: 4px 4px 0px 0px;
}

.ui-tabs li.ui-corner-top {
    -moz-border-radius: 0;
}

.ui-tabs .ui-tabs-panel {
    border: 1px solid #CCC;
    border-top: none;
}

/* @END GROUP OVERRIDE JQUERY UI TAB */ /* @START GROUP AJAX LOADING */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0px;
    left: 0px;
    height: 100%;
    width: 100%;
    z-index: 999999;
}

.opacity-overlay {
    overflow: hidden;
    background-color: #000;
    position: absolute;
    top: 0px;
    left: 0px;
    height: 100%;
    width: 100%;
    opacity: 0.2;
    filter: alpha(opacity = 20); /* IE Setting */
}

.indicator-ajax {
    width: 400px;
    height: 100px;
    background: #FEFEFE;
    margin: 0 auto;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-box-shadow: 0 0 20px #333;
    -webkit-box-shadow: 0 0 20px #333;
    position: relative;
    top: 250px;
}

#indicatorMsg {
    height: 100px;
    line-height: 100px;
    font-size: 10px;
    padding-left: 70px;
    background: url(../img/ajax-loader.gif) left center no-repeat;
    margin-left: 30px;
}

/* @END GROUP AJAX LOADING */ 

/* COMMON */
.right {
    float: right;
}

.left {
    float: left;
}

.center {
    float: center;
}

.clear {
    clear: both;
}

.spacer {
    height: 10px;
}
.spacer-half {
    height: 5px;
}
.spacer-double {
    height: 25px;
}
.box {
  min-height: 20px;
  padding: 19px;
  margin-bottom: 20px;
  background-color: #f5f5f5;
  border: 1px solid #e3e3e3;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
  -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
  padding: 10px;
  border: 1px solid #ddd;
  margin-bottom: 10px;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
}

.none{
	display: none;
}

.form-horizontal .control-group-vert {
    clear: both;
}

.form-horizontal .control-group-vert {
    margin-bottom: 20px;
}

.form-horizontal .controls .controls-info {
    padding-top: 5px;
    text-transform: uppercase;
    font-weight: bold;
}

input.size2 {
	width: 18px;
}

input.size4 {
	width: 36px;
}
.ui-datepicker-trigger {
	cursor: pointer;
}

/* Dialog
----------------------------------*/
.ui-dialog { position: absolute; padding: .2em; width: 300px; overflow: hidden; }
.ui-dialog .ui-dialog-titlebar { position: relative;  }
.ui-dialog .ui-dialog-title { float: left; margin: .1em 16px .2em 0; } 
.ui-dialog .ui-dialog-titlebar-close { position: absolute; right: .3em; top: 50%; width: 19px; margin: -10px 0 0 0; padding: 1px; height: 18px; }
.ui-dialog .ui-dialog-titlebar-close span { display: block; margin: 1px; }
.ui-dialog .ui-dialog-titlebar-close:hover, .ui-dialog .ui-dialog-titlebar-close:focus { padding: 0; }
.ui-dialog .ui-dialog-content { border: 0; padding: .5em 1em; background: none; overflow: auto; zoom: 1; }
.ui-dialog .ui-dialog-buttonpane { text-align: left; border-width: 1px 0 0 0; background-image: none; margin: .5em 0 0 0; padding: .3em 1em .5em .4em; }
.ui-dialog .ui-dialog-buttonpane button { float: right; margin: .5em .4em .5em 0; cursor: pointer; padding: .2em .6em .3em .6em; line-height: 1.4em; width:auto; overflow:visible; }
.ui-dialog .ui-resizable-se { width: 14px; height: 14px; right: 3px; bottom: 3px; }
.ui-draggable .ui-dialog-titlebar { cursor: move; }


#upload-wrapper {
	width: 90%;
	margin-right: auto;
	margin-left: auto;
	margin-top: 10px;
        margin-bottom: 10px;
	background: #F5F5F5;
	padding: 50px;
	border-radius: 10px;
	box-shadow: 1px 1px 3px #AAA;
}
#upload-wrapper h3 {
	padding: 0px 0px 10px 0px;
	margin: 0px 0px 20px 0px;
	margin-top: -30px;
	border-bottom: 1px dotted #DDD;
}
#upload-wrapper input[type=file] {
	border: 1px solid #DDD;
	padding: 6px;
	background: #FFF;
	border-radius: 5px;
}
#upload-wrapper #submit-btn {
	border: none;
	padding: 10px;
	background: #61BAE4;
	border-radius: 5px;
	color: #FFF;
}
#output{
	padding: 5px;
	font-size: 12px;
}
#output img {
	border: 1px solid #DDD;
	padding: 5px;
}

.outputimg{
	padding: 5px;
	font-size: 12px;
}
.outputimg img {
	border: 1px solid #DDD;
	padding: 5px;
}