/*! 
https://summer10920.github.io/2020/04-04/bs-baseclass-project/
 */

body {
  font-family: 'Noto Sans TC', 'Open Sans', Helvetica, Arial;
  background: #eee; /* 白底不要太刺眼 */
}


#coaslider img {
  object-fit: cover;
  filter: grayscale(50%);
}
#coaslider .carousel-caption {
  top: 0;
  bottom: 0;
  text-shadow: #333 0.3rem 0.3rem 0.5rem;
}
#coaslider .carousel-indicators > li {
  border-radius: 50%;
  height: 15px;
  width: 15px;
  border: 10px solid transparent;
}


/*!
 * footer
 */
footer > .position-fixed {
  right: 5vh;
  bottom: 5vh;
}
footer > .position-fixed > a {
  animation: bounce 2s ease infinite;
}
@keyframes bounce {
  0%,
  20%,
  53%,
  80%,
  100% {
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    transform: translate(0, 0);
  }
  40%,
  43% {
    animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
    transform: translate(0, -30px);
  }

  70% {
    animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
    transform: translate(0, -15px);
  }
  90% {
    transform: translate(0, -4px);
  }
}


/*!使用 card 元件來規劃多組房間資料，並添加 grid 概念。 */

#lokiroom > .tab-content > .active {
  display: flex;
}


/*! 使用 table 的 table-sm 作為初始化成為單筆資料容器 */
#roomPrice th,#roomPrice td{
  vertical-align: middle;
}
#roomPrice th{
  width:25%;
}




/*! 單筆資料部分 li.media 已經是 row，加以利用規劃不同的響應效果 */
@media (min-width: 992px) {
  #lokifacility li.col-lg-6:nth-of-type(even) img {
    order: 1;
  }
}
#lokifacility {
  background:
    url("https://picsum.photos/1080/1080/?random=1"),
    radial-gradient(circle, #777 30%, #ccc 70%),
    linear-gradient(to right, #999, #444);
  background-blend-mode: multiply, screen;
  background-position: center;
  background-size: cover;
  background-attachment: fixed;

  text-shadow: #333 0.3rem 0.3rem 0.5rem;
  /* https://codepen.io/danwilson/pen/dqZvmx */
}



/*!
Section 交通資訊
這裡沒有按鈕功能，只需要整合 Google Map 跟固定的 Card 元件即可。
*/

#coatrans iframe{
  filter: grayscale(0.75) brightness(0.5);
}

/*!
menu bg and scrolltop display
*/
#scrolltop{
  opacity: 0;
  transition: 500ms ease;
}
#scrolltop.shown{
  opacity: 1;
}
header{
  transition: 1000ms ease;
}

