@import url('https://fonts.googleapis.com/css?family=Roboto');
*, h1, h2, h3, h4, h5, h6, p, span, a, div {
	font-family: 'Roboto', '微軟正黑體';
    -webkit-text-size-adjust: none;
}

.narrow-screens {
	display: none;
	width: 100%;
	max-width: 400px;
	padding: 180px 20px 0;
	margin: 0 auto;
	background: transparent url("/images/law/narrow_screens_warning.png") center 20px no-repeat;
	background-size: auto 140px;
	z-index: 9999999999 !important;
}
.narrow-screens p {
	font-size: 18px;
}
/*
@media (max-width: 768px) {
	.body, footer {
		display: none;
	}
	.narrow-screens {
		display: block;
	}
}
*/

body.site {
	background-color: #d9e4e8 !important;
	padding: 0;
	overflow-y: scroll;
}
.body > .container,
.footer > .container {
	width: 100%;
	max-width: 100%;
	background-color: transparent;
	border: 0;
	padding: 0;
	box-shadow: none;
}
header {
	display: none;
}
.navigation .nav-pills {	/* fix conflict of easyui */
	position: relative !important;
	border: 0;
	padding: 0;
	background-color: transparent;
	overflow: visible;
}
.nav-pills > li > a {
	border-radius: 0;
}
.nav-pills > li.deeper > a {
	padding-right: 30px;
	background: transparent url(/images/law/expand.png) right 10px center no-repeat;
	background-size: 12px;
}
.navigation .nav-child li > a:hover,
.navigation .nav-child li > a:focus,
.navigation .nav-child:hover > a {
	background: #0081c1 !important;
}
.nav-pills > li.active > a {
	background-color: #005e8d;
}
.navigation {
	position: relative;
	padding: 2px 4px 2px 110px;
	margin-bottom: 0;
	background-color: #fff;
	border: 0;
}
.navigation:after {
	content: "NC888";
	position: absolute;
	top: 6px;
	left: 6px;
	width: 100px;
	height: 30px;
	border-radius: 3px;
	color: #000;
	background-color: #ffda00;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.5;
	text-align: center;
}
.navigation .nav-child {
	border-radius: 0;
}
.navigation .nav-child a {
	padding: 6px 20px;
}
.navigation .nav-child .divider {
	border-bottom: 0;
}

#content {
	min-height: 0;
	background-color: rgba(255, 255, 255, 0.2);
	padding: 6px;
}
.footer {
	border-top: 0;
	padding: 10px;
}
.footer p {
	margin-bottom: 0;
}
.fixed-information-panel {
	position: fixed;
	display: none;
	right: 50px;
	bottom: -2px;
	background-color: #fff;
	padding: 9px 18px;
	border: 2px solid #7c97a0;
	border-radius: 5px 5px 0 0;
}
.fixed-information-panel .scbalance {
	text-align: right;
}
.fixed-information-panel .scbalance span.balance {
	display: inline-block;
	min-width: 80px;
	font-weight: 600;
}
.fixed-information-panel .scbalance a.refresh-scbalance {
	font-size: 12px;
	text-decoration: none;
	margin-left: 10px;
}
.scbalance span.balance.positive {
	color: #00c;
}
.scbalance span.balance.negative {
	color: #c00;
}
#back-top {
	position: fixed;
	display: block;
	bottom: 5px;
	right: 5px;
	width: 30px;
	height: 30px;
	margin-top: -10px;
	text-indent: -999999px;
	background: transparent url("/images/law/back_to_top.png") center center no-repeat;
	background-size: 100%;
}
.modal.fade {
	top: 0 !important;
	width: 100%;
	margin-left: -50%;
	background-color: transparent;
	box-shadow: none;
	border: 0;
}
@media (max-width: 767px) {
	div.modal {
		left: 0;
		right: auto;
		margin-left: 0;
	}
}
.modal .modal-body {
	width: 100%;
	max-height: none;
	background-color: #f5f5f5;
}
.modal .modal-body .loading {
	position: absolute;
	display: none;
	top: 0;
	left: 0;
	width: 100%;
}
.modal.loading .modal-body .loading {
	display: block;
}
.modal .modal-body .tools {
	margin-bottom: 10px;
	padding: 2px;
	border: 0;
	background-color: #fff;
}
.modal .modal-body .loading .progress {
	height: 4px;
	border-radius: 0;
}
.modal .modal-content {
	border: 0;
	border-radius: 0;
	box-shadow: 3px 3px 15px rgba(0,0,0,.3);
}
.modal .modal-content h5.modal-title {
	position: absolute;
	font-weight: 600;
}
.modal .modal-content h5.modal-title .code {
	display: inline-block;
}
.modal .modal-content h5.modal-title .code span {
	background-color: #00b19f;
	padding: 4px 10px;
	margin-left: 10px;
	color: #fff;
	letter-spacing: 2px;
}
.modal .modal-content h5.modal-title .closed-file {
	display: inline-block;
	margin-left: 10px;
	color: #f00;
}
.modal .sub-footer {
	padding: 4px 15px;
	text-align: right;
	background-color: #f5f5f5;
}
.modal .sub-footer > label {
	margin-bottom: 0;
	margin-top: 8px;
	margin-left: 10px;
}
.modal .sub-footer > label > input {
	margin: -2px 6px 0 0;
}
.modal .modal-footer {
	border-radius: 0;
	background-color: #e8e8e8;
}
.modal .modal-footer .trash-bar {
	display: none;
	float: left;
}
.modal.editing .modal-footer .trash-bar {
	display: block;
}
.modal .modal-footer .trash-bar > label {
	margin-bottom: 0;
	margin-top: 8px;
	margin-left: 10px;
}
.modal .modal-footer .trash-bar > label > input {
	margin: -2px 6px 0 0;
}
.modal .modal-footer span.message {
	margin-right: 10px;
}
.modal.loading .modal-footer {
	display: none;
}
.modal .textbox.numberbox {
	width: 100% !important;
	height: 25px;
	margin-top: -2px;
	margin-bottom: 7px;
}
.modal .textbox.numberbox input[type="text"] {
	width: 100% !important;
	padding: 12px 6px;
	margin: 3px 0 0 !important;
	border-radius: 0;
	font-size: 13px !important;
	box-shadow: none;
}
.modal-backdrop {
	background-color: #000;
}

.modal.loading .tools,
.modal.loading .law-form {
	display: none;
}
.law-form hr {
	margin-top: 2px;
	margin-bottom: 12px;
	border: 0;
	border-top: 1px solid #e8e8e8;
}
.law-form input[type="text"],
.law-form input[type="password"] {
	padding: 12px 6px;
	margin-top: -2px;
	border-radius: 0;
	width: 100%;
}
.law-form label {
	margin-bottom: 10px;
}
.law-form label input[type="checkbox"],
.law-form label input[type="radio"] {
	margin-top: -3px;
}
.law-form textarea {
	border-radius: 0;
	width: 100%;
	min-height: 30px;
	resize: vertical;
	margin-bottom: 8px;
}
.law-form .fieldname {
	margin-bottom: 4px;
}
.law-form .textbox.combo {
	width: 100% !important;
	margin-bottom: 8px !important;
}
.law-form .textbox.combo .textbox-addon > a {
	width: 24px !important;
	height: 24px !important;
}
.law-form .textbox.combo input.textbox-text {
	width: 100% !important;
	height: 24px !important;
	box-shadow: none;
}
.law-form .textbox.combo input.validatebox-readonly {
	background-color: #fff;
	cursor: default;
}
.law-form .current-balance .bank {
	border: 1px solid #aaa;
	background-color: #fff;
	padding: 2px 6px;
	margin-right: 2px;
}
.law-form .current-balance .bank .positive {
	font-weight: 600;
	color: #00c;
}
.law-form .current-balance .bank .negative {
	font-weight: 600;
	color: #c00;
}

.navbar.pull-left {
	margin-bottom: 0;
	min-height: 40px;
}
.modal.fade button {
	border-radius: 0;
	outline: none;
}
@media (min-width: 980px) {
	.navbar.pull-left {
		display: none;
	}
}

.progress-bar.active,
.progress.active .progress-bar {
	-webkit-animation: progress-bar-stripes 0.2s linear infinite;
	-o-animation: progress-bar-stripes 0.2s linear infinite;
	animation: progress-bar-stripes 0.2s linear infinite;
}


.lawfirm-report-container {
	
}
.lawfirm-report-container .filters {
	background-color: #fff;
	padding: 10px;
	margin-bottom: 6px;
}
.lawfirm-report-container .filters form {
	margin: 0;
}
.lawfirm-report-container .filters form label {
	display: inline-block;
	margin: 0;
	padding: 1px 8px;
	background-color: #fff;
	border: 1px solid #005e8d;
	color: #005e8d;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}
.lawfirm-report-container .filters form label.checked {
	background-color: #005e8d;
	border: 1px solid #005e8d;
	color: #fff;
}
.lawfirm-report-container .filters form label input[type="checkbox"] {
	position: absolute;
	top: -99999999px;
}
.lawfirm-report-container table.report {
	width: 100%;
	/* max-width: 1400px; */
}
.lawfirm-report-container table.report thead {
	background-color: #84909c;
	color: #fff;
	font-weight: 600;
}
.lawfirm-report-container table.report th.entry-date,
.lawfirm-report-container table.report th.full-id {
	min-width: 100px;
}
.lawfirm-report-container table.report th.client,
.lawfirm-report-container table.report th.particular {
	min-width: 400px;
}
.lawfirm-report-container table.report th.amount {
	min-width: 114px;
}
.lawfirm-report-container table.report th,
.lawfirm-report-container table.report td {
	vertical-align: top;
	padding: 4px 10px;
}
.lawfirm-report-container table.report td {
	border-bottom: 1px dotted #eee;
}
.lawfirm-report-container table.report tbody tr {
	background-color: rgba(255, 255, 255, 0.6);
}
.lawfirm-report-container table.report tfoot tr {
	border-top: 1px solid #ddd;
	border-bottom: 3px double #666;
	background-color: rgba(255, 255, 255, 1);
}
.lawfirm-report-container table.report tfoot tr td {
	font-weight: bold;
}
.lawfirm-report-container table.report .amount {
	text-align: right;
}
.lawfirm-report-container table.report .positive {
	color: #00c;
}
.lawfirm-report-container table.report .negative {
	color: #c00;
}
.lawfirm-report-container table.report.summary-table tr.balance {
	font-weight: 600;
}
.lawfirm-report-container table.report.summary-table tbody tr:hover {
	background-color: #fff;
}
.lawfirm-report-container table.report.summary-table tr.year-month-separator {
	background-color: #ddd;
	text-align: center;
}
.lawfirm-report-container table.report.summary-table tr.month-summary {
	background-color: #eee !important;
	text-align: right;
	font-weight: 600;
}
.lawfirm-report-container table.report.summary-table tr.month-balance {
	border-bottom: 1px solid #ccc;
	background-color: #eee !important;
	text-align: right;
	font-weight: 600;
}
.lawfirm-report-container table.report.summary-table tr.no-transaction td {
	text-align: center;
	color: #999;
	font-style: italic;
	border-bottom: 0;
	padding: 20px 0;
}

.lawfirm-help-container {
	
}
.lawfirm-help-container #lawfirm-help-tabs {
	width: 100%;
}
.lawfirm-help-container #lawfirm-help-tabs .tab-label {
	padding: 10px;
}

.list-toolbar {
	
}
.list-toolbar .filters {
	display: inline-block;
	padding-left: 10px;
	margin-left: 10px;
	border-left: 1px solid #ddd;
}
.list-toolbar .filters select {
	padding: 4px 2px;
	height: auto;
	border-radius: 0;
	box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
}
.list-toolbar label.checkbox-label input[type="checkbox"] {
	margin-top: 0;
}


/* for print out */
html.print-page body {
	padding: 0;
	margin: 0;
	border: 0;
	background-color: #ccc !important;
}
html.print-page body > * {
	display: none;
}
html.print-page body > .law-printout {
	display: block;
}
/* for print out */
