@brand-primary: #428bca;
@brand-success: #5cb85c;
@brand-info:    #5bc0de;
@brand-warning: #f0ad4e;
@brand-danger:  #d9534f;

.brand-logo {
    height: 49px;
    width: auto;
    margin: -15px 0;
}

.footer {
  position: fixed;
  bottom: 0;
  height: 30px;
  width: 100%;
  /* Set the fixed height of the footer here */
  padding: 5px;
  text-align: center;
  background: #fff;
  font-size: small;
  z-index: 2;
  border-top: 1px solid #ececec;
}

.company-logo {
    margin-top: -10px;
}

body {
  /*font-size: 12px;*/
  font-family: "Source Sans Pro","Helvetica Neue",Helvetica,Arial,sans-serif;
  font-size: 12px;
  margin-bottom: 60px;
}

body > .container-fluid {
    padding: 60px 15px 0;
}

.page-header .menu {
  position: fixed;
  right: 24px;
  bottom: 85px;
  z-index: 20;
}

.page-header {
  padding: 0 10px;
  margin-top: 20px;
}

.menu {
    /*margin-right: 16px;*/
    /*float: right;*/
    display: inline-block;
}

.menu ul {
    padding-left: 0px;
    list-style: none;
}

.menu ul > li {
    position: relative;
    display: block;
    float: left;
    padding-left: 5px;
}

.actionMenu {
    display: inline-block;
}

.actionMenu ul {
    padding-left: 0px;
    list-style: none;
}

.actionMenu ul > li {
    position: relative;
    display: inline-block;
    padding-left: 5px;
}

.middle {
    vertical-align: middle;
}

/*
 * Sidebar
 */

/* Hide for mobile, show later */
.sidebar {
  display: none;
}
@media (min-width: 768px) {
  .sidebar {
    position: fixed;
    top: 51px;
    bottom: 0;
    left: 0;
    z-index: 1;
    display: block;
    padding: 20px;
    overflow-x: hidden;
    overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
    background-color: #f5f5f5;
    border-right: 1px solid #eee;
  }
}

/* Sidebar navigation */
.nav-sidebar {
  margin-right: -21px; /* 20px padding + 1px border */
  margin-bottom: 20px;
  margin-left: -20px;
}

.sidebar ul li {
  /*border-bottom: 1px solid #e7e7e7;*/
}


.nav-sidebar > li > a {
  padding-right: 20px;
  padding-left: 20px;
  color: white;
}

.nav-sidebar > li > a > i {
  padding: 10px;
}

.nav-sidebar > .active > a {
  color: #fff;
  background-color: /*#428bca*/ #1fa67a;
}

.nav-sidebar>li>a:hover, .nav>li>a:focus {
  text-decoration: none;
  background-color: #1fa67a;
}

/* sign-in form */
.form-signin {
  max-width: 330px;
  padding: 15px;
  margin: 0 auto;
}
.form-signin .form-signin-heading,
.form-signin .checkbox {
  margin-bottom: 10px;
}
.form-signin .checkbox {
  font-weight: normal;
}
.form-signin .form-control {
  position: relative;
  height: auto;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
  padding: 10px;
  font-size: 16px;
  margin: 5px 0;
}
.form-signin .form-control:focus {
  z-index: 2;
}
.form-signin input[type="email"] {
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}
.form-signin input[type="password"] {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.masthead {
    position: relative;
    top: 0;
    padding: 30px;
    display: block;
}

input[type=search] {
    -webkit-appearance: textfield;
    -webkit-box-sizing: content-box;
    font-family: inherit;
    font-size: 100%;
}
input::-webkit-search-decoration,
input::-webkit-search-cancel-button {
    display: none; /* remove the search and cancel icon */
}

/* search input field */
input[type=search] {
    background: #ededed url(../images/find.png) no-repeat 9px center;
    border: solid 1px #ccc;
    padding: 9px 10px 9px 32px;
    width: 55px;

    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;

    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    transition: all .5s;
}
input[type=search]:focus {
    width: 130px;
    background-color: #fff;
    border-color: #6dcff6;

    -webkit-box-shadow: 0 0 5px rgba(109,207,246,.5);
    -moz-box-shadow: 0 0 5px rgba(109,207,246,.5);
    box-shadow: 0 0 5px rgba(109,207,246,.5);
}

.field-lookup {
    display: inline-block;
}


.field-lookup a{
    background: url(../images/fieldlookup.png) no-repeat 0 0;
    display: inline-block;
    /* margin: 3px 10px 0px 4px; */
    vertical-align:top;
    /*margin-top:3px;*/
    width:35px;
    height:22px;
    cursor: pointer;
    margin: 7px 5px 5px -40px;
}

.form-group .field-lookup {
  width: 100%;
}

.form-control {
  width: 98%;
}

/* From http://jqueryui.com/demos/autocomplete/maxheight.html */
/* When displaying a long list of options, you can simply set the max-height for the autocomplete menu to prevent the menu from growing too large */
.ui-autocomplete {
    max-height: 250px;
    overflow-y: auto;
    /* prevent horizontal scrollbar */
    overflow-x: hidden;
    /* add padding to account for vertical scrollbar */
    padding-right: 20px;
}
/* IE 6 doesn't support max-height
 * we use height instead, but this forces the menu to always be this tall
 */
* html .ui-autocomplete {
    height: 250px;
}

/*
 * jQuery UI Autocomplete 1.8.16
 *
 * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
 * Dual licensed under the MIT or GPL Version 2 licenses.
 * http://jquery.org/license
 *
 * http://docs.jquery.com/UI/Autocomplete#theming
 */
.ui-autocomplete { position: absolute; cursor: default; }

/* workarounds */
* html .ui-autocomplete { width:1px; } /* without this, the menu expands to 100% in IE6 */

/*
 * jQuery UI Menu 1.8.16
 *
 * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
 * Dual licensed under the MIT or GPL Version 2 licenses.
 * http://jquery.org/license
 *
 * http://docs.jquery.com/UI/Menu#theming
 */
.ui-autocomplete-loading { background: white url('../images/ui-anim_basic_16x16.gif') right center no-repeat !important; }
.ui-menu {
    list-style:none;
    display:block;
    float: left;

 /*   position: absolute;*/
    top: 100%;
    left: 0;
    z-index: 1000;
    min-width: 160px;
    padding: 5px;
    margin: 2px 0 0;
    font-size: 14px;
    text-align: left;
    background-color: #fff;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border: 1px solid #ccc;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: 4px;
    -webkit-box-shadow: 0 6px 12px rgba(0,0,0,.175);
    box-shadow: 0 6px 12px rgba(0,0,0,.175);

}
.ui-menu .ui-menu {
    margin-top: -3px;
}
.ui-menu .ui-menu-item {
    margin:0;
    padding: 0;
    zoom: 1;
    float: left;
    /*clear: left;*/
    width: 100%;

    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: 400;
    line-height: 1.42857143;
    color: #333;
    white-space: nowrap;
}

.ui-menu .ui-menu-item:hover {
    background-color: #f5f5f5;
}

.ui-menu .ui-menu-item a {
    text-decoration:none;
    display:block;
    padding:.2em .4em;
    line-height:1.5;
    zoom:1;
}
.ui-menu .ui-menu-item a.ui-state-hover,
.ui-menu .ui-menu-item a.ui-state-active {
    font-weight: normal;
    margin: -1px;
}

.tooltip {
    display: block;
    opacity: 1;
    font-size: 18px;
    color: #428bca;
    position: relative;
    margin-top: 10px;
    z-index: 0;
}

.ui-helper-hidden-accessible{
    display: none;
}

@media (max-width: 800px) {
  .nav-sidebar > li > a.nav-link {
    font-size: 0px;
    padding: 20px;
  }

  .nav-sidebar > li > a > i.glyphicon {
      font-size: 24px;
  }
}

div#messages-container {
  position: relative;
/* top: 51px;
  left: 10px;
  right: 10px;*/
  z-index: 100;
}


.sidebar-offcanvas {
    position: fixed;
    top:0;
    bottom: 30px;
    padding: 80px 24px;
    overflow-x: hidden;
    overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
    /*background-color: #f5f5f5;*/
    border-right: 1px solid;
    background-color: #1d9d74;
    border-color: #1b926c;
    z-index: 3;
  }

.offcanvas-toggle {
  position: absolute;
  top: 40px;
  right: 24px;
  z-index: 20;
}

.btn-fab {
  border-radius: 100%;
  -webkit-transition: all 200ms ease;
  transition: all 200ms ease;
  font-size: 14px;
  height: 56px;
  display: block;
  line-height: 26px;
  width: 56px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.4);
  text-align: center;
  padding: 15px;
  font-family: "Material-Design-Icons";
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  -webkit-font-smoothing: antialiased;
}

.pull-right .dropdown-menu {
  right: 0;
  left: auto;
}

.btn-primary {
  color: #fff;
  background-color: #1d9d74;
  border-color: #1b926c;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active, .open>.dropdown-toggle.btn-primary {
  color: #fff;
  background-color: #1fa67a;
  border-color: #1b926c;
}

/*.item > .container-fluid {
  margin: 0 16px;
}*/

/*
 * Off Canvas
 * --------------------------------------------------
 */
@media screen and (max-width: 767px) {
  .row-offcanvas {
    position: relative;
    -webkit-transition: all .25s ease-out;
       -moz-transition: all .25s ease-out;
            transition: all .25s ease-out;
  }

  .row-offcanvas-right
  .sidebar-offcanvas {
    right: -50%; /* 6 columns */
  }

  .row-offcanvas-left
  .sidebar-offcanvas {
    /*left: -50%;*/ /* 6 columns */
    visibility: hidden;
  }

  .row-offcanvas-right.active {
    right: 50%; /* 6 columns */
  }

  .row-offcanvas-left.active {
    /*left: 50%;*/ /* 6 columns */
    left: 0;
  }

  .row-offcanvas-left.active
  .sidebar-offcanvas {
    left: 0;
    visibility: visible;
    box-shadow: 1px 2px 5px rgba(0,0,0,0.5);
    position: fixed;
  }

  .sidebar-offcanvas {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50%; /* 6 columns */
    z-index: 20;
  }

  .carousel-inner {
    padding: 0 10px 60px;
  }
}

@media screen and (min-width: 768px) {
  .carousel-indicators {
    bottom: 48px;
  }
}

.inline-block {
  display: inline-block;
}

.navbar-default {
  background-color: #fff;
}

.navbar-fixed-top::before {
  box-shadow: 0 0 4px rgba(0,0,0,.14),0 4px 8px rgba(0,0,0,.28);
  content: "";
  height: 51px;
  left: -2%;
  position: fixed;
  width: 104%;
}

.lookup {
  width: 98%;
}

a.disable {
   pointer-events: none;
   cursor: default;
}
