
/* All Pages
==============================*/

html,
body {
    height: 100%;
}



h3 code {
  font-size: 14px;
  font-weight: normal;
}

fieldset {
    margin-top: 15px;
}

body > .navbar {
  font-size: 13px;
}

form { 
    margin-bottom: 0px !important; 
}

#wrap {
    min-height: 100%;
    height: auto !important;
    height: 100%;
    margin: 0 auto -51px;
}

#wrap > .container {
	padding-top: 40px;
}

#push,
.push {
    height: 60px;
}

.text-error { 
    color: #b94a48; 
}
.text-success { 
    color: #468847; 
}

.required { 
    color: #a00; 
    font-weight: bold;
}


.alert { 
    margin-bottom: 0px; 
}

.nav .dropdown {
    margin-top: 5px;
}

/* Login Page
================================*/

#loginModal .modal-body {
	overflow-y: hidden;
}

#form-details .form-group, 
#form-changepassword .form-group {
    width: 565px;
}

#loginModal .modal-header {
    padding: 0 0 0 15px !important;
}

.modal-body {
    max-height: 500px !important;
}
.modal-backdrop { 
    background-color: #fff !important; 
}

.modal { 
    border: none; top: 7% !important; 
    overflow-y: hidden; 
}

.modal-backdrop,
.modal-backdrop.fade.in {
    opacity: 0.5 !important;
    filter: alpha(opacity=50) !important;
}


/* Index Page
======================================*/

.comments { 
    margin-top: 20px; 
}
.comments h3 {
    margin-bottom: 25px; 
}
.comments p { 
    text-align: justify; 
}

.comments-comments blockquote {
    margin: 0 0 15px !important;
}

.leave-comment {
    margin-top: 20px;
}

.leave-comment textarea { 
    width: 100%; 
    height: 100px; 
}

/* Users page
=======================================*/

.users-table {
    margin-top: 33px;
    border: 1px solid #F1F1F1;
}

.roles-input {
margin-top: 33px;
margin-bottom: 17px;
}

.roles-input input {
margin-bottom: 0;
}

.roles-input button {
margin-left: 10px;
}

.roles-table, .roles-table thead {
  border: 1px solid #F1F1F1;
}

.roles-table th, .roles-table td {
  text-align: center;
}

.btn-user { 
  max-width: 100px; 
}

#modal-user-details .dl-horizontal dt {
    border: 1px solid #DFDFDF;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    border-right: none;
    padding: 5px;
    background-color: #F4F4F4;
}
#modal-user-details .dl-horizontal dd {
    border: 1px solid #DFDFDF;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border-left: none;
    padding: 5px;
    margin-left: 158px !important;
    height: 32px;
    padding-left: 10px;
}

#modal-user-details .modal-body {
    padding: 0 20px;
}

.form-horizontal .control-label, 
.form-horizontal .radio-inline, 
.form-horizontal .checkbox-inline {
    font-weight: normal;
}

#confirm-modal h5.text-success {
    font-size: 16px;
    text-align: center;
}

#confirm-modal h4.text-success {
    font-size: 22px;
    text-align: center;
}


#ajax-loading {
    padding: 20px;
}

section {
  padding-top: 30px;
}
section > .page-header,
section > .lead {
  color: #5a5a5a;
}
section > ul li {
  margin-bottom: 5px;
}

/* Separators (hr) */
.bs-docs-separator {
  margin: 40px 0 39px;
}

/* Faded out hr */
hr.soften {
  height: 1px;
  margin: 70px 0;
  background-image: -webkit-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,.1), rgba(0,0,0,0));
  background-image:    -moz-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,.1), rgba(0,0,0,0));
  background-image:     -ms-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,.1), rgba(0,0,0,0));
  background-image:      -o-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,.1), rgba(0,0,0,0));
  border: 0;
}

/* Footer
-------------------------------------------------- */

.footer {
  text-align: center;
  border-top: 1px solid #e5e5e5;
  background-color: #f5f5f5;
  height: 50px;
}

.footer p {
	margin: 15px 0 0 0;
}

/* Icons
====================================== */
.the-icons {
  margin-left: 0;
  list-style: none;
}
.the-icons li {
  float: left;
  width: 25%;
  line-height: 25px;
}
.the-icons i:hover {
  background-color: rgba(255,0,0,.25);
}


/* Sidenav for Docs
====================================== */

.bs-docs-sidenav {
  width: 228px;
  margin: 30px 0 0;
  padding: 0;
  background-color: #fff;
  -webkit-border-radius: 6px;
     -moz-border-radius: 6px;
          border-radius: 6px;
  -webkit-box-shadow: 0 1px 4px rgba(0,0,0,.065);
     -moz-box-shadow: 0 1px 4px rgba(0,0,0,.065);
          box-shadow: 0 1px 4px rgba(0,0,0,.065);
}
.bs-docs-sidenav > li > a {
  display: block;
  width: 190px \9;
  margin: 0 0 -1px;
  padding: 8px 14px;
  border: 1px solid #e5e5e5;
  color: #777;
}
.bs-docs-sidenav > li:first-child > a {
  -webkit-border-radius: 6px 6px 0 0;
     -moz-border-radius: 6px 6px 0 0;
          border-radius: 6px 6px 0 0;
}
.bs-docs-sidenav > li:last-child > a {
  -webkit-border-radius: 0 0 6px 6px;
     -moz-border-radius: 0 0 6px 6px;
          border-radius: 0 0 6px 6px;
}
.bs-docs-sidenav > .active > a {
  position: relative;
  z-index: 2;
  padding: 9px 15px;
  border: 0;
  text-shadow: 0 1px 0 rgba(0,0,0,.15);
  -webkit-box-shadow: inset 1px 0 0 rgba(0,0,0,.1), inset -1px 0 0 rgba(0,0,0,.1);
     -moz-box-shadow: inset 1px 0 0 rgba(0,0,0,.1), inset -1px 0 0 rgba(0,0,0,.1);
          box-shadow: inset 1px 0 0 rgba(0,0,0,.1), inset -1px 0 0 rgba(0,0,0,.1);
}
/* Chevrons */
.bs-docs-sidenav .icon-chevron-right {
  float: right;
  margin-top: 2px;
  margin-right: -6px;
  opacity: .25;
}
.bs-docs-sidenav > li > a:hover {
  background-color: #f5f5f5;
}
.bs-docs-sidenav a:hover .icon-chevron-right {
  opacity: .5;
}
.bs-docs-sidenav .active .icon-chevron-right,
.bs-docs-sidenav .active a:hover .icon-chevron-right {
  background-image: url(../img/glyphicons-halflings-white.png);
  opacity: 1;
}
.bs-docs-sidenav.affix {
  top: 40px;
}
.bs-docs-sidenav.affix-bottom {
  position: absolute;
  top: auto;
  bottom: 270px;
}




@media (min-width: 1200px) {
  .bs-docs-container {
    max-width: 970px;
  }
  .bs-docs-sidenav {
    width: 258px;
  }
  .bs-docs-sidenav > li > a {
    width: 230px \9; /* Override the previous IE8-9 hack */
  }
}

@media (min-width: 768px) and (max-width: 979px) {
  /* Remove any padding from the body */
  body {
    padding-top: 0;
  }
  /* Widen masthead and social buttons to fill body padding */
  .jumbotron {
    margin-top: -20px; /* Offset bottom margin on .navbar */
  }
  /* Adjust sidenav width */
  .bs-docs-sidenav {
    width: 166px;
    margin-top: 20px;
  }
  .bs-docs-sidenav.affix {
    top: 0;
  }
}