body {
	font: 13px/1.5 Helvetica,Arial,Thonburi,Tahoma,FreeSans,sans-serif;
}

#wp {
	padding-top: 50px;
}

/* global */
textarea { resize: none; }
.radio:first-of-type { padding-top: 5px; }

/* file table */
table.file thead th { text-align: center; }
table.file td { text-align: center; }
table.file td.desc { text-align: left; }
table.file td.desc label { float: left; text-decoration: underline; }
table.file td.desc p { margin-left: 53px; margin-bottom: 5px; }
table.file td.desc p:last-child { margin: 0; }
table.file td.num { text-align: right; }

/* model form */
.modal .modal-form {
	padding: 9px 15px;
	border-bottom: 1px solid #eee;
}

/* popup modal */
.modal-popup { width: 490px; margin-left: -245px; }
.modal-popup .modal-body { max-height: 1000px!important; }
.modal-popup .modal-header h3 { font-weight: normal; font-size: 16px; }
.modal-popup form { margin: 0; }
.modal-popup .row { padding-left: 0; }
.modal-popup .control-group { margin-bottom: 0; }

.popup-customer-find { width: 810px; margin-left: -405px; }
.popup-customer-find .modal-body { height: 400px!important; max-height: 600px!important; }

.popup-customer-find form {}
.popup-customer-find form label { float: left; line-height: 30px; margin-right: 5px; margin-bottom: 0; }
.popup-customer-find form input { float: left;  margin-right: 5px; margin-bottom: 0; }
.popup-customer-find form label.phone { margin-left: 10px; }

.popup-customer-find .table-content {
	height: 380px;
	overflow-y: auto;
	overflow-x: hidden;
}

/* form helper */
.form-v { float: left; margin-left: 5px; }

/* task form */
#task-form #btn-add { width: 250px; margin: 58px 0 0 60px; }
#task-form #btn-add .btn { width: 90px; margin-bottom: 3px; }

#task-form #domodel { margin-left: 10px; }
#task-form #domodel span input { float: left; margin: 3px 5px 0 10px; }

/* task view */
#task-view h1 { font-weight: normal; font-size: 18px; margin: 0 0 5px 0; line-height: normal; }

/* popup */
.popup-update-print,
.popup-update-after,
.popup-update-send { width: 260px; margin-left: -130px; }

.popup-customer-new { width: 330px; margin-left: -165px; }

.popup-file { width: 650px; margin-left: -325px; top: 5%; }

/* top button */
.topic { position: relative; }
.topic .button { position: absolute; right: 0; top: 5px; }


/* report */
#report {
	margin-top: 140px;
	width: auto;
	padding: 0 15px;
}

#table-header-fixed {
	position: fixed;
	top: 0px;
	display:none;
	background-color:white;
	z-index: 10;
	table-layout: fixed;
}
#table-header-fixed-back{
	position: fixed;
	display: none;
	width: 100%;
	top: 0;
	background: #fff;
	z-index: 9;
}

#reportnav .navbar-inner { height: 120px; }
#reportnav .filter { padding: 0 30px; }
#reportnav form { margin: 0; }
#reportnav form .month { display: block; float: left; }
#reportnav form .month select { float: left; margin: 5px 0; width: 140px; }
#reportnav form .month label { float: left; display: inline-block; width:auto; padding: 10px 5px; margin: 0; line-height: 20px; }
#reportnav form .day { display: block; float: left; margin: 5px 0; }
#reportnav form .day div { margin: 0; }
#reportnav form .types { display: block; float: left; margin: 5px 0; }
#reportnav form .types input { float: left; margin: 3px 3px 0 5px; }
#reportnav form .types label { float: left; margin: 0 5px 0 0; }
#reportnav form button { float: left; margin: 0; }

/* fix dropdown */
.dropdown-menu { z-index: 2000; }

/* pager */
.linkpager { float: right; }
.linkpager .hidden { display: none; }
.linkpager .next,
.linkpager .last,
.linkpager .first,
.linkpager .previous { display: none; }
.linkpager .selected a { color: #FFF; }
.linkpager li { float: left; list-style: none; margin-left: 5px; }