
body {
  position: relative;
  overflow-x: hidden;
}

.body{min-width: 320px;}

body, html {
  height: 100%;
}

.nav .open > a { background-color: transparent; }

.nav .open > a:hover { background-color: transparent; }

.nav .open > a:focus { background-color: transparent; }

/*-------------------------------*/
/*           Wrappers            */
/*-------------------------------*/

#wrapper {
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease;
  padding-left: 0;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

#wrapper.toggled { padding-left: 220px; }

#wrapper.toggled #sidebar-wrapper { width: 250px;margin-right: 20px; }

#wrapper.toggled #page-content-wrapper {
  margin-right: -220px;
  position: absolute;
}

#sidebar-wrapper {
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease;
  background: #fff;
  height: 100%;
  left: 220px;
  margin-left: -220px;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
  width: 0;
  z-index: 1000;
}
#sidebar-wrapper::-webkit-scrollbar {
 display: none;
}

#page-content-wrapper {
  padding-top: 70px;
  width: 100%;
}

/*-------------------------------*/
/*     Sidebar nav styles        */
/*-------------------------------*/


/*-------------------------------*/
/*       Hamburger-Cross         */
/*-------------------------------*/

.hamburger {
  background: transparent;
  border: none;
  display: block;
  height: 32px;
  margin-left: 15px;
  position: absolute;
  top: 5px;
  left: 0;
  width: 32px;
  z-index: 999;
  color: #222;
  padding: 0;
}

.hamburger:hover { outline: none; }

.hamburger:focus { outline: none; }

.hamburger:active { outline: none; }

.hamburger.is-closed:before {
  -webkit-transform: translate3d(0, 0, 0);
  -webkit-transition: all 0.35s ease-in-out;
  color: #222;
  content: '';
  display: block;
  font-size: 14px;
  line-height: 32px;
  opacity: 0;
  text-align: center;
  width: 100px;
}

.hamburger.is-closed:hover before {
  -webkit-transform: translate3d(-100px, 0, 0);
  -webkit-transition: all 0.35s ease-in-out;
  display: block;
  opacity: 1;
}

.hamburger.is-closed:hover .hamb-top {
  -webkit-transition: all 0.35s ease-in-out;
  top: 0;
}

.hamburger.is-closed:hover .hamb-bottom {
  -webkit-transition: all 0.35s ease-in-out;
  bottom: 0;
}

.hamburger.is-closed .hamb-top {
  -webkit-transition: all 0.35s ease-in-out;
  background-color: #222;
  top: 5px;
}

.hamburger.is-closed .hamb-middle {
  background-color: #222;
  margin-top: -2px;
  top: 50%;
}

.hamburger.is-closed .hamb-bottom {
  -webkit-transition: all 0.35s ease-in-out;
  background-color: #222;
  bottom: 5px;
}

.hamburger.is-closed .hamb-top, .hamburger.is-closed .hamb-middle, .hamburger.is-closed .hamb-bottom, .hamburger.is-open .hamb-top, .hamburger.is-open .hamb-middle, .hamburger.is-open .hamb-bottom {
  height: 3px;
  left: 0;
  position: absolute;
  width: 100%;
}


/*-------------------------------*/
/*          Dark Overlay         */
/*-------------------------------*/

.overlay {
  position: fixed;
  display: none;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 25;
}

.displayNone{display: none!important;}
.displayBlock{display: block !important;}

.closeMobilebtn{
    background-color: #000 !important;
}


/*side menu*/
.sidemenu-TopAction{
  position: relative;
}

.sb-language{
  float: left;
  padding: 10px 20px;
  background-color: #999;
  height: 44px;
  margin:0;
}

.sb-language img{width: auto;height: 24px}

.sb-searchbtn{
  float: left;
  cursor: pointer;
  background: #e6e6e6;
  padding: 10px 20px;
  max-height: 44px;

}

.sb-searchbtn span.top-search-btn3:before{
  height: 24px;
  color: #5e5a54;
}

.sb-socialmedia{float: left;}

.sb-socialmedia img{
  position: relative;
  top: 10px;
  width: auto;
  margin-left: 5px;
  height: 30px;
}


.sb-menu-container{
  width: 250px;
}

.sb-search{
  float: left;
  width: 100%;
  padding: 0 0;
  position: relative;
  margin: 10px 0;
}

.sb-search input[type="text"]{
  width: 100%;
  padding: 10px 15px;
  border:1px solid #f1eeea;
  font-family:'Noto Sans TC',sans-serif;
}

.sb-links{width: 100%;float: left;margin-top: 15px;}

.sb-links ul {
  list-style: none;
  margin:0;
  padding: 0;
  position: relative;
}

.sb-links ul li{border-bottom: 1px solid #eee;position: relative;}

.sb-links ul li a{
  display: block;
  color: #5e5a54;
  font-size: 16px;
  padding: 10px 15px;
  background: inherit;
}

.sb-links ul li i{
  position: absolute;right:0;
  top:2px;
  background-color: #f7f7f7;
  color: #222;
  width: 42px;
  height: 42px;
  text-align: center;
  line-height: 42px;
  cursor: pointer;
  -webkit-transition: all .5s;
  -moz-transition: all .5s;
  -ms-transition: all .5s;
  -o-transition: all .5s;
  transition: all .5s;
}

.sb-links ul li i:hover,.sb-links ul li ul i:hover{
  background-color: #00579F;
  color: #fff;
}

/*sub menu level 2*/
.sb-links ul li ul{
  width: 100%;
  position: relative;
  background-color: #eeeeee;
  padding-left: 15px;
}

.sb-links ul li ul i{
  position: absolute;right:0;
  top:2px;
  background-color: #efefef;
  color: #222;
  width: 42px;
  height: 42px;
  text-align: center;
  line-height: 42px;
  cursor: pointer;
  -webkit-transition: all .5s;
  -moz-transition: all .5s;
  -ms-transition: all .5s;
  -o-transition: all .5s;
  transition: all .5s;
}


/*sub menu level 3*/
.sb-links ul li ul li ul li{
  width: 100%;
  position: relative;
  background-color: #eeeeee;
  padding-left: 5px;
}

.sbmenu-active{
  background-color:#ddd;
}