@import url(http://fonts.googleapis.com/css?family=Playfair+Display:400,700);
@import url(http://fonts.googleapis.com/css?family=Playfair+Display+SC:400,700);
@font-face {
 font-family: ProximaNova-Light;
 src: url('src/ProximaNova-Light.otf');
}
@font-face {
 font-family: ProximaNova-Reg;
 src: url('../src/ProximaNova-Reg.otf');
}
@font-face {
 font-family: ProximaNova-Bold;
 src: url('../src/ProximaNova-Bold.otf');
}
/*footer social*/
@font-face {
    font-family: Mono Social Icons Font;
    src: url('../src/MonoSocialIconsFont-1.10.eot');
    src: url('../src/MonoSocialIconsFont-1.10.eot?#iefix') format('embedded-opentype'),
         url('../src/MonoSocialIconsFont-1.10.woff') format('woff'),
         url('../src/MonoSocialIconsFont-1.10.ttf') format('truetype'),
         url('../src/MonoSocialIconsFont-1.10.svg#MonoSocialIconsFont') format('svg');
    src: url('../src/MonoSocialIconsFont-1.10.ttf') format('truetype');
    font-weight: normal;
}

* {
	margin:0px;
	padding:0px;
	list-style:none;
	box-sizing: border-box;
}
img {
	border:none;
	border-color:none;
	vertical-align:top;
}
body {
	font:600 16px/1.1  "微軟正黑體",Arial, Helvetica, sans-serif;
	color:#FFF;
	letter-spacing: 1.1px;
  	background:#f2f2f2;
}
body{
	font-family:ProximaNova-Light, "微軟正黑體";
	text-transform: uppercase;
}
#wrapper {
	width:100%;
	height:100%;
	text-align:left;
	margin:0 auto;
	overflow:hidden;/*???*/
	opacity:0;
}
a {
	text-decoration:none;
	color:#FFF;
	font-size:13px;
	padding-bottom:0px;
}
h1,h2{
	font:700 22px/1em "微軟正黑體",'Playfair Display SC', serif;
	letter-spacing: -1px;
	color: #000;
}
h1{
	font-size: 32px;
	margin: 0 0 .5em;
	line-height: 1.2em;/*原本.9em*/
	letter-spacing:.05em;/*原本沒有*/
	font-weight:normal;
}
p,.share-text{
	font:normal 12px/1.7em "Helvetica Neue","Arial","sans-serif";
	text-transform:none;
	color: #303030;
}
footer #address a,footer p{
	color: #fff;/*303030*/
}
#goTop{
	position:absolute;
	right:20px;
	/*left:1320px;*/
	bottom:232px;
	width:35px;
	height:27px;
	padding-top:4px;
	text-align:center;
	border-radius:5px;
	background-color: rgba(214,0,0,.3);
	cursor:pointer;
	z-index:990;
	color:#fff;
}
#goTop:hover{
	background-color: rgba(214,0,0,.8);
}
/*頭*/
header{
	position:fixed;
	width:100%;
	top:0;
	z-index:8000;
	background-color: rgba(214,0,0,.9);
}
#mobileNav{
	display:none;
}
#logo{
	display: block;
	float: right;
	padding: 32px 0 0 0;
	margin: 0 35px;
	max-width: 35%;
	text-align: right;
	z-index: 7999;
}
#logo img{
	max-height: 70px;
  	max-width: 100%;/*可學*/
}
nav ul#nav{
	overflow:hidden;
	font-size: 10px;
	line-height: 4em;
	font-weight: 400;
	padding: 35px 0 25px 0;
	margin: 0 0 0 35px;
	max-width: 49%;
}
nav ul#nav li{
	display: inline-block;
  	margin: 0 18px 10px 0;
  	zoom: 1;
}
nav ul#nav li a{
	font-size:14px;
	font-family:"微軟正黑體";
}
nav ul#nav li a,footer #address p a,div.body p a,#mobileNav a,#blog a{
	padding-bottom:2px;
	border-bottom:1px solid transparent;/*重要*/
	-webkit-transition: all .25s ease-out;
  	-moz-transition: border .25s ease-out;
  	-o-transition: border .25s ease-out;
  	transition: border .25s ease-out;
}
nav ul#nav li a:hover,nav ul#nav li.active a,#blog a:hover{
	color:#FFF;
	border-color:#FFF;/*重要*/
}

/*身*/
#container{
	overflow:hidden;
	/**/
	margin:118px auto 58px;
	opacity:1;
}
#container.w1200{
	max-width: 1200px;
}
/*各專案細節圖片*/
#project {
	width:100%;
  	position: relative;
	overflow:hidden;
	/*display:none;*/
}
#project .project-item{
	overflow:hidden;
	transition:visibility 0s linear 0.5s,opacity 0.5s linear;
	/*opacity:0;8*/
}
/*細節*/
#project .project-item>.meta {
	position: fixed;
	-webkit-backface-visibility: hidden;
	width: 200px;
	float: left;
	padding: 47px 35px 47px 32px;
	z-index: 3;
	box-sizing:content-box;
}
/*細節title*/
#project .project-item>.meta div.body p {
	margin: 0 0 1em;
}

/*share連結*/
#project .project-item>.meta .share-like{
	cursor: pointer;
	font-weight:lighter;
	float:left;
}
#project .project-item>.meta .social-button-icon{
	color:#e0e0e0;
	font-size:1.3em;
}
#project .project-item>.meta .share-text{
	font-size:13px;
}
#project .project-item>.meta .share-like:hover .social-button-icon{
	color:#000;
}

/*細節擺照片的地方*/
#project .gallery {
	margin: 52px 135px 60px 300px;
	max-width: 1000px;
	min-width: 200px;
	-webkit-transition: min-height .2s ease-in-out;
	-moz-transition: min-height .2s ease-in-out;
	-o-transition: min-height .2s ease-in-out;
	transition: min-height .2s ease-in-out;
	-webkit-transform: translatez(0);
	text-align:center;
}
.img{
	background-size:cover;
	background-position:center center;
	background-repeat:no-repeat;
	margin-bottom:25px;
}
#project .gallery li.project-content{
	padding: 12px 5px;
	width: 66.6667%;
	margin:0 auto;
}
li.project-content p{
	padding:10px 0;
	font-size:13px;/*原本沒有*/
}
/*關於我們*/
#project .gallery.about{
	margin:60px auto ;
}
/*細節左右按鈕*/
.switcher {
  position: fixed;
  width: 78px;
  min-width: 78px;
  top: 174px;
  right: 32px;
  overflow: hidden;
  z-index: 2;
}
.projectPrev, .projectHome {
  margin-right: 2px;
}
.projectPrev, .projectNext, .projectHome {
  display: block;
  float: left;
  width: 38px;
  height: 38px;
  opacity: 1;
  /*cursor:pointer;*/
}
.projectPrev:hover, .projectNext:hover, .projectHome:hover{
	opacity: 0.5;
}
.projectHome {
  display: none;
}
  
/*圖片格狀陳列*/
#grid{
	position:relative;/*重要 這樣就蓋住.meta 的 fixed 了*/
	z-index: 3;
    background-color: #f2f2f2;
	width:100.85%;
}
#grid li.sqs{
	position:relative;
	float:left;
	width:25%;
	height:0;
	padding-bottom:25%;
	transform: translate(0);/*????*/  
	background-size:cover;
	background-repeat:no-repeat;
}
#grid li.sqs .wrapper{
	position:absolute;
	/*display: table;重要*/
	display: block;
	z-index: 100;
	top: 0;
	left: 0;
	width: 100.2%;
	height: 100.2%;
	text-align: center;/*重要*/
	line-height: 24px;
    background-color: rgba(255,255,255,.7);
	opacity:0;
	-webkit-transition: opacity .2s ease-out;
	-moz-transition: opacity .2s ease-out;
	-o-transition: opacity .2s ease-out;
	transition: opacity .2s ease-out;
}
#grid li.sqs .wrapper:hover{
	opacity:1;
}
#grid li.sqs .wrapper .project_title{
	/*display: table-cell;重要
    vertical-align: middle;*/
	padding-top:50%;
	margin-top:-29px;
	color:#000;
}
#grid li.sqs .wrapper .project_title h2{
	margin: 0 0 10px;
	padding: 0 24px;
}
#grid li.sqs .wrapper .project_title h3{
	font:600 12px/1.4;
	text-transform: none;
	letter-spacing: 2px;
	padding: 0 24px;
  }
  
/*最新消息 & 銷售據點*/  
#blog {
	padding: 85px 30px 23px;
	overflow:hidden;
}
#blog.sales {
	padding-bottom:0;
}
#blog article{
	overflow:inherit;
	margin-bottom:50px;
	width:100%;
}
#blog.sales article {
	margin:0 auto 50px;
	width:60%;
}
#blog .main {
	float: right;
	width: 74.0625%;
	margin-left: 3.75%;
}
#blog.sales .main{
	width: 34.0625%;
}
#blog h1{
	margin:0 0 30px;
	line-height:1em;
}
#blog .main p {
	margin-bottom:25px;
}
#blog .sidebar {
	float: right;
	width: 22.1875%;
	padding:0;
	font:bold 12px/1.7em "Helvetica Neue", "Arial", "sans-serif";
	color: #303030;
}
#blog.sales .sidebar{
	width: 62.1875%;
}
nav.pagination{
	margin: 1em 0 1em 25.9375%;
    padding: 1em 0;
    width: 74.0625%;
	font:normal 12px "Helvetica Neue", "Arial", "sans-serif";
	color: #303030;
	text-transform:none;
} 

/*尾*/
footer{
	//position: fixed;
	text-align: left;
	min-height: 220px;
	bottom: 0px;
	width: 100%;
	background: rgba(20,20,20,.9);/*255,255,255,.9*/
	z-index: 7000;
	font-family: "Helvetica Neue","Arial","sans-serif";
	font-size: 12px;
	line-height: 1.7em;
	font-weight: normal;
	font-style: normal;
	padding: 1.5em 0 .7em;
	left: 0;
}
footer #bottom-bar{
	width: 80%;
  	padding: 0 0 0 35px;
}
footer #social-accounts{
	padding: 0px 35px 0 0;
	float: right;
  	width: 20%;
}
footer #social-accounts a{
	display: block;
	width: 20px;
	height: 20px;
	font-size:20px;
	float: right;
	margin: 0 0 10px 12px;
	color: #fff;/*222*/
}
#social-accounts a.symbol {
    font-size: 200%;
	cursor:pointer;
}
#social-accounts a.symbol:hover{
	color:#666;
}
[data-icon]:before  {/**重要**/
	font-family: 'Mono Social Icons Font';	
    content: attr(data-icon); 
}
footer #address{
	padding:0 10px 12px; 
}
footer #address p a:hover,div.body p a:hover{
	border-color:#303030;
}
@media screen and (max-width: 1617px) {
	#grid{
		width:100.1%;
	}
	#grid li.sqs{
		width:33.3334%;
		padding-bottom:33.3334%;
	}
}
@media screen and (max-width: 1217px) {
	#grid li.sqs{
		width:50%;
		padding-bottom:50%;
	}
}
@media screen and (max-width: 1024px) {
	#container{
		 /*margin-top:115px;*/
		 margin-bottom: 0;/*原版108px*/
	}
	#project .project-item>.meta {
		position:relative !important;
		-webkit-backface-visibility: hidden;
		width: auto;
		float: none;
		padding: 40px;
		z-index: 3;
		box-sizing:content-box;
	}
	#project .gallery {
		position: static;
		width: auto;
		max-width: none;
		min-width: 0;
		margin: 0;
		padding: 0 20px;
	}
	.switcher {
		position: static;
  		width: 118px;
        margin: 30px auto;
        text-align: center;
		top: 174px;
	}
	.projectHome {
  		display: block;
	}
	
	/*最新消息 & 銷售據點*/ 
	#blog {
  		padding: 35px 35px 0px;  /*padding-bottom:75px 加了回到首頁按鈕之後bottom變零*/
	}
	#blog.sales article {
         width:80%;
    }
	#blog h1 {
  		font-size: 25px;
	}	
	/*尾*/
	footer{
		position: static;
  		bottom: 0;
		zoom: 1;
	}
	footer #social-accounts,footer #bottom-bar{
		padding: 0 20px !important;
		margin: 0 auto !important;
		text-align: center;
		float: none;
		max-width: 750px;
		overflow:hidden;
	}
	footer #social-accounts a{
		display: inline-block;
  		margin: 15px 8px;
  		float: none;
	}
}
@media screen and (max-width: 980px) {
	#container{
		/*margin-top: 176px;*/ 
	}
}
@media screen and (max-width: 851px) {
	#container{
		margin-top: 177px;
	}	
}
@media screen and (max-width: 815px) {
	#grid li.sqs{
		width:100%;
		padding-bottom:100%;
	}
	footer #social-accounts{
		width: 95%;
	}
	footer #bottom-bar{
	    width: 78%;
	}
}
@media screen and (max-width: 769px) {
	#container{
		/*margin-top: 176px;*/
	}
}
@media screen and (max-width: 640px) {
	h1{
	     font-size: 21px;
    }
	#container{
		 margin-top: 181px;
	}
	header{
		position: absolute;
	}
	
	/*最新消息 & 銷售據點*/
	#blog {
		 padding: 35px 20px 0px; /*padding-bottom:65px 加了回到首頁按鈕之後bottom變零*/
	}
	#blog .main,#blog.sales .main{
		 margin: 0;
		 width: 100%;
	}
	#blog h1{
		 font-size: 21px;
	}
	#blog .sidebar,#blog.sales .sidebar{
		 position: relative;
		 width: 100%;
	}
	nav.pagination{
		 width: auto;
		 margin-left: 0;
	}
	
	/*桌機選單關閉*/
	nav #nav{
		display:none;
	}
	
	/*手機選單打開*/
	#mobileNav{
		display:block;
		background: #272727; /*f2f2f2*/
		text-align:center;
		padding:15px 0;
	}
	#mobileNav div,#mobileNav a{
		font:500 15px/4em ProximaNova-Light;
		color:#e7e7e7; /*000*/
		cursor: pointer;
		border-bottom:1px solid transparent;
		font-family:"微軟正黑體";
	}
	#mobileNav a:hover{
		border-color:#e7e7e7;
	}
	#mobileNav nav ul{
  		margin: 1em 0 0 ;
		display:none;
	}
	#mobileNav nav ul li{
		margin: 12px 0;
		border-top:1px solid #373737;
	}
	#logo{
		float: none;
		padding: 20px 0 20px;
		margin: 0 20px;
		max-width: 100%;
		text-align: center;
	}
	#project .project-item>.meta {
		padding: 20px;
  		margin: 20px 0;
	}
	#project .gallery li.project-content{
		width:100%;
		padding:18px 0;
	}
	footer #address{
		padding-top:12px; 
	}
}
