.json-company-relations {
    background: rgba(0, 0, 0, .2);
    height: auto;
    box-shadow: inset 0px 1px 2px 1px rgba(0, 0, 0, 0.2);
    position: relative;
}
.json-company-relations__content {
    min-height: calc(100vh - 250px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}
#companyRelations {
    width: 100%;
    height: calc(100vh - 250px);
}
.companyRelations__graph_centered {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    color: #0b3e6f;
}
.companyRelations__controls {
    width: 250px;
    position: absolute;
    z-index: 2;
    margin: 20px 0 0 20px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 1px 2px 3px rgba(0, 0, 0, 0.1);
}
.companyRelations__overlay {
    position: absolute;
    width: 0;
    height: 0;
}
.companyRelations__overlay_show {
    width: 250px;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
}

.companyRelations__title svg {
    width: 20px;
    height: 20px;
}
.companyRelations__title {
    display: block;
    margin: 0 10px;
    box-sizing: border-box;
    padding: 10px 0 10px;
    cursor: pointer;
}
.companyRelations__params {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .5s cubic-bezier(0.56, 0.1, 0.34, 0.91);
    padding: 0;
}
.companyRelations__params>div {
    overflow: hidden;
    margin:0;

}
.companyRelations__params>div>div {
    box-sizing: border-box;
    margin: 10px;
}
.companyRelations__params_show {
    grid-template-rows: 1fr;
}

input[type="range"] {
    width: 100%;
    margin: 0;
    cursor: pointer;
}
datalist {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    writing-mode: vertical-lr;
    width: 100%;
}
datalist option {
    rotate: 270deg;
    display: flex;
    justify-content: center;
}
.companyRelations__itemTitle {
    font-weight: 400;
    margin: 0;
}
.companyRelations__params label {
    margin-top: 5px;
    display: grid;
    grid-template-columns: 30px auto;
    cursor: pointer;
}

.companyRelationsList__ul {
    margin: 0;
    padding: 0;
    list-style: none;
    background: #fff;
    position: relative;
    /*z-index: 10;*/
    overflow: hidden;
}
.companyRelationsList__ul-level-0 {
    position: relative;
    z-index: 10;
}
.companyRelationsList__ul-level-1 {
    position: relative;
    z-index: 9;
}
.companyRelationsList__ul-level-2 {
    position: relative;
    z-index: 0;
}
.companyRelationsList__item {
    display: flex;
    padding: 13px;
    margin-bottom: 10px;
    position: relative;
    z-index: 6;
    border: 1px solid #ddd;
    border-left-width: 3px;
    border-left-style: solid;
    border-left-color: var(--main-blue);
    border-radius: 4px;
    align-items: center;
    background: #fff;

}
.companyRelationsList__name {
    font-weight: bold;;
}
.companyRelationsList__inn {
    font-size: 90%;
    padding-left: 10px;
}
.companyRelationsList__ul-nextLevel {
    margin: 0;
    padding: 0;
    list-style: none;
    margin-left: 40px;
    position: relative;
    z-index: 0;
    background: #fff;
}
.companyRelationsList__ul-nextLevel li::after {
    content: '';
    display: block;
    height: 15000px;
    top: -14984px;
    width: 40px;
    left: -42px;
    border-bottom: 2px solid var(--main-blue);
    border-left: 2px solid var(--main-blue);
    border-bottom-left-radius: 13px;
    position: absolute;
    z-index: 0;
    overflow: hidden;
}