.s-tree {
    background: #FFFFFF;
    padding: 5rem 0 6rem;
}

.tree-aside-logo {
    background-image: url('/img/sematic-globe-logo-g.svg');
}

.tree-header {
    height: 27rem;
}

.tree-header-inner {
    background: radial-gradient(46.74% 46.74% at 50.05% 53.26%, #F8FAFF 21.35%, rgba(247, 249, 255, 0) 100%) /* warning: gradient uses a rotation that is not supported by CSS and may not behave as expected */;
}

.tree-header-title {
    align-self: center;
    margin-top: 0;

    font-size: 4rem;
    line-height: 4.9rem;
    color: #066A81;
}

.tree-header-logo {
    display: block;
    max-width: 12.2rem;
    width: 100%;
    height: 5.5rem;
    background-image: url('/img/sematic-globe-logo-g.svg');
    margin-left: unset;
}

.tree-logo-title {
    margin-right: auto;
    margin-left: 1.8rem;
    color: #706F6F;
    font-size: 2.3rem;
    line-height: 2.2rem;
    padding-left: 1.5rem;
    border-left: 1px solid #808080;;
}

.tree-columns {
    display: flex;
    flex-flow: row nowrap;
    gap: 4rem;
}

.tree-controls {
    flex-shrink: 0;
    flex-grow: 0;
    width: 29.5rem;
    position: relative;
    display: flex;
    flex-flow: column;
    gap: 2rem;
    opacity: 1;
    visibility: visible;
    transition: all ease-in-out .3s;
}

.tree-controls.hidden {
    width: 0;
    height: 0;
}

.tree-controls.hidden *:not(.tree-controls-arrow){
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
}

.tree-controls.hidden .tree-controls-arrow {
    margin-right: -1.5rem;
    transform: rotate(180deg);
}

.tree-controls-title {
    font: 700 1.4rem/1.8rem Poppins;
    color: #066A81;
}

.tree-controls-arrow {
    position: absolute;
    top: 0;
    right: 0;
    cursor: pointer;
    display: block;
    width: 2rem;
    height: 2rem;
    background: url("/img/i/arrow-left.svg") no-repeat center / 1.5rem 1.1rem;
}

* + .tree-controls-title {
    margin-top: 2.7rem;
}

.tree-controls-tree {
    display: flex;
    flex-flow: column;
    list-style-type: none;
    background: #FAFAFA;
    padding: 1.6rem 0;
}

.tree-controls-tree-item {
    position: relative;
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1.6rem;
    font: 400 1.2rem/1.5rem Poppins;
    color: #3D4D52;
    cursor: pointer;
}

.tree-controls-tree-item:before {
    content: '';
    display: flex;
    justify-content: center;
    align-items: center;
    width: 7px;
    height: 4px;
    background: url('/img/tree-arrow.svg') no-repeat center / contain;
}

.tree-controls-tree-item.selected {
    background-color: #EBF6FB;
    color: #2F6F8C;
    font-weight: 500;
}

.tree-controls-tree-item.active {
    color: #2F6F8C;
    font-weight: 500;
}

.tree-controls-tree-item.file {
    color: #2F6F8C;
}

.active.tree-controls-tree-item:before,
.selected.tree-controls-tree-item:before {
    transform: rotate(180deg);
}

.file.tree-controls-tree-item:before,
.tree-controls-tree-item-children .file.tree-controls-tree-item:before {
    content: ' \25CF';
    background: unset;
}

.tree-controls-tree-item-children {
    display: none;
    list-style-type: none;
    margin-left: 1.6rem
}

.tree-controls-tree-item-children .tree-controls-tree-item {
    color: #2F6F8C;
}

.tree-controls-tree-item-children .tree-controls-tree-item:before {
    content: '+';
    background: unset;
}

.tree-controls-tree-item-children .active.tree-controls-tree-item:before,
.tree-controls-tree-item-children .selected.tree-controls-tree-item:before {
    content: '-';
}

.tree-content {
    position: relative;
    width: 100%;
}

.tree-chart-container {
    position : relative;
    top : 0;
    left : 0;
    width : auto;
    height : 600px;
    text-align : center;
    overflow : hidden;
}

.tree-chart-fullscreen {
    position: absolute;
    top: 3rem;
    right: 3rem;
    width: 2.4rem;
    height: 2.4rem;
    cursor: pointer;
    background: url("/img/i/fullscreen-icon.svg") no-repeat center / cover;
    transition: all linear .3s;
}
.tree-chart-fullscreen:hover {
    transform: scale(0.8);
}

.overlay {
    background: #FAFAFA
}

.node {
    cursor: pointer;
}

.node rect.common {
    fill: url(#common);
}

.node rect.main {
    fill: url(#main);
}

.node rect.active {
    fill: url(#active);
}

.node rect.file {
    fill: url(#file);
}

.node text {
    font: 400 0.8rem/1rem Poppins;
}

.node rect.main ~ text,
.node rect.active ~ text {
    font-weight: 600;
}

.link {
    fill: none;
    stroke: #D8D4DB;
    stroke-width: 0.5px;
}

.mobile-tree-title {
    display: none;
}

@media (max-width: 769px) {
    .tree-header {
        height: auto;
    }

    .mobile-tree-title {
        display: block;
        font: 700 2rem/2.8rem Poppins;
        color: #154E69;
        text-align: center;
        margin-bottom: 1.6rem;
    }

    .header-mobile.header-mobile-bg-white {
        background: #ffffff;
    }

    .header-mobile-inner .header-logo.header-logo-gray.home-header-logo {
        background-image: url("/img/sematic-globe-logo-g.svg");
        filter: unset;
    }

    .header-mobile-inner > .header-mobile-burger.header-mobile-burger-green {
        background-image: url("/img/i/burger-green-icon.svg");
    }

    .tree-controls {
        width: 100%;
    }

    .tree-columns {
        flex-direction: column;
        gap: 3rem;
    }

    .tree-content {
        width: auto;
        margin: 0 -2rem;
    }

    .tree-chart-container {
        height: 35rem;
    }
}
