@import url("colors.css");
@import url("fonts.css");
@import url("cookies.css");
@import url("call_to_action.css");

.font-source-serif-pro {
    font-family: Source Serif Pro, serif;
}

.text-small {
    font-size: 0.9rem !important;
}

.text-08 {
    font-size: 0.8rem !important;
}

/* ELEMENT STYLES */
#dm-body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#dm-content {
    margin-top: 90px;
    flex-grow: 1;
}

.dm-header-nav {
    height: 33%;
}
.nav-element-container {
    padding-left: 5%;
    padding-right: 5%;
}
.nav-element {
    font-family: Space Grotesk, sans-serif;
    font-size: 1.2rem;
    text-decoration: None;
    padding-left: 10px;
    padding-right: 10px;
    font-weight: bold;
    text-align: center;
    display: flex;
    flex-direction: row;
    align-items: center;
}
.nav-element a {
    color: black;
    text-decoration: none;
    flex-grow: 1;
    text-align: center;
    align-items: center;
    width: 100%;
    height: 100%;
    justify-content: center;
    display: flex;
}
.nav-element a:hover {
    background: none !important;
    text-decoration: underline;
    text-decoration-color: #00213f;
    text-decoration-thickness: 3px;
    color: black;
}
#collapseNav div {
    padding-top: 10px;
    padding-bottom: 10px;
}

.account-tile {
    font-weight: normal;
    font-size: 0.8rem;
    line-height: 1rem;
    flex-direction: column;
    justify-content: center;
}
.account-tile p {
    line-height: 1rem;
    margin-bottom: 0;
}

.account-tile a {
    height: 1rem !important;
}

.main-content {
    font-family: Source Serif Pro, serif;
}

@media screen and (min-width: 992px) {
    .main-content {
        padding-left: 160px;
        padding-right: 160px;
    }
    .main-content-tool {
        padding-left: 30px;
        padding-right: 30px;
    }
}

.main-content p,
.main-content ol,
.main-content ul {
    line-height: 1.8rem;
    font-size: 1.1rem;
}

.main-content-tool p,
.main-content-tool ol,
.main-content-tool ul {
    line-height: 1.7rem;
    font-size: 1rem;
}

button,
.button,
input[type="submit"] {
    background: var(--blue);
    border-radius: 2px;
    border: none;
    padding: 2px 7px 2px 7px;
    font-family: Space Grotesk, sans-serif;
    display: inline-block;
}
button:hover,
.button:hover,
input[type="submit"]:hover {
    filter: brightness(90%);
    background: var(--blue) !important;
    text-decoration: none;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    font-family: Space Grotesk, sans-serif;
}
.main-content h2,
.main-content h3,
.main-content h4,
.main-content h5,
.main-content h6 {
    font-family: Space Grotesk, sans-serif;
    margin-top: 30px;
}

a,
a:visited {
    color: black;
    text-decoration-color: var(--blue);
    text-decoration-thickness: 5px;
    font-family: Space Grotesk, sans-serif;
}
a:hover {
    background: rgba(191, 226, 224, 0.35);
}
a.link-document {
    padding-left: 22px;
}
a.link-document::before {
    content: "";
    background:url("../img/icons/2023_IKMZ_DigitalMeal_MaterialienGeräte.svg");
    background-size:cover;
    position:absolute;
    width:20px;
    height:20px;
    margin-left: -22px;
    margin-top: 5px;
}
a.darkblue-button:visited {
    color: white !important;
}

#footer {
    margin-top: 90px;
}
.footer-container {
    padding: 20px;
}

.dm-message-container {
    display: block;
    width: 100%;
    margin-top: -90px;
    padding-top: 10px;
    font-size: 0.9rem;
    font-family: Space Grotesk, sans-serif;
}

form label,
form input {
    display: block;
}

form label {
    font-family: Space Grotesk, sans-serif;
    font-weight: bold;
}

form input[type="text"],
form input[type="email"],
form input[type="password"],
form input[type="number"]{
    background: rgba(191, 226, 224, 0.4);
    border: 2px solid white;
    padding: 7px;
    width: 40%;
    min-width: 300px;
    font-family: Open Sans, sans-serif;
}

form input:focus {
    border: 2px solid black;
    outline: none;
}

form select {
    background: #e5f3f3;
    border: 2px solid white;
    padding: 7px;
    font-family: Open Sans, sans-serif;
}

form .select-items {
    color: #ffffff;
    padding: 8px 16px;
    border: 1px solid;
    border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent;
    cursor: pointer;
    font-family: Open Sans, sans-serif;
}

form .helptext {
    font-size: 0.9rem;
    font-family: Open Sans, sans-serif;
}

.dm-form .errorlist {
    color: #b00000;
    margin-bottom: 0 !important;
    margin-top: 30px !important;
    list-style-type: none;
    padding: 0;
    font-family: Open Sans, sans-serif;
}

.dm-alert {
    padding: 0 !important;
    background: #e4f3f2;
}

#user-nav-bar {
    padding-top: 5px;
    padding-bottom: 5px;
    background-color: var(--darkblue-accent);
    color: white;
}

.user-nav {
    text-decoration: none;
    color: white !important;
}
.user-nav:hover {
    background: none;
}

.user-nav-content {
    padding-left: 35px;
}

.dm-footer-linksection p {
    margin-bottom: 0 !important;
}

.link-card {
    text-decoration: none;
}
.link-card:hover {
    filter: brightness(105%);
    color: black;
}

.wagtail-image {
    max-width: 90% !important;
    height: 100%;
}

.intro-text p {
    font-family: Space Grotesk, sans-serif;
    font-size: 1.2rem;
    line-height: 2.1rem;
    padding-bottom: 14px;
}

/* Honeypot class: */
.signup-phone-number {
    position: absolute;
    left: -9999px;
}