
/*modal*/
.custom_modal .modal-title {
    font-size: 26px;
    text-align: center;
    margin: auto;
}

.custom_modal .close {
    position: absolute;
    right: 1rem;
    top: 1rem;
}

.inmodal .modal-header .close {
    margin-top: -2rem;
}

.text-primary_green {
    color: #18a689 !important;
}

/*подсветка зеленой кнопки при тесмном фоне*/
.btn-info.text-dark:hover {
    color: #fff !important;
}

/* Start styling подстройка селектов смол до одной высоты */
.select2-selection.select2-selection--single {
    height: 31px;
}

.select2-dropdown.select2-dropdown--below {
}

/* End styling подстройка селектов смол до одной высоты */
.btn-sm {
    height: 31px;
}

.btn_reception_wait {
    background: rgba(217, 90, 141, 0.4);
    color: #ffffff;
}

.btn_reception_success {
    background: rgba(170, 93, 252, 0.4);
    color: #ffffff;
}

.btn_reception_success.isvideo {
    background: rgba(250, 242, 2, 0.4);
    color: #000;
}

.btn_reception_cancel {
    background: rgba(198, 135, 79, 0.4);
    color: #ffffff;
}

.btn_reception_wait.active {
    background: #d95a8d;
    color: #ffffff;
}

.btn_reception_success.active {
    background: #aa5dfc;
    color: #ffffff;
}

.btn_reception_success.isvideo.active {
    background: #fcf301;
    color: #000;
}

.btn_reception_cancel.active {
    background: #c6874f;
    color: #ffffff;
}

.fc-event-title-container {
    margin-top: -7px;
}

.fc-media-screen .fc-timegrid-event {
    padding: 1px;
}

.text-reception_wait {
    color: rgba(217, 90, 141, 0.8);
}

.text-reception_success {
    color: rgba(170, 93, 252, 0.8);
}

.text-reception_cancel {
    color: rgba(198, 135, 79, 0.8);
}

/*dlobal intup number */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}

input[type=number] {
    -moz-appearance: textfield; /* Firefox */
}

/*Start global validation */
label.error {
    width: 100%;
}

/*End global validation */
/* Start styling Calendar modul */
.isSchedule {
    padding: 0 !important;
}

.isSchedule .fc-event-title {
    margin: 0.1em !important;
}

.isIconClass .fc-event-title:before {
    font-family: "Font Awesome 5 Free";
    content: "\f0f1";
    display: inline-block;
    padding-right: 3px;
    font-weight: 900;
}

.isFirstVisit .fc-event-main-frame:before {
    font-family: "Font Awesome 5 Free";
    content: "\f005";
    display: inline-block;
    position: absolute;
    top: 2px;
    right: 4px;
    font-weight: 900;
    color: #fff;
}

.isFirstVisit.bg-success .fc-event-main-frame:before {
    color: #000;
}

.fc-event.hover {
    background-color: rgba(35, 198, 200, 0.26) !important;
}

.fc-timegrid-slot.fc-timegrid-slot-label.fc-scrollgrid-shrink.hover {
    background-color: rgba(35, 198, 200, 0.26) !important;
}

.fc-timegrid-slot.fc-timegrid-slot-label.fc-scrollgrid-shrink.hover .fc-timegrid-slot-label-frame.fc-scrollgrid-shrink-frame {
    background-color: transparent !important;
}

.fc .fc-timegrid-slot {
    height: 2.5em;
}

.text-black .fc-event-time,
.text-black .fc-event-title {
    color: #000 !important;
}

.text-black .fc-event-title {
    font-size: 12px !important;
    font-weight: 500 !important;
    font-style: normal !important;
}

.text-light,
.text-light .fc-event-time,
.text-light .fc-event-title {
    color: #fff !important;
}

.text-light .fc-event-title {
    font-size: 12px !important;
    font-weight: 500 !important;
    font-style: normal !important;
}


.bg-success {
    background-color: #a8e5b8 !important;
    color: #000;
}

.bg-fiolet {
    background-color: #d3a9fc !important;
    color: #000;
}

.bg-fiolet:hover {
    background-color: #aa5dfc !important;
}

.bg-yellow {
    background-color: #fcf998 !important;
    color: #000;
}

.bg-yellow:hover {
    background-color: #fcf301 !important;
}

.bg-darkred {
    background-color: #d95a8d !important;
    color: #000;
}

.bg-darkred:hover {
    background-color: #de0c62 !important;
}

.bg-lightbrown {
    background-color: #ddc3a6 !important;
    color: #000;
}

.bg-lightbrown:hover {
    background-color: #dba774 !important;
    color: #000;
}

.bg-darkgrey {
    background-color: #bab9b9 !important;
    color: #000;
}

.bg-darkgrey:hover {
    background-color: #808080 !important;
    color: #000;
}

.border_grey {
    border: 1px solid #a0a0a0;
}

.calendar__title_label,
.fc-timegrid-axis-frame {
    background-color: #fff;
}

.fc-timegrid-col {
    background: #d6d6d687 !important;
    border: 1px solid #bfbfbf !important;
}

.fc-theme-standard td, .fc-theme-standard th,
.fc-theme-bootstrap td, .fc-theme-bootstrap th {
    border: 1px solid #bfbfbf !important;
}

.fc-direction-ltr .fc-timegrid-slot-label-frame {
    background: #fff !important;
}

.fc .fc-bg-event {
    opacity: 0.87 !important;
}

.calendar__width_200 {
    max-width: 200px;
}

.btn_tag i {
    opacity: 0.1;
}

.btn_tag:hover i,
.btn_tag.active i {
    opacity: 1;
}

.calendars__modal_title {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

.calendars__calendar_icon {
    width: 95px;
    margin-right: 10px;
    height: 110px;
}

.calendars__calendar_top {
    text-align: center;
    padding: 3px;
}

.calendars__calendar_date {
    padding: 4px;
    text-align: center;
}

.calendars__calendar_day {
    font-size: 23px;
    font-weight: 600;
}

.calendars__user_name {
    font-size: 16px;
}

.calendars__interval_row {
    margin-top: 15px;
}

.calendars__calendar_time {
    padding-top: 5px;
    font-weight: 600;
}

.calendars__calendar_icons {
    display: inline-block;
    width: 15px;
    margin-right: 7px;
}

.calendars__calendar_info_text {
    line-height: 1.5;
}

.text-light .fc-event-title .calendars__event_payment_status {
    border-color: #fff;
}

.calendars__event_payment_status {
    height: 11px;
    width: 11px;
    margin-right: 3px;
    display: inline-block;
    position: relative;
    top: 2px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    border: 1px solid black;
}

/*настройка линии времени текущего*/
.fc .fc-timegrid-now-indicator-line {
    border-bottom-width: 1px;
    border-top-width: 1px;
    border-color: #ee591f;
    background-color: #ee591f;
}

.fc-resourceTimeGridFourDay-view .fc-timegrid-now-indicator-line {
    display: none;
}

.fc-timegrid-now-indicator-arrow {
    border-color: #ee591f;
}

/*dobavleno tsveta kotorie oboznachaut nalichie zapisey d v dni shedula*/
.datepicker table tr td.day.dayWithEvent {
    background-color: #d1f0ea;
    border-color: #d1f0ea;
}

.datepicker table tr td.day.dayWithEvent.active {
    background-color: #204d74;
    border-color: #204d74;
}

.datepicker table tr td.day.dayNoEvent {
    background-color: #fde5e8;
    border-color: #fde5e8;
}

.datepicker table tr td.day.dayNoEvent.active {
    background-color: #204d74;
    border-color: #204d74;
}

/* End styling Calendar modul */

.filter__width_200 {
    max-width: 200px;
}

.filter__width_300 {
    max-width: 300px;
}

.filter__width_400 {
    max-width: 400px;
}

input::placeholder {
    font-size: 13px;
    color: #999;
}

.min-w-100px {
    min-width: 100px;
}

.min-w-150px {
    min-width: 150px;
}

.min-w-200px {
    min-width: 200px;
}

.min-w-250px {
    min-width: 250px;
}

.max-w-100px {
    max-width: 100px;
}

.max-w-150px {
    max-width: 150px;
}

.max-w-200px {
    max-width: 200px;
}

.max-w-250px {
    max-width: 250px;
}

.mt--15 {
    margin-top: -15px;
}

/* Start styling patient histories */
@media (max-width: 1199px) {
    .histories__item_wrap {
        max-height: 300px;
        overflow: auto;

    }
}


.histories__item {
    padding: 10px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    cursor: pointer;
}

.histories__item:hover,
.histories__item.active {
    background-color: #f3f3f4;
}

.histories__item_icon {
    margin-right: 12px;
}

.histories__item_icon i {
    font-size: 15px;
}

.histories__view_icons {
    width: 20px;
    margin-right: 8px;
}

.histories__view_info {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    margin-bottom: 5px;
}

/* End styling patient histories */

/* Start styling patient tasks */
.tasks__item_wrap {
    max-height: 600px;
    overflow: auto;
}

@media (max-width: 1199px) {
    .tasks__item_wrap {
        max-height: 300px;
        overflow: auto;
    }
}


.tasks__item {
    padding: 10px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    cursor: pointer;
}

.tasks__item:hover,
.tasks__item.active {
    background-color: #f3f3f4;
}

.tasks__item_icon {
    margin-right: 12px;
}

.tasks__item_icon i {
    font-size: 15px;
}

.tasks__view_icons {
    width: 20px;
    margin-right: 8px;
}

.tasks__view_info {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    margin-bottom: 5px;
}

.tasks__comment_wrap {
    max-height: 350px;
    overflow: auto;
}

.tasks__comment_text {
    width: 85%;
}

/* End styling patient tasks */

/* Start styling patient quizes */
@media (max-width: 1199px) {
    .quizes__item_wrap {
        max-height: 300px;
        overflow: auto;

    }
}


.quizes__item {
    padding: 10px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    cursor: pointer;
}

.quizes__item:hover,
.quizes__item.active {
    background-color: #f3f3f4;
}

.quizes__item_icon {
    margin-right: 12px;
}

.quizes__item_icon i {
    font-size: 15px;
}

.quizes__view_icons {
    width: 20px;
    margin-right: 8px;
}

.quizes__view_info {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    margin-bottom: 5px;
}

/* End styling patient quizes */

.pricelists__icons_table {
    display: inline;
    width: 20px;
    margin-right: 7px;
    font-size: 14px;
    color: #676a6c;
}

/* Start styling services programs */
.td__touchspin .btn {
    height: 31px !important;
    line-height: 1;
}

.td__touchspin .form-control {
    height: 31px !important;
}

/* End styling services programs */
/* Start styling patients */
.patient__icon_head i {
    font-size: 15px;
    position: relative;
    top: -1px;
}

.patient__info_icons {
    width: 30px;
    margin-right: 5px;
}

.patient__informations p {
    margin-bottom: 7px;
}

.patients__table_icon {
    font-size: 18px;
    width: 42px;
}

.patients__info_title {
    font-weight: 600;
}

.patients__table_info {
    color: inherit;
}

.no-wrap {
    white-space: nowrap;
}

.patient__dog {
    width: 100%;
    padding: 8px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    margin-bottom: 7px;
}

.patient__dog .patient__dog_print {
    font-size: 16px;
    margin-right: 15px;
}

.patient__police {
    width: auto;
    padding: 8px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    margin-bottom: 7px;
}

.patient__police.patient__police_approval {
    background: #fbfbfb;
}

.patient__police .patient__police_print {
    font-size: 16px;
    margin-right: 15px;
}

/* End styling patients */

.summernote_wrap .dropdown-toggle::after {
    display: none;
}

/* Start styling protocols */
.protocols__one_row_inputs .input-group-addon {
    height: 31px;
    padding-top: 7px;
}

.protocols__one_row_inputs .form-control {
    margin-right: -1px;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}

.protocols__redactor .group_icon > i {
    font-size: 16px;
}

.protocols__redactor .group_row {
    padding: 5px;
    border-top: 1px solid #e7eaec;
}

.protocols__redactor .input_row {
    padding: 5px;
    border-top: 1px solid #e7eaec;
}

.protocols__redactor .input_row .input_row_input {
    width: 100%;
}

.protocols__redactor .input_row.disabled input,
.protocols__redactor .input_row.disabled .onoffswitch,
.protocols__redactor .input_row.disabled .onoffswitch-inner:before,
.protocols__redactor .input_row.disabled .onoffswitch-label,
.protocols__redactor .input_row.disabled .onoffswitch-switch,
.protocols__redactor .input_row.disabled .summernote_wrap .note-editor,
.protocols__redactor .input_row.disabled .protocols__template_tags_parent,
.protocols__redactor .input_row.disabled .protocols__copy_btn,
.protocols__redactor .input_row.disabled .select,
.protocols__redactor .input_row.disabled .select2-container,
.protocols__redactor .input_row.disabled .select2-container--default,
.protocols__redactor .input_row.disabled .select2-selection--single,
.protocols__redactor .input_row.disabled .protocols__list_group {
    pointer-events: none;
    background-color: #e9ecef !important;
    border-color: #e9ecef !important;
}

.protocols__redactor .input_row.disabled .protocols__delete_btn {
    display: none;
}

.protocols__redactor .input_row .protocols__delete_btn {
    display: block;
}

.protocols__redactor .input_row.disabled .protocols__undelete_btn {
    display: block;
}

.protocols__redactor .input_row .protocols__undelete_btn {
    display: none;
}


.input_group_clear {
    height: 31px;

}

.input_group_clear .form-control {
    margin-right: -1px;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}

.input_group_clear .btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.protocols__edit_btns_group {
    display: none !important;
}

.groups-full-block.-edit .protocols__edit_btns_group {
    display: inherit !important;
}

.groups-full-block.-edit .protocols__show_btns_group {
    display: none !important;
}

.event_protocol_div .groups-full-block .protocols__show_btns_group {
    display: none !important;
}

.event_protocol_div .groups-full-block.-edit .protocols__show_btns_group {
    display: inherit !important;
}

/*styling global protocols preview p*/
.protocols__redactor p,
.global_protocols_wrap p {
    margin-bottom: 5px !important;
}

/* End styling protocols */

/*select2 input*/
select.form-control.form-control-sm {
    height: 31px !important;
    padding-top: 4px !important;
    padding-bottom: 4px !important;
}

.select2-selection.select2-selection--single {
    height: 31px;
}

.select2-container--bootstrap4 .select2-selection--multiple {
    min-height: 31px !important;
}

.select2-container .select2-selection--multiple,
.select2-container--default.select2-container--focus .select2-selection--multiple {
    min-height: 31px;
}

/*CKEditor*/
.document-editor {
    border: 1px solid var(--ck-color-base-border);
    border-radius: var(--ck-border-radius);

    /* Set vertical boundaries for the document editor. */
    max-height: 700px;

    /* This element is a flex container for easier rendering. */
    display: flex;
    flex-flow: column nowrap;
}

.document-editor__toolbar {
    /* Make sure the toolbar container is always above the editable. */
    z-index: 1;

    /* Create the illusion of the toolbar floating over the editable. */
    box-shadow: 0 0 5px hsla(0, 0%, 0%, .2);

    /* Use the CKEditor CSS variables to keep the UI consistent. */
    border-bottom: 1px solid var(--ck-color-toolbar-border);
}

/* Adjust the look of the toolbar inside the container. */
.document-editor__toolbar .ck-toolbar {
    border: 0;
    border-radius: 0;
}

.document-editor__editable-container {
    padding: calc(2 * var(--ck-spacing-large));
    background: var(--ck-color-base-foreground);

    /* Make it possible to scroll the "page" of the edited content. */
    overflow-y: scroll;
}

.document-editor__editable.ck.ck-content.ck-editor__editable.ck-editor__editable_inline {
    padding: 10mm 20mm 20mm !important;
}

.document-editor__editable-container .ck-editor__editable {
    /* Set the dimensions of the "page". */
    width: 21cm;
    min-height: 29cm;

    /* Keep the "page" off the boundaries of the container. */
    padding: 10mm 20mm 20mm;

    border: 1px hsl(0, 0%, 82.7%) solid !important;
    border-radius: var(--ck-border-radius);
    background: white;

    /* The "page" should cast a slight shadow (3D illusion). */
    box-shadow: 0 0 5px hsla(0, 0%, 0%, .1);

    /* Center the "page". */
    margin: 0 auto;
}


/* Set the default font for the "page" of the content. */
.document-editor .ck-content,
.document-editor .ck-heading-dropdown .ck-list .ck-button__label {
    font: 14px/1.6 "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.global_document_wrap p {
    margin-bottom: 1px;
}

.global_document_wrap {
    color: #000000;
}

/* Start styling вариант от редактора */
span.image-absolute,
span.image-absolute_img {
    position: relative !important;
    display: inline !important;
    width: 1px !important;
    height: 1px !important;
    max-width: unset !important;
}

span.image-absolute img,
span.image-absolute_img img {
    position: absolute !important;
    margin: auto;

}

img[alt="signature"] {
    bottom: -10px !important;
    position: relative;
}

span.image-absolute img[alt="stamp"],
span.image-absolute_img img[alt="stamp"] {
    top: 50% !important;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    max-width: unset !important;
}

/* End styling вариант от редактора */
/*CKEditor*/

.select2-results__option.select2-results__option--highlighted .select2_span_muted {
    color: #fff !important;
}

/* Start styling скрытие кнопки ексель в datatable */
.btn_dt_excel {
    display: none !important;
}

/*скрыть ряд с кнопками в принципе*/
.dataTables_wrapper .dt-buttons {
    display: none;
}

/* End styling скрытие кнопки ексель в datatable */
/* Start styling в датапикере текст "по" в малых инпутах редактирование высоты */
.input-group-sm .input-group-addon {
    height: 31px;
}

/* End styling в датапикере текст "по" в малых инпутах редактирование высоты */

/* Start styling настройки легенды dashboard */
.chart_legend_legend_span {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-right: 6px;
    position: relative;
    top: 1px;
}

.chart_legend_row {
    margin-bottom: 5px;
}

/* End styling настройки легенды */
/* Start styling fa icons */
.fa.fa-16 {
    font-size: 16px;
}

/* End styling fa icons */
/* Start styling tooltips */
.tooltip.fade.bs-tooltip-top.show {
    z-index: 2250;
}

/* End styling tooltips */
.input-group-addon {
    border-color: #aaa;
}

.form-control, .single-line {
    border-color: #aaa;
}

.btn-default {
    border-color: #aaa;
}

.btn-white {
    border-color: #aaa;
}

/* более контрастный стиль */

/* Start styling finances */
.finances__statistic_table_block {
    position: relative;
}

#finances__statistic_table tbody tr:not([data-key="total"]) {
    display: none;
}

#finances__statistic_table.open tbody tr:not([data-key="total"]) {
    display: table-row;
}

#finanances__open_statistic_btn {
    position: absolute;
    top: 29px;
    right: 38px;
}

#finanances__open_statistic_btn.open .icon__closed,
#finanances__open_statistic_btn .icon__opened {
    display: none;
}

#finanances__open_statistic_btn .icon__closed,
#finanances__open_statistic_btn.open .icon__opened {
    display: block;
}

/*copy for user*/
.finances__statistic_table_block_user {
    position: relative;
}

#finances__statistic_table_user tbody tr:not([data-key="total"]) {
    display: none;
}

#finances__statistic_table_user.open tbody tr:not([data-key="total"]) {
    display: table-row;
}

#finanances__open_statistic_btn_user {
    position: absolute;
    top: 29px;
    right: 38px;
}

#finanances__open_statistic_btn_user.open .icon__closed,
#finanances__open_statistic_btn_user .icon__opened {
    display: none;
}

#finanances__open_statistic_btn_user .icon__closed,
#finanances__open_statistic_btn_user.open .icon__opened {
    display: block;
}

/* End styling finances */
/* Start styling checkbox global */
.abc-checkbox-success input[type="checkbox"]:checked + label::before,
.abc-checkbox-success input[type="radio"]:checked + label::before {
    background-color: #1AB394 !important;
    border-color: #1AB394 !important;
}

.abc-checkbox-success input[type="checkbox"]:indeterminate + label::before,
.abc-checkbox-success input[type="radio"]:indeterminate + label::before {
    background-color: #1AB394 !important;
    border-color: #1AB394 !important;
}

/* End styling checkbox global */
/* Start styling chat history */
.chat_history__chat-user {
    padding: 8px 10px;
    border-bottom: 1px solid #e7eaec;
}

.chat_history__chat-user {
    cursor: pointer;
}

.chat_history__chat-user.active {
    background-color: #a8e5b8;
}

.chat_history__chat-discussion {
    background: #eee;
    padding: 15px;
    height: 500px;
    overflow-y: auto;
}

.chat_history__chat-view .ibox-content {
    padding: 0;
	
}

.chat_history__chat-avatar {
    width: 36px;
    height: 36px;
    float: left;
    margin-right: 10px;
}

.chat_history__chat-user-name {
    padding-top: 0;
    padding-bottom: 0;
    min-height: 38px;
}

.chat_history__chat-user a {
    color: inherit;
}

.chat_history__chat-users {
    margin-right: -30px;
}

.chat_history__chat-message {
    padding: 10px 20px;
}

.chat_history__chat-discussion .chat_history__chat-message.left .chat_history__message-avatar {
    float: left;
    margin-right: 10px;
}

.chat_history__chat-discussion .chat_history__chat-message.left .chat_history__message {
    text-align: left;
    margin-left: 55px;
}

.chat_history__message {
    background-color: #f2f2f2;
    border: 1px solid #e7eaec;
    text-align: left;
    display: block;
    padding: 10px 20px;
    position: relative;
    border-radius: 4px;
}

.chat_history__chat-discussion .chat_history__chat-message.left .chat_history__message-date {
    float: right;
}

.chat_history__message-date {
    font-size: 10px;
    color: #888888;
}

.chat_history__message-content {
    display: block;
}

.chat_history__chat-discussion .chat_history__chat-message.right .chat_history__message-avatar {
    float: right;
    margin-left: 10px;
}

.chat_history__message-avatar {
    height: 48px;
    width: 48px;
    border: 1px solid #e7eaec;
    border-radius: 4px;
    margin-top: 1px;
}

.chat_history__chat-discussion .chat_history__chat-message.right .chat_history__message {
    text-align: right;
    margin-right: 55px;
}

.chat_history__chat-discussion .chat_history__chat-message.right .chat_history__message-date {
    float: left;
}

/* End styling chat history */
/* Start styling autocompeat typeahead */
.typeahead.dropdown-menu {
    max-height: 300px !important;
    overflow-y: scroll;
}

/* End styling autocompeat typeahead */
/* Start styling event video page */
.event_video_body #live {
    position: relative;
    width: 100%;
    height: calc(100vh - 120px);
    min-height: 500px;
    background-color: #f3f3f4;
    /*display: none;*/
}

.event_video_body #remVideo {
    position: absolute;
    max-width: 100%;
    height: 100% !important;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.event_video_body #remVideo_fade {
    position: absolute;
    max-width: 100%;
    height: 100%;
    width: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #f3f3f4;
    z-index: 10;
}

.event_video_body #myVideo {
    position: absolute;
    top: 0;
    right: 0;
    bottom: auto;
    left: auto;
    width: 30% !important;
    height: auto !important;
    min-height: auto !important;
    margin: 8px;
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
    border: 2px solid #fff;
    z-index: 2;
}

.event_video_body .btns_2 {
    position: absolute;
    bottom: 0;
    left: 50%;
    max-width: 100%;
    height: 40px;
    width: 100%;
    transform: translate(-50%, 0);
    display: flex;
    align-items: center;
    justify-content: center;
}

#event_video__file_list {
    width: 100%;
    display: none;
}

#event_video__file_list.open {
    display: block;
}

#event_video_files_cnt {
    min-width: 20px;
    top: -36px;
    min-height: 20px;
    position: relative;
    right: -14px;
    padding: 4px;
}

@media screen and (min-width: 992px) {
    #event_video__file_list {
        width: 250px;
    }

    #event_video__file_list .cuttedText {
        display: block;
        width: 200px;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }
}

/* End styling event video page */
@media screen and (min-width: 768px) {
    .event_video_body #myVideo {
        bottom: 0;
        left: 0;
        top: auto;
        right: auto;
        width: 150px !important;
        height: auto;
        margin: 16px;
    }
}

@media screen and (min-width: 849px) {
    .event_video_body .btns_2 {
        bottom: 50px;
    }
}

@media screen and (min-width: 1199px) {
    .event_video_body #myVideo {
        width: 250px !important;
        min-height: 190px;
    }
}


.transparent_blocked_select {
    border: none;
    /* for Firefox */
    -moz-appearance: none;
    /* for Chrome */
    -webkit-appearance: none;
    pointer-events: none;
}

.transparent_blocked_select::-ms-expand {
    /* IE */
    display: none;
}

/* Start styling rating star styling */
.rating_stars {
    float: left;
    margin-left: 50%;
    transform: translate(-50%, -11%);
}

/* :not(:checked) is a filter, so that browsers that don’t support :checked don’t
   follow these rules. Every browser that supports :checked also supports :not(), so
   it doesn’t make the test unnecessarily selective */
.rating_stars:not(:checked) > input {
    position: absolute;
    top: -9999px;
    clip: rect(0, 0, 0, 0);
}

.rating_stars:not(:checked) > label {
    float: right;
    width: 1em;
    padding: 0 .1em;
    overflow: hidden;
    white-space: nowrap;
    cursor: pointer;
    font-size: 200%;
    line-height: 1.2;
    color: #ddd;
    text-shadow: 1px 1px #bbb, 2px 2px #666, .1em .1em .2em rgba(0, 0, 0, .5);
}

.rating_stars:not(:checked) > label:before {
    content: '★ ';
}

.rating_stars > input:checked ~ label {
    color: #f70;
    text-shadow: 1px 1px #c60, 2px 2px #940, .1em .1em .2em rgba(0, 0, 0, .5);
}

.rating_stars:not(:checked) > label:hover,
.rating_stars:not(:checked) > label:hover ~ label {
    color: gold;
    text-shadow: 1px 1px goldenrod, 2px 2px #B57340, .1em .1em .2em rgba(0, 0, 0, .5);
}

.rating_stars > input:checked + label:hover,
.rating_stars > input:checked + label:hover ~ label,
.rating_stars > input:checked ~ label:hover,
.rating_stars > input:checked ~ label:hover ~ label,
.rating_stars > label:hover ~ input:checked ~ label {
    color: #ea0;
    text-shadow: 1px 1px goldenrod, 2px 2px #B57340, .1em .1em .2em rgba(0, 0, 0, .5);
}

.rating_stars > label:active {
    position: relative;
    top: 2px;
    left: 2px;
}

/* end of Lea's code */

/*
 * Clearfix from html5 boilerplate
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* End styling rating star styling */

/*Недисциплинированный пациент*/
.fa-triangle-exclamation {
    color: #FFA500;
}
/*Недисциплинированный пациент*/
