
@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: 2.4rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}
.h2-title span {
    display: block;
    font-size: 0.9rem;
    color: #095f8f;
    font-weight: normal;
    margin-bottom: 10px;
}

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

.aboutUs {
    background: url(../img/index/about-bg.jpg) no-repeat center center; 
    background-size: cover;
    padding-left: 5%;
    padding-right: 5%;
    font-size: 1.1rem;
    line-height: 40px;
}
.aboutUs-info {
    margin: 0;
    padding: 7% 7%;
}
.aboutUs-img {
    margin: 10% 0;
}
.aboutUs-img img {
    width: 100%;
    vertical-align: bottom;
}
.aboutUs-info-btn {
    margin-top: 30px;
}
.aboutUs-info-btn a {
    display: inline-block;
    padding: 7px 30px;
    color: #fff;
    background-color: #437d05;
}
.aboutUs-info-btn a:hover {
    background-color: #447a37;
}


/*========================================================
                      	 服務項目
=========================================================*/

.service {	
	padding-top: 100px;
    padding-bottom: 60px;
    padding-left: 5%;
    padding-right: 5%;
}
.service [class*="col-"] .service-item {
    background-image: url(../img/index/service-item-bg1.jpg);
    background-position: right top;
    background-repeat: no-repeat;
    background-size: 30% auto;
}
.service [class*="col-"]:nth-of-type(1) .service-item {
    background-image: url(../img/index/service-item-bg1.jpg);
}
.service [class*="col-"]:nth-of-type(2) .service-item {
    background-image: url(../img/index/service-item-bg2.jpg);
}
.service [class*="col-"]:nth-of-type(3) .service-item {
    background-image: url(../img/index/service-item-bg3.jpg);
}
.service [class*="col-"]:nth-of-type(4) .service-item {
    background-image: url(../img/index/service-item-bg4.jpg);
}

.service-item {
    box-shadow: 0 0 10px #adadad;
    padding: 30px;
    min-height: 200px;
    margin-bottom: 30px;
}
.service-item h3 {
    color: #000;
    font-weight: bold;
    font-size: 1.5rem;
    position: relative;
}
.service-item h3:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    margin: 15px 0;
    background-color: #81c264;
}
.service-item ul {
    list-style: none;
    margin: 30px 0 10px;
    padding: 0;
}
.service-item li {
}
.service-item li a {
    display: inline-block;
    color: #151515;
    line-height: 30px;
}
.service-item li a:hover {
    color: #5c9729;
}

.service-item li a i{
    padding-right: 5px;
    color: #348f5d;
}

.service-btn {
    text-align: center;
    margin-bottom: 40px;
}
.service-btn a {
    background: rgb(93,175,163);
    background: -moz-linear-gradient(top,  rgba(93,175,163,1) 0%, rgba(41,156,139,1) 100%);
    background: -webkit-linear-gradient(top,  rgba(93,175,163,1) 0%,rgba(41,156,139,1) 100%);
    background: linear-gradient(to bottom,  rgba(93,175,163,1) 0%,rgba(41,156,139,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#5dafa3', endColorstr='#299c8b',GradientType=0 );
    display: block;
    padding: 5px;
    color: #fff;
    font-weight: bold;
}
.service-btn a:hover {
    background: rgb(144,202,109);
    background: -moz-linear-gradient(top,  rgba(144,202,109,1) 0%, rgba(74,129,55,1) 100%);
    background: -webkit-linear-gradient(top,  rgba(144,202,109,1) 0%,rgba(74,129,55,1) 100%);
    background: linear-gradient(to bottom,  rgba(144,202,109,1) 0%,rgba(74,129,55,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#90ca6d', endColorstr='#4a8137',GradientType=0 );
}


/*  尺寸設定 */
@media (min-width: 768px) {
    .service [class*="col-"] .service-item {
        background-size: 40% auto;
    }
    .service-item {
        min-height: 297px;
    }
}
@media (min-width: 1200px) {
    .service-item {
        min-height: 327px;
    }
}
@media (min-width: 1600px) {
    .service-item {
        min-height: 297px;
    }
}




/*
.service {	
	padding-top: 60px;
    padding-bottom: 60px;
}

.service-item {
    position: relative;
    margin-bottom: 30px;
    overflow: hidden;
}
.service-item * {
	transition: all 1s;
}
.service-item img {
    width: 100%;
    vertical-align: bottom;
}
.service-item a {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    background-color: rgba(51,51,51,0.5);
}
.service-item h4 {
    position: absolute;
    left: 35px;
    top: 25px;
    z-index: 3;
    color: #fff;
	text-shadow: 0 0 3px #000, 0 0 3px #000, 0 0 3px #000;
    font-weight: bold;
    font-size: 1.5rem;
}
.service-item p {
    position: absolute;
    right: 40px;
    bottom: 0;
    z-index: 3;
    color: #fff;
    font-weight: bold;
    font-size: 1rem;
}
.service-item p i {
    display: inline-block;
    margin-left: 6px;
}
.service-item:hover img {
    transform: scale(1.1);
}
.service-item:hover a {
    background-color: rgba(51,51,51,0);
}
.service-item:hover h4 {
    left: 50px;
}
.service-item:hover p {
    -webkit-transform: translateX(10px);
    transform: translateX(10px);
}
*/



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

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


