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


/*========================================================
                           走馬燈
=========================================================*/

.message {
    background-color: #003c99;
	padding: 10px 80px;
}
.message-wrap {
}
.message-wrap .slider .message-item a {
    color: #fff;
    font-weight: bold;
    font-size: 1.2rem;
}
.message-wrap .slider .message-item h3  {
    font-size: 3rem;
    text-align: left;
    font-weight: bold;
    margin: 0 0 10px 0;
}
.message-wrap .slider .message-item p  {
    line-height: 36px;
    font-size: 2rem;
    margin: 0;
}
.message-wrap .slick-list {
    margin: 0;
}

/*  尺寸設定 */
@media (min-width: 768px) {
    .message-wrap {
        padding: 10px 20px;
    }
}
@media (min-width: 1200px) {
    .message-wrap {
        padding: 10px 5%;
    }
}



/*========================================================
                         產品介紹
=========================================================*/

.products {
    margin-top: 60px;
    margin-bottom: 60px;
    overflow: hidden;
}
.products-item {
    position: relative;
    overflow: hidden;
}
.products-item * {
	-webkit-transition: all 0.5s;
	transition: all 0.5s;
}
.products-item img {
    width: 100%;
    vertical-align: bottom;
}
.products-item h3 {
    position: absolute;
    top: 10%;
    left: 5%;
    z-index: 4;
    color: #fff;
    font-weight: bold; 
}
.products-item a {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
}
.products-item:hover img {
    transform: scale(1.05);
}
.products-item:hover h3 {
    color: #fff;
    left: 10%;
}
.products-item:hover a {
    background-color: rgba(0,0,0,0.5);
}


/* 尺寸設定 */
@media (min-width: 1600px) {
    .products-item img {
        object-fit: cover;
        height: 440px;
    }
}


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

.news {	
	padding-top: 60px;
    padding-bottom: 60px;
}
.news * {
	-webkit-transition: all 0.5s;
	transition: all 0.5s;
}
.news img {
    width: 100%;
    vertical-align: bottom;
}
/*
.news .slider {
    padding-bottom: 80px;
}
*/
.news-item {
    margin: 0 25px 10px;
    background-color: #fff;
    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;
    display: none;
}
.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 {
    margin-top: 30px;
    text-align: center;
}
.news-btn a {
    display: inline-block;
    color: #fff;
    padding: 5px 20px;
    font-size: 1rem;
    border-radius: 30px;
    background-color: #003c99;
}
.news-btn a i {
    display: inline-block;
    margin: 0 5px;
}
.news-btn a.hover1:before {
    color: #fff;
    background-color: #901d22;
}


/* 尺寸設定 */
/*
@media (min-width: 992px) {
    .news .slider {
        padding-bottom: 40px;
    }
}
*/


/*========================================================
                         產業應用
=========================================================*/

.application {
    padding-bottom: 60px;
}
.application h2 {
    background-color: #003c99;
    font-weight: bold;
    color: #fff;
    margin: 0;
    padding: 10px;
    text-align: center;
}
.application-item {
    position: relative;
    overflow: hidden;
}
.application-item * {
	-webkit-transition: all 0.5s;
	transition: all 0.5s;
}
.application-item img {
    width: 100%;
    vertical-align: bottom;
}
.application-item h3 {
    position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	z-index: 9;
    color: #fff;
	text-shadow: 0 0 3px #333,0 0 3px #333,0 0 3px #333,0 0 3px #333,0 0 3px #333;
    font-weight: bold; 
    text-align: center;
}
.application-item a {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
}
.application-item:hover img {
    transform: scale(1.05);
}
.application-item:hover h3 {
    color: #000;
    text-shadow: 0 0 2px #fff,0 0 2px #fff,0 0 2px #fff,0 0 2px #fff,0 0 2px #fff;
}
.application-item:hover a {
    background-color: rgba(0,0,0,0.30);
}

/* 尺寸設定 */
@media (max-width: 539px) {
    .application-item img {
        object-fit: cover;
        height: 480px;
    }
}
@media (min-width: 1600px) {
    .application h2 {
        padding: 15px;
    }
    .application-item img {
        object-fit: cover;
        height: 640px;
    }
}


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

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


