﻿html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}


.lpColor {
    color: #ad0132;
}

.lpColorTitel {
    color: #ad0132;
    font-weight: bold;
}

.lpColorTabeleTitel {
    background-color: #ad0132;
    color: white;
    font-weight: bold;
}

.lpBtnColorAdd {
    color: #ad0132;
}

    .lpBtnColorAdd:hover {
        background-color: #ad0132;
        color: white;
    }

.btn-lp {
    background-color: #ad0132;
    color: white;
}

.btn-lp-gray {
    background-color: darkgrey;
    color: white;
}

.lpbgMenuColor {
    background-color: #ad0132;
    color: white;
}

.inline-check {
    width: 30%;
    white-space: nowrap;
}

.borderRed {
    border:1px solid #ad0132;
}
/*.input-validation-error + .form-check-label {
    color: red;
}*/

.mytextarea.input-validation-error {
    border:1px solid red;
}

/*.input-validation-error{
    color:red;
}*/
.input-validation-error {
    border: 1px solid red;
    /*color: red;*/
}

.text-orange{
    color:orangered;
}

.text-gray {
    color: #bfb5b2;
}
.text-green {
    color:green;
}

.btnAccordionmod{
    display:unset !important;
}

.lpColor {
    color: #ad0132;
}

.lpColorTitel {
    color: #ad0132;
    font-weight: bold;
}

.bg-lp {
    background-color: #ad0132;
}
.apexcharts-toolbar{
    display:none!important;
}
.ql-editor{
    min-height:100px;
}
.card {
    box-shadow: rgba(0, 0, 0, 0.1) 0px 20px 25px -5px, rgba(0, 0, 0, 0.04) 0px 10px 10px -5px;
}
.logoSurvey {
    display: grid;
    justify-content: center;
    align-content: center;
}
.ql-align-justify{
    margin-bottom:0;
}
h5 > p {
    margin-bottom: 0!important; /* You can adjust the margin-bottom value as needed */
}

.myPaddingMatrix > p{
    margin-bottom:0!important;
}


/* Styling for the answers section */
.answers-section {
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

/* Styling for the heading */
h4 {
    margin-bottom: 20px;
}

/* Styling for the answers container */
#answersContainer {
    /* No specific styling required */
}

/* Styling for each answer item */
.answer-item {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    transition: box-shadow 0.3s ease;
    display: flex;
    align-items: center;
}

    .answer-item:hover {
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    }

/* Styling for the input fields */
.input-group {
    display: flex;
    align-items: center;
    flex: 1;
}

.answer-input,
.type-input,
.points-input {
    flex: 1;
    margin-right: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 10px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

    .answer-input:focus,
    .type-input:focus,
    .points-input:focus {
        border-color: #007bff;
        outline: none;
    }

/* Styling for the checkbox */
.form-check-input {
    margin-right: 5px;
}

/* Styling for the trash icon container */
.btn-remove {
    padding: 0;
    margin-left: 10px;
}

/* Styling for the trash icon */
.remove-answer {
    cursor: pointer;
    color: #dc3545;
    font-size: 18px;
    transition: color 0.3s ease;
}

    /* Styling for the trash icon on hover */
    .remove-answer:hover {
        color: #c82333;
    }



small > i > p{
    margin-bottom:0;
}

/* 1) Flex row, wrap */
.image-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* 2) Thumbnails as a column: fixed image height, auto container height */
.preview-thumb {
    display: flex;
    flex-direction: column; /* stack img + comment */
    align-items: center;
    width: 150px; /* fixed width */
    margin: 0.5rem;
    position: relative; /* for the trash icon */
    /* no fixed height here! let it expand */
}

    /* 3) Image only gets the fixed box */
    .preview-thumb img {
        width: 100%;
        height: 150px; /* fixed image height */
        object-fit: cover; /* crop/fill */
        border: 1px solid #ddd;
        border-radius: 4px;
    }

    /* 4) Trash icon sits over the image */
    .preview-thumb .fa-trash {
        position: absolute;
        top: 4px;
        right: 4px;
        background: rgba(255,255,255,0.8);
        border-radius: 50%;
        padding: 2px;
        cursor: pointer;
        color: #c00;
    }

    /* 5) Comment text underneath */
    .preview-thumb .small.text-muted {
        margin-top: 0.25rem;
        font-size: 0.85rem;
        text-align: center;
        color: #555;
    }