/*
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.15em;
	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:220px;
	max-width:220px;
	transition:all 0.6s cubic-bezier(0.945,0.020,0.270,0.665);
	transform-origin:bottom left;
	position:fixed;
	height:100%;
	background: #ff6600;
	/*
	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:-220px;
	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: 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 svg {
	height:18px;
}
.threads-icon svg {
	position: relative;
    top: 2px;
}
.threads-icon:hover path {
	fill: #fff;
}
.sidebar-footer .social-icons a:hover {
  background-color:rgba(89,171,2,1);
  color:#fff;
}
#sidebarCollapse {
	width:66px;
	height:75px;
	background:rgb(89,171,2);
	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;*/
	min-height:100vh;
	transition:all 0.3s;
	margin-left:220px;
	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:11px;
	padding:0;
    font-weight:600;
    font-size: 1.28rem;
	height:62px;
}
.mobile-title img {
	height:55px;
}
@media (max-width:767px) {
	.mobile-title img {
		height:46px;
	}
	.mobile-title {
		height:56px;
	}
	#sidebarCollapse {
		width:62px;
		height:68px;
	}
	header {
		padding-top:67px!important;
	}
	.col-meun {
		margin-top: 68px!important;
	}
}	
/* --------------------------------------------------- Media QUERIES----------------------------------------------------- */

@media (min-width:992px) {
  #sidebarCollapse {display:none;}
 .navbar-left{float:left!important}
 .navbar-right{float:right!important}

 .ahere { border-bottom: 3px solid rgba(0,105,140,1)}
}
@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;
	}
}

.features-list {
    padding: 30px 0
}
.features-list h1 {
    margin: 0 0 5px 0;
    padding: 0;
    color: #24374b;
    font-size: 26px;
}
.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;
	padding-bottom: 10px;
	margin-bottom: 10px;
	float: left;
	width:100%;
	border-bottom: 1px solid #fff;
}
@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 #c7cacc;margin-right:0!important;float:none;}
	.footer-nav {border-bottom: none;}
}
.footer-info {
	float: left;
	width:100%;
}

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

.about-img {
	margin: 8px 0 20px 0;
}
.about-img {
	max-height: 200px;
}