.button {
  min-height: 2.5rem;
  min-width: 5rem;
  border-radius: 5rem;
  padding: 0 1rem;
}

.button.large {
  white-space: normal !important;
  word-wrap: break-word;
}

.button.primary {
  background: #003865;
  border: none;
  color: #FFFFFF;
}

.button.tertiary {
  background: #EBECF0;
  border: 1px solid #97999B;
}

.button.secondary {
  background: #FFFFFF;
  color: #02748b;
  border: 1px solid;
}

.button.link {
  text-decoration: none;
  outline: 0;
}

.button-group-search-reset {
  display: flex;
  justify-content: space-between;
  flex-direction: row-reverse;
}

.card {
  border: 1px solid #97999B;
  border-radius: 3px;
  margin-bottom: 1.5rem;
  box-shadow: 0px 0px 5px rgba(196, 196, 196, 0.2);
}

.card i {
  color: #02748b;
}

.card-body.mobile {
  background-color: rgba(217, 217, 214, 0.3);
  padding: 0.75rem;
}

.card-body.mobile .card-text.card-result-data-header {
  font-weight: 600;
  margin-bottom: 0;
}

.card-body.mobile .card-hyperlink {
  font-size: 1.2rem;
  font-weight: bold;
}

.card-body.mobile a {
  color: #0D5257;
}

.card-body.mobile a:visited {
  color: #551a8b;
}

.card-body.mobile .card-text {
  margin: 0;
}

h2.card-title {
  font-size: 1.2rem;
}

h3.card-title {
  font-size: 1.1rem;
}

h4.card-title {
  font-size: 1rem;
}

.alert.alert-light {
  color: #000000;
}

@media (min-device-width : 320px) and (max-device-width : 480px) {
  .card-body {
    padding: 1rem;
  }
}

.context-header {
  background-color: #003865 !important;
  color: #fff;
}

.context-header a {
  text-decoration: none;
}

.context-header #contextHeaderInfo {
  transition: 0.5s;
}

.context-header .card-body {
  padding: 0.7rem;
}

.context-header .card-body h5, .context-header .card-body p {
  margin: 0;
}

.context-header .card-body .contextHeaderAgentEmployerInfoHeader {
  font-size: 1.2rem;
}

.context-header .card-body .card-title {
  color: #FFFFFF;
  border-right: 1px solid;
  text-align: center;
}

.context-header .card-body .contextHeaderSpanOne {
  padding-right: 1rem;
  text-align: center;
}

.context-header .card-body .contextHeaderSpanTwo {
  padding-left: 0;
}

.context-header .card-body .contextHeaderStat {
  font-weight: 600;
}

.context-header .card-body .context-header-btn {
  background-color: #02748b;
  width: 40px;
  height: 40px;
  border-radius: 5px;
  border: none;
  margin: 0.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.context-header .card-body .context-header-btn:hover {
  text-decoration: none;
}

.context-header .card-body .context-header-btn .fas {
  color: white;
  font-size: 1.5rem;
}

.context-header.tablet .card-body {
  padding: 1rem 2rem;
}

.context-header.tablet .card-body .topContextBarRow {
  border-bottom: 1px solid #FFFFFF;
}

.context-header.tablet .card-body .row.leftInfo {
  min-height: 2.5em;
}

.context-header.tablet .card-body .card-title {
  text-align: left;
  border-right: none;
  padding-left: 0;
}

.context-header.tablet .card-body span {
  padding-left: 0;
}

.context-header.mobile {
  transition: all 0.4s ease 0s;
}

.context-header.mobile .collapse:not(.show) {
  display: none !important;
}

.context-header.mobile .row.collapse {
  animation: fadeout 0.5s linear;
}

.context-header.mobile .row.collapse.show {
  opacity: 1;
}

.context-header.mobile .card-body .card-title {
  border: none;
  text-align: left;
}

.context-header.mobile .card-body .context-header-btn {
  margin-right: 0;
}

.context-header.mobile .card-body .contextHeaderToggleButton {
  border: none;
  background: inherit;
  color: inherit;
}

.context-header.mobile .card-body #mobileAgentBarSeparator {
  height: 1px;
  margin-bottom: 1rem;
  background: white;
}

.context-header.mobile .card-body .agentMobileInfo:before {
  content: "";
  width: calc(100% - 30px);
  padding: 0 1rem;
  border-bottom: 1px solid;
  color: white;
  margin: 0.5rem auto;
}

.context-header.mobile .fas.fa-angle-down {
  transition: 0.5s;
  color: #FFFFFF;
}

.context-header.mobile .fas.fa-angle-down.active {
  -webkit-transform: rotate(180deg);
  -moz-transform: rotate(180deg);
  transform: rotate(180deg);
}

.context-header .card-body .card-applicant-title {
  color: #FFFFFF;
  text-align: left;
}

.context-header .card-body .topContextBarRowApplicant {
  border-bottom: 1px solid #FFFFFF;
}

@media (min-device-width : 320px) and (max-device-width : 480px) {
  .context-header-btn {
    width: 30px !important;
    height: 30px !important;
  }
}

.footer, .page-wrap:after {
  height: 60px;
}

.footer {
  display: flex;
  padding: 0 1rem;
}

.footer a, .footer .nav-link {
  color: #02748b;
  padding: 0.5rem;
}

@media (min-width: 992px), (min-width: 768px) and (max-width: 991px) {
  .footer #footerList {
    align-items: center;
  }
}

.navbar.navbar-light {
  border-bottom: 3px solid #003865;
}

.navbar.navbar-light img {
  width: 13.5em;
}

.navbar.navbar-light a {
  color: #02748b;
  font-weight: 500;
}

@media (min-device-width : 320px) and (max-device-width : 480px) {
  .navbar.navbar-light {
    padding: 0.5em;
  }
  .navbar.navbar-light img {
    width: 10.5em;
  }
}

#mainLeftNav {
  transition: all 0.4s ease 0s;
  background-color: #53565A;
  padding-right: 0px;
  height: 100%;
}

#mainLeftNav .dynamicContent1 a {
  color: #FFFFFF;
  margin-left: 2rem;
  display: block;
  font-weight: 400 !important;
  font-size: 1rem;
}

#mainLeftNav .dynamicContent1 a:hover {
  font-weight: bold !important;
}

#mainLeftNav a {
  color: #FFFFFF;
  font-weight: 600;
  text-decoration: none;
  word-break: break-word;
}

#mainLeftNav a:hover {
  font-weight: bold;
}

#mainLeftNav #menuLabel {
  color: #FFFFFF;
}

#mainLeftNav i {
  color: #FFFFFF;
}

#toggleMenu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: row-reverse;
}

#sidenav {
  transition: all 0.4s ease 0s;
  background-color: #53565A;
  flex-direction: column;
  top: 0;
  bottom: 0;
  width: 17.625rem;
  margin: 0 !important;
  outline: 0;
  z-index: 1080;
}

#collapseExample, #collapseChangeAgent {
  display: inline;
}

.table {
  border: 1px solid #D9D9D6;
}

.table thead th {
  border: none;
  background-color: #02748b;
  color: #FFFFFF;
  border-bottom: 0 !important;
}

.table thead th a {
  color: #FFFFFF;
  text-decoration: underline;
}

.table thead th a:visited {
  color: #EFEFEF;
}

.table tbody {
  background-color: #fff;
  color: black;
}

.table tbody td a {
  color: #02748b;
  font-weight: 600;
}

.table tbody td a:visited {
  color: #551a8b;
}

.table td, .table th {
  padding: 1rem;
}

.table-sm {
  border: 1px solid #D9D9D6;
}

.table-sm thead th {
  border: none;
  background-color: #02748b;
  color: #FFFFFF;
  border-bottom: 0 !important;
}

.table-sm thead th a {
  color: #FFFFFF;
  text-decoration: underline;
}

.table-sm thead th a:visited {
  color: #EFEFEF;
}

.table-sm tbody {
  background-color: #fff;
  color: black;
}

.table-sm tbody td a {
  color: #02748b;
  font-weight: 600;
}

.table-sm tbody td a:visited {
  color: #551a8b;
}

.table-sm td, .table-sm th {
  padding: 0.3rem;
}

.flexer,
.progress-indicator {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
}

.no-flexer-element {
  -ms-flex: 0;
  -webkit-flex: 0;
  -moz-flex: 0;
  flex: 0;
}

.flexer-element,
.progress-indicator > li {
  -ms-flex: 1;
  -webkit-flex: 1;
  -moz-flex: 1;
  flex: 1;
}

.progress-indicator {
  margin: 0 0 1em;
  padding: 0;
  font-size: 80%;
  text-transform: uppercase;
}

.progress-indicator > li {
  list-style: none;
  text-align: center;
  width: auto;
  padding: 0;
  margin: 0;
  position: relative;
  text-overflow: ellipsis;
  color: #4e4b4b;
  display: block;
}

.progress-indicator > li.completed,
.progress-indicator > li.completed .bubble {
  color: #02748b;
}

.progress-indicator > li .bubble {
  border-radius: 1000px;
  width: 20px;
  height: 20px;
  background-color: #4e4b4b;
  display: block;
  margin: 0 auto .5em;
  border-bottom: 1px solid #888;
}

.progress-indicator > li .bubble:after,
.progress-indicator > li .bubble:before {
  display: block;
  position: absolute;
  top: 9px;
  width: 100%;
  height: 3px;
  content: '';
  background-color: #4e4b4b;
}

.progress-indicator > li.completed .bubble,
.progress-indicator > li.completed .bubble:after,
.progress-indicator > li.completed .bubble:before {
  background-color: #02748b;
  border-color: #01213b;
}

.progress-indicator > li .bubble:before {
  left: 0;
}

.progress-indicator > li .bubble:after {
  right: 0;
}

.progress-indicator > li:first-child .bubble:after,
.progress-indicator > li:first-child .bubble:before {
  width: 50%;
  margin-left: 50%;
}

.progress-indicator > li:last-child .bubble:after,
.progress-indicator > li:last-child .bubble:before {
  width: 50%;
  margin-right: 50%;
}

@media handheld, (min-device-width : 320px) and (max-device-width : 480px) {
  .progress-indicator {
    font-size: 55%;
  }
  .progress-indicator > li {
    list-style: none;
    text-align: center;
    width: auto;
    padding: 5px;
    margin: 0;
    position: relative;
    text-overflow: ellipsis;
    color: #4e4b4b;
    display: block;
  }
  .progress-indicator > li .bubble {
    border-radius: 1000px;
    width: 10px;
    height: 10px;
    background-color: #4e4b4b;
    display: block;
    margin: 0 auto .5em;
    border-bottom: 1px solid #888;
  }
}

@media handheld, (max-device-width: 330px) {
  .progress-indicator {
    font-size: 47%;
  }
}

.three-input-group input {
  width: calc((100% / 3) - 9px);
}

.validation {
  display: inline-block;
}

.table .three-input-group input {
  min-width: 4rem;
}

.validation + img {
  position: absolute;
  margin-top: 10px;
}

textarea.validation + img {
  display: inline-block;
  position: absolute;
  margin: 0;
}

input[type=number] {
  -moz-appearance: textfield;
}

.input-group img {
  position: absolute;
  right: -20px;
}

@media (min-device-width : 320px) and (max-device-width : 480px) {
  .form-control {
    padding: 0.4rem 0.5rem;
  }
  .validation + img, .three-input-group img, img[alt="Error Indicator"] {
    height: 15px;
    width: auto;
  }
  .input-group img {
    position: absolute;
    right: -14px;
  }
}

@media only screen and (max-width: 700px) {
  /* Force table to not be like tables anymore */
  .stacked-table table,
.stacked-table thead,
.stacked-table tbody,
.stacked-table th,
.stacked-table td,
.stacked-table tr {
    display: block;
  }
  /*
	.stacked-table tbody {
        background-color: #d9d9d64d;
        color: black;
    }*/
  /* Hide table headers (but not display: none; for accessibility) */
  .stacked-table thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }
  .stacked-table tr {
    border: none;
  }
  .stacked-table td {
    /* Behave like a "row" */
    border: none;
    /*border-bottom: 1px solid #eee;*/
    position: relative;
    padding-left: 10%;
    white-space: normal;
    text-align: left;
  }
  .stacked-table th {
    font-weight: normal;
    text-align: center;
  }
  .stacked-table td:before {
    /* Now like a table header */
    position: absolute;
    /* Top/left values mimic padding */
    top: 6px;
    left: 6px;
    width: 45%;
    padding-right: 10px;
    white-space: nowrap;
    text-align: left;
    font-weight: bold;
  }
  /*
	Label the data
	*/
  .stacked-table td:before {
    content: attr(data-title);
  }
}

#stacked-table-th1, #stacked-table-th2 {
  font-weight: normal;
  text-align: center;
}

.sectionHeader {
  font-weight: bold;
  font-size: 100%;
  vertical-align: middle;
  color: #ffffff;
  text-indent: 2pt;
  font-family: Arial, Helvetica, sans-serif;
  height: 27px;
  background-color: #02748b;
  text-align: left;
}

.oddRow {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 100%;
  padding: 2px;
}

.datepicker td, .datepicker th {
  width: 2rem;
  height: 2rem;
  font-size: 0.95rem;
}

.nav-tabs > li > a {
  color: #02748b;
}

.page-item.active .page-link {
  background-color: #02748b;
  border-color: #02748b;
}

.progress {
  position: relative;
}

.progress span {
  position: absolute;
  display: block;
  width: 100%;
  color: #FFFFFF;
  font-size: medium;
}

.progress-bar {
  background-color: #02748b;
  border-color: #02748b;
}

#historyTable_wrapper {
  padding: 0;
}

@media only screen and (device-width: 768px) {
  #historyUserSelect {
    margin-top: 22px;
  }
  #historyUserSelectOnTab {
    margin-top: 20px;
  }
}

.scrollable-menu {
  height: auto;
  max-height: 200px;
  overflow-x: hidden;
}

.datepicker td, .datepicker th {
  width: 2rem;
  height: 2rem;
  font-size: 0.95rem;
}

[data-toggle="collapse"] .fa:before {
  content: "\f139";
}

[data-toggle="collapse"].collapsed .fa:before {
  content: "\f13a";
}

.tab-content {
  margin-top: -20px;
}

.nav-tabs > li > a {
  color: #02748b;
  font-size: 140%;
  text-decoration: none;
}

.table-fixed tbody {
  height: 300px;
  overflow-y: auto;
  width: 100%;
}

.table-fixed thead,
.table-fixed tbody,
.table-fixed tr,
.table-fixed td,
.table-fixed th {
  display: block;
}

.table-fixed tbody td,
.table-fixed tbody th,
.table-fixed thead > tr > th {
  float: left;
  position: relative;
}

.table-fixed tbody td::after,
.table-fixed tbody th::after,
.table-fixed thead > tr > th::after {
  content: '';
  clear: both;
  display: block;
}

.modal-content {
  width: 70%;
  margin-left: 20%;
}

table.dataTable {
  border-collapse: collapse !important;
}

.card-header {
  background-color: #02748b !important;
}

.card-header > a {
  color: #ffffff;
  font-size: 1.25rem;
}

.card-header > a:hover {
  color: #ffffff;
}

table.dataTable tbody tr:hover {
  background-color: #d4d8dc !important;
}

tr.highlighted td {
  background: #d4d8dc;
}

.tooltip-inner {
  background-color: #ffff89;
  color: #000000;
}

.tooltip.bs-tooltip-right .arrow:before {
  border-right-color: #ffff89 !important;
}

.tooltip.bs-tooltip-left .arrow:before {
  border-left-color: #ffff89 !important;
}

.tooltip.bs-tooltip-bottom .arrow:before {
  border-bottom-color: #ffff89 !important;
}

.tooltip.bs-tooltip-top .arrow:before {
  border-top-color: #ffff89 !important;
}

.fc-widget-header {
  background-color: #ccc !important;
}

.fc-highlight {
  background: #3333FF;
}

#blockedEvents {
  font-weight: bold;
}

#blockedAppointments {
  height: 100px;
  overflow: auto;
  border: 1px solid #dee2e6;
}

#timeFieldSet {
  overflow: scroll;
  overflow-x: hidden;
  overflow-y: scroll;
  font-weight: bold;
}

.page-item.active .page-link {
  background-color: #02748b;
  border-color: #02748b;
}

.dropdown-item:hover {
  background-color: #1e90ff !important;
  color: #ffffff !important;
}

.dropdown-item:focus {
  background-color: #1e90ff !important;
  color: #ffffff !important;
}

.tab-button:focus {
  border-color: #80bdff;
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.btn-secondary {
  color: #fff !important;
  background-color: #02748b !important;
  border-color: #02748b !important;
}

.btn-secondary:focus {
  color: #fff !important;
  background-color: #02748b !important;
  border-color: #02748b !important;
}

.bold-text {
  font-weight: 600;
}

.text-danger {
  color: #eb0000 !important;
}

#sidenav ul {
  list-style: none;
}

#main-content {
  flex-grow: 1;
  background-color: #EBECF0;
  padding: 2rem;
  overflow-x: hidden;
}

#main-content-static {
  background-color: #EBECF0;
  padding: 1rem;
}

h2, h3 {
  color: #0D5257;
}

i {
  color: #FFFFFF;
  cursor: pointer;
}

a {
  color: #02748b;
  text-decoration: underline;
}

#appealDropdownLink {
  color: black;
}

a:visited {
  color: #551a8b;
}

a:visited #testAppeal:visited {
  color: black;
}

.dynamicContent {
  color: #FFFFFF;
  margin-left: 10px;
  display: block;
  font-weight: 600;
}

.iconInline {
  display: inline;
}

nav ul #toggleMenu {
  list-style: none;
  padding: 10px;
  background-color: #8d3f2b;
}

.iconAlignment {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

nav ul #mainMenu {
  list-style: none;
  padding: 10px;
  background-color: #53565A;
}

.horizontalLine {
  margin-top: 1rem;
  border: 0;
  border-top: 1px solid #FFFFFF;
}

.horizontalLine.dark {
  border-top: 1px solid #D9D9D6;
}

.pagination .page-link {
  color: #02748b;
}

.pagination .page-link:visited {
  color: #551a8b;
}

.datepicker table tr td.new, .datepicker table tr td.old, .datepicker table tr td.disabled {
  color: #757575 !important;
}

@media (min-width: 768px) and (max-width: 991px), (min-device-width : 320px) and (max-device-width : 480px) {
  #main-content.nav-open {
    filter: brightness(50%);
  }
  #mainLeftNav {
    text-align: center;
  }
  #sidenav {
    background-color: #53565A;
    flex-direction: column;
    position: absolute;
    top: 0;
    bottom: 0;
    margin: 0 !important;
    outline: 0;
    transition: .3s;
    z-index: 1080;
    max-width: 3rem;
  }
  #collapseExample, #changePassword, #logOff, #collapseChangeAgent, #menuLabel {
    display: none;
  }
  #toggleMenu {
    display: block;
  }
  #main-content {
    padding: 1rem 1rem 1rem 4rem;
    margin: 0 auto;
  }
  #main-content-static {
    padding: 1rem;
  }
}

#mainMenuAndBody {
  min-height: calc(100vh - 60px - 85.25px);
  width: 100%;
  position: relative;
  margin: 0 auto;
}

.asterisk {
  color: red;
}

.modal.fade.show {
  z-index: 10000;
}

h1 {
  flex-grow: 1;
  color: #8d3f2b;
  font-size: 1.7rem;
}

.screen-main-header {
  display: flex;
  flex-direction: row;
  margin-top: 1rem;
}

.screen-main-header h1 {
  flex-grow: 1;
  color: #8d3f2b;
  font-size: 1.7rem;
}

.screen-main-header p {
  flex-shrink: 0;
  align-self: center;
  margin-bottom: 0;
}

.label-ml-2 {
  margin-left: 0.7rem !important;
}

.custom-ml-4 {
  margin-left: 2.5rem !important;
}

.custom-ml-1 {
  margin-left: 0.75rem !important;
}

.custom-col-3 {
  width: calc(25% - 9px) !important;
}

.custom-col-9 {
  width: calc(75% - 1px) !important;
}

span.comma::after {
  content: "\A";
  white-space: pre;
}

.select-border {
  border: 3px solid #ced4da;
}

@media (min-device-width : 320px) and (max-device-width : 480px) {
  .screen-main-header {
    flex-direction: column;
  }
  .screen-main-header p {
    align-self: start;
  }
  .footer, .page-wrap:after {
    height: 175px;
  }
  .footer .nav {
    display: block;
  }
  .footer {
    padding: 1rem;
  }
  #mainMenuAndBody {
    min-height: calc(100vh - 175px - 72.75px);
  }
}
