/*
 * Fonts
 */
@font-face {
  font-family: "berthold_akzidenz_grotesk_bMd";
  src: url("fonts/berthold_akzidenz_grotesk_be_medium-webfont.eot");
  src: url("fonts/berthold_akzidenz_grotesk_be_medium-webfont.eot?#iefix")
      format("embedded-opentype"),
    url("fonts/berthold_akzidenz_grotesk_be_medium-webfont.woff") format("woff"),
    url("fonts/berthold_akzidenz_grotesk_be_medium-webfont.ttf")
      format("truetype"),
    url("fonts/berthold_akzidenz_grotesk_be_medium-webfont.svg#berthold_akzidenz_grotesk_bMd")
      format("svg");
  font-weight: normal;
  font-style: normal;
}

/*
 * General CSS
 */
body {
  background-image: url("../img/brand/background.svg");
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "berthold_akzidenz_grotesk_bMd", "Helvetica Neue", Helvetica,
    Arial, sans-serif;
  color: #262621;
}

p {
  font-size: 11pt;
}

h1 {
  font-size: 22pt;
}

h2 {
  font-size: 14pt;
}

h3 {
  font-weight: bold;
  font-size: 12pt;
}

h5 {
  font-size: 13pt;
}

@media (min-width: 769px) {
  p {
    font-size: 12pt;
  }

  h2 {
    font-size: 16pt;
  }

  h5 {
    font-size: 14pt;
  }
}

quote {
  font-style: italic;
  font-weight: bold;
}

quote:before,
quote:after {
  content: '"';
}

a {
  color: #c6271d;
}

a:hover {
  color: #c6271d;
}

.pt-6 {
  padding-top: 70px;
}

.link-plain {
  text-decoration: none !important;
}

.link-plain:hover {
  text-decoration: none !important;
}

/*
 * Common UI elements
 */

.bg-grey {
  background-color: #f2f2f2;
}

.bg-yellow {
  background-color: #e5bf00;
}

.bg-black {
  background-color: #262621;
}

.bg-white {
  background-color: #ffffff;
}

.text-white {
  color: #ffffff;
}

.text-black {
  color: #262621;
}

.horizontal-border {
  height: 6px;
}

.vertical-border {
  width: 6px;
}

.cover-picture {
  max-width: 100%;
  max-height: 100%;
}

.stretch-picture {
  width: 100%;
  height: 100%;
}

.block-title {
  font-weight: bolder;
  font-size: 24pt;
  margin-top: 0;
  letter-spacing: 3px;
  text-transform: uppercase;
}

@media (min-width: 769px) {
  .block-title {
    font-size: 28pt;
  }
}

.divider {
  width: 100%;
  height: 2px;
  background-color: #595954;
}

.divider-yellow {
  height: 3px;
  background-color: #e5bf00;
}

.card-shadow {
  box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.2);
}

.quote-author {
  margin-bottom: 0;
  opacity: 0.6;
}

.case-banner-title {
  font-size: 24px;
}

.case-banner {
  position: absolute;
  top: 20px;
  margin-left: -15px;
}

.case-cover-full {
  margin-left: -15px;
  margin-right: -15px;
}

.pin-top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}

.absolute-vertical {
  position: absolute;
  top: 0;
  bottom: 0;
}

/* 
* Header stuff, mostly nav
*/
.navbar-wrapper {
  box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.2);
}

nav ul {
  width: 100%;
  list-style: none;
  margin: 0 2px;
  padding: 0;
  display: flex;
  justify-content: space-between;
}

.nav-link {
  font-weight: bold;
  color: #262621 !important;
  -webkit-transition: color 0.2s ease-out;
  -moz-transition: color 0.2s ease-out;
  -o-transition: color 0.2s ease-out;
  transition: color 0.2s ease-out;
}

@media (max-width: 768px) {
  .navbar .navbar-nav {
    display: inline-block;
    float: none;
    vertical-align: top;
  }

  .navbar .navbar-collapse {
    text-align: center;
  }
}

.nav-link:hover {
  font-weight: bold;
  color: #e5bf00 !important;
}

.icon-bar {
  width: 22px;
  height: 2px;
  background-color: #262621;
  display: block;
  transition: all 0.2s;
  margin-top: 4px;
}

.navbar-toggler {
  border: none;
  background: transparent !important;
}

.navbar-toggler .top-bar {
  transform: rotate(45deg);
  transform-origin: 10% 10%;
}

.navbar-toggler .middle-bar {
  opacity: 0;
}

.navbar-toggler .bottom-bar {
  transform: rotate(-45deg);
  transform-origin: 10% 90%;
}

.navbar-toggler.collapsed .top-bar {
  transform: rotate(0);
}

.navbar-toggler.collapsed .middle-bar {
  opacity: 1;
}

.navbar-toggler.collapsed .bottom-bar {
  transform: rotate(0);
}

/*
 * Logos css
 */
#logos .logo {
  display: inline-block;
  max-height: 60px;
  max-width: 130px;
  margin-top: 2em;
  margin-right: 2em;
}

@media (max-width: 767px) {
  #logos .logo {
    margin-right: 1em;
  }
}



/*
 * Careers css
 */
.apply-button-wrapper {
  color: #262621 !important;
  text-decoration: none !important;
}

.apply-button {
  background-color: #e5bf00;
  font-size: 16px;
  font-weight: bold;
  padding: 10px;
  cursor: pointer;
  -webkit-transition: background-color 0.5s ease-out;
  -moz-transition: background-color 0.5s ease-out;
  -o-transition: background-color 0.5s ease-out;
  transition: background-color 0.5s ease-out;
}

.apply-button:hover {
  background-color: #f6cd00;
}

.apply-button > p {
  letter-spacing: 2px;
  text-align: center;
  margin-bottom: 0;
  text-transform: uppercase;
}

/*
 * Contact css
 */
#contact .map img {
  border: 1px solid silver;
}

/*
 * Footer
 */
#footer {
  color: white;
  height: 200px;
  padding-top: 1em;
}
