/******************
    User custom CSS
    ---------------

    In this file you can add your own custom CSS
    It will be loaded last, so you can override any other property.
    Also, it will never be updated. So if you inheritate a core template and just add here some CSS, you'll still benefit of all the updates
*/

/* 2022-04-20 Marcel Minke: Use lighter green for better dark mode readability */
body .answer-container .answer-item label::after {
    background-color: lightgreen;
}
.multiple-short-txt .form-horizontal .control-label {
    text-align: left;
}
.dropdown-menu {
    max-height: 50vh;
    max-width:50vw;
    overflow-y: scroll;
}
/* Längere Kommentarfelder */
.long .form-group.text-item.other-text-item {width:150%;}
.long input.form-control {width:200%;}


/* 2025-08-13 Marcel Minke (marcel.minke@survey-consulting.com)
 * 
 * - Fettschrift für Teilfragen auf Mobilgeräten
 * - Weniger Abstand für kompaktere Darstellung
 */
@media only screen and (max-width: 760px),
       (min-device-width: 768px) and (max-device-width: 1024px) {
    
    .subquestion-list th.answertext {
        font-weight: bold;
    }

    .subquestion-list th.answertext p {
        margin-bottom: 0;
    }

    .subquestion-list td.answer-item label {
        margin-bottom: 0;
    }
}
