summary {
    cursor: pointer;
}

details > summary:first-of-type {
    display: list-item;
}

.hermes {
    font-size: 12px;
    font-family: 'Roboto', 'Arial', sans-serif;
    background-color: #F7F7F7;
    scroll-behavior: smooth;
    position: relative;
    height: 100vh;
}

[data-theme="dark"].hermes {
    background-color: #303030;
    color: #ebebeb;
}

[data-theme="dark"]body {
    color: #ebebeb;
}

.hermes--no-overflow {
    overflow-x: hidden;
}

.hermes-container {
    margin: 16px 16px 16px 16px;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .14), 0 3px 1px -2px rgba(0, 0, 0, .2), 0 1px 5px 0 rgba(0, 0, 0, .12);
}

[data-theme="dark"] .hermes-container {
    background-color: #000;
}

.tree-list {
    list-style-type: none;
}

.tree-MF,
.tree-MF-Coupler,
.tree-ODF,
.tree-ODC,
.tree-MFZ,
.tree-PRMF {
    border: 1px solid #D0D0D0;
    border-radius: 5px 5px 5px 5px;
    padding: 6px 15px;
    color: #006EB8;
    font-size: 11px;
}

.tree-MF {
    background: #DCF4E2;
}

.tree-MF-Coupler {
    background: #D2DBFC;
}

.tree-MFZ {
    background: #FFAB68;
}

.tree-ODF {
    background: #F5F5F5;
}

.tree-ODC {
    background: #F7F4CF;
}

.tree-PRMF {
    background: #f4f299;
}

.tbl-tree {
    border-collapse: separate;
    border-spacing: 5px 5px;
}

.row-no-margin {
    margin-left: 5px;
    margin-right: 5px;
}

#welding {
    border: 0.5px solid #939390;
    margin: 20px;
}

#welding td {
    height: 20px;
}

#cable {
    color: #006EB8;
    font-size: 10px;
    background: #F5F5F5;
    border: 1px solid #939390;
    text-align: center;
    min-width: 40px;
}

#module {
    color: #006EB8;
    min-width: 40px;
    background: #F5F5F5;
    font-size: 10px;
    text-align: center;
    border: 1px solid #939390;
}

#cable_green {
    color: #000000;
    font-size: 10px;
    background: #69B26E;
    border: 1px solid #939390;
    text-align: center;
    min-width: 40px;
}

#cable_yellow {
    color: #000000;
    font-size: 10px;
    background: #F7F467;
    border: 1px solid #939390;
    text-align: center;
    min-width: 40px;
}

#cable_blue {
    color: #FFFFFF;
    font-size: 10px;
    background: #7C98F9;
    border: 1px solid #939390;
    text-align: center;
    min-width: 40px;
}

.table-info {
    margin: 10px;
    min-width: 350px;
}

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

.table-info th, td {
    padding-left: 10px;
    padding-right: 10px;
}

.hideArea {
    display: none; /* Скрываем контент */
}

.subhideArea {
    background: #F7F4CF;
}

.sub2hideArea {
    background: #F7F4BF;
}

.panel-heading-no-margin {
    margin: 0;
}

.panel-small-margin {
    margin-bottom: 3px;
}

.background-gray {
    background-color: #eee;
}

.table-scroll {
    overflow: auto;
}

.tab-content {
    margin-top: 15px;
    margin-left: 2%;
    margin-right: 2%;
}

.navbar {
    padding-left: 20px;
    border-radius: 0;
    margin-bottom: 0;
}

.navbar-default {
    background-color: #004A89;
    border-color: #003f77;
}

.navbar-default .navbar-brand {
    color: #fff;
}

.navbar-default .navbar-nav > li > a {
    color: #fff;
}

.dropdown-menu > li > a.accent-red {
    color: red;
}

.navbar-default .navbar-nav > li > a:focus, .navbar-default .navbar-nav > li > a:hover {
    color: #fff;
    background-color: transparent;
}

.navbar-default .navbar-brand:focus, .navbar-default .navbar-brand:hover {
    color: #fff;
    background-color: transparent;
}

.navbar-default .navbar-nav > .open > a, .navbar-default .navbar-nav > .open > a:focus, .navbar-default .navbar-nav > .open > a:hover {
    color: #fff;
    background-color: #0072cd;
}

.navbar-default .navbar-toggle .icon-bar {
    background-color: #fff;
}

@media (max-width: 767px) {
    .navbar-default .navbar-nav .open .dropdown-menu > li > a {
        color: #fff;
    }

    .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus, .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover {
        color: #fff;
        background-color: transparent;
    }
}

.close:focus, .close:hover {
    color: #f00;
    text-decoration: none;
    cursor: pointer;
    filter: alpha(opacity=50);
    opacity: .8;
}

button.close {
    -webkit-appearance: none;
    padding: 0;
    cursor: pointer;
    background: 0 0;
    border: 0;
    margin-left: 4px;
    float: right;
}

.nav-tabs > li > a {
    border-radius: 0;
}

.close.tab-close {
    float: none;
    top: 1px;
    position: relative;
    font-family: serif;
    font-weight: 100;
}

.cluster {
    margin-top: 10px;
}

.cluster-map {
    width: 100%;
    height: 720px;
    border: 1px solid #adadad;
}

.std-ymap {
    width: 100%;
    height: 600px;
    border: 1px solid #adadad;
}

.address-select-ymap {
    height: 400px;
    border: 1px solid #adadad;
}

.cluster-map-legend {
    border: 1px solid #adadad;
    width: 250px;
    background-color: #ffffff;
    padding: 10px;
    margin-top: 5px;
    box-shadow: 0 0 20px #666666;
}

.cluster-map-legend-de {
    border: 1px solid #adadad;
    width: 400px;
    height: 650px;
    overflow: auto;
    background-color: #ffffff;
    padding: 10px;
    margin-top: 5px;
    box-shadow: 0 0 20px #666666;
}

.y-map-button__text {
    margin-left: 5px;
}

.y-map-button__img {
    padding: 0;
    margin-bottom: -3px;
}

.y-map-button_small .y-map-button__text {
    display: none;
}

.y-map-button_medium .y-map-button__img {
    display: none;
}

.y-map-button_large .y-map-button__text {
    margin-left: 10px;
}

.cluster-button {
    min-width: 100px;
}

.recommend-cable {
    background-color: #eee;
    font-weight: bold;
    font-size: 16px;
}

.width50.width50 {
    width: 49%;
}

input[type=checkbox], input[type=radio] {
    margin: 1px 0 0;
}

.dropdown-menu {
    z-index: 1002;
}

.dropdown-menu > li > .btn-link {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: 400;
    line-height: 1.42857143;
    color: #333;
    white-space: nowrap;
}

.dropdown-menu > li > .btn-link:focus, .dropdown-menu > li > .btn-link:hover {
    color: #262626;
    text-decoration: none;
    background-color: #f5f5f5;
}


[data-theme="dark"] .dropdown-menu > li > .btn-link {
    color: #ebebeb;
}

[data-theme="dark"] .dropdown-menu > li > .btn-link:focus, .dropdown-menu > li > .btn-link:hover {
    background-color: #375a7f;
}

.relative {
    position: relative;
}

.version {
    font-size: 70%;
    color: #A4A4A4
}

.opaque {
    opacity: 1;
    background-color: #fff;
}

[data-theme="dark"] .opaque {
    background-color: #000;
}

.sticky {
    position: sticky;
    top: 0;
    z-index: 3;
}

.onoffswitch {
    position: relative;
    width: 65px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.onoffswitch-checkbox {
    display: none;
}

.onoffswitch-label {
    display: block;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid #999999;
    border-radius: 8px;
}

.onoffswitch-inner {
    display: block;
    width: 200%;
    margin-left: -100%;
    transition: margin 0.3s ease-in 0s;
}

.onoffswitch-inner:before, .onoffswitch-inner:after {
    display: block;
    float: left;
    width: 50%;
    height: 17px;
    padding: 0;
    line-height: 17px;
    font-size: 12px;
    color: white;
    font-family: sans-serif;
    font-weight: bold;
    box-sizing: border-box;
}

.onoffswitch-inner:before {
    content: "вкл";
    padding-left: 9px;
    background-color: #34A7C1;
    color: #FFFFFF;
}

.onoffswitch-inner:after {
    content: "выкл";
    padding-right: 9px;
    background-color: #EEEEEE;
    color: #999999;
    text-align: right;
}

.onoffswitch-switch {
    display: block;
    width: 17px;
    margin: 0;
    background: #FFFFFF;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 44px;
    border: 2px solid #999999;
    border-radius: 8px;
    transition: all 0.3s ease-in 0s;
}

.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner {
    margin-left: 0;
}

.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch {
    right: 0;
}

.volume-form__row {
    display: flex;
    align-content: center;
}

.personal-templates__parent {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.personal-templates__row {
    align-content: center;
    margin-bottom: 1px;
    display: flex;
}

.personal-templates__flex {
    flex-basis: 50%;
}

.columns-2 {
    column-count: 2
}

.form-group.required .control-label:after {
    content: "*";
    color: red;
    margin-left: 3px;
}

.report_form {
    max-width: 50%;
    margin: 25px auto 10px;
}

.report-result {
    margin-bottom: 200px;
}

.magic_search_mark {
    border: 1px solid #4b75fc;
    background: #ddffb1;
}

/* Custom checkbox for aggregator */
.aggregator-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.aggregator-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 30px;
}

.aggregator-switch-slider, .aggregator-switch-slider-sm {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 34px;
}

.aggregator-switch-slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 50%;
}

.aggregator-switch-slider-disabled {
    background-color: lightgrey;
    cursor: default;
}

.aggregator-switch-slider-disabled:before {
    background-color: grey;
}

input:checked + .aggregator-switch-slider {
    background-color: #337ab7;
}

input:focus + .aggregator-switch-slider {
    box-shadow: 0 0 1px #337ab7;
}

input:checked + .aggregator-switch-slider:before {
    -webkit-transform: translateX(20px);
    -ms-transform: translateX(20px);
    transform: translateX(20px);
}

.aggregator-switch-sm {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 18px;
}

.aggregator-switch-sm input[type=checkbox] {
    margin: 0 5px;
}

.aggregator-switch-slider-sm:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 50%;
}

.aggregator-switch-slider-disabled {
    background-color: lightgrey;
    cursor: default;
}

.aggregator-switch-slider-disabled:before {
    background-color: grey;
}

input:checked + .aggregator-switch-slider-sm {
    background-color: #337ab7;
}

input:focus + .aggregator-switch-slider-sm {
    box-shadow: 0 0 1px #337ab7;
}

input:checked + .aggregator-switch-slider-sm:before {
    -webkit-transform: translateX(20px);
    -ms-transform: translateX(20px);
    transform: translateX(20px);
}

.pointer-events {
    pointer-events: auto !important;
}


/*region float labels*/
.has-float-label {
    display: block;
    position: relative;
}

.has-float-label label, .has-float-label > span {
    position: absolute;
    left: 0;
    top: 0;
    cursor: text;
    font-size: 110%;
    opacity: 1;
    -webkit-transition: all .2s;
    transition: all .2s;
    top: -.5em;
    left: 12px;
    z-index: 3;
    line-height: 1;
    padding: 0 1px;
}

[data-theme="dark"] .has-float-label label, .has-float-label > span {
    color: #ebebeb;
}

.has-float-label > .input-sm + label, .has-float-label > .input-sm + span {
    font-size: 90%;
    top: -.5em;
}

.has-float-label label::before, .has-float-label > span::before {
    content: " ";
    display: block;
    position: absolute;
    background: white;
    height: 2px;
    top: 50%;
    left: -.2em;
    right: -.2em;
    z-index: -1;
}

.has-float-label input[disabled] + label::before {
    display: none;
}

[data-theme="dark"] .has-float-label label::before, .has-float-label > span::before {
    background: #464545;
    height: 1px;
    z-index: -1;
}

.has-float-label > :required + label::after, .has-float-label > :required + span::after {
    content: "*";
    display: inline;
    color: red;
}

.has-float-label .form-control::-webkit-input-placeholder {
    opacity: 1;
    -webkit-transition: all .2s;
    transition: all .2s;
}

.has-float-label .form-control::-moz-placeholder {
    opacity: 1;
    transition: all .2s;
}

.has-float-label .form-control:-ms-input-placeholder {
    opacity: 1;
    transition: all .2s;
}

.has-float-label .form-control::placeholder {
    opacity: 1;
    -webkit-transition: all .2s;
    transition: all .2s;
}

.has-float-label .form-control:placeholder-shown:not(:focus)::-webkit-input-placeholder {
    opacity: 0;
}

.has-float-label .form-control:placeholder-shown:not(:focus)::-moz-placeholder {
    opacity: 0;
}

.has-float-label .form-control:placeholder-shown:not(:focus):-ms-input-placeholder {
    opacity: 0;
}

.has-float-label .form-control:placeholder-shown:not(:focus)::placeholder {
    opacity: 0;
}

.has-float-label .form-control:placeholder-shown:not(:focus) + label {
    font-size: 150%;
    opacity: .6;
    top: .5em;
    font-weight: normal;
}

.has-float-label .input-sm.form-control:placeholder-shown:not(:focus) + label {
    font-size: 100%;
    top: .6em;
}

.input-group .has-float-label {
    display: table-cell;
}

.input-group .has-float-label .form-control {
    border-radius: 4px;
}

.input-group .has-float-label:not(:last-child) .form-control {
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
}

.input-group .has-float-label:not(:first-child) .form-control {
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
    margin-left: -1px;
}

/*endregion*/

/*region float label for ajax select*/
.has-float-label .suggest + label, .has-float-label > .suggest + span {
    display: none;
}

.has-float-label .suggest__has-value .suggest--label {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    cursor: text;
    font-size: 110%;
    opacity: 1;
    -webkit-transition: all .2s;
    transition: all .2s;
    top: -.6em;
    left: 12px;
    z-index: 3;
    line-height: 1;
    padding: 0 1px;
    font-weight: bold;
    height: auto;
}

.has-float-label .input-sm.suggest__has-value .suggest--label {
    font-size: 90%;
}

.has-float-label .suggest__has-value .suggest--label::before {
    content: " ";
    display: block;
    position: absolute;
    background: white;
    height: 2px;
    top: 50%;
    left: -.2em;
    right: -.2em;
    z-index: -1;
}

[data-theme="dark"] .has-float-label .suggest__has-value .suggest--label::before {
    background: #464545;
    height: 1px;
}

.has-float-label .suggest--input__open .suggest--label::before {
    content: "";
    display: none;
}

/*endregion*/

/*region bootstrap 3 modal window align fix*/
.modal-content {
    width: 100%;
}

.modal-dialog-centered {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    min-height: calc(100% - (.5rem * 2));
}

@media (min-width: 576px) {
    .modal-dialog-centered {
        min-height: calc(100% - (1.75rem * 2));
    }
}

/* endregion */

.report-cell-block {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
}

.db-landscape {
    display: inline-block;
    min-width: 10px;
    padding: 7px 11px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    color: #004a89;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    background-color: #fff;
    border-radius: 10px;
}

.operational-expenditure-header
{
    display: inline-block;
    color: #777777;
    padding-top: 8px;
    padding-bottom: 8px;
}

.hermes-tabs--sticky {
    position: sticky;
    width: 100%;
    z-index: 4;
    top: 0;
}

.tag-square {
    height: 20px;
    width: 20px;
}

.user-menu__block {
    padding: 3px 20px;
}

.hermes-confirm {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10000;
    display: block;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .2);
    opacity: 1;
    transition: opacity .2s, visibility .2s;
    transition-timing-function: cubic-bezier(.4, 0, .2, 1);
}

.hermes-confirm-form {
    width: 600px;
    height: 150px;
    padding: 10px;
    background: white;
    margin: 200px auto;
    border-radius: 10px;
}

.hermes-confirm-label {
    width: 100%;
    text-align: center;
    font-weight: bold;
    font-size: 16px;
    height: 90px;
}

.hermes-confirm-btn {
    width: 100%;
    display: flex;
    justify-content: center;
}

.hermes-confirm-btn button {
    margin: 5px;
}

.accentImportant {
    color: red;
    font-size: 130%;
    font-weight: bold;
}

.accordion-title-text {
    color: #000;
    font-weight: 400;
}

.small-gray-text {
    font-size: 12px;
    color: #8d8d8d;
    font-weight: 400;
}

.jumbotron-feetback {
    background-color: #fff;
    padding: 0 50px;
}

.jumbotron-container {
    padding: 0;
}

.jumbotron-text {
    font-weight: 400;
}

.jumbotron-margin {
    margin-bottom: 10px;
}

.feetback-links a {
    font-size: 14px;
    text-decoration: underline;
    font-weight: 500;
    cursor: pointer;
    color: #0174eb;
}

.feetback-links a:hover {
    color: #001b3f;
}

.opinion-div-text {
    float: left;
    margin: 6px;
    font-weight: 450;
}

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

.opinion-a-modal {
    margin: 0 20px;
}

.opinion-href {
    font-size: 13px;
    cursor: pointer;
}

.float-left {
    float: left;
}

.float-right {
    float: right;
}

.auto-replay-in {
    padding: 0 !important;
}

.auto-replay-in:hover {
    background: none !important;
}

.auto-replay-row {
    margin-bottom: 0 !important;
    display: inline-flex !important;
}

.auto-replay-parent {
    text-align: right;
    display: block !important;
}

.auto-replay-label {
    padding: 6px 5px 0 0;
    display: block;
}

.display-none {
    display: none;
}

.btn-no-border {
    padding: 0;
    border: 0;
}

div.yandex-map-balloon {
    display: flex;
    height: auto;
    flex-direction: column;
}

.balloon-width-400px {
    width: 400px
}

.balloon-width-500px {
    width: 500px
}

.balloon-width-600px {
    width: 600px
}

.balloon-width-700px {
    width: 700px
}

.balloon-width-1000px {
    width: 1000px
}

div.yandex-map-balloon-content {
    overflow-y: auto;
    justify-content: flex-start;
}

.balloon-height-75px {
    height: 75px
}

.balloon-height-100px {
    height: 120px
}

.balloon-height-150px {
    height: 150px
}

.balloon-height-160px {
    height: 160px
}

.balloon-height-200px {
    height: 200px
}

.balloon-height-300px {
    height: 300px
}

.balloon-height-400px {
    height: 400px
}

.balloon-height-450px {
    height: 450px
}

.balloon-height-500px {
    height: 480px
}

.balloon-height-600px {
    height: 530px
}

div.yandex-map-balloon-content table {
    width: 100%;
}

div.yandex-map-balloon-btn-panel {
    padding-top: 20px;
    margin-bottom: 10px;
    justify-content: flex-end;
}

div.yandex-common-map {
    display: flex;
    justify-content: space-between;
}



div.yandex-common-map div.legend-map {
    width: 600px;
    border: 1px solid #777;
    height: 720px;
    overflow-y: auto;
}

div.yandex-common-map div.legend-map-small {
    width: 60px;
    overflow: hidden;
}

table.yandex-legend-map-table td.line-number {
    width: 50px;
    text-align: center;
}

.yandex-map-balloon-hint-head {
    padding: 2px 8px;
    margin-bottom: 15px;
}

dl.yandex-map-balloon-hint-list {
    margin-top: 0;
    margin-bottom: 20px;
    padding-right: 10px;
}

.yandex-map-balloon-hint-list dt {
    float: left;
    width: 120px;
    clear: left;
    text-align: right;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.yandex-map-balloon-hint-list dd {
    margin-left: 140px;
}

.yandex-map-balloon-hint-list dd:empty::before {
    content: "Не найдено";
    color: darkgray;
}