
body {
  padding-top: 50px;
}

.sub-header {
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.navbar-fixed-top {
  border: 0;
}

.sidebar {
  display: none;
}
@media (min-width: 768px) {
  .sidebar {
    position: fixed;
    top: 51px;
    bottom: 0;
    left: 0;
    z-index: 1000;
    display: block;
    padding: 20px;
    overflow-x: hidden;
    overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
    background-color: #f5f5f5;
    border-right: 1px solid #eee;
  }
}

/* Sidebar navigation */
.nav-sidebar {
  margin-right: -21px; /* 20px padding + 1px border */
  margin-bottom: 20px;
  margin-left: -20px;
}
.nav-sidebar > li > a {
  padding-right: 20px;
  padding-left: 20px;
}
.nav-sidebar > .active > a,
.nav-sidebar > .active > a:hover,
.nav-sidebar > .active > a:focus {
  color: #fff;
  background-color: #000;
}

.main {
  padding: 20px;
}
@media (min-width: 768px) {
  .main {
    padding-right: 40px;
    padding-left: 40px;
  }
}
.main .page-header {
  margin-top: 0;
}

.shownote {position:relative;}
.shownote .show {height:115px;overflow:hidden;}
.shownote .editform { display:none; position:absolute;z-index:1032;width:calc( 100% - 30px );left:15px;top:0px; }
.shownote .textarea {height:300px;background: #fff;outline: none;padding:5px; resize: none; overflow: auto;}

#topbg { position:absolute; z-index:1031;width:100%;height:100%;left:0;top:0; background:#000;filter:alpha(opacity=30);-moz-opacity:0.3;-khtml-opacity: 0.3;opacity: 0.3; display:none;}

#addnote { display:none; position:absolute; z-index:1033; height:400px;left:20px;top:20px; }
#addnote form .textarea {height:300px;background: #fff;outline: none;padding:5px; resize: none; overflow: auto;}

#account { display:none;  position:absolute; z-index:1034; height:400px;left:20px;top:20px; }
#account img {width:150px;border:5px solid #fff; border-radius:5px;}
#account h4 {text-align:center; }

.login img{width:150px;  border-radius:5px;}
.login button {margin-right:20px;}
.login button+label {color:#f00;}

.nav-bottom { padding-left:0px;text-align:center;padding-top:100px;}
.nav-bottom li {padding:5px 0;color:#999;}
.nav-bottom img { width:150px; border-radius:5px;}