html {
  font-size: 16px;
}
body {
  font-family: "Roboto", "Microsoft JhengHei", -apple-system, BlinkMacSystemFont,
    "Segoe UI", "Helvetica Neue", Arial, "Noto Sans", sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  background: #fff;
  font-size: 1rem;
  /* color: #53595f; */
  color: #323232;
}
/* text-color */
.text-white {
  color: #fff !important;
}
/* background */
.bg-cyan {
  background-color: #00d9d9 !important;
}

/* btn color */
.btn-black {
  color: #fff;
  background-color: #000000;
  border-color: #000000;
}
.btn-black:hover {
  color: #fff;
  background-color: #333333;
  border-color: #313131;
}
.btn-black.focus,
.btn-black:focus {
  color: #fff;
  background-color: #333333;
  border-color: #313131;
  box-shadow: 0 0 0 0.2rem rgba(38, 143, 255, 0.5);
}
.btn-black.disabled,
.btn-black:disabled {
  color: #fff;
  background-color: #000000;
  border-color: #000000;
}
.btn-black:not(:disabled):not(.disabled).active,
.btn-black:not(:disabled):not(.disabled):active,
.show > .btn-black.dropdown-toggle {
  color: #fff;
  background-color: #333333;
  border-color: #313131;
}
.btn-black:not(:disabled):not(.disabled).active:focus,
.btn-black:not(:disabled):not(.disabled):active:focus,
.show > .btn-black.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.5);
}

/* border */
.border-black {
  border-color: #000 !important;
}

/* table */
.tr-inquiry td,
.tr-inquiry th,
.tr-inquiry:hover th,
.tr-inquiry:focus th,
.tr-inquiry:hover td,
.tr-inquiry:focus td,
.table-hover .tr-inquiry,
.table-hover .tr-inquiry:hover th,
.table-hover .tr-inquiry:focus td,
.table-hover .tr-inquiry:hover th,
.table-hover .tr-inquiry:focus td {
  color: #fff;
  background: url(../img/navbar.png);
}

/* navbar */
.navbar-ugear {
}

.navbar-ugear li.nav-item a.nav-link {
  color: #fff !important;
  font-size: 16px;
  width: 140px;
  text-align: center;
}
.navbar-ugear li.nav-item a.nav-link:hover {
  background-color: #000;
}
.navbar-ugear li.nav-item.active a.nav-link,
.navbar-ugear li.nav-item a.nav-link:active {
  background-image: url("../img/navbar-active.png");
}
.dropdown-item {
  font-size: 1rem;
}

/* footer */
.footer {
  background: url("../img/navbar.png");
}

/* home */

.thumbnail-block {
  margin-top: 10px;
  margin-bottom: 30px;
}

.thumbnail-block a img {
  width: 100%;
  background: #fff;
}
.thumbnail-block a .caption {
  position: absolute;
  display: block;
  bottom: 12px;
  width: 100%;
  height: 32px;
  line-height: 32px;
  color: #fff;
  background: #545454;
  text-align: center;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
}
.thumbnail-block .caption:before,
.thumbnail-block .caption:after {
  position: absolute;
  content: "";
  display: block;
  bottom: 30px;
}
.thumbnail-block .caption:before {
  left: 0;
  border-bottom: 15px solid #ddd;
  border-right: 35px solid #ddd;
  border-top: 15px solid transparent;
  border-left: 35px solid transparent;
  z-index: -1;
}
.thumbnail-block .caption:after {
  right: 0;
  border-bottom: 15px solid #ddd;
  border-left: 35px solid #ddd;
  border-top: 15px solid transparent;
  border-right: 35px solid transparent;
  z-index: -1;
}
.thumbnail-block a:hover .caption,
.thumbnail-block a:focus .caption {
  background: #000;
}
.img-circle {
  border: 1px solid #999 !important;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
}
.thumbnail-block a:hover .img-circle,
.thumbnail-block a:focus .img-circle {
  border-color: #f60 !important;
}

/* leftmenu */
.leftmenu-level-0-item {
  position: relative;
  font-size: 20px;
  color: #fff;
  display: block;
  height: 50px;
  line-height: 50px;
  padding: 0px 15px;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
  background: url("../img/list-bg.png");
  overflow: visible;
}

.leftmenu-level-0-item.active::before {
  position: absolute;
  z-index: 999;
  display: inline-block;
  content: "";
  top: 0;
  left: 0;
  margin-left: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 15px 50px 0;
  border-color: transparent transparent #fff transparent;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
}

.leftmenu-level-1-item {
  display: inline-block;
  position: relative;
  line-height: 20px;
  font-size: 17px;
  color: #333;
  height: 40px;
  line-height: 40px;
  padding: 0 15px;
  margin-left: 15px;
  width: calc(100% - 40px);
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
}

.leftmenu-level-1-item:hover {
  color: #fff !important;
  background: #ff6022;
  position: relative;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
}

.leftmenu-level-1-item.active {
  color: #fff !important;
  background: #ff6022;
  position: relative;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
}

.leftmenu-level-1-item.active::after {
  position: absolute;
  z-index: 999;
  display: inline-block;
  content: "";
  top: 0;
  right: 0;
  margin-right: -25px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 40px 25px 0 0;
  border-color: #ff6022 transparent transparent transparent;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
}

/* products */
.prod-thumbnail {
  border: 0;
}
.prod-thumbnail img {
  border: 1px solid #999;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
}
.prod-thumbnail .caption {
  position: relative;
  font-size: 15px;
  color: #fff;
  display: block;
  width: 100%;
  height: 45px;
  margin-left: -14px;
  line-height: 45px;
  padding: 0 15px;
  margin-top: -35px;
  background: #545454;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
}
.prod-thumbnail .caption:before {
  position: absolute;
  content: "";
  left: 0;
  top: -14px;
  border-top: 7px solid transparent;
  border-left: 7px solid transparent;
  border-right: 7px solid #000;
  border-bottom: 7px solid #000;
}
.prod-thumbnail:hover,
.prod-thumbnail:focus {
  text-decoration: none;
}
.prod-thumbnail:hover img,
.prod-thumbnail:focus img {
  border-color: #333;
}
.prod-thumbnail:hover .caption,
.prod-thumbnail:focus .caption {
  background: #ff6022;
}

.pagination li a {
  border: none;
  width: 40px;
  height: 40px;
  text-align: center;
  font-size: 22px;
  color: #545454;
  line-height: 40px;
  padding: 0;
}
.pagination > li:first-child > a,
.pagination > li:first-child > span,
.pagination > li:last-child > a,
.pagination > li:last-child > span {
  border-radius: 0;
}
.pagination li a:hover,
.pagination li a:focus {
  color: #000;
}
.pagination > li.active a,
.pagination > li.active a:hover,
.pagination > li.active a:focus {
  background: #ff6022;
  color: #fff;
}
.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus,
.page-item.active .page-link {
  background-color: #ff6022;
  border-color: #ff6022;
}
.page-item:first-child .page-link {
  margin-left: 0;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
.page-item:last-child .page-link {
  margin-left: 0;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.prod-img {
  width: 100%;
}
.prod-btn {
  margin-top: 20px;
}
.prod-btn .btn-info {
  float: none;
  display: block;
  margin-bottom: 10px;
  background: url(../img/prod-btn.png);
}
.prod-btn .btn-info:hover,
.prod-btn .btn-info:focus {
  background: url(../img/prod-btn-hover.png);
}
.prod-title {
  font-size: 25px;
  color: #fff;
  padding: 0 20px;
  width: 100%;
  height: 50px;
  line-height: 50px;
  background: url(../img/prod-title.png) left top;
}
.prod-content {
  padding: 20px;
}
/* sidemenu-item */
a.sidemenu-item {
  font-size: 22px;
  color: #fff;
  font-family: "微軟正黑體";
  background: url(../img/list-bg.png);
  border-radius: 0;
  display: block;
  padding: 15px 14px;
  margin-bottom: 10px;
}
a.sidemenu-item:hover {
  background: url(../img/navbar.png);
}
a.sidemenu-item.active {
  background: url(../img/navbar-active.png);
}
.content h3 {
  margin-top: 30px;
  margin-bottom: 20px;
}
.content h4 {
  margin-top: 25px;
  margin-bottom: 15px;
}
