:root {
    --site-content-width: 1540px;
  	--d:150ms; 
}

html { font-size: 18px }
html a { text-decoration: none; color: inherit; }
html a:hover, a:focus, a:active { color: inherit; }

html .h1, html .h2, html .h3, html .h4, html .h5, html .h6, html h1, html h2, html h3, html h4, html h5, html h6 {font-weight: 300;}

.offcanvas-init, body.vegas-container.offcanvas-init { overflow-y: scroll; }

.await_viewport { opacity: 0; transition: opacity .75s ease-in-out var(--d)}
.in_viewport {opacity:1;}
@media (min-width: 1600px) {
    .container,.container-lg,.container-md,.container-sm,.container-xl,.container-xxl {
        max-width:var( --site-content-width);
    }
}

section#sp-main-body, body.com-sppagebuilder section#sp-main-body { padding: 2rem 0; }

/* Header */
header#sp-header {  
  	background: transparent; 
    height: 80px;
    width: 100%;
    position: relative;
    z-index: 99;
    box-shadow: none;
/*    animation: spFadeIn 0.5s; */     animation: unset !important;
}
#sp-logo .sp-column { justify-content: flex-end; text-align: right; padding: 0 2rem; }
#sp-logo .sp-column { justify-content: flex-end; text-align: right; padding: 0 2rem; }

/* menu -left */
aside#sp-left > div.sp-column > div.sp-module {
    padding: 0 2rem;
    border: none;
    text-align: right;
    font-size: 1rem;
    line-height: 1rem;
}
aside#sp-left .sp-module ul>li {border: none;}
aside#sp-left .sp-module ul>li a { line-height: inherit; margin: 0.5rem 0;}
/* menu -*/
div.offcanvas-menu .offcanvas-inner ul.menu>li a, div.offcanvas-menu .offcanvas-inner ul.menu>li span,
div.offcanvas-menu .offcanvas-inner ul.menu li.active a {color: #000;}
div.offcanvas-menu.border-menu .offcanvas-inner ul.menu>li { border: none; }
div.offcanvas-menu { background-color: #fff; color: #252525; }

/* Footer - Bottom */
.body-innerwrapper { min-height: 100vh; }
footer#sp-footer {position: sticky; top: 100%;}

footer#sp-footer, section#sp-bottom {
    background: transparent;
    color: inherit;
}
footer#sp-footer .blockinline_this {text-align:right;}
footer#sp-footer .blockinline_this > div {
    display: inline-block;
    padding-left: 1.5rem;
}
/* links */
.styled_links a {
    position: relative;
    display: inline-block!important;
    padding: 0.25rem 0.25rem!important;
    line-height: 1!important;
    /* background: #465; */
    margin: 0.25rem !important;
    overflow:hidden;
    --p_top: 50%; --p_left: 50%;
	transition: all 500ms ease-in-out;
}
.styled_links a:before {content:"";position: absolute;  width: 0; height: 0; top:var(--p_top); left:var(--p_left); padding: 0%; background: #000; transform:translate(-50%,-50%); border-radius:50%; transition: padding 1000ms cubic-bezier(0.8, 0, 0.2, 1); z-index: -1;}
.styled_links a:hover, .additional_actions.styled_links a.active {color: #fff!important;}
.styled_links a:hover:before, .additional_actions.styled_links a.active:before {padding: 120%;}
.touch .onecolumn .styled_links a {display: inline!important; color: #000!important;}
.touch .onecolumn .styled_links a:before {content:unset;}
/* a { display:inline-block!important; position:relative; transition: all 250ms ease-in-out; backface-visibility: hidden; -webkit-font-smoothing: subpixel-antialiased; }
.styled_links a:before {content:"";position: absolute;bottom: 0;right: 0;width: 0;height: 1px;background: #000;transition: all 500ms ease-in-out;}
.styled_links a:hover {
    transform: skewX(-15deg) perspective(1px);
}
a:hover:before {width:100%;}
*/
/* category */
h1 .subheading-category {
    display: block;
    font-weight: 100;
    text-align: right;
}
.category-desc {
    max-width: 800px;
    text-align: right;
    margin: 0 0 0 auto;
    font-size: 1.2rem;
}
@media (min-width: 992px) {
  .blog:not(.onecolumn) .row-1 >.col-lg-12 { min-width: 33.333333%; width: fit-content; /*width: 33.333333%;*/ }
  .blog:not(.onecolumn) .row-1 >.col-lg-12:nth-child(5n+4), .blog:not(.onecolumn) .row-1 >.col-lg-12:nth-child(5n+4) { margin-left: 16.66666667%; }
}
@media (min-width: 768px) and (max-width: 991px)  {
  .blog:not(.onecolumn) .row-1 >.col-lg-12 { min-width: 50%; width: fit-content;}
  .blog:not(.onecolumn) .row-1 >.col-lg-12:nth-child(3n+2) { margin-left: 25%; }
}
.blog .article-list .article .article-header h2, .blog .article-list .article .article-header h2 a {
    font-size: 1rem;
    padding: 0;
    margin: 0;
}
.no-touch .t_a_left { text-align: left; }
.no-touch .t_a_center { text-align: center; }
.no-touch .t_a_right { text-align: right; }
div.article-list .article {padding: 0/*1rem*/;border: none;margin-bottom: 0/*2rem*/;}
.touch div.article-list .article {padding: 0.5rem 1rem;border: none;margin-bottom: 0/*2rem*/;}
div.article-list .article h2:not(:has(a)) {
    padding: 0.25rem 0.25rem!important;
    line-height: 1!important;
    margin: 0.25rem !important;
}
/* article */
.article-details .article-header h1 {
    font-weight: 100;
    text-align: right;
}
.article-details div[itemprop="articleBody"] { text-align: right; }

.additional_actions.styled_links a {
    font-size: 1.1rem;
    margin: 0.5rem 0.5rem 0.25rem 0!important;
}
/*.owl-carousel .owl-item img.cf_gal_item { height: 600px; } */
.owl-carousel { --t_height: 540px; }
@media (max-width:1399px) {.owl-carousel { --t_height: 460px; } }
@media (max-width:1199px) {.owl-carousel { --t_height: 390px; } }
@media (max-width: 991px) {.owl-carousel { --t_height: 290px; } }
@media (max-width: 767px) {.owl-carousel { --t_height: 280px; } }
@media (max-width: 575px) {.owl-carousel { --t_height: 50vw; } }
.no-touch .owl-carousel .owl-item img, .owl-stage-outer { height: var(--t_height); width:auto; object-fit: contain; object-position: left center;}
.no-touch .owl-carousel .owl-item .item:has(iframe.acf_yt) {width:calc(var(--t_height) / 0.5625); height: var(--t_height);}
.touch .owl-carousel .owl-item img, .owl-stage-outer { max-height: var(--t_height); width:auto; object-fit: contain; object-position: left center;}
.touch .owl-carousel .owl-item .item:has(iframe.acf_yt) {width:calc(var(--t_height) / 0.5625); height: var(--t_height);}

button.owl-dot span {
    width: 10px;
    height: 10px;
    background: #000;
    display: block;
    margin-right: 10px;
    transition: all .75s cubic-bezier(0.85, 0, 0.15, 1);
}
button.owl-dot.active span { width: 20px; }
.owl-carousel:has(iframe.acf_yt) button.owl-dot:last-child span { line-height: 10px; }
.owl-carousel:has(iframe.acf_yt) button.owl-dot:last-child span:before {
    content: "\f04b";
    font-size: 6px;
    color: #fff;
    font-weight: 600;
    vertical-align: bottom;
    font-family: "Font Awesome 5 Free";
}
.gallery0.owl-carousel .owl-dots.disabled, .gallery0.owl-carousel .owl-nav.disabled,
  .owl-nav, .owl-dots {display: inline-block;margin-right: 20px;}
.owl-nav button span {
    font-size: 0;
    line-height: 10px;
}
.owl-nav button.owl-prev span:before { content: "\f0d9";}
.owl-nav button.owl-next span:before { content: "\f0da";}
.owl-nav button span:before {
    font-size: 20px;
    color: #000;
    font-weight: 600;
    vertical-align: text-bottom;
    font-family: "Font Awesome 5 Free";
    padding:0 5px
}
.pagenavigation .pagination a i { transform: translateY(1px); }


/*** view style switcher ***/
body.onecolumn .view_switch_wrapper {display:none!important; pointer-events:none;}
.no-touch .blog.tocolumns .conv2col .col-lg-12 {margin-left: 0;}
.no-touch .blog.tocolumns .conv2col .t_a_right, .no-touch .blog.tocolumns .conv2col .t_a_center { text-align: left; }
.no-touch .blog.tocolumns div.article-list .article { padding: 0; }
@media (min-width: 992px){
.no-touch .blog.tocolumns .col-lg-12 {
		flex: 0 0 auto;
		width: 50%;
	}
}
@media (max-width:767px){.view_switch_wrapper {display:none;}}
.view_switch_wrapper img.view_switch  {
    display: inline-block;
    padding: 0 0.25rem 1rem;
	cursor: pointer;
    transition: opacity 1s ease-in-out;
}
.view_switch_wrapper:not(.columns) img.view_switch.view_default {pointer-events:none; opacity:0.25;}
.view_switch_wrapper.columns img.view_switch.view_classic {pointer-events:none; opacity:0.25;}


/* homepage */
.mob_home_nav li {list-style: none;}
.mob_home_nav ul {padding-left: 1rem;}
@media (max-width:767px) {
  .homepage div#sp-menu {display:none;}
  div#sp-logo .sp-column {
      justify-content: flex-start!important;
  }
}
.homepage footer#sp-footer {  overflow: hidden; }
.homepage footer#sp-footer .container-inner { border: none; }

.homepage .logo a {background: #fff;padding: 4px 6px !important;}
.homepage .styled_links a { background: #fff; z-index: 0; }

.homepage .blockinline_this > div:first-child:before {
    width: 100vw;
    height: 100vh;
    position: absolute;
    background: #fff;
    top: -2rem;
    left: -1rem;
    content: "";
    z-index: -1;
}
.homepage .blockinline_this > div:first-child, .blockinline_this > div:nth-child(2) {
    position: relative;
    z-index: 0;
}

/* text articles */
.content_text {text-align:left;}
.content_text b, .content_text strong { font-weight: bold; }



/* cookiehint */
div#cookiehintinfo { display: none; }
/*div#redim-cookiehint-bottom { background: #0009; }*/
div#redim-cookiehint { background: #0009;/*transparent;*/ max-width: 500px; margin: 0 auto;}
div#redim-cookiehint .cookiecontent { font-size: 0.8rem;}
div#redim-cookiehint .cookiebuttons {padding:0;}
.cookiecontent a {
    padding: 0.5rem;
    display: block;
    font-weight: 600;
    text-decoration: underline;
}
div#redim-cookiehint .cookiebuttons .btn { line-height: 1.5em; }
