/*
 * =============================================================================
 * [ BASE STYLES ]
 * =============================================================================
 */

@font-face {
  font-family: 'source_sans_proregular';
  src: url('@{FONTS-DIR}/sourcesanspro-regular-webfont.woff2') format('woff2'),
  url('@{FONTS-DIR}/sourcesanspro-regular-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'source_sans_pro_lightregular';
  src: url('@{FONTS-DIR}/sourcesanspro-light-webfont.woff2') format('woff2'),
  url('@{FONTS-DIR}/sourcesanspro-light-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'source_sans_probold';
  src: url('@{FONTS-DIR}/sourcesanspro-bold-webfont.woff2') format('woff2'),
  url('@{FONTS-DIR}/sourcesanspro-bold-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

::-moz-selection {
  background: @text-selection-bg;
  color: @text-selection-c;
  text-shadow: none;
}

::selection {
  background: @text-selection-bg;
  color: @text-selection-c;
  text-shadow: none;
}

*,
*:before,
*:after {
  .box-sizing(border-box);
}

html {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
  background: @body-bg;
  color: @body-c;
  font-family: @body-ff;
  font-size: @body-fz;
  line-height: @body-lh;

  &.is-locked {
    overflow: hidden;
  }
}

strong {
  font-weight: normal;
  font-family: @bold-ff;
}

h1, h2, h3, h4, h5, h6 {
  line-height: @headings-lh;
  margin: floor((@body-fz * @body-lh)) 0;
  font-weight: normal;
  font-family: @bold-ff;
}

h1 {
  font-size: @h1-fz;
}

h2 {
  font-size: @h2-fz;
}

h3 {
  font-size: @h3-fz;
}

h4 {
  font-size: @h4-fz;
}

h5 {
  font-size: @h5-fz;
}

h6 {
  font-size: @h6-fz;
}

p {
  margin: floor((@body-fz * @body-lh)) 0;
}

a {
  color: @link-c;
  text-decoration: underline;

  &:hover {
    text-decoration: none;
  }
}

small {
  font-size: @small-fz;
}

audio, canvas, img, video {
  vertical-align: middle;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

textarea {
  resize: vertical;
}

/* debug class */
/*section:not(.debug) {
  display: none;
}*/

.hidden {
  display: none;
  visibility: hidden;
}

.visually-hidden {
  position: absolute;
  clip: rect(0 0 0 0);
  width: 1px;
  height: 1px;
  margin: -1px;
}

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

.l-container {
  max-width: 1170px;
  margin: 0 auto;
}

.wrapper {
  padding-left: 15px;
  padding-right: 15px;
}

/* responsive video container */
.video-container {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 30px;
  height: 0;
  overflow: hidden;
}

.video-container iframe, .video-container object, .video-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.button {
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: @roof-terracotta;
  border: 1px solid #fff;
  border-radius: 3px;
  box-shadow: 0 0 7px rgba(181, 31, 36, 0.3);
  font-family: @regular-ff;
  padding: 13px 11px;
  font-size: 24px;
  line-height: 26px;

  span {
    display: block;
    margin: 6px 15px 0 0;
    color: #fff;
  }

  img {
    margin: 0;
  }
}

.banner {
  margin-bottom: 30px;
}

@media screen {
  @media @mxw-400 {
    .button {
      min-width: auto;
    }
  }
}