  @import url(https://fonts.googleapis.com/css?family=Playfair+Display&display=swap);
.word-wrap, td,
th,
tr, table {
  overflow-wrap: break-word;
  word-wrap: break-word;
  -ms-word-break: break-all;
  word-break: break-word;
  hyphens: auto;
}

/*! sanitize.css v5.0.0 | CC0 License | github.com/jonathantneal/sanitize.css */
/* Document (https://html.spec.whatwg.org/multipage/semantics.html#semantics)
   ========================================================================== */
/**
 * 1. Remove repeating backgrounds in all browsers (opinionated).
 * 2. Add box sizing inheritence in all browsers (opinionated).
 */
*,
::before,
::after {
  background-repeat: no-repeat; /* 1 */
  box-sizing: inherit; /* 2 */
}

/**
 * 1. Add text decoration inheritance in all browsers (opinionated).
 * 2. Add vertical alignment inheritence in all browsers (opinionated).
 */
::before,
::after {
  text-decoration: inherit; /* 1 */
  vertical-align: inherit; /* 2 */
}

/**
 * 1. Add border box sizing in all browsers (opinionated).
 * 2. Add the default cursor in all browsers (opinionated).
 * 3. Prevent font size adjustments after orientation changes in IE and iOS.
 */
html {
  box-sizing: border-box; /* 1 */
  cursor: default; /* 2 */
  -ms-text-size-adjust: 100%; /* 3 */
  -webkit-text-size-adjust: 100%; /* 3 */
}

/* Sections (https://html.spec.whatwg.org/multipage/semantics.html#sections)
   ========================================================================== */
/**
 * Add the correct display in IE 9-.
 */
article,
aside,
footer,
header,
nav,
section {
  display: block;
}

/**
 * Remove the margin in all browsers (opinionated).
 */
body {
  margin: 0;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/**
 * Reset margins and paddings
 */
h1, h2, h3, h4, h5, h6,
p, blockquote, pre,
dl, dd, ol, ul,
form, fieldset, legend,
table, th, td, caption,
hr {
  margin: 0;
  padding: 0;
}

/* Grouping content (https://html.spec.whatwg.org/multipage/semantics.html#grouping-content)
   ========================================================================== */
/**
 * Add the correct display in IE 9-.
 * 1. Add the correct display in IE.
 */
figcaption,
figure,
main { /* 1 */
  display: block;
}

/**
 * Add the correct margin in IE 8.
 */
figure {
  margin: 1em 40px;
}

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * Remove the list style on navigation lists in all browsers (opinionated).
 */
nav ol,
nav ul {
  list-style: none;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics (https://html.spec.whatwg.org/multipage/semantics.html#text-level-semantics)
   ========================================================================== */
/**
 * 1. Remove the gray background on active links in IE 10.
 * 2. Remove gaps in links underline in iOS 8+ and Safari 8+.
 */
a {
  background-color: transparent; /* 1 */
  -webkit-text-decoration-skip: objects; /* 2 */
  word-break: break-word;
}

/**
 * 1. Remove the bottom border in Firefox 39-.
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted; /* 2 */
}

/**
 * Prevent the duplicate application of `bolder` by the next rule in Safari 6.
 */
b,
strong {
  font-weight: inherit;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font style in Android 4.3-.
 */
dfn {
  font-style: italic;
}

/**
 * Add the correct background and color in IE 9-.
 */
mark {
  background-color: #ffff00;
  color: #000000;
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
 * Remove the text shadow on text selections (opinionated).
 * 1. Restore the coloring undone by defining the text shadow (opinionated).
 */
::-moz-selection {
  background-color: #b3d4fc; /* 1 */
  color: #000000; /* 1 */
  text-shadow: none;
}

::selection {
  background-color: #b3d4fc; /* 1 */
  color: #000000; /* 1 */
  text-shadow: none;
}

/* Embedded content (https://html.spec.whatwg.org/multipage/embedded-content.html#embedded-content)
   ========================================================================== */
/*
 * Change the alignment on media elements in all browers (opinionated).
 */
audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/**
 * Add the correct display in IE 9-.
 */
audio,
video {
  display: inline-block;
}

/**
 * Add the correct display in iOS 4-7.
 */
audio:not([controls]) {
  display: none;
  height: 0;
}

/**
 * Remove the border on images inside links in IE 10-.
 */
img {
  border-style: none;
}

/**
 * Change the fill color to match the text color in all browsers (opinionated).
 */
/**
 * Hide the overflow in IE.
 */
svg:not(:root) {
  overflow: hidden;
}

/* Tabular data (https://html.spec.whatwg.org/multipage/tables.html#tables)
   ========================================================================== */
/**
 * Collapse border spacing
 */
table {
  border-collapse: collapse;
}

/* Forms (https://html.spec.whatwg.org/multipage/forms.html#forms)
   ========================================================================== */
/**
 * Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  margin: 0;
}

/**
 * Inherit styling in all browsers (opinionated).
 */
button,
input,
select,
textarea {
  background-color: transparent;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select { /* 1 */
  text-transform: none;
}

/**
 * 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
 *    controls in Android 4.
 * 2. Correct the inability to style clickable types in iOS and Safari.
 */
button,
html [type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button; /* 2 */
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * 1. Add the correct display in IE 9-.
 * 2. Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  display: inline-block; /* 1 */
  vertical-align: baseline; /* 2 */
}

/**
 * 1. Remove the default vertical scrollbar in IE.
 * 2. Change the resize direction on textareas in all browsers (opinionated).
 */
textarea {
  overflow: auto; /* 1 */
  resize: vertical; /* 2 */
}

/**
 * 1. Add the correct box sizing in IE 10-.
 * 2. Remove the padding in IE 10-.
 */
[type=checkbox],
[type=radio] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type=search] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding and cancel buttons in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-cancel-button,
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive elements (https://html.spec.whatwg.org/multipage/forms.html#interactive-elements)
   ========================================================================== */
/*
 * Add the correct display in IE 9-.
 * 1. Add the correct display in Edge, IE, and Firefox.
 */
details,
menu {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Scripting (https://html.spec.whatwg.org/multipage/scripting.html#scripting-3)
   ========================================================================== */
/**
 * Add the correct display in IE 9-.
 */
canvas {
  display: inline-block;
}

/**
 * Add the correct display in IE.
 */
template {
  display: none;
}

/* User interaction (https://html.spec.whatwg.org/multipage/interaction.html#editing)
   ========================================================================== */
/*
 * Remove the tapping delay on clickable elements (opinionated).
 * 1. Remove the tapping delay in IE 10.
 */
a,
area,
button,
input,
label,
select,
summary,
textarea,
[tabindex] { /* 1 */
  touch-action: manipulation;
}

/**
 * Add the correct display in IE 10-.
 */
[hidden] {
  display: none;
}

/* ARIA (https://w3c.github.io/html-aria/)
   ========================================================================== */
/**
 * Change the cursor on busy elements (opinionated).
 */
[aria-busy=true] {
  cursor: progress;
}

/*
 * Change the cursor on control elements (opinionated).
 */
[aria-controls] {
  cursor: pointer;
}

/*
 * Change the display on visually hidden accessible elements (opinionated).
 */
[aria-hidden=false][hidden]:not(:focus) {
  clip: rect(0, 0, 0, 0);
  display: inherit;
  position: absolute;
}

/*
 * Change the cursor on disabled, not-editable, or otherwise
 * inoperable elements (opinionated).
 */
[aria-disabled] {
  cursor: default;
}

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

html {
  font-size: 16px;
  line-height: 1.618;
  overflow-y: scroll;
  min-height: 100%;
}

body {
  font-family: "sofia-pro", sans-serif;
  text-rendering: optimizeLegibility;
  background-color: #F1F2F6;
  color: #4b4b4b;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

b, strong {
  font-weight: bold;
}

u {
  text-decoration: underline;
}

.colours .colour {
  display: inline-block;
  width: 100px;
  height: 100px;
}
.colours .colour:nth-of-type(1) {
  background-color: #03296A;
}
.colours .colour:nth-of-type(2) {
  background-color: #AE9A64;
}
.colours .colour:nth-of-type(3) {
  background-color: #111E4A;
}
.colours .colour:nth-of-type(4) {
  background-color: #F1F2F6;
}
.colours .colour:nth-of-type(5) {
  background-color: #FAF9F6;
}
.colours .colour:nth-of-type(6) {
  background-color: #F8F8F8;
}
.colours .colour:nth-of-type(7) {
  background-color: #FFFFFF;
}
.colours .colour:nth-of-type(8) {
  background-color: #212121;
}

.standard-link {
  display: inline-block;
  font-weight: 500;
  font-size: 1.125rem;
  position: relative;
  text-decoration: none;
  color: #03296A !important;
  padding: 0;
  padding-right: 3.236rem;
  border: 0;
}
.standard-link .svg {
  transition: 0.25s linear right;
}
.standard-link:after {
  content: "";
  display: inline-block;
  height: 2px;
  background: #03296A;
  position: absolute;
  width: calc(100% - 52px);
  left: 0;
  bottom: -0.809rem;
  opacity: 0;
  transition: 0.25s linear all;
}
.standard-link:hover {
  color: #03296A !important;
}
.standard-link:hover .svg {
  right: 0.5393333333rem;
  transition: 0.25s linear right;
}
.standard-link:hover:after {
  opacity: 1;
  bottom: 0;
  transition: 0.25s linear all;
}

.galleries-view-all-button {
  margin-top: 1.618rem;
}

.addthis_inline_share_toolbox {
  height: 47px;
}

h1, h2, h3, h4, h5, h6, hgroup,
ul, ol, dl,
blockquote, p, address,
table,
fieldset, figure,
pre {
  margin-bottom: 1.618rem;
}

hr {
  margin-bottom: 1.618rem;
}

ul, ol, dd {
  margin-left: 1.618rem;
}

@font-face {
  font-family: "Sofia Pro";
  src: url("/wp-content/themes/yarmschool/dist/fonts/SofiaPro-Light.eot");
  src: url("/wp-content/themes/yarmschool/dist/fonts/SofiaPro-Light.eot") format("embedded-opentype"), url("/wp-content/themes/yarmschool/dist/fonts/SofiaPro-Light.woff2") format("woff2"), url("/wp-content/themes/yarmschool/dist/fonts/SofiaPro-Light.woff") format("woff"), url("/wp-content/themes/yarmschool/dist/fonts/SofiaPro-Light.svg") format("svg");
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: "Sofia Pro";
  src: url("/wp-content/themes/yarmschool/dist/fonts/SofiaProRegular.eot");
  src: url("/wp-content/themes/yarmschool/dist/fonts/SofiaProRegular.eot") format("embedded-opentype"), url("/wp-content/themes/yarmschool/dist/fonts/SofiaProRegular.woff2") format("woff2"), url("/wp-content/themes/yarmschool/dist/fonts/SofiaProRegular.woff") format("woff"), url("/wp-content/themes/yarmschool/dist/fonts/SofiaProRegular.svg") format("svg");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "Sofia Pro";
  src: url("/wp-content/themes/yarmschool/dist/fonts/SofiaPro-Medium.eot");
  src: url("/wp-content/themes/yarmschool/dist/fonts/SofiaPro-Medium.eot") format("embedded-opentype"), url("/wp-content/themes/yarmschool/dist/fonts/SofiaPro-Medium.woff2") format("woff2"), url("/wp-content/themes/yarmschool/dist/fonts/SofiaPro-Medium.woff") format("woff"), url("/wp-content/themes/yarmschool/dist/fonts/SofiaPro-Medium.svg") format("svg");
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: "Sofia Pro";
  src: url("/wp-content/themes/yarmschool/dist/fonts/SofiaPro-SemiBold.eot");
  src: url("/wp-content/themes/yarmschool/dist/fonts/SofiaPro-SemiBold.eot") format("embedded-opentype"), url("/wp-content/themes/yarmschool/dist/fonts/SofiaPro-SemiBold.woff2") format("woff2"), url("/wp-content/themes/yarmschool/dist/fonts/SofiaPro-SemiBold.woff") format("woff"), url("/wp-content/themes/yarmschool/dist/fonts/SofiaPro-SemiBold.svg") format("svg");
  font-weight: 600;
  font-style: normal;
}
h6, h5, h4, h3, h2, h1 {
  line-height: 1.3715;
  font-family: "Playfair Display", serif;
  font-weight: normal;
}

h1,
.h1 {
  font-size: 36.4911575317px;
  font-size: 2.2806973457rem;
}
@media (min-width: 569.536px) {
  h1,
  .h1 {
    font-size: 38.7718548775px;
    font-size: calc(0.4636770025vw + 33.8503500788px);
  }
}
@media (min-width: 1553.28px) {
  h1,
  .h1 {
    font-size: 41.0525522232px;
    font-size: 2.565784514rem;
  }
}

h2,
.h2 {
  font-size: 32.4365844727px;
  font-size: 2.0272865295rem;
}
@media (min-width: 569.536px) {
  h2,
  .h2 {
    font-size: 34.4638710022px;
    font-size: calc(0.4121573356vw + 30.08920007px);
  }
}
@media (min-width: 1553.28px) {
  h2,
  .h2 {
    font-size: 36.4911575317px;
    font-size: 2.2806973457rem;
  }
}

h3,
.h3 {
  font-size: 28.8325195313px;
  font-size: 1.8020324707rem;
}
@media (min-width: 569.536px) {
  h3,
  .h3 {
    font-size: 30.634552002px;
    font-size: calc(0.366362076vw + 26.7459556178px);
  }
}
@media (min-width: 1553.28px) {
  h3,
  .h3 {
    font-size: 32.4365844727px;
    font-size: 2.0272865295rem;
  }
}

h4,
.h4 {
  font-size: 25.62890625px;
  font-size: 1.6018066406rem;
}
@media (min-width: 569.536px) {
  h4,
  .h4 {
    font-size: 27.2307128906px;
    font-size: calc(0.3256551787vw + 23.7741827714px);
  }
}
@media (min-width: 1553.28px) {
  h4,
  .h4 {
    font-size: 28.8325195313px;
    font-size: 1.8020324707rem;
  }
}

h5,
.h5 {
  font-size: 22.78125px;
  font-size: 1.423828125rem;
}
@media (min-width: 569.536px) {
  h5,
  .h5 {
    font-size: 24.205078125px;
    font-size: calc(0.28947127vw + 21.1326069079px);
  }
}
@media (min-width: 1553.28px) {
  h5,
  .h5 {
    font-size: 25.62890625px;
    font-size: 1.6018066406rem;
  }
}

h6,
.h6 {
  font-size: 20.25px;
  font-size: 1.265625rem;
}
@media (min-width: 569.536px) {
  h6,
  .h6 {
    font-size: 21.515625px;
    font-size: calc(0.2573077955vw + 18.7845394737px);
  }
}
@media (min-width: 1553.28px) {
  h6,
  .h6 {
    font-size: 22.78125px;
    font-size: 1.423828125rem;
  }
}

textarea,
select,
input {
  width: 100%;
  border: 1px solid #cccccc;
  padding: 0.809rem;
  background-color: white;
}

input[type=checkbox],
input[type=radio] {
  width: auto;
  margin-right: 0.4045rem;
}

textarea {
  max-width: 100%;
  resize: vertical;
}

label {
  display: inline-block;
}

input:focus,
textarea:focus,
select:focus {
  border: 0;
  border-bottom: 1px solid white;
  outline: none;
}

select option:disabled {
  color: #9E9E9E !important;
}

fieldset {
  padding: 1.618rem;
}

legend {
  padding: 0 0.809rem;
}

img {
  max-width: 100%;
  height: auto;
}

img[width],
img[height] {
  max-width: none;
}

figure > img {
  display: block;
}

table {
  table-layout: fixed;
  width: 100%;
  border: 1px solid #e8e8e5;
}

td,
th,
tr {
  border: 1px solid #e8e8e5;
}

td,
th {
  padding: 0.809rem;
}

th {
  background-color: white;
  text-align: left;
}

dl {
  margin: 3.236rem 0 0 1.618rem;
}

dt {
  font-size: 1.25rem;
  color: #03296A;
  margin-bottom: 0.4045rem;
}

dd {
  margin: 0 0 3.236rem;
}
dd:after {
  content: "";
  display: block;
  clear: left;
}

blockquote {
  background: white;
  border-left: 0.809rem solid #AE9A64;
  margin: 1.618rem 0;
  padding: 1.618rem;
}
blockquote p {
  display: inline;
}

hr {
  border-top: 0 none;
  border-right: 0 none;
  border-bottom: 1px solid #e8e8e5;
  border-left: 0 none;
}

.bordered {
  border: 1px solid #e8e8e5;
}

.content-container {
  max-width: 751.5331134256px;
  margin-left: auto;
  margin-right: auto;
}

.content-container--small {
  max-width: 464.4827647871px;
  margin-left: auto;
  margin-right: auto;
}

.content-container--smallest {
  max-width: 287.0721661231px;
  margin-left: auto;
  margin-right: auto;
}

.content-container--large {
  max-width: 1215.9805775226px;
  margin-left: auto;
  margin-right: auto;
}

.content-container--largest {
  max-width: 97.08rem;
  margin-left: auto;
  margin-right: auto;
}

.breakpoint-identifier {
  display: none;
}

.text--16 {
  font-size: 1rem;
}
.text--20 {
  font-size: 1.25rem;
}

.table th {
  background-color: #03296A;
  color: white;
}

.hr {
  text-align: left;
}
.hr--alpha {
  border-bottom-color: #03296A;
}
.hr--40 {
  max-width: 40%;
}
.hr--80 {
  max-width: 80%;
}
.hr--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.button, .mgbutton {
  font-size: 14px;
  font-size: 0.875rem;
}
@media (min-width: 200px) {
  .button, .mgbutton {
    font-size: 16px;
    font-size: calc(0.4vw + 13.2px);
  }
}
@media (min-width: 1200px) {
  .button, .mgbutton {
    font-size: 18px;
    font-size: 1.125rem;
  }
}
.button, .mgbutton {
  display: inline-block;
  padding: 1.01125rem 1.41575rem;
  background: #AA1237;
  text-decoration: none;
  color: white !important;
  transition: 0.25s linear background;
  clip-path: polygon(0 40%, 0 100%, 90% 100%, 100% 62%, 100% 0, 10% 0);
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: 1px;
}
.button:hover, .mgbutton:hover {
  transition: 0.25s linear background;
  background: rgb(216.1170212766, 22.8829787234, 69.920212766);
  cursor: pointer;
}

.svg {
  width: 100%;
  height: auto;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.svg--twitter {
  fill: #1da1f2;
  max-width: 24px;
  max-height: 24px;
}
.svg--facebook {
  fill: #3b5998;
  max-width: 23px;
  max-height: 26px;
}
.svg--googleplus {
  fill: #dd4b39;
}
.svg--instagram {
  fill: #c13584;
  max-width: 24px;
  max-height: 24px;
}
.svg--linkedin {
  fill: #0077b5;
}
.svg--pinterest {
  fill: #bd081c;
}
.svg--vimeo {
  fill: #1ab7ea;
}
.svg--soundcloud {
  fill: #ff8800;
}
.svg--rss {
  fill: #f26522;
}
.svg--header-logo {
  max-width: 150px;
  max-height: 80px;
}
@media screen and (min-width: 24.27rem) {
  .svg--header-logo {
    max-width: 188px;
    max-height: 100px;
  }
}
.svg--header-eagle {
  max-width: 47px;
  max-height: 33px;
}
.svg--vimeo {
  max-width: 24px;
  max-height: 24px;
}
.svg--footer-social {
  fill: #03296A;
  transition: 0.25s linear fill;
}
.svg--paa {
  fill: #03296A;
  max-width: 226px;
  max-height: 83px;
}
.svg--header-search {
  max-width: 16px;
  max-height: 16px;
}
.svg--graduation-cap {
  max-width: 132px;
  max-height: 76px;
}
.svg--camera {
  max-width: 25px;
  max-height: 21px;
  margin-right: 0.809rem;
  fill: white;
}
.svg--download-arrow {
  max-width: 11px;
  max-height: 12px;
}
.svg--download-arrow-links {
  max-width: 30px;
  max-height: 30px;
  fill: #03296A;
}
.svg--link-icon {
  max-width: 16px;
  max-height: 16px;
}
.svg--link-icon-link {
  max-width: 26px;
  max-height: 26px;
  fill: #03296A;
}
.svg--page-eagle {
  max-width: 616px;
  max-height: 349px;
  position: absolute;
  bottom: 50px;
  left: -160px;
  display: none;
}
.svg--alert-close {
  max-width: 11px;
  max-height: 11px;
}
.svg--people {
  max-width: 130px;
  max-height: 63px;
}
.svg--yarm-building {
  max-width: 130px;
  max-height: 90px;
}
.svg--key-link-arrow {
  max-width: 7px;
  max-height: 11px;
  position: absolute;
  right: 1.2135rem;
  top: 50%;
  transform: translateY(-50%);
}
.svg--standard-link-arrow {
  max-width: 19px;
  max-height: 11px;
  position: absolute;
  right: 0.809rem;
  top: 50%;
  transform: translateY(-50%);
  fill: #AE9A64;
}
.svg--quote-left {
  fill: white;
  max-width: 40px;
  max-height: 35px;
  margin-bottom: 1.618rem;
}
.svg--icon-activity {
  max-width: 45px;
  max-height: 77px;
}
.svg--icon-charity {
  max-width: 70px;
  max-height: 72px;
}
.svg--icon-community {
  max-width: 83px;
  max-height: 57px;
}
.svg--icon-drama {
  max-width: 77px;
  max-height: 66px;
}
.svg--icon-music {
  max-width: 84px;
  max-height: 79px;
}
.svg--icon-outdoor {
  max-width: 73px;
  max-height: 73px;
}
.svg--icon-results {
  max-width: 79px;
  max-height: 60px;
}
.svg--icon-school {
  max-width: 85px;
  max-height: 58px;
}
.svg--icon-sports {
  max-width: 85px;
  max-height: 73px;
}
.svg--icon-tie {
  max-width: 26px;
  max-height: 76px;
}
.svg--gold-card-icon {
  stroke: white;
}

.map-container {
  position: relative;
  padding-bottom: 35%;
  height: 0;
  overflow: hidden;
  margin-bottom: 1.618rem;
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 35px;
  height: 0;
  overflow: hidden;
  margin-bottom: 1.618rem;
}
.video-container p {
  margin: 0;
  opacity: 0;
  height: 0;
  width: 0;
}
.video-container span {
  width: 100% !important;
  height: auto !important;
}
.video-container .fb-video {
  width: 100%;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100%;
}

.flex-vertical {
  display: flex;
  flex-direction: column;
  height: 100%;
}
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  .flex-vertical {
    display: block;
  }
}
.flex-vertical__content {
  flex: 1 0 auto;
}
.flex-vertical__footer {
  margin-top: auto;
  flex: 0 0 auto;
}

@keyframes animation-background-gradient {
  0% {
    background-position: 0% 7%;
  }
  50% {
    background-position: 100% 94%;
  }
  100% {
    background-position: 0% 7%;
  }
}
.carousel__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: white;
  background-color: white;
  border-radius: 50%;
  border: 0 none;
  padding: 0;
  cursor: pointer;
}
.carousel__nav--next {
  right: 0.809rem;
}
.carousel__nav--next svg {
  transform: rotate(180deg);
}
.carousel__nav--prev {
  left: 0.809rem;
}
.carousel__nav--prev.disabled svg {
  fill: #03296A;
}
.carousel__nav:hover svg {
  background: rgb(209.9565217391, 213.1739130435, 226.0434782609);
}
.carousel__nav.disabled {
  display: none;
}
.carousel__nav.disabled svg {
  fill: rgba(3, 41, 106, 0.3);
}
.carousel__nav svg {
  background: #f1f2f6;
  max-width: 2.0225rem;
  max-height: 2.0225rem;
  border: 1px solid #aaa;
}
@media screen and (min-width: 600px) {
  .carousel__nav svg {
    max-width: 3.236rem;
    max-height: 3.236rem;
  }
}
@media screen and (min-width: 1690px) {
  .carousel__nav svg {
    border: 0;
  }
}
.carousel__nav svg {
  fill: #03296A;
  border-radius: 50%;
}

@media screen and (min-width: 56.63rem) {
  .no-hero-image .page-container, .single-post--no-hero .page-container {
    padding-top: 5.663rem;
  }
}

.page-container {
  padding-top: 2.427rem;
  padding-bottom: 6.472rem;
}
@media screen and (min-width: 56.63rem) {
  .page-container {
    padding-left: 1.618rem;
    padding-right: 1.618rem;
  }
}
.page-container {
  position: relative;
  background-color: white;
  background-image: url("/wp-content/themes/yarmschool/dist/images/page-eagle.svg");
  background-size: 700px;
  background-position: -80px 103%;
}
.page-container--contact {
  background-image: none;
  padding-bottom: 4.045rem;
}
.page-container--no-eagle {
  background-image: none;
}
.page-container--padding-sides {
  padding-left: 1.618rem;
  padding-right: 1.618rem;
}

.page-header__title {
  font-size: 24px;
  font-size: 1.5rem;
}
@media (min-width: 200px) {
  .page-header__title {
    font-size: 41px;
    font-size: calc(3.4vw + 17.2px);
  }
}
@media (min-width: 1200px) {
  .page-header__title {
    font-size: 58px;
    font-size: 3.625rem;
  }
}
.page-header__title {
  color: #03296A;
  position: relative;
  top: -10px;
}
.page-header__title--team-member {
  margin-bottom: 0;
}
@media screen and (min-width: 43.686rem) {
  .page-header__title--news {
    margin-bottom: 0;
  }
}
.page-header__breadcrumbs {
  margin-bottom: 1.618rem;
  font-size: 14px;
}
.page-header__breadcrumbs a {
  color: #4b4b4b;
  text-decoration: none;
}
.page-header__breadcrumbs .breadcrumb_last {
  font-weight: 600;
}
.page-header--news {
  margin-bottom: 3.236rem;
}
@media screen and (min-width: 43.686rem) {
  .page-header--news {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
  }
}
@media screen and (min-width: 43.686rem) {
  .page-header__buttons {
    display: flex;
    align-items: center;
    position: relative;
  }
}
.page-header__buttons > div:first-of-type {
  margin-bottom: 1.618rem;
}
@media screen and (min-width: 43.686rem) {
  .page-header__buttons > div:first-of-type {
    margin-bottom: 0;
  }
}
.page-header__buttons-label {
  font-size: 1.25rem;
  line-height: 1.0517;
  margin-bottom: 0;
  margin-right: 1.618rem;
}
.page-header__buttons-container {
  margin-bottom: 1.618rem;
}
@media screen and (min-width: 43.686rem) {
  .page-header__buttons-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
}
.page-header__buttons-section {
  margin-right: 3.236rem;
}
@media screen and (min-width: 43.686rem) {
  .page-header__buttons-section {
    display: flex;
    align-items: center;
  }
}
.page-header__buttons-section:last-of-type {
  margin-right: 0;
}
@media screen and (min-width: 56.63rem) {
  .page-header__buttons-section--active {
    padding-right: 3.236rem;
  }
}
.page-header__buttons-section--active {
  position: relative;
}
.page-header__buttons-section--active .svg {
  display: inline-block !important;
}
.page-header__buttons-section--team {
  margin-bottom: 3.236rem;
}
.page-header__buttons .button, .page-header__buttons .mgbutton {
  font-size: 14px;
  margin-right: 0.809rem;
}
.page-header__buttons .button:last-of-type, .page-header__buttons .mgbutton:last-of-type {
  margin-right: 0;
}
.page-header__buttons--close {
  position: absolute;
  right: 6px;
}
.page-header__buttons--close .svg {
  max-width: 20px;
  max-height: 20px;
  stroke: #000;
  display: none;
}
.page-header__button--active {
  background: rgb(233.9361702128, 56.0638297872, 99.3617021277);
}

.page-layout__left-container .page-header__breadcrumbs {
  display: none;
}
@media screen and (min-width: 56.63rem) {
  .page-layout__left-container .page-header__breadcrumbs {
    display: inline-block;
  }
}
.page-layout__main-container .page-header__breadcrumbs {
  display: inline-block;
}
@media screen and (min-width: 56.63rem) {
  .page-layout__main-container .page-header__breadcrumbs {
    display: none;
  }
}
.page-layout__left-item {
  margin-bottom: 2.427rem;
}
.page-layout__left-title {
  font-size: 18px;
  font-size: 1.125rem;
}
@media (min-width: 200px) {
  .page-layout__left-title {
    font-size: 21px;
    font-size: calc(0.6vw + 16.8px);
  }
}
@media (min-width: 1200px) {
  .page-layout__left-title {
    font-size: 24px;
    font-size: 1.5rem;
  }
}
.page-layout__left-title {
  margin-bottom: 1.618rem;
}
.page-layout__right-title {
  font-size: 18px;
  font-size: 1.125rem;
}
@media (min-width: 200px) {
  .page-layout__right-title {
    font-size: 21px;
    font-size: calc(0.6vw + 16.8px);
  }
}
@media (min-width: 1200px) {
  .page-layout__right-title {
    font-size: 24px;
    font-size: 1.5rem;
  }
}
.page-layout__right-title {
  margin-bottom: 1.618rem;
}
.page-layout__right-item {
  margin-bottom: 3.236rem;
}
.page-layout__right-item--event {
  margin-bottom: 0;
}
.page-layout__content {
  font-weight: 300;
}
.page-layout__content > p:first-of-type {
  font-size: 18px;
  font-size: 1.125rem;
}
@media (min-width: 200px) {
  .page-layout__content > p:first-of-type {
    font-size: 21px;
    font-size: calc(0.6vw + 16.8px);
  }
}
@media (min-width: 1200px) {
  .page-layout__content > p:first-of-type {
    font-size: 24px;
    font-size: 1.5rem;
  }
}
.page-layout__content > p:first-of-type {
  line-height: 1.25;
  font-weight: 300;
}
.page-layout__content a {
  color: #03296A;
  text-decoration: none;
  font-weight: 500;
  position: relative;
}
.page-layout__content a:after {
  content: "";
  display: inline-block;
  height: 2px;
  background: #03296A;
  position: absolute;
  width: 100%;
  left: 0;
  bottom: -1.2135rem;
  opacity: 0;
  transition: 0.25s linear all;
}
.page-layout__content a:hover:after {
  opacity: 1;
  bottom: -0.4045rem;
  transition: 0.25s linear all;
}
.page-layout__right-container img {
  width: 100%;
}
@supports (display: grid) {
  .page-layout__ctas {
    display: flex;
    flex-wrap: wrap;
  }
}

.grid, .page-layout {
  font-size: 0;
  display: inline-block;
  width: 100%;
  margin-left: -0.809rem;
  margin-right: -0.809rem;
}
.grid--full {
  margin-left: 0;
  margin-right: 0;
}
@supports (display: flex) {
  .grid, .page-layout {
    display: flex;
    flex-wrap: wrap;
  }
}
@supports (display: grid) {
  .grid, .page-layout {
    display: grid;
    grid-gap: 1.618rem;
    margin-left: 0;
    margin-right: 0;
  }
  .grid.grid--full, .grid--full.page-layout {
    grid-gap: 0;
  }
  .grid.grid--ends, .grid--ends.page-layout {
    grid-gap: 1.618rem 0;
  }
  .grid.grid--sides, .grid--sides.page-layout {
    grid-gap: 0 1.618rem;
  }
  @media screen and (min-width: 56.63rem) {
    .grid.grid--halves, .grid--halves.page-layout {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  @media screen and (min-width: 32.36rem) {
    .grid.grid--thirds, .grid--thirds.page-layout {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  @media screen and (min-width: 56.63rem) {
    .grid.grid--thirds, .grid--thirds.page-layout {
      grid-template-columns: repeat(3, 1fr);
    }
  }
  @media screen and (min-width: 32.36rem) {
    .grid.grid--quarters, .grid--quarters.page-layout {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  @media screen and (min-width: 56.63rem) {
    .grid.grid--quarters, .grid--quarters.page-layout {
      grid-template-columns: repeat(4, 1fr);
    }
  }
  @media screen and (min-width: 22.652rem) {
    .grid.grid--people, .grid--people.page-layout {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  @media screen and (min-width: 56.63rem) {
    .grid.grid--people, .grid--people.page-layout {
      grid-template-columns: repeat(4, 1fr);
    }
  }
  @media screen and (min-width: 32.36rem) {
    .grid.grid--sixty-forty, .grid--sixty-forty.page-layout {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  @media screen and (min-width: 56.63rem) {
    .grid.grid--sixty-forty, .grid--sixty-forty.page-layout {
      grid-template-columns: repeat(10, 1fr);
    }
  }
  @media screen and (min-width: 56.63rem) {
    .grid.grid--sixty-forty > .grid__item, .grid--sixty-forty.page-layout > .grid__item {
      grid-column-end: span 4;
    }
  }
  @media screen and (min-width: 56.63rem) {
    .grid.grid--sixty-forty > .grid__item:first-of-type, .grid--sixty-forty.page-layout > .grid__item:first-of-type {
      grid-column-end: span 6;
    }
  }
  @media screen and (min-width: 56.63rem) {
    .grid.grid--one-third, .grid--one-third.page-layout {
      grid-template-columns: repeat(3, 1fr);
    }
  }
  @media screen and (min-width: 56.63rem) {
    .grid.grid--one-third > .grid__item, .grid--one-third.page-layout > .grid__item {
      grid-column-end: span 2;
    }
  }
  @media screen and (min-width: 56.63rem) {
    .grid.grid--one-third > .grid__item:first-of-type, .grid--one-third.page-layout > .grid__item:first-of-type {
      grid-column-end: span 1;
    }
  }
  .grid.grid--results, .grid--results.page-layout {
    grid-gap: 2.427rem;
  }
  @media screen and (min-width: 56.63rem) {
    .grid.grid--results, .grid--results.page-layout {
      grid-template-columns: repeat(3, 1fr);
    }
  }
  .grid.grid--gallery, .grid--gallery.page-layout {
    margin-bottom: 3.236rem;
  }
  .grid.grid--gallery-single, .grid--gallery-single.page-layout {
    margin-bottom: 3.236rem;
  }
  @media screen and (min-width: 22.652rem) {
    .grid.grid--gallery-single, .grid--gallery-single.page-layout {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  @media screen and (min-width: 32.36rem) {
    .grid.grid--gallery-single, .grid--gallery-single.page-layout {
      grid-template-columns: repeat(3, 1fr);
    }
  }
  @media screen and (min-width: 56.63rem) {
    .grid.grid--gallery-single, .grid--gallery-single.page-layout {
      grid-template-columns: repeat(6, 1fr);
      grid-gap: 1.618rem;
    }
  }
  .grid.grid--gallery-single a img, .grid--gallery-single.page-layout a img {
    width: 100%;
  }
  @media screen and (min-width: 72.81rem) {
    .grid.grid--contact-details, .grid--contact-details.page-layout {
      padding-left: 3.236rem;
      justify-items: center;
    }
  }
  @media screen and (min-width: 56.63rem) {
    .grid.grid--page-layout, .page-layout {
      grid-template-columns: repeat(4, 1fr);
    }
  }
  .grid.grid--page-layout > div, .page-layout > div {
    font-size: 1.125rem;
    line-height: 1.45;
  }
  @media screen and (min-width: 56.63rem) {
    .grid.grid--page-layout > div, .page-layout > div {
      grid-column-end: span 1;
      padding-left: 1.618rem;
      padding-right: 1.618rem;
    }
  }
  @media screen and (min-width: 56.63rem) {
    .grid.grid--page-layout > div:nth-of-type(1), .page-layout > div:nth-of-type(1) {
      padding-left: 0;
    }
  }
  @media screen and (min-width: 56.63rem) {
    .grid.grid--page-layout > div:nth-of-type(2), .page-layout > div:nth-of-type(2) {
      grid-column-end: span 2;
      padding-right: 3.236rem;
    }
  }
  @media screen and (min-width: 56.63rem) {
    .grid.grid--page-layout > div:nth-of-type(3), .page-layout > div:nth-of-type(3) {
      padding-right: 0;
      padding-top: 0.4045rem;
    }
  }
}
.grid__item {
  font-size: 1rem;
  display: inline-block;
  padding-left: 0.809rem;
  padding-right: 0.809rem;
  margin-bottom: 1.618rem;
}
.grid--sides .grid__item {
  margin-bottom: 0;
}
.grid--full .grid__item {
  padding-left: 0;
  padding-right: 0;
}
.grid__item {
  display: inline-block;
  width: 100%;
  vertical-align: top;
}
@supports (display: grid) {
  .grid__item {
    flex: 0 0 100%;
    width: auto;
  }
}
@supports (display: grid) {
  .grid__item {
    padding-left: 0;
    padding-right: 0;
    margin-bottom: 0 !important;
    flex: none !important;
  }
}
@media screen and (min-width: 56.63rem) {
  .grid--halves .grid__item {
    display: inline-block;
    width: 50%;
    vertical-align: top;
  }
  @supports (display: grid) {
    .grid--halves .grid__item {
      flex: 0 0 50%;
      width: auto;
    }
  }
}
@media screen and (min-width: 32.36rem) {
  .grid--thirds .grid__item {
    display: inline-block;
    width: 50%;
    vertical-align: top;
  }
  @supports (display: grid) {
    .grid--thirds .grid__item {
      flex: 0 0 50%;
      width: auto;
    }
  }
}
@media screen and (min-width: 56.63rem) {
  .grid--thirds .grid__item {
    display: inline-block;
    width: 33.333%;
    vertical-align: top;
  }
  @supports (display: grid) {
    .grid--thirds .grid__item {
      flex: 0 0 33.333%;
      width: auto;
    }
  }
}
.grid--instagram > .grid__item {
  display: inline-block;
  width: 50%;
  vertical-align: top;
}
@supports (display: grid) {
  .grid--instagram > .grid__item {
    flex: 0 0 50%;
    width: auto;
  }
}
@media screen and (min-width: 56.63rem) {
  .grid--instagram > .grid__item {
    display: inline-block;
    width: 33.333%;
    vertical-align: top;
  }
  @supports (display: grid) {
    .grid--instagram > .grid__item {
      flex: 0 0 33.333%;
      width: auto;
    }
  }
}
@media screen and (min-width: 56.63rem) {
  .grid--results > .grid__item {
    display: inline-block;
    width: 33.333%;
    vertical-align: top;
  }
  @supports (display: grid) {
    .grid--results > .grid__item {
      flex: 0 0 33.333%;
      width: auto;
    }
  }
}
@media screen and (min-width: 32.36rem) {
  .grid--quarters .grid__item {
    display: inline-block;
    width: 50%;
    vertical-align: top;
  }
  @supports (display: grid) {
    .grid--quarters .grid__item {
      flex: 0 0 50%;
      width: auto;
    }
  }
}
@media screen and (min-width: 56.63rem) {
  .grid--quarters .grid__item {
    display: inline-block;
    width: 25%;
    vertical-align: top;
  }
  @supports (display: grid) {
    .grid--quarters .grid__item {
      flex: 0 0 25%;
      width: auto;
    }
  }
}
.grid--people > .grid__item {
  display: inline-block;
  width: 50%;
  vertical-align: top;
}
@supports (display: grid) {
  .grid--people > .grid__item {
    flex: 0 0 50%;
    width: auto;
  }
}
@media screen and (min-width: 56.63rem) {
  .grid--people > .grid__item {
    display: inline-block;
    width: 25%;
    vertical-align: top;
  }
  @supports (display: grid) {
    .grid--people > .grid__item {
      flex: 0 0 25%;
      width: auto;
    }
  }
}
@media screen and (min-width: 32.36rem) {
  .grid--sixty-forty > .grid__item {
    display: inline-block;
    width: 50%;
    vertical-align: top;
  }
  @supports (display: grid) {
    .grid--sixty-forty > .grid__item {
      flex: 0 0 50%;
      width: auto;
    }
  }
}
@media screen and (min-width: 56.63rem) {
  .grid--sixty-forty > .grid__item {
    display: inline-block;
    width: 40%;
    vertical-align: top;
  }
  @supports (display: grid) {
    .grid--sixty-forty > .grid__item {
      flex: 0 0 40%;
      width: auto;
    }
  }
}
@media screen and (min-width: 56.63rem) {
  .grid--sixty-forty > .grid__item:first-of-type {
    display: inline-block;
    width: 60%;
    vertical-align: top;
  }
  @supports (display: grid) {
    .grid--sixty-forty > .grid__item:first-of-type {
      flex: 0 0 60%;
      width: auto;
    }
  }
}

.grid--page-layout, .page-layout {
  display: flex !important;
}
.grid--page-layout .page-layout__left-container, .page-layout .page-layout__left-container {
  order: 1 !important;
}
.grid--page-layout .page-layout__right-container, .page-layout .page-layout__right-container {
  order: 2 !important;
}
@media screen and (min-width: 56.63rem) {
  @supports (display: grid) {
    .grid--page-layout, .page-layout {
      display: grid !important;
    }
  }
  .grid--page-layout .page-layout__left-container, .page-layout .page-layout__left-container {
    order: 0 !important;
  }
  .grid--page-layout .page-layout__main-container, .page-layout .page-layout__main-container {
    order: 1 !important;
  }
  .grid--page-layout .page-layout__right-container, .page-layout .page-layout__right-container {
    order: 2 !important;
  }
}

.grid--page-layout > div, .page-layout > div {
  font-size: 1.125rem;
  line-height: 1.45;
  padding-left: 1.618rem;
  padding-right: 1.618rem;
  width: 100%;
}
@media screen and (min-width: 56.63rem) {
  .grid--page-layout > div, .page-layout > div {
    display: inline-block;
    width: 25%;
    vertical-align: top;
  }
  @supports (display: grid) {
    .grid--page-layout > div, .page-layout > div {
      flex: 0 0 25%;
      width: auto;
    }
  }
}
@media screen and (min-width: 56.63rem) {
  .grid--page-layout > div:nth-of-type(2), .page-layout > div:nth-of-type(2) {
    display: inline-block;
    width: 50%;
    vertical-align: top;
  }
  @supports (display: grid) {
    .grid--page-layout > div:nth-of-type(2), .page-layout > div:nth-of-type(2) {
      flex: 0 0 50%;
      width: auto;
    }
  }
  .grid--page-layout > div:nth-of-type(2), .page-layout > div:nth-of-type(2) {
    padding-right: 1.618rem;
  }
}

.hero {
  position: relative;
  color: white;
}
.hero__content {
  color: #FFF;
  z-index: 998;
  position: relative;
  position: absolute;
  padding: 1.618rem;
  top: 50%;
  transform: translateY(-50%);
}
@media screen and (min-width: 600px) {
  .hero__content {
    transform: translateY(-50%);
  }
}
.hero__content {
  opacity: 0;
  transition: 1.5s linear opacity;
  pointer-events: none;
}
.hero__content.active {
  opacity: 1;
  transition: 1.5s linear opacity;
  pointer-events: all;
}
.hero--home {
  min-height: 75vh;
}
@media screen and (min-width: 600px) {
  .hero--home {
    min-height: 100vh;
  }
}
.hero__dots {
  position: absolute;
  right: 4.854rem;
  bottom: 1.618rem;
}
.hero__dots--hidden {
  display: none !important;
}
@media screen and (min-width: 80.9rem) {
  .hero__dots {
    display: flex;
  }
}
.hero__dots-dot {
  display: inline-block;
  background: white;
  width: 15px;
  height: 15px;
  position: relative;
  margin-right: 0.4045rem;
  border-radius: 50%;
}
.hero__dots-dot:hover {
  cursor: pointer;
}
.hero__dots-dot.active {
  background: #03296A;
}
.hero__overlay {
  background: rgba(3, 41, 106, 0.5);
  position: absolute;
  width: 100%;
  height: 100%;
}
@media screen and (min-width: 600px) {
  .hero__overlay {
    background: rgba(3, 41, 106, 0.3);
  }
}
.hero__overlay {
  left: 0;
  top: 0;
}
.hero__title {
  display: inline-block;
  font-size: 24px;
  font-size: 1.5rem;
}
@media (min-width: 200px) {
  .hero__title {
    font-size: 41px;
    font-size: calc(3.4vw + 17.2px);
  }
}
@media (min-width: 1200px) {
  .hero__title {
    font-size: 58px;
    font-size: 3.625rem;
  }
}
.hero__title {
  margin-bottom: 1.618rem;
}
@media screen and (min-width: 56.63rem) {
  .hero__title {
    margin-bottom: 3.236rem;
    max-width: 50%;
  }
}
.hero__text {
  font-size: 1.125rem;
  line-height: 1.45;
  margin-bottom: 1.618rem;
}
@media screen and (min-width: 56.63rem) {
  .hero__text {
    max-width: 35%;
    margin-bottom: 3.236rem;
  }
}
.hero__text {
  font-weight: 300;
}
.hero__video {
  height: 100%;
}
.hero__video {
  position: absolute;
}
@media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) {
  .hero__video {
    position: static !important;
  }
}

.page-hero {
  height: 40vh;
  display: none;
}
@media screen and (min-width: 56.63rem) {
  .page-hero {
    height: 70vh;
    display: block;
    width: 100%;
  }
}
.page-hero {
  background-size: cover;
  background-position: center center;
}

.page-mobile-image {
  display: inline-block;
  width: 100%;
}
@media screen and (min-width: 56.63rem) {
  .page-mobile-image {
    display: none;
  }
}

.page-contained-hero {
  display: none;
}
@media screen and (min-width: 56.63rem) {
  .page-contained-hero {
    display: inline-block;
    width: 100%;
    padding-top: 0.4045rem;
  }
}

.header {
  background: #F1F2F6;
}

.header-tes-banner {
  display: none;
}
@media screen and (min-width: 907px) {
  .header-tes-banner {
    display: block;
  }
}
.header-tes-banner {
  width: 337px;
  position: absolute;
  right: 0;
  bottom: 16px;
  max-width: 100%;
}

.header {
  width: 100%;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  height: auto;
  box-shadow: 1px 1px 1px 1px #eee;
}
@media screen and (min-width: 56.63rem) {
  .header {
    box-shadow: none;
    padding: 0 1.618rem;
  }
}
@media screen and (min-width: 1056px) {
  .header {
    height: auto;
  }
}
.header {
  animation: none !important;
  transition-duration: 0.5s;
  transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  transition-property: transform, height, padding-top, padding-left, box-shadow, top;
}
@media screen and (min-width: 56.63rem) {
  .header.header__background {
    transform: translateY(-100%);
  }
}

.header--hidden {
  transform: translateY(-100%);
}
.header-social-icons {
  display: none;
}
@media screen and (min-width: 56.63rem) {
  .header-social-icons {
    display: inline-block;
    position: absolute;
    right: 0;
    bottom: 1.618rem;
  }
}
.header .toggle {
  position: absolute;
  bottom: 1.618rem;
  right: 1.618rem;
}
@media screen and (min-width: 56.63rem) {
  .header .toggle {
    display: none;
  }
}
.header > .content-container--largest {
  position: relative;
}
.header__menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
@media screen and (min-width: 56.63rem) {
  .header__menu {
    flex-direction: row;
  }
}
@media screen and (min-width: 64.72rem) {
  .header__menu {
    justify-content: flex-start;
  }
}
.header__menu {
  list-style: none;
  margin-left: 0;
  margin-bottom: 0;
}
.header__menu > li.current-menu-item > a {
  background: #AE9A64 !important;
}
.header__menu > li.current-menu-item > span {
  background: #AE9A64 !important;
}
.header__menu > li > a {
  color: white;
  text-decoration: none;
  width: 100%;
  padding: 1.01125rem 0.7281rem;
  font-size: 14px;
  font-size: 0.875rem;
}
@media (min-width: 905px) {
  .header__menu > li > a {
    font-size: 15px;
    font-size: calc(0.6779661017vw + 7.8644067797px);
  }
}
@media (min-width: 1200px) {
  .header__menu > li > a {
    font-size: 16px;
    font-size: 1rem;
  }
}
@media screen and (min-width: 56.63rem) {
  .header__menu > li > a {
    width: auto;
  }
}
@media screen and (min-width: 64.72rem) {
  .header__menu > li > a {
    padding: 1.01125rem 1.01125rem;
  }
}
.header__menu > li > a {
  display: inline-block;
  transition: 0.25s linear background;
}
.header__menu > li > a:hover {
  transition: 0.25s linear background;
  background: #111E4A;
}
.header__menu > li.active > a {
  background: #111E4A;
}
.header__menu > li.active > span.sub-menu-parent-link {
  background: #111E4A;
}
.header__menu .sub-menu {
  height: 0;
}
@media screen and (min-width: 56.63rem) {
  .header__menu .sub-menu {
    position: absolute;
    height: auto;
  }
}
.header__menu .sub-menu {
  opacity: 0;
  pointer-events: none;
  transition: 0.25s linear opacity;
  background: #03296A;
  color: white;
  margin-left: 0;
  margin-bottom: 0;
  list-style: none;
}
@supports (display: grid) {
  .header__menu .sub-menu {
    display: flex;
    flex-wrap: wrap;
  }
}
.header__menu .sub-menu {
  max-width: 70%;
}
.header__menu .sub-menu a {
  color: white;
  text-decoration: none;
  transition: 0.25s linear color;
}
.header__menu .sub-menu a:hover {
  color: #AE9A64;
  transition: 0.25s linear color;
}
@supports (display: grid) {
  .header__menu .sub-menu-parent-item {
    display: flex;
    align-items: center;
  }
}
@media screen and (min-width: 56.63rem) {
  .header__menu .sub-menu-parent-item {
    display: block;
  }
}
@media screen and (min-width: 56.63rem) {
  .header__menu .sub-menu-parent-dropwdown-link {
    display: none;
  }
}
.header__menu .sub-menu .column_title {
  font-size: 1rem;
  line-height: 1.01125;
  display: inline-block;
  width: 100%;
  vertical-align: top;
}
@supports (display: grid) {
  .header__menu .sub-menu .column_title {
    flex: 0 0 100%;
    width: auto;
  }
}
.header__menu .sub-menu .column_title {
  margin-bottom: 0.809rem;
  padding-bottom: 0.60675rem;
  line-height: 1;
  font-family: "sofia-pro", sans-serif;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}
.header__menu .sub-menu .column_1 {
  display: inline-block;
  width: 50%;
  vertical-align: top;
}
.header__menu .sub-menu .column_2 {
  display: inline-block;
  width: 50%;
  vertical-align: top;
}
@media screen and (min-width: 56.63rem) {
  .header__menu .sub-menu.active {
    opacity: 1;
  }
}
.header__menu .sub-menu.active {
  pointer-events: all;
  transition: 0.25s linear opacity;
}
.header__menu .sub-menu__items.use-cta {
  display: inline-block;
  width: auto;
  height: 100%;
}
@supports (display: grid) {
  .header__menu .sub-menu__items.use-cta {
    display: flex;
    flex: 1 0 40%;
  }
}
@supports (display: grid) {
  .header__menu .sub-menu__items {
    display: flex;
    flex-wrap: wrap;
  }
}
.header__menu .sub-menu__items {
  padding: 0.809rem 1.618rem;
}
.header__menu .sub-menu__items ul {
  margin-left: 0;
  margin-bottom: 0;
}
@supports (display: grid) {
  .header__menu .sub-menu__cta {
    display: flex;
  }
}
.header__menu .sub-menu__cta {
  display: inline-block;
  width: 60%;
  vertical-align: top;
}
@supports (display: grid) {
  .header__menu .sub-menu__cta {
    flex: 0 0 60%;
    width: auto;
  }
}
.header__menu .sub-menu__cta {
  flex-wrap: wrap;
  background: #F8F8F8;
  color: #4b4b4b;
}
.header__menu .sub-menu__cta a {
  color: #03296A;
}
.header__menu .sub-menu__cta .standard-link {
  font-size: 1rem;
}
.header__menu .sub-menu__cta-title {
  font-size: 18px;
  font-size: 1.125rem;
}
@media (min-width: 200px) {
  .header__menu .sub-menu__cta-title {
    font-size: 21px;
    font-size: calc(0.6vw + 16.8px);
  }
}
@media (min-width: 1200px) {
  .header__menu .sub-menu__cta-title {
    font-size: 24px;
    font-size: 1.5rem;
  }
}
.header__menu .sub-menu__cta-title {
  margin-bottom: 0.4045rem;
  color: #03296A;
}
.header__menu .sub-menu__cta-subtitle {
  margin-bottom: 0.809rem;
}
.header__menu .sub-menu__cta-text {
  margin-bottom: 0.809rem;
}
.header__menu .sub-menu__cta-content {
  padding: 0.809rem 1.618rem;
  display: inline-block;
  width: 60%;
  vertical-align: top;
}
@supports (display: grid) {
  .header__menu .sub-menu__cta-content {
    flex: 1 0 60%;
    width: auto;
  }
}
.header__menu .sub-menu__cta-image {
  display: inline-block;
  width: 40%;
  vertical-align: top;
}
@supports (display: grid) {
  .header__menu .sub-menu__cta-image {
    flex: 0 0 40%;
    width: auto;
  }
}
.header__menu .sub-menu__cta-image img {
  height: 100%;
  width: 100%;
}
.header__submenu {
  display: inline-flex;
  position: absolute;
  top: 0;
  right: 0;
  background: #AE9A64;
  color: white;
  list-style: none;
}
.header__submenu > li a {
  display: inline-block;
  color: white;
  padding: 0.4045rem 0.809rem;
}
@media screen and (min-width: 56.63rem) {
  .header__submenu > li a {
    padding: 0.4045rem 1.618rem;
  }
}
.header__submenu > li a {
  text-decoration: none;
  transition: 0.25s linear background;
}
.header__submenu > li a:hover {
  transition: 0.25s linear background;
  background: rgb(146.4618644068, 127.563559322, 76.5381355932);
}
.header__submenu > li:nth-of-type(2):before {
  content: "";
  display: inline-block;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 12px 12px 0;
  border-color: transparent transparent #F1F2F6 transparent;
}
.header__submenu > li:last-of-type:before {
  content: "";
  display: inline-block;
  position: absolute;
  right: 0;
  bottom: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 12px 12px;
  border-color: transparent transparent #F1F2F6 transparent;
}
.header__grid {
  padding: 1.618rem;
  padding-top: 2.427rem;
}
@media screen and (min-width: 25.888rem) {
  .header__grid {
    padding: 1.618rem;
    padding-top: 1.618rem;
  }
}
@media screen and (min-width: 56.63rem) {
  .header__grid {
    padding: 1.618rem 0;
  }
}
@media screen and (min-width: 56.63rem) {
  .header__grid > div:first-of-type {
    margin-bottom: 0;
  }
}
.header__grid > div:last-of-type {
  text-align: right;
}
.header-search {
  display: none;
}
@media screen and (min-width: 1330px) {
  .header-search {
    position: absolute;
    right: 1.2135rem;
    top: 50%;
    transform: translateY(-60%);
    display: inline-block;
  }
}
.header-search__form {
  display: none;
}
@media screen and (min-width: 1210px) {
  .header-search__form {
    display: inline-block;
  }
  @supports (display: grid) {
    .header-search__form {
      display: flex;
    }
  }
}
.header-search__input {
  background: transparent;
  display: inline-block;
  width: 80%;
  vertical-align: top;
}
@supports (display: grid) {
  .header-search__input {
    flex: 0 0 80%;
    width: auto;
  }
}
.header-search__input {
  padding: 0.4045rem 0;
  margin-right: 0.809rem;
  border: 0;
  border-bottom: 1px solid white;
  line-height: 1;
}
.header-search__icon {
  display: inline-block;
  width: auto;
  vertical-align: top;
}
@supports (display: grid) {
  .header-search__icon {
    flex: 0 0 auto;
    width: auto;
  }
}
.header-search__icon {
  border: 0;
  width: auto;
  padding: 0;
  display: inline-block;
}

@media screen and (min-width: 56.63rem) {
  .menu-container {
    display: block;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    top: 100%;
  }
}
.menu-container {
  color: white;
  width: 100%;
}
.menu-container .svg--header-eagle__link {
  padding: 0 12px 0 3px;
}
@media screen and (min-width: 56.63rem) {
  .menu-container.has-scrolled .content-container--largest {
    padding-left: 6.472rem;
  }
}
.menu-container.has-scrolled .content-container--largest {
  transition: 0.25s linear all;
}
.menu-container.has-scrolled .svg--header-eagle__link {
  opacity: 1;
  transition: 0.25s linear opacity;
  pointer-events: all;
}
.menu-container .content-container--largest {
  background: #03296A;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  transition: 0.25s linear all;
}
.menu-container .svg--header-eagle__link {
  display: none;
}
@media screen and (min-width: 56.63rem) {
  .menu-container .svg--header-eagle__link {
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 1.618rem;
    opacity: 1;
    transition: 0.25s linear opacity;
  }
}
@media screen and (min-width: 64.72rem) {
  .menu-container .svg--header-eagle__link {
    opacity: 0;
    pointer-events: none;
  }
}

.hamburger {
  display: block;
  position: absolute;
  width: 40px;
  height: 40px;
  z-index: 2;
}

.hamburger__inner {
  display: block;
  width: 40px;
  height: 3px;
  margin-top: 12px;
  background: #03296A;
  transition: all 0.4s ease-in-out;
}
.hamburger__inner::before, .hamburger__inner::after {
  display: block;
  position: absolute;
  content: "";
  z-index: -1;
  width: 40px;
  height: 3px;
  background: #03296A;
  transition: all 0.4s ease-in-out;
}
.hamburger__inner::before {
  top: 0;
}
.hamburger__inner::after {
  top: 24px;
}

.hamburger--open .hamburger__inner {
  background: none;
}
.hamburger--open .hamburger__inner::before, .hamburger--open .hamburger__inner::after {
  top: 12px;
}
.hamburger--open .hamburger__inner::before {
  transform: rotate(-45deg);
  transform-origin: center center;
}
.hamburger--open .hamburger__inner::after {
  transform: rotate(45deg);
  transform-origin: center center;
}

.submenu.mobile-only {
  display: inline-block;
  color: white;
  text-decoration: none;
  width: 100%;
  padding: 1.01125rem 0.809rem;
  transition: 0.25s linear background;
  font-size: 14px;
  font-size: 0.875rem;
}
@media (min-width: 905px) {
  .submenu.mobile-only {
    font-size: 15px;
    font-size: calc(0.6779661017vw + 7.8644067797px);
  }
}
@media (min-width: 1200px) {
  .submenu.mobile-only {
    font-size: 16px;
    font-size: 1rem;
  }
}
@media screen and (min-width: 64.72rem) {
  .submenu.mobile-only {
    padding: 1.01125rem 1.01125rem;
  }
}
.submenu.mobile-only:hover {
  transition: 0.25s linear background;
  background: #111E4A;
  cursor: pointer;
}

.submenu.mobile-only.dropdown {
  display: block;
}
@media screen and (min-width: 56.63rem) {
  .submenu.mobile-only.dropdown {
    display: none;
  }
}

@media screen and (min-width: 56.63rem) {
  #menutoggle {
    display: none;
  }
}

@media screen and (max-width: 56.63rem) {
  #menutoggle {
    position: absolute;
    right: 1.618rem;
    bottom: 0.809rem;
  }
  #menutoggle span {
    display: none;
  }
  #menutoggle:hover, #menutoggle:active, #menutoggle.hamburger--open {
    border-radius: 4px 4px 0 0;
  }
  #menutoggle {
    display: block;
  }
  #nav {
    clear: both;
    margin: 0;
    width: 100%;
    height: 0;
    overflow: visible;
    position: relative;
    z-index: 1000;
  }
  #nav ul {
    float: none;
    display: block;
    margin: 0;
    width: auto;
    opacity: 0;
    max-height: 0;
    background: #03296A;
    overflow: hidden;
    transition: max-height 0.25s cubic-bezier(0, 0.7, 0, 1), opacity 0.2s ease-in-out;
    border-radius: 0 0 4px 4px;
    top: 1px;
    border: 0;
    position: relative;
  }
  #nav #menutoggle.hamburger--open + ul {
    max-height: 1000px;
    opacity: 1;
    transition: max-height 0.3s ease-in-out, opacity 0.25s ease-in-out;
  }
  #nav li {
    display: block;
    margin: 0;
    padding: 0;
    height: auto;
    overflow: hidden;
    border: 0;
  }
  #nav li:first-child {
    border-top: 0;
  }
  #nav li.onmobile {
    display: block;
  }
  #nav a, #nav span.submenu {
    float: none;
    display: block;
    margin: 0;
    padding: 9px 20px;
    height: auto;
    color: #fff;
    line-height: 1.6em;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
    text-align: left;
    font-size: 18px;
    font-weight: normal;
    border: 0;
    cursor: pointer;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    transition: background 0.17s linear 0s;
    text-decoration: none;
    position: relative;
  }
  #nav a.hamburger--open:after, #nav span.submenu.hamburger--open:after {
    transform: translateY(-50%) rotate(180deg);
    transition: 0.25s linear transform;
  }
  #nav ul.submenu {
    font-weight: 300;
  }
  #nav span.submenu:after {
    content: "";
    width: 14px;
    height: 8px;
    background-image: url("/wp-content/themes/yarmschool/dist/images/mobile-menu-accordion.svg");
    background-size: cover;
    position: absolute;
    right: 0.809rem;
    top: 50%;
    transform: translateY(-50%);
    transition: 0.25s linear transform;
  }
  #nav ul.submenu {
    margin: 0;
    padding: 0;
    width: 100%;
    max-height: 0;
    background: none;
    opacity: 1;
    position: relative;
    top: 0;
    transition: max-height 0.15s linear 0s;
  }
  #nav span.submenu.hamburger--open + ul.submenu {
    max-height: 360px;
    overflow-y: auto;
  }
  #nav ul.submenu a {
    padding-left: 40px;
    background: none;
    position: relative;
  }
  #nav ul.submenu a:before {
    display: inline-block;
    content: "";
    width: 6px;
    height: 12px;
    background-image: url("/wp-content/themes/yarmschool/dist/images/list-arrow.svg");
    background-size: cover;
    left: 1.618rem;
    top: 0.809rem;
    position: absolute;
  }
  #nav a:hover, #nav a.hamburger--open, #nav li:hover span.submenu, #nav ul.submenu a:hover, #nav ul.submenu a.hamburger--open {
    background: rgb(1.5963302752, 21.8165137615, 56.4036697248);
  }
}
.column-link-active a {
  color: #AE9A64 !important;
}

.about-slice {
  background: white;
  padding: 3.236rem 1.618rem;
}
@media screen and (min-width: 56.63rem) {
  .about-slice {
    padding: 6.472rem 1.618rem;
  }
}
.about-slice__statement {
  font-size: 20px;
  font-size: 1.25rem;
}
@media (min-width: 200px) {
  .about-slice__statement {
    font-size: 30px;
    font-size: calc(2vw + 16px);
  }
}
@media (min-width: 1200px) {
  .about-slice__statement {
    font-size: 40px;
    font-size: 2.5rem;
  }
}
.about-slice__statement {
  font-family: "Playfair Display", serif;
  line-height: 1.45;
  color: #03296A;
  margin-bottom: 1.618rem;
}
@media screen and (min-width: 56.63rem) {
  .about-slice__statement {
    margin-bottom: 6.472rem;
  }
}
@media screen and (min-width: 56.63rem) {
  .about-slice__statement-container {
    padding-right: 11.326rem;
  }
}
.about-slice__content {
  font-size: 14px;
  font-size: 0.875rem;
}
@media (min-width: 200px) {
  .about-slice__content {
    font-size: 16px;
    font-size: calc(0.4vw + 13.2px);
  }
}
@media (min-width: 1200px) {
  .about-slice__content {
    font-size: 18px;
    font-size: 1.125rem;
  }
}
.about-slice__content {
  font-weight: 300;
}
@supports (display: grid) {
  @media screen and (min-width: 29.124rem) {
    .about-key__links {
      display: flex;
      flex-wrap: wrap;
    }
  }
}
.about-key__link {
  font-size: 14px;
  font-size: 0.875rem;
}
@media (min-width: 200px) {
  .about-key__link {
    font-size: 16px;
    font-size: calc(0.4vw + 13.2px);
  }
}
@media (min-width: 1200px) {
  .about-key__link {
    font-size: 18px;
    font-size: 1.125rem;
  }
}
.about-key__link {
  display: inline-block;
  width: 100%;
}
@media screen and (min-width: 29.124rem) {
  .about-key__link {
    width: 45%;
  }
}
@media screen and (min-width: 32.36rem) {
  .about-key__link {
    width: 100%;
  }
}
@media screen and (min-width: 46.922rem) {
  .about-key__link {
    width: 45%;
  }
}
@supports (display: grid) {
  @media screen and (min-width: 29.124rem) {
    .about-key__link {
      flex: 1 0 45%;
      width: auto;
    }
  }
  @media screen and (min-width: 32.36rem) {
    .about-key__link {
      flex: 1 0 100%;
      width: 100%;
    }
  }
  @media screen and (min-width: 46.922rem) {
    .about-key__link {
      flex: 1 0 45%;
      width: auto;
    }
  }
}
.about-key__link {
  padding: 0.809rem;
  background: #F1F2F6;
  color: #4b4b4b;
  text-decoration: none;
}
@media screen and (min-width: 56.63rem) {
  .about-key__link {
    padding: 1.2135rem;
    margin-right: 1.618rem;
  }
}
.about-key__link {
  margin-bottom: 1px;
  position: relative;
  transition: 0.25s linear background;
}
.about-key__link:hover {
  transition: 0.25s linear background;
  background: rgb(225.4782608696, 227.5869565217, 236.0217391304);
}

.footer {
  background: #F8F8F8;
  padding: 4.854rem 1.618rem;
}
.footer__logos > div {
  margin-bottom: 1.618rem;
}
.footer__paa {
  display: inline-block;
  margin-bottom: 1.618rem;
}
.footer-item__title {
  font-size: 18px;
  font-size: 1.125rem;
}
@media (min-width: 200px) {
  .footer-item__title {
    font-size: 23px;
    font-size: calc(1vw + 16px);
  }
}
@media (min-width: 1200px) {
  .footer-item__title {
    font-size: 28px;
    font-size: 1.75rem;
  }
}
.footer-item__title {
  color: #03296A;
}
.footer-item__subtitle {
  font-size: 1rem;
  line-height: 1.01125;
  text-align: left;
  color: #03296A;
  font-family: "sofia-pro", sans-serif;
  text-transform: uppercase;
  margin-bottom: 0.809rem;
  font-weight: 500;
  letter-spacing: 1px;
}
.footer-item__details a {
  color: #4b4b4b;
  display: block;
  text-decoration: none;
  font-weight: 300;
  transition: 0.25s linear color;
}
.footer-item__details a:hover {
  color: #AE9A64;
  transition: 0.25s linear color;
}
.footer-item__details a:hover span {
  color: #4b4b4b !important;
}
.footer-item__details a span {
  color: #4b4b4b !important;
  margin-right: 0.809rem;
  font-weight: 500;
}
.footer-item__menu {
  margin-left: 0;
  list-style: none;
}
.footer-item__menu > li > a {
  color: #212121;
  text-decoration: none;
  font-weight: 300;
  transition: 0.25s linear color;
}
.footer-item__menu > li > a:hover {
  color: #AE9A64;
  transition: 0.25s linear color;
}
.footer__address {
  font-weight: 300;
}

@media screen and (min-width: 51.776rem) {
  .footer__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
}

.footer-social__link {
  text-decoration: none;
  margin-right: 0.4045rem;
  margin-bottom: 36px;
  display: inline-block;
}
@media screen and (min-width: 51.776rem) {
  .footer-social__link {
    margin-bottom: 0;
  }
}
.footer-social__link:hover svg {
  transition: 0.25s linear fill;
  fill: rgb(36.0549450549, 63.6263736264, 156.9450549451);
}

.bottom-footer {
  display: inline-block;
  width: 100%;
  padding: 1.618rem 1.618rem;
  background: #414141;
  color: white;
}
@media screen and (min-width: 51.776rem) {
  .bottom-footer {
    padding: 0.809rem 1.618rem;
  }
}
@media screen and (min-width: 51.776rem) {
  .bottom-footer__grid {
    display: flex;
    justify-content: space-between;
  }
}
.bottom-footer__grid > div {
  margin-bottom: 1.618rem;
}
@media screen and (min-width: 51.776rem) {
  .bottom-footer__grid > div {
    margin-bottom: 0;
  }
}
.bottom-footer__grid > div:last-of-type {
  margin-bottom: 0;
}
.bottom-footer__copyright {
  margin-bottom: 0;
}
.bottom-footer ul {
  display: flex;
  margin-bottom: 0;
  list-style: none;
  margin-left: 0;
}
@media screen and (min-width: 51.776rem) {
  .bottom-footer li {
    margin-right: 4.854rem;
  }
}
.bottom-footer li:last-of-type {
  margin-right: 0;
}
.bottom-footer a {
  color: white;
  text-decoration: none;
  position: relative;
  display: inline-block;
  margin-right: 1.618rem;
  position: relative;
}
.bottom-footer a:after {
  content: "";
  display: inline-block;
  height: 2px;
  background: white;
  position: absolute;
  width: 100%;
  left: 0;
  bottom: -2px;
  bottom: 0;
  opacity: 0;
  transition: 0.25s linear all;
}
.bottom-footer a:hover:after {
  opacity: 1;
  bottom: 0;
  transition: 0.25s linear all;
}

@media screen and (min-width: 32.36rem) {
  .map-form {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
  }
}
.map-form {
  background: white;
  padding: 36px;
}

.contact-map-container {
  position: relative;
}

.input-container {
  margin-bottom: 1.618rem;
}

.contact-details__title {
  font-size: 20px;
  font-size: 1.25rem;
}
@media (min-width: 200px) {
  .contact-details__title {
    font-size: 23px;
    font-size: calc(0.6vw + 18.8px);
  }
}
@media (min-width: 1200px) {
  .contact-details__title {
    font-size: 26px;
    font-size: 1.625rem;
  }
}
.contact-details__title {
  font-family: "sofia-pro", sans-serif;
  text-transform: uppercase;
  font-weight: 600;
  color: #03296A;
}
.contact-details__item {
  margin-bottom: 0;
}
.contact-details__item span {
  font-weight: 600;
  margin-right: 0.809rem;
}
.contact-details__item a {
  color: #4b4b4b;
  text-decoration: none;
}

.hero__directions-panel {
  height: 0;
  opacity: 0;
}
.hero__directions-panel.is-open {
  height: auto;
  opacity: 1;
  padding: 48px 0;
}

@media screen and (min-width: 56.63rem) {
  @supports (display: grid) {
    .alert-banner {
      display: flex;
      align-items: center;
    }
  }
}
.alert-banner__title {
  font-size: 18px;
  font-size: 1.125rem;
}
@media (min-width: 200px) {
  .alert-banner__title {
    font-size: 20px;
    font-size: calc(0.4vw + 17.2px);
  }
}
@media (min-width: 1200px) {
  .alert-banner__title {
    font-size: 22px;
    font-size: 1.375rem;
  }
}
.alert-banner__title {
  font-weight: 500;
}
.alert-banner__text {
  font-size: 18px;
  font-size: 1.125rem;
}
@media (min-width: 200px) {
  .alert-banner__text {
    font-size: 19px;
    font-size: calc(0.2vw + 17.6px);
  }
}
@media (min-width: 1200px) {
  .alert-banner__text {
    font-size: 20px;
    font-size: 1.25rem;
  }
}
.alert-banner__text {
  line-height: 1.45;
  margin-bottom: 1.618rem;
  font-weight: 300;
  margin-right: 1.618rem;
}
@media screen and (min-width: 56.63rem) {
  .alert-banner__text {
    margin-bottom: 0;
    display: inline-block;
    width: 68%;
  }
  @supports (display: grid) {
    .alert-banner__text {
      flex: 0 1 68%;
      width: auto;
    }
  }
}
.alert-banner__text {
  color: white;
}
.alert-banner__button {
  display: inline-block;
  background: white;
  color: #000;
  padding: 0.809rem;
}
@media screen and (min-width: 56.63rem) {
  .alert-banner__button {
    padding: 2.427rem 2.427rem;
  }
}
@media screen and (min-width: 64.72rem) {
  .alert-banner__button {
    padding: 1.618rem 2.427rem;
  }
}
.alert-banner__button {
  text-decoration: none;
  text-transform: uppercase;
  display: inline-block;
}
@supports (display: grid) {
  .alert-banner__button {
    flex: 0 0 auto;
    width: auto;
  }
}
.alert-banner__button {
  line-height: 1;
  transition: 0.25s linear background;
}
.alert-banner__button:hover {
  background: rgb(242.25, 242.25, 242.25);
  transition: 0.25s linear background;
}
.alert-banner__close {
  flex: 0 0 auto;
  display: inline-block;
  text-align: center;
  text-decoration: none;
  background: #03296a;
  transition: 0.25s linear background;
  padding: 0.809rem;
}
.alert-banner__close span {
  display: none;
}
@media screen and (min-width: 56.63rem) {
  .alert-banner__close span {
    display: inline-block;
  }
}
@media screen and (min-width: 56.63rem) {
  .alert-banner__close svg {
    margin-left: 0.4045rem;
  }
}
.alert-banner__close {
  position: absolute;
}
@media screen and (min-width: 56.63rem) {
  .alert-banner__close {
    top: 50%;
    transform: translateY(-50%);
  }
}
.alert-banner__close {
  right: 1.618rem;
}
@media screen and (min-width: 56.63rem) {
  .alert-banner__close {
    position: relative;
    top: auto;
    transform: none;
    right: auto;
    padding: 2.427rem 2.427rem;
  }
}
@media screen and (min-width: 64.72rem) {
  .alert-banner__close {
    padding: 1.618rem 2.427rem;
  }
}
.alert-banner__close {
  color: white;
  line-height: 1;
}
.alert-banner__close:hover {
  background: rgb(1.5963302752, 21.8165137615, 56.4036697248);
  transition: 0.25s linear background;
}
.alert-banner__close .svg {
  stroke: white;
}
.alert-banner-container {
  background: #AA1237;
}
.alert-banner-container.branded {
  background: #AE9A64;
}
.alert-banner-container {
  position: fixed;
  width: 100%;
  left: 0;
  bottom: 0;
  z-index: 999;
  padding: 1.618rem;
  display: block;
}
.alert-banner-container.hide {
  display: none;
}
@media screen and (min-width: 56.63rem) {
  .alert-banner-container {
    padding: 0 0 0 1.618rem;
  }
}

.results-slice {
  background: white;
  padding: 0 1.618rem;
}

.result-item {
  background: #AE9A64;
  color: white;
  padding: 2.0225rem 1.618rem;
}
@media screen and (min-width: 32.36rem) {
  .result-item {
    padding: 2.427rem 3.236rem;
  }
}
.result-item {
  position: relative;
}
@media screen and (min-width: 90.608rem) {
  .result-item {
    display: flex;
  }
}
.result-item {
  overflow: hidden;
  height: 100%;
}
.result-item:before {
  content: "";
  display: inline-block;
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 35px 35px 0 0;
  border-color: #FFF transparent transparent transparent;
}
.result-item:after {
  content: "";
  display: inline-block;
  position: absolute;
  right: 0;
  bottom: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 35px 35px;
  border-color: transparent transparent #FFF transparent;
}
.result-item__title {
  font-size: 36px;
  font-size: 2.25rem;
}
@media (min-width: 200px) {
  .result-item__title {
    font-size: 56.5px;
    font-size: calc(3.1538461538vw + 29.6923076923px);
  }
}
@media (min-width: 1500px) {
  .result-item__title {
    font-size: 77px;
    font-size: 4.8125rem;
  }
}
.result-item__title {
  line-height: 1;
}
.result-item__content {
  margin-bottom: 0;
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.25;
}
.result-item__content-container {
  position: relative;
}
@media screen and (min-width: 27.506rem) {
  .result-item__content-container {
    padding-right: 8.09rem;
  }
}
@media screen and (min-width: 32.36rem) {
  .result-item__content-container {
    flex: 1 0 80%;
    padding-right: 0;
  }
}
.result-item__eagle {
  background-image: url("/wp-content/themes/yarmschool/images/result-eagle.svg");
  background-size: cover;
  position: absolute;
  top: 0;
  left: 35%;
  width: 175%;
  height: 175%;
  opacity: 0.07;
}
.result-item .svg {
  margin-bottom: 0.809rem;
}
@media screen and (min-width: 90.608rem) {
  .result-item .svg {
    position: absolute;
    right: 1.618rem;
    top: 1.618rem;
  }
}

.section {
  padding: 3.236rem 1.618rem 3.236rem 1.618rem;
  text-align: center;
}
.section__button {
  margin-top: 1.618rem;
}
.section__subtitle {
  font-size: 1rem;
  line-height: 1.01125;
  text-align: left;
  color: #03296A;
  font-family: "sofia-pro", sans-serif;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 1px;
}

.section__title {
  overflow: hidden;
  text-align: center;
  margin-bottom: 3.236rem;
  font-size: 24px;
  font-size: 1.5rem;
}
@media (min-width: 200px) {
  .section__title {
    font-size: 32px;
    font-size: calc(1.6vw + 20.8px);
  }
}
@media (min-width: 1200px) {
  .section__title {
    font-size: 40px;
    font-size: 2.5rem;
  }
}

.section__title > span {
  position: relative;
  display: inline-block;
  color: #03296A;
}

.section__title > span:before, .section__title > span:after {
  content: "";
  position: absolute;
  top: 50%;
  border-bottom: 2px solid;
  width: 48.54rem; /* half of limiter*/
  margin: 0 20px;
  border-color: #AE9A64;
}

.section__title > span:before {
  right: 100%;
}

.section__title > span:after {
  left: 100%;
}

.news-card {
  text-align: left;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  transition: 0.25s linear all;
  color: #4b4b4b;
  text-decoration: none;
}
.news-card .standard-link {
  transition: 0.25s linear color;
}
.news-card a {
  transition: 0.25s linear color;
}
.news-card:hover {
  cursor: pointer;
}
.news-card:hover .news-card__title {
  color: #AE9A64;
  transition: 0.25s linear color;
}
.news-card:hover .news-card__title a {
  color: #AE9A64;
  transition: 0.25s linear color;
}
.news-card:hover .news-card__content {
  background: #FAF9F6;
  transition: 0.25s linear all;
  border-color: #AE9A64;
}
.news-card:hover .standard-link {
  color: #AE9A64 !important;
  transition: 0.25s linear color;
}
.news-card:hover .standard-link:after {
  background-color: #AE9A64 !important;
}
.news-card__title {
  font-size: 20px;
  font-size: 1.25rem;
}
@media (min-width: 200px) {
  .news-card__title {
    font-size: 23px;
    font-size: calc(0.6vw + 18.8px);
  }
}
@media (min-width: 1200px) {
  .news-card__title {
    font-size: 26px;
    font-size: 1.625rem;
  }
}
.news-card__title {
  font-family: "sofia-pro", sans-serif;
  margin-bottom: 0.809rem;
  color: #03296A;
  font-weight: 600;
}
.news-card__title a {
  color: #03296A;
  text-decoration: none;
  transition: 0.25s linear color;
}
.news-card__content {
  font-size: 1.125rem;
  line-height: 1.45;
  background: #F1F2F6;
  padding: 2.0225rem;
  height: 100%;
  padding-bottom: 4.854rem;
  font-weight: 300;
  transition: 0.25s linear background;
  clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%, 0 8%);
  position: relative;
  top: -3.236rem;
  width: calc(100% + 2px);
  left: -1px;
  border-bottom: 3px solid #03296A;
}
.news-card__excerpt {
  display: none;
}
@media screen and (min-width: 32.36rem) {
  .news-card__excerpt {
    display: inline-block;
  }
}
.news-card__category {
  color: #4b4b4b;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 1px;
}
.news-card__header {
  text-transform: uppercase;
  margin-bottom: 1.2135rem;
  line-height: 1;
  font-size: 1rem;
}
.news-card img {
  width: 100%;
}
.news-card .standard-link {
  position: absolute;
  bottom: 1.618rem;
  display: block;
}

@media screen and (min-width: 56.63rem) {
  .filter-bar {
    text-align: right;
  }
}
.filter-bar__item {
  display: inline-block;
  text-decoration: none;
  color: #4b4b4b;
  text-transform: uppercase;
  margin-right: 0.809rem;
  margin-bottom: 0.809rem;
}
@media screen and (min-width: 56.63rem) {
  .filter-bar__item {
    margin-right: 1.618rem;
  }
}
.filter-bar__item--active {
  color: #03296A;
  border-bottom: 2px solid #03296A;
}
.filter-bar__item-title {
  margin-bottom: 1.2135rem;
}

.latest-news {
  background: white;
  position: relative;
}
.latest-news--not-front-page {
  background: #F8F8F8;
}
.latest-news .section__button {
  margin-top: 0;
}

@media screen and (min-width: 600px) {
  .grid--latest-news > div > div .grid__item {
    margin-right: 2.427rem;
  }
}

.single-post .page-hero {
  background-position: center center !important;
}
.single-news__image {
  margin-bottom: 1.618rem;
}

.grid--gallery-single a {
  margin-right: 1.618rem;
  overflow: hidden;
}
@supports (display: grid) {
  .grid--gallery-single a {
    margin-right: 0;
  }
}
.grid--gallery-single a img {
  transform: scale(1) rotate(0deg);
  transition: 0.25s linear transform;
}
.grid--gallery-single a:hover img {
  transform: scale(1.2) rotate(2deg);
  transition: 0.25s linear transform;
}

.grid--gallery {
  margin-bottom: 3.236rem;
}

@media screen and (min-width: 600px) {
  .grid--gallery > div > div {
    padding-left: 2.427rem;
  }
  .grid--gallery > div > div:first-of-type {
    padding-left: 0;
  }
}

.galleries-slice {
  position: relative;
  background: white;
}
.galleries-slice .button, .galleries-slice .mgbutton {
  margin-bottom: 1.618rem;
}
.galleries-slice--first {
  padding-bottom: 0;
}

.gallery-shortcode__item:after {
  display: none !important;
}

.inline-gallery {
  position: relative;
  margin-bottom: 3.236rem;
}
.inline-gallery .grid--sixty-forty {
  margin-bottom: 1.618rem;
  position: relative;
  grid-gap: 0.809rem;
}
.inline-gallery .gallery-item__content {
  z-index: 999;
}
.inline-gallery .gallery-item__overlay {
  z-index: 999;
  background: rgba(3, 41, 106, 0.4);
  pointer-events: none;
}
.inline-gallery .button, .inline-gallery .mgbutton {
  position: absolute;
  bottom: 1.618rem;
  right: 1.618rem;
  z-index: 999;
}

.gallery-item {
  color: white !important;
  position: relative;
  background-size: cover;
  display: inline-block;
  width: 100%;
  text-decoration: none;
  transition: 0.25s linear background-size;
  background-position: center center;
}
.gallery-item:after {
  display: none !important;
}
.gallery-item__overlay {
  background: rgba(3, 41, 106, 0.55);
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  opacity: 0;
}
.gallery-item__content {
  position: relative;
  opacity: 0;
  transition: 0.25s linear opacity;
  padding: 1.618rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  min-height: 34vh;
  justify-content: space-between;
}
.gallery-item__title {
  font-family: "sofia-pro", sans-serif;
  font-size: 20px;
  font-size: 1.25rem;
}
@media (min-width: 200px) {
  .gallery-item__title {
    font-size: 23px;
    font-size: calc(0.6vw + 18.8px);
  }
}
@media (min-width: 1200px) {
  .gallery-item__title {
    font-size: 26px;
    font-size: 1.625rem;
  }
}
.gallery-item__title {
  font-weight: 500;
}
.gallery-item__date {
  margin-bottom: 0;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
}
.gallery-item__link {
  color: white;
  text-decoration: none;
}
@supports (display: grid) {
  .gallery-item__link {
    display: flex;
    align-items: center;
  }
}
.gallery-item__link {
  font-weight: 500;
  opacity: 0;
}
.gallery-item__link span {
  position: relative;
  bottom: -3px;
}
.gallery-item__link--photo {
  opacity: 1;
  position: absolute;
  bottom: 1.618rem;
  left: 1.618rem;
}
.gallery-item:hover {
  cursor: pointer;
  background-size: cover;
  transition: 0.25s linear background-size;
}
.gallery-item:hover .gallery-item__overlay {
  opacity: 1;
  transition: 0.25s linear opacity;
}
.gallery-item:hover .gallery-item__content {
  opacity: 1;
  transition: 0.25s linear opacity;
}
.gallery-item:hover .svg--play {
  transition: 0.25s linear transform;
  transform: scale(1);
}
.gallery-item .svg--play {
  max-width: 50px;
  max-height: 50px;
  fill: white;
  position: absolute;
  z-index: 1;
  bottom: 1.618rem;
  left: 1.618rem;
  transform: scale(1.15);
  transition: 0.25s linear transform;
}

.people-card {
  text-align: left;
  position: relative;
}
.people-card__image {
  width: 100%;
}
.people-card__title {
  color: #03296A;
  font-size: 20px;
  font-size: 1.25rem;
}
@media (min-width: 200px) {
  .people-card__title {
    font-size: 23px;
    font-size: calc(0.6vw + 18.8px);
  }
}
@media (min-width: 1200px) {
  .people-card__title {
    font-size: 26px;
    font-size: 1.625rem;
  }
}
.people-card__title {
  font-family: "sofia-pro", sans-serif;
  margin-bottom: 0.20225rem !important;
  font-weight: 600;
}
.people-card__category {
  font-weight: 300;
}
.people-card__link {
  color: #03296A;
  text-decoration: none;
}
.people-card__overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: #AA1237;
  color: white;
  padding: 1.618rem;
  opacity: 0;
  transition: 0.25s linear opacity;
  font-size: 1.25rem;
  line-height: 1.5;
}

.js-people-card__link {
  display: inline-block;
  position: relative;
  margin-bottom: 1.618rem;
  width: 100%;
}
.js-people-card__link:hover .people-card__overlay {
  opacity: 1;
  transition: 0.25s linear opacity;
}
.js-people-card__link-title {
  margin-bottom: 0 !important;
}

@media screen and (min-width: 600px) {
  .grid--people > div > div .people-card {
    margin-right: 2.427rem;
  }
}

.people-slice {
  position: relative;
}

.people-modal {
  background: white;
  max-width: 75%;
  padding: 1.618rem;
  width: 751.5331134256px;
}
@media screen and (min-width: 600px) {
  .people-modal {
    display: flex;
  }
}
.people-modal-container {
  background: black;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
}
.people-modal-container.active {
  opacity: 1;
  pointer-events: all;
}
.people-modal img {
  width: auto;
  margin-bottom: 0;
}
.people-modal__close {
  position: absolute;
  right: 30px;
  top: 30px;
}
.people-modal__close svg {
  max-width: 20px;
  max-height: 20px;
  stroke: white;
}
.people-modal__image-container {
  display: inline-block;
  margin-bottom: 1.618rem;
}
@media screen and (min-width: 600px) {
  .people-modal__image-container {
    flex: 0 0 35%;
    margin-right: 3.236rem;
    margin-bottom: 0;
  }
}

.js-people-card__link-title {
  text-decoration: none;
  color: #03296A;
}

.social-post {
  font-size: 14px;
  font-size: 0.875rem;
}
@media (min-width: 200px) {
  .social-post {
    font-size: 16px;
    font-size: calc(0.4vw + 13.2px);
  }
}
@media (min-width: 1200px) {
  .social-post {
    font-size: 18px;
    font-size: 1.125rem;
  }
}
.social-post {
  background: #03296A;
  color: white;
  padding: 1.618rem;
  text-align: left;
  font-weight: 300;
}
.social-post__whole-text {
  text-decoration: none !important;
}
.social-post__facebook-text {
  margin-bottom: 0;
}
.social-post a {
  color: white;
}

.social-slice {
  background: white;
  overflow: hidden;
}
@supports (display: grid) {
  .social-slice__link {
    display: flex;
    align-items: center;
  }
}
.social-slice__link {
  text-decoration: none;
  color: #03296A;
}
.social-slice__link svg {
  margin-right: 0.4045rem;
}
.social-slice__link-text {
  position: relative;
  top: 2px;
}
.social-slice__right {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.social-slice__feed {
  margin-bottom: 18px;
}
.social-slice__feed:last-child {
  margin-bottom: 0;
}
.social-slice__feed--twitter svg {
  fill: #03296A;
}
.social-slice__feed--twitter .social-post {
  background: #03296A;
}
.social-slice__feed--facebook {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.social-slice__feed--facebook svg {
  fill: #03296A;
}
.social-slice__feed--facebook .social-post {
  background: #03296A;
  height: 100%;
}

.social-grid {
  display: flex;
  flex-direction: column;
}
@media screen and (min-width: 80.9rem) {
  .social-grid {
    flex-direction: row;
  }
}
@media screen and (min-width: 80.9rem) {
  .social-grid__item {
    display: inline-block;
    width: 50%;
    vertical-align: top;
  }
  @supports (display: grid) {
    .social-grid__item {
      flex: 0 0 50%;
      width: auto;
    }
  }
  .social-grid__item:first-of-type {
    padding-right: 3.236rem;
  }
}

.instagram-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.instagram-item {
  position: relative;
  background: grey;
  display: inline-block;
  width: 48%;
  vertical-align: top;
}
@supports (display: grid) {
  .instagram-item {
    flex: 0 0 48%;
    width: auto;
  }
}
.instagram-item {
  min-height: 310px;
  margin-bottom: 1.2135rem;
}
@media screen and (min-width: 29.124rem) {
  .instagram-item {
    min-height: auto;
    padding-bottom: 48%;
  }
}
@media screen and (min-width: 48.54rem) {
  .instagram-item {
    display: inline-block;
    width: 32%;
    vertical-align: top;
  }
  @supports (display: grid) {
    .instagram-item {
      flex: 0 0 32%;
      width: auto;
    }
  }
}
@media screen and (min-width: 80.9rem) {
  .instagram-item:nth-of-type(4), .instagram-item:nth-of-type(5), .instagram-item:nth-of-type(6) {
    margin-bottom: 0;
  }
}
.instagram-item a {
  display: inline-block;
  width: 100%;
  height: 100%;
  background-size: cover;
  position: absolute;
  left: 0;
  top: 0;
  text-decoration: none;
}
.instagram-item__overlay {
  background: rgba(0, 0, 0, 0.77);
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  opacity: 0;
  transition: 0.25s linear opacity;
  z-index: 0;
}
.instagram-item__content {
  color: white;
  opacity: 0;
  transition: 0.25s linear opacity;
  position: absolute;
  z-index: 1;
}
.instagram-item__text {
  opacity: 0;
  text-align: left;
  padding: 1.618rem;
}
.instagram-item:hover {
  cursor: pointer;
}
.instagram-item:hover .instagram-item__overlay {
  opacity: 1;
  transition: 0.25s linear opacity;
}
.instagram-item:hover .instagram-item__content {
  opacity: 1;
  position: relative;
  transition: 0.25s linear opacity;
}
.instagram-item:hover .instagram-item__text {
  opacity: 1;
  transition: 0.25s linear opacity;
}

.sidebar__menu {
  list-style: none;
  margin-left: 0;
}
@media screen and (min-width: 56.63rem) {
  .sidebar__menu:before {
    content: "In this section";
    display: inline-block;
    font-size: 1.5rem;
    margin-bottom: 1.618rem;
    opacity: 0;
    position: absolute;
    pointer-events: none;
  }
}
.sidebar__menu-title {
  font-size: 1.5rem;
}
@media screen and (min-width: 56.63rem) {
  .sidebar__menu-title {
    opacity: 1;
  }
}
@media screen and (min-width: 56.63rem) {
  .sidebar__menu-title.hidden {
    opacity: 0;
  }
}
.sidebar__menu.has-scrolled {
  top: 0;
}
@media screen and (min-width: 56.63rem) {
  .sidebar__menu.has-scrolled {
    position: fixed;
  }
}
@media screen and (min-width: 56.63rem) {
  .sidebar__menu.has-scrolled:before {
    opacity: 1;
    position: relative;
  }
}
.sidebar__menu li a {
  display: inline-block;
  padding: 0.809rem;
  background: #F8F8F8;
  width: 100%;
  color: #4b4b4b;
  text-decoration: none;
  transition: 0.25s linear background;
}
.sidebar__menu li a:hover {
  background: rgb(222.5, 222.5, 222.5);
  transition: 0.25s linear background;
}
.sidebar__menu li.current-menu-item a {
  background: #AE9A64;
  color: white;
}
.sidebar__menu li .sub-menu a {
  color: #4b4b4b;
  padding-left: 2.427rem;
}
.sidebar__menu li .sub-menu li {
  position: relative;
}
.sidebar__menu li .sub-menu li:before {
  content: "";
  display: inline-block;
  background-image: url("/wp-content/themes/yarmschool/dist/images/list-arrow--sidebar.svg");
  background-size: cover;
  width: 7px;
  height: 12px;
  position: absolute;
  top: 50%;
  left: 1.618rem;
  transform: translateY(-50%);
}
.sidebar__menu li .sub-menu li.current-menu-item:before {
  content: "";
  display: inline-block;
  background-image: url("/wp-content/themes/yarmschool/dist/images/list-arrow.svg");
  background-size: cover;
  width: 7px;
  height: 12px;
  position: absolute;
  top: 50%;
  left: 1.618rem;
  transform: translateY(-50%);
}
.sidebar__menu .sub-menu {
  margin-left: 0;
  list-style: none;
  margin-bottom: 0;
}
.sidebar__menu .sub-menu li a {
  background: #EDEDED;
}
.sidebar__menu .sub-menu li a:hover {
  background: rgb(211.5, 211.5, 211.5);
}
.sidebar__menu .sub-menu li.current-menu-item a {
  background: #AE9A64;
  color: white;
}
.sidebar__menu .sub-menu li.active a {
  background: #AE9A64;
  color: white;
}

.download-item {
  display: inline-block;
  width: 100%;
  padding: 0.809rem;
  background: #F8F8F8;
  transition: 0.25s linear background;
  text-decoration: none;
  color: #4b4b4b;
  position: relative;
  padding-left: 3.6405rem;
}
@media screen and (min-width: 56.63rem) {
  .download-item {
    max-width: 60%;
  }
}
.download-item:hover {
  background: rgb(222.5, 222.5, 222.5);
  transition: 0.25s linear background;
}
.download-item:hover:after {
  display: none !important;
}
.download-item svg {
  position: absolute;
  left: 0.809rem;
  top: 18px;
}
.download-item__name {
  font-size: 1.125rem;
  line-height: 1.0786666667;
  width: 100%;
  display: inline-block;
  line-height: 1.35;
}
.download-item__details {
  font-size: 0.875rem;
  line-height: 1.0401428571;
}
.download-item__details > span:first-of-type {
  text-transform: uppercase;
  margin-right: 0.809rem;
}

.repeated-section {
  margin-bottom: 3.236rem;
}
.repeated-section__title {
  font-size: 20px;
  font-size: 1.25rem;
}
@media (min-width: 200px) {
  .repeated-section__title {
    font-size: 25px;
    font-size: calc(1vw + 18px);
  }
}
@media (min-width: 1200px) {
  .repeated-section__title {
    font-size: 30px;
    font-size: 1.875rem;
  }
}
.repeated-section__title {
  margin-bottom: 0.809rem;
}
.repeated-section__content {
  font-size: 16px !important;
}

.page--repeated-section .page-layout__right-container {
  display: none;
}
@media screen and (min-width: 56.63rem) {
  .page--repeated-section .page-layout__main-container {
    grid-column-end: span 3 !important;
  }
}

.page-layout__right-container .download-item {
  max-width: 100% !important;
}

.event-card {
  text-align: left;
  display: inline-block;
  width: 100%;
  color: #4b4b4b;
}
.event-card .standard-link {
  transition: 0.25s linear color;
}
.event-card:hover {
  cursor: pointer;
}
.event-card:hover .event-card__title span {
  color: #AE9A64;
  transition: 0.25s linear color;
}
.event-card:hover .event-card__content {
  background: #FAF9F6;
  transition: 0.25s linear all;
  border-color: #AE9A64;
}
.event-card:hover .standard-link {
  color: #AE9A64 !important;
  transition: 0.25s linear color;
}
.event-card__title {
  font-size: 1.25rem;
  line-height: 1.0517;
  font-family: "sofia-pro", sans-serif;
  margin-bottom: 0.809rem;
  color: #03296A;
  font-weight: 500;
}
.event-card__title span {
  text-decoration: none;
  transition: 0.25s linear color;
}
.event-card__content {
  display: inline-block;
  font-size: 1.125rem;
  line-height: 1.45;
  background: #F1F2F6;
  padding: 1.618rem 1.618rem;
  transition: 0.25s linear all;
  clip-path: polygon(5% 0, 100% 0, 100% 100%, 0 100%, 0 10%);
  position: relative;
  top: -3.236rem;
  width: calc(100% + 2px);
  left: -1px;
  border-bottom: 3px solid #03296A;
}
.event-card__category {
  color: #4b4b4b;
  text-decoration: none;
}
.event-card__header {
  font-size: 1rem;
  line-height: 1.01125;
  text-transform: uppercase;
  margin-bottom: 1.2135rem;
  line-height: 1;
}
.event-card__date {
  font-weight: 300;
}
.event-card img {
  width: 100%;
}

.page-layout--no-right-sidebar .page-layout__main-container {
  grid-column-end: span 3 !important;
}
.page-layout--no-right-sidebar .page-layout__ctas {
  margin-top: 3.236rem;
}
.page-layout--no-right-sidebar .cta {
  display: inline-block;
  width: 30%;
}
@media screen and (min-width: 48.54rem) {
  @supports (display: grid) {
    .page-layout--no-right-sidebar .cta {
      flex: 0 0 30%;
    }
  }
}
.page-layout--no-right-sidebar .cta:nth-of-type(even) {
  margin-right: 1.618rem;
}

.cta {
  display: inline-block;
  width: 47%;
}
@supports (display: grid) {
  .cta {
    flex: 0 0 100%;
  }
}
@media screen and (min-width: 48.54rem) {
  @supports (display: grid) {
    .cta {
      flex: 0 0 46%;
      width: auto;
    }
  }
}
.cta {
  margin-right: 1.618rem;
  margin-bottom: 1.618rem;
  background-size: contain;
  background-position: center center;
}
.cta:hover .cta__title {
  background: #AE9A64;
  transition: 0.25s linear background;
}
.cta:nth-of-type(even) {
  margin-right: 0;
}
.cta__title {
  padding: 1.01125rem 1.01125rem 1.01125rem 1.2135rem;
  display: inline-block;
  width: 100%;
  background: #03296A;
  color: white;
  position: relative;
  line-height: 1.4;
  transition: 0.25s linear background;
}
.cta__title:before {
  content: "";
  display: inline-block;
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 20px 20px 0 0;
  border-color: #FFF transparent transparent transparent;
}
.cta__image {
  width: 100%;
  opacity: 0;
}

.pagination {
  display: inline-block;
  text-align: center;
  width: 100%;
  margin-top: 3.236rem;
  margin-bottom: 3.236rem;
}
@media screen and (min-width: 48.54rem) {
  .pagination {
    margin-bottom: 0;
  }
}
.pagination .pages {
  display: inline-block;
  padding: 1.01125rem 1.41575rem;
  border: 1px solid #AA1237;
  color: white;
  font-weight: 600;
  margin-right: 1.618rem;
  background: #AA1237;
  clip-path: polygon(0 40%, 0 100%, 90% 100%, 100% 62%, 100% 0, 10% 0);
  font-size: 1.125rem;
  line-height: 1.0786666667;
}
.pagination .page {
  font-size: 1.125rem;
  line-height: 1.0786666667;
  padding: 0.4045rem 1.01125rem;
  color: #AA1237;
  font-weight: bold;
  border: 1px solid #AA1237;
  margin-right: 0.809rem;
  text-decoration: none;
}
.pagination .current {
  font-size: 1.125rem;
  line-height: 1.0786666667;
  padding: 0.4045rem 1.01125rem;
  background: #AA1237;
  color: white;
  font-weight: bold;
  border: 1px solid #AA1237;
  margin-right: 0.809rem;
}
.pagination .nextpostslink, .pagination .previouspostslink {
  font-size: 1.125rem;
  line-height: 1.0786666667;
  padding: 0.4045rem 1.01125rem;
  color: #AA1237;
  font-weight: bold;
  border: 1px solid #AA1237;
  margin-right: 0.809rem;
  text-decoration: none;
}
.pagination .last {
  color: #AA1237 !important;
  border-bottom: 0 !important;
}
.pagination .first {
  color: #AA1237 !important;
  border-bottom: 0 !important;
}

.global-message {
  background: #03296A;
  padding: 1.618rem;
  color: white;
  position: relative;
  font-size: 16px;
  font-size: 1rem;
}
@media (min-width: 200px) {
  .global-message {
    font-size: 18px;
    font-size: calc(0.4vw + 15.2px);
  }
}
@media (min-width: 1200px) {
  .global-message {
    font-size: 20px;
    font-size: 1.25rem;
  }
}
.global-message {
  line-height: 1.35;
}
.global-message a {
  color: white !important;
}
.global-message a:hover {
  color: white !important;
}
.global-message a:after {
  background: white;
}
.global-message--blue {
  background: #03296A;
}
.global-message--gold {
  background: #AE9A64;
}
.global-message--gold svg {
  fill: white;
}
.global-message:before {
  content: "";
  display: inline-block;
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 25px 25px 0 0;
  border-color: #FFF transparent transparent transparent;
}
.global-message:after {
  content: "";
  display: inline-block;
  position: absolute;
  right: 0;
  bottom: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 25px 25px;
  border-color: transparent transparent #FFF transparent;
}

.gform_wrapper {
  margin-bottom: 1.618rem;
}
.gform_wrapper .gform_fields {
  margin-left: 0;
  list-style: none;
}
.gform_wrapper .gsection {
  margin-top: 3.236rem;
  padding-top: 3.236rem;
  border-top: 1px solid #03296A;
  margin-bottom: 1.618rem;
}
.gform_wrapper .gsection_title {
  color: #03296A;
}
.gform_wrapper h1, .gform_wrapper h2, .gform_wrapper h3, .gform_wrapper h4, .gform_wrapper h5, .gform_wrapper h6 {
  color: #03296A;
}
.gform_wrapper .gfield_label {
  font-size: 1.25rem;
  line-height: 1.0517;
  font-weight: 400;
  margin-bottom: 0.809rem;
}
.gform_wrapper .gfield_description {
  margin-bottom: 0.4045rem;
}
.gform_wrapper .gfield {
  margin-bottom: 1.618rem;
}
.gform_wrapper input, .gform_wrapper select, .gform_wrapper textarea {
  transition: 0.25s linear border;
}
.gform_wrapper input:focus, .gform_wrapper select:focus, .gform_wrapper textarea:focus {
  border: 1px solid #03296A;
  transition: 0.25s linear border;
}
.gform_wrapper .gfield_radio {
  margin-left: 0;
  list-style: none;
}
.gform_wrapper .ginput_container_fileupload input[type=file] {
  background: #03296A;
  color: white;
}

select {
  color: #000;
}

.years-last thead th:last-of-type {
  width: 120px;
}
.years-last thead th:nth-last-of-type(2) {
  width: 120px;
}
.years-last thead td {
  width: 50px;
}

.gfield_list_container td:last-of-type {
  width: 50px;
}

.gfield > .ginput_container_date > .clear-multi {
  display: flex;
}
.gfield > .ginput_container_date > .clear-multi > div {
  flex: 0 0 70px;
  margin-right: 1.618rem;
}

.gfield_repeater_wrapper {
  position: relative;
}
.gfield_repeater_wrapper fieldset {
  border-color: #ececec;
  border-style: solid;
}

.gfield_repeater_item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 1.618rem;
  padding-bottom: 0.60675rem;
  border-bottom: 1px solid #eee;
  font-size: 14px;
}
.gfield_repeater_item:last-of-type {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}
.gfield_repeater_item:first-of-type:last-of-type {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}
.gfield_repeater_item .gfield_repeater_cell {
  margin-right: 1.618rem;
  margin-bottom: 24px;
  flex: 1 0 45%;
}
.gfield_repeater_item .gfield_repeater_cell:nth-of-type(2), .gfield_repeater_item .gfield_repeater_cell:nth-of-type(6) {
  margin-right: 0;
}
.gfield_repeater_item .gfield_repeater_cell_date {
  flex: 1 0 100px;
}
.gfield_repeater_item .gfield_repeater_cell_date .screen-reader-text {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.gfield_repeater_item .gfield_repeater_cell_select {
  flex: 1 0 100px;
}
.gfield_repeater_item .gfield_label {
  font-size: 18px;
}
.gfield_repeater_item .gfield_repeater_buttons {
  position: absolute;
  right: -0.60675rem;
  display: flex;
  flex-direction: column;
}
.gfield_repeater_item input, .gfield_repeater_item select, .gfield_repeater_item textarea {
  padding: 6px 9px;
}
.gfield_repeater_item .add_repeater_item, .gfield_repeater_item .remove_repeater_item {
  border-radius: 50%;
  background: #03296A;
  color: white;
  border: 0;
  transition: 0.25s linear background;
  cursor: pointer;
}
.gfield_repeater_item .add_repeater_item:focus, .gfield_repeater_item .add_repeater_item:active, .gfield_repeater_item .add_repeater_item:hover, .gfield_repeater_item .remove_repeater_item:focus, .gfield_repeater_item .remove_repeater_item:active, .gfield_repeater_item .remove_repeater_item:hover {
  outline: none;
  background: rgb(4.4036697248, 60.1834862385, 155.5963302752);
  transition: 0.25s linear background;
}
.gfield_repeater_item .add_repeater_item {
  margin-bottom: 0.4045rem;
}

.ui-datepicker-title {
  padding: 0 8px 8px 8px;
}

.vacancy-box {
  display: block;
  padding: 1.618rem;
  background: #F1F2F6;
  margin-bottom: 1.618rem;
  position: relative;
}
@media screen and (min-width: 80.9rem) {
  .vacancy-box {
    padding-right: 220px;
  }
}
.vacancy-box__title {
  font-size: 1.5rem;
  line-height: 1.01125;
  display: block;
  margin-bottom: 0.809rem;
  font-weight: 400;
}
.vacancy-box__deadline {
  display: block;
  margin-bottom: 1.2135rem;
}
@media screen and (min-width: 80.9rem) {
  .vacancy-box__deadline {
    margin-bottom: 0;
  }
}
@media screen and (min-width: 80.9rem) {
  .vacancy-box .button, .vacancy-box .mgbutton {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 1.618rem;
  }
}

@media screen and (min-width: 40.45rem) {
  .search-box {
    display: flex;
    align-items: center;
  }
}
.search-box {
  font-size: 0;
  height: 100%;
  padding: 1.618rem;
  background: #F1F2F6;
  position: relative;
  font-weight: 300;
}
.search-box__title {
  font-size: 1.5rem;
  line-height: 1.01125;
  display: block;
  margin-bottom: 1.618rem;
  font-weight: 400;
}
.search-box__post-type {
  font-size: 0.875rem;
  display: inline-block;
  margin-bottom: 1.2135rem;
  text-transform: uppercase;
  margin-bottom: 0.809rem;
}
@media screen and (min-width: 80.9rem) {
  .search-box__post-type {
    margin-bottom: 0;
  }
}
.search-box__content {
  height: 100%;
}
@media screen and (min-width: 40.45rem) {
  .search-box__content {
    flex: 1 0 50%;
    padding-right: 3.236rem;
  }
}
.search-box__excerpt {
  font-size: 1rem;
  margin-bottom: 0;
}
.search-box__button-container {
  margin-top: 1.618rem;
}
@media screen and (min-width: 40.45rem) {
  .search-box__button-container {
    margin-top: 0;
    flex: 0 0 auto;
  }
}
.search-box .relevanssi-query-term {
  font-weight: 500;
}

.table th {
  background-color: #efefef;
  color: #4b4b4b;
}
.table td {
  padding: 0.809rem;
}
.table--horizontal-border {
  border: 1px solid #e8e8e5;
}
.table--horizontal-border td,
.table--horizontal-border th,
.table--horizontal-border tr {
  border-bottom: 1px solid #e8e8e5;
  border-top: 1px solid #e8e8e5;
  border-left: 0 none;
  border-right: 0 none;
}
.table--striped tr:nth-child(odd) {
  background-color: #eee;
}
@media only screen and (max-width: 76.046rem) {
  .table--striped.table--responsive tr:nth-child(odd) {
    background-color: transparent;
  }
}
.table__header {
  margin: 0;
  background: #FAF9F6;
  color: white;
  padding: 12px;
}

@media only screen and (max-width: 76.046rem) {
  .table--responsive {
    display: block;
    border: 0 none;
  }
  .table--responsive input, .table--responsive select, .table--responsive textarea {
    padding: 6px 9px;
    font-size: 14px;
  }
  .table--responsive thead, .table--responsive tbody, .table--responsive th, .table--responsive td, .table--responsive tr {
    display: block;
  }
  .table--responsive tr {
    border: 0 none;
    margin-bottom: 3.236rem;
  }
}
@media only screen and (max-width: 76.046rem) and (min-width: 76.046rem) {
  .table--responsive tr {
    margin-bottom: 1.618rem;
  }
}
@media only screen and (max-width: 76.046rem) {
  .table--responsive thead tr,
  .table--responsive tbody tr:first-of-type {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }
  .table--responsive thead + tbody tr:first-of-type {
    position: static;
  }
  .table--responsive td {
    position: relative;
    padding-top: 58px;
    padding-bottom: 0.809rem;
    margin-top: -1px;
  }
  .table--responsive td[data-content="&nbsp;"], .table--responsive td[data-content=""] {
    padding: 0;
    margin-left: auto;
    padding-left: 6px;
  }
  .table--responsive td[data-content="&nbsp;"]:before, .table--responsive td[data-content=""]:before {
    display: none;
  }
  .table--responsive td:first-of-type {
    margin-top: 0;
  }
}
@media only screen and (max-width: 76.046rem) and (min-width: 76.046rem) {
  .table--responsive td {
    min-height: 50px;
    padding-top: 0.809rem;
    padding-left: 50%;
    overflow: hidden;
  }
}
@media only screen and (max-width: 76.046rem) {
  .table--responsive td:before {
    font-size: 14px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    white-space: nowrap;
    background-color: #efefef;
    color: #4b4b4b;
    padding: 0.809rem;
  }
}
@media only screen and (max-width: 76.046rem) and (min-width: 76.046rem) {
  .table--responsive td:before {
    width: 45%;
    height: 100%;
  }
}
@media only screen and (max-width: 76.046rem) {
  .table--responsive tr td:before {
    content: attr(data-content);
  }
  .table--responsive .empty-header {
    background-color: #efefef;
    color: #4b4b4b;
    padding-top: 0.809rem;
    border: 0 none;
    margin-top: 1.618rem;
  }
  .table--responsive .empty-header:before {
    display: none;
  }
}
@media only screen and (max-width: 76.046rem) and (min-width: 76.046rem) {
  .table--responsive .empty-header {
    padding-left: 0.809rem;
    text-align: center;
  }
}
.inline-accordion p:empty {
  margin-bottom: 0;
}

.inline-accordion-item {
  transition: 0.15s linear background;
  border-bottom: 3px solid #eee;
}
.inline-accordion-item:hover {
  background: #eee;
  transition: 0.15s linear background;
  cursor: pointer;
}
.inline-accordion-item.active {
  background: #eee;
  transition: 0.15s linear background;
}
.inline-accordion-item.active .inline-accordion-item__title:before {
  transform: rotate(90deg);
  transition: 0.25s linear transform;
}
.inline-accordion-item + .inline-accordion {
  margin-top: 0;
}
.inline-accordion-item__title {
  padding: 0.809rem 0.809rem 0.809rem 2.8315rem;
  margin-bottom: 0;
  position: relative;
  color: #03296A;
  font-weight: 500;
}
.inline-accordion-item__title:before {
  content: "";
  display: inline-block;
  background-image: url("/wp-content/themes/yarmschool/dist/images/list-arrow--accordion.svg");
  background-size: cover;
  width: 8px;
  height: 14px;
  position: absolute;
  top: 1.09215rem;
  left: 1.618rem;
  transform: rotate(0deg);
  transition: 0.25s linear transform;
}
.inline-accordion-item__content {
  padding: 0 0.809rem 0.809rem 2.8315rem;
}
.inline-accordion-item__content > p:last-of-type {
  margin-bottom: 0;
}

body.baguetteBox-open {
  overflow-y: hidden;
  max-height: 100vh;
}

#baguetteBox-overlay {
  display: none;
  opacity: 0;
  position: fixed;
  overflow: hidden;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000000;
  background-color: #222;
  background-color: rgba(0, 0, 0, 0.8);
  transition: opacity 0.5s ease;
}

#baguetteBox-overlay.visible {
  opacity: 1;
}

#baguetteBox-overlay .full-image {
  display: inline-block;
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
}

#baguetteBox-overlay .full-image figure {
  display: inline;
  margin: 0;
  height: 100%;
}

#baguetteBox-overlay .full-image img {
  background-color: white;
  display: inline-block;
  width: auto;
  height: auto;
  max-height: 100%;
  max-width: 100%;
  vertical-align: middle;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
}

#baguetteBox-overlay .full-image figcaption {
  display: block;
  position: absolute;
  bottom: 0;
  width: 100%;
  text-align: center;
  line-height: 1.8;
  white-space: normal;
  color: #ccc;
  background-color: #000;
  background-color: rgba(0, 0, 0, 0.6);
  font-family: sans-serif;
}

#baguetteBox-overlay .full-image:before {
  content: "";
  display: inline-block;
  height: 50%;
  width: 1px;
  margin-right: -1px;
}

#baguetteBox-slider {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  white-space: nowrap;
  transition: left 0.4s ease, transform 0.4s ease;
}

#baguetteBox-slider.bounce-from-right {
  animation: bounceFromRight 0.4s ease-out;
}

#baguetteBox-slider.bounce-from-left {
  animation: bounceFromLeft 0.4s ease-out;
}
@keyframes bounceFromRight {
  0% {
    margin-left: 0;
  }
  50% {
    margin-left: -30px;
  }
  100% {
    margin-left: 0;
  }
}
@keyframes bounceFromLeft {
  0% {
    margin-left: 0;
  }
  50% {
    margin-left: 30px;
  }
  100% {
    margin-left: 0;
  }
}
.baguetteBox-button#next-button, .baguetteBox-button#previous-button {
  top: 50%;
  top: calc(50% - 30px);
  width: 44px;
  height: 60px;
}

.baguetteBox-button {
  position: absolute;
  cursor: pointer;
  outline: none;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 15%;
  background-color: #323232;
  background-color: rgba(50, 50, 50, 0.5);
  color: #ddd;
  font: 1.6em sans-serif;
  transition: background-color 0.4s ease;
}

.baguetteBox-button:focus, .baguetteBox-button:hover {
  background-color: rgba(50, 50, 50, 0.9);
}

.baguetteBox-button#next-button {
  right: 2%;
}

.baguetteBox-button#previous-button {
  left: 2%;
}

.baguetteBox-button#close-button {
  top: 20px;
  right: 2%;
  right: calc(2% + 6px);
  width: 30px;
  height: 30px;
}

.baguetteBox-button svg {
  position: absolute;
  left: 0;
  top: 0;
}

/*
    Preloader
    Borrowed from http://tobiasahlin.com/spinkit/
*/
.baguetteBox-spinner {
  width: 40px;
  height: 40px;
  display: inline-block;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -20px;
  margin-left: -20px;
}

.baguetteBox-double-bounce1,
.baguetteBox-double-bounce2 {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #fff;
  opacity: 0.6;
  position: absolute;
  top: 0;
  left: 0;
  animation: bounce 2s infinite ease-in-out;
}

.baguetteBox-double-bounce2 {
  animation-delay: -1s;
}
@keyframes bounce {
  0%, 100% {
    transform: scale(0);
  }
  50% {
    transform: scale(1);
  }
}
/*! mediabox v1.1.3 | (c) 2018 Pedro Rogerio | https://github.com/pinceladasdaweb/mediabox */
.stop-scroll {
  height: 100%;
  overflow: hidden;
}

.mediabox-wrap {
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  top: 0;
  left: 0;
  opacity: 0;
  z-index: 9999;
  animation-duration: 0.5s;
  animation-fill-mode: both;
  animation-name: mediabox;
}
@keyframes mediabox {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.mediabox-content {
  max-width: 853px;
  display: block;
  margin: 0 auto;
  height: 100%;
  position: relative;
}

.mediabox-content iframe {
  max-width: 100% !important;
  width: 100% !important;
  display: block !important;
  height: 480px !important;
  border: none !important;
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto 0;
}

.mediabox-hide {
  animation-duration: 0.5s;
  animation-fill-mode: both;
  animation-name: mediaboxhide;
}
@keyframes mediaboxhide {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
.mediabox-close {
  position: absolute;
  top: 0;
  cursor: pointer;
  bottom: 528px;
  right: 0px;
  margin: auto 0;
  width: 24px;
  height: 24px;
  background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAAMvSURBVHja7Js9aBRBFMd/d1lPY6FiJVjY+Fkoxl7wA1Q0prQRS6tgoZV2MWIRRVHUUq3U+JnESrS2sBXBzipREWMlATXwt8gFznC5nd15M7Nn8uC45nZnfr/dY96+N1uTxFKOOks8lgUU/H2t4tJqIQUcAiaBGeBymcECRgO4B/wBPgJ9zkdKcvkclfRL/8ZtSTXH40N+GpLGF8zth6Q9Lse7DHCsDXxVJLSDLyQhb4B+Sb/VOVJJ6ATfKqGvrIDjDvCpJLjAz8d0JwmLDTBQAD62hIakiYJzm5a021VAfwn4WBLKwLdK2JUnIJP0XX4RSoIP/Hy8W3jeepv1dL3nmjwI3DLOExrAU2DA8zwb8xKhGeCuwYQtJTSAZwbwAHdcEqFM0mPZhO/foSHppdFcrraby2IDV0FCcPi8PCClhCjwLplgCgkrDeGv5I3pcjViSogK7yogloTo8EUEhJaQBL6oAGsJ9yVtkrRD0qsU8JKolagKZ8AD4ETFymFXgPOAQpXE5mMWOAk86XZ4n6pwlSSUhvcti1dBghe8RV8gpYQRX3irxkgKCSPABV94y85QTAlm8NatsRgSTOGBUnmAS57w3KiA0Ro3gHOW8KEEAOwE3hvfXWubFauu6A6vCND07OmW9viq5vpsGT3AtRAN2XoA+BfAwQBiTweoNpMZw48BRwKuAoPN7zNVWwZjwAfpO9S7DN5cQmYAPw4cTvAsYPJ3qHcpvNmdUO9ieBMJZQT0AhMVgfeWUC8BP87cjjHfuA6sATY0c4c0EgpUUHslvTaq3l5aUL1N1oarAnxSCVWBTyYhJvyw41XJJI3GkpAH/yYyfHQJi01gdUL4qBKqCh9NQrtBx4wGvGi0XS6T9MhoTkN5AtZVDN5awlTePsGfwDfPjGwYGDKu3s4Cp4BRz/N8cskED0iaqciVt7wTvkra5roKlJEQGt5HwhdJ24vmAUUkDEV+VyCT9NBxbp/bXXnXTNBFQmz4IhI6wrs+C+zvICEVvIuEKUlbrZ4G97WRkBq+k4RJSVusd4ntlfSheVudrQh8q4SbmntH6K2kzSF3if1Xsfzq7LKAJR5/BwCdAQBJn4egPgAAAABJRU5ErkJggg==") no-repeat;
  background-size: 24px 24px;
}

.mediabox-close:hover {
  opacity: 0.5;
}

@media all and (max-width: 768px) {
  .mediabox-content {
    max-width: 90%;
  }
}
@media all and (max-width: 600px) {
  .mediabox-content iframe {
    height: 320px !important;
  }
  .mediabox-close {
    bottom: 362px;
  }
}
@media all and (max-width: 480px) {
  .mediabox-content iframe {
    height: 220px !important;
  }
  .mediabox-close {
    bottom: 262px;
  }
}
/* Style the Image Used to Trigger the Modal */
#myImg {
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
  margin-bottom: 3.236rem;
}

#myImg:hover {
  opacity: 0.7;
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.9); /* Black w/ opacity */
}

/* Modal Content (Image) */
.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
}

/* Caption of Modal Image (Image Text) - Same Width as the Image */
#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

/* Add Animation - Zoom in the Modal */
.modal-content, #caption {
  animation-name: zoom;
  animation-duration: 0.6s;
}

@keyframes zoom {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}
/* The Close Button */
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px) {
  .modal-content {
    width: 90%;
  }
}
.ui-datepicker {
  width: 216px;
  height: auto;
  margin: 5px auto 0;
  font: 9pt Arial, sans-serif;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
}

.ui-datepicker a {
  text-decoration: none;
}

.ui-datepicker table {
  width: 100%;
  border-collapse: collapse;
}

.ui-datepicker-header {
  background-color: #666;
  color: #e0e0e0;
  font-weight: 700;
  box-shadow: inset 0 1px 1px 0 rgba(250, 250, 250, 0.2);
  text-shadow: 1px -1px 0 #000;
  filter: dropshadow(color=#000, offx=1, offy=-1);
  line-height: 30px;
  min-height: 30px !important;
  border-width: 1px 0 0;
  border-style: solid;
  border-color: #666;
}

.ui-datepicker tbody tr, .ui-datepicker thead {
  border-bottom: 1px solid #bbb;
}

.ui-datepicker-title {
  text-align: center;
}

.ui-datepicker-title select {
  margin-top: 2.5%;
}

.ui-datepicker-next, .ui-datepicker-prev {
  display: inline-block;
  width: 30px;
  height: 30px;
  text-align: center;
  cursor: pointer;
  background-image: url(/wp-content/themes/yarmschool/images/datepicker/arrow.png);
  background-repeat: no-repeat;
  line-height: 600%;
  overflow: hidden;
}

.ui-datepicker-prev {
  float: left;
  background-position: center -30px;
}

.ui-datepicker-next {
  float: right;
  background-position: center 0;
}

.ui-datepicker thead {
  background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2Y3ZjdmNyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmMWYxZjEiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
  background: linear-gradient(to bottom, #f7f7f7 0, #f1f1f1 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f7f7f7', endColorstr='#f1f1f1', GradientType=0 );
}

.ui-datepicker th {
  text-transform: uppercase;
  text-align: center;
  font-size: 6pt;
  padding: 5px 0;
  color: #666;
  text-shadow: 1px 0 0 #fff;
  filter: dropshadow(color=#fff, offx=1, offy=0);
}

.ui-datepicker tbody td {
  padding: 0;
  border-top: 1px solid #bbb;
  border-right: 1px solid #bbb;
}

.ui-datepicker tbody td:last-child {
  border-right: 0;
}

.ui-datepicker tbody tr:last-child {
  border-bottom: 0;
}

.ui-datepicker td a, .ui-datepicker td span {
  display: inline-block;
  font-weight: 700;
  text-align: center;
  width: 30px;
  height: 30px;
  line-height: 30px;
  color: #666;
  text-shadow: 1px 1px 0 #fff;
  filter: dropshadow(color=#fff, offx=1, offy=1);
}

.ui-datepicker-calendar .ui-state-default {
  background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2VkZWRlZCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNkZWRlZGUiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
  background: linear-gradient(to bottom, #ededed 0, #dedede 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ededed', endColorstr='#dedede', GradientType=0 );
  box-shadow: inset 1px 1px 0 0 rgba(250, 250, 250, 0.5);
}

.ui-datepicker-calendar .ui-state-hover {
  background: #f7f7f7;
}

.ui-datepicker-calendar .ui-state-active {
  background: #FFF2AA;
  border: 1px solid #c19163;
  color: #666;
  box-shadow: inset 0 0 10px 0 rgba(0, 0, 0, 0.1);
  text-shadow: 0 1px 0 #FFF;
  filter: dropshadow(color=#FFF, offx=0, offy=1);
  position: relative;
  margin: -1px;
}

.ui-datepicker-unselectable .ui-state-default {
  background: #f4f4f4;
  color: #b4b3b3;
}

.ui-datepicker-calendar td:first-child .ui-state-active {
  width: 29px;
  margin-left: 0;
}

.ui-datepicker-calendar td:last-child .ui-state-active {
  width: 29px;
  margin-right: 0;
}

.ui-datepicker-calendar tr:last-child .ui-state-active {
  height: 29px;
  margin-bottom: 0;
}

td.ui-datepicker-unselectable.ui-state-disabled {
  background-color: #d7d7d7;
}

table.ui-datepicker-calendar {
  margin: 0 !important;
}

body div#ui-datepicker-div[style] {
  z-index: 9999 !important;
}

#moove_gdpr_cookie_info_bar.moove-gdpr-dark-scheme .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content p a {
  color: #03296A !important;
  transition: 0.25s linear color;
}
#moove_gdpr_cookie_info_bar.moove-gdpr-dark-scheme .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content p a:hover {
  color: rgb(0.8944954128, 12.2247706422, 31.6055045872) !important;
  transition: 0.25s linear color;
}

.moove-gdpr-cookie-notice p {
  font-weight: normal !important;
  font-family: "sofia-pro", sans-serif !important;
}

#moove_gdpr_cookie_info_bar {
  position: fixed !important;
  bottom: 0px !important;
  /* top: 50%; */
  right: 0;
  width: 100% !important;
  min-height: 172px !important;
  display: flex !important;
  align-items: center;
}
@media screen and (min-width: 48.54rem) {
  #moove_gdpr_cookie_info_bar {
    width: 50% !important;
    right: 25px;
    bottom: 100px !important;
  }
}
@media screen and (min-width: 80.9rem) {
  #moove_gdpr_cookie_info_bar {
    width: 40% !important;
    padding: 3.236rem !important;
  }
}
@media screen and (min-width: 97.08rem) {
  #moove_gdpr_cookie_info_bar {
    width: 33% !important;
    min-height: 140px !important;
  }
}
#moove_gdpr_cookie_info_bar {
  border-top: 0 !important;
  color: #03296A !important;
  z-index: 9900 !important;
  background-color: #f1f2f6 !important;
  border-top: 1px solid #fff !important;
  font-family: Nunito, sans-serif !important;
  transition: bottom 0.3s cubic-bezier(0.17, 0.04, 0.03, 0.94) !important;
  left: auto !important;
  left: unset !important;
  box-shadow: 1px 0px 18px -11px rgba(0, 0, 0, 0.4) !important;
}
#moove_gdpr_cookie_info_bar.moove-gdpr-info-bar-hidden {
  bottom: -400px !important;
  transition: bottom 0.3s cubic-bezier(0.17, 0.04, 0.03, 0.94) !important;
}

.moove-gdpr-info-bar-content {
  display: flex !important;
  justify-content: space-between !important;
}
.moove-gdpr-info-bar-content .moove-gdpr-cookie-notice {
  flex: 0 1 75% !important;
}
.moove-gdpr-info-bar-content p {
  margin-bottom: 12px !important;
}
.moove-gdpr-info-bar-content p:last-of-type {
  margin-bottom: 0 !important;
}

.mgbutton {
  font-size: 16px !important;
  padding: 0.809rem 1.618rem !important;
  background-color: #AE9A64 !important;
  border-radius: 0 !important;
}
.mgbutton:hover {
  background-color: rgb(146.4618644068, 127.563559322, 76.5381355932) !important;
  color: white !important;
}

.moove-gdpr-cookie-notice p {
  color: #03296A !important;
}

@media screen and (min-width: 80.9rem) {
  .moove-gdpr-info-bar-container {
    position: absolute !important;
    top: 50%;
    transform: translateY(-50%);
  }
}
.moove-gdpr-info-bar-container {
  display: inline-block;
  width: 100%;
  left: 0;
}

.is-hidden {
  display: none;
}

.is-visible {
  display: block;
}

.is-visuallyhidden {
  /*https://developer.yahoo.com/blogs/ydn/clip-hidden-content-better-accessibility-53456.html*/
  position: absolute !important;
  clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
  clip: rect(1px, 1px, 1px, 1px);
  padding: 0 !important;
  border: 0 !important;
  height: 1px !important;
  width: 1px !important;
  overflow: hidden;
  visibility: hidden;
}

.login form {
  margin-top: 0;
}

body.login div#login h1 a {
  background-image: url("/wp-content/themes/yarmschool/images/logo.svg");
  width: 188px;
  height: 100px;
  background-size: auto;
  margin: 0 auto;
}
body.login div#login h1 a:focus, body.login div#login h1 a:active {
  outline: none;
  border: 0 none;
  box-shadow: none;
}

body.login {
  background-color: #eee;
}
@media screen and (min-width: 48.54rem) {
  body.login {
    background-position: bottom 1.618rem right 1.618rem;
    background-size: 75px auto;
    background-repeat: no-repeat;
  }
}

@media screen and (min-width: 48.54rem) {
  body.login div#login {
    width: 320px;
    margin: auto;
    padding: 0;
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    height: 44em;
  }
}
body.login div#login h1 {
  margin-bottom: 3.236rem;
}

.login .message {
  margin-bottom: 0.809rem;
}

body.login div#login form#loginform,
body.login div#login form#lostpasswordform {
  box-shadow: inherit;
  -webkit-box-shadow: inherit;
  background-color: white;
  border: 1px solid #AE9A64;
}

body.login div#login form#loginform p label {
  font-size: 1rem;
  line-height: 1.8;
  color: #AE9A64;
  width: 100%;
}

body.login div#login form#loginform input.input {
  font-size: 1rem;
  padding: 0.809rem;
}

body.login div#login p#nav {
  font-size: 1rem;
  text-shadow: none;
}

body.login div#login p#nav {
  text-align: center;
}

body.login div#login p#nav a {
  color: #AE9A64 !important;
  text-decoration: none;
}

body.login div#login p#backtoblog {
  text-shadow: none;
  text-align: center;
}

body.login div#login p#backtoblog a {
  color: #AE9A64 !important;
  text-decoration: none;
}

body.login div#login .button, body.login div#login .mgbutton {
  clip-path: none !important;
  background: #AA1237;
  border: 0 none;
  text-shadow: none;
  box-shadow: none;
  border-radius: 0;
  margin-top: 0.809rem;
  font-size: 16px;
  padding: 14px;
  line-height: 1;
  display: inline-block;
  height: auto;
  transition: 0.25s linear background;
}
body.login div#login .button:hover, body.login div#login .mgbutton:hover {
  background: rgb(123.8829787234, 13.1170212766, 40.079787234);
  transition: 0.25s linear background;
}

.login #login_error, .login .message {
  font-size: 1rem;
  position: fixed;
  width: 100%;
  left: 0px;
  top: 0px;
  border: 0px none;
  background-color: #AE9A64;
  color: white;
  text-align: center;
  box-shadow: none;
}
.login #login_error a, .login .message a {
  color: white;
}
