body,
html {
  width: 100%;
  height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Noto Sans CJK TC", "PingFang TC", "Hiragino Sans GB",  "Microsoft YaHei", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

.bloglogo {
  width: 300px;
}
h2#letter-title {
  margin-top: -400px;
}

.btn-xl {
  padding: 1.25rem 2.5rem;
}

.content-section {
  padding-top: 7.5rem;
  padding-bottom: 7.5rem;
}

.content-section-heading h2 {
  font-size: 3rem;
}

.content-section-heading h3 {
  font-size: 1rem;
  text-transform: uppercase;
}

.book {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: #fff;
  background-clip: border-box;
  height: 100%; }
  .book > hr {
    margin-right: 0;
    margin-left: 0; }

.book-body {
  flex: 1 1 auto;
  padding: 1.25rem; }

.book-title {
  margin-bottom: 0.75rem; }

.book-subtitle {
  margin-top: -0.375rem;
  margin-bottom: 0; }

.book-text:last-child {
  margin-bottom: 0; }

.book-link:hover {
  text-decoration: none; }

.book-link + .book-link {
  margin-left: 1.25rem; }

.book-header {
  padding: 0.75rem 1.25rem;
  margin-bottom: 0;
  background-color: rgba(0, 0, 0, 0.03); }

.book-footer {
  padding: 0.75rem 1.25rem;
  background-color: rgba(0, 0, 0, 0.03); }

.book-header-tabs {
  margin-right: -0.625rem;
  margin-bottom: -0.75rem;
  margin-left: -0.625rem;
  border-bottom: 0; }

.book-header-pills {
  margin-right: -0.625rem;
  margin-left: -0.625rem; }

.book-img-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 1.25rem; }

.book-img {
  width: 100%; }

.book-img-top {
  width: 100%; }

.book-img-bottom {
  width: 100%; }

.book-deck {
  display: flex;
  flex-direction: column; }
  .book-deck .book {
    margin-bottom: 15px; }
  @media (min-width: 576px) {
    .book-deck {
      flex-flow: row wrap;
      margin-right: -15px;
      margin-left: -15px; }
      .book-deck .book {
        display: flex;
        flex: 1 0 0%;
        flex-direction: column;
        margin-right: 15px;
        margin-bottom: 0;
        margin-left: 15px; } }

.book-group {
  display: flex;
  flex-direction: column; }
  .book-group > .book {
    margin-bottom: 15px; }
  @media (min-width: 576px) {
    .book-group {
      flex-flow: row wrap; }
      .book-group > .book {
        flex: 1 0 0%;
        margin-bottom: 0; }
        .book-group > .book + .book {
          margin-left: 0;
          border-left: 0; }
        .book-group > .book:first-child {
          border-top-right-radius: 0;
          border-bottom-right-radius: 0; }
          .book-group > .book:first-child .book-img-top,
          .book-group > .book:first-child .book-header {
            border-top-right-radius: 0; }
          .book-group > .book:first-child .book-img-bottom,
          .book-group > .book:first-child .book-footer {
            border-bottom-right-radius: 0; }
        .book-group > .book:last-child {
          border-top-left-radius: 0;
          border-bottom-left-radius: 0; }
          .book-group > .book:last-child .book-img-top,
          .book-group > .book:last-child .book-header {
            border-top-left-radius: 0; }
          .book-group > .book:last-child .book-img-bottom,
          .book-group > .book:last-child .book-footer {
            border-bottom-left-radius: 0; }
        .book-group > .book:only-child {
          border-radius: 0.25rem; }
          .book-group > .book:only-child .book-img-top,
          .book-group > .book:only-child .book-header {
            border-top-left-radius: 0.25rem;
            border-top-right-radius: 0.25rem; }
          .book-group > .book:only-child .book-img-bottom,
          .book-group > .book:only-child .book-footer {
            border-bottom-right-radius: 0.25rem;
            border-bottom-left-radius: 0.25rem; }
        .book-group > .book:not(:first-child):not(:last-child):not(:only-child) {
          border-radius: 0; }
          .book-group > .book:not(:first-child):not(:last-child):not(:only-child) .book-img-top,
          .book-group > .book:not(:first-child):not(:last-child):not(:only-child) .book-img-bottom,
          .book-group > .book:not(:first-child):not(:last-child):not(:only-child) .book-header,
          .book-group > .book:not(:first-child):not(:last-child):not(:only-child) .book-footer {
            border-radius: 0; } }

.book-columns .book {
  margin-bottom: 0.75rem; }

@media (min-width: 576px) {
  .book-columns {
    column-count: 3;
    column-gap: 1.25rem;
    orphans: 1;
    widows: 1; }
    .book-columns .book {
      display: inline-block;
      width: 100%; } 
}

.accordion .book:not(:first-of-type):not(:last-of-type) {
  border-bottom: 0;
  border-radius: 0; }

.accordion .book:not(:first-of-type) .book-header:first-child {
  border-radius: 0; }

.accordion .book:first-of-type {
  border-bottom: 0;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0; }

.accordion .book:last-of-type {
  border-top-left-radius: 0;
  border-top-right-radius: 0; }

.cover-box {
  display: block;
  width: 100%;
  height: 281px; }

.cover-box img {
  max-height: 280px; }

.booklink {
  text-decoration: none; }

.crop-text-2 {
  -webkit-line-clamp: 2;
  height: 2.4rem;
  overflow : hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  font-size: 0.85em;
  margin-bottom: 0.4rem;
  text-align: center;
}

.crop-text-3 {
  -webkit-line-clamp: 3;
  height: 4rem;
  overflow : hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  line-height: 1.4rem;
}

.crop-text-4 {
  -webkit-line-clamp: 4;
  height: 4.8rem;
  overflow : hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  font-size: 0.85em;
  line-height: 1.2rem;
  color: #545b62;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
}

.text-faded {
  color: rgba(255, 255, 255, 0.7);
}

.title-01 {
  text-align: center;
  width: 600px;
}

/* Map */
.map {
  height: 30rem;
}

@media (max-width: 992px) {
  .map {
    height: 75%;
  }
  .title-01 {
    text-align: left;
    width: 330px;
  }
  .bloglogo {
    width: 200px;
  }
  h2#letter-title {
    margin-top: -100px;
  }
}

.map iframe {
  pointer-events: none;
}

.scroll-to-top {
  position: fixed;
  right: 15px;
  bottom: 15px;
  display: none;
  width: 50px;
  height: 50px;
  text-align: center;
  color: white;
  background: rgba(52, 58, 64, 0.5);
  line-height: 45px;
}

.scroll-to-top:focus, .scroll-to-top:hover {
  color: white;
}

.scroll-to-top:hover {
  background: #343a40;
}

.scroll-to-top i {
  font-weight: 800;
}

.masthead {
  min-height: 30rem;
  position: relative;
  display: table;
  width: 100%;
  height: auto;
  padding-top: 8rem;
  padding-bottom: 8rem;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.1) 100%), url("../img/fairtop.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.masthead h1 {
  font-size: 4rem;
  margin: 0;
  padding: 0;
}

@media (min-width: 992px) {
  .masthead {
    height: 100vh;
  }
  .masthead h1 {
    font-size: 5.5rem;
  }
}

/* Side Menu */
#sidebar-wrapper {
  position: fixed;
  z-index: 2;
  right: 0;
  width: 250px;
  height: 100%;
  -webkit-transition: all 0.4s ease 0s;
  -moz-transition: all 0.4s ease 0s;
  -ms-transition: all 0.4s ease 0s;
  -o-transition: all 0.4s ease 0s;
  transition: all 0.4s ease 0s;
  transform: translateX(250px);
  background: #1D809F;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-nav {
  position: absolute;
  top: 0;
  width: 250px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sidebar-nav li.sidebar-nav-item a {
  display: block;
  text-decoration: none;
  color: #fff;
  padding: 15px;
}

.sidebar-nav li a:hover {
  text-decoration: none;
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
}

.sidebar-nav li a:active,
.sidebar-nav li a:focus {
  text-decoration: none;
}

.sidebar-nav > .sidebar-brand {
  font-size: 1.2rem;
  background: rgba(52, 58, 64, 0.1);
  height: 80px;
  line-height: 50px;
  padding-top: 15px;
  padding-bottom: 15px;
  padding-left: 15px;
}

.sidebar-nav > .sidebar-brand a {
  color: #fff;
}

.sidebar-nav > .sidebar-brand a:hover {
  color: #fff;
  background: none;
}

#sidebar-wrapper.active {
  right: 250px;
  width: 250px;
  -webkit-transition: all 0.4s ease 0s;
  -moz-transition: all 0.4s ease 0s;
  -ms-transition: all 0.4s ease 0s;
  -o-transition: all 0.4s ease 0s;
  transition: all 0.4s ease 0s;
}

.menu-toggle {
  position: fixed;
  right: 15px;
  top: 15px;
  width: 50px;
  height: 50px;
  text-align: center;
  color: #fff;
  background: rgba(52, 58, 64, 0.5);
  line-height: 50px;
  z-index: 999;
}

.menu-toggle:focus, .menu-toggle:hover {
  color: #fff;
}

.menu-toggle:hover {
  background: #343a40;
}

.service-icon {
  background-color: #fff;
  color: #1D809F;
  height: 7rem;
  width: 7rem;
  display: block;
  line-height: 7.5rem;
  font-size: 2.25rem;
  box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.1);
}

.callout {
  padding: 15rem 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.1) 100%), url("../img/slashie_back.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.callout h2 {
  font-size: 3.5rem;
  font-weight: 700;
  display: block;
  max-width: 30rem;
}

.portfolio-item {
  display: block;
  position: relative;
  overflow: hidden;
  max-width: 530px;
  margin: auto auto 1rem;
}

.portfolio-item .caption {
  display: flex;
  height: 100%;
  width: 100%;
  background-color: rgba(33, 37, 41, 0.2);
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 1;
}

.portfolio-item .caption .caption-content {
  color: #fff;
  margin: auto 2rem 2rem;
}

.portfolio-item .caption .caption-content h2 {
  font-size: 0.8rem;
  text-transform: uppercase;
}

.portfolio-item .caption .caption-content p {
  font-weight: 300;
  font-size: 1.2rem;
}

@media (min-width: 992px) {
  .portfolio-item {
    max-width: none;
    margin: 0;
  }
  .portfolio-item .caption {
    -webkit-transition: -webkit-clip-path 0.25s ease-out, background-color 0.7s;
    -webkit-clip-path: inset(0px);
    clip-path: inset(0px);
  }
  .portfolio-item .caption .caption-content {
    transition: opacity 0.25s;
    margin-left: 5rem;
    margin-right: 5rem;
    margin-bottom: 5rem;
  }
  .portfolio-item img {
    -webkit-transition: -webkit-clip-path 0.25s ease-out;
    -webkit-clip-path: inset(-1px);
    clip-path: inset(-1px);
  }
  .portfolio-item:hover img {
    -webkit-clip-path: inset(2rem);
    clip-path: inset(2rem);
  }
  .portfolio-item:hover .caption {
    background-color: rgba(29, 128, 159, 0.9);
    -webkit-clip-path: inset(2rem);
    clip-path: inset(2rem);
  }
}

footer.footer {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

footer.footer .social-link {
  display: block;
  height: 4rem;
  width: 4rem;
  line-height: 4.3rem;
  font-size: 1.5rem;
  background-color: #1D809F;
  transition: background-color 0.15s ease-in-out;
  box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.1);
}

footer.footer .social-link:hover {
  background-color: #155d74;
  text-decoration: none;
}

a {
  color: #1D809F;
}

a:hover, a:focus, a:active {
  color: #155d74;
}

.btn-primary {
  background-color: #1D809F !important;
  border-color: #1D809F !important;
  color: #fff !important;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
  background-color: #155d74 !important;
  border-color: #155d74 !important;
}

.btn-secondary {
  background-color: #ecb807 !important;
  border-color: #ecb807 !important;
  color: #fff !important;
}

.btn-secondary:hover, .btn-secondary:focus, .btn-secondary:active {
  background-color: #ba9106 !important;
  border-color: #ba9106 !important;
}

.btn-dark {
  color: #fff !important;
}

.btn {
  box-shadow: 0px 3px 3px 0px rgba(0, 0, 0, 0.1);
  font-weight: 700;
}

.bg-primary {
  background-color: #3bbfbb !important;
}

.bg-black {
  background-color: #000 !important;
}

.text-primary {
  color: #1D809F !important;
}

.text-secondary {
  color: #ecb807 !important;
}

.modal-header {
  border-top: 3px solid red;
}
