/*
 *
 * Copyright 2017, TANK
 * 
 * 2017 / 07 / 19
 */


/*-----------------------------------------------------------------------------
 [TABLE OF CONTENTS]
    +common
        =anchor
        =clear,clearfix
        =banner
    +header
        =cis
        =site-func
        =share-func
        =nav
    +content
        +content-main
        +content-sidebar
    +footer
        =footer-link
        =company-info
-----------------------------------------------------------------------------*/

/* +common
*----------------------------------------------------------------------------*/
* {
    margin: 0;
    padding: 0;
}

body {
	margin:0;
}

div, h1, h2, h3, h4, h5, h6, hr, p, form, label, input, textarea, img, span, ul, li, a , i {
	text-align: left;
	vertical-align: middle;
	margin: 0;
	padding: 0;
	word-wrap: normal;
	word-break: normal;
	line-height: 170%;
	border-width: 0;
	font-family: '微軟正黑體', '蘋果儷中黑', "Lucida Grande", "Arial", "Arial Narrow";
    vertical-align: initial;
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-ms-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	transition: all 0.5s ease;
}

hr {
	border-top:1px #000 solid;
	margin:0 0 10px 0;
}

th {
	font-weight: normal;
}

ul, ol {
	list-style: none;
}

fieldset {
	border: 0;
}

input,button,select,textarea {
	outline:none
}

img {
	max-width: 100%;
}

/* + anchor
*----------------------------------------------------------------------------*/
a:link , a:visited , a:hover {
	text-decoration: none;
}

.wow {
	-webkit-animation-fill-mode: both;
	-moz-animation-fill-mode: both;
	-ms-animation-fill-mode: both;
	-o-animation-fill-mode: both;
	animation-fill-mode: both;
	-webkit-animation-duration: 1.5s;
	-moz-animation-duration: 1.5s;
	-ms-animation-duration: 1.5s;
	-o-animation-duration: 1.5s;
	animation-duration: 1.5s;
}

.text-clamp {
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	display: -ms-flexbox;
	-webkit-box-orient: vertical;	
}

body ::selection {
	background: #65b13e;
	color: #fff;
}

body::-webkit-scrollbar {
    width: 7px;
}
 
body::-webkit-scrollbar-track {
    background: #c5c5c5;
}
 
body::-webkit-scrollbar-thumb {
	background: #65b13e;
	outline: 1px solid #fff;
}

body::-webkit-scrollbar-thumb:hover {
	background: #319100;
}

input::-webkit-input-placeholder { color: #fff; }
header #serch input::-moz-placeholder { color: #fff; }
header #serch input:-ms-input-placeholder { color: #fff; }
header #serch input:-moz-placeholder { color: #fff; }


/* +body
*----------------------------------------------------------------------------*/
section {
	overflow: hidden;
	margin: 0 auto;
	width: 1160px;
}

.wrapper {
	overflow: hidden;
	position: relative;
	width: 100%;
	font-size: 14px;
}


/* + 跳一  跳三
*----------------------------------------------------------------------------*/
#jumpDiv ,
#jumpIframe {
	position: relative;
	background: #fff;
	top: 0;
	left: 0;
	z-index: 50;
}


/* + a.photo
*----------------------------------------------------------------------------*/
a.photo {
	overflow: hidden;
	background-position: 50% 50%;
	background-repeat: no-repeat;
	background-size: contain;
	display: block;
}

a.photo img {
	width: 100%;
}


/* + header
*----------------------------------------------------------------------------*/
header {
	position: relative;
	background: #000;
}

header #cis {
	position: absolute;
	width: 100%;
	top: 0;
	left: 0;
	text-align: center;
	z-index: 1;
}
header #cis img{
    width: 175px;
}
header h3 {
	position: relative;
	display: none;
	font-size: 30px;
	color: #65b13e;
	z-index: 10;
}

header #serch ,
header #link {
	margin: 30px 0;
	position: relative;
	float: left;
	z-index: 2;
}

header #serch a ,
header #serch input {
	padding: 20px;
	background: #319100;
	display: inline-block;
}

header #serch input {
	width: 300px;
}

header #serch input {
	background: #1d1f1c;
	color: #fff;
}

header #serch a img {
	vertical-align: middle;
}

header #link {
	float: right;
	color: #fff;
}

header #link a {
	margin: 0 5px;
	color: #fff;
	display: inline-block;
}

header #link a.login ,
header #link a.member {
	padding: 20px;
	background: #65b13e;
}

header #link a.login:hover ,
header #link a.member:hover {
	opacity: 0.7;
}

header #link a.member {
	background: #f76800;
}


/* + newBox
*----------------------------------------------------------------------------*/
#newBox {
	overflow: hidden;
	padding: 35px 0 10px;
	background: url(/images/32/main/img-headerBg.jpg) no-repeat 0 bottom;
}

#newBox .h1 {
	position: absolute;
	top: 0;
	z-index: -1;
}

#newBox h3 ,
#newBox .newList {
	width: 20%;
	display: inline-block;
	vertical-align: -webkit-baseline-middle;
}

#newBox .newList {
	overflow: hidden;
	padding: 5px 1%;
	width: 77%;
	height: 27px;
	background: rgba(232, 232, 232, 0.28);
	-webkit-border-radius: 50px;
	-moz-border-radius: 50px;
	border-radius: 50px;
}

#newBox .newList #Ntext {
	-webkit-transition: none;
	-moz-transition: none;
	-ms-transition: none;
	-o-transition: none;
	transition: none;
	color: #fff;
}

#newBox .newList #Ntext span ,
#newBox .newList #Ntext a {
	font-size: 16px;
	color: #fff;
}


/* + wrap
*----------------------------------------------------------------------------*/
.wrap {
	margin: 55px auto;
}

.wrap h2.title i {
	font-size: 26px;
	vertical-align: initial;
}


/* gotop */
#gotop {position: fixed;border-radius: 20px;color: #333;right: 20px;bottom: 20px;z-index: 9999;text-align: center;font-family: 'Roboto', sans-serif;width: 67px;text-transform: uppercase;font-size: 15px;line-height: 120%;}
#gotop i{
    width: 65px;
    height: 65px;
    font-size: 30px;
    display: block;
    background: #333;
    margin: 0 auto 10px;
    text-align: center;
    line-height: 65px;
    border-radius: 5px;
    color: #fff;
}

/* gotom */
#gotom {position: fixed;border-radius: 20px;color: #333;right: 20px;bottom: 150px;z-index: 9999;text-align: center;font-family: 'Roboto', sans-serif;width: 67px;text-transform: uppercase;font-size: 15px;line-height: 120%;bottom: 150px;}
#gotom i{
    width: 65px;
    height: 65px;
    font-size: 30px;
    display: block;
    background: #5f882f;
    margin: 0 auto 10px;
    text-align: center;
    line-height: 65px;
    border-radius: 5px;
    color: #fff;
}

/* + footer
*----------------------------------------------------------------------------*/
footer {
	padding: 15px 0;
	background: rgb(197 197 197 / 50%);
	color: #fff;
}
footer h2{
    text-align: center;
    margin: 10px 0 20px;
}
footer h2 a{
    display: inline-block;
    padding: 10px 100px;
    background: #2d88ff;
    font-family: 'Roboto', sans-serif;
    color: #fff;
}
footer p {
	margin: 5px 0;
	text-align: center;
	color: #333;
}

footer a {
	color: #333;
	text-transform: uppercase;
	font-weight: 600;
	font-family: 'Roboto', sans-serif;
}

/* indexBox */
#indexBox { position: fixed; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.8); text-align: center; top: 0; left: 0; z-index: 99999; }
#indexBox #ask-wrap { position: relative; margin: 15% 0 0;　box-shadow: 0 0 10px #000; display: inline-block; }
#indexBox #ask-wrap a#closePop { position: absolute; width: 25px; height: 25px; background: #44971b; border-radius: 50%; box-shadow: 0 0 10px #000; display: inline-block; text-align: center; line-height: 24px; color: #fff; top: -12.5px; right: -12.5px; }
#indexBox #ask-wrap article a { display: inline-block; }


/************ = 適應性 = ************/
/* +width:1280 ↓
*----------------------------------------------------------------------------*/
@media screen and (max-width: 1280px) {
	section {
		width: 960px;
	}
	header #serch input {
		width: 250px;
	}
}

/* +width:768 ↓
*----------------------------------------------------------------------------*/
@media screen and (max-width: 768px) {
	section {
		width: 95%;
	}
	header #cis {
		left: 10px;
		text-align: left;
	}
	header .mobile {
		float: right;
	}
	header #serch , 
	header #link {
		margin: 10px 0;
		float: none;
		text-align: right;
	}
	header #serch input {
		width: 122px;
	}
	header #serch a, header #serch input{
    padding: 10px 20px;
}
    header #link a.login, header #link a.member{
    padding: 15px 20px;
}
	#newBox h3 {
		width: 35%;
	}
	#newBox .newList {
		width: 62%;
	}
	#newBox .newList marquee span ,
	#newBox .newList marquee a {
		font-size: 14px;
	}

}

@media screen and (max-width: 640px){
	#indexBox #ask-wrap { margin: calc((100% - (100% - 250px)) / 2) auto 0; padding: 10px 0 10px 10px; width: 290px; height: 230px; }
	#indexBox #ask-wrap article { padding-right: 10px; }
}
/* +width:450 ↓
*----------------------------------------------------------------------------*/
@media screen and (max-width: 450px) {
	header {
		height: 96px;
	}
	footer{
    padding-bottom: 90px;
}
	header #cis {
		left: 0;
		text-align: center;
	}
	header h3 {
		display: inline-block;
		display: none;
	}
	header nav {
		overflow: hidden;
		position: absolute;
		width: 100%;
		height: 0;
		background: #000;
		top: 187px;
		left: 0;
		z-index: 99;
		-webkit-transition: all 0.5s ease;
		-moz-transition: all 0.5s ease;
		-ms-transition: all 0.5s ease;
		-o-transition: all 0.5s ease;
		transition: all 0.5s ease;
		display: none;
	}
	header .menuOpen {
		height: 126px;
	}
	header #serch ,
	header #link {
		float: none;
		text-align: center;
	}
	#newBox {
		padding-top: 45px;
	}
	#newBox h3 {
		display: none;
	}
	#newBox .newList {
		width: 98%;
	}
	#gotop {
    width: 50%;
    bottom: 0;
    right: 0;
    background: #dddddd;
    border-radius: 0;
    color: #0f0f19;
}
	#gotop i{
    display: inline-block;
    margin: 0;
    background: none;
    color: #333;
    font-size: 23px;
    width: auto;
    margin-right: 10px;
}
	#gotom {
    width: 50%;
    bottom: 0;
    right: unset;
    left: 0;
    background: #5f882f;
    border-radius: 0;
    color: #fff;
}
	#gotom i{
    display: inline-block;
    margin: 0;
    font-size: 23px;
    width: auto;
    margin-right: 10px;
}
}