a {
  color: #4a4a4a;
}
a:hover {
  color: #89c2d1;
}

.button {
}
.button.is-primary {
  background-color: #2f94a8;
}
.button.is-primary:hover {
  background-color: #89c2d1;
}
.has-text-primary {
  color: #2f94a8 !important;
}
/* Navbar */
hr.divider {
  margin: 0.1em 0;
}
nav#nav,
html {
  transition: top 1s;
}
.navbar.is-spaced,
.navbar {
  padding-bottom: 0;
  background-color: #363636;
}
.navbar-item,
.navbar-link {
  color: white;
}
.navbar-item img {
  max-height: 2.75rem;
}
.navbar-end.social {
  margin-bottom: 1em;
}
.navbar-link.is-active,
.navbar-link:focus,
.navbar-link:focus-within,
.navbar-link:hover,
a.navbar-item.is-active,
a.navbar-item:focus,
a.navbar-item:focus-within,
a.navbar-item:hover {
  background-color: transparent;
  color: #89c2d1;
}
.navrow.navbar-menu.container > .navbar .navbar-menu.navrow,
.navbar > .container .navbar-menu.navrow,
.navbar-menu.navrow {
  width: 100%;
  padding: 0.5em;
  margin-right: 0;
  background-color: #2f94a8;
  justify-content: center;
}
.navrow > .navbar-item,
.navrow > .navbar-link {
  min-width: 5em;
  justify-content: center;
  border-radius: 10px;
}
.navrow > .navbar-item:hover,
.navrow > .navbar-link:hover,
.navbar-item.has-dropdown:hover > .navbar-link {
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
}
.navbtn {
  margin-right: 0.5em;
  border-radius: 20px;
}
.navbar-burger {
  color: #2f94a8;
}
#mobile-menu {
  position: absolute;
  width: 100%;
  background-color: rgba(47, 148, 168, 0.9);
}
#mobile-menu > .navbar-item {
  border-bottom: 1px solid white;
}
.cart_count {
  display: inline-block;
  background-color: #2f94a8;
  padding: 0 0.5em;
  border-radius: 50%;
  position: absolute;
  font-size: 0.8em;
  font-weight: bold;
  top: 0;
}

#carousel img {
  width: 100%;
}

.title,
.menu-label {
  color: #2f94a8;
}
.pagelist .columns {
  margin: 0 -0.75em;
}
.product {
  position: relative;
}
.product_list .product:hover {
  background-color: #f5f5f5;
  color: #4a4a4a;
}
.price::before {
  content: "NT$ ";
}
.s_price {
  color: #fc4c4c;
}
.cross_price {
  text-decoration: line-through;
  font-size: 0.5em;
  color: #707070;
}
.product_add {
  color: #2f94a8;
}
.product_add:hover {
  cursor: pointer;
  box-shadow: 3px 5px 8px #888888;
  border-radius: 50%;
  position: relative;
  top: -5px;
}
.sold_out {
  display: inline-block;
  background-color: rgba(100, 100, 100, 0.8);
  position: absolute;
  right: 1em;
  top: 1em;
  color: white;
  padding: 0.25em;
}
.sold_out_media.notification {
  padding: 0.25em;
  margin-bottom: 0.25em;
  margin-top: 0.75em;
}

/* Footer */
.footer {
  background-color: #ebeaea;
}
.footer_logo {
  margin-bottom: 2em;
}
.footer_logo > img {
  max-width: 200px;
  width: 40%;
}
.footer_contact {
  padding: 0 1em;
  border-left: 2px solid #707070;
}
.copyright {
  padding: 0.8em;
  background-color: #bbbbbb;
  color: #707070;
  font-size: 0.8em;
}

/* Contact Page */
#contact img.logo {
  max-width: 200px;
  max-height: 200px;
}
#contact .contact_field {
  padding: 0 1em;
  border-left: 2px solid #707070;
}
#contact_form {
  width: 600px;
}

/* FAQ Page */
#faq .card {
  margin-bottom: 1em;
}
#faq .card-content {
  display: none;
  background-color: #ebeaea;
}
#faq .card-content.show {
  display: block;
}

/* Product Page */
.product_img {
  position: relative;
}
.product_img > img {
  width: 400px;
  cursor: pointer;
}
.product_img > img:hover {
  transform: scale(1.02, 1.02);
  transition: 0.5s;
}
.product_img > img:hover + .icon {
  opacity: 1;
}
.product_img .icon {
  position: absolute;
  right: 1.5em;
  bottom: 1.5em;
  opacity: 0;
  transition: 0.5s;
}
.product_img .icon .fa-expand-alt {
  opacity: 0.8;
}
.amount input {
  margin: 0 0.3em;
}
.amount .minus,
.amount .plus {
  background-color: #f2f2f2;
  border-radius: 4px;
  border: 1px solid #ddd;
}
.select_name {
  width: 15em;
}
.select_name select {
  width: 100%;
}
/* Chrome, Safari, Edge, Opera */
.amount input::-webkit-outer-spin-button,
.amount input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
.amount input[type="number"] {
  -moz-appearance: textfield;
}
.detail_outer {
  position: relative;
}
.detail_outer .detail_card {
  display: none;
  z-index: 100;
}
.detail_outer a:hover + .detail_card,
.detail_card:hover {
  display: block;
  position: absolute;
  max-width: none;
  min-width: 350px;
}

/* Login & Register */
#login .card,
#register .card,
#logout .card,
#resetpw .card {
  width: 600px;
}

/* Dashboard */
#dashboard .card {
  margin-bottom: 1em;
}
#dashboard .card-content {
  display: none;
}
#dashboard .card-content.show {
  display: block;
}
#dashboard .user_info form {
  width: 600px;
  max-width: 100%;
}

#dashboard .content figure {
  margin-left: 0;
}

.tabcontent {
  display: none;
}
.tabcontent.is-active {
  display: block;
}

/* Cart */
/* #cart .media-content .column { padding-top: 0; } */
/* #cart .cart>.media:nth-child(odd) { background-color: #EEE; } */
.cart_footer {
  margin-top: 2em;
}

/* Checkout */
#installment,
#address,
.deliverybtn {
  display: none;
}

.nostyle {
  background-color: transparent;
  border: none;
}

/* aside */
.menu_list {
  display: none;
}
.menu_list.is-active {
  display: block;
}

/* success check */
.success-checkmark {
  width: 80px;
  height: 115px;
  margin: 0 auto;
}
.success-checkmark .check-icon {
  width: 80px;
  height: 80px;
  position: relative;
  border-radius: 50%;
  box-sizing: content-box;
  border: 4px solid #2f94a8;
}
.success-checkmark .check-icon::before {
  top: 3px;
  left: -2px;
  width: 30px;
  transform-origin: 100% 50%;
  border-radius: 100px 0 0 100px;
}
.success-checkmark .check-icon::after {
  top: 0;
  left: 30px;
  width: 60px;
  transform-origin: 0 50%;
  border-radius: 0 100px 100px 0;
  animation: rotate-circle 4.25s ease-in;
}
.success-checkmark .check-icon::before,
.success-checkmark .check-icon::after {
  content: "";
  height: 100px;
  position: absolute;
  background: #ffffff;
  transform: rotate(-45deg);
}
.success-checkmark .check-icon .icon-line {
  height: 5px;
  background-color: #2f94a8;
  display: block;
  border-radius: 2px;
  position: absolute;
  z-index: 10;
}
.success-checkmark .check-icon .icon-line.line-tip {
  top: 46px;
  left: 14px;
  width: 25px;
  transform: rotate(45deg);
  animation: icon-line-tip 0.75s;
}
.success-checkmark .check-icon .icon-line.line-long {
  top: 38px;
  right: 8px;
  width: 47px;
  transform: rotate(-45deg);
  animation: icon-line-long 0.75s;
}
.success-checkmark .check-icon .icon-circle {
  top: -4px;
  left: -4px;
  z-index: 10;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  position: absolute;
  box-sizing: content-box;
  border: 4px solid rgba(65, 149, 168, 0.5);
}
.success-checkmark .check-icon .icon-fix {
  top: 8px;
  width: 5px;
  left: 26px;
  z-index: 1;
  height: 85px;
  position: absolute;
  transform: rotate(-45deg);
  background-color: #ffffff;
}

@keyframes rotate-circle {
  0% {
    transform: rotate(-45deg);
  }
  5% {
    transform: rotate(-45deg);
  }
  12% {
    transform: rotate(-405deg);
  }
  100% {
    transform: rotate(-405deg);
  }
}
@keyframes icon-line-tip {
  0% {
    width: 0;
    left: 1px;
    top: 19px;
  }
  54% {
    width: 0;
    left: 1px;
    top: 19px;
  }
  70% {
    width: 50px;
    left: -8px;
    top: 37px;
  }
  84% {
    width: 17px;
    left: 21px;
    top: 48px;
  }
  100% {
    width: 25px;
    left: 14px;
    top: 45px;
  }
}
@keyframes icon-line-long {
  0% {
    width: 0;
    right: 46px;
    top: 54px;
  }
  65% {
    width: 0;
    right: 46px;
    top: 54px;
  }
  84% {
    width: 55px;
    right: 0px;
    top: 35px;
  }
  100% {
    width: 47px;
    right: 8px;
    top: 38px;
  }
}
.checkbox-wrap {
  position: relative;
}

.checkbox-wrap input {
  display: none;
}

.checkbox-wrap label {
  cursor: pointer;
  background: #ddd;
  display: block;
  border-radius: 100%;
  width: 1.6em;
  height: 1.6em;
  position: relative;
  transition: all 300ms cubic-bezier(0.645, 0.045, 0.355, 1);
}

.checkbox-wrap label:hover {
  box-shadow: inset 0 0 0 1px #2f94a8, 0 0 0 2px #2f94a8;
  background: transparent;
}

.checkbox-wrap input:checked + label {
  background: #2f94a8;
}

.checkbox-wrap input:checked + label:hover {
  box-shadow: inset 0 0 0 0 #2f94a8, 0 0 0 0 #2f94a8;
}

.checkbox-wrap svg {
  width: 0.9em;
  height: 0.9em;
  display: block;
  margin: auto;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  fill: #fff;
  transition: all 300ms cubic-bezier(0.645, 0.045, 0.355, 1);
}

.checkbox-wrap label:hover svg {
  fill: #2f94a8;
}

.checkbox-wrap input:checked + label:hover svg {
  fill: #fff;
}

/* Animation */
.checkbox-wrap label::after,
.checkbox-wrap laber::before {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  border-radius: 100%;
  transition: all 600ms cubic-bezier(0.645, 0.045, 0.355, 1);
}

.checkbox-wrap label::after {
  width: 100%;
  height: 100%;
  box-shadow: inset 0 0 30px 0 #2f94a8;
  opacity: 0;
}

.checkbox-wrap input:checked + label::after {
  width: 200%;
  height: 200%;
  animation: check-animate 0.6s;
}

@keyframes check-animate {
  0% {
    opacity: 0;
  }

  50%,
  70% {
    opacity: 0.5;
  }

  100% {
    opacity: 0;
  }
}

@media screen and (min-width: 769px) {
  body.has-navbar-fixed-top,
  html.has-navbar-fixed-top {
    padding-top: 9.5em;
  }
}
@media screen and (min-width: 1024px) {
  .navbar-dropdown.is-boxed,
  .navbar.is-spaced .navbar-dropdown,
  .navbar.is-spaced .navbar-dropdown a.navbar-item {
    box-shadow: none;
    border-radius: 0;
  }
  .navbar-dropdown {
    background-color: rgba(43, 135, 153, 0.9);
  }
  .navbar-dropdown a.navbar-item:focus,
  .navbar-dropdown a.navbar-item:hover {
    background-color: rgba(106, 152, 161, 0.9);
    color: #0a0a0a;
  }
  .navbar-item.has-dropdown.is-active .navbar-link,
  .navbar-item.has-dropdown:focus .navbar-link,
  .navbar-item.has-dropdown:hover .navbar-link {
    background-color: transparent;
  }
  .navbar-item.has-dropdown.is-active .navbar-link:hover,
  .navbar-item.has-dropdown:focus .navbar-link:hover,
  .navbar-item.has-dropdown:hover .navbar-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #0a0a0a;
  }
}
@media screen and (max-width: 1023px) {
  .navbar-dropdown {
    display: none;
  }
  .navbar-dropdown.is-active {
    display: block;
  }
}
