/* overall article stuff like containers flex a that little
    separator thingy i.e: that vertical grey line */

div#main .container #block-basic-content {
  margin-top: 40px;
}

section.article-container {
  display: grid;
  grid-template-columns: repeat(12, 1fr)
}

section.article-container article {
  grid-column: 2 / span 7;
}

section.article-container aside.article-aside {
  grid-column: 10 / span 2;
  box-sizing: border-box;
  display: flex;
  position: sticky;
  top: 200px;
  height: 900px;
}

.separator {
  justify-self: center;
  background-color: silver;
  width: 1px;
  height: auto;
  margin: 40px 32px 0 0;
}


/* stuff inside the article */
div.event__body>div.key-takeaways {
  display: flex;
  flex-direction: column;
  position: relative;
}

div.event__body p {
  line-height: 1.5rem;
  margin: 16px 0;
}

div.event__body>div.key-takeaways::after {
  content: '';
  position: absolute;
  top: 0;
  width: 16px;
  height: 100%;
  background: linear-gradient(#7BB043, #eaf1dd);
  border-radius: 0 0 0 16px;
}

div.event__body>div.key-takeaways h3 {
  margin: 16px 24px 24px 24px;
  font-size: 34px;
  font-family: Oswald;
  font-weight: 300;
  line-height: 40px;
}

div.event__body>div.key-takeaways ul {
  margin: 0 24px 16px 24px;
  padding: 16px;
}

div.event__body>div.key-takeaways ul li {
  list-style-type: disc;
  line-height: 1.5rem;
}

div.event__body :not(figure) ul li {
  list-style-type: disc;
}

div.toc {
  background-color: white;
  box-shadow: 0 .5px 2px rgba(0, 0, 0, .25);
  margin: 32px 0;
  border-radius: 8px;
  padding: 16px;
}

div.event__body>h2 {
  font-size: 34px;
  font-weight: 300;
  line-height: 40px;
  font-family: Oswald;
  margin: 16px 0 0 0;
}

div.event__body>h3 {
  margin: 16px 0 0 0;
}

aside.sidebar-expand {
  display: none;
}

div.event__body figure {
  background-color: white;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 .5px 2px rgba(0, 0, 0, .25);
}

div.event__body figure>div:not(:has(.slider-arrow)) {
  width: 100%;
  max-width: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

div.event__body figure iframe {
  width: 100%;
  flex-grow: 0 !important;
}

div.event__body figure h3 abbr,
div.event__body h3 {
  font-size: 24px;
  font-weight: 500;
  font-family: Roboto Condensed;
  border: none
}

div.event__body figure h3 {
  font-size: 20px;
  font-family: Roboto;
  font-weight: 500;
}


aside.interrupted-content {
  border-top: 1px solid #9c9c9c;
  border-bottom: 1px solid #9c9c9c;
  margin: 1.5em 0;
  padding: 1em 0;
}

div.event__body>ul>li {
  list-style-type: square;
}

div.col-xs-6:has(i) {
  display: flex;
  align-items: center;
  justify-content: center;
}


/* tables */
div.event__body table tbody tr:nth-child(odd) {
  background-color: #eaf1dd;
}


div.event__body table tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}

.multi-row-green-stripe {
  background-color: #eaf1dd;
}

.multi-row-white-stripe {
  background-color: #f9f9f9;
}

div.event__body table tbody tr td {
  vertical-align: middle;
}




/*ask esource answer*/

div.event__body>p:has(span.initial) {
  position: relative;
}

div.event__body>p:first-child:has(span.initial) {
  background-color: white;
  padding: 16px;
  box-shadow: 0 .5px 2px rgba(0, 0, 0, .25);
  border-radius: 0 8px 8px 8px;
}

div.event__body>p span.initial {
  font-size: 40px;
  font-weight: 500;
  font-family: Roboto;
  border: none;
  background-color: #eaf1dd;
  padding: 16px;
  border-radius: 40%;
  display: inline-block;
  margin-right: 16px;
}

@media screen and (max-width: 1100px) {
  div#main .container #block-basic-content {
    margin-top: 0px;
  }
  
  section.article-container {
    margin: 0 32px;
  }
  section.article-container article {
    grid-column: 1 / span 12;
  }

  section.article-container aside.article-aside, .separator {
    display: none;
  }
}

@media screen and (max-width: 481px) {
  section.article-container {
    margin: 0 16px;
  };
}