/* basics */

h1 {
    font-size: 250%;
}

h2 {
    font-size: 200%;
    font-weight: 600;
    padding-bottom: 1rem;
}

h3 {
    font-size: 150%;
    font-weight: 600;
}

h4 {
    font-size: 125%;
    font-weight: 600;
}

h5 {
    font-size: 100%;
    font-weight: 600;
}

h6 {
    font-size: 85%;
}

/* Überschriften auf kleinen Displays etwas kleiner */
@media (max-width: 767.98px) {
    h1 {
        font-size: 200%;
    }

    h2 {
        font-size: 170%;
    }

    h3 {
        font-size: 135%;
    }

    h4 {
        font-size: 115%;
    }
}

a {
    text-decoration: none;
    font-weight: 600;
    color: var(--studio-color-blue);
}

a:hover {
    text-decoration: underline;
}

a.btn,
a.btn-primary {
    width: fit-content;
    border: 1px solid var(--studio-color-blue) !important;
}

a.btn:hover,
a.btn-primary:hover {
    text-decoration: none;
}

:is(h1, h2) {
    color: var(--studio-color-green);
}

:is(h3, h4) {
    color: #186441;
}

textarea::placeholder,
input::placeholder {
    opacity: 0.5;
    font-size: 80%;
}

img {
    max-width: 100%;
    height: auto;
}

/* Unterseiten-Logo hat dieselbe Groesse wie das Startlogo (Breite siehe menu.css) */
.logo-subpages img {
    display: block;
    width: 100%;
    height: auto;
}

.submit button {
    margin-top: 2rem;
}

.text-right {
    text-align: end;
}

/* Menü - Top */
.nav-link-text {
    white-space: nowrap;
}

.clear {
    clear: both;
}

form .help-text,
form .text-sm {
    color: var(--studio-color-red);
    padding-left: 1rem;
    line-height: 1.5rem;
}

form .help-text {
    font-size: .875rem;
    line-height: 1.25rem;
}

.form-control {
    border: 1px solid var(--studio-color-lightgray);
}

.required {
    color: var(--studio-color-red);
}

figure {
    margin: 0;
}

.copyright {
    writing-mode: vertical-rl;
    text-orientation: sideways;
    font-size: .7rem;
}

.description {
    display: block;
    font-size: .7rem;
    margin-top: .25rem;
}

.image-text-caption picture {
    display: block;
    line-height: 0;
}

.image-text-caption {
    display: flex;
    align-items: end;
}

/* table */
.contenttable td {
    padding: .5rem 1rem .5rem 0;
    vertical-align: top;
    max-width: 50%;
}

hr {
    margin: 2rem auto 1rem auto;
    width: 40%;
    opacity: 1;
    height: 3px;
    border: 0 none;
    background: var(--studio-color-blue);
    background-image: linear-gradient(to right, var(--studio-color-lightgray), var(--studio-color-blue), var(--studio-color-lightgray));
}

/* Seitenbreite fliessend statt in Bootstrap-Stufen (540/720/960/1140/1320px) */
body .container {
    width: 100%;
    max-width: 1320px;
}
