.card {
  border-radius: 10px;
  border-color: rgba(0, 0, 0, 0.12);
}

  .card .card-header {
    border-radius: 10px 10px 0 0; /* match top-left & top-right */
  }

label.floating-label {
  position: absolute;
  line-height: 5px;
  top: -3px;
  left: 6px;
  font-weight: normal !important;
  font-size: 12px;
  background-color: #fff;
  padding: 0px 3px 0 2px;
  color: #6c757d !important;
  z-index: 1000;
}

/*Utilities*/

.border {
  border: solid 1px #ddd;
}

.border-top {
  border-top: solid 1px #ddd;
}

.border-right {
  border-right: solid 1px #ddd;
}

.border-bottom {
  border-bottom: solid 1px #ddd;
}

.border-left {
  border-left: solid 1px #ddd;
}

.green {
  color: #5cb85c !important;
}

.red {
  color: #d9534f !important;
}

/*End Utilities*/

/*Bootstrap Overrides*/

.container-fluid {
  padding-left: 15px;
  padding-right: 15px;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4 {
  color: #3f4348;
}

.h5, .h6, h5, h6 {
  font-weight: 400;
  color: #212529;
  margin-bottom: 0;
}

a {
  text-decoration: none;
}

  a:hover {
    text-decoration: underline
  }

h1, .h1 {
  font-size: 2rem;
}

.breadcrumb {
  background-color: transparent;
  padding: 4px 8px;
}

.dropdown-item:hover {
  text-decoration: none;
}

.nav-item .nav-link {
  text-decoration: none;
}

.form-group {
  margin-bottom: 15px;
}

  .form-group > label {
    font-weight: 600;
  }

.dropdown-toggle::after {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 0;
  vertical-align: middle;
  content: "";
  border-top: none;
  border-right: none;
  border-left: none;
}

.bg-light {
  background-color: #FBFBFB !important;
}

.table > :not(caption) > * > * {
  padding: 12px 8px;
  background-color: #fff;
}

/* Add a bottom border to the header row */
.table-borderless tr:first-child th {
  border-bottom: 1px solid #edf2f9; /* Or use your custom color */
}

.table-striped tbody tr:nth-of-type(odd) {
  background-color: rgba(0, 0, 0, 0.03);
}

th {
  font-weight: 600;
}
/*/bootstrap table overrides*/

/*End Bootstrap Overrides*/

.nav-underline .nav-link.active {
  border-bottom: solid 2px #007bff;
  font-weight: 500;
}

.navbar-secondarynav {
  padding: 0 15px;
  background-color: #fdfdfd;
  border-bottom: solid 1px #ddd;
}

  .navbar-secondarynav .btn-link {
    padding-top: 12px;
    padding-bottom: 12px;
    text-decoration: none;
  }

    .navbar-secondarynav .btn-link:hover {
      background-color: #ECECEC;
      text-decoration: none;
    }

.navbar-secondarynav-fixed {
  position: fixed;
  z-index: 1000;
  width: 100%;
  top: 58px;
}

.navbar-secondarynav-padding-top {
  padding-top: 50px;
}

@media print {
  .navbar-secondarynav-padding-top {
    padding-top: 0;
  }
}

.buttonRowTop {
  border-bottom: solid 1px #ddd;
  background-color: rgb(245, 245, 245);
  padding: 6px 15px;
  vertical-align: middle;
}

.form-group.required label:after {
  content: " *";
  color: #ff0000;
}

.form-control.datepicker {
  width: 150px;
}

.table-no-gridlines > tbody > tr > td, .table-no-gridlines > tbody > tr > th, .table-no-gridlines > tfoot > tr > td, .table-no-gridlines > tfoot > tr > th, .table-no-gridlines > thead > tr > td, .table-no-gridlines > thead > tr > th {
  border-top: 0px !important;
  border-bottom: 0px !important;
}

/* Shared styles */
.profile-image-lg, .profile-image, .profile-image-sm, .profile-image-xs {
  color: #fff;
  margin: 0 auto;
  text-align: center;
  border-radius: 50%;
}
  /* Large styles */
  .profile-image img, .profile-image-lg img {
    border-radius: 50%;
    vertical-align: top;
    height: 60px;
    width: 60px;
  }

.profile-image, .profile-image-lg {
  border-radius: 50%;
  line-height: 60px;
  height: 60px;
  width: 60px;
}

.initials, .initials-lg {
  color: #ffffff;
  text-align: center;
  font-size: 28px;
}
/* Small styles */
.profile-image-sm img {
  border-radius: 50%;
  vertical-align: top;
  width: 35px;
  height: 35px;
}

.profile-image-sm {
  width: 35px;
  height: 35px;
  line-height: 35px;
  border-radius: 50%;
}

.initials-sm {
  font-size: 17px;
  color: #ffffff;
  text-align: center;
}
/* Extra small styles */
.profile-image-xs img {
  border-radius: 50%;
  vertical-align: top;
  width: 30px;
  height: 30px;
}

.profile-image-xs {
  border-radius: 50%;
  line-height: 30px;
  height: 30px;
  width: 30px;
}

.initials-xs {
  font-size: 14px;
  color: #ffffff;
  text-align: center;
}

.nav-link.dropdown-toggle .profile-image {
  width: 35px;
  height: 35px;
  line-height: 35px;
}

.nav-link.dropdown-toggle .profile-image-sm .profile-image {
  width: 35px;
  height: 35px;
  line-height: 35px;
}

  .nav-link.dropdown-toggle .profile-image-sm .profile-image img {
    margin-top: -5px;
  }

.user-dropdown {
  max-height: 40px;
  padding-top: 3px;
}

.user-toggle-dropdown:hover {
  cursor: pointer;
}

.gray-bg {
  background-color: gray;
}

.red-bg {
  background-color: #d9534f;
}

.green-bg {
  background-color: #5cb85c;
}

.yellow-bg {
  background-color: #f0ad4e;
}

.blue-bg {
  background-color: #0275d8;
}

.gray {
  color: #8e869d;
}

footer {
  padding-top: 40px;
}

  footer .footer-container {
    position: fixed;
    width: 100%;
    bottom: 0;
    background-color: #444;
    color: #fff;
    padding: 8px;
  }

    footer .footer-container a {
      color: #fff;
    }

.chat-link-message-count {
  color: #d9534f;
  position: relative;
  bottom: 0.75em;
  font-size: 10px;
}

/*Datagrid paging - to look like bootstrap*/
tr.pagination-tbl {
  background-color: #fff !important;
}

  tr.pagination-tbl > td {
    background-color: #fff !important;
    padding: 12px;
  }

    tr.pagination-tbl > td > a:first-child, tr.pagination-tbl > td > span:first-child {
      border-bottom-left-radius: 5px;
      border-top-left-radius: 5px;
    }

    tr.pagination-tbl > td > a:last-child, tr.pagination-tbl > td > span:last-child {
      border-bottom-right-radius: 5px;
      border-top-right-radius: 5px;
    }

    tr.pagination-tbl > td > span {
      background-color: #0275d8;
      color: #fff;
    }

    tr.pagination-tbl > td > span, tr.pagination-tbl > td a {
      border: solid 1px rgb(221, 221, 221);
      padding: 6px 12px;
      margin: 0 0 0 -5px; /*This is to accomodate for the nbsp the datagrid puts between items*/
    }

      tr.pagination-tbl > td a:hover {
        background-color: #EEEEEE;
      }
/*End Datagrid paging*/

/*UpdateProgress*/
.prog-box {
  position: fixed;
  top: 25%;
  left: 0px;
  width: 100%;
  height: 1px;
  overflow: visible;
  display: block;
  z-index: 1;
  background-color: Transparent;
}

  .prog-box > div:first-child {
    margin-left: -125px;
    position: absolute;
    top: -35px;
    left: 50%;
    width: 250px;
    background-color: #fff;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  }
/*End UpdateProgress*/

/*Modal left and right*/
.modal.modal-left .modal-dialog,
.modal.modal-right .modal-dialog {
  position: fixed;
  margin: auto;
  width: 400px;
  height: 100%;
  -webkit-transform: translate3d(0%, 0, 0);
  -ms-transform: translate3d(0%, 0, 0);
  -o-transform: translate3d(0%, 0, 0);
  transform: translate3d(0%, 0, 0);
}

.modal.modal-left .modal-content,
.modal.modal-right .modal-content {
  height: 100%;
  overflow-y: auto;
  border-radius: 0;
  border: none;
}

  .modal.modal-left .modal-content .modal-header,
  .modal.modal-right .modal-content .modal-header {
    padding-top: 10px;
    padding-bottom: 10px;
    cursor: auto;
  }

.modal.modal-left .modal-body,
.modal.modal-right .modal-body {
  padding: 15px 15px 25px;
}
/*Left*/
.modal.modal-left.fade .modal-dialog {
  left: -400px;
  -webkit-transition: opacity 0.3s linear, left 0.3s ease-out;
  -moz-transition: opacity 0.3s linear, left 0.3s ease-out;
  -o-transition: opacity 0.3s linear, left 0.3s ease-out;
  transition: opacity 0.3s linear, left 0.3s ease-out;
}

.modal.modal-left.fade.in .modal-dialog {
  left: 0;
}
/*Right*/
.modal.modal-right.fade .modal-dialog {
  right: 0;
  -webkit-transition: opacity 0.3s linear, right 0.3s ease-out;
  -moz-transition: opacity 0.3s linear, right 0.3s ease-out;
  -o-transition: opacity 0.3s linear, right 0.3s ease-out;
  transition: opacity 0.3s linear, right 0.3s ease-out;
}

.modal.modal-right.fade.in .modal-dialog {
  right: 0;
}
