/******************
    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
*/
.progress-bar {
    background-color: #8c8ac2!Important;
 }
.question-container {
    border: 1px solid #8C8AC2;
    border-radius: 5px;
}
.question-title-container {
    background-color: #F5F7F8;
    color: #1c1b26;
    font-weight: bold;
    border-left: 20px solid #8C8AC2;
    font-size: 14pt;
}
.question-title-container {
    border-radius: 5px 5px 0px 0px;
}
.question-valid-container {
    background-color: #F5F7F8;
    color: #a4a3a8;
    border-left: 20px solid #8C8AC2;
}




.answer-container {
    background-color: #fff;
    border-radius: 0px 0px 5px 5px; 
    padding-top:1.2em;
    padding-bottom:1.2em;
    font-size: 12pt;
}
.question-help-container {
    border-top: 1px solid #F5F7F8;
}
.btn-primary {
    background-color: #8c8ac2!Important;
    border-color: #626087!Important;
}
.btn-primary:hover {
    background-color: #626087!Important;
    border-color: #8c8ac2!Important;
}
 
.btn-primary:active, 
.btn-primary.active {
    background-color: #626087!Important;
    border-color: #626087!Important;
}
    
.fruity .text-info {
  color: #adb5bd!Important;
}
 
/* colors of active radio-buttons, checkboxes */
    .radio-item label::before {
        border-color: black;
    }
 
    .radio-item input[type="radio"]:checked + label::before {
        border-color: #8c8ac2;
    }
 
    .radio-item input[type="radio"]:checked + label::after {
        background: #8c8ac2;
    }
 
    .checkbox-item label::before {
        border-color: black;
    }
 
    .checkbox-item input[type="checkbox"]:checked + label::before {
        border-color: #8c8ac2;
    }
 
    .checkbox-item input[type="checkbox"]:checked + label::after {
        background: #8c8ac2;
    }
/*Широка кнопка "далі"*/   
#ls-button-submit {
    width: 50%;
}

/*мобільний = відповіді з картинкам в 2 стовпчики*/
@media (max-width: 768px) {
  .answer-container.col-12 ul.list-unstyled {
    display: flex;
    flex-wrap: wrap;
  }

  /* Вибір лише тих li, які містять зображення */
  .answer-container.col-12 ul.list-unstyled li:has(img) {
    width: 48% !important;
    margin-right: 2%;
    margin-bottom: 10px;
  }

  /* Для кожного другого елемента у рядку (щоб прибрати правий відступ) */
  .answer-container.col-12 ul.list-unstyled li:has(img):nth-child(2n) {
    margin-right: 0;
  }

  /* Окреме стилізування для текстових відповідей */
  .answer-container.col-12 ul.list-unstyled li:not(:has(img)) {
    width: 100% !important;
    margin-right: 0;
    margin-bottom: 10px;
  }
}



/*Footer стиль*/
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 */
}



