﻿@charset 'utf-8';
/*
style.css
*/

body {
  position: relative;
  font-size: 62.5%;
  line-height: 1.8;
  margin: 0;
}

h1,h2,p,span,li,a {
	font-family: "細明體";
	color: #000;
	font-size: 10pt;
	border-top-width: 1px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
}

a, a.btn {
  /*
  link common animation
  */
  text-decoration: none;
  -webkit-transition: all 0.4s linear;
  transition: all 0.4s linear;
}

.clearfix:before, .clearfix:after{ content:""; display:table;}
.clearfix:after { clear:both;}
.clearfix{ zoom:1;}

#slider p,ul,li{
	margin:0;
	padding:0;
}

.inner {
	position: relative;
	max-width: 900px;
	min-width: 720px;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	background-color: #000000;
}

#wrapper {
  width: 100%;
}

#headerContainer {
  position: absolute;
  z-index: 100;
  width: 100%;
  background: rgba( 0, 0, 0, 0.8);
}

#siteID {
  font-size: 3.0em;
  color: #fff;
  line-height: 1.1;
  font-weight: 400;
  margin: 0 0 0 8px;
  padding: 12px 0 14px;
}

#siteID .small {
  color: #fff;
  font-size: 0.7em;
}

#navigation {
  position: absolute;
  right: 0;
  top: 0;
  overflow: hidden;
  z-index: 10;
}

#navigation ul,
#navigation li {
  list-style: none;
  margin: 0;
  padding: 0;
}
#navigation li {
	float: left;
  margin: 1px 0 0 1px;
}
#navigation a {
  display: block;
  color: #fff;
  font-size: 1.6em;
  line-height: 1;
  text-align: center;
  padding: 20px 2em 21px;
  background: rgba( 255, 255, 255, 0.1);
}
#navigation a:hover {
  color: #333;
  background: rgba( 255, 255, 255, 0.8);
}

#footerContainer {
	position: relative;
	left: 0;
	bottom: 0;
  z-index: 100;
	width: 100%;
	background: #000;
  padding: 3em 0 1em;
  behavior: url(PIE.htc);
}

#copyright{
	color: #fff;
	text-align: center;
	font-size: 0.8em;
	margin: 0;
	font-family: "細明體";
}



/*
 * slider
 */
#slider{
	position: relative;
	width:100%;
	height: 480px;
	overflow: hidden;
	background: url(../img/loading.gif) no-repeat center center;
}
#slider ul{
	position: absolute;
	top: 0;
	left: 0;
}
#slider li{
	float: left;
}
#slider li img {
  width: 928px;
  height: auto;
}
#slider #prev,
#slider #next{
	position: absolute;
	top:220px;
	cursor: pointer;
}
#slider #prev{ left:20px;}
#slider #next{ right:20px;}

/* for script */
#slider ul,
#slider #next,
#slider #prev{
	visibility: hidden;
}
#slider .layer{
	width: 928px;
	height: 480px;
	position: absolute;
	top: 0;
	left: 0;
	background: url(../img/dot.gif) repeat 0 0 #666;
	opacity: 0.5;
	filter: alpha(opacity=50);
}




/*
custom style
*/

#contentContainer {
	margin-bottom: 40px;
	padding-top: 0px;
	padding-right: 0;
	padding-bottom: 0;
	padding-left: 0;
}

#entriesContainer {
	box-shadow: 0 0 20px rgba( 0, 0, 0, 0.1);
	background-color: #FFC;
}

.post {
	padding: 3% 0 2em;
	margin: 0 3% 1em;
	overflow: hidden;
	border-bottom-color: #e0e0e0;
}

.post:last-child {
	border-bottom: none;
	margin-bottom: 0;
	background-color: #FFC;
	background-image: url(../../img/background/white/white8.JPG);
}

.post .entry-contentContainer {
	float: right;
	width: 70%;
}

.post .entry-thumbnail {
	float: left;
	width: 30%;
}

.post .entry-thumbnail img {
	width: 100%;
	height: auto;
}
.post h1 {
	margin: -0.15em 0 0.4em;
	font-size: 14pt;
	line-height: normal;
	font-family: "新細明體";
}
.post p {
	font-size: 16px;
	text-align: left;
}

.post h1 a {
	text-decoration: none;
	font-family: "新細明體";
	font-size: 14pt;
}

.post .read_the_rest a.btn {
  display: block;
  width: 50%;
  color: #fff;
  text-align:center;
  margin: 0 0 0 auto;
  padding-top: 15px;
  padding-bottom: 15px;
  background: #000;
  border-radius: 8px;
}

.post .read_the_rest a.btn:hover {
 color: #fff;
 background: #666;
}


@media only screen and (max-width:767px) {
 .inner {
   max-width: 100%;
   min-width: 100%;
   width: 100%;
 }
 #headerContainer {
  position: relative;
 }
 #siteID {
  float: none;
  text-align: center;
 }
 #navigation {
  position: relative;
 }
 #navigation li {
  width: 25%;
  margin: 1px 0;
 }
 #navigation a {
  padding-left: 0;
  padding-right: 0;
 }
 #navigation li:not(:first-child) a {
  border-left: 1px solid #000;
 }
 #contentContainer {
  padding: 20px 0 0;
  margin-bottom: 40px;
 }
 .post {
  width: 90%;
  padding: 5% 0 2em;
  margin: 0 auto 2em;
}
 .post .entry-contentContainer {
   float: none;
   width: 100%;
 }
 .post .entry-thumbnail {
   float: none;
   max-width: 320px;
   width: 80%;
   margin: 0 auto 2em;
 }
 .post h1 {
   margin: 0 0 0.4em;
   font-size: 2em;
 }
 .post p {
   font-size: 1.4em;
 }
 .post .read_the_rest a.btn {
  width: 75%;
  margin: 0 auto;
 }

  .pagetop {
    text-align: center;
    margin: 0 auto;
  }

  .pagetop a {
    display: inline-block;
    color: #fff;
    font-size: 1.4em;
    padding: 1em 10% 0.7em;
    width: 50%;
    border-radius: 4px 4px 0 0;
    background: #000;
  }
  #copyright {
    text-align: center;
  }

  #slider li img {
    width: 100%;
    height: auto;
  }
  #slider #prev,
  #slider #next {
    top: 40%;
  }
  #slider #prev img,
  #slider #next img {
    width: 40px;
    height: auto;
  }
  #slider #prev {
    left: 0;
  }
  #slider #next {
    right: 0;
  }

}
