body, li, input, select, button, textarea {
	font-family: "微軟正黑體","Microsoft JhengHei","新細明體","PMingLiU","細明體","MingLiU","標楷體","DFKai-sb","Arial",sans-serif,"Segoe UI Symbol","Segoe UI Emoji", "Symbola";
}

.unicode-character {
	font-family: "Arial Unicode MS","微軟正黑體","Microsoft JhengHei","新細明體","PMingLiU","細明體","MingLiU","標楷體","DFKai-sb","Arial",sans-serif,"Segoe UI Symbol","Segoe UI Emoji","Symbola";
}

a:focus,
input[type="checkbox"]:focus {
	outline: 0;
}

img {
	border: 0px;
}

input[type='checkbox'] {
	margin: 4px;
}

.watermark_text {
	color: #999999;
}

/* FORM */
.input-container {
	position:relative;
}
.textarea-container {
	position:relative;
}

.input-container.linked-input-field input[type='text'],
.textarea-container.linked-input-field textarea {
	background-color: #eef8fb;
}

.input-container .link {
	position:absolute;
	top: 10px;
	right: 5px;
	line-height: 16px;
}
.textarea-container .link {
	position:absolute;
	top: 10px;
	right: 8px;
	line-height: 16px;
}
.input-container .link a,
.textarea-container .link a {
	color: #0a7396;
	text-decoration: none;
}

.input-container input[type='text'], .input-container input[type='password'] {
	height: 31.4px;
	border: 1px solid #bababa;
	font-size: 14px;
	padding: 1px 5px 1px 8px;
	width: calc(100% - 8px - 5px - 2px);
	vertical-align: top;
}
.input-container input[type='text']:focus, .input-container input[type='password']:focus {
	border: 1px solid #3b3b3b;
	outline: 0;
}
.input-container input[type='text']:disabled, .input-container input[type='password']:disabled {
	background-color: #ebebe4;
}

.select-container {
	background: url(/static/img/page/welcome/down-arrow.png) no-repeat right white;
}
.select-container select:focus {
	border: 1px solid #3b3b3b;
	outline: 0;
	text-shadow: 0 0 0 #000;
}
@-moz-document url-prefix() {
	.select-container select:focus {
		color: rgba(0,0,0,0);
	}
}
.select-container select{
	width: 100%;
	border: 1px solid #bababa;
	background: transparent;
	border-radius: 0;
	-webkit-appearance: none;
	-moz-appearance: none;
	-appearance: none;
	text-indent: 0.01px;
	text-overflow: '';
	font-size: 14px;
	padding: 6px 22px 8px 8px;
	height: 35px;
	outline: 0;
	vertical-align: top;
}
.select-container select option {
	border: 1px solid;
}
.select-container select::-ms-expand {
	display: none;
}
.select-container select:disabled {
	background-color: #ebebe4;
}
textarea {
	vertical-align: top;
	border: 1px solid #bababa;
	resize: none;
	font-size: 14px;
	padding: 7px 5px 5px 11px;
}
textarea:focus {
	border: 1px solid #3b3b3b;
	outline: 0;
}
textarea:disabled {
	background-color: #ebebe4;
}

#scroll-to-top-btn {
	display: none;
	position: fixed;
	bottom: 60px;
	right: 30px;
	z-index: 99;
	border: none;
	outline: none;
	background-color: #31c4f2;
	color: white;
	cursor: pointer;
	padding: 15px;
	border-radius: 5px;
	font-size: 13px;
	box-shadow: 2px 2px 8px rgba(50, 50, 50, 0.75)
}

#float_msg .text {
	background: #a00000;
	color: white;
	line-height: 28px;
	margin: 3px 0px;
	padding: 0px 10px;
	font-size: 14px;
	border-radius: 2px;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	display: inline-block;
	box-shadow: 4px 4px 8px #262626;
	-webkit-box-shadow: 4px 4px 8px #262626;
	-moz-box-shadow: 4px 4px 8px #262626;
}
#float_msg .arrow {
	position: relative;
	top: 3px;
	bottom: auto;
	border-style: solid;
	border-width: 8px 8px 8px 0px;
	border-color: transparent #a00000;
	display: inline-block;
}

/* mail to link */
.mailto {
	text-decoration: none;
	color: #0b80a6;
}

/*Buttons*/
.black-btn:focus,
.collapse-btn:focus {
	outline:0;
}
.black-btn[tabindex="0"]:focus {
	outline: 0;
	color: black;
	background: white;
}
.black-btn {
	background-color: black;
	border: 1px solid black;
	height: 38px;
	color: white;
	font-size: 14px;
	line-height: 15px;
	/* text-shadow: 1px 1px 1px #868686; */
	letter-spacing: 1px;
	cursor: pointer;
	position: relative;
	border-radius: 0;
	padding: 1px 6px;
}
.small-btn {
	font-size: 12px;
	line-height: 14px;
	height: 26px;
	vertical-align: top;
	white-space: nowrap;
	padding-left: 5px;
	padding-right: 5px;
}

.btn:disabled {
	background-color: #bbbbbb;
	border: 1px solid #bbbbbb;
	/* text-shadow: 1px 1px 1px black; */
	cursor: default;
}
/* For old versions of IE, must match above */
.btn.disabled,
.btn[disabled],
.btn[disabled='disabled'] {
	background-color: #bbbbbb;
	/* text-shadow: 1px 1px 1px black; */
	cursor: default;
}

#search_btn,
.inl-search-btn {
	height: 35px;
	width: 36px;
	display: inline-block;
	vertical-align: top;
	background-image: url("/static/img/search.png");
	background-repeat: no-repeat;
	background-position: center;
}

#search_btn:focus,
.inl-search-btn:focus {
	background-image: url("/static/img/search_invert.png") !important;
	background-repeat: no-repeat !important;
	background-position: center !important;
}

.link-btn {
	color: #0a7396;
	text-decoration: none;
	cursor: pointer;
	background: none;
	border: none;
}
.link-btn:focus {
	outline:0;
}

/* status */
#status_msg {
	text-align: center;
	line-height: 35px;
	background-color: #ffbb44;
	font-size: 14px;
	letter-spacing: 1px;
}
#status_msg a {
	color: #0a7396;
	text-decoration: none;
}

/* float */
.pull-left {
	float: left;
}
.pull-right {
	float: right;
}
.clearfix {
	clear: both;
}

/* page */
.page-title .title {
	font-size: 24px;
	text-shadow: 1px 1px 1px #cccccc;
}
.page-title .sep {
	padding: 0;
	border: 0;
	margin: 20px 0 20px 0;
	height: 1px;
	background-color: black;
}

/* table */
table.styled-table {
	width: 100%;
	border: 0px;
	border-collapse: collapse;
	table-layout: fixed;
}

table.styled-table tr th {
	height: 32px;
	background-color: black;
	color: white;
	text-align: center;
	vertical-align: middle;
	font-size: 14px;
	line-height: 17px;
}
table.styled-table tr td {
	height: 36px;
	text-align: center;
	padding-left: 5px;
	padding-right: 5px;
	vertical-align: middle;
	font-size: 12px;
	line-height: 17px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
table.styled-table.showfull tr td {
	overflow: initial !important;
	white-space: normal !important;
	word-wrap: break-word !important;
}
table.styled-table.ganttchartExpanded.showfull tr td {
	overflow: hidden !important;
	white-space: nowrap !important;
	word-wrap: inherit !important;
}
table.styled-table tr td {
	position: relative;
	border-bottom: 1px dotted #d4d4d4;
}
table.styled-table tr td + td {
	border-left: 1px dotted #d4d4d4;
}
table.styled-table tr td.col_category_label + td.col_op {
	border-left: 0;
	border-top: 1px solid #d4d4d4;
	border-bottom: 1px solid #d4d4d4;
}
table.styled-table .row_data:nth-child(odd) {
	background-color: #fcfcfc;
}
table.styled-table .row_data:nth-child(even) {
	background-color: white;
}
table.styled-table .row_data.odd_visible {
	background-color: #fcfcfc !important;
}
table.styled-table .row_data.even_visible {
	background-color: white !important;
}
table.styled-table .row_data.category_row,
table.styled-table .row_data.item_category_subtotal {
	background-color: #f0f0f0;
}

table.styled-table .row_data td.col_category_label {
	font-size: 13px;
	text-align: left;
	padding-left: 12px;
	font-weight: bold;
	border-top: 1px solid #d4d4d4;
	border-bottom: 1px solid #d4d4d4;
}
table.styled-table .col_cb input[type="checkbox"] {
	margin-top: 6px;
}
table.styled-table .row_data td div.item_icon {
	background-repeat: no-repeat;
	background-position: center;
	background-size: 70%;
	position: absolute;
	top: 0;
	width: 20px;
	height: 100%;
}
table.styled-table .row_data td div.file_icon {
	background-image: url(/static/img/document_black.svg);
}
table.styled-table .row_data td div.lock_icon {
	background-image: url(/static/img/lock_black.svg);
}
table .col_icons {
	width: 0px;
}
table.styled-table td.col_icons {
	overflow: visible;
}
table.styled-table td.col_icons + td {
	border-left: 0;
}
table.styled-table .row_data.row-popup td div.item_icon1,
table.styled-table .row_data td div.item_icon1{
	left: -55px;
}
table.styled-table .row_data.row-popup td div.item_icon2,
table.styled-table .row_data td div.item_icon2{
	left: -75px;
}
table.styled-table .row_data.row-popup td div.item_icon3,
table.styled-table .row_data td div.item_icon3{
	left: -95px;
}
table.styled-table.no-cb .row_data.row-popup td div.item_icon1,
table.styled-table.no-cb .row_data td div.item_icon1{
	left: -22px;
}
table.styled-table.no-cb .row_data.row-popup td div.item_icon2,
table.styled-table.no-cb .row_data td div.item_icon2{
	left: -42px;
}
table.styled-table.no-cb .row_data.row-popup td div.item_icon3,
table.styled-table.no-cb .row_data td div.item_icon3{
	left: -62px;
}

/* General Common Formatting */
.form-box-container {
	page-break-inside: avoid;
	margin-bottom: 25px;
}
.form-box-top-line {
	border-top: 3px solid black;
	height: 0px;
}
.form-box-top-line + .form-box {
	border-top-width: 0px;
}
.form-box {
	border: 1px solid #d4d4d4;
}
.form-box.titleless {
	border: 1px solid #d4d4d4;
}
.form-box-title {
	border-bottom: 1px solid #d4d4d4;
	background-color: white;
	height: 50px;
	line-height: 50px;
	padding-left: 25px;
	padding-right: 25px;
}
.form-box-title .collapse-btn {
	vertical-align: top;
	border: 0;
	margin: 0;
	padding: 0;
	background: transparent;
	float: right;
	line-height: 50px;
	cursor: pointer;
}
.form-box-title-text {
	display: inline-block;
	color: #262626;
	font-size: 15px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	font-weight: bold;
	width: 90%;
}
.form-box-content {
	background-color: #ececec;
	padding: 15px 25px;
}

/* Auto-complete */
ul.ui-autocomplete {
	overflow-y: auto;
	overflow-x: hidden;
	max-height: 200px;
}
ul.ui-autocomplete .ui-menu-item {
	font-size: 12px;
	height: 30px;
}
ul.ui-autocomplete .ui-menu-item a {
	line-height: 30px;
}
.ac-item-a {
	font-size: 10px;
	float: right;
	line-height: 13px;
	padding-top: 8px;
	color: #0b80a6;
}
.ac-item-a:hover {
	border-bottom: 1px dotted;
}
.ac-item-lb {
	display: inline-block;
	font-size: 12px;
	line-height: 30px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	width: auto;
	max-width: 85%;
	color: #0b80a6;
}
.acil-long {
	max-width: 100%;
}

/* jquery datepicker */
.ui-widget {
	font-family: "微軟正黑體","Microsoft JhengHei","新細明體","PMingLiU","細明體","MingLiU","標楷體","DFKai-sb","Arial",sans-serif;
}
.ui-datepicker {
	width: 259px;
}
.ui-datepicker .ui-datepicker-title {
	line-height: 27px;
	font-size: 14px;
}
.ui-datepicker .ui-datepicker-prev,
.ui-datepicker .ui-datepicker-next {
	width: 30px;
	height: 30px;
}
.ui-datepicker th,
.ui-datepicker td {
	font-size: 13px;
}

/* jquery timepicker plugin */
.ui-datepicker .ui-timepicker-div .ui_tpicker_time_label {
	font-size: 14px;
	line-height: 27px;
	padding-top: 0px;
}
.ui-datepicker .ui-datepicker-buttonpane button {
	background: black;
	color: white;
	text-shadow: 1px 1px 1px #868686;
	font-size: 12px;
	line-height: 14px;
	border: 0;
	height: 26px;
	width: 75px;
	letter-spacing: 1px;
}
.ui-datepicker .ui-timepicker-oneLine select {
	font-size: 14px;
	height: 27px;
	outline: 0;
}
.ui-datepicker .ui-timepicker-oneLine select:focus {
	border: 1px solid black;
}

/* Bootstrap multiselect dropdown */
.multiselect-container .multiselect-option .form-check {
    padding: 0 5px 0 5px;
}

button.multiselect.dropdown-toggle {
	border-radius: 0;
	border: 1px solid #bababa;
	height: 35px;
	outline: 0px;
	padding-left: 0px;
}
button.multiselect.dropdown-toggle:disabled {
	background-color: #ebebe4;
}
button.multiselect.dropdown-toggle:focus {
	border: 1px solid black;
}
button.multiselect.dropdown-toggle span.multiselect-selected-text {
	display:block;
	text-align: left;
	padding-left: 10px;
}
.select-container .btn-group {
	width: 100%;
}
.multiselect-container .multiselect-option {
	line-height: 30px;
	padding: 0;
}
.multiselect-container .multiselect-option label {
	padding-left: 25px;
}
.multiselect-container .multiselect-option input[type='checkbox'] {
	margin-top: 10px;
}

/* Interaction */
.interaction-summary-subject {
	font-weight: bold;
}
.interaction-summary-snipet {
	color: #999999;
}

.endorse-stamp {
	display: inline-block;
	color: #aa0000;
	font-weight: bold;
	border: 1px solid;
	padding: 2px 3px;
	margin-bottom: 5px;
	border-radius: 4px;
	white-space: nowrap;
	line-height: 20px;
}
.require-endorse-stamp {
	display: inline-block;
	color: #555555;
	font-weight: bold;
	border: 1px solid;
	padding: 2px 3px;
	margin-bottom: 5px;
	border-radius: 4px;
	white-space: nowrap;
	line-height: 20px;
}

table .endorse-stamp {
	margin-bottom: 0;
}

table .col_divider {
	width: 4px;
	position: relative;
	cursor: pointer;
}
table td.col_divider {
	background-color: #c4c4c4;
	border-left: 1px solid #c4c4c4 !important;
	border-right: 1px solid #c4c4c4 !important;
}
button.divider_btn {
	width: 15px;
	padding: 0;
	font-size: 10px;
	position: absolute;
	top: 7px;
	cursor: pointer;
}
