body {
  font-family: 'Montserrat', sans-serif;
}

a, a:hover, a:active, a:focus {
  color: #F0EFF2;
}

.acceptcookies {
  background-color: #F0EFF2!important;
}

.m-60 {
    min-width: 60%;
}

h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
}
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}

.navbar-dark {
  background-color: #3A3D54!important;
}

.acceptcookies, .acceptcookies:active, .acceptcookies:focus, .acceptcookies:hover {
  color: #000!important;
  border-color: #000!important;
  box-shadow: none!important;
}

#logo-word {
  width:100%;
  max-width: 280px;
}

#logo {
  width: 100%;
  max-width: 35px;
}

.privacy a, .privacy a:hover, .privacy a:focus, .privacy a:active {
  color: #343a40 !important;
  text-decoration: underline!important;
}

header.masthead {
  position: relative;
  background-color: #343a40;
  background: url("../img/hero.jpg") no-repeat center center;
  background-size: cover;
  padding-top: 8rem;
  padding-bottom: 8rem;
}

header.masthead .overlay {
  position: absolute;
  background-color: #212529;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  opacity: 0.3;
}

header.masthead h1 {
  font-size: 2rem;
}

section {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.red-grid {
  background-color: #E63312;
  color: #ffffff;
}

.red-grid h2 {
  font-weight: normal;
  font-size: 26px;
  line-height: 32px;
}

.info-grid {
  background-color: #3A3D54;
  color: #ffffff;
}

@media (min-width: 768px) {
  header.masthead {
    max-height: 60vh;
    padding-top: 10rem;
    padding-bottom: 10rem;
  }
  header.masthead h1 {
    font-size: 2.5rem;
  }
}

.red {
  color: #E63312;
}

.specialisms {
  background-color: #ffffff;
}

.specialisms h3 {
  display: inline-block;
  width: auto;
  text-align: center;
  margin: auto;
  position: relative;
  padding-bottom: 1rem;
}
.specialisms h3:before {
  content: "";
  position: absolute;
  left: 20%;
  bottom: 0;
  height: 1px;
  width: 60%;
  border-bottom: 3px solid #E63312;
}

.specialisms .specialism-item {
  max-width: 18rem;
}

.specialisms .specialism-item img {
  max-width: 10rem;
  box-shadow: 0px 5px 5px 0px #adb5bd;
}

.testimonials h3 {
    display: inline-block;
    width: auto;
    text-align: center;
    margin: auto;
    position: relative;
    padding-bottom: 1rem;
}

.testimonials h3:before {
    content: "";
    position: absolute;
    left: 20%;
    bottom: 0;
    height: 1px;
    width: 60%;
    border-bottom: 3px solid #E63312;
}

.testimonials-container {
    background-color: #3A3D54;
}

.blockquote-footer {
    color: #fff;
}
.connect {
  background-color: #F0EFF2;
}

.connect .connect-item {
  max-width: 18rem;
}

.connect .connect-item img {
  max-width: 12rem;
  box-shadow: 0px 5px 5px 0px #adb5bd;
}

.connect .btn-primary,
.connect .btn-primary:hover,
.connect .btn-primary:active,
.connect .btn-primary:focus {
  background-color: #E63312 !important;
  border-color: #E63312 !important;
  box-shadow: none !important;
}

footer {
  border-top: 5px solid #E63312;
  background-color: #3A3D54!important;
  color: #ffffff;
}

footer.footer {
  padding-top: 3rem;
  padding-bottom: 4rem;
}

#footer-logo {
  max-width: 40px;
  margin-bottom: 2rem;
}
@media (max-width: 576px) {
  #logo {
    width: 100%;
    max-width: 25px;
  }
  #logo-word {
    width: 100%;
    max-width: 220px;
  }
}