body {
  font: 16px Roboto;
  line-height: 1.5em;
  font-weight: 300;
}

.header {
  margin-top: 20px;
}

.header .logo {
  padding-left: 0;
  white-space: nowrap;
  flex: 0 0 240px;
  max-width: 240px;
}

.header .col-9 {
  max-width: 100%;
  flex: 1 0 75%;
}

.ebm-logo {
  width: 110px;
  height: 110px;
  background: #0e2050;
  padding: 0;
  float: left;
  margin-right: 10px;
  text-align: right;
}

.ebm-logo img {
  margin-bottom: 5px;
}

.ebm-logo h1 {
  color: #fff !important;
  text-transform: none;
  letter-spacing: 0;
  font: 19px Roboto;
  line-height: 20px;
  width: 100%;
  display: block;
  margin: 13px 0 0;
  text-align: left;
  font-weight: 400;
}

.footer {
  background: #0e2050;
  margin-top: 100px;
  padding-top: 40px;
  padding-bottom: 1px;
  min-height: 350px;
  color: #fff;
}

.footer .row {
  margin-bottom: 30px;
}

.footer h2 {
  color: #fff;
  font-size: 16px;
  margin: 0 0 20px;
}

.footer a {
  color: #6fc8ff;
}

.footer p,
.footer li {
  font: 15px Roboto;
  line-height: 20px;
}

.footer p.copyright {
  color: #a0a0a0;
  font-size: 12px;
}

.footer .logos img {
  margin: 0 20px 20px 0;
}

h1 {
  font-family: "Lato";
  font-size: 1.7em;
  color: #0e6fab;
  letter-spacing: 0.01em;
  font-weight: bold;
  width: 100%;
  margin-bottom: 10px;
}

h2 {
  font-family: "Lato";
  font-size: 1.4em;
  color: #0e2050;
  letter-spacing: 0.05em;
  font-weight: 700;
  margin-top: 35px;
  margin-bottom: 8px;
}

h3 {
  text-transform: uppercase;
  font-family: "Lato";
  font-size: 1.35em;
  margin: 0 0 25px;
}

h4 {
  font: 1.3em "Lato";
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

a {
  color: #0e6fab;
}

p {
  margin: 0 0 25px;
}

p + h3,
blockquote + h3 {
  margin-top: 40px;
}

p + h4 {
  margin-top: 15px;
}

ul.menu {
  display: flex;
}

ul.menu li {
  flex: 0 1 auto;
  padding-right: 40px;
  position: relative;
  padding-bottom: 12px;
}

ul.menu li a {
  color: #0e2050;
  font: 16px Lato;
}

ul.menu li > span {
  font-size: 13px;
  padding-left: 0;
}

ul.menu li ul {
  display: none;
  position: absolute;
  margin-left: -20px;
  min-width: 200px;
  z-index: 10;
  margin-top: 6px;
  background: #eee;
  padding: 10px 0 20px;
}

ul.menu li ul li {
  padding: 8px 20px;
  white-space: nowrap;
}

ul.menu li:hover ul {
  display: block;
}

ul.menu li.home svg {
  width: 18px;
  vertical-align: baseline;
}

ul.menu li.home .icon {
  fill: #0e2050;
  width: 18px;
}

ul.top-menu {
  margin: 50px 0 0;
}

ul.secondary-menu li {
  padding-right: 30px;
}

ul.secondary-menu li a {
  color: #0e6fab;
  padding: 3px 0;
}

.hero {
  width: 100%;
  height: 300px;
  padding: 20px;
  display: flex;
  align-items: flex-end;
  margin-bottom: 30px;
  background-position: center;
  background-size: cover;
}

.hero h2 {
  margin: 0;
  background: #0e2050;
  color: #fff;
  padding: 10px 20px;
  display: inline-block;
}

.page-header {
  margin-bottom: 30px;
  float: left;
  width: calc(100% - 25px);
  overflow: hidden;
  border-left: 5px solid #0e6fab;
  padding: 20px 20px 20px 30px;
  background-color: #fafafa;
  padding-right: 0;
  border-top: solid 1px #eee;
}

.page-header ul.breadcrumbs {
  margin: 0;
  padding: 0 0 20px;
}

.page-header ul.breadcrumbs li {
  list-style-type: none;
  display: inline-block;
  margin-left: 0;
  margin-right: 0;
}

.page-header h4 {
  text-transform: none;
  letter-spacing: 0;
}

.page-header h1 + h4 {
  margin-top: -30px;
  margin-bottom: 5px;
}

.page-header .page-header-inner-left {
  width: calc(100% - 60px);
  float: left;
}

.page-header .page-header-inner-right {
  float: left;
  height: auto;
  width: 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.page-header .page-header-inner-right ul.social-links {
  display: flex;
  height: 70px;
}

.page-header .page-header-inner-right ul.social-links li {
  margin-left: 4px;
}

.page-header .page-header-inner-right ul.social-links li svg {
  width: 30px;
  height: 30px;
}

.page-header .page-header-inner-right ul.social-links .icon {
  fill: #0e6fab !important;
  -webkit-transition: fill 0.5s ease;
}

.page-header .page-header-inner-right ul.social-links a:hover .icon {
  fill: #0e2050 !important;
}

.page-header .page-header-inner-right .email {
  font-weight: 400;
  text-align: right;
}

.info-left {
  background-color: #fafafa;
  padding: 30px 15px 30px 30px;
  border-left: 5px solid #0e6fab;
  align-self: flex-start;
}

.info-left b {
  font-weight: 600;
}

.info-left .icon {
  fill: #0e6fab !important;
}

.info-left ul li svg {
  width: 40px;
  height: 40px;
  float: left;
}

.info-left ul li > span {
  margin-left: 15px;
  min-height: 40px;
  padding-top: 10px;
  padding-bottom: 10px;
  display: inline-block;
  word-wrap: break-word;
  width: calc(100% - 70px);
}

.view-external-resource {
  background: #0e6fab;
  padding: 15px 25px;
  margin-bottom: 30px;
  font-size: 1.5em;
  font-weight: 600;
  flex: 1 0 100%;
}

.view-external-resource a {
  color: #fff;
}

.project-intro {
  background: #eee;
  padding: 30px 20px;
  margin-bottom: 30px;
}

.project-intro .image {
  height: 250px;
  background-size: cover;
  position: relative;
}

.project-intro .image:before {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.1);
}

.project-intro .image .caption {
  position: absolute;
  background: #fff;
  z-index: 2;
  bottom: 10px;
  right: 10px;
  padding: 10px;
  max-width: calc(100% - 20px);
  font-size: 20px;
  font-weight: 400;
}

.project-intro .text {
  padding: 20px 40px 0;
  margin: 0;
}

.project-intro .text p {
  font-size: 17px;
  font-weight: 400;
}

.card.related-thing {
  border: 0;
}

.card.related-thing .card-img-top {
  border-radius: 0;
}

.card.related-thing a {
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

.card.related-thing h5.card-title {
  font-size: 18px;
  line-height: 25px;
  font-weight: 400;
}

.card.related-thing .card-body {
  background: #eee;
  color: #282828;
  border-bottom: 5px solid #0e6fab;
  flex: 1 0 auto;
}

.card.related-thing a:nth-child(2n) {
  flex: 1 0 auto;
}

.team-member {
  border-left: #0e6fab 5px solid;
  margin-bottom: 50px;
}

.team-member .name {
  font: 21px "Lato";
  font-weight: 500;
  color: #0e6fab;
  margin: 0 0 20px;
}

.team-member .position {
  font-weight: 600;
  margin: 0 0 20px;
  color: #282828;
}

.attachments {
  margin-top: 50px;
}

.attachment {
  margin-bottom: 20px;
}

.attachment .icon a {
  border: 5px solid #eee;
}

.attachment .icon img {
  width: 100%;
  box-shadow: -3px 3px 5px rgba(0, 0, 0, 0.1);
}

.attachment a {
  display: block;
  font: 1.6em Lato;
  text-decoration: underline;
  margin-bottom: 10px;
}

.attachment p {
  font-size: 14px;
}

.blog-preview {
  margin-bottom: 30px;
}

.blog-preview h2 {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  margin: 0 0 20px;
}

.blog-preview p.author {
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: #666;
  font: 15px Lato;
}

.blog-preview p img {
  width: 100%;
}

.blog-preview:after {
  content: "";
  display: block;
  border-bottom: 1px solid #ccc;
  width: calc(100% - 30px);
  margin-left: 15px;
  padding-top: 20px;
}

ul.links li {
  margin-bottom: 15px;
}

ul.links svg {
  width: 40px;
  margin-right: 10px;
}

ul.links .icon {
  fill: #0e6fab;
}

.person-info-left {
  margin-bottom: 15px;
}

.person-info-left .person-image {
  margin: 0 0 30px 50px;
  display: block;
}

.series-bar {
  background: #0e6fab;
  color: #fff;
  margin: -10px 0 20px;
  padding: 20px;
  font-size: 20px;
}

.text {
  margin-bottom: 30px;
}

.text p {
  color: #282828;
  font-size: 1em;
  font-weight: 300;
  line-height: 1.5em;
}

.text .image {
  flex: 1 0 100%;
  margin-bottom: 30px;
}

.text .image img {
  width: 100%;
}

.spotlight {
  padding: 5px 5px 1px;
  display: flex;
  margin-bottom: 30px;
}

.spotlight div {
  display: flex;
  flex-direction: column;
  flex: 1 0 auto;
}

.spotlight h2 {
  margin-top: 20px;
  margin-bottom: 25px;
}

.spotlight .card {
  border: 0;
  margin-bottom: 25px;
}

.spotlight.caption-overlays div {
  display: block;
}

.spotlight.caption-overlays .card.related-thing a:nth-child(2n) {
  position: absolute;
  bottom: 10px;
  left: 10px;
  max-width: calc(100% - 20px);
}

.spotlight.caption-overlays .card-img-top {
  height: 250px;
}

.spotlight.caption-overlays .card-body {
  padding: 10px 10px;
}

.spotlight.caption-overlays .card-title {
  margin: 0;
}

.spotlight.caption-overlays .publication-date {
  display: none;
}

.spotlight.light {
  background: #eee;
}

.spotlight.light .card-body {
  background: #fff;
}

.spotlight.dark {
  background: #333;
}

.spotlight.dark h2 {
  color: #fff;
}

body.theme-green .page-header,
body.theme-green .info-left {
  border-left-color: #2b9439;
}

body.theme-green h1 {
  color: #2b9439;
}

body.theme-green .page-header a,
body.theme-green .main-content a,
body.theme-green .project-intro a,
body.theme-green .text a,
body.theme-green .info-left a {
  color: #2b9439;
}

body.theme-green .info-left .icon,
body.theme-green .page-header .page-header-inner-right ul.social-links .icon {
  fill: #2b9439 !important;
}

body.theme-green .card.related-thing .card-body {
  border-color: #2b9439;
}

.card.related-thing.theme-green .card-body {
  border-color: #2b9439;
}

ul.menu li.colour-green a {
  color: #2b9439;
}

ul.menu li.colour-green > ul {
  border-left: 5px solid #2b9439;
}

body.theme-orange .page-header,
body.theme-orange .info-left {
  border-left-color: #c3710a;
}

body.theme-orange h1 {
  color: #c3710a;
}

body.theme-orange .page-header a,
body.theme-orange .main-content a,
body.theme-orange .project-intro a,
body.theme-orange .text a,
body.theme-orange .info-left a {
  color: #c3710a;
}

body.theme-orange .info-left .icon,
body.theme-orange .page-header .page-header-inner-right ul.social-links .icon {
  fill: #c3710a !important;
}

body.theme-orange .card.related-thing .card-body {
  border-color: #c3710a;
}

.card.related-thing.theme-orange .card-body {
  border-color: #c3710a;
}

ul.menu li.colour-orange a {
  color: #c3710a;
}

ul.menu li.colour-orange > ul {
  border-left: 5px solid #c3710a;
}

body.theme-blue .page-header,
body.theme-blue .info-left {
  border-left-color: #0e6fab;
}

body.theme-blue h1 {
  color: #0e6fab;
}

body.theme-blue .page-header a,
body.theme-blue .main-content a,
body.theme-blue .project-intro a,
body.theme-blue .text a,
body.theme-blue .info-left a {
  color: #0e6fab;
}

body.theme-blue .info-left .icon,
body.theme-blue .page-header .page-header-inner-right ul.social-links .icon {
  fill: #0e6fab !important;
}

body.theme-blue .card.related-thing .card-body {
  border-color: #0e6fab;
}

.card.related-thing.theme-blue .card-body {
  border-color: #0e6fab;
}

ul.menu li.colour-blue a {
  color: #0e6fab;
}

ul.menu li.colour-blue > ul {
  border-left: 5px solid #0e6fab;
}

body.theme-red .page-header,
body.theme-red .info-left {
  border-left-color: #ce1d1d;
}

body.theme-red h1 {
  color: #ce1d1d;
}

body.theme-red .page-header a,
body.theme-red .main-content a,
body.theme-red .project-intro a,
body.theme-red .text a,
body.theme-red .info-left a {
  color: #ce1d1d;
}

body.theme-red .info-left .icon,
body.theme-red .page-header .page-header-inner-right ul.social-links .icon {
  fill: #ce1d1d !important;
}

body.theme-red .card.related-thing .card-body {
  border-color: #ce1d1d;
}

.card.related-thing.theme-red .card-body {
  border-color: #ce1d1d;
}

ul.menu li.colour-red a {
  color: #ce1d1d;
}

ul.menu li.colour-red > ul {
  border-left: 5px solid #ce1d1d;
}

.thing-carousel {
  margin-left: -8px;
  margin-right: -8px;
  position: relative;
}

.thing-carousel .slick-slide {
  height: auto;
}

.thing-carousel .slick-track {
  display: flex;
  align-items: stretch;
  margin-left: 0;
}

.thing-carousel .slick-arrow {
  background: #0e2050;
  border: 10px solid #fff;
  border-radius: 30px;
  width: 60px;
  height: 60px;
  overflow: hidden;
  position: absolute;
  z-index: 10;
  left: -20px;
  top: 120px;
  outline: 0;
  padding: 0 15px 0 10px;
}

.thing-carousel .slick-next {
  left: auto;
  right: -25px;
  padding: 0 10px 0 15px;
}

.thing-carousel .slick-prev img {
  width: 100%;
}

.thing-carousel .card {
  margin-left: 8px;
  margin-right: 8px;
  display: flex;
}

section.related .view-all {
  text-align: right;
  padding: 20px 0;
  font-size: 18px;
}

.menu-line {
  height: 3px;
  background-color: #fff;
  width: 25px;
  margin-right: 10px;
  margin-left: 0;
  position: absolute;
  transition: opacity 0.3s ease-in-out;
  -moz-transition: opacity 0.3s ease-in-out;
  -webkit-transition: opacity 0.3s ease-in-out;
}

#menu-button {
  z-index: 1;
  height: 30px;
  width: 30px;
  position: relative;
  float: left;
  cursor: pointer;
  margin: 12px 15px;
}

#menu-line-1 {
  top: 5px;
}

#menu-line-2a,
#menu-line-2b {
  top: 12px;
  -webkit-transition: -webkit-transform 0.3s ease-in-out;
  -ms-transition: -ms-transform 0.3s ease-in-out;
  transition: transform 0.3s ease-in-out;
}

#menu-line-3 {
  top: 19px;
}

.disappear {
  opacity: 0;
}

.rotate45 {
  transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}

.rotateminus45 {
  transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
}

@media screen and (min-width: 720px) {
  .mobile-menu {
    display: none;
  }
}

@media screen and (max-width: 719px) {
  .header {
    margin-top: 0;
    max-height: 50px;
    overflow: hidden;
  }

  body.menu-open .header {
    max-height: none;
  }

  .header > .row {
    position: static;
    flex-direction: column;
  }

  .header > .row > .logo {
    padding: 20px 20px 20px;
    border-top: 50px solid #0e2050;
  }

  ul.top-menu li.home .icon {
    display: none;
  }

  ul.top-menu li.home a:before {
    content: "Home";
    display: inline;
  }

  .header > .row > .col-3,
  .header > .row > .col-9 {
    background: #fff;
    max-width: 100%;
  }

  .mobile-menu {
    position: absolute;
    width: 50px;
    height: 50px;
  }

  ul.top-menu {
    margin: 0;
    left: 0;
    top: 0;
    padding: 20px 20px 50px;
    width: 100%;
    background: #0e2050;
    flex-direction: column;
    z-index: 10;
  }

  ul.top-menu li a {
    color: #fff;
  }

  ul.top-menu li span {
    display: none;
  }

  ul.top-menu > li.has-children {
    background: url("/static/images/arrow-down.svg?538f4fb5dc9a") 100% 6px
      no-repeat;
  }

  ul.top-menu li ul {
    position: static;
    background: #0e2050;
    margin-left: 0;
    padding-left: 0;
  }

  .page-header,
  .info-left {
    margin: 10px;
  }
}

@media screen and (min-width: 1200px) {
  /* xl */
  img.logo {
    height: 75px;
  }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
  /* lg */
  img.logo {
    height: 65px;
  }
}

@media screen and (min-width: 880px) and (max-width: 991px) {
  /* midway between md and lg (upper half) */
  img.logo {
    height: 60px;
  }
}

@media screen and (min-width: 768px) and (max-width: 879px) {
  /* midway between md and lg (lower half) */
  img.logo {
    height: 50px;
  }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
  /* md */
}

@media screen and (min-width: 576px) and (max-width: 767px) {
  /* sm */
  img.logo {
    display: none;
  }
}

@media screen and (max-width: 575px) {
  /* xs */
}
