:root {
    --brand-color: #013755;
}

html {
    position: relative;
    min-height: 100%;
}

.navbar {
    background-color: var(--brand-color);
}

#footer {
    max-width: unset !important;
}

body.footer-fixed {
    margin-bottom: 130px !important; /* fixed footer */
}

#footer-wrapper.footer-fixed {
    position: absolute !important; /* fixed footer */
    bottom: 0;
    width: 100%;
    height: 130px
}

.dkms-btn {
    letter-spacing: 0.5px;
    overflow: hidden;
    text-decoration: none !important;
    text-overflow: ellipsis;
    text-transform: uppercase;
    display: inline-block;
    /*font-weight: 700;*/
    color: #000;
    text-align: center;
    vertical-align: middle;
    background-color: transparent;
    border: 1px solid #e2001a;
    padding: 8px 13px;
    font-size: 10px;
    line-height: 8px;
    border-radius: 144px;
    font-family: Gotham Rounded,sans-serif;
    transition: transform .1s ease-in-out,color .1s ease-in-out,background-color .1s ease-in-out,border-color .1s ease-in-out,box-shadow .1s ease-in-out;
}

.dkms-btn:hover {
    background-color: #e2001a;
    color: #fff;
}

.dkms-btn.active {
    background-color: #e2001a; /*#8c8c96*/
    border-color: #e2001a; /*#8c8c96*/
    color: #fff;
}

.btn-primary {
    background-color: var(--brand-color);
    border-color: var(--brand-color);
}

.svg-icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    fill: currentColor
}

.menu a, .menu a:link {
    text-decoration: none;
}

.menu a:hover {
    text-decoration: underline;
}

.menu-icon {
    display: inline-block;
}

.menu-text {
    display: none;
}

@media (min-width: 450px)
{
    .menu-icon {
        display: none;
    }

    .menu-text {
        display: inline-block;
    }
}

.required label:not(.error)::after {
    content: " *";
    color: red;
}

.required label.one-of:not(.error)::after {
    content: " (*)";
    color: orange;
}

.hint_mandatory::before {
    content: "* ";
    color: red;
}

/** Some custom styles (HACKs) **/
#head-line {
    font-weight: bold;
    text-transform: uppercase;
}

/* Keep the logo approx. the same size */
#header #logo img {
    max-width: 100%;
    max-height: 60px;
}

@media (min-width: 59.9865em) {
    #header #logo img {
        max-width: 100%;
        max-height: 80px;
    }
}

h1.title-reversed {
    padding-top: 1em;
    padding-bottom: 0;
    line-height: 100%;
    word-wrap: break-word;
    text-align: center;
}

/** Copied from Bootstrap 4.4 */
.alert {
    position: relative;
    padding: .75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: .25rem;
}

.alert-primary {
    color: #004085;
    background-color: #cce5ff;
    border-color: #b8daff;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.alert-warning {
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeeba;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

/** Spinning icon as waiting/loading animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loader {
    border-width: 16px;
    border-style: solid;
    border-color: #fff #fff #fff transparent;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
    display: inline-block;
}

.loader-xs {
    border-width: 3px 3px 3px;
    border-radius: 50%;
    width: 20px;
    height: 20px;
}

/** UI for disabled buttons */
button[disabled] {
    opacity: 0.4;
}

/* Classes for the questionnaire view */
.page {
    padding: 2em;
}
.page.review {
    padding: 0;
}

.app-save-button-top {
    margin-top: 0.5em;
    position: relative;
    z-index: 1;
}

.app-save-button .button-save {
    font-size: 20px;
    padding: 4px 0px;
}

.question-review {
    display: none;
    padding: 1em 2em;
    font-weight: bold;
}

.questionnaire-overview .question-review
{
    display: block;
}

.button-edit {
    display: none;
    position: relative;
    float: right;
    z-index: 1;
}

.questionnaire-overview .button-edit {
    display: block;
}

.subquestion-container {
    position: relative;
    margin-bottom: 1em;
}

.subquestion-level-0 {
    margin-left: 0em;
}

.subquestion-level-1 {
    margin-left: 0em;
}

.subquestion-level-2 {
    margin-left: 2em;
}

.subquestion-level-3 {
    margin-left: 4em;
}

.subquestion-level-4 {
    margin-left: 6em;
}

.subquestion-level-5 {
    margin-left: 8em;
}

.subquestion-level-6 {
    margin-left: 10em;
}

.subquestion-description {
    /*display: inline-block;*/
    margin-bottom: 0;
}

.subquestion-input input[type="radio"] {
    margin-right: 0.6em;
}

.subquestion-input-checkbox {
    position: relative;
    padding-left: 1.6em;
}

.subquestion-input-checkbox .subquestion-input {
    position: absolute;
    top: 0;
    margin-left: -1.6em;
}

.subquestion-input input[type="checkbox"] {
    margin-top: 0.15em;
}

button[disabled],
input[disabled],
select[disabled],
select[disabled] option,
select[disabled] optgroup,
textarea[disabled] {
    cursor: not-allowed !important; /* important, otherwise it is overwritten by another style! */
}

.frabo-status .svg-icon {
    height: 21px;
    width: 21px;
    float: right;
    margin-top: 1px;
    margin-left: 6px;
}

.text-red {
    color: #e2001a;
}

.text-green {
    color: #73b534;
}