/* Core styles */

p {
    font-size: 1.2rem;
}

.cursor-pointer {
    cursor: pointer;
}
.text-decoration-none:hover, .text-decoration-none:active {
    text-decoration: none !important;
}

.hidden, .is-hidden {
    display: none !important;
}

.w-auto {
    width: auto !important;
}

/* Core styles: Colors */

.bg-black {
    background-color: #000 !important;
    color: #fff;
}
.bg-portal-dark-blue {
    background-color: #002e5e !important;
    color: #fff;
}
.bg-portal-medium-blue {
    background-color: #00418a !important;
    color: #fff;
}
.bg-portal-faint-blue {
    background-color: #cbdcf7 !important;
}
.bg-portal-dark-green {
    background-color: #005c23 !important;
    color: #fff;
}
.bg-portal-medium-green {
    background-color: #008a35 !important;
    color: #fff;
}
.bg-portal-dark-red {
    background-color: #500b0b !important;
    color: #fff;
}
.bg-portal-medium-red {
    background-color: #8f1414 !important;
    color: #fff;
}

.border-black {
    border-color: #000 !important;
}
.border-portal-dark-blue {
    border-color: #002e5e !important;
}
.border-portal-medium-blue {
    border-color: #00418a !important;
}
.border-portal-faint-blue {
    border-color: #cbdcf7 !important;
}
.border-portal-dark-green {
    border-color: #005c23 !important;
}
.border-portal-medium-green {
    border-color: #008a35 !important;
}
.border-portal-dark-red {
    border-color: #500b0b !important;
}
.border-portal-medium-red {
    border-color: #8f1414 !important;
}

.text-white::before, .text-white::after {
    color: #fff !important;
}
.text-white-hover:hover, .text-white-hover:active, a.text-white-hover:hover, a.text-white-hover:active, .text-white-hover > a:hover, .text-white-hover > a:active {
    color: #fff;
}
.text-black, .text-black > a,
.text-black-hover:hover, .text-black-hover:active, a.text-black-hover:hover, a.text-black-hover:active, .text-black-hover > a:hover, .text-black-hover > a:active {
    color: #000 !important;
}
.text-portal-light-gray, .text-portal-light-gray > a,
.text-portal-light-gray-hover:hover, .text-portal-light-gray-hover:active, a.text-portal-light-gray-hover:hover, a.text-portal-light-gray-hover:active, .text-portal-light-gray-hover > a:hover, .text-portal-light-gray-hover > a:active {
    color: #ededee !important;
}
.text-portal-medium-greengray, .text-portal-medium-greengray > a,
.text-portal-medium-greengray-hover:hover, .text-portal-medium-greengray-hover:active, a.text-portal-medium-greengray-hover:hover, a.text-portal-medium-greengray-hover:active, .text-portal-medium-greengray-hover > a:hover, .text-portal-medium-greengray-hover > a:active {
    color: #b1b7b7 !important;
}
.text-portal-dark-blue, .text-portal-dark-blue > a,
.text-portal-dark-blue-hover:hover, .text-portal-dark-blue-hover:active, a.text-portal-dark-blue-hover:hover, a.text-portal-dark-blue-hover:active, .text-portal-dark-blue-hover > a:hover, .text-portal-dark-blue-hover > a:active {
    color: #002e5e !important;
}
.text-portal-medium-blue, .text-portal-medium-blue > a, 
.text-portal-medium-blue-hover:hover, .text-portal-medium-blue-hover:active, a.text-portal-medium-blue-hover:hover, a.text-portal-medium-blue-hover:active, .text-portal-medium-blue-hover > a:hover, .text-portal-medium-blue-hover > a:active {
    color: #00418a !important;
}
.text-portal-faint-blue, .text-portal-faint-blue > a,
.text-portal-faint-blue-hover:hover, .text-portal-faint-blue-hover:active, a.text-portal-faint-blue-hover:hover, a.text-portal-faint-blue-hover:active, .text-portal-faint-blue-hover > a:hover, .text-portal-faint-blue-hover > a:active {
    color: #cbdcf7 !important;
}
.text-portal-dark-green, .text-portal-dark-green > a,
.text-portal-dark-green-hover:hover, .text-portal-dark-green-hover:active, a.text-portal-dark-green-hover:hover, a.text-portal-dark-green-hover:active, .text-portal-dark-green-hover > a:hover, .text-portal-dark-green-hover > a:active {
    color: #005c23 !important;
}
.text-portal-dark-red, .text-portal-dark-red > a,
.text-portal-dark-red-hover:hover, .text-portal-dark-red-hover:active, a.text-portal-dark-red-hover:hover, a.text-portal-dark-red-hover:active, .text-portal-dark-red-hover > a:hover, .text-portal-dark-red-hover > a:active {
    color: #500b0b !important;
}
.text-portal-medium-red, .text-portal-medium-red > a,
.text-portal-medium-red-hover:hover, .text-portal-medium-red-hover:active, a.text-portal-medium-red-hover:hover, a.text-portal-medium-red-hover:active, .text-portal-medium-red-hover > a:hover, .text-portal-medium-red-hover > a:active {
    color: #8f1414 !important;
}
.text-portal-dark-magenta, .text-portal-dark-magenta > a,
.text-portal-dark-magenta-hover:hover, .text-portal-dark-magenta-hover:active, a.text-portal-dark-magenta-hover:hover, a.text-portal-dark-magenta-hover:active, .text-portal-dark-magenta-hover > a:hover, .text-portal-dark-magenta-hover > a:active {
    color: #631131 !important;
}
.text-portal-medium-magenta, .text-portal-medium-magenta > a,
.text-portal-medium-magenta-hover:hover, .text-portal-medium-magenta-hover:active, a.text-portal-medium-magenta-hover:hover, a.text-portal-medium-magenta-hover:active, .text-portal-medium-magenta-hover > a:hover, .text-portal-medium-magenta-hover > a:active {
    color: #891843 !important;
}
.text-portal-light-magenta, .text-portal-light-magenta > a,
.text-portal-light-magenta-hover:hover, .text-portal-light-magenta-hover:active, a.text-portal-light-magenta-hover:hover, a.text-portal-light-magenta-hover:active, .text-portal-light-magenta-hover > a:hover, .text-portal-light-magenta-hover > a:active {
    color: #d08fa8 !important;
}
.text-portal-faint-magenta, .text-portal-faint-magenta > a,
.text-portal-faint-magenta-hover:hover, .text-portal-faint-magenta-hover:active, a.text-portal-faint-magenta-hover:hover, a.text-portal-faint-magenta-hover:active, .text-portal-faint-magenta-hover > a:hover, .text-portal-faint-magenta-hover > a:active {
    color: #e1c5d0 !important;
}
.text-portal-green-gray, .text-portal-green-gray > a,
.text-portal-green-gray-hover:hover, .text-portal-green-gray-hover:active, a.text-portal-green-gray-hover:hover, a.text-portal-green-gray-hover:active, .text-portal-green-gray-hover > a:hover, .text-portal-green-gray-hover > a:active {
    color: #b1b7b7 !important;
}

/* Core styles: Form styling */

form > a {
    display: block;
    margin-top: 1rem;
}
form .form-hide {
    display: none;
}
form .form-results-container {
    border-top: 0.2rem solid #007bff;
}
form .form-results-template {
    display: none !important;
}
form fieldset a {
    white-space: nowrap;
}

input, input.form-control, select, select.form-control, textarea {
    padding: 0.3rem 0.5rem;
    margin-bottom: 0.5rem;
    border: 1px solid #002e5e;
    border-radius: 0.3rem;
    outline: none;
}
label {
    border-radius: 0.3rem;
}
input {
    position: relative;
    width: 100%;
}
input[type="radio"] {
    width: auto;
}
.input-group-prepend + input.form-control {
    border-left: none;
}
.input-group-text {
    border: 1px solid #002e5e;
}

/* Core styles: Input checkbox styling */

input[type="checkbox"] {
    width: auto;
}
input[type="checkbox"]:not(:checked), input[type="checkbox"]:checked {
    position: absolute;
    left: -9999px;
}
input[type="checkbox"]:not(:checked) + label, input[type="checkbox"]:checked + label {
    position: relative;
    padding-left: 2rem;
    cursor: pointer;
}

input[type="checkbox"]:not(:checked) + label:before, input[type="checkbox"]:checked + label:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 1.5rem;
    height: 1.5rem;
    border: 1px solid #002e5e;
    background: #fff;
    border-radius: 0.3rem;
}
input[type="checkbox"]:not(:checked) + label:after, input[type="checkbox"]:checked + label:after {
    content: '\2713\0020';
    position: absolute;
    top: 0.15em;
    left: 0.25rem;
    font-size: 1.3rem;
    line-height: 1rem;
    color: #007bff;
    transition: all .2s;
    font-family: 'Lucida Sans Unicode', 'Arial Unicode MS', Arial;
    font-weight: bold;
}
input[type="checkbox"]:not(:checked) + label:after {
    opacity: 0;
    transform: scale(0);
}
input[type="checkbox"]:checked + label:after {
    opacity: 1;
    transform: scale(1);
}
input[type="checkbox"]:disabled:not(:checked) + label:before, input[type="checkbox"]:disabled:checked + label:before {
    box-shadow: none;
    border-color: #b4cbed;
    background-color: #b4cbed;
}
input[type="checkbox"]:disabled:checked + label:after {
    color: #002e5e;
}
input[type="checkbox"]:disabled + label {
    color: #002e5e;
}
input[type="checkbox"]:checked:focus + label:before, [type="checkbox"]:not(:checked):focus + label:before {
    border: 0.2rem dotted #002e5e;
}
label:hover:before {
    border: 0.2rem solid #002e5e !important;
}

textarea:focus,
input[type="text"]:focus,
input[type="password"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="time"]:focus,
input[type="week"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="color"]:focus,
.uneditable-input:focus {   
  border-color: rgba(82, 168, 236, 0.8);
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(82, 168, 236, 0.8);
  outline: 0 none;
}

form .esignature {
    font-family: 'Caveat', cursive;
    font-size: 1.5rem;
}

/* Site layout */

.overall-content-container {
    margin: 0 auto;
    border-bottom-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
    box-shadow: 0rem 0rem 0.2rem 0.2rem #b4cbed;
}

.content-container-limitwidth {
    max-width: 1200px !important;
    margin-left: auto;
    margin-right: auto;
}

/* Site layout and styling: Header */

.header-content-container {
    border-bottom: 0.4rem solid #007bff;
}

.navbar-brand {
    margin-top: -0.8rem;
    font-size: 2rem;
    line-height: 2rem;
}
.navbar-brand img {
    height: 2rem;
}

.header-content-container a.nav-item, .header-content-container .nav-item a {
    border-bottom: 0.4rem solid #002e5e;
}
.header-content-container a.nav-item:hover, .header-content-container a.nav-item:active, .header-content-container a.nav-item.active,
.header-content-container .nav-item a:hover, .header-content-container .nav-item a:active, .header-content-container .nav-item.active a {
    border-bottom: 0.4rem solid #fff;
}

/* Site layout and styling: Body */

.body-content-display-sets, .table-data {
    display: none !important;
}

.bordered-column-content {
    height: 100%;
    border: 1px solid #002e5e;
    border-radius: 0.5rem;
    overflow: hidden;
}

.bordered-column-body.two-tone {
    border-top: 3.5rem solid #007bff;
}
.bordered-column-body.two-tone-green {
    border-top: 3.5rem solid #008a35 !important;
}
.bordered-column-body.two-tone-red {
    border-top: 3.5rem solid #8f1414 !important;
}
.body-intro-icon, .body-intro-icon a, .body-intro-icon a:hover, .body-intro-icon a:active, .body-intro-icon a:visited {
    font-size: 12rem;
    line-height: 12rem;
    text-decoration: none;
}
.bordered-column-body.two-tone .body-intro-icon {
    margin-top: -5rem;
    margin-bottom: 1rem;
}

/* Site layout and styling: Footer */

.footer-content-container {
    border-top: 0.2rem solid #007bff;
    border-bottom-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
}
