﻿.sitemap {
    padding: 10px 10%;
}
.sitemap h2 {
    text-align: center;
    padding: 20px;
    font-weight: normal;
    font-size: 37px;
}
.sitemap .sitemap-diagram {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    position: relative;
    flex-wrap: wrap;
}

.sitemap .tree,
.sitemap .tree ul {
    margin:0; /* indentation */
    padding:0;
    list-style:none;
    color:#005a73;
    position:relative;
}

.sitemap .tree ul {margin-left:.5em} /* (indentation/2) */

.sitemap .tree ul:before {
    content:"";
    display:block;
    width:0;
    position:absolute;
    top:0;
    bottom:0;
    left:0;
    border-left:1px solid;
}

.sitemap .tree li {
    margin:0;
    padding:0 1.5em; /* indentation + .5em */
    padding-right: 0px;
    line-height:2em; /* default list item's `line-height` */
    font-weight:bold;
    position:relative;
}

.sitemap .tree li:before {
    content:"";
    display:block;
    width:10px; /* same with indentation */
    height:0;
    border-top:1px solid;
    margin-top:-1px; /* border top width */
    position:absolute;
    top:1em; /* (line-height/2) */
    left:0;
}

.sitemap .tree li:last-child:before {
    background:white; /* same with body background */
    height:auto;
    top:1em; /* (line-height/2) */
    bottom:0;
}

.sitemap .tree li {
    list-style-type: none;
}

.sitemap .tree > li {
    display: inline-block;
    width: 100%;
    margin-bottom: 25px;
    padding-left: 0px;
}
.sitemap .tree > li:before {
    display: none;
}
.sitemap .first-level {
    font-size: 15px;
}
.sitemap .tree li a {
    color:#005a73;
}
.sitemap .tree li a:hover {
    color:#000;
}
.tree li button {
    position: absolute;
    left: -5px;
    top: 3px;
    right: auto;
    border: 1px solid #005a73;
    background: #fff;
    font-size: 9px;
    border-radius: 20px;
    width: 18px;
    height: 18px;
    padding: 0px;
    color: #005a73;
    outline: none;
}

.tree li ul.closed {
    display: none;
}
.first-column,
.second-column,
.third-column {
    width: 33%;
}
@media (max-width: 1023px) {
    .first-column,
    .second-column,
    .third-column {
        width: 50%;
    }
    .sitemap {
        margin-top: 25px;
    }
}

.sitemap .mobile {
    display: none;
}

@media (max-width: 639px) {
    .first-column,
    .second-column,
    .third-column {
        width: 100%;
    }
    .first-column,
    .second-column,
    .third-column {
        display: none;
    }
    .sitemap .mobile {
        display: block;
    }
}
