@charset "utf-8";
@import url("../../external.html?link=http://www.comf.com.tw/css/reset.css");
/* CSS Document */
p, h1, h2, h3, h4, a {
	line-height: 150%;
}
a {
	color: #d4001b;
	-webkit-tap-highlight-color: rgba(0,0,0,0);
	-webkit-user-select: none;
}
a:hover {
	color: #09c;
}
input, textarea, select {
	font-family: 'Roboto', "微軟正黑體", sans-serif;
	font-size: 15px;
	padding: 3px;
	color: #222;
	/*避免select長度不一*/
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}
input:focus {
	outline: none;
}
iframe, img {
	vertical-align: bottom;
}
.red {
	color: #F00;
}
.align_r {
	text-align: right;
}
.align_c {
	text-align: center;
}
.clear {
	clear: both;
	height: 0px;
	line-height: 0px;
}
.bold {
	font-weight: bold;
}
.italic {
	font-style: italic;
	color: #888;
	font-weight: normal;
}
.gray {
	color: #888;
}
.divider {
	width: auto;
	height: 10px;
	line-height: 10px;
}
ol.number {
	margin-left: 40px;
	list-style: decimal;
}
.btn {
	padding: 5px 20px;
	line-height: 150%;
	font-size: 18px;
	-webkit-appearance: none;/*取消手機預設樣式*/
	border: 0;
}
.btnStyle {
	background-color: #d4001b;
	color: #FFF;
	text-decoration: none;
	cursor: pointer;
	display: inline-block;
	border-radius: 5px;
	background-image: url(../../external.html?link=http://www.comf.com.tw/images/bg_more.png);
	background-position: right center;
	background-repeat: no-repeat;
}
.btnStyle:hover {
	color: #FFF;
	background-color: #F03;
}
.textStyle {
	border: 1px solid #999;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	padding: 7px;
}
.textStyle:focus {
	border: 1px solid #A6C1CE;
	background: #F6FBFE;
}
.imgFloatRight {
	float: right;
	margin: 0 0 20px 20px
}
.nowrap {
	width: auto;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
}
.indent {
	padding-left: 20px;
}
::-webkit-input-placeholder { /* WebKit browsers */
 color:#999;
}
:-ms-input-placeholder { /* WebKit browsers */
 color:#999;
}
/*---------news--------*/
#news li span.TagCompany {
	background: #FEA210;
}
#news li span.TagProduct {
	background: #08A9CE;
}
#news li span.TagEx {
	background: #6AC14C;
}
/*-------------table Display--------------------*/
.tableDisplay {
	border-top: 1px solid #CCC;
	border-collapse: collapse;
}
.tableDisplay th {
	border-bottom: 1px solid #CCC;
	background: #eee;
	padding: 5px 6px;
}
.tableDisplay td {
	border-bottom: 1px solid #CCC;
	padding: 5px 6px;
}
.tableDisplay td.pink {
	background: #FFECEC;
}
.codeImg {
	vertical-align: middle;
	margin: 0 5px;
}
/*---------page--------*/
#page {
	color: #666;
	overflow: auto;
}
#page span {
	float: left;
	margin: 0 3px 6px 3px;
}
#page span a {
	color: #666;
	display: block;
	text-decoration: none;
	padding: 3px 10px;
	border: 1px solid #C8C8C8;
	background: linear-gradient(#FEFEFE, #EFEFEF);
	-webkit-border-radius: 3px;
	border-radius: 3px;
}
#page span a:hover {
	color: #FFF;
	border: 1px solid #d4001b;
	background: #d4001b;
}
#page span.current a {
	background: none;
	border: #FFF 1px solid;
}
#page span.current a:hover {
	color: #666;
}
/*----------------product Tab / sort ----------------------------------*/
#tab {
}
#tab li {
	float: left;
	margin-right: 15px;
}
#tab li a {
	padding: 0 15px;
	background: url(../../external.gif?link=http://www.comf.com.tw/images/bg_tab.jpg) no-repeat bottom center;
	width: auto;
	display: block;
	height: 35px;
	line-height: 35px;
	padding-bottom: 5px;
	color: #fff;
	text-decoration: none;
	font-size: 15px;
}
#tab li a:hover, #tab li.active a {
	background: url(../../external.gif?link=http://www.comf.com.tw/images/bg_tab_hover.jpg) no-repeat bottom center;
	color: #FFF;
}

/*-----------------------for PC-----------------------*/
@media screen and (min-width:801px) {
/*-----------------------body-----------------------*/
html, body {
	margin: 0;
	padding: 0;
	color: #333;
	font-size: 15px;
	line-height: 150%;
	font-family: 'Roboto', "微軟正黑體", sans-serif;
}
.NoShowInPC {
	display: none;
}
body {
	background-image: url(../../external.gif?link=http://www.comf.com.tw/images/bg.jpg);
	background-position: center top;
	background-repeat: no-repeat;
	background-size: 100% auto;
}
/*------------------header------------------------*/
#header {
	width: 980px;
	height: 100px;
	position: relative;
	margin: 0 auto;
}
#header h1 a {
	width: 500px;
	top: 0;
	position: absolute;
	height: 100px;
	display: block;
	background-image: url(../../external.html?link=http://www.comf.com.tw/images/logo.png);
	background-repeat: no-repeat;
	background-size: cover;
	text-indent: -9999px;
}
#header h2 {
	width:250px;
	position: absolute;
	right: 0;
	top: 15px;
	height: 70px;
	display: block;
	background: url(../../external.html?link=http://www.comf.com.tw/images/ISO.png) no-repeat;
	text-indent: -9999px;
}
/*------------------menu------------------------*/
#menuWrapper h4 {
	display: none;
}
#menuWrapper {
	width: 980px;
	height: 40px;
	background: linear-gradient(#F0464F, #D72731);
	margin: 0 auto;
}
#menu {
	width: 100%;
	height: 40px;
}
#menu li {
	float: left;
	background: url(../../external.gif?link=http://www.comf.com.tw/images/divider.jpg) no-repeat top right;
}
#menu li:last-child {
	background: none;
}
#menu li a {
	display: block;
	width: 163px;
	text-align: center;
	height: 40px;
	line-height: 40px;
	font-size: 16px;
	text-decoration: none;
	color: #FFF;
	cursor: pointer;
}
#menu li:last-child a {
	width: 165px;
}
#menu li.selected, #menu li a:hover {
	background: #9A020A;
}
#menu li ul {
	position: absolute;
	width:220px;
	z-index: 101;
	display: none;
}
#menu li ul li {
	border: 0;
	position: relative;
	z-index: 99;
}
#menu li ul li a {
	width:220px;
	background: #9A020A;
	line-height: 40px;
	color: #fff;
	font-weight: normal;
	text-indent: 15px;
	font-size: 15px;
	text-align: left;
	border-top: 1px solid #DA031B;
}
#menu li ul li:last-child a {
	width:220px;
}
#menu li ul li div.subcategory {
	position: absolute;
	left:220px;
	top: 0;
	display: none;
}
#menu li ul li div.subcategory a {
	background: #DA031B;
	border-top: 1px solid #9A020A;
}
#menu li ul li div.subcategory a:first-child {
	border-top: 1px solid #DA031B;
}
#menu li ul li div.subcategory a:hover {
	background: #F03;
}
#menu li ul li a:hover, #menu li ul li.selected a {
	background: #DA031B;
}
#menu li ul li span {
	position: absolute;
	right: 5px;
	top: 0;
	width: 8px;
	height: 40px;
	background: url(../../external.html?link=http://www.comf.com.tw/images/bg_more.png) no-repeat left center;
}
/*----------------track----------------------------------*/
#track {
	color: #999;
	margin: 0 auto;
	line-height: 40px;
	height: 40px;
	width: 980px;
	padding: 0 20px;
	background: #eee;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
}
#track span {
	padding-left: 20px;
	background: url(../../external.html?link=http://www.comf.com.tw/images/bg_track.png) no-repeat left center;
}
/*-------------banner--------------------*/
#bannerWrapper {
	width: 980px;
	height: 280px;
	margin: 15px auto;
}
#banner {
	position: relative;
}
.bannerslide {
	width: 100%;
	height: 100%;
}
#banner img {
	vertical-align: bottom;
}
/*-------------content--------------------*/
#content {
	width: 980px;/*980*/
	background: #FFF;
	margin: 0 auto 30px auto;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
}
#left {
	float: left;
	width: 200px;
}
#right {
	float: right;
	width: 680px;
}
#content h1, #contentInner h1 {
	color: #FFF;
	font-size: 19px;
	font-weight: normal;
	height: 40px;
	line-height: 40px;
	text-indent: 20px;
	background: linear-gradient(#1447A3, #061D63);
	-webkit-border-radius: 5px;
	border-radius: 5px;
}
#content h3, #contentInner h3 {
	font-size: 17px;
	color: #d4001b;
}
#contentInner h2 {
	font-size: 17px;
	font-weight: normal;
	background: #eee;
	text-align: center;
	padding: 5px 0;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
}
#contentInner h5 {
	font-size: 15px;
	/*font-weight: normal;*/
	margin-bottom: 5px;
}
#indexleft {
	float: left;
	width: 475px;
}
#indexright {
	float: right;
	width: 475px;
}
/*-------------content inner--------------------*/
#contentInner {
	padding: 20px;
	width: 980px;
	margin: 0 auto 10px auto;
	background: #FFF;
	min-height: 400px;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
}
#innerleft {
	float: left;
	width: 455px;
}
#innerright {
	float: right;
	width: 455px;
}
#innerPicleft {
	float: left;
	width: 420px;
}
#innerPicright {
	width: auto;
	margin-left: 430px;
}
.prodthumbL {
	width: 455px;
	height: 455px;
	border: 1px solid #ddd;
	text-align: center;
}
/*--------------------list news--------------------*/
#news li {
	padding: 0;
	margin: 0;
	width: auto;
	display: block;
	margin-top: 15px;
}
#news li:first-child {
	margin-top: 0;
}
#news li span {
	color: #FFF;
	width: 70px;
	float: left;
	height: 22px;
	line-height: 22px;
	text-align: center;
	display: block;
	font-size: 12px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}
#news li a {
	display: block;
	margin-left: 80px;
}
/*--------------------首頁精選產品--------------------*/
.prodList {
}
.prodList li {
	float: left;/**首頁**/
	display: block;
	width: 150px;
	height: 180px;
	margin-left: 15px;
}
.prodList li:first-child {
	margin: 0;
}
.prodList li a p {
	margin-top: 3px;
}
.prodList li a div {
	border: 1px solid #eee;
	width: 150px;
	height: 150px;
}
.prodList li a:hover {
	color: #d4001b;
}
.prodList li a:hover div {
	border: 1px solid #d4001b;
}
/*--------------------Sub 產品 List --------------------*/
.subList {
}
.subList li {
	float: left;
	margin: 0 10px 10px 0;
}
.subList li:nth-child(3n) {
	margin-right: 0;
}
.subList li a {
	border: 1px solid #ddd;
	color: #222;
	display: block;
	padding: 10px;
	width: 305px;
	height: 210px;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	text-decoration: none;
	overflow: hidden;
}
.subList li a:hover {
	color: #d4001b;
	border: 1px solid #d4001b;
}
.subList li a div {
	display: inline-block;
	width: 139px;
	height: 139px;
	overflow: hidden;
}
.subList li a h4 {
	border-top: 1px solid #ddd;
	color: #222;
	padding-top: 12px;
	position: relative;
	font-size: 17px;
}
.subList li a .btnGray {
	position: absolute;
	right: 0;
	top: 10px;
	font-size: 14px;
	color: #fff;
	border-radius: 3px;
	background: url(../../external.html?link=http://www.comf.com.tw/images/bg_more.png) no-repeat right center #666;
}
.subList li a:hover .btnGray {
	background: url(../../external.html?link=http://www.comf.com.tw/images/bg_more.png) no-repeat right center #d4001b;
}
.subList li a:hover h4 {
	color: #d4001b
}
/*-------------table form--------------------*/
.contentBox {
	width: 100%;
}
.largeText {
	width: 60%;
}
.smallText {
	width: 80px;
}
.checkbox li {
	float: left;
	width: 200px;
}
.smallFont{ font-size:13px;}
/*-------------contact list--------------------*/
.contactList li {
	float: left;
	display: block;
	width: 48%;
	height: auto;
	margin-right: 4%;
}
.contactList li:nth-child(2n) {
	margin-right: 0;
}
/*-----------award-----------------*/
.award {
	margin: 0 auto;
	text-align: center;
}
.award li {
	width: 200px;
	display: inline-block;
	height: 300px;
	margin: 0 10px 20px 10px;
	border: 1px solid #eee;
}
/*-----------CA photo-----------------*/
.CA {
}
.CA li {
	float: left;
	margin: 0 5px 10px 5px;
	border: 0px;
	padding: 3px;
	box-sizing: border-box;
	background: #fff;
	display: inline-block;
	border-radius: 5px;
	box-shadow: 0px 0px 2px #555;
}
.CA li img {
	width: 100px;
	height: 100px;
	border-radius: 3px;
}
/*-------------footer--------------------*/
#footerWrapper {
	background: linear-gradient(#1447A3, #061D63);
}
#footer {
	width: 980px;
	margin: 0 auto;
	padding: 25px 0;
	position: relative;
	font-size: 13px;
	color: #fff;
}
#footer a {
	color: #FFF;
}
#footer p#copy {
	position: absolute;
	right: 0;
	bottom: 35px;
}
}

/*------------------for mobile------------------------*/
@media screen and (max-width:800px) {
/*-----------------------body-----------------------*/
html {
	width: 100%;
	min-height: 100%;
	margin: 0;
	padding: 0;
	-webkit-text-size-adjust: none;
}
body {
	color: #333;
	line-height: 150%;
	font-size: 16px;
	font-family: 'Roboto', Arial, sans-serif;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	width: 100%;
	min-height: 100%;
}
.NoShowInMobile {
	display: none;
}
.btn {
	font-size: 19px;
	-webkit-appearance: none;/*取消手機預設樣式*/
}
.alignCenterMobile {
	text-align: center
}
input, textarea, select {
	font-size: 16px;
}
.picForMobile {
	width: 100%;
	height: auto;
}
.googleMap {
	width: 100%;
	height: 320px;
}
/*------------------header------------------------*/
#header {
	margin-top: 60px;
	padding: 10px 20px;
}
#header h1 a {
	width: 100%;
	height: 0;
	padding-bottom: 20%;
	display: block;
	background-image: url(../../external.html?link=http://www.comf.com.tw/images/logo.png);
	background-size: 100% 100%;
	text-indent: -9999px;
}
#header h2 {
	position: absolute;
	left: 0;
	top: 0;
	width: 214px;
	height: 60px;
	display: block;
	text-indent: -9999px;
	z-index: 3333;
	background-image: url(../../external.html?link=http://www.comf.com.tw/images/ISO.png);
	background-repeat: no-repeat;
	background-size: 90% 90%;
	background-color: #ccc;
	background-position: center center;
}
/*------------------menu------------------------*/
#menuWrapperForMobile {
	width: 100%;
	position: absolute;
	top: 0;
	height: 60px;
}
#menuWrapper {
	width: 100%;
	height: 60px;
	background: #3e3a39;
	position: relative;
	z-index: 700;
}
#menuWrapper h4 {
	display: block;
	position: absolute;
	width: 70px;
	height: 60px;
	top: 0;
	right: 0;
	border-left: 1px solid #666;
	background-image: url(../../external.html?link=http://www.comf.com.tw/images/iconMenu.png);
	background-size: 50px auto;
	background-repeat: no-repeat;
	background-position: center center;
	text-indent: -9999px;
}
h4.gray {
	background-color: #666;
}
#menu {
	width: 100%;
	background: #666;
	position: absolute;
	top: 60px;
	right: 0;
	display: none;
}
#menu li {
	border-bottom: 1px solid #555;
}
#menu li a {
	color: #fff;
	display: block;
	text-decoration: none;
	padding: 10px 0 10px 20px;
}
#menu li ul {
	display: none;
}
#menu li ul li {
	border-bottom: 0;
	border-top: 1px solid #444;
}
#menu li ul li a {
	background: #000;
	padding-left: 35px;
}
#menu li ul li a:hover, #menu li ul li.selected a {
	background: #DA031B;
}
#menu li ul li div.subcategory {
	position: absolute;
	right: 0;
	border-top: 0px solid #9A020A;
	display: none;
	font-size: 15px;
	text-indent: 0;
	width: 50%;
}
#menu li ul li div.subcategory a {
	background: rgba(216,0,3,0.85);
	border-top: 0;
	padding: 10px 0 10px 20px;
}
#menu li ul li a span:after {
	content: " +";
	color: #fff;
}
/*----------------track----------------------------------*/
#track {
	color: #999;
	padding: 5px 20px;
	font-size: 14px;
	background: #eee;
	width: auto;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
}
#track span {
	padding-left: 20px;
	background: url(../../external.html?link=http://www.comf.com.tw/images/bg_track.png) no-repeat left center;
}
/*-------------content--------------------*/
#bannerWrapper {
	margin: 0 auto;
}
#banner img {
	vertical-align: middle;
}
#indexleft {
	margin-bottom: 25px;
}
#innerleft {
	text-align: center;
	margin-bottom: 25px;
}
#innerPicleft {
	margin-bottom: 25px;
}
#innerPicright img {
	width: 20%;
}
.prodthumbL {
	width: 100%;
	height: 0;
	padding-bottom: 100%;
	border: 1px solid #ddd;
	text-align: center;
}
/*-------------content--------------------*/
#content, #contentInner {
	margin: 20px 20px 30px 20px;
}
#content h1, #innerright h1 {
	color: #FFF;
	font-size: 25px;
	font-weight: normal;
	text-align: center;
	padding: 5px 0;
	background: linear-gradient(#1447A3, #061D63);
	-webkit-border-radius: 5px;
	border-radius: 5px;
}
#contentInner h1 {
	font-size: 26px;
	font-weight: normal;
}
#content h3, #contentInner h3 {
	font-size: 22px;
	color: #d4001b;
	font-weight: normal;
}
#contentInner h2 {
	font-size: 22px;
	font-weight: normal;
	background: #eee;
	text-align: center;
	padding: 5px 0;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
}
#contentInner h5 {
	/*font-weight: normal;*/
	margin-bottom: 5px;
	font-size: 18px;
}
/*--------------------首頁精選產品--------------------*/
.prodList li {
	float: left;/**首頁**/
	display: block;
	width: 48%;
	height: auto;
	margin-right: 4%;
	margin-bottom: 4%;
}
.prodList li:nth-child(2n) {
	margin-right: 0;
}
.prodList li:nth-child(5), .prodList li:nth-child(6) {
	margin-bottom: 0;
}
.prodList li a p {
	margin-top: 3px;
}
.prodList li a div {
	border: 1px solid #eee;
	width: 100%;
	padding-bottom: 100%;
	height: 0;
}
.prodList li a:hover {
	color: #d4001b;
}
.prodList li a:hover div {
	border: 1px solid #d4001b;
}
/*--------------------Sub 產品 List --------------------*/
.subList {
}
.subList li {
	margin: 0 0 10px 0;
}
.subList li a {
	border: 1px solid #ddd;
	color: #222;
	display: block;
	padding: 10px;
	width: auto;
	text-decoration: none;
}
.subList li a:hover {
	color: #d4001b;
	border: 1px solid #d4001b;
}
.subList li a div {
	display: inline-block;
	width: 49%;
	height: 0;
	padding-bottom: 49%;
}
.subList li a h4 {
	border-top: 1px solid #ddd;
	color: #222;
	padding: 10px 0 0 0;
	position: relative;
	font-size: 19px;
}
.subList li a .btnGray {
	position: absolute;
	right: 0;
	top: 8px;
	font-size: 15px;
	color: #fff;
	border-radius: 3px;
	background: url(../../external.html?link=http://www.comf.com.tw/images/bg_more.png) no-repeat right center #666;
}
.subList li a:hover .btnGray {
	background: url(../../external.html?link=http://www.comf.com.tw/images/bg_more.png) no-repeat right center #d4001b;
}
.subList li a:hover h4 {
	color: #d4001b
}
/*--------------------list news--------------------*/
#news li {
	padding: 0;
	margin: 0;
	width: auto;
	display: block;
	margin-top: 15px;
}
#news li:first-child {
	margin-top: 0;
}
#news li span {
	color: #FFF;
	width: 70px;
	float: left;
	height: 22px;
	line-height: 22px;
	text-align: center;
	display: block;
	font-size: 12px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}
#news li a {
	display: block;
	margin-left: 80px;
}
/*-------------contact list--------------------*/
.contactList li {
	display: block;
	margin-bottom: 25px;
}
.contactList li:nth-child(2n) {
	margin-bottom: 0;
}
/*-----------award-----------------*/
.award {
	margin: 0 auto;
	text-align: center;
}
.award li {
	width: 150px;
	display: inline-block;
	height: 225px;
	vertical-align: bottom;
	margin: 0 5px 10px 5px;
	border: 1px solid #eee;
}
/*-----------CA photo-----------------*/
.CA {
	text-align: center;
}
.CA li {
	margin: 0 5px 10px 5px;
	padding: 2px;
	box-sizing: border-box;
	background: #fff;
	display: inline-block;
	border-radius: 3px;
	box-shadow: 0px 0px 2px #555;
}
.CA li img {
	width: 100px;
	height: 100px;
	border-radius: 3px;
}
/*-------------table form--------------------*/
.contentBox {
	width: 100%;
}
.largeText {
	width: 100%;
}
.smallText {
	width: 100px;
}
.midText {
	width: 100%;
}
/*-------------footer--------------------*/
#footerWrapper {
	background: linear-gradient(#1447A3, #061D63);
}
#footer {
	text-align: center;
	padding: 20px;
	position: relative;
	font-size: 13px;
	color: #fff;
}
#footer a {
	color: #FFF;
}
#footer p#copy {
	margin-top: 20px;
}
}
