
@import url(../fonts/font-awesome/font-awesome.min.css);
@import url(../fonts/flaticon/flaticon.css);
@import url(index_header.css);
@import url(index_footer.css);
@import url(page_banner.css);
/*@import url(page_navsub.css);*/



/*========================================================
                      	 h1 設定
=========================================================*/


.h1-title {
	background-color: #434342;
    color: #fff;
    margin: 0 0 30px 0;
    padding-top: 15px;
    padding-bottom: 15px;
    text-align: center;
	font-size: 24px;
	position: relative;
}
.h3-title {
	background-color: #ededed;
	border-left: 7px solid #204b6d;
	margin: 0 0 20px 0;
	font-weight: bold;
	padding: 10px 10px;
}



/* 尺寸設定 */
@media (min-width: 768px) {
	.h1-title {
		font-size: 30px;
		margin: 0 0 40px 0;
	}		
}
@media (min-width: 1200px) {
	.h1-title {
		font-size: 36px;
		margin: 0 0 60px 0;
	}		
}


/*========================================================
                      	 內頁框架
=========================================================*/

.content {
	min-height: 500px;
}
.content-box {
}


/* 麵包屑 */
.breadcrumbs {
	text-align: right;
}
.breadcrumbs a {
	display: inline-block;
	text-decoration: underline;
	color: #000;
	padding: 20px 0 10px 0;
}
.breadcrumbs a.home {
	font-weight: bold;
}
.breadcrumbs span {
	margin: 0 2px 0 4px;
	color: #000;
	font-size: 100%;
	font-weight: bold;
}

/*========================================================
                   		關於我們
=========================================================*/
.about-list {
	color: #777;
    text-align: center;
	background: url(../images/about_pic01.jpg)  no-repeat right -100px;
	/*background-attachment: fixed;*/
    background-repeat: no-repeat;
    position: relative;
}
/*.about-list h4 {
	text-decoration: underline;
	margin-left: 10px;
}*/
.about_box h3 {
    /*text-align: left;*/
    font-size: 3em;
    -webkit-box-reflect: below 0 -webkit-linear-gradient(transparent,transparent 50%,rgba(255,255,255,0.3));
    box-reflect: below 0 gradient(transparent,transparent 50%,rgba(255,255,255,0.3));
}
.about_box p {
    text-align: justify;
    max-width: 960px;
    margin: 16px auto;
    line-height: 1.8em;
}
/* === 尺寸設定 === */
@media (min-width: 768px){
.about_box h3 {
    text-align: center;
}
}

@media (min-width: 768px){
}
@media (min-width: 992px) {
}



/*========================================================
                   	    產品目錄
=========================================================*/

.product-main {
	margin-top: 60px;
}

.product-info {
	line-height: 32px;
	margin-bottom: 20px;
}

.product-main > h2 {
	background-color: #585858;
	color: #fff;
	padding: 12px;
	margin: 0 0 20px 0;
}
.product-main section dl {
	display: -moz-inline-stack;
	display: inline-block;
	*display: inline;
	zoom: 1;
	vertical-align: top;
	position: relative;
	width: 100%;
	margin-top: 20px;
	margin-bottom: 30px;
}
.product-main section dl dt {
	position: relative;
	border: 1px solid #d1d1d1;
	border-bottom-color: #dedede;
	padding: 10px;
}
.product-main section dl dt a .pic {
	position: relative;

/*
	position: relative;
	outline: 1px solid #d1d1d1;
	border-bottom-color: #dedede;
	border: 10px solid #fff;
*/
}
.product-main section dl dt a .pic img {
	width: 100%;
	vertical-align: bottom;
}
.product-main section dl dt a .pic:hover:before {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
}
.product-main section dl dt a .pic:before {
    position: absolute;
    top: 6px;
    bottom: 6px;
    left: 6px;
    right: 6px;
    content: '';
    display: inline-block;
	background: url(../images/magnifier.png) no-repeat center center;
	background-color: rgba(255,255,255,0.5);
    opacity: 0;
    -webkit-transform: scale(0.5);
    transform: scale(0.5);
    transition: .3s;
}
.product-main section dl dt a.price {
    position: absolute;
	right: 10px;
	bottom: 10px;
	z-index: 9;
	background-color: #adadad;
	padding: 4px 10px;
	text-align: center;
	color: #000;
	font-size: 14px;
}
.product-main section dl dt a.price:hover {
	background-color: #333;
	color: #fff;
}
.product-main section dl dd h2 {
	font-size: 16px;
	line-height: 24px;
	text-align: center;
	margin: 0;
	background-color: #dedede;
	padding: 10px;
}


/* 商品內頁 */

.product-detail {
	margin-top: 60px;
	margin-bottom: 60px;
}
.product-detail h2 {
	background-color: #585858;
	color: #fff;
	padding: 12px;
	margin: 0 0 20px 0;
}
.product-detail h3 {
	text-decoration: underline;
	margin-bottom: 20px;
}
.product-detail h4.title {
	background-color: #dadada;
	padding: 10px;
	color: #000;
	text-align: center;
	margin-bottom: 20px;
}

.product-detail .info {
	line-height: 32px;
}
.product-detail img {
	max-width: 100%;
}
.product-detail [class*="col-"] {
	margin-bottom: 20px;
}



/* 按鈕 */
.product-btn {
	margin-top: 20px;
	margin-bottom: 30px;
}
.product-btn a {
	display: block;
	background-color: #adadad;
	padding: 7px;
	text-align: center;
	color: #000;
}
.product-btn a:hover {
	background-color: #cecece;
}

.price {
	text-align: right;
	margin-top: 10px;
}
.price a {
	background: #1d365e;
    padding: 5px 30px;
    border-radius: 8px 8px;
    color: #fff;
    
}
.price a:hover {
	background: #59606b; 
}


/*  尺寸設定 */

@media (min-width: 640px) {
	.product-main section dl {
		width: 43.5%;
		margin-right: 3%;
		margin-left: 3%;
	}
}
@media (min-width: 768px) {
}
@media (min-width: 992px) {	

}
@media (min-width: 1200px) {
	.product-main section h1 {
		font-size: 36px;
		padding: 20px;
	}
	.product-main section dl {
		width: 26.6%;
	}
}
@media (min-width: 1600px) {
	.product-main section dl {
		width: 22.7%;
		margin-right: 1%;
		margin-left: 1%;
	}
}


/*========================================================
                   	 目錄選單設定
=========================================================*/

.navsub {
	display: none;
	margin-top: 60px;
}
.navsub h2 {
	background-color: #383838;
	font-weight: bold;
	color: #fff;
	padding: 12px;
	text-align: center;
	margin: 0;

}
.navsub ul {
	list-style: none;
	margin: 0;
	padding: 10px 0 40px 0;
}
.navsub ul li {
	border-bottom: 1px solid #c1c1c1;
}
.navsub ul li a {
	display: block;
	color: #333;
	padding: 10px;
	/*background-color: #fff;*/
}
.navsub ul li a:before {
	content: "\f0da";
	font-family: "FontAwesome";
	font-size: 16px;
	margin-right: 5px;
	color: #000;
	
}
.navsub ul li a:hover {
	color: #000;
	background-color: #b1b1b1;
}

/* 手機用選單 */

.navsub-select {
	margin-left: 15px;
	margin-right: 15px;
	}
.navsub-select h2 {
	text-align: center;
	}
.navsub-select .form-control {
	margin-bottom: 20px;
}

/* === 尺寸設定 === */
@media (min-width: 768px) {	
	.navsub {
		display: block;
	}
	.navsub-select {
		display: none;
	}
}






/*========================================================
                         聯絡我們
=========================================================*/

.contact-box {
	position: relative;
}

.contact-box > .row > .col-md-6 {
	padding-bottom: 50px;
}
.contact-list h2 {
	border-left: 10px solid #ce4737;
	padding: 10px;
	margin-bottom: 20px;
	background-color: #f4f4f4;
	font-size: 24px;
}
.map ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.map ul li {
	list-style: none;
	margin: 0;
	padding: 5px 0 5px 50px;
	position: relative;
	min-height: 40px;
	margin-bottom: 10px;
}
.map ul li b {
	font-weight: bold;
	font-size: 20px;
	display: block;
	color: #434342;
}
.map ul li i {
	list-style: none;
	margin: 0;
	padding: 5px 0;
}
.circle {
	width: 40px;
	height: 40px;
	border-radius: 20px;
	font-size: 20px;
	color: #fff;
	line-height: 40px;
	text-align: center;
	background: #434342;
	position: absolute;
	left: 0;
	top: 10px;
	z-index: 9;
}
.map ul li [class^="flaticon-"]:before, 
.map ul li [class*=" flaticon-"]:before, 
.map ul li [class^="flaticon-"]:after, 
.map ul li [class*=" flaticon-"]:after {
    margin-right: 0px;
}


/* 尺寸設定 */

@media (min-width: 992px) {
	.contact-box > .row > .col-md-6:nth-of-type(1) {
		padding-right: 50px;
	}
	.contact-box > .row > .col-md-6:nth-of-type(2) {
		padding-top: 20px;
		padding-left: 50px;
	}
}




/*========================================================
                         各類表單
=========================================================*/

.contant-list {
	
}


/* 說明 */
.form-info {
	border: 2px dashed #adadad;
	padding: 20px 20px 20px 100px;
	background: #f7f7f7 url(../images/warning.png) no-repeat 20px center;
	margin-bottom: 20px;
	min-height: 60px;
}
.form-info p {
	margin-bottom: 6px;
}



/* 表單設定 */
.form-horizontal {
	margin-bottom: 40px;
}
.form-horizontal .control-label {
	color: #333;
}
.form-horizontal .form-control {
	border-radius: 5px;
	padding: 5px 20px 5px 40px;
	border: 1px solid #c4c4c4;
	background-color: #f6f6f6;
}
.form-control {
    background-color: #f6f6f6;
	height: 40px;
}	
::placeholder {
  	color: #000;
	font-weight: bold;
}

/* 意見表單 */

.contact-form {
	margin-bottom: 20px;
}
.contact-form [class *= col-] {
	position: relative;
	padding: 0;
	margin-bottom: 10px;
}
.contact-form [class *= col-] i {
    display: block;
    font-size: 16px;
    color: #c4c4c4;
    width: 28px;
    line-height: 28px;
    text-align: center;
/*    border: 1px solid #c4c4c4;*/
    background-color: #f6f6f6;
    position: absolute;
    left: 6px;
    top: 6px;
    border-radius: 5px;
    transition: all 0.4s ease;
}
.contact-form [class *= col-] i.text-red {
    color: #333;
}


/* 尺寸設定 */

@media (min-width: 768px) {
	.form-info {
		padding: 20px 20px 20px 70px;
		background: #f7f7f7 url(../images/warning2.png) no-repeat 20px center;
	}
	.form-info {
		margin-right: 15px;
	}
	.contact-form [class *= col-] {
		padding-right: 15px;
	}
	.form_out .col-md-3 {
		padding-right: 15px;
	}
	.form_out .col-md-3 span {
		text-align: center;
		background-color: #fff;
	}
}
/*========================================================
                           表格
=========================================================*/

.table1 {
	border-collapse: collapse;
	text-align: left;
	margin: 0 0 20px 0;
	border: 1px solid #ddd;
}
.table1 caption {
	color: #333;
	font-weight: bold;
}

.table1 th {
	background: #333333;
	color: #fff;
	font-weight: bold;
	padding: 10px 5px !important;
	text-align: center;	
	border-top: 0 !important;
	border-right: 1px solid #555555;
}
.table1 td {
	padding: 5px 5px !important;
	border-right: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
	text-align: center;
}

.table1 td:last-child {
	border-right: none;
	text-align: center;
}
.table1 td.c1 {
	background-color: #ededed;
	}
.table1 td.left {
	text-align: left;
	}
	
.table2 {
}
.table2 th {
	background: #585858;
	color: #fff;
	font-weight: bold;
	padding: 15px 5px !important;
	text-align: center;	
	border-top: 0 !important;
	border-right: 1px solid #bab9bb;
}
.table2 td {
	padding: 0 5px;
	border: 1px solid #cccccc;
	text-align: center;
	background-color: #fff;
}
.table2 td img {
	max-width: 100px;
	max-height: 100px;
}
.table2 td a {
	color: #333;
}
.table2 td.left {
	text-align: left;
}


/* 手機表格提示 */
.table-text {
	color: #D40101;
	text-align: right;
}	
@media (min-width: 768px) {
	.table-text {
		display: none;
	}	
}


/*========================================================
                         圖片效果
=========================================================*/

a.figure {
	display: block;
	position: relative;
	}

a.figure:hover:before {
    opacity: 0.3;
    -webkit-transform: scale(1);
    transform: scale(1);
}
a.figure:before {
    position: absolute;
    top: 6px;
    bottom: 6px;
    left: 6px;
    right: 6px;
    content: '';
    display: inline-block;
    background-color: #fff;
    opacity: 0;
    -webkit-transform: scale(0.5);
    transform: scale(0.5);
    transition: .3s;
}



/* 跳出視窗 */
#inline {
	min-width: 360px;
}
#inline h2 {
	margin: 0 0 10px 0;
	padding: 5px 10px;
	background-color: #383838;
	color: #fff;
	font-size: 24px;
}
#inline p {
	text-align: center;
	font-size: 24px;
}
#inline p:last-of-type {
	margin-top: 20px;
	font-size: 16px;
}
.add-price {
	text-align: center;
	margin-top: 20px;
}
.add-price a {
	display: block;
	margin-bottom: 10px;
}
.add-price a {
	background-color: #adadad;
	color: #000;
	padding: 10px 20px;
}
.add-price a:hover {
	background-color: #585858;
	color: #fff;
}


@media (min-width: 480px) {
	.add-price {
		text-align: right;
	}
	.add-price a {
		display: inline-block;
		margin-bottom: 0;
	}
}
/* ----------------- 跳出視窗 ----------------- */

#show_iframe {
	box-sizing: border-box;
	-moz-box-sizing: border-box; /* Firefox */
	-webkit-box-sizing: border-box; /* Safari */
	background-color: rgba(0,0,0,0.6);
	display: table;
	width: 100%;
	height: 100%;
	padding: 0;
	position: fixed;
	left: 0;
	top: 0;
	z-index: 9999;
	display: none;
}
.show_content {
	background-color: #fff;
	width: 400px;
	height: 250px;
	padding: 20px;
	border: 1px solid #999;
	position: absolute;
	overflow: auto;
	top: 50%;
	left: 50%;
	margin-top: -105px; 
	margin-left: -200px;
}
.show_content h1 {
	background-color: #585858;
	font-size: 22px;
	padding: 7px ;
	color: #fff;
	margin: 0 0 10px 0;
}
.show_content p {
	font-size: 21px;
	padding: 7px;
	color: #000;
	margin: 0 0 10px 0;
}

#show_btn {
	cursor: pointer;
	}
#hide_btn {
/*	background: url(../images/cross.png) no-repeat left top;
	width: 16px;
	height: 16px;
	display: inline-block;
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 99;
	cursor: pointer;*/
	text-align: center;
	margin-top: 30px;
}
#hide_btn a {
	display: inline-block;
	/*background-color: #f7d3a5;*/
	border: 1px solid #c0c0c0; 
	border-radius: 10px;
	
	color: #666;
	padding: 5px 20px;
	margin: 0 3px;
}	
	
