/*
Author:		Rico Floß, floss@51nullacht.de
Author URI: https://www.51nullacht.de/
Project:	rkw-sachsen.de
Date:		2022-11
Client:		RKW
*/

/* Icons */
/* blockquote::before, */
/* a[href^="mailto:"]::before, */
/* a[href^="tel:"]::before */
.additional-container a[href^="http://"]::before,
.additional-container a[href^="https://"]::before,
a[href$=".pdf"]::before,
ul.icon-ul li::before
{
	font-family: 'rkwsachsenicons' !important; speak: never; font-style: normal; font-weight: normal; font-variant: normal; text-transform: none; line-height: 1; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
	vertical-align: middle;
}
ul.icon-ul.icon-check li::before { content: "\ea10"; }
[data-toggle="collapse"]:not(.collapsed) .rkwsachsenicons-chevron-down::before { content: "\e90d"; }
[data-toggle="collapse"]:not(.collapsed) .rkwsachsenicons-search::before,
[data-toggle="collapse"]:not(.collapsed) .rkwsachsenicons-menu::before { content: "\e908"; }
.additional-container a[href^="http://"]::before,
.additional-container a[href^="https://"]::before { content: "\e906";  }
.additional-container a[href^="https://rkw-sachsen"]::before,
.additional-container a[href^="https://www.rkw-sachsen.de"]::before { content: "\e907";  }
a[href$=".pdf"]::before { content: "\e901" !important; }

/* a[href^="mailto:"]::before { content: "\e90b"; }
a[href^="tel"]::before { content: "\e918"; }
/* .copy-content.content-copied > span::before { content: "\e91e"; } */
/* .tns-nav.tns-nav-active span::before { content: "\e902"; } */
/* .toggle-navigation button:not(.collapsed) span::before { content: "\e909"; } */

	/* sizes */
[class^="rkwsachsenicons-"], [class*=" rkwsachsenicons-"] { vertical-align: -0.1em; }
.icon-medium { font-size: 1.5rem; }
.icon-large { font-size: 3rem; }
/* .icon-xlarge { font-size: 4rem; } */

	/* social */
/* .social-icon[class*="facebook"]::before { content: "\ea90"; }
.social-icon[class*="music-apple"]::before { content: "\e905"; }
.social-icon[class*="deezer"]::before { content: "\e904"; }
.social-icon[class*="instagram"]::before { content: "\ea92"; }
.social-icon[class*="spotify"]::before { content: "\ea94"; }
.social-icon[class*="youtube"]::before { content: "\ea9d"; }
.social-icon[class*="soundcloud"]::before { content: "\eac3"; }
.social-icon[class*="wikipedia"]::before { content: "\eac8"; }
.social-icon[class*="twitter"]::before { content: "\ea96"; }
.social-icon[class*="pinterest"]::before { content: "\ead1"; }
.social-icon[class*="wordpress"]::before { content: "\eab4"; } */

/* ========= basic */
audio,canvas,datagrid,datalist,details,dialog,iframe,menu,video{ display: block; }
/* html, body { font-size: 17px; overflow-x: hidden; } */
html, body { font-size: 17px; }

img { max-width: 100%; height: auto; }
iframe { max-width: 100%; }
img[src$=".svg"][width="1"]:not(.width-absolute) { width: auto; }
figure { margin-bottom: 0; max-width: 100%; }
figure img { display: inline-block; }
figure figcaption { }

/* sans serif */
.pagination,
.meta-container,
.breadcrumb,
*:not(p) > a:not(.stretched-link):not(.text-reset),
button.btn,
input.btn { font-family: var(--font-links); }

.content-main ol, .content-main ul { overflow: hidden; }

/* .font-weight-normal { font-weight: normal; } */

p:last-child { margin-bottom: 0; }

/* em { font-style: normal; } */
blockquote { font-size: 1.125rem; font-style: italic; position: relative; padding: 1.5rem 2rem 1.5rem 3rem; border: 1px solid var(--light); background-color: #fff; }
blockquote::before { position: absolute; top: .5rem; content: '"'; color: var(--primary); font-size: 4rem; }
/* blockquote::after { position: absolute; top: 0; content: '"'; font-size: 3rem; } */
blockquote::before { left: .5rem; }
/* blockquote::after { right: .5rem; } */

/* grid */
.container-fluid { max-width: 1460px; }

/* form */
input[type="radio"],
input[type="checkbox"] { margin: 0 1rem 0 .5rem; transform: scale(1.5); }

.tnp-field.tnp-privacy-field label { display: flex; gap: 1rem; }

/* headlines */
.h1 { font-size: 1.75rem; }
body.blog-1 h1, .h1,
body.blog-1 h2, .h2,
body.blog-1 h3, .h3,
body.blog-1 h4, .h4,
body.blog-1 h5, .h5,
body.blog-1 h6, .h6 { word-wrap: break-word; overflow-wrap: break-word; -webkit-hyphens: auto; -moz-hyphens: auto; hyphens: auto; }
h1,
h2,
h3,
h4,
h5,
h6 { clear: both; }
h1 a, .h1 a,
h2 a, .h2 a,
h3 a, .h3 a,
h4 a, .h4 a,
h5 a, .h5 a,
h6 a, .h6 a { color: inherit; }
h1 a:hover, .h1 a:hover,
h2 a:hover, .h2 a:hover,
h3 a:hover, .h3 a:hover,
h4 a:hover, .h4 a:hover,
h5 a:hover, .h5 a:hover,
h6 a:hover, .h6 a:hover {  }
/* .display-1 { font-size: 2rem; } */

/* links / btns */
a:not(.btn):not(.text-reset) { font-weight: 600; }
/* a[href$=".pdf"] { position: relative; padding-left: 1.5rem; } */
/* a[href$=".pdf"]::before { position: absolute; left: 0; top: .125rem; } */
.additional-container a[href^="http://"]::before,
.additional-container a[href^="https://"]::before { padding-right: .5rem; }

/* btns */
/* .btn.bg-primary,
.btn.bg-warning,
.btn.bg-white { border: 2px solid transparent; }
.btn.bg-primary.current,
.btn.bg-primary:focus,
.btn.bg-primary:hover { background-color: #fff !important; color: #018585 !important; border-color: #018585; }
.btn.bg-warning.current,
.btn.bg-warning:focus,
.btn.bg-warning:hover { background-color: #fff !important; color: #CD4B16 !important; border-color: #CD4B16; }
.btn.bg-white.current,
.btn.bg-white:focus,
.btn.bg-white:hover { background-color: #65C1C3 !important; color: #fff !important; border-color: #fff; } */

/* lists */
ul:not(.list-inline):not(.list-unstyled), ol:not(.list-inline):not(.list-unstyled) { list-style: none; }
ul:not(.list-inline):not(.list-unstyled) li,
ol:not(.list-inline):not(.list-unstyled) li { margin-bottom: .5rem; }
ul:not(.list-inline):not(.list-unstyled) li::before,
ol:not(.list-inline):not(.list-unstyled) li::before { color: var(--primary); display: inline-block; width: 1rem; }
ul:not(.list-inline):not(.list-unstyled) li::before { content: "•"; margin-left: -1rem; }
ol:not(.list-inline):not(.list-unstyled) { counter-reset: li; }
ol:not(.list-inline):not(.list-unstyled) li { counter-increment: li; }
ol:not(.list-inline):not(.list-unstyled) li::before { content: '.'counter(li); margin-left: -1.5em; margin-right: .5em; text-align: right; direction: rtl; }

ul.icon-ul { /* list-style: none; */ padding: 1rem; color: var(--primary); }
ul.icon-ul > li { padding-left: 2.5rem; padding-bottom: .5rem; }
ul.icon-ul > li::before { margin: .25rem 0 0 -2rem; position: absolute; font-size: 1rem; }

/* ========= header */
/* .page-header a:hover,
.page-header a:focus {  } */
.page-header {  }

/* logo */
/* .page-header .logo { width: 100%; } */
/* body .page-header .logo img { width: 200px !important; max-width: none; } */

/* ========= navigation */
.main-navigation-container { background-color: #fff; }

/* toggle */
.toggle-navigation { line-height: 1; }
.toggle-navigation .btn:hover,
.toggle-navigation .btn:focus,
.toggle-navigation .btn:not(.collapsed) { outline: none; box-shadow: none; color: #fff; background-color: var(--dark); border-color: var(--dark); }

/* main */
	/* default */
.main-navigation li a { color: var(--secondary); }
.main-navigation li[class*="current"] > a { text-decoration: underline; }

	/* lvl 1 */
.main-navigation > li > a { }
.main-navigation > li > a:hover,
.main-navigation > li > a:focus,
.main-navigation > li[class*="current"] > a { color: var(--dark); }

	/* children */
.main-navigation .children { background-color: var(--light); /* margin-left: -15px; margin-right: -15px; */ }
.main-navigation .children > li > a {}
.main-navigation .children > li[class*="current"] > a {  }
.main-navigation .children-toggle { top: .333rem; right: 0; z-index: +1; }

/* meta */
.meta-navigation li:not(.btn) { padding-left: .5rem; padding-right: .5rem; }
.meta-navigation li:not(.btn) a { color: var(--secondary); }
.meta-navigation li:not(.btn) a:hover,
.meta-navigation li:not(.btn) a:focus,
.meta-navigation li:not(.btn).current-menu-item > a { text-decoration: underline; color: var(--dark); }
.meta-navigation li.btn a { color: inherit; }

/* footer navigation */
.footer-navigation li { padding: .5rem .5rem; }
.footer-navigation a { display: block; }

/* search */
.search-form {  }
.search-form:not(.show) {  }

/* subpages navigation */
.subpages-navigation a { color: var(--secondary); padding-right: 1rem; }
.subpages-navigation li a:hover,
.subpages-navigation li a:focus,
.subpages-navigation li[class*="current"] > a { text-decoration: underline; color: var(--dark); }

/* breadcrumb */
.breadcrumb a { color: var(--secondary); }
.breadcrumb a:hover,
.breadcrumb a:focus { color: var(--dark); }

/* toc navigation */
.toc-container { border-bottom: 3px solid var(--primary); }

/* ========= do the scroll thing */
/* body.scrollStart .page-header { padding-top: .5rem; padding-bottom: .5rem; box-shadow: 0 .125rem .25rem 0 rgba(0,0,0, .1); }
body.scrollStart .page-header .logo { width: 35px; }
body.scrollDown .page-header { margin-top: -5rem; }
body.scrollUp .page-header { margin-top: 0; } */
/* .topAnchor { right: .6rem; bottom: .175rem; opacity: 0; z-index: +1; } */
/* body.scrolled-outside-firstview .topAnchor { opacity: 1; } */

/* .trigger-scroll { left: 50%; top: -2rem; transform: translateY(-50%); } */

	/* trigger-scroll */
/* .trigger-scroll { height: 50vw; width: calc(100vw - 8px); background-repeat: no-repeat; background-color: transparent; background-position: top center; background-size: cover; z-index: +1; margin-top: -4rem; margin-left: calc(50% - 50vw); opacity: 1; } */
/* .trigger-scroll { background-repeat: no-repeat; background-color: transparent; background-position: center 2.5rem; background-size: contain; z-index: +1; margin-top: -5rem; }
.trigger-scroll > a { top: 1rem; transition: all .25s; } */
/* .trigger-scroll.current > a { opacity: 0; } */
/* .trigger-scroll.trigger-row-background-default { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' width='100' height='50'%3E%3Cpath fill='%23FFF' d='M59 4c-5-5-13-5-18 0L0 50h100L59 4z'/%3E%3C/svg%3E"); }
.trigger-scroll.trigger-row-background-gray { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' width='100' height='50'%3E%3Cpath fill='%23EAEAE7' d='M59 4c-5-5-13-5-18 0L0 50h100L59 4z'/%3E%3C/svg%3E"); } */
/* .trigger-scroll.trigger-row-background-default { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' viewBox='0 0 114 29.6'%3E%3Cpath fill='%23FFF' d='M0 29.6h.5L11 19a65.2 65.2 0 0 1 92 0l10.6 10.6h.5H0z'/%3E%3C/svg%3E"); }
.trigger-scroll.trigger-row-background-gray { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' viewBox='0 0 114 29.6'%3E%3Cpath fill='%23EAEAE7' d='M0 29.6h.5L11 19a65.2 65.2 0 0 1 92 0l10.6 10.6h.5H0z'/%3E%3C/svg%3E"); } */

.totop-anchor { right: 1rem; bottom: 1rem; z-index: +1; }
body:not(.scrolled-outside-firstview) .totop-anchor { opacity: 0; }
body.scrolled-outside-firstview .totop-anchor { opacity: 1; }


/* ========= page content */
table {  }
.table-responsive table { margin-bottom: 1rem; }
/* table,
table th,
table td { border: none; font-size: .875rem; }
table thead th { border-bottom: 3px solid currentColor; }
table:not(.table) th,
table:not(.table) td { padding: .25rem; }
table:not(.table) th { padding-top: .5rem; padding-bottom: .5rem; }
table:not(.table) tbody tr:nth-child(even),
table:not(.table) th:nth-child(even),
table:not(.table) tbody td:nth-child(even) { background-color: rgba(255,255,255,0.4); } */

/* images */
:not(.no-rounded) > img:not([src$=".svg"]) { border-radius: .333rem; }
img:not([src$=".svg"]):not(.aligncenter) { display: inline-block; }
.header-image > div { min-height: 350px; }
.header-image figure > img { border-bottom-left-radius: 0 !important; }

	/* bordered */
/* .widget_media_image { position: relative; }
.widget_media_image::before,
.widget_media_image::after { position: absolute; content: ''; height: 15%; width: 15%; z-index: +1; }
.widget_media_image::before { right: 1rem; top: 1rem; border-top: 2px solid #fff; border-right: 2px solid #fff; }
.widget_media_image::after { left: 1rem; bottom: 1rem; border-left: 2px solid #fff; border-bottom: 2px solid #fff; } */

	/* figcaption */
/* figcaption { position: absolute; top: 100%; right: 0; left: 0; font-size: .85rem; } */
/* background-color: rgba(255, 255, 255, .85); padding: .125rem .5rem; */

/* ========= page-footer */
.page-footer a:not(.btn):not(:hover):not(:focus) { color: inherit; }

/* .footer-banner { bottom: 0; left: 0; right: 0; z-index: +1; } */

/* ========= custom types / cpt / special formats */

/* pages */
.page-list-container .item-image img { width: 100%; }

/* posts */
.post-list-container .card-header.item-image img { max-width: none; margin: -.75rem -1.25rem; width: calc(100% + 2.5rem); }
.post-list-container .item-container.term-rueckblick .item-image img { filter: grayscale(1); transition: all .25s ease; }
.post-list-container .item-container.term-rueckblick:hover .item-image img { filter: grayscale(0); }
.post-list-container .badge-container.position-absolute { top: 1rem; left: 1rem; }

/* editor */
.editor-container.has-video { min-height: 800px; height: 75vh; }
.editor-container .item-image.position-absolute { height: 100%; }
body:not(.blog-3) .editor-container .item-image.position-absolute img,
.editor-container .item-image.position-absolute video { object-fit: cover; height: 100%; width: 100%; }
body.blog-3 .editor-container .item-image.position-absolute img { object-fit: contain; height: 100%; width: 100%; }
/* .editor-container .item-image .mejs-controls { display: none !important; visibility: hidden !important; } */
.editor-container .item-content { z-index: +1; }

/* widget-title */
.widget-title::after { content: ''; border-bottom: 2px solid var(--secondary); width: 100px; position: absolute; left: 50%; bottom: -1rem; margin-left: -50px; }

/* ansprechperson */
.ansprechperson-list-container .item-container { width: 100%; max-width: 354px; flex: 1 0 auto; }

/* imageflipper */
.imageflipper-list-container .imageflipper-item { perspective: 1000px; min-height: 300px; }
.imageflipper-list-container .imageflipper-item .imageflipper-front,
.imageflipper-list-container .imageflipper-item .imageflipper-back { top: 0; left: 0; backface-visibility: hidden; transform-style: preserve-3d; }
.imageflipper-list-container .imageflipper-item .imageflipper-front { z-index: 2; transform: rotateY(0deg); }
.imageflipper-list-container .imageflipper-item .imageflipper-front img { object-fit: cover; height: 100%; width: 100%; }
.imageflipper-list-container .imageflipper-item .imageflipper-back { transform: rotateY(180deg); }
.imageflipper-list-container .imageflipper-item:focus .imageflipper-front,
.imageflipper-list-container .imageflipper-item:hover .imageflipper-front { transform: rotateY(-180deg); }
.imageflipper-list-container .imageflipper-item:focus .imageflipper-back,
.imageflipper-list-container .imageflipper-item:hover .imageflipper-back { transform: rotateY(0deg); }
.imageflipper-list-container .imageflipper-item:hover .imageflipper-back ul  { padding-left: 1rem; }

/* ========= Wordpress specific */
/* align */
.aligncenter { margin-left: auto; margin-right: auto; }
img.aligncenter { display: block; }
.alignright { float: right; }
.alignleft { float: left; }
/* figure.aligncenter, img.aligncenter,
figure.alignright, img.alignright,
figure.alignleft, img.alignleft { display: block; } */
.content-main figure.alignleft,
.content-main img.alignleft { margin-right: 1rem; margin-bottom: 1rem; }
.content-main figure.alignright,
.content-main img.alignright { margin-left: 1rem; margin-right: 1rem; }

/* gallery */
.gallery figure img { margin-left: auto; margin-right: auto; }

/* ========= Plugins and Vendors */
/* contact form / wpcf7 */
.wpcf7-list-item { display: block; }
.wpcf7-form-control-wrap { padding-top: .5rem; display: block; }
	/* inputs */
.wpcf7-form label:not(.wpcf7-list-item > label) {  }
.wpcf7-form-control.wpcf7-acceptance label,
.wpcf7-form-control.wpcf7-checkbox label { display: flex; }
/* .wpcf7-form-control.wpcf7-textarea { width: 100%; } */
	/* alert */
.wpcf7-form-control-wrap .wpcf7-not-valid-tip,
.wpcf7-not-valid-tip[role="alert"],
.wpcf7-validation-errors { color: #cf2e2e; font-weight: normal; }
.wpcf7-not-valid { border-color: #cf2e2e; }
.screen-reader-response { display: none; }
form.wpcf7-form.sent > *:not(.wpcf7-response-output) { display: none !important; }
form.wpcf7-form.invalid .wpcf7-response-output,
form.wpcf7-form.sent .wpcf7-response-output { background-color: #fff; padding: 1rem; margin-top: 1rem; margin-bottom: 1rem; }
form.wpcf7-form.invalid .wpcf7-response-output { color: #cf2e2e; }
form.wpcf7-form.sent .wpcf7-response-output { color: #1FA038; }

/* fancybox */
.fancybox-bg { background: #333; }
.fancybox-close-small { width: 4rem; height: 4rem; }
.fancybox-button.fancybox-button--play { display: none; }

/* bootstrap */
.list-unstyled { margin-bottom: 0; }
.list-inline > li { display: inline-block; }
.sr-only-focusable:focus { z-index: 99; position: relative; }
/* a:focus { outline: 1px dashed currentColor; }
a:hover,a:active { outline: none; } */
/* .btn:not(.btn-sm) { text-transform: uppercase; } */
/* .btn-xl { font-size: 1.5rem; } */
small .btn, .small .btn { font-size: inherit; }
table.table tbody { border-width: 0 0 1px 0; border-style: solid; /* border-color: #ECECEC; */ }
.form-control::placeholder { opacity: .75; }
.card.linked:hover,
.card.linked:focus { border-color: var(--primary); }
.card.linked:hover h3 a,
.card.linked:focus h3 a { color: var(--primary); }

/* siteorigin */
/* .panel-layout { border-bottom-right-radius: .333rem; border-bottom-left-radius: .333rem; overflow: hidden; } */

	/* row space */
body.home .panel-grid.panel-no-style:not(.has-row_noyspace),
body.home .panel-grid.panel-has-style:not(.has-row_noyspace) > .panel-row-style { padding-top: 7vh; padding-bottom: 7vh; }
body:not(.home) .panel-grid.panel-no-style:not(.has-row_noyspace),
body:not(.home) .panel-grid.panel-has-style:not(.has-row_noyspace) > .panel-row-style { padding-top: 1.5rem; padding-bottom: 1.5rem; }
body .floating-sidebar .panel-grid.panel-no-style:not(.has-row_noyspace),
body .floating-sidebar .panel-grid.panel-has-style:not(.has-row_noyspace) > .panel-row-style { padding-top: 3rem; padding-bottom: 3rem; }

	/* cell space */
/* .so-panel.widget_background-widget-background-white { padding: 8.333%; margin-top: 3rem; } */

	/* widget space */
.panel-grid:not(.has-row_noyspace) .panel-grid-cell:not(.tns-item) .so-panel:not(:last-child) { margin-bottom: 1.052rem !important; }

	/* editor and image if content set to full with no space */
/* .panel-grid.has-row_noyspace .panel-row-style { align-items: stretch; }
.panel-grid.has-row_noyspace .panel-row-style > .panel-grid-cell { display: flex; align-items: center; } */
/* .panel-grid.has-row_noyspace .so-panel.widget_efna-editor-sowidget { padding-top: 7vh; padding-bottom: 7vh; }
.panel-grid.has-row_noyspace .so-panel.widget_media_image { height: 100%; }
.panel-grid.has-row_noyspace .so-panel.widget_media_image > img { object-fit: cover; height: 100% !important; width: 100%; } */

	/* hide empty cell */
.panel-grid .panel-grid-cell-empty { display: none; }

	/* for stretched links */
.panel-grid-cell { position: relative; }

	/* background, colors etc. (cells and rows) */
.panel-grid.has-row_background:not(.row_background-row-background-default).panel-no-style,
.panel-grid.has-row_background:not(.row_background-row-background-default).panel-has-style > div { padding-left: 1.5rem; padding-right: 1.5rem; }
.panel-grid.row_background-row-background-white.panel-no-style,
.panel-grid.row_background-row-background-white.panel-has-style > div { background-color: #fff; }
.panel-grid.row_background-row-background-lighter.panel-no-style,
.panel-grid.row_background-row-background-lighter.panel-has-style > div { background-color: var(--lighter); }
.panel-grid.row_background-row-background-primary.panel-no-style,
.panel-grid.row_background-row-background-primary.panel-has-style > div { background-color: var(--primary); }
.bg-white-transparent { background-color: rgba(255,255,255, .8); }
.bg-primary-transparent { background-color: var(--primary_transparent); }
.panel-grid.row_background-row-background-darkblue.panel-no-style,
.panel-grid.row_background-row-background-darkblue.panel-has-style > div,
.bg-darkblue { background-color: var(--darkblue); }
.bg-darkblue-transparent { background-color: var(--darkblue_transparent); }
.panel-grid.row_background-row-background-lightblue.panel-no-style,
.panel-grid.row_background-row-background-lightblue.panel-has-style > div,
.bg-lightblue { background-color: var(--lightblue); }
.bg-lightblue-transparent { background-color: var(--lightblue_transparent); }
.panel-grid.row_background-row-background-brown.panel-no-style,
.panel-grid.row_background-row-background-brown.panel-has-style > div,
.bg-brown { background-color: var(--brown); }
.bg-brown-transparent { background-color: var(--brown_transparent); }
.panel-grid.row_background-row-background-lightgreen.panel-no-style,
.panel-grid.row_background-row-background-lightgreen.panel-has-style > div,
.bg-lightgreen { background-color: var(--lightgreen); }
.bg-lightgreen-transparent { background-color: var(--lightgreen_transparent); }
.panel-grid.row_background-row-background-darkgreen.panel-no-style,
.panel-grid.row_background-row-background-darkgreen.panel-has-style > div,
.bg-darkgreen { background-color: var(--darkgreen); }
.bg-darkgreen-transparent { background-color: var(--darkgreen_transparent); }
.panel-grid.row_background-row-background-beige.panel-no-style,
.panel-grid.row_background-row-background-beige.panel-has-style > div,
.bg-beige { background-color: var(--beige); }
.bg-beige-transparent { background-color: var(--beige_transparent); }
.panel-grid.row_background-row-background-lightbeige.panel-no-style,
.panel-grid.row_background-row-background-lightbeige.panel-has-style > div,
.bg-lightbeige { background-color: var(--lightbeige); }
.bg-lightbeige-transparent { background-color: var(--lightbeige_transparent); }

.row_background-row-background-primary .btn-primary,
.bg-primary-transparent .btn-primary,
.bg-primary .btn-primary,
.row_background-row-background-primary .btn-primary span,
.bg-primary-transparent .btn-primary span,
.bg-primary .btn-primary span { background-color: #fff; color: var(--primary); }

/* the following ignores list markers (primary color on white) */
/* .bg-primary-transparent, .row_background-row-background-primary, .bg-primary { color: #fff; } */

/* maybe better */
:where(.bg-primary, .bg-primary-transparent, .row_background-row-background-primary, .bg-darkblue, .bg-darkblue-transparent, .row_background-row-background-darkblue, .bg-darkgreen, .bg-darkgreen-transparent, .row_background-row-background-darkgreen, .bg-brown, .row_background-row-background-brown),
:where(.bg-primary, .bg-primary-transparent, .row_background-row-background-primary, .bg-darkblue, .bg-darkblue-transparent, .row_background-row-background-darkblue, .bg-darkgreen, .bg-darkgreen-transparent, .row_background-row-background-darkgreen, .bg-brown, .row_background-row-background-brown) ul:not(.list-inline):not(.list-unstyled) li::before,
:where(.bg-primary, .bg-primary-transparent, .row_background-row-background-primary, .bg-darkblue, .bg-darkblue-transparent, .row_background-row-background-darkblue, .bg-darkgreen, .bg-darkgreen-transparent, .row_background-row-background-darkgreen, .bg-brown, .row_background-row-background-brown) ol:not(.list-inline):not(.list-unstyled) li::before,
:where(.bg-primary, .bg-primary-transparent, .row_background-row-background-primary, .bg-darkblue, .bg-darkblue-transparent, .row_background-row-background-darkblue, .bg-darkgreen, .bg-darkgreen-transparent, .row_background-row-background-darkgreen, .bg-brown, .row_background-row-background-brown) a:not(.btn) {
  color: #fff;
}

:where(.bg-primary, .bg-primary-transparent, .row_background-row-background-primary, .bg-darkblue, .bg-darkblue-transparent, .row_background-row-background-darkblue, .bg-darkgreen, .bg-darkgreen-transparent, .row_background-row-background-darkgreen, .bg-brown, .row_background-row-background-brown) .widget-title::after {
	border-color: #fff;
}

/* ========= tns tiny slider */
/* .tns-slider.tns-carousel.tns-horizontal { display: flex; } */
.panel-grid.panel-has-style > .panel-row-style.has-row_asslider,
.panel-grid.panel-no-style.has-row_asslider { display: block; }
body.blog-1 .panel-grid.has-row_asslider .tns-item .editor-container { min-height: 500px; }

.tns-outer { position: relative; }
.tns-outer .gallery-item { text-align: center; }
	/* default pagination buttons and left/right buttons */
.tns-nav button,
.tns-controls button { border: none; background-color: transparent; -webkit-appearance: none; -moz-appearance: none; appearance: none; }
	/* dots */
.tns-nav { text-align: center; }
:not(.so-panel.widget_media_gallery) > .tns-outer > .tns-nav { position: absolute; bottom: 0; left: 0; right: 0; }
.tns-nav button { margin: 1rem .5rem; border-radius: 50%; height: 2rem; width: 2rem; line-height: 1rem; background-color: var(--secondary); }
.tns-nav button:hover,
.tns-nav button:focus,
.tns-nav button.tns-nav-active { background-color: var(--primary); }
/* .event-list-container .tns-nav button:hover,
.event-list-container .tns-nav button:focus,
.event-list-container .tns-nav button.tns-nav-active { background-color: #00a0af; } */
		/* custom li buttons in hero slider */
/* .tns-nav li[data-nav] button:hover,
.tns-nav li[data-nav] button:focus { color: #00a0af; } */
/* .tns-nav li[data-nav] button:hover,
.tns-nav li[data-nav] button:focus,
.tns-nav li[data-nav].tns-nav-active button { font-weight: bolder; } */
	/* arrows */
/* .tns-inner { margin-left: 16.666%; margin-right: 16.666%; overflow: hidden; } */
.gallery.gallery-columns-1.gallery-size-large > .gallery-item > div { margin-left: 8.333%; margin-right: 8.333%; overflow: hidden; }
.gallery:not(.gallery-columns-1) { display: flex; align-items: center; }
.gallery:not(.gallery-columns-1) > .gallery-item > div { padding: .5rem; }
.tns-controls button { position: absolute; top: 50%; transform: translateY(-50%); }
.tns-controls button[data-controls="prev"] { left: 0; }
.tns-controls button[data-controls="next"] { right: 0; }
/* .tns-controls button:not(:hover) { color: #000; }
.tns-controls button:not(:hover) { color: #000; } */
/* .tns-controls button:focus,
.tns-controls button:hover { color: #000; } */
/* .tns-controls button[disabled] { opacity: .5; } */
/* .tns-controls button:not([disabled]):focus,
.tns-controls button:not([disabled]):hover { opacity: 1; } */

/* ========= Helper */

hr { clear: both; }

.text-medium { font-size: .75rem; }

.cursor-pointer { cursor: pointer; }

.outside { max-width: none; margin-left: calc(50% - 50vw + 0px); margin-right: calc(50% - 50vw + 0px); }

.display-none { display: none; } /* without !important */

.text-normal { text-transform: none; }
.text-italic { font-style: italic; }

.btn-none { text-transform: none; text-align: left; font-weight: normal; font-size: inherit; background-color: transparent; border: none; padding: 0; }

.clear { clear: both; }

.h-0 { height: 0 !important; overflow: hidden; }

.transition { transition: all .25s ease; }

.styled [type="checkbox"],.styled [type="radio"],
[type="checkbox"].styled,[type="radio"].styled{position:absolute;opacity:0;cursor:pointer;height:0;width:0}
.styled [type="checkbox"]+.wpcf7-list-item-label::before,.styled [type="radio"]+.wpcf7-list-item-label::before,
[type="checkbox"].styled+label::before,[type="radio"].styled+label::before{cursor:pointer;width:1rem;height:1rem;display:block;float:left;margin-right:.75rem;margin-bottom:.5rem;/*line-height:1;font-size:1rem*/}

.custom-html-widget { width: 100%; }

.bg-lighter { background-color: var(--lighter); }

.white-space-nowrap { white-space: nowrap; }

:root {
	--lighter: #f2f2f2;
	--brown: #8c4113;
	--brown_transparent: #8c4113E6;
	--primary_transparent: #d63f11D9;
	--darkblue: #0d2a3f;
	--darkblue_transparent: #0d2a3fE6;
	--lightblue: #ccd9f0;
	--lightblue_transparent: #ccd9f0E6;
	--lightgreen: #a5bf75;
	--lightgreen_transparent: #a5bf75E6;
	--darkgreen: #052124;
	--darkgreen_transparent: #052124E6;
	--beige: #d6a457;
	--beige_transparent: #d6a457E6;
	--lightbeige: #beb292;
	--lightbeige_transparent: #beb292E6;
	--font-links: "Noto Sans", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

}

body.blog-2 {
	--primary: #00847f;
	--primary_hover: #016a66;
	--primary_transparent: #00847fD9;
	--font-body: Arial, Helvetica Neue, Helvetica, sans-serif;
	--font-links: Arial, Helvetica Neue, Helvetica, sans-serif;
}

body.blog-2 { font-family: var(--font-body); }
body.blog-2 main a:not(.btn) { color: var(--primary); }
body.blog-2 .btn-primary:not(:disabled):not(.disabled).active,
body.blog-2 .btn-primary:not(:disabled):not(.disabled):active,
body.blog-2 .show > .btn-primary.dropdown-toggle,
body.blog-2 .btn-primary { background-color: var(--primary); border-color: var(--primary_hover); }
body.blog-2 .btn-primary:not(:disabled):not(.disabled).active:focus,
body.blog-2 .btn-primary:not(:disabled):not(.disabled):active:focus,
body.blog-2 .show > .btn-primary.dropdown-toggle:focus,
body.blog-2 .btn.focus,
body.blog-2 .btn:focus { box-shadow: 0 0 0 .2rem var(--primary_transparent); }