/*!
Theme Name: Rosetta Primary School
Theme URI: https://theeducationspace.co.uk
Author: The Education Space
Author URI: https://theeducationspace.co.uk
Description: Description
Version: 1.0.0
Requires at least: 5.0
Tested up to: 5.7
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: eduspacesite
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.

eduspacesite 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:
----------------------------------------------------------------
# Root Variables
# Normalize
# Typography
# Elements
# Forms
# Links
# Accessibility
# Alignments
# Clearings
# Header
# Navigation
	## Menus
        ## Other Navigation
# Widgets
# Content
        ## Global
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
        ## Slideshows
        ## Images
# Footer
# Icons
    ## Fallbacks
# Plugin specific styles
# Editor styles

--------------------------------------------------------------*/

@import url("https://rosetta.boleyntrust.org/wp-content/themes/rosetta/editor-style.css");


/*--------------------------------------------------------------
# Root Variables
--------------------------------------------------------------*/

:root {
    --main-color: #1d398d;
    --secondary-color: #df3128;
	--feature-font: "Bree Serif", serif;
}

/*--------------------------------------------------------------
# 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 {
        font-family: 'Open Sans', sans-serif;
	line-height: 1.15; /* 1 */
	-webkit-text-size-adjust: 100%; /* 2 */
/* 	scroll-behavior: smooth; */
}

/* @media (prefers-reduced-motion: reduce) {
  html{
    scroll-behavior: auto;
  }
}  */

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

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

/**
 * 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-size: 16px;
	font-size: 1rem;
	line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
	clear: both;
        line-height: 1.3em;
        margin-top: 0;
        margin-bottom: 0;
        font-weight: normal;
        letter-spacing: -0.5px;
}

h1 { font-size: 2.8em; }
h2 { font-size: 2.4em; }
h3 { font-size: 2.2em; }
h4 { font-size: 2em; }
h5 { font-size: 1.8em; }
h6 { font-size: 1.6em; }

p {
	margin: 1em 0;
}

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

.shadow-text {
	text-shadow: 1px 1px 1px #000;
}

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

#page {
    width: 100%;
    margin: 0 auto;
    background-color: #fff;
    overflow: hidden;
}

.content-wrap {
	padding-bottom: 4em;
/* 	background: url(https://rosetta.boleyntrust.org/wp-content/themes/rosetta/images/logo-watermark.svg) left -100px bottom 0/400px no-repeat; */
}

@media screen and (min-width: 50rem) {
	.content-wrap {
		padding-bottom: 4em;
/* 		background: url(https://rosetta.boleyntrust.org/wp-content/themes/rosetta/images/logo-watermark.svg) left -100px bottom 0/550px no-repeat, url(https://rosetta.boleyntrust.org/wp-content/themes/rosetta/images/logo-watermark.svg) right -120px top -50px/550px no-repeat fixed; */
	}
}

.home .content-wrap {
	background: none;
	padding: 0;
}

hr {
    background-color: var(--secondary-color);
    border: 0;
    height: 1px;
    margin: 1.5em 0;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
}

blockquote,
q {
	quotes: "" "";
}

blockquote {
    line-height: 1.3em;
    margin: 1.5em 0 1.5em 2em;
    position: relative;
    font-style: italic;
    display: inline-block;
}

blockquote::before {
    content: "\201C";
    position: absolute;
    left: -50px;
    color: #999;
    font-size: 90px;
    font-family: Georgia, arial, serif;
    top: 32px;
}

/* cite, blockquote p:last-of-type {
  color: #999;
  text-align: right;
  display: block;
  margin-top: 1em;
} */

blockquote p:only-child {
    color: inherit;
    margin: 1.5em 0 1.5em 1.5em;
    display: inline-block;
    text-align: left;
}

ul, ol {
    margin: 0 0 1em 0;
}

ul {
    list-style: disc;
}

ol {
    list-style: decimal;
}

li > ul,
li > ol {
    margin-bottom: 0;
    margin-left: 0.5em;
    padding-left: 0.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: 1em 0 1.2em;
    table-layout: fixed;
}

@media screen and (max-width: 48rem) {
    table { 
        width: 100% !important;
    }
}

/*--------------------------------------------------------------
# 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: .6em 1em .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;
}

button:focus-visible,
input[type="button"]:focus-visible,
input[type="reset"]:focus-visible,
input[type="submit"]:focus-visible,
input[type="search"]:focus-visible {
   outline: red solid 3px;
}

button:-moz-focusring,
input[type="button"]:-moz-focusring,
input[type="reset"]:-moz-focusring, 
input[type="submit"]:-moz-focusring,
input[type="search"]:-moz-focusring {
    outline: red solid 3px;
}


select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Links
--------------------------------------------------------------*/

a {
    color: var(--main-color);
}

a:visited {
    color: #471C93;
}

a:hover, a:focus, a:active {
    color: #471C93;
}

a:focus {
    outline: thin dotted;
}

a:focus:not(:focus-visible) {
    outline: thin dotted;
}

a:hover, a:active {
	outline: 0;
}

a:focus-visible {
   outline: red solid 3px;
}

a:-moz-focusring {
   outline: red solid 3px;
}

.read-more {
    font-size: 1.17em;
    font-weight: normal;
    font-style: italic;
}

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

/* Add a top margin when logged into WordPress to account for WP admin bar */
.admin-bar .topbar {
    margin-top: 30px;
}
@media screen and (max-width: 50rem) {
    .admin-bar .topbar {
        margin-top: 0;
    }
}

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

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/

.topbar {
    width: 100%;
    height: auto;
    min-height: 50px;
    padding: 0 0.8em;
    background-color: #666;
    border-bottom: 1px solid rgba(255,255,255,0.4);
}

.top-wrap {
    width: 100%;
    padding: 6px 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: flex-end;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

/* Navigation */

.top-links {
    display: none;
}


.top-links ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.top-links ul a {
    display: block;
    padding: .5em 1em;
    color: white;
    text-decoration: none;
    opacity: .8;
    font-size: 0.9em;
    white-space: nowrap;
}

.top-links ul a:hover, .top-links ul a:focus {
	text-decoration: underline;
	opacity: 1;
}

.top-links a::before, .top-links a:hover::before {
    text-decoration: none;
}

@media screen and (min-width: 37.5rem) {
    .top-wrap {
        -webkit-box-pack: justify;
            -ms-flex-pack: justify;
                justify-content: space-between;
    }
    
    .top-links {
        display: block;
    }
}

/* Social Media menu */

.social-menu {
    margin: 0;
	width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
	-webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    z-index: 900;
}

.social-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
	-webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

.social-menu li a {
    color: #fff;
    padding: 0;
    font-size: 1.6rem;
    background-color: transparent;
    width: 1.5rem;
    height: 1.5rem;
    margin: 0.2em;
    position: relative;
    border-radius: 6px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

.social-menu .icon {
    margin: 0;
    padding: 0;
    display: block;
    height: 1.6rem;
    width: 1.6rem;
    top: 0;
}

@media screen and (min-width: 36.25rem) {
	.social-menu {
		width: auto;
	}
	.social-menu {
		-webkit-box-pack: end;
        	-ms-flex-pack: end;
            	justify-content: flex-end;
	}
}

#header-right, #header-left {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
	-webkit-box-align: center;
    	-ms-flex-align: center;
        	align-items: center;
}

#header-right {
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: flex-end;
}

#header-left {
-webkit-box-pack: start;
    -ms-flex-pack: start;
        justify-content: flex-start;
}

.quick-links .widgettitle {
    display: none;
}

.quick-links .widget {
	margin: 0;
}

.quick-links {
    display: none;
}


.quick-links ul {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
	list-style-type: none;
	margin: 0;
	padding: 0 0.5em;
}

.quick-links ul a {
	display: block;
	padding: .5em 1em;
	color: white;
	text-decoration: none;
	opacity: .75;
    font-size: 0.9em;
}

.quick-links ul a:hover, .quick-links ul a:focus {
	text-decoration: underline;
	opacity: 1;
}

.quick-links a::before, .quick-links a:hover::before {
    text-decoration: none;
}

.quick-links .sub-menu {
	border-top: 2px solid #fff;
}

@media screen and (min-width: 37.5rem) {
    
    .quick-links {
        display: block;
    }

        /* Change nav bar for screen only */
		.quick-links {
			position: relative;
			padding: 0;
			border-bottom: none;
			background-color: transparent;
			text-align: right; /* Align main menu within Main Nav bar */
			width: auto;
			margin-right: 2rem
		}  
        
        .quick-links a {
            padding: 0.6em 0 0.8em;
        }
        
        .quick-links.toggled ul {
            overflow-y: visible;
        }
        
        /* Position main menu in nav bar */
        .quick-links ul,
        .quick-links ul ul,
        .quick-links > div > ul {
                display: block;
        }
        
        .quick-links a {
            padding: 0.6em 0.8em;
            color: #fff;
        }
        
        .quick-links .toplinks-menu > li > a {
            font-size: 1rem;
            padding: 0.5em 0 0.7em;
            margin: 0;
            color: #fff;
            border-bottom: none;
        }
        
        .quick-links .toplinks-menu > li > a:hover,
        .quick-links .toplinks-menu > li > a:focus {
            background: transparent;
            text-decoration: none;
        }
	
        /* Left-align drop-down menu items */
        .quick-links li li {
			display: block;
			text-align: left;
			border-bottom: 1px solid rgba(255,255,255,0.3);
        }
        
        /* Position drop-down menus */
        .quick-links ul ul {
            background: var(--main-color);
            left: 50%;
            width: 180px;
            margin-left: -90px;
            padding: 0;
            position: absolute;
            top: 100%;
            z-index: 999998;
            display: none;
        }
        
        /* Add triangle above submenus */
/*         .quick-links .sub-menu::after {
            bottom: 100%;
            left: 10%;
            content: " ";
            height: 0;
            width: 0;
            position: absolute;
            pointer-events: none;
            border: solid transparent;
            border-bottom-color: #fff;
            border-width: 8px;
        } */
        
        .quick-links ul ul, .quick-links ul ul ul {
            opacity: 0;
            transition: visibility 0.2s linear, opacity 0.2s linear;
        }

        .quick-links ul li:hover > ul,
        .quick-links ul li:focus > ul,
        .quick-links ul li:focus-within > ul {
                left: 0;
                top: 100%;
                display: block;
                opacity: 1;
                visibility: visible;
        }

        /* Position sub submenu if applicable */
        .quick-links ul ul ul {
                left: -999em;
                margin-top: -1px;
                top: 0;
                width: auto;
                min-width: 150px;
        }

        .quick-links ul ul li:hover > ul,
        .quick-links ul ul li:focus > ul,
        .quick-links ul ul li:focus-within > ul {
                left: 150%;
                right: auto;
                opacity: 1;
                visibility: visible;
        }
              
        /* Change styles for submenu buttons on screen menu */
        .quick-links ul ul a, .quick-links ul ul ul a {
			color: #fff;
			padding: 0.6em;
			width: 100%;
			line-height: 1.3em;
        }


        .quick-links li li:hover > a,
        .quick-links li li:focus > a,
        .quick-links li li:focus-within > a,
        .quick-links li li a:hover,
        .quick-links li li a:focus,
        .quick-links li li a:focus-within {
            background: rgba(6, 44, 110, 0.1);
        }


        /* Add arrow to submenu links that have a sub submenu */

        .quick-links ul ul li.menu-item-has-children > a::after {
            content: "";
            margin: 0;
            position: absolute;
            top: 35%;
            right: 1em;
            width: 0px;
            height: 0px;
            border-top: 5px solid transparent;
            border-bottom: 5px solid transparent;
            border-left: 5px solid #bc2b2b;
        }

}

#search-area, .translate { 
    width: 200px;
    text-align: center;
    padding: 0;
}

#search-area .search-form {
    background-color: transparent;
    background-color: rgba(255,255,255,0.15);
    padding: 2px 2px 0;
    width: 100%;
    text-align: left;
    max-width: 230px;
    float: none;
    margin: 0 auto;
}

.topbar input[type="search"].search-field {
    color: #fff;
    font-size: 0.8em;
    border: none;
    border-radius: 0;
    background-color: transparent;
    width: calc(100% - 26px);
    margin: 0;
    padding: 0 0 0 3px;
}

.topbar input[type="search"]::-webkit-input-placeholder { color: #fff; }
.topbar input[type="search"]:-moz-placeholder { color: #fff; }
.topbar input[type="search"]:-ms-input-placeholder { color: #fff; }

#search-area { 
    width: 200px;
    text-align: center;
    padding: 0;
}

#search-area .search-form {
    background-color: transparent;
    background-color: rgba(255,255,255,0.15);
    padding: 2px 6px 0;
    width: 100%;
    text-align: left;
    max-width: 230px;
    float: none;
    margin: 0 auto;
    border-radius: 16px;
}

input[type="search"].search-field {
    color: #fff;
    font-size: 0.8em;
    border: none;
    border-radius: 0;
    background-color: transparent;
    width: calc(100% - 26px);
    margin: 0;
    padding: 0 0 0 3px;
}

input[type="search"]::-webkit-input-placeholder { color: #fff; }
input[type="search"]:-moz-placeholder { color: #fff; }
input[type="search"]:-ms-input-placeholder { color: #fff; }

.search-form .search-submit {
    background: transparent url("https://rosetta.boleyntrust.org/wp-content/themes/rosetta/images/search.svg") center top/18px no-repeat ;
    border: none;
    color: transparent;
    font-size: 0;
    overflow: hidden;
    width: 20px;
    height: 20px;
    padding: 0;
    margin: 0;
    position: relative;
    top: -4px;
}
.search-form .search-submit:hover {
    border-color: transparent;
    color: transparent; 
}

.site-header {
    width: 100%;
    background-color: #fff;
    margin-top: 0;
    position: relative;
}

.header-wrap {
    width: 100%;
    margin: 0 auto;
    position: absolute;
    padding: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
   -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
     -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between; 
    z-index: 25000;
	background-color: #fff;
	box-shadow: 0 3px 3px rgba(0,0,0,0.3);
}

.site-branding {
    z-index: 5000;
	position: absolute;
}

.site-logo {  
	padding: 10px;
    text-align: center;
    display: block;
	transition: width 0.2s ease-in-out, height 0.2s ease-in-out;
}

.site-logo a {
    z-index: 10;
    top: 1em;
    left: 1em;
    text-decoration: none;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

.site-logo img {
    width: auto;
    height: 50px;
	transition: width 0.2s ease-in-out, height 0.2s ease-in-out;
}

.site-title {
    margin: 0 auto;
    font-family: var(--feature-font);
    font-weight: 700;
    font-size: 1px;
    text-transform: uppercase;
    line-height: 1.4em;
    color: transparent;
    max-width: 160px;
}

.site-title a,
.site-title a:hover,
.site-title a:focus, 
.site-title a:visited {
    text-decoration: none;
    color: transparent;
}

.site-description {
    width: 100%;
    padding: 1em 0 0.6em;
    font-size: 1em;
    line-height: 1.5em;
    font-weight: bold;
    display: block;
    margin: 0;
}

@media screen and (min-width: 64rem) {   
	
	.header-wrap {
  		padding: 0 1.5em;
	}
	
	.title-wrap {
		width: auto;
		display: block;
	}
	
	.site-logo {  
		padding: 0.5em 0.8em;
	}
	
	.site-logo img {
		height: 90px;
	}
	
}

.header-wrap[style*="position: fixed"] .site-logo img {
	height: 50px;
}

.header-image-wrap {
    overflow: hidden;
}

.header-image {
    position: relative;
    top: 0;
    width: 100%;
    height: 80vh;
/*     overflow: hidden; */
    background-position: center;
    display: -webkit-box; 
    display: -ms-flexbox; 
    display: flex; 
    -webkit-box-align: center; 
        -ms-flex-align: center; 
            align-items: stretch;
}

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

.header-caption {
    position: absolute;
    bottom: 0;
    width: 100%;
    min-height: 110px;
    max-height: 150px;
    color: white;
    font-family: var(--feature-font);
    font-size: 3rem;
    line-height: 1.2em;
    padding: 0% 5% 0% 5%;
    text-align: center;
    background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 3, 45, 0)), color-stop(20%, rgba(0, 3, 45, 0.5)), to(rgba(0, 3, 45, 0.9)));
    background-image: -o-linear-gradient(rgba(0, 3, 45, 0), rgba(0, 3, 45, 0.5) 20%, rgba(0, 3, 45, 0.9));
    background-image: linear-gradient(rgba(0, 3, 45, 0), rgba(0, 3, 45, 0.5) 20%, rgba(0, 3, 45, 0.9));
}

.home .header-caption {
    bottom: 0;
    height: 230px;
    max-height: none;
}

/* Featured buttons */

.featured-bar {
    position: relative;   
    width: 100%;
    min-height: 200px;
    display: block;
}

.featured-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: distribute;
        justify-content: space-around;
    width: 100%;
    z-index: 40;
    margin: 0;
    padding: 0em;
/*    overflow: hidden;*/
    display: block;
}

.featured-button.widget {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0;
    background-color: var(--main-color);
    text-align: center;
    font-size: 1.4rem;
    border-top: 1px solid var(--secondary-color);
}

.featured-button.widget .widgettitle {
    display: none;
}

.featured-button.widget a {
    text-decoration: none;
    text-transform: uppercase;
	font-size: 1.2rem;
    font-family: var(--feature-font);
    font-weight: 700;
    color: #fff;
    display: block;
    margin: 0;
    padding: 1.5rem;
    letter-spacing: 1px;
    word-spacing: 4px;
}

.featured-button.widget a:hover {
    background-image: url(https://rosetta.boleyntrust.org/wp-content/themes/rosetta/images/logo-watermark-white.svg);
	background-position: center 20%;
	background-size: 90px;
	background-repeat: no-repeat;
}

.featured-button.widget p {
    margin: 0;
}

@media screen and (min-width: 64rem) {
    .featured-bar {
        position: absolute;
        bottom: 0;
        left: 0;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: center;
            -ms-flex-pack: center;
                justify-content: center;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
        background-color: transparent;
        overflow: hidden;
    }
    
    .featured-wrapper {
        padding: 1em 1em 0;
        display: -webkit-box;
            display: -ms-flexbox;
                display: flex;
        -ms-flex-pack: distribute;
            justify-content: space-around;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
		-webkit-box-align: end;
        	-ms-flex-align: end;
            	align-items: flex-end;
    }
    
    .featured-button.widget {
        max-width: 350px;
        animation-name: fadeInUp;
		margin: 0 1%;
    }
    
	.featured-button.widget a {
	  padding: 1em;
	}
	
    .featured-button.widget::before,
    .featured-button.widget:hover::before {
        left: 46%;
    }
}

@media screen and (min-width: 78rem) {
    .featured-wrapper {
        -webkit-box-pack: center;
            -ms-flex-pack: center;
                justify-content: center;
    }
	
	.featured-button.widget {
        animation-name: fadeInUp;
		flex: 1;
    }
	
	.featured-button.widget a {
		padding: 1.3rem;
	}
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/

/*--------------------------------------------------------------
12.0 Navigation
--------------------------------------------------------------*/

#site-navigation[style*="position: fixed"] {
    background-color: #000;
    -webkit-transition: all .3s ease-out;
    -moz-transition: all .3s ease-out;
    -o-transition: all .3s ease-out;
    transition: all .3s ease-out;
}

.menu-main-menu-container {
    overflow: hidden;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: flex-end;
}

/* Navigation bar position and colour on devices */
.main-navigation {
    clear: both;
    display: block;
    height: 70px;
    float: none;
    position: absolute;
    top: 0;
    z-index: 3000;
    right: 0;
	background-color: #fff;
	width: 100%;
}

.header-wrap[style*="position: fixed"] .main-navigation {
	height: 70px;
/* 	flex: unset; */
	transition: height 0.2s ease-in-out;
}

/* Main nav buttons position and style */
.main-navigation ul {
    background-color: var(--main-color);
    list-style: none;
    margin: 0;
    padding: 0 1.5em;
    text-align: left;
}

.main-navigation li {
    position: relative;
    display: block;
    clear: both;
}

.main-navigation a {
    display: block;
    color: #fff;
    padding: 0.6em 1.5em 0.8em 1em;
    font-size: 0.9em;
    text-decoration: none;
	border-bottom: 1px solid rgba(255,255,255,0.2);
}

/* Main menu link hover for mobile menu only */
.main-navigation a:hover,
.main-navigation a:focus,
.main-navigation a:focus-within {
        background: #000;
        background: rgba(0,0,0,0.2);
        text-decoration: none;
}

.main-navigation .menu > li > a {
    padding: 0.9em 1.2em;
    margin: 0 1px;
    font-size: 1em;
    text-decoration: none;
    word-spacing: 4px;
}

/* Hide the menu on small screens.*/

.main-navigation ul {
    display: none;
}

.main-navigation > div > ul {
    padding: 0.75em 1.695em;
    display: block;
    width: 350px;
    opacity: 0;    
/*     margin-right: -350px; */
	transform: translateX(100%);
    transition: all .5s cubic-bezier(.86,0,.07,1);
}

.main-navigation.toggled-on > div > ul {
    opacity: 1;
    transform: translateX(0);
}

.main-navigation ul ul, .main-navigation ul ul ul {
    padding: 0;
    text-transform: none;
    font-weight: normal;
}

.main-navigation ul ul.toggled-on {
    display: block;
    opacity: 1;
    transition: none;
    visibility: visible;
}

/* Submenu list item colour */
.main-navigation ul ul li {
    background-color: transparent; 
/*    padding: 0.4em 0.8em;*/
}

/* Submenu button style */
.main-navigation ul ul a {
    padding: 0.5em 0.5em 0.6em 2.5em;
    position: relative;
}

/* Sub-submenu button style */
.main-navigation ul ul ul a {
    padding: 0.5em 0.5em 0.7em 4em;
}

.main-navigation li {
    position: relative;
}

/* Keep current page and parent highlighted while active */
.main-navigation .current_page_item > a,
.main-navigation .current-menu-item > a, 
.main-navigation .current_page_ancestor > a,
.main-navigation .current-menu-ancestor > a,
.main-navigation .current_page_item > a:hover,
.main-navigation .current-menu-item > a:hover, 
.main-navigation .current_page_ancestor > a:hover,
.main-navigation .current-menu-ancestor > a:hover {
    background: rgba(0,0,0,0.2);
}

.main-navigation .menu > li > a:hover,
.main-navigation .menu > li > a:focus,
.main-navigation .menu > .current_page_item > a,
.main-navigation .menu > .current-menu-item > a, 
.main-navigation .menu > .current_page_ancestor > a,
.main-navigation .menu > .current-menu-ancestor > a {
/*    background: transparent;
    color: var(--secondary-color);*/
}

/* Small menu. */

/* Menu toggle */

.menu-toggle {
    background-color: transparent;
    border: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
    display: none;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.5;
    margin: 1px auto 2px;
    padding: 1em;
    text-shadow: none;
}

/* Display the menu toggle when JavaScript is available. */

.menu-toggle {
    display: block;
}

button.menu-toggle {
    color: var(--main-color);
    text-align: right;
    border: none;
    width: 100%;
    height: 70px;
    padding: 0 0.7em;
    font-size: 1.5em;
    background-color: transparent;
    margin: 0;
}

.main-navigation.toggled-on ul.menu {
    display: block;
/* 	max-height: 90vh;
	overflow-y: auto; */
}

.menu-toggle:hover,
.menu-toggle:focus {
    background-color: transparent;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.menu-toggle:focus {
    outline: none;
}

.menu-toggle .icon {
    margin-right: 0.5em;
    top: -2px;
}

.toggled-on .menu-toggle .icon-bars,
.menu-toggle .icon-close {
	display: none;
}

.toggled-on .menu-toggle .icon-close {
	display: inline-block;
}

/* Dropdown Toggle */

.dropdown-toggle {
    background-color: transparent;
    border: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
    color: #fff;
    display: block;
    font-size: 20px;
    right: 0;
    line-height: 1.4;
    margin: 0;
    padding: 0.5em;
    position: absolute;
    text-shadow: none;
    top: 0;
    width: 40px;
    text-align: center;
}

.dropdown-toggle:hover,
.dropdown-toggle:focus {
	background: transparent;
}

.dropdown-toggle:focus {
	outline: thin dotted;
}

.dropdown-toggle.toggled-on .icon {
	-ms-transform: rotate(-180deg); /* IE 9 */
	-webkit-transform: rotate(-180deg); /* Chrome, Safari, Opera */
	transform: rotate(-180deg);
}

/* Larger screen styles */
@media screen and (min-width: 64rem) {
        /* Main Navigation */
        
        /* Hide mobile menu toggle button */
		.menu-toggle,
		.dropdown-toggle,
		.dropdown-symbol {
				display: none;
		}   
        
        .menu-main-menu-container {
            overflow: visible;
        }

        /* Change nav bar for screen only */
	.main-navigation {
            position: static;
            height: 110px;
            padding: 0 0 0 250px;
            flex: 2;
            border-bottom: none;
            background-color: transparent;
            text-align: right; /* Align main menu within Main Nav bar */
            width: auto;
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            -webkit-box-pack: end;
                -ms-flex-pack: end;
                    justify-content: flex-end;
            -webkit-box-align: center;
                -ms-flex-align: center;
                    align-items: center;
		     font-weight: bolder;
        }  
        
        .main-navigation.toggled ul {
            overflow-y: visible;
        }
        
        /* Position main menu in nav bar */
        .main-navigation ul,
        .main-navigation ul ul,
        .main-navigation > div > ul {
                display: block;
        }

        .main-navigation ul {
            width: 100%;
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            -ms-flex-wrap: wrap;
                flex-wrap: wrap;
            -webkit-box-pack: center;
                -ms-flex-pack: center;
                    justify-content: center;
            background-color: transparent;
        }

	.main-navigation > div > ul {
            width: 100%;
            border: 0;
            margin: 0;
            padding: 0;
            opacity: 1;
            transition: none;
            transform: translateX(0);
	}
        
        /* Display the menu items in a horizontal order */
        .main-navigation li {
            display: inline-block;
            border: none;
        }
        
        /* Styles for the main menu list items only, not submenus */
        .main-navigation .menu > li {
            text-align: center;
            margin: 0 1em;
            overflow: visible;
        }
        
        .main-navigation a {
            padding: 0.6em 0.8em;
        }
        
        .main-navigation a:hover,
        .main-navigation a:focus,
        .main-navigation a:active,
        .main-navigation a:visited {
            background: transparent;
        }
        
        .main-navigation .menu > li > a {
            font-size: 1rem;
            padding: 0.5em 0 0.6em;
            margin: 0;
            color: var(--main-color);
            border-bottom: none;
            transition: all 0.2s ease-in-out;
        }
        
        /* Add animated underline to main menu links 

        .main-navigation .menu > li > a:before, 
        .main-navigation .menu > li > a:after {
            content: "";
            position: absolute;
            bottom: 10px;
            width: 0px;
            height: 2px;
            margin: 5px 0 0;
            transition: all 0.2s ease-in-out;
            transition-duration: 0.2s;
            background: var(--main-color);
            opacity: 0;
        }
	
        .main-navigation .menu > li > a::before {
            left: calc(50%);
        }
        
        .main-navigation .menu > li > a::after {
            right: calc(50%);
        }
	
        .main-navigation .menu > li:hover > a::before, 
        .main-navigation .menu > li:hover > a::after, 
        .main-navigation .menu > li.current-menu-parent > a::before,
        .main-navigation .menu > li.current-menu-parent > a::after {
            width: 50%;
            opacity: 1;
        }*/
        
        .main-navigation .menu > li > a:hover,
        .main-navigation .menu > li > a:focus,
        .main-navigation .menu > .current_page_item > a,
        .main-navigation .menu > .current-menu-item > a, 
        .main-navigation .menu > .current_page_ancestor > a,
        .main-navigation .menu > .current-menu-ancestor > a {
            background: transparent;
            text-decoration: none;
			color: var(--secondary-color);
        }
	
        /* Left-align drop-down menu items */
        .main-navigation li li {
            display: block;
            text-align: left;
        }
        
        /* Position drop-down menus */
        .main-navigation ul ul {
            left: 50%;
            width: 180px;
            margin-left: -90px;
            padding: 0;
            position: absolute;
            top: 110%;
            z-index: 99999;
            visibility: hidden;
        }
        
        /* Add triangle above submenus */
        .main-navigation ul.menu > li > ul::after {
            bottom: 100%;
            left: 43%;
            content: " ";
            height: 0;
            width: 0;
            position: absolute;
            pointer-events: none;
            border: solid transparent;
            border-bottom-color: var(--secondary-color);
            border-width: 14px;
        }
        
        .main-navigation ul ul, .main-navigation ul ul ul {
            opacity: 0;
            transition: visibility 0.2s linear, opacity 0.2s linear;
            background: #fff;
			box-shadow: 2px 2px 6px rgba(0,0,0,0.3);
			border-top: 4px solid var(--secondary-color);
			border-bottom: 4px solid var(--secondary-color);
        }

        .main-navigation ul li:hover > ul,
        .main-navigation ul li:focus > ul,
        .main-navigation ul li:focus-within > ul {
                left: 50%;
                right: auto;
                opacity: 1;
                visibility: visible;
/* 		max-height: 100vh;
                overflow-y: auto; */
        }

        /* Position sub submenu if applicable */
        .main-navigation ul ul ul {
                left: -999em;
                margin-top: -1px;
                top: 0;
                width: auto;
                min-width: 150px;
        }

        .main-navigation ul ul li:hover > ul,
        .main-navigation ul ul li:focus > ul,
		.main-navigation ul ul li:focus-within > ul {
                left: 151%;
                right: auto;
                opacity: 1;
                visibility: visible;
        }
        
/*        .main-navigation ul li.menu-item-has-children:focus:before,
        .main-navigation ul li.menu-item-has-children:focus-within:before,
        .main-navigation ul li.menu-item-has-children:hover:before,
        .main-navigation ul li.menu-item-has-children:focus:after,
        .main-navigation ul li.menu-item-has-children:focus-within:after,
        .main-navigation ul li.menu-item-has-children:hover:after,
        .main-navigation ul li.page_item_has_children:focus:before,
        .main-navigation ul li.page_item_has_children:focus-within:before,
        .main-navigation ul li.page_item_has_children:hover:before,
        .main-navigation ul li.page_item_has_children:focus:after,
        .main-navigation ul li.page_item_has_children:focus-within:after,
        .main-navigation ul li.page_item_has_children:hover:after {
            display: block;
        }

        .main-navigation ul li.menu-item-has-children:before,
        .main-navigation ul li.page_item_has_children:before {
                border-color: transparent transparent #bbb;
                bottom: 0;
        }

        .main-navigation ul li.menu-item-has-children:after,
        .main-navigation ul li.page_item_has_children:after {
                border-color: transparent transparent #fff;
        }*/
        
        /* Change styles for submenu buttons on screen menu */
        .main-navigation ul ul a, .main-navigation ul ul ul a {
			font-size: 0.85em;
			font-weight: 500;
			padding: 0.6em 1em;
			width: 100%;
			color: #000;
			border-bottom: none;
        }

        .main-navigation li li a {
            -webkit-transition: background-color 0.2s ease-in-out;
                transition: background-color 0.2s ease-in-out;
        }

        .main-navigation li li:hover > a,
        .main-navigation li li:focus > a,
        .main-navigation li li:focus-within > a,
        .main-navigation li li a:hover,
        .main-navigation li li a:focus,
        .main-navigation li li a:focus-within {
            background-color: var(--secondary-color);
			color: #fff;
        }

        /* Keep current page and parent highlighted while active */
        .main-navigation .current_page_item > a,
        .main-navigation .current-menu-item > a, 
        .main-navigation .current_page_ancestor > a,
        .main-navigation .current-menu-ancestor > a,
        .main-navigation .current_page_item > a:hover,
        .main-navigation .current_page_item > a:focus,
        .main-navigation .current_page_item > a:focus-within,
        .main-navigation .current-menu-item > a:hover, 
        .main-navigation .current-menu-item > a:focus,
        .main-navigation .current-menu-item > a:focus-within,
        .main-navigation .current_page_ancestor > a:hover,
        .main-navigation .current_page_ancestor > a:focus,
        .main-navigation .current_page_ancestor > a:focus-within,
        .main-navigation .current-menu-ancestor > a:hover,
        .main-navigation .current-menu-ancestor > a:focus, 
        .main-navigation .current-menu-ancestor > a:focus-within {
            background: var(--secondary-color);
			color: #fff;
        }

        .main-navigation .menu-item-has-children > a > .icon,
        .main-navigation .page_item_has_children > a > .icon {
                display: inline;
                left: 5px;
                position: relative;
                top: -1px;
        }

        /* Add arrow to submenu links that have a sub submenu */

        .main-navigation ul ul li.menu-item-has-children > a::after {
            content: "";
            margin: 0;
            position: absolute;
            top: 35%;
            right: 1em;
            width: 0px;
            height: 0px;
            border-top: 5px solid transparent;
            border-bottom: 5px solid transparent;
            border-left: 5px solid var(--main-color);
        }

}

/*--------------------------------------------------------------
## Other Navigation
--------------------------------------------------------------*/

.pagination .nav-links {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
}

.pagination a,
.pagination span {
	padding: .5em 1em 0.4em;
	background: white;
}

.pagination a, .pagination a:active, .pagination a:visited  {
	text-decoration: none;
        color: #666;
}

.pagination a:focus, .pagination a:hover {
	color: white;
	background: #666;
}

.pagination .current {
	font-weight: 700;
	color: #000;
        border: 1px solid #999;
}

.pagination .prev .icon {
	margin-right: 1em;
}

.pagination .next .icon {
	margin-left: 1em;
}

.comment-navigation,
.post-navigation,
.paging-navigation {
	padding: 2em 0;
	text-align: left;
	overflow: hidden;
}

@media screen and (min-width: 56.25rem) {
    .comment-navigation,
    .post-navigation,
    .paging-navigation {
		padding: 2em 3em;
	}
}

.nav-links {
	margin: 0 auto;
	padding: 0 .4em;
}

.comment-navigation a,
.comment-navigation a:visited,
.comment-navigation a:active,
.post-navigation a,
.post-navigation a:visited,
.post-navigation a:active,
.paging-navigation a,
.paging-navigation a:visited,
.paging-navigation a:active {
	display: block;
	width: 100%;
	text-decoration: none;
	padding: 1em;
	border: 1px solid #c3c3c3;
        color: #666;
        font-size: 1em;
}

.comment-navigation a:hover,
.comment-navigation a:focus,
.post-navigation a:hover,
.post-navigation a:focus,
.paging-navigation a:hover,
.paging-navigation a:focus {
        color: #222;
	border-color: #000;
}

.post-navigation .post-title {
	font-weight: 700;
}

.post-navigation a:hover .post-title,
.post-navigation a:focus .post-title {
	text-decoration: underline;
}

.nav-previous {
	padding-bottom: 1em;
}

@media screen and (min-width: 30em) {

	.nav-links {
		display: -webkit-box;
                display: -ms-flexbox;
                display: flex;
                -webkit-justify-content: space-between;
		justify-content: space-between;
                -webkit-align-items: stretch;
		align-items: stretch;
		padding: 0;
	}

        .comment-navigation .nav-previous,
	.post-navigation .nav-previous {
                display: -webkit-box;
                display: -ms-flexbox;
                display: flex;
                -webkit-align-items: stretch;
		align-items: stretch;
		float: left;
		width: 40%;
	}

	.nav-previous {
		padding-bottom: 0;
	}
        
        .comment-navigation .nav-next,
	.post-navigation .nav-next {
                display: -webkit-box;
                display: -ms-flexbox;
                display: flex;
                -webkit-align-items: stretch;
		align-items: stretch;
		float: right;
		text-align: right;
		width: 40%;
	}
}

.post-navigation .meta-nav {
	display: block;
}

@media screen and (min-width: 30em) {
	.post-navigation .meta-nav {
		padding-bottom: 1em;
	}
}

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

.paging-navigation ul {
	display: inline-block;
	padding: 0;
	list-style-type: none;

}

.paging-navigation li {
	display: inline-block;
}

.paging-navigation li a {
	padding: .3em 1em;
	margin: .4em .2em;
}

.paging-navigation .current {
	padding: .8em 1.1em;
	font-weight: 700;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/

#secondary {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    	flex-wrap: wrap;
    -webkit-justify-content: center;
    	justify-content: center;
	-ms-flex-line-pack: start;
    	align-content: flex-start;
    padding: 1em;
    max-width: 300px;
    margin: 0 auto;
}

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

.widget select {
	max-width: 100%;
}

.widgettitle {
    width: 100%;
    color: var(--main-color);
	font-family: var(--feature-font);
    font-size: 1.6rem;
	font-weight: 700;
    text-decoration: none;
    display: block;    
    padding: 0.8em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    word-spacing: 4px;
}

#secondary .widgettitle {
    color: #fff;
	background-color: var(--main-color);
	padding: 0.5em 0.5em 0.6em;
	font-weight: 400;
	font-size: 1.2rem;
	text-align: center;
	margin-bottom: 0;
	border-bottom: 1px solid #fff;
}

.widget ul,
.widget ol {
    padding: 0;
/*    margin: -1px 0 0 .5em;*/
}

.site-content .widget li {
	display: block;
    margin-top: 6px;
	border-bottom: 1px dotted rgba(0,0,0,0.3);
}

.widget a {
    font-weight: normal;
    text-decoration: none;
    font-size: 0.9rem;
}

.widget a:hover {
    
}

/* Make sure select elements fit in widgets. */
.widget select {
	width: 100%;
	padding: .5em;
}

/* Pages and Menu widgets */

.widget_nav_menu, .widget_categories, .widget_archive,.widget_pages, .widget_recent_entries {
    
}

.widget_nav_menu ul, .widget_nav_menu ol {
    margin: -1px 0 0 0;
/* 	padding-left: 6px; */
}

.widget_pages .children,
.widget_nav_menu .sub-menu {
	padding-top: 0;
	margin-left: 1em;
}

.site-content .widget_pages a,
.site-content .widget_nav_menu a,
.site-content .widget_categories a,
.site-content .widget_archive a,
.site-content .widget_pages a:visited,
.site-content .widget_nav_menu a:visited,
.site-content .widget_categories a:visited,
.site-content .widget_archive a:visited {
	color: var(--main-color);
    padding: 0.5em 0.6em ;
    display: block;
    text-decoration: none;
    font-weight: 500;
	border-left: 5px solid rgba(255,255,255,0);
}

.site-content .widget_pages a:hover,
.site-content .widget_nav_menu a:hover,
.site-content .widget_categories a:hover,
.site-content .widget_archive a:hover,
.site-content .widget_pages .current_page_item a,
.site-content .widget_nav_menu .current_page_item a,
.site-content .widget_categories .current_page_item a,
.site-content .widget_archive .current_page_item a {
	border-left: 5px solid var(--main-color);
}


/* Search widget */

.widget_search input[type="search"] {
	box-sizing: border-box;
	width: 100%;
	padding: .5em 1em;
	border: 1px solid #c3c3c3;
	border-radius: 0;
}

/* Text widget */

.textwidget {
    line-height: 1.6em;
    margin: 0;
    padding: 0;
    width: 100%;
}

.textwidget p {
	margin: 0.5em 0 1em;
}

/* Calendar widget */

.widget_calendar {
    background-color: transparent;
	
}

.widget_calendar caption {
	padding: .5em 0;
	font-size: 1em;
	font-weight: 700;
	text-align: left;
}

.widget_calendar thead {
	background: #333;
	color: #fff;
}

.widget_calendar thead th {
	border-bottom-width: 2px;
}

.widget_calendar td {
	padding: .2em;
	font-size: .8em;
	text-align: center;
	background: #d6d6d6;
	border: 3px solid white;
}

.widget_calendar th {
	border: none;
}

.widget_calendar .pad {
	background: #eaeaea;
}

/* RSS widget */


.widget_rss li {
	margin-bottom: 1em;
}
.widget li a.rsswidget {
	padding-right: .5em;
	font-size: 1em;
	line-height: 1.4em;
}

.rss-date,
.widget_rss cite {
        display: block;
	color: #333;
	font-size: .8em;
}

.rssSummary {
	padding: .5em 0;
	font-family: sans-serif;
	font-size: .8em;
        line-height: 1.4em;
}

/* Homepage Widgets */

.homepage-panel1, .homepage-panel2, .homepage-panel3, .homepage-panel4 {
    width: 100%;
    color: #333;
    padding: 4rem 1.2rem;
    background-color: #fff;
    background-image: url("https://rosetta.boleyntrust.org/wp-content/themes/rosetta/images/logo-watermark.svg");
    background-position: center center;
    background-size: 400px;
    background-repeat: no-repeat;
    background-attachment: scroll;
    margin: 0;
    position: relative;
	min-height: 600px;
}

.homepage-panel1::after, 
.homepage-panel2::after, 
.homepage-panel3::after  {
	position: absolute;
	left: 0;
	width: 100%;
	content: "";
	background-position: bottom center;
	background-image: url(https://rosetta.boleyntrust.org/wp-content/themes/rosetta/images/wave-white.png);
	background-size: 100% 93px;
	background-repeat: no-repeat;
	height: 93px;
	bottom: -92px;
	z-index: 4;
}

.homepage-panel1 {
	padding: 4rem 1.2rem 1.5rem;
}

.homepage-panel2::after {
	background-image: url(https://rosetta.boleyntrust.org/wp-content/themes/rosetta/images/wave-dark-blue.png);
}

.homepage-panel1,
.homepage-panel3 {
	background-position: -120px 50%;
}

.homepage-panel2 {
	background-image: url("https://rosetta.boleyntrust.org/wp-content/themes/rosetta/images/logo-watermark-white.svg");
    background-position: 110% 50%;
	padding: 130px 1.2rem 2rem;
}

.homepage-panel3 {
	background-image: url("https://rosetta.boleyntrust.org/wp-content/themes/rosetta/images/logo-watermark.svg");
	padding: 130px 1.2rem 2rem;
}

.panel-content {
    width: 100%;
    max-width: 1200px;
    position: relative;
    margin: 0 auto;
    padding: 0;
    display: -webkit-box;
        display: -ms-flexbox;
            display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -ms-flex-pack: distribute;
        justify-content: space-around;
        overflow: hidden;
    -webkit-box-align: stretch;
        -ms-flex-align: stretch;
            align-items: stretch;
}

.panel-content .widgettitle {
    color: var(--secondary-color);
    background-color: transparent;
    padding: 0 0 1em;
    margin-bottom: 1em;
    font-weight: 700;
    font-size: 2.2rem;
    text-align: center;
}

.homepage-panel3 .widgettitle,
.homepage-panel4 .widgettitle,
.homepage-panel5 .widgettitle {
    display: none;
}

.homepage-panel1 .widget, .homepage-panel2 .widget, .homepage-panel3 .widget, .homepage-panel4 .widget {
    width: 100%;
    max-width: 100%;
    padding: 0;
    position: relative;
    margin: 1em 2%;
    animation-duration: 0.8s;
    color: #222;
    min-width: 320px;
    flex: 1;
}

.homepage-panel1 .panel-content {
    max-width: 1200px; 
    -webkit-box-align: center;
    	-ms-flex-align: center;
        	align-items: center;
}

.homepage-panel1 .widget:first-of-type {
    padding: 30px;
    margin: 0 auto 40px auto;
    animation-name: fadeInTopLeft;
}

.homepage-panel1 .widget:last-of-type {
	  animation-name: fadeInBottomRight;
}

.homepage-panel1 .widget:first-of-type a {
	display: inline-block;
	background-color: var(--secondary-color);
	font-size: 1.1rem;
	color: #fff;
	padding: 5px 20px;
	text-decoration: none;
	border-radius: 24px;
	border: 1px solid var(--secondary-color);
	-webkit-transition: background .2s;
		-o-transition: background .2s;
			transition: background .2s;
}

.homepage-panel1 .widget:first-of-type a:hover {
    background-color: #fff;
    color: var(--main-color);
}

.homepage-panel1 .widget:last-of-type {
    width: 300px;
	height: 300px;
	min-width: 300px;
    max-width: 100%;
    overflow: hidden;
    margin: 15px;
    border: 8px solid var(--secondary-color);
	border-radius: 50%;
	flex: 0;
}

.homepage-panel1 .widget:last-of-type img {
    width: 460px;
    max-width: none !important;
	position: absolute;
	margin: auto;
	min-height: 400px;
	min-width: 100%;
	left: -100%;
	right: -100%;
	top: -100%;
	bottom: -100%;
	-o-object-fit: cover;
   		object-fit: cover;
}

@media screen and (min-width: 40rem) {
	.homepage-panel1 .widget:last-of-type {
		width: 400px;
		height: 400px;
		min-width: 400px;
	}
}

.homepage-panel1 .widgettitle {
    text-align: left;
}

.homepage-panel1 .widget .textwidget {
    font-size: 1.4rem;
}

.homepage-panel2 .widget {
    background-color: #fff;
    font-size: 1.1rem;
    padding: 0;
	animation-name: fadeInDown;
	flex: 1;
}

.homepage-panel2 .widget a:link {
    outline: 0;
}

.homepage-panel2 .widget a:focus,
.homepage-panel2 .widget a:focus:not(:focus-visible) {
    border: thin dotted;
    outline: 0;
}

.homepage-panel2 .widget a:focus-visible {
    border: red solid 3px;
    outline: 0;
}

.homepage-panel2 .widget a:-moz-focusring {
    border: red solid 3px;
    outline: 0;
}

.homepage-panel2 .widgettitle {
	color: #fff;
	background-color: var(--secondary-color);
	padding: 0.5em;
	font-weight: 700;
	font-size: 1.8rem;
	text-align: center;
	margin-bottom: 0;
}

.homepage-panel2 .widget .textwidget {
    padding: 1em;
}

.homepage-panel3 .homepage-panel3-wrap > section {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
}

.homepage-panel3 .widget {
    color: #fff;
    width: 100%;
    min-height: 260px;
    padding: 35% 0;
    margin: 1%;
    overflow: hidden;
    background-color: var(--main-color);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;    
    animation-name: fadeInUp;
	flex: 1;
	flex-basis: 100%;
}

.homepage-panel3 .widget:nth-of-type(1) { 
    animation-name: none;
    animation-delay: 0s;
    animation-duration: 0s;
    padding: 0;
    overflow: visible;
    height: auto;
    background-color: transparent;
    background-image: none;
    margin: 0;
    min-height: 0;
	flex-basis: 100%;
	max-width: 100%;
}

.homepage-panel3 .widget:nth-of-type(2) {
    background-image: linear-gradient(rgba(0, 0, 0, .1), rgba(0, 0, 0, .1)), url(https://rosetta.boleyntrust.org/wp-content/themes/rosetta/images/class1.jpg);
}

.homepage-panel3 .widget:nth-of-type(3) {
    background-image: linear-gradient(rgba(0, 0, 0, .1), rgba(0, 0, 0, .1)), url(https://rosetta.boleyntrust.org/wp-content/themes/rosetta/images/class2.jpg);
}

.homepage-panel3 .widget:nth-of-type(4) {
    background-image: linear-gradient(rgba(0, 0, 0, .1), rgba(0, 0, 0, .1)), url(https://rosetta.boleyntrust.org/wp-content/themes/rosetta/images/class3.jpg);
}

.homepage-panel3 .widget:nth-of-type(5) {
    background-image: linear-gradient(rgba(0, 0, 0, .1), rgba(0, 0, 0, .1)), url(https://rosetta.boleyntrust.org/wp-content/themes/rosetta/images/class4.jpg);
}

.homepage-panel3 .widget:nth-of-type(6) {
    background-image: linear-gradient(rgba(0, 0, 0, .1), rgba(0, 0, 0, .1)), url(https://rosetta.boleyntrust.org/wp-content/themes/rosetta/images/class5.jpg);
}

.homepage-panel3 .widget:nth-of-type(7) {
    background-image: linear-gradient(rgba(0, 0, 0, .1), rgba(0, 0, 0, .1)), url(https://rosetta.boleyntrust.org/wp-content/themes/rosetta/images/class6.jpg);
}

.homepage-panel3 .widget:nth-of-type(8) {
    background-image: linear-gradient(rgba(0, 0, 0, .1), rgba(0, 0, 0, .1)), url(https://rosetta.boleyntrust.org/wp-content/themes/rosetta/images/class7.jpg);
}

.homepage-panel3 .widget:nth-of-type(9) {
    background-image: linear-gradient(rgba(0, 0, 0, .1), rgba(0, 0, 0, .1)), url(https://rosetta.boleyntrust.org/wp-content/themes/rosetta/images/class8.jpg);
}


@media screen and (min-width: 64rem) {
    .homepage-panel3 .widget:nth-of-type(2), .homepage-panel3 .widget:nth-of-type(5), .homepage-panel3 .widget:nth-of-type(7) { 
        animation-delay: 0.6s 
    }

    .homepage-panel3 .widget:nth-of-type(3), .homepage-panel3 .widget:nth-of-type(6), .homepage-panel3 .widget:nth-of-type(8) { 
        animation-delay: 0.8s 
    }
    .homepage-panel3 .widget:nth-of-type(4)  { 
        animation-delay: 1s 
    }
	
}

@media screen and (min-width: 31.25rem) {
        .homepage-panel3 .widget {
            flex-basis: 44%;
            padding: 25% 0;
        }
    
    .homepage-panel3 .widget:nth-of-type(1) { 
        flex-basis: 100%;
    }
}

@media screen and (min-width: 56.25rem) {
		.homepage-panel3 .widget {
            flex-basis: 44%;
            padding: 12% 0;
        }
	
        .homepage-panel3 .widget:nth-of-type(2),
		.homepage-panel3 .widget:nth-of-type(3),
		.homepage-panel3 .widget:nth-of-type(4) {
            flex-basis: 30%;
            padding: 12% 0;
        }
}

.homepage-panel3 .widget .content-wrap {
    border: 1px solid white;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    	-ms-flex-align: center;
    		align-items: center;
    background-color: rgba(0, 0, 0, 0.2);
    -webkit-transition: background .2s;
        -o-transition: background .2s;
            transition: background .2s;
}

.homepage-panel3 .widget .content-wrap:hover {
    background-color: rgba(127, 178, 240, 0.9);
}

.homepage-panel3 .widget .content-wrap .textwidget {
    padding: 1em;
}

.homepage-panel3 .widget:nth-of-type(1) .content-wrap {
    background-color: transparent;
    position: static;
    transition: none;
    width: 80%;
    margin: 0 auto;
    border: none;
}

.homepage-panel3 .widget:nth-of-type(1) .content-wrap:hover {
    background-color: transparent;
}

.homepage-panel3 .widget:nth-of-type(1) .content-wrap .textwidget {
    width: 100%;
    margin: 0 0 20px;
    text-align: center;
    position: relative;
}

.homepage-panel3 .widget:nth-of-type(1) .content-wrap .textwidget p {
    font-size: 2rem;
    font-weight: 400;
    text-align: center;
    width: auto;
    display: block;
    z-index: 3;
    padding: 0 20px 0 20px;
    position: relative;
    margin: 0;  
    color: var(--secondary-color);
	font-family: var(--feature-font);
	text-transform: uppercase;
	font-weight: 700;
}

.homepage-panel3 .widget .content-wrap .textwidget a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    padding: 50% 10px 0;
    -webkit-transition: padding .2s ease;
        -o-transition: padding .2s ease;
            transition: padding .2s ease;
}

@media screen and (min-width: 31.25rem) { 
    .homepage-panel3 .widget .content-wrap .textwidget a {
        padding: 200px 10px 0;
    }
}

.homepage-panel3 .widget .content-wrap .textwidget a:hover {
    padding: 0 10px;
}

.homepage-panel3 .widget .content-wrap .textwidget,
.homepage-panel3 .widget .content-wrap .textwidget a, 
.homepage-panel3 .widget .content-wrap .textwidget a:hover, 
.homepage-panel3 .widget .content-wrap .textwidget a:focus, 
.homepage-panel3 .widget .content-wrap .textwidget a:active, 
.homepage-panel3 .widget .content-wrap .textwidget a:visited {
    color: #fff;
    text-align: center;
    font-size: 1.3rem;
	text-decoration: none;
}

.homepage-panel3 .widget .content-wrap .textwidget a:focus-visible {
    border: red solid 3px;
}

.homepage-panel3 .widget .content-wrap .textwidget a:-moz-focusring {
    border: red solid 3px;
}
.homepage-panel4 {
    min-height: 700px;
	background-position: center center;
	background-size: cover;
	background-attachment: fixed;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;            
    -webkit-box-align: stretch;
        -ms-flex-align: stretch;
            align-items: stretch;
    padding: 0;
}
.homepage-panel4 .homepage-panel4-wrap {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

.homepage-panel4 .panel-content {
    max-width: 1200px;
	padding-top: 3em;
}

.homepage-panel4 .widget {
    font-size: 1.5em;
    color: #fff;
    margin: 0;
	padding: 0.5em;
    transition: opacity ease 1s;
}

@media screen and (min-width: 60rem) {
	.homepage-panel4 .widget {
		font-size: 2.5em;
	}
}

.homepage-panel4 .textwidget {
    line-height: 1.3em;
    text-align: center;
}

.homepage-panel5-wrap {
    width: 100%;
    min-height: 500px;
    overflow: hidden;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.homepage-panel5 .panel-content {
    padding: 0;
    max-width: 100%;
    height: 600px;
    min-height: 600px;
  	-webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: flex-end;
    -webkit-box-align: end;
        -ms-flex-align: end;
            align-items: flex-end;
  	border-top: none;
}

.homepage-panel5 .widget {
    position: relative;
    width: 100%;
    height: 100%;
}

.homepage-panel5 .widget a {
    position: absolute;
    width:100%;
    height:100%;
    left:0;
    top:0;
    padding: 2em;
    font-size: 1.6em;
}

.homepage-panel5 .widget a:hover, 
.homepage-panel5 .widget a:focus, 
.homepage-panel5 .widget a:active, 
.homepage-panel5 .widget a:visited {
  	color: #1d3096;
}

.homepage-panel5 {
    padding: 0;
    background-color: #f7f7f7;
    height: 600px;
    min-height: 600px;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}


/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/

/*--------------------------------------------------------------
## Global
--------------------------------------------------------------*/

.site-content {
    width: 100%;
    margin: 0 auto;
    max-width: 1200px;
    padding: 1.5em 1em 1em;
    position: relative;
}

.home .site-content {
    padding: 0;
	height: 0;
}

.content-area {
    width: 100%;
    background: transparent;
    min-height: 400px;
}

.home .content-area {
    display: none;
}

.content-area li {
    padding-bottom: 0.7em;
}

.content-area li > ul,
.content-area li > ol {
    padding-top: 0.4em;
}

.site-main {
    padding: 2em 1em 1em;
}

/* No sidebar layout */

.no-sidebar #secondary {
        display: none;
}

.no-sidebar .content-area {
    	width: 100%;
}
.no-sidebar .site-main {
     	max-width: 1200px;
}

/* Rules for sidebar left and sidebar right */
@media screen and (min-width: 65rem) {

            .sidebar-right #secondary,
            .sidebar-left #secondary {
                            background-color: transparent;
                            padding: 0;
            }
        
        .site-content {
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
			-webkit-box-orient: horizontal;
            -webkit-box-direction: reverse;
                -ms-flex-direction: row-reverse;
                    flex-direction: row-reverse;
            -webkit-box-pack: justify;
            -ms-flex-pack: justify;
            justify-content: space-between;
            -ms-flex-wrap: wrap;
            flex-wrap: wrap;
        }
        
        .sidebar-right .site-content {
		   -webkit-box-orient: horizontal;
		   -webkit-box-direction: normal;
			   -ms-flex-direction: row;
				   flex-direction: row;
        }

	.sidebar-right .content-area, .sidebar-left .content-area {
            width: 73%;
	}
        
	.sidebar-right #secondary, .sidebar-left #secondary {
            margin: 2.1em 1% 1.5em;
            width: 25%;
            padding: 0 1em;
	}
        
        .sidebar-right #secondary {
            border-left: dotted 1px #ccc;
        }

	.sidebar-left #secondary {
            border-right: dotted 1px #ccc;
	}

}

/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.post,
.page {
	margin: 0;
}

.page-header, .entry-header {
    width: 100%;
}

.page-header::after, .entry-header::after {
	display: block;
	content: "";
/*	width: 3.5em;
	border-bottom: 1px solid #c3c3c3;
	margin: 2em auto;*/
}

.hentry {
    margin: 0 0 1.5em;
    padding-bottom: 2em;
}

.single .hentry,
.page .hentry {
	padding-bottom: 0;
}

.entry-title, .page-title, .category-title, .entry-title {
    font-size: 2em;
    font-weight: 700;
    color: var(--main-color);
    margin: 0 0 1em;
    border-bottom: 1px solid var(--secondary-color);
	padding: 0 0 14px;
	font-family: var(--feature-font);
	text-transform: uppercase;
    word-wrap: break-word; /* Catch and wrap very long words on small screens */
}

.secondary-title {
        border-bottom: none;
}

.entry-title a,
.entry-title a:active,
.entry-title a:visited,
.category-title a,
.category-title a:active,
.category-title a:visited {
    color: inherit;
    text-decoration: none;
    display: block;
    clear: both;
    line-height: 1.5em;
}

.entry-title a:hover,
.entry-title a:focus,
.category-title a:hover,
.category-title a:focus {
	text-decoration: underline;
}

.category-title::after {
	display: block;
	content: "";
	width: 3.5em;
	border-bottom: 1px solid #c3c3c3;
	margin: 1.5em auto;
}

.entry-title.index-excerpt {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 1em;
  	border-bottom: none;
  	padding-bottom: 0.5em;
	color: #fff;
}

.home .page-title {
    display: none;
}

.sticky-title {
    display: none;
}

.index-content {
	background-color: var(--main-color);
	padding: 1em;
	min-height: 180px;
}

.single .entry-meta {
	margin-bottom: 1.2em;
}

.entry-header .index-entry-meta {
	font-size: .8em;
	color: #fff;
}

article.sticky .index-entry-meta {
    display: none;
}

.index-content .entry-header {
  	text-align: center;
}

.sticky .index-content {
        width: 100%;
}

@media screen and (min-width: 30em) {
	.index-entry-meta .byline,
	.index-entry-meta .posted-on,
	.index-entry-meta .comments-link {
		display: inline-block;
	}

	.index-entry-meta .byline::after,
	.index-entry-meta .comments-link::before {
		content: "|";
		padding: 0 1em;
	}
}
.continue-reading {
		text-align: center;
  	display: block;
  	clear: both;
}

.continue-reading a,
.entry-content .continue-reading a {
	display: inline-block;
	margin: 0 auto;
	padding: 1em 0 0.5em;
  text-decoration: none;
	color: #fff;
}

.continue-reading a:hover,
.continue-reading a:focus,
.entry-content .continue-reading a:hover,
.entry-content .continue-reading a:focus {
	text-decoration: underline;
}

.continue-reading a::after {
	content: "…"
}

.search-results .continue-reading {
        text-align: center;
  	padding-bottom: 1.5em;
}

.search-results .hentry {
  padding-bottom: 0;
}

.search-highlight {
    background: #FAFF6D;
}

.error404 .page-content, .search-no-results .page-content {
    min-height: 300px;
}

.error404 .page-content input[type="search"],
.search-no-results .page-content input[type="search"] {
    color: #000;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 0.5em 2em 0.5em 0.8em;
    width: 50%;
    background-color: #fff;
    text-align: left;
    margin: 0 auto;
}

.error404 .page-content .search-submit,
.search-no-results .page-content .search-submit {
        right: 30px;
        background: transparent url("https://rosetta.boleyntrust.org/wp-content/themes/rosetta/images/search-grey.svg") center top/18px no-repeat;
}

.entry-content a,
.entry-summary a {
    text-decoration: underline;
}

.entry-content a:hover,
.entry-content a:focus,
.entry-summary a:hover,
.entry-summary a:focus {

}

.entry-footer {
    clear: both;
    text-align: center;
    padding: 2em 1em;
}

.entry-meta a,
.entry-footer a {
	text-decoration: none;
}

.entry-meta a:hover,
.entry-meta a:focus,
.entry-footer a:hover,
.entry-footer a:focus {
	
}

.entry-footer::before, .entry-footer::after {
    display: block;
    content: "";
    width: 200px;
    border-bottom: 1px solid #c3c3c3;
    margin: 1.5em auto;
}

.cat-links {
    display: block;
}

.cat-links::after, .tags-links::after {
    display: block;
    content: "";
    margin: 1em auto;
}

.cat-links a,
.cat-links a:hover 
.cat-links a:visited {

}

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

.page-content,
.entry-content,
.entry-summary {
	margin: 0;
}

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

.posts-wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}

.posts-wrap > article.hentry {
    padding: 0;
    width: 230px;
    margin: 20px 15px;
}

.posts-wrap > article.sticky {
    background-color: transparent;
    display: block;
    width: 100%;
    padding: 0;
    border: none;
}

.posts-wrap > article.hentry .index-content {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	    -ms-flex-direction: column;
	        flex-direction: column;
	-webkit-box-pack: justify;
	    -ms-flex-pack: justify;
	        justify-content: space-between;
}

.posts-wrap > article.sticky {
    background-color: transparent;
    display: block;
    width: 100%;
    padding: 0;
    border: none;
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comments-area {
	margin: 4em 0;
}

.bypostauthor {
	display: block;
}

@media screen and (min-width: 40em) {
	.comments-area {
		margin: 4em 1em;
	}
}

.comments-title {
	margin-bottom: 2em;
	font-size: 1.5em;
	text-align: center;
}

.comment-list {
	padding: 0;
	margin: 0;
}

.comment-list,
.comment-list ol {
	list-style-type: none;
}

.comment-body {
	border-bottom: 1px solid #c3c3c3;
	margin-bottom: 3em;
}

.comment-meta {
	position: relative;
	margin-left: 70px;
	font-style: italic;
	font-size: 80%;
}

.comment .avatar {
	position: absolute;
	left: -70px;
	width: 50px;
	height: 50px;
	border-radius: 50px;
}

.children {
	margin-left: 1em;
	padding-left: 0;
}

.comment .avatar {
	top: -5px;
}

@media screen and (min-width: 30em) {

	.children {
		margin-left: 2em;
	}

	.comment-meta {
		margin-left: 80px;
		font-size: 90%;
	}

	.comment .avatar {
		top: -7px;
		left: -80px;
		width: 60px;
		height: 60px;
	}

	.comment-content {
		margin-left: 80px;
	}

}
@media screen and (min-width: 56.25rem) {

	.children {
		margin-left: 3em;
	}

	.comments-area {
		margin: 4em 3em;
		font-size: 1.1em;
	}

	.comment-meta {
		margin-left: 90px;
	}

	.comment .avatar {
		top: -8px;
		left: -90px;
		width: 70px;
		height: 70px;
	}

	.comment-content {
		margin-left: 90px;
	}
}

.comment-meta a {
	text-decoration: none;
}

.comment-meta a:hover,
.comment-meta a:focus {
	border-bottom: 2px solid #000;
}

.comment-metadata a:hover,
.comment-metadata a:focus {
	border-color: #c3c3c3;
}

.comment-author {
	font-size: 1.4em;
	line-height: 1.3em;
}

.says {
	font-size: 80%;
}

.comment-metadata {
    margin-top: .2em;
	padding-bottom: .5em;
	font-size: .8em;
	line-height: 1em;
}

.comment-metadata a {
	color: #808080;
}

.reply {
	margin-bottom: 1.5em;
	text-align: right;
}

.reply a {
	display: inline-block;
	padding: .5em 1.4em;
	font-size: 85%;
	color: #333;
	line-height: 1.3em;
	text-decoration: none;
	border: 1px solid #c3c3c3;
}

.reply a:hover,
.reply a:focus {
	background: #000;
	color: #fff;
	border-color: #000;
}

.comment-content ol {
	list-style-type: decimal;
}

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

.bypostauthor .avatar {
	box-sizing: content-box;
	border: 5px solid #c3c3c3;
	margin-top: -5px;
	margin-left: -5px;
        background-color: #c3c3c3;
}

/* Comment Form */

.comment-respond::after {
	display: block;
	margin: 2em auto 4em;
	content: "";
	width: 5em;
	border-bottom: 1px solid #c3c3c3;
}

.comment-reply-title {
	margin-bottom: 1em;
	text-align: center;
}

.comment-list .comment-reply-title {
	text-align: left;
}

.comment-form {
	line-height: 1.3em;
}

.comment-form a {
	font-weight: 500;
}

.comment-form .form-submit {
	margin-top: 3em;
}

.comment-form .form-submit input {
	padding: .5em 1.4em;
	font-size: 85%;
        color: #333;
        line-height: 1.3em;
        text-decoration: none;
        border: 1px solid #c3c3c3;
}

.comment-form .form-submit input:hover,
.comment-form .form-submit input:focus {
	border-color: #000;
	color: #fff;
	background-color: #000;
}

.comment-form label {
	width: 33%;
}
.comment-form .required {
	color: #D54E21;
}

.comment-form label {
	display: block;
	font-style: italic;
	padding-bottom: .4em;
}

/*--------------------------------------------------------------
# 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: 1.5em 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}

.gallery-item {
	text-align: center;
	vertical-align: top;
	padding: 1em;
  float: none;
  width: 200px;
}

.gallery-item img {
	width: 100%;
}

.gallery-item a {
	border-bottom: none;
}

.gallery-item a:hover,
.gallery-item a:focus {
	border-bottom: none;
	box-shadow: none;
}

.gallery-item a img {
    padding: .5em;
    margin: 0 auto;
    border: 1px solid #fff;
    border: 1px solid rgba(255,255,255,0.3);
}

.gallery-item a:hover img,
.gallery-item a:focus img {
	border-color: rgba(0,0,0,0.3);
}

.gallery-caption {
	max-width: 150px;
	padding: 0;
	margin: 0;
	border: none;
}

.gallery-caption::before {
	content: "";
}

/*--------------------------------------------------------------
## Images
--------------------------------------------------------------*/

img.aligncenter {
	margin-top: 1em;
	margin-bottom: 1.5em;
}

img.alignright,
img.alignleft,
figure.alignright,
figure.alignleft {
  display: block;
  float: none;
  margin: 0 auto 1em auto;
  clear: both;
}

@media screen and (min-width: 36.25rem) {
    img.alignleft, figure.alignleft {
      float: left;
      margin: 0 1em 0.5em 0;
    }
    img.alignright, figure.alignright {
      float: right;
      margin: 0 0 0.5em 1em;
    }
}

.page-contact-us img.alignright,
.page-contact-us img.alignleft {
  display: block;
  float: none;
  margin: 0 0 1em 0;
  clear: both;
}

@media screen and (min-width: 53.125rem) {
    .page-contact-us img.alignleft {
      float: left;
      margin: 0 1em 0.5em 0;
    }
    .page-contact-us img.alignright {
      float: right;
      margin: 0 0 0.5em 1em;
    }
}

.featured-image {
  margin: 0;
  float: none;
  display: block;
  clear: both;
  text-align: center;
  height: 170px;
  overflow: hidden;
  position: relative;
}

.featured-image img {
    /*display: block;
    margin: 0 auto;
    width: 100%;
    height: auto;*/
	position: absolute;
	margin: auto;
	min-height: 170px;
	min-width: 350px;
	left: -100%;
	right: -100%;
	top: -100%;
	bottom: -100%;
}

.featured-image a:hover img,
.featured-image a:focus img {
    opacity: .8;    
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/

#footer-logos {
    width: 100%;
    max-width: 1200px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    align-items: center;
    margin: 2em auto;
    min-height: 120px;
}

.awards_logo {
    text-align: center;
}

.awards_logo .widgettitle, .awards_logo .wp-caption-text {
    display: none;
}

.awards_logo .textwidget  p {
    font-size: 0.8em;
    color: #666;
}

.awards_logo .textwidget  p a {
    color: #666;
}

.awards_logo img {
    vertical-align: middle;
    max-height: 90px;
    width: auto;
    margin: 2em auto;
    border: none;
    padding: 0 1.5em;
    max-width: 240px !important;
}

#colophon {
    position: relative;
    padding: 0;
    width: 100%;
}
.footer-content1, .footer-content2 {
    width: 100%;
    height: auto;
    overflow: hidden;
}

.footer-content1 {
    background-color: #fff;
    color: #fff;
    padding: 2em;
    font-size: 0.9em;
}

.footer-content2 {
    background-color: #666;
    color: #fff;
    padding: 0.5em 2em 0.3em 70px;
    font-size: 0.8em;
}

.footer-content1-wrap, .footer-content2-wrap {
    width: 100%;
    max-width: 2000px;
    margin: 0 auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}

.footer-content1-wrap > div {
    width: 100%;
    min-width: 500px;
    flex: 1;
    margin: 20px auto;
    text-align: center;
}

.footer-content1 .widgettitle {
    font-size: 1.2rem;
    padding: 0.5em 0;
	color: #fff;
	border-bottom: none;
}

.footer-content1 .widget_nav_menu ul {
    padding: 0;
    list-style-type: none;
}

.footer-content1 .widget_nav_menu a,
.footer-content1 .widget_nav_menu a:active,
.footer-content1 .widget_nav_menu a:focus,
.footer-content1 .widget_nav_menu a:visited {
    color: #fff;
    padding: 0 0.3em;
    display: inline-block;
}

.contact-info a {
    color: #fff;
    text-decoration: none;
}

.footer-content1 .widget_nav_menu a:hover,
.contact-info a:hover {
    text-decoration: underline;
}

.contact-info div span {
  display: inline-block;
}

.footer-content2 a, 
.footer-content2 a:active,
.footer-content2 a:focus,
.footer-content2 a:visited {
    text-decoration: none;
    color: #fff;
}

.footer-content2 a:hover {
    text-decoration: underline;
}

#company-info {
    padding: 0;
    margin: 0;
    width: 100%;
}

.site-info {
    padding: 0;
    margin: 1em 0;
    line-height: 1.6;
    text-align: center;
    width: 100%;
}

.contact-info div {
    display: block;
    position: relative; /* required for SVG fallback icons to be positioned correctly */
    padding: 0.3em 1em;
}

.site-info div:last-of-type {
    border-right: none;
}

.site-logo-footer img {
    max-height: 100px;
    width: auto;
}

#footer-links2 .menu-item-has-children > a {
  	display: none;
}

#footer-links2 .sub-menu {
	margin-left: 0;
}

@media screen and (min-width: 64rem) {
	
    .footer-content1-wrap, .footer-content2-wrap {
        -webkit-box-pack: justify;
            -ms-flex-pack: justify;
                justify-content: space-between;
    }
    
    .footer-content2-wrap {
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
    }
	
    .footer-content1-wrap > div {
        width: 33%;
        min-width: 220px;
        margin: 0;
        padding: 0;
        border-bottom: none;
    }
    
     .footer-content1-wrap > div {
        text-align: left;
    }
    
    .site-logo-footer {
        margin: 0.5em 1em 0.5em auto;
    }
	
    .site-info {
            margin: 0 0 0 auto;
            text-align: right;
            width: 50%;
    }
	
	#company-info {
		width: 50%;
	}
    
    .contact-info {
        width: auto;
        margin-bottom: 0.5em;
    }
    
}

/*--------------------------------------------------------------
# Icons
--------------------------------------------------------------*/
/* SVG icons base styles */
.icon {
    display: inline-block;
    fill: currentColor;
    height: 1.5em;
    position: relative;
    top: 0.1em;
    vertical-align: top;
    width: 1.5em;
    margin-right: 0.8em;
}

/*--------------------------------------------------------------
## Fallbacks
--------------------------------------------------------------*/
.svg-fallback {
	display: none;
}

.no-svg .svg-fallback {
    display: inline-block;
    margin-right: 0;
    height: auto;
    width: auto;
}

.no-svg .nav-links .svg-fallback {
	padding: 0 .5em;
	color: inherit;
	background: inherit;
}

.no-svg .svg-fallback.icon-arrow-long-left:before {
	content: "←";
}

.no-svg .svg-fallback.icon-arrow-long-right:before {
	content: "→";
}

.no-svg .svg-fallback:before {
    font-family: 'FontAwesome';
    content: "\f111"; 
    float: left;
    font-size: 1.2em;
    position: absolute;
    top: 0;
    left: 1em; 
}

.no-svg .svg-fallback.icon-envelope:before {
    content: "\f0e0";
}

.no-svg .svg-fallback.icon-old-phone:before {
    content: "\f095";
}

.no-svg .svg-fallback.icon-email:before {
    content: "\f095";
}

.no-svg .svg-fallback.icon-fax:before {
    content: "\f1ac";
}

.no-svg .svg-fallback.icon-location:before {
    content: "\f041";
}

/* Social Menu fallbacks */
.no-svg .social-menu a {
	height: auto;
	width: auto;
}

.no-svg .social-menu li a .screen-reader-text {
	clip: auto;
        clip-path: none;
	font-size: 16px;
	font-size: 1rem;
	font-weight: 400;
	height: auto;
	position: relative !important;
	/* overrides previous !important styles */
	width: auto;
}

.no-svg .search-form .search-submit {
    background: transparent url("https://rosetta.boleyntrust.org/wp-content/themes/rosetta/images/search.png") center top/18px no-repeat ;
}

.no-svg .error404 .page-content .search-submit,
.no-svg .search-no-results .page-content .search-submit {
  	background: transparent url("https://rosetta.boleyntrust.org/wp-content/themes/rosetta/images/search-grey.png") center top/18px no-repeat;
}

/* Scroll up button */

.topbutton {
	height: 40px;
	width: 40px;
	position: fixed;
	right: 10px;
	bottom: 100px;
	z-index: 500;
	border-radius: 50%;
	background-color: #666;
	background-image: url(https://rosetta.boleyntrust.org/wp-content/themes/rosetta/images/scrollup.svg);
	background-repeat: no-repeat;
	background-size: 26px;
	background-position: center 45%;
	display: none;
}

.topbutton:hover {
    background-color: var(--secondary-color);
}


/* Plugin specific styles */

/* Smart Slider overrides */

div#n2-ss-7 .n2-ss-slider-1, div#n2-ss-7.n2-ss-mobile .n2-ss-slider-1, div#n2-ss-7.n2-ss-tablet .n2-ss-slider-1 {
    height: 100vh !important;
  	min-height: 100vh !important;
}

div#n2-ss-7.n2-ss-desktop .n2-ss-widget-display-desktop.n2-ib {
  	width: 60px !important;
		height: 60px !important;
		top: 50% !important;
}

div#n2-ss-7 .n2-ss-slider-2 {
  height: 95%;
  height: 100vh !important;
}

div#n2-ss-7 .n2-ss-layers-container {
  height: 100vh !important;
	margin: 0px !important;
}

div#n2-ss-7 .n2-ss-desktop, div#n2-ss-7.n2-ss-desktop .n2-ss-desktop, div#n2-ss-7.n2-ss-tablet .n2-ss-tablet, div#n2-ss-7.n2-ss-mobile .n2-ss-mobile {
    position: absolute;
    bottom: 2em;
  	width: 100% !important;
}

div#n2-ss-7 .n2-style-e6c0c6a3b20545aaac7d3f27409915c2-heading {
	text-shadow: 1px 1px 1px #000;
}


/* Slide Anything */

.widget .sa_owl_theme .owl-dots .owl-dot span {
	margin: 0px 5px !important;
}

.widget  .sa_owl_theme .owl-dots .active span {
	background-color: var(--main-color) !important;
}

.owl-carousel .owl-item img {
	display: block !important;
	max-width: 120px !important;
}

.sa_owl_theme .owl-nav .owl-next {
  right: -20px !important;
}

.sa_owl_theme .owl-nav .owl-prev {
  left: -18px !important;
}

/* ICS Calendar */

/* List view */

/* .ics-calendar-list-wrapper {
  background-color: var(--main-color);
} */

.ics-calendar-date-wrapper {
	margin: 1em 0;
  	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
		flex-wrap: wrap;
}

.ics-calendar dl.events {
  	margin: 0 !important;
}

.ics-calendar-list-wrapper .ics-calendar-label {
  display: none !important;
}

.ics-calendar-list-wrapper .ics-calendar-date {
	width: 70px;
	min-height: 70px;
	color: #fff;
	background-color: var(--main-color);
	margin: 0 !important;
	font-size: 1.3rem;
	font-family: var(--feature-font);
	padding: 0.4em 0.8em;
	text-align: center;
}

.ics-calendar-list-wrapper .time-inline {
  display: none !important;
}

.ics-calendar dl.events {
	background-color: #d4edf7;
	padding: 0 1em;
	color: #222;
	flex: 1;
}

.ics-calendar dl.events dd.event {
	display: list-item;
	margin: 0.8em 0;
	line-height: 1.3em; 
}

.ics-calendar .event * {
	-webkit-hyphens: none !important;
		-ms-hyphens: none !important;
	  		hyphens: none !important;
}

.ics-calendar .event::marker {
	font-size: 0px;
}

/* Month View */

.ics-calendar-month-grid ul.events li {
	margin: 0.4em;
	background-color: var(--secondary-color);
	border-radius: 4px;
}

.ics-calendar-month-grid th {
	background: var(--main-color);
	color: #fff;
}

.ics-calendar-month-grid th, .ics-calendar-month-grid td {
	font-size: 85%;
}

/* Simple Calendar */

/* List view */

.simcal-events-list-container {
    display: flex;
	flex-wrap: wrap;
	margin-top: 0;
}

.simcal-default-calendar-list {
    padding: 0 !important;
}

.simcal-default-calendar-list dt.simcal-day-label {
	margin: 0 0 20px !important;
	width: 90px;
	display: flex;
	flex: 1;
	border-bottom: none !important;
}

.simcal-default-calendar-list dt.simcal-day-label > span {
	width: 80px;
	min-height: 82px;
	display: flex !important;
	align-items: center;
	font-size: 1.6em;
	text-align: center;
	padding: 6px 14px 3px !important;
	line-height: 1.2;
	color: #fff !important;
}

.simcal-default-calendar-list dd.simcal-day {
    width: calc(100% - 80px);
    display: flex;
    margin: 0 0 20px !important;
    background-color: #e4e8f1;
    color: #333;
	min-height: 82px;
}

.simcal-default-calendar-list ul.simcal-events {
    margin: 10px 14px !important;
    display: flex;
	flex-wrap: wrap;
}

.simcal-default-calendar-list .simcal-event-details {
    display: flex;
    align-items: center;
}

.simcal-default-calendar-list ul.simcal-events li.simcal-event {
    margin: 8px 0 !important;
    display: flex;
}

.simcal-default-calendar-list .simcal-event-details p {
    margin: 0 !important;
}

.simcal-default-calendar-list .simcal-event-details {
	font-size: 1.2em !important;
}

.simcal-default-calendar-list .simcal-event-details strong {
	font-weight: normal;
}

/* Month view */

.simcal-default-calendar-grid > table {
	border-collapse: collapse;
}

.simcal-default-calendar-grid > table tbody td,
.simcal-default-calendar-grid.simcal-default-calendar-light .simcal-day-void {
	border: 1px solid #ccc;
}

.simcal-default-calendar-grid .simcal-day-number {
    padding: 0 4px 3px;
}

.simcal-default-calendar-grid.simcal-default-calendar-light .simcal-event {
    background-color: var(--main-color);
    color: #fff;
    font-size: .8rem;
    border-radius: 5px;
    margin: 5px !important;
}

.simcal-default-calendar-grid.simcal-default-calendar-light .simcal-event:hover {
	background-color: #666;
}

.simcal-default-calendar-grid .simcal-events > .simcal-event:hover {
    text-decoration: none !important;
}

.simcal-default-calendar-grid.simcal-default-calendar-light .simcal-day:hover {
    background-color: transparent !important;
}

.simcal-default-calendar-grid.simcal-default-calendar-light .simcal-day-void:hover {
	background-color: rgba(0,0,0,.04) !important;
}

.simcal-present {
	background-color: #eee;
}

.simcal-present div {
	border: none !important;
}

.simcal-default-calendar .simcal-tooltip-content {
    font-size: 1.8em !important;
}

.simcal-default-calendar-light .simcal-nav-button {
    font-size: 1.2em;
}

.simcal-default-calendar .simcal-nav-button.simcal-next:hover,
.simcal-default-calendar .simcal-nav-button.simcal-prev:hover {
    margin-right: 0 !important;
	margin-left: 0 !important;
}


/* WP Carousel */

.wpcp-carousel-section.slick-initialized .slick-slide {
/*     vertical-align: top !important; */
}

.wpcp-carousel-section .wpcp-single-item {
/* 	vertical-align: top !important; */
    min-height: 320px !important;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex !important;
    flex-wrap: wrap;
    box-shadow: 3px 3px 6px rgba(0,0,0,0.3);
    margin: 10px;
}

.wpcp-slide-image {
    width: 240px;
    height: 280px;
    float: none;
    display: block;
    clear: both;
    text-align: center;
    overflow: hidden;
    position: relative;
    flex: 1;
    min-width: 200px;
    margin: 15px;
	border: solid 1px var(--main-color);
}

.wpcp-carousel-section .wpcp-single-item img {
    position: absolute;
    margin: auto;
    min-height: 100%;
    min-width: 100%;
    left: -100%;
    right: -100%;
    top: -100%;
    bottom: -100%;
    width: 300px;
    max-width: none !important;
    height: auto;
	object-fit: cover;
}

.wpcp-post-carousel .wpcp-single-item .wpcp-all-captions {
    flex: 1;
    font-size: 1.1rem;
    line-height: 1.2rem;
    min-width: 200px;
    margin: 15px;
    padding: 0;
}

.wpcp-post-carousel .wpcp-all-captions p {
  	font-size: 0.9rem;
	color: #fff;
}

.wpcp-single-item .wpcp-all-captions .wpcp-post-meta {
	margin: 0 0 5px;
}

.wpcp-single-item .wpcp-all-captions .wpcp-post-meta .entry-date {
	color: #fff;
}

.wpcp-post-carousel .wpcp-single-item .wpcp-all-captions h2 {
  	margin: 12px 0 18px;
}

.wpcp-single-item h2 a {
    font-size: 18px;
    font-weight: bold;
    color: #fff;
}

#sp-wp-carousel-free-id-217.sp-wpcp-217 .swiper-button-prev, #sp-wp-carousel-free-id-217.sp-wpcp-217 .swiper-button-next, #sp-wp-carousel-free-id-217.sp-wpcp-217 .swiper-button-prev:hover, #sp-wp-carousel-free-id-217.sp-wpcp-217 .swiper-button-next:hover {
	font-size: 50px;
}

/* Jetpack forms */

.contact-form input[type="email"], .contact-form input[type="tel"], .contact-form input[type="text"], .contact-form input[type="url"] {
  padding: 7px !important;
}

/* Twitter */
.r-1ets6dv {
  margin-right: 2px;
}

/* Popup Maker fix */

.pum-overlay.pum-active,
.pum-overlay.pum-active .popmake.active {
    	display: block !important;
}

/* Simple Sitemap */

.simple-sitemap-container h3 {
	color: var(--main-color);
}

.simple-sitemap-wrap {
	margin-top: 2rem;
}

.simple-sitemap-container ul.main {
  margin: 2rem 0 0 !important;
}

.simple-sitemap-container ul.main > li {
	font-size: 1.2rem;
	list-style: none;
	font-weight: bold;
	background-color: #f5f5f5;
  	padding: 0.7em;
  	margin-bottom: 2rem;
}

.simple-sitemap-container ul.children {
	margin-left: 2.5rem;
}

.simple-sitemap-container ul.children > li {
  	font-size: 1rem;
	font-weight: normal;
}