/*! HTML5 Boilerplate v5.1.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #585857;
  font-size: 16px;
  line-height: 1;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #007ebd;
  color: #aee2fa;
  text-shadow: none;
}

::selection {
  background: #007ebd;
  color: #aee2fa;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

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

/*
 * Remove default fieldset styles.
 */

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

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   The Sinclair Partnership
   ========================================================================== */

*, *:before, *:after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

html {
  color: #003b49;
  scroll-behavior: smooth;
  height: -webkit-fill-available;
}

html.with-fancybox {
  scroll-behavior: auto;
}

a {
  text-decoration: none;
  color: #003b49;
}

img {
  display: block;
  max-width: 100%;
}

ul {
  list-style: none;
}

* {
  font-variant-ligatures: none;
  margin: 0;
}

body, input, textarea {
  
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

strong {
  font-weight: 400;
}



ul {
  list-style: none;
}

.template-home header {
  height: 100vh;
}

.share {
  border-top: 1px solid rgba(0,59,73,.5);
  margin-top: 40px;
  padding-top: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.share h3 {
  font-size: 1.5rem;
  margin-right: 28px;
}

.share__options {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.share__options a {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-right: 24px;
}

.share__options a:last-of-type {
  margin-right: 0;
}

.share__options a img {
  margin-right: 16px;
}

.share__options a span {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.0125em;
}

.template-vacancy .text__main {
  max-width: 660px;
}

.gallery {
  padding: 80px 0;
}

.gallery__heading {
  margin-bottom: 64px;
}

.gallery__heading h3 {
  font-size: 1.75rem;
  text-align: center;
}

.gallery__images {
  margin-bottom: 48px;
}

.gallery__link {
  display: flex;
  justify-content: center;
  align-items: center;
}

.gallery__link img {
  margin-right: 16px;
}

.gallery__link span {
  display: block;
  font-size: 1.125rem;
}

.vacancies {
  padding: 100px 0;
  background-color: #e6e3e1;
}

.vacancies__heading {
  margin-bottom: 64px;
}

.vacancies__heading h2 {
  font-size: 2.625rem;
  text-align: center;
}

.vacancies__positions__position {
  padding: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(0,59,73,.5);
}

.vacancies__positions__position:last-of-type {
  border-bottom: 1px solid rgba(0,59,73,.5);
}

.vacancies__positions__position h3 {
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1.35;
}

.vacancies__positions__position > a {
  color: #c99600;
  font-size: 1rem;
  font-family: 'Roxborough CF', serif;
  font-weight: 300;
}

.interested {
  padding: 80px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.interested h3 {
  font-size: 2.25rem;
  font-weight: 300;
  margin-bottom: 24px;
}

.interested p {
  font-size: 1.125rem;
  line-height: 1.75;
  margin-bottom: 28px;
}

.interested > a {
  display: block;
  padding: 16px 24px;
  border: 1px solid rgba(0,59,73,.5);
  text-transform: uppercase;
  font-family: 'Roxborough CF', serif;
  font-weight: 500;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
}

footer {
  background-color: #003b49;
  background-position: center bottom;
  background-repeat: repeat-x;
  background-image: url(/uploads/tartan.png);
  background-size: auto 100px;
  padding: 100px 0 200px;
}

.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
}

.footer__brand {
  margin-bottom: 48px;
}

.footer__brand img {
  width: 160px;
  height: auto;
}

.footer p {
  margin-bottom: 40px;
  line-height: 2;
  font-size: 1rem;
  font-weight: 200;
  color: #fff;
}

.footer p:last-of-type {
  margin-bottom: 0;
}

.footer p span {
  padding: 0 4px;
  color: #c99600;
}

.footer p strong {
  font-weight: 200;
  color: #c99600;
}

.footer p a {
  color: #fff;
}

.footer .social {
  margin-bottom: 36px;
}

.footer p small {
  font-size: 0.75rem;
  color: rgba(255,255,255,.5);
}

.footer p small span {
  color: rgba(255,255,255,.5);
}

.menus {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  grid-gap: 20px;
}

.menus a {
  display: block;
  background-color: #003b49;
  color: #fff;
  font-weight: 400;
  padding: 12px 24px 16px;
  border-radius: 4px;
  line-height: 1.375;
}

.menus a:last-of-type {
  margin-right: 0;
}
