body {
  position: relative;
}

/* mainNav */
/* Extra large devices */
#mainNav {
  padding-top: 1rem;
  padding-bottom: 1rem;
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-weight: 700;
}
#mainNav .navbar-brand {
  color: #fff;
}
#mainNav .navbar-brand .logo {
  height: 3rem;
}
#mainNav .navbar-nav {
  /*margin-top: auto;*/
}
#mainNav .navbar-nav li.nav-item a.nav-link {
  color: #212529;
}
#mainNav .navbar-nav li.nav-item a.nav-link:hover {
  background-color: #1abc9c;
  color: white;
  border-radius: 0.5rem;
}
#mainNav .navbar-nav li.nav-item a.nav-link:active, #mainNav .navbar-nav li.nav-item a.nav-link:focus {
  background-color: #1abc9c;
  color: white;
  border-radius: 0.5rem;
}
#mainNav .navbar-nav li.nav-item a.nav-link.active {
  background-color: #1abc9c;
  color: white;
  border-radius: 0.5rem;
}
#mainNav .navbar-toggler {
  font-size: 80%;
  padding: 0.8rem;
}

header {
  padding-top: 90px;
}

section {
  display: block;
  padding-top: 90px;
}
section .page-heading {
  background-color: #1abc9c;
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
  color: white;
  font-size: 1.618rem;
  font-weight: 700;
}
section .page-text {
  font-size: 1.2rem;
  padding: 0 2rem;
  line-height: 150%;
}
section .page-text ol {
  list-style-type: trad-chinese-informal;
}
section .page-text ol.en {
  list-style-type: decimal;
}

/* phones */
@media (max-width: 576px) {
  #mainNav {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    transition: padding-top 0.3s, padding-bottom 0.3s;
  }
  #mainNav .container {
    width: 98vw;
    margin-left: 0;
  }
  #mainNav .navbar-brand {
    font-size: 1.75rem;
    transition: font-size 0.3s;
  }
  #mainNav .navbar-brand .logo {
    height: 2rem;
  }
  #mainNav .navbar-nav {
    margin-top: 0;
  }
  #mainNav .navbar-nav > li.nav-item > a.nav-link.active {
    color: #fff;
    background: #1abc9c;
  }
  #mainNav .navbar-nav > li.nav-item > a.nav-link.active:active, #mainNav .navbar-nav > li.nav-item > a.nav-link.active:focus, #mainNav .navbar-nav > li.nav-item > a.nav-link.active:hover {
    color: #fff;
    background: #1abc9c;
  }
  header {
    padding-top: 68px;
  }
  section {
    display: block;
    padding-top: 68px;
  }
  section .page-heading {
    background-color: #1abc9c;
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    color: white;
    font-size: 1.168rem;
    font-weight: 700;
  }
  section .page-text {
    font-size: 1rem;
    padding: 0 2rem;
    line-height: 150%;
  }
  section .page-text ol {
    list-style-type: trad-chinese-informal;
    /*margin-left: 2rem;*/
  }
}
/* tablets */
/* phones */
.liner {
  display: flex;
  align-items: flex-start;
  text-align: left;
}
.liner:after {
  content: "";
  flex-grow: 1;
  height: 2px;
  background: #1abc9c;
  min-width: 20px;
  margin: auto;
}
.liner:after {
  margin-left: 20px;
}

.page-title {
  display: flex;
  align-items: flex-start;
  text-align: left;
  font-size: 25px;
  width: 600px;
  margin: 0 auto;
}
.page-title:before {
  content: "";
  flex-grow: 1;
  height: 2px;
  background: #1abc9c;
  min-width: 20px;
  margin: auto;
  margin-right: 20px;
}
.page-title:after {
  content: "";
  flex-grow: 1;
  height: 2px;
  background: #1abc9c;
  min-width: 20px;
  margin: auto;
  margin-left: 20px;
}

.indent-5 {
  margin-left: 5em;
  text-indent: -5em;
  margin-top: -0.5em;
}
.indent-5.en {
  text-indent: 0;
  margin-left: 2em;
  margin-top: -0.5em;
}

.form-floating input.form-control,
.form-floating textarea.form-control {
  font-size: 1.5rem;
  border-left: 0;
  border-right: 0;
  border-top: 0;
  border-radius: 0;
  border-width: 1px;
}
.form-floating input.form-control:focus,
.form-floating textarea.form-control:focus {
  box-shadow: none;
}
.form-floating label {
  font-size: 1.5rem;
  color: #6c757d;
}

.masthead {
  padding-top: 6rem;
}
.masthead .masthead-heading {
  font-size: 2.75rem;
  line-height: 2.75rem;
}
.masthead .masthead-subheading {
  font-size: 1.25rem;
}
.masthead .masthead-avatar {
  width: 15rem;
}

@media (min-width: 992px) {
  .masthead {
    padding-top: 6rem;
  }
  .masthead .masthead-heading {
    font-size: 4rem;
    line-height: 3.5rem;
  }
  .masthead .masthead-subheading {
    font-size: 1.5rem;
  }
}
.portfolio .portfolio-item {
  cursor: pointer;
  position: relative;
  display: block;
  max-width: 25rem;
  border-radius: 0.5rem;
  overflow: hidden;
}
.portfolio .portfolio-item .portfolio-item-caption {
  position: absolute;
  top: 0;
  left: 0;
  transition: all 0.2s ease-in-out;
  opacity: 0;
  background-color: rgba(26, 188, 156, 0.9);
}
.portfolio .portfolio-item .portfolio-item-caption:hover {
  opacity: 1;
}
.portfolio .portfolio-item .portfolio-item-caption .portfolio-item-caption-content {
  font-size: 1.5rem;
}

.portfolio-modal .btn-close {
  color: #1abc9c;
  font-size: 2rem;
  padding: 1rem;
}
.portfolio-modal .portfolio-modal-title {
  font-size: 2.25rem;
  line-height: 2rem;
}

@media (min-width: 992px) {
  .portfolio-modal .portfolio-modal-title {
    font-size: 3rem;
    line-height: 2.5rem;
  }
}
.footer {
  padding-top: 5rem;
  padding-bottom: 5rem;
  background-color: #2c3e50;
  color: #fff;
}

.copyright {
  background-color: #1a252f;
}

/*# sourceMappingURL=extend.css.map */
