/*!
Theme Name: The B Village
Author: Michael
Author URI: https://bebit.it
Description: The B Village Custom Theme
Version: 1.0.0
Requires PHP: 5.6
Text Domain: thebvillage
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

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

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

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

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

:root {
--green: #209B85;
--red: #E8464F;
--orange: #E88E17;
--darkgray: #525252;
--lightgray: #707070;
--black: #000000;
--white: #FFFFFF;
}

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

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
	font-family: "Roboto", sans-serif;
	font-weight: 300;
}

/**
 * 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: 6rem;
	/*margin: 0.67em 0;*/
	margin: 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;
}

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

/**
 * 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
--------------------------------------------- */
/*body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}*/

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

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

/* Elements
--------------------------------------------- */
body {
	background: #f7f7f7;
}

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

dd {
	margin: 0 1.5em 1.5em;
}

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

/* Links
--------------------------------------------- */
a {
	color: #4169e1;
}

a:visited {
	color: #800080;
}

a:hover,
a:focus,
a:active {
	color: #191970;
}

a:focus {
	outline: thin dotted;
}

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

/* 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);
	line-height: 1;
	padding: 0.6em 1em 0.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%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/
.alignfull {
	width: 100%;
	max-width: 100%;
}
.alignwide {
	width: 100%;
    max-width: 1440px;
    margin: auto;
    padding: 0 2rem;
}
.alignboxed {
	width: 100%;
    max-width: 1040px;
    margin: auto;
    padding: 0 2rem;	
}

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	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 {
	display: block;
	left: auto;
}

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

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

.main-navigation li {
    position: relative;
    margin-left: 1rem;
}

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

.main-navigation .menu_book a {
    background-color: var(--red);
    color: #FFF;
    text-decoration: none;
    text-transform: uppercase;
    padding: 0.7rem 1.4rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    margin-left: 1.5rem;
    transition: all 0.3s ease-in-out;
}
.main-navigation .menu_book a:hover {
    background-color: var(--darkgray);
}
.header-bg .main-navigation a {
    color: #000;
}
.header-bg .main-navigation .menu_book a {
    color: #fff;
}
.header-elements {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}
.header-bg .header-elements {
    border-bottom: 1px solid var(--green);
    margin-bottom: 2rem;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}
.menu-toggle {
    float: right;
    z-index: 999991;
    display: block;
    position: relative;
}

@media screen and (min-width: 910px) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
		justify-content: flex-end;
		align-items: center;
	}
}

@media screen and (max-width: 909px) {
	.main-navigation.toggled .menu-main-menu-container {
    width: 100%;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.9);
    z-index: 99999;
}

ul#primary-menu {
    float: none;
    width: 100%;
    text-align: center;
}
.main-navigation li {
    position: relative;
    margin-left: auto;
    font-size: 1.4rem;
    font-weight: 500;
    padding: 0.5rem;
}
.main-navigation .menu_book a {
    background-color: var(--red);
    color: #FFF;
    text-decoration: none;
    text-transform: uppercase;
    padding: 0.7rem 1.4rem;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    margin-left: auto;
    transition: all 0.3s ease-in-out;
}
.header-bg .main-navigation a {
    color: #fff;
}
footer#colophon.footer-back {
    z-index: -1;
}
.positionfixed {
	position: fixed;
	width: 100%;
}
.positionfixed .int_map_legend {
	z-index: 1;
}
.hamburger-lines {
    display: block;
    height: 20px;
    width: 26px;
    position: absolute;
    top: 1rem;
    right: 0;
    z-index: 999992;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.hamburger-lines .line {
    display: block;
    height: 3px;
    width: 100%;
    border-radius: 10px;
    background: #FFF;
}
.header-bg .hamburger-lines .line {
    background: var(--green);
}
.hamburger-lines .line.line1 {
    transform-origin: 0% 0%;
    transition: transform 0.4s ease-in-out;
}
.hamburger-lines .line.line2 {
    transition: transform 0.2s ease-in-out;
}
.hamburger-lines .line.line3 {
    transform-origin: 0% 100%;
    transition: transform 0.4s ease-in-out;
}
button.menu-toggle[aria-expanded="true"] .hamburger-lines .line.line1 {
  transform: rotate(45deg);
}

button.menu-toggle[aria-expanded="true"] .hamburger-lines .line.line2 {
  transform: scaleY(0);
}

button.menu-toggle[aria-expanded="true"] .hamburger-lines .line.line3 {
  transform: rotate(-45deg);
}
button.menu-toggle {
    position: relative;
    border: 0;
    background: 0;
    text-align: center;
    margin: auto;
    width: 4rem;
    height: 4rem;
    z-index: 999993;
}
}

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

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

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

footer#colophon {
    background-color: var(--green);
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
    padding: 2rem 2rem;
    margin-top: 3rem;
}
.footer-content-row {
    display: flex;
    justify-content: space-between;
}
.ft-cont-col.ft-cont-col-01, .ft-cont-col.ft-cont-col-05 {
    flex-basis: 25%;
}
.ft-cont-col-tit {
    min-height: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1;
    margin-bottom: 0.5rem;
}
.ft-cont-col-txt p {
    margin: 0;
}
a.footer-menu-el {
    display: block;
    text-decoration: none;
    color: #000;
    font-weight: 400;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}
a.footer-menu-el:hover {
    text-decoration: underline;
}
.footer-cont-row, .footer-cont-row p {
    color: #000;
    font-weight: 400;
    font-size: 0.9rem;
}
.footer-social-row {
    display: flex;
    justify-content: flex-end;
    padding-top: 2rem;
}
.ft-social-icon a {
    padding-left: 2rem;
}
.ft-social-icon a img {
    transition: all 0.3s ease-in-out;
}
.ft-social-icon a:hover img {
    filter: invert(100%);
}
.ft-cont-col-05 .ft-cont-col-tit {
    text-align: right;
}
.ft-cont-col-05 .ft-cont-col-txt {
    text-align: right;
    font-size: 0.8rem;
    max-width: 20rem;
    margin-left: auto;
}
.ft-cont-col-form .af-fields {
    position: relative;
}
.ft-cont-col-form .af-submit {
    position: absolute;
    top: 0.75rem;
    right: 1.8rem;
    padding: 0;
}
.ft-cont-col-form .af-field {
    border: 0;
}
.ft-cont-col-form .af-label {
    display: none;
}
.ft-cont-col-form .af-submit-button {
    line-height: 1;
    border: 0;
    background-color: var(--red);
    color: #FFF;
    text-decoration: none;
    text-transform: uppercase;
    padding: 0.9rem 1.4rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    margin-left: 1.5rem;
    transition: all 0.3s ease-in-out;
}
.ft-cont-col-form .af-submit-button:hover {
	background-color: var(--darkgray);
	cursor: pointer;
}
.ft-cont-col-form .af-field {
    border: 0 !important;
    padding: 1rem 0 !important;
    max-width: 20rem;
    margin-left: auto !important;
}
.ft-cont-col-form .acf-field input[type=email] {
    width: 100%;
    padding: 0.5rem 1rem;
    margin: 0;
    box-sizing: border-box;
    font-size: 0.8rem;
    line-height: 1;
    border: 0;
}
.ft-cont-col-form .acf-field input[type=email]::placeholder {
    color: #CBCBCB;
}
input:focus {
    outline: 0;
}
.af-field-privacy label {
    display: flex !important;
    flex-direction: row-reverse;
    text-align: right;
    line-height: 1;
    font-size: 0.7rem;
}
.ft-cont-col-form input[type="checkbox"] {
    margin-left: 0.5rem !important;
    margin-right: 0 !important;
    border: 0 !important;
}
.ft-cont-col-form .af-field.af-field-type-checkbox {
    padding-top: 0rem !important;
}
ul.acf-radio-list, ul.acf-checkbox-list {
    border: 0 !important;
    padding: 0 !important;
}
ul.acf-radio-list:focus-within, ul.acf-checkbox-list:focus-within {
    border: 0 !important;
    padding: 0 !important;
}
.acf-field .acf-notice {
    display: none !important;
}
.acf-notice.-error {
    max-width: 20rem;
    margin-left: auto;
    font-size: 0.7rem !important;
}
.acf-notice.-error p {
    font-size: 0.7rem !important;
}

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

.post,
.page {
	/*margin: 0 0 1.5em;*/
	margin: 0;
}

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

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

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

/* Header
--------------------------------------------- */
header#masthead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 2rem 2rem;
}
.site-branding img {
    max-width: 200px;
}
header#masthead.header-overlay {
    position: absolute;
    z-index: 99;
}

/* Blog
--------------------------------------------- */
.tbv-blog-header.alignfull {
    position: relative;
    display: flex;
}
.tbv-blog-header.alignfull:before {
    content: '';
    width: 100%;
    height: 3rem;
    border-radius: 10px;
    background-color: var(--red);
    display: block;
    position: absolute;
    top: calc(50% - 1.5rem);
    z-index: -1;
}
.tbv-blog-img {
    border-radius: 8px;
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    padding: 2rem;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
    min-height: 25rem;
}
.tbv-blog-img:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    left: 0;
    top: 0;
    border-radius: 8px;
}
.tbv-blog-tit {
    max-width: 28rem;
}
.tbv-blog-header h1 {
    font-size: 1.8rem;
    color: #fff;
    position: relative;
}
.tbv-blog-header p {
    color: #fff;
    position: relative;
}
.wp-caption-text {
    text-align: left;
    font-size: 0.8rem;
    font-style: italic;
    font-weight: 300;
    color: var(--lightgray);
}
.entry-content.alignwide {
    margin: auto;
    padding: 3rem 2rem;
    line-height: 1.5;
}
.navlinks.alignwide {
    padding: 3rem 2rem;
}
.entry-content.alignwide a {
    color: #000;
}
.navlinks a {
    color: #000;
}
.entry-content.alignwide strong {
    color: var(--green);
}

/* Hero Slider
--------------------------------------------- */
.slider_row {
    position: relative;
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
}
.hero_tit_row {
    position: absolute;
    z-index: 9;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
h1.hero_tit {
    width: 100%;
    font-size: 8rem;
    color: var(--white);
    max-width: 45rem;
    line-height: 1;
}
h1.hero_tit strong {
    color: var(--green);
}
.hero-slider-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}
.swiper-slide.hp-hero-slide img {
    width: 100vw;
    max-width: unset;
}
.swiper-slide.hp-hero-slide {
	    line-height: 0;
}


/* Interactive Map
--------------------------------------------- */
.interactive_map {
    position: relative;
}
.int_map_img {
    overflow: hidden;
    touch-action: none;
    cursor: grab;
    position: relative;
}
.int_map_img:active {
    cursor: grabbing;
}
.int_map_img_overlay img, .int_map_img img {
    max-width: none;
    min-width: 100vw;
}
.int_map_img_main {
    pointer-events: none;
    user-drag: none;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    max-height: 900px;
}
.interactive_map:before {
    content: '';
    position: absolute;
    top: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(180deg, #f7f7f7, transparent);
    z-index: 9;
}
.interactive_map:after {
    content: '';
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(0deg, #f7f7f7, transparent);
    z-index: 9;
}
.int_map_img_overlay {
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    user-drag: none;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}
.int_map_legend {
    position: absolute;
    top: 0;
    left: 0;
    width: 25%;
    height: 100%;
    max-width: 350px;
    min-width: 350px;
    display: flex;
    align-items: center;
    z-index: 999;
    user-select: none;
}
.int_map_legend_cont {
    width: 100%;
    height: 80%;
    background: #FFF;
    /* display: flex; */
    /* align-items: center; */
    border-radius: 8px;
    box-shadow: 5px 5px 10px 2px #33333320;
    padding: 20px 30px;
}
.legend_choice_tit.active {
    pointer-events: none;
}
.legend_choice_tit:hover {
    cursor: pointer;
}
li.legend_choice_tit {
    list-style: none;
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--darkgray);
}
li.legend_choice_tit:before {
    content: '';
    width: 30px;
    height: 30px;
    background-image: url('/wp-content/uploads/2024/01/choice-off.svg');
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 15px;
}
li.legend_choice_tit.active:before {
    background-image: url('/wp-content/uploads/2024/01/choice-on.svg');
}
.int_map_legend_tit h3, .int_map_legend_tit h3 p {
    color: var(--darkgray);
    font-size: 3.5rem;
    max-width: 265px;
    line-height: 1;
    margin: 10px 0 40px 0;
}
.int_map_legend_tit h3 strong {
    color: var(--green);
}
.legend_choice_list {
    max-height: 300px;
    overflow-y: scroll;
    position: relative;
}
.disable-scrollbars::-webkit-scrollbar {
  background: transparent; /* Chrome/Safari/Webkit */
  width: 0px;
}
    
.disable-scrollbars {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* IE 10+ */
}

/*.legend_el {
    display: flex;
    align-items: center;
}*/
.legend_el {
    align-items: center;
    display: grid;
    grid-auto-columns: max-content;
    grid-template-columns: 1fr 3fr;
    grid-gap: 10px;
}
.legend_el_icon {
    text-align: center;
    /*flex-basis: 50px;
    padding-right: 10px;*/
}
img.int_legicon_img {
    min-height: 40px;
    width: auto;
}
.legend_el_txt {
    font-size: 0.85rem;
}
.legend_el_txt strong {
    font-weight: 600;
}
.legend_el_txt em {
    font-size: 0.7rem;
}
.int_map_legend_list {
	position: relative;
}
.int_map_legend_list .scroll {
    height: 10px;
    width: 100%;
    z-index: 10;
    position: relative;
    margin: 10px 0;
    cursor: pointer;
}
.int_map_legend_list #scrolldown {
    background-image: url('/wp-content/uploads/2024/01/Freccia.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}
.int_map_legend_list #scrollup {
    background-image: url('/wp-content/uploads/2024/01/Freccia.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    transform: rotate(180deg);
}
.int_map_legend_list.scrollel:before {
    content: '';
    position: absolute;
    top: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(180deg, white, transparent);
    z-index: 9;
}
.int_map_legend_list.scrollel:after {
    content: '';
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(0deg, white, transparent);
    z-index: 9;
}

/* Images + Text Module
--------------------------------------------- */

h2.imgtxt-tit-large {
    font-size: 6rem;
}
.imgtxt-col-img-lg, .imgtxt-col-txt-lg {
    flex-basis: 50%;
}
.imgtxt-col-img-sm, .imgtxt-col-txt-sm {
    flex-basis: 40%;
}
.imgtxt-cols .imgtxt-col:first-of-type {
    margin-right: 10%;
}
.imgtxt-cols-invert .imgtxt-col.imgtxt-col-img {
    margin-right: 0;
    padding-left: 10%;
}
.imgtxt-cols.imgtxt-cols-invert {
    flex-direction: row-reverse;
}
.imgtxt-img-multi {
    display: flex;
    align-items: center;
}
.imgtxt-img-multi-sx, .imgtxt-img-multi-dx {
    flex-basis: 50%;
}
/*.imgtxt-cols {
    display: flex;
    align-items: center;
}*/
.imgtxt-cols {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.imgtxt-col.imgtxt-col-img.imgtxt-col-img-lg.imgtxt-col-pad-off {
    padding: 0;
}
/*.imgtxt-col-txt-sm {
    padding-right: 4.6rem;
}*/
.imgtxt-img img {
    padding: 0.4rem;
    border-radius: 12px;
}
.imgtxt-col-txt {
    line-height: 1.3;
}
a.imgtxt-col-txt-cta {
    color: #FFF;
    text-decoration: none;
    text-transform: uppercase;
    padding: 0.7rem 2.2rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    display: inline-block;
    min-width: 10rem;
    text-align: center;
    transition: all 0.3s ease-in-out;
}
a.imgtxt-col-txt-cta:hover {
	background-color: var(--darkgray) !important;
}
/*h2.imgtxt-tit-small {
    font-size: 2.8rem;
    line-height: 1.2;
    margin: 0;
}*/
h2.imgtxt-tit-small {
    font-size: 2.6rem;
    line-height: 1;
    margin: 0;
}
.imgtxt-col-pad-sx {
    padding-left: 4rem;
    margin-right: 0 !important;
    flex-basis: 50%;
}
.imgtxt-col-pad-dx {
    padding-right: 4rem;
    margin-right: 0 !important;
    flex-basis: 50%;
}
a.imgtxt-col-txt-cta.imgtxt-col-txt-cta-text {
    color: #000 !important;
    padding: 0 !important;
    min-width: auto !important;
    background-color: transparent !important;
    text-decoration: underline;
    text-transform: none;
    font-size: 0.8rem;
}
a.imgtxt-col-txt-cta.imgtxt-col-txt-cta-text:hover {
    background-color: transparent !important;
    text-decoration: none;
}


/* Services Slider
--------------------------------------------- */
.services-slider.alignfull {
    padding: 4rem 0;
}
.sslider-content {
    display: flex;
    position: relative;
    flex-wrap: wrap;
    padding-top: 3rem;
}
.sslider-txt {
    flex-basis: 25%;
    padding-right: 30px;
}
.sslider-txt p:first-of-type {
    margin-top: 0 !important;
}
.swiper.sslider-slider {
    flex-basis: 75%;
    cursor: grab;
	max-width: 75%;
}
.sslider-slider .swiper-slide {
    border-radius: 6px;
    aspect-ratio: 1/1 auto;
    position: relative;
    display: flex;
}
.slider_card_content {
    padding: 1rem;
    position: relative;
}
.slider_card_icon img {
    max-height: 70px;
    width: auto;
}
.slider_card_tit {
    font-size: 1.3rem;
    font-weight: 600;
    padding: 1rem 0 0.3rem 0;
}
.slider_card_ext {
    position: absolute;
    bottom: 40px;
    font-size: 0.7rem;
    font-style: italic;
}
.sslider-content .swiper-pagination {
    position: relative;
    width: 100%;
    bottom: auto;
    top: auto;
    left: auto;
    margin-top: 30px;
}
.sslider-content .swiper-pagination-bullet {
    margin: 0 8px !important;
    background: var(--darkgray);
    opacity: 1;
}
.sslider-content .swiper-pagination-bullet-active {
    background: var(--orange);
}
.sslider-cta-row.alignwide {
    display: flex;
    align-items: center;
    padding-top: 2rem;
}
.sslider-cta-txt {
    flex-basis: 55%;
    padding-right: 2rem;
}
.sslider-cta-button {
    flex-basis: 45%;
}
.sslider-cta-txt-cont {
    max-width: 25rem;
}
.sslider-cta-txt-cont p {
    margin: 0 !important;
}


/* Page Header
--------------------------------------------- */
.page-header-box {
    position: relative;
}
.pageheader-img.pageheader-img-multi {
    display: flex;
}
.pageheader-img-multi-sx, .pageheader-img-multi-dx {
    flex-basis: 50%;
}
.pageheader-img-multi-sx {
    padding-right: 0.5rem;
}
.pageheader-img-multi-dx {
    padding-left: 0.5rem;
}
.pageheader-img-multi-dx img {
    margin-top: 3rem;
}
.pageheader-img img {
    border-radius: 8px;
}
.pageheader-tit-box {
    position: absolute;
    bottom: 20%;
    left: 14%;
    max-width: 42%;
    background-color: var(--green);
    border-radius: 8px;
    padding: 3rem;
}
.pageheader-tit-box h1 p {
	margin: 0;
}
h1.pageheader-tit {
    color: #FFF;
    font-weight: 900;
}
h1.pageheader-tit strong {
    color: #000;
}
.pageheader-txt {
    font-size: 1.2rem;
}
.pageheader-txt p {
    margin-bottom: 0;
}
.pageheader-tit-box p {
    margin-bottom: 0;
}

.pageheader-img.pageheader-img-single {
    max-width: 60%;
}
.page-header-box-single .pageheader-tit-box {
    left: auto;
    right: 10%;
    bottom: auto;
    top: 10%;
    max-width: none;
    width: auto;
}
.page-header {
    margin-bottom: 3rem;
}


/* Image Header
--------------------------------------------- */

.image_header.alignfull {
    min-height: 25rem;
    background-size: cover;
    background-position: bottom;
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
    margin-bottom: 2rem;
    display: block;
    position: relative;
}
.image_header_tit {
    padding-bottom: 2rem;
}


/* Single Image
--------------------------------------------- */
.single-image-img img {
    max-width: none;
    width: 100%;
    border-radius: 6px;
}
.single-image-img.alignmid {
	clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.single-image-img.aligndx {
	margin-left: auto;
}
.single-image-img.alignsx {
	margin-left: 0;
}


/* Simple Text
--------------------------------------------- */
.simple-text-txt {
    max-width: none;
    width: 100%;
}
.simple-text-txt.alignmid {
	clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.simple-text-txt.aligndx {
	margin-left: auto;
}
.simple-text-txt.alignsx {
	margin-left: 0;
}
.simple-text {
    padding: 3rem 0;
}


/* Image + CTA
--------------------------------------------- */
.imgtxt-cols.img-cta-cols .imgtxt-col:first-of-type {
    margin: 0;
}
.img-cta-cols .imgtxt-col-img {
    flex-basis: calc(60% - 2rem);
}
.img-cta-cols .imgtxt-col-txt {
    max-width: 18.5rem;
    flex-basis: calc(40% + 2rem);
    margin: auto;
    padding: 0 3rem;
}
.img-cta-cols a.imgtxt-col-txt-cta {
    min-width: 7rem;
}



/* Apartment Slider
--------------------------------------------- */
.tbv_apartment_slider_top h2.imgtxt-tit-large {
    padding-top: 3rem;
    margin-bottom: 0;
    color: var(--red);
    font-size: 4rem;
}
.tbv_apartment_slider_top .selnews-txt {
    max-width: 100%;
}
.tbv_apartment_slider_top a.imgtxt-col-txt-cta {
    padding: 0;
    min-width: 0;
    text-transform: none;
    color: var(--red);
    font-size: 0.85rem;
    font-weight: 400;
}
.tbv_apartment_slider_top .sslider-cta-button {
    width: 100%;
    text-align: right;
}
.tbv_apartment_slider_top a.imgtxt-col-txt-cta:hover {
    background-color: transparent !important;
}
.tbv_apartment_slider_top a.imgtxt-col-txt-cta:after {
    content: '';
    width: 20px;
    height: 8px;
    display: inline-block;
    background-image: url('/wp-content/uploads/2024/04/cta-arrow.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.apt_slider_nav {
    display: flex;
    width: 100%;
    justify-content: flex-end;
    align-items: center;
    padding-top: 0.5rem;
}
.swiper-prev-aptslider {
    bottom: 0;
    display: block;
    z-index: 99999;
    background: url(/wp-content/uploads/2024/04/slider-arrow.svg);
    width: 24px;
    height: 16px;
    background-size: contain;
    background-repeat: no-repeat;
    cursor: pointer;
    transform: rotate(180deg);
    background-position: center;
    margin-right: 1rem;
}

.swiper-next-aptslider {
    bottom: 0;
    display: block;
    z-index: 99999;
    background: url(/wp-content/uploads/2024/04/slider-arrow.svg);
    width: 24px;
    height: 16px;
    background-size: contain;
    background-repeat: no-repeat;
    cursor: pointer;
    transform: rotate(0deg);
    background-position: center;
}
.apt_slider_nav .swiper-button-disabled {
    opacity: 0.3;
}

/* Modal Map
--------------------------------------------- */

/* The Modal (background) */
.modalmap {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 99; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100vh; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modalmap-content {
    background-color: #f4f4f4;
    margin: auto;
    padding: 0;
    border: 0;
    width: 90%;
    max-width: 1200px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

/* The Close Button */
.closemap {
    color: #000;
    font-size: 28px;
    line-height: 0.7;
    position: absolute;
    right: 1rem;
    top: 0.5rem;
}

.closemap:hover,
.closemap:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

@media screen and (max-width: 600px) {
.modalmap-content {
    padding: 1.5rem 1.5rem 1rem 1.5rem;
}
}

/* Contact Form
--------------------------------------------- */
.contact-form-top {
    display: flex;
}
.contact-form-top-sx {
    flex-basis: 60%;
    padding-left: 10%;
}
h1.cftit {
    line-height: 1;
}
h1.cftit p {
    margin: 0;
}
h1.cftit strong {
    color: var(--green);
}
.contact-form-top-dx {
    flex-basis: 40%;
}
.cfimg img {
    border-radius: 6px;
}
.contact-form-form {
    margin-top: -25%;
    background: rgba(82,82,82,0.3);
    z-index: 1;
    position: relative;
    border-radius: 6px;
    padding: 2rem;
}
.contact-form-form .acf-fields {
    position: relative;
    display: flex;
    flex-wrap: wrap;
}
.contact-form-form .af-field:nth-child(3), .contact-form-form .af-field:nth-child(4), .contact-form-form .af-field:nth-child(6), .contact-form-form .af-field:nth-child(7) {
    width: 30%;
    display: inline-block;
}
.contact-form-form .af-field:nth-child(5) {
    width: 40%;
    display: inline-block;
}
.contact-form-form .af-field:nth-child(8), .contact-form-form .af-field:nth-child(9) {
    width: 20%;
    display: inline-block;
}
input[type="checkbox"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    /* display: inline-block; */
    /* position: absolute; */
    background: url(/wp-content/uploads/2024/01/checkbox-off.svg) no-repeat center;
    background-size: 25px 25px;
    width: 35px;
    height: 25px;
    /* right: 0; */
    margin: 0;
    cursor: pointer;
    border: 0;
    margin: -7px 0 0 7px !important;
}
input[type="checkbox"]:checked {
    background: url(/wp-content/uploads/2024/01/checkbox-on.svg) no-repeat center;
    background-size: 25px 25px;
    width: 35px;
    height: 25px;
}
.contact-form-form .acf-field-text .af-label, .contact-form-form .acf-field-email .af-label, .contact-form-form .acf-field-select .af-label, .contact-form-form .acf-field-textarea .af-label {
    display: none !important;
}
.contact-form-form .af-input select, .contact-form-form .af-input textarea {
    outline: 0 !important;
}
.contact-form-form .acf-fields > .acf-field {
	border: 0;
}
select {
    border: 0;
}
.contact-form-form .af-field.af-field-type-textarea {
    width: 100%;
}
.contact-form-form .af-submit.acf-form-submit {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
}
.contact-form-form .af-field-privacy label, .contact-form-form .af-field-nl-sign label {
    display: flex !important;
    flex-direction: unset;
    text-align: left;
    line-height: 1;
    font-size: 0.7rem;
}
.contact-form-form .af-label.acf-label {
    display: none;
}
.contact-form-form input[type="checkbox"] {
    margin: -7px 7px 0 0px !important;
}
.contact-form-form .af-field-privacy {
    width: 100%;
    padding: 16px 16px 0 16px !important;
}
.contact-form-box {
    padding-bottom: 6rem;
}

.contact-form-form button.acf-button.af-submit-button {
    line-height: 1;
    border: 0;
    background-color: var(--green);
    color: #FFF;
    text-decoration: none;
    text-transform: uppercase;
    padding: 0.9rem 1.4rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    margin-left: 1.5rem;
    transition: all 0.3s ease-in-out;
}
.contact-form-form button.acf-button.af-submit-button:hover {
    background-color: var(--darkgray);
    cursor: pointer;
}
.contact-form-form .acf-field input::placeholder {
    color: #000;
}
.acf-field input[type=text], .acf-field input[type=password], .acf-field input[type=date], .acf-field input[type=datetime], .acf-field input[type=datetime-local], .acf-field input[type=email], .acf-field input[type=month], .acf-field input[type=number], .acf-field input[type=search], .acf-field input[type=tel], .acf-field input[type=time], .acf-field input[type=url], .acf-field input[type=week], .acf-field textarea, .acf-field select {
    width: 100% !important;
    padding: 0.5rem 1rem !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    font-size: 0.8rem !important;
    line-height: 1 !important;
    border: 0 !important;
}
.af-input select {
    border-radius: 4px;
    padding: 7px 8px !important;
    color: #000;
}


/* THANK YOU PAGE Content
--------------------------------------------- */
.typ-content-img {
    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 20px;
    padding: 15rem 0 10rem 0;
}
.typ-content-tit h1.pageheader-tit {
    background-color: var(--green);
    width: 50%;
    border-radius: 8px;
    padding: 2.5rem 2rem;
    line-height: 1;
}
.typ-content-tit h1.pageheader-tit p {
    line-height: 1;
    margin: 0;
}
.typ-content-tit h1.pageheader-tit strong {
    color: var(--darkgray);
}
.typ-content-txt.alignwide {
    padding: 1.5rem 20px 1rem 20px;
}


/* Selected News
--------------------------------------------- */
.tbv-selblog-img {
    border-radius: 8px;
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    padding: 2rem;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
    min-height: 22rem;
}
.tbv-selblog-tit a {
    text-decoration: none !important;
    color: var(--darkgray);
}
.tbv-selblog-tit {
    background-color: #FFF;
    border-radius: 8px;
    padding: 1rem;
    transition: transform 0.3s ease-in-out;
}
.tbv-selblog-tit:hover {
    transform: scale(1.05);
}
.tbv-selblog-tit h1 {
    font-size: 1rem;
    color: var(--darkgray);
    text-decoration: none !important;
    padding-bottom: 1rem;
}
.tbv-selblog-tit p {
    font-size: 0.8rem;
    margin: 0;
    color: var(--darkgray);
}
.selnews-cont {
    display: grid;
    grid-gap: 15px;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 15px;
}
.selnews-content h2.imgtxt-tit-large {
    margin-bottom: 1rem;
}
.selnews-txt {
    max-width: 30rem;
}
.sslider-cta-row.selnews-cta .sslider-cta-button {
    text-align: right;
}
.sslider-cta-row.selnews-cta {
    padding: 3rem 20px 6rem 20px;
}
.sslider-cta-row.selnews-cta .sslider-cta-txt-cont {
    max-width: 100%;
}

/* Blog
--------------------------------------------- */

.alignwide.padmore {
    padding: 0 6rem;
}
.blog-selected {
    display: grid;
    grid-gap: 15px;
    grid-template-columns: repeat(6, 1fr);
    margin-top: 15px;
}
.tbv-blog-header a {
    text-decoration: none !important;
}
.blog-selected .tbv-selblog-img {
    padding: 1rem;
    min-height: unset;
}
.blog-selected .tbv-selblog-img-lg, .blog-latest .tbv-selblog-img-lg {
    padding: 1rem;
    min-height: 18rem;
}
.tbv-selblog-img-lg {
    grid-row: span 2;
	grid-column: span 2;
}
.late-pop_blogposts .tbv-selblog-img-lg {
    grid-row: span 2;
    grid-column: span 1;
}
.tbv-selblog-sm {
    display: grid;
    grid-gap: 15px;
    grid-template-columns: repeat(2, 1fr);
}
.tbv-selblog-sm {
    display: grid;
    grid-gap: 0;
    grid-template-columns: repeat(5, 1fr);
    background-color: #FFF;
    border-radius: 8px;
    grid-column: span 2;
}
.tbv-selblog-sm .tbv-selblog-img {
    grid-column: span 2;
	padding: 0;
}
.tbv-selblog-sm .tbv-selblog-tit {
    grid-column: span 3;
    border-radius: 0;
    background-color: transparent;
}
.blog-selected .tbv-selblog-tit h1, .blog-selected .tbv-selblog-tit h3 {
    font-size: 1rem;
    color: var(--darkgray);
    text-decoration: none !important;
    padding-bottom: 0;
    margin: 0 0 0.2rem 0;
}
h2.blog-page-tits {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.3rem;
    color: var(--red);
    padding: 2.5rem 0 2rem 0;
}
h2.blog-page-tits:after {
    content: "";
    margin-left: 1.2rem;
    border-bottom: 5px solid;
    border-radius: 20px;
    border-color: var(--darkgray);
    opacity: 0.2;
    flex-grow: 1;
}
.blog-latest {
	display: grid;
    grid-gap: 15px;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 15px;
}
.late-pop_blogposts {
    display: grid;
    grid-gap: 15px;
    grid-template-columns: repeat(6, 1fr);
    margin-top: 15px;
}
.blog-latest-cont {
    grid-column: span 4;
}
.blog-popular-cont {
    grid-column: span 2;
}

.tbv-selblog-pop {
    display: grid;
    grid-gap: 15px;
    grid-template-columns: repeat(5, 1fr);
    margin-top: 15px;
    background-color: #FFF;
    border-radius: 8px;
    padding: 1rem;
}
.tbv-selblog-count {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 700;
    color: var(--darkgray);
    opacity: 0.3;
}
.tbv-selblog-pop .tbv-selblog-tit {
    grid-column: span 4;
    background: transparent;
    border-radius: unset;
}
.tbv-selblog-pop .tbv-selblog-tit h1 {
    padding-bottom: 0;
}



/* Responsive Media Queries */

/* MAX 1279 */
@media screen and (max-width: 1239px) {

.pageheader-tit-box h1 {
    font-size: 5rem;
}

.tbv-selblog-img-lg {
    grid-row: span 2;
    grid-column: span 6;
}
.tbv-selblog-sm {
    display: grid;
    grid-gap: 0;
    grid-template-columns: repeat(5, 1fr);
    background-color: #FFF;
    border-radius: 8px;
    grid-column: span 3;
}

}



/* MAX 1239 */
@media screen and (max-width: 1239px) {

.slider_card_icon img {
    max-height: 50px;
}
.slider_card_tit {
    font-size: 1.1rem;
}
.slider_card_txt {
    font-size: 0.9rem;
}
.slider_card_ext {
    bottom: 20px;
}

h1.cftit {
    font-size: 5rem;
}
.contact-form-top-sx {
    padding-right: 2rem;
}

}



/* MAX 1199 */
@media screen and (max-width: 1199px) {

h1.hero_tit {
    font-size: 6rem;
    max-width: 35rem;
}
.tbv-selblog-img {
    min-height: 16rem;
}
.pageheader-tit-box {
    max-width: 52%;
}

.late-pop_blogposts .tbv-selblog-img-lg {
    grid-row: span 2;
    grid-column: span 2;
}

.contact-form-form {
    margin-top: -10%;
	max-width: 90%;
}

}


/* MAX 1039 */
@media screen and (max-width: 1039px) {

.footer-content-row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    /* flex-direction: column-reverse; */
}
.ft-cont-col.ft-cont-col-01, .ft-cont-col.ft-cont-col-05 {
    flex-basis: 100%;
}
.ft-cont-col-05 .ft-cont-col-tit {
    text-align: left;
}
.ft-cont-col-05 .ft-cont-col-txt, .ft-cont-col-05 .ft-cont-col-txt p {
    text-align: left;
    font-size: 0.8rem;
    max-width: 100%;
    margin-left: 0;
}
.ft-cont-col-form input[type="checkbox"] {
    margin-left: 0rem !important;
    margin-right: 0 !important;
    border: 0 !important;
}
.af-field-privacy label {
    display: flex !important;
    flex-direction: row;
    text-align: left;
    line-height: 1;
    font-size: 0.7rem;
}
.ft-cont-col-form .af-field {
    border: 0 !important;
    padding: 1rem 0 !important;
    max-width: 100%;
    margin-left: 0 !important;
}
.ft-cont-col.ft-cont-col-05 {
    padding-top: 2rem;
}

.images-text {
    padding-bottom: 3rem;
}

.blog-latest-cont {
    grid-column: span 3;
}
.blog-popular-cont {
    grid-column: span 3;
}



}

/* MAX 991 */
@media screen and (max-width: 991px) {

h1.hero_tit {
    font-size: 5rem;
    max-width: 30rem;
}
.tbv-selblog-img {
    min-height: 16rem;
}
h2.imgtxt-tit-large {
    font-size: 5rem;
}

.pageheader-img.pageheader-img-multi {
    display: flex;
    align-items: baseline;
}
.pageheader-tit-box {
    position: absolute;
    bottom: auto;
    left: 8%;
    max-width: 70%;
    background-color: var(--green);
    border-radius: 8px;
    padding: 2rem;
    top: 0;
}
.pageheader-tit-box h1 {
    font-size: 4rem;
}
.pageheader-txt, .pageheader-txt p {
    font-size: 1rem;
    margin-bottom: 0;
}

.tbv-selblog-sm {
    display: grid;
    grid-gap: 0;
    grid-template-columns: repeat(5, 1fr);
    background-color: #FFF;
    border-radius: 8px;
    grid-column: span 6;
}

.blog-latest-cont {
    grid-column: span 6;
}
.blog-popular-cont {
    grid-column: span 6;
}

h1.cftit {
    font-size: 4rem;
}

}

/* MAX 767 */
@media screen and (max-width: 767px) {

h1.hero_tit {
    font-size: 4rem;
    max-width: 25rem;
}
.sslider-txt {
    flex-basis: 100%;
    padding-right: 0;
    padding-bottom: 1rem;
}
.swiper.sslider-slider {
    flex-basis: 100%;
    cursor: grab;
	max-width: 100%;
}
h2.imgtxt-tit-large {
    font-size: 4rem;
}
.tbv-selblog-img {
    padding: 1rem;
}

.int_map_img {
    overflow: hidden;
    touch-action: none;
    cursor: grab;
    position: relative;
    max-height: 30rem;
}
.int_map_img_main {
    pointer-events: none;
    user-drag: none;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    max-height: 400px;
}
.int_map_legend {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    max-width: 100%;
    min-width: unset;
    display: flex;
    align-items: flex-start;
    z-index: 999;
    user-select: none;
}
.int_map_legend_cont {
    width: 100%;
    height: auto;
    background: #FFF;
    /* display: flex; */
    /* align-items: center; */
    border-radius: 8px;
    box-shadow: 5px 5px 10px 2px #33333320;
    padding: 20px 30px;
}
.int_map_legend_tit h3, .int_map_legend_tit h3 p {
    color: var(--darkgray);
    font-size: 3.5rem;
    max-width: 100%;
    line-height: 1;
    margin: 10px 0 40px 0;
}
.int_map_legend_choices {
    display: flex;
}
.legend_choice_list {
    max-height: 190px;
    overflow-y: scroll;
    position: relative;
}
li.legend_choice_tit {
    list-style: none;
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--darkgray);
    padding-right: 1.5rem;
}

.swiper-slide.hp-hero-slide {
    height: 20rem;
    overflow: hidden;
    position: relative;
    object-fit: cover;
    display: block;
}
.swiper-slide.hp-hero-slide img {
    width: 100%;
    max-width: none;
    height: 100%;
    object-fit: cover;
    overflow: hidden;
}
.slider_row h1.hero_tit {
    padding-top: 5rem;
}


.page-header-box {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column-reverse;
}
.pageheader-img.pageheader-img-multi {
    display: flex;
    margin-top: -5rem;
    flex-wrap: wrap;
}
.pageheader-tit-box {
    position: relative;
    bottom: auto;
    left: 0;
    max-width: 80%;
    background-color: var(--green);
    border-radius: 8px;
    padding: 2rem;
    top: 0;
    /* margin-left: 0; */
}
.pageheader-img.pageheader-img-single {
    max-width: 60%;
    margin-left: auto;
    margin-top: -3rem;
}


.contact-form-top {
    display: flex;
    flex-wrap: wrap;
}
.contact-form-top-sx {
    flex-basis: 100%;
    padding-left: 0;
    padding-right: 0;
}
.contact-form-top-dx {
    flex-basis: 100%;
}
.contact-form-form {
    margin-top: -50%;
}
.contact-form-form .af-field:nth-child(3), .contact-form-form .af-field:nth-child(4), .contact-form-form .af-field:nth-child(6), .contact-form-form .af-field:nth-child(7) {
    width: 100%;
    display: inline-block;
}
.contact-form-form .af-field:nth-child(5) {
    width: 100%;
    display: inline-block;
}
.contact-form-form .af-field:nth-child(8), .contact-form-form .af-field:nth-child(9) {
    width: 100%;
    display: inline-block;
}
.contact-form-form .af-submit.acf-form-submit {
    position: relative !important;
    right: unset;
    bottom: unset;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    margin: 1rem;
}
.contact-form-form input[type="checkbox"] {
    max-width: 28px;
}

}

/* MAX 599 */
@media screen and (max-width: 599px) {

h1.hero_tit {
    font-size: 3rem;
    max-width: 100%;
}
.selnews-cont {
    grid-template-columns: repeat(1, 1fr);
}
.ft-cont-col {
    width: 100%;
}

.imgtxt-col-img-lg, .imgtxt-col-txt-lg {
    flex-basis: 100%;
}
.imgtxt-col-img-sm, .imgtxt-col-txt-sm {
    flex-basis: 100%;
}
.imgtxt-cols {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
.imgtxt-cols .imgtxt-col:first-of-type {
    margin-right: 0;
        padding: 0;
}
.imgtxt-img img {
    /*padding: 0;*/
    border-radius: 12px;
}
.imgtxt-col-txt {
    padding-top: 2rem;
}
.simple-text-txt.alignmid {
    text-align: center;
}
.img-cta-cols .imgtxt-col-img {
    flex-basis: 100%;
}
.img-cta-cols .imgtxt-col-txt {
    max-width: 100%;
    flex-basis: 100%;
    margin: auto;
    padding: 0.4rem;
}

.pageheader-img-multi-sx, .pageheader-img-multi-dx {
    flex-basis: 100%;
    padding: 0 !important;
}
.pageheader-img-multi-dx img {
    margin-top: 1rem;
}
.pageheader-img-multi-sx {
    max-width: 75%;
    margin-left: 5%;
}
.pageheader-img-multi-dx {
    max-width: 60%;
    margin-left: auto;
    margin-top: -5rem;
}
.pageheader-tit-box {
    position: relative;
    bottom: auto;
    left: 0;
    max-width: 100%;
    background-color: var(--green);
    border-radius: 8px;
    padding: 1.5rem;
    top: 0;
    /* margin-left: 0; */
}
.pageheader-tit-box h1 {
    font-size: 3.5rem;
}
.pageheader-img.pageheader-img-single {
    max-width: 90%;
    margin-left: auto;
    margin-top: -3rem;
}
.page-header-box-single .pageheader-tit-box {
    left: 0;
    right: unset;
    bottom: auto;
    top: 10%;
    max-width: none;
    width: 90%;
    margin-left: 0;
}

.alignwide.padmore {
    padding: 0 2rem;
}

}

/* MAX 479 */
@media screen and (max-width: 479px) {


}