@font-face {
    font-family: OpenSans;
    src: url(../fonts/OpenSans.ttf);
}

html, body {
    font-family: OpenSans, serif;
    height: 100%;
    margin: 0 auto;
    max-width: 1660px;
}

h1, h2, h3, h4, h5, h6, p, span, li, a {
    font-family: inherit;
    color: inherit;
}

h1 {
    margin-top: 1rem;
    margin-bottom: 1rem;
    font-size: 35px;
}

h2.headline-1 {
    margin-top: 1rem;
    margin-bottom: 1rem;
    font-size: 35px;
}

h2 {
    font-size: 30px;
}

h3 {
    font-size: 26px;
}

h4 {
    font-size: 22px;
}

h5 {
    font-size: 18px;
}

p {
    font-size: 20px;
}

a:hover {
    text-decoration: none;
}

.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

/****Button styles****/
.button-contained {
    background-color: #A32622;
    color:white;
    border-radius: 1px;
    text-transform: uppercase;
}

.button-outlined {
    background-color: #FFFF;
    border-radius: 1px;
    color: #A32622;
    border-color: #A32622;
    text-transform: uppercase;
}

.button-outlined:hover, .button-outlined:active {
    color: #FFFF;
    background-color: #A32622;
    border-color: #FFF;
}

.button-contained:hover, .button-contained:active {
    color: #A32622;
    background-color: #FFF;
    border-color: #A32622;
}

.button-contained a, .button-outlined a {
    text-decoration: none;
}

/****Form****/
.form-label-invalid {
    color: #A32622 !important;
}

.form-feedback {
    color: #A32622;
}

.plz-ort-wrapper {
    margin: 0 !important;
}

.bg-gray {
    background-color: #e0e0e0 !important;
    border-radius: 1px !important;
}

.is-invalid + .show-password-button,
.was-validated .show-password-button {
    right: 35px;
}

/***Detail page**/
.header-detail-page-container {
    aspect-ratio: 1616 / 909;
    width: 100%;
}
.header-detail-page-img{
    background-color: #c9c5c5;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.copyright{
    position: absolute;
    right: 0;
    font-size: 22px;
    color: #000000;
}

.news-detail-subheader {
    font-size:26px;
    .date {
        color: #757575;
    }
}

.events-detail-date {
    font-size: 20px;
}

/** Modal **/
.modal-header {
    border-bottom: 0;
}
.modal-body {
    padding-top: 0;
    border-bottom:0;
    padding-bottom: 24px;
}
.modal-footer {
    border-top:0;
}

.company-logo {
    display: block;
    width: 100%;
    height: auto;
    max-height: 50px;
    object-fit: contain;
}

@media (max-width: 768px) {
    h1 {
        font-size: 25px;
    }

    h2.headline-1 {
        font-size: 25px;
    }

    h2 {
        font-size: 22px;
    }

    h3 {
        font-size: 20px;
    }

    h4 {
        font-size: 19px;
    }

    h5 {
        font-size: 18px;
    }

    p {
        font-size: 16px;
    }

    .copyright {
        font-size: 16px;
    }

    .news-detail-subheader {
        font-size:18px;
    }
    .events-detail-date {
        font-size: 16px;
    }
}
