/* ============================================================
  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 {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width:100%;
  margin-bottom:60px;
  flex-wrap: wrap;
}

.effects .img {
  position: relative;
  width: 23.5%;
  overflow: hidden;
  padding: 30px 20px;
  box-sizing: border-box;
  box-shadow: 0px 8px 20px 5px #ececec;
  margin-bottom:40px;
  min-height:206px;
}


.overlay {
  display: block;
  position: absolute;
  z-index: 20;
  /* background: rgba(56, 108, 202, 0.9); */
  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: 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.expand {
  display: block;
  position: absolute;
  z-index: 100;
  width: 60px;
  height: 60px;
  text-align: center;
}

#effect-2 .overlay a.expand1 { left: 50%; margin-left: -100px !important; } 
#effect-2 .overlay a.expand2 { left: 50%; }
#effect-2 .overlay a.expand1:hover img { content: url(/eportal/uiFramework/commonResource/image/2023020716401854328.png); }
#effect-2 .overlay a.expand2:hover img { content: url(/eportal/uiFramework/commonResource/image/2023020716402882676.png); }


/* ============================================================
  EFFECT 2 - SLIDE IN TOP
============================================================ */
#effect-2 .overlay {
  top: 0px;
  left: 0;
  right: 0;
  width: 100%;
  height: 0;
  border-bottom: 5px solid;
  border-image: linear-gradient(280deg, rgba(0, 216, 247, 0) 0%, #386cca 100%) 2 2 2 2;
}
#effect-2 .overlay a.expand {
  right: 0;
  top: 50%;
  margin: -30px auto 0 auto;
}
#effect-2 .img.hover .overlay {
  height: 100%;
}
.effects .img i {display: inline-block;width: 8px;height: 8px;background: #386cca;margin-bottom: 20px;} 
.hover .overlay { background: rgba(56, 108, 202, 0.9); }
.effects .img h2 { font-size: 18px; color: #232323; line-height: 28px; margin-bottom: 20px;display: -webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp: 3;overflow: hidden; } 
.effects .img p.eff_sub { color: #666666; font-size: 16px; }