﻿@charset "utf-8";
/*---KV---*/
.kv_block{
	text-align: center;
}
.kv_block a{
	display: block;
	margin: 0 auto; 
}
@media screen and (max-width: 1171px){
	.kv_block img{
		width: 100%;
		height: auto;
		margin: 0 auto;
	}
}


/*---Slider---*/
.slider_block{
	padding: 55px 0 100px 0;
}
.slider_title{
	text-align: center;
	margin-bottom: 55px;
}
a.slider_link{
	display: block;
	text-decoration: none;
	color: inherit;
}
.slider_item{
	width: 350px;
	height: 320px;
	border: 1px solid #cfd8dc;
	background: #fff;
}
.slider_item .img_block{
	height: auto;
	text-align: center;
	border-bottom: 1px solid #cfd8dc;
}
.slider_item .img_block img{
	display: block;
	margin:  0 auto;
}
.slider_item h3{
	color: #263238;
	padding: 10px 15px 0 15px;
	margin-bottom: 10px;
}
.slider_item .slider_text{
	height: 48px;
	color: #546e7a;
	overflow: hidden;
	padding: 0 15px 15px 15px;
}
/*分頁器*/
.slider_block .swiper-container{
	padding-bottom: 55px;
}
.slider_block .swiper-pagination{
	bottom: 0;
}
.slider_block .swiper-pagination-bullet{
	width: 14px;
	height: 14px;
	background: #546e7a;
	opacity: 1;
}
.slider_block .swiper-pagination-bullet-active{
	background: #ffb300;
}
.slider_block .swiper-container-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet{
	margin: 0 15px;
}
@media screen and (max-width: 1171px){
	.slider_title{
		margin-top: 0;
		margin-bottom: 35px;
	}
	.slider_item{
		margin-right: auto;
		margin-left: auto;
	}
	.slider_block{
		padding-bottom: 60px;
	}
	.slider_block .swiper-container{
		padding-bottom: 45px;
	}
	.slider_block .swiper-pagination-bullet{
		width: 9px;
		height: 9px;
	}
	
}
@media screen and (max-width: 991px){
	.slider_block{
		padding-top: 35px;
		padding-bottom: 45px;
	}
	.slider_block .swiper-container{
		padding-bottom: 35px;
	}
	.slider_block .swiper-container-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet{
		margin: 0 10px;
	}
}

/*---影片區---*/
.video_block{
	background-repeat: no-repeat;
	background-image: url('../../images/index/genetex_index_video_bg.jpg');
	background-position: center;
	height: 400px; 
	margin-top: 80px;
	margin-bottom: 95px;
}
.video_block .container{
	position: relative;
	padding-top: 85px;
	padding-bottom: 80px;
}
.video_block .video_item_block{
	position: absolute;
	width: 540px;
	height: 405px;
	left: 30px;
	top: -80px;
}
/*play icon*/
.video_block .video_item_block .video_icon{
	position: relative;	
}
.video_block .video_item_block .video_icon:before{
	content: '';
	position: absolute;
	display: block;
	width: 76px;
	height: 55px;
	top: 50%;
	left: 50%;
	margin-top: -27.5px;
	margin-left: -38px;
	background-image: url('../../images/index/genetex_index_video_play.png');
	background-color: rgba(38,50,56,0.8);
	border-radius: 10px;
	-webkit-transition: .3s ease;
	-moz-transition: .3s ease;
	-o-transition: .3s ease;
	transition: .3s ease;
}
.video_block .video_item_block .video_icon:hover:before{
	background-color: rgba(254,190,0,1);
}
/*文字區*/
.video_text_block{
	padding-left: 600px;
	color: #fff;
	height: 240px;
}
.video_text_block h2{
	height: 72px;
	overflow: hidden;
}
.video_text_block .video_text{
	padding-right: 15px;
	height: 120px;
	overflow: hidden;
	margin-bottom: 10px;
}

@media screen and (max-width: 1171px){
	.video_block{
		background: #071f43;
		margin-top: 270px;
		height: auto;
		padding-bottom: 60px;
		margin-bottom: 50px;
	}
	.video_block .video_item_block{
		left: 50%;
		margin-left: -270px;
		top: -270px;
	}
	.video_text_block{
		width: 540px;
		padding-left: 0;
		height: auto;
	}
	.video_block .container{
		padding: 180px 10px 0 10px;
		width: 540px;
	}
	.video_block a.more_btn{
		display: block;
		width: 160px;
		margin-right: auto;
		margin-left: auto;
	}

}
@media screen and (max-width: 769px){
	.video_block{
		margin-top: 45px;
		margin-bottom: 25px;
	}
	.video_block .container{
		width: 100%;
		padding-top: 0;
	}
	.video_block .container:before{
		content: '';
		display: block;
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 135px;
		background: #fff;
	}
	.video_block .video_item_block{
		position: relative;
		left: auto;
		top: auto;
		margin-left: auto;
		margin-top: auto;
		width: 100%;
		height: auto;	
		text-align: center;
	}
	.video_text_block{
		width: 100%;
		padding-top: 40px;
	}
	.video_text_block .video_text{
		margin-bottom: 40px;
	}
}
@media screen and (max-width: 380px){
	.slider_item{
		width: 100%;
	}
}

/*---圖文區---*/
a.img_table_link{
	display: block;
	text-decoration: none;
	color: inherit;
}
.img_table_block{
	padding-bottom: 85px;
}
.img_table_block h1{
	text-align: center;
	margin-bottom: 55px;
}
.right_img_table,
.left_img_table{
	width: 100%;
	height: 330px;
	margin-bottom: 15px;
	table-layout: fixed;
	border-collapse: collapse;
}
.right_img_table td,
.left_img_table td{
	width: 555px;
	height: 330px;
	vertical-align: middle;
}
.right_img_table .img_block,
.left_img_table .img_block{
	text-align: center;
	overflow: hidden;
}
.right_img_table .img_block img,
.left_img_table .img_block img{
	-webkit-transition: .7s ease;
	-moz-transition: .7s ease;
	-o-transition: .7s ease;
	transition: .7s ease;
}
.right_img_table:hover .img_block img,
.left_img_table:hover .img_block img{
	transform: scale(1.3);
}
.right_img_table .text_block,
.left_img_table .text_block{
	padding: 30px;
}
.right_img_table .text_block h2,
.left_img_table .text_block h2{
	margin-bottom: 25px;
}
.right_img_table .text_block div,
.left_img_table .text_block div{
	display: inline-block;
}
.right_img_table td,
.left_img_table td{
	background: #eceff1;
	-webkit-transition: .3s ease;
	-moz-transition: .3s ease;
	-o-transition: .3s ease;
	transition: .3s ease;
}
.right_img_table:hover td,
.left_img_table:hover td{
	background: #ced3d6;
}

.right_img_table td{
	float: right;
}
.left_img_table td{
	float: left;
}
@media screen and (max-width: 1171px){
	.img_table_block{
		padding-bottom: 65px;
	}
	.img_table_block h1{
		margin-bottom: 35px;
	}
	.right_img_table,
	.left_img_table,
	.right_img_table tr,
	.left_img_table tr,
	.right_img_table tbody,
	.left_img_table tbody,
	.right_img_table td,
	.left_img_table td{
		display: block;
	}
	.right_img_table,
	.left_img_table{
		width: 100%;
		height: auto;
		max-width: 555px;
		margin-left: auto;
		margin-right: auto;
	}
	.right_img_table td,
	.left_img_table td{
		width: 100%;
		height: auto;
	}
	.right_img_table .text_block,
	.left_img_table .text_block{
		padding-top: 75px;
		padding-bottom: 80px;

	}
}
@media screen and (max-width: 769px){
	.img_table_block{
		padding-bottom: 45px;
	}
	.right_img_table .text_block,
	.left_img_table .text_block{
		padding-top: 35px;
		padding-bottom: 40px;

	}
}

/*---底部固定區---*/
.bottom_block{
	background-repeat: no-repeat;
	background-image: url('../../images/index/genetex_index_bottom_bg.jpg');
	background-position: center;
	height: 400px; 
}
.bottom_block .container{
	color: #fff;
	text-align: center;
	height: 400px;
}
.bottom_block h2{
	margin-bottom: 35px;
}
.bottom_block .text_block{
	width: 100%;
	max-width: 600px;
	margin-bottom: 55px;
}

/*優酷影片*/
#youku_box{
	position: relative;
	height: 0;
	padding-bottom: 56.25%;
}
#youku_box iframe{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/*190823 home page add padding-top*/
.kv_block + .img_table_block, .kv_block + .video_block {
    padding-top:55px;
}
.kv_block + .bottom_block{
	margin-top:55px;
}
@media screen and (max-width: 991px) {
    .kv_block + .img_table_block, .kv_block + .video_block {
        padding-top:0;
    }
    .kv_block + .video_block,.kv_block + .img_table_block, .kv_block + .bottom_block{
	    margin-top:35px;
    }
}