/* === Allgemeine Layout-Resets === */
html{
        font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}


html, body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
.large-heading{
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;    
}

/* === Headerstruktur TU Graz === */
#int-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: transparent;
    padding: 10px 20px;
    border-bottom: 4px solid #e4154b;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

#int-header-text {
    font-weight: bold;
    font-size: 14px;
    line-height: 1.2;
    color: #000;
    text-align: left;
}

#int-header-text a {
    color: #000;
    text-decoration: none;
}

#int-header-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

#int-header-logo-claim {
    display: flex;
    flex-direction: column;
    margin-right: 10px;
    font-size: 10px;
    font-weight: bold;
    text-align: right;
}

.int-header-logo-claim-single {
    color: #e4154b;
}

/* Logo im Header (klassisch) */
#int-header-logo-img {
    height: 40px;
    width: auto;
    display: block;
}

#tug-logo-container {
    position: relative;        /* scrolls with content */
    background-color: transparent;
    padding: 10px 20px;
    max-width: 200px;
    width: 100%;
    height: auto;
    margin-left: auto;   /* pushes container to the right */
    margin-right: 0;     /* keep it tight against the right */
    text-align: right;   /* aligns logo inside */
    margin-top: 1rem;         /* ⬅ space between previous text and logo */
    margin-bottom: 0.5rem;      /* ⬅ space below the logo */

}

#tug-logo-container img#tu-logo {
    width: 100%;             /* passt sich Container an */
    height: auto;
    display: inline-block;
    margin-top: 0.5rem;    /* space above the logo <Lovely*/
    margin-bottom: 0.5rem; /* space below the logo before the progress bar <Lovely*/
    position: static;
}


/* === LimeSurvey internes Logo ausblenden (SVG auf Startseite) === */
svg.ls-logo {
    display: none !important;
}

/* === Responsive, zentriertes TU Graz Logo für alle Geräte === */
.tu-graz-logo {
    display: block;
    margin: 0 auto 1.5rem auto; /* zentriert + Abstand unten */
    max-width: 180px;
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Kleinere Bildschirme */
@media (max-width: 476px) {
    .tu-graz-logo {
        max-width: 120px;
        margin-bottom: 1rem;
    }
}

/* Tablets */
@media (min-width: 577px) and (max-width: 991.98px) {
    .tu-graz-logo {
        max-width: 140px;
    }
}

/* Große Bildschirme */
@media (min-width: 992px) {
    .tu-graz-logo {
        max-width: 180px;
    }
}




/* TU Graz Logo */
.tu-graz-logo {
    max-width: 200px;        /* Breite begrenzen */
    height: auto;            /* Höhe automatisch */
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;     /* Abstand nach unten */
}

/* Optional: vertikale Ausrichtung zum Button */
@media (min-width: 768px) {
    .tu-graz-logo-wrapper {
        display: flex;
        justify-content: flex-end;
        align-items: flex-end;
    }

    .tu-graz-logo-wrapper img {
        max-width: 200px;
        height: auto;
    }
}


/* TU Graz Footer: wie eSign-Portal */

.tu-footer {
    position: fixed;       /* stick it at bottom */   /*Lovely*/
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem 1rem;
    text-align: center;
    font-size: 0.9rem;
    color: #444;
    background-color: #fff;
    border-top: 1px solid #eee;
    z-index: 1000;         /* stay above other elements */   /*Lovely*/
}

.tu-footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.tu-footer-links a {
    color: #444;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s;
}

.tu-footer-links a:hover {
    color: #e4154b;
    text-decoration: underline;
}

/* Ensure content is not hidden behind footer */
body > article {
    padding-bottom: 140px; /* adjust based on footer height */
}



/* Progress bar wrapper Lovely*/
#progress-bar-wrapper {
    width: 90%;           /* wider progress bar */
    margin: 1rem auto;    /* center it and give vertical spacing */
}

#progress-bar-wrapper .progress {
    height: 1.5rem;       /* optional: taller bar */
}

#progress-bar-wrapper .progress-bar {
    font-size: 0.9rem;    /* optional: bigger text inside bar */
}



 
/* ============================================================
   GLOBAL FIXES (Fragen 1–5)
   ============================================================ */
 
/* --- Frage 1: Welcome page – center survey title and subtext --- */
.welcome-container,
[id*="welcomecontainer"],
[class*="welcomecontainer"] {
    text-align: center !important;
}
 
.welcome-container h1,
[id*="welcomecontainer"] h1,
[class*="welcomecontainer"] h1,
.welcome-container div,
[id*="welcomecontainer"] div,
[class*="welcomecontainer"] div {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
 
 
/* --- Frage 2: Reduce space between any label/heading and its textarea globally --- */
.question-text + .answer,
.ls-label-question + .answer,
label + textarea,
.subquestion-list + .answer,
.answer label {
    margin-top: 2px !important;
}
 
.answer textarea,
.ls-answers textarea {
    margin-top: 2px !important;
}
 
/* Tighten the wrapper around text input areas */
.ls-question-text-container {
    margin-bottom: 4px !important;
}
 
 
/* --- Frage 3: All question item text from gray to black globally --- */
.question-text,
.ls-label-question,
.answer-item label,
td.answer-text,
.question .ls-label-question,
.subquestion-list td,
.ls-answers td,
.answer td,
label.ls-label,
.question label,
.question span,
.question p,
.question li {
    color: #000000 !important;
}
 
 
/* --- Frage 4: Reduce spacing between question blocks globally --- */
.question-container,
.ls-question-container,
[class*="question-container"],
.question {
    margin-bottom: 0.75rem !important;
    padding-bottom: 0.5rem !important;
}
 
/* Also tighten the top of each question block */
.question-container + .question-container,
.ls-question-container + .ls-question-container {
    margin-top: 0.5rem !important;
}
 
 
/* --- Frage 5: Question text right-aligned on desktop, left-aligned on mobile --- */
@media (min-width: 768px) {
    .question-text,
    .ls-label-question,
    .question h5,
    .question .question-mandatory-message {
        text-align: right !important;
    }
}
 
@media (max-width: 767px) {
    .question-text,
    .ls-label-question,
    .question h5,
    .question .question-mandatory-message {
        text-align: left !important;
    }
}
 