/*!
Theme Name: One Stop
Theme URI: http://underscores.me/
Author: LAW Creative
Author URI: https://www.lawcreative.co.uk/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: one_stop
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.

One Stop is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Fonts
--------------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
	height: 100%;
}

:root {
	--bs-link-color: #212529;
    --bs-link-hover-color: #0939A3;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
	font-family: 'Open Sans', sans-serif;
	font-size: 16px;
	height: 100%;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 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;
	height: 0;
	overflow: visible;
	width: 100%;
	border-color: #0939A3;
    opacity: 1;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

.text-block {
	max-width: 950px;
	margin-left: auto;
	margin-right: auto;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	color: #0939A3;
	font-weight: bold;
}


.heading-thin,
h1 span.heading-thin,
h2 span.heading-thin,
h3 span.heading-thin,
h4 span.heading-thin,
h5 span.heading-thin,
h6 span.heading-thin { font-weight:100; color:#51626F; }

h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1rem; }
h5 { font-size: .75rem; }

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

.wp-block-quote {
    border-left: 0.25em solid #0939A3;
    margin: 0 0 1.75em;
    padding-left: 1em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

.w-25, .w-50, .w-75 {
	margin-left: auto;
	margin-right: auto;
} 

.w-100 img{
	width: 100% !important;
}

/* Elements
--------------------------------------------- */
/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}


/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

.wp-block-button__link {
	--bs-btn-padding-x: 0.75rem;
    --bs-btn-padding-y: 0.375rem;
    --bs-btn-font-family: ;
    --bs-btn-font-size: 1rem;
    --bs-btn-font-weight: 400;
    --bs-btn-line-height: 1.5;
    --bs-btn-color: #212529;
    --bs-btn-bg: transparent;
    --bs-btn-border-width: 1px;
    --bs-btn-border-color: transparent;
    --bs-btn-border-radius: 0.375rem;
    --bs-btn-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15),0 1px 1px rgba(0, 0, 0, 0.075);
    --bs-btn-disabled-opacity: 0.65;
    --bs-btn-focus-box-shadow: 0 0 0 0.25rem rgba(var(--bs-btn-focus-shadow-rgb), .5);
    display: inline-block;
    padding: var(--bs-btn-padding-y) var(--bs-btn-padding-x);
    font-family: var(--bs-btn-font-family);
    font-size: var(--bs-btn-font-size);
    font-weight: var(--bs-btn-font-weight);
    line-height: var(--bs-btn-line-height);
    color: var(--bs-btn-color);
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    border: var(--bs-btn-border-width) solid var(--bs-btn-border-color);
    border-radius: var(--bs-btn-border-radius);
    background-color: var(--bs-btn-bg);
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.btn, .wp-block-button__link {
    --bs-btn-padding-x: 1.5rem;
    --bs-btn-font-family: 'Open Sans', sans-serif;
    --bs-btn-border-radius: 1.5rem;
	--bs-btn-font-weight: 600;
	--bs-btn-font-size: 0.75rem;
}

.btn-primary, .wp-block-button__link {
    --bs-btn-color: #fff;
    --bs-btn-bg: #D80A38;
    --bs-btn-border-color: #D80A38;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #822433;
    --bs-btn-hover-border-color: #822433;
    --bs-btn-focus-shadow-rgb: transparent;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #822433;
    --bs-btn-active-border-color: #822433;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #a5878d;
    --bs-btn-disabled-border-color: #a5878d;
}

.btn-group-lg>.btn, .btn-lg {
    --bs-btn-padding-y: 0.5rem;
    --bs-btn-padding-x: 2rem;
    --bs-btn-font-size: 1rem;
    --bs-btn-border-radius: 2rem;
}

/* Background colours
--------------------------------------------- */
.bg-osred { background-color:#D80A38; }
.bg-osblue { background-color:#0939A3; }
.bg-osgrey { background-color:#EDEFF0; }


/* Post Author
--------------------------------------------- */
.post-author {
    margin: 20px auto 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}
.author-details { padding: 20px; }
.authorAvatar {    
    max-width: 100px;
    height: auto;
    display: block;
	margin: 0 auto;
}

.post-author small { font-size: 0.8rem; font-style: italic; } 


/* Navigation
--------------------------------------------- */
#header-bar.navbar {
    --bs-navbar-padding-x: 0;
    --bs-navbar-padding-y: 0;
    --bs-navbar-color: rgba(0, 0, 0, 0.7);
    --bs-navbar-hover-color: rgba(0, 0, 0, 0.8);
    --bs-navbar-disabled-color: rgba(0, 0, 0, 0.3);
    --bs-navbar-active-color: rgba(0, 0, 0, 0.9);
    --bs-navbar-brand-padding-y: 0;
    --bs-navbar-nav-link-padding-x: 0.5rem;

	background: rgb(255,255,255);
}
#header-bar .navbar-toggler, #header-bar .navbar-toggler:hover, #header-bar .navbar-toggler:focus, #header-bar .navbar-toggler:active {
	border: none !important;
    box-shadow: none !important;
}

#header-bar.navbar img{
	height: 45px;
	margin-bottom: 10px;
	transition: all 0.5s ease;
}

main {
	margin-top: 48px;
	transition: margin 0.5s ease;
}

body.scrolled #header-bar.navbar img{
	height: 45px;
}

#header-bar .nav-item {
	font-weight: 200;
	color: #414141;
}

#header-bar .nav-item.active {
	font-weight: 400;
}

#header-bar .nav-link {
	display: inline-block;
}

#header-bar .btn-close {
	color: #fff;
	background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat !important;
}

#header-bar .offcanvas-body hr {
	border-color: #ffffff;
	width: 50%;
    margin-left: auto;
    margin-right: auto;
}

/* stroke */
nav ul li a,
nav ul li a:after,
nav ul li a:before {
  transition: all .5s;
}
nav ul li a:hover {
  color: #555;
}
nav.stroke ul li a {
  position: relative;
}
nav.stroke ul li a:after {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  width: 0%;
  content: '.';
  color: transparent;
  background: #D80A38;
  height: 2px;
  border: 0 !important;
}

nav.stroke ul li a.dropdown-item {
	padding: 1em;
}
nav.stroke ul li.active>a.dropdown-item,
nav.stroke ul li a.dropdown-item:hover {
	/* color: #ffffff !important; */
    background-color: transparent !important;
}

nav.stroke ul li:hover ul.dropdown-menu {
	display: block;
}

nav.stroke ul li ul.dropdown-menu {
	padding: 0 1em !important;
}

nav.stroke ul li ul.dropdown-menu li {
	margin: 0 !important;
}

nav.stroke ul li.active>a:after, 
nav.stroke ul li a:hover:after,
nav.stroke ul li.menu-item-has-children:hover a.dropdown-toggle:after {
  width: 100%;
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
	#header-bar.navbar img{
		height: 65px;
	}
	main{
		margin-top: 75px;
	}
	body.scrolled main {
		margin-top: 48px;
	}
}

/* X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
	#header-bar.navbar-expand-xl .offcanvas {
		position: absolute;
		top: 20px;
		right: 20px;
		transition: top 0.5s ease;
	}

	body.scrolled #header-bar.navbar .offcanvas{
		top: 7px;
	}

	#header-bar .nav-item {
		margin: 0 1rem;
	}

	#header-bar .btn {
		margin: 0.25em 0 0.25em 1rem;
    	line-height: 1.6em;
	}

	#header-bar #search-form .btn {
		margin: 0.25em 0 0.25em 0;
    	line-height: 1.6em;
	}

	#header-bar #search-input {
		margin: 0.25em 0 0.25em 0;
		font-size: 0.75rem;
    	padding: 0.25em 1.5em;
		width: 10em;
	}
}


/* Mobile menu */
.offcanvas.show { background-color: #0939A3; text-align: center; font-size: 1.5rem;}
	.offcanvas.show .nav-link { color:#fff; }

	nav.stroke .offcanvas.show ul li ul.dropdown-menu {
		display: block !important;
		border: none;
		background-color: transparent;
		text-align: center;
	}

	nav.stroke .offcanvas.show ul li ul.dropdown-menu li.nav-item {
		display: inline-block;
	}

	nav.stroke .offcanvas.show ul li ul.dropdown-menu li.nav-item .dropdown-item {
		color: #ffffff;
	}



/* jumbotron - Header images
--------------------------------------------- */
.jumbotron.hero img, .jumbotron.hero video {
	object-fit: cover;
    object-position: center;
    width: 100%;
    border-radius: 0 0 0 10vw;
    height: 30vw;
    min-height: 150px;
    max-height: 40vh;
}


/* Join/Contact Form 
--------------------------------------------- */

form {
    max-width: 600px;
    text-align: center;
    margin: 0 auto;
}

form .form-group {
    margin-bottom: 25px;
    padding-bottom: 10px; }

form.form-group .form-label {
    margin-bottom: 1.5rem;
}
	
	form .form-select,form input, form textarea { border-radius:24px !important; }

.togglebuttons .wpcf7-list-item {
  margin: 0 2px 0 0;
  display: inline-block;
  position:relative;
}
.togglebuttons > span input {
  opacity: 0;
  position: absolute;
  left:0;
  width: 100%;
  height:30px;
}

.togglebuttons > span .wpcf7-list-item-label {
  cursor: pointer;
  display: block;
  color: #333;
  border-radius: 2px;
  background: #ffffff;
  padding: 2px 8px;
  width: 80px;
  height:30px;
  border:0;
}

.togglebuttons span.first .wpcf7-list-item-label {
    border-top-left-radius: 24px;
    border-bottom-left-radius: 24px
 }

 .togglebuttons span.last .wpcf7-list-item-label {
    border-top-right-radius: 24px;
    border-bottom-right-radius: 24px
 }

.togglebuttons > span input:checked + .wpcf7-list-item-label, 
.togglebuttons > span .wpcf7-list-item-label:hover {
  background: #0939A3;
  color: #ffffff;
  font-weight: bold;
  cursor: pointer;
}

.accordion {
    --bs-accordion-btn-focus-border-color: #0939A3;
    --bs-accordion-active-color: #0939A3;
    --bs-accordion-active-bg: #F7F7F7;
}

.benefits_block .benefit-item { position:relative; }
.benefits_block a.more-link { color:#D80A38; position:absolute; bottom:30px; left:0; right:0; margin:0 auto; }

/* Franchise Footer
--------------------------------------------- */
.franchise-footer { 
	color: #FFF !important;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
 }

.franchise-footer h3  { 
	color:#FFF !important;
 }

  .franchise-footer .container{
	position: relative;
  }

/* Footer
--------------------------------------------- */
footer .container { position:relative; }

footer .footer-links{
	background-color: #D80A38;
    color: #ffffff;
}

footer .footer-links .row {
	padding-top: 100px !important;
}

footer h5 {
	font-size: 0.875rem;
	font-weight: bold;
}

footer .nav-link {
	color: #ffffff;
	font-size: 0.75rem;
}

footer .nav-link i {
	font-size: 1.25rem;
}

footer .nav-link:focus, footer .nav-link:hover, footer h5 {
    color: #fff;
}

footer .copyright { font-size: 0.875rem; }

footer .f-logo { position:absolute; top:0; left:0; }

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.updated:not(.published) {
	display: none;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

.wp-pagenavi a.page {
	background:#D80A38;
	border-radius:50%;
}

.pagination {
    --bs-pagination-padding-x: 0.75rem;
    --bs-pagination-padding-y: 0.375rem;
    --bs-pagination-font-size: 1rem;
    --bs-pagination-color: var(--bs-body-color);
    --bs-pagination-bg: #fff;
    --bs-pagination-border-width: 1px;
    --bs-pagination-border-color: transparent;
    --bs-pagination-border-radius: 1.375rem;
    --bs-pagination-hover-color: #fff;
    --bs-pagination-hover-bg: #D80A38;
    --bs-pagination-hover-border-color: #D80A38;
    --bs-pagination-focus-color: #fff;
    --bs-pagination-focus-bg: #D80A38;
    --bs-pagination-focus-box-shadow: 0 0 0 0.25rem transparent;
    --bs-pagination-active-color: #fff;
    --bs-pagination-active-bg: #D80A38;
    --bs-pagination-active-border-color: #D80A38;
    --bs-pagination-disabled-color: #6c757d;
    --bs-pagination-disabled-bg: #fff;
    --bs-pagination-disabled-border-color: #D80A38;
	flex-wrap: wrap;
}

.page-item:first-child .page-link {
    background-color: transparent;
    color: var(--bs-body-color);
    border-color: transparent;
}

.page-link {
    border-radius: 38px;
    min-width: 38px;
    text-align: center;
}

.page-item:not(:first-child) .page-link {
    margin-left: 5px;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

.entry-content video {
	width: 100%;
	height: auto;
}

/* 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;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

#cookie-law-info-bar[data-cli-style="cli-style-v2"][data-cli-type="widget"] {
    padding: 40px 40px 20px !important;
    width: 95% !important;
    max-width: 400px !important;
    border-radius: 0 0 0 50px !important;
    inset: auto 0px 20px auto !important;
}

.large.cli-plugin-button, .large.cli-plugin-button:visited {
    padding: 0.375rem 1.5rem !important;
    line-height: 1.6em !important;
    border-radius: 1.5rem !important;
    font-weight: 600 !important;
}

#cookie-law-info-again {
    padding: 10px 20px 5px !important;
    box-shadow: #16161663 2px 2px 5px 2px !important;
    border-radius: 20px 20px 0 0 !important;
	z-index: 1029;
}

.cli-bar-btn_container {
	justify-content: flex-end;
}

.cli-tab-footer .wt-cli-privacy-accept-btn {
    background-color: #D80A38 !important;
    color: #ffffff;
    padding: 0.375rem 1.5rem !important;
    line-height: 1.6em !important;
    border-radius: 1.5rem !important;
    font-weight: 600 !important;
}

.cli-switch input:checked + .cli-slider {
    background-color: #0039a6 !important;
}

.wpcf7-spinner {
    margin: 4px 24px;
    position: absolute;
}

span .wpcf7-not-valid {
    border: 1px solid #ff0000 !important;
}

div.wpcf7-validation-errors {
    background: #ffe2e2;
    border: 1px solid #ff0000;
    color: #C10000;
}
 
div.wpcf7-response-output {
    margin: 2em 0;
    padding: 15px;
    border-radius: 5px;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;	
}

.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
    background: #ffe2e2;
    border: 1px solid #ff0000;
    color: #C10000;
}

.wpcf7-not-valid-tip {
    display: block;
    position: absolute;
    background-color: #ffe2e2;
    padding: 0.1rem 1rem;
    border: 1px solid #dc3232;
    border-radius: 0 0 1rem 1rem;
    margin-top: -1px;
    left: 50%;
    transform: translateX(-50%);
    min-width: 200px;
    z-index: 1;
    box-shadow: 3px 3px 5px #0000004a;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

span .wpcf7-not-valid:focus + .wpcf7-not-valid-tip, span .wpcf7-not-valid:hover + .wpcf7-not-valid-tip {
	opacity: 1;
}

.togglebuttons.wpcf7-not-valid .wpcf7-list-item-label{
	border: 1px solid #dc3232;
}

span .togglebuttons.wpcf7-not-valid {
    border: none !important;
}

.grecaptcha-badge {
	display: none !important;
}




#flip {
	height:50px;
	overflow:hidden;
}
	
#flip > div > div {
	height:50px;
	margin-bottom:50px;
	display:inline-block;
}
	
#flip div:first-child {
	animation: flip 10s linear infinite;
}

@keyframes flip {
	0% {margin-top:25px;}
	4% {margin-top:-0px;}
	24% {margin-top:-0px;}
	28% {margin-top:-45px;}
	48% {margin-top:-45px;}
	52% {margin-top:-118px;}
	72% {margin-top:-118px;}
	76% {margin-top:-189px;}
	96% {margin-top:-189px;}
	99.99% {margin-top:-248px;}
	100% {margin-top:25px;}
}


.discover_expert {

}
	.discover_expert .discover_expertimg {
		padding: 100px 50px;
		text-align: right;
	}
		.discover_expert .discover_expertimg img {
			max-width: 100%;
			max-height: calc(100vh - 200px);
			min-height: 400px;
		}
	.discover_expert .discover_expertimg_mob{
		padding-left: 20px;
	}
		.discover_expert .discover_expertimg_mob img {
			width: 100%;
			max-width: 300px;
			min-width: 180px;
		}
	.discover_expert .discover_experttxt {
		padding: 40px 20px;
	}
		.discover_expert .discover_experttxt hr {
			border: none;
			border-bottom: 2px solid #E00034;
			margin: 40px 0;
		}

.discover_ebook {
	background-color: #ffce00;
	background-position: bottom right;
    background-repeat: no-repeat;
	background-size: 50%;
	clear: both;
}
	.discover_ebook .discover_ebookimg {
		padding: 100px 50px;
	}
		.discover_ebook .discover_ebookimg img {
			width: 100%;
		}

	.discover_ebook .discover_ebooktitle {
		padding: 20px 0px 0px 20px;
	}
	.discover_ebook .discover_ebooktitle h3 {
		margin-top: 30px;
	}
	.discover_ebook .discover_ebookimg_mob{
		padding-left: 20px;
	}
		.discover_ebook .discover_ebookimg_mob img {
			width: 100%;
			max-width: 300px;
			min-width: 180px;
		}
	.discover_ebook .discover_ebooktxt {
		padding: 0px 20px 20px 20px;
	}
	.discover_ebook .discover_ebooktxt p {
		color: #000000;
	}
	.discover_ebook .discover_ebooktitle p {
		font-weight: 600;
		color: #000000;
	}
	.discover_ebook .form-contents .terms p {
		font-size: 0.7em;
		line-height: 0.7em;
	}
	.discover_ebook form p .hint, .discover_ebook form .form-error {
		color: #ffffff;
	}


.discover_reasons{
	padding: 100px 20px 50px;
}
	.discover_reasonstxt{
		padding-bottom: 30px;
	}
	.discover_reasonsbox{
		padding: 0 20px 20px 20px;
		text-align: center;
	}
		.discover_reasonsbox img{
			max-width: 100%;
		}
		.discover_reasonsbox p{
			padding-top: 20px;
			font-size: 0.9em;
    		font-weight: 600;
		}

.discover_news_block{
	background-repeat: repeat-x;
}
	.discover_news{
		padding: 50px 0px 20px;
	}

	.discover_news h3{
		padding: 0 20px 20px;
		text-align: center;
	}

		.discover_news .discover_article{
			box-shadow: 2px 2px 15px rgba(0,0,0,0.15);
			border: solid 1px #EDEFF0;
			background-color: #ffffff;
			margin: 0 20px 40px 20px;
			position: relative;
			border-radius: 8px;
			overflow: hidden;
			height: 100%;
		}
		.discover_news .discover_article a {
			text-decoration: none;
		}
		.discover_news .discover_article img{
			width: 100%;
			height: 250px;
			object-fit: cover;
			object-position: center;
		}

		.discover_news .discover_article .content{
			padding: 20px;
		}
			.discover_news .discover_article .content h4{
				font-size: 25px;
				line-height: 28px;
			}
		.discover_news .discover_article .btn_block{
			margin-top: auto;
			padding: 20px;
		}
			.discover_news .discover_article .btn_block .button{
				padding: 8px 30px;
			}

.discover_contact {
	background-color: #00a0dc;
	padding:50px 0px;
}
	.discover_contact .discover_contactimg {
		padding: 0 50px;
		text-align: right;
	}
		.discover_contact .discover_contactimg img {
			max-width: 100%;
		}
	.discover_contact .discover_contactimg_mob{
		padding-left: 20px;
		padding-bottom: 20px;
	}
		.discover_contact .discover_contactimg_mob img {
			width: 100%;
			max-width: 300px;
			min-width: 180px;
		}
	.discover_contact .discover_contacttxt {
		padding: 40px 20px;
	}
	.discover_contact .discover_contacttxt p {
		color: #ffffff;
		margin: 0;
	}
	.discover_contact .discover_contacttxt .button {
		margin-top: 20px;
		margin-bottom: 0;
	}

ul.spaced li {
	break-inside: avoid;
	margin-bottom: 20px;
}

.infographic_hero {
	background-color: #ffce00;
    background-image: url(/wp-content/uploads/infographic_hero.jpg);
    background-position: left top;
    width: 100%;
    background-size: contain;
    background-repeat: no-repeat;
}
.infographic_hero_txt{
	background-color: #ffce00;
    float: unset;
    border-radius: 60px 0 0 0;
    margin-top: calc(100vw / 3);
}
.infographic_hero_txt h1 {
	font-size: 8vw;
    line-height: 8vw;
}
.infographic h2 {
	font-size: 8vw;
    line-height: 8vw;
}


/* Search Page */

.search .card { 
	border-bottom-left-radius: 2.5em;
    border-bottom-right-radius: 2.5em;
    border-top-left-radius: 0; 
    border-top-right-radius: 0; 
    border-top: 5px solid;
    border-color:#0939A3; 
    border-bottom:0;
    border-left:0;
    border-right:0;
    width:100%;
}
.search .card-container:nth-child(even) .card { border-color:#D80A38; }
.search .card.value-blue { background-color:#0939A3; color:#FFF; }

.search .card .tab {
	right: 1rem;
    top: -3px;
    margin: 0;
    line-height: 1rem;
    font-size: 1.5rem;
    color: #D80A38;
    position: absolute;
    display: block;
	text-shadow: 3px 3px 6px rgba(0,0,0,0.7);
}

.search .card .card-img { height:250px; border-radius:0;  object-fit: cover; object-position: center;}
.search .wp-pagenavi { clear: both; margin-top: 4rem; }

.search .card a {
	text-decoration: none;
}

.search .card a span {
	text-decoration: underline;
}

.search .post-meta { margin:-25px 0 0; }
.search .post-meta p { 
    font-size: 13px;
    font-style: italic;
    color: #9c9a9a; 
}
.search .post-meta a, .post-meta a:hover { color: #9c9a9a !important; text-decoration:none;  }
.search .post-meta p span { margin-right:5px; }


.search-bar {
	background-color: #0038a8;
    border-radius: 1em;
    max-width: 900px;
    margin: auto;
	padding: 1rem;
	z-index: 2;
    position: relative;
	width: 80%;
}
.search-bar h3 {
	color: #ffffff !important;
}

.shared-counts-wrap {
    margin: 40px 0 0 !important;
    display: flex !important;
    justify-content: center !important;
}

.input-group:not(.has-validation)>.dropdown-toggle:nth-last-child(n+3), .input-group:not(.has-validation)>:not(:last-child):not(.dropdown-toggle):not(.dropdown-menu) {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

/* X-Small devices (portrait phones, less than 576px)
No media query for `xs` since this is the default in Bootstrap */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
	.container-split-sm {
		max-width: 270px;
	}
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
	.container-split-sm, .container-split-md {
		max-width: 360px;
	}
	.bg-md-none { background-color:transparent; }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
	.container-split-sm, .container-split-md, .container-split-lg {
		max-width: 480px;
	}
}

/* X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
	.container-split-sm, .container-split-md, .container-split-lg, .container-split-xl {
		max-width: 570px;
	}
	
	.site-header .navbar .btn-lg {
		--bs-btn-padding-x: 1.5rem;
		--bs-btn-padding-y: 0.375rem;
		--bs-btn-font-size: 0.75rem;
    	--bs-btn-border-radius: 1.5rem;
	}
}

/* XX-Large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {
	.container-split-sm, .container-split-md, .container-split-lg, .container-split-xl, .container-split-xxl {
		max-width: 660px;
	}
}