/* html */
body, html {
  letter-spacing: 1px;
}
@media (max-width: 575px) {
  body, html {
    font-size: 12px;
    line-height: 1.7 !important;
  }
}

/* wrapper */
.wrapper {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 35px;
}
@media (max-width: 575px) {
  .wrapper {
    padding: 0 2rem;
  }
}

/* section */
section {
  margin-bottom: 6.875rem;
}
@media (max-width: 1023px) {
  section {
    margin-bottom: 3.75rem;
  }
}

/* grid */
@media (max-width: 767px) {
  [class^=col-].border-left {
    border-left: none !important;
  }
}

/* size */
.row .w-75 {
  margin-top: 2rem;
}
@media (max-width: 1199px) {
  .w-50 {
    width: 65% !important;
  }
  .w-60 {
    width: 75% !important;
  }
  .w-75 {
    width: 85% !important;
  }
}
@media (max-width: 1023px) {
  .w-50, .w-60 {
    width: 85% !important;
  }
  .row .w-75 {
    width: 100% !important;
  }
}
@media (max-width: 575px) {
  .w-50, .w-60, .w-75 {
    width: 100% !important;
  }
}

/* transition */
a, h1, h2, h3, h4, img, i,
.overlay div, .stack {
  transition: all .3s ease-in-out;
}

/* animation */
.rotate {
  animation: rotate 5s infinite linear;
}
@keyframes rotate {
  0% {
    transform: rotate(0deg) translateZ(0);
  }
  100% {
    transform: rotate(-360deg) translateZ(0);
  }
}

/* headlines */
h1, h2,
.display-1, .display-2, .display-3 {
  letter-spacing: 2px;
}
h2 {
  position: relative;
  padding-bottom: 2rem;
  font-weight: 300;
  text-align: center;
}
  h2::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 2rem;
    border: 1px solid #205C43;
    margin-left: -1rem;
  }
@media (max-width: 1023px) {
  h1, .display-1 {
    font-size: 2.5rem;
  }
}
@media (max-width: 575px) {
  h2, .display-2 {
    font-size: 2rem;
  }
  h3, .display-3 {
    font-size: 1.5rem;
  }
}

/* links */
a[data-toggle="collapse"] {
  display: inline-block;
  padding: 1.25rem 1rem 0 1rem;
  border-top: 1px solid rgba(0, 187, 187, .3);
}
a:hover h4 {
  color: #205C43;
}

/* article */
.article p {
  margin: 1.25rem 0;
  font-size: 16px;
  line-height: 28px;
}
.article img {
  max-width: 100%;
  margin: 1.25rem 0;
  box-shadow: 0 .3rem 3rem 0 rgba(0, 0, 0, .08);
}
.article img.no-shadow {
  box-shadow: none;
}
.article p:last-child {
  margin-bottom: 0 !important;
}
.article p:first-child {
  margin-top: 0;
}

/* fluid */
@media (max-width: 575px) {
  .hero, .feature, #mapDiv,
  .article img {
    max-width: calc(100% + 4rem);
    margin-right: -2rem;
    margin-left: -2rem;
  }
}

/* overlay */
.img-overlay {
  position: relative;
  display: block;
}
  .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: #fff;
    background: linear-gradient(to right top, rgba(0, 0, 0, .5), rgba(0, 0, 0, 0));
  }
    .overlay hr {
      width: 9.375rem;
      margin: 1.25rem 0;
      border-color: rgba(255, 255, 255, .3);
    }

/* img-stack */
.img-stack {
  position: relative;
  align-self: flex-start;
}
  .stack {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: #fff;
    border: 1px solid #dee2e6;
    visibility: hidden;
    opacity: 0;
  }
@media (min-width: 1361px) {
  a:hover .stack + img {
    box-shadow: 0 4px 8px rgba(0, 0, 0, .15);
    transform: rotate(-2deg) translateZ(0);
  }
  a:hover .stack {
    box-shadow: 0 4px 8px rgba(0, 0, 0, .15);
    transform: rotate(4deg) translateZ(0);
    visibility: visible;
    opacity: 1;
  }
}

/* navbar */
.navbar {
  line-height: 72px;
  padding: 29px 0;
}
  .logo {
    position: absolute;
    top: 0;
    right: 0;
    left: 50%;
    width: 130px;
    height: 130px;
    margin-left: -65px;
    z-index: 2;
  }
    .logo img {
      width: 72px;
    }
      .navbar-nav .nav-link:last-child {
        padding-right: 0;
      }
@media (max-width: 1023px) {
  .navbar {
    line-height: 1.8;
  }
    .logo {
      width: 100px;
      height: 100px;
      margin-left: -50px;
    }
      .logo img {
        width: 60px;
      }
      .navbar-nav {
        flex-direction: row;
        margin-top: 38px;
        text-align: center;
      }
}
@media (max-width: 575px) {
  .navbar {
    padding: 16px 0;
  }
    .logo {
      width: 64px;
      height: 64px;
      margin-left: -32px;
    }
      .logo img {
        width: 40px;
      }
      .navbar-nav {
        margin-top: 20px;
      }
}

/* heading */
.heading {
  padding: 7.5rem 2.5rem 4.5rem 2.5rem;
  text-align: center;
}
  .heading div {
    font-size: 1rem;
  }
@media (max-width: 1023px) {
  .heading {
    padding-top: 4.5rem;
    padding-bottom: 3.75rem;
  }
}
@media (max-width: 575px) {
  .heading {
    padding-right: 2rem;
    padding-left: 2rem;
  }
}

/* filters */
.filters .btn {
  margin: .5rem;
  border: none !important;
  letter-spacing: 1px;
}
.filters .btn.active {
  background-color: #343a40 !important;
  color: #fff !important;
}

/* cases */
.cases {
  margin-top: -.5rem;
}
  .cases .row {
    margin-right: -20px !important;
    margin-left: -20px !important;
  }
    .cases .mix {
      display: none;
    }
    .cases .row > div {
      margin-bottom: 3.75rem;
      padding-right: 20px !important;
      padding-left: 20px !important;
    }
      .cases a {
        display: block;
        color: #343a40;
      }
        .cases a .case-title {
          margin: 2rem .5rem 0 .5rem;
        }
          .cases h4 {
            margin-bottom: .5rem;
          }
          .cases p {
            margin-bottom: 0;
            color: #6c757d;
          }

@media (min-width: 1361px) {
  .cases .case-img {
    overflow: hidden;
  }
    .cases a:hover img {
      transform: scale(1.03);
    }
}

/* hero */
.hero {
  position: relative;
  margin-bottom: 8rem !important;
}
  .hero .img-overlay {
    padding-bottom: 50%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
  }
  .hero .overlay {
    padding: 4.5rem 6rem;
  }
    .hero .overlay a:hover i {
      margin-left: .25rem;
    }
@media (max-width: 1199px) {
  .hero .overlay  {
    padding: 4.5rem;
  }
}
@media (max-width: 1023px) {
  .hero {
    margin-bottom: 5rem !important;
  }
    .hero .img-overlay {
      padding-bottom: 60%;
    }
    .hero .overlay {
      padding: 2.5rem;
    }
}
@media (max-width: 575px) {
  .hero .img-overlay {
    padding-bottom: 75%;
  }
  .hero .overlay {
    position: relative;
    top: 100%;
    padding: 2rem;
    background-color: #495057;
  }
    .hero h1 {
      font-size: 1.5rem;
    }
}

/* style */
.style a {
  padding-bottom: 150%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
  .style a .overlay {
    padding: 2.5rem;
  }

@media (min-width: 1361px) {
  .style .overlay div {
    transform: translate(0, 2.75rem);
  }
  .style a:hover .overlay div {
    transform: translate(0, 0);
  }
}
@media (max-width: 575px) {
  .style a .overlay {
    padding: 2rem;
  }
}

/* story */
.story a {
  border-bottom: 1px solid #dee2e6;
}
  .story div:first-child {
    width: 35%;
  }
  .story div:last-child {
    width: 65%;
  }
@media (max-width: 575px) {
  .story div:first-child {
    width: 60%;
    margin-right: 20px !important;
  }
  .story div:last-child {
    width: 40%;
  }
    .story p {
      overflow: hidden;
      display: -webkit-box; 
      -webkit-line-clamp: 2; 
      -webkit-box-orient: vertical; 
      text-overflow: ellipsis;
    }
}

/* timeline */
.timeline {
  position: relative;
}
  .timeline-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    margin-left: -1px;
    background-color: #dee2e6;
  }
    .timeline-item .row {
      margin: 0 -3.125rem;
    }
      .timeline-item .img-bullet {
        position: relative;
      }
        .timeline-item h4 {
          margin-bottom: .25rem;
        }
        .timeline-item .img-bullet::before {
          position: absolute;
          top: 50%;
          left: 0;
          width: 1rem;
          height: 1rem;
          margin-left: calc(-3.125rem - .5rem);
          margin-top: -.5rem;
          background-color: #205C43;
          border-radius: 50%;
          border: 2px solid #fff;
          content: "";
          z-index: 2;
        }
        .timeline-item .img-bullet::after {
          position: absolute;
          top: 50%;
          left: -3.125rem;
          width: 3.125rem;
          height: 2px;
          background: url(../image/dotted.svg) 0 0 repeat-x;
          margin-top: -1px;
          content: "";
          z-index: 1;
        }
        .timeline-item [class^=col-]:nth-child(odd) .img-bullet::before {
          left: 100%;
          margin-left: calc(3.125rem - .5rem);
        }
        .timeline-item [class^=col-]:nth-child(odd) .img-bullet::after {
          left: 100%;
        }
@media (min-width: 576px) {
  .timeline-item [class^=col-]:nth-child(even) {
    margin-top: 3.75rem;
  }
}
@media (max-width: 575px) {
  .timeline-line {
    left: 0;
  }
    .timeline-item .row {
      margin: 0 -1.125rem;
    }
      .timeline-item [class^=col-] {
        margin-bottom: 3.125rem;
      }
      .timeline-item [class^=col-].last {
        margin-bottom: 0;
      }
        .timeline-item .img-bullet::before {
          left: 0 !important;
          margin-left: calc(-2rem - .5rem) !important;
        }
        .timeline-item .img-bullet::after {
          width: 2rem;
          left: -2rem !important;
        }
}

/* travel */
.travel .swiper-slide {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  width: 430px;
  height: 280px;
}
@media (max-width: 575px) {
  .travel .swiper-scrollbar {
    width: 85% !important;
    margin-left: -42.5% !important;
  }
    .travel .swiper-slide {
      width: 301px;
      height: 196px;
    }
}

/* footer */
footer div {
  position: relative;
}
  footer div img {
    position: relative;
    z-index: 2;
  }
  footer div hr {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
  }
footer .small {
  letter-spacing: 0;
  font-weight: 300;
}

/* icons */
.icons div {
  margin-right: 5px;
}
.icons div:last-child {
  margin-right: 0;
}
  .icons span {
    cursor: pointer;
    font-size: 16px !important;
  }

/* modal */
.close {
  top: 1rem;
  right: 1rem;
  z-index: 2;
}

/* qrcode */
#qrcode canvas {
  width: 120px;
  height: 120px;
}

#backToTop {
  display: none;
  position: fixed;
  bottom: 3rem;
  right: 3.1875rem;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  color: #fff;
  font-size: 1rem;
  line-height: 3rem;
  text-align: center;
  background-color: #205C43;
  cursor: pointer;
  z-index: 99;
}

@media (max-width: 575px) {
  #backToTop {
    bottom: 20%;
    right: 2rem;
  }
}