/*
 * phgrt - RWD system type-12
 * https://www.phgrt.com.tw/
 *
 * Copyright 2016, evelyn wang
 * 
 * 
 * January 2016
 */


.animated {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

/* +top-site
*----------------------------------------------------------------------------*/
.top-site {
	border-bottom: 3px #0069a5 solid;
	position: relative;
}

header {
	height: auto;
}

header .container {
	width: 100%;
}

/**
*
* =cis
*
**/
header .container #cis {
	width: 100%;
	position: absolute;
	z-index: 500;
	text-align: center;
}

header .container #cis .h2 {
	text-align: center;
}

header .container #cis a {
	padding: 0 5px 5px;
	border: 1px rgba(255,255,255,0.5) solid;
	border-top: none;
	display: inline-block;
}

/**
*
* =nav-bar
*
**/
header .container .nav-bar {
}

header .container .nav-bar .nav-func {
	display: none;
	position: absolute;
	right: 15px;
	top: 5%;
	z-index: 510;
	font-size: 30px;
}

header .container .nav-bar .menu {
	width: 100%;
	position: absolute;
	bottom: 4px;
	z-index: 550;
}

header .container .nav-bar .menu ul {
	margin: 0 auto;
	padding: 25px 40px;
	width: 8%;
	background: rgba(0,105,165,0.5);
	overflow: hidden;
	transition: all 0.4s ease;
}

header .container .nav-bar .menu ul li {
	margin: 0 0 30px;
	padding-left: 13px;
	width: 20px;
	height: 125px;
	border-bottom: 1px #fff solid;
	float: right;
	font-size: 16px;
}

header .container .nav-bar .menu ul li:nth-child(5n) {
	padding-left: 0;
}

header .container .nav-bar .menu ul li:nth-child(6) ,
header .container .nav-bar .menu ul li:nth-child(7) ,
header .container .nav-bar .menu ul li:nth-child(8) ,
header .container .nav-bar .menu ul li:nth-child(9) ,
header .container .nav-bar .menu ul li:nth-child(10) {
	border: none;
}

header .container .nav-bar .menu ul li a {
	color: #fff;
}

header .container .nav-bar #top-nav {
	width: 20px;
	position: fixed;
	top: 100px;
	right: 50px;
	z-index: 510;
}

header .container .nav-bar #top-nav a {
	margin-bottom: 10px;
	padding-bottom: 10px;
	width: 24px;
	height: 24px;
	border-bottom: 1px #b8b8b8 solid;
	display: block;
	-webkit-transition: color 0.4s;
    -moz-transition: color 0.4s;
    -o-transition: color 0.4s;
    transition: color 0.4s;
	text-align: center;
	font-size: 24px;
	color: #b8b8b8;
}

header .container .nav-bar #top-nav a:hover {
	border-bottom: 1px #000 solid;
	color: #000;
}

header .container .nav-bar #top-nav a:last-child {
	border-bottom: none;	
}


/* +gotop
*----------------------------------------------------------------------------*/
#gotop2 {
	position: fixed;
	right: 25px;
	bottom: 50px;
	text-align: center;
	font-size: 13px;
	color: #2a6ec9;
}

#gotop2 i {
	margin-bottom: -10px;
	display: block;
	transition: all 0.4s ease;
	text-align: center;
	font-size: 25px;
}

#gotop2:hover i {
	margin-bottom: -5px;
}


/* +ie不能用
*----------------------------------------------------------------------------*/
#no-ie {
	width: 100%;
	height: 100%;
	background: url(../../images/12/all/no-ie.png) repeat 0 0;
	position: absolute;
	top: 0;
	border: 0;
	z-index: 100000000;
}

#no-ie p {
	margin: 15% auto;
	width: 30%;
	padding: 25px;
	background: #fff;
	position: fixed;
	top: 15px;
	left: 35%;
	line-height: 180%;
	text-align: center;
	font-size: 18px;
	color: #444;
}

#no-ie p a {
	color: #D5080B;
}


/* +footer
*----------------------------------------------------------------------------*/
footer {
	background: #2c3135;
}

footer #webSeo ,
footer #copy {
	margin: 10px 10%;
	overflow: hidden;
}

footer #webSeo .seo {
	font-size: 13px;
	color: #969b9f;
}

footer .footer-wrap {
	background: #23272a;
	overflow: hidden;
}

footer .footer-wrap .footer-site {
	margin: 30px 10%;
	overflow: hidden;
}

footer .footer-wrap .footer-site .row {
	width: 33.3%;
	float: left;
	overflow: hidden;
}

footer .footer-wrap .footer-site .row p {
	margin-bottom: 10px;
	line-height: 170%;
	font-size: 12px;
	color: #fff;
}

footer .footer-wrap .footer-site .row p a {
	text-decoration: underline;
	color: #fff;
}

footer .footer-wrap .footer-site .row p strong {
	font-size: 16px;
}

footer .footer-wrap .footer-site .row ul {
	margin: 0 5%;
	overflow: hidden;
}

footer .footer-wrap .footer-site .row ul li {
	margin-bottom: 10px;
	width: 50%;
	float: left;
	font-size: 16px;
}

footer .footer-wrap .footer-site .row ul li a {
	color: #fff;
}

footer .footer-wrap .footer-site .row #footer-qrcode {
	margin: 0 15px 15px 0;
	width: 30%;
	float: left;
}

footer .footer-wrap .footer-site .row #footer-qrcode img {
	width: 100%;
}

footer .footer-wrap .footer-site .row #g-map iframe {
	width: 100%;
	height: 170px;
}

footer #copy p {
	text-align: center;
}

footer #copy p a {
	font-size: 13px;
	color: #969b9f;
}

footer #copy p a:hover {
	color: #0069a6;
}


/* +width:1366 ↓
*----------------------------------------------------------------------------*/
@media screen and (max-width: 1366px) {
	header .container .nav-bar .menu ul {
		width: 10.5%;
	}
	
	header .container .nav-bar .menu ul li {
		padding-left: 9px;
	}
}


/* +width:1280 ↓
*----------------------------------------------------------------------------*/
@media screen and (max-width: 1280px) {
	header .container .nav-bar .menu ul {
		padding: 25px;
		width: 12.5%;
	}
	
	header .container .nav-bar .menu ul li {
		padding-left: 13px;
	}
}

/* +width:1240 ↓
*----------------------------------------------------------------------------*/
@media screen and (max-width: 1240px) {
	header .container .nav-bar .menu ul li {
		padding-left: 12px;
	}
}


/* +width:1024 ↓
*----------------------------------------------------------------------------*/
@media screen and (max-width: 1024px) {
	header .container .nav-bar .menu ul {
		padding: 10px 25px;
		width: 16%;
	}
	
	header .container .nav-bar .menu ul li {
		margin-bottom: 10px;
		padding-left: 15px;
		font-size: 15px;
	}
}


/* +width:768 ↓
*----------------------------------------------------------------------------*/
@media screen and (max-width: 768px) {
	header .container {
		overflow: hidden;
	}
	
	header .container #cis {
		width: auto;
		left: 15px;
	}
	
	header .container .nav-bar .nav-func {
		display: block;
		background: rgba(0,105,165,0.7);
		padding: 5px 10px;
		color: #fff;
	}
		
	header .container .nav-bar .menu {
		width: 30%;
		background: rgba(0,105,165,0.9);
		top: 55px;
		right: 15px;
	}
	
	header .container .nav-bar .menu ul {
		padding: 0;
		width:100%;
	}
	
	header .container .nav-bar .menu ul li {
		margin: 0;
		padding: 0;
		width: 100%;
		height: auto;
		border: 0;
	}
	
	header .container .nav-bar .menu ul li a {
		padding: 5px 10px;
		display: block;
		text-align: center;
	}
	
	header .container .nav-bar #top-nav {
		top: 20%;
		right: 25px;
	}
	
	footer #webSeo, 
	footer #copy {
		margin: 10px 15px;
	}
	
	footer .footer-wrap .footer-site {
		margin: 30px 15px;
	}
}


/* +width:640 ↓
*----------------------------------------------------------------------------*/
@media screen and (max-width: 640px) {
	footer .footer-wrap .footer-site .row {
		margin-bottom: 15px;
		width: 100%;
		text-align: center;
	}
	
	footer .footer-wrap .footer-site .row #footer-qrcode {
		width: 25%;
		display: inline-block;
		float: none;
	}
	
	footer .footer-wrap .footer-site .row p ,
	footer .footer-wrap .footer-site .row ul li {
		text-align: center;
	}
	
	#fb-wrap {
		width: 340px;
		display: inline-block;
	}
}


/* +width:480 ↓
*----------------------------------------------------------------------------*/
@media screen and (max-width: 480px) {
	header .container #cis {
		width: 50%;
	}
	
	header .container #cis img {
		width: 100%;
	}
}