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



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


.news {
    background: url("../img/index/news-bg.jpg") no-repeat center center;
    background-size: cover;
	padding-top: 80px;
    padding-bottom: 80px;
}
.news h2 {
    font-size: 2rem;
    font-weight: bold;
    position: relative;
    color: #fff;
    background-color: #3d89c9;
    padding: 5px 10px;
    margin-left: 20px;
    margin-right: 20px;
}
.news img {
    width: 100%;
    vertical-align: bottom;
}
.news .slider {
    padding-bottom: 80px;
}
.news-item {
    margin: 0 20px 10px;
    background-color: #e8eff5;
    position: relative;
}
.news-item-img {
    position: relative;
    margin: 0;
    display: block;
    width: 100%;
    text-decoration: none;
    color: #fff;
    background-color: #f0f4f8;
    overflow: hidden
}
.news-item-img:hover {
    color: #fff
}
.news-item-img:hover .news-item-mask {
    opacity: 1;
    visibility: visible
}
.news-item-img:hover .news-item-mask::after {
    height: 100%
}
.news-item-img img {
    display: block;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover
}
.news-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
}
.news-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
}
.news-item-mask span {
    position: relative;
    display: block;
    z-index: 2;
    border: 1px solid #fff;
    padding: 5px 30px;
}
.news-item-info {
    text-align: left;
    border: 1px solid #d8d8d8;
    padding: 40px 20px;
}
.news-item-info time  {
    font-weight: bold;
    color: #000;
    display: block;
}
.news-item-info h3 {
    font-weight: bold;
    font-size: 1.1rem;
    margin: 10px 0;
}
.news-item-info h3:after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background-color: #e51816;
    margin-top: 20px;
}
.news-item-info p {
    margin: 0;
    line-height: 28px;
}
.news-btn {
    text-align: center;
}
.news-btn a {
    display: inline-block;
    color: #000;
    padding: 5px 5%;
    border: 1px solid #a2a2a2;
    font-size: 1rem;
}
.news-btn a:hover {
    color: #fff;
    background-color: #0870c9;
}

/* 尺寸設定 */
@media (min-width: 768px) {
    .news > div {
        background-color: #fff;
        padding: 60px 40px 20px;
        box-shadow: 1px 1px 10px #adadad;	
    }
    .news .slider {
        padding-bottom: 40px;
    }
}
@media (min-width: 992px) {
    .news .slider {
        padding-bottom: 40px;
    }
}
@media (min-width: 1200px) {
    .news > div {
        padding: 60px 80px 20px;
    }
}



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

.products {
    background: url("../img/index/products-bg.jpg") no-repeat center center;
    background-size: cover;
    padding-top: 60px;
    padding-bottom: 60px;
}
.products .h2-title {
    text-align: center;
}

.products .products-item {
    position: relative;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    background-color: #fff;
    margin-bottom: 30px;
    height: 360px;
    border: 5px solid #78bdd4;
    padding: 5px;
}
.products .products-item > img {
    position: relative;
    top: 10px;
    left: 10px;
    height: 50px;
}
.products .products-item h3 {
    position: absolute;
    bottom: 44px;
    left: 15px;
    z-index: 10;
    color: #fff;
    font-weight: bold;
    border-left: 8px solid #000;
    padding-left: 10px;
    text-shadow: 1px 1px 2px #000,1px 1px 2px #000,1px 1px 2px #000;
    font-size: 1.4rem;
}
.products-item ul {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    position: absolute;
    bottom: 10px;
    left: 0;
    z-index: 10;
    text-align: center;
}
.products .products-item ul.style2 li{ width:22%;}

.products-item ul li {
    display: inline-block;
    width: 30%;  
}
.products-item ul li a {
    display: block;
    background-color: #1a68b1;
    color: #fff;
    text-align: center;
    border-radius: 10px;
    font-size: 0.9rem;
}
.products-item ul li a:hover {
    background-color: #c62910;
}



/*  尺寸設定 */
@media (min-width: 768px) {
    .products .products-item {
        height: 340px;
    }
    .products .products-item ul li {
        width: 30%; 
    }
    .products-item ul li a {
        font-size: 1rem;
    }
    .products .products-item > img {
        top: 5px;
        left: 5px;
        height: 30px;
    }
}
@media (min-width: 992px) {
    .products .products-item {
        height: 320px;
    }
    .products .products-item > img {
        height: 40px;
    }
}
@media (min-width: 1200px) {
    .products .products-item {
        height: 340px;
    }
    .products .products-item ul li {
        width: 30%; 
    }
    .products .products-item > img {
        height: 40px;
    }
}
@media (min-width: 1600px) {
    .products .products-item {
        height: 320px;
    }
    .products .products-item ul li {
        width: 30.5%; 
    }
    .products .products-item > img {
        position: relative;
        top: 5px;
        left: 5px;
        height: 50px;
    }
}

/*========================================================
                  保養維修 and 冷氣出租
=========================================================*/

.sectionStyle {
    padding-top: 80px;
    padding-bottom: 40px;
}

.sectionStyle-item img {
    width: 100%;
    vertical-align: bottom;
}
.sectionStyle-item {
    background-color: #ededed;
    
}
.sectionStyle-item-info {
    padding: 40px 30px 20px;
    position: relative;
}
.sectionStyle-item-info h3 {
    display: inline-block;
    background-color: #cc0000;
    color: #fff;
    padding: 10px 15%;
    position: absolute;
    top: -30px;
    left: 0;
    z-index: 3;
    font-size: 2rem;
    font-weight: bold;
}
.sectionStyle-item-info p {
    font-weight: bold;
    border-bottom: 1px solid #5f5f5f;
    padding: 10px 0;
}

.sectionStyle-item-info-btn {
    text-align: right;
}
.sectionStyle-item-info-btn a {
    display: inline-block;
    color: #fff;
    background: #cc0000 url("../img/index/sectionStyle-item-info-btn-bg.png") no-repeat 25px center;
    padding: 4px 30px 4px 60px;
    border-radius: 8px;
}
.sectionStyle-item-info-btn a:hover {
    background-color: #e62c2c;
}



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

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


