/*
Theme Name: Business One Page Memoria
Template: business-one-page
*/

/* --- child theme styles: --- */

/* memoria styles */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display&family=Raleway&display=swap');

.house { color: #263B7D !important;}  /* branding guidelines blue */
.secondary { color: #448431; } /* branding guideline sgreen */
.houselight { color: #888b8d !important; } /* branding guidelines light grey */
.dark { color: #6f7271 !important; } /* branding guidelines dark grey */

.housebg { color: #ffffff; background: #263B7D;}
.secondarybg { color: #ffffff; background: #448431; }
.houselightbg { color: #ffffff; background: #888b8d; }
.darkbg { color: #ffffff; background: #6f7271; }

.white { color: #ffffff !important; }
.whitebg { background: #ffffff !important; }

.redbg { color: #ffffff; background: #dd0000 !important; }
.redbg a { color: #ffffff !important; }

.lightbluebg { background: #ecf0f9 !important; } 

.highlight { color: #263B7D !important; font-weight: bold; }
.highlighted { background: #263B7D !important; color: #ffffff; }
.boldred { color: #C00000 !important; font-weight: bold; }
.bold { font-weight: 800 !important; }
.notbold { font-weight: 200 !important; }

.transparent {color: transparent;}
.uppercase {text-transform: uppercase;}

.feature-list, .feature-list ul { margin-top: 0; padding-left: 2em; list-style-type: none !important; text-align: left !important; }
.feature-list li { position: relative; margin-bottom: 0.5em; }
.feature-list li:before { position: absolute; margin-left: -1.3em; font-weight: bold; }
.feature-list li.tick:before { content: "\2714\fe0e"; color: #008000 !important; }
.feature-list li.cross:before { content: "\2718\fe0e"; color: #C00000 !important; }
.feature-list li.query:before { content: "\2753\fe0e"; color: #000000 !important; }

.relative { position: relative; }

body {
    color: #404040;
	font-weight: normal;
	font-size: 16px;
	font-family: Raleway, Helvetica, Arial, sans-serif;
	-webkit-text-size-adjust: 100%;
}

h1, h2, h3, h4 ,h5, h6,
.content-area .post .entry-header .entry-title
{
	font-family: 'Playfair Display', 'Palatino Linotype', 'Book Antiqua', Palatino, 'Times New Roman', serif !important; color: #263b7d !important; font-weight: 300 !important; margin: 0 auto 1em !important;
	text-align: center !important;
	line-height: 1.3em;
}

h1 { font-size: 32px; }
h2 { font-size: 38px; }
h3 { font-size: 24px; }
h4 { font-size: 22px; }
h5 { font-size: 20px; }
h6 { font-size: 18px; }

.tags-block { border-top: 0 none; }

.videocontainer,
.featured-image,
.featured-slider {
	margin-top: 0;
	height: calc(37.6vw);
	max-height: calc(50vh);
	overflow: hidden;
}

.featured-slider>.metaslider { position: absolute; top: 50%; transform: translateY(-50%); }
.featured-slider .metaslider, .featured-slider .metaslider>div, .featured-slider .metaslider>div>div, .featured-slider .metaslider>div>div>div, .featured-slider .metaslider>div>div>div>ul { min-height: 100% !important; }
.ms-theme-cubic { padding-bottom: 0 !important; }
a.flex-next, a.flex-prev { background-color: rgba(0,0,0,0.2) !important; }

.trustpilot-widget { padding: 9px 0 0 0; width: 100%; text-align: center; }
.featured-image .trustpilot-widget, .featured-slider .trustpilot-widget { position: absolute !important; top: 0; }

.container, .containerwide {
    width: 1500px;
	max-width: 100%;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
	box-sizing: border-box;
}

.inner-container {
    width: 1280px;
	max-width: 100%;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
	box-sizing: border-box;
}
.narrow-wrapper { max-width: 800px; margin: 0 auto; }

.inner-wrap { max-width: 1000px; margin: 0 auto; padding: 25px; }

.intro-box { background: #ffffff; border-radius: 9px; padding: 18px; width: 100%; margin: 0; box-sizing: border-box; box-shadow: 0px 5px 25px 3px rgba(0,0,0,0.33);}
.intro-box h1 { font-size: 1.5em; line-height: 1.5em; }
.intro-box p { text-shadow: none; font-size: 1em; line-height: 1em; }

.row { margin: 0; padding: 0; }

.scrolldown {
	position: absolute;
	z-index: 2;
	width: 100px;
	height: 100px;
	background: #ffffff;
	border-radius: 50%;
	top: -50px;
	left: 50%;
	margin-left: -50px;
	padding: 30px 0 0 0;
	text-align: center;
	font-weight: 200;
	font-size: 1.25em;
}
.scrolldown a, .scrolldown a:link, .scrolldown a:visited, .scrolldown a:active  {
    color: #000000;
	text-decoration: none;
}
.scrolldown a:hover  {
    color: #6f7271;
	text-decoration: none;
}

.scrolldown-spacer { width: 100%; height: 50px; }

#content, #about, .hentry { padding: 0; margin: 0; }

.no-slider #about { margin-top: 0 !important; padding: 0 !important; }
#about .container, #about .heading { width: 100% !important; max-width: 100% !important; margin: 0 auto; padding: 0; box-sizing: border-box; }
#about .section-title { display: none; }
#about .heading::after { background: transparent; }
#about .container .entry-title { color: #263B7D; margin: 0 0 29px; padding-top: 19px; text-align: center;}
#about .container .flexbox-wrapper { }
#about .container .flexbox { margin: 0 auto; max-width: 1440px; }
#about .container .flexbox p { margin: 0 auto; padding: 9px 0 9px 10%; }

#services { background: #263B7D; color: #ffffff; }
#services .heading { width: 100% !important; max-width: 100% !important; margin: 0 auto 25px; padding: 0; box-sizing: border-box; }
#services .section-title { color: #ffffff !important; }

#portfolio { padding: 36px 0; }
#portfolio .container { width: 100% !important; max-width: 100% !important; padding: 0 10px; box-sizing: border-box; }
#portfolio .heading { max-width: 1280px; margin: 0 auto; }
#portfolio .section-title { display: none; }

/* remove float-away header */
.site-header { position:static; }

.headroom, .headroom--pinned, .headroom--unpinned {
    -webkit-transform: none;
    -moz-transform: none;
    transform: none;
    -webkit-transition: all 0s ease 0s;
    -moz-transition: all 0s ease 0s;
    transition: all 0s ease 0s;
}

.headroom--not-top { box-shadow: none; }
.site-content .content-area { padding: 0; }

.site-main { padding-top: 25px; }

/* /remove float-away header */

.page-header .page-title {
    color: #263B7D;
    margin: 0 0 29px;
}

#masthead { border-bottom: 0px none; box-shadow: 0px 3px 2px 0px rgba(130,140,178,0.16); padding-bottom: 0; background: #263B7D; color: #ffffff; }

#masthead .container { display: block; max-width: 100%; width: 1500px; }

#mobile-header-primary { float: right; }
.mobile-site-header { padding: 0; background: #263B7D; color: #ffffff; }
.mobile-site-branding { max-width: none; display: block; text-align: center; }
.mobile-site-branding img { margin-right: 60px; max-width: calc(100% - 60px); }
.mobile-site-branding .text-logo { clear: both; }

.mobile-menu-opener-container { position: absolute; top: 45px; right: 5px; }
.mobile-menu-opener { background: #ffffff; }

#header-sidebar .search-form input[type="search"] { box-sizing: border-box; max-width: calc( 100% - 40px); line-height: 23px; border-radius: 3px; -webkit-appearance: none; }
#header-sidebar .search-form input[type="search"]::placeholder { color: #263B7D; text-align: center; }
#header-sidebar .search-form input[type="submit"] {
    background: url(images/btn-search.png) no-repeat;
    width: 32px;
    height: 32px;
    text-indent: -9999px;
    float: none;
    border: 0;
    padding: 0;
    box-shadow: none;
    margin: 0 0 0 3px;
}

.sidebar .widget-area {
    background: #F8F9FC;
}

a:link,
a:visited {
    color: #263B7D;
}

a:hover,
a:active {
    color: #263B7D;
}

.site-branding { float: none; text-align: center; }

.site-branding img { margin: 0;}

.header-right { float: none; text-align: center; }

.header-right h1.site-title,
.header-right .site-title,
.header-right .site-description {
    margin: 18px auto 9px auto !important;
    font-size: 26px !important;
    color: #ffffff !important;
	font-family: 'Playfair Display', 'Palatino Linotype', 'Book Antiqua', Palatino, 'Times New Roman', serif !important;
	font-weight: 400;
}

.mobile-site-title a,
.header-right .site-title a {
    color: #ffffff;
}

.mobile-site-title,
.text-logo .mobile-site-description {
    margin: 9px auto;
    font-size: 18px;
    color: #ffffff;
	font-family: 'Playfair Display', 'Palatino Linotype', 'Book Antiqua', Palatino, 'Times New Roman', serif;
	font-weight: 400;
}
.mobile-site-title a:hover,
.header-right .site-title a:hover {
    text-decoration: none;
}

.header-button { }
 
a.header-phone { color: #000000; font-size: 1em; font-weight: bold; }
a.header-phone:hover { color: #6f7271; text-decoration: none; }

.sticky-banner { background-color: #6f7271; color: #ffffff; text-align: center; width: 100%; padding: 15px 5px; box-sizing: border-box; position: sticky; top: 0; z-index: 9; }
.sticky-banner a { color: #ffffff; padding: 5px; }
.sticky-banner a:hover { color: #ffffff; background: #448431; border-radius: 3px; text-decoration: none; }

#main-navigation { width: 100%; background: #263B7D; color: #ffffff; padding: 0; border-top: 2px solid #ffffff; }

#main-navigation .container { width: 100%; max-width: none; padding-left: 0; padding-right: 0; }

.main-navigation {
    flex-basis: auto;
	flex-grow: 0;
	width: 100% !important;
}

.main-navigation ul {
	display: table; width: 100%; display: table;
}

.main-navigation ul>li {
	display: table-cell; width: auto; text-align: center; float: none; margin: 0;
}

.main-navigation ul>li:hover {
	background: #A4A4A4;
}

.main-navigation ul>li>a, .main-navigation ul li a,
.main-navigation ul>li>a:link, .main-navigation ul li a:link,
.main-navigation ul>li>a:visited, .main-navigation ul li a:visited,
.main-navigation ul>li>a:hover, .main-navigation ul li a:hover,
.main-navigation ul>li>a:focus, .main-navigation ul li a:focus,
.main-navigation ul>li>a:active, .main-navigation ul li a:active
 {
	color: #ffffff;
    padding: 11px 0;
    border-bottom: 0 none;
}

.main-navigation ul ul { width: 100%; padding: 0; }

.main-navigation ul ul li { padding: 0; }

.main-navigation ul ul li a { background: #263B7D; }
.main-navigation ul ul li a:hover { background: #A4A4A4; padding: 11px 0;}

.mobile-main-navigation ul li:hover {
    background: #EDEDED;
}
.mobile-main-navigation ul li:hover a, .mobile-main-navigation ul li:focus a, .mobile-main-navigation ul li a:hover, .mobile-main-navigation ul li a:focus {
    color: #263B7D;
    text-decoration: none;
}

.in-page-navigation { }
.in-page-navigation ul { width: 100%; font-size: 0.9em; padding: 0; margin: 0; border: 0 none; list-style-type: none; position: relative; display: table; }
.in-page-navigation ul li { vertical-align: middle; list-style-type: none; padding: 0; margin: 0; border: 0 none; box-sizing: border-box; text-align: center; float: left; width: 100%; display: block; }
.in-page-navigation ul li a, 
.in-page-navigation ul li span { color: #ffffff; background: #A4A4A4; text-decoration: none; padding: 9px 6px; margin: 5px; border: 0 none; display: block; }
.in-page-navigation ul li:hover a, 
.in-page-navigation ul li:hover span { color: #ffffff; background: #263B7D; text-decoration: none; cursor: pointer; }
.in-page-navigation ul li.selected span { background: #263B7D; }

.full-width-pane { padding: 25px 0; }

.site-footer {
	padding: 0;
    background: #ffffff;
    color: #ffffff;
}

.site-footer a:link,
.site-footer a:visited,
.site-footer a:active {
    color: #ffffff;
}
.site-footer a:hover {
    color: #eeeeee;
}

.dashicons { vertical-align: middle; margin: 0 3px 0 12px; }
.dashicons-location { margin: 0 0 0 12px; }

.pound-icon { font-size: 1.4em; margin: 0 12px 0 15px; }

.site-footer .footer-t {
    border-bottom: 0 none;
    padding-bottom: 0;
}

.site-footer .widget-title { color: #ffffff !important; padding: 0 !important; margin: 0 0 1em 0 !important; text-align: left !important;}
.footer-t .widget .widget-title::after { width: 0; height: 0; background: transparent; position: relative; left: 0; top: 0; }

.footer-t .widget ul,
.companyinfo ul,
.sticky-banner ul {
    list-style: none; 
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
    color: inherit;
	margin: 0;
	padding: 0;
}

.footer-t .widget ul li, .companyinfo ul li, .footer-t .widget p { margin: 0 0 1em 0; }

.footer-t .widget ul li a { color: #ffffff; }

.footer-widgets, .companyinfo { padding: 32px 0; }

.footer-logos { border-top: 1px solid #cccccc; padding: 12px 0; }
.footer-logos img { margin: 4px 18px; }

.companyinfo ul li, .sticky-banner ul li { display: inline; }

.companyinfo ul li span, .sticky-banner ul li span { white-space: nowrap; }

#menu-footer-menu {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

#menu-footer-menu li {
	padding: 0 0 12px 0;
}

.copyright {
	background: #000000;
	color: #ffffff;
	padding: 16px 0;
}

.copyright a {
	white-space: nowrap;
}

.scrollup { bottom: 18px; right: 18px; }

.banner  {
    margin-top: 220px !important;
	border-top: 0 none;
	max-height: calc(100vh - 220px);
	overflow: hidden;
}

.banner .slides  {
	max-height: calc(100vh - 220px);
}

.site-content {
    margin-top: 0 !important;
	border-top: 0 none;
}

#mapcontainer { position: relative; background: #F3F2F2 url('images/loading.gif') no-repeat center center; }
#mapcontainer iframe { width: 100%;  height: 100%; }
.page-scroll-reserve {position: absolute; z-index: 10; top: 15%; right: 1%; height: 55%; width: 7%; background: rgba(0,0,0,0.1); border-radius: 9px;}

.videocontainer { position: relative; background: #131616; overflow: hidden; }
.video-overlay {position: absolute; z-index: 1; top: 0%; left: 0%; height: 100%; width: 100%; background: rgba(0,0,0,0.1); }

.button,
.button-small,
.button-large,
.spacious-button,
.button_red,
form input[type="submit"] {
	appearance: none !important;
	-webkit-appearance: none !important;
	cursor: pointer;
	font-size: 18px;
	background: #448431 !important;
	color: #ffffff !important;
	margin: 9px 18px;
	text-align: center;
	display: inline-block;
	box-shadow: none !important;
	text-shadow: none !important;
	border: 0 none;
	width: auto !important;
	height: auto !important;
	font-weight: 300 !important;
	transition: all .5s ease;
	font-family: Playfair Display,Baskerville,Times New Roman,Times,serif;
	border-radius: 4px;
	padding: .5em 1.5em !important;
	line-height: 1.2em;
	font-family: Raleway,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;
	text-decoration: none !important;
}
.button:hover,
.button-small:hover,
.button-large:hover,
.spacious-button:hover,
.button_red:hover,
form input[type="submit"]:hover {
	background: #263B7D !important;
	color: #ffffff !important;
	text-decoration: none;
	box-shadow: none;
	text-shadow: none;
}

.housebg .button { border: 1px solid transparent; }
.housebg .button:hover { border: 1px solid #ffffff; }

.button-small {font-size: 12px !important; padding: 0 9px !important; border-radius: 3px !important; }
.button-large {font-size: 26px !important; padding: 15px 25px !important; }

.button_red { background: #dd0000 !important;}
.button_red:hover { background: #448431 !important;}

.button-light,
.button-light-small,
.button-light-large {
	appearance: none !important;
	-webkit-appearance: none !important;
	cursor: pointer;
	font-size: 18px;
	background: #888b8d !important;
	color: #202020 !important;
	border-radius: 5px;
	padding: 5px 15px;
	margin: 5px auto;
	text-align: center;
	display: inline-block;
	box-shadow: none;
	text-shadow: none;
	border: 2px solid #202020;
}
.button-light:hover,
.button-light-small:hover,
.button-light-large:hover {
	background: #263B7D !important;
	color: #ffffff !important;
	text-decoration: none;
	box-shadow: none;
	text-shadow: none;
}
.button-light-small {font-size: 12px; padding: 0 9px !important; border-radius: 3px !important; }
.button-light-large {font-size: 26px; padding: 15px 25px !important; }

.success {color: #ffffff; background: #008000; border-radius: 4px; padding: 4px; margin: 3px; }
.error {color: #ffffff; background: #dd0000; border-radius: 4px; padding: 4px; margin: 3px; }
.validate-error { position: relative; top: 6px; width: 100%; box-sizing: border-box; min-height: 30px !important; border: 1px solid #999999; border-radius: 3px; padding: 3px 3px 3px 30px; background: #ffffff url('images/validate-error.png') left center no-repeat; box-shadow: 5px 5px 3px 0px rgba(204,204,204,0.7); }

.validate-error:after, 
.validate-error:before {
    bottom: 100%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
}
.validate-error:after {
    border-color: rgba(255, 255, 255, 0);
    border-bottom-color: #ffffff;
    border-width: 10px;
    left: 20%;
    margin-left: -10px;
}
.validate-error:before {
    border-color: rgba(113, 158, 206, 0);
    border-bottom-color: #999999;
    border-width: 11px;
    left: 20%;
    margin-left: -11px;
}

.validate-error p { text-align: left; padding: 6px 0 !important; margin: 0 0 0 9px !important; font-size: 1em !important; color: #999999 !important; text-shadow: none !important; }

.validate-first-error-box { border-color: #ff9c00 !important; }
.validate-second-error-box { border-color: #ff9c00 !important; border-width: 2px !important;}

.validate-first-error-box:focus { outline-style:none; box-shadow:none; border-color:transparent; }
.validate-second-error-box:focus { outline-style:none; box-shadow:none; border-color:transparent; }

#primary .post-thumbnail { display: none; }

.banner .owl-theme .owl-dots .owl-dot span {
    height: 18px;
    width: 18px;
    background: none;
	border: 3px solid #ffffff;
}

.banner .owl-theme .owl-dots .owl-dot.active span, .banner .owl-theme .owl-dots .owl-dot:hover span {
    border-color: #6f7271;
    background: #6f7271;
}

.contact-info-lists li a {
    color: #263B7D;
}
.contact-info-lists li a:hover {
    color: #263B7D;
}

.banner-text {
	z-index: 1;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	bottom: 0;
}
.banner-text .container {
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,.15);
	margin: 0;
	padding: 0;
}

.metaslider .caption-wrap,
.video-overlay .text,
.banner-text .text {
	position: absolute;
	top: 50% !important;
	transform: translateY(-50%) !important;
	max-width: none;
	width: 100%;
	float: none;
    margin: 0 auto;
	padding: 0 2% !important;
	background: transparent !important;
	bottom: auto !important;
	opacity: 1 !important;
}

.metaslider .caption-wrap .caption,
.video-overlay .text .title,
.banner-text .text .title {
	text-align: center;
    color: #ffffff;
	font-family: 'Playfair Display', 'Palatino Linotype', 'Book Antiqua', Palatino, 'Times New Roman', serif;
	font-weight: 400;
	text-shadow: 1px 1px 1px #000000;
	font-size: 38px !important;
	line-height: 38px !important;
	padding: 0 !important;
	border: 0 none;
}

.video-overlay .text {
	background: rgba(0,0,0,0.5);
	border-radius: 9px;
}

.banner-text .text .category {
	display: none;
}

.blog .banner-text .text .title {
	display: none;
}

.metaslider .caption-wrap .caption,
.video-overlay .text,
.banner-text .text .title {
	font-size: 38px !important;
	line-height: 38px !important;
	padding: 0 50px !important;
}

.promotional-block {
    background-image: none;
	background: #E7EAF3;
    color: #222222;
}

.promotional-block .btn-start {
    background: #263B7D;
	color: #ffffff;
	font-weight: 200;
	width: auto;
	text-transform: capitalize;
	font-weight: 200;
	padding-left: 12px;
	padding-right: 12px;
	line-height: 60px;
}

.blog-section .columns-3 .post .entry-meta,
.blog-section .columns-3 .post .entry-meta .posted-on,
.blog-section .columns-3 .post .entry-meta .comments-link {
	/* hides date & comments link from home page featured blog posts */
	display: none;
}

.entry-meta .author { display: none; }

.error { position: relative; clear: both; top: 6px; width: 100%; box-sizing: border-box; min-height: 30px !important; border: 1px solid #999999; border-radius: 3px; padding: 3px 3px 3px 30px; background: #ffffff url('images/validate-error.png') left center no-repeat; box-shadow: 2px 2px 1px 0px rgba(204,204,204,0.7); color: #FFA300; }

.error:after, 
.error:before {
    bottom: 100%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
}
.error:after {
    border-color: rgba(255, 255, 255, 0);
    border-bottom-color: #ffffff;
    border-width: 10px;
    left: 20%;
    margin-left: -10px;
}
.error:before {
    border-color: rgba(113, 158, 206, 0);
    border-bottom-color: #999999;
    border-width: 11px;
    left: 20%;
    margin-left: -11px;
}

input[type="text"], input[type="email"], input[type="tel"], textarea {
    width: 100%;
    padding: 15px;
	box-sizing: border-box;
	margin: 0 0 9px 0;
	padding: 9px;
	font-size: 1.2em;
	border: 1px solid #C0C0C0 !important;
	background-color: #F8F8F8 !important;
	border-radius: 3px;
}

input[type="text"], input[type="email"], input[type="t"], input[type="tel"], input[type="telega-indicator"], input[type="url"], input[type="password"], input[type="search"], textarea {
    color: #666;
	border: 1px solid #C0C0C0 !important;
	background-color: #F8F8F8 !important;
	border-radius: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="search"]:focus,
input[type="password"]:focus,
textarea:focus {
	border: 1px solid #808080 !important;
}

textarea {
    height: auto;
    resize: both;
}

input[type="checkbox"] {width: 26px; height: 26px; padding: 6px 3px; border: 1px solid #a5a5a5; border-radius: 6px; vertical-align: middle;}
.smalltextbox { padding: 3px !important; max-width: 75px !important; }

.content-area .post .entry-content .highlight {
    background: #263B7D;
}

.author-block {
	display: none;
}
.tags-block a:hover {
    color: #263B7D;
}
.comment-form input[type="submit"] {
    background: #263B7D;
}
.comment-form input[type="submit"]:hover {
    background: #263B7D;
}

.widget_calendar table a {
    background: #263B7D;
}

.product-table {
	margin: 0 auto !important;
    width: auto;
    background: #F8F9FC !important;
	border: 2px solid #DCE1EE !important;
}
.product-table tr {
    border-bottom: 1px solid #DCE1EE !important;
}
.product-table td {
    background: transparent !important;
    padding: 9px !important;
}

.blog .content-area .post .entry-content .btn-readmore,
.category .content-area .post .entry-content .btn-readmore,
.archive .content-area .post .entry-content .btn-readmore {
    background: #263B7D;
	color: #ffffff;
	font-weight: 200;
}
.blog .content-area .post .entry-content .btn-readmore:hover,
.category .content-area .post .entry-content .btn-readmore:hover,
.archive .content-area .post .entry-content .btn-readmore:hover {
    background: #263B7D;
	color: #ffffff;
}

.nav-previous a, .nav-next a { 
	background: #263B7D !important;
	color: #ffffff !important;
	display:inline-block;
	line-height: 16px;
	margin: 0;
	padding: 6px 12px 3px 12px;
	appearance: none !important;
	cursor: pointer;
	border-radius: 4px;
	font-size: 0;
	font-weight: normal !important;
	border: 0 none;
	text-decoration: none !important;
}
.nav-previous a:hover, .nav-next a:hover {
	background: #6f7271 !important;
	color: #ffffff !important;
	box-shadow:0 0 2px rgba(0, 0, 0, 0.6);
	text-decoration: none !important;
}
.nav-previous a:after { content: '‹ Previous'; font-size:12px; }
.nav-next a:after { content: 'Next ›'; font-size:12px; }

#primary img { border-radius: 4px; }

.videowrapper
{
	position: relative !important;
	padding-bottom: 56.25%; 	/* 16:9 */
	padding-top: 0;
	height: 0;
}
.portraitwrapper
{
	position: relative !important;
	padding-bottom: 133%;
	padding-top: 0;
	height: 0;
}
.videowrapper > iframe,
.portraitwrapper > iframe,
.portraitwrapper > div
{
	position: absolute !important;
	top: 0;
	left: 0;
	width: 100% !important;
	height: 100% !important;
	overflow: auto !important;
}

.clickable { cursor: pointer; }
.floatleft {float: left;}
.floatright {float: right;}
.floatleftimg {float: left; margin: 0 10px 10px 0;}
.floatrightimg {float: right; margin: 0 0 10px 10px;}
.no-wrap-text {overflow: hidden;}
.leftalign {text-align: left !important;}
.rightalign {text-align: right !important;}
.centered {text-align: center !important; margin-left: auto; margin-right: auto;  }
.strong {font-weight: bold;}
.column-70 {width: 70%;}
.column-66 {width: 66.67%;}
.column-60 {width: 60%;}
.column-50 {width: 50%;}
.column-40 {width: 40%;}
.column-33 {width: 33.33%;}
.column-30 {width: 30%;}
.column-25 {width: 25%;}
.column-20 {width: 20%;}
.columns-2 { columns: 2; }
.columns-2 li { column-break-inside: avoid; page-break-inside: avoid; margin: 0 15% 18px 0; }
.columns-2 li ul li { margin-bottom: 0; }
.boxes-image { width: 25%; float: left; margin: 15px; }
.column-thumbnail { width: 25%; float: left; }
.column-bio { width: 75%;}
.smallest {font-size: 0.75em !important; }
.smaller {font-size: 0.85em !important; }
.larger {font-size: 1.15em !important; }
.largest {font-size: 1.4em !important; }
.verylarge {font-size: 2em !important; }
.width-auto { width: auto !important; }
.tight {margin: 0 !important; padding: 0 !important; min-height: 0 !important; }
.tight p {margin: 0; padding: 0;}
.tight ul {margin: 0; padding: 0;}
.tight li {margin: 0; padding: 0;}
.tight a {margin: 0; padding: 0;}
.clear {clear: both;}
.clearfix {clear: both; height: 0 !important; }
.clearfix p {maring: 0 !important; padding: 0 !important; font-size: 0 !important; height: 0 !important; }
.clearleft {clear: left;}
.separator {clear: both; height: 6px; min-height: 0 !important;}
.spacer {clear: both; height: 18px; min-height: 0 !important;}
.bigspacer {clear: both; height: 24px; min-height: 0 !important;}
.bigspace {clear: both; height: 36px; min-height: 0 !important;}
.spaced {margin: 5px;}
.bigspaced { margin: 25px 0; }
.rounded {border-radius: 9px;}
.padded {padding: 5px; box-sizing: border-box; }
.paddedmore {padding: 5px 1%; box-sizing: border-box; }
.paddedpercent {padding: 5px 5%; box-sizing: border-box; }
.bigpadded  { padding: 40px 20px; }
.bordered { border: 1px solid #DCE1EE; }
.thickbordered { border: 3px solid #DCE1EE; }
.dashed {border: 1px dashed #333333;}
.indented, .indent1 {margin-left: 25px;}
.indent2 {margin-left: 40px;}
.shaded {background: #EDEDED;}
.shaded-light {background: #F2F2F2;}
.shaded-dark {background: #888b8d;}
.noscreen { display: none; }
.inline-block { display: inline-block; }
.nowrap { white-space: nowrap; }
.shadowed { box-shadow: 2px 2px 6px 3px rgba(204,204,204,0.63); }

.blog .post .text-holder, .category .post .text-holder, .archive .post .text-holder, .page .text-holder {
    margin: 40px 15px;
    background: #ffffff;
    padding: 40px;
    position: relative;
	box-shadow: 2px 2px 6px 3px rgba(204,204,204,0.63);
}

.dateinput, .smalltextbox  { width: 100px !important; }
.plainbox { background: transparent !important; border: 0 none !important; }
.formlabel, .formlabelwide { width: 100% !important; text-align: left !important; float: left; margin: 0; font-weight: bold; }
select {font-size: 1.2em; margin: 2px 0; padding: 6px 3px; border: 1px solid #a5a5a5; border-radius: 3px; width: auto; max-width: 98% !important;}


.boxes .box { background: #F2F2F2; border: 2px #888b8d solid; border-radius: 9px; }
.boxes .box:hover { background: #EDEDED; }
.boxes .box-img { }
.boxes h3 { margin: 22px auto !important; display: inline-block !important; }
.boxes h4 { margin: 22px auto !important; display: inline-block !important; }
.boxes .open-item { position: relative; margin: 15px; }

.box-cta {
	display: flex; /* set the context */
	flex: 1; /* flex an equal amount of space */
	align-items: flex-end; /* pin to bottom */
}
.box-cta span {
	background: #263B7D;
	color: #ffffff;
	border-radius: 3px;
	padding: 5px 15px;
	margin: 5px auto;
	text-align: center;
	display: inline-block;
}

.box-cta span:hover {
	background: #202020 !important;
	color: #ffffff;
}

	.details { padding: 18px 2%; display: none; text-align: center; clear: both; overflow: hidden; }
	.closedetails { position: absolute; top: 5px; right: 5px; width: 40px; height: 40px; color: #263B7D; font-weight: bold; cursor: pointer; }
	.closedetails:hover { color: #C00000; }

	.service { width: 100%; font-weight: 800; }
	.services { width: 100%; background: #ffffff; }
	.services .service { font-weight: 300; }
	.services>div:nth-child(odd) { background: #e8e8e8; }
	.serviceheadings { width: 100%; font-weight: bold; background: #d8d8d8 !important; }
	.servicetime { width: 50%; float: left; }
	.date { width: 40%; float: left; padding: 3px; box-sizing: border-box; }
	.day { width: 40%; float: left; padding: 3px; box-sizing: border-box; }
	.time { width: 20%; float: left; padding: 3px; box-sizing: border-box; }
	.servicedetail { width: 50%; float: left; }
	.deceased { width: 50%; float: left; padding: 3px; box-sizing: border-box; }
	.fd { width: 50%; float: left;  padding: 3px; box-sizing: border-box; }

	.cremation1, .direct1 { width: 20%; float: left; padding: 3px 1%; box-sizing: border-box; text-align: center; }
	.cremation2, .direct2 { width: 20%; float: left; padding: 3px 1%; box-sizing: border-box; text-align: center; }
	.cremation3, .direct3 { width: 40%; float: left; padding: 3px 1%; box-sizing: border-box; text-align: center; }
	.cremationprice, .directprice { width: 20%; float: right; padding: 3px 1%; box-sizing: border-box; text-align: center; font-weight: bold; }

	.burial1 { width: 80%; float: left; padding: 3px 1%; box-sizing: border-box; text-align: left; }
	.burialprice { width: 20%; float: left; padding: 3px 1%; box-sizing: border-box; text-align: center; font-weight: bold; }

	.memorial1 { width: 40%; float: left; padding: 3px 1%; box-sizing: border-box; text-align: center; }
	.memorial2 { width: 15%; float: left; padding: 3px 1%; box-sizing: border-box; text-align: center; }
	.memorial3 { width: 15%; float: left; padding: 3px 1%; box-sizing: border-box; text-align: center; }
	.memorial2.mheading, .memorial3.mheading { font-weight: bold; }

	.memorialprices { width: 30%; float: right; padding: 0%; box-sizing: border-box; }
	.memorialprice { width: 50%; float: left; padding: 3px 1%; box-sizing: border-box; text-align: center; font-weight: bold; }
	.memorialrenewal { width: 50%; float: left; padding: 3px 1%; box-sizing: border-box; text-align: center; }

	#prices .crow:nth-child(2n), #prices .drow:nth-child(2n), #prices .brow:nth-child(2n), #prices .mrow:nth-child(2n) { background: #fcfcfc; }
	#prices .crow:nth-child(2n+1), #prices .drow:nth-child(2n+1), #prices .brow:nth-child(2n+1), #prices .mrow:nth-child(2n+1) { background: #f6f6f6; }

	ul.list, ul.list>li { margin: 0; padding: 0;}
	#listsearch {
		float: left; 
		font-size: 1.1em;
		padding: 6px 14px;
		margin-right: 12px;
		width: calc(100% - 112px) !important; 
	}
	#clearsearch {
		float: right; margin: 0;
		background: #e7e7e7;
		color: #333333;
		font-size: 0.9em;
		text-decoration: none;
		margin: 0 0.5em;
		padding: 6px 9px;
		border-radius: 5px;
		cursor: pointer;
	}

li.nobull {list-style: none; padding: 0; margin: 0;}
li.pdf {list-style-type: none; background: url('images/pdf_38.png') 0 0 no-repeat; padding: 9px 0 9px 45px; margin: 3px 0;}
li.ppt {list-style-type: none; background: url('images/ppt_38.png') 0 0 no-repeat; padding: 9px 0 9px 45px; margin: 3px 0;}
li.doc {list-style-type: none; background: url('images/doc_38.png') 0 0 no-repeat; padding: 9px 0 9px 45px; margin: 3px 0;}
li.xls {list-style-type: none; background: url('images/xls_38.png') 0 0 no-repeat; padding: 9px 0 9px 45px; margin: 3px 0;}
li.web {list-style-type: none; background: url('images/web_38.png') 0 0 no-repeat; padding: 9px 0 9px 45px; margin: 3px 0;}
li.img {list-style-type: none; background: url('images/img_38.png') 0 0 no-repeat; padding: 9px 0 9px 45px; margin: 3px 0;}
li.email {list-style-type: none; background: url('images/email_38.png') 0 0 no-repeat; padding: 9px 0 9px 45px; margin: 3px 0;}
li.facebook {list-style-type: none; background: url('images/facebook_38.png') 0 0 no-repeat; padding: 9px 0 9px 45px; margin: 3px 0;}
li.youtube {list-style-type: none; background: url('images/youtube_38.png') 0 0 no-repeat; padding: 9px 0 9px 45px; margin: 3px 0;}
li.pdf a, li.ppt a, li.doc a, li.xls a, li.web a, li.img a, li.email a, li.youtube a, li.facebook a {display: block;}

.flexbox
{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
	flex-direction: row;
	align-items: stretch;
    justify-content: flex-start;
	margin: 0 auto;
}

.flexbox h2 { padding: 0; margin: 0.75em 1.5em !important; text-align: center; font-size: 1.6em; }
.flexbox h3 { padding: 0; margin: 0.75em 1.5em !important; text-align: center; font-size: 1.5em; }
.flexbox h4 { padding: 0; margin: 0.75em 1.5em !important; text-align: center; font-size: 1.4em; }
.flexbox h5 { padding: 0; margin: 0.75em 1.5em !important; text-align: center; font-size: 1.3em; }
.flexbox p { padding: 0; margin: 0.75em 1.5em; font-size: 1em; }
.flexbox ul, .flexbox ol { text-align: left !important; }
.flexbox a { font-size: 1em; }
.flexbox img { border-radius: 0 !important; }

.flexbox-item,
.flexbox-item-2, .flexbox-wide-item-2,
.flexbox-item-3,
.flexbox-item-4,
.flexbox-item-5
{
	display: flex;
	flex: 1 1 96%;
	flex-direction: column;
	align-items: stretch;
	padding: 0 !important;
	margin: 18px 1%;
	box-sizing: border-box;
}

.flexbox-item-5
{
	flex: 0 1 46%;
}

.flexbox-cta {
	display: flex; /* set the context */
	flex: 1; /* flex an equal amount of space */
	align-items: flex-end; /* pin to bottom */
}
.flexbox-cta .button, .flexbox-cta .button_red, .flexbox-cta .spacious-button {
	margin: 15px auto !important;
}

img.fillwidth { width: 100%; }

.detail, .hidedetail { display: none; }

.smallscreen { display: none; }
.notsmallscreen { display: block; }

.strap-line-wrapper { background:  #6f7271; text-align: center; }

.strap-line-wrapper .inner-container { display: inline-block; width: auto; margin: 0 auto; background: transparent; }

.strap-line { color: #ffffff; text-align: center; padding: 15px 60px 15px 0 !important; margin: 0 auto !important; }

/* responsive styles: */

@media only screen and (max-width: 1600px)
{
	.videocontainer { height: 660px; }
}

@media only screen and (max-width: 1500px)
{
	.videocontainer { height: 600px; }
}

@media only screen and (max-width: 1400px)
{
	.videocontainer { height: 560px; }
}

@media only screen and (max-width: 1300px)
{
	.videocontainer { height: 500px; }
}

@media only screen and (max-width: 1200px)
{
	.videocontainer { height: 480px; }
	#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link, 
	#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link, 
	#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link	
	{ font-size: 14px; }
}

@media only screen and (max-width: 1100px)
{
	.banner-text .text .category {
		width: 250px;
		height: 75px;
	}
	.videocontainer { height: 440px; }
	
	.metaslider .caption-wrap .caption,
	.video-overlay .text,
	.banner-text .text .title {
		font-size: 34px !important;
		line-height: 34px !important;
	}

	.direct1 { width: 80%; text-align: left; }
	.direct2, .direct3 { clear: both; width: 80%; text-align: left; }
	.memorial1 { width: 100%; text-align: left; font-weight: bold; }
	.memorial2 { clear: left; width: 40%; text-align: left; }
	.memorial3 { width: 30%; text-align: left; }
	.memorial2.mheading, .memorial3.mheading { font-weight: normal; }
	.servicetime.direct2 { display: none;}
	.servicetype.direct3 { display: none;}
}

@media only screen and (max-width: 991px)
{
	.banner, .featured-image, .site-content { margin-top: 0 !important; }
	.banner .owl-theme .owl-dots { bottom: 0;}
	.scrolldown { display: none; }

	.container { width: auto; }

	.column-50 {width: 100%;}
	.column-25 {width: 50%;}
	.columns-2 { columns: 1; }
	
	.sticky-banner { text-align: center; }

	.smallscreen { display: block; }
	.notsmallscreen { display: none; }
	
	.centered-right {text-align: center;}

	.no-slider #about { margin-top: 0 !important; padding: 0 !important; }
	.videocontainer { height: 400px; }
	.videocontainer {
		margin-top: 0 !important;
	}

	.video-overlay .text,
	.banner-text .text {
		transform: translateY(-55%);
	}

	.banner-text .text .category {
		width: 220px;
		height: 66px;
	}

	.metaslider .caption-wrap .caption,
	.video-overlay .text,
	.banner-text .text .title {
		font-size: 30px !important;
		line-height: 30px !important;
	}

	.boxes-image { width: 30%; float: left; margin: 15px; }
	.column-thumbnail { width: 30%; }
	.column-bio { width: 70%;}

	.cremation1 { width: 40%; text-align: left; }
	.cremation2 { width: 40%; text-align: left; }
	.cremation3 { clear: both; width: 80%; text-align: left; }
	.memorial2 { width: 30%; }
	.memorial3 { width: 20%; }
	.memorialprices { width: 50%; }

	.mobile-menu { position: absolute; top: 0; right: 0; background: #263B7D; width: 100%; height: 100%; min-height: 100vh; z-index: 999; }
	.mobile-main-navigation { float: right; width: 100%; max-width: 475px; }
	.mobile-menu-opener-container { z-index: 1000; }
}
	
@media only screen and (max-width: 767px)
{
	.slides .caption-wrap, .featured-image .banner-text .text { display: none !important; }

	.floatleftimg {float: none; margin: 10px;}
	.floatrightimg {float: none; margin: 10px;}

	.column-70 {width: 100%;}
	.column-66 {width: 100%;}
	.column-60 {width: 100%;}
	.column-40 {width: 100%;}
	.column-33 {width: 100%;}
	.column-30 {width: 100%;}
	.column-25 {width: 100%;}
	.column-20 {width: 100%;}

	.boxes-image { width: 40%; float: left; margin: 15px; }
	.column-thumbnail { width: 40%; }
	.column-bio { width: 60%;}

	.no-slider #about { margin-top: 0 !important; padding: 0 !important; }

	#about .container .flexbox-wrapper { }
	#about .container .flexbox p { margin: 0 auto; padding: 9px 0; }

	.videocontainer { height: 320px; }
	
	.metaslider .caption-wrap .caption,
	.video-overlay .text,
	.banner-text .text .title {
		font-size: 28px !important;
		line-height: 28px !important;
	}

	.content-area .post .entry-header .entry-title, .content-area .page .entry-header .entry-title {
		font-size: 32px;
		line-height: 34px;
	}
	
	.banner-text .text .title { display: block; }
}

@media only screen and (max-width: 600px)
{
	.home .banner-text .text .category,
	.blog .banner-text .text .category {
		display: none;
	}
	.boxes-image { width: auto; float: none; margin: 0; }
	.column-thumbnail { width: 100%; float: none; }
	.column-bio { width: 100%;}

	.videocontainer { height: 240px; }

	.cremation1 { width: 80%; }
	.cremation2 { clear: both; width: 100%; }
	.cremation3, .direct2, .direct3 { width: 100%; }
	.memorial2 { width: 100%; }
	.memorial3 { clear: left; width: 50%; }

	.services { font-size: 0.8em; }
}

@media only screen and (max-width: 430px)
{

	.container { padding-left: 5px; padding-right: 5px; }

	.videocontainer,
	.featured-image {
		height: calc(30vh)
	}

	.videocontainer { height: 180px; }

	.metaslider .caption-wrap .caption,
	.video-overlay .text,
	.banner-text .text .title {
		font-size: 24px !important;
		line-height: 24px !important;
	}

	.banner-text .text .btn-more { line-height: 28px; padding: 5px; }
	.banner .owl-theme .owl-dots { display: none;}
}

@media only screen and (min-width: 600px)
{
	.flexbox-item-5
	{
		flex: 0 1 31%;
	}
	.in-page-navigation ul li { width: 50%; }
}

@media only screen and (min-width: 700px)
{
	.site-branding { float: left; width: 375px; text-align: left; }
	.header-right { float: left; width: calc(100% - 375px); text-align: right !important; }
	.header-right h1.site-title { text-align: right !important; }

	a.header-phone { display: inline-block; color: #000000; font-size: 1.2em; letter-spacing: 0.15em; font-weight: bold; }

	.flexbox-item-2,
	.flexbox-item-3,
	.flexbox-item-4
	{
		flex: 0 1 46.5%;
	}
	.flexbox-item-5
	{
		flex: 0 1 23%;
	}
}

@media screen and (min-width: 800px)
{

	.flexbox-item-3 
	{
		flex: 0 1 31%;
	}
	.flexbox-item-5
	{
		flex: 0 1 18%;
	}
	
	.formfield {clear: both; margin: 5px 0;}
	.formlabel {width: 30% !important; text-align: left !important; margin-right: 10px; }
	.formlabelwide {width: 50% !important; margin-right: 10px; }

	input[type="text"],
	input[type="tel"],	
	input[type="email"],
	input[type="password"],
	textarea { width: auto !important; }

	.in-page-navigation ul li { float: none; width: auto; display: table-cell; }
}

@media only screen and (min-width: 991px)
{
	.site-header .container { padding: 0 15px;}

	.video-overlay .text {
		max-width: 980px;
		left: 50%;
		transform: translate(-50%, -50%);
	}

	#mega-menu-wrap-primary > ul {
		display: table !important;
		width: 100% !important;
		max-width: 1500px !important;
		margin: 0 auto !important;
	}
	#mega-menu-wrap-primary > ul > li {
		display: table-cell !important;
		width: auto !important;
	}
	#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link { text-align: center; }

	#copyright-webmaster { padding-right: 63px; }

	.flexbox-wide-item-2
	{
		flex: 0 1 46.5%;		
	}
 
	.flexbox-item-4
	{
		flex: 0 1 23%;
	}
}

@media only screen and (min-width: 1180px)
{
	.strap-line-wrapper {
		-webkit-clip-path: polygon(125px 0, 100% 0, 100% 100%, 0% 100%);
		clip-path: polygon(125px 0, 100% 0, 100% 100%, 0% 100%);
	}
}

@media print { 
	/* all print styles go here */

	body { background: #ffffff; padding: 0; }
	#header-left-section, #header-logo-image, #header-text { float: none; margin: 0; width: 100%; text-align: center; }
	#site-navigation, .trustpilot-widget, .spacious-button, #ssl-img { display: none; }

	.site-branding, .header-left, .header-right { float: none; width: 100%; text-align: center; }
	.site-branding img, .header-left img { margin: 0 auto; text-align: center; }
	
	#main-navigation, .banner, .videocontainer, .featured-image, .scrolldown, .scrollup, .btn-readmore, #contactform { display: none !important; }
	
	.site-content { margin-top: 0 !important; }
	
	.flexbox, .flexbox-item, .flexbox-item-2, .flexbox-wide-item-2, .flexbox-item-3, .flexbox-item-4, .flexbox-item-5 { width: 100%; display: block; }

	#primary { width: 100%; }
	#secondary { display: none !important; }

	.direct1 { width: 80%; text-align: left; }
	.direct2, .direct3 { clear: both; width: 80%; text-align: left; }
	.servicetime.direct2 { display: none;}
	.servicetype.direct3 { display: none;}

	.memorial1 { width: 100%; text-align: left; font-weight: bold; }
	.memorial2 { clear: left; width: 40%; text-align: left; }
	.memorial3 { width: 30%; text-align: left; }
	.memorial2.mheading, .memorial2.mheading { font-weight: normal; }

	.noprint { display: none !important; }
	.column-70.floatleft,
	.column-66.floatleft,
	.column-60.floatleft,
	.column-50.floatleft,
	.column-40.floatleft,
	.column-33.floatleft,
	.column-30.floatleft,
	.column-25.floatleft,
	.column-20.floatleft {width: 100%; float: none;}
	.columns-2 { columns: 1; }
	.details { display: block; }
	.closedetails { display: none; }
	
	.in-page-navigation { display: none; }
	
	.footer-logos,
	.footer-widgets,
	#copyright-privacy,
	#copyright-sitemaps,
	#copyright-webmaster { display: none; }
}