/******************
    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
*/
body {
    background-color: #d7a3e2;
    background-image:url('/lime/upload/surveys/932241/images/bgblue3.png');
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    color: white;
    overflow-x: hidden;
}

.modal-content {
    background-color: #BD790E;
}

.modal-content .btn {
    background: #1C5E5D;
}

.question-count-text {
    display: none;
}

.text-primary {
    color: white !important;
}

.question-container {
    background: none;
    border: none;
    color: white;
}

.question-title-container {
    background-color: rgba(44,62,80, 0.4) !important;
}

.question-valid-container {
    display: none;
}

.answer-container {
    border: none;
}

.space-col {
    margin-bottom: 0;
}

.slider-handle {
    touch-action: pan-x;
}

table {
    color: white !important;
}

thead, thead tr {
    border: none !important;
}

thead td, thead th {
    border: 1px solid white !important;
}

tbody {
    border-top: none !important;
}

.ls-even {
    background-color: inherit !important;
}

input[type="radio"] {
    display: none !important;
}

input[type="radio"] + label::before, input[type="radio"] + label::after {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) !important;
    width: 24px;
    height: 24px;
    border: none;
    background-color: transparent;
    background-attachment: scroll;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

input[type="radio"] + label::before {
    background-image: url('/lime/upload/surveys/932241/images/light_blot.png');
}

input[type="radio"] + label::after {
    background-image: url('/lime/upload/surveys/932241/images/purple_blot.png');
    transform: translateY(-50%) scale(1.3) !important;
}

input[type="radio"]:checked + label::before {
    display: none !important;
}

input[type="radio"]:not(:checked) + label::after {
    display: none !important;
}

@keyframes walk {
    from {
        transform: rotate(-8deg);
    }

    50% {
        transform: rotate(8deg);
    }

    to {
        transform: rotate(-8deg);
    }
}

.cat {
    position: fixed;
    bottom: 0;
    left: -5em;
    height: 5em;
    width: auto;
    transition: left 10s linear;
}

.cat.walking {
    left: 100vw;
    animation-name: walk;
    animation-duration: 1s;
    animation-iteration-count: infinite;
}

div.question-container.swipe div.answer-container {
    display: none;
}

div.ls-label-question:has(img.swipe) {
    text-align: center;
}

img.swipe {
    max-width: 80vw;
    max-height: 60vh;
    touch-action: none;
}

.question-text, 
.question-title-container h3,
.ls-label-question label {
    font-size: 1.4em;
    line-height: 1.8em;
}

label.btn,
.answer-item label,
label.form-check-label {
    font-size: 1.2em !important;
    line-height: 1.4em;
}

input[type="checkbox"]:checked + label.btn {
    background-color: #f39c12 !important;
    color: white !important;
    border-color: #e67e22 !important;
    font-weight: bold;
    box-shadow: 0 0 6px rgba(243, 156, 18, 0.7);
    transition: background-color 0.2s ease-in-out;
}

.group-description {
    color: black !important;
}

body:has(.question-container.finish) #navigator-container .text-end {
    display: none;
}

.ls-answers .answertext {
  max-width: 100px !important;
  width: 100px !important;
  white-space: normal !important;
  word-break: break-word !important;
}

#error-card .card-body {
    color: black !important;
}

#error-card .text-danger {
    color: red !important;
}
