/* 圖片輪播*/

 .flexslider2 li{
list-style-type:none;
}


.flexslider2{
 list-style-type:none;
 z-index:-1;
position: absolute;
top: 0;
/*margin-left: -50px;*/
margin-top: -16px;
/* 圖片輪播。*/



}

.slider_container {
   /* margin: 30px auto;
    width: 400px;
    height: 280px;
    position: relative;
    border: 20px solid;    
    border-color: #fff;
    border-bottom-width: 100px;
    background-color: #f5f5f5;
    box-shadow: #666 0 0 5px;*/
}

.slider_container div {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    filter: alpha(opacity=0);
	padding: 98px 0px 0px;
}




 /* 設定動畫週期。*/
.slider_container div {
    -webkit-animation: round 30s linear infinite;
            animation: round 30s linear infinite;
}
@-webkit-keyframes round {
    4% {
        opacity: 1;
        filter: alpha(opacity=100);
        /* 0 - 1秒 淡入*/
    }
    16% {
        opacity: 1;
        filter: alpha(opacity=100);
        /* 1- 5秒靜止*/
    }
    34% {
        opacity: 0;
        filter: alpha(opacity=0);
        /* 5-6秒淡出*/
    }
}
@keyframes round {
    4% {
        opacity: 1;
        filter: alpha(opacity=100);
        /* 0 - 1秒 淡入*/
    }
    16% {
        opacity: 1;
        filter: alpha(opacity=100);
        /* 1- 5秒靜止*/
    }
    34% {
        opacity: 0;
        filter: alpha(opacity=0);
        /* 5-6秒淡出*/
    }
}

 /* 每張圖片進場時間相隔5秒*/
.slider_container div:nth-child(1) {
    -webkit-animation-delay: 0s;
            animation-delay: 0s;
}

.slider_container div:nth-child(2) {
    -webkit-animation-delay: 10s;
            animation-delay: 10s;
}

.slider_container div:nth-child(3) {
    -webkit-animation-delay: 22s;
            animation-delay: 22s;
}


#office_area {
	position: relative;
	cursor: pointer;
}
ul.itemGrid {
	margin: 0;
	list-style-type: none;
	padding: 0;
	
}
ul.itemGrid .col3 {
	/*width: 33.333333%;*/
	float: left;
	display: inline-block;
}
ul.itemGrid li {
	padding: 0px;
}
ul.itemGrid li .item {
	padding-bottom: 30px;
	overflow: hidden;
	position: relative;
	/*margin: 10px 25px 40px 50px;*/
	/**box-shadow: 1px 1px 3px rgba(0,0,0,0.25);**/
	padding: 0px;
	/*border: 1PX solid #DFDFDF;*/
	background-color:#F3F3F3
	
}
ul.itemGrid li .Img {
	position: relative;
	display: block;
	overflow: hidden;
	
}
ul.itemGrid li .Img img {
	display: block;
	width: 100%;
	max-height: 1080px;
	max-width: 1920px;
	transition: all 0.3s linear;
	-webkit-backface-visibility: hidden;
}
ul.itemGrid li .Img:hover img {
	transform: scale(1.05);
	
}
ul.itemGrid li .contxt {
	position: absolute;
	bottom: -90;
	margin-bottom: -100%;
	right: 0;
	
	


	width: 30%; /**100%**/
	box-sizing: border-box;
	/*padding: 20px;*/
	background: rgba(0,0,0,0.65);
	transition: all 0.5s ease;
	
	
}
ul.itemGrid li .item:hover .contxt {
	margin-bottom: 0%;
}

ul.itemGrid li .contxt h3 {
	color: #fff;
	margin: 10px 0px;
	text-align: left;
}
ul.itemGrid li .contxt h3 strong {
	display: inline-block;
	font-weight: bold;
	font-size: 20px;
	color: #fff;
}
ul.itemGrid li:hover .contxt h3 strong {
	
	font-size: 2rem;
	
	top: 65%;
position: absolute;
	
}
ul.itemGrid li .contxt h3 span {
	font-weight: normal;
	color: #fff;
	font-size: 14px;
	margin-left: 15px;
}
ul.itemGrid li .contxt p {
	display: block;
	position: relative;
	padding-top: 10px;
	font-size: 16px;
	color: #fff;
	line-height: 2.5;
	height: 80%;
	opacity: 0;
	transition: all 0.5s ease;
	transition-delay: 0.2s;
	/*border-top: 1px dotted #CCCCCC;*/
	text-align: center;
	left:5%;
	margin-left:10px;
	margin-right:50px;
	margin-top:10px;
	margin-bottom:80%;
	
}
ul.itemGrid li .item:hover .contxt p {
	padding-top: 100%;
	opacity: 1;
}
ul.itemGrid li .contxt a.btn {
	position: absolute;
	right: 10px;
	top: 30px;
	display: inline-block;
	padding: 0px 12px;
	line-height: 28px;
	border-radius: 28px;
	background: #6B6B6B;
	color: #FFF;
	text-align: center;
	font-size: 11px;
	/**border: 3px solid #FFF;**/
}
ul.itemGrid li .contxt a.btn:hover {
	background: #000000;
}
@media only screen and (max-width: 1024px) {
ul.itemGrid .col3 {
	width: 50%;
}
ul.itemGrid li .item {
	margin: 10px 20px 30px 20px;
}
ul.itemGrid li:hover .contxt h3 strong {
	
	font-size: 2rem;
	
	top: 55%;
position: absolute;
	
}
.flexslider2{
 list-style-type:none;
 z-index:-1;
position: absolute;
top: 0;
margin-left: -50px;
margin-top: 55px;
/* 圖片輪播。*/
}
@media only screen and (max-width: 480px) {
ul.itemGrid .col3 {
	width: 100%;
	float: none;
	display: block;
}
ul.itemGrid li .item {
	margin: 10px;
}
}

