@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto.ttf');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto-Bold';
    src: url('../fonts/Roboto-Bold.ttf');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto-Medium';
    src: url('../fonts/Roboto-Medium.ttf');
    font-weight: normal;
    font-style: normal;
}

.info-block.info-block_img {
    background-image: url('../img/info_bg.png');
    width: 100%;
    height: 100vh;
}

.info-block__img {
    width: 100%;
    height: auto;
}

.info-block__desc-wrap {
    position: absolute;
    width: 100%;
    top: 155px;
    left: 0;
}

.info-block__desc {
    position: relative;
    width: 40vw;
    margin: 0 auto;
}

.info-block__desc::before {
    content: '!';
    position: absolute;
    top: 14px;
    left: -40px;
    font-family: Roboto-Bold;
    font-size: 14px;
    color: #ffffff;
    display: inline-block;
    box-sizing: border-box;
    width: 21px;
    height: 21px;
    border: 2px solid #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 19px;
    background-color: #ed6347;
}

.info-block__header {
    font-family: Roboto-Bold;
    font-size: 2.6vw;
    color: #0A1F44;
    margin-bottom: 20px;
}

.info-block__body {
    font-family: Roboto;
    font-size: 1.3vw;
    color: #0A1F44;
    line-height: 24px;
    margin-bottom: 40px;
}

.info-block__footer {
    font-family: Roboto;
    font-size: 1.1vw;
    line-height: 24px;
    color: #0A1F44;
}

@media (max-width: 800px) {
    .info-block__desc-wrap {
        top: 30px;
    }

    .info-block__desc {
        width: 60vw;
    }

    .info-block__header {
        font-size: 3.6vw;
    }

    .info-block__body {
        font-size: 2vw;
    }

    .info-block__footer {
        font-size: 2vw;
    }
}


#cur_script_settings {
    top: 500px;
}

#answer_settings_remove_link {
    position: absolute;
    top: 8px;
    z-index: 10000;
    right: 12px;
    background-color: #fff;
    padding: 5px;
    color: rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

#answer_settings_remove_link:hover {
    color: rgba(0, 0, 0, 1);
}

.script_info.bem-notice {
    top: 100px;
    left: 235px;
}

.script_table_up {
    display: none !important;
    z-index: 10000;
    width: 100%;
    height: 30px;
    background: transparent;
    position: absolute;
    top: 0;
}

.script_table_down {
    display: none !important;
    z-index: 10000;
    width: 100%;
    height: 30px;
    background: transparent;
    position: absolute;
    bottom: 0;
}

.script_table_wrap {
    background-color: #f7fbfd;
}



.jsplumb-connector_hover {
    z-index: 10;
}

.jsplumb-connector.jsplumb-hover,
.jsplumb-connector.jsplumb-connector_hover

/*, .jsplumb-connector.jsplumb-dragging*/
    {
    z-index: 1005 !important;
}

.jsplumb-overlay.js-deleteLinkLabel.jsplumb-hover,
.jsplumb-overlay.js-deleteLinkLabel.jsplumb-connector_hover {
    z-index: 1005 !important;
}

.jsplumb-overlay.js-deleteLinkLabel.jsplumb-hover i,
.jsplumb-overlay.js-deleteLinkLabel.jsplumb-connector_hover i {
    background-color: #92eccf !important;
}

.jsplumb-overlay-extraConnector {
    left: 0 !important;
    top: 0 !important;
    width: 0 !important;
    height: 0 !important;
}

.jsplumb-overlay-extraConnector.jsplumb-overlay.jsplumb-hover path,
.jsplumb-overlay-extraConnector.jsplumb-overlay.jsplumb-connector_hover path {
    stroke: #92eccf;
}

.jsplumb-overlay-extraConnector.jsplumb-overlay.jsplumb-hover circle,
.jsplumb-overlay-extraConnector.jsplumb-overlay.jsplumb-connector_hover circle {
    fill: #92eccf;
}




.noafter:after {
    display: none !important;
}

.nobefore:before {
    display: none !important;
}

.placement-wrap {
    padding: 15px 10px;
}

.placement-wrap .placement-wrap__title {
    padding: 5px 10px 20px;
    text-align: left;
    font-family: "Roboto", 'HelveticaNeue', Helvetica, Arial, sans-serif;
    font-size: 22px;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: normal;
    color: #0a1f44;
}


#scripts_list_block.bem-grid .bem-grid__table-block {
    overflow-y: hidden;
}


.select2-results .select2-results__options .select2-results__option[id$='group_backup_import'] {
    border-bottom: 2px solid #eff2f5;
}

.bem-hidden {
    display: none !important;
}


/* фиксированная плашка сверху по центру */
.app-title-bar {
    position: fixed;
    display: inline-block;

    width: fit-content;
    /* ширина по контенту */
    height: 30px;
    /* нужная высота */

    top: 0;
    left: 50%;
    transform: translateX(-50%);
    /* центрируем */

    z-index: 9999;
    pointer-events: none;
    /* чтобы клики проходили сквозь пустую область */

    background: #222b4b;
    /* скругление снизу */
    border-radius: 0 0 12px 12px;
}

.app-title-bar.app-title-bar_size_12,
.app-title-bar.app-title-bar_size_11 {
    height: 20px;
    border-radius: 0 0 8px 8px;
}

.app-title-bar.app-title-bar_trapezium {
    perspective: 200px;
    background: none;
    border-radius: 0;
}

/* 3D-форма (фон плашки) */
.app-title-bar.app-title-bar_trapezium:before {
    content: '';
    position: absolute;
    inset: 0;

    background: #222b4b;

    /* скругление снизу */
    border-radius: 0 0 12px 12px;

    /* твоя форма, только перевёрнутая чтобы скругление было снизу */
    transform: rotateX(-40deg);
    transform-origin: 50% 0%;

    /* уменьшает артефакты при 3D */
    backface-visibility: hidden;
    transform-style: preserve-3d;
}

/* текст */
.app-title-bar .app-title-bar__label {
    position: relative;
    z-index: 1;

    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0 28px;
    /* горизонтальные отступы, задают ширину */
    white-space: nowrap;

    color: #fff;
    font-weight: 600;
    text-align: center;
    font-family: 'Roboto-Bold';
}


.app-title-bar.app-title-bar_size_12 .app-title-bar__label {
    font-size: 12px;
    padding: 0px 10px;
}

.app-title-bar.app-title-bar_size_11 .app-title-bar__label {
    font-size: 11px;
    padding: 0px 10px;
}

.app-title-bar.app-title-bar_trapezium .app-title-bar__label {
    /* поднять текст (оптическая компенсация перспективы) */
    top: -5px;

    /* попытка сделать текст чётче при GPU-композитинге */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: geometricPrecision;

    /* не наследовать 3D для текста */
    transform-style: flat;
}

/* Иконка справки в placements (без обертки .top-panel) */
.top-panel__additional-menu-item.top-panel__additional-menu-item_theme_info {
    background-color: #fffa97;
    border: solid 1px #f1f1f1;
}

.top-panel__additional-menu-item.top-panel__additional-menu-item_theme_info:hover {
    border: solid 1px #adb0b5;
}

.top-panel__additional-menu-item.top-panel__additional-menu-item_theme_info .bem-btn__icon,
.top-panel__additional-menu-item.top-panel__additional-menu-item_theme_info .bem-btn__icon i {
    color: #4a5062 !important;
}