html {
  font-size: 16px;
}

@media (min-width: 768px) {
  html {
    font-size: 18px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

/******************************* MCTS DEFAULT STYLING *******************************/
.bg-primary {
    background-color: #1A428A !important;
}

.btn-primary {
    background-color: #1A428A !important;
    min-height: 44px;
}

.text-primary {
    color: #1A428A !important;
}

.required:after {
    content: "*";
    color: #721D1D;
}

.mcts-logo {
    width: 400px;
}

/*Show red border on invalid input*/
.input-validation-error {
    border-color: #721D1D !important;
}

.form-group span {
    font-size: 80%;
}

/******************************* HIDE BROWSER NUMBER ARROWS FOR NUMBER INPUT *******************************/
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    display: none;
    margin: 0;
    -webkit-appearance: none;
}

input[type="number"] {
    -moz-appearance: textfield;
}

.mcts-link:focus {
    background-color: #1A428A !important;
    color: white;
}

.mcts-link:focus-visible {
    outline-color: lime !important;
}

.mcts-link:hover {
    background-color: #4f86e8 !important;
    color: white;
}

.form-group:has(.input-validation-error) {
    background-color: #ffc0cb;
}

.form-select {
    background-color: #ffffff;
    color: #000000;
}

select.form-select option {
    background-color: #ffffff;
    color: #000000;
}

select.form-select option[value=""] {
    background-color: #ffffff;
    color: #000000;
}

input,
select,
textarea {
    border: 1px solid #000000 !important;
}

.text-danger {
    color: #721D1D !important;
}
