@font-face {
    font-family: "creamfont";
    src: url("creamfont-1.0.woff") format("woff");
}
a{
	font-family: creamfont;
}
body {
  font-family: creamfont;
  letter-spacing: 0px;
  overscroll-behavior-y: contain;
  overscroll-behavior: none; 
  padding-bottom: env(safe-area-inset-bottom);
  height: 100%;
  /* WebKit-based browsers will ignore this */
  height: -moz-available;
  /* Mozilla-based browsers will ignore this. */
  height: -webkit-fill-available;  
  /* For WebKit-based browsers, Edge not support this */
  height: fill-available;
  -ms-overflow-style: none; /* for Internet Explorer, Edge */
  scrollbar-width: none; /* for Firefox */
  overflow: hidden;
}
::-webkit-scrollbar {
    display: none;
}
body::-webkit-scrollbar {
	display: none; /* for Chrome, Safari, and Opera */
}

.footer_box a{
	color: transparent;
}
.overlay_wrapper {
	/* position: relative; */
  display: block;
  /* z-index: 11; */
}
.overlayleft {
  position: absolute;
  left: 0%;
  top: 0%;
  bottom: 0%;
  z-index: 19;
  display: block;
  width: 210px;
  /* height: 100%; */
  background: -moz-linear-gradient(left, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0) 100%);
  background: -webkit-linear-gradient(left, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 50%,rgba(0,0,0,0) 100%);
  background: linear-gradient(to right, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 50%,rgba(0,0,0,0) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#80000000', endColorstr='#00000000',GradientType=1 );
}

.m_overlayleft{
	width: 50%;
}
.overlayright {
  position: absolute;
  top: 0%;
  right: 0%;
  bottom: 0%;
  z-index: 19;
  width: 210px;
  /* height: 100%; */
  background: -moz-linear-gradient(right, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0) 100%);
  background: -webkit-linear-gradient(right, rgba(0,0,0,0.6) 0%,rgba(0,0,0,0.3) 50%,rgba(0,0,0,0) 100%);
  background: linear-gradient(to left, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 50%,rgba(0,0,0,0) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#80000000', endColorstr='#00000000',GradientType=1 );
}
.overlayleft .gradientsub {
  /* z-index: 9; */
  display: block;
}
.overlayright .gradientsub {
  /* z-index: 9; */
  display: block;
}
.layout_box,.content_box,.sidebar_wrapper{
	position: relative;
  	z-index: 20;
	
}

.viewHeight-100{
	height: 100%; /*給 Safari 以外的瀏覽器讀取*/
	height: calc(var(--vh, 1vh) * 100);
}
.viewHeight-50{
	height: 50vh; /*給 Safari 以外的瀏覽器讀取*/
	height: calc(var(--vh, 1vh) * 50);
}
.backgroud_image {
	overflow: hidden;
	background-position: 50% 50%;
	background-size: cover;
}
#sidebarCollapse{
	position: absolute;
    top: 50%;
    transform: translate(-0%, -50%);
    width: 100%;
    height: auto;
    margin: 0 auto;
}
#sidebarCollapse button{
	width: 40px;
	border: 0px;
	background-color: transparent;
}
#sidebarCollapse  button:focus{
	outline: 0px;
}
#sidebarCollapse  button span {
	width: 28px;
	height: 1px;
	margin: 0 auto;
	display: block;
	background: #d1a785;
	transition: all 0.5s cubic-bezier(0.810, -0.330, 0.345, 1.375);
}

#sidebarCollapse button.active span:first-of-type {
	background: #d1a785;
	-webkit-transform: rotate(-45deg) translate(-4px, 4px);
	transform: rotate(-45deg) translate(-4px, 4px);
}
#sidebarCollapse button.active span:nth-of-type(2) {
  	opacity: 0;
}
#sidebarCollapse button.active span:last-of-type {
	background: #d1a785;
	-webkit-transform: rotate(45deg) translate(-5px, -5px);
	transform: rotate(45deg) translate(-5px, -5px);
}
#sidebarCollapse  button span {
	opacity: 1;
	margin: 5px auto;
}
.hidden {
  	display: none
}
.sidebar_nav{
	position: absolute;
	bottom: 50px;
	left: calc(50% - 25px);
	text-align: left;
}
.sidebar_nav .nav-link{
	padding: 10px 10px;
	color: #d1a785;
	font-size: 1.1rem;
	font-weight: normal;
}
.sidebar_nav .nav-link.active{
	padding: 10px 10px;
	color: #ffff;
	background-color: transparent;
}
.sidebar_nav_content{
	position: absolute;
	top: 50px;
	left: calc(50% - 25px);
	text-align: left;
}
.sidebar_nav_content .tab-pane div{
	padding: 5px 10px;
	color: #ffff;
	font-size: 0.6rem;
}
.sidebar_nav_content .tab-pane a{
  	color: #d1a785;
  	font-size: 0.6rem;
}

.sidebar_nav .nav-link{
	padding: 10px 10px;
	color: #d1a785;
	font-size: 0.6rem;
	font-weight: normal;
}
.sidebar_wrapper{
	margin-left: -10px;
	width: 80px;
	float: left;
	position: relative;
}
.content_box{
	width: calc(100% - 80px);
	padding-left: 65px;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	-ms-overflow-style: none; /* for Internet Explorer, Edge */
  	scrollbar-width: none; /* for Firefox */
}
.content_box::-webkit-scrollbar {
	display: none; /* for Chrome, Safari, and Opera */
}
.m_slick_arrow_box{
	width: 80px;
	position: absolute;
	margin-left: -10px;
	text-align: center;
	bottom: 20px;
	z-index: 20;
}
.m_prev_arrow{
	width: 15px;
    height: 15px;
    border-top: 1px solid #d1a785;
    border-left: 1px solid #d1a785;
    transform: rotate(45deg);
}
.m_next_arrow{
	width: 15px;
    height: 15px;
    border-bottom: 1px solid #d1a785;
    border-right: 1px solid #d1a785;
    transform: rotate(45deg);
}
@media (min-width: 768px) {
	.sidebar_wrapper{
		margin-left: -50px;
		width: 180px;
	}
	.content_box{
		width: calc(100% - 180px);
	}
	.m_slick_arrow_box{
		width: 180px;
		position: absolute;
		margin-left: -50px;
	}
	.sidebar_nav .nav-link{
		font-size: 1.1rem;
	}
	.sidebar_nav_content .tab-pane div{
		font-size: 1.1rem;
	}
	.sidebar_nav_content .tab-pane a{
		  font-size: 1.1rem;
	}
}
  
@media (min-width: 992px) {
	.sidebar_wrapper{
		margin-left: -100px;
		width: 300px;
	}
	.content_box{
		width: calc(100% - 300px);
	}
	.m_slick_arrow_box{
		width: 300px;
		position: absolute;
		margin-left: -100px;
	}
	.sidebar_nav .nav-link{
		font-size: 1.1rem;
	}
	.sidebar_nav_content .tab-pane div{
		font-size: 1.1rem;
	}
	.sidebar_nav_content .tab-pane a{
		  font-size: 1.1rem;
	}
}
  
@media (min-width: 1200px) {
	.sidebar_wrapper{
		margin-left: -50px;
		width: 380px;
	}
	.content_box{
		width: calc(100% - 520px);
		/* padding-left: 170px; */
		margin-left: auto;
		margin-right: auto;
	}
	.m_slick_arrow_box{
		width: 380px;
		position: absolute;
		margin-left: -50px;
	}
	.sidebar_nav .nav-link{
		font-size: 1.1rem;
	}
	.sidebar_nav_content .tab-pane div{
		font-size: 1.1rem;
	}
	.sidebar_nav_content .tab-pane a{
		  font-size: 1.1rem;
	}
}