:root {
    --text-shadow-sm: 0 2px 3px rgba(0, 0, 0, 0.20);
    --box-shadow-sm: 0 3px 5px rgba(0, 0, 0, 0.20);
    --box-shadow: 0 9px 15px rgba(0, 0, 0, 0.20);
}

.w-33 {
    width: 33%;
}

.w-300px {
    min-width: 300px;
}

.h-100vh {
    height: 100vh;
}

.wmax-100 {
    max-width: 100%;
}

.wmax-300px {
    max-width: 300px;
}

.wmax-400px {
    max-width: 400px;
}

.wmax-120px {
    max-width: 120px;
}

.w-min {
    width: min-content;
}

.w-max {
    width: max-content;
}

.w-min25 {
    min-width: 25px;
}

/* Курсоры */
.cursor-pointer {
    cursor: pointer;
}

.cursor-help {
    cursor: help;
}

.cursor-default {
    cursor: default;
}

.cursor-grab {
    cursor: grab !important;
}

.shadow {
    box-shadow: 0 9px 15px rgba(0, 0, 0, 0.20);
}

.shadow-sm {
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.20);
}

.shadow-xs {
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.20);
}

.text-shadow-sm {
    text-shadow: 0 2px 3px rgba(0, 0, 0, 0.20);
}

.text-shadow-success {
    text-shadow: 0 0 10px #5ee177ba;
}

.text-shadow-warning {
    text-shadow: 0 0 10px rgba(225, 85, 45, 0.73);
}

.text-green-05 {
    color: #00ac5d63 !important;
}

.text-orange-05 {
    color: #ff851b80 !important;
}

.text-gray-06 {
    color: #84848499 !important;
}

.text-w100 {
    font-weight: 100;
}

.text-w500 {
    font-weight: 500;
}

.text-w700 {
    font-weight: 700;
}

.text-highlight {
    background-color: yellow !important;
}

.rounded {
    border-radius: .8rem;
}

.rounded\:sm {
    border-radius: .4rem;
}

.b1 {
    border-width: 1px;
    border-style: solid;
}

.bl-group-1 > *:nth-child(n+2) {
    border-left: 1px solid;
}

.border-gray {
    border-color: #0000001f;
}

.border-between {
    border-top: none;
    border-bottom: none;
}

.border-between + .border-between {
    border-top: 1px solid #dee2e6 !important
}

.btn-bordered {
    border: 1px solid #00000047;
}

.btn-bordered:hover {
    background-color: #00000017;
}

.text-gray-100 {
    color: #f8f9fa;
}

.text-gray-200 {
    color: #e9ecef;
}

.text-gray-300 {
    color: #dee2e6;
}

.text-gray-400 {
    color: #ced4da;
}

.text-gray-500 {
    color: #adb5bd;
}

.text-gray-600 {
    color: #6c757d;
}

.text-gray-700 {
    color: #495057;
}

.text-gray-800 {
    color: #343a40;
}

.text-gray-900 {
    color: #212529;
}

.text-purple-light {
    color: #001c6db8;
}

.d-inline-block {
    display: inline-block;
}

.d-grid {
    display: grid;
}

.bg-white {
    background-color: white;
}

.bg-purple-light {
    background-color: #b72edb !important;
}

.bg-purple-light:hover {
    background-color: #9a28b8 !important;
}

.bg-purple-light, .bg-purple-light > a {
    color: #fff !important;
}

.bg-lightgreen {
    background-color: #3d9b0026 !important;
}

.bg-lightred {
    background-color: #ff000021 !important;
}

.icon-tr-copy {
    position: relative;
}

.icon-tr-copy::after {
    position: absolute;
    top: .2em;
    right: .2em;
    content: "\f0c5";
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 2em;
    color: #dedede;
}


@media (min-width: 1500px) {
    .column-adaptive {
        column-count: 2;
    }
}

@media (min-width: 2000px) {
    .column-adaptive {
        column-count: 3;
    }
}

.column-count-3 {
    column-count: 3;
}

.content-block {
    background-color: white;
}

.theme-color-style-dark .content-block {
    background-color: #334148;
}

.scroll-y {
    overflow-y: scroll;
}

.hmax-45vh {
    max-height: 45vh;
}

.hmax-55vh {
    max-height: 55vh;
}

.overflow-hidden {
    overflow: hidden;
}

.transition-all-01 {
    transition: all .1s ease;
}

.transition-all-03 {
    transition: all .3s ease;
}

.transition-all-05 {
    transition: all .5s ease;
}

textarea.textarea-auto-height-1 {
    height: 55px;
}

textarea.textarea-auto-height-1:focus {
    height: 150px;
}


.fs-1 {
    font-size: 0.3em;
    line-height: 0.6em;
}

.fs-1\.5 {
    font-size: 0.45em;
    line-height: 0.75em;
}

.fs-2 {
    font-size: 0.6em;
    line-height: 0.9em;
}

.fs-2\.5 {
    font-size: 0.75em;
    line-height: 1.05em;
}

.fs-3 {
    font-size: 0.9em;
    line-height: 1.2em;
}

.fs-4 {
    font-size: 1.2em;
    line-height: 1.5em;
}

.fs-5 {
    font-size: 1.5em;
    line-height: 1.8em;
}

.fs-6 {
    font-size: 1.8em;
    line-height: 2.1em;
}

.fs-7 {
    font-size: 2.1em;
    line-height: 2.4em;
}

.fs-8 {
    font-size: 2.4em;
    line-height: 2.7em;
}

.lh-1 {
    line-height: 1em;
}

.lh-1\.2 {
    line-height: 1.2em;
}

.hover-text-shadow:hover {
    text-shadow: var(--text-shadow-sm);
}

.hover-box-shadow:hover {
    box-shadow: var(--box-shadow-sm);
}

.textarea-transparent {
    background: transparent;
    border: 1px solid #0000000d;
}

.textarea-transparent:focus,
.textarea-transparent:hover {
    box-shadow: none;
    background: #91919124;
    border-color: transparent;
}

.bg-green-01.bg-green-01 td {
    background-color: rgba(70, 224, 0, 0.1);
}

.events-off {
    pointer-events: none;
}

.mw-50px {
    min-width: 50px;
}

.mw-25px {
    min-width: 25px;
}

.mw-360px {
    min-width: 360px;
}

.mw\:100pc-70px {
    width: calc(100% - 70px) !important;
}

.mh-500px {
    max-height: 500px;
    overflow-y: auto;
}

.mh-100px {
    max-height: 100px;
}

.hover-transform-move-right:hover,
.hover-transform-move-right.active {
    transform: translateX(10px);
}

.hover-transform-scale-1:hover,
.hover-transform-scale-1.active {
    transform: scale(1.2);
}

.brake-word {
    word-break: break-word;
}

.text-first-letter:first-letter {
    text-transform: uppercase;
}

.overflow-ellipsis {
    overflow: hidden;
    text-overflow: ellipsis;
}

.border-error {
    border: 1px solid red;
    box-shadow: 0 0 8px #ff000073, inset 0 0 8px #ff000073;
}

.auto-tooltip {
    position: relative;
}

.auto-tooltip:after {
    font-family: 'Source Sans Pro', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: .8rem;
    content: attr(title);
    display: block;
    position: absolute;
    bottom: 110%;
    right: 100%;
    background: #efefef;
    border-radius: 5px;
    color: gray;
    padding: .3em .5em;
    line-height: .8rem;
    box-shadow: 1px 1px 2px #00000042;
    transition: all .3s ease;
    opacity: 0;
    pointer-events: none;
    z-index: 1000;
    width: max-content;
}

.auto-tooltip:hover:after {
    opacity: 1;
}

.auto-tooltip.tooltip-right:after {
    left: 100%;
}

.has-sup-text {
    position: relative;
}

.has-sup-text:before {
    content: attr(data-sup);
    font-size: .6vw;
    line-height: .6vw;
    padding: .1vw .2vw;
    border-radius: .2vw;
    background-color: #ffffffd1;
    box-shadow: 1px 1px 2px #0000004a;
    display: block;
    position: absolute;
    bottom: 60%;
    left: 100%;
    width: max-content;
}

.pulse {
    box-shadow: 0 0 0 rgba(204, 169, 44, 0.4);
    animation: pulse 1.2s infinite;
}

@-webkit-keyframes pulse {
    0% {
        -webkit-box-shadow: 0 0 0 0 rgba(204, 169, 44, 0.4);
    }
    70% {
        -webkit-box-shadow: 0 0 0 20px rgba(204, 169, 44, 0);
    }
    100% {
        -webkit-box-shadow: 0 0 0 0 rgba(204, 169, 44, 0);
    }
}

@keyframes pulse {
    0% {
        -moz-box-shadow: 0 0 0 0 rgba(241, 71, 8, 0.4);
        box-shadow: 0 0 0 0 rgba(241, 71, 8, 0.4);
    }
    70% {
        -moz-box-shadow: 0 0 0 10px rgba(241, 71, 8, 0);
        box-shadow: 0 0px 0 20px rgba(241, 71, 8, 0);
    }
    100% {
        -moz-box-shadow: 0 0 0 0 rgba(241, 71, 8, 0);
        box-shadow: 0 0 0 0 rgba(241, 71, 8, 0);
    }
}

.box-warning-icon {
    position: relative;
}

.box-warning-icon:before {
    content: '';
    position: absolute;
    display: block;
    border: 1px solid #d16565;
    width: 1px;
    height: 2em;
    bottom: 100%;
    left: 50%;
    z-index: 0;
}

.box-warning-icon.bg-danger:before {
    border-color: #d16565;
}

.box-warning-icon.bg-success:before {
    border-color: #5ab65a;
}

.box-warning-icon.bg-gray:before {
    border-color: #717171;
}

.box-warning-icon:after {
    content: '≠';
    position: absolute;
    display: block;
    width: 1.5em;
    height: 1.5em;
    border-radius: 50%;
    background-color: #d16565;
    color: white;
    box-shadow: 1px 1px 4px #00000052;
    font-size: 2em;
    line-height: 1.5em;
    top: -2em;
    left: calc(50% - .75em);
}

.box-warning-icon.bg-danger:after {
    background-color: #f2dede;
    color: #495057;
    border: 2px solid #d16565;
}

.box-warning-icon.bg-success:after {
    background-color: #dff0d8;
    color: #495057;
    border: 2px solid #5ab65a;
}

.box-warning-icon.bg-gray:after {
    background-color: #d2d6de;
    color: #495057;
    border: 2px solid #717171;
}

.click-to-copy {
    cursor: pointer;
    border-bottom: 1px dashed #1d8fad;
}

.click-to-copy:hover {
    border-bottom: 1px solid #0d6aad;
}

i.click-to-copy {
    border: none;
}

i.click-to-copy:hover {
    color: #0d6aad;
    border: none;
}

.no-arrow-after::after {
    display: none;
}


.grid-gap-01 {
    grid-gap: 0.1em;
}

.grid-gap-03 {
    grid-gap: 0.3em;
}

.grid-gap-05 {
    grid-gap: 0.5em;
}

.grid-gap-08 {
    grid-gap: 0.8em;
}

.grid-gap-1 {
    grid-gap: 1em;
}

.grid-gap-1\.2 {
    grid-gap: 1.2em;
}

.grid-gap-1\.5 {
    grid-gap: 1.5em;
}

.grid-gap-2 {
    grid-gap: 2em;
}

.self-align-baseline {
    align-self: baseline;
}

.self-align-center {
    align-self: center;
}

.self-align-start {
    align-self: self-start;
}

.self-align-end {
    align-self: self-end;
}

.self-align-stretch {
    align-self: stretch;
}

.bl-1 {
    border-left: 1px solid;
}

.border-lightgray {
    border-color: lightgray;
}

.badge-indigo {
    color: #fff !important;
    background-color: #6610f2;
}

.badge-purple-light {
    color: #fff;
    background-color: #b72edb;
}

.badge-outline-primary {
    border: 1px solid var(--primary);
}

.badge-outline-secondary {
    border: 1px solid var(--secondary);
}

.table-align-middle tr td {
    vertical-align: middle;
}

.tr-align-middle td {
    vertical-align: middle;
}

.table-align-center tr td {
    text-align: center;
}

.tr-align-center td {
    text-align: center;
}

.audio-xs {
    height: 30px;
}

/* The switch - Переключатель в формах */
.switch {
    min-width: 4.3em;
    position: relative;
    display: inline-block;
    width: 4.3em;
    height: 2.4em;
    float: right;
}

/* Hide default HTML checkbox */
.switch input {
    display: none;
}

/* The slider */
.slider {
    min-width: 3.8em;
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 1.9em;
    width: 1.9em;
    left: 0.3em;
    bottom: 0.25em;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input.default:checked + .slider {
    background-color: #444;
}

input.primary:checked + .slider {
    background-color: #2196F3;
}

input.success:checked + .slider {
    background-color: #8bc34a;
}

input.info:checked + .slider {
    background-color: #3de0f5;
}

input.warning:checked + .slider {
    background-color: #FFC107;
}

input.danger:checked + .slider {
    background-color: #f44336;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(1.9em);
}

/* Rounded sliders */
.slider.round {
    border-radius: 1.3em;
}

.slider.round::before {
    border-radius: 50%;
}

.disabled {
    position: relative;
    pointer-events: none;
    opacity: .5;
}

.disabled::after {
    content: '';
    display: block;
    position: absolute;
    z-index: 2;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    /*     background-color: #ffffffa0; */
}

.tooltip-arrow::before {
    visibility: visible;
    content: '';
    transform: rotate(45deg);
    position: absolute;
    width: 8px;
    height: 8px;
    background: inherit;
    left: calc(50% - 4px);
    bottom: -4px;
    z-index: 99;
}

.badge-top {
    font-size: .7rem;
    font-weight: bold;
    padding: 1px 3px 0 3px;
    position: absolute;
    left: calc(100% - 5px);
    top: -5px;
}

.border-blr-0 {
    border-bottom-left-radius: 0;
}

.absolute-bottom-center {
    position: relative;
    bottom: -1em;
}

.bottom-content::after {
    content: attr(bottom-content);
    position: absolute;
    bottom: -0.8em;
    left: -0.2em;
    right: -0.2em;
    text-align: center;
    line-height: .9em;
    font-size: .7em;
    font-weight: bold;
    font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

.btn-link {
    cursor: pointer;
}

.opacity-0 {
    opacity: 0;
}

.opacity-1 {
    opacity: 0;
}

.focus-without-border:focus {
    outline: none;
}

.animation-swing {
    animation: swing .2s infinite ease-in-out;
    transform-origin: center top;
}

@keyframes swing {
    0% {
        transform: rotate(-4deg)
    }
    50% {
        transform: rotate(4deg)
    }
    100% {
        transform: rotate(-4deg)
    }
}

.top-right-dot:after {
    content: '';
    font-size: .5rem;
    color: #2cc904;
    font-weight: 600;
    position: absolute;
    right: -0.7em;
    top: -0.7em;
    border: 2px solid #ffffff;
    background-color: #2cc904;
    border-radius: 50%;
    height: 1.4em;
    width: 1.4em;
}

@keyframes progress-bar-stripes {
    from {
        background-position: 40px 0
    }
    to {
        background-position: 0 0
    }
}

.toggle-class-btn {
    cursor: pointer;
}


.mail-button {
    display: inline-block;
    cursor: pointer;
    border: 1px solid transparent;
    padding: 0.5em 0.8em;
    margin: 0.3em 0.1em;
    border-radius: 12px;
    transition: all 0.3s ease 0s;
    line-height: 1.1em;
    background-color: rgb(248, 249, 250);
}

.mail-button.mail-button-lg {
    font-size: 1.3em;
    padding: 0.4em 0.8em;
}

.grid-gap-05 .mail-button {
    margin: 0;
}

.mail-button.with-badge {
    display: flex;
}

.mail-button-badge {
    color: #ff9400;
    font-size: 1.3em;
}

.theme-color-style-dark .mail-button {
    background-color: #2d3b43;
}

.mail-button.sm {
    font-size: .85em;
}

.mail-button.full-width {
    display: block;
}

.mail-button:hover, .mail-button.on {
    border: 1px solid #b6b6b652;
    /*box-shadow: 0 10px 15px -10px #00000073;*/
}

.theme-color-style-dark .mail-button:hover, .theme-color-style-dark .mail-button.on {
    border: 1px solid #222d32;
}

.mail-button.disabled {
    color: #00000060;
    cursor: default;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.02);
    background-color: #0000000a;
}

.mail-button.disabled:hover {
    border: 1px solid transparent;
}

.mail-button.turn-on {
    border: 1px dashed #ff7b15;
}

.mail-button.only-my-main-filter {
    font-weight: 600;
}

.mail-button.only-my-main-filter.turn-on {
    background-color: #72c315;
    border: 1px solid #72c315;
    color: white;
    box-shadow: 0 6px 6px -5px #6ca925c7;
}

.with-label {
    position: relative;
}

.with-label > label {
    position: absolute;
    left: 0.9em;
    margin: 0;
    padding: 0 0.4em;
    line-height: 1em;
    background-color: var(--color-bg-body);
    z-index: 1;
    border-radius: 4px;
    font-size: 1.1em;
    top: -0.7em;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
}

.z-index-1 {
    z-index: 1!important;
}

.z-index-2 {
    z-index: 2!important;
}

.position-absolute-right {
    position: absolute;
    right: 0;
}

.position-absolute-right-2 {
    position: absolute;
    right: 2em;
}

.loading {
    position: relative;
    pointer-events: none;
}

.loading:after {
    content: "\f2f1";
    font-size: 0.8em;
    font-weight: 900;
    font-family: "Font Awesome 5 Free";
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    position: absolute;
    right: -1.3em;
    -webkit-animation: spinner-border 2s linear infinite;
    animation: spinner-border 2s linear infinite;
    color: #00000099;
}