#main-content > .container {
  padding-right: 0;
}

.topic-wrapper {
  display: flex;
  flex-direction: row;
}

#topic-body-main {
  width: calc(100% * 9/12);
  padding: 1em 0;
}

#topic-body-browse {
  width: calc(100% * 3/12);
  border-left: 1px solid #cacaca;
  border-right: 1px solid #cacaca;
  margin-left: 1em;
}

.section-topic-header {
  margin-top: 2em;
  margin-bottom: 2em;
}

.section-topic-header .section-row {
  align-items: center;
}

.render-cover_image .topicImage {
  width: 100%;
  max-width: 100%;
  border-radius: 0.5rem;
}

#topic-body-browse-content {
  /* background: #eee; */
  /* padding: 1em; */
  /* border-radius: 10px; */
  /* margin-left: 2em; */
  display: flex;
  flex-direction: column;
  align-items: center;
  position: sticky;
  top: 173px;
}

#topic-body-browse-content .scrollable-tree {
  height: calc(100vh - 173px);
  width: 100%;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #cacaca transparent;
  position: relative;
}

#topic-body-browse-content .scrollable-tree .scroller {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
  cursor: pointer;
}

#topic-body-browse-content .scrollable-tree .scroller-top {
  top: 1em;
  margin-top: -2.5em;
  position: sticky;
}

#topic-body-browse-content .scrollable-tree .scroller-bottom {
  bottom: 13em;
  margin-bottom: 1em;
  position: sticky;
}

#topic-body-browse-content .scrollable-tree .scroller-bottom.navbar-compact {
  bottom: 5em;
}

#topic-body-browse-content .scrollable-tree .scroller .left,
#topic-body-browse-content .scrollable-tree .scroller .center,
#topic-body-browse-content .scrollable-tree .scroller .right {
  display: flex;
  align-items: center;
  justify-content: center;
}
#topic-body-browse-content .scrollable-tree .scroller .left {
  width: calc(100% * 5 / 12);
}
#topic-body-browse-content .scrollable-tree .scroller .center {
  width: calc(100% * 1 / 12);
}
#topic-body-browse-content .scrollable-tree .scroller .right {
  width: calc(100% * 5 / 12);
  justify-content: start;
}

#topic-body-browse-content .scrollable-tree .scroller .circle {
  background: #004087;
  color: #fff;
  padding: 0.5em 0.7em;
  border-radius: 50%;
  box-shadow: 0px 0px 20px 0px rgba(75,75,75,0.75);
  -webkit-box-shadow: 0px 0px 20px 0px rgba(75,75,75,0.75);
  -moz-box-shadow: 0px 0px 20px 0px rgba(75,75,75,0.75);
}

#topic-body-browse-content .scrollable-tree .scroller:hover .circle {
  background: #4078b3;
}

#topic-body-browse-content .scrollable-tree .scroller .more-text {
  margin-left: 1em;
  color: #004087;
  visibility: hidden;
}

#topic-body-browse-content .scrollable-tree .scroller:hover .more-text {
  visibility: visible;
}

#topic-body-browse-content .scrollable-tree::-webkit-scrollbar {
  width: 12px; /* width of the entire scrollbar */
}

#topic-body-browse-content .scrollable-tree::-webkit-scrollbar-track {
  background: transparent; /* color of the tracking area */
}

#topic-body-browse-content .scrollable-tree::-webkit-scrollbar-thumb {
  background-color: #cacaca; /* color of the scroll thumb */
  border-radius: 20px; /* roundness of the scroll thumb */
  border: 5px solid white; /* creates padding around scroll thumb */
}


#topic-body-browse-content .scrollable-tree > ul > li:last-child {
  margin-bottom: 50vh;
}


#topic-tree-title {
  /* font-size: 18pt; */
  color: #222;
  border-bottom: 1px solid #cacaca;
  font-weight: bold;
  /* text-align: center; */
  padding: 0.5em 0 0.5em 1em;
  margin-bottom: 0.5em;
  width: 100%;
  box-sizing: border-box;
}

.section-row {
  display: flex;
  justify-content: space-between;
}

.section-row-centered {
  justify-content: center;
}

.section-row-centered .render-cover_image {
  border-left: 10px solid #b7b7b7;
  padding: 0.5em 0 0.5em 1em;
}

.row-cell-half-width {
  width: calc(100% * 1/2 - 2em);
}

.render-rich_description {
  border-left: 10px solid #b7b7b7;
  padding: 0.5em 0 0.5em 1em;
  line-height: 1.2em;
  font-size: 22pt;
  font-style: italic;
  color: #014089;
}

.section-topic-discover_more,
.section-topic-related {
  margin-top: 2em;
}

#related-topics {
  width: calc(100%);
}

#related-topics ul {
  list-style-type: none;
  padding: 0;
  border-bottom: 1px solid #b7b7b7;
}

#related-topics li {
  border-top: 1px solid #b7b7b7;
  display: flex;
  padding-left: 1em;
}

#related-topics li .list-bullet {
  padding: 1em;
}

#related-topics li a {
  display: block;
  padding: 1em;
  width: 100%;
  color: #222;
  font-weight: bold;
}

.section-topic-discover_more .row-cell-left,
.section-topic-related .row-cell-left {
  width: calc(100% * 1/3 - 1em);
  display: flex;
}

.section-topic-discover_more .row-cell-right,
.section-topic-related .row-cell-right {
  width: calc(100% * 2/3 - 1em);;
}

#topic-body-browse .tree-subtopics {
  display: none;
}

#topic-body-browse-content .scrollable-tree > ul,
#topic-body-browse-content > ul {
  padding: 0;
  margin: 0;
  width: 100%;
}

#topic-body-browse li {
  display: block;
}


#topic-body-browse a {
  display: inline-block;
  text-decoration: none;
  color: #222;
}

#topic-body-browse .tree-topic {
  display: flex;
  align-items: center;
  padding: 0.3em 0.5em;
}

#topic-body-browse-content > ul > li > .tree-topic {
  padding-left: 0;
}

#topic-body-browse .tree-topic .toggle {
  cursor: crosshair;
  border: 0;
  background: transparent;
  width: 1em;
}

#topic-body-browse .tree-topic .toggle[disabled] {
  cursor: default;
}

#topic-body-browse .tree-topic a {
  display: block;
  width: 100%;
  margin-left: 1em;
}

#topic-body-browse .tree-subtopics.open {
  display: block;
}

#topic-body-browse .current > .tree-topic a,
#topic-body-browse .current > .tree-topic,
#topic-body-browse .tree-topic:hover a,
#topic-body-browse .tree-topic:hover {
  background: #004087;
  color: #fff;
}

#topic-body-browse .tree-subtopics .current > .tree-topic a,
#topic-body-browse .tree-subtopics .current > .tree-topic,
#topic-body-browse .tree-subtopics .tree-topic:hover a,
#topic-body-browse .tree-subtopics .tree-topic:hover {
  background: #e5e5e5;
  color: #222;
}

.section-topic-discover_more .column-header,
.section-topic-related .column-header {
  position: relative;
  text-transform: uppercase;
  padding: 1em 0 1em 0;
}

.section-topic-discover_more .column-header:after,
.section-topic-related .column-header:after {
  content: " ";
  display: block;
  position: absolute;
  left: 0;
  top:0;
  width: 3em;
  height: 5px;
  background: #b7b7b7;
}

#featured-content ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: space-between;
  flex-flow: row wrap;
}

#featured-content ul li {
  width: calc(100% * 1/2 - 1em);
}

.item-card {
  padding: 2em;
  border: 1px solid #b7b7b7;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  margin-bottom: 1em;
  box-shadow: 0 0 0.3rem rgb(0 0 0 / 25%);
  min-height: 18em;
  justify-content: space-between;
}

.item-card-body {
  width: calc(100%);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.item-card-body .cover-wrapper {
  width: calc(100% * 3/12);
  display: flex;
  justify-content: center;
  align-items: center;
}

.item-card-body .cover {
  width: 7rem;
  box-shadow: 0 0 0.3rem rgb(0 0 0 / 25%);
  background-color: #fff;

}

.item-card-body .details {
  width: calc(100% * 9/12 - 3em);
  justify-content: space-between;
  flex-direction: column;
}

.item-card-body .details .summary {
  margin-top: 1em;
}

.item-card-body .details a {
  font-size: 14pt;
}

.item-card-footer {
  width: calc(100%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10pt;
  margin-top: 2em;
}

.item-card-footer a.download {
  color: #d02244;
  border: 1px solid #d02244;
  border-radius: 1em;
  padding: 0.5em 2em;
  display: block;
  text-decoration: none;
}

.item-card-footer a.download:hover,
.item-card-footer a.download:active,
.item-card-footer a.download:focus {
  background-color: #d02244;
  color: #fff;
}

.item-card-footer a.learn-more {
  margin-right: 1em;
  text-transform: uppercase;
}

.topic-discover-more-listing {
  padding: 0;
  margin: 0;
  list-style-type: none;
}

.topic-discover-more-listing li {
  display: flex;
  align-items: center;
  margin-bottom: 0.5em;
}

.topic-discover-more-listing li img {
  padding: 0.5em;
  border: 1px solid #cacaca;
  margin-right: 1em;
}

@media(max-width: 1360px) {
  .section-row {
    flex-direction: column;
  }
  .row-cell-half-width {
    width: 100%;
  }
  .section-topic-header .section-row {
    padding: 0;
  }
  .render-rich_description {
    width: calc(100%);
    box-sizing: border-box;
    padding-left: 0.5em;
  }
  .render-video_embed, .render-cover_image {
    margin-top: 3em;
  }
  .render-video_embed > [width] {
    width: calc(90vw) !important;
  }
  .render-video_embed iframe {
    width: calc(90vw);
  }
  .section-topic-discover_more .row-cell-left,
  .section-topic-related .row-cell-left {
    width: 100%;
    margin-top: 2em;
  }
  .section-topic-discover_more .row-cell-right,
  .section-topic-related .row-cell-right {
    width: 100%;
    margin-top: 2em;
  }
  .item-card-body {
    flex-direction: column;
  }
  .item-card-body .cover-wrapper,
  .item-card-body .details {
    width: 100%;
  }
  .item-card-body .details a {
    margin-top: 1em;
    text-align: center;
    display: block;
  }
  #featured-content ul {
    flex-direction: column;
    width: calc(100%);
  }
  #featured-content ul li {
    width: 100%;
  }
  #topic-body-main {
    width: calc(100%);
  }
  #topic-body-browse {
    display: none;
  }
  #sidebar-close-btn {
    display: flex;
    width: 100%;
    flex-direction: row-reverse;
    margin-top: 1em;
    margin-bottom: -2.3em;
  }
  #topic-body-browse #sidebar-close-btn button {
    display: block;
    padding: .4em .5em;
    border: 0;
    border-radius: .25em;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-repeat: no-repeat;
    color: #fff;
    margin-right: 1em;
  }
  #topic-body-browse .tree-topic {
    flex-direction: row-reverse;
  }
  #topic-body-browse.open {
    width: calc(100%);
    position: fixed;
    top: 0;
    bottom: 0;
    z-index: 200;
    overflow: auto;
    max-width: 90%;
    width: 30rem;
    background-color: rgba(1,80,159,.98);
    color: #fff;
    box-shadow: 0 0 0.5rem rgb(0 0 0 / 50%);
    left: 0;
    display: block;
    font-size: larger;
  }
  #topic-body-browse-content {
    padding: 0;
    margin: 0;
    background: transparent;
    align-items: flex-start;
  }
  #topic-body-browse a {
    color: #fff;
  }
  #topic-body-browse li {
    border-top: 1px solid #9cbbd8;
  }
  #topic-body-browse ul {
    padding: 0;
    width: 100%;
  }
  #topic-tree-title {
    color: #fff;
    text-align: left;
    border: 0;
    margin-left: 1em;
  }

  #topic-body-browse-content .scrollable-tree .scroller-bottom {
    bottom: 3em;
  }

  #topic-body-browse-content .scrollable-tree .scroller .circle {
    box-shadow: 0px 0px 20px 0px rgba(255,255,255,0.255);
    -webkit-box-shadow: 0px 0px 20px 0px rgba(255,255,255,0.255);
    -moz-box-shadow: 0px 0px 20px 0px rgba(255,255,255,0.255);
  }
  #topic-body-browse-content .scrollable-tree .scroller .more-text {
    color: white;
  }

}
