
#projects_wrapper {
  width: 100%;
  float: right;
}

#projects-newest {
  width: 15%;
  float: left;
}

#map {
  width: 85%;
  height: 650px;
  /* height: auto; */
  float: left;
} 

#map-data img {
  width: 200px;
  clear: both;
}

h4 {
  text-align: center;
  margin: 0px;
}

/* ============================================================
  styles for the project widget display GLOBAL
============================================================ */

.effects .img {
  position: relative;
  float: left;
  margin-bottom: 5px;
  width: 90%;
  aspect-ratio: 1/1;
  overflow: hidden;
}
/* .effects .img:nth-child(n) {
} */
.effects .img:first-child {
  margin-left: 0px;
}
.effects .img:last-child {
  margin-right: 0;
}
.effects .img img {
  display: block;
  margin: 0;
  padding: 0;
  height: 100%;
  object-fit: cover;
}

.effects .overlay,
#effect-1 .overlay {
  display: block;
  position: absolute;
  z-index: 20;
  background: rgba(0, 51, 102, 0.8);
  overflow: hidden;
  transition: all 0.5s;
}
.effects a,
#effect-1 a {
  text-decoration: none;
}
.effects a.close-overlay,
#effects-1 a.close-overlay {
  display: none;
}
.effects a.close-overlay.hidden,
#effects-1 a.close-overlay.hidden {
  display: none;
}

.effects a.expand,
#effect-1 a.expand {
  display: block;
  position: absolute;
  z-index: 100;
  width: 100%;
  height: 100%;
  text-align: center;
  color: #fff;
  line-height: 15px;
  font-weight: 700;
  font-size: 9pt;
}

/* ============================================================
  styles for the project widget display  EFFECT 1 - SLIDE IN BOTTOM
============================================================ */
/* #effect-1{
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 1em;
  width: 100%;
  height: 650px;
} */


.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

#projects_wrapper {
  display: flex;
  flex-direction: row;
  gap: 0;
}

#projects-newest {
  width: 15%;
  height: 650px;
  overflow: hidden;
  flex-shrink: 0;
}

.vertical-slider {
  height: 100%;
}

.swiper-slide {
  padding: 0;
  margin: 0;
  height: auto !important;
  display: flex;
  justify-content: center;
}
.effects .overlay {
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 0;
}

.effects .overlay a.expand {
  padding: 30px 5px 0 5px;
  aspect-ratio: 1/1;
  height: calc(100% - 30px);
  width: calc(100% - 10px);
}

.effects .img.hover .overlay {
    height: 100%;
}

@media screen and (max-width: 1000px) {
  #projects-newest {
    width: 20%;
  }
}

@media screen and (max-width: 750px) {
  #projects-newest {
    width: 25%;
  }
}

/******************** 320X480 (IPHONE/ANDROID) *******************************/
@media screen and (max-width:480px) {
  #projects-newest {
    width: 100%;
  }

  .effects .img, .effects .img:first-child {
    margin: 3px;
    width: calc(50% - 6px);
  }

  .effects a.close-overlay,
  #effects-1 a.close-overlay {
    display: none;
  }

  .effects .swiper-slide .img .overlay {
    height: 100%;
  }

  .effects .overlay,
  #effect-1 .overlay {
    background: rgba(0, 51, 102, 0.7);
  }

  .effects .overlay a.expand,
  #effect-1 .overlay a.expand {
    padding: 30px 0 0 0;
    width: 100% !important;
    height: 100% !important;
  }

  .effects a.expand {
    font-size: 11pt;
  }

  #projects_wrapper {
    flex-direction: column;
  }

  #map {
    width: 100%;
    margin: 3px;
  }
}


@media screen and (min-width:2000px) {
  .effects a.expand {
    line-height: 25px;
    font-size: 11pt;
  }
}
.swiper-gallery {
        width: 300px;
        float: right;
        margin-top: 5px;
        overflow: hidden; 
    }

    .swiper-wrapper {
        display: flex;
    }

    .swiper-slide {
        flex-shrink: 0;
        width: 100%;
        height: 220px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .swiper-slide img {
        width: 100%;
        height: 220px;
        object-fit: cover;
        display: block;
    }