/******************
    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
*/
 /* Allgemeines Layout */
 
:root {
  --bs-body-font-size: 1rem;
  --bs-body-font-weight: 500;
  --bs-body-line-height: 1.5;
  --bs-body-color: #191919;
  --bs-body-bg: #fff;
}

body {
     padding-bottom: 0; /* no bottom padding, footer should be bottom aligned */
     padding-top: 60px;/* now is redefine in JS to fit any title length */
     flex-direction: column; /* article, then footer */
     display: flex; /* flex, to extend the content to full size */
     min-height: 100vh; /* full height, to bottom-align footer */
}
body > article {
    flex: 1; /* the main article should use as much space as possible */
}

.progress {
    background-color:#eee;
}
.progress-bar {
    background-color:#191919;
}

.logo-container > img {
    padding: 14px 0;
}

#outerframeContainer {
  min-height: 100%;
  max-width: 1024px;
  padding: 0 10px;  /* Innenabstand für kleine Bildschirme */
  box-sizing: border-box; /* Berücksichtigt Padding bei der Breite */
  word-wrap: break-word;
  -webkit-hyphens: auto;
  -o-hyphens: auto;
  hyphens: auto;
}

/* FOOTER */
@media (min-width: 768px) {
    footer .bt-legal-copryright{
        display: flex;
        flex-direction: row-reverse;
        justify-content: space-between;
    }
}
footer {
    padding-bottom:30px;
    font-size:0.875rem;
}
footer a, footer a:hover {
    color:#191919;
    font-size:0.875rem;
}
footer .bt-service>ul>li>a{
    font-weight:700;
    position:relative;
}
footer .bt-service>ul>li>a::after {
    border-bottom: 2px solid #191919;
    bottom: -2px;
    content: "";
    display: block;
    left: 0;
    position: absolute;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s cubic-bezier(0, 0, .1, 1);
    width: 100%;
}
footer .bt-service>ul>li>a:hover::after {
    transform: scaleX(1);
}

foooter ul {
    margin:0;
    padding:0;
}
footer li {
    align-items:center;
    display:flex;
    list-style-type:none;
}
footer .bt-service>ul {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding-left: 0;
}
footer .bt-legal ul {
        margin:0;
        padding:0;
}
footer .bt-legal {
        margin-bottom:1rem;
}
footer .bt-legal ul li a:hover {
        text-decoration:underline;
}

footer .bt-legal-copryright li {
        display:inline;
    }
footer .bt-legal-copryright li:not(:last-of-type) {
    margin-right:1rem;
    }

/* Typo */
h1,h2,h3{
    font-weight:500;
    font-family: "Noto Serif", Georgia, Times New Roman, Times, serif;
}
.error-page .container .error-title {
    font-weight:500;
    font-family: "Noto Serif", Georgia, Times New Roman, Times, serif;
    font-size:24px;
}
.error-page .container .error-content {
    font-weight:normal;
    font-family: "Noto Sans Display", Arial, Helvetica, Verdana, sans-serif;
    font-size:1rem;
    color:#191919;
    line-height:normal;   
}
 .error-content a, .error-content a:hover {
     color:#191919;
    font-size:1rem;
 }
 .error-content a:hover {
     text-decoration: underline;
 }
.survey-description h2 {
    font-size:24px;
    font-weight: 500;
    font-family: "Noto Serif", Georgia, Times New Roman, Times, serif;
}
.large-heading  {
    font-size:32px;
    font-weight: 500;
    font-family: "Noto Serif", Georgia, Times New Roman, Times, serif;
}
.form-heading {
    font-size: 1rem;
    line-height: 26px;
}
.group-container .group-title {
    font-weight: 500;
    font-size: 24px;
    line-height:26px;
    margin-bottom: 1rem;
    }
.question-container .ls-label-question {
    font-size: 32px;
    font-weight: 500;
    line-height: normal;
}
.question-container .question-title-container {
    margin-bottom:0;
    font-family: "Noto Serif", Georgia, Times New Roman, Times, serif;
}
.question-container .ls-question-message {
    color: #191919;
    font-style: normal;
    font-size: 0.75rem;
}
.question-item {
    margin-bottom: 1.4rem;
}
.ls-question-mandatory {
    padding-bottom: 1rem;
    font-size: .75rem;
    padding-left: 12px;
}
.ls-softmandatory-input {
    padding-bottom: 1rem;
}
.ls-question-mandatory.ls-question-mandatory-multiplechoice.text-danger {
    padding-bottom: 1rem;
}
.ls-answers label, .answer-item label, .control-label {
    font-weight:normal;
    font-family: "Noto Sans Display", Arial, Helvetica, Verdana, sans-serif;
    font-size:1rem;
    color:#191919;
    line-height:normal;
}
.ls-answers tbody .answertext {
    text-align: left;
    background-color: #eee;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #191919;
}

.question-valid-container .error, .ri-error-warning-fill {
    color:#ca2f56;
    font-size:12px;
}
.ri-error-warning-fill::before {
    font-size: 19px;
    vertical-align: middle;
}

/* CHECKBOX */
.checkbox-item label {
    padding-top:3px;
}
.checkbox-item label::before {
    border: 2px solid #191919;
    border-radius: 4px;
    background-color: #fff;
    outline: 1px solid transparent;
    outline-offset: -3px;
    transition-duration: 200ms; 
    transition-property: outline-color;
    transition-timing-function: ease;
}
.checkbox-item label:hover::before {
    outline: 1px solid #191919;
}
.checkbox-item input[type=checkbox]:focus + label::before {
    box-shadow: none;
    outline: 1px solid #191919;
}
.checkbox-item input[type=checkbox]:focus-visible + label::before {
    box-shadow: none;
    outline: 1px solid #191919;
}

/* Checked */
.checkbox-item input[type=checkbox]:checked + label::before {
    border-color: #547d00;
    outline: 1px solid white;
}
.checkbox-item input[type=checkbox]:checked + label:hover::before {
    outline: 1px solid #547d00;
}
.checkbox-item input[type=checkbox]:checked + label {
    color: #191919;
}
.checkbox-item input[type=checkbox]:checked + label::after {
    background-color: transparent;
    color: #547d00;
}
/* CHECKBOX OTHER - TEXT SINGLE COLUMN FIX */

.checkbox-item.othertext-label-checkox-container {
    align-self: center;
    width: 100vw;
    padding-bottom: 20px;
    margin-top: -5px;
}

/* Radio Button */
.list-group-horizontal {
    flex-direction: column;
}
.radio-item .radio-label, .radio-item .control-label {
    padding-left: 20px;
    padding-top: 3px;
}
.radio-item label::before {
    height:24px;
    width:24px;
    border: 2px solid #191919;
    outline: 1px solid transparent;
    outline-offset: -3px;
    left: 0;
    top: 0;
    margin-left: -20px;
    border-radius: 50%;
    transition-duration: 200ms; 
    transition-property: outline-color;
    transition-timing-function: ease;
}
.radio-item label:hover::before {
    outline: 1px solid #191919;
}
.radio-item label::after {
    width: 8px;
    height: 8px;
    left: 3px;
    top: 6px;
    margin-left: -15px;
    margin-top: 2px;
}
.radio-item input[type=radio] + label {
    color:#191919;
}
.radio-item input[type=radio]:checked + label {
    color:#191919;
}
.radio-item input[type="radio"] + label::after {
    background-color: #191919;
}
.radio-item input[type=radio]:checked + label::before {
    border:2px solid #191919;
}
.radio-item input[type=radio]:checked + label:hover::before {
    outline: 1px solid #191919;
}
.radio-item input[type=radio]:checked + label::after {
    background-color:#191919;
}

.radio-item input[type="radio"]:focus-visible + label::before {
    box-shadow: none;
    outline: 1px solid #191919;
}
/* RADIO ITEM TABLE */

.radio-item label.ls-label-xs-visibility::before {
    left: 0;
    top: 0;
}
.radio-item label.ls-label-xs-visibility::after {
    left: 5px;
    top: 5px;
}
.table .radio-item label.ls-label-xs-visibility::after {
    left: 6px;
    top: 6px;
}

/* INPUT */

.form-control {
    color: #191919;
    border-color: #191919;
    border: 2px solid #191919;
    background: #fff;
    font-size: 16px;
    border-radius: 8px;
    font-weight: 400;
    outline: 1px solid #fff;
    outline-offset: -3px;
    transition-duration: 200ms;
    transition-property: outline, outline-color, border-color, opacity, background-color;
    transition-timing-function: ease-in;
    width: 100%;
}
.input-error .form-control:focus,.input-error .form-control, .form-control:focus, .form-control:hover {
    box-shadow:none;
    outline: 1px solid #191919;
    outline-offset: -3px;
}
.form-select {
    color: #191919;
    border-color: #191919;
    border: 2px solid #191919;
    font-size: 16px;
    border-radius: 8px;
    font-weight: 400;
    outline: 1px solid #fff;
    outline-offset: -3px;
    transition-duration: 200ms;
    transition-property: outline, outline-color, border-color, opacity, background-color;
    transition-timing-function: ease-in;
    width: 100%;
    padding: 13px;
}
.form-select:focus, .form-select:hover {
    box-shadow:none;
    outline: 1px solid #191919;
    outline-offset: -3px;
    border-color: #191919;
}

/* CAPTCHA INPUT */

.form-control.ls-important-field {
    box-shadow:none;
    border:2px solid #191919;
}
.form-control.ls-important-field:focus {  
    box-shadow:none;
}
.alert-danger {
    background-color: #fff;
    border: none;
    color: #ca2f56;
    padding: 0;
}

.form-captcha .captcha-input {
    padding-top:20px;
    width:100%;
}
/* Button */
.btn-primary, .btn-outline-secondary {
    font-weight:700;
    border-radius:8px;
    background-color:#191919;
    border:none;
    color:#fff;
}
.btn-primary:hover, .btn-outline-secondary:hover {
    background-color:#323232;
    color:#fff;
    box-shadow:none;
}
.btn-primary:active, .btn-primary:focus, .btn-primary:active:focus, .btn-outline-secondary:active, .btn-outline-secondary:focus, .btn-outline-secondary:active:focus   {
    background-color:#646464;
    color:#fff;
    box-shadow:none;
}
/* Tabelle */
.table {
    background-color:#fff;
}
.table-hover {
    background-color:#fff;
    border: 1px solid #ccc;
}
.table-hover > tbody > tr:hover > th {
    background-color: #eee;
    color:#191919;
}
.table-hover>tbody>tr:hover>td {
    background-color: #fff;
    color:#191919;
}
.ls-even {
    background-color:#fff;
    border: 1px solid #ccc;
}
.ls-heading {
    background-color: #eee;
    border-top: #191919;
    border-bottom: #191919;
    border: 1px solid;
    
}

.ls-answers .ls-heading th, .ls-answers th {
    font-weight: 700;
    font-size: 1rem;
    line-height: 26px;
    color: #191919;
}
.table .answer-text {
    border-left: 1px solid #ccc;
}
.table .answer-item {
    border-left: 1px solid #ccc;
}
.table{
    --bs-table-hover-bg: none;
}
.completed-wrapper .completed-heading{
    font-family: "Noto Serif", Georgia, Times New Roman, Times, serif;
    font-size: 32px;
    font-weight:500;
    color:#191919;
}
.completed-wrapper .completed-Content{
    font-size:1rem;
    color:#191919;
}