/*
Bootstrap v4 Sidebar Menu Template
*/

/* --------------------------------------------------- GENERAL ----------------------------------------------------- */
html {
	font-family:'微軟正黑體', sans-serif;
}
body {
	font-family:'微軟正黑體', sans-serif;
	font-size:14px;
}
button,input,optgroup,select,textarea {
	font-family:'微軟正黑體', sans-serif;
}
p {
	font-size:1.2em;
	font-weight:400;
	line-height:1.5em;
}
a {
	color:#7c6dcc;
}
a,a:hover,a:focus {
	text-decoration:none;
	transition:all 0.3s;
}
.navbar {
	padding:15px 10px;
	background:rgba(255,255,255,1);
	border:none;
	border-radius:0;
	margin-bottom:40px;
	box-shadow:0 0 8px rgba(0,0,0,0.8);
}
.navbar-btn {
	box-shadow:none;
	outline:none !important;
	border:none;
}
img {
	max-width:100%;
}
.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6 {
	line-height:1.3;
}
/* --------------------------------------------------- SIDEBAR ----------------------------------------------------- */

#sidebar {
	min-width:260px;
	max-width:260px;
	margin-left: -260px;
	transition:all 0.6s cubic-bezier(0.945,0.020,0.270,0.665);
	transform-origin:bottom left;
	position:fixed;
	height:100%;
	background-color:rgba(255,255,255,1);
	background-image:none;
	background-size:auto;
	/*
	background-image:-webkit-linear-gradient(top,#fff 0%,#eaeef2 100%);
	background-image:linear-gradient(to bottom,#fff 0%,#eaeef2 100%);
	background-repeat:repeat-x;
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff',endColorstr='#ffeaeef2',GradientType=0);
	-webkit-box-shadow:0px 0px 20px 1px rgba(0,0,0,0.2),inset 0px 0px 2px 1px #fff;
	box-shadow:0px 0px 20px 1px rgba(0,0,0,0.2),inset 0px 0px 2px 1px #fff;
	*/
	-webkit-box-shadow:0px 0px 20px 1px rgba(0,0,0,0.2);
	box-shadow:0px 0px 20px 1px rgba(0,0,0,0.2);
	z-index:299;
	border-top:none;
	top:0;
	bottom:0;
	padding:0;
}
#sidebar.active {
	margin-left:-260px;
	transform:rotateY(100deg);
}
#sidebar .sidebar-header {
	padding:20px;
}
#sidebar .sidebar-header a {
    color:rgb(0,133,178);
}
#sidebar ul.components {
	padding:0;
	margin-top:85px;
    margin-bottom:10px;
}
#sidebar ul p {
	padding:10px 20px;
}
#sidebar ul li a {
	padding:10px 20px 10px 60px;
	font-size:1.2em;
	display:block;
	color:inherit;
	font-weight:600;
	color:rgb(78,78,78);
}
#sidebar ul li a:hover , #sidebar ul li a.green-here , #sidebar ul li a.blue-here {
	color:rgb(0,133,178);
	background:#fff;
}
#sidebar ul li a.green-here , #sidebar ul li a.blue-here {
  position: relative;
}
#sidebar ul li a.green-here:before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  border-left: 12px solid rgba(89,171,2,1);
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
}
#sidebar ul li a.blue-here:before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  border-left: 12px solid rgba(0,133,178,1);
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
}

#sidebar a[data-toggle="collapse"] {
	position:relative;
}
#sidebar a[aria-expanded="false"]::before,#sidebar a[aria-expanded="true"]::before {
	display:block;
	position:absolute;
	right:20px;
	font-family:"Font Awesome 5 Free";
	font-size:0.8em;
	content:"\f0d7";
}
#sidebar a[aria-expanded="true"]::before {
	content:"\f0d7";
}
.sidebar-footer {
  padding: 30px 20px 20px 20px;
  font-size: 16px;
  text-align:center;
}
.sidebar-footer p {
	font-size:16px;
}
.sidebar-footer .social-icons a {
	width:35px;
	height:35px;
	background:#fff;
	color:rgba(89,171,2,1);
	display:inline-block;
	text-align:center;
	line-height:35px;
	border-radius:50%;
	margin-right:3px;
	font-size: 18px;
}
.sidebar-footer .social-icons a:hover {
  background-color:rgba(89,171,2,1);
  color:#fff;
}
#sidebarCollapse {
	width:66px;
	height:75px;
	background:rgb(255,191,0);
	color:#fff;
	position:absolute;
	top:0px;
	right:-10px;
}
#sidebarCollapse span {
	width:80%;
	height:2px;
	margin:0 auto;
	display:block;
	background:#fff;
	transition:all 0.8s cubic-bezier(0.810,-0.330,0.345,1.375);
	transition-delay:0.2s;
}
#sidebarCollapse span:first-of-type {
	transform:rotate(45deg) translate(2px,2px);
}
#sidebarCollapse span:nth-of-type(2) {
	opacity:0;
}
#sidebarCollapse span:last-of-type {
	transform:rotate(-45deg) translate(1px,-1px);
}
#sidebarCollapse.active span {
	transform:none;
	opacity:1;
	margin:5px auto;
}
#sidebar-responsive {
	display:none;
}
.imglogo {
	display: inline-block;
  margin-bottom:10px;
  width:105px;
}

/* --------------------------------------------------- CONTENT STYLE----------------------------------------------------- */
#content {
	/*padding:30px;
	margin-left:260px;*/
	min-height:100vh;
	transition:all 0.3s;
	background-color:#fff;
}

h1.site-title {
  font-size: 1.2rem;
  text-align: center;
  font-weight: 700;
  line-height: 1;
  color:rgb(0,133,178)
}
.line {
	width:100%;
	height:1px;
	border-bottom:1px dashed #ddd;
	margin: 40px 0;
}
.card-title {
  font-weight: 600;
  font-size: 1.3rem!important;
}
.text-muted {
    color: #b3b8bb!important;
}
.card {
	border:1px solid rgba(153, 151, 193, 0.3);
}
.card-columns .card {
    margin-bottom: 1.25rem;
}

#sidebar-responsive {
	display:block;
	position:fixed;
	width:100%;
    z-index: 399;
	top: 0;
}
.navbar {
	padding:0 10px 1px 10px;
}
.mobile-title {
	float:left;
	margin-bottom:0;
	margin-left:-8px;
	margin-top:8px;
	padding:0;
    font-weight:600;
    font-size: 1.28rem;
	height:65px;
}
.mobile-title img {
	height:60px;
}
@media (max-width:767px) {
	.mobile-title img {
		height:52px;
	}
	.mobile-title {
		height:59px;
	}
	#sidebarCollapse {
		width:62px;
		height:68px;
	}
	header {
		padding-top:67px!important;
	}
	.phone-shop-bag {
		right:58px!important;
	}
	.shop-bag .item-count {
		line-height:18px;
	}
	.col-meun {
		margin-top: 68px!important;
	}
}	
/* --------------------------------------------------- Media QUERIES----------------------------------------------------- */

.top-meun {display:none;}

.menu-style {
  margin-top:1px!important;
  width:200%;
}
.menu-style li {
  width:50%;
  margin-bottom:10px;
}
.menu-style li:hover {
  border-bottom:none!important;
}
.menu-style li h3 {
  color:rgba(0,105,140,1);
  font-weight: bold;
  font-size: 17px!important;
  padding:5px 3px!important;
  margin:10px 20px 8px 20px!important;
  border-bottom:1px solid #999;
}
.menu-style li a {
  color:#666;
  font-size: 15px;
  padding:3px!important;
  margin:3px 20px!important;
  display:inline-block!important;
  letter-spacing:1px;
}
.menu-style li a.active {
  font-size: 107%;
  font-weight:600;
  text-decoration: underline;
}
.menu-style li a:hover {
  font-size: 16px!important;
  font-weight: bold;
}
.dropdown:hover .menu-style {
  display: block;
}

.phone-shop-bag {
  position:absolute;
  top:0px;
  right:66px;
}
.phone-shop-bag a {
  display:block;
  padding:2px;
  margin:18px 8px 18px 13px;
  color:rgb(0,105,140);
}

.pro-good {
	background: rgba(0,105,140,1);
	color:#fff;
	padding: 10px 25px;
}
.pro-good li {
	list-style-type: none;
	margin-left: 1.3em;
	font-size:1.2em;
	margin-top:12px;
	margin-bottom:12px;
}
.pro-good li:before {
	content:"\f138";
	font-weight: 900;
    font-family: "Font Awesome 5 Free";
	display: inline-block;
    line-height: 1;
    margin-left: -1.3em;
}
.pro-good li span {
    margin-left: 0.3em;
}
.pro-good li p {
	display: inline;
	font-size: 1em;
	margin-left: 0.3em;
}
/* 框垂直置中 */
.modal-dialog-centered {
	display: flex;
	align-items: center;
	min-height: calc(100% - 1rem);
	margin: 0 auto!important;
}
#buyModal .modal-dialog-centered {
	max-width: 100%;
}
.modal-dialog-centered .modal-content {
	margin: 0 auto;
}
@media (min-width: 576px) {
.modal-dialog-centered {
  min-height: calc(100% - 3.5rem);
}
}
body.bg0 .modal-backdrop.show {
  opacity: 0!important;
}

.top-meun li .page-scroll {
	color: rgba(255,191,0,1)!important;
	font-weight: bold;
}
.top-meun li a {
	display:block;
}

.ahere , .top-meun li:hover { border-bottom: 3px solid rgba(255,191,0,1)}

@media (min-width:992px) {
  #sidebarCollapse {display:none;}
	
 .top-meun {
  float:right;
  display:block!important;
 }
 .navbar-left{float:left!important}
 .navbar-right{float:right!important}
 .top-meun ul {
  margin:0;
 }
 .top-meun li {
  float:left;
  list-style:none;
 }
 .top-meun li.shop-bag {
	 margin-left:26px;
 }
 .top-meun li .page-scroll small {
	color: rgba(78,78,78,1)!important;
	font-weight: 600!important;
 }

}
@media (max-width:991px) {
	.sidebar-footer {
		position:relative;
	}
	#content {
		margin-left:0;
	}
	#sidebar {
		margin-left:-220px;
		transform:rotateY(90deg);
	}
	#sidebar.active {
		margin-left:0;
		transform:none;
	}
	#sidebarCollapse span:first-of-type,#sidebarCollapse span:nth-of-type(2),#sidebarCollapse span:last-of-type {
		transform:none;
		opacity:1;
		margin:5px auto;
	}
	#sidebarCollapse.active span {
		margin:0 auto;
	}
	#sidebarCollapse.active span:first-of-type {
		transform:rotate(45deg) translate(2px,2px);
	}
	#sidebarCollapse.active span:nth-of-type(2) {
		opacity:0;
	}
	#sidebarCollapse.active span:last-of-type {
		transform: rotate(-45deg) translate(1px,-1px);
	}
	.mobile-title {
	    margin-left:-18px;
	}
}

@media (min-width:1200px) {
	.top-meun li .page-scroll {
	  font-size: 17px;
	}
	.top-meun li a {
	  padding:25px 15px;
	}
  }

@media (max-width:1199px) {
  .top-meun li .page-scroll {
	font-size: 15px;
  }
  .top-meun li a {
	padding:25px 10px;
  }
}

.features-list {
    padding: 30px 0
}
.features-list h1 {
    margin: 0 0 5px 0;
    padding: 0;
    color: #24374b;
    font-size: 26px;
}
.feature-1,.feature-2{margin-bottom:15px;}
.features-list span {
	color: rgb(178,89,0);
    font-size: 18px;
}
/*.section-title:after{
    display:block;
    content:"";
    width:90px;
    height:4px;
    position:absolute;
    left:50%;
    bottom:-10px;
    margin-left:-45px;
    background:rgba(255,102,0,1);
    border-radius:3px;
    box-shadow:0 2px 0 rgba(0,0,0,0.08);
}*/

footer li {
    float: left;
    list-style: none;
    text-transform: uppercase;
}
.footer-nav {
    padding-left: 0!important;
}
@media (min-width:992px) {
    .footer-nav li {width:100%;line-height:46px;}
	.footer-nav li a {padding:3px 0;}
}
@media (max-width:991px) {
    footer li{display:block;text-align:left;padding:20px 0;border-bottom:dashed 1px #333;margin-right:0!important;float:none;}
}

/* ==========================================================================
商品分類
========================================================================== */
#cate {
	padding: 0;
	position: relative;
}
.owl-buy .owl-stage {
	padding-left: 0!important;
}
.owl-buy a {
	border: 1px solid #ddd;
    background-color: #fff;
	color: #666;
    padding: 12px;
	display: block;
	text-align: center;
}
.owl-buy a:hover {
	background-color: rgb(0,105,140);
	color: #fff;
}
.owl-buy h2 {
	font-weight: 600;
	margin-bottom:0;
	font-size:14px;
}
@media (max-width:767px) {
	#cate #content .container-fluid {
		padding-right: 10px;
        padding-left: 10px;
	}
	.main-content {
		padding: 13px 0!important;
	}
	.owl-buy a {
		padding: 10px 8px;
	}
}
@media (min-width:768px) and (max-width:991px) {
	.owl-buy h2 {
		font-size:1.15rem;
	}
}
@media (min-width:992px) and (max-width:1199px) {
	.owl-buy h2 {
		font-size:1.09rem;
	}
}
@media (min-width:1200px) {
    .owl-buy a {
		padding: 15px;
	}
	.owl-buy h2 {
		font-size:1.15rem;
	}
}

.about-img {
	margin: 8px 0 0 0;
}

@media (min-width:768px) {
   .about-img {
	    max-height: 280px;
   }
}

@media (max-width:767px) {
	.about-img {
		max-height: 230px;
	}
}