/*
 * iweb51-style05
 *
 * Copyright 2015, TANK
 * 
 * 
 * 2015 / 7 / 17
 */

/* + news
*----------------------------------------------------------------------------*/
.wrapper .news {
	overflow: hidden;
	margin: 20px 0;
}

.wrapper .news section h3 {
	margin: 0 0 30px 0;
	font-size: 30px;
	padding: 20px 0 20px 20px;
	font-weight: bold;
	background: #fff;
	position: relative;
}
.wrapper .news section h3::before{
	content: "";
	position: absolute;
	bottom: 0px;
	left: 20px;
	width: 100%;
	height: 2px;
	background: #eee;
}
.wrapper .news section h3::after{
	content: "";
	position: absolute;
	bottom: 0px;
	left: 20px;
	width: 150px;
	height: 2px;
	background: #ffba00;
	z-index: 10;
}
.wrapper .news section h3 a {
	color: #6eb418;
}

.wrapper .news section .newsWrap {
	overflow: hidden;
}

.wrapper .news section .newsWrap ul li {
	overflow: hidden;
	margin: 10px 30px;
	background: #fff;
	animation-name: fadeInUp;
	-webkit-animation-name: fadeInUp;
	-webkit-animation-duration: 1.5s;
	transition: ease .3s;
	width: 43%;
	display: inline-block;
}
.wrapper .news section .newsWrap ul li:hover{
	background: #eaeaea91;
}


.wrapper .news section .newsWrap ul li a.photo {
	margin: 0 20px 0 0;
	width:100%;
	height: auto;
}

.wrapper .news section .newsWrap ul li a.photo img {
	width: 100%;
	height: 280px;
	/* background-position: 50% 50%; */
	/* top: 0; */
	/* left: 0; */
}

.wrapper .news section .newsWrap ul li .date{
	display: inline-block;
    width: 12%;
    margin-top: 15px;
    position: relative;
    padding-top: 20px;
}
.wrapper .news section .newsWrap ul li .date:before{
	content: "";
    position: absolute;
    right: -25px;
    top: 50%;
    width: 2px;
    height: 49px;
    background: #eee;
    transform: translateY(-50%);
    border-right: 1px solid #e2e2e2;
}
.wrapper .news section .newsWrap ul li .date p{text-align: center;}
.wrapper .news section .newsWrap ul li .date .day{
	text-align: center;
    font-size: 40px;
}
.wrapper .news section .newsWrap ul li .info {
	float: right;
	width: 80%;
	margin-top: 15px;
	box-sizing: border-box;
	padding: 15px;
}
.wrapper .news section .newsWrap ul li .info h4{
	font-size: 24px;
    margin-bottom: 5px;
}
.wrapper .news section .newsWrap ul li .info p{
	color: #a5a5a5;
	display: -webkit-box;
	text-overflow: ellipsis;
	overflow: hidden;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	height: auto;
	font-size: 14px;
}
.wrapper .news section .newsWrap ul li .info h4 {
	color: #ff8814;   
	 overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.wrapper .news section .newsWrap ul li .info h4 a {
	color: #ff8814;
	font-weight: bold;
}

.wrapper .news section .newsWrap ul li .info h4 a:hover {
	color: #333;
}

.wrapper .news section .newsWrap ul li .info p.more a {
	padding: 5px;
	float: right;
	background: #6eb418;
	color: #fff;
	text-align: center;
	-webkit-transition: all 0.2s linear;
	transition: all 0.2s linear;
	line-height: 30px;
	margin-top: 10px;
}

.wrapper .news section .newsWrap ul li .info p.more a:hover {
	background: #ff8814;
}


/**********適應性**********/
/************************/
@media only screen and (min-width: 320px) {
}

@media only screen and (min-width: 960px) {
}

@media only screen and (max-width:1024px) {
	.wrapper .news section .newsWrap ul li{;width: 40%;}
}  
@media only screen and (max-width: 768px) {
	.grid li{width: 100%;}
	.wrapper .news section .newsWrap ul li{width: 85%;}
}
@media only screen and (max-width: 420px) {
	.wrapper .news section .newsWrap ul li .date{width: 100%;}
	.wrapper .news section .newsWrap ul li .date .day,
	.wrapper .news section .newsWrap ul li .date p{text-align: left;display: inline-block;}
	.wrapper .news section .newsWrap ul li .date .day{font-size: 14px;}
	.wrapper .news section .newsWrap ul li .info{width: 100%;padding: 0px;}
	.wrapper .news section .newsWrap ul li .info p{padding: 5px 0px;}
	.wrapper .news section h3::after{left: 0px;}
	.wrapper .news section h3{padding: 20px 0 20px 0px;}
}
