@import url(https://fonts.googleapis.com/css?family=Roboto:300,700,400,500);
*, *:before, *:after {
  box-sizing: border-box;
}

.project-header {
  margin-bottom: 40px;
}

.project-sitemap {
  padding: 0px;
  text-rendering: optimizeLegibility;
  color: #292929;
}

.project-title {
  margin: 0 0 0.2em;
  text-transform: uppercase;
  font-size: 1.6rem;
  line-height: 1.2;
}

.project-subtitle {
  margin: 0;
  font-size: 18px;
  font-weight: normal;
  line-height: 1.2;
  color: #666;
}

.sitemap {
  position: relative;
  display: flex;
  flex-flow: row wrap;
  padding: 0;
}

.sitemap h3,
.sitemap a {
    font-size: 1.1rem;
    line-height: 1rem;
    padding: 6px 12px 10px 12px;
}

.sitemap h3,
.sitemap a {
    position: relative;
    z-index: 10;
    display: inline-flex;
    flex-direction: column;
    padding: 0.5em 1em;
    border: 1px solid #CDCDCD;
    border-radius: 4px;
    border-bottom-width: 3px;
    /* [disabled]font-weight: 500; */
    text-decoration: none;
    transition: .6s;
}

.sitemap h3 {
    color: #fff;
    background-color: #6A899F;
}

.sitemap-root a,
.sitemap-aux a,
.sitemap a {
    color: #fff;
    background-color: #006BB7;
}

.sitemap-root a:hover,
.sitemap-aux a:hover,
.sitemap a:hover {
    color: #fff;
    background-color: #289749;
}

/* displays URL */
/*.sitemap a:before {
  margin-bottom: 0.3em;
  content: attr(href);
  font-size: 0.6em;
  color: #7C7C7C;
}*/

.sitemap-main {
    position: relative;
    flex: 1 1 100%;
    order: 3;
    margin-bottom: 1em;
    margin-top: 20px;
}

.sitemap-main h3,
.sitemap-main a {
  margin-bottom: 0.5em;
  margin-left: 0.2em;
}

.sitemap-main ul {
    position: relative;
    padding-left: 2em;
}

.sitemap-main > ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
}

.sitemap-main > ul > li {
  flex: 1 1 auto;
}

.sitemap li {
  margin-right: 1em;
  list-style: none;
}

.sitemap-main ul.bullet-icon li {
    font-size: 80%;
    /* [disabled]margin-left: -20px; */
}

/* Handle grid lines */
.sitemap-main li:before,
.sitemap-main li:after {
  display: inline-block;
  width: 1em;
  /*height: 2em;*/
  border: 2px solid #949494; /* line color */
  border-right: none;
  border-top: none;
  content: "";
}
/* remove lines at this level and use regular bullets */
.sitemap-main ul.no-lines li:before,
.sitemap-main ul.no-lines li:after {
  display: inline-block;
  width: 1em;
  /*height: 2em;*/
  border: 0px solid #FF0004; /* line color */
  border-right: none;
  border-top: none;
  content: "";
}

.sitemap-main li:after {
  position: absolute;
  left: 2em;
  bottom: 0;
  width: 2px;
  height: 100%;
}

.sitemap-main ul:before {
  position: absolute;
  left: 0;
  top: -2.75em;
  display: block;
  width: 2px;
  height: 100%;
  background: #fff;
  content: "";
}

.sitemap-main > ul:before {
  display: none;
}

.sitemap-main li:last-child:after {
  border-color: #fff;
  bottom: 0;
  height: 2.7em;
}

/* The home/top level link */
.sitemap-root {
    margin-bottom: 1em;
}

.sitemap-root > a {
    min-width: 8em;
    /* [disabled]background: #C3BAAA; */
    /* [disabled]border-color: #aea28c; */
    /* [disabled]color: #fff; */
}

/*.sitemap-root > a:before {
  color: #f2f2f2;
}

.sitemap-root > a:after {
  position: absolute;
  bottom: -2.6em;
  left: calc(2em - 1px);
  display: block;
  width: 2px;
  height: 2em;
  background: #f2f2f2;
  content: "";
}*/

.sitemap-main > ul > li > h3,
.sitemap-main > ul > li > a {
    /* [disabled]background: #f2e8dd; */
    /* [disabled]border-color: #e4cfb8; */
}


.sitemap-main ul ul ul a {
  background: #fff;
}

.sitemap-aux {
  order: 3;
  font-size: 0.9em;
}

.sitemap-aux ul {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
}

.sitemap-aux li {
  margin: 0 0.5em 0.5em 0;
}

/*.sitemap-aux a {
  background: #FAF8D4;
  border-color: #f5f1a6;
}*/

@media (min-width: 420px) {
  .sitemap {
    justify-content: space-between;
  }

  .sitemap-aux ul {
    justify-content: flex-end;
  }
}
@media (min-width: 600px) {
  .sitemap-aux {
    order: 2;
  }
    .sitemap h3 {
    font-size: 1.2rem;
    line-height: 1rem;
    padding-top: 0.5em;
    padding-right: 1em;
    padding-left: 1em;
    padding-bottom: 0.5em;
    }
}
