*, ::after, ::before {
    box-sizing: border-box;
}
body {
    background-color: #F8F8F8;
    color: #333;
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    line-height: 20px;
}
input[type=text] {
    box-sizing: border-box;
}
textarea {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

.is-loading {
    display: none;
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 10;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.5);
}
.is-loading img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 32px;
    height: 32px;
    margin-top: -16px;
    margin-left: -16px;
}
.hidden {
    display: none;
}
.mobile-only {
    display: none;
}

.clearfix::after {
    content: "";
    clear: both;
    display: table;
}
.clear-top-margin {
    margin-top: 0!important;
}
.no-padding {
    padding: 0!important;
}

.badge {
    display: inline-block;
    height: 18px;
    line-height: 14px;
    font-size: 11px;
    padding: 2px 4px;
    border: 0;
    margin: auto 2px;
    vertical-align: text-top;
    border-radius: 3px;
    color: white;
}
.badge-orange {
    background-color: rgba(245, 138, 7, .9);
}
.badge-green {
    background-color: rgba(0, 179, 40, .8);
}
.badge-blue-dark {
    background-color: rgba(36, 79, 147, .7);
}
.badge-red {
    background-color: rgba(214, 11, 11, .7);
}
.badge-purple {
    background-color: rgba(144, 0, 179, .8);
}
.badge-pink {
    background-color: rgba(255, 20, 147, .7);
}

/* Link styles */
a:link, a:visited, a:hover {
    color: #333;
}
a:active {
    color: #005073;
}

.width-300 {
    width: 300px;
}
.maxwidth-520 {
    width: 520px;
}
.maxwidth-600 {
    max-width: 600px;
}
.maxwidth-750 {
    max-width: 750px;
}

/* Text format */
.text-right {
    text-align: right!important;
}
.center {
    text-align: center!important;
}
.top-zero {
    margin-top: 0!important;
}
.top-half-rem {
    margin-top: .5rem!important;
}
.top-1rem {
    margin-top: 1rem!important;
}
.top-2rem {
    margin-top: 2rem!important;
}
.top-3rem {
    margin-top: 3rem!important;
}
.bold {
    font-weight: bold;
}
.text-larger {
    font-size: larger;
}
.nowrap {
    white-space: nowrap!important;
}

.message-warn {
    color: #d82424;
}
.message-good {
    color: blue;
}
.alert {
    color: #856404;
    background-color: #fff3cd;
    border-color: #fff3cd;
    position: relative;
    padding: .75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: .25rem;
}
.alert p {
    margin: 0 0 .8rem 0;
}
.alert p:first-child {
    margin-top: 0;
}
.alert p:last-child {
    margin-bottom: 0;
}
.alert-green {
    color: #073D01;
    background-color: #DBF8D7;
}

.show-linebreaks {
    white-space: pre-wrap;
    line-height: 1rem;
}

.far, .fas {
    cursor: pointer;
}
.default-cursor {
    cursor: inherit!important;
}

.header-background {
    background-color: #244F93;
    padding: 10px 0px 6px 0px;
    margin: 10px 0px 20px 0px;
}

/* Button styles */
button {
    border-radius: 6px;
    padding: 10px 24px;
    font-size: 15px;
}
button:hover {
    cursor: pointer;
}
button.minimal {
    border-radius: 0;
    padding: 2px 6px;
    font-size: .8rem;
    margin: 0 .2rem;
}
.btn-dark {
    background-color: #153B76;
    color: #f9f9f9;
    border: 2px solid #41649C;
}
.btn-dark:hover {
    background-color: #13376c;
}
.btn-generic {
    background-color: #d9d9d9;
    border: 2px solid #b3b3b3;
}
.btn-generic:hover {
    background-color: #cccccc;
}
.btn-pale {
    background: transparent;
    color: #153B76;
    border: 2px solid #6182B6;
}
.btn-pale:hover {
    background-color: #C0D1EC;
    border: 2px solid #6182B6;
}
.btn-small {
    padding: 6px 16px;
}
.btn-tiny {
    border-width: 1px!important;
    border-radius: 4px!important;
    padding: 1px 4px!important;
    font-size: .8rem!important;
    vertical-align: top;
}

/* Colors */
.bg-blue {
    background-color: #244f93;
    color: #f9f9f9;
}
.bg-blue-pale {
    background-color: #dae2ed;
}
.bg-blue-palest {
    background-color: #F2F5F9;
}
.bg-highlight {
    background-color: rgba(255, 250, 0, .5)!important;
}
.color-red {
    border-color: red!important;
    color: red!important;
}
.color-orange {
    border-color: #E84522!important;
    color: #E84522!important;
}
.color-orange:hover {
    background-color: rgba(238, 120, 93, .2)!important;
}

.cursor-pointer {
    cursor: pointer;
}

/* Help bubble */
.help-box-float-active {
    position: absolute;
    width: 240px;
    background-color: white;
    border: solid 1px #1a1a1a;
    box-shadow: 2px 2px 1px #b3b3b3;
    padding: .5rem .8rem;
}

@media only screen and (max-width: 600px) {
    .mobile-only {
        display: initial;
    }
    .mobile-hide {
        display: none;
    }
}
