@charset "UTF-8";
a {
  transition: all 0.3s linear; }

/*button*/
.btn-square {
  background-color: #f3f3f3;
  width: 100%;
  padding: 0.7em 1em;
  color: #996600;
  font-size: 1em;
  text-align: center;
  display: block;
  text-decoration: none;
  transition: all 0.2s linear;
  z-index: 9999;
  z-index: 2; }
  .btn-square:hover {
    background-color: #dead12;
    color: #fff; }

.btn {
  border-radius: 30px;
  padding: 0.35em 2em;
  font-size: 1em;
  box-shadow: 2px 2px 7px rgba(0, 0, 0, 0.2); }
  .btn i {
    color: #dead12;
    margin-left: 0.5em; }
  .btn:hover {
    box-shadow: 2px 2px 8px transparent; }

.btn-searchbar {
  background-color: #000;
  text-align: center;
  border-radius: 0 !important;
  box-shadow: none;
  padding: 0.5em 0;
  width: 100%;
  transition: all 0.2s linear; }
  .btn-searchbar i {
    margin: 0 !important;
    color: #fff !important;
    width: 100%;
    background-position: center;
    transition: all 0.2s linear; }

.btn-gray {
  overflow: hidden;
  padding: 1.2em 2.5em 1.2em 6.5em;
  margin-top: 1em;
  display: block;
  font-size: 1.2em;
  text-decoration: none;
  color: #fff;
  font-weight: lighter;
  background-color: #999;
  position: relative;
  transition: all 0.2s ease-in; }
  .btn-gray:hover {
    color: #fff;
    background-position: 1.2em center;
    background-color: #dead12;
    background-transform: rotate(30deg);
    padding: 1.2em 2.5em 1.2em 7em; }
  .btn-gray:before {
    content: "";
    position: absolute;
    width: 90px;
    height: 90px;
    top: 50%;
    left: 1em;
    z-index: 1;
    background-image: url(../images/bg-btn-gray.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    transform: translateY(-50%);
    transition: all 0.2s ease-in; }
  .btn-gray:after {
    position: absolute;
    right: 1.2em;
    top: 50%;
    transform: translateY(-50%);
    content: "";
    vertical-align: -.125em;
    background-image: url("data:image/svg+xml,<svg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'><path fill-rule='evenodd' d='M1 8a.5.5 0 0 1 .5-.5h11.793l-3.147-3.146a.5.5 0 0 1 .708-.708l4 4a.5.5 0 0 1 0 .708l-4 4a.5.5 0 0 1-.708-.708L13.293 8.5H1.5A.5.5 0 0 1 1 8z' clip-rule='evenodd'/></svg>");
    background-repeat: no-repeat;
    background-size: 1.2em 1.2em;
    width: 1.2em;
    height: 1.2em; }
  .btn-gray:hover:before {
    transform: rotate(180deg) scale(1.1) translateY(45%); }

@media (min-width: 768px) {
  .btn-searchbar {
    background-color: #dead12;
    text-align: center;
    border-radius: 0 !important;
    box-shadow: none;
    padding: 0.5em 0;
    width: 45px;
    transition: all 0.2s linear; }
    .btn-searchbar i {
      margin: 0 !important;
      color: #fff !important;
      width: 45px;
      background-position: center;
      transition: all 0.2s linear; } }
.btn-khaki {
  border-radius: 30px;
  background-color: #b3ab90;
  color: #fff;
  padding: 0.35em 2em;
  font-size: 1em;
  box-shadow: none;
  text-align: center; }
  .btn-khaki i {
    color: #fff !important;
    margin-right: 0.5em; }
  .btn-khaki:hover {
    background-color: #666;
    color: #fff !important; }
    .btn-khaki:hover i {
      color: #fff !important; }

.btn-outline-khaki {
  border-radius: 30px;
  border: 1px solid #b3ab90;
  color: #b3ab90;
  padding: 0.35em 1em;
  font-size: 1em;
  box-shadow: none;
  text-align: center; }
  .btn-outline-khaki i {
    color: #b3ab90 !important;
    margin-right: 0.5em; }
  .btn-outline-khaki:hover {
    background-color: #666;
    border: 1px solid #666;
    color: #fff !important; }
    .btn-outline-khaki:hover i {
      color: #fff !important; }

.btn-dropdown {
  background-color: #e0cb87;
  color: #fff;
  border-radius: 0 !important;
  min-width: 350px;
  width: 100%;
  text-align: left;
  position: relative;
  padding: 0.5em 1em;
  box-shadow: none; }
  .btn-dropdown:after {
    position: absolute;
    right: 1em;
    top: 50%;
    transform: translateY(-50%); }
  .btn-dropdown:hover {
    background-color: #b3ab90;
    color: #fff; }

@media (min-width: 768px) {
  .btn-dropdown {
    background-color: #e0cb87;
    color: #fff;
    border-radius: 0 !important;
    min-width: 350px;
    width: inherit;
    text-align: left;
    position: relative;
    padding: 0.5em 1em;
    box-shadow: none; }
    .btn-dropdown:after {
      position: absolute;
      right: 1em;
      top: 50%;
      transform: translateY(-50%); }
    .btn-dropdown:hover {
      background-color: #b3ab90;
      color: #fff; } }
/*Animation*/
.hover-move {
  transition: all 0.3s linear; }
  .hover-move:hover {
    transform: translateX(20px); }

@-webkit-keyframes BounceInRight {
  from, 60%, 75%, 90%, to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); }
  from {
    opacity: 0;
    -webkit-transform: translate3d(3000px, -50%, 0);
    transform: translate3d(3000px, -50%, 0); }
  60% {
    opacity: 1;
    -webkit-transform: translate3d(-25px, -50%, 0);
    transform: translate3d(-25px, -50%, 0); }
  75% {
    -webkit-transform: translate3d(10px, -50%, 0);
    transform: translate3d(10px, -50%, 0); }
  90% {
    -webkit-transform: translate3d(-5px, -50%, 0);
    transform: translate3d(-5px, -50%, 0); }
  to {
    -webkit-transform: translate3d(0, -50%, 0);
    transform: translate3d(0, -50%, 0); } }
@keyframes BounceInRight {
  from, 60%, 75%, 90%, to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); }
  from {
    opacity: 0;
    -webkit-transform: translateX(3000px);
    transform: translateX(3000px); }
  60% {
    opacity: 1;
    -webkit-transform: translateX(-25px);
    transform: translateX(-25px); }
  75% {
    -webkit-transform: translateX(10px);
    transform: translateX(10px); }
  90% {
    -webkit-transform: translateX(-5px);
    transform: translateX(-5px); }
  to {
    -webkit-transform: translateX(0);
    transform: translateX(0); } }
.BounceInRight {
  -webkit-animation-name: BounceInRight;
  animation-name: BounceInRight; }

@-webkit-keyframes BounceInRight2 {
  from, 60%, 75%, 90%, to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); }
  from {
    opacity: 0;
    -webkit-transform: translateX(3000px);
    transform: translateX(3000px); }
  60% {
    opacity: 1;
    -webkit-transform: translateX(-25px);
    transform: translateX(-25px); }
  75% {
    -webkit-transform: translateX(10px);
    transform: translateX(10px); }
  90% {
    -webkit-transform: translateX(-5px);
    transform: translateX(-5px); }
  to {
    -webkit-transform: translateX(0);
    transform: translateX(0); } }
@keyframes BounceInRight2 {
  from, 60%, 75%, 90%, to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); }
  from {
    opacity: 0;
    -webkit-transform: translate3d(3000px, -10%, 0);
    transform: translate3d(3000px, -10%, 0); }
  60% {
    opacity: 1;
    -webkit-transform: translate3d(-25px, -10%, 0);
    transform: translate3d(-25px, -10%, 0); }
  75% {
    -webkit-transform: translate3d(10px, -10%, 0);
    transform: translate3d(10px, -10%, 0); }
  90% {
    -webkit-transform: translate3d(-5px, -10%, 0);
    transform: translate3d(-5px, -10%, 0); }
  to {
    -webkit-transform: translate3d(0, -10%, 0);
    transform: translate3d(0, -10%, 0); } }
.BounceInRight2 {
  -webkit-animation-name: BounceInRight2;
  animation-name: BounceInRight2; }

@-webkit-keyframes FadeInRight {
  from {
    opacity: 0;
    -webkit-transform: translate3d(2000px, 0, 0);
    transform: translate3d(2000px, 0, 0); }
  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0); } }
@keyframes FadeInRight {
  from {
    opacity: 0;
    -webkit-transform: translate3d(2000px, 0, 0);
    transform: translate3d(2000px, 0, 0); }
  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0); } }
@media (min-width: 768px) {
  @-webkit-keyframes FadeInRight {
    from {
      opacity: 0;
      -webkit-transform: translate3d(2000px, -50%, 0);
      transform: translate3d(2000px, -50%, 0); }
    to {
      opacity: 1;
      -webkit-transform: translate3d(0, -50%, 0);
      transform: translate3d(0, -50%, 0); } }
  @keyframes FadeInRight {
    from {
      opacity: 0;
      -webkit-transform: translate3d(2000px, -50%, 0);
      transform: translate3d(2000px, -50%, 0); }
    to {
      opacity: 1;
      -webkit-transform: translate3d(0, -50%, 0);
      transform: translate3d(0, -50%, 0); } } }
.FadeInRight {
  -webkit-animation-name: FadeInRight;
  animation-name: FadeInRight; }

/*news*/
.news {
  background-color: #e3e1d8;
  width: 100%;
  padding: 2.5em 0; }
  .news .news-list {
    padding: 0 0 2.5em 0;
    margin: 0 0 2.5em 0;
    border-bottom: 1px solid #fff;
    color: #666;
    transition: all 0.2s ease-in; }
    .news .news-list h3 {
      font-size: 1.8em; }
    .news .news-list time {
      font-size: 1em;
      font-style: italic; }
    .news .news-list:hover {
      transform: translateX(25px);
      color: #000;
      border-bottom: 1px solid #dead12; }
    .news .news-list p {
      overflow: hidden;
      display: -webkit-box;
      text-overflow: ellipsis;
      -webkit-line-clamp: 7;
      /*行數*/
      -webkit-box-orient: vertical;
      white-space: normal; }
  .news a {
    text-decoration: none !important; }
  .news a:last-child .news-list {
    border-bottom: transparent;
    padding-bottom: 0; }

.subnews img {
  max-width: 100%;
  height: auto; }
.subnews time {
  color: #999;
  font-style: italic;
  margin-bottom: 1em;
  display: block;
  font-size: 0.9em; }

/*Catalog*/
.login {
  margin-top: 1em;
  text-align: left;
  border-top: 1px solid #f3f3f3; }
  .login .btn-gray {
    border-radius: 0 !important;
    box-shadow: none !important;
    display: inline; }
  .login .modal {
    z-index: 99999 !important; }
    .login .modal .modal-content {
      border: 1px solid transparent !important;
      border-radius: 10px !important;
      padding: 2.5em 1.5em; }
      .login .modal .modal-content .modal-header {
        border-bottom: transparent;
        display: block !important;
        text-align: center;
        position: relative; }
        .login .modal .modal-content .modal-header .btn-close {
          position: absolute;
          top: 0;
          right: 0; }
        .login .modal .modal-content .modal-header img {
          width: 150px;
          height: auto; }
      .login .modal .modal-content .modal-body {
        text-align: left;
        color: #999; }
        .login .modal .modal-content .modal-body input {
          border: 1px solid #b3ab90;
          padding: 0.6em 0.5em; }
        .login .modal .modal-content .modal-body .note {
          font-size: 0.85em;
          color: #dead12;
          text-align: center;
          text-decoration: underline; }
      .login .modal .modal-content .modal-footer {
        border-top: transparent;
        justify-content: center !important; }

@media (min-width: 768px) {
  .login {
    margin-top: 9em;
    text-align: right;
    border-top: 1px solid transparent; } }
/*case*/
.case .dropdown-menu {
  min-width: 350px;
  width: 100%;
  border-radius: 0;
  border: 1px solid #b3ab90; }
@media (min-width: 768px) {
  .case .dropdown-menu {
    min-width: 350px;
    width: inherit;
    border-radius: 0;
    border: 1px solid #b3ab90; } }
