
@import url("../fonts/flaticon/flaticon.css");
@import url("revise.css");
@import url("header.css");
@import url("footer.css");
@import url("banner.css");


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

.h2-title {
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}



/*========================================================
                        商品目錄
=========================================================*/

.products {
    padding-top: 40px;
    padding-bottom: 20px;
    padding-left: 5%;
    padding-right: 5%;
}
.products .h2-title {
    text-align: center;
}

.products .products-item {
    position: relative;
    background-position: center center;
    background-size: cover;
    margin-bottom: 30px;
    height: 280px;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
}
.products .products-item h3 {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
    color: #fff;
	text-shadow: 2px 2px 1px #000;
    font-size: 1.4rem;
    font-weight: bold;
    text-align: left;
}
.products .products-item p {
    position: absolute;
    right: 15px;
    bottom: -5px;
    z-index: 10;
    color: #fff;
	text-shadow: 1px 1px 1px #000;
}
.products .products-item a {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 11;
    width: 100%;
    height: 100%;
    background-color: #fff ;
    text-align: center;
    color: #fff;
    opacity: 0;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
}
.products .products-item a:hover {
    opacity: 0.2;
}
.products .products-item:after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 9;
    opacity: 0;
    cursor: pointer;
    background: url("../img/index/products-item-bg.png") repeat left top;
}
.products .products-item:hover:after {
    opacity: 1;
}


/*  尺寸設定 */
@media (min-width: 768px) {
    .products .products-item h3 {
        font-size: 1.2rem;
    }
    .products .products-item {
        height: 175px;
    }
}
@media (min-width: 992px) {
    .products .products-item h3 {
        font-size: 1.4rem;
    }
    .products .products-item {
        height: 240px;
    }
}
@media (min-width: 1200px) {
    .products .products-item h3 {
        font-size: 1.6rem;
    }
    .products .products-item {
        height: 290px;
    }

}
@media (min-width: 1600px) {
    .products .products-item {
        height: 385px;
    }
}



/*========================================================
                         訊息中心
=========================================================*/

.news {
	padding-top: 0;
    padding-bottom: 80px;
    padding-left: 5%;
    padding-right: 5%;
}
.news .h2-title {
    text-align: center;
}
.news .news-img {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.news .news-list {
    list-style: none;
    margin: 0;
    padding: 15px 0 0 0;
}
.news .news-list li {
    color: #111;
    padding: 10px 0;
    border-bottom: 1px solid #a3a3a3;
}
.news .news-list li time {
    display: block;
    color: #b91919; 
    font-weight: bold;
}
.news .news-list li h3 {
    margin: 0 0 10px 0;
    font-weight: bold;
}
.news .news-list li h3 a {
    color: #000;
    font-size: 1.3rem;
}
.news .news-list li h3 a:hover {
    color: #49ae8e;
}
.news .news-list li p {
    margin: 0;
}



.news .news-btn {
    margin-top: 10px;
    text-align: right;
}
.news .news-btn i {
    display: inline-block;
    margin: 0 10px;
}
.news .news-btn a {
    display: inline-block;
    color: #000;
    padding: 2px 3px;
    font-weight: bold;
}
.news .news-btn a:hover {
    background-color: #38a882;
    color: #fff;
}


.news-tabs .nav-tabs {
    border-bottom: none;
}
.news-tabs .nav-tabs li {
	text-align: center;
}
.news-tabs .nav-tabs li a {
	display: block;
	font-size: 1rem;
	border-radius: 0;
	color: #000;
    padding: 5px 30px;
    font-weight: bold;
    background-color: #fff;
    border: 1px solid #333;
}
.news .nav-tabs li.active  {
	color: #fff;
}
.news .nav-tabs > li > a.active, 
.news .nav-tabs > li > a.active:hover, 
.news .nav-tabs > li > a.active:focus {
    border: 1px solid #1f4a3c;
    color: #fff;
    background-color: #49ae8e;
}
.news .nav-tabs > li > a {
    margin-right: 10px;
    margin-bottom: 20px;
}
.news .nav > li > a:hover, 
.news .nav > li > a:focus {
    text-decoration: none;
    border: 1px solid #1f4a3c;
    color: #fff;
    background-color: #49ae8e;
}


.news .tab-content {
}


/*  尺寸設定 */
@media (min-width: 640px) {
    .news .news-list li a {
        padding: 15px 0;
    }
}
@media (min-width: 992px) {
    .news-title .inner {
        min-height: 240px;   
    }
    .news .nav-tabs li a {
        font-size: 1.1rem;
    }
}
@media (min-width: 1200px) {
    .news .news-list {
        min-height: 400px;
    }
}


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

.advantages {
    background: url(../img/index/advantages-bg.jpg) no-repeat center center; 
    background-size: cover;
    padding-top: 60px;
    padding-bottom: 60px;
    position: relative;
}
.advantages:after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    background-color: rgba(0,0,0,0.3);
}
.advantages .h2-title {
    color: #fff;
    text-align: center;
    position: relative;
    z-index: 3;
}
.advantages-info {
    margin: 5% 0;
    padding: 2% 20px 5% 40px;
    color: #fff;
    font-size: 1rem;
    position: relative;
    z-index: 3;
}

.advantages-info h3 {
    color: #59eaff;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
}
.advantages-info h4 {
    font-size: 1.4rem;
    margin-bottom: 20px;
}
.advantages-info h4 span {
    color: #44ffc0;
}
.advantages-info ul {
    list-style: none;
    margin: 0 0 40px -20px;
    padding: 0;
}
.advantages-info ul li {
    background: url("../img/index/advantages-info-icon.png") no-repeat left 7px;
    padding: 0 0 0 20px;
    margin-bottom: 20px;
}
.advantages-info-btn a {
    display: inline-block;
    padding: 10px 50px;
    color: #fff;
    background-color: #49ae8e;
    font-size: 1.1rem;
}
.advantages-info-btn a:hover {
    background-color: #1b7a5c;
}


/*  尺寸設定 */
@media (min-width: 1200px) {
    .advantages {
        padding-top: 120px;
        padding-bottom: 100px;
    }
    .advantages:after {
        background-color: rgba(0,0,0,0);
    }
    .advantages-info {
        margin: 5% 0;
        padding: 0 0 0 13%;
        color: #fff;
        font-size: 1.1rem;
    }
    .advantages-info h3 {
        font-size: 2.4rem;
    }
    .advantages-info h4 {
        font-size: 1.8rem;
    }
}
@media (min-width: 1600px) {
    .advantages-info {
        padding-left: 20%;
    }
}



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

a.figure {
	display: block;
	position: relative;
	}
a.figure:before,a.figure:after {
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 10px;
    right: 10px;
    z-index: 10;
    content: '';
    display: inline-block;
    opacity: 0;
    -webkit-transform: scale(0.5);
    transform: scale(0.5);
    transition: .3s; 
}
a.figure:before {
    background: #fff;
}
a.figure:after {
    background: url(../images/magnifier.png) no-repeat center center;
}
a.figure:hover:before, a.figure:hover:after {
    -webkit-transform: scale(1);
    transform: scale(1);
}
a.figure:hover:before {
    opacity: 0.15;
}
a.figure:hover:after {
    opacity: 1;
}


