/* site.css Дополнительные стили на все страницы */

body,
html {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    font-size: 12px;
}

.alert {
    display: none;
}

.modal-dialog {
    max-width: 1200px;
}

#newReportModal .modal-dialog {
    max-width: 600px;
}

.saved {
    color: green;
}

.not-saved {
    color: red;
}

.stage-delete,
.stage-done {
    display: none;
}

/* FORM */

.form-group {
    margin-bottom: 10px;
}

/* SERVICE */

/* .service-form,
.service-create,
.service-update {
    max-width: 800px;
    margin: auto;
} */

/* REPORT-ITEM */

.report-title {
    color: #008b8b;
}

/* REPORT-MODAL */

.tab-content {
    margin-top: 15px;
    margin-bottom: 30px;
}

.tab-content .f_item {
    margin-bottom: 0.2rem;
}

i.delete_file {
    color: red;
}

/* USER */

/* .user-create,
.user-update {
    max-width: 800px;
    margin: auto;
} */


/* STREAM */

.stream i {
    margin-right: 15px;
    color: blue;
}

.stream .nav-tabs {
    position: fixed;
    background: #ffffff;
    /* width: inherit; */
}

/* CHAT */

.chat-board audio {
    filter: sepia(100%) saturate(100%) grayscale(3) contrast(100%) invert(0%);
    width: 100%;
    height: 40px;
}

.chat-board img {
    width: -webkit-fill-available;
}

.chat-board {
    max-width: 600px;
    margin: auto;
    height: 90vh !important;
}

.message-history {
    padding-bottom: 50px;
}

#message-form {
    position: sticky;
    bottom: 0px;
    height: 200px;
    background: #fff;
    padding-top: 10px;
}

.incoming {
    background: #f7f7cb;
    padding: 10px;
    margin-bottom: 15px;
    word-break: break-word;
}

.outgoing {
    background: #e9fde9;
    padding: 10px;
    margin-bottom: 15px;
    word-break: break-word;
}

.incoming p,
.outgoing p {
    margin-bottom: 0;
}

.incoming .quoted-mess {
    border-left: 4px solid #cfcf5f;
    padding: 10px;
    margin-bottom: 10px;
    background: #eaeaae;
    display: block;
}

.outgoing .quoted-mess {
    border-left: 4px solid #97cd97;
    padding: 10px;
    margin-bottom: 10px;
    background: #d8eed7;
    display: block;
}

a.quoted-mess {
    text-decoration: none;
    color: gray;
}

span.timestamp {
    font-size: 12px;
    color: grey;
    display: block;
    text-align: end;
}

.date-label {
    font-size: 14px;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 10px;
}

.reaction-bubble {
    float: inline-end;
    width: 40px;
    height: 25px;
    border-radius: 20px;
    background: #fdfdfd;
    text-align: center;
    box-shadow: 2px 2px 5px 0px rgb(0 0 0 / 29%);
}

.message-actions-wrapper {
    position: relative;
    display: none;
}

.message-content:hover .message-actions-wrapper {
    display: block;
}

.action-btn {
    border: none;
    font-weight: bold;
    position: absolute;
    right: 0px;
    text-align: end;
    top: 0px;
    background: white;
    box-shadow: 2px 2px 5px 0px rgb(0 0 0 / 29%);
    border-radius: 7px;
}

.message-actions-popup {
    position: absolute;
    top: 20px;
    right: 0;
    background: white;
    border: 1px solid #ccc;
    border-radius: 4px;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.message-action {
    padding: 5px 10px;
    cursor: pointer;
}

.message-action:hover {
    background: #f0f0f0;
}

.quoted-element {
    border-left: 4px solid #cfcf5f;
    padding: 10px;
    margin-bottom: 10px;
    background: #eaeaae;
    display: block;
}

.task-item {
    border: 1px solid #dee2e6;
    border-radius: 5px;
    margin-bottom: 15px;
    /* padding-bottom: 10px; */
}

.task-item-header {
    font-size: 14px;

    background-color: #d3f2b3;
    padding: 5px;
    border-bottom: 1px solid #dee2e6;
    /* margin-bottom: 10px; */
}

.task-item-header.hide-task-header {
    display: none;
}


.task-item-header.task-attention {
    background-color: #f99d9d;
}

.task-item-header.task-done {
    background-color: #f5f5dc;
}

.task-item-bottom {
    border-top: 1px solid #dee2e6;
    font-size: 14px;
    color: #c1c1c1;
    padding: 5px 10px;
}

.task-description {
    padding: 10px;
    /* white-space: pre-line; */
}

select.form-control {
    color: #595c5f;
}

.task-description-input {
    display: none;
    width: 100%;
    margin-top: 15px;
}

.task-deadline-input {
    display: none;
    width: 100%;
}

/* .datetimepicker {
    right: auto !important;
    left: 0 !important;
    max-width: 100vw;
    overflow-x: auto;
    z-index: 9999;
} */

.app-access-allow,
.user-status-active {
    color: green;
    /* font-weight: bold; */
}

.app-access-deny,
.user-status-delete {
    color: rgb(236, 138, 138);
    /* font-weight: bold; */
}

#user-userrolesarray label {
    display: block;
    margin-bottom: 10px;
}

.site-login {
    width: 400px;
    margin: auto;
}

/* .form-control {
    padding: 0.2rem 0.5rem;
    font-size: 1rem;
} */

/* .form-select { */
    /* padding: 0.2rem 0.5rem; */
    /* font-size: 0.9rem; */
/* } */

label {
    color: #686a6d;
    font-size: 1rem;
}


a.file_uploaded {
    font-size: 1rem;
}

/* .btn {
    --bs-btn-padding-y: 0.2rem;
    font-size: 1rem;
} */


.reporting-summ,
.reorting-count {
    display: inline;
    margin-right: 20px;
}

.reporting-total {
    font-size: 1.1rem;
    color: brown;
}