* {
  margin: 0;
  padding: 0;
}

html {
  height: 100%;
  overflow-y: scroll;  
  background: #CCC;
}

body {
  height: auto;
}

.main {
  width: 95%;
  margin-left: auto;
  margin-right: auto;
}

.header, .content {
  width: 100%;
  margin-top: 10px;
}

.header {
  text-align: right;
}

.header .logout {
  margin-left: 2em;
}

/* pager */

.page-list {
  margin: 8px 0;
  padding: 0 0 0 10px;
  display: block;
  border-bottom: 1px solid black;
  height: 21px;
}

.page-list li {
  bottom: 0px;
  display: block;
  height: 20px;
  float: left;

  text-align: center;
  border-top: 1px solid black;
  border-right: 1px solid black;
  border-left: 1px solid black;
  margin-left: -2px;
  cursor: pointer;
  background: #AAA;
}

.page-list li.active-page {
  background: #CCC;
  border-bottom: 1px solid #CCC;
  cursor: default;
}

.page-list li a {
  text-decoration: none;
  margin-left: 10px;
  margin-right: 10px;
  color: black;
}

.page-list li.active-page a {
/*  font-weight: bold; */
  cursor: default;
}

.page-list li a:hover {
/*  color: blue; */
}

.page-list li.active-page a:hover {
  color: black;
}

.page h1 {
  display: none;
}

/* accordion */

.lev0, .lev1, .lev2, .lev3, .lev4 {
  margin-left: 0;
  list-style-type: none;
}

.lev0 li {background: #AAA;}
.lev1 li {background: #BBB;}
.lev2 li {}
.lev3 li {}
.lev4 li {}

.lev0 li, .lev1 li, .lev2 li, .lev3 li, .lev4 li {
  cursor: pointer;
  line-height: 2em;
}

.lev0 li.node, .lev1 li.node, .lev2 li.node, .lev3 li.node, .lev4 li.node {
  text-align: left;
  cursor: default;
  background: #CCC;
  line-height: 2em;
}

.node span {
  display: inline-block;
  text-align: right;
  width: 7%;
}

.node .nam {
  display: inline-block;
  text-align: left;
  width: 50%;
}                   	

.node .val {
  display: inline-block;
  margin-left: 20px;
  width: 50px;
  text-align: right;
}

/* toolbars */

.toolbar {
  width: 100%;
  height: 2em;
  clear: left;
  border-bottom: 1px dotted black;
  margin-bottom: 5px;
}

.toolbar div {
  float: left;
  margin-left: 10px;
}

/* nkls */

.nkls {
  border-collapse: collapse; 
  border: 1px solid black;
  width: 95%;
  margin-left: auto;
  margin-right: auto;
}

.nkls thead {
  background: #AAA;
}

/* Start by setting display:none to make this hidden.
   Then we position it in relation to the viewport window
   with position:fixed. Width, height, top and left speak
   for themselves. Background we set to 80% white with
   our animation centered, and no-repeating */
.modal {
    display:    none;
    position:   fixed;
    z-index:    1000;
    top:        0;
    left:       0;
    height:     100%;
    width:      100%;
    background: rgba( 255, 255, 255, .8 ) 
                url('http://i.stack.imgur.com/FhHRx.gif') 
                50% 50% 
                no-repeat;
}

/* When the body has the loading class, we turn
   the scrollbar off with overflow:hidden */
body.loading {
    overflow: hidden;   
}

/* Anytime the body has the loading class, our
   modal element will be visible */
body.loading .modal {
    display: block;
}