:root {
  --primary-color: #df3626;
  --secondary-color: #f79728;
  --link-color: #df3626;
  --dark-color: #09555D;
  --light-color: #f5f5f5;
  --white-color: #ffffff;
  --danger-color: #df3626;
  --warning-color: #D6B824;
  --success-color: #97A21B;
}

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

header {
  background-color: var(--dark-color);
  color: var(--light-color);
}
header h1, h2{
  font-family:serif;
}
a {
  color: var(--link-color);
}
a#search {
  color: #ffffff;
}

.bg-primary{
  background-color: var(--primary-color) !important;
  color: var(--light-color) !important;
}

/* Buttons */

/* 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;
  color: var(--light-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(--light-color);
  color: var(--light-color);
  background-color: var(--dark-color);
}
.btn-dark,
.btn-dark:hover,
.btn-dark:focus,
.btn-dark:focus-visible,
.btn-dark:active,
.btn-dark:visited {
  background-color: var(--dark-color) !important;
  border: none;
  color: var(--light-color) !important;
}

.btn-light-blue{
  background-color: #BDDEE8;
  color: var(--dark-color);
}
.bg-blue{
  background-color: #347A8B;
  color: var(--light-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 {
  // It must be in here empty like this
}
.nav-item {
  background-color: #003D54;
}

.navbar, .navbar-nav .nav-link {
  background-color: #003D54;
  color: #ffffff;
}

.nav-link.active {
  background-color: var(--white-color);
  color: var(--dark-color);
}

.nav-link-tab.active {
  background-color: var(--dark-color);
  color: white;
  padding-block: 3px;
  padding-inline: 25px;
  text-decoration: none;
}
.nav-link-tab {
  padding: 4px 15px;
  color: #18AD15;
  background-color: #0a58ca;
  border-radius: 5px;
  margin: 0px 10px;
  text-decoration: none;
}

.text-center ul.nav {
  background-color: white;
}

.navbar-collapse ul.navbar-nav {
  //background-color: var(--dark-color);
  border: none !important;
}

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

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

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

/* Search */
input.search {
  background-color: transparent;
  border: none;
  color: white !important;
}

input.search:focus {
  
}

input.search::placeholder {
  background-color: transparent;
  color: white;
  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(--dark-color);
  color: var(--light-color);
  font-size: 0.8rem;
}

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


/* REGISTER */

Register **/ 
.progress-item {
  color: #9E9E9E;
  line-height: 1;
}
.btn-register, .btn-register:hover {
  background-color: #E2B83F;
  color: #001226;
}

.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;
}

label {
  margin-bottom: 0.25rem;
}

.register-tab-content-container {
  padding: 0 0 0 2rem;
  min-height: 680px;
}


.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;
}

a.nav-item.nav-link.dropdown-toggle {
  color: #ffffff;
}

.nav-link:not(:last-child) {
  margin-bottom: 1px;
}

.tab-action-buttons {
  margin-top: 1rem;
}

.register-input-height {
  height: 100px;
}

.register-checkbox-height {
  height: 38px;
}

.register-error-input {
  border: 1px solid #DC3545;
}

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

/* register end */

/* Form Start */
/* Bootstrap 5 Float update */

.content-left form select.custom,
input.form-control,
select.form-control,
textarea.form-control {
  border-color: #003D54 !important;
}

.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 .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: 500;
  padding: 6px 18px;
  border-radius: 4px;
  color: #664d03;
  background-color: #fff3cd;
  display: block;
}

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

/*** 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: #003d54;
  background-color: white;
}
.nav-tab .nav-link.active{
  margin-bottom: 0;
  color: white;
  background-color: #003d54;
}
.nav-tabs .nav-link:hover {
  border-color: white;
}

.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;
}


.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;
}


  /* TIMELINE CSS */

.timeline-container {
  height: 4rem;
}

.timeline-container .date-box-container {
  color: #6c757d;
}

.timeline-container .main-border {
  height: 1.5rem;
  background-color: #e9ecef;
  font-size: .7rem;
  position: relative;
}

.timeline-container .main-border .today {
  z-index: 1;
  height: 100%;
  width: .2rem;
  background-color: #0d6efd;
  position: absolute;
}

.timeline-container  .deadline-1 {
  opacity: .7;
  z-index: 1;
  color: #0a58ca;
  height: 100%;
  background-color: #61AAFF;
  position: absolute;
}

.timeline-container  .deadline-2 {
  color: #9DA6AA;
  height: 100%;
  background-color: #9DA6AA;
  position: absolute;
}

.timeline-container  .deadline-3 {
  color: #18AD15;
  height: 100%;
  background-color: #18AD15;
  position: absolute;
}

  /* FAQs */

  .faq-nav button {
    text-align: start;
    color: #9b2e35;
  }
  .faq-nav button:hover {
    text-align: start;
    color: white;
    background-color: #AC5B49;
  }
  .faq-nav button:focus, .faq-nav button:active {
    text-align: start;
    color: white;
    background-color: #AC5B49;
  }
.faq-nav button, .faq-container button {
  font-family: Roboto, sans-serif !important;
}

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

#message {
    font-family: Arial,Helvetica,sans-serif;
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    z-index: 105;
    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;
}
.staging-alert {
  height: 3vh;
  padding: 1rem;
  background-color: #FBC02D;
  letter-spacing: 2px;
}

:where(.descControl) h2 {
  font-size: 1.5rem;
  font-weight: bold;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 2.6rem;
  line-height: 2.4rem;
}

:where(.descControl) div div strong:first-child {
  text-decoration: underline;
}

.navbar-nav .dropdown-menu .nav-item {
  background-color: #ffffff;
  padding: 3px 0px;
}

.navbar-nav .dropdown-menu .nav-item a {
  width: 100%;
  padding: 3px 10px;
  color: #212121;
  text-decoration: none;
}

.navbar-nav .show>.nav-link {
  color: #ffffff !important;
}