@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;
	}
}
*/

a.disabled {
	opacity: 0.4;
	cursor: not-allowed;
}
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 {
	padding: 2px 4px;
	margin-bottom: 0;
	background-color: rgba(255, 255, 255, 0.9);
	border: 0;
}
.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: transparent url("/images/law/court.jpg") center center no-repeat;
	background-attachment: fixed;
	background-size: cover;
	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 .tools a,
.modal .modal-body .tools a:hover,
.modal .modal-body .tools a:focus {
	margin: 4px 0px 4px 2px;
	padding: 0px 6px;
	background: #008cd2 !important;
	color: #fff !important;
	box-shadow: 1px 1px 0 rgba(0, 0, 0, 0.2);
	border: 0;
}
.modal .modal-body .tools a:hover {
	background-color: #005e8d !important;
}
.modal .modal-body .tools a:active {
    margin: 5px -1px 3px 3px;
    box-shadow: none;
}
.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.textbox-disabled {
	background-color: #f1f1f1;
}
.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 .input-with-text-before,
.law-form .input-with-text-after {
	display: flex;
}
.law-form .input-with-text-before input {
	margin-left: 5px;
}
.law-form .input-with-text-after input {
	margin-right: 5px;
}
.law-form > h5 {
	font-weight: 600;
	font-style: italic;
	text-decoration: underline;
}
.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;
	min-height: 28px;
}
.law-form .fieldname.over-input {
	margin-bottom: 0;
	min-height: 0;
}
.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;
}
.law-form ul.checkbox-group {
	display: flex;
	margin: 0;
	list-style-type: none;
}
.law-form ul.checkbox-group li {
	margin-right: 15px;
}
.law-form ul.checkbox-group li label {
	margin-bottom: 4px;
}
.law-form table.form-table {
	width: 100%;
}
.law-form table.form-table th {
	padding: 5px 0;
	text-align: center;
}
.law-form table.form-table td {
	text-align: center;
	vertical-align: top;
}
.law-form table.form-table td input[type="text"],
.law-form table.form-table td input[type="password"] {
	margin-top: 0;
}
.law-form table.form-table td input[type="checkbox"],
.law-form table.form-table td input[type="radio"] {
	margin: 8px 0 0;
}
.with-law-form .panel-body {
	overflow-x: hidden;
}
.with-law-form .panel-body .law-form .row {
	margin-bottom: 5px;
}
.with-law-form .panel-body h5 {
	display: inline-block;
	margin: 0 0 20px;
	border-bottom: 1px solid;
	font-weight: 600;
	font-style: italic;
	font-size: 13px;
}
.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.95);
}
.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;
}

.law-uploader input[type="file"] {
	display: none;
}
.law-uploader a.upload-button,
.law-uploader a.upload-button:hover,
.law-uploader a.upload-button:focus {
	background: #008cd2 !important;
	color: #fff !important;
    margin: 0 0px 4px 0;
    padding: 0px 6px;
    box-shadow: 1px 1px 0 rgba(0, 0, 0, 0.2);
	border: 0;
}
.law-uploader a.upload-button:hover {
	background-color: #005e8d !important;
}
.law-uploader a.upload-button:active {
    margin: 1px -1px 3px 1px;
    box-shadow: none;
}
.law-uploader.uploading a.upload-button {
	opacity: 0.3;
}
.law-uploader .files {
	position: relative;
	margin-top: 5px;
	margin-left: -2px;
	margin-right: -2px;
	overflow: hidden;
}
.law-uploader .file {
	position: relative;
	float: left;
	width: 165px;
	height: 130px;
	margin: 0 2px 4px 2px;
	background-color: #fff;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	border: 1px solid #ddd;
}
.law-uploader .file:after {
	content: "FILE";
	position: absolute;
	margin-top: 26px;
	width: 100%;
	color: rgba(0, 0, 0, 0.2);
	font-weight: 600;
	font-size: 40px;
	text-align: center;
}
.law-uploader .file[data-file-type="jpg"]:after,
.law-uploader .file[data-file-type="jpeg"]:after,
.law-uploader .file[data-file-type="png"]:after,
.law-uploader .file[data-file-type="gif"]:after {
	content: "";
}
.law-uploader .file[data-file-type="txt"]:after { content: "TXT"; }
.law-uploader .file[data-file-type="doc"]:after { content: "DOC"; }
.law-uploader .file[data-file-type="docx"]:after { content: "DOCX"; }
.law-uploader .file[data-file-type="xls"]:after { content: "XLS"; }
.law-uploader .file[data-file-type="xlsx"]:after { content: "XLSX"; }
.law-uploader .file[data-file-type="ppt"]:after { content: "PPT"; }
.law-uploader .file[data-file-type="pptx"]:after { content: "PPTX"; }
.law-uploader .file[data-file-type="pdf"]:after { content: "PDF"; }
.law-uploader .file .filename {
	position: absolute;
	bottom: 0;
	left: 0;
	padding: 2px 4px;
	width: 100%;
	background-color: rgba(0, 94, 141, 0.7);
	color: #fff;
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
}
.law-uploader .file:hover .filename {
	background-color: rgba(0, 94, 141, 1);
}
.law-uploader .file a.delete,
.law-uploader .file a.rename {
	position: absolute;
	top: 2px;
	right: 2px;
	width: 20px;
	height: 20px;
	border-radius: 2px;
	background-color: #fff;
	border: 1px solid #ddd;
	text-align: center;
	line-height: 1.5;
	text-decoration: none;
	opacity: 0;
}
.law-uploader .file a.rename {
	right: 24px;
}
.law-uploader .file:hover a.delete,
.law-uploader .file:hover a.rename {
	opacity: 1;
}

.dialog-container hr {
	margin: 5px 0;
}
.dialog-container h5 {
	font-size: 12px;
	font-weight: 600;
	font-style: italic;
	text-decoration: underline;
}
.shake-shake {
	animation: shake2 0.2s;
	animation-iteration-count: 1;
}
@keyframes shake1 {
	0% { transform: translate(2px, 0) rotate(0deg); }
	20% { transform: translate(-4px, 0) rotate(0deg); }
	40% { transform: translate(4px, 0) rotate(0deg); }
	60% { transform: translate(-4px, 0) rotate(0deg); }
	80% { transform: translate(2px, 0) rotate(0deg); }
	100% { transform: translate(0, 0) rotate(0deg); }
}
@keyframes shake2 {
	0% { transform: scale(1.02); }
	100% { transform: scale(1); }
}
.law-loader {
	border: 2px solid #f3f3f3;
	border-radius: 50%;
	border-top: 2px solid #3498db;
	width: 24px;
	height: 24px;
	-webkit-animation: spin 2s linear infinite; /* Safari */
	animation: spin 1s linear infinite;
}
@-webkit-keyframes spin {
	0% { -webkit-transform: rotate(0deg); }
	100% { -webkit-transform: rotate(360deg); }
}
@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

/* 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 */
