/***** Layout Begin *****/
html {
	height: 100%
}

body {
	height: 100%;
	background-color: #fff;
}

#layout {
	min-height:100%;
	/*
	position:relative;
	padding-bottom: 100px;
	*/
}

/*
#layout_footer {
	position:absolute;
	bottom:0px;
	width:100%;
}
*/

#map_canvas {
	height: 100%;
}

body, td, th, a {
	font-family: '黑體','微軟正黑體','adobe-clean','HelveticaNeue-Light','Helvetica','Arial', "\5b8b\4f53", 'sans-serif' !important;
}

a:hover {text-decoration:none;}

img{border-style:none;}

form, table{
	padding:0;
	margin:0;
	border:0;
}

.kt-block-c-title {
	height: 50px;
}
.kt-block-c-title .kt-block-title {
	line-height: 50px;
	font-size: 26px;
	font-weight: bold;
}

@media (max-width: 768px) {
	.kt-block-c-title .kt-block-title {
		line-height: 36px;
		font-size: 18px;
	}
}

.toolbar {
	padding-top: 10px;
}

/***** Layout End *****/
/***** Style Begin *****/
/* Container */
.kt_dialog {z-index:0 !important;}
.kt_dialog .ui-dialog-titlebar {
	padding:3px 0px 3px 6px !important;
	font-size:13px;
}
.kt_accordion .ui-accordion-header {
	padding:0px 0px 0px 6px !important;
	font-size:13px;
}
.ui-button-text{
	font-size:12px;
}
.ui-button-text-only .ui-button-text {
	padding:0.2em 1em !important;
}
.ui-dialog .ui-dialog-content, .ui-accordion .ui-accordion-content {
	padding:0.2em !important;
}

/* Filter */
#filter td{
	font-size:12px;
}

/* Cell Editable */
.cell_edit { border-width:0px; cursor:pointer; background-color:transparent; }
.cell_edit:hover { background-color:#FFF; }
.cell_edit:focus { border-width:1px; }
.cell_edit:blur { border-width:0px; }

.over:hover {
	background-color: #FFD700;
}

/* Table form */
.table-form th {
	text-align: right;
	white-space: nowrap;
	border-width: 0px;
}

.table-form td {
	border-width: 0px;
	border-bottom: 1px dotted #ccc;
	padding-bottom: 0px;
}

/* Table noborder */
.table-noborder td {
	border-width: 0px;
}

table.inner th {
	background-color: #fff;
	border-width: 0px;
	width: 80px;
	vertical-align: middle;
	text-align: right;
	white-space: nowrap;
	padding-right: 0px;
	color: #800;
}

table.inner td {
	padding-right: 10px;
	border-width: 0px;
	white-space: nowrap;
}

/* Gallery */
img.small {
	background:none repeat scroll 0 0 white;
	border:1px solid #BBBBBB;
	margin:7px 7px 0px 7px;
	padding:5px;
}

/* Form Validation */
div.error { display:none; }
input:focus { border:1px dotted black; }
input.error { border:1px dotted red; }
table.form label.error, label.error {
	color:red;
}

/***** Theme Begin *****/
.box_shadow {
	border: solid 1px #CCC;
	-moz-box-shadow: 1px 1px 5px #999; /* Firefox */
	-webkit-box-shadow: 1px 1px 5px #999; /* Safari, Chrome */
	box-shadow: 1px 1px 5px #999; /* Opera 10.5 + */
}

.center {
	margin-left:auto;
	margin-right:auto;
	text-align:center;
}

input[readonly] {    /* FF, Chrome, Safari */
	border-width: 0px;
	border-width:expression(this.readOnly==true?"0px":"1px");	/* IE */
}
   
.truncate {
	overflow: hidden;
	text-overflow: ellipsis;
	-o-text-overflow: ellipsis;
	white-space: nowrap;
}

/***** Theme End *****/

/* datetime picker */
.ui-timepicker-div .ui-widget-header { margin-bottom: 8px; }
.ui-timepicker-div dl { text-align: left; }
.ui-timepicker-div dl dt { height: 25px; margin-bottom: -25px; }
.ui-timepicker-div dl dd { margin: 0 10px 10px 65px; }
.ui-timepicker-div td { font-size: 90%; }
.ui-tpicker-grid-label { background: none; border: none; margin: 0; padding: 0; }

/* jQuery UI */
.tinymce-toolbar-float {
	background-color: #F0F0EE !important;
	position: fixed !important;
	top:50px;
}

/* Bootstrap tab border */
.tabs-top .tab-content {
	border-left: 1px solid #ddd;
	border-right: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
}
.tab-content {
	padding: 10px;
}
.nav-tabs {
	margin-bottom: 0;
}

/* Bootstrap hover dropdown menu */
.sidebar-nav {
    padding: 9px 0;
}
.dropdown-menu .sub-menu {
    left: 100%;
    position: absolute;
    top: 0;
    visibility: hidden;
    margin-top: -1px;
}
.dropdown-menu li:hover .sub-menu {
    visibility: visible;
}
.dropdown:hover .dropdown-menu {
    display: block;
}
.nav-tabs .dropdown-menu, .nav-pills .dropdown-menu, .navbar .dropdown-menu {
    margin-top: 0;
}
.navbar .sub-menu:before {
    border-bottom: 7px solid transparent;
    border-left: none;
    border-right: 7px solid rgba(0, 0, 0, 0.2);
    border-top: 7px solid transparent;
    left: -7px;
    top: 10px;
}
.navbar .sub-menu:after {
    border-top: 6px solid transparent;
    border-left: none;
    border-right: 6px solid #fff;
    border-bottom: 6px solid transparent;
    left: 10px;
    top: 11px;
    left: -6px;
}

@media (min-width: 1200px) {
	.container {
		max-width: 1020px;
	}
}

/* Panel */
.panel-heading {
	padding: 5px 10px;
	font-weight: bold;
}

/* Table */
.table th {
	white-space: nowrap;
}

/* Tabs */
.tab-content {
	overflow: hidden;
	height: auto;
}

.nav-tabs > li.active > a {
	color: #d4521e;
	font-weight: bold;
}

/* Form */
select, textarea, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"], .uneditable-input {
	color: #000;
}
form.form-horizontal .form-group label {
	text-align: right;
}
form.form-horizontal .form-group label.control-label {
	padding-top: 7px;
}
.form-horizontal .help-block {
	margin-top: 2px !important;
	margin-bottom: 10px;
	color: #888;
	font-size: 12px;
}

.breadcrumb {
	margin-bottom: 0px;
	margin-top: 10px;
	background-color: #fff;
}

#f_search.alert {
	padding: 5px;
}

/* Sidenav for Docs
-------------------------------------------------- */
.bs-docs-sidenav {
	width: 228px;
	background-color: #fff;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
	-webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, .065);
	-moz-box-shadow: 0 1px 4px rgba(0, 0, 0, .065);
	box-shadow: 0 1px 4px rgba(0, 0, 0, .065);
}

/* Chevrons */
.bs-docs-sidenav .icon-chevron-right {
	float: right;
	margin-top: 2px;
	margin-right: -6px;
	opacity: .25;
}

.bs-docs-sidenav>li>a:hover {
	background-color: #f5f5f5;
}

.bs-docs-sidenav a:hover .icon-chevron-right {
	opacity: .5;
}

.bs-docs-sidenav .active .icon-chevron-right,.bs-docs-sidenav .active a:hover .icon-chevron-right
	{
	background-image: url(../img/glyphicon-halflings-white.png);
	opacity: 1;
}

.bs-docs-sidenav.affix {
	top: 80px;
}

.bs-docs-sidenav.affix-bottom {
	position: absolute;
	top: auto;
	bottom: 270px;
}

/* Sections
-------------------------------------------------- */
/* padding for in-page bookmarks and fixed navbar */
section {
	padding-top: 30px;
}

section>.page-header,section>.lead {
	color: #5a5a5a;
}

section>ul li {
	margin-bottom: 5px;
}

/* Separators (hr) */
.bs-docs-separator {
	margin: 40px 0 39px;
}

/* Others
-------------------------------------------------- */

.content, #search {
	clear: both;
}

.navbar-brand {
	white-space: nowrap;
	max-width: none;
}

.number, .digits, .dateISO {
	width: 120px;
}

.navbar.kt-block-c-title {
	background-color: #fff;
}

.navbar.kt-block-c-title .navbar-brand {
	font-size: 32px;
}

.photo_box {
	margin-right: 10px;
}

/*responsive video*/
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px; height: 0; overflow: hidden;
}
 
.video-container iframe,
.video-container object,
.video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Disable to show url when printing. */
@media print {
	.noprint {display:none !important;}
	a:link:after, a:visited:after {  
		display: none;
		content: "";    
	}
}