<style type="text/css">
@media only screen and (min-device-width: 375px) and (max-device-width: 667px) {
  .embed-responsive{
    position: relative;
    display: block;
    height: 200px;
    padding: 0;
    overflow: hidden;
  }

  .embed-responsive-21by9::before{
    padding-top: 0% !important;
  }
}

@media screen and(max-width: 1281px){
  .navbar-nav > li > a{
    font-size: 17px !important;
  }
}

*{
  box-sizing: border-box;
  font-family: Georgia, 'Times New Roman', 'FangSong', '仿宋', STFangSong, '華文仿宋', serif;
}

li > a::after{
  content: '';
  display: block;
  border-bottom: 2px solid #959599;
  transform: scaleX(0) !important;
  transition: transform .3s ease-in-out;
}

li > a:focus::after, li > a:hover::after{
  transform: scaleX(1) !important;
}

/* dropdown borber-bottom hover effect */
.dropdown-menu > li > a::after{
  content: '';
  display: block;
  position: absolute;
  left: 40px;
  width: 50%;
  text-align: center;
  border-bottom: 2px solid #959599;
  transform: scaleX(0) !important;
  transition: transform .3s ease-in-out;
}

.dropdown-menu > li > a:focus::after, li > a:hover::after{
  transform: scaleX(1) !important;
}

.no-hover{
  background: transparent !important;
  border-bottom: none !important;
  top: 0 !important;
}

.dropdown-menu li {
  text-align: center;
}

/* end iphone design */

body {
  overflow: visible !important;
}

.bgw {
  background-color: rgba(255, 255, 255, 0.8);
}

a[id=link-drop]:target~#link-drop {
  transform: translateY(-200px);
}

/* navbar */

.d-b {
  display: block;
  overflow: hidden;
}

.navbar {
  transition: all 0.6s ease-out;
}

.navbar-default .navbar-brand {
  color: saddlebrown;
  font-weight: bold;
}

.navbar,
.navbar-default,
.navbar-brand,
.dropdown-menu>li>a {
  font-weight: bold;
}

.navbar-default .navbar-brand:hover {
  color: brown;
  font-weight: bold;
}

section {
  margin: 0;
  padding: 0;
  position: relative;
}

.dropdown-menu {
  background: white;
  position: absolute;
  top: 100%;
  opacity: 1;
}

.dropdown-menu li:hover {
  visibility: visible;
}


.dropdown-menu>li {
  -ms-font-size: 14px;
}

/* Input */

/* 在你輸入文字時，他會有提示效果幫我們貼上空白，而空白會變黃色，因此這可以讓空白從黃色改成白色*/

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-animation: autofill 0s forwards;
  animation: autofill 0s forwards;
}

@keyframes autofill {
  100% {
    background: #fff;
    color: inherit;
  }
}

@-webkit-keyframes autofill {
  100% {
    background: #fff;
    color: inherit;
  }
}

input[type="search"] {
  border-bottom: 1px solid #fff !important;
  border-radius: 15px 15px 0 0 !important;
}

/* end Input */

footer {
  background-color: rgba(255, 255, 255, 0.8);
}

.back-to-top {
  background: none;
  margin: 0;
  position: fixed;
  bottom: 0;
  right: 0;
  width: 70px;
  height: 70px;
  z-index: 100;
  display: none;
  text-decoration: none;
  color: #fff;
  background-color: transparent;
}

.back-to-top i {
  font-size: 60px;
}

.back-to-top:hover,
.back-to-top:focus {
  color: #ff4a4a;
}

#toTop {
  position: fixed;
  bottom: 10px;
  right: 10px;
  cursor: pointer;
  display: none;
}

#toTop {
  font-family: 標楷體;
  font-size: 15px;
  opacity: 0.9;
  background-color: #ff4a4a !important;
  border: none;
  letter-spacing: 0.09em;
}

.btn-default {
  background-color: transparent;
}

.btn-default:hover,
.btn-default:focus {
  background-color: transparent;
}

.move-btn {
  position: relative;
  left: -15em;
  top: 3px;
  height: 32px;
  background-color: transparent !important;
  padding: 4px 10px 1px 12px !important;
}

.form-inline-add {
  position: relative;
  left: -30px;
  top: 4.4em;
  float: right;
}

.i-search {
  color: #919191;
  top: 3px;
  left: 5px;
  font-size: 16px;
}

.search-word {
  position: relative;
  top: -2px;
  padding-left: 2px;
  letter-spacing: 0.08em;
  font-size: 15px;
}

/* buttons */

.btn-4 {
  position: relative;
  float: right;
  top: 4.6em;
  left: -3.54em;
  z-index: 1000;
  border-radius: 5px !important;
}

.btn-rounded {
  -webkit-border-radius: 10em;
  border-radius: 10em;
}

.waves-effect {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  z-index: 1;
}

/* buttons / end */

.modal div {
  opacity: 1;
  -webkit-transition: opacity 1s ease-in-out;
  -moz-transition: opacity 1s ease-in-out;
  -ms-transition: opacity 1s ease-in-out;
  -o-transition: opacity 1s ease-in-out;
  transition: opacity 1s ease-in-out;
}

div {
  opacity: 0;
  -webkit-transition: opacity 1s ease-in-out;
  -moz-transition: opacity 1s ease-in-out;
  -ms-transition: opacity 1s ease-in-out;
  -o-transition: opacity 1s ease-in-out;
  transition: opacity 1s ease-in-out;
}

.load {
  opacity: 1;
}</style>
