/* 網頁版選單-開始 */

/* navbar置頂黏貼 */
.sticky-element,
.mob-navbar-icon {
  position: sticky;
  top: 0;
  background-color: rgba(255, 255, 255, 0.8);
  padding-top: 10px;
  padding-bottom: 10px;
  z-index: 1;
}

.mob-navbar-icon {
  padding-top: 0px;
  padding-bottom: 0px;
}

/* /navbar置頂黏貼 */

.dropdown-content .row ul li {
  margin-bottom: 15px;
}

.dropdown-content .row ul li a {
  text-decoration: none;
  color: #2A2F24;
}

.dropdown-content .row ul li a {
  text-decoration: none;
  color: #2A2F24;
}

.dropdown-content .row a {
  text-decoration: none;
  color: #2A2F24;
}

.SecMenu2,
#accordion-menu,
#accordion-menu ul {
  margin-bottom: 0;
  padding-left: 0;
  list-style: none;
}

.nav_icon {
  display: flex;
  justify-content: flex-start;
  margin: 20px;
  float: right;
}

.nav_icon a {
  display: inline-flex;
  margin-right: 30px;
}

.nav_icon a img {
  width: 2rem;
}

.web_navbar {
  position: relative;
  display: inline-block;
  height: 65px;
}

.web_navbar .lang-switch-item {
  list-style: none;
}

.web_navbar .lang-switch-menu a {
    margin-right: 0;
    display: block;
}

.dropdown-content {
  display: none;
  position: absolute;
  text-align: start;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 20px;
  z-index: 1;
}

.menu-open {
  margin: 30px;
}

.CartNum {
  position: relative;
  line-height: 25px;
  text-align: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  color: #CE0E2D;
  border: 1px solid #CE0E2D;
  top: -10px;
  right: 12px;
}

.CartNumM {
  position: absolute;
  line-height: 20px;
  text-align: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  color: #CE0E2D;
  border: 1px solid #CE0E2D;
  top: -7px;
  right: 0px;
}

@media screen and (max-width: 991px) {
  .nav_icon {
    display: none;
  }

  .web_navbar {
    display: none;
  }
}

/* 網頁版選單-結束 */


/* 手機版選單-開始 */

/* mob-accordion-navbar 開始 */
.accordion .link {
  cursor: pointer;
  display: block;
  padding: 5px 5px 20px;
  color: #4D4D4D;
  font-size: 14px;
  font-weight: 700;
  border-bottom: 1px solid #CCC;
  position: relative;
  -webkit-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
  transition: all 0.4s ease;
  text-decoration: none;
}

.accordion li:last-child .link {
  border-bottom: 0;
}

.accordion li i {
  position: absolute;
  top: 16px;
  left: 12px;
  font-size: 18px;
  color: #595959;
  -webkit-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
  transition: all 0.4s ease;
}

.accordion li.open .link {
  color: #CEB391;
}

.accordion li.open i {
  color: #CEB391;
}

.accordion li.default .submenu {
  display: block;
}

/**
 * Submenu
-----------------------------*/
.submenu {
  display: none;
  background: #F7F7F6;
  font-size: 14px;
}

.submenu li {
  border-bottom: 1px solid #C5C5C4;
}

.submenu a {
  display: block;
  text-decoration: none;
  color: #999999;
  padding: 12px;
  text-align: start;
  -webkit-transition: all 0.25s ease;
  -o-transition: all 0.25s ease;
  transition: all 0.25s ease;
}

.submenu a:hover {
  background: #D9D8D4;
  color: #484745;
}

/* mob-accordion-navbar 結束 */

.mob-nav_icon {
  width: 20px;
  margin-right: 10px;
}

.offcanvas.offcanvas-top {
  height: 100%;
}

.mob-menu-open {
  margin: 5px;
}

@media only screen and (min-width: 1024px) {
  .mob_navbar {
    display: none;
  }
}

/* 手機版選單-結束 */


/* 搜尋bar-開始 */
.searchBar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: end;
  margin-top: 10px;
}

.searchQueryInput {
  height: 2rem;
  background: rgb(245, 245, 245, 0);
  color: #444444;
  outline: none;
  border: 1px solid #88888880;
  border-radius: 1.625rem;
  padding: 0 3.5rem 0 1.5rem;
  font-size: 14px;
}

.searchQuerySubmit {
  width: auto;
  margin-right: 60px;
  height: 2.8rem;
  margin-left: -2.5rem;
  background: none;
  border: none;
  outline: none;
}

.searchQuerySubmit:hover {
  cursor: pointer;
}

/* 搜尋bar-結束 */


/* ----------置頂廣告---------- */
#SiteTopInfo {
  position: sticky;
  top: 0;
  z-index: 10;
}

.top-banner-text {
    padding: 10px 15px;
    position: relative;
    background-color: #333;
    color: #fff;
    text-align: center;
}

.top-banner-text > div p {
  margin-bottom: 5px;
}

.top-banner-text > div p:last-child {
  margin-bottom: 0;
}

.top-banner-close {
    padding: 0;
    line-height: 1;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    background-color: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
}

@media (max-width: 768px) {
    .top-banner-text {
        padding: 8px 10px;
        font-size: 14px;
    }
}
/* ----------置頂廣告_End---------- */