
/* All Pages
==============================*/
html,
body {
    height: 100%;
}
.hidden {
	visibility:hidden;
	display:none;
}
div.btn-group.dropright {
	display: inline-flex;
}
div.btn-group.dropright > ul.dropdown-menu
{
	left: 90%;
}
div#new_folder_btn, div#new_rider_btn, div#new_item_btn {
    padding-bottom: 10px;
}
div.folders input[type=checkbox], div.equipment input[type=checkbox] {
    margin: 0px;
}
div.folders {
	width:35%;
	border-radius: 6px;
	float: left;
}
div.equipment {
	width:65%;
	border-radius: 6px;
	float: left;
}
div.equipment td.imagetd {
	width:100px;
}
div.equipment td.imagetd img {
	max-width:100px;
	max-height:200px;
}
table.equipment-table td:last-child {
	min-width: 132px;
    padding-left: 0px;
    padding-right: 0px;
}
div.folders li.nav a.btn {
  display: block;
  border: 1px solid #e5e5e5;
  color: #777;
}
div.folders li.nav div.btn-group.active a.btn {
  background-color: #eee;
}
div.folders a.btn.ware-cat {
  min-width: 240px;
  text-align: left;
  padding-right: 10px;
}
div.folders a.sub1.btn {
	margin-left: 30px;
	min-width: 210px;
}
div.folders  a.sub2.btn {
	margin-left: 50px;
	min-width: 190px;
}
div.folders  a.sub3.btn {
	margin-left: 70px;
	min-width: 170px;
}
div.folders  a.sub4.btn {
	margin-left: 90px;
	min-width: 150px;
}
div.folders  a.sub5.btn {
	margin-left: 110px;
	min-width: 130px;
}
div.folders  a.sub6.btn {
	margin-left: 130px;
	min-width: 110px;
}
div.folders  a.sub7.btn {
	margin-left: 150px;
	min-width: 90px;
}

body.login {
	background-color: #000000;
    background-image: url("../../interface/background.jpg");
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
}
body.login div.modal-content {
	opacity:0.9
}

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;
}

.flags-wrapper {
    position: absolute;
    z-index: 2000;
    top: 10px;
    right: 50px;
}

.header-flags-wrapper {
    float: left;
    margin-top: 13px;
}

.flags-wrapper a, .header-flags-wrapper a { text-decoration: none; }

.flags-wrapper img, .header-flags-wrapper img { width: 21px; }

.modal.modal-visible {
    display: inherit;
}

.content {
    margin-top: 30px;
}

/* Login Page
================================*/


#form-details .form-group, 
#form-changepassword .form-group {
    width: 565px;
}

#loginModal .modal-header {
    padding: 0 0 0 15px !important;
}

.modal-backdrop { 
    background-color: #fff !important; 
}

.modal { 
    border: none; top: 7% !important; 
    overflow-y: auto; 
}

.modal-backdrop,
.modal-backdrop.fade.in {
    opacity: 0.5 !important;
    filter: alpha(opacity=50) !important;
}

.fade {
    opacity: 0.65;
    transition: opacity .25s ease-in-out;
    -moz-transition: opacity .25s ease-in-out;
    -webkit-transition: opacity .25s ease-in-out;
}

.high-opacity {
    opacity: 0.85;
}

.fade:hover {
    opacity: 1;
}

.social-login {
    text-align: center;
    padding-top: 20px;
}

.social-login a:hover { text-decoration: none; }
.social-login img {
    width: 140px;
    margin-left: 5px;
    height: 31px;
    cursor: pointer;
}


/* Index Page
======================================*/

.navbar-brand {
    max-width: 260px;
    font-size: 18px;
    font-weight: 500;
    line-height: 20px;
    color: #777;
}

.navbar-brand:hover {
    color: #5e5e5e;
    text-decoration: none;
    background-color: transparent;
}

.navbar {
    background-color: #eee;
}

.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-wrapper {
    padding-top: 33px;
}

.users-table, .riders-table, .equipment-table {
    border: 1px solid #F1F1F1;
}

.riders-table {
	width: 100%;
}

.dataTables_wrapper {
    margin-top: 25px;
}

select[name='users-list_length'] {
    border: 1px solid #DFDFDF;
    padding: 5px 0 5px 7px;
}

#users-list_filter input[type=text] {
    padding: 5px 0 5px 3px;
    border: 1px solid #DFDFDF;
}

#users-list_wrapper {
    display: none;
}

.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: 5px 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, .ajax-loading {
    padding: 20px;
    display: none;
}

.ajax-loading .text {
    font-size: 18px;
    margin-top: 5px;
}

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 {
  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 > a.sub {
	padding: 8px 14px 8px 30px;
}
.ware-cat.btn.collapsed::before {
    content: "\e080";
}
.ware-cat.btn::before {
    font-family: "Glyphicons Halflings";
    content: "\e114";
    float: left;
    margin-right: 15px;
}
.ware-cat.btn.empty::before {
    content: "\e113";
}
.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 .glyphicon-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 .glyphicon-chevron-right {
  opacity: .5;
}
.bs-docs-sidenav .active .glyphicon-chevron-right,
.bs-docs-sidenav .active a:hover .glyphicon-chevron-right {
  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;
  }
}