* {
    outline: none;
    font-family: Roboto;
}

.bg-main {
    background-color: #f5f5f5;
}

.mw-750px {
    max-width: 750px;
}

.cursor-pointer {
    cursor: pointer;
}

input::placeholder,
textarea::placeholder {
    font-weight: light;
}

#table-of-contents div {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 90%;
}

#table-of-contents-pending div {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 90%;
}

.margin-left-minus-0-5em {
    margin-left: -0.5em;
}

.add-plan-item {
    display: none;
    background: #f5f5f5;
}

.plan-item-template:hover {
    background: #f5f5f5;
}

.plan-item-template:hover .add-plan-item {
    display: block;
}

.task:has(.unmarked) {
    border-color: #dc3545 !important;
}

.task:has(.unmarked)::before {
    content: "";
    position: absolute;
    top: 1em;
    left: -2.2em;
}

.ledybug {
    position: fixed;
    z-index: -1;
    left: 0;
    top: 0;
    height: 100vh;
    width: 100vw;
    /*https://i0.wp.com/projectrussia.ru/assets/ae34912413ae3a.jpg*/
    /*https://static.life.ru/publications/2022/1/14/920501841096.8822.jpg*/
    /*https://i.ytimg.com/vi/Z6G6cDRr1IA/maxresdefault.jpg?sqp=-oaymwEmCIAKENAF8quKqQMa8AEB-AH-CYAC0AWKAgwIABABGGggaChoMA8=&amp;rs=AOn4CLCsy8tOPNaIEdyOshelS_tVpriFnw*/
    /*https://img.freepik.com/free-vector/dark-background-of-christmas-snowflakes_1035-5830.jpg?size=626&ext=jpg*/
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), url('assets/ladybug.jpg');
    background-position: center;
    background-size: cover;
}

::backdrop {
    background-color: rgba(0, 0, 0, 0.5);
}

.task-comment:hover {
    background: #d9d9d9;
}

.dialog-commets-content {
    scrollbar-width: thin;
}

.fs-11pt {
    font-size: 11pt !important;
}

.chosen-container * {
    font-family: Roboto !important;
}

.chosen-container {
    width: 100% !important;
}

.chosen-single {
    height: 36px !important;
    background: white !important;
    border-color: #dee2e6 !important;
    box-shadow: none !important;
    color: black !important;
    line-height: 36px !important;
    font-size: 1rem !important;
    width: 100% !important;
}

.chosen-single span {
    padding-left: 5px !important;
}

.chosen-drop {
    border: 1px solid #dee2e6 !important;
    font-size: 0.9rem !important;
}

.chosen-search {
    padding-top: 5px !important;
}

.chosen-search-input {
    border: none !important;
    border-bottom: 1px solid #dee2e6 !important;
}

.chosen-container-single .chosen-single div b {
    display: block;
    position: absolute;
    top: 5px;
    left: -6px;
}

.chosen-results li {
    line-height: 1.3rem !important;
    border-radius: 3px !important;
}

.chosen-results li.highlighted {
    background: #0d6efd !important;
}

:target {
    scroll-margin-top: 80px;
    /* высота фиксированной шапки */
}

.sortable-tasks-ul {
    list-style-type: none;
    padding: 0;
}

.sortable-tasks-ul li {
    margin: 4px 0;
    padding: 5px 10px;
    font-size: 16px;
    cursor: move;
}

.sortable-tasks-ul .ui-sortable-helper {
    box-shadow: rgba(0, 0, 0, 0.14) 10px 10px 10px -5px;
}

.md-content h1,
.md-content h2,
.md-content h3,
.md-content h4,
.md-content h5,
.md-content h6 {
    font-weight: bold;
}

.md-content h1 {
    font-size: 2rem;
}

.md-content h2 {
    font-size: 1.6rem;
}

.md-content h3 {
    font-size: 1.3rem;
}

.md-content h4 {
    font-size: 1.1rem;
}

.md-content h5 {
    font-size: 1rem;
}

.md-content h6 {
    font-size: 0.9rem;
}

.md-content table {
    border-collapse: collapse;
    margin-bottom: 20px;
    width: 100%;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.md-content table::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 10px;
    box-shadow: 0 0 0 2px #bdbdbd;
    pointer-events: none;
}

.md-content td,
.md-content th {
    border: 1px solid #bdbdbd;
    padding: 10px;
}

.md-content th {
    background: #eeeded;
}

.md-content hr {
    visibility: hidden;
    margin: 20px 0;
}