  /*!
Theme Name: 51Ƶ
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.2
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: eduspacesite
Tags: custom-background, custom-logo, custom-menu, featured-images, translation-ready

This theme, like WordPress, is licensed under the GPL.

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

@import url("/wp-content/themes/ladymargaret/editor-style.css");

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

:root {
	--main-color: #bf1616;
	--main-color-dark: #931111;
	--feature-font: 'Crimson Text', 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', Arial, sans-serif;
	line-height: 1.15; /* 1 */
	-webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
	margin: 0;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
	box-sizing: content-box; /* 1 */
	height: 0; /* 1 */
	overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
	font-family: monospace, monospace; /* 1 */
	font-size: 1em; /* 2 */
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */

a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
	border-bottom: none; /* 1 */
	text-decoration: underline; /* 2 */
	text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
	font-family: monospace, monospace; /* 1 */
	font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */

img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
	font-family: inherit; /* 1 */
	font-size: 100%; /* 1 */
	line-height: 1.15; /* 1 */
	margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input { /* 1 */
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
        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: 15.2px;
	font-size: 0.95rem;
	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%;
}

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

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

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

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

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

blockquote::before {
    content: "\201C";
    position: absolute;
    left: -35px;
    color: #999;
    font-size: 100px;
    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 1.5em 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: 0 0 1.2em;
    table-layout: fixed;
}

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

table td {
	padding: 10px	
}

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

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

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

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

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

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

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

a:hover, a:focus, a:active {
    color: var(--main-color-dark);
}

a:focus {
    outline: thin dotted;
}

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

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

a:focus-visible {
    border: 1px solid black;
    outline: red solid 2px;
}

a:-moz-focusring {
    border: 1px solid black;
    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 .top-bar {
    margin-top: 30px;
}
@media screen and (max-width: 50rem) {
    .admin-bar .top-bar {
        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
--------------------------------------------------------------*/

.top-bar {
    width: 100%;
    height: auto;
    min-height: 30px;
    padding: 0 0.8em;
    background-color: #314979;
}

.top-wrap {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    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: .6;
        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;
    }
}

#header-right {
    overflow: hidden;
    width: 100%;
    max-width: 250px;
    text-align: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: flex-end;
}

#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 2px 0;
    width: 100%;
    text-align: left;
    max-width: 230px;
    float: none;
    margin: 0 auto;
}

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

#search-area .search-field {
     color: #fff;
}

.search-form .search-submit {
    background: transparent url("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;
    min-height: 420px;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

/*.site-branding {
    width: 100%;
    margin: 0;
    position: relative;
    padding: 0 1em;
    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;
    -ms-flex-item-align: start;
        align-self: flex-start;
}*/

.site-logo {  
    height: 200px;
    text-align: center;
    display: block;
    margin: 0 auto 1em;
    width: 100%;
}

.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;
    max-height: 200px;
    margin: 0 auto;
}

.title-wrap {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
	padding: 0 1em 1em;
}

.site-title {
    width: 100%;
    margin: 0;
    font-family: var(--feature-font);
    font-size: 3.5rem;
    line-height: 1em;
    color: #222;
    text-align: center;
}

.site-title a {
    text-decoration: none;
    color: inherit;
}

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

.site-description {
    width: 100%;
    padding: 0.8em 0 0;
    color: #222;
    font-size: 1rem;
    line-height: 1.5em;
    display: block;
    margin: 0;
    text-align: center;
}

.header-image {
    display: block;
    width: 100%;
    border-radius: 0;
    overflow: hidden;
    height: 350px;
	background-position: center;
}

.home .header-image {
    height: auto;
}

@media screen and (min-width: 50rem) {
    
        .site-branding {
            width: auto;
        }
        
        .site-logo {
            margin: 0 1em 0.5em;
            width: 400px;
            z-index: 9999;
            position: absolute;
        }
        
        .site-logo img {
            margin: 0;
        }
        
        .title-wrap {
            margin: 0 1em 0 2em;
            max-width: 25%;
            position: absolute;
            bottom: 45px;
            padding: 0;
        }
        
        .site-title { 
            width: auto;
        }
    
        .site-title, .site-description { 
            text-align: left;
        }
        
        .header-image {
            position: absolute;
            top: 30px;
            right: 30px;
            width: 65%;
			border-radius: 8px;
        }
}

@media screen and (min-width: 64rem) {
        .header-image {
                right: 50px;
        }
}

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

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/

.nav-bar {
    width: 100%;
    height: auto;
    min-height: 50px;
    margin: 0 auto;
    position: relative;
    padding: 0;
    background-color: #222;
    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;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    z-index: 20000;
}

#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: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
}

/* Navigation bar position and colour on devices */
.main-navigation {
    clear: both;
    display: block;
    float: none;
    position: absolute;
    top: 0;
    z-index: 3000;
    right: 0;
}

/* Main nav buttons position and style */
.main-navigation ul {
    display: none;
    list-style: none;
    margin: 0;
    padding-left: 0;
    width: 100%;
    background-color: #222;
}

.main-navigation li {
    position: relative;
    display: block;
    clear: both;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.main-navigation a, .main-navigation a:active, .main-navigation a:visited {
    display: block;
    color: #fff;
    padding: 0.6em 1.5em 0.6em 1em;
    font-size: 0.9em;
    text-decoration: none;
}

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

.main-navigation a:focus-within {
        background: var(--main-color-dark);
        background: rgba(0,0,0,0.1);
        text-decoration: none;
}

.main-navigation .menu > li > a {   
    padding: 0.9em 1.8em;
    margin: 0 1px;
    font-size: 1em;
    text-decoration: none;
    font-weight: 500;
}

/* Hide the menu on small screens.*/

.main-navigation ul {
	display: none;
}

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

.main-navigation ul ul, .main-navigation ul ul ul {
    padding: 0;
    background-color: #222;
}

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

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

/* Submenu button style */
.main-navigation ul ul a, 
.main-navigation ul ul a:visited, 
.main-navigation ul ul a:active {
    border-bottom: none;
    padding: 0.9em 1.8em;
    position: relative;
}

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

.main-navigation ul ul a::before {
  font-family: fontawesome;
  content: "\f068";
  text-decoration: none;
  display: inline-block;
  font-size: 0.6em;
  margin-right: 1.5em;
}

.main-navigation li {
	position: relative;
}


/*.main-navigation ul ul a:hover,
.main-navigation ul ul a:focus {
    background: #000;
    -webkit-transition: background .2s;
    -o-transition: background .2s;
    transition: background .2s;
}

.main-navigation ul ul a:focus-within {
    background: #ccc;
    background: rgba(0,0,0,0.1);
    -webkit-transition: background .2s;
    -o-transition: background .2s;
    transition: background .2s;
}

.main-navigation ul ul ul a {
       padding-right: 4em;
}*/

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

.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 {
    color: #ee3126;
}

/* Small menu. */

/* Menu toggle */

.menu-toggle {
    background-color: transparent;
    border: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
    color: #fff;
    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: #fff;
    text-align: right;
    border: none;
    width: 100%;
    height: 47px;
    padding: 0 0.7em;
    font-size: 1.5em;
    background-color: transparent;
    margin: 1px 0 2px;
}

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

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

.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: 19px;
    right: 0;
    line-height: 1.5;
    margin: 0;
    padding: 0.5em;
    position: absolute;
    text-shadow: none;
    top: 0;
    width: 50px;
    text-align: center;
    background-color: rgba(0,0,0,0.2);
}

.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: 50rem) {
        /* Main Navigation */
        
        /* Hide mobile menu toggle button */
	.menu-toggle,
	.dropdown-symbol {
            display: none;
	}
        
        .dropdown-toggle {
            display: none;
            background: transparent;
        }   
        
        .menu-main-menu-container {
            overflow: visible;
        }

        /* Change nav bar for screen only */
	.main-navigation {
            position: static;
            padding: 0;
            float: right;
            border-bottom: none;
            background-color: transparent;
            text-align: right; /* Align main menu within Main Nav bar */
            width: auto;
            margin: 0 auto;
        }  
        
        
        .main-navigation a {
            padding: 0.6em 0 0.8em;
        }
        
        .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;
            clear: none;
            border-top: none;
        }
        
        /* Styles for the main menu list items only, not submenus */
        .main-navigation .menu > li {
            text-align: center;
            margin: 0;
            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 {
            padding: 0 1em;
            margin: 1em 1px;
            font-size: 1em;
            text-decoration: none;
            font-weight: 500;
            border-right: 1px solid #fff;
        }  
        
        .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 {
            text-decoration: none;
            color: #ee3126;
            background-color: transparent;
        }
        
        /* 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: #000;
        }
	
        /* Left-align drop-down menu items */
        .main-navigation li li {
                display: block;
                text-align: left;
        }
        
        /* Position drop-down menus */
        .main-navigation ul ul, .main-navigation ul ul ul {
            position: absolute;
            display: block;
            width: auto;
            left: 50%;
            margin-left: -90px;
            min-width: 180px;
            visibility: hidden;
            box-shadow: 1px 2px 3px 2px rgba(0,0,0,0.2);
            border-top: 2px solid #fff;
            padding: 0;
        }
        
        .main-navigation ul ul a::before {
            content: "";
            margin-right: 0;
          }
        
        /* Add triangle above submenus */
        .main-navigation ul.menu > li > ul::after {
            bottom: 100%;
            left: 44%;
            content: " ";
            height: 0;
            width: 0;
            position: absolute;
            pointer-events: none;
            border: solid transparent;
            border-bottom-color: #fff;
            border-width: 12px;
        }
        
        .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: 95vh;
                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: 150%;
                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 a:visited, .main-navigation ul ul a:active,
		.main-navigation ul ul ul a, .main-navigation ul ul ul a:visited, .main-navigation ul ul ul a:active {
            padding: .8em 1em;
            font-size: 0.9em;
            line-height: 1.4em;
            color: #fff;
            text-decoration: none;
        }

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

        .main-navigation li li a {
                -webkit-transition: color 0.3s ease-in-out;
                transition: color 0.3s 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: #000;
            -webkit-transition: background .2s;
            -o-transition: background .2s;
            transition: background .2s;
            color: #fff;
        }
        
        .main-navigation .menu > li.current_page_item > a,
        .main-navigation .menu > li.current-menu-item > a, 
        .main-navigation .menu > li.current_page_ancestor > a,
        .main-navigation .menu > li.current-menu-ancestor > a,
        .main-navigation .menu > li.current_page_item > a:hover,
        .main-navigation .menu > li.current_page_item > a:focus,
        .main-navigation .menu > li.current_page_item > a:focus-within,
        .main-navigation .menu > li.current-menu-item > a:hover, 
        .main-navigation .menu > li.current-menu-item > a:focus,
        .main-navigation .menu > li.current-menu-item > a:focus-within,
        .main-navigation .menu > li.current_page_ancestor > a:hover,
        .main-navigation .menu > li.current_page_ancestor > a:focus,
        .main-navigation .menu > li.current_page_ancestor > a:focus-within,
        .main-navigation .menu > li.current-menu-ancestor > a:hover,
        .main-navigation .menu > li.current-menu-ancestor > a:focus, 
        .main-navigation .menu > li.current-menu-ancestor > a:focus-within {
            color: #ee3126;
        }

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

}

/*--------------------------------------------------------------
## 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%;
    font-weight: 400;
    color: var(--main-color);
    font-size: 1.6em;
    text-decoration: none;
    display: block;    
    padding: 0 0 16px;
	margin-bottom: 22px;
	border-bottom: 1px solid #ccc;
}

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

.site-content .widget li {
    display: block;
    transition: background 200ms ease;
}

.widget a {
    font-weight: normal;
    text-decoration: none;
    font-size: 0.8rem;
    color: #666;
}

.widget a:hover {
    color: #bf1638;
}

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

.widget_pages a,
.widget_nav_menu a {
    padding: 0.5em 0.6em ;
    display: block;
    text-decoration: none;
    font-weight: normal;
    color: #666;
	box-shadow: -6px 0 0 #fff;
    border-bottom: 2px dotted #ddd;
}

.widget_pages a:hover, 
.widget_nav_menu a:hover,
.widget_pages .current_page_item > a,
.widget_nav_menu .current_page_item > a {
	box-shadow: -6px 0 0 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;
}

.header-caption .textwidget {
    max-width: 1200px;
    text-align: left;
    font-size: 1.5em;
    line-height: 1.2em;
}

@media screen and (min-width: 37.5rem) {
    .header-caption .textwidget {
        font-size: 1.8em;
    }
}

@media screen and (min-width: 56.25rem) {
    .header-caption .textwidget {
        font-size: 2.5em;
        width: 50%;
    }
}

/*.textwidget  p {
    margin: 2px 0;
}*/

/* 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: 0;
    background-color: #fff;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    margin: 3em 0;
}

.homepage-panel3 {
    background-position: 110% 50%;
    background-size: auto 600px;
    background-attachment: scroll;
}

.homepage-panel4 {
	background: var(--main-color) url(images/rose-watermark.png) right -120px bottom -130px/auto 400px no-repeat scroll;
}

/* Keep this rule if using a repeating pattern in panel 2, comment out if using a photo background. 
.homepage-panel2 {
    background-size: auto;
    background-repeat: repeat;
    background-attachment: initial;
}*/

/* Keep this rule if using a photo background, comment out if using a plain colour. 
.homepage-panel2-wrap {
    background: rgba(0,0,0,0.3);
}*/

.panel-content {
    width: 100%;
    max-width: 1200px;
    position: relative;
    margin: 0 auto 4rem;
    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;
}

.homepage-panel2 .panel-content { 
    -webkit-box-align: center;
    	-ms-flex-align: center;
        	align-items: center;
}

.homepage-panel1 .widget, .homepage-panel2 .widget, .homepage-panel3 .widget, .homepage-panel4 .widget {
    width: 100%;
    max-width: 100%;
    padding: 1em;
    position: relative;
    overflow: hidden;
    margin: 1em 1%;
    animation-duration: 0.8s;
}

.homepage-panel2 .widget, .homepage-panel3 .widget, .homepage-panel4 .widget {
    min-width: 330px;
    flex: 1;
    background-color: #fff;
}

@media screen and (min-width: 31.25rem) {
    .homepage-panel2 .widget, .homepage-panel3 .widget, .homepage-panel4 .widget {
        min-width: 400px;
    }
}

.homepage-panel1 {
    min-height: 500px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;            
    -webkit-box-align: stretch;
        -ms-flex-align: stretch;
            align-items: stretch;
    padding: 0;
	margin: 0;
    background-size: cover;
	background-position: center 40%;
}

.homepage-panel1 .homepage-panel1-wrap {
    width: 100%;
	background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0,0,0,0.6));
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

.homepage-panel1 .widget {
    color: #fff;
    max-width: 100%;
    height: 180px;
    text-align: center;
    border-radius: 8px;
    margin: 1em;
    padding: 0;
    background: var(--main-color) url(images/rose-watermark.png) right -80px bottom -80px/auto 250px no-repeat;
    animation-name: zoomInLeft;
	box-shadow: 5px 5px 0 #fff;
}

.homepage-panel1 .widget:nth-of-type(1) {
    display: block;
    width: 100%;
    min-width: 100%;
    animation-name: none;
    animation-duration: 0s;
    padding: 0;
    overflow: visible;
    height: auto;
    background-color: transparent;
    background-image: none;
    margin: 0;
    border: none;
	color: #fff;
	border-radius: 0;
}

.homepage-panel1 .widget:nth-of-type(1) .content-wrap {
	min-height: 0;
}

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

.homepage-panel1 .widget .textwidget p:first-of-type {
    font-size: 3.5rem;
	margin: 1.2rem 0;
	font-family: var(--feature-font);
	line-height: 1;
}


@media screen and (min-width: 64rem) {
    .homepage-panel1 .widget:nth-of-type(2) { 
        animation-delay: 1s 
    }
    .homepage-panel1 .widget:nth-of-type(3) { 
        animation-delay: 1.4s 
    }
    .homepage-panel1 .widget:nth-of-type(4) { 
        animation-delay: 1.8s 
    }
	.homepage-panel1 .widget:nth-of-type(5) { 
        animation-delay: 2.2s 
    }
}

@media screen and (min-width: 43.75rem) {
    .homepage-panel1 .widget {
        min-width: 200px;
		max-width: 300px;
    }
}

@media screen and (min-width: 50rem) {
    .homepage-panel1 .widget {
      	/*height: auto;*/
        -webkit-box-flex: 1;
            -ms-flex: 1;
                flex: 1;
    }
}

.homepage-panel1 .widget .content-wrap {
    height: 100%;
    min-height: 180px;
    padding: 1em;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    	-ms-flex-align: center;
    		align-items: center;
    background-color: rgba(147, 17, 17, 0);
    -webkit-transition: background .2s;
        -o-transition: background .2s;
            transition: background .2s;
}

.homepage-panel2 .widget {
    animation-name: fadeIn;
    animation-delay: 1s;
    animation-duration: 1.2s;
}

.homepage-panel2 .widget {
    text-align: center;
	font-size: 2rem;
}

.panel-content .widgettitle {
    color: #fff;
}

.homepage-panel1 .widgettitle, .homepage-panel2 .widgettitle {
    display: none;
}

.homepage-panel3 .widget {
    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: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
    min-height: 300px;
    border-radius: 8px;
    padding: 0;
    background: #ccc url(images/rose-watermark.png) right -120px bottom -130px/auto 350px no-repeat;
	font-size: 1.2em;
}

.homepage-panel3 .widget:first-of-type {
    animation-name: fadeInLeft;
}

.homepage-panel3 .widget:last-of-type {
    animation-name: fadeInRight;
}

.homepage-panel2 .widget:first-of-type a, 
.homepage-panel3 .widget a {
    font-size: 1.5rem;
    color: #fff;
    display: block;
    padding: 5px 50px 5px 10px;
	text-decoration: none;
    border-radius: 5px;
    background: #444 url("images/arrow-up-right.svg") 96% 50%/15px no-repeat;
    -webkit-transition: background .2s;
        -o-transition: background .2s;
            transition: background .2s;
}

.homepage-panel2 .widget:first-of-type a {
    max-width: 250px;
  	margin: 50px auto 0;
    background: var(--main-color-dark) url("images/arrow-up-right.svg") 94% 50%/15px no-repeat;
}

.homepage-panel2 .widget a:hover,
.homepage-panel3 .widget a:hover {
    background-color: var(--main-color);
}

.homepage-panel3 .widget a:hover {
    background-color: #757575;
}

.homepage-panel3 .widget .widgettitle {
    -webkit-box-flex: 0;
        -ms-flex: 0;
            flex: 0;
    background-color: #757575;
    padding: 0.2em 0.5em 0.3em;
}

.homepage-panel3 .widget .textwidget {
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
    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;
    padding: 0 1em 1em;
}

.homepage-panel4 .widget {
    background-color: transparent;
    color: #fff;
	font-size: 1.1rem;
    padding: 2rem;
    animation-name: fadeIn;
    animation-delay: 1s;
    animation-duration: 1.2s;
}

/* .homepage-panel4 .widget:last-of-type a, .homepage-panel4 .widget:last-of-type a:hover, .homepage-panel4 .widget:last-of-type a:focus, .homepage-panel4 .widget:last-of-type a:active, .homepage-panel4 .widget:last-of-type a:visited {
    color: #fff;
	font-size: inherit;
	text-decoration: underline;
} */

.homepage-panel4 a,
.homepage-panel4 a:visited {
	color: #fff;
	font-size: 1.1rem;
	text-decoration: underline;
}

.homepage-panel4 a:hover {
	color: #ddd;
}

/* Responsive posts carousel 

.wcp-carousel-main-wrap {
    padding: 10px 28px;
}
.wcp-slick .rpc-bg {
    background-color: #fff;
}

.slick-prev::before, .slick-next::before {
    font-size: 25px !important;
}

.slick-prev, .slick-next {
    width: 30px !important;
    height: 30px !important;
}

.slick-prev {
    left: -32px !important;
}

.slick-next {
    right: -32px !important;
}

.slick-slide {
    display: flex;
    height: 300px !important;
}

.rpc-bg {
    height: 100%;
    min-height: 250px !important;  
    padding: 10px 15px;
}

.wcp-carousel-main-wrap .post-style-2 .wcp-content-wrap h3 { 
    padding-right: 10px; 
    line-height: 20px; 
}

.wcp-carousel-main-wrap .post-style-2 .wcp-content-wrap {
    text-align: center;
}

.wcp-carousel-main-wrap .slick-track a {
    margin-top: 5px;
    display: block;
}

.wcp-carousel-main-wrap .slick-track img {
    max-height: 150px;
    max-width: 150px;
    margin: 0 auto;
}

.slick-dots {
    bottom: -40px !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: 370px !important;
}

.wpcp-slide-image {
    width: 350px;
    height: 200px;
    float: none;
    display: block;
    clear: both;
    text-align: center;
    overflow: hidden;
    position: relative;
}

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

.wpcp-post-carousel .wpcp-single-item .wpcp-all-captions {
    padding: 15px 0 0;
}

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

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

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

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

.home .site-content {
    padding: 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-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: reverse;
                -ms-flex-direction: row-reverse;
                    flex-direction: row-reverse;
        }

	.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: 1.8em;
    font-weight: 400;
    color: var(--main-color);
    margin: 0 0 1em;
    border-bottom: 1px solid #ccc;
    padding: 0 0 14px;
    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;
}

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

.sticky-title {
    display: none;
}

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

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

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

.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("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::after, .tags-links::after {
    display: block;
    content: "";
    margin: 1em auto;

}

.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: 1em;
    width: 250px;
    border-radius: 10px;
    background-color: #fff;
    margin: 0 0.5em 1em;
    border: 1px solid #bbb;
}

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

.featured-image {
  margin: 0 0 1em;
  float: none;
  display: block;
  clear: both;
  text-align: center;
  height: 145px;
  overflow: hidden;
  position: relative;
  border: 2px solid #314979;
}

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

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

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

#colophon {
    position: relative;
    padding: 0;
    width: 100%;
    margin-top: 4em;
}

#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: 0 auto 4rem;
  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: 120px;
    width: auto;
    margin: 0.5em auto;
    border: none;
    padding: 0 1em;
    max-width: 220px !important;
}

.divider {
    padding: 0 1em;
}

.footer-content1, .footer-content2 {
    width: 100%;
    height: auto;
    overflow: hidden;
    padding: 1.2em 0.5em;
}

.footer-content1 {
    background-color: #ffffff;
    padding: 0.5em;
}

.footer-content2 {
    background-color: #ffffff;
}

@media screen and (min-width: 64rem) {
  	.footer-content { padding-left: 5em; }
}

.footer-content1-wrap, .footer-content2-wrap {
    width: 100%;
    max-width: 1200px;
    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;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

.footer-content1-left {
    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;
}

.site-info, .contact-info, .company-info {
    padding:  0;
    font-size: 0.7em;
    color: #fff;
    line-height: 1.3em;
    text-align: center;
    margin-bottom: 1.5em;
}

.contact-info {
    width: 100%;
}

.site-info {
    padding: 0;
    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;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;*/
}

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

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

.site-logo-footer {
    height: 100px;
    margin: 1em;
    padding: 0;
    width: 100%;
    text-align: center;
}

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

@media screen and (min-width: 45rem) {
    .footer-content1-wrap, .footer-content2-wrap {
        -webkit-box-pack: justify;
            -ms-flex-pack: justify;
                justify-content: space-between;
    }
    
    .site-logo-footer {
        width: auto;
        text-align: left;
		margin: 0.5em 1em;
    }
    
    .company-info {
        width: 300px;
        text-align: left;
		margin-bottom: 0.5em;
    }
    
    .contact-info {
        width: auto;
		margin-bottom: 0.5em;
    }
    
    .contact-info div {
        text-align: right;
    }
    
    .site-footer .site-logo img {
        margin: 0;
    }
}

.site-info a, 
.site-info a:active,
.site-info a:focus,
.site-info a:visited,
.contact-info a,
.contact-info a:active,
.contact-info a:focus,
.contact-info a:visited {
    text-decoration: none;
    color: #fff;
}

.site-info a:hover,
.contact-info a:hover {
    color: #aaa;
}

.social-menu {
    margin: 0 0 0 1em;
    -ms-flex-item-align: end;
        align-self: flex-end;
}

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

.social-menu ul a {
    display: block;
    padding: .5em;
    color: white;
    text-decoration: none;
    opacity: .6;
}

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

.social-menu .icon {
    width: 2em;
    height: 2em;
}

/*--------------------------------------------------------------
# Icons
--------------------------------------------------------------*/
/* SVG icons base styles */
.icon {
	display: inline-block;
	fill: currentColor;
	height: 1.5em;
	position: relative;
	/* Align more nicely with capital letters */
	top: -0.0625em;
	vertical-align: middle;
	width: 1.5em;
}

.contact-info .icon, .top-links .icon {
    width: 1.2em;
    height: 1.2em;
    margin-right: 0.4em;
}

.contact-info .icon-fax, .contact-info .icon-envelope {
    width: 1em;
    height: 1em;
    margin-right: 0.6em;
}

/*--------------------------------------------------------------
## 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("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("images/search-grey.png") center top/18px no-repeat;
}

/* Scroll up button */

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

.topbutton:hover {
	background-color: #ee3126;
}

/* # Editor Styles */

a.btn-rosebg,
a.btn-rosebg:focus, 
a.btn-rosebg:visited {
	font-size: 1.5rem;
	line-height: 1.2em;
	color: #fff;
	display: block;
	padding: 30px 20px 30px;
	text-decoration: none;
	border-radius: 5px;
	transition: background .2s;
	background: var(--main-color) url(images/rose-watermark.png) right -80px bottom -100px/auto 220px no-repeat;
	height: 90px;
	width: 350px;
	text-align: center;
}

a.btn-rosebg:hover {
	color: #fff;
	background-color: var(--main-color-dark);
	background-image: none;
}


/* Plugin specific styles */

/* Responsive lightbox 
.nivo-lightbox-theme-default .nivo-lightbox-image img {
	border: 4px solid #fff;
} */

/* 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: 370px !important;
}

.wpcp-post-carousel .wpcp-single-item .wpcp-all-captions {
    padding: 15px 0 0;
}

.wpcp-single-item h2 a {
    font-size: 25px;
    font-weight: bold;
    line-height: 30px;
}

/* 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.8em;
	text-align: center;
	padding: 6px 14px 3px !important;
	font-family: var(--feature-font);
	line-height: 1.2;
}

.simcal-default-calendar-list dd.simcal-day {
    width: calc(100% - 80px);
    display: flex;
    margin: 0 0 20px !important;
    background-color: #ffdcdc;
    color: #222;
	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.4em !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: 0.8rem;
    border-radius: 5px;
    margin: 5px !important;
}

.simcal-default-calendar-grid.simcal-default-calendar-light .simcal-event:hover {
	background-color: var(--main-color-dark);
}

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

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