/*!
 * auther: abin.chao
 * 參考:Bootstrap - Simple Sidebar，並刪減其內容
 * Start Bootstrap - Simple Sidebar (http://startbootstrap.com/)
 * Copyright 2013-2016 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap/blob/gh-pages/LICENSE)
 */
/* Sidebar Styles */
.sidebar-nav {
    position: fixed;
    right: -230px;
    top: 0;
    width: 230px;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-y: auto;
    list-style: none;
    
    background: white;
    box-shadow: 15px 0 25px -25px rgba(0, 0, 0, 1) inset, -25px 0 0 -25px rgba(0, 0, 0, 1) inset;
    -webkit-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
    transition: all 0.2s linear;
}
.sidebar-nav li {
    font-size: 14pt;
    line-height: 45px;
    text-indent: 15px;
    position: relative;
}
.sidebar-nav li a {
    display: block;
	text-decoration: none;
}
.sidebar-nav .dropdown-menu li {
	text-indent: 35px;
}
.sidebar-nav .dropdown.open > a {
	font-size: 15pt;
    font-weight: 400;
    letter-spacing: 1px;
}

#menu-toggle {
	position: fixed;
    right: 0;
    top: 0;
    z-index: 10;
    -webkit-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
    transition: all 0.2s linear;
}

#questionnaire-tip {
    position: fixed;
    right: 20px;
    bottom: 70px;
    z-index: 10;
    -webkit-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
    transition: all 0.2s linear;
}

#menu-toggle .line-bar {
	position: absolute;
	left: 0px;
	right: 0px;
	margin: auto;
	width: 20px;
	height: 2px;
	border-radius: 2px;
	background: #FFF;
}
body {
	position: relative;
    right: 0px;
    -webkit-transition: right 0.2s linear;
    -moz-transition: right 0.2s linear;
    -o-transition: right 0.2s linear;
    transition: right 0.2s linear;
}
/* Toggle Styles */
@media (max-width: 768px) {
	#sidebar-wrapper.toggled {
		right: 0px;
	}
	#menu-toggle.toggled {
		margin-right: 230px;
	}
    #questionnaire-tip.toggled {
        margin-right: 230px;
    }
	body.toggled {
		position: relative;
		right: 230px;
		overflow: hidden;
	}
	.dropdown-menu {
		box-shadow: 15px 0 25px -25px rgba(0, 0, 0, 1) inset, -25px 0 0 -25px rgba(0, 0, 0, 1) inset !important;
	}

    .moreInfo.toggled {
        display: none;
    }
}