div.banner {
    background-color: #fff4cc;
    border: 1px solid #ffd96a;
    position: fixed;
    overflow-y: scroll;
    max-height: 100%;
    -webkit-overflow-scrolling: touch;
    bottom: 0px;
    left: 0px;
    right: 0px;
    z-index: 9999;
    padding: 10px;
    box-sizing: border-box;
    border-radius: 5px 5px 0 0;
}

div.banner a {
  color: #940000;
  text-decoration-line: underline;
  text-underline-offset: 3px;
}

div.banner a:hover {
  color: #940000;
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

div.banner a:active {
  color: #940000;
  text-decoration: underline;
}

div.banner h2 {
  font-weight: bold;
  font-size: 20px;
  margin-top: 0px;
}

div.banner h3 {
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 4px;
}

div.banner-intro {
    padding: 20px 20px 0 20px;
}

div.button-container {
    padding: 0 20px;
}

button.accordion {
  background-color: transparent;
  cursor: pointer;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 20px;
  border: none;
  text-align: left;
  outline: none;
  text-decoration-line: underline;
  text-underline-offset: 3px;
  font-size: 16px !important;
  font-weight: bold;
  font-family: inherit;
  transition: 0.4s;
  color: #940000;
}

button.accordion:hover {
  text-decoration-line: underline;
  text-decoration-thickness: 2px;
}

.accordion:hover {
  text-decoration-line: underline;
}

/* Plus symbol */
.accordion:after {
  content: '\002B';
  font-weight: bold;
  float: left;
  margin-right: 10px;
}

/* Minus symbol */
.active:after {
  content: "\2212";
}

div.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}

div.accordion-panel-inner {
  padding-bottom: 20px;
}

div.p-container {
  margin-bottom: 16px;
}

div.accordion-panel p {
  margin-bottom: 4px;
}

a.accordion-close {
  text-decoration: underline;
  padding-bottom: 20px;
  color: #940000;
  font-weight: bold;
}

a.accordion-close:hover {
  text-decoration: underline;
}

/* Fix menu styling line after "Home" link */
nav#nav li.active::after {
  display: none !important;
}

/* Make sure banner does not cover any page content */
div.m-site-footer {
  padding-bottom: 380px;
}

@media screen and (min-width: 480px) {
  div.m-site-footer {
  padding-bottom: 300px;
}
}

@media screen and (min-width: 869px) {
  div.m-site-footer {
  padding-bottom: 240px;
}
}

@media screen and (min-width: 1674px) {
  div.m-site-footer {
  padding-bottom: 240px;
}
}

/* Make sure banner does not cover any popups - camps.bbk.ac.uk specific */ 
div.m-testimony, div.m-document {
  padding-bottom: 400px;
}

@media screen and (min-width: 796px) {
  div.m-testimony, div.m-document {
    padding-bottom: 250px;
  }
}
