html {
  position: relative;
  min-height: 100%;
}
body {
  font-family: Arial, Helvetica Neue, Helvetica, sans-serif;
  font-size: 16px;
  margin-bottom: 100px;
  padding-top: 65px;
  padding-bottom: 100px;
}

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  /* Set the fixed height of the footer here */
  height: 100px;
}

.footer h5 {
  font-size: 16px;
  font-weight: bold;
}

.social:hover {
    color: #000000;
     -webkit-transform: scale(1.1);
     -moz-transform: scale(1.1);
     -o-transform: scale(1.1);
 }
 .social {
     color: #333333;
     -webkit-transform: scale(0.8);
     /* Browser Variations: */

     -moz-transform: scale(0.8);
     -o-transform: scale(0.8);
     -webkit-transition-duration: 0.5s;
     -moz-transition-duration: 0.5s;
     -o-transition-duration: 0.5s;
 }

.frontpage-leads {
  margin-top: 5%;
  margin-bottom: 10%;
}

.subtle-pad {
  margin-top: 1%;
  margin-bottom: 1%;
}

/*
    Multicoloured Hover Variations
*/

 #social-fb:hover {
     color: #3B5998;
 }
 #social-tw:hover {
     color: #4099FF;
 }
 #social-gp:hover {
     color: #d34836;
 }
 #social-em:hover {
     color: #f39c12;
 }

 .theme-dropdown .dropdown-menu {
     position: static;
     display: block;
     margin-bottom: 20px;
 }

 .theme-showcase > p > .btn {
     margin: 5px 0;
 }

 .theme-showcase .navbar .container {
     width: auto;
 }

  #navbar li a {
     border: 0 solid rgba(0, 0, 0, 0);
     border-bottom-width: 2px;
     border-radius: 0;
 }

 #navbar li a:hover {
     border-color: black;
 }

 .navbar {
    border-color: #dddddd;
 }

 .navbar .navbar-header img.navbar-logo {
     padding: 3px 0 7px;
 }

 .navbar .navbar-brand {
     padding-top: 12.5px;
     padding-bottom: 12.5px;
 }

.navbar-default .navbar-nav > li > a {
    margin: 12.5px 6px;
    color: #333333;
}

@media (min-width: 768px) {
  .navbar .navbar-nav > li > a {
    padding: 8px 12px;
  }
}
@media (max-width: 767px) {
  .navbar .navbar-nav > li > a {
    margin: 0;
  }
}

 .glyphicon {
     font-size: 30px;
 }

a > .tutorial{
    color:red;
    padding-right: 8px;
 }
 .thumbnail_container {
     float:left;
     max-height:300px;
     max-width:80%;
     padding-bottom: 210%;
     margin:25px;
 }

 .thumbnail img {
     max-height:80%;
     max-width:80%;
 }

 /* Carousel base class */
 .carousel {
   min-height: 700px;
   margin-bottom: 50px;
 }
 /* Since positioning the image, we need to help out the caption */
 .carousel-caption {
   display:block;
   top: 0;
   bottom: auto;
   z-index: 10;
   text-shadow: none;
 }

 /* Declare heights because of positioning of img element */
 .carousel .item {
   top: 0;
   bottom: auto;
   min-height: 700px;
   margin-top: 50px;
 }
 .carousel-inner > .item > img {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
 }

 /* Limit image width to avoid overflow the cropper container */
 img {
   max-width: 100%;
 }

 meter {
     margin: 0 auto 1em;
     width: 100%;
     height: 0.5em;
 }

/* Password strength */

 meter[value="1"].meter::-webkit-meter-optimum-value { background: red; }
 meter[value="2"].meter::-webkit-meter-optimum-value { background: red; }
 meter[value="3"].meter::-webkit-meter-optimum-value { background: yellow; }
 meter[value="4"].meter::-webkit-meter-optimum-value { background: orange; }
 meter[value="5"].meter::-webkit-meter-optimum-value { background: green; }
 meter[value="1"].meter::-moz-meter-bar { background: red; }
 meter[value="2"].meter::-moz-meter-bar { background: red; }
 meter[value="3"].meter::-moz-meter-bar { background: yellow; }
 meter[value="4"].meter::-moz-meter-bar { background: orange; }
 meter[value="5"].meter::-moz-meter-bar { background: green; }
 meter.goodmeter::-webkit-meter-optimum-value { background: green; }
 meter.goodmeter::-moz-meter-bar { background: green; }
 meter.badmeter::-moz-meter-bar { background: red; }
 meter.badmeter::-webkit-meter-optimum-value { background: red; }

 .alert-info {
     background-image:none;
     background-repeat: repeat-x;
     border-color: #5bc0de;
     background-color: #5bc0de;
 }

 .hero-section {
     position: relative;
     text-align: center;
     padding: 97.5px;
 }

 .hero-section::before {
     background-image: url(/static/images/banner.jpg);
     background-position: center;
     background-repeat: no-repeat;
     content: '';
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     z-index: -1;
     opacity: 0.3;
 }

.hero-section.no-sub {
    padding: 110px;
}

.hero {
    color:#333333;
    font-size:40px;
    text-shadow: 1px 1px 1px #999;
}

@media (max-width: 550px) {
    .hero {
        font-size: 28px;
    }
    .hero-section {
        padding-left: 50px;
        padding-right: 50px;
    }
}

.subhero {
    color: #333;
    font-size: 18px;
    font-family: Courier, sans-serif;
    font-weight: bold;
}

 .hr-banner {
     padding: 90px;
     font-weight: 300;
     background-color: #333333;
     color: white;
     text-align: center;
     font-size: 28px;
 }

.hr-banner p {
    font-size: 18px;
}

 h1 small {
     color: #333333;
     margin-bottom: 0px;
 }


 p {
     margin: 20px auto;
 }

 .lead {
   margin-bottom: 22px;
   font-size: 18px;
   font-weight: 300;
   line-height: 1.4;
 }
 @media (min-width: 768px) {
   .lead {
     font-size: 24px;
   }
 }

 .lead.margin-less {
     margin-bottom: 0;
     margin-top: 10px;
 }

 .btn {
     color: #555555;
 }

.btn:hover {
    color: #333333;
}

 .btn-lg {
     border-color:black;
     border-width: 2px;
     border-radius: 50px;
     text-transform: uppercase;
     font-size: 14px;
     padding: 14px 28px;
 }

.btn-primary {
    background: white;
    color: black;
    font-weight: bold;
}

.btn-primary:hover {
    border-color: #555555;
    background: white;
    color: #555555;
}

.btn-secondary {
    background: black;
    color: white;
    font-size: 14px;
    padding: 14px 28px;
}

.btn-secondary:hover,
.btn-secondary:focus {
    background: #333333;
    color: white;
}

.btn-danger {
    background: white;
    color: black;
    border-color: red;
    font-weight: bold;
}

.btn-danger:hover {
    border-color: #555555;
    background-color: white;
    color: #555555;
}

.btn-success {
    background: white;
    color: black;
    border-color: green;
    font-weight: bold;
    margin-bottom: 3rem;
}

.btn-success:hover {
    border-color: #555555;
    background-color: white;
    color: #555555;
}

.btn-info {
    background: #0000ff;
    color: white;
    border: none;
}

.btn-info:hover {
    background: #1e90ff;
    color: white;
}

.btn-unstyled {
    padding: 0;
    color: #666666;
}

.btn-unstyled:hover {
    color: #333333;
    text-decoration: none;
}

.control-label {
    text-transform: uppercase;
    color: #555555;
    font-size: smaller;
}

.text-gray-lighter {
    color: #999999;
}

.bg-light-gray {
    background-color: #eeeeee;
}

.bg-blue-gray {
    background-color: #dce1e5;
}

.bg-light-blue {
    background-color: #e8f0f9;
}

.bg-white {
    background-color: #ffffff;
}

.col-half-border {
    padding: 60px;
    border: 1px solid #d3d3d3;
    margin: 12px;
}

.col-half-no-border {
    height: inherit;
    padding: 70px 120px;
    width: 100%;
}

.display-flex {
    display: flex;
}

.bordered-box {
    border: 0 solid #999999;
    border-right-width: 1px;
}

@media (max-width: 750px) {
    .display-flex {
        flex-wrap: wrap;
        justify-content: center;
    }

    .bordered-box {
        border-right-width: 0;
        border-bottom-width: 1px;
    }
}

.vertical-padding {
    padding-left: 50px;
    padding-right: 50px;
}

.horizontal-padding {
    padding-top: 25px;
    padding-bottom: 25px;
}

.small-horizontal-padding {
    padding-top: 10px;
    padding-bottom: 10px;
}

.sink-row {
    position: relative;
    margin-top: -70px;
}

.font-weight-300 {
    font-weight: 300;
}

.i {
    font-style: italic;
}

.pb-50 {
    padding-bottom: 50px;
}

.pb-90 {
    padding-bottom: 90px;
}

.pt-35 {
    padding-top: 35px;
}

.browse-form-input{
    display: inline-block;
    vertical-align: middle;
    width: 190px;
}

.row-actions {
    white-space: nowrap;
    position: relative;
    left: -9999em;
}

tr:hover .row-actions {
    position: static;
}

.row-actions span {
    font-size: smaller;
}

.row-actions .delete a {
    color: #a00;
}

.sortable-fields fieldset > div {
  margin-bottom: 2rem;
}

.sortable-fields fieldset .glyphicon {
  font-size: 14px;
  cursor: move;
}

.filter-sidebar label.form-check {
    display: block;
    margin-bottom: 6px;
}

.filter-sidebar .form-group {
    margin-bottom: 0;
}

.filter-sidebar .checkbox {
    margin-top: 0;
}

.filter-sidebar .panel {
    margin-bottom: 10px;
    box-shadow: none;
}

.filter-sidebar .panel-heading {
    background-color: transparent;
    border-bottom: none;
    padding: 5px 0;
    cursor: pointer;
}

.filter-sidebar .panel-body {
    padding: 5px 0;
}

.filter-sidebar .panel-heading .accordion-toggle:after {
    font-family: 'Glyphicons Halflings';
    content: "\e252";
    float: right;
    font-size: 0.7em;
    padding-top: 0.3em;
}

.filter-sidebar .panel-heading.collapsed .accordion-toggle:after {
    content: "\e253";
}

.filter-sidebar #filter-pay .form-group {
    padding-left: 5px;
    padding-right: 5px;
}

.filter-sidebar #filter-pay .input-group-prefix {
    position: absolute;
    z-index: 4;
    line-height: 34px;
    left: 9px;
    color: #666;
}

.filter-sidebar #filter-pay input.form-control {
    padding-left: 21px;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.search-results .list-group-item {
    border: 0;
}

.search-results .list-group-item img {
    height: 230px;
}

.officer-photos .no-photos {
    height: 325px;
}

h1, h2, h3 {
    font-weight: bold;
}

.department h2 {
    margin-bottom: 0;
}

/* Change navbar break point */
@media (max-width: 991px) {
    .navbar-header {
        float: none;
    }
    .navbar-toggle {
        display: block;
    }
    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }
    .navbar-collapse.collapse {
        display: none!important;
    }
    .navbar-nav {
        float: none!important;
        margin: 7.5px -15px;
    }
    .navbar-nav>li {
        float: none;
    }
    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .navbar-text {
        float: none;
        margin: 15px 0;
    }
    /* since 3.1.0 */
    .navbar-collapse.collapse.in {
        display: block!important;
    }
    .collapsing {
        overflow: hidden!important;
    }
}

/* Match background image break point based on image dimensions */
@media (max-width: 923px) {
    .hero-section::before {
        background-size: auto 100%;
    }
}
@media (min-width: 924px) {
    .hero-section::before {
        background-size: 100% auto;
    }
}
.search-results .top-paginate > nav {
    width: 100%;
}

.search-results .top-sort .sort.form-group {
    max-width: 260px;
    margin: 0 0 0 auto;
    display: block;
}


.console .button-explanation {
    height:35px;
    font-size:16px;
    position:relative;
    width: 90%;
    float:left;
}

.docs-data .input-explanation {
    height:35px;
    font-size:16px;
    position:relative;
    width: 350%;
    float:left;
    left:-280px;
    bottom:-35px;
}

@media (max-width: 760px) {
    .docs-data .input-explanation {
    height:10px;
    position:relative;
    width: 90%;
    float:left;
    left:0px;
    bottom:-190px;
    }

    .console .button-explanation {
    height:70px;
    }
    
}

    
.console .button-explanation .text {
    display:none;
}

.docs-data .input-explanation .text {
    display:none;
}

.console .done-button:hover ~ .button-explanation .done-button-explanation{
    display:block;
}

.console .skip-button:hover ~ .button-explanation .skip-button-explanation{
    display:block;
}


.console .launchroster-button:hover ~ .button-explanation .launchroster-button-explanation{
    display:block;
}

.docs-data .addface-button:hover ~ .input-explanation .addface-button-explanation{
    display:block;
}

.docs-data .id-input:hover ~ .input-explanation .id-explanation{
    display:block;
}


.pager .previous.first>a {
    margin-right: 7px;
}

.pager .next.last>a {
    margin-left: 7px;
}

.btn-group.department {
    display: block;
    margin: 4em 0;
}

h4.modal-title {
    display: inline-block;
}

p.bg-success,
p.bg-danger {
    padding: 10px;
    border-radius: 7px;
}

#court-cases {
    height: 800px;
}

#court-cases .loader-container {
    position: relative;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
}

#court-cases .loader {
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #555;
    width: 120px;
    height: 120px;
    -webkit-animation: spin 2s linear infinite; /* Safari */
    animation: spin 2s linear infinite;
    margin: 0;
    position: absolute;
    top: calc(50% - 120px);
    left: calc(50% - 120px);
    margin: 0;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.ag-root-wrapper.ag-layout-normal {
    height: 96%;
}

.case-details {
    margin-left: 30px;
    padding-bottom: 40px;
}

.ag-theme-balham .ag-full-width-container > .ag-row {
    background-color: #ecf0f1;
}

.ag-theme-balham .ag-status-bar {
    font-weight: normal;
    color: #000;
}
  
.ag-theme-balham .ag-status-bar .ag-status-name-value-value {
    font-weight: 600;
}

.sao-list {
    margin: 0 0 10px;
}

.sao-list .glyphicon, .credibility-issues .glyphicon {
    font-size: 14px;
    color: grey;
}

.search-results .sao-list .glyphicon,
.search-results .credibility-issues .glyphicon {
    position: relative;
    top: 4px;
}

.sao-list a:focus, .credibility-issues a:focus {
    outline: none;
}

#filter-sao-list .sao-list-option label {
    display: inline-block;
}

.sao-list-label, .credibility-issues-label {
    font-size: 100%;
}