/******************
    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
*/

:root {
    --bs-primary: #0154a0;
    --bs-primary-rgb: 1, 84, 160;
}

.form-change-lang #language-changer-select,
.form-change-lang #lang-select::after{
    color: var(--bs-primary);
}

a {
    color:#0154a0;
}

a:hover {
    color: #016fd3;
}

/* Buttons */
.btn,
.btn:hover,
.btn:active{
    box-shadow:none !important;
}
.btn-primary {
    background-color: #0154a0;
    border-color: #0154a0;
}

.btn-primary:hover {
    background-color: #016fd3 !important; 
    border-color: #016fd3 !important;
}

.btn-primary:active {
    background-color: #0154a0;
    border-color: #0154a0;
}


.btn-primary:focus, .btn-primary.active, .btn-primary:active:focus, .btn-primary.dropdown-toggle.show, .btn-primary.dropdown-toggle.show:focus {
    background-color: #0154a0;
    border-color: #0154a0;
}

.btn-outline-secondary:hover {
    background:#f3f4f5;
}

.input-group-addon {
    background:var(--bs-primary) !important;
    color:#fff;
}

.text-info {
    --bs-text-opacity: 1;
    --bs-info-rgb: 1, 84, 160;
}

/* Frage-Titel */
.question-title-container {
    color: #2c2c2c; /* Schriftfarbe der Fragen */
    font-weight: bold;
}

/* Radiobuttons und Checkboxen */
body .answer-item label::after {
    background-color: #0154a0;
}

.radio-item label::after {
    background-color: #0154a0;
}

.radio-item input[type=radio] + label::after {
    background-color: #0154a0;
}

.radio-item input[type=radio] + label::after,
.radio-item input[type=radio]:checked + label {
    color:#0154a0;
}

.radio-item input[type=radio]:checked + label::before {
    border-color: #0154a0;
}

.radio-item input[type=radio]:checked + label::after{
    background-color: #0154a0;
}

.privacy .checkbox-item label::before {
    border-color: var(--bs-primary);
}

.checkbox-item input[type=checkbox]:checked + label::before {
    border-color: var(--bs-primary);
}

.checkbox-item input[type=checkbox]:checked + label::after {
    color: var(--bs-primary);
}

/* Fortschrittsbalken */
.progress-bar {
    background-color: #0154a0; 
}

/* Fußzeile */
.footer {
    background-color: #0154a0;
    color: #ffffff;
}

/* Schriftarten und Textfarben */
body, h1, h2, h3, h4, h5, h6, p {
    color: #2c2c2c;
}

.ls-answers label, .answer-item label, .control-label {
    color: #2c2c2c;
}
.radio-item label::before {
    border-color:#2c2c2c;
}

.form-control{
    box-shadow: none !important;
}

.question-title-container {
    display:flex;
}

.form-control {
    color: #2c2c2c;
    border-color: #2c2c2c;
}

.ls-answers .ls-heading th, .ls-answers th {
    color: #2c2c2c;
}
.numeric-multi .ls-group-total-separator hr {
    border-color:var(--bs-primary) !important;
}
.numeric-multi .ls-group-total .control-label,
.numeric-multi .dynamic-total.text-success{
    color:var(--bs-primary) !important;
    font-weight: bold;
}

.btn-check:checked + .btn-primary, .btn-check:checked + .btn-primary:focus, .btn-check:focus:checked + .btn-primary {
    color: #ffffff;
    background-color: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
    box-shadow: none;
}

.btn-check + .btn-primary:hover {
    color: #ffffff;
    background-color: #016fd3 !important;
    border-color: #016fd3!important;
    box-shadow: none;
}

.success-border {
    border-color: var(--bs-primary);
}

.form-select:focus {
    box-shadow: none !important;
}

.checkbox-item input[type=checkbox]:checked + label {
    color: var(--bs-primary);
}

.select-sortable-lists:not(.ranking-advanced-style) .ranking-sorted-items .sortable-item {
    border: 1px solid  var(--bs-primary);
}

.myRight {
  text-align: right !important;
}

.question-container-printanswers {
  padding-bottom:0 !important;
}


.question-container-printanswers .text-break-pre {
    white-space: normal;
}
