/*
 * w417 - cc-design iweb51-style04
 * http://www.cc-design.com.tw/
 *
 * Copyright 2015, 
 * 
 * 
 * 2015 / 8
 */


/* +header
*----------------------------------------------------------------------------*/
header {
	background: url(../../images/08/all/bg-header.jpg) repeat-x 0 0;
	-webkit-box-shadow: 0 -2px 1px rgba(0,0,0,0.20);
    box-shadow: 0 -2px 1px rgba(0,0,0,0.20);
}

header.headerTop {
	box-shadow: 0 2px 1px rgba(0,0,0,0.20);
}

/**
*
* =cis
*
**/
header #head-wrap #cis {
	float: left;
}


/**
*
* =nav
*
**/
header #head-wrap .nav-func {
	display: none;
}

header #head-wrap #main-menu ,
header #head-wrap #main-menu ul {
	float: right;
	overflow: hidden;
}

header #head-wrap #main-menu ul li {
	padding: 2px 15px;
	width: 65px;
	float: left;
}

header #head-wrap #main-menu ul li a {
	width: 65px;
	height: 90px;
	background: url(../../images/08/all/img-home.png) no-repeat 0 -90px;
	display: block;
	overflow: hidden;
	position: relative;
	text-indent: -999999px;
}

header #head-wrap #main-menu ul li a.icon2 {
	background: url(../../images/08/all/nav-case.png) no-repeat 0 -90px;
}

header #head-wrap #main-menu ul li a.icon3 {
	background: url(../../images/08/all/nav-process.png) no-repeat 0 -90px;
}

header #head-wrap #main-menu ul li a.icon4 {
	background: url(../../images/08/all/nav-qa.png) no-repeat 0 -90px;
}

header #head-wrap #main-menu ul li a.icon5 {
	background: url(../../images/08/all/nav-service.png) no-repeat 0 -90px;
}

header #head-wrap #main-menu ul li a.icon6 {
	background: url(../../images/08/all/nav-contace.png) no-repeat 0 -90px;
}

header #head-wrap #main-menu ul li a.icon7 {
	background: url(../../images/08/all/nav-about.png) no-repeat 0 -90px;
}

header #head-wrap #main-menu ul li a.icon8 {
	background: url(../../images/08/all/nav-Order.png) no-repeat 0 -90px;
}


/* +footer
*----------------------------------------------------------------------------*/
footer {
	background: #381e0e;
}

footer #footer-wrap #copyright ,
footer #footer-wrap #quickmenu ,
footer #footer-wrap #location {
	padding: 0 3% 0 0;
	width: 30%;
	float: left;
}

footer #footer-wrap #copyright h3 ,
footer #footer-wrap #quickmenu h3 ,
footer #footer-wrap #location h3 {
	margin: 0 0 10px;
	font-size: 21px;
	color: #fff;
}


footer #footer-wrap #copyright p {
	margin: 0 0 5px;
	color: #fff;
}

footer #footer-wrap #copyright p a ,
footer #footer-wrap #copyright .info ,
footer #footer-wrap #copyright .info a ,
footer #footer-wrap #quickmenu ul li a {
	color: #fff;
}

footer #footer-wrap #copyright #footer-cis {
	margin: 0 0 10px;
}

footer #footer-wrap #quickmenu ul {
	overflow: hidden;
	margin: 0 0 15px;
}

footer #footer-wrap #quickmenu ul li {
	float: left;
	width: 50%;
	line-height: 35px;
	font-size: 16px;
}

footer #footer-wrap #quickmenu #community ,
footer #footer-wrap #quickmenu #community ul {
	overflow: hidden;
}

footer #footer-wrap #quickmenu #community ul li {
	width: auto;
	line-height: 20px;
}

footer #footer-wrap #location iframe {
	height: 200px;
}

/* community */
#community ul { overflow: hidden; margin: 30px 0 0; }
#community ul li {display: inline-block;vertical-align: bottom;height: 28px;}
#community ul li >div{
    vertical-align: bottom;
    height: 20px;
    margin: 0;
}
footer #footer-wrap #quickmenu #community ul li {
	float: none;
	width: auto;
	line-height: 0;
	font-size: 0;
}
#community ul li >div span{
    height: 24px!important;
}
#community ul li.fbb{font-size: 0px;}
#community ul li.fbb span{
    font-size: 0;
}
#community ul li a { margin: 0 10px 0 0; width: 20px; height: 20px; background: url(/images/plurk-32.png) no-repeat 0 0; display: block; }
/* +side
*----------------------------------------------------------------------------*/
.side {
	display: none;
}


/* +phoneWrap
*----------------------------------------------------------------------------*/
.phoneWrap {
	position: fixed;
	bottom: 20px;
	display: block;
	z-index: 999999999999999;
}

.phoneWrap ul {
	overflow: hidden;
}

.phoneWrap ul li {
	margin: 0 10px;
	float: left;
}

.phoneWrap ul li.line {
	position: inherit;
}

.phoneWrap ul li a {
	padding: 10px 15px 10px 30px;
	background: url(../../images/phone.png) #dd5842 8px 10px no-repeat;
	background-size: 20px;
	border-radius: 5px;
	display: inline-block;
	color: #fff;
}

.phoneWrap ul li.line a {
	background: url(../../images/lineicon.png) #00C300 -4px 0px no-repeat;
	background-size: 40px;
}


/* +width:960 â†“
*----------------------------------------------------------------------------*/
@media screen and (max-width: 1920px) {
	.phoneWrap {
		display: none;
	}
}


/* +width:768 â†“
*----------------------------------------------------------------------------*/
@media screen and (max-width: 1024px) {
	.phoneWrap {
		display: none;
	}
	
	footer #footer-wrap #location iframe {
	height: 100px;
}
}


/* +width:768 â†“
*----------------------------------------------------------------------------*/
@media screen and (max-width: 768px) {
	header #head-wrap .nav-func {
		display: block;
		width: 55px;
		height: 55px;
		background: #604b3e;
		display: block;
		position: absolute;
		top: 10px;
		right: 15px;
		z-index: 10000;
		text-align: center;
		line-height: 55px;
		font-size: 18px;
		color: #fff;
	}
	
	header #head-wrap #main-menu {
		background: #604b3e;
		min-width: 300px;
		max-width: 300px;
		float: none;
		position: absolute;
		top: 77px;
		right: 0;
	}
	
	header #head-wrap #main-menu ul {
		padding: 10px;
		float: none;
	}
	
	header #head-wrap #main-menu ul li {
		padding: 10px 0;
		width: 100%;
		border-bottom: 1px #ccc dotted;
		float: none;
	}
	
	header #head-wrap #main-menu ul li a {
		width: 100%;
		height: 25px;
		background: none!important;
		color: #fff;
		text-indent: 0;
	}
	
	header #head-wrap #main-menu ul li a.service ,
	header #head-wrap #main-menu ul li a.case ,
	header #head-wrap #main-menu ul li a.process ,
	header #head-wrap #main-menu ul li a.contact {
		background: none;
	}
	
	footer #footer-wrap #copyright ,
	footer #footer-wrap #quickmenu ,
	footer #footer-wrap #location {
		margin-bottom: 15px;
		padding: 15px 0;
		width: 100%;
		border-bottom: 1px #ccc dotted;
	}
	
	footer #footer-wrap #location {
		border: none;
	}
	
	footer #footer-wrap #copyright h3,
	footer #footer-wrap #copyright #footer-cis ,
	footer #footer-wrap #copyright p ,
	footer #footer-wrap #copyright .info ,
	footer #footer-wrap #quickmenu h3, 
	footer #footer-wrap #quickmenu ul li ,
	footer #footer-wrap #location h3 {
		text-align: center;
	}
	
	footer #footer-wrap #quickmenu #community {
		margin: 0 auto;
		width: 260px;
	}
	
	footer #footer-wrap #location iframe {
		width: 100%;
		height: 300px;
	}
	.phoneWrap {
		display: block;
		left: 30%;
	}
}


/* +width:480 â†“
*----------------------------------------------------------------------------*/
@media screen and (max-width: 480px) {
	.phoneWrap {
		left: 0;
		width: 100%;
		display: inline-block;
		bottom: 0;
	}
	.phoneWrap ul li a{
    width: 49%;
    padding: 10px 15px 10px 30px;
    font-size: 18px;
    text-align: center;
    margin-left: 20px;
    }
    .phoneWrap ul li{
    	width: 50%;
    	background-color: #dd5842;
    	margin: 0;
    }
    .phoneWrap ul li.line{
    	background-color: #00c300;
    }
}


/* +width:350 â†“
*----------------------------------------------------------------------------*/
@media screen and (max-width: 350px) {
	header #head-wrap #main-menu {
		min-width: 90%;;
	}
	.phoneWrap {
		left: 10%;
	}
}
