/* ============================================================
  NAVIGATION
============================================================ */
/*
nav ul {
  list-style-type: none;
  margin: 0 0 30px 0;
  padding: 0;
  text-align: center;
}
nav ul li {
  display: inline-block;
  margin-bottom: 4px;
}
nav ul li a {
  display: block;
  padding: 5px 20px;
  color: #fff;
  background-color: #32c896;
}
nav ul li a:hover {
  color: #fff;
  background-color: #238b68;
}
nav ul li a.active {
  color: #fff;
  background-color: #238b68;
}
*/

/* ============================================================
  GLOBAL
============================================================ */
.effects {
  padding-left: 15px;
}
.effects .cover-mask {
  position: relative;
  float: left;
  margin-bottom: 5px;
  width: 25%;
  overflow: hidden;
}
.effects .cover-mask:nth-child(n) {
  margin-right: 5px;
}
.effects .cover-mask:first-child {
  margin-left: -15px;
}
.effects .cover-mask:last-child {
  margin-right: 0;
}
.effects .cover-mask img {
  display: block;
  margin: 0;
  padding: 0;
  max-width: 100%;
  height: auto;
}

.overlay {
  display: block;
  position: absolute;
  z-index: 20;
  background: rgba(0, 0, 0, 0.8);
  background: rgba(39, 60, 102, 0.5);
  overflow: hidden;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
}

a.close-overlay {
  display: block;
  position: absolute !important;
  top: 10px;
  left: 30px;
  z-index: 100;
  width: 45px;
  height: 45px;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  line-height: 45px;
  text-align: center;
/*  background-color: #000;*/
  cursor: pointer;
}
a.close-overlay.hidden {
  display: none;
}

a.expand {
  display: block;
  position: absolute;
  z-index: 100;
  width: 60px;
  height: 60px;
  border: solid 5px #fff;
  text-align: center;
  color: #fff;
  line-height: 50px;
  font-weight: 700;
  font-size: 30px;
  border-radius: 30px;
}

/* ============================================================
  EFFECT 1 - SLIDE IN BOTTOM
============================================================ */
#effect-1 .overlay {
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 0;
}
#effect-1 .overlay a.expand {
  left: 0;
  right: 0;
  bottom: 50%;
  margin: 0 auto -30px auto;
}
#effect-1 .cover-mask.hover .overlay {
  height: 100%;
}

/* ============================================================
  EFFECT 2 - SLIDE IN TOP
============================================================ */
#effect-2 .overlay {
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 0;
}
#effect-2 .overlay a.expand {
  left: 0;
  right: 0;
  top: 50%;
  margin: -30px auto 0 auto;
}
#effect-2 .cover-mask.hover .overlay {
  height: 100%;
}

/* ============================================================
  EFFECT 3 - SLIDE IN LEFT
============================================================ */
#effect-3 .overlay {
  top: 0;
  bottom: 0;
  left: 0;
  width: 0;
  height: 100%;
}
#effect-3 .overlay a.expand {
  top: 0;
  bottom: 0;
  left: 50%;
  margin: auto 0 auto -30px;
}
#effect-3 .cover-mask.hover .overlay {
  width: 100%;
}

/* ============================================================
  EFFECT 4 - SLIDE IN RIGHT
============================================================ */
#effect-4 .overlay {
  top: 0;
  bottom: 0;
  right: 0;
  width: 0;
  height: 100%;
}
#effect-4 .overlay a.expand {
  top: 0;
  bottom: 0;
  right: 50%;
  margin: auto -30px auto 0;
}
#effect-4 .cover-mask {
  overflow: hidden;
}
#effect-4 .cover-mask.hover .overlay {
  width: 100%;
}

/* ============================================================
  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%;
  border-radius: 0;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
}
#effect-5 .cover-mask.hover .overlay {
  opacity: 1;
}
#effect-5 .cover-mask.hover .overlay a.expand {
  width: 60px;
  height: 60px;
  border-radius: 30px;
}

/* ============================================================
  EFFECT 6 - ICON BOUNCE IN
============================================================ */
[id ^= effect-] {
	margin-bottom: 240px !important;
}
#effect-6 .overlay {
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  opacity: 0;
	max-height:220px;
}
#effect-6 .overlay a.expand {
  left: 0;
  right: 0;
  top: 0;
  margin: 0 auto;
  opacity: 0;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
}
#effect-6 .cover-mask.hover .overlay {
  opacity: 1;
}
#effect-6 .cover-mask.hover .overlay a.expand {
/*
  top: 50%;
  margin-top: -30px;
*/
  opacity: 1;
	margin:4px 0px;
}
a.expand {
	display: block;
	position: relative;
	z-index: 100;
	text-align: right;
	color: #fff;
	line-height: 50px;
	font-weight: 700;
	font-size: 30px;
	border-radius: 30px;
	width: unset;
	height: unset;
	border-width: 0px;
}
a.expand span{
	color: #505050;
	width: 20px;
	background: #fff;
	padding: 4px;
	text-align: center;	
	border-radius: 4px;
}
a.expand.active span{ 
	color: #F44336;	
}
a.expand span:active{ 
	font-size: 0.90em;
	color: #E91E63;
}
a.expand:hover span {
    color: #ff3b7e;
    -webkit-transition: color 0.6s;
    transition: color 0.6s;
}
/* ------------------------------------------------------------ *\
|* ------------------------------------------------------------ *|
|* Media Queries
|* ------------------------------------------------------------ *|
\* ------------------------------------------------------------ */
@media only screen and (max-width: 1100px) {
  .effects {
    padding-left: 5px;
  }
  .effects .cover-mask {
    width: 50%;
  }
  .effects .cover-mask:nth-child(n) {
    margin-right: 5px;
  }
  .effects .cover-mask:first-child {
    margin-left: 0;
  }
  .effects .cover-mask:nth-child(2n-1) {
    margin-left: -5px;
  }
  .effects .cover-mask:nth-child(2n) {
    margin-right: 0;
  }
  .effects .cover-mask:last-child {
    margin-right: 0;
  }
}
@media only screen and (max-width: 520px) {
  .effects .cover-mask {
    width: 100%;
  }
  .effects .cover-mask:nth-child(n) {
    margin-right: 0;
  }
  .effects .cover-mask:first-child {
    margin-left: 0;
  }
  .effects .cover-mask:nth-child(2n-1) {
    margin-left: 0;
  }
  .effects .cover-mask:nth-child(2n) {
    margin-right: 0;
  }
  .effects .cover-mask:last-child {
    margin-right: 0;
  }
  .effects .cover-mask img {
    margin: 0 auto;
  }
}
