.popup_bg_calendar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: none;
    z-index: 3;
}

.popup_calendar {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    flex-wrap: wrap;
    border-radius: 10px;
    position: absolute;
    background: #ffffff;
    width: auto;
    height: auto;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 4;
}

.calendarTitle {
    position: absolute;
    display: flex;
    justify-content: flex-start;
    font-weight: 600;
    margin: 5px 0px 0px 15px;
    font-size: 20px;
}

.requestNote {
    border-left: 2px solid #7a7a7a;
    padding-left: 5px;
}

.noteContent a {
    color: var(--primary);
    text-decoration: none;
    background-color: transparent;
    transition: all .2s ease;
}

    .noteContent a:hover {
        color: var(--primary);
        text-decoration: underline;
        transition: all .2s ease;
    }

.notesBlock {
    display: flex;
    flex-wrap: nowrap;
    overflow-y: auto;
    overflow-x: auto;
    flex-direction: column;
    border-left: 1px solid #efefef;
    background-color: white;
    height: 600px;
    width: 444px;
}

.notesBlockMain {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    border-left: 1px solid #efefef;
    background-color: white;
    height: 600px;
    width: 924px;
}

.myWrap {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    margin-top: 50px;
}

.myWrapper {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
}

.notes-count-span {
    position: absolute;
    top: -5px;
    right: 0;
    display: inline-block;
    width: 20px;
    height: 20px;
    padding: 0 2px;
    font-size: 13px;
    line-height: 20px;
    font-weight: 500;
    color: #fff;
    vertical-align: middle;
    text-align: center;
    background-color: var(--primary);
    border-radius: 50%;
    overflow: hidden;
}

#calendar {
    height: 600px;
    width: 850px;
}

#calendarMain {
    height: auto;
    width: 850px;
}

.noteElement {
    display: flex;
    color: white;
    justify-content: space-between;
}

.deleteNote {
    display: flex;
    height: 30px;
    width: 30px;
    padding: 5px;
    cursor: pointer;
    justify-content: center;
}

.redactNote {
    align-items: flex-end;
    display: flex;
    height: 30px;
    width: 30px;
    padding: 5px;
    cursor: pointer;
    justify-content: center;
}

.notesBlockMain .noteElement  .noteContent .noteTextWithoutRequest{
    width:710px;
}

.addNote {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 10px 25px 0 25px;
    cursor: pointer;
    color: black;
    justify-content: flex-start;
}

.noteText {
    color: black;
    padding-left: 5px;
    padding-right: 10px;
    width: 100%;
}

.noteTextWithoutRequest {
    color: black;
    padding-left: 0;
    width: 253px;
}

.redactPanel {
    display: flex;
    flex-direction: column;
    margin: 5px;
}

.noteIcons {
    width: 20px;
    height: 20px;
    margin-right: 5px;
}

.noteElementDate {
    display: flex;
    justify-content: flex-end;
    margin: 5px;
    font-size: 16px;
}

.noCurrentDayNotes {
    display: flex;
    justify-content: center;
    margin: 5px;
    font-size: 14px;
}

.addNote_form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 10px;
}

    .addNote_form input {
        margin: 1px;
    }

.textInCell {
    background-color: #0081fa57;
    border-radius: 5px;
    padding: 0 5px 0 5px;
    margin-top: 5px;
    font-weight: 400;
    font-size: 16px;
    width: 110px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    color: black;
}

.air-datepicker-cell.-selected- .textInCell {
    color: black;
    background-color: white;
}

.air-datepicker-cell.-selected- .countNotes {
    color: white;
    background-color: #086100;
}

.close-note {
    top: 10px;
    right: 5px;
    position: absolute;
    display: inline-block;
    padding: 14px;
    border: none;
    height: 20px;
    border-radius: 4px;
    background-color: var(--bg-color);
    pointer-events: auto;
}

    .close-note span {
        position: absolute;
        pointer-events: none;
        left: 20%;
        top: 44%;
        display: block;
        width: 60%;
        height: 3px;
        background-color: #cacad7;
        transform: rotate(45deg);
    }

        .close-note span::before {
            content: "";
            display: block;
            width: 100%;
            height: 3px;
            background-color: #cacad7;
            transform: rotate(90deg);
        }

    .close-note:hover {
        background-color: var(--primary);
    }

        .close-note:hover span {
            background-color: white;
        }

            .close-note:hover span::before {
                background-color: white;
            }

.close-calendar {
    top: 10px;
    right: 10px;
    position: absolute;
    display: inline-block;
    padding: 14px;
    border: none;
    height: 20px;
    border-radius: 4px;
    background-color: var(--bg-color);
    pointer-events: auto;
}

    .close-calendar span {
        position: absolute;
        pointer-events: none;
        left: 20%;
        top: 44%;
        display: block;
        width: 60%;
        height: 3px;
        background-color: #cacad7;
        transform: rotate(45deg);
    }

        .close-calendar span::before {
            content: "";
            display: block;
            width: 100%;
            height: 3px;
            background-color: #cacad7;
            transform: rotate(90deg);
        }

    .close-calendar:hover {
        background-color: var(--primary);
    }

        .close-calendar:hover span {
            background-color: white;
        }

            .close-calendar:hover span::before {
                background-color: white;
            }

.saveNoteButton {
    margin: 5px;
    border-radius: 5px;
    background-color: var(--primary);
    color: white;
    margin-top: 10px;
}

.redactNoteTitle {
    display: flex;
    justify-content: center;
    font-size: 20px;
    margin: 0 0 10px 0;
}

.textareaNote {
    font-size: 16px;
    margin: 2px 0 10px 0;
}

.countNotes {
    color: white;
    font-size: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    width: 18px;
    padding: 0 0 2px 1px;
    height: 18px;
    position: absolute;
    top: 58px;
    right: 1px;
    background-color: #086100;
    border-radius: 50%;
}

.calendarDate {
    display: flex;
    justify-content: flex-end;
    font-size: 14px;
    height: 25px;
    width: 25px;
    font-weight: 400;
}

.popup_redact_bg_calendar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: none;
    z-index: 9999;
}

.checkboxToggle {
    color: black;
    display: flex;
    flex-direction: row;
}

    .checkboxToggle > * {
        padding: 0 5px 0 5px;
    }
