
@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);



/*========================================================
                      	 產品服務
=========================================================*/

.product-wrap {
	background: url("../images/index/product-bg.jpg") no-repeat center top;
	background-size: cover;
    padding: 60px 7% 30px;
}
.product-wrap h2 {
    font-weight: bold;
    text-align: center;
	margin: 0 0 30px 0;
}
.product-wrap h2:after {
    content: '';
    display: block;
    margin: 10px auto;
    width: 100px;
    height: 5px;
    background-color: #1f2125;  
}
.product-wrap .main img {
    width: 100%;
    vertical-align: bottom;
}

.product-wrap .main [class*="col-"] {
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
}
.product-wrap .main [class*="col-"] p {
    position: absolute;
    top: 20px;
    left: 50px;
    right: 50px;
    z-index: 9;
    color: #fff;
    font-size: 1.4rem;
    font-weight: bold;
	text-shadow: 2px 2px 5px #000;
}
.product-wrap .main [class*="col-"] p:before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 16px;
    background-color: #e70012;
    margin-right: 6px;
    margin-left: -10px;
}


/*  尺寸設定 */
@media (min-width: 768px) and (max-width: 991px) {
    .product-wrap .main img {
        object-fit: cover;
        height: 240px;
    }
}
@media (min-width: 768px) {
	.product-wrap h2 {
		font-size: 2rem;
	}
}
@media (min-width: 1200px) {
	.product-wrap h2 {
		font-size: 2.4rem;
	}
}
@media (min-width: 1600px) {
    .product-wrap .main img {
        object-fit: cover;
        height: 300px;
    }
}


/*========================================================
                      	 太陽光電系統
=========================================================*/

.system-wrap {
	background: url("../images/index/system-bg.jpg") no-repeat center top;
	background-size: cover;
    padding: 60px 7% 60px;
}
.system-wrap h2 {
    color: #fff;
    font-weight: bold;
	text-shadow: 2px 2px 3px #000;
    text-align: center;
	margin: 0 0 30px 0;
}
.system-wrap h2:after {
    content: '';
    display: block;
    margin: 10px auto;
    width: 100px;
    height: 5px;
    background-color: #fff;  
}

.system-wrap [class*="col-"] > div {
    background-color: rgba(0,0,0,0.2);
    border: 1px solid #fff;
    border-radius: 5px;
    padding: 40px 50px;
    color: #fff;
	text-shadow: 1px 1px 3px #000;
    font-weight: bold;
    margin: 0 15px 30px;
}
.system-wrap [class*="col-"] > div h4 {
    font-weight: bold;
    color: #ffce5a;
    font-size: 1.6rem;

}
.system-wrap [class*="col-"] > div ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.system-wrap [class*="col-"] > div ul li {
	background: url("../images/index/system-icon1.png") no-repeat left 8px;
    padding-left: 24px;
}

.system-wrap .more {
	display: block;
	margin: 20px auto 0;
	text-align: center;
}
.system-wrap .more a {
	display: inline-block;
    border: 1px solid #fff;
	color: #fff;
    background-color: #a27e30;
	padding: 5px 3%;
	position: relative;
	font-size: 1.2rem;
}
.system-wrap .more a:hover {
	background-color: #013788;
    color: #fff;
    border: 1px solid #fff;
}


/*  尺寸設定 */
@media (min-width: 768px) {
	.system-wrap h2 {
		font-size: 2rem;
	}
}
@media (min-width: 1200px) {
	.system-wrap h2 {
		font-size: 2.4rem;
	}
}
@media (min-width: 1200px) and (max-width: 1599px) {
    .system-wrap [class*="col-"] > div {
        margin: 0 0px 30px;
        min-height: 310px;
    }
}
@media (min-width: 1600px) and (max-width: 1799px) {
    .system-wrap [class*="col-"] > div {
        margin: 0 0px 30px;
        min-height: 280px;
    }
}
@media (min-width: 1800px) {
    .system-wrap {
        padding-top: 80px;
        padding-bottom: 80px;
    }
    .system-wrap [class*="col-"] > div {
        padding: 40px 50px;
        margin: 0 15px 30px;
    }
}


/*========================================================
                         新聞中心
=========================================================*/

.news-wrap {
	background: url("../images/index/news-bg.jpg") no-repeat left center;
	background-size: cover;    
	padding: 80px 4% 80px;
}
.news-wrap img {
	width: 100%;
    vertical-align: bottom;
}
.news-wrap [class*="col-"]:nth-of-type(1) {	
	background: url(../images/index/news-a01.jpg) no-repeat center center;
	background-size: cover;
}
.news-content h2 {
    font-weight: bold;
}
.news-content h2 span {
    display: inline-block;
    color: #134999;
}
.news-content h2 span:before {
    content: '';
    display: inline-block;
    width: 2px;
    height: 24px;
    background-color: #134999;
    margin-left: 20px;
    margin-right: 20px;
}
.news-content dl {
    padding-top: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #c8c8c8;
}
.news-content dl dt {
    float: left;
    margin-right: 20px;
    background-color: #134999;
    color: #fff;
    text-align: center;
    padding: 10px 15px 15px 15px;
}
.news-content dl dt span {
    display: block;
    font-size: 1rem;
}
.news-content dl dt b {
    display: block;
    font-size: 2rem;
}
.news-content dl dd {
    overflow: hidden;
    font-size: 1rem;
    line-height: 1.6rem;
}
.news-content dl dd h3 {
    margin: 0 0 5px;
    font-size: 1.4rem;
    font-weight: bold;
}
.news-content dl dd h3 a {
    color: #333;
}
.news-content dl dd h3 a:hover {
    color: #ed6a1a;
}
.news-wrap .more {
    margin-top: 10px;
    text-align: right;
}
.news-wrap .more a {
    display: inline-block;
    background: url('https://api.iconify.design/dashicons:arrow-right-alt2.svg?color=%23134999&width=24px&height=24px') no-repeat 10px center;
    color: #134999;
    padding: 3px 14px 3px 34px;
    font-weight: bold;
}
.news-wrap .more a:hover {
    background: #134999 url('https://api.iconify.design/dashicons:arrow-right-alt2.svg?color=%23fff&width=24px&height=24px') no-repeat 10px center;
    color: #fff;

}

/*  尺寸設定 */
@media (min-width: 1200px) {
    .news-content {
        padding-left: 50px;
    }    
}



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

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;
}

