/*============================================================
  GLOBAL
  ============================================================*/
.effects {
  padding-left: 15px; }
  .effects .img {
    position: relative;
    float: left;
    margin-bottom: 5px;
    width: 25%;
    overflow: hidden; }
  .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; }

.overlay {
  display: block;
  position: absolute;
  width: 100%;
  z-index: 20;
  background: rgba(84, 82, 171, 0.8);
  overflow: hidden;
  transition: all 0.5s; }

a.close-overlay {
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  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 .img.hover .overlay {
  height: 100%; }
