#header,.header-top,.nav-L,.nav-L-button,.nav-R,.nav-L-button .a,.nav-L-button .nav-select,.sli{
	/*border: 1px solid #000;*/
}
.search {
	float: right;
    width: 100%;
    box-sizing: border-box;
    border: 2px solid #9D5C2B;
    border-radius: 5px;
    background-color: rgb(255, 255, 255);
    background-image: url(../icon/else/button/searchicon.png);
    background-size: auto 50%;
    background-repeat: no-repeat;
    -webkit-transition: width 0.4s ease-in-out;
    transition: width 0.3s ease-in-out;
	outline: none;
}

/*botttom---------------------------------------------------*/

.header-bottom{
	overflow: hidden;
	position: relative;
}
.prev, .next{
	width: 5%;
	height: 100%;
	position: absolute;
	color: #9D5C2B;
	z-index: 5;
	line-height: 50px;
	transition: 0.3s;
}
.prev div, .next div{
	position: absolute;
}
.prev, .prev div{
	left: 0;
}
.prev{
	background-image: linear-gradient(90deg, rgb(255,255,255,1), rgb(255,255,255,0));
}
.next, .next div{
	right: 0;
}
.next{
	background-image: linear-gradient(-90deg, rgb(255,255,255,1), rgb(255,255,255,0));
}
.sli{
	border-radius: 20px;
	background-position: center;
	background-repeat: no-repeat;
	position: absolute;
	background-size: cover;
}
.sli-center{
	top: 5%;
	left: 10%;
	right: 10%;
	width: 80%;
	height: 90%;
	transition: 0.5s;
}
.sli-L{
	top: 10%;
	left: -65%;
	width: 70%;
	height: 80%;
	transition: 0.5s;
}
.sli-H-L{
	top: 10%;
	left: -150%;
	width: 70%;
	height: 80%;
	/*加 transition 會有殘影*/
}
.sli-R{
	top: 10%;
	left: 95%;
	width: 70%;
	height: 80%;
	transition: 0.5s;
}
.sli-H-R{
	top: 10%;
	left: 170%;
	width: 70%;
	height: 80%;
	/*加 transition 會有殘影*/
}

@media screen and (orientation: portrait) {
	/*高>寬*/
	.header-bottom{
		/*height: 60vh;*/
	}
}
@media screen and (orientation: landscape){
	/*寬>高*/
	.header-bottom{
		/*height: 90vh;*/
	}
}

/*最小高度限制*/

@media screen and (max-height: 300px) and (min-width: 721px) {
	.header-top{
		height: 16vh;
	}
	.header-bottom{
		height: 84vh;
	}
}
@media screen and (min-height: 300.1px) and (max-height: 450px) and (min-width: 721px) {
	.header-top{
		height: 12vh;
	}
	.header-bottom{
		height: 88vh;
	}
}
@media screen and (min-height: 450.1px) and (min-width: 721px) {
	.header-top{
		height: 10vh;
	}
	.header-bottom{
		height: 90vh;
	}
}
@media screen and (min-height: 700px) and (max-width: 1023.9px) and (min-width: 721px) {
	.header-top{
		height: 6vh;
	}
	.header-bottom{
		height: 50vh;
	}
}

/*最小高度限制*/

@media screen and (min-width: 1301px) {
	/*TOP---------------------------------------------------*/
	.nav-L{
		font-size: 20px;
	}
	/*.logo{
		height: 8vh;  /*@media screen
	}*/
	#search,
	.nav-R-button{
		height: 31px;
		margin: 0 5% 0 0;
	}
	.search {
	    font-size: 20px;
    	height: 31px;
    	background-position: 6% center;
	}
}
@media screen and (min-width: 1024px) and (max-width: 1300.9px) {
/*TOP---------------------------------------------------*/
	.nav-L{
		font-size: 18px;
	}
	/*.logo{
		height: 50px; 
	/*}*/
	#search,
	.nav-R-button{
		height: 27px;
		margin: 0 5% 0 0;
	}
	.search {
	    font-size: 18px;
    	height: 27px;
    	background-position: 5% center;
	}
}
@media screen and (min-width: 721px) and (max-width: 1023.9px) {
	
/*TOP---------------------------------------------------*/
	.nav-L{
		font-size: 16px;
	}
	/*.logo{
		height: 40px; 
	/*}*/
	#search,
	.nav-R-button{
		height: 24px;
		margin: 0 5% 0 0;
	}
	.search {
	    font-size: 14px;
    	height: 24px;
    	background-position: 5% center;
	}
}
@media screen and (min-width: 721px) {
	/*TOP---------------------------------------------------*/	
	.header-top{
		position: relative;
	}
	.nav-logo,
	.nav-L,
	.nav-R{
		display: inline-block;
		position: absolute;
		bottom: 0;
	}
	.nav-logo{
		width: 5%;
		margin-left: 2%;
		left: 0;
	}
	.logo{
		width: 100%;
	}
	.nav-L{
		background-color: #fff; /*@media screen phone*/
		width: 65%;
		left: 7%;
	}
	.nav-L-button{
		margin:  0 0 0 2%;
		display: inline-block; /*@media screen phone*/
		vertical-align: bottom; /*@media screen phone*/
		position: relative;
		transition: 0.3s;
	}
	.nav-L-button:active,
	.nav-L-button:hover {
		border-bottom: 2px solid #9D5C2B;
	}
	.nav-L-button:first-child {
		border-bottom: none;
	}
	.nav-gap{
		/*防止 selsec 上面的縫隙影響 hover*/
		position: absolute;
		top: 100%;
		padding-top: 20%;
		width: 100%;
		display: none;
		z-index: 10;
	}
	.nav-select{
		border: 2px solid #9D5C2B;
		background-color: #fff; /*@media screen phone*/
		border-radius: 5px;
		position: absolute;
		top: 150%;
		min-width: 120%;
		display: none;
		z-index: 10;
	    /*box-shadow: 0 4px 8px 0 rgba(233, 168, 120, 0.9);*/ /*考慮*/
	}
	.nav-select div{
		padding: 5% 0;
		text-align: center;
		border-bottom: 2px solid #9D5C2B;
		transition: 0.3s;
	}
	.nav-select div a{
		width: 100%;
		height: 100%;
	}
	.nav-select div:last-child {
		border-bottom: none;
	}
	.nav-L-button:active > .nav-select,
	.nav-L-button:active > .nav-gap,
	.nav-L-button:hover > .nav-select,
	.nav-L-button:hover > .nav-gap{
		display: block;
	}
	.nav-select div:active ,
	.nav-select div:hover{
		color: #fff;
		background-color: #9D5C2B; /*@media screen phone*/
	}
	.nav-R{
		width: 28%;
		right: 0;
	}
	#search,
	.nav-R-button{
		display: none; /*@media screen phone*/
		vertical-align: bottom; /*@media screen phone*/
		float: right;
	}
	.nav-R-button img {
	    height: 100%;
	}
	#search {
	    width: 50%;
		display: block;
	}
	.search {
	    padding-left: 20%;
	}
	.search:focus {
		width: 150%;
	}
	.prev, .next{
		font-size: 30px;
	}
	.prev:hover, .next:hover{
		font-size: 40px;	
	}
	.prev div, .next div{
		top: 45%;
	}
}
@media screen and (max-width: 720.9px) {
	/*#header{display: none;}*/
	.header-bottom{
		/*display: none;*/
	}
	.header-top{
		height: 100%;
		z-index: 20;
		/*position: fixed;*/
	}
	.nav-logo{
		width: 100%;
		height: 45px;
		background-color: #fff;
	}
	.logo{
		width: 8%;
		padding: 0 46%;
	}
	.nav-L{
		width: 100%;
		height: 0%;
		background-color: #9D5C2B;
		position: absolute;
		overflow: hidden;
		transition: 0.3s;
		z-index: 20;
	}
	.nav-L-button{
		color: #fff;
		width: 80%;
		margin: 5% 10%;
	}
	.nav-select{
		display: none;
	}
	.nav-R-button {
		right: 0;
		display: none;
	}
	.nav-R-button,
	.nav-button{
		width: 45px;
		height: 45px;
		position: absolute;
		top: 0;
	}
	#search{
		display: none;
		position: absolute;
		width: 90%;
		z-index: 20;
	}
	.bar1, .bar2 {
		width: 100%;
		background-color: #9D5C2B;
		transition: 0.4s;
	}
	.header-bottom{
		height: 30vh;
	}
	.prev, .next{
		font-size: 30px;
	}
	.prev div, .next div{
		top: 40%;
	}
}
@media screen and (min-width: 360px) and (max-width: 720.9px) {
	.nav-L{
		font-size: 20px;
	}
	#search{
		padding: 5% 5%;
	}
	.search {
	    font-size: 20px;
		height: 40px;
    	background-position: 2% center;
    	padding-left: 10%;
	}
	.nav-R-button img,
	.bar{
		width: 50%;
		height: 50%;
		padding: 25%;
	}
	.bar1, .bar2 {
		height: 10%;
		margin: 26% 0;
	}
	.change1 {
	-webkit-transform: rotate(135deg) translate(3px, -1px);
	transform: rotate(135deg) translate(3px, -1px);
	}
	.change2 {
		-webkit-transform: rotate(45deg) translate(-4px, -3px);
		transform: rotate(45deg) translate(-4px, -3px);
	}
}
@media screen and (max-width: 359.9px) {
	.nav-L{
		font-size: 18px;
	}
	#search{
		padding: 7% 5%;
	}
	.search {
	    font-size: 18px;
		height: 35px;
    	background-position: 5% center;
    	padding-left: 15%;
	}
	.nav-R-button img,
	.bar{
		width: 40%;
		height: 40%;
		padding: 30%;
	}
	.bar1, .bar2 {
		height: 10%;
		margin: 25% 0;
	}
	.change1 {
	-webkit-transform: rotate(135deg) translate(2px, -2px);
	transform: rotate(135deg) translate(2px, -2px);
	}
	.change2 {
		-webkit-transform: rotate(45deg) translate(-2px, -2px);
		transform: rotate(45deg) translate(-2px, -2px);
	}
}