:root {
  --primary-color: #D12E1F;
  --secondary-color: #f79728;
  --link-color: #D12E1F;
  --dark-color: #003d54;
  --light-color: #f5f5f5;
  --white-color: #ffffff;
  --danger-color: #D12E1F;
  --warning-color: #D6B824;
  --success-color: #97A21B;
}

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

footer a {
  color: #ffffff;
  text-decoration: underline;
}

header {
  background-color: var(--dark-color);
  color: var(--light-color);
}
a {
  color: var(--link-color);
}
a p {
  font-style: italic;
}
.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: none;
  color: var(--light-color);
  background-color: var(--dark-color);
}
.btn-check:checked .btn, .btn.active, .btn.show, .btn:first-child:active, :not(.btn-check) .btn:active {
  border: none;
  color: var(--light-color);
  background-color: var(--dark-color);
}

.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;
  color: #003d54;
}

.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: none;
  color: var(--secondary-color);
  background-color: var(--dark-color);
}
.btn-collapse {
  font-size: large;
  color: #003d54;
  background-color: #F1F1F1;
}
.btn-dark {
  background-color: #347A8B;
  border: none;
}


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

/* End Buttons */

/* Navbar */
.navbar, .navbar-nav .nav-link {
  // It must be in here empty like this
}

.navbar, .navbar-nav .nav-link {
  background-color: white;
}


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

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

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

/* Nav Tabs */
.nav-tabs, .nav-link, .nav-link:hover{
  color: #347A8B;
}
.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;
}
/* Nav Tabs End */

/* Search */
input.search {
  background-color: var(--dark-color);
  border: none;
  color: white !important;
}

input.search:focus {
  
}

input.search::placeholder {
  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;
  }
}

.bottom-left {
  position: absolute;
  background-color: #003d54;
  color: #ffffff;
  width: 300px;
}
.bgimage {
  width:100%;
  /*height:500px;*/
  background: url("../../images/ks/kscourt-blue.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size:cover;
  background-attachment: fixed;
}
.bgimage h2 {
  color:white;
  text-shadow:2px 2px #333;
}

/* REGISTER */
.progress-item {
  color: #757575;
  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;
}

label {
  margin-bottom: 0.25rem;
}

legend {
  font-size: 1rem;
}

.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 */
.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;
  white-space: nowrap;
}

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

/*** 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: #147911;
  color: #ffffff;
  border-style: solid;
  border-color: #2e9060;
  padding: 5px 30px 5px;
  text-decoration: none;
}
.user-btn-success:hover, .user-btn-primary:hover {
  color: #ffffff;
}
.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,
.user-btn-browse:active {
  white-space: nowrap;
  background-color: darkblue;
  color: white;
  border: solid 1px transparent !important;
}
.user-btn-print {
  white-space: nowrap;
  border-color: #0d6efd;
  border-style: solid;
  background-color: white;
  color: #0d6efd;
}
.user-btn-print:hover,
.user-btn-print:active {
  white-space: nowrap;
  background-color: darkgrey;
  color: black;
  border: solid 1px transparent !important;
}


.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, button:active {
  color: white;
  background-color: #AC5B49;
}
.accordion-button:not(.collapsed) {
  background-color: #EBDAD5;
  color: black;
  box-shadow: #EBDAD5;
}

/* Popup Style */
.admin-popup-header {
  background-color: #333;
  padding:9px 17px;
  height:50px;
  font-size:24px;
  color:#fff;
}

.admin-popup .ap-title {
  font-size:16px;
  width:150px;
  min-width:120px;
}

.admin-popup-footer {
  background-color:#f5f5f5;
  border-top:solid 1px #DBDBDB;
  height:110px;
  padding-top: 5px;
  padding-left: calc(50% - 88px);
}

#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 li {
  padding: 6px 10px;
}

.navbar-nav .dropdown-menu li:hover {
  background-color: #f5f5f5;
}