@charset "utf-8";

/* base */
/*將所有元素的內距邊界歸零*/
body,
h1,
h2,
h3,
h4,
h5,
h6,
blockquote,
th,
td,
div,
dl,
dt,
dd,
ul,
ol,
li,
pre,
code,
form,
fieldset,
legend,
input,
button,
textarea {
  margin: 0;
  padding: 0;
}

/*重置頁面基本字型大小及行高,不希望行高被繼承可把line-height: 1拿掉*/
body {
  font-size: 16px;
}

/*將影像及欄位集的邊框歸零*/
img,
fieldset {
  border: 0;
}

/*將清單樣式清除*/
ol,
ul {
  list-style: none;
}

/*將表格邊框的預設值separate(分離)改為collapse(重疊)*/
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/*重置表格註解及標題儲存格的對齊*/
caption,
th {
  text-align: left;
}

/*將連結、底線、刪除線重置*/
a,
ins,
del {
  text-decoration: none;
}

/*將表單元素的字型樣式設為繼承(父元素)樣式保持一致性*/
input,
button,
textarea,
select,
optgroup,
option {
  font-family: inherit;
  font-size: inherit;
  font-style: inherit;
  font-weight: inherit;
}

.form-control {
  width: 100%;
}

.select-qty {
  width: auto;
}

/*將縮寫元素的邊框及大小寫重置，acronym對IE5瀏覽器有用(雖然已沒人用IE5了)*/
abbr,
acronym {
  border: 0;
  font-variant: normal;
}

/*將上標、下標的樣式重置*/
sup,
sub {
  font-size: 100%;
  vertical-align: baseline;
}

/*將引用元素重置，讓各瀏覽器的符號一致*/
blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
}

/*消除個瀏覽器*/
.clearfix:after,
.clearfix:before {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}

.clearfix,
.clearfloat {
  clear: both;
  font-size: 0;
  height: 0;
  line-height: 0;
}

/*float*/
.left {
  float: left;
}

.right {
  float: right;
}

.main-footer {
  margin-top: 30px;
}

/*form*/
.form-group {
  margin-bottom: 15px;
  overflow: hidden;
}

.margin-top {
  margin-top: 21px;
}

.search-open .btn-u {
  height: 34px;
  line-height: 34px;
  padding-top: 0;
  padding-bottom: 0;
}

.search-open {
  width: 20rem;
}

@media screen and (max-width:768px) {

  .search-open {
    width: fit-content;
    padding: 0px;
  }

  .search-open .btn-u {
    background: #4d4d4d !important;
  }

}

.search-open input {
  height: 34px;
}

.list-toggle.active .collapse {
  display: block;
}

img {
  max-width: 100%;
}

.md-margin-bottom-20 {
  margin-bottom: 10px;
}


.prince_org {
  font-size: 1.5rem;
}

.prince {
  font-size: 1.5rem;
}

@media only screen and (min-width: 748px) {
  /*#_main_title { display:block; } */
}

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

  .mobile-home {
    display: none !important;
  }
}

@media only screen and (max-width: 991px) {
  .mobile-home {
    width: 100%;
  }

  .mobile-home.margin-bottom-10 {
    text-align: center;
  }

  .mobile-home.margin-bottom-10 a {
    display: inline-block;
  }

  .owl-theme .owl-nav.disabled+.owl-dots {
    transform: translateX(-50%);
    margin: 0;
    left: 50%;
    bottom: 20px;
  }

  .owl-theme .owl-dots .owl-dot span {
    width: 8px;
    height: 8px;
  }

  .sidemenu__wrapper {
    margin: 8px 0;
  }

  .sidemenu__wrapper+.col-md-12 {
    display: none;
  }

  .sidemenu__btn {
    background: #ffffff;
    padding: 8px 15px;
    color: #333;
    font-weight: bold;
    display: flex;
    cursor: hand;
    text-transform: uppercase;
  }

  .sidemenu__btn .fa {
    font-size: 24px;
    width: 24px;
    height: 24px;
    margin-right: 8px;
  }

  .sidemenu {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 300;
    width: 280px;
    overflow-y: auto;
    height: 100%;
    background: white;
    transform: translateX(-100%);
    transition-duration: .3s;
  }

  .open .sidemenu {
    transform: translateX(0%);
  }

  .open .sidemenu__btn::before {
    content: '';
    width: 100%;
    height: 100%;
    position: fixed;
    background: rgba(0, 0, 0, .87);
    top: 0;
    z-index: 100;
    left: 0;
  }

  .open .sidemenu__btn::after {
    content: 'CLOSE';
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    width: calc(100% - 280px);
    color: rgba(255, 255, 255, .2);
    z-index: 101;
    writing-mode: vertical-lr;
    font-size: 4rem;
    letter-spacing: .5rem;
    padding: 8px;
  }


}

@media only screen and (max-width: 768px) {
  .sidemenu__btn {
    padding: 8px 5px;
  }

  .mobile-home.margin-bottom-10 a {
    width: 100%;
  }
}