@charset "utf-8";

/* ====switch==== */
#switch.active {
	-webkit-transform: translateY(0);
	transform: translateY(0);
	bottom: 0;
}

#switch{
	width: 100vw; /* 寬度：自適應螢幕最大寬(可自訂) */
	height: 325px; /* 高度：250px(可自訂) */
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	margin: 0 auto;
	*margin: 0px auto; /* ie7 */
	_margin: 0px auto; /* ie6 */
	z-index: 2147483647;
	-o-z-index: 2147483584;
	display: block;
	-webkit-transition: all .3s ease-in-out;
	transition: all .3s ease-in-out;
	-webkit-transform: translateY(97%);
	transform: translateY(97%);
	cursor: pointer;
/*	background-color: rgba(255, 255, 255, .4);/* 該區塊背景顏色(可自訂) */
}

@media (min-width: 481px) and (max-width:768px) {
#switch{
    width: 100vw;
    height: 70em;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    _margin: 0px auto;
    z-index: 2147483647;
    -o-z-index: 2147483584;
    display: block;
    -webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
    -webkit-transform: translateY(80%);
    transform: translateY(80%);
    cursor: pointer;
    margin-bottom: -21%;
}
		
}

@media (min-width: 321px) and (max-width:480px) {
#switch{
	width: 100vw; /* 寬度：自適應螢幕最大寬(可自訂) */
	height: 43em; /* 高度：250px(可自訂) */
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	margin: 0 auto;
	*
	margin: 0px auto; /* ie7 */
	_margin: 0px auto; /* ie6 */
	z-index: 2147483647;
	-o-z-index: 2147483584;
	display: block;
	-webkit-transition: all .3s ease-in-out;
	transition: all .3s ease-in-out;
	-webkit-transform: translateY(80%);
	transform: translateY(80%);
	cursor: pointer;
	margin-bottom: -24%;
}
		
}


@media (min-width: 300px) and (max-width:320px) {
#switch{
	width: 100vw; /* 寬度：自適應螢幕最大寬(可自訂) */
	height: 38em; /* 高度：250px(可自訂) */
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	margin: 0 auto;
	*
	margin: 0px auto; /* ie7 */
	_margin: 0px auto; /* ie6 */
	z-index: 2147483647;
	-o-z-index: 2147483584;
	display: block;
	-webkit-transition: all .3s ease-in-out;
	transition: all .3s ease-in-out;
	-webkit-transform: translateY(80%);
	transform: translateY(80%);
	cursor: pointer;
	margin-bottom: -25%;
}


}