/* -----------------------------------
 * Slidebars
 * Version 0..10
 * http://plugins.adchsm.me/slidebars/
 *
 * Written by Adam Smith
 * http://www.adchsm.me/
 *
 * Released under MIT License
 * http://plugins.adchsm.me/slidebars/license.txt
 *
 * -------------------
 * Slidebars CSS Index
 *
 * 001 - Box Model, Html & Body
 * 002 - Site
 * 003 - Slidebars
 * 004 - Animation
 * 005 - Helper Classes
 *
 * ----------------------------
 * 001 - Box Model, Html & Body
 */

html, body, #sb-site, .sb-site-container, .sb-slidebar {
	/* Set box model to prevent any user added margins or paddings from altering the widths or heights. */
	margin: 0;
	padding: 0;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}

html, body {
	width: 100%;
	overflow-x: hidden; /* Stops horizontal scrolling. */
}

html {
	height: 100%; /* Site is as tall as device. */
}

body {
	min-height: 100%;
	height: auto;
	position: relative; /* Required for static Slidebars to function properly. */
}

html.sb-scroll-lock.sb-active:not(.sb-static) {
	overflow: hidden; /* Prevent site from scrolling when a Slidebar is open, except when static Slidebars are only available. */
}

/* ----------
 * 002 - Site
 */

#sb-site, .sb-site-container {
	/* You may now use class .sb-site-container instead of #sb-site and use your own id. However please make sure you don't set any of the following styles any differently on your id. */
	width: 100%;
	position: relative;
	z-index: 1; /* Site sits above Slidebars */
	background-color: #ffffff; /* Default background colour, overwrite this with your own css. I suggest moving your html or body background styling here. Making this transparent will allow the Slidebars beneath to be visible. */
}

/* ---------------
 * 003 - Slidebars
 */

.sb-slidebar {
	height: 100%;
	overflow-y: auto; /* Enable vertical scrolling on Slidebars when needed. */
	position: fixed;
	top: 0;
	z-index: 9999; /* Slidebars sit behind sb-site. */
	display: none; /* Initially hide the Slidebars. Changed from visibility to display to allow -webkit-overflow-scrolling. */
	background-color: #222222; /* Default Slidebars background colour, overwrite this with your own css. */
	-webkit-transform: translate(0px);
     /* Fixes issues with translated and z-indexed elements on iOS 7. */

   background-color: #232a32;
    /*box-shadow: 1px 1px 12px 1px #234b03;*/	
}
.sb-slidebar2 {
	height: 100%;
	overflow-y: auto; /* Enable vertical scrolling on Slidebars when needed. */
	position: fixed;
	top: 0;
	z-index: 9999; /* Slidebars sit behind sb-site. */
	display: none; /* Initially hide the Slidebars. Changed from visibility to display to allow -webkit-overflow-scrolling. */
	background-color: #222222; /* Default Slidebars background colour, overwrite this with your own css. */
	-webkit-transform: translate(0px);
     /* Fixes issues with translated and z-indexed elements on iOS 7. */

   background-color: #f7f8d5;
    box-shadow: 1px 1px 12px 1px #234b03;	
}
.sb-left {
	left: 0; /* Set Slidebar to the left. */
}
.sb-right{
    right: 0;
}
#slide2{
    height: calc(100% - 60px);
    margin-top:60px;
}
html.sb-static .sb-slidebar,
.sb-slidebar.sb-static {
	position: absolute; /* Makes Slidebars scroll naturally with the site, and unfixes them for Android Browser < 3 and iOS < 5. */
}

.sb-slidebar.sb-active {
	display: block; /* Makes Slidebars visibile when open. Changed from visibility to display to allow -webkit-overflow-scrolling. */
}

.sb-style-overlay {
	z-index: 9999; /* Set z-index high to ensure it overlays any other site elements. */
}

.sb-momentum-scrolling {
	-webkit-overflow-scrolling: touch; /* Adds native momentum scrolling for iOS & Android devices. */
}

/* Slidebar widths for browsers/devices that don't support media queries. */
	.sb-slidebar {
		width: 30%;
        max-width:250px;
	}
	
	.sb-width-thin {
		width: 15%;
	}
	
	.sb-width-wide {
		width: 45%;
	}

    .sb-left {
        width:180px;
	}
	.sb-right {
        width:250px;
	}
@media (max-width: 700px) { /* Slidebar widths on extra small screens. */
	.sb-left {
        width:180px;
	}
	.sb-right {
        width:250px;
	}
	.sb-width-thin {
		width: 60%;
	}
	
	.sb-width-wide {
		width: 85%;
	}
}




/* @media (min-width: 1200px) {  Slidebar widths on extra large screens. 
	.sb-slidebar {
		width: 20%;
	}
	
	.sb-width-thin {
		width: 5%;
	}
	
	.sb-width-wide {
		width: 35%;
	}
}*/

/* ---------------
 * 004 - Animation
 */

.sb-slide, #sb-site, .sb-site-container, .sb-slidebar {
	-webkit-transition: -webkit-transform 400ms ease;
	   -moz-transition: -moz-transform 400ms ease;
	     -o-transition: -o-transform 400ms ease;
	        transition: transform 400ms ease;
	-webkit-transition-property: -webkit-transform, left, right; /* Add left/right for Android < 4.4. */
	-webkit-backface-visibility: hidden; /* Prevents flickering. This is non essential, and you may remove it if your having problems with fixed background images in Chrome. */

}

/* --------------------
 * 005 - Helper Classes
 */
 
.sb-hide { 
	display: none; /* Optionally applied to control classes when Slidebars is disabled over a certain width. */
}

.sb-slidebar .p_title {
    width: 100%;
    /*padding:5px;*/
    display:inline-block;
    vertical-align: middle;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    font-size: 16px;
    font-family: "微軟正黑體", "新細明體", Verdana, Geneva, sans-serif;
    margin:0!important;
    background-color: #1f2429;
    color:white;
    background-position:10px 13px;
        /*box-shadow: 0px 2px 15px -5px #000000;*/
}
.sb-slidebar .m_titleitem{
    width: 100%;
    /*border-top: 1px solid #1F2429;*/
    border-bottom: 1px solid #1F2429;
    /*padding:5px;*/
    display:inline-block;
    vertical-align: middle;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    font-size: 16px;
    font-family: "微軟正黑體", "新細明體", Verdana, Geneva, sans-serif;
    font-weight:900;
    margin:0!important;
    background-color: #232a32;
    color:#8B91A0;
    background-position:10px 13px;
        /*box-shadow: 0px 2px 15px -5px #000000;*/
}
.sb-slidebar .p_item {
    width: 100%;
    /*border-top: 1px solid #1F2429;*/
    border-bottom: 1px solid #1F2429;
    /*padding:5px;*/
    display:inline-block;
    vertical-align: middle;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    font-size: 16px;
    font-family: "微軟正黑體", "新細明體", Verdana, Geneva, sans-serif;
    margin:0!important;
    background-color: #232a32;
    color:white;
    background-position:10px 13px;
        /*box-shadow: 0px 2px 15px -5px #000000;*/
}

.sb-slidebar .menuselect{
  vertical-align: middle;
    color:black;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
    font-size: 15px;
	font-family: "微軟正黑體", "新細明體", Verdana, Geneva, sans-serif;
	margin:0!important;
	padding: 15px 0 15px 35px;
    -webkit-transition-property: color;
  transition-property: color;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  	background-color: #22ac38;
        font-weight:200;
	/*background: url(/images/Mobile/title.png) no-repeat #cab67d;*/
	background-size:15px 24px;
	background-position:10px 13px;
     box-shadow: 0px 2px 15px -5px #234b03;
}

.sb-slidebar .menuselect:before {
  content: "";
  position: absolute;

  z-index: -1;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transform-origin: 50%;
  transform-origin: 50%;
  -webkit-transition-property: transform;
  transition-property: transform;
  -webkit-transition-duration: 0.25s;
  transition-duration: 0.25s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}

.sb-slidebar .menuselect:hover:before {
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
  background-color: #262d36;
  color:white;


}
/*
.sb-slidebar h3:hover{
      -webkit-transform: scaleX(1);
  transform: scaleX(1);
	background-color:white;
    color:black;
}*/

.sb-slidebar div a{
    color:#8B91A0;
	text-decoration:none;
	width: 100%;
    font-weight: bolder;
    display: block;
    padding: 15px 25px;
}
.sb-slidebar div a:hover{
    color:white;
	text-decoration:none;
    background-color:#262d36;
}



.sb-slidebar ul {
	margin: 0;
	padding: 0;
}

.sb-slidebar ul li {	
	list-style-type: none;
	margin:0;
}

.sb-slidebar ul li a{
    color:#8B91A0;
    /*border-bottom: 1px solid #1F2429;*/
    background-color:#232a32;
	text-decoration:none;
	width: 100%;
    display: block;
    padding: 8px 32px;
     /*box-shadow: 0px 2px 15px -5px #000000;*/
}

.sb-slidebar ul li a:hover{
	text-decoration:none;
    background-color:#262d36;
}

/*.sb-slidebar ul li a:link, .sb-slidebar ul li a:visited {
	border-bottom: solid #a79872 1px;
	color: #593e04;
	font-size: 16px;
	font-family: "微軟正黑體", "新細明體", Verdana, Geneva, sans-serif;
	text-decoration: none;
	display: block;
	padding: 15px 0px 15px 35px;
}*/

.sb-slidebar ul li img {
	margin-right:8px;
}

/*.sb-slidebar ul li a:hover, .sb-slidebar ul li a:active {
	background: url(/images/Mobile/submenu.jpg) repeat;
	background-size:contain;
}*/

.sb-container{
    position:relative;
}

/*--right shadow--*/
.shadow{
    /*background:url(/images/Mobile/y.png) repeat-y;*/
	width:10px;
	min-height:100%;
	max-height:100%;
	z-index:1000;
	position:absolute;
	right:0px;
}
.bk {
color: #37408F;
font-weight: bold;
}