
@import url(../fonts/font-awesome/font-awesome.min.css);
@import url(../../fonts/flaticon/flaticon.css);
@import url(revise.css);
@import url(header.css);
@import url(footer.css);
@import url(hover.css);
@import url(banner.css);

/*========================================================
                      	 標題設定
=========================================================*/

.h2-title {
    font-size: 2.4rem;
    font-weight: bold;
    text-align: center;
    position: relative;
    margin: 0;
    padding-top: 10px;
    padding-bottom: 10px;
}


/*========================================================
                      	 了解更多
=========================================================*/

.more-btn {
    text-align: center;
}
.more-btn a {
    color: #000;
    font-size: 1.4rem;
}
.more-btn a:hover {
    color: #14ac81;
}
.more-btn a:before,
.more-btn a:after {
    font-family: 'Font Awesome 5 free';
    content: "";
    font-weight: 900;
    display: inline-block;
    margin: 0 10px;
}
.more-btn a:before {
    content: "\f053";
}
.more-btn a:after {
    content: "\f054";
}


/*========================================================
                      	 關於我們
=========================================================*/

.about-wrap { 
	background: url("../images/index/about-bg.jpg") no-repeat right bottom;
	background-size: cover;  
	padding: 60px 5% 60px;
    color: #fff;
}
.about-wrap .info {
    text-align: left;
}
.about-wrap h2 {
    text-align: left;
    margin-bottom: 50px;
    padding-bottom: 5px;
    border-bottom: 1px solid #fff;
}
.about-wrap .more-btn {
    margin-top: 5%;
    text-align: left;
}
.about-wrap .more-btn a {
    color: #fff;
}
.about-wrap .more-btn a:hover {
    color: #000;
}

/*  尺寸設定 */
@media (min-width: 1200px) {
    .about-wrap { 
        background-position: center top;
    }
    .about-wrap .info {
        padding-left: 50px;
    }
    .about-wrap .img {
        margin-top: 80px;
    } 
    .about-wrap .more-btn {
        margin-top: 8%;
    }
}
@media (min-width: 1600px) {
    .about-wrap .info {
        padding-left: 50px;
        font-size: 1.4rem;
        line-height: 36px;
    }
    .about-wrap .img {
        margin-top: 50px;
    }  
}


/*========================================================
                      footer-nav
=========================================================*/

.footer-nav {
    background-color: #fff;
    text-align: center;
    padding-top: 20px;
    padding-bottom: 20px;
    font-size: 1.4rem;
}
.footer-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer-nav ul li {
    display: inline;
}
.footer-nav ul li a {
    display: inline-block;
    color: #000;
    margin-left: 3%;
    margin-right: 3%;
}
.footer-nav ul li a:hover {
    color: #ea0000;
}



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

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;
    z-index: 10;
    content: '';
    display: inline-block;
    background-color: #fff;
    opacity: 0;
    -webkit-transform: scale(0.5);
    transform: scale(0.5);
    transition: .3s;
}

.image-box .image-pic {
	position: relative;
}
.image-box .image-pic > p {
	position: absolute;
	top: 54%;
	left: 50%;
	transform: translate(-50%,-54%);
	z-index: 9;
    font-size: 1.6rem;
    color: #fff;
	text-shadow: 2px 2px 10px #000;
    font-weight: bold;
    width: 90%;
    text-align: center;
}
.image-box .image-pic > img {
	width: 100%;
	vertical-align: bottom;
}
.image-box .image-pic a {
	display: block;
	color: #fff;
}
.image-box .image-pic:hover .thumb-inner {
	display: block;
}
.image-box .image-pic:before {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	z-index: 5;
	width: 100%;
	height: 10%;
	opacity: 0;
	transition: all 0.3s;
}
.image-box .image-pic:hover:before {
	background-color: rgba(0, 0, 0, 0.5);
	opacity: 1;
	height: 100%;
}
.thumb-inner {
	display: none;
	position: absolute;
	left: 0;
	top: 42%;
	z-index: 6;
	transform: translateY(-42%);
	width: 100%;
	text-align: center;
}
.thumb-inner span {
	display: inline-block;
	color: #fff;
	font-size: 1rem;
	padding: 1px 20px 3px;
	border: 1px solid #fff;
}


/*  尺寸設定 */
@media (min-width: 992px) {
    .image-box .image-pic > p {
        font-size: 2rem;
    } 
}


/*========================================================
                         HOME NEWS
=========================================================*/

.view_lg{ display:none;}
@media (min-width:992px){
    .view_sm{ display:none;}
    .view_lg{ display:block;}
}

.home_title{ font-weight:900; color:#338bbd; font-size: 1.2rem;}
.home_subtitle{font-weight:900; font-size: 3rem;}
.title_line{ width:80px; height:16px; margin:-22px auto 30px auto; background-color:#338bbd; }

.home_news_section{ padding:80px 0; background-image: url(../images/index/home-bg1.jpg); background-size: cover; background-position: top center;}
.home_news_section .container-fluid{ max-width:1500px; margin:0 auto; padding:0 15px; }

.home_news_more{margin: 30px 0; text-shadow: none;}
.home_news_more a{ color:#333;  transition: all 0.3s;}
.home_news_more a i{margin: 0 5px; -webkit-transition: all 0.3s;  transition: all 0.3s;}
.home_news_more a:hover{ color:#338bbd; text-decoration: none;}
.home_news_more a:hover i{}


.home_news_pic{ width: 100%; height: 240px; position: relative; overflow: hidden;}
.home_news_pic img{position: absolute; width:100%; height:100%; object-fit: cover; object-position: center center; transition: all 0.3s;}

.home_news_list{ padding:0; list-style:none; }
.home_news_list li{ padding:20px 0; border-bottom:1px solid #ccc; text-align: left; position:relative;}
.home_news_list li a{ position:absolute; z-index: 99; top:0; left:0; width:100%; height:100%; opacity:0; }

.home_news_date{ background-color:#338bbd; color:#fff; font-size:0.8rem; width:64px; height:64px; text-align:center; margin-bottom: 15px;}
.home_news_date span{ display:block; font-weight: 900; font-size:2.4rem; line-height: 1.8rem; padding-top: 8px;}

.home_news_text h4{ color:#555; font-weight:700; transition: all 0.3s; }
.home_news_list li:hover .home_news_text h4{ color:#338bbd;}

@media (min-width:992px){
    .home_news_pic{ height:400px;}
    .home_news_date{ float:left; margin-bottom: 0;}
    
    .home_news_text{ margin-left:80px;}
    .home_news_text h4,
    .home_news_text p{white-space:nowrap; text-overflow:ellipsis; -o-text-overflow:ellipsis; overflow: hidden;}
    .home_news_text p{ margin:0 ; }
    
}

/*@media (min-width:1400px){
    .home_subtitle{font-size:4rem;}
}*/


.home_product_section{ padding:0 0 80px 0; background-image: url(../images/index/home-bg2.jpg); background-size: cover; background-position: bottom left;}
.home_product_section .container-fluid{ max-width:1500px; margin:0 auto; padding:0 15px; }

.home_product_item{ position:relative; margin:15px 0; }
.home_product_item a{ position:absolute; z-index: 99; width:100%; height:100%; background-color:#fff; opacity:0; transition:0.3s; }
.home_product_item a:hover{ opacity:0.5; }

.home_product_pic{ width: 100%; height: 120px; position: relative; overflow: hidden;}
.home_product_pic img{ width:100%; height:100%; object-fit: cover; object-position: center center; transition: all 0.3s;}
.home_product_item:hover .home_product_pic img{ transform:scale(1.2); }

.home_product_text{ text-align:center; padding:15px; }

@media (min-width:992px){
    .home_product_pic{height: 240px; }
}