/* ==========================================================================
   LimeSurvey 6 (Bootstrap 5) — Custom Survey Theme Overrides 
   ========================================================================== */

/* --------------------------------------------------------------------------
   0) Global page background (NOT applied to question boxes)
   -------------------------------------------------------------------------- */
   @font-face {
	font-family:'AOKBuenosAires';
	src: url('../files/AOKBuenosAires-Regular.woff2') format('woff2');
	font-style: normal;
	font-stretch: normal;
	unicode-range: U+000D-FB04;
}
body{
    font-family: 'AOKBuenosAires' !important;
    text-rendering: optimizeLegibility;     /* emphasizes in legibility over rendering speed */    
    -webkit-font-smoothing: antialiased;    /* apply font anti-aliasing */    
    -moz-osx-font-smoothing: grayscale;     /* optimize font rendering */
}
.error-page {
    background-image: url(/tmp/assets/301c6d8/AOK_MA-Befragung-2025_LimeSurvey_Background_1920x1080.png) !important;
    background-attachment: fixed !important;
    background-size: cover !important;
}
body.fruity_twentythree,
body.fruity { /* fallback if body still has 'fruity' class */
  background-color: #EAF7F0;
  background-position: bottom;
}
h1, h2, h3, h4, h5, h6{font-family: 'AOKBuenosAires' !important;}
.large-heading {
    font-weight: 900;
    font-size: 42px;
    text-align:center;
}
a {
    font-weight: 400;
    font-size: 18px;
}

.survey-description p {
    color: #005E3F;
}

.welcome-img{
    width:100%;
}
/* --------------------------------------------------------------------------
   1) Question containers (white boxes, rounded corners, no shadow)
   -------------------------------------------------------------------------- */
.fruity_twentythree .question-container,
.fruity .question-container {
  background: #FFFFFF;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 20px;
  box-shadow: none;
  padding: 20px;
  margin: 20px auto;
      font-size: 14px;
}

/* Inner spacing harmony */
.fruity_twentythree .question-container .answer-container,
.fruity .question-container .answer-container { margin-top: .75rem; }
/* .fruity_twentythree .question-container .question-valid-container,
.fruity .question-container .question-valid-container { margin-top: .5rem; } */

/* --------------------------------------------------------------------------
   2) Question titles & question text (sizes/colors from old design)
   -------------------------------------------------------------------------- */
/* Headline of the question (title line) */
.fruity_twentythree .question-title-container .ls-question-title,
.fruity .question-title-container .ls-question-title {
  color: #0a6e4b;           /* brand heading green */
  font-weight: 700;
  font-size: 2rem;          /* ~32px */
  line-height: 1.25;
  margin: 0 0 .5rem 0;
}

/* The main question text/label inside the box */
.fruity_twentythree .question-container .ls-label-question,
.fruity .question-container .ls-label-question {
  color: #005E3F;           /* requested brand tone */
  font-size: 26px;          /* as in old theme */
  font-weight: 600;
  line-height: 1.25;
}
/* The question hint text/label under the question text */
.fruity_twentythree .ls-questionhelp, .fruity_twentythree .ls-question-information, .fruity .ls-questionhelp, .fruity .ls-question-information
 {
    color: #18AB42;
    font-size: 14px;
}

/* The question explain text/label under the question text */
.fruity_twentythree .ls-questionhelp, .fruity_twentythree .ls-question-information, .fruity .ls-questionhelp, .fruity .ls-question-information {
    color: #18AB42;
    font-size: 14px;
}

/* Radio elements inside question box */
.ls-answers label, .answer-item label, .control-label {
    color: #40484D;
}

/* Optional: show code/number with the same look and a trailing dot */
.fruity_twentythree .question-number,
.fruity .question-number,
.fruity_twentythree .question-code,
.fruity .question-code {
  color: #005E3F;
  font-size: 26px;
  font-weight: 600;
  margin-right: .3em;
  line-height: 1.25;
}
.fruity_twentythree .question-number::after,
.fruity .question-number::after { content: "."; display: inline-block; }

/* --------------------------------------------------------------------------
   3) Help, hint and meta texts
   -------------------------------------------------------------------------- */
.fruity_twentythree .ls-questionhelp,
.fruity_twentythree .ls-question-information,
.fruity .ls-questionhelp,
.fruity .ls-question-information {
  color: #10855c;
  font-size: 1rem;
}
/* Utility colors aligned to old theme */
.fruity_twentythree .text-info, .fruity .text-info { color: #10855c !important; }
.fruity_twentythree .text-muted, .fruity .text-muted { color: #005E3F !important;display: inline-flex; }
.fruity_twentythree .text-primary, .fruity .text-primary { color: #9EA0A3 !important; } /* subtle gray, adjust if needed */

/* --------------------------------------------------------------------------
   4) Mandatory / validation (explicit red) + asterisk handling
   -------------------------------------------------------------------------- */
/* Requested exact rule */
.fruity .text-danger { color: #EB0047 !important; }
/* Apply to LS6 scope too */
.fruity_twentythree .text-danger,
.fruity .ls-question-mandatory.text-danger,
.fruity_twentythree .ls-question-mandatory.text-danger,
.fruity .ls-question-mandatory-initial.text-danger,
.fruity_twentythree .ls-question-mandatory-initial.text-danger,
.fruity_twentythree .question-valid-container .text-danger,
.fruity .question-valid-container .text-danger,
.fruity_twentythree .invalid-feedback,
.fruity .invalid-feedback {
  color: #EB0047 !important;
}

/* Hide the mandatory asterisk if desired (LS official recommendation uses .asterisk) */
.fruity_twentythree .asterisk,
.fruity .asterisk { display: none; }

/* --------------------------------------------------------------------------
   5) Answer items (radio/checkbox) — readable sizes & brand color
   -------------------------------------------------------------------------- */
.fruity_twentythree .form-check-label,
.fruity .form-check-label {
  font-size: 17px;
  color: #2b2b2b;
}
.fruity_twentythree .form-check-input:checked,
.fruity .form-check-input:checked {
  background-color: #0a6e4b;
  border-color: #0a6e4b;
}
.fruity_twentythree .form-check-input:focus,
.fruity .form-check-input:focus {
  box-shadow: 0 0 0 .25rem rgba(10,110,75,.25);
  border-color: #0a6e4b;
}
/* Selected label accent */
.fruity_twentythree .form-check-input:checked ~ .form-check-label,
.fruity .form-check-input:checked ~ .form-check-label { color: #0a6e4b; }

/* --------------------------------------------------------------------------
   6) Text inputs/textarea focus (2px solid green, no glow)
   -------------------------------------------------------------------------- */
.fruity_twentythree .form-control:focus,
.fruity .form-control:focus {
  border: 2px solid #18AB42 !important;
  box-shadow: none;
  outline: 0;
}

/* --------------------------------------------------------------------------
   7) Buttons (primary/secondary/outline/link) — brand mapping
   -------------------------------------------------------------------------- */
   
   .btn-group-lg>.btn, .btn-lg {
    padding: 10px 16px;
    font-size: 18px;
    line-height: 1.3333333;
    border-radius: 6px;
    box-shadow:none;
}
.fruity_twentythree .btn-primary, .fruity .btn-primary {
    color: #005E3F;
    /*background-color: #91f54a; */
    font-weight: 600;
    border: 2px solid #91f54a;
    background: linear-gradient(270deg,#91f54a 50%,#fff 0);
    transition: all .35s ease-in-out;
    background-position: 99% 100%;
    background-size: 205% 100%;
    box-shadow:none !important;
}

.fruity_twentythree .btn-primary:hover, .fruity .btn-primary:hover, .fruity_twentythree .btn-primary:focus, .fruity .btn-primary:focus {
    color: #005E3F;
    /*background-color: #fff; */
    border: 2px solid #91f54a;
    background-position: 0 100%;
}

.btn-check:checked + .btn-primary, .btn-check:checked + .btn-primary:focus, .btn-check:focus:checked + .btn-primary {
    color: #005E3F;
    background-color: #fff;
    background: #fff;
    border-color: #91f54a;
    box-shadow: none;
}


.fruity_twentythree .btn-outline-secondary,
.fruity .btn-outline-secondary {
  color: #005E3F;
    /*background-color: #91f54a;*/
    font-weight: 600;
    border: 2px solid #91f54a;
    background: linear-gradient(270deg,#91f54a 50%,#fff 0);
    transition: all .35s ease-in-out;
    background-position: 99% 100%;
    background-size: 205% 100%;
    box-shadow:none !important;
}
.fruity_twentythree .btn-outline-secondary:hover,
.fruity .btn-outline-secondary:hover,
.fruity_twentythree .btn-outline-secondary:focus,
.fruity .btn-outline-secondary:focus {
  color: #005E3F;
    /*background-color: #fff; */
    border: 2px solid #91f54a;
    font-weight: 600 !important;
    background-position: 0 100%;
}


/* Action buttons (if hooks exist in your markup) 
.fruity_twentythree .action--ls-button-submit,
.fruity .action--ls-button-submit {
  background-image: linear-gradient(180deg, #0a6e4b 0%, #085a3d 100%);
  color: #fff;
}
.fruity_twentythree .action--ls-button-previous,
.fruity .action--ls-button-previous {
  color: #0a6e4b;
  border: 1px solid #0a6e4b;
  background: #fff;
}*/

/* --------------------------------------------------------------------------
   8) Navbar / header
   -------------------------------------------------------------------------- */
.fruity_twentythree .navbar,
.fruity .navbar { background-color: #EAF7F0 !important; border-bottom: none;padding-bottom: 0; }
.fruity_twentythree .navbar .navbar-nav .nav-link,
.fruity .navbar .navbar-nav .nav-link { color: #0a6e4b; }
.fruity_twentythree .navbar .navbar-nav .nav-link:hover,
.fruity .navbar .navbar-nav .nav-link:hover { color: #085a3d; }
.fruity_twentythree .navbar-brand img,
.fruity .navbar-brand img { max-height: 125px; height: auto; padding: 0; }

/* --------------------------------------------------------------------------
   9) Progress bar (brand colors)
   -------------------------------------------------------------------------- */
.fruity_twentythree .progress,
.fruity .progress { background-color: #cfe9de; }
.fruity_twentythree .progress .progress-bar,
.fruity .progress .progress-bar { background-color: #0a6e4b; }

/* --------------------------------------------------------------------------
   10) Ranking & Slider questions (cover common LS widgets)
   -------------------------------------------------------------------------- */
/* Ranking lists (drag & drop use .list-group) */
.fruity_twentythree .question-container .list-group-item,
.fruity .question-container .list-group-item {
  border: 2px solid #005E3F;
  color: #005E3F;
}
.fruity_twentythree .question-container .list-group-item.active,
.fruity .question-container .list-group-item.active {
  background-color: #005E3F;
  color: #fff;
  border-color: #005E3F;
}

/* Bootstrap-slider style (classic LS integration) */
.fruity_twentythree .slider .slider-selection,
.fruity .slider .slider-selection { background-color: #0a6e4b; }
.fruity_twentythree .slider .slider-handle,
.fruity .slider .slider-handle { background-color: #0a6e4b; border-color: #0a6e4b; }

/* noUiSlider style (if used by your build) */
.fruity_twentythree .noUi-target,
.fruity .noUi-target { border-color: #0a6e4b; box-shadow: none; }
.fruity_twentythree .noUi-connect,
.fruity .noUi-connect { background: #0a6e4b; }
.fruity_twentythree .noUi-handle,
.fruity .noUi-handle { border: 2px solid #0a6e4b; box-shadow: none; }

/* --------------------------------------------------------------------------
   11) Survey meta sections (welcome/description/completed)
   -------------------------------------------------------------------------- */
.fruity_twentythree .survey-description,
.fruity .survey-description,
.fruity_twentythree .completed-text,
.fruity .completed-text {
  background: #FFFFFF;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 20px;
  padding: 20px 35px;
  color: #2b2b2b;
}

/* Optional: constrain top progress width */
.fruity_twentythree .top-container .progress,
.fruity .top-container .progress { max-width: 960px; margin-left: auto; margin-right: auto; height: 21px; }

/* --------------------------------------------------------------------------
   12) Legacy BS3 compatibility (safe, only if old HTML remains)
   -------------------------------------------------------------------------- */
/* Old .well boxes – mimic look if still present in HTML */
.fruity_twentythree .well,
.fruity .well {
  background: #FFFFFF;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 20px;
  box-shadow: none;
  padding: 20px;
  margin-bottom: 20px;
}

/* Radio buttons color */
.radio-item input[type=radio]:checked + label {
    color: #18AB42;
}

/* Welcome message full width */
#welcome-container {
    max-width: 100%; 
}

/* Question make inline with number of question */
.question-container .question-title-container {
    margin-bottom: 5px;
    display: flex;
}
/* change font of answers to regular */
.ls-answers label, .answer-item label, .control-label {
    font-weight: 400;
    font-size: 14px;
}
/* dropdown menu item hover color */
.dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus {
    color: #ffffff !important;
    background-color: #18AB42 !important;
}
/* Font size of table questions */
.ls-answers .ls-heading th, .ls-answers th {
    font-weight: 400;
    font-size: 14px;
}
/* progressbar delete top padding */
.brand-logo .top-container .top-content {
    padding-top: 0;
}
/* size of help text */
.fruity_twentythree .ls-questionhelp, .fruity_twentythree .ls-question-information, .fruity .ls-questionhelp, .fruity .ls-question-information {
    font-size: 14px;
}
/* header to full width */
.navbar > .container, .navbar > .container-fluid, .navbar > .container-sm, .navbar > .container-md, .navbar > .container-lg, .navbar > .container-xl, .navbar > .container-xxl {
    width: 100%;
}
/* group title font changes */
.group-container .group-title {
   font-weight: 800;
font-size: 2.0rem;
}
/* progress bar position */
body .top-container {
    margin-top: 0 !important;
}
/* color of answers text */
.ls-answers .ls-heading th, .ls-answers th {
    color: #40484D;
}
/* color of checkboxes */
.checkbox-item input[type=checkbox]:checked + label {
    color: #18AB42;
}
.checkbox-item input[type=checkbox]:checked + label::before {
    border-color: #18AB42;
}
.checkbox-item input[type=checkbox]:checked + label::after {
    color: #18AB42;
}
.radio-item input[type=radio]:checked + label::after {
    background-color: #18AB42;
}
.radio-item input[type=radio]:checked + label::after {
    background-color: #18AB42;
}
/* fix logo for wide small screens */ 
@media screen and (max-height: 600px) {
  .fruity_twentythree .navbar-brand img, .fruity .navbar-brand img {
    max-height: 60px;
}
}
@media screen and (max-width: 768px) {
 .fruity_twentythree .navbar-brand img, .fruity .navbar-brand img {
    max-height: 60px;
}
.logo-container.d-none {
    display:block !important;
}
    }
/* sticky progressbar */
body .top-container {
    position: sticky;
    top: 130px;
    background-color: #EAF7F0 !important;
    z-index: 99;
    padding-bottom: 10px;
    padding-top:0;
    
}
@media screen and (max-height: 600px) {
body .top-container {
    top: 68px;
}
}
@media screen and (max-width: 768px) {
      body .top-container {
    top: 68px;
    padding-top:10px;
}
    }
/* delete padding for slider */    
.slider-list .slider-item:first-child {
    padding-top: 0;
}
/* completed text changes */    
.fruity_twentythree .survey-description, .fruity .survey-description, .fruity_twentythree .completed-text, .fruity .completed-text {
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: 20px;
    padding: 20px 35px;
    color: #005E3F;
}
/* show/hide password button */ 
.input-group-text, label .input-group-text {
    color: #005E3F;
    background-color: #91f54a;
}
/* password field label */ 
.control-label {
    font-weight: 800;
    font-size: 2.0rem;
    line-height: 26px;
}
/* fix for other question checkbox 
.othertext-label-checkox-container {
    padding-left: 32px !important;
}*/ 
/* form font size */ 
.load-survey-input .form-control {
    font-size: 1.2825rem;
}
/* delete empty space in questions */ 
.question-container .question-valid-container {
    margin-top: 0;
    margin-bottom: 0;
}
/* fix error screen image */ 
.m-auto {
    width: 100%;
}
