  /*!
Theme Name: Function
Theme URI: http://underscores.me/
Author: Fivenines
Author URI: https://www.fivenines.co.uk
Description: A besoke theme for another amazing client!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: function
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

Function is based on Underscores https://underscores.me/, (C) 2012-2017 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
----------------------------------------------------------------
# Site Variables
--------------------------------------------------------------*/
/*------------------------------------------------------------*/
/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
/*! normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css */
/* Document
	 ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */ }

/* Sections
	 ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
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; }

/* Grouping content
	 ========================================================================== */
/**
 * 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 */ }

/**
 * 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
	 ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent; }

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

/**
 * 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 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; }

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

/* Forms
	 ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  line-height: 1.15;
  /* 1 */
  margin: 0;
  /* 2 */ }

/**
 * 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; }

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button; }

/**
 * 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; }

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em; }

/**
 * 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 */ }

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline; }

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto; }

/**
 * 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 in Chrome and Safari on macOS.
 */
[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
	 ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block; }

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

/* Misc
	 ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none; }

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

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
optgroup,
textarea {
  color: #404040;
  font-family: sans-serif;
  font-size: 16px;
  font-size: 1rem;
  line-height: 1.5; }

h1, h2, h3, h4, h5, h6 {
  clear: both; }

p {
  margin-bottom: 1.5em; }

dfn, cite, em, i {
  font-style: italic; }

blockquote {
  margin: 0 1.5em; }

address {
  margin: 0 0 1.5em; }

pre {
  background: #eee;
  font-family: "Courier 10 Pitch", Courier, monospace;
  font-size: 15px;
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 1.6em;
  max-width: 100%;
  overflow: auto;
  padding: 1.6em; }

code, kbd, tt, var {
  font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
  font-size: 15px;
  font-size: 0.9375rem; }

abbr, acronym {
  border-bottom: 1px dotted #666;
  cursor: help; }

mark, ins {
  background: #fff9c0;
  text-decoration: none; }

big {
  font-size: 125%; }

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
  box-sizing: border-box; }

*,
*:before,
*:after {
  /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see https://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
  box-sizing: inherit; }

body {
  background: #fff;
  /* Fallback for when there is no custom background color defined. */ }

hr {
  background-color: #ccc;
  border: 0;
  height: 1px;
  margin-bottom: 1.5em; }

ul, ol {
  margin: 0 0 1.5em 3em; }

ul {
  list-style: disc; }

ol {
  list-style: decimal; }

li > ul,
li > ol {
  margin-bottom: 0;
  margin-left: 1.5em; }

dt {
  font-weight: bold; }

dd {
  margin: 0 1.5em 1.5em; }

img {
  height: auto;
  /* Make sure images are scaled correctly. */
  max-width: 100%;
  /* Adhere to container width. */ }

figure {
  margin: 1em 0;
  /* Extra wide images within figure tags don't overflow the content area. */ }

table {
  margin: 0 0 1.5em;
  width: 100%; }

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  border: 1px solid;
  border-color: #ccc #ccc #bbb;
  border-radius: 3px;
  background: #e6e6e6;
  color: rgba(0, 0, 0, 0.8);
  font-size: 12px;
  font-size: 0.75rem;
  line-height: 1;
  padding: 0.6em 1em 0.4em; }
  button:hover,
  input[type="button"]:hover,
  input[type="reset"]:hover,
  input[type="submit"]:hover {
    border-color: #ccc #bbb #aaa; }
  button:active,
  button:focus,
  input[type="button"]:active,
  input[type="button"]:focus,
  input[type="reset"]:active,
  input[type="reset"]:focus,
  input[type="submit"]:active,
  input[type="submit"]:focus {
    border-color: #aaa #bbb #bbb; }

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
  color: #666;
  border: 1px solid #ccc;
  border-radius: 3px;
  padding: 3px; }
  input[type="text"]:focus,
  input[type="email"]:focus,
  input[type="url"]:focus,
  input[type="password"]:focus,
  input[type="search"]:focus,
  input[type="number"]:focus,
  input[type="tel"]:focus,
  input[type="range"]:focus,
  input[type="date"]:focus,
  input[type="month"]:focus,
  input[type="week"]:focus,
  input[type="time"]:focus,
  input[type="datetime"]:focus,
  input[type="datetime-local"]:focus,
  input[type="color"]:focus,
  textarea:focus {
    color: #111; }

select {
  border: 1px solid #ccc; }

textarea {
  width: 100%; }

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
  color: #004812; }
  a:hover,
  a:focus,
  a:active {
    color: #3EA139; }
  a:focus {
    outline: thin dotted; }
  a:hover,
  a:active {
    outline: 0; }

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.main-navigation {
  clear: both;
  display: block;
  text-align: right;
  width: 100%; }
  .main-navigation ul {
    list-style: none;
    margin: 0;
    padding-left: 0; }
    .main-navigation ul ul {
      box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
      text-align: left;
      float: left;
      position: absolute;
      top: 100%;
      left: -999em;
      z-index: 99999; }
      .main-navigation ul ul ul {
        left: -999em;
        top: 0; }
      .main-navigation ul ul li:hover > ul,
      .main-navigation ul ul li.focus > ul {
        left: 100%; }
    .main-navigation ul li:hover > ul,
    .main-navigation ul li.focus > ul {
      left: auto; }
  .main-navigation li {
    position: relative;
    display: inline-block; }
  .main-navigation a {
    display: block;
    text-decoration: none; }

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
  display: block; }

@media screen and (min-width: 37.5em) {
  .menu-toggle {
    display: none; }
  .main-navigation ul {
    display: block; } }

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
  margin: 0 0 1.5em;
  overflow: hidden; }

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
  float: left;
  width: 50%; }

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
  float: right;
  text-align: right;
  width: 50%; }

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
  /* Many screen reader and browser combinations announce broken words as they would appear visually. */ }
  .screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
    /* Above WP toolbar. */ }

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
  outline: 0; }

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
  display: inline;
  float: left;
  margin-right: 1.5em; }

.alignright {
  display: inline;
  float: right;
  margin-left: 1.5em; }

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto; }

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
  content: "";
  display: table;
  table-layout: fixed; }

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
  clear: both; }

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
  margin: 0 0 1.5em;
  /* Make sure select elements fit in widgets. */ }
  .widget select {
    max-width: 100%; }

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {
  display: block; }

.updated:not(.published) {
  display: none; }

.page-links {
  clear: both;
  margin: 0 0 1.5em; }

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
  word-wrap: break-word; }

.bypostauthor {
  display: block; }

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation, .infinite-scroll.neverending .site-footer {
  /* Theme Footer (when set to scrolling) */
  display: none; }

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
  display: block; }

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
  border: none;
  margin-bottom: 0;
  margin-top: 0;
  padding: 0; }

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
  max-width: 100%; }

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
  display: inline-block; }

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
  margin-bottom: 1.5em;
  max-width: 100%; }
  .wp-caption img[class*="wp-image-"] {
    display: block;
    margin-left: auto;
    margin-right: auto; }
  .wp-caption .wp-caption-text {
    margin: 0.8075em 0; }

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

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
  margin-bottom: 1.5em; }

.gallery-item {
  display: inline-block;
  text-align: center;
  vertical-align: top;
  width: 100%; }
  .gallery-columns-2 .gallery-item {
    max-width: 50%; }
  .gallery-columns-3 .gallery-item {
    max-width: 33.33%; }
  .gallery-columns-4 .gallery-item {
    max-width: 25%; }
  .gallery-columns-5 .gallery-item {
    max-width: 20%; }
  .gallery-columns-6 .gallery-item {
    max-width: 16.66%; }
  .gallery-columns-7 .gallery-item {
    max-width: 14.28%; }
  .gallery-columns-8 .gallery-item {
    max-width: 12.5%; }
  .gallery-columns-9 .gallery-item {
    max-width: 11.11%; }

.gallery-caption {
  display: block; }

/*--------------------------------------------------------------
# Flexi
--------------------------------------------------------------*/
.alertbox {
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0px 4px 8px 2px rgba(0, 0, 0, 0.15);
  position: relative; }
  .alertbox h3.alert-title {
    margin-top: 0;
    color: #3ea038; }
  .alertbox p {
    font-size: 0.8rem; }
    .alertbox p:last-of-type {
      margin-bottom: 0; }

.downloads .download {
  display: block;
  margin-bottom: 20px;
  text-decoration: none;
  color: #575656;
  transition: all 0.3s ease-in-out; }
  .downloads .download .icon .inner, .downloads .download .title, .downloads .download .type {
    padding-top: 15px;
    padding-bottom: 15px; }
  .downloads .download .icon, .downloads .download .type {
    text-align: center; }
  .downloads .download .icon {
    font-size: 1.2em; }
  .downloads .download .title {
    padding-left: 15px; }
  .downloads .download .type {
    font-weight: 400;
    opacity: 0.5; }
  .downloads .download:hover {
    transform: translateY(4px);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15); }
    .downloads .download:hover .icon {
      background: #004812;
      color: #fff; }

.team .person {
  text-align: center; }
  .team .person img {
    margin-top: 1em;
    border-radius: 50%; }
  .team .person h4 {
    font-size: 1rem;
    margin-top: .5em;
    margin-bottom: 0;
    line-height: 1; }
  .team .person .position {
    font-size: 0.8em;
    color: #888; }

.team .has-bio img {
  border: 4px solid transparent; }

.team .has-bio .bio {
  font-size: 0.8em;
  background: #004812;
  color: #fff;
  padding: 15px;
  position: absolute;
  left: 0;
  right: 0;
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease-in;
  transition-delay: .3s;
  box-shadow: 0px 4px 8px 2px rgba(0, 0, 0, 0.15);
  z-index: 1; }
  .team .has-bio .bio:before {
    content: "";
    display: block;
    position: absolute;
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-bottom: 10px solid #004812;
    border-right: 20px solid transparent;
    top: -10px;
    left: 50%;
    right: 50%;
    transform: translateX(-50%); }

.team .has-bio:hover img {
  border-color: #fc0; }

.team .has-bio:hover .bio {
  opacity: 1;
  transform: translateY(0); }

#leadership-team .person {
  margin-bottom: 20px; }

#leadership-team img {
  display: block;
  border-radius: 50%;
  margin: 0 auto 20px;
  box-shadow: 0px 4px 8px 2px rgba(0, 0, 0, 0.15); }

#leadership-team h4 {
  margin-top: 10px;
  margin-bottom: 0; }

#leadership-team .position {
  margin-bottom: 10px;
  font-size: 0.9em;
  opacity: 0.8; }

#leadership-team blockquote {
  border: none;
  margin-left: 0;
  padding-top: 10px;
  padding-left: 0;
  border-top: 1px solid #ccc; }

#leadership-team .bio-more {
  font-weight: 700;
  color: #3EA139;
  cursor: pointer;
  margin-top: 10px;
  margin-bottom: 10px; }
  #leadership-team .bio-more:before {
    content: "\f067";
    font-family: "Font Awesome 5 Pro";
    margin-right: 5px; }

.nav-pills .nav-link {
  color: #888;
  border-radius: 0;
  border-bottom: 1px solid #eee; }
  .nav-pills .nav-link:not(.active):hover {
    color: #3EA139; }

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  background: #005d26;
  border-bottom: none; }

.tab-content {
  padding: 20px 30px;
  font-size: 0.8em; }
  .tab-content h4 {
    font-size: 1.1rem;
    color: #004812;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #eee; }

.person-quote {
  margin-bottom: 30px; }
  .person-quote .person strong {
    display: block; }
  .person-quote .image {
    z-index: 1; }
    .person-quote .image img {
      border-radius: 50%; }
  .person-quote .quote {
    font-size: 0.9em;
    font-style: italic; }
  @media (min-width: 992px) {
    .person-quote .person {
      background: #f3f3f3;
      padding: 10px;
      position: absolute;
      left: 15px;
      right: 15px;
      bottom: 20px; }
      .person-quote .person strong {
        display: inline; }
      .person-quote .person span:before {
        content: " - "; }
    .person-quote .quote {
      margin-bottom: 80px; } }

.btn {
  margin-bottom: 15px;
  line-height: 2rem;
  border-radius: 0;
  font-weight: 800;
  transition: all 0.3s ease-in-out;
  white-space: normal; }
  .btn i {
    float: left;
    line-height: 2rem;
    font-size: 1.4em;
    margin-right: 10px;
    opacity: 0.6; }
  .btn:hover {
    transform: translateY(4px);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15); }
    .btn:hover i {
      opacity: 1; }

.btn-orange {
  background-color: #FFCD06;
  color: #fff; }
  .btn-orange:hover, .btn-orange:active, .btn-orange:focus {
    background-color: #e49100;
    color: #fff; }

.btn-green {
  background-color: #004812;
  color: #fff; }
  .btn-green:hover, .btn-green:active, .btn-green:focus {
    background-color: #3EA139;
    color: #fff; }

a.readmore {
  color: #005d26;
  text-decoration: none;
  padding: 15px;
  display: block;
  width: 100%; }
  a.readmore .title {
    display: block;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1; }
    a.readmore .title i {
      color: #ccc; }
  a.readmore .subtitle {
    margin-left: 1.5rem;
    font-size: 0.8em;
    color: #888; }
  a.readmore:hover {
    background-color: #f5f5f5; }
    a.readmore:hover .title i {
      color: #000; }

.multi-images .multi-image {
  margin-bottom: 30px; }
  .multi-images .multi-image .lift {
    height: 100%; }
  .multi-images .multi-image .img-bg {
    min-height: 165px;
    background-position: center center;
    background-repeat: no-repeat; }
  .multi-images .multi-image h4 {
    font-size: 1.2rem;
    margin: 0;
    padding: 5px;
    background-color: #3EA139;
    color: #fff;
    text-align: center; }
  .multi-images .multi-image .text {
    font-size: 0.7rem;
    padding: 10px 15px; }
  .multi-images .multi-image a {
    text-decoration: none; }
    .multi-images .multi-image a .lift {
      box-shadow: 0 4px 12px 2px rgba(0, 0, 0, 0.15);
      transition: .3s all ease-in-out; }
    .multi-images .multi-image a:hover .lift {
      box-shadow: 0 0px 12px 2px rgba(0, 0, 0, 0.15);
      transform: translateY(4px); }
    .multi-images .multi-image a:hover h4 {
      background-color: #004812; }

.success-stories {
  margin-bottom: 30px; }
  .success-stories .success-story .inner {
    color: #fff;
    background-color: #3EA139;
    padding: 15px;
    height: 100%; }
  .success-stories .success-story:nth-child(even) .inner {
    background-color: #379232; }
  .success-stories .success-story .stars {
    font-size: 2rem;
    margin-bottom: 15px;
    text-align: center; }
  .success-stories .success-story .text {
    font-size: 0.7rem;
    text-align: center; }
  .success-stories .success-story:hover .inner {
    background-color: #004812; }
  .success-stories .success-story:hover .stars {
    color: #FFCD06; }
    .success-stories .success-story:hover .stars i:before {
      font-weight: 800; }

.video-embed {
  margin-bottom: 20px; }

#cs-buttons a {
  display: block;
  margin-bottom: 30px;
  text-decoration: none;
  color: #aaa;
  transition: all 0.3s ease-in-out; }
  #cs-buttons a:hover {
    transform: translateY(4px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); }
  #cs-buttons a .image {
    position: relative;
    min-height: 110px;
    background: #ccc;
    overflow: hidden; }
    #cs-buttons a .image .image-bg {
      position: absolute;
      top: 0;
      right: 0;
      bottom: 0;
      left: 0;
      background-position: center center;
      background-size: cover; }
  #cs-buttons a .inner {
    padding: 30px;
    text-align: center;
    font-weight: normal; }
    #cs-buttons a .inner h5 {
      color: #004812; }

#cs-intro {
  margin-bottom: 30px; }
  #cs-intro h3 {
    padding: 15px 20px;
    margin: 0;
    background: #005d26;
    color: #fff;
    border: none; }
    #cs-intro h3 i {
      float: right;
      font-size: 1.8rem;
      line-height: 1.4rem;
      opacity: 0.5; }
  #cs-intro .cs-content {
    padding: 15px 20px; }
    #cs-intro .cs-content .title {
      font-weight: bold; }

.mastersofrecall h2 {
  margin-bottom: 15px; }

.mastersofrecall .moc {
  display: block;
  margin: 5px;
  padding: 15px;
  background-color: #3EA139;
  color: #fff;
  text-decoration: none;
  font-weight: normal;
  background-image: url(/wp-content/themes/function/img/bg-logo.svg);
  background-size: contain;
  background-position: 110% 20px;
  background-repeat: no-repeat; }
  .mastersofrecall .moc:after {
    content: "\f0ed";
    font-family: "Font Awesome 5 Pro";
    float: right;
    font-size: 1.2rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease-in; }
  .mastersofrecall .moc:hover {
    background-color: #297d24; }
    .mastersofrecall .moc:hover:after {
      opacity: 1;
      transform: translateY(0px); }
  .mastersofrecall .moc h5 {
    margin-bottom: 3px; }
  .mastersofrecall .moc .title {
    font-size: 0.8rem; }

.branded-links .branded-link {
  display: block;
  margin-bottom: 30px;
  text-decoration: none;
  font-weight: normal; }
  .branded-links .branded-link .img-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 15px; }
  .branded-links .branded-link h5 {
    margin-top: 15px;
    margin-bottom: 3px;
    line-height: 1; }
  .branded-links .branded-link p {
    font-size: 0.8rem; }
  .branded-links .branded-link .btn {
    margin-bottom: 0;
    width: 100%; }
    .branded-links .branded-link .btn i {
      font-size: 1rem; }
  @media (min-width: 992px) {
    .branded-links .branded-link h5 {
      margin-top: 0; }
    .branded-links .branded-link .btn {
      width: auto; } }

#quotes {
  margin-bottom: 30px; }
  #quotes blockquote {
    margin-left: 0; }
  #quotes .carousel-indicators li {
    bottom: -20px;
    background-color: #e6e6e6; }
    #quotes .carousel-indicators li.active {
      background-color: #3EA139; }
  #quotes .carousel-control-prev, #quotes .carousel-control-next {
    position: relative;
    display: inline-block;
    width: 30px;
    height: 30px;
    background-color: #ccc;
    color: #fff;
    font-size: 1.4rem;
    line-height: 30px; }
  #quotes .carousel-control-prev {
    left: 15px;
    width: 30px; }
  #quotes .carousel-control-next {
    left: 15px;
    width: 30px; }

.list-images .bg-colour {
  background-blend-mode: soft-light;
  background-size: cover;
  background-position: center center; }

@font-face {
  font-family: 'TMAT';
  src: url("/wp-content/themes/function/static/fonts/tmat/tmat.eot");
  src: url("/wp-content/themes/function//wp-content/themes/function/static/fonts/tmat/tmat.eot") format("embedded-opentype"), url("/wp-content/themes/function/static/fonts/tmat/tmat.woff") format("woff"), url("/wp-content/themes/function/static/fonts/tmat/tmat.ttf") format("truetype");
  font-weight: normal;
  font-style: normal; }

html.sr .sr-std, html.sr .sr-dly, html.sr .sr-slow {
  visibility: hidden; }

* {
  -webkit-font-smoothing: antialiased; }

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'TMAT', sans-serif; }

/* Cookie Banner */
#cookie-law {
  margin: 0 auto;
  background: #333;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  font-size: 0.8em;
  z-index: 99; }

#cookie-law p {
  text-align: center;
  font-size: 1em;
  line-height: 1.2;
  color: #fff;
  padding: 12px;
  margin: 0; }

#cookie-law p a {
  color: #fff !important;
  font-weight: 700; }

#cookie-law .close-cookie-banner {
  display: block;
  margin: 10px 0; }

#cookie-law svg {
  width: 15px;
  height: 15px;
  display: inline-block;
  vertical-align: bottom; }

@media (min-width: 1024px) {
  #cookie-law .close-cookie-banner {
    float: right;
    padding-right: 10px;
    display: initial;
    margin: 0; } }

#alert {
  position: relative;
  overflow: auto;
  background: #ffcd07;
  padding: 10px;
  color: #403301;
  font-weight: bold;
  text-align: center;
  z-index: 999; }
  #alert p {
    margin: 0;
    line-height: 1.2; }
    #alert p a {
      opacity: 0.8;
      text-decoration: underline; }
      #alert p a:hover {
        opacity: 1; }
  #alert i {
    font-size: 1.5rem;
    opacity: 0.3; }
    #alert i.right {
      display: none; }
  @media (min-width: 992px) {
    #alert i.left {
      float: left; }
    #alert i.right {
      display: inline-block;
      float: right; } }

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10; }
  .site-header .site-branding {
    padding-top: 10px;
    padding-bottom: 10px; }
    .site-header .site-branding .site-logo {
      display: inline-block;
      position: relative;
      float: left;
      margin-bottom: -80px;
      z-index: 9; }
    .site-header .site-branding ul.site-controls {
      list-style: none;
      margin: 0;
      padding: 0;
      text-align: right; }
      .site-header .site-branding ul.site-controls li {
        display: inline-block; }
        .site-header .site-branding ul.site-controls li a {
          color: #fff; }
        .site-header .site-branding ul.site-controls li.search {
          margin-right: 15px; }
        .site-header .site-branding ul.site-controls li.twitter {
          margin-right: 15px;
          font-size: 1.3em;
          vertical-align: middle; }
    @media (min-width: 992px) {
      .site-header .site-branding .site-logo {
        margin-bottom: -64px; } }
  .site-header .search-form {
    position: relative; }
    .site-header .search-form input {
      border-radius: 20px;
      padding: 5px 15px;
      border: none;
      background: #fff;
      width: 250px;
      max-width: 0;
      outline: none;
      font-size: 0.9em;
      opacity: 0;
      transition: all 1s;
      -webkit-transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
      transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1); }
    .site-header .search-form i {
      position: absolute;
      right: 2px;
      top: 2px;
      width: 30px;
      height: 30px;
      border-radius: 50%;
      line-height: 28px;
      text-align: center;
      color: #fff;
      pointer-events: none; }
    .site-header .search-form:hover input, .site-header .search-form input:focus {
      max-width: 250px;
      opacity: 1;
      box-shadow: inset 1px 1px 5px rgba(0, 0, 0, 0.1); }
  .site-header .main-navigation {
    background-color: #004812; }
    .site-header .main-navigation .toplevel > a {
      pointer-events: none; }
    .site-header .main-navigation li a {
      color: #fff; }
    @media (min-width: 992px) {
      .site-header .main-navigation {
        background: linear-gradient(to right, transparent 0%, #004812 30%); }
        .site-header .main-navigation #primary-menu > li.current_page_item, .site-header .main-navigation #primary-menu > li.current_page_parent, .site-header .main-navigation #primary-menu > li.current_page_ancestor {
          background: rgba(0, 0, 0, 0.1); }
        .site-header .main-navigation li {
          transition: background 0.3s; }
          .site-header .main-navigation li a {
            padding: 16px 15px; }
          .site-header .main-navigation li:hover {
            background: rgba(255, 255, 255, 0.1); }
        .site-header .main-navigation .sub-menu {
          text-align: left;
          margin-top: 20px;
          background: #fff;
          opacity: 0;
          transition: 0.5s margin, 0.25s opacity; }
          .site-header .main-navigation .sub-menu li a {
            color: #666;
            font-size: 0.8em;
            padding: 10px 15px;
            width: 210px; }
          .site-header .main-navigation .sub-menu li.menu-item-has-children > a:after {
            content: "\f0da";
            font-family: "Font Awesome 5 Pro";
            font-weight: 800;
            float: right; }
          .site-header .main-navigation .sub-menu li:hover > a {
            background-color: rgba(0, 0, 0, 0.05);
            color: #000; }
        .site-header .main-navigation li:hover .sub-menu {
          margin-top: 0;
          opacity: 1; } }

@media (max-width: 991px) {
  body {
    transition: transform 0.3s; }
    body .mobile-bar {
      background: #005223;
      margin-top: 10px;
      padding-top: 15px;
      padding-bottom: 15px;
      margin-bottom: -10px; }
      body .mobile-bar .site-controls .tmat {
        width: 100px;
        margin-top: 2px; }
      body .mobile-bar .site-controls .search {
        display: none !important; }
      body .mobile-bar .site-controls .twitter a {
        color: #fff !important; }
    body .main-navigation {
      position: fixed;
      top: 0;
      right: 0;
      bottom: 0;
      left: 100%;
      width: 80%;
      text-align: left;
      background-image: url(/wp-content/themes/function/img/bg-logo.svg);
      background-position: 70px 340px;
      background-size: 100%;
      background-repeat: no-repeat; }
      body .main-navigation .container {
        padding-left: 0;
        padding-right: 0; }
      body .main-navigation #primary-menu > li.current_page_item > a, body .main-navigation #primary-menu > li.current_page_parent > a, body .main-navigation #primary-menu > li.current_page_ancestor > a {
        font-weight: bold; }
      body .main-navigation li {
        float: none;
        display: block;
        position: relative; }
        body .main-navigation li a {
          padding: 10px 15px; }
        body .main-navigation li .arrow {
          position: absolute;
          top: 0;
          right: 0;
          height: 44px;
          width: 50px;
          background: rgba(0, 0, 0, 0.1); }
          body .main-navigation li .arrow:before {
            content: "\f107";
            display: block;
            font-family: "Font Awesome 5 Pro";
            font-weight: 400;
            font-size: 1.4rem;
            text-align: center;
            color: #fff;
            width: 50px;
            line-height: 44px; }
        body .main-navigation li .sub-menu {
          max-height: 0;
          transition: max-height 0.3s;
          float: none;
          position: initial;
          overflow: hidden;
          box-shadow: none;
          background: rgba(0, 0, 0, 0.1);
          font-size: 0.9rem; }
          body .main-navigation li .sub-menu a {
            padding-left: 30px;
            line-height: 1.5rem; }
          body .main-navigation li .sub-menu ul {
            background: #004a20; }
            body .main-navigation li .sub-menu ul a {
              padding-left: 40px; }
        body .main-navigation li.open > .sub-menu {
          max-height: 700px; }
      body .main-navigation .menu > li {
        -webkit-transition: -webkit-transform 0s 0.4s;
        transition: transform 0s 0.4s;
        -webkit-transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
        transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1); }
      body .main-navigation .menu > li {
        display: block;
        -webkit-transform: translate3d(0, 500px, 0);
        transform: translate3d(0, 500px, 0); }
      body .main-navigation .menu > li:nth-child(2) {
        -webkit-transform: translate3d(0, 1000px, 0);
        transform: translate3d(0, 1000px, 0); }
      body .main-navigation .menu > li:nth-child(3) {
        -webkit-transform: translate3d(0, 1500px, 0);
        transform: translate3d(0, 1500px, 0); }
      body .main-navigation .menu > li:nth-child(4) {
        -webkit-transform: translate3d(0, 2000px, 0);
        transform: translate3d(0, 2000px, 0); }
      body .main-navigation .menu > li:nth-child(5) {
        -webkit-transform: translate3d(0, 2500px, 0);
        transform: translate3d(0, 2500px, 0); }
      body .main-navigation .menu > li:nth-child(6) {
        -webkit-transform: translate3d(0, 3000px, 0);
        transform: translate3d(0, 3000px, 0); }
      body .main-navigation .menu > li:nth-child(7) {
        -webkit-transform: translate3d(0, 3500px, 0);
        transform: translate3d(0, 3500px, 0); }
      body .main-navigation .menu > li:nth-child(8) {
        -webkit-transform: translate3d(0, 4000px, 0);
        transform: translate3d(0, 4000px, 0); }
      body .main-navigation .menu > li:nth-child(9) {
        -webkit-transform: translate3d(0, 4500px, 0);
        transform: translate3d(0, 4500px, 0); }
      body .main-navigation .menu > li:nth-child(10) {
        -webkit-transform: translate3d(0, 5000px, 0);
        transform: translate3d(0, 5000px, 0); }
      body .main-navigation .menu > li:nth-child(11) {
        -webkit-transform: translate3d(0, 5500px, 0);
        transform: translate3d(0, 5500px, 0); }
      body .main-navigation .menu > li:nth-child(12) {
        -webkit-transform: translate3d(0, 6000px, 0);
        transform: translate3d(0, 6000px, 0); }
    body.toggled {
      transform: translateX(-80%); }
      body.toggled button.toggle:before {
        content: "\f00d"; }
      body.toggled .main-navigation .menu > li {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
        -webkit-transition: -webkit-transform 0.8s;
        transition: transform 0.8s;
        -webkit-transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
        transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1); }
  button.toggle {
    background: #e3eae4;
    border: none;
    width: 44px;
    height: 44px; }
    button.toggle:before {
      content: "\f0c9";
      font-family: "Font Awesome 5 Pro";
      font-weight: 400;
      font-size: 2em;
      color: #3EA139; } }

#ofsted {
  position: fixed;
  left: 0;
  top: 200px;
  transition: opacity 0.3s ease-in-out; }
  #ofsted.hide {
    opacity: 0; }
  @media (max-width: 992px) {
    #ofsted {
      display: none; } }

.site-footer {
  background: #004812;
  margin-top: 10em;
  /* Design By */ }
  .site-footer .highlight {
    background: #fff;
    box-shadow: 0px 4px 8px 2px rgba(0, 0, 0, 0.15);
    text-align: center;
    padding: 20px;
    margin-top: -5em;
    margin-bottom: 2em; }
    .site-footer .highlight p {
      margin-bottom: 10px;
      font-size: 0.8em;
      color: #666;
      background: #f9f9f9;
      padding: 5px; }
    .site-footer .highlight .logo {
      display: block;
      margin-top: 10px;
      margin-bottom: 10px;
      transition: transform 0.3s ease-out; }
      .site-footer .highlight .logo.ttsa {
        padding: 0 10px; }
      .site-footer .highlight .logo.mhwy {
        padding: 0 20px; }
      .site-footer .highlight .logo.wre {
        padding: 0 10px; }
      .site-footer .highlight .logo:hover {
        transform: translateY(-3px); }
  .site-footer .signoff {
    text-align: center;
    color: #fff;
    margin-bottom: 2em; }
    .site-footer .signoff p {
      margin-bottom: 0; }
    .site-footer .signoff a {
      color: #fff; }
  @media (min-width: 992px) {
    .site-footer {
      margin-top: 10em; } }
  .site-footer .designby {
    color: rgba(255, 255, 255, 0.5);
    font-weight: 100;
    text-align: center; }
  .site-footer .designby a {
    color: #ffffff;
    font-weight: 400;
    text-decoration: none; }
  .site-footer .designby a img {
    transition: all 0.5s ease-in-out; }
  .site-footer .designby a:hover img.fivenines {
    transform: rotate(75deg);
    transition: all 0.5s ease-in-out; }
  @media (min-width: 768px) {
    .site-footer footer {
      text-align: left; }
    .site-footer footer .logo {
      margin-top: 0;
      margin-bottom: 0; }
    .site-footer .designby {
      text-align: right; } }

.block {
  margin-top: 4em;
  margin-bottom: 4em; }

.lift {
  box-shadow: 0 4px 12px 2px rgba(0, 0, 0, 0.15); }

.entry-content table tr th, .entry-content table tr td {
  width: auto;
  padding: 3px 5px;
  vertical-align: text-bottom; }

.entry-content table tr th {
  background: #004812;
  color: #fff;
  text-align: center; }

.entry-content table tr td {
  width: auto; }

.entry-content table tr:nth-child(odd) td {
  background: #f4f4f4; }

.entry-content table ul {
  margin-bottom: 0; }

#hero {
  min-height: 550px;
  background: #eee;
  margin-top: 0; }
  #hero:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 20%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.438) 19%, rgba(0, 0, 0, 0.341) 34%, rgba(0, 0, 0, 0.282) 47%, rgba(0, 0, 0, 0.178) 56.5%, rgba(0, 0, 0, 0.144) 65%, rgba(0, 0, 0, 0.126) 73%, rgba(0, 0, 0, 0.075) 80.2%, rgba(0, 0, 0, 0.042) 86.1%, rgba(0, 0, 0, 0.021) 91%, rgba(0, 0, 0, 0.008) 95.2%, rgba(0, 0, 0, 0.002) 98.2%, transparent 100%);
    z-index: 1; }
  #hero .carousel-indicators {
    right: auto;
    bottom: 0;
    margin-left: 0;
    left: auto; }
  #hero .carousel-item {
    min-height: 550px;
    background-size: cover;
    background-position: center center; }
    #hero .carousel-item:before {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0;
      height: 225px;
      background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.738) 19%, rgba(0, 0, 0, 0.541) 34%, rgba(0, 0, 0, 0.382) 47%, rgba(0, 0, 0, 0.278) 56.5%, rgba(0, 0, 0, 0.194) 65%, rgba(0, 0, 0, 0.126) 73%, rgba(0, 0, 0, 0.075) 80.2%, rgba(0, 0, 0, 0.042) 86.1%, rgba(0, 0, 0, 0.021) 91%, rgba(0, 0, 0, 0.008) 95.2%, rgba(0, 0, 0, 0.002) 98.2%, transparent 100%); }
    #hero .carousel-item .caption {
      position: absolute;
      bottom: 0;
      color: #fff;
      padding-bottom: 20px;
      opacity: 0;
      transform: translateY(50%);
      transition: all 0.5s ease; }
      #hero .carousel-item .caption h2, #hero .carousel-item .caption p {
        line-height: 1; }
    #hero .carousel-item.active .caption {
      opacity: 1;
      transform: translateY(0); }
  @media (min-width: 992px) {
    #hero {
      min-height: 650px; }
      #hero .carousel-item {
        min-height: 650px; } }

#intro .box-attention {
  position: relative;
  background: #004812;
  color: #fff;
  text-align: center; }
  #intro .box-attention a {
    color: #fff;
    text-decoration: none;
    display: block;
    padding: 50px; }
    #intro .box-attention a p {
      font-size: 2em;
      font-weight: 800;
      line-height: 1;
      margin-bottom: 20px;
      min-height: 4rem; }
    #intro .box-attention a span {
      opacity: 0.5; }
    #intro .box-attention a:hover span {
      opacity: 1; }
  @media (min-width: 992px) {
    #intro .box-attention {
      margin-top: -170px; } }

#intro .box-quote {
  background: -webkit-linear-gradient(left, #F3F3F3, #ffffff);
  background: -o-linear-gradient(left, #F3F3F3, #ffffff);
  background: linear-gradient(to right, #F3F3F3, #ffffff);
  padding: 30px;
  margin-left: 30px; }
  #intro .box-quote span {
    display: block;
    opacity: 0.6;
    margin-bottom: 1em; }
    #intro .box-quote span:before {
      content: "";
      display: inline-block;
      background-image: url(/wp-content/themes/function/img/icon-quote.svg);
      background-size: cover;
      background-repeat: no-repeat;
      width: 28px;
      height: 22px;
      margin-right: 10px;
      vertical-align: top; }
  #intro .box-quote p {
    font-size: 1.2em; }
  #intro .box-quote .carousel-indicators {
    left: 0;
    bottom: 0;
    margin-left: 0;
    justify-content: left;
    margin-bottom: 0; }
    #intro .box-quote .carousel-indicators li {
      background-color: rgba(0, 0, 0, 0.25); }
      #intro .box-quote .carousel-indicators li.active {
        background-color: #004812; }

#welcome {
  padding-top: 4em;
  padding-bottom: 4em;
  background: #F3F3F3; }
  #welcome .quote {
    font-size: 1.3em;
    font-weight: 600;
    line-height: 1.2;
    color: #004a05;
    margin-bottom: 15px; }
    #welcome .quote:before {
      content: "";
      display: inline-block;
      background-image: url(/wp-content/themes/function/img/icon-quote.svg);
      background-size: cover;
      background-repeat: no-repeat;
      width: 28px;
      height: 22px;
      margin-right: 10px;
      vertical-align: bottom; }
  @media (max-width: 991px) {
    #welcome .principal {
      border-radius: 50%;
      overflow: hidden;
      text-align: center;
      height: 200px;
      width: 200px;
      padding: 0;
      margin: 0 auto 20px; }
    #welcome .pricipal-sig {
      text-align: center; } }

#whatson .events a {
  display: block;
  text-align: center;
  text-decoration: none;
  color: #444;
  margin-bottom: 30px;
  transition: all 0.3s ease-in-out; }
  #whatson .events a .image {
    position: relative;
    min-height: 200px;
    background: #ccc;
    overflow: hidden; }
    #whatson .events a .image .image-bg {
      position: absolute;
      top: 0;
      right: 0;
      bottom: 0;
      left: 0;
      background-position: center center;
      background-size: cover; }
    #whatson .events a .image .image-overlay {
      position: absolute;
      width: 100%;
      height: 100%;
      opacity: 0; }
      #whatson .events a .image .image-overlay:before {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background: rgba(0, 0, 0, 0.5);
        color: #fff; }
      #whatson .events a .image .image-overlay span {
        position: relative;
        padding: 5px 15px;
        color: #fff; }
        #whatson .events a .image .image-overlay span i {
          margin-right: 5px; }
  #whatson .events a .inner {
    padding: 20px 30px; }
    #whatson .events a .inner h5 {
      min-height: 2.5em; }
  #whatson .events a .meta {
    font-size: 0.8em;
    color: #b2b2b2; }
    #whatson .events a .meta .leaders {
      color: #004812;
      font-weight: 800; }
    #whatson .events a .meta .date {
      margin-top: 10px;
      color: #004812; }
  #whatson .events a:hover {
    transform: translateY(4px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); }
    #whatson .events a:hover .image-overlay {
      opacity: 1; }

.tweets .twitter-link {
  display: block;
  background: #004812;
  color: #fff;
  font-size: 1.2em;
  line-height: 1;
  font-weight: 800;
  padding: 10px 15px;
  text-decoration: none; }
  .tweets .twitter-link i {
    float: right;
    opacity: 0.5; }
  .tweets .twitter-link:hover {
    background: #3EA139; }
    .tweets .twitter-link:hover i {
      opacity: 1; }

.tweets .rotatingtweets {
  border: none; }
  .tweets .rotatingtweets .rtw_main {
    font-size: 0.8rem; }
  .tweets .rotatingtweets .rtw_media img {
    border-radius: 4px; }
  .tweets .rotatingtweets .rtw_meta {
    margin-top: 1em; }

.latestnews .events a {
  display: block;
  text-align: center;
  text-decoration: none;
  color: #444;
  margin-bottom: 30px;
  transition: all 0.3s ease-in-out; }
  .latestnews .events a .image {
    position: relative;
    min-height: 200px;
    background: #ccc;
    overflow: hidden; }
    .latestnews .events a .image .image-bg {
      position: absolute;
      top: 0;
      right: 0;
      bottom: 0;
      left: 0;
      background-position: center center;
      background-size: cover; }
    .latestnews .events a .image .image-overlay {
      position: absolute;
      width: 100%;
      height: 100%;
      opacity: 0; }
      .latestnews .events a .image .image-overlay:before {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background: rgba(0, 0, 0, 0.5);
        color: #fff; }
      .latestnews .events a .image .image-overlay span {
        position: relative;
        padding: 5px 15px;
        color: #fff; }
        .latestnews .events a .image .image-overlay span i {
          margin-right: 5px; }
  .latestnews .events a .inner {
    padding: 20px 30px; }
    .latestnews .events a .inner h5 {
      min-height: 2.5em; }
  .latestnews .events a .meta {
    font-size: 0.8em;
    color: #b2b2b2; }
    .latestnews .events a .meta .leaders {
      color: #004812;
      font-weight: 800; }
    .latestnews .events a .meta .date {
      margin-top: 10px;
      color: #004812; }
  .latestnews .events a:hover {
    transform: translateY(4px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); }
    .latestnews .events a:hover .image-overlay {
      opacity: 1; }

@media (min-width: 992px) {
  .latestnews .tweets {
    margin-top: 124px; } }

.posts-navigation .nav-links a {
  display: inline-block;
  background: #014712;
  padding: 8px 15px;
  font-weight: 800;
  color: #fff;
  box-shadow: 0px 4px 8px 2px rgba(0, 0, 0, 0.15);
  text-decoration: none; }

.posts-navigation .nav-links .nav-previous a:before {
  content: "\f060";
  font-family: "Font Awesome 5 Pro";
  padding-right: 20px; }

.posts-navigation .nav-links .nav-next a:after {
  content: "\f061";
  font-family: "Font Awesome 5 Pro";
  padding-left: 20px; }

@media (min-width: 992px) {
  .page:not(.home) .site-content, .single .site-content, .blog .site-content {
    background: url(/wp-content/themes/function/img/bg-logo.svg);
    background-position: 110% 540px;
    background-size: 37%;
    background-repeat: no-repeat; } }

.entry-content p a[target=_blank]:after, .entry-content ul a[target=_blank]:after, .entry-content ol a[target=_blank]:after {
  content: "\f0c1";
  font-family: "Font Awesome 5 Pro";
  font-weight: 400;
  margin-left: 5px; }

.entry-content a {
  font-weight: bold; }

.entry-content h1 {
  margin-top: 0; }

#statinfo .download {
  font-size: 0.8em; }
  #statinfo .download .title {
    font-weight: 700;
    padding-left: 0;
    padding-right: 15px; }
  #statinfo .download .description {
    font-size: 0.8em;
    opacity: .8;
    font-weight: normal; }

@media (min-width: 992px) {
  #statinfo .download {
    font-size: 1rem; }
    #statinfo .download .title {
      padding-left: 15px;
      padding-right: 0; } }

#page-head {
  position: relative;
  min-height: 500px;
  background-position: center center;
  background-size: cover; }
  #page-head:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 20%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.438) 19%, rgba(0, 0, 0, 0.341) 34%, rgba(0, 0, 0, 0.282) 47%, rgba(0, 0, 0, 0.178) 56.5%, rgba(0, 0, 0, 0.144) 65%, rgba(0, 0, 0, 0.126) 73%, rgba(0, 0, 0, 0.075) 80.2%, rgba(0, 0, 0, 0.042) 86.1%, rgba(0, 0, 0, 0.021) 91%, rgba(0, 0, 0, 0.008) 95.2%, rgba(0, 0, 0, 0.002) 98.2%, transparent 100%);
    z-index: 1; }
  #page-head:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 70%;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.3)); }
  @media (max-width: 992px) {
    #page-head {
      margin-top: 125px;
      min-height: 250px; } }

.widget_recent_entries, .advanced-sidebar-menu {
  margin-top: 30px; }
  @media (min-width: 992px) {
    .widget_recent_entries, .advanced-sidebar-menu {
      margin-top: -48px; } }

.widget_recent_entries {
  background: #F3F3F3;
  box-shadow: 0px 4px 8px 2px rgba(0, 0, 0, 0.15); }
  .widget_recent_entries h2 {
    font-size: 1.6em;
    font-family: 'TMAT', sans-serif;
    display: block;
    padding: 5px 15px;
    text-align: center;
    color: #888;
    margin: 0;
    line-height: inherit; }
  .widget_recent_entries ul {
    list-style: none;
    margin: 0;
    padding: 0; }
    .widget_recent_entries ul li a {
      display: block;
      padding: 10px 20px 10px 40px;
      text-decoration: none;
      position: relative; }
      .widget_recent_entries ul li a:hover {
        background: #004812;
        color: #fff; }
      .widget_recent_entries ul li a:before {
        content: "\f061";
        position: absolute;
        left: -15px;
        top: 0;
        bottom: 0;
        width: 40px;
        font-family: "Font Awesome 5 Pro";
        font-weight: 400;
        line-height: 44px;
        text-align: center;
        -webkit-font-smoothing: antialiased;
        opacity: 0; }
      .widget_recent_entries ul li a:hover:before {
        left: 0;
        opacity: 1;
        transition: opacity 0.3s, left 0.2s; }

.advanced-sidebar-menu {
  background: #F3F3F3;
  box-shadow: 0px 4px 8px 2px rgba(0, 0, 0, 0.15); }
  .advanced-sidebar-menu a {
    text-decoration: none;
    color: #444; }
  .advanced-sidebar-menu ul {
    margin: 0;
    padding: 0;
    list-style: none; }
  .advanced-sidebar-menu ul.parent-sidebar-menu > li > a {
    font-size: 1.6em;
    font-family: 'TMAT', sans-serif;
    display: block;
    padding: 5px 15px;
    text-align: center;
    color: #888; }
    .advanced-sidebar-menu ul.parent-sidebar-menu > li > a:hover {
      color: #3EA139; }
  .advanced-sidebar-menu ul.child-sidebar-menu li {
    position: relative; }
  .advanced-sidebar-menu ul.child-sidebar-menu a {
    padding: 10px 40px;
    display: block; }
  .advanced-sidebar-menu ul.child-sidebar-menu .dashicons {
    position: absolute;
    top: 0;
    right: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center; }

.child-sidebar-menu li.current_page_item, .child-sidebar-menu li.current_page_parent {
  background: #3EA139; }

.child-sidebar-menu li.current_page_item a, .child-sidebar-menu li.current_page_parent a {
  color: #fff; }

.child-sidebar-menu li.current_page_parent > a, .child-sidebar-menu > li.current_page_item > a {
  background: #004812; }

#advanced_sidebar_menu-2-wrap .child-sidebar-menu li.current_page_parent .dashicons, #advanced_sidebar_menu-2-wrap .child-sidebar-menu > li.current_page_item .dashicons {
  color: #fff !important; }

ul.children a {
  padding-left: 55px !important;
  font-size: 0.8em; }

.child-sidebar-menu a:before {
  content: "\f061";
  position: absolute;
  left: -15px;
  top: 0;
  bottom: 0;
  width: 40px;
  font-family: "Font Awesome 5 Pro";
  font-weight: 400;
  line-height: 44px;
  text-align: center;
  -webkit-font-smoothing: antialiased;
  opacity: 0; }

.child-sidebar-menu a:hover:before {
  left: 0;
  opacity: 1;
  transition: opacity 0.3s, left 0.2s; }

.child-sidebar-menu a:hover {
  background: #004812;
  color: #fff; }

.child-sidebar-menu .current_page_item > a:before {
  opacity: 1;
  left: 0; }

.affix {
  position: fixed;
  top: 70px;
  margin-top: 0; }
  @media (min-width: 992px) {
    .affix {
      width: 289.98px; } }
  @media (min-width: 1200px) {
    .affix {
      width: 350px; } }

.affix-bottom {
  position: fixed;
  margin-top: 0; }
  @media (min-width: 992px) {
    .affix-bottom {
      width: 289.98px; } }
  @media (min-width: 1200px) {
    .affix-bottom {
      width: 350px; } }

#breadcrumbs {
  font-size: 0.9em;
  color: #aaa;
  margin-top: 1.5em; }
  #breadcrumbs a {
    font-weight: bold;
    color: #0a713e; }

.entry-content h2 {
  color: #3EA139;
  font-size: 1.6em; }

.entry-content h3 {
  color: #444;
  font-size: 1.4em;
  margin-top: 1em;
  padding-bottom: 10px;
  border-bottom: 2px solid #eee; }

.entry-content ul, .entry-content ol {
  padding: 0; }

.entry-content blockquote {
  border-left: 5px solid #FFCD06;
  padding-left: 15px;
  margin-left: 15px;
  font-style: italic; }
  .entry-content blockquote:before {
    content: "\f10d";
    float: left;
    margin-right: 10px;
    font-family: "Font Awesome 5 Pro";
    font-weight: 800;
    font-style: initial;
    color: #ddd; }

.entry-content .card {
  margin-bottom: 20px;
  border-radius: 0;
  border: none; }
  .entry-content .card .card-header {
    border: none;
    background: #fff;
    border-radius: 0 !important;
    cursor: pointer;
    padding-right: 40px; }
    .entry-content .card .card-header h5 {
      margin-bottom: 0;
      font-size: 1rem; }
    .entry-content .card .card-header:after {
      content: "\f067";
      font-family: "Font Awesome 5 Pro";
      font-weight: 800;
      position: absolute;
      right: 20px;
      top: 0;
      line-height: 43px;
      color: #ccc; }
    .entry-content .card .card-header:not(.collapsed) {
      background: #004812;
      color: #fff; }
      .entry-content .card .card-header:not(.collapsed):after {
        content: ""; }
    .entry-content .card .card-header:hover {
      background: #004812;
      color: #fff; }
      .entry-content .card .card-header:hover:after {
        color: #fff; }

.event a {
  display: block;
  margin-bottom: 30px; }

.single-event-meta {
  margin-bottom: 30px; }
  .single-event-meta .meta-inner {
    padding: 20px; }
    .single-event-meta .meta-inner h5 {
      margin-bottom: 10px;
      padding-bottom: 10px;
      border-bottom: 2px solid #eee; }
      .single-event-meta .meta-inner h5 i {
        float: right;
        opacity: 0.5; }
    .single-event-meta .meta-inner table {
      margin-bottom: 0; }
  .single-event-meta .meta-footer {
    padding: 20px;
    background: #eee; }
    .single-event-meta .meta-footer .price {
      font-size: 1.6em;
      font-weight: bold;
      color: #005d26; }
    .single-event-meta .meta-footer .btn {
      margin-bottom: 0; }

.contact-bar {
  background: #005d26;
  padding-top: 20px;
  padding-bottom: 20px;
  font-size: 1.4em;
  color: #fff;
  font-weight: bold; }
  .contact-bar a {
    color: #fff; }
  .contact-bar .line {
    font-size: 14px;
    font-weight: normal;
    line-height: 1; }
  .contact-bar i {
    font-size: 2.5rem; }
  @media (max-width: 992px) {
    .contact-bar > div > div > div {
      margin-bottom: 20px; } }

.contact h3 {
  font-size: 1.4rem;
  color: #005f1e;
  border-bottom: 1px solid #ccc;
  padding-bottom: 10px;
  margin-bottom: 10px; }

.contact p {
  font-size: 0.9rem; }

.contact .muted {
  font-size: 0.9rem;
  margin-top: 30px;
  color: #999; }

.contact ul.contact-details {
  list-style: none;
  margin-left: 0;
  padding-left: 0; }
  .contact ul.contact-details li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px; }
  .contact ul.contact-details .icon:before {
    position: absolute;
    left: 0;
    font-family: "Font Awesome 5 Pro";
    opacity: 0.5; }
  .contact ul.contact-details .icon-address:before {
    content: "\f1ad"; }
  .contact ul.contact-details .icon-phone:before {
    content: "\f095"; }
  .contact ul.contact-details .icon-email:before {
    content: "\f2b6"; }
  .contact ul.contact-details .icon-person:before {
    content: "\f007"; }

.contact ul.contact-social {
  list-style: none;
  margin-left: 0;
  padding: 0;
  font-size: 1.4em; }
  .contact ul.contact-social li {
    display: inline-block; }
    .contact ul.contact-social li a {
      background: #dde6de;
      padding: 7px 9px;
      display: block; }
      .contact ul.contact-social li a:hover {
        background: #005f1e;
        color: #fff; }

.contact-form {
  padding: 10px 30px 30px;
  margin-top: 70px;
  background: #fff; }
  .contact-form .gform_wrapper {
    margin: 0; }
    .contact-form .gform_wrapper .gform_footer {
      padding: 0; }
      .contact-form .gform_wrapper .gform_footer input.button {
        display: block;
        border: none;
        border-radius: 0;
        background: #FFCD06;
        padding: 15px 20px;
        color: #fff;
        font-weight: bold;
        cursor: pointer; }
        .contact-form .gform_wrapper .gform_footer input.button:hover {
          background: #e49100; }

.contact-map {
  margin-bottom: -5.5em; }
  @media (min-width: 992px) {
    .contact-map {
      margin-bottom: -10.5em; } }

.mapael .map {
  position: relative;
  padding-left: 5%;
  padding-right: 5%;
  margin-top: 40px;
  margin-bottom: 40px; }

.mapael .mapTooltip {
  position: absolute;
  background-color: #fff;
  moz-opacity: 0.70;
  opacity: 0.70;
  filter: alpha(opacity=70);
  border-radius: 4px;
  padding: 10px;
  z-index: 1000;
  max-width: 250px;
  display: none;
  color: #343434;
  font-size: 0.8rem;
  font-weight: 700; }

.error-404 {
  text-align: center;
  margin-top: 15%;
  margin-bottom: 10%; }

.search-results .page-title {
  text-align: center;
  margin-top: 50px;
  color: #aaa; }
  .search-results .page-title span {
    color: #0b5a2d; }

.search-results article {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 2px solid #eee; }

.search-results .b-search_result_list__item_breadcrumbs i {
  margin-right: 5px;
  margin-left: 5px; }

.search-results .b-search_result_list__item_breadcrumbs span a {
  font-weight: bold; }

.spartners .partner {
  display: block;
  padding: 20px;
  margin-bottom: 30px;
  text-align: center;
  text-transform: none;
  transition: transform 0.2s ease; }
  .spartners .partner:hover {
    transform: translateY(3px); }

.gform_wrapper .gform_page_footer .button.gform_previous_button, .gform_wrapper .gform_page_footer .button.gform_next_button, .gform_wrapper .gform_page_footer input[type=submit] {
  background: #004812;
  border-radius: 0;
  border: none;
  padding: 0.375rem 1.75rem;
  color: #fff;
  font-weight: 800;
  line-height: 2rem;
  box-shadow: 0px 4px 8px 2px rgba(0, 0, 0, 0.15);
  cursor: pointer; }
  .gform_wrapper .gform_page_footer .button.gform_previous_button:hover, .gform_wrapper .gform_page_footer .button.gform_next_button:hover, .gform_wrapper .gform_page_footer input[type=submit]:hover {
    background: #3EA139; }

.gform_wrapper .gform_page_footer .button.gform_previous_button {
  background: #888; }

.gform_wrapper .gform_page_footer .button.gform_next_button, .gform_wrapper .gform_page_footer input[type=submit] {
  float: right; }

#gform_wrapper_2 {
  padding: 30px;
  box-shadow: 0px 4px 8px 2px rgba(0, 0, 0, 0.15);
  overflow: auto; }
  #gform_wrapper_2 .percentbar_blue {
    background-color: #3EA139; }
  #gform_wrapper_2 table tr th {
    background: none;
    color: #666;
    font-weight: normal; }
  #gform_wrapper_2 table tr:nth-child(odd) td {
    background: none; }

body.error404 {
  margin-top: 150px;
  background: -webkit-linear-gradient(rgba(1, 71, 18, 0.6), transparent 20%);
  background: -o-linear-gradient(rgba(1, 71, 18, 0.6), transparent 20%);
  background: linear-gradient(rgba(1, 71, 18, 0.6), transparent 20%); }

#alert.covid {
  background-color: #dc3545;
  padding: 20px 10px; }
  #alert.covid p {
    margin-bottom: 10px;
    color: #ffffff; }
    #alert.covid p:last-of-type {
      margin-bottom: 0; }
  #alert.covid a {
    color: #ffffff;
    opacity: 0.75; }
    #alert.covid a:hover {
      opacity: 1; }
  #alert.covid i {
    color: #fff;
    opacity: 0.75; }

#page-head.cv19 {
  min-height: 210px;
  background-color: #1e6d1a; }
  @media (min-width: 992px) {
    #page-head.cv19 {
      min-height: 300px; } }

.page-id-11 .card .card-header h5 {
  font-size: 1.6rem; }

.page-id-11 #moc-block-2 .card .card-header:not(.collapsed) {
  background-color: #fecc06; }

.page-id-11 #moc-block-2 .card .card-header h5 {
  color: #004812; }

.page-id-11 #moc-block-2 .moc {
  background-color: #ffffff;
  color: #004812; }

.page-id-3085 .btn-orange {
  background-color: #3EA139; }

.stats > div:nth-child(2) .aos-animate {
  transition-delay: 0.2s; }

.stats > div:nth-child(3) .aos-animate {
  transition-delay: 0.4s; }

.stats > div:nth-child(4) .aos-animate {
  transition-delay: 0.6s; }

.stats > div:nth-child(5) .aos-animate {
  transition-delay: 0.8s; }

.stats > div:nth-child(6) .aos-animate {
  transition-delay: 1s; }

body.page-id-3279,
body.parent-pageid-3279 {
  background-color: #034814;
  color: #fff; }
  body.page-id-3279 #page-head:after,
  body.parent-pageid-3279 #page-head:after {
    background: none; }
  body.page-id-3279 .entry-content .shadow,
  body.parent-pageid-3279 .entry-content .shadow {
    background-color: #fff;
    color: #444; }
  body.page-id-3279 .entry-content h3,
  body.parent-pageid-3279 .entry-content h3 {
    color: #fff;
    border-bottom-color: #3a9a37; }
  body.page-id-3279 .stats .stat .stat-back,
  body.parent-pageid-3279 .stats .stat .stat-back {
    background-color: #3da138 !important;
    color: #fff !important; }
