/* body */
body {
    background-color: #1B2E69 !important;
}

.bg-dark-blue {
    background-color: #1B2E69 !important;
    color: white !important;
}

img.header-logo {
    height: 30px;
    margin: 10px;
}

/* elements */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: white;
}

.fa {
    margin-right: 5px;
}


table,
tr,
td,
th {
    color: white !important;
    background-color: transparent !important;
    transition: all 0.2s linear;

}

tr.editable:hover,
td:hover {
    background-color: #495887 !important;

}

tr.editable>td>i {
    color: transparent;
}

tr.editable:hover>td>i {
    color: white !important;

}

div.card {
    color: white !important;
    background-color: #1B2E69 !important;
    box-shadow: rgba(255, 255, 255, 0.3) 2px 2px 10px;
    transition: all 0.2s linear;

}

div.card:hover {
    background-color: #00308a !important;
    box-shadow: rgba(255, 255, 255, 0.3) 5px 5px 5px;

}

label {
    color: white;
}

ol.breadcrumb,
li.breadcrumb-item,
li.breadcrumb-item>a,
.breadcrumb-item::before {
    color: white !important;
}

.descr-box {
    width: 100%;
    height: 100%;
    padding: 15px;
    color: white;
    border-left: 1px solid white;
    background-color: transparent
}

.highlighted-span {
    color: #1B2E69;
    background-color: white;
    margin-bottom: 2px;
    line-height: 2;
}

/* editor */
textarea.form-control-editor {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    height: 250px;
}

button.btn-light-editor {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;

}

button.btn-light-editor.first {
    margin-right: 0;
    border-top-right-radius: 0;
}

button.btn-light-editor.middle {
    margin-left: 0;
    margin-right: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

button.btn-light-editor.last {
    margin-left: 0;
    border-top-left-radius: 0;
}

button.btn-light-editor.question {
    background-color: rgb(192, 184, 255) !important;
}

button.btn-light-editor.target {
    background-color: rgb(184, 255, 184) !important;
}

button.btn-light-editor.attention {
    background-color: rgb(255, 250, 184) !important;
}

button.btn-light-editor.risk {
    background-color: rgb(255, 184, 184) !important;
}


/* nav links */
a.top-nav-link {
    color: white;
    font-size: 1rem;
    text-decoration: none;
    margin-top: 5px;
    margin-right: 15px;
    display: inline-block;
    font-weight: bold;
    padding: 0.5em;
    margin-left: -0.5em;
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}

a.top-nav-link:hover {
    color: #ffffffbe;
}

a.top-nav-link:before,
a.top-nav-link:after {
    position: absolute;
    content: '';
    border-bottom: 3px solid white;
    border-radius: 1em;
    bottom: 0.3em;
    transition: transform 0.5s cubic-bezier(0.075, 0.82, 0.165, 1);
}

a.top-nav-link:before {
    width: 1em;
    transform-origin: left;
}

a.top-nav-link:after {
    width: 82%;
    left: 1em;
    transform: translateX(110%);
}

a.top-nav-link:hover:before {
    border-bottom: 3px solid #ffffffbe;
    transform: scaleX(0.3);
}

a.top-nav-link:hover:after {
    border-bottom: 3px solid #ffffffbe;
    transform: translateX(0);
}

/* Overflow */
/* Общие стили для полосы прокрутки */
::-webkit-scrollbar {
    margin-left: 7px;
    width: 7px;
    /* Ширина полосы прокрутки */
}

/* Стили для полосы прокрутки при наведении */
::-webkit-scrollbar:hover {
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    /* Фон при наведении */
}

/* Стили для трека (фона) полосы прокрутки */
::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    /* Фон трека */
    border-radius: 5px;
    /* Скругление углов трека */
}

/* Стили для ползунка (бегунка) полосы прокрутки */
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.5);
    /* Цвет ползунка */
    border-radius: 5px;
    /* Скругление углов ползунка */
}

/* Стили для ползунка при наведении */
::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.8);
    /* Цвет ползунка при наведении */
}
.hlta-container {
    position: relative;
}

.hlta-backdrop {
    position: absolute;
    overflow: hidden;
    border-color: transparent;
}

.hlta-highlight {
    background: FFDAE2AA;
    color: transparent;
}

.hlta-container>.htla-textarea {
    position: relative;
    /* background-color: aqua!important; */
    background: none transparent !important;
}

.hlta-highlight mark {
    padding: 0;
    color: transparent;
    /* background-color: #bbb7ff; */
}

.hlta-highlight mark.target {
    background-color: rgb(184, 255, 184);
}

.hlta-highlight mark.attention {
    background-color: rgb(255, 250, 184);
}

.hlta-highlight mark.risk {
    background-color: rgb(255, 184, 184);
}