
.factbox {
background-color: #F4F4F4;
border-left: 3px solid  #3C3B6E;
margin-bottom: 1rem;
padding: 1rem!important;
width: 100%;
height: fit-content;
}

.factbox h2 {
    color: #3c3b6e;
    font-size: 24px;
    text-align: left;
    margin: 0 0 1rem 0;
    padding: 0; 
} 
.factbox p {
color: #3C3B6E;
line-height: 1.4;
font-size: 16px;
}

.articlesByTag a h4 {
color: #3C3B6E;
}

.articlesByTag a p {
color: #222;
}

.articlesByTag .content h3 {
color: #3C3B6E;
font-size: 24px;
border-bottom: 3px solid #3C3B6E;
}

.articlesByTag .content ul li a img {
height: 80px;
object-position: top;
}

.markup-line {
height: 2px;
width: 100%;
border-bottom: 1px solid #e6e6e6;
scroll-margin-top: 100px;
}

@media screen and (max-width: 650px) {

    .factbox p,
    .factbox h2  {
        padding-left: 10px;
    }
}


section#custom-factbox {
  font-family: "Roboto", sans serif;
  background: #f4f4f4;
  padding: 1rem;
  color: #3c3b6e;
  border-left: 3px solid #3c3b6e;
  line-height: 1.4;
  font-size: 16px;
  /* Accordion styles */
}

section#custom-factbox input {
  position: absolute;
  opacity: 0;
  z-index: -1;
}

section#custom-factbox h2 {
  margin: 0 0 1rem 0;
}

section#custom-factbox .tab {
  width: 100%;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

section#custom-factbox .tab p.question {
  font-weight: 900;
  margin: 0 0 0.2rem;
  font-size: 18px;
}

section#custom-factbox .tab-label {
  display: block;
  font-weight: 400;
  cursor: pointer;
  margin-bottom: 0.2rem;
  /* Icon */
}

section#custom-factbox .tab-label .arrow {
  display: inline-block;
  background-image: url("https://graphics.dbstatic.no/Grafikk/us-election2020/styles/chevron-down.svg");
  background-size: cover;
  height: 14px;
  width: 20px;
  opacity: 0.5;
  transition: all 0.35s;
}

section#custom-factbox .tab-content {
  max-height: 0;
  background-color: #D9DDE6;
}

section#custom-factbox input:checked + .tab-label .arrow {
  transform: rotate(180deg);
}

section#custom-factbox input:checked ~ .tab-content {
  max-height: 100vh;
  padding: 0.2rem 0.5rem;
}

section#custom-factbox input:checked ~ .tab-content p {
  margin: 0.5rem 0;
}
