body {
    font-family: Verdana, serif;
    font-size: 1em;
    margin: 0;
    padding: 0;
}

* {
    box-sizing: border-box;
}

:root {
    --max-footer-height: 50px;
    --max-header-height: 50px;
}

.waqad__header {
    height: var(--max-header-height);
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-align-content: center;
    align-content: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;

    background: #efefef none;
}

.waqad__header-inner {
    -webkit-order: 0;
    -ms-flex-order: 0;
    order: 0;
    -webkit-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    -webkit-align-self: auto;
    align-self: auto;
    display: block;
    margin: 0;
    padding: 5px 10px;
}

.waqad__footer {
    background: #efefef none;
    display: block;
    margin: 0;
    padding: 5px 10px;
    height: var(--max-footer-height);
}

.waqad__error,
.waqad__info {
    --background-color: #ffeaea;
    --border-color: darkred;
    --font-weight: bold;
    padding: 25px;
    background: var(--background-color);
    color: var(--border-color);
    font-weight: var(--font-weight);
    border-radius: 5px;
}

.waqad__text {
    padding: 0;
    margin: 0;
}

.waqad__headline {
    --base-font-size: 1.8em;
    --font-size-steps: 0.2em;
    --font-size: calc(var(--base-font-size) - (var(--font-size-steps) * var(--step)));
    --step: 0;
    font-size: var(--font-size);
    margin: 0;
    padding: 0;

}

* + .waqad__headline {
    margin-top: 50px !important;
}

.waqad__headline + * {
    margin-top: 25px;
}

.waqad__headline--h2 {
    --step: 1;
}

.waqad__headline--h3 {
    --step: 2;
}

.waqad__headline--h4 {
    --step: 3;
}

.waqad__headline--h5 {
    --step: 4;
}

.waqad__info,
.waqad__error,
.waqad__text {
    line-height: 1.5em;
}

.waqad__info + *,
.waqad__error + *,
.waqad__text + * {
    margin-top: 25px;
}

.waqad__info {
    --background-color: #eafdff;
    --border-color: #006b8b;
    --font-weight: normal;
}

.waqad__nav-list {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-align-content: stretch;
    align-content: stretch;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    margin: 0;
    padding: 0;
}

.waqad__nav-list-item {
    list-style-type: none;
    padding: 0;
    margin: 0;

    -webkit-flex: 0 1 auto;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
    -webkit-align-self: auto;
    align-self: auto;
}

.waqad__nav-list-link {
    padding: 5px 10px;
    margin: 0;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 5px;
    display: inline-block;
    color: #666;
    font-weight: bold;
    text-decoration: none;
}

.waqad__nav-list-link:hover {
    background: rgba(255, 255, 255, 0.5);
}

.waqad__nav-list-item + .waqad__nav-list-item {
    margin-left: 15px;
}

.waqad__nav-list-item--login,
.waqad__nav-list-item--logout {
    -webkit-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    text-align: right;
}

.waqad__page-title {
    margin: 0;
    padding: 0;
    font-size: 1.2em;
}

.waqad__form-row {
    display: block;
}

.waqad__form-row + .waqad__form-row {
    margin-top: 25px;
}

.waqad__form-label {
    font-weight: bold;
    display: block;
    user-select: none;
}

.waqad__form-label--headline {
    padding-bottom: 5px;
}

.waqad__btn {
    --btn-color: #58daff;
    background: var(--btn-color);
    color: #fff;
    font-weight: bold;
    padding: 10px 15px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    font-size: 1em;
    border-bottom: 3px solid rgba(0, 0, 0, 0.25);
    border-top: 3px solid #fff;
    position: relative;
}

.waqad__btn:active {
    border-top: 3px solid #fff;
    border-bottom: 3px solid #fff;
    transform: translateY(3px);
    -webkit-transform: translateY(3px);
}

.waqad__btn:disabled {
    background: #efefef none;
    color: #ccc;
}

.waqad__btn[type="submit"] {
    --btn-color: #7ccb46;
}

.waqad__legend {
    font-weight: bold;
}

.waqad__fieldset {
    padding: 25px;
    border-radius: 5px;
}


@media print {
    .waqad__header,
    .waqad__footer,
    .waqad__screen-only {
        display: none;
    }
}

@media screen {
    .waqad__print-only {
        display: none;
    }

    .waqad__main {
        background: white;
        display: block;
        padding: 50px 0;
    }

    .waqad__main-inner {
        margin: 0 auto;
        padding: 0;
        display: block;
        max-width: 1000px;
    }

    body {
        background: #efefef;
    }
}