:root {
  --primary-color: #0d1747;
  --secondary-color: #c40000;
  --link-color: #AC5B49;
  --dark-color: #252731;
  --light-color: #FBFAF8;
  --white-color: #ffffff;
  --danger-color: #A2261B;
  --warning-color: #D6B824;
  --success-color: #97A21B;
}

footer {
  margin: 0 !important;
  padding: 0 !important;
}

footer a {
    color: var(--light-color);
    text-decoration: none;
}

header {
  background-color:#0d1747;
  color: var(--light-color);
  min-height: 156px;
}

a {
  color: var(--secondary-color);
}
.bg-primary {
  background-color: var(--secondary-color) !important;
}
.bg-secondary {
  background-color: #8D9C9D;
}
/* Buttons */
.btn-secondary-light {
  background-color: #EBDAD5;
  color: var(--dark-color) !important ;
}
.btn-secondary-light:hover {
  background-color: var(--secondary-color);
  color: var(--light-color) !important ;
}

.btn-light button{
  border-color: #001226;
  border: #001226;
}
/* Button Primary */
.btn-primary,
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:focus-visible,
.btn-primary:active,
.btn-primary:visited {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
}

.btn-outline-primary,
.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:focus-visible,
.btn-outline-primary:active,
.btn-outline-primary:visited {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background-color: var(--dark-color);
}

/* Button Primary */
.btn-secondary,
.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:focus-visible,
.btn-secondary:active,
.btn-secondary:visited {
  background-color: var(--secondary-color) !important;
  border-color: var(--secondary-color) !important;
}

.btn-outline-secondary,
.btn-outline-secondary:hover,
.btn-outline-secondary:focus,
.btn-outline-secondary:focus-visible,
.btn-outline-secondary:active,
.btn-outline-secondary:visited {
  border-color: var(--secondary-color);
  color: var(--secondary-color);
  background-color: var(--dark-color);
}

// add btn-secondary with same propersites as primary

.btn:hover {
  filter: brightness(0.9) !important;
}

/* End Buttons */

/* Navbar */
.navbar, .navbar-nav .nav-link {
  font-weight: bold;
}

li.nav-item {
  position: relative;
}
.nav-link {
  border-radius: 5px;
  margin: 0px 10px;
}
button .nav-item{
  color: #A2261B;
}
.navbar, .navbar-nav .nav-link:hover {
  color: #ffffff !important;
}

.nav-pills .nav-link {
  border-radius: 0;
  color: #757575;
  background-color: #EEEEEE;
  padding: 1rem;
}

.nav-pills .nav-link:hover {
  color: #001226;
  transition: color 0.3s ease;
  background-color: #E0E0E0;
}

.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
  background-color: #E0E0E0;
  border-left: 5px solid #001226;
  color: #001226;
  transition: border-left 0.3s linear;
  padding: 1rem;
}

.seal {
  width: 7rem;
  display: block;
}

.navbar-toggler {
  border: none;
  background-color: var(--light-color);
}

.login {
  width: 16rem;
}
/* End Navbar */

/* Search */
input.search {
}

input.search:focus {

}

input.search::placeholder {
  color: black;
  opacity: 0.5;
}

.btn-search {
  background-color: transparent;
  border: none;
}

.btn-search:hover {
  background-color: transparent;
  border: none;
}

.search:focus,
.btn-search:focus-visible {
  background-color: transparent;
  border: none;
  box-shadow: none;
}
/* End Search */

footer {
  background-color: var(--primary-color);
  color: var(--light-color);
  font-size: 0.8rem;
}

@media (max-width: 768px) {
  .border-sm-0 {
      border:none !important;
  }
  .approw img {
      display: none;
  }
}

/* REGISTER */

.progress-item {
  color: #9E9E9E;
  line-height: 1;
}

.progress-no {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 3px solid #BDBDBD;
  margin-right: 0.5rem;
}

.progress-vert-line {
  width: 3px;
  height: 30px;
  background-color: #BDBDBD;
  margin-left: 13px;
}

.progress-item.active .progress-no {
  border: 3px solid #001226;
  color: #001226;
}

.progress-item.active .progress-text,
.progress-item.done .progress-text {
  color: #001226;
}

.progress-item.done .progress-no {
  border: 3px solid #001226;
  background-color: #001226;
  color: #fff;
}

.progress-item.done .progress-vert-line {
  background-color: #001226;
}

/* Form Start */
/* Bootstrap 5 Float update */
.pull-right
{float: right;}
.pull-left
{float: left;}

.form-col-narrow {
  background: #f1f1f1;
  padding: 15px;
  min-height: 440px;
  margin-top: 1rem;
}

.form-col-narrow .link-list {
  padding: 5px 0;
  border-top: 1px dotted #999;
}

.form-col-narrow .link-list a {
  text-decoration: none;
}

.form-col-narrow .link-list .selected {
  font-weight: bold;
  color: #444;
}

.form-col-narrow .link-sub {
  margin-left: 10px;
  padding: 3px 0;
  display: block;
}

.form-col-narrow .link-sub-sub {
  margin-left: 10px;
  padding: 3px 0;
  display: block;
}

.form-col-narrow .selected {
  font-weight: bold;
  color: #444;
}

.form-input {
  max-width: 300px;
}

.qControl textarea {
  min-width: 300px;
}

.missing {
  max-width: 260px;
}

.input-day {
  width: 70px;
  margin-right: 10px;
}

.input-month {
  width: 125px;
  margin-right: 10px;
}

.input-year {
  width: 90px;
}

table.radiotable td{
  padding: .75rem;
  vertical-align: top;
  border-top: 1px solid #dee2e6
}

table.form-table td {
  display: table-cell;
  vertical-align: middle;
}

/* Form End */

/***** Tpl Start *******/
.form-table {
  margin-bottom: 0px;
}

.form-table .qNum {
  width: 40px;
}

.form-table .not-required {
  max-width: 260px;
}

.form-table .required {
  font-weight: bold;
  max-width: 260px;
}

/* SPECIAL CONTROLS */
.form-table .zipControl {
  width: 100px;
}


/* RADIO STYLES */

.form-table .radiocontrol {
  text-align: right;
  padding-left: 10px;
  width: 50px;
}

.form-table .radiotable {
  border: none;
  text-align: right;
  width: 50px;
}

.form-table .radioshell {
  text-align: right;
  width: 50px;
  border: none;
}

.form-table .radiotd {
  padding-top: 0px;
  padding-bottom: 0px;
  text-align: right;
  vertical-align: middle;
  width: 25px;
  border: none;
  cursor: pointer;
}

.radiocontrol table.radiotable .radioshell:nth-child(2) {
  //padding: 0px 10px 0px 10px;
}
.form-table .radiotd:nth-child(2) input {
  margin-top: 6px;
}

.form-table .missing {
  font-weight: bold;
  color: 	#E64A19;
}

.form-table .noteControl {
  font-style: italic;
}

.form-table .warningControl {
  font-style: italic;
  font-weight: bold;
  color: #FF5100;
}

.form-table .noticeControl {
  min-width: 100%;
  height: 100px
}

table.radio-separate .radiotable {
  width: 150px;
}

/*** Tpl End ***/

/*** ADD USER HOME TABS CSS INFO BELOW ***/

.nav-tab:hover a{
  color: #8A94A4;
}
.nav-tabs .nav-link {
  border-color: white;
}
.user-btn-primary {
  color: white;
  background-color: #B63B43;
  border-color: #B63B43;
  border-style: solid;
  border-color: #9b2e35;
  padding: 5px 30px 5px;
  text-decoration: none;
}
.user-btn-secondary {
  background-color: white;
  color: #B63B43;
  border-style: solid;
  border-color: #B63B43;
  padding: 5px 30px 5px;
  text-decoration: none;
}
.user-btn-success {
  background-color: #19ac14;
  color: #ffffff;
  border-style: solid;
  border-color: #2e9060;
  padding: 5px 30px 5px;
  text-decoration: none;
}
.nav-tab .nav-link {
  margin-bottom: 0;
  border-color: white;
  color: #3B485B;
  background-color: white;
}
.nav-tab .nav-link.active{
  margin-bottom: 0;
  color: white;
  background-color: #3B485B;
}
.nav-tabs .nav-link:hover {
  border-color: white;
}
/*
ul.nav {
    width: max-content;
    background-color: white;
    border: solid 2px #3b485B!important;
} */

.user-btn-browse{
  white-space: nowrap;
  background-color: #0d6efd;
  color: white;
  border-style: solid;
  border-color: #0d6efd;
}
.user-btn-browse:hover {
  white-space: nowrap;
  background-color: darkblue;
  color: white;
}

.user-btn-print {
  white-space: nowrap;
  border-color: #0d6efd;
  border-style: solid;
  background-color: white;
  color: #0d6efd;
}
.user-btn-print:hover {
  white-space: nowrap;
  background-color: darkgrey;
  color: black;
  border-style: none;
}


.forms-progress .col-icon {
  width:25px;
  height:25px;
}

.forms-progress ul {
  list-style-type: none;
}

.forms-progress ul li {
  /* border-bottom: solid 1px #ececec; */
}

.messages tr td a {
  color: inherit;
}

.messages tr td a:hover {
  color: inherit;
  text-decoration: underline;
}

.form-table .descControl span {
    display: block;
    text-indent: 30px;
}

/* FAQs */
.faq-nav button {
    text-align: start;
    color: #9b2e35;
    transition: all 0.3s ease;
}

.faq-nav button:hover {
    text-align: start;
    color: white;
    background-color: #AC5B49;
}

.faq-nav button:focus,
.faq-nav button:active,
.faq-nav button.active {
    color: white;
    background-color: #AC5B49;
}

.accordion-button {
    background-color: #f5f5f5;
}

.accordion-button:not(.collapsed) {
    background-color: #E0E0E0;
    color: black;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
}

.register-error-message {
  display: block;
  margin-top: 0.25rem;
  font-size: 14px;
  line-height: 1em;
}
.register-error-message {
  color: #DC3545 !important;
}

/* Logout message */

#message {
  font-family: Arial, Helvetica, sans-serif;
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  z-index: 20;
  text-align: center;
  font-weight: bold;
  font-size: 100%;
  color: white;
  padding: 10px 0px 10px 0px;
  background-color: #8E1609;
}

#message span {
  text-align: center;
  width: 95%;
  float: left;
}

#message a {
  color: #fff;
}

#message a:hover {
  color: #fff;
  text-decoration: underline;
}

.close-notify {
  white-space: nowrap;
  float: right;
  margin-right: 10px;
  color: #fff;
  text-decoration: none;
  border: 2px #fff solid;
  padding-left: 3px;
  padding-right: 3px;
}

.close-notify a {
  color: #fff;
}