﻿/*
 * Base structure
 */

/* Move down content because we have a fixed navbar that is 50px tall */
body {
  padding-top: 50px;
}


/*
 * Global add-ons
 */

.sub-header {
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

/*
 * Top navigation
 * Hide default border to remove 1px line.
 */
.navbar-fixed-top {
  border: 0;
}

/*
 * Sidebar
 */

#sidebar {
  width: 17%;
  height: 100%;
  padding-right: 0;
  padding-top: 20px;
}
#sidebar .nav {
  width: 110%;
}
#sidebar li {
  border:0 #f5f5f5 solid;
  border-bottom-width:1px;
}

/* collapsed sidebar styles */

@media (max-width: 900px) {
  .row-offcanvas {
    position: relative;
    -webkit-transition: all 0.25s ease-out;
    -moz-transition: all 0.25s ease-out;
    transition: all 0.25s ease-out;
  }
  .row-offcanvas-right
  .sidebar-offcanvas {
    right: -41.6%;
  }

  .row-offcanvas-left
  .sidebar-offcanvas {
    left: -41.6%;
  }
  .row-offcanvas-right.active {
    right: 41.6%;
  }
  .row-offcanvas-left.active {
    left: 41.6%;
  }
  .sidebar-offcanvas {
    position: absolute;
    top: 0;
    width: 100%;
  }
  #sidebar {
    padding-top: 0px;
    display: table-row;
    width: 100%;
  }
}

 
/* Hide for mobile, show later */

@media (min-width: 900px) {
  .sidebar {
    position: fixed;
    top: 30px;
    bottom: 0;
    left: 0;
    z-index: 1000;
    display: inline-block;
    padding: 20px;
    overflow-x: auto;
    overflow-y: auto;  
    background-color: #f5f5f5;
    border-right: 1px solid #eee;
  }
}


  /*Sidebar navigation*/ 

.nav-sidebar {
  margin-right: -21px;  
  margin-bottom: 20px;
  margin-left: -20px;
}
.nav-sidebar > li > a {
  padding-right: 10px;
  padding-left: 10px;
}
.nav-sidebar > .active > a,
.nav-sidebar > .active > a:hover,
.nav-sidebar > .active > a:focus {
  color: #fff;
  background-color: #428bca;
}

 /* Main content*/
 
.main {
  padding: 5px;
}

@media (min-width: 900px) {
  .main {
    padding-right: 10px;
    padding-left: 10px;
  }
}
.main .page-header {
  margin-top: 0;
}

.selectable-text {
    -moz-user-select: text !important;
    -ms-user-select: text !important;
    -webkit-user-select: text !important;
    user-select: text !important;
}

/*Login and Registration Form*/

.loginbox {
    border: 2px solid;
    border-radius: 15px;
    padding: 20px;
    margin: 10%;
    margin-left: 30%;
    margin-right: 30%;
    background-color: #f5f5f5;
    position: center;
}