/*!
Theme Name: Prime Malta
Theme URI: http://underscores.me/
Author: the Concept Stadium
Author URI: https://conceptstadium.com
Description: Description
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: primemalta
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.

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

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
/* normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
	line-height: 1.15; /* 1 */
	-webkit-text-size-adjust: 100%; /* 2 */
}

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

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

body {
	margin: 0;
}

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

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

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

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

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

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

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

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

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

a {
	background-color: transparent;
}

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

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

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

b,
strong {
	font-weight: bolder;
}

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

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

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

small {
	font-size: 80%;
}

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

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

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

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

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

img {
	border-style: none;
}

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

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

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

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

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

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

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

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

button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */

legend {
	box-sizing: border-box; /* 1 */
	color: inherit; /* 2 */
	display: table; /* 1 */
	max-width: 100%; /* 1 */
	padding: 0; /* 3 */
	white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */

[type="checkbox"],
[type="radio"] {
	box-sizing: border-box; /* 1 */
	padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
	-webkit-appearance: textfield; /* 1 */
	outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
	-webkit-appearance: button; /* 1 */
	font: inherit; /* 2 */
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */

template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */

[hidden] {
	display: none;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/

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

h1, h2, h3, h4, h5, h6 {
	font-family: Signika, sans-serif;
	font-weight: 400;
	clear: both;
}
h1 {
	font-size:3.998rem;
	margin:2.1rem 0 1.68rem 0;
}
h2 {
	font-size:2.827rem;
	margin:1.78rem 0 1.424rem 0;
}
h3 {
	font-size:1.99rem;
	margin:1.46rem 0 1.168rem 0;
}
h4 {
	font-size:1.414rem;
	margin:1.14rem 0 .912rem 0;
}
h5 {
	font-size:1rem;
	margin:.82rem 0 .656rem 0;
}
h6 {
	font-size:.707rem;
	margin:.5rem 0 .4rem 0;
}

p {
	margin-bottom: 1.5em;
}

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

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

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

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

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

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

big {
	font-size: 125%;
}

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

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

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

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

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

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

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

dt {
	font-weight: bold;
}

dd {
	margin: 0 1.5em 1.5em;
}

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

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

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

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	font-size: 12px;
	font-size: 0.75rem;
	line-height: 1;
	padding: .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;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
	color: royalblue;
    text-decoration: none;
    -webkit-transition: all,0.4s,ease;
    -moz-transition: all,0.4s,ease;
    -ms-transition: all,0.4s,ease;
    -o-transition: all,0.4s,ease;
    transition: all,0.4s,ease;
}

/*a:visited {
	color: purple;
}*/

a:hover, a:focus, a:active {
	color: midnightblue;
}

a:focus {
	outline: thin dotted;
}

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

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.main-navigation {
	clear: both;
	display: block;
	float: left;
	/*width: 100%;*/
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	left: 100%;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	float: left;
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

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

.menu-toggle, .menu-toggle:before, .menu-toggle:after {
    position: absolute;
    display: block;
    width: 16px;
    height: 2px;
    border-radius: 4px;
    background-color: #fff;
    border-color: #fff;
    font-size: 0;
    top: 50%;
    outline: none;
    transition-property: transform;
    transition-timing-function: cubic-bezier(.55,.055,.675,.19);
    transition-duration: .22s;
}
.menu-toggle {
    right: 40px;
}
.menu-toggle:hover {
    border-color: #fff;
}
.menu-toggle:before, .menu-toggle:after {
    display: block;
    content: "";
    left: -1px;
}
.menu-toggle:before {
    top: -6px;
    transition: top .1s ease-in .25s,opacity .1s ease-in;
}
.menu-toggle:after {
    top: 4px;
    transition: top .1s ease-in .25s,transform .22s cubic-bezier(.55,.055,.675,.19);
}
.toggled .menu-toggle, .toggled .menu-toggle:before, .toggled .menu-toggle:after {
    background-color: #fff;
}
.toggled .menu-toggle {
    transition-delay: .12s;
    transition-timing-function: cubic-bezier(.215,.61,.355,1);
    transform: rotate(225deg);
}
.toggled .menu-toggle:before {
    top: 0;
    transition: top .1s ease-out,opacity .1s ease-out .12s;
    opacity: 0;
}
.toggled .menu-toggle:after {
    top: -1px;
    right: -1px;
    transition: bottom .1s ease-out,transform .22s cubic-bezier(.215,.61,.355,1) .12s;
    transform: rotate(-90deg);
}

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

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

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

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

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
	/* Above WP toolbar. */
}

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

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

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

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

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

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

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

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

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

.post,
.page {
	margin: 0 0 1.5em;
}
.post + div,
.page + div {
	margin-top: -1.5em;
}

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

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

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

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

.bypostauthor {
	display: block;
}

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

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

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

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

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

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

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

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

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

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-caption {
	display: block;
}

/** General Styles **/

/* Flex */
.flex {
	display: flex;
}
.flex-wrap {
	flex-wrap: wrap;
}
.flex-center {
	justify-content: center;
}
.flex-end {
	justify-content: flex-end;
}
.flex-space-around {
	justify-content: space-around;
}
.flex-space-between {
	justify-content: space-between;
}
.flex-space-evenly {
	justify-content: space-evenly;
}
.flex .col {
	margin-bottom: 32px;
}
.flex-1-2 {
	width: calc(98% / 2);
}
.flex-1-3 {
	width: calc(98% / 3);
}
.flex-2-3 {
	width: calc((98% / 3)*2);
}
.flex-1-4 {
	width: calc(98% / 4);
}
.flex-3-4 {
	width: calc((98% / 4)*3);
}
.align-items-center {
	align-items: center;
}
.row {
    margin-bottom: 32px;
}

/* Ratios */
.ratio-16-9 {
	padding-top: 56.25%; /* 16:9 Aspect Ratio */
}
.ratio-4-3 {
	padding-top: 75%; /* 4:3 Aspect Ratio */
}
.ratio-3-2 {
	padding-top: 66.66%; /* 3:2 Aspect Ratio */
}

/* Overlays */

.overlay {
	position: absolute;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
}
.overlay.dark {
	background-color: rgba(0, 0, 0, 0.3);
}
.overlay.light {
	background-color: rgba(255, 255, 255, 0.3);
}

/* Text */
.text-center {
	text-align: center;
}
.text-right {
	text-align: right;
}

/** Header **/
.site-header {
	margin: 0;
	padding: 0;

	position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 9999;
}
.unknown-visitor .site-header {
	position: initial;
}

.site-branding {
	margin: 10px 0;
	text-align: center;
}

.custom-logo-link img {
    max-height: 73px;
    width: auto;
}

.nav-search {
	position: relative;
    padding-right: 3em;
}

/* Navigation */
.nav-menu > li > a {
    padding: 40px 15px;
}
.main-navigation a {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.menu-item-has-children .dropdown {
    position: absolute;
    right: 0;
    top: 10px;
    width: 20%;
    color: #212c65;
    text-align: center;
    transition: all 0.3s ease-in-out;
}
.menu-item-has-children .dropdown.open:after {
    transform: rotate(180deg);
}

.main-navigation ul ul {
	letter-spacing: 0px!important;
    list-style: none;
    min-width: 250px;
    padding: 20px 30px;
    margin: 0 auto;
    background: rgba(33, 44, 101, 0.6);
    border: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    -o-border-radius: 0;
    border-radius: 0;
    box-shadow: none;
}
.main-navigation .sub-menu li a {
    padding: 8px 0;
    text-transform: initial;
    border-bottom: 1px solid rgba(255,255,255,0.3);
}

/* Social Networks */
header .social-media {
	display: flex;
	align-items: center;
}
header .social-media img {
	width: auto;
	height: 16px;
}

/* Search */
header .search {
	width: 100%;
}
.search-button {
    position: absolute;
    right: 20px;
    top: 45%;
    -webkit-transform: translate(0, -45%);
    transform: translate(0, -45%);
}
.search-toggle {
    position: relative;
    display: block;
    height: 10px;
    width: 10px;
}
.search-toggle::before, .search-toggle::after {
    content: '';
    position: absolute;
    display: block;
    transition: all 0.1s ease-in-out;
}
.search-toggle::before {
    border: 2px solid #fff;
    border-radius: 50%;
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
}
.search-toggle.active::before {
    /*width: 0;
    border-width: 1px;
    border-radius: 0;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    top: -1px;
    left: 4px;*/
    height: 2px;
    width: 16px;
    background: #fff;
    top: 4px;
    left: -1px;
    border-width: 0;
    border-radius: 0;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
.search-toggle::after {
    height: 2px;
    width: 7px;
    background: #fff;
    top: 10px;
    left: 8px;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}
.search-toggle.active::after {
    width: 16px;
    left: -1px;
    top: 4px;
}
header .search.show .search-button {
    top: 47%;
}
header .search .search-form {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100%;
    max-height: 0;
    background-color: rgba(33, 44, 101, 0.3);
    transition: all 0.3s;
    z-index: -1;
}
header .search.show .search-form {
    max-height: 40px;
    -webkit-transform: translateY(100%);
    transform: translateY(100%);
}
header .search.show .search-form:focus-within {

	background-color: rgba(33, 44, 101, 0.6);
}
header .search .search-form .search-field {
    width: calc(100% - 45px);
    height: 100%;
    padding: 0 1em;
    background-color: transparent;
    border: 0;
    border-radius: 0;
    opacity: 0;
    color: #fff;
}
header .search .search-form .search-field::placeholder {
  color: rgba(255, 255, 255, 0.9);
  opacity: 1; /* Firefox */
}

header .search .search-form .search-field:-ms-input-placeholder { /* Internet Explorer 10-11 */
 color: rgba(255, 255, 255, 0.9);
}

header .search .search-form .search-field::-ms-input-placeholder { /* Microsoft Edge */
 color: rgba(255, 255, 255, 0.9);
}
header .search.show .search-form .search-field {
    opacity: 1;
    transition: all 0.3s;
}
header .search.show .search-form .search-field:focus {
    outline: none;
    outline-style:none;
	box-shadow:none;
}

.search-submit {
	opacity: 0;
	border: 0;
    float: right;
    width: 45px;
    height: 100%;
    background: transparent;
    transition: all 0.3s;
    cursor: pointer;
}
/*.search-submit:before, .search-submit:after {
	content: '';
    position: absolute;
    display: block;
    transition: all 0.1s ease-in-out;
    cursor: pointer;
}
header .search.show .search-submit::before {
    border: 2px solid #fff;
    border-radius: 50%;
    width: 15px;
    height: 15px;
    right: 20px;
    top: 7px;
}
header .search.show .search-submit::after {
    height: 2px;
    width: 14px;
    background: #fff;
    top: 23px;
    right: 11px;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}
header .search.show .search-submit {
	opacity: 1;
}*/

.search-submit:before, .search-submit:after {
	content: '';
    position: absolute;
    display: block;
    transition: all 0.1s ease-in-out;
    cursor: pointer;
}
header .search.show .search-submit::before {
    border: 2px solid #fff;
    border-radius: 50%;
    width: 10px;
    height: 10px;
    right: 20px;
    top: 12px;
}
header .search.show .search-submit::after {
    height: 2px;
    width: 7px;
    background: #fff;
    top: 22px;
    right: 15px;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}
header .search.show .search-submit {
	opacity: 1;
}

/*.search-submit:before, .search-submit:after {
	border-right: 2px solid;
    content: '';
    display: block;
    height: 8px;
    margin-top: -6px;
    position: absolute;
    -moz-transform: rotate(135deg);
    -o-transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
    transform: rotate(135deg);
    right: 10px;
    top: 50%;
    width: 0;
}
header .search.show .search-submit::after {
    margin-top: -1px;
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}
header .search.show .search-submit {
	opacity: 1;
}*/

/** Content Area **/
.wrapper {
	max-width: 1210px;
	margin: 0 auto;
}

.block {
	margin: 32px 0;
	padding: 32px 0;
}
.block .heading {
	text-align: center;
}

/* Images */
.bg-image-cover {
	backface-visibility: hidden;
	-webkit-font-smoothing: subpixel-antialiased;
	background-position: center;
	background-repeat: no-repeat;
	-moz-background-size: cover;
	-o-background-size: cover;
	-webkit-background-size: cover;
	background-size: cover;
	transition: all 0.3s ease-in-out;
}
.archive .bg-image-cover {
    position: relative;
    height: 200px;
}
.archive .bg-image-cover:hover {
	opacity: 0.8;
}
.bg-image-cover .title {
	position: absolute;
	right: 0;
	bottom: 10px;
	left: 0;
	padding: 0 5px;
	background: rgba(0, 0, 0, 0.4);
	color: #fff;
	text-align: center;
}
.bg-image-cover .title h1,
.bg-image-cover .title h2,
.bg-image-cover .title h3,
.bg-image-cover .title h4,
.bg-image-cover .title h5,
.bg-image-cover .title h6 {
	color: #fff;
}

/* Posts */
.post .content {
	text-align: center;
}
.post .content .title a {
	text-decoration: none;
}

/* Single Page */
.entry-header {
    padding: 30px 0;
    text-align: center;
}
.entry-header.bg-image-cover {
    padding: 120px 0;
}
.entry-header.bg-image-cover,
.entry-header.bg-image-cover .entry-title,
.entry-header.bg-image-cover .entry-subtitle {
    color: #fff;
	text-shadow: 2px 2px #212c65;
}
.entry-header .entry-title {
	margin: 0 0 10px;
}
.entry-header .entry-subtitle {
	margin: 0;
	font-family: Raleway, sans-serif;
}

/* Single Recipe */
.single-steps .title {
  clear: none;
}
table.recipe-steps-table {
  width: auto;
}
.ingredients-meta {
	margin-top: 32px;
	    border-bottom: 1px solid rgba(0,0,0,0.1);
}
.single-meta-title { padding-right: 10px; font-weight: bold; }
.ingredients-meta td {
    padding: 5px 0px;
}
.ingredients-meta tr:last-child td {
    padding-bottom: 20px;
}
.single-meta-title svg {
	max-width: 29px;
  max-height: 29px;
	vertical-align: middle;
	margin-right: 10px;
}

.single-ingredients .ingredients-table td {
    border-bottom: 1px solid rgba(0,0,0,0.1);
    padding: 10px 20px;
}
.single-ingredients .ingredients-table td.ingredient-amount {
	text-align: right;
	width: 25%;
	padding: 10px 0;
}
.single-ingredients .ingredients-table td.ingredient-name {
    padding-right: 0;
}
.ingredient-heading {
	font-weight: bold;
}

.single-steps .recipe-steps-table tr {
    border-bottom: 1px solid rgba(0,0,0,0.1);
		vertical-align: text-top;
}
.single-step-number {
	width: 10%;
}
.single-step-description p {
	margin: 16px 0 0;
}

.hints_tips .title:after {
	content: '👍';
	margin-left: 10px;
	font-size: 20px;
    vertical-align: middle;
}

/* Single Cut */
.single-cut .entry-header {
    position: relative;
    margin-bottom: 32px;
    padding: 0;
    color: #fff;
    background: #1a1a1a;
	background: #ffffff;
	background: -moz-linear-gradient(left, #ffffff 45%, #1a1a1a 45%);
	background: -webkit-linear-gradient(left, #ffffff 45%,#1a1a1a 45%);
	background: linear-gradient(to right, #ffffff 45%,#1a1a1a 45%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#1a1a1a',GradientType=1 );
}
.cut-image-wrap {
    background: #fff;
}
.cut-title-wrap {
    text-align: left;
}
.cut-title-wrap .entry-title, .cut-title-wrap .entry-subtitle {
    color: #fff;
}
.cut-alias {
    color: #a49576;
}
.butchers-note {
	padding: 10px;
	background-color: #1a1a1a;
	color: #fff;
}
.butchers-note .inner {
    border: 1px solid #fff;
    padding: 20px;
    text-align: center;
}
.butchers-note h4 {
	color: #fff;
}

/** Footer **/
.footer-widgets {
	margin: 0;
	padding: 32px 0;
	background: #3e3e3e;
	color: #fff;
	font-size: 14px;
}
.footer-widget {
    padding: 0 5px;
}
.footer-widgets .widget-title {
	margin: 0;
	color: #fff;
	font-size: 1.5em;
}
.footer-widget section > div {
	padding: 0;
}

.site-footer {
	font-size: 0.75em;
}

/** Popup **/
#mask {
  position:absolute;
  left:0;
  top:0;
  z-index:9000;
  background-color:#000;
  display:none;
}
.popup .window {
  position:absolute;
  left:0;
  top:0;
  width:440px;
  height:200px;
  display:none;
  z-index:9999;
  padding:20px;
  /*border-radius: 15px;*/
  text-align: center;
}
.popup #dialog {
  width:90vw;
  height:90vh;
  padding:10px;
  padding:0;
  background-color:#ffffff;
  font-size: 15pt;
}
.popup .custom-logo-link img {
	max-height: 100px;
}
.popup .title {
	color: white;
}
.popup .content {
	color: white;
  text-align: center;
}
.popup .button {
    position: absolute;
    font-size: 24px;
}

.popup .flex {
	height: 100%;
}
.popup .flex .flex-1-2 {
	width: calc(100% / 2);
}
.popup .inner {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    transform: translate(-50%, -50%);
}

/* ACF Map **/
.acf-map {
	width: 100%;
	height: 400px;
	border: #ccc solid 1px;
}

/* fixes potential theme css conflict */
.acf-map img {
	max-width: inherit !important;
}

/* Shops */
.shops-map .logo {
    text-align: center;
}
.shops-map .logo img {
    max-height: 60px;
    width: auto;
    object-fit: contain;
}
.shops {
    margin: 32px 0;
}
.shop {
	margin-bottom: 32px;
    text-align: center;
}
.shop .logo img {
    height: 90px;
    object-fit: contain;
}
.shop .opening-hours .details {
	max-width: 70%;
}

/** Fancy Border **/
.fancyborder-wrap {
	padding: 5px;
    border-radius: 10% 90% 5% 95% / 85% 20% 80% 15%;
    border: 4px solid #212c65;
    transition: border-radius 0.3s ease-in-out;
}
.fancyborder-wrap:hover {
    border-radius: 5% 95% 2% 98% / 90% 10% 90% 10%;
}
.fancyborder {
	border-radius: 10% 90% 5% 95% / 85% 20% 80% 15%;
    overflow: hidden;
}
.fancyborder-wrap:hover .fancyborder {
	border-radius: 5% 95% 2% 98% / 90% 10% 90% 10%;
}

/** Filters **/
.filters {
	margin-bottom: 32px;
}

/** Buttons **/
.button {
	padding: 10px 15px;
	color: #212c65;
	border: 2px solid #212c65;
	border-radius: 90% 10% 90% 10% / 10% 90% 10% 90%;
	transition: all 0.3s ease-in-out;
    font-weight: bold;
}
.button:hover {
	background-color: #212c65;
	border-radius: 95% 5% 95% 5% / 5% 90% 10% 95%;
}
.button.inverted {
    background-color: #212c65;
    color: white;
}
.button.inverted:hover {
    background-color: transparent;
    color: initial;
}

.button.secondary {
	background-color: #fff;
}
.button.secondary:hover {
	background-color: #212c65;
	color: #fff;
}

/** Flexible Content **/
.page-template-page-flexible-content .page {
	margin: 0;
}
section > div {
    padding: 32px 0;
}
.section-title-wrap:after {
    content: "";
    display: block;
    margin: 16px auto;
    border: 0;
    border-top: 1px dashed #c0c0c0;
    width: 10%;
}
.section-title, .subtitle {
    margin-top: 0;
    text-align: center;
}
.section-title + .subtitle {
    margin-top: -1.424rem;
}

/* Image Offset */
.image-offset-wrap {
	position: relative;
	padding-bottom: 85px;
	margin-left: 0;
	margin-right: 0;
}
.image-offset-wrap.media-left {
    flex-direction: row-reverse;
}

.image-offset {
	position: relative;
	width: 100vw;
}
@media screen and (min-width: 885px) {
	.image-offset {
		transition: all 1s ease-out;
		position: absolute;
		top: 159px;
		bottom: 0;
		right: 0;
		width: calc(1296px * .6612);
		max-width: calc((100vw * .9) - 1px);
		margin: 0;
	}
	.image-offset {
		top: 0;
	}
	.image-offset-wrap.media-left .image-offset {
	    left: 0;
	}
}

.image-offset .media {
	height: 100%;
}

.image-offset-wrap .copy-block {
    position: relative;
    background: rgba(237, 237, 238, 0.9);
    padding: 23px;
}
.image_offset .section-title-wrap:after {
    margin-left: 0;
    margin-right: 0;
    border: 1px solid #212c65;
}
@media screen and (min-width: 885px) {
	.image-offset-wrap .copy-block {
	    padding: 0;
	    overflow-y: hidden;
	    display: flex;
	    flex-flow: row nowrap;
	    align-items: center;
	    transition: all 1s ease-out;
	    margin-top: -60px;
	}
	.image-offset-wrap .copy-block {
	    margin-top: calc((((1296px * .6612) * .75) - ((1296px * .4930) * .8620)) / 2);
	}

	.image-offset-wrap .copy-block .inner-copy {
	    margin: 80px;
	    flex: 1 0;
	}
}

/* Icon Columns */
.icon img, .icon svg {
    width: 52px;
    height: 52px;
    object-fit: contain;
}

/** Prime Customisations **/
.entry-title, .section-title, .slider .content h2 {
	font-family: 'Signika', sans-serif;
	text-transform: uppercase;
    font-weight: 500;
}
.back-button {
    margin-top: 64px;
    text-align: right;
}

/* Products Page */

.products {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	grid-template-rows: 400px;
	grid-gap: 30px;
}

.products .product {
	position: relative;
	overflow: hidden;
}
.products .product img {
	width: 100%;
	height: 400px;
	object-fit: cover;
	-webkit-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
}
.products .product:hover img {
	-webkit-transform: rotate(2deg) scale(1.1);
    transform: rotate(2deg) scale(1.1);
}
.products .product .overlay {
	transition: 0.3s ease-in-out;
}
.products .product:hover .overlay.dark {
	background-color: rgba(0, 0, 0, 0.1);
}
.products .product .title {
	position: absolute;
	margin: 0;
	left: 0;
	top: 50%;
	right: 0;
	background: none;
	color: #fff;
	text-align: center;
	transform: translateY(-50%);
}

.products-groups {
	display: grid;
	grid-template-columns: repeat(3, minmax(250px, 1fr));
	/* grid-template-rows: repeat(auto-fill, 400px); */
	grid-gap: 30px;
}

/* .products-groups {
	display: flex;
	flex-direction: row;
	justify-content: center;
}

.products-groups .products-group {
	padding: 15px;
	max-width: 250px;
} */

.products-groups .products-group {
	overflow: hidden;
	position: relative;
	max-height: 400px;
}

.products-groups .products-group a {
	display: block;
	width: 100%;
	height: 100%;
}

.products-groups .products-group img {
	width: 100%;
	height: 100%;;
	object-fit: cover;
	-webkit-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
}

.products-groups .products-group:hover img {
	-webkit-transform: rotate(2deg) scale(1.1);
    transform: rotate(2deg) scale(1.1);
}

.products-groups .products-group .overlay {
	transition: 0.3s ease-in-out;
}

.products-groups .products-group:hover .overlay.dark {
	background-color: rgba(0, 0, 0, 0.1);
}

.products-groups .products-group .title {
	position: absolute;
	margin: 0;
	left: 0;
	top: 50%;
	right: 0;
	background: none;
	color: #fff;
	text-align: center;
	transform: translateY(-50%);
}

/* Products */
ul.selections {
	margin: 0;
    padding: 0;
	list-style: none;
}

/* Products Grid */
.products_grid .products {
    /*display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    grid-gap: 00px;
    grid-auto-rows: minmax(180px, auto);
    grid-auto-flow: dense;
    grid-template-rows: auto;
    padding: 10px;*/
    display: flex;
  flex-wrap: wrap;
}
.products_grid .products .product {
	height: 200px;
	flex: 1 0 auto;
}
.products_grid .products .product.wide {
	width: 50%;
}
.products_grid .products .product img {
	height: fit-content;
}
/*.products_grid .product.high {
	grid-column-end: span 2;
    grid-row-end: span 3;
}*/

/* Tiles */
.tile {
	position: relative;
	width: 100%;
	height: calc((100vw - 40px) * .5625);
	background-color: #212c65;
	margin: 1rem 0;
	padding-bottom: 0;
	-moz-transition: all 0.3s;
	-webkit-transition: all 0.3s;
	transition: all 0.3s;
}
.tile:hover {
	-webkit-box-shadow: 5px 5px 10px 0px rgba(0,0,0,0.6);
	-moz-box-shadow: 5px 5px 10px 0px rgba(0,0,0,0.6);
	box-shadow: 5px 5px 10px 0px rgba(0,0,0,0.6);
    -moz-transform: scale(1.05);
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
}
.tile .border {
	outline: 2px solid rgba(255, 255, 255, 0.8);
    outline-offset: -13px;
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
    margin: 0;
}
.tile .inner {
	display: flex;
	flex-direction: column;
	justify-content: center;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	margin: auto;
	color: #FFFFFF;
	text-align: center;
}
.tile .title {
	position: relative;
	margin: 0;
	font-size: 1.8rem;
	line-height: 2.5rem;
	background: none;
	text-align: center;
}
.tile .title:after {
	position: absolute;
    content: '';
    border-bottom: .15rem solid currentColor;
    width: 1rem;
    bottom: -2.3rem;
    left: 50%;
    transform: translateX(-50%);
}
.tile p {
	display: none;
}
