@charset "UTF-8";

/* -- for Desktop ------------------------------------- */	
div.top_menu{
	display: block;
	width: 100%;
	padding: 1% 10%;
	background-color: #4FB0AE;
	height: 80px;
	position: fixed;
	top: 0;
	left: 0;
}
div.top_menu div.app_title{
	display: inline-block;
	/*background-image: url(../image/2019_bibleclass_logo.png);
	background-repeat: no-repeat;
	background-size: 15%;
	background-position: left;
	padding-left: 20px;
	*/
}
div.top_menu div.m_main {
    transition: margin-left .5s;
	display: inline-block;
	float: right;
	
}

div.app_title a{
	display: block;
	/*width: 150px;*/
	font-size: 1.1em;
	line-height: 60px;
	text-align: center;
	text-decoration: none;
	color: #fff;
}
div.app_title a:hover{
	opacity: 0.6;
}




div.menu_sidebar {
    height: 100%;
    width: 0;
    position: fixed;
    top: 0;
    right: 0;
    background-color: #225A5A;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 30px;
	z-index: 10000;
}

div.menu_sidebar a {
    padding: 6px 8px 6px 32px;
    text-decoration: none;
    font-size: 1em;
    color: #fff;
    display: block;
    transition: 0.3s;
}

div.menu_sidebar a:hover {
    color: #f1f1f1;
}

div.menu_sidebar .app_menu_item {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 1em;
    color: #fff;
    display: block;
    transition: 0.3s;
}

div.menu_sidebar .app_menu_item:hover {
    color: #f1f1f1;
}

div.menu_sidebar .m_closebtn {
    position: absolute;
    top: 0;
    right: 15px;
    font-size: 2em;
    margin-left: 50px;
}

.m_openbtn {
    font-size: 2.5em;
    cursor: pointer;
    color: #fff;
	background-color: #4FB0AE;
    /*padding: 10px 0;*/
    border: none;
}

.m_openbtn:hover {
    opacity: 0.6;
}

.menu_logout{
	margin-top: 60px;
	/*position: fixed;
	bottom: 60px;*/
}
.menu_login {
	margin-top: 60px;
	/*position: fixed;
	bottom: 60px;*/
}
.menu_list_block{
	height: 400px;
	overflow-y: scroll;
	-ms-overflow-style: none;
	
	/*
	scrollbar-darkshadow-color: #225A5A;
	scrollbar-highight-color: #225A5A;
    scrollbar-3dlight-color: #225A5A;
	*/

}
.menu_list_bottom_block{
	
}
.menu_list_block::-webkit-scrollbar {
    display: none;
}

/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
    div.menu_sidebar {padding-top: 15px;}
    div.menu_sidebar a {font-size: 18px;}
}

/* -- for Pad ------------------------------------- */
div.top_menu{
	display: block;
	width: 100%;
	height: 80px;
	/*position: relative;*/ /* 外層相對 */
	position: fixed;
	z-index: 10000;
}

/* -- for Mobile Phone ------------------------------------- */
@media screen and (max-width: 767px) {
	div.top_menu{
		display: block;
		width: 100%;
		/*position: relative;*/ /* 外層相對 */
		position: fixed;
		z-index: 10000;
		height: 60px;
		padding: 0 5%;
		min-width: 320px;
	}
	.m_openbtn{
		font-size: 2em;
		width: 100%;
		height: 50px;
		padding: 7px 0 0 0;
	}
	.menu_login{
		margin-top: 30px;
	}
	.menu_logout{
		margin-top: 30px;
	}
	.menu_list_block{
		height: 350px;
		overflow-y: scroll;
	}
}
