﻿:root {
    --danger-red: #f03727;
    --hint-grey: #7a7a7a;
    --input-label: #433e3e;
    --border-grey: #d7d7d7;
    --background-grey: #fafafa;
    --green: #0caf89;
    --default-input-width: 440px;
}

::-webkit-scrollbar {
    width: 8px;
    position: absolute;
}

::-webkit-scrollbar-track {
    /*    box-shadow: inset 0 0 5px #e9e9e9;
*/
    border-radius: 7px;
}

::-webkit-scrollbar-thumb {
    background-color: #e2e2e2;
    border: 2px solid transparent;
    border-radius: 9px;
    background-clip: content-box;
    transition: 0.3s;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #e2e2e2;
    border: 1px solid transparent;
    border-radius: 9px;
    background-clip: content-box;
}

label {
    margin-bottom: 0;
}

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

a {
    color: black;
    text-decoration: none !important;
}

a:hover {
    text-decoration: none;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
.numb {
    -moz-appearance: textfield;
}

.numb::-webkit-inner-spin-button {
    display: none;
}

html {
    position: relative;
    min-height: 100%;
    overflow-x: hidden;
}

body {
    /* Margin bottom by footer height */
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}

button {
    outline: none !important;
}

/*/////////////////////////////////////*/
.header {
    width: 100%;
    top: 0;
    left: 0;
    z-index: 50;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    background: white;
}

.section {
    border: 1px solid #e9e9e9;
    border-radius: 7px;
    margin-bottom: 2%;
}

.section_header {
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    background: #a3ddcb40;
    padding: 1%;
}

.section_content {
    padding: 1%;
    padding-top: 0;
}

input {
    outline: none !important;
    box-shadow: none !important;
}

textarea {
    outline: none !important;
    box-shadow: none !important;
}

.custom-control-input:checked ~ .custom-control-label::before {
    background-color: #4fbd9b;
    border: none;
}

.custom-control-input:focus ~ .custom-control-label::before {
    box-shadow: none !important;
}

.custom-control-input:focus
    ~ .custom-control-label:focus:not(:checked)::before {
    border-color: rgba(8, 177, 133, 0.3) !important;
}

.custom-control-input:hover {
    cursor: pointer;
}

.custom-control-label:hover {
    cursor: pointer;
}

.form-control:focus {
    border-color: #4fbd9b !important;
}

.BigTitle {
    font-family: 'SourceSansPro-Bold';
    font-size: 30px;
    border-bottom: 5px solid;
    border-image: linear-gradient(to left, #ffffff, #0caf89) 47% 0%;
}

/* Почта */
.mailsCircleEmail {
    min-width: 40px;
    min-height: 40px;
    background: #eceef9;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

.mailsAdditionalEmail {
    padding: 6px 8px;
    background: #f7f7f7;
    border-radius: 8px;
    color: #8f8f8f;
    margin-left: 12px;
}

.mailsGPBlock {
    padding: 6px 8px;
    display: flex;
    align-items: center;
    color: #5772ff;
    background: #f2f3ff;
    border-radius: 8px;
    font-family: 'Inter';
    font-weight: 600;
    cursor: pointer;
    font-size: 12px;
    line-height: 16px;
}

.mailsHeadRow {
    background: #f4f4f4;
}

.mailsHeadRow > td {
    border-top: none;
}

.mailsTableEmailBlock {
    width: 300px;
    min-width: 300px;
    max-width: 300px;
}

.mailsTableDateBlock {
    width: 150px;
    min-width: 150px;
    max-width: 150px;
}

.mailsTableBlockHead {
    background: #f4f4f4;
}

.mailsTableBlockContent {
    margin-left: 316px;
}

.mailsTableRowBlock {
    border-top: 1px solid #f4f4f4;
}

.mailMainItemBlock {
    border-left: 2px solid transparent;
}
.mailMainItemBlock.open {
    border-left: 2px solid #5772ff;
}

.mailAdditionalItemStatus {
    border-radius: 50%;
    background: #5c5c5c;
    width: 10px;
    height: 10px;
    margin-right: 8px;
}

.mailSelectFilter + .chosen-container {
    height: 36px !important;
}
.mailSelectFilter + .chosen-container > .chosen-drop {
    width: max-content;
    max-width: 200%;
}
.mailSelectFilter + .chosen-container-single .chosen-single div b {
    background: url(/Img/ListHospitals/arrowselect.svg) no-repeat 0px 14px !important;
}
.mailSelectFilter + .chosen-container .chosen-results li {
    font-family: 'Inter';
    font-weight: 400;
    font-size: 13px;
    line-height: 22px;
}
.mailErrorBlock,
.mailClearFilter {
    display: none;
}
.mailErrorBlock.open,
.mailClearFilter.open {
    display: block;
}
.mailFilterBlock {
    width: calc((100% - 5 * 16px) / 16 * 3);
}
.mailFilterDateBlock {
    width: calc((100% - 5 * 16px) / 8);
}
.mailFilterLabel {
    font-size: 13px !important;
}

#callDragWindow {
    position: absolute;
    -webkit-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    -ms-user-select: none;
    -khtml-user-select: none;
    user-select: none;
    height: fit-content;
    border-radius: 8px;
    background-color: #ffffff;
    top: 0px;
    left: 0px;
    box-shadow: 0px 10px 30px rgba(158, 158, 158, 0.3);
    z-index: 999;
}

#callDragWindow .ascoGreenButton {
    height: fit-content !important;
    width: fit-content !important;
}

#callDragWindow .ascoGreenButton div {
    padding: 4px 16px !important;
}

#callDragWindow .Title {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-size: 14px;
    line-height: 20px;

    color: #000000;

    max-width: 180px;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

#callDragWindow .TitleInput {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;

    color: #858585;
}

/* Стили модального окна входящего вызова */
#callErrorBlock {
    height: 48px;
    padding: 12px 16px;
    background: #ffebe6;
    border: 1px solid #e7e2cf;
    border-radius: 12px;
}

#callErrorText {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-size: 15px;
    line-height: 24px;
    color: #172b4d;
}

.ascoBorderWarning {
    border-color: #f1a411 !important;
}

.ascoBorderInfo {
    border-color: #5772ff !important;
}

.ascoBorderError {
    border-color: #d24d42 !important;
}

.ascoBorderSuccess {
    border-color: #0caf89 !important;
}

.addInsuredAccidentButton {
    height: 32px !important;
}

.callModalBlock {
    background: #f9f9f9;
}

.callInfoBlock {
    background: #ffffff;
    border-radius: 12px;
}

.callInfoTitle {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;

    color: #000000;
}

.callInfoText {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 13px;
    line-height: 17px;

    color: #858585;
}

.callShrinkButton {
    height: fit-content !important;
    width: fit-content !important;
}

.calcWidth50-6 {
    width: calc(50% - 6px);
}

.callTitleRequired {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 13px;
    line-height: 16px;
    color: #717070;
}

.danger-red {
    color: var(--danger-red) !important;
}

.required::after {
    color: var(--danger-red);
    content: '*';
    font-size: 1rem;
}

.field-validation-error {
    color: var(--danger-red);
}

.input-validation-error.uiInput {
    border: 1px solid var(--danger-red);
}

.hint {
    color: var(--hint-grey);
}

.default-column {
    width: var(--default-input-width);
}

.input-label {
    color: var(--input-label);
    font-size: 13px;
    font-weight: 500;
}

.input-label:has(~ input:read-only, ~ select:disabled) {
    color: #b2b7c2;
}

.telephonyGroup {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #5772ff;
}

.addCallModalTitle {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-size: 20px;
    line-height: 24px;
    color: #1b1f3b;
}

.telephonyGroupsTitle {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    color: #08110e;
}

.errorDataItem {
    background: #fafafb;
    border: 1px solid #e2e4e8;
    border-radius: 8px;
    height: fit-content;
}
.errorDataItem.empty {
    border: 1px solid var(--danger-red);
}

.initArrowSelect {
    -webkit-transition: -webkit-transform 0.2s ease-in-out;
    transition: transform 0.2s ease-in-out;
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
}

.openArrowSelect {
    -webkit-transition: -webkit-transform 0.2s ease-in-out;
    transition: transform 0.2s ease-in-out;
    -webkit-transform: rotate(-180deg);
    transform: rotate(-180deg);
}

.subSubjectCallNote {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    color: #717880;
}

.subSubjectCallTitle {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
    color: #333333;
}

.subSubjectCallText {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    color: #333333;
}

.subSubjectCallMoreText {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-size: 12px;
    line-height: 16px;

    color: #5772ff;
    min-width: fit-content;
}

.callMoreTitleBlock {
    min-width: fit-content;
}

.callSectionExpandMarker {
    width: 24px !important;
    height: 100% !important;
}

.callSectionCheckBox {
    padding-left: 24px !important;
}

.subjectDelimiter {
    height: 0;
    border-top: 1px solid #f4f4f4;
}

.callSectionExpandLine {
    height: 100%;
    width: 0px;
    border-right: 1px solid #dfdfdf;
}

.ascoSelect.callInfoInputText + .chosen-container > .chosen-single span,
.ascoSelect.callSubjectInputText + .chosen-container > .chosen-single span {
    font-family: 'Inter' !important;
    font-style: normal !important;
    font-weight: 400 !important;
    font-size: 14px !important;
    line-height: 24px !important;
}

.ascoSelect.callInfoInputText + .chosen-container {
    max-width: 100%;
    width: calc(50% - 6px) !important;
}

/* Список звонков */
.callTableCell {
    padding: 20px 8px 20px 24px;
    min-height: 56px;
}

.callTableRow {
    border: 1px solid #f4f4f4;
}

.callTableRow:last-child {
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.callTableHeaderText {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 16px;
    color: #3c4763;
}

.callTableHeader {
    background: #f4f6fa;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.noCallSubjects {
    background: #fff9f9;
}

.noCallSubjectsTitle {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;

    color: rgba(77, 77, 77, 0.5);
}

.exclusive-validation-message:not(.field-validation-valid)
    + .exclusive-validation-message:not(.field-validation-valid) {
    display: none;
}

.no-transition {
    transition: none !important;
}

.notFoundContainer {
    background: var(--background-grey);
    border-radius: 8px;
}

.active-filter {
    color: var(--green) !important;
}

.badge.green-badge {
    color: white;
    background-color: var(--green);
}

.badge.green-badge:empty {
    display: hidden;
}

.pastePhoneIcon {
    background: #f4f4f4 !important;
    margin-left: auto;
    cursor: pointer;
    color: #433e3e;
    flex-wrap: wrap;
}

.green-error-code {
    font-family: Inter;
    font-size: 220px;
    line-height: 200px;
    font-style: normal;
    font-weight: 900;
    background: linear-gradient(296deg, #15c164 12.99%, #1fd2a8 96.94%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
