/*
 * Base structure
 */

/**
 * Make Ember actions clickable
 */
[data-ember-action] {
  cursor: pointer;
}

/* Move down content because we have a fixed navbar that is 50px tall */
body {
  padding-top: 50px;
  padding-bottom: 50px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

a {
  color: #3273ab;
  text-decoration: none;
}

a:hover,
a:focus {
  color: #23527c;
  text-decoration: underline;
}


/*
 * Global add-ons
 */

.sub-header {
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

/*
 * Top navigation
 * Hide default border to remove 1px line.
 */
.fixed-top {
  border: 1;
}

/*
 * Top Navbar text styles
 */
.navbar-default .navbar-text {
  color: #494949;
}

.dropdown-toggle {
  color: #494949;
}

.btn-link {
  color: #999;
}

.navbar-default .navbar-nav > li > a {
  color: #494949;
}

.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
  color: #999;
  background-color: transparent;
}

.navbar-nav {
  align-items: center;
}

#footer-navbar > a {
  line-height: 50px;
}

/*
 * Sidebar
 */

/* Hide for mobile, show later */
.sidebar {
  display: none;
}

@media (min-width: 768px) {
  .sidebar {
    position: fixed;
    top: 51px;
    bottom: 0;
    left: 0;
    z-index: 1000;
    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;
}

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

.nav-sidebar > .active > a,
.nav-sidebar > .active > a:hover,
.nav-sidebar > .active > a:focus {
  color: #fff;
  background-color: #337ab7;
}


/*
 * Main content
 */

.main {
  padding: 20px;
}

@media (min-width: 768px) {
  .main {
    padding-right: 40px;
    padding-left: 40px;
  }
}

.main .page-header {
  margin-top: 0;
}

.h4-replacement {
  display: inline;
  vertical-align: middle;
  font-size: 18px;
  margin-top: 10px;
  margin-bottom: 10px;
  line-height: 1.1;
  font-family: inherit;
}


/*
 * Placeholder dashboard ideas
 */

.placeholders {
  margin-bottom: 30px;
  text-align: center;
}

.placeholders h4 {
  margin-bottom: 0;
}

.placeholder {
  margin-bottom: 20px;
}

.placeholder img {
  display: inline-block;
  border-radius: 50%;
}

/**
 * Glyphicon hover
 */
.clickable-glyphicon:hover {
  cursor: pointer;
  color: #999;
}

/**
 * Styles for the tables.  Wrap the text.
 */
.admin-table {
  table-layout: fixed;
  word-wrap: break-word;
}

/**
 * Styles for the text used in the cards / forms.
 * Wrap the text.
 */
.word-wrap-field {
  word-wrap: break-word;
}


/**
 * Button Styles
 */
.button-margin-left {
  margin-left: 5px;
}

/**
 * Labels for the Application
 */
.admin-label {
  display: inline;
  padding: .2em .6em .3em;
  font-size: 75%;
  font-weight: bold;
  line-height: 1;
  color: #000;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: .25em;
}

/**
 * Labels for the Roles
 */
.label-agency-admin {
  background-color: #ffd183;
}

.label-docket-mgr {
  background-color: #b1d8ff;
}

.label-docket-staff {
  background-color: #c4f0fb;
}

.label-reg-writer {
  background-color: #f0e9bf;
}

.label-agency-viewer {
  background-color: #e9e8ed;
}

.label-records-mgr {
  background-color: #d6fbd0;
}

.fdms-tooltip {
  display: inline-flex;
  align-items: center;
  margin-left: 0.25rem;
  cursor: help;
  position: relative;
  vertical-align: middle;
}

.fdms-tooltip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: bold;
  color: #fff;
  background-color: #6c757d;
}

.fdms-tooltip-content {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  z-index: 2;
  width: max-content;
  max-width: 200px;
  margin-bottom: -4px;
  padding: 6px 10px;
  color: #fff;
  font-size: 14px;
  font-family: inherit;
  text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.2);
  white-space: normal;
  background: #3a3c47;
  border-radius: 3px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%);
  transition: opacity 200ms ease-out, margin 200ms ease-out, visibility 0s linear 200ms;
  visibility: hidden;
}

.fdms-tooltip-content::after {
  position: absolute;
  top: 100%;
  left: 50%;
  width: 0;
  height: 0;
  border: 5px solid transparent;
  border-top-color: #3a3c47;
  content: "";
  transform: translateX(-50%);
}

.fdms-tooltip:hover .fdms-tooltip-content,
.fdms-tooltip:focus .fdms-tooltip-content,
.fdms-tooltip:focus-within .fdms-tooltip-content {
  margin-bottom: 0;
  opacity: 1;
  transition-delay: var(--fdms-tooltip-delay, 0ms);
  visibility: visible;
}

/**
 * Labels for the Markups
 */
.label-markup-hold {
  background-color: #b1d8ff;
}

.label-markup-freeze {
  background-color: #c4f0fb;
}

/**
 * styles for skip navigation link, it is kept off of the page until it is tabbed to,
 * then it will show in the top left corner
 */
.skip {
  position: absolute;
  top: -1000px;
  left: -1000px;
  height: 1px;
  width: 1px;
  text-align: left;
  overflow: hidden;
}

a.skip:active,
a.skip:focus,
a.skip:hover {
  left: 0;
  top: 0;
  width: auto;
  height: auto;
  overflow: visible;
}

/**
 * Style for tooltips
 */
.tooltip .tooltip-inner {
  background-color: transparent;
}

/**
 * toggle switch
 */
 /* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 80px;
  height: 40px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #d3d3d3;
  -webkit-transition: 0.2s;
  transition: 0.2s;
}

.switch-wrapper {
  width: 80px;
  height: 40px;
  position: relative;
  margin: 0 auto;
}

.slider-labels .switch-text {
  pointer-events: none !important;
  display: inline-block;
  position: absolute;
  right: 0;
  top: 0;
  width: 50%;
  overflow-x: hidden;
  font-size: 14px;
  color: #000;
  text-align: center;
  line-height: 40px;
}

.slider-labels .switch-text.switch-text-yes {
  color: #fff;
  left:0;
  right: auto;
}

.slider:before {
  position: absolute;
  content: '';
  height: 38px;
  width: 38px;
  left: 1px;
  bottom: 1px;
  background-color: #fff;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #337ab7;
}

input:focus + .slider {
  box-shadow: 0 0 1px #337ab7;
}

input:checked + .slider:before {
  -webkit-transform: translateX(40px);
  -ms-transform: translateX(40px);
  transform: translateX(40px);
}

.logout-box {
  padding: 10px;
}

.dropdown-menu {
  max-height:  280px;
  overflow-y:  auto;
}

.form-horizontal .radio,
.form-horizontal .checkbox,
.form-horizontal .radio-inline,
.form-horizontal .checkbox-inline {
  padding-top: 7px;
  margin-top: 0;
  margin-bottom: 0;
}
.form-horizontal .radio,
.form-horizontal .checkbox {
  min-height: 27px;
}
.form-horizontal .form-group {
  margin-right: -15px;
  margin-left: -15px;
}
@media (min-width: 768px) {
  .form-horizontal .control-label {
    padding-top: 7px;
    margin-bottom: 0;
    text-align: left;
  }
}
.form-horizontal .has-feedback .form-control-feedback {
  right: 15px;
}
.validated-input-control {
  position: relative;
}
.validated-input-required-icon {
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
}
@media (min-width: 768px) {
  .form-horizontal .form-group-lg .control-label {
    padding-top: 11px;
    font-size: 18px;
  }
}
@media (min-width: 768px) {
  .form-horizontal .form-group-sm .control-label {
    padding-top: 6px;
    font-size: 12px;
  }
}
.control-label
{
  font-weight: bold;
}

.card {
  margin-bottom: 20px;
  background-color: #fff;
  border: 1px solid transparent;
  border-radius: 4px;
  -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}
.card-body {
  padding: 15px;
}
.card-heading {
  padding: 10px 15px;
  border-bottom: 1px solid transparent;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
}
.card-heading > .dropdown .dropdown-toggle {
  color: inherit;
}
.card-title {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 16px;
  color: inherit;
}
.card-title > a,
.card-title > small,
.card-title > .small,
.card-title > small > a,
.card-title > .small > a {
  color: inherit;
}
.card-footer {
  padding: 10px 15px;
  background-color: #f5f5f5;
  border-top: 1px solid #ddd;
  border-bottom-right-radius: 3px;
  border-bottom-left-radius: 3px;
}
.card > .list-group,
.card > .card-collapse > .list-group {
  margin-bottom: 0;
}
.card > .list-group .list-group-item,
.card > .card-collapse > .list-group .list-group-item {
  border-width: 1px 0;
  border-radius: 0;
}
.card > .list-group:first-child .list-group-item:first-child,
.card > .card-collapse > .list-group:first-child .list-group-item:first-child {
  border-top: 0;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
}
.card > .list-group:last-child .list-group-item:last-child,
.card > .card-collapse > .list-group:last-child .list-group-item:last-child {
  border-bottom: 0;
  border-bottom-right-radius: 3px;
  border-bottom-left-radius: 3px;
}
.card > .card-heading + .card-collapse > .list-group .list-group-item:first-child {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
.card-heading + .list-group .list-group-item:first-child {
  border-top-width: 0;
}
.list-group + .card-footer {
  border-top-width: 0;
}
.card > .table,
.card > .table-responsive > .table,
.card > .card-collapse > .table {
  margin-bottom: 0;
}
.card > .table caption,
.card > .table-responsive > .table caption,
.card > .card-collapse > .table caption {
  padding-right: 15px;
  padding-left: 15px;
}
.card > .table:first-child,
.card > .table-responsive:first-child > .table:first-child {
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
}
.card > .table:first-child > thead:first-child > tr:first-child,
.card > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child,
.card > .table:first-child > tbody:first-child > tr:first-child,
.card > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child {
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
}
.card > .table:first-child > thead:first-child > tr:first-child td:first-child,
.card > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:first-child,
.card > .table:first-child > tbody:first-child > tr:first-child td:first-child,
.card > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:first-child,
.card > .table:first-child > thead:first-child > tr:first-child th:first-child,
.card > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:first-child,
.card > .table:first-child > tbody:first-child > tr:first-child th:first-child,
.card > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:first-child {
  border-top-left-radius: 3px;
}
.card > .table:first-child > thead:first-child > tr:first-child td:last-child,
.card > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:last-child,
.card > .table:first-child > tbody:first-child > tr:first-child td:last-child,
.card > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:last-child,
.card > .table:first-child > thead:first-child > tr:first-child th:last-child,
.card > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:last-child,
.card > .table:first-child > tbody:first-child > tr:first-child th:last-child,
.card > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:last-child {
  border-top-right-radius: 3px;
}
.card > .table:last-child,
.card > .table-responsive:last-child > .table:last-child {
  border-bottom-right-radius: 3px;
  border-bottom-left-radius: 3px;
}
.card > .table:last-child > tbody:last-child > tr:last-child,
.card > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child,
.card > .table:last-child > tfoot:last-child > tr:last-child,
.card > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child {
  border-bottom-right-radius: 3px;
  border-bottom-left-radius: 3px;
}
.card > .table:last-child > tbody:last-child > tr:last-child td:first-child,
.card > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:first-child,
.card > .table:last-child > tfoot:last-child > tr:last-child td:first-child,
.card > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:first-child,
.card > .table:last-child > tbody:last-child > tr:last-child th:first-child,
.card > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:first-child,
.card > .table:last-child > tfoot:last-child > tr:last-child th:first-child,
.card > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:first-child {
  border-bottom-left-radius: 3px;
}
.card > .table:last-child > tbody:last-child > tr:last-child td:last-child,
.card > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:last-child,
.card > .table:last-child > tfoot:last-child > tr:last-child td:last-child,
.card > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:last-child,
.card > .table:last-child > tbody:last-child > tr:last-child th:last-child,
.card > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:last-child,
.card > .table:last-child > tfoot:last-child > tr:last-child th:last-child,
.card > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:last-child {
  border-bottom-right-radius: 3px;
}
.card > .card-body + .table,
.card > .card-body + .table-responsive,
.card > .table + .card-body,
.card > .table-responsive + .card-body {
  border-top: 1px solid #ddd;
}
.card > .table > tbody:first-child > tr:first-child th,
.card > .table > tbody:first-child > tr:first-child td {
  border-top: 0;
}
.card > .table-bordered,
.card > .table-responsive > .table-bordered {
  border: 0;
}
.card > .table-bordered > thead > tr > th:first-child,
.card > .table-responsive > .table-bordered > thead > tr > th:first-child,
.card > .table-bordered > tbody > tr > th:first-child,
.card > .table-responsive > .table-bordered > tbody > tr > th:first-child,
.card > .table-bordered > tfoot > tr > th:first-child,
.card > .table-responsive > .table-bordered > tfoot > tr > th:first-child,
.card > .table-bordered > thead > tr > td:first-child,
.card > .table-responsive > .table-bordered > thead > tr > td:first-child,
.card > .table-bordered > tbody > tr > td:first-child,
.card > .table-responsive > .table-bordered > tbody > tr > td:first-child,
.card > .table-bordered > tfoot > tr > td:first-child,
.card > .table-responsive > .table-bordered > tfoot > tr > td:first-child {
  border-left: 0;
}
.card > .table-bordered > thead > tr > th:last-child,
.card > .table-responsive > .table-bordered > thead > tr > th:last-child,
.card > .table-bordered > tbody > tr > th:last-child,
.card > .table-responsive > .table-bordered > tbody > tr > th:last-child,
.card > .table-bordered > tfoot > tr > th:last-child,
.card > .table-responsive > .table-bordered > tfoot > tr > th:last-child,
.card > .table-bordered > thead > tr > td:last-child,
.card > .table-responsive > .table-bordered > thead > tr > td:last-child,
.card > .table-bordered > tbody > tr > td:last-child,
.card > .table-responsive > .table-bordered > tbody > tr > td:last-child,
.card > .table-bordered > tfoot > tr > td:last-child,
.card > .table-responsive > .table-bordered > tfoot > tr > td:last-child {
  border-right: 0;
}
.card > .table-bordered > thead > tr:first-child > td,
.card > .table-responsive > .table-bordered > thead > tr:first-child > td,
.card > .table-bordered > tbody > tr:first-child > td,
.card > .table-responsive > .table-bordered > tbody > tr:first-child > td,
.card > .table-bordered > thead > tr:first-child > th,
.card > .table-responsive > .table-bordered > thead > tr:first-child > th,
.card > .table-bordered > tbody > tr:first-child > th,
.card > .table-responsive > .table-bordered > tbody > tr:first-child > th {
  border-bottom: 0;
}
.card > .table-bordered > tbody > tr:last-child > td,
.card > .table-responsive > .table-bordered > tbody > tr:last-child > td,
.card > .table-bordered > tfoot > tr:last-child > td,
.card > .table-responsive > .table-bordered > tfoot > tr:last-child > td,
.card > .table-bordered > tbody > tr:last-child > th,
.card > .table-responsive > .table-bordered > tbody > tr:last-child > th,
.card > .table-bordered > tfoot > tr:last-child > th,
.card > .table-responsive > .table-bordered > tfoot > tr:last-child > th {
  border-bottom: 0;
}
.card > .table-responsive {
  margin-bottom: 0;
  border: 0;
}
.card-group {
  margin-bottom: 20px;
}
.card-group .card {
  margin-bottom: 0;
  border-radius: 4px;
}
.card-group .card + .card {
  margin-top: 5px;
}
.card-group .card-heading {
  border-bottom: 0;
}
.card-group .card-heading + .card-collapse > .card-body,
.card-group .card-heading + .card-collapse > .list-group {
  border-top: 1px solid #ddd;
}
.card-group .card-footer {
  border-top: 0;
}
.card-group .card-footer + .card-collapse .card-body {
  border-bottom: 1px solid #ddd;
}
.card-default {
  border-color: #ddd;
}
.card-default > .card-heading {
  color: #333333;
  background-color: #f5f5f5;
  border-color: #ddd;
}
.card-default > .card-heading + .card-collapse > .card-body {
  border-top-color: #ddd;
}
.card-default > .card-heading .badge {
  color: #f5f5f5;
  background-color: #333333;
}
.card-default > .card-footer + .card-collapse > .card-body {
  border-bottom-color: #ddd;
}
.card-primary {
  border-color: #337ab7;
}
.card-primary > .card-heading {
  color: #fff;
  background-color: #337ab7;
  border-color: #337ab7;
}
.card-primary > .card-heading + .card-collapse > .card-body {
  border-top-color: #337ab7;
}
.card-primary > .card-heading .badge {
  color: #337ab7;
  background-color: #fff;
}
.card-primary > .card-footer + .card-collapse > .card-body {
  border-bottom-color: #337ab7;
}
.card-success {
  border-color: #d6e9c6;
}
.card-success > .card-heading {
  color: #3c763d;
  background-color: #dff0d8;
  border-color: #d6e9c6;
}
.card-success > .card-heading + .card-collapse > .card-body {
  border-top-color: #d6e9c6;
}
.card-success > .card-heading .badge {
  color: #dff0d8;
  background-color: #3c763d;
}
.card-success > .card-footer + .card-collapse > .card-body {
  border-bottom-color: #d6e9c6;
}
.card-info {
  border-color: #bce8f1;
}
.card-info > .card-heading {
  color: #31708f;
  background-color: #d9edf7;
  border-color: #bce8f1;
}
.card-info > .card-heading + .card-collapse > .card-body {
  border-top-color: #bce8f1;
}
.card-info > .card-heading .badge {
  color: #d9edf7;
  background-color: #31708f;
}
.card-info > .card-footer + .card-collapse > .card-body {
  border-bottom-color: #bce8f1;
}
.card-warning {
  border-color: #faebcc;
}
.card-warning > .card-heading {
  color: #8a6d3b;
  background-color: #fcf8e3;
  border-color: #faebcc;
}
.card-warning > .card-heading + .card-collapse > .card-body {
  border-top-color: #faebcc;
}
.card-warning > .card-heading .badge {
  color: #fcf8e3;
  background-color: #8a6d3b;
}
.card-warning > .card-footer + .card-collapse > .card-body {
  border-bottom-color: #faebcc;
}
.card-danger {
  border-color: #ebccd1;
}
.card-danger > .card-heading {
  color: #a94442;
  background-color: #f2dede;
  border-color: #ebccd1;
}
.card-danger > .card-heading + .card-collapse > .card-body {
  border-top-color: #ebccd1;
}
.card-danger > .card-heading .badge {
  color: #f2dede;
  background-color: #a94442;
}
.card-danger > .card-footer + .card-collapse > .card-body {
  border-bottom-color: #ebccd1;
}
