html {
    position: relative;
    min-height: 100%;
    color: #303030;
}
body {
	font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif, "微軟正黑體", "黑體" !important;
	padding-bottom: 60px;
	font-weight: normal; // lighter
}
html {
    font-size: 100% !important;
}
body {
    font-size: 100% !important;
}
body.font-s {
    font-size: 16px !important;
}
body.font-s .btn,
body.font-s blockquote {
    font-size: 14px !important;
}
body.font-s .btn-lg {
    font-size: 16px !important;
}
body.font-m {
    font-size: 17px !important;
}
body.font-m .btn,
body.font-m blockquote {
    font-size: 15px !important;
}
body.font-m .btn-lg {
    font-size: 17px !important;
}
body.font-l {
    font-size: 18px !important;
}
body.font-l .btn,
body.font-l blockquote  {
    font-size: 16px !important;
}
body.font-l .btn-lg {
    font-size: 18px !important;
}
p, .content li, th, td,
h3, h4, h5, h6 {
    letter-spacing: 1px;
    text-align: left;
}
p, .content li, th, td {
    line-height: 1.5em;
    font-size: 0.875em;
}
/*header {
    padding-top: 0px !important;
    height: 100%;
    /*
    background: url(../images/bg.jpg) no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    */
/*}
/*header .lang-link a{
    font-size: 12px;
}*/
header {
    padding-top: 0px !important;
}
header .header-top {
/*
    position: fixed;
    z-index: 999;
    top: 0;
*/
    width: 100%;
    padding: 15px 0 15px;
    background-color: rgba(255, 255, 255, 0.85);
    -webkit-transition: background-color 1s ease-out, padding 1s ease-out;
    -moz-transition: background-color 1s ease-out, padding 1s ease-out;
    -o-transition: background-color 1s ease-out, padding 1s ease-out;
    transition: background-color 1s ease-out, padding 1s ease-out;
}
header .header-top.scroll-down {
    background-color: rgba(255, 255, 255, 1) !important;
/*         padding: 10px 0 10px !important; */
}
header .xs-header-top.scroll-down {
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    right: 0;
}
header .xs-header-top.scroll-down .xs-header-logo {
    display: none;
}
header .header-line {
    height: 10px;
    background: #ED1C24;
}
header .lang-link a {
    font-size: 0.75em;
}
header h1 {
    font-size: 1.45em;
    letter-spacing: 0.2em;
    margin-top: 7px;
    display: block;
}
header h1 a {
    color: #6EC1B1 !important;
    text-decoration: none !important;
}
header h1 a:hover,
header h1 a:active {
    color: #DF4949 !important;
    text-decoration: none !important;
}
header h1 img {
    height: 1.2em;
    vertical-align: bottom;
    margin-right: 5px;
}
header .logo img {
    max-height: 80px !important;
}
@media (max-width: 767px) {
    header .header-top {
        height: auto !important;
    }
    header h1 {
        letter-spacing: inherit !important;
        font-size: 1.2em !important;
        padding-left: 10px;
    }
}
.header-spacer{
  height: 1px;
}

.top-menu{
    padding-top: 15px;
}
.nav-image {
    position: relative;
    width: 100%;
}
.nav-text {
    position: absolute;
    top: 200px;
    left: 0;
    width: 100%;
}
.content {
    padding-bottom: 0px !important;
}
.content h1 {
    margin-bottom: 30px;
}
.content li {
    padding-bottom: 0;
}
.site-index h2 {
    margin: 0 0 -2px 0;
    padding-bottom: 5px;
    display: inline-block;
    border-bottom: 2px solid #72c02c;
}
.site-index h2  i{
    color: #72c02c;
}
.site-index .headline {
    display: block;
    margin: 25px 0 20px 0;
    border-bottom: 1px dotted #e4e9f0;
}
.site-index .project-item{
    padding:5px;
}
.site-index .project-item .thumbnail-style {
    padding: 7px;
    position: relative;
    margin-bottom: 11px;
}
.thumbnail-style a.btn-more {
    left: -5px;
    bottom: 10px;
    color: #fff;
    padding: 1px 6px;
    position: absolute;
    background: #72c02c;
    display: inline-block;
}
.site-index .project-item  h4{
    color: #666666;
    margin: 10px 0px;
}
.site-index .project-item ul {
    list-style: none;
    padding:0px;
    margin:0;
}
.site-index .project-item li {
    font-size: 0.75em;
    padding-left: 15px;
    text-indent: -10px;
    padding-bottom: 5px;
}
.site-index .project-item li:before {
    content: "•";
    color: #006837;
    position: relative;
    left: -5px;
}
.site-index .project-item  h4{
    color: #666666;
    margin: 10px 0px;
}
.site-index .client-logo img{
    padding:10px;
    max-width: 100px;
}
.footer {
    margin: 0;
    padding: 10px 0px !important;
    position: absolute;
    bottom: 0;
    width: 100%;
    background: #a5b700 !important;
    font-size: 0.75em !important;
    line-height: 25px;
}
.footer a,
.footer a:hover {
    color: #333 !important;
    text-decoration: none !important;
}
.footer .copyright {
    text-align: center;
}
@media (max-width: 767px) {
    .footer,
    .footer .copyright {
        text-align: center !important;
    }
}
.kv-grid-table a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}
.kv-grid-table a.asc:after {
    content: /*"\e113"*/ "\e151";
}
.kv-grid-table a.desc:after {
    content: /*"\e114"*/ "\e152";
}

@keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Firefox < 16 */
@-moz-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Internet Explorer */
@-ms-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Opera < 12.1 */
@-o-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.lines-button {
  padding: 16px 8px;
  transition: .3s;
  cursor: pointer;
  user-select: none;
  border-radius: 0;
  display: inline-block;
  margin: 0;
  border: none;
  background: none;
}
.lines-button span {
  display: block;
}
.lines-button:hover {
  opacity: 1;
}
.lines-button:active {
  transition: 0;
}
.lines {
  display: inline-block;
  width: 30px;
  height: 3px;
  background: #FFF;
  border-radius: 0;
  transition: 0.6s;
  position: relative;
}
.lines:before, .lines:after {
  display: inline-block;
  width: 30px;
  height: 3px;
  background: #FFF;
  border-radius: 0;
  transition: 0.6s;
  position: absolute;
  left: 0;
  content: '';
  -webkit-transform-origin: 0.28571rem center;
  transform-origin: 0.28571rem center;
}
.lines:before {
  top: 9px;
}
.lines:after {
  top: -9px;
}

.lines-button:hover .lines:before {
  top: 10px;
}
.lines-button:hover .lines:after {
  top: -10px;
}

.lines-button.open {
  -webkit-transform: scale3d(0.8, 0.8, 0.8);
  transform: scale3d(0.8, 0.8, 0.8);
}

.lines-button.arrow.open .lines:before,
.lines-button.arrow.open .lines:after {
  top: 0;
  width: 2.22222rem;
}
.lines-button.arrow.open .lines:before {
  -webkit-transform: rotate3d(0, 0, 1, 40deg);
  transform: rotate3d(0, 0, 1, 40deg);
}
.lines-button.arrow.open .lines:after {
  -webkit-transform: rotate3d(0, 0, 1, -40deg);
  transform: rotate3d(0, 0, 1, -40deg);
}

.lines-button.arrow-up.open {
  -webkit-transform: scale3d(0.8, 0.8, 0.8) rotate3d(0, 0, 1, 90deg);
  transform: scale3d(0.8, 0.8, 0.8) rotate3d(0, 0, 1, 90deg);
}

.lines-button.minus.open .lines:before, .lines-button.minus.open .lines:after {
  -webkit-transform: none;
  transform: none;
  top: 0;
  width: 4rem;
}

.lines-button.x.open .lines {
  background: transparent;
}
.lines-button.x.open .lines:before,
.lines-button.x.open .lines:after {
  -webkit-transform-origin: 50% 50%;
  transform-origin: 50% 50%;
  top: 0;
  left: -3px;
  width: 36px;
  background: #FFF;
}
.lines-button.x.open .lines:before {
  -webkit-transform: rotate3d(0, 0, 1, 45deg);
  transform: rotate3d(0, 0, 1, 45deg);
}
.lines-button.x.open .lines:after {
  -webkit-transform: rotate3d(0, 0, 1, -45deg);
  transform: rotate3d(0, 0, 1, -45deg);
}

.lines-button.x2 .lines {
  transition: background 0.3s 0.5s ease;
}
.lines-button.x2 .lines:before, .lines-button.x2 .lines:after {
  -webkit-transform-origin: 50% 50%;
  transform-origin: 50% 50%;
  transition: top 0.3s 0.6s ease, -webkit-transform 0.3s ease;
  transition: top 0.3s 0.6s ease, transform 0.3s ease;
}

.lines-button.x2.open .lines {
  transition: background 0.3s 0s ease;
  background: transparent;
}
.lines-button.x2.open .lines:before, .lines-button.x2.open .lines:after {
  transition: top 0.3s ease, -webkit-transform 0.3s 0.5s ease;
  transition: top 0.3s ease, transform 0.3s 0.5s ease;
  top: 0;
  width: 4rem;
}
.lines-button.x2.open .lines:before {
  -webkit-transform: rotate3d(0, 0, 1, 45deg);
  transform: rotate3d(0, 0, 1, 45deg);
}
.lines-button.x2.open .lines:after {
  -webkit-transform: rotate3d(0, 0, 1, -45deg);
  transform: rotate3d(0, 0, 1, -45deg);
}
.fancybox-close-small:before {
  content: '';
  background: #fff;
  opacity: 0.8;
  /* width: 100%; */
  /* height: 100%; */
  display: block;
  border-radius: 50%;
  position: absolute;
  top: 7px;
  bottom: 7px;
  left: 7px;
  right: 7px;
}
.fancybox-close-small:hover svg {
    opacity: .9 !important;
}
