
/* ============================================================
  GLOBAL
============================================================ */

.effects {
	padding-left: 15px;
	overflow: hidden;
	float: left;
	display: block;
}
.effects .img {
  position: relative;
  float: left;
  margin-bottom: 10px;
  width: 100%;
  overflow: hidden;
}
.effects .img:nth-child(n) {
	margin-right: 20px;
}
.effects .img:first-child {
  margin-left: -15px;
}
.effects .img:last-child {
  margin-right: 0;
}
.effects .img img {
  display: block;
  margin: 0;
  padding: 0;
  max-width: 100%;
  height: auto;
}
.effects .Text {
	width: 100%;
	margin-top: 15px;
	margin-right: auto;
	margin-bottom: 20px;
	margin-left: auto;
	line-height: 22px;
	height: 70px;
	overflow: hidden;
}
.effects .title {
	font-size: 16px;
	margin-top: 15px;
	line-height: 22px;
	width: 100%;
}
.effects .Date {
	float: left;
	margin-bottom: 5px;
	font-family: Georgia, "Times New Roman", Times, serif, "微軟正黑體";
	color: #C00;
	width: 100%;
	margin-top: 10px;
}
.overlay {
  display: block;
  position: absolute;
  z-index: 2;
  background: rgba(0, 0, 0, 0.8);
  overflow: hidden;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  -o-transition: all 0.5s;
  transition: all 0.5s;
}

a.close-overlay {
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	z-index: 1;
	width: 65px;
	height: 65px;
	font-size: 20px;
	font-weight: 700;
	color: #fff;
	line-height: 65px;
	text-align: center;
	background-color: #000;
	cursor: pointer;
	text-decoration: none;
}
a.close-overlay.hidden {
	display: none;
	text-decoration: none;
}

a.expand {
	display: block;
	position: absolute;
	z-index: 1;
	width: 100px;
	height: 100px;
	border: solid 5px #fff;
	text-align: center;
	color: #fff;
	line-height: 80px;
	font-weight: 400;
	font-size: 80px;
	-webkit-border-radius: 50px;
	-moz-border-radius: 50px;
	-ms-border-radius: 50px;
	-o-border-radius: 50px;
	border-radius: 50px;
	text-decoration: none;
	font-family: "微軟正黑體", "Arial Unicode MS";
}
.expand-1{
	font-size: 50px;
	line-height: 80px;
}


/* ============================================================
  EFFECT 5 - ICON BORDER ANIMATE
============================================================ */
#effect-5 .overlay {
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  opacity: 0;
}
#effect-5 .overlay a.expand {
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  width: 100%;
  height: 100%;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -ms-border-radius: 0;
  -o-border-radius: 0;
  border-radius: 0;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  -o-transition: all 0.5s;
  transition: all 0.5s;
}
#effect-5 .img.hover .overlay {
  opacity: 1;
}
#effect-5 .img.hover .overlay a.expand {
  width: 100px;
  height: 100px;
  -webkit-border-radius: 50px;
  -moz-border-radius: 50px;
  -ms-border-radius: 50px;
  -o-border-radius: 50px;
  border-radius: 50px;
}


/* ------------------------------------------------------------ *\
|* ------------------------------------------------------------ *|
|* Media Queries
|* ------------------------------------------------------------ *|
\* ------------------------------------------------------------ */
@media only screen and (max-width: 1100px) {
  .effects {
    padding-left: 5px;
  }
  .effects .img {
    width: 100%;
  }
  .effects .img:nth-child(n) {
    margin-right: 5px;
  }
  .effects .img:first-child {
    margin-left: 0;
  }
  .effects .img:nth-child(2n-1) {
    margin-left: -5px;
  }
  .effects .img:nth-child(2n) {
    margin-right: 0;
  }
  .effects .img:last-child {
    margin-right: 0;
  }
}
@media only screen and (max-width: 520px) {
  .effects .img {
    width: 100%;
  }
  .effects .img:nth-child(n) {
    margin-right: 0;
  }
  .effects .img:first-child {
    margin-left: 0;
  }
  .effects .img:nth-child(2n-1) {
    margin-left: 0;
  }
  .effects .img:nth-child(2n) {
    margin-right: 0;
  }
  .effects .img:last-child {
    margin-right: 0;
  }
  .effects .img img {
    margin: 0 auto;
  }
}
