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



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

.h1-title {
	font-size: 1.8rem;
	text-align: center;
	margin: 0 0 50px 0;
	color: #fff;
    padding: 10px 15px 12px;
    background-color: #444;
}
.h2-title {
    color: #474547;
    margin-bottom: 30px;
    text-align: left;
	font-size: 1.5rem;
	position: relative;
    z-index: 10;
}
.h2-title b {
    position: relative;
    z-index: 2;
    display: inline-block;
    background-color: #fff;
    padding-right: 20px;
}
.h2-title b span {
    color: #0477ad;
}
.h2-title em {
	display: block;
    color: #333;
    text-align: left;
	font-size: 0.5rem;
    padding-left: 2px;
	margin-bottom: 4px;
	position: relative;
	font-style: normal;
	font-weight: bold;
}
.h2-title em span {
    color: #9f2323;
}
.h2-title:after {
	content: "";
    position: absolute;
    top: 40%;
    transform: translate(-0%,-40%);
    z-index: 1;
    width: calc(100% - 0px);
    height: 12px;
    background-color: #dcdcdc;
    background-image: -webkit-gradient(linear, 0 0, 100% 100%,color-stop(.25, #F9F9F9), color-stop(.25, transparent),color-stop(.5, transparent), color-stop(.5, #F9F9F9),color-stop(.75, #F9F9F9), color-stop(.75, transparent),to(transparent));
    -webkit-background-size: 7px 7px;
}
.h2-title:after {
	right: 0%;
}

.h3-title {
    font-weight: bold;
    font-size: 1.4rem;
    margin-bottom: 10px;
}
.h3-title:before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 16px;
    background-color: #871515;
    margin-right: 6px;
}
.h4-title {
    font-weight: bold;
    font-size: 1.2rem;
    color: #0477ad;
}
.h5-title {
    font-size: 1rem;
    font-weight: bold;
}
.h5-title i {
    color: #BD181B;
}

/* 尺寸設定 */
@media (min-width: 768px) {
	.h1-title {
		font-size: 2rem;
	}
	.h2-title {
		font-size: 1.6rem;
	}
    .h2-title em {
        font-size: 0.7rem;
    }
}
@media (min-width: 1200px) {
	.h1-title {
		font-size: 2.4rem;
	}
	.h2-title {
		font-size: 1.8rem;
	}	
    .h2-title em {
        font-size: 0.8rem;
    }
}


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

.content {
	padding-bottom: 80px;
}
/*
.content > .container {
	max-width: 1170px;
}
*/


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

/*========================================================
                      	 選單
=========================================================*/

.navsub {
	display: none;
	
}

.navsub-list {
	-webkit-box-shadow: 0 0 5px rgba(65, 65, 65, 0.7);
	box-shadow: 0 0 5px rgba(65, 65, 65, 0.7);
	text-align: center;	
	margin-right: 30px;
	padding-bottom: 5px;
	background-color: #fff;
/*	border: 1px solid #adadad;*/
}

.navsub-list h2  {
	color: #fff;
	background-color: #555;
	padding: 12px 10px;
	text-align: center;
	margin: 0 0 10px 0;
    font-size: 1.6rem;
}
.navsub-list ul {
	list-style: none;
	margin: 20px 20px 40px 20px;
	padding: 0;
}
.navsub-list ul li {
}
.navsub-list ul li a {
	display: block;
	padding: 5px 10px;
	color: #333;
	font-size: 1.1rem;
	margin: 0 0 10px 0;
	background-color: #ededed;
}
.navsub-list ul li a:hover {
	color: #000;
	background-color: #ccc;
}

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

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



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

.service-1 .team {
    padding-top: 0px;
    padding-bottom: 20px;
    position: relative;
}
.service-1 .team .img {
    width: 290px;
    height: 160px;
    margin: 0 0 30px 0;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    border: 1px solid #ededed;
}
.service-1 .team .text {
    width: calc(100% - 290px);
}
.service-1 h4 {
    font-size: 1.1rem;
    margin-bottom: 0px;
    color: #0078bd;
    font-weight: bold;
}
.service-1 ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.service-1 ul li span {
    display: block;
    color: #000;
    font-weight: bold;
}


/*  尺寸設定 */
@media (max-width: 767.98px) {
    .service-1 [class*="col-"]:nth-of-type(2n) {
        background-color: #f2f2f2;
        border-top: 1px solid #dee2e6;
        border-bottom: 1px solid #dee2e6;
    }
    .service-1 .team {
        padding-top: 40px;
        padding-bottom: 40px;
    }
    .service-1 .team .img {
        margin: 0 auto;
    }
    .service-1 .team .text {
        width: 100%;
    }
    .service-1 h4 {
        text-align: center;
    }
    .service-1 ul li span {
        display: inline-block;
    }
}


/*========================================================
                    太陽光電系統-案場實績
=========================================================*/

.solar-2 {
    margin-bottom: 40px;
}
.solar-2 h3 {
	font-size: 1.2rem;
	font-weight: bold;
	text-align: center;
	background-color: #25487b;
	color: #fff;
	padding: 7px 5px;
    position: relative;
}
.solar-2 h3 span {
	position: absolute;
    right: 20px;
    top: 60px;
    z-index: 10;
    background-color: rgba(255,255,255,0.8);
    padding: 3px 20px;
    font-weight: bold;
    font-size: 1rem;
    color: #000000;
}
.solar-2 img {
	width: 100%;
	vertical-align: bottom;
	border: 2px solid #ededed;
	cursor: pointer;
}
.solar-2 .slider-for > div {
	position: relative;
	margin: 5px 5px 20px 5px;
}
.solar-2 .slider-for > div a:after {
	content: '';
	position: absolute;
	top: 10px;
	right: 10px;
	bottom: 10px;
	left: 10px;
}
.solar-2 .slider-for > div img {
	width: 100%;
	vertical-align: bottom;
}
.solar-2 .slider-nav {
	margin-bottom: 30px;
}
.solar-2 .slider-nav .slick-slide {
	margin: 0 5px 0 5px;
}

/* 尺寸設定 */
@media (min-width: 992px) {
	.solar-2 .slider-nav .slick-slide {
		margin: 0 5px 10px 5px;
	}
}



/*========================================================
                    太陽光電系統-太陽光電業務
=========================================================*/

.solar-3 h4 {
    font-weight: bold;
    font-size: 1.4rem;
}



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

.news-post {
	text-align: center;
}

/* 目錄頁設定 */
.news-post .post-minimal {
	position: relative;
	border-radius: 4px;
	overflow: hidden;
	background: #fdfdfd;
	-webkit-box-shadow: 2px 0px 5px 1px rgba(65, 65, 65, 0.2);
	box-shadow: 2px 0px 5px 1px rgba(65, 65, 65, 0.2);
	margin-bottom: 40px;
	text-align: left;
}
.news-post .post-minimal .post-body {
	padding: 20px;
}
.news-post .post-minimal * + .post-text {
	margin-top: 8px;
}
.news-post .post-minimal * + .post-meta {
	margin-top: 5px;
}
.news-post .post-minimal * + .post-meta i {
	color: #0477ad;
}
.news-post .post-minimal .post-body h2 {
	margin: 0 0 14px 0;
}
.news-post .post-minimal .post-body h2 a {
	display: inline-block;
	font-size: 20px;
	padding: 5px 10px;
	color: #fff;
	background-color: #0477ad;
}
.news-post .post-minimal .post-body h2 a:hover {
	background-color: #14668c;
}
.news-post .more a {
	display: inline-block;
	margin-top: 10px;
	font-weight: bold;
	color: #0477ad;
}
.news-post .more a:hover {
	color: #e71c30;
}


/* 尺寸設定 */
@media (max-width: 991px) {
	.news-post .post-minimal {
		display: inline-block;
		width: 100%;
		max-width: 600px;
	}
	.news-post .post-minimal .post-image img {
		width: 100%;
		vertical-align: bottom;
	}
}

@media (min-width: 992px) {
	.news-post .post-minimal {
		display: -ms-flexbox;
		display: -webkit-flex;
		display: flex;
		-webkit-flex-direction: row;
		-ms-flex-direction: row;
		flex-direction: row;
		-webkit-flex-wrap: nowrap;
		-ms-flex-wrap: nowrap;
		flex-wrap: nowrap;
		-webkit-align-items: center;
		-ms-flex-align: center;
		align-items: center;
		-webkit-justify-content: center;
		-ms-flex-pack: center;
		justify-content: center;
	}
	.post-minimal .post-left {
		display: -ms-flexbox;
		display: -webkit-flex;
		display: flex;
		-webkit-flex-direction: column;
		-ms-flex-direction: column;
		flex-direction: column;
		-webkit-align-items: stretch;
		-ms-flex-align: stretch;
		align-items: stretch;
		-webkit-flex-shrink: 0;
		-ms-flex-negative: 0;
		flex-shrink: 0;
		-webkit-align-self: stretch;
		-ms-flex-item-align: stretch;
		align-self: stretch;
		width: 320px;
	}
	.news-post .post-minimal .post-image {
		position: relative;
		-webkit-flex-shrink: 0;
		-ms-flex-negative: 0;
		flex-shrink: 0;
		-webkit-align-self: stretch;
		-ms-flex-item-align: stretch;
		-ms-grid-row-align: stretch;
		align-self: stretch;
		-webkit-flex-grow: 1;
		-ms-flex-positive: 1;
		flex-grow: 1;
		overflow: hidden;
        margin: 0;
	}
	.news-post .post-minimal .post-image img {
		position: absolute;
		top: 50%;
		left: 50%;
		-webkit-transform: translate(-50%, -50%);
		-ms-transform: translate(-50%, -50%);
		transform: translate(-50%, -50%);
		height: auto;
		width: auto;
		min-height: 100%;
		min-width: 100%;
		z-index: 1;
	}
	.news-post .post-minimal .post-body {
		padding: 30px 44px 30px 47px;
		-webkit-flex-grow: 1;
		-ms-flex-positive: 1;
		flex-grow: 1;
	}
}

@media (min-width: 1200px) {
	.news-post .post-minimal .post-left {
		width: 360px;
	}
	.news-post .post-minimal .post-body {
		padding: 30px 26px 30px 50px;
	}
}
@media (min-width: 1600px) {
	.news-post .post-minimal .post-left {
		width: 420px;
	}
}

/*========================================================
                   	最新消息內頁
=========================================================*/

.news-detail {
	margin-bottom: 50px;
	text-align: left;
}
.news-detail h2 {
	text-align: left;
	margin: 0 0 30px 0;
	color: #0477ad;
	font-weight: bold;
    font-size: 1.6rem;
}
.news-content {
	padding-bottom: 20px;
	border-bottom: 2px dashed #adadad;
}


/*回目錄頁*/
.btn-back {
	text-align: right;
	padding-top: 30px;
}
.btn-back a {
	background-color: #0477ad;
	padding: 8px 20px 10px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	color: #fff;
}
.btn-back a:hover {
	-moz-transition: -moz-transform 0.3s;
	-o-transition: -o-transform 0.3s;
	-webkit-transition: -webkit-transform 0.3s;
	transition: transform 0.3s;
	background-color: #e71c30;
	color: #fff;
	text-decoration: none;
}



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

.contact-box {
	background: url(../images/contact_bg3.jpg) no-repeat center top;
	background-size: cover;
	padding-bottom: 50px;
	position: relative;
}
.contact-box > .row > .col-md-6 {
	padding-bottom: 50px;
}

/*
.contact-box iframe {
	border: 2px dashed #e74c1c;
	padding: 10px;
}
*/

.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 66px;
	position: relative;
	min-height: 40px;
	margin-bottom: 10px;
}
.map ul li b {
	font-weight: bold;
	font-size: 20px;
	display: block;
	color: #0477ad;
}
.map ul li i {
	list-style: none;
	margin: 0;
	padding: 5px 0;
}
.circle {
	width: 54px;
	height: 54px;
/*	border-radius: 20px;*/
	font-size: 1.6rem;
	color: #fff;
	line-height: 54px;
	text-align: center;
	background: #0477ad;
	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: 0;
	padding: 5px 20px 5px 40px;
	border: 1px dashed #c4c4c4;
	background-color: #f6f6f6;
}
.form-control {
    background-color: #f6f6f6;
	height: 40px;
}	
.form-control::-moz-placeholder {
	color: #666;
	opacity: 1;
	font-size: 16px;
	font-weight: bold;
}
.form-control:-ms-input-placeholder {
	  color: #666;
}
.form-control::-webkit-input-placeholder {
	  color: #666;
}

/* 意見表單 */

.contact-form {
	margin-bottom: 20px;
}
.contact-form [class *= col-] {
	position: relative;
	margin-bottom: 10px;
}
.contact-form [class *= col-] i {
    display: block;
    font-size: 1rem;
    color: #666;
    width: 24px;
    line-height: 24px;
    text-align: center;
    background-color: #f6f6f6;
    position: absolute;
    left: 26px;
    top: 8px;
    border-radius: 5px;
    transition: all 0.4s ease;
    font-style: normal;
}
.contact-form [class *= col-] i.text-red {
    color: #333;
}


.form_out {
}
.form_out  [class *= col-] {
	padding: 0;
}
.form_out .col-md-2 {
	text-align: left;
	font-weight: bold;
}
.form-group {
	padding: 10px 15px;
	margin-bottom: 0 !important;
}
.form-group:nth-of-type(2n+2) {
	background-color: #ededed;
}
/*.form-group:nth-of-type(2n+1) {
	background-color: #e8e8e8;
}*/
.form-group b {
	display: block;
	font-size: 15px;
}
.input {
	text-decoration: none;
	border: 1px solid #c7c7c7;
	width: 100%;
	padding: 2px 2px;
}




/* 尺寸設定 */

@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;
	}
	.input {
		width: 40%;
	}
	.form-group b {
		display: inline-block;
	}
}


/*========================================================
                           表格
=========================================================*/

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

.table1 th {
	background: #25487b;
	color: #fff;
	font-weight: bold;
	padding: 7px 10px!important;
	text-align: center;	
	border-top: 0 !important;
	border-bottom: 1px solid #c0bebe;
}
.table1 td {
	padding: 3px 10px !important;
	border: 1px solid #c0bebe;
    vertical-align: middle;
}
.table1 td.c {
	text-align: center;
    background-color: #f0f3f7;
}



/*========================================================
                         ul設定
=========================================================*/

.ul-s1 {
    list-style: none;
    margin: 0 0 30px 0;
    padding: 0;
}
.ul-s1 > li {
    background: url("../images/solar-energy.png") no-repeat 5px 8px;
    padding: 5px 0 5px 34px;
    border-bottom: 1px dashed #ddd;
}
.ul-s1 > li:nth-of-type(2n) {
    background-color: #fdfdfd;
}
.ul-s1 > li b {
    color: #e71f19;
}

.ul-s2 {
    list-style: none;
    margin: 0;
    padding: 0; 
}
.ul-s2 li {
    padding: .5rem 1rem;
    border-top: 1px solid #dee2e6;
}
.ul-s2 li:last-of-type {
    border-bottom: 1px solid #dee2e6;
}
.ul-s2 li:nth-of-type(2n+1) {
    background-color: #f2f2f2;
}

.ul-s3 {
	list-style: none;
	margin: 0;
	padding: 0;
}
.ul-s3 li {
	padding: 3px;
	position: relative;
    padding-left: 10px;
    border-bottom: 1px dashed #ddd;
}
.ul-s3 li:nth-of-type(2n) {
	background-color: #f3f3f3;
}
.ul-s3 li span {
	font-weight: bold;
    display: inline-block;
    margin-left: 4px;
}
.ul-s3 li i {
	color: #0477ad;
}
.ul-s4 {
	list-style: none;
	margin: 0;
	padding: 0;
}
.ul-s4 li {
	padding: 3px;
	position: relative;
}
.ul-s4 li span {
	font-weight: bold;
    display: inline-block;
    margin-left: 4px;
    color: #0477ad;
}
.ul-s4 li i {
	color: #0477ad;
}



.ul-s5 {
	list-style: none;
	margin: 0;
	padding: 0;
}
.ul-s5 li {
	padding: 5px;
	position: relative;
	padding-left: 45px;
}
.ul-s5 li span {
	position: absolute;
	top: 7px;
	left: 5px;
	z-index: 9;
	background-color: #ffdc64;
	color: #333;
	padding: 0px 10px;
}


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

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

.image-box .image-pic {
	position: relative;
}
.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: 50%;
	z-index: 6;
	transform: translateY(-50%);
	width: 100%;
	text-align: center;

}
.thumb-inner span {
	display: inline-block;
	color: #fff;
	font-size: 24px;
	padding: 5px 50px 7px;
	border: 1px solid #fff;
}



/*========================================================
                      	 影片大小設定
=========================================================*/

.service-wrap iframe, .news-wrap iframe {
    width: 100% !important;
    height: 300px !important;
}

@media (min-width: 768px) {
    .service-wrap iframe, .news-wrap iframe {
        height: 420px !important;
    }
}
@media (min-width: 992px) {
    .service-wrap iframe, .news-wrap iframe {
        height: 520px !important;
    }
}
@media (min-width: 1200px) {
    .service-wrap iframe, .news-wrap iframe {
        height: 460px !important;
    }
}
@media (min-width: 1600px) {
    .service-wrap iframe, .news-wrap iframe {
        height: 640px !important;
    }
}



