/*
 * Base structure
 */

html {
  position: relative;
  min-height: 100%;
}

body {
  padding-top: 50px;
  margin-bottom: 60px;
}

a.tip {
  text-decoration: none;
}  

a.tip:hover {
  position             : relative;
}  

a.tip span {
  display              : none
}  

a.tip:hover span {
  background: #000000;
  opacity: 0.8;
  border: none;
  border-radius: 5px;
  font-family: calibri, verdana, arial, sans-serif;
  font-size: 12pt;
  text-decoration: none;
  white-space: nowrap;
  color: #FFFFFF;
  padding: 6px;
  margin: 10px;
  display: block;
  z-index: 50; 
  position: absolute;
  top: 10px;
}  


/*
 * Global add-ons
 */

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

/*
 * Top navigation
 */
.navbar-fixed-top {
  border: 0;
}

.navbar-info {
  padding: 15px;
  color: #9d9d9d;
}

/*
 * Sidebar
 */

.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;
    background-color: #FFFFFF;
    border-right: 1px solid #272362;
  }
}

.nav-sidebar {
  margin-right: -21px; 
  margin-bottom: 20px;
  margin-left: -20px;
}
.nav-sidebar > li > a {
  padding-right: 20px;
  padding-left: 20px;
  color: #337ab7; 
}

.nav-sidebar > li > a:hover,
.nav-sidebar > li > a:focus {
  background-color: #d1d1d1 !important; 
  color: #000000 !important; 
  text-decoration: none;
}

.nav-sidebar > .active > a,
.nav-sidebar > .active > a:hover,
.nav-sidebar > .active > a:focus {
  color: #ffffff !important; 
  background-color: #0395ab !important;
}


/*
 * Main content
 */

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


/*
 * Tables
 */

.table-flag {
  height: 15px;
}

.table-status {
  height: 25px;
}

.table-head {
  font-weight: bold;
}

.table-center * {
  text-align: center !important;
}

/*
 * Footer
 */
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 61px;
  background-color: #FFFFFF;
  padding-left: 20%;
  border-top: 1px solid #FFFFFF;
}

.footer p {
  text-align: center;
  margin-top: 10px;
}

/*
 * Dropdown menu
 */

.dropdown-menu > li > a:hover, 
.dropdown-menu > li > a:focus {
  color: #000000 !important;
  text-decoration: none !important;
  background-image: none !important;
  background-color: #b0b0b0 !important;
}

.dropdown-menu {
  background-color: #ffffff !important;
}
