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


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

.s-header {
    text-align: center;
    overflow: hidden;
    margin-bottom: 40px;
}

.h2-title {
    display: inline-block;
    font-size: 2rem;
    color: #000;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
    font-weight: bold;
}
.h2-title:after {
    position: absolute;
    left: -20%;
    bottom: 0;
    height: 50%;
    width: 140%;
    background: #adadad;
    opacity: 0.3;
    content: "";
    z-index: -1;
}

.h3-title {
    border-left: 7px solid #e71f19;
    padding-left: 10px;
    margin-bottom: 20px;
}

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

.content-wrap {
    background: url("../img/content-bg.jpg") no-repeat right top;
    background-size: cover;
    padding-top: 60px;
    padding-bottom: 60px;
    background-color: #fff;
}


/* 麵包屑 */
.breadcrumbs {
    background-color: #222222;
	text-align: right;
    font-size: 1rem;
    padding-top: 10px;
    padding-bottom: 10px;
    color: #fff;
}
.breadcrumbs a {
	display: inline-block;
	color: #fff;
}
.breadcrumbs a:hover {
	text-decoration: underline;
}
.breadcrumbs a.home i {
    display: inline-block;
    margin-right: 3px;
    color: #fff;
}
.breadcrumbs span {
	margin: 0 2px 0 4px;
	color: #70d1e4;
	font-size: 1.4rem;
	font-weight: bold;
}


/*========================================================
                         回目錄頁
=========================================================*/

.btn-back {
	text-align: right;
	padding-top: 20px;
}
.btn-back a {
	background-color: #c5880d;
	padding: 5px 20px 7px;
	border-radius: 3px;
	color: #fff;
}
.btn-back a:hover {
	background-color: #f5ae1f;
	color: #000;
	text-decoration: none;
}




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

.aboutUs {
    background: url("../img/aboutUs-bg.jpg") no-repeat right top;
    background-size: cover;
    margin-bottom: 40px;
    font-size: 1.2rem;
}
.aboutUs-info h3 {
    color: #19334d;
    font-weight: bold;
    font-size: 1.6rem;
    margin-bottom: 20px;
}
.aboutUs-info h3 .f1 {
    color: #c50f0f;
}
.aboutUs-info h3 .f2 {
    color: #129700;
}
.aboutUs-info-desc ul li {
    background: url("../img/aboutUs-info-desc-icon.png") no-repeat 0 20px;
    padding: 10px 20px 10px 30px;
}

.aboutUs .slider {
    border: 15px solid #156b5b;
}
.aboutUs-img {
    border: 2px solid #fff;
}


/* 尺寸設定 */
@media (min-width: 640px) {
    .aboutUs-info h3 {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
}
@media (min-width: 1200px) {
    .aboutUs-info h3 {
        font-size: 2.4rem;
        margin-bottom: 40px;
    }
}


/*========================================================
                        熱銷推案
=========================================================*/

.hotCase {
    margin-bottom: 40px;
}
.hotCase-item {
    /*border: 10px solid #fff;*/
    margin-bottom: 40px;
	padding: 10px;
    background: #fff;
}
.hotCase-item img {
    width: 100%;
    vertical-align: bottom;
}
.hotCase-item .hotCase-item-info {
    overflow: hidden;
    padding: 25px 15px 15px 15px;
    background-color: #fff;
    color:#000;
}
.hotCase-item .hotCase-item-info h3 {
    font-weight: bold;
    font-size: 1.6rem;
    color:#000;
}
.hotCase-item-more {
    border-top: 1px solid #ccc;
    padding-top: 20px;
    text-align: right;
}
.hotCase-item-more a {
    display: inline-block;
    color: #fff;
    background-color: #c5880d;
    padding: 0 20px;
}
.hotCase-item-more a:hover {
    background-color: #eeb11d;
}


/*========================================================
                      熱銷推案內頁
=========================================================*/

.hotCase-detail {
	padding-bottom: 40px;
	text-align: left;
    border-bottom: 2px dashed #adadad;    
}

/*標題*/
.hotCase-detail-title {
    margin-bottom: 40px;
    text-align: center;
}
.hotCase-detail-title h2 span {
    background-image: url("../img/hotCase-title1.png"),url("../img/hotCase-title2.png");
    background-repeat: no-repeat, no-repeat;
    background-position: left center, right center;
    background-size: auto 14px, auto 14px;
    padding: 0 50px;
    font-weight: bold;
    font-size: 1.6rem;
}  
.hotCase-detail .h4-title {
	font-weight: bold;
    font-size: 1.4rem;
    margin-bottom: 16px;
}
.hotCase-detail .h4-title i {
    display: inline-block;
    margin-right: 6px;
}

/*圖片*/
.hotCase-detail .slider-for > div {
	position: relative;
	margin: 5px 5px 20px 5px;
}
.hotCase-detail .slider-for > div a:after {
	content: '';
	position: absolute;
	top: 10px;
	right: 10px;
	bottom: 10px;
	left: 10px;
}
.hotCase-detail .slider-for > div img {
	max-width: 100%;
	vertical-align: bottom;
    margin: 0 auto;
    max-height: 251px;
}
.hotCase-detail .slider-nav {
	margin-bottom: 30px;
}
.hotCase-detail .slider-nav .slick-slide {
	margin: 0 5px 0 5px;
}

.hotCase-detail .slider-nav > div img {
    vertical-align: bottom;
    cursor: pointer;
    height: 54px;
}


/*特色說明*/
.hotCase-detail-feature {
	font-size: 1rem;
	border-left: 8px solid #156b5b;
    padding-left: 20px;
    margin-bottom: 30px;
}
/*建築規劃*/
.hotCase-detail-plan ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.hotCase-detail-plan ul li {
    position: relative;
    padding: 2px 4px 2px 84px;
}
.hotCase-detail-plan ul li span {
    position: absolute;
    left: 0;
    top: 2px;
    z-index: 3;
    width: 84px;
    font-weight: bold;
    margin-left: 4px;
}


/* 尺寸設定 */
@media (max-width: 991px) {
    .hotCase-detail-plan ul li:nth-of-type(2n+2) {
        background-color: #c5e2dd;
    }
}
@media (min-width: 400px) {
    .hotCase-detail .slider-for > div img {
        max-height: 278px;
    }
    .hotCase-detail .slider-nav > div img {
        height: 60px;
    }
}
@media (min-width: 540px) {
    .hotCase-detail .slider-for > div img {
        max-height: 375px;
    }
    .hotCase-detail .slider-nav > div img {
        height: 83px;
    }
}
@media (min-width: 768px) {
    .hotCase-detail .slider-for > div img {
        max-height: 510px;
    }
    .hotCase-detail .slider-nav > div img {
        height: 122px;
    }
}
@media (min-width: 992px) {
	.hotCase-detail .slider-nav .slick-slide {
		margin: 0 5px 10px 5px;
	}
    .hotCase-detail-title h2 span {
        background-size: auto 20px, auto 20px;
        padding: 0 80px;
        font-size: 2rem;
    } 
    .hotCase-detail-plan ul li:nth-of-type(4n+1),
    .hotCase-detail-plan ul li:nth-of-type(4n+2) {
        background-color: #c5e2dd;
    }
    .hotCase-detail .slider-for > div img {
        max-height: 450px;
    }
    .hotCase-detail .slider-nav > div img {
        height: 107px;
    }
}
@media (min-width: 1200px) {
    .hotCase-detail .slider-for > div img {
        max-height: 326px;
    }
    .hotCase-detail .slider-nav > div img {
        height: 71px;
    }
}
@media (min-width: 1600px) {
    .hotCase-detail .slider-for > div img {
        max-height: 451px;
    }
    .hotCase-detail .slider-nav > div img {
        height: 100px;
    }
}

/*========================================================
                      	 建築實績
=========================================================*/

.case {	
    padding-bottom: 40px;
}
.case h2 {
    font-size: 2.2rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    position: relative;
}
.case-item {
    position: relative;
}
.case-item-img {
    position: relative;
    margin: 0;
    display: block;
    width: 100%;
    text-decoration: none;
    color: #fff;
    background-color: #f0f4f8;
    overflow: hidden
}
.case-item-img:hover {
    color: #fff
}
.case-item-img:hover .case-item-mask {
    opacity: 1;
    visibility: visible
}
.case-item-img:hover .case-item-mask::after {
    height: 100%
}
.case-item-img img {
    display: block;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover
}
.case-item-mask {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    padding: .625rem 1rem;
    text-align: center;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    font-size: 1rem;
    font-weight: 700;
    transition: all .3s
}
.case-item-mask::after {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    height: 50px;
    width: 100%;
    background-color: rgba(0, 0, 0, .5);
    transform: translateY(-50%);
    transition: all .3s
}
.case-item-mask span {
    position: relative;
    display: block;
    z-index: 2;
    border: 1px solid #fff;
    padding: 5px 30px;
}

.case-item-info {
    text-align: left;
    padding-top: 10px;
    margin-bottom: 40px;
}
.case-item-title {
    background: url("../img/index/case-item-title.png") no-repeat right bottom;
    font-weight: bold;
    font-size: 1.2rem;
    padding-right: 20px;
}
.case-item-btn {
    margin-top: 20px;
    text-align: center;
}
.case-item-btn a {
    display: inline-block;
    color: #fff;
    background-color: #333333;
    padding: 5px 10%;
    font-size: 1rem;
}
.case-item-btn a:hover {
    background-color: #09378f;
}


/*========================================================
                      建築實績內頁
=========================================================*/

.case-detail {
	padding-bottom: 40px;
	text-align: left;
    border-bottom: 2px dashed #adadad;    
}

/*標題*/
.case-detail-title {
    margin-top: 10px;
    margin-bottom: 20px;
    font-weight: bold;
}
.case-detail-title:after {
    content: '';
    display: block;
    width: 30px;
    height: 5px;
    margin-top: 6px;
    background-color: #e71f19;
}
.case-detail .h4-title {
	font-weight: bold;
    font-size: 1.4rem;
    margin-bottom: 16px;
}
.case-detail .h4-title i {
    display: inline-block;
    margin-right: 6px;
}

/*圖片*/
.case-detail .slider-for > div {
	position: relative;
	margin: 5px 5px 20px 5px;
}
.case-detail .slider-for > div a:after {
	content: '';
	position: absolute;
	top: 10px;
	right: 10px;
	bottom: 10px;
	left: 10px;
}
.case-detail .slider-for > div img {
	max-width: 100%;
	vertical-align: bottom;
    margin: 0 auto;
    max-height: 251px;
}
.case-detail .slider-nav {
	margin-bottom: 30px;
}
.case-detail .slider-nav .slick-slide {
	margin: 0 5px 0 5px;
}
.case-detail .slider-nav > div img {
    vertical-align: bottom;
    cursor: pointer;
    height: 54px;
}

.case-detail-point {
    margin-bottom: 10px;
    font-size: 1.2rem;
    font-weight: bold;
}
.case-detail-point i {
    display: inline-block;
    color: #2e9876;
    margin-right: 5px;
}

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

/* 尺寸設定 */
@media (min-width: 400px) {
    .case-detail .slider-for > div img {
        max-height: 278px;
    }
    .case-detail .slider-nav > div img {
        height: 60px;
    }
}
@media (min-width: 540px) {
    .case-detail .slider-for > div img {
        max-height: 375px;
    }
    .case-detail .slider-nav > div img {
        height: 83px;
    }
}
@media (min-width: 768px) {
    .case-detail .slider-for > div img {
        max-height: 510px;
    }
    .case-detail .slider-nav > div img {
        height: 122px;
    }
}
@media (min-width: 992px) {
	.case-detail .slider-nav .slick-slide {
		margin: 0 5px 10px 5px;
	}
    .case-detail .slider-for > div img {
        max-height: 450px;
    }
    .case-detail .slider-nav > div img {
        height: 107px;
    }
}
@media (min-width: 1200px) {
    .case-detail .slider-for > div img {
        max-height: 326px;
    }
    .case-detail .slider-nav > div img {
        height: 71px;
    }
}
@media (min-width: 1600px) {
    .case-detail .slider-for > div img {
        max-height: 451px;
    }
    .case-detail .slider-nav > div img {
        height: 100px;
    }
}


/*========================================================
                         最新消息
=========================================================*/

/* 框架 */
.news-item {
	margin-left: auto;
	margin-right: auto;
	text-align: left;
	transform: translateY(0);
	transition: .3s ease-out transform;
}
.news-item:hover {
	transform: translateY(-5px);
}
.news-item + .news-item {
	margin-top: 35px;
}


/* 內容 */
.news-item-info {
	padding: 0 20px 20px 20px;
	background-color: #fff;
    border: 1px solid #ddd;
/*	box-shadow: 0 0 16px rgba(0, 0, 0, 0.16);*/
	transition: .3s ease-out box-shadow;
}
.news-item-info > div {
	margin-top: 0;
	padding-top: 20px;
	border-top: 1px solid rgba(127, 127, 127, 0.2);
}
.news-item-info h4 {
    font-weight: bold;
}
.news-item-info p {
    margin: 0;
}


/* 時間+外連 */
.news .news-item-info-row {
    display: flex;
    font-size: 1rem;
    color: #63636b;
    margin: 0 2px 6px 2px;
}
.news .news-item-info-row > div {
    margin-right: 20px;
}
.news .news-item-info-row a {
    color: #63636b;
}
.news .news-item-info-row a:hover {
    text-decoration: underline;
}
.news .news-item-info-row {
    line-height: 24px;
    margin-bottom: 14px;
}
.news .news-item-date {
    background-color: #c5880d;
    color: #fff;
    padding: 0 10px;
    border-radius: 3px;
    font-size: 0.8rem;
    margin-right: 20px;
}
.news .news-item-info-row i {
    margin-right: 5px;
}

/* 了解更多 */
.news .news-item-more {
    text-align: right;
}
.news .news-item-more a {
    font-weight: bold;
    color: #c5880d;
    padding: 3px 10px;
    border-radius: 3px;
    font-size: 0.9rem;
}
.news .news-item-more a:hover {
    color: #c50f0f;
}



/* 尺寸設定 */
@media (min-width: 768px) {
	.news-item {
		display: flex;
		max-width: 1170px;
	}
	.news-item-img {
		display: flex;
		width: 200px;
		flex-shrink: 0;
	}
	.news-item-img img {
		object-fit: cover;
		width: 100%;
		height: 100% !important;
	}
    .news-item-info {
        width: calc(100% - 200px);
        border-left: none;
    }
    .news-item-info > div {
        width: 100%;
    }
}
@media (min-width: 992px) {
	.news-item-img {
		width: 270px;
	}
	.news-item-info {
		display: flex;
		padding: 20px 20px 20px 0;
        width: calc(100% - 270px);
	}
	.news-item-info > div {
        padding: 10px 30px 0 40px;
		margin: 0;
		border-top: 0;
		border-left: 1px solid rgba(127, 127, 127, 0.2);
	}
	.news-item + .news-item {
		margin-top: 50px;
	}
}


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


.news-detail {
	text-align: left;
    border-bottom: 2px dashed #adadad;  
}
.news-detail img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}
.news-detail-title {
	text-align: left;
	margin: 0 0 20px 0;
	color: #333;
	font-weight: bold;
    font-size: 1.8rem;
}
.news-detail-content {
    margin-bottom: 40px;
}
.news-detail-link {
    border-top: 2px dashed #adadad;
    padding: 1rem;
    font-size: 0.9rem;
    background-color: #ededed;
}
.news-detail-link h4 {
    font-size: 1.1rem;
    font-weight: bold;
}
.news-detail-link a {
    display: inline-block;
    color: #333;
    text-decoration: underline;
    margin-left: 10px;
}
.news-detail-link a:hover {
    text-decoration: none;
}


/* 分類+外連 */
.news .news-detail-row {
    display: flex;
    font-size: 1rem;
    color: #63636b;
    margin: 0 2px 6px 2px;
}
.news .news-detail-row a {
    color: #63636b;
}
.news .news-detail-row a:hover {
    text-decoration: underline;
}
.news .news-detail-row {
    line-height: 24px;
    margin-bottom: 14px;
}
.news .news-detail-row .news-detail-sort {
    color: #fff;
    padding: 0 10px;
    border-radius: 3px;
    font-size: 0.8rem;
}
.news .news-detail-row .news-detail-date {
    background-color: #c5880d;
    color: #fff;
    padding: 0 10px;
    border-radius: 3px;
    font-size: 1rem;
}
.news .news-detail-row .news-detail-date i {
    margin-right: 6px;
}




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


.contact-info {
    
}
.contact-info ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.contact-info ul li {
	list-style: none;
/*	padding: 5px 0 5px 60px;*/
	position: relative;
	margin-bottom: 10px;
}
.contact-info ul li i {
    display: inline-block;
    width: 20px;
    text-align: center;
	margin: 0 5px;
	padding: 5px 0;
}
.contact-info ul li:nth-of-type(1) i {
    color: #e71c30;
}
.contact-info ul li:nth-of-type(2) i {
    color: #028ad3;
}
.contact-info ul li:nth-of-type(3) i {
    color: #2e9876;
}
.contact-info ul li:nth-of-type(4) i {
    color: #cd7f0c;
}

.contact-info ul li [class^="flaticon-"]:before, 
.contact-info ul li [class*=" flaticon-"]:before, 
.contact-info ul li [class^="flaticon-"]:after, 
.contact-info ul li [class*=" flaticon-"]:after {
    margin-right: 0px;
}



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



/* 表單設定 */
.form-horizontal {
	margin-bottom: 40px;
}
.form-horizontal label {
	margin-bottom: 0;
    font-weight: bold;
    color: #666;
}
.form-horizontal label:before {
    font-family: 'Font Awesome 5 free';
    content: "\f044";
    font-weight: 900;
    display: inline-block;
    margin-right: 5px;
    color: #111;
}
.form-horizontal .form-control {
	border: 1px solid #ededed;
	background-color: #ddd;
}

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


.form-group {
	padding: 10px 15px;
	margin-bottom: 0 !important;
}
.form-group:nth-of-type(2n+2) {
	background-color: #ededed;
}
.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;
	}
	.input {
		width: 40%;
	}
	.form-group b {
		display: inline-block;
	}
}



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

.table1 {
	border-collapse: collapse;
	text-align: left;
	margin: 0 0 20px 0;
	font-size: 15px;
	border: 1px solid #c0bebe;
}
.table1 tr:nth-child(2n+1) {
	background-color: #F3F3F3;
}

.table1 th {
	background-color: #3a7da5;
	color: #fff;
    font-size: 1.1rem;
	font-weight: bold;
	padding: 10px 10px !important;
	text-align: center;	
	border-top: 0 !important;
	border-bottom: 1px solid #c0bebe;
    border-right: 1px solid #fff;
}
.table1 th:last-of-type {
    border-right: 1px solid #c0bebe;
}
.table1 td {
	padding: 5px 5px !important;
	border: 1px solid #c0bebe;
}
.table1 tr.subtitle td {
    background-color: #c8dae7;
    font-weight: bold;
}

.table2 td:nth-of-type(2){
	text-align: center;
}



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

.ul-s1 {
    list-style: none;
    margin: 20px 0;
    padding: 0;
    text-align: left;
}
.ul-s1 > li {
    padding: 0 0 0 40px;
    margin-bottom: 10px;
    position: relative;
}
.ul-s1 > li span {
	width: 30px;
	height: 30px;
	border-radius: 15px;
	font-size: 1rem;
	color: #000;
	line-height: 30px;
	text-align: center;
	background-color: #9abdd2;
    position: absolute; 
    left: 0; 
    top: 2px; 
    z-index: 9; 
}


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

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(../img/magnifier.png) no-repeat center center;
    opacity: 0;
    -webkit-transform: scale(0.5);
    transform: scale(0.5);
    transition: .3s;
}


.picture-effect {
	position: relative;
	overflow: hidden;
	z-index: 1;
}
.picture-effect img {
	transform: scale(1);
	transition: .3s ease-out all;
}
.picture-effect a {
	display: inline-block;
	position: relative;
}
.picture-effect a:before {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: rgba(252, 200, 58, 0.4);
	pointer-events: none;
	z-index: 1;
	opacity: 0;
	transition: .3s ease-out all;
}
.picture-effect a:hover:before {
	opacity: 1;
}
.picture-effect a:hover img {
	transform: scale(1.1);
}


