.btn-success {
    color: #fff;
    background-color: #5cb85c;
    border-color: #4cae4c;
}
.questions-view .btn-success:hover,
.questions-view .btn-success:focus,
.questions-view .btn-success:active,
.questions-view .btn-success.active,
.questions-view .open > .dropdown-toggle.btn-success {
    color: #fff;
    background-color: #449d44;
    border-color: #398439;
}
.questions-view .btn-xs, .questions-view .btn-group-xs > .btn {
    padding: 1px 5px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
}
.btn {
    transition: background-color .3s ease;
}
.q-body .q-count-wrapper,
.q-body .q-body-wrapper {
    padding: 15px;
}
.q-body .q-count,
.q-body .q-count p {
    margin-bottom: 10px;
    margin-bottom: 5px;
    border-bottom: 1px solid #333;
    border-bottom: 1px solid #d3d3d3;
    padding: 0 10px;
    padding-bottom: 10px;
    color: #a3abb1;
}
/*.list-inline {
    padding-left: 0;
    margin-left: -5px;
    list-style: none;
}
.list-inline > li {
    display: inline-block;
    padding-right: 5px;
    padding-left: 5px;
    display: flex;
    justify-content: center;
}*/
.questions-btns {
    text-align: center;
    margin: 15px 0;
    margin-top: 0;
    padding: 0;
    border-radius: 3px;
    /*border: 1px solid #dadfe1;*/
    font-size: 0;
    /*background-color: #f2f1ef;*/
    /*box-shadow: 0 0 5px 0 rgba(50, 50, 50, 0.3);*/
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(50px, 1fr));
    grid-template-columns: repeat(auto-fill, minmax(40px, 1fr));
    gap: 10px;
    gap: 7px;
    list-style: none;
}
.questions-btns > li {
    border: 1px solid transparent;
    border-radius: 0.375rem;
    overflow: hidden;
}
.questions-btns > li:hover {
    border-color: #46a0bb;
}
.question-db-id {
    padding-left: 90px;
}
.div-cont {
    min-height: 25vh;
}
.q-body .content.q-variants {
    font-family: 'Times New Roman';
    font-size: 14pt !important;
}
.q-body .q-body-wrapper .q-variants {
    font-size: 16px;
    padding-left: 30px;
    padding-right: 15px;
    margin-top: 5px;
}
.pre-description,
.pre-content {
    display: none;
}
.pre-content.active {
    display: block;
    position: sticky;
    top: 280px;
    top: 50px;
}
.pre-description-content {
    padding: 15px;
    padding-bottom: 0;
    margin-top: 1rem;
    border-top: 1px solid #ddd;
}
.q-body .q-body-wrapper .q-answer {
    display: flex;
    margin-top: 15px;
    margin-bottom: 0;
    text-align: center;
    margin-left: 0;
    justify-content: center
}
.q-body .q-body-wrapper .q-answer li {flex: auto;max-width: 100px;}
.q-body .q-body-wrapper .q-answer li button {
    /*padding: 10px 40px;*/
    margin: 2px;
    min-width: 80%;
}
.questions-view .questions-btns .btn-info {
    color: #fff;
    background-color: #5bc0de;
    border-color: #46b8da;
    text-shadow: 0 1px 2px #898989;
}
.questions-view .questions-btns .btn {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
}
.questions-view .btn-info.disabled, .questions-view .btn-info[disabled],
.questions-view fieldset[disabled] .btn-info,
.questions-view .btn-info.disabled:hover,
.questions-view .btn-info[disabled]:hover,
.questions-view fieldset[disabled] .btn-info:hover,
.questions-view .btn-info.disabled:focus,
.questions-view .btn-info[disabled]:focus,
.questions-view fieldset[disabled] .btn-info:focus,
.questions-view .btn-info.disabled:active,
.questions-view .btn-info[disabled]:active,
.questions-view fieldset[disabled] .btn-info:active,
.questions-view .btn-info.disabled.active,
.questions-view .btn-info[disabled].active,
.questions-view fieldset[disabled] .btn-info.active {
    background-color: #5bc0de;
    border-color: #46b8da;
}
.mb-20 {
    margin-bottom: 20px !important;
}
.content {min-height:156px;}
.q-body-bg {background: #fff;padding-bottom: 1rem;box-shadow: 1px 1px 12px #dfdfdf;}

.blinking {
    animation: blink1 0.5s step-start infinite;
}

@keyframes blink {
    50% {
        color: red; /* Цвет мигания */
    }
}

@keyframes blink1 {
    0% {
        color: #ffcccc;
    }
    50% {
        color: #ff6666;
    }
    100% {
        color: #ffcccc;
    }
}
.top-section {padding: .75rem 0;}
.theme-name {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    text-align: right;
    color: #7e8195;
}
.q-img {
    padding-right: 15px;
}
.btn.select-quest.btn-danger.btn-warning {
    -bs-btn-color: #000;
    --bs-btn-bg: #ffc107;
    --bs-btn-border-color: #ffc107;
    --bs-btn-hover-color: #000;
    --bs-btn-hover-bg: #ffca2c;
    --bs-btn-hover-border-color: #ffc720;
    --bs-btn-focus-shadow-rgb: 217, 164, 6;
    --bs-btn-active-color: #000;
    --bs-btn-active-bg: #ffcd39;
    --bs-btn-active-border-color: #ffc720;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #000;
    --bs-btn-disabled-bg: #ffc107;
    --bs-btn-disabled-border-color: #ffc107;
}