/* Technetium PHP Framework version 2.8
   Author: Tony Leung
   E-mail: info@technetium.info */

@charset "utf-8";
@import url(font.css);

/* html tags */
*, *:before, *:after {
	box-sizing:border-box;
}
html {
	height:100%;
}
body {
	height:100%;
	min-height:100%;
	max-height:999em;
	margin:0;
	padding:0;
	background:#FFFFFF;
	font-family:"Open Sans", Arial, "微軟正黑體", "Microsoft JhengHei", Helvetica, sans-serif;
	font-size:13px;
	-webkit-text-size-adjust:none;
	color:#222222;
}
aside, footer, header, hgroup, nav, section, artivle, iframe {
	display:block;
}
article {
	margin:0 0 30px 0;
}
article:last-child {
	margin-bottom:0;
}
iframe {
	border:none;
}
h1, h2, h3, h4, h5, h6 {
	margin:0 0 10px 0;
	font-weight:400;
}
h1 {
	font-size:26px;
}
h2 {
	font-size:20px;
}
h3 {
	font-size:16px;
}
h4 {
	font-size:12px;
	text-decoration:underline;
}
h5 {
}
h6 {
}
p {
	margin:0 0 0.8em 0;
	line-height:1.3em;
}
ol, ul {
	margin:0 0 0.8em 0;
	padding:0 0 0 20px;
}
li {
	margin:0 0 5px 0;
}
li ol, li ul {
	margin:5px 0 0 0;
}
li ol {
	list-style-type:lower-latin;
}
li ol ol {
	list-style-type:lower-roman;
}
dl {
	margin:0 0 0.8em 0;
}
h1:last-child, h2:last-child, h3:last-child,
h4:last-child, h5:last-child, h6:last-child,
p:last-child,
ol:last-child, ul:last-child, dl:last-child {
	margin-bottom:0;
}
a {
	color:#707070;
	text-decoration:none;
	outline:none;
	-webkit-transition:color 0.2s;
	-moz-transition:color 0.2s;
	transition:color 0.2s;
}
a:hover {
	color:#333333;
	text-decoration:underline;
}
a:focus {
	outline:none;
}
a * {
	cursor:pointer;
}
a[id][name] {
	float:left;
}
img {
	border:none;
}
article img {
	max-width:100%;
}
hr, div.hr {
	margin:15px 0;
	border:none;
	border-top:1px solid #000000;
}
sup {
	position:relative;
	top:-4px;
	vertical-align:baseline;
}
sub {
	position:relative;
	top:2px;
	vertical-align:baseline;
}
blockquote {
	margin:12px 0 12px 25px;
	padding:5px 5px 5px 15px;
	border-left:5px solid #333333;
	display:block;
}
::selection {
	background:#454545;
	color:#FFFFFF;
}
::-moz-selection {
	background:#454545;
	color:#FFFFFF;
}


/* form elements */
label {
	cursor:pointer;
}
input, textarea, select, button {
	height:28px;
	overflow-y:auto;
	box-shadow:0 1px 1px rgba(0, 0, 0, 0.1) inset;
	padding:4px 10px;
	border:1px solid #DDDDDD;
	background:#FFFFFF;
	font-family:inherit;
	font-size:13px;
	color:#222222;
	line-height:20px;
	vertical-align:top;
}
input[type=radio], input[type=checkbox] {
	width:auto;
	height:auto;
	margin:0 4px 0 0;
	padding:0;
	border:none;
	background:none;
	text-shadow:none;
}
textarea {
	height:200px;
	resize:vertical;
}
button {
	box-shadow:none;
}
::-ms-input-placeholder {
	color:#999999;
}
::-moz-placeholder {
	color:#999999;
}
::-webkit-input-placeholder {
	color:#999999;
}

.form-section {
	margin:15px 0;
}
.form-section:first-child {
	margin-top:0;
}

.form-body {
	position:relative;
}

.form-item {
	margin:0 0 8px 0;
}
.form-item,
.form-item .input-label,
.form-item .input-field,
.form-item .input-static {
	overflow:auto;
	position:relative;
}
.form-item:after,
.form-item .input-label:after,
.form-item .input-field:after,
.form-item .input-static:after {
	content:'';
	clear:both;
	display:block;
}
.form-item .input-label,
.form-item .input-static {
	padding:4px 0;
	line-height:20px;
}
.form-item .input-field {
	margin:0 0 4px 0;
}
.form-item .input-error {
	color:#D00000;
}
.form-item .required:before {
	content:' *';
	color:#D00000;
}
.form-item .has-error {
	border-color:#D00000;
}
.form-item .g-recaptcha > div {
	margin:0 auto;
}

.form-row:after {
	content:'';
	clear:both;
	display:block;
}
.form-row .form-item {
	width:40%;
	float:left;
	margin:0 20px 0 0;
}

.form-actions {
	margin:20px 0;
	clear:both;
	text-align:center;
}
.form-actions:last-child {
	margin-bottom:0;
}
.form-actions button {
	margin:0 10px;
}

.form-horizontal .form-item .input-label {
	width:116px;
	float:left;
	margin:0 0 10px 0;
}
.form-horizontal .form-item .input-field,
.form-horizontal .form-item .input-static {
	margin:0 0 0 120px;
}

.button {
	width:auto;
	height:28px;
	overflow:visible;
	box-shadow:none;
	padding:0 10px;
	border:0;
	background:#DDDDDD;
	font-family:"Open Sans", Arial, "微軟正黑體", "Microsoft JhengHei", Helvetica, sans-serif;
	font-weight:600;
	color:#222222;
	line-height:15px;
	text-decoration:none;
	vertical-align:middle;
	white-space:nowrap;
	cursor:pointer;
	display:inline-block;
}
.button::-moz-focus-inner {
	padding:0;
	border:0;
}
.button.default {
	background:#DDDDDD;
	color:#222222;
}
.button.default:hover {
	background:#CCCCCC;
}

.alert {
	margin:0 0 20px 0;
	padding:12px 12px 12px 32px;
	border-width:1px;
	border-style:solid;
	background-position:12px 12px;
	background-repeat:no-repeat;
}
.alert.alert-success {
	border-color:#D6E9C6;
	background-color:#DFF0D8;
	background-image:url(../../images/icon-16x16/success.png);
	color:#008000;
}
.alert.alert-success a {
	color:#008000;
	text-decoration:underline;
}
.alert.alert-error {
	border-color:#EED3D7;
	background-color:#F2DEDE;
	background-image:url(../../images/icon-16x16/error.png);
	color:#B94A48;
}
.alert.alert-error a {
	color:#B94A48;
	text-decoration:underline;
}


/* shared classes */
.float-clear {
	height:0;
	overflow:hidden;
	clear:both;
}
.single-line-spacing {
	height:0;
	overflow:hidden;
	padding:0.5em;
}
.double-line-spacing {
	height:0;
	overflow:hidden;
	padding:1em;
}

.underline {
	text-decoration:underline;
}

.align-left {
	text-align:left !important;
}
.align-center {
	text-align:center !important;
}
.align-right {
	text-align:right !important;
}
.align-justify {
	text-align:justify !important;
}
.nowrap {
	white-space:nowrap;
}
.remark {
	font-size:0.9em;
	color:#707070;
	line-height:normal;
}
.remark a {
	color:inherit;
}

.box-shadowed {
	overflow:hidden;
	-webkit-box-shadow:0 0 8px 0 rgba(0,0,0,0.3);
	-moz-box-shadow:0 0 8px 0 rgba(0,0,0,0.3);
	box-shadow:0 0 8px 0 rgba(0,0,0,0.3);
	border-radius:5px;
	background:#FFFFFF;
}

.mobile {
	display:none;
}

/* website framework */
.page-wrapper {
	width:100%;
	min-height:100%;
	overflow:hidden;
	position:relative;
	margin:0 auto;
}

.topbar {
	position:relative;
	border-bottom:1px solid #F5F5F5;
	color:#A0A0A0;
	line-height:26px;
}
.topbar .sns {
	position:relative;
	float:right;
	right:50%;
	margin:0 -490px 0 0;
	padding:0 20px;
	list-style:none;
}
.topbar .sns li {
	width:28px;
	float:left;
	margin:0;
}
.topbar .sns li a {
	font-size:16px;
	color:inherit;
	text-align:center;
	display:block;
}
.topbar .sns li a:hover {
	color:#FFFFFF;
	text-decoration:none;
}
.topbar .sns li a .fa {
	width:100%;
	line-height:28px;
	display:block;
}
.topbar .sns li a:hover .fa-facebook {
	background:#677FB1;
}
.topbar .sns li a:hover .fa-twitter {
	background:#04A5E9;
}
.topbar .sns li a:hover .fa-google-plus {
	background:#E14544;
}
.topbar .sns li a:hover .fa-weibo {
	background:#E6162D;
}
.topbar .sns li a:hover .fa-instagram {
	background:#A67A5E;
}

#page-header {
	width:980px;
	position:relative;
	margin:0 auto;
}

.page-header {
	position:relative;
}
.page-header .logo {
	float:left;
}
.page-header .logo img {
	padding:10px 15px;
	display:block;
}
.page-header #site-search {
	position:absolute;
	bottom:10px;
	right:20px;
	display:table;
}
.page-header #site-search input {
	width:250px;
	float:left;
}
.page-header #header-links {
	float:right;
}
.page-header #nav {
	width: 100%;
	height:36px;
	margin:0 auto;
	padding:0;
	border-top:1px solid #7A7A7A;
	background:#575757;
	background:-moz-linear-gradient(#636363, #4C4C4C);
	background:-o-linear-gradient(#636363, #0a0a0a);
	background:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#636363), to(#4C4C4C));
	background:-webkit-linear-gradient(#636363, #4C4C4C);
	list-style:none;
}
.page-header #nav li {
	height:100%;
	float:left;
	margin:0;
	border-right:1px solid #7A7A7A;
}
.page-header #nav li a {
	float:left;
	padding:9px 20px;
	color:#FFFFFF;
	line-height:18px;
	text-decoration:none;
	text-transform:uppercase;
}
.page-header #nav li a:hover,
.page-header #nav li.current a {
	color:#F4D306;
	text-decoration:none;
}

.page-content {
	width:980px;
	min-height:450px;
	margin:0 auto;
	position:relative;
	padding:0 0 28px 0;
}
.page-content:after {
	content:'';
	clear:both;
	display:block;
}

.page-footer {
	width:100%;
	position:absolute;
	bottom:0;
	padding:5px 0;
	background:#4A5866;
	color:#BBBBBB;
}
.page-footer .footer-links {
	position:relative;
	float:left;
	left:50%;
	margin:0 0 0 -490px;
	padding:0 20px;
	list-style:none;
}
.page-footer .footer-links li {
	position:relative;
	float:left;
	margin:0;
	padding:0 1px 0 0;
	line-height:18px;
	display:inline;
}
.page-footer .footer-links li:after {
	content:'';
	position:absolute;
	top:3px;
	bottom:3px;
	right:0;
	border-right:1px solid #999999;
}
.page-footer .footer-links li:last-child:after {
	display:none;
}
.page-footer .footer-links li a {
	margin:0 12px;
	color:inherit;
	display:inline-block;
}
.page-footer .footer-links li:first-child a {
	margin-left:0;
}
.page-footer .footer-links li:last-child a {
	margin-right:0;
}
.page-footer .copyright {
	position:relative;
	float:right;
	right:50%;
	margin:0 -490px 0 0;
	padding:0 20px;
	line-height:18px;
}

#primary {
	padding:20px;
}


/* page specific styles */
