/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */

/*---------------------------------------------------------------------------------------------------
# Allgemein
---------------------------------------------------------------------------------------------------*/
/*------------------------------------
	## Base 
------------------------------------*/
:root {
	font-size: var(--theme-font-size);
	text-underline-offset: 5px;
}
p {
	margin-bottom: 0.5rem!important;
}
h1 {
	margin-bottom: 0.75rem!important;
}
h2 {
	margin-bottom: 0.5rem!important;
}
h3 {
	margin-bottom: 0.25rem!important;
}

@media (min-width: 689.99px) {
	:root {
		  font-size: var(--theme-font-size)!important;
	}	
}
@media (min-width: 999.99px) {
	:root {
		  font-size: var(--theme-font-size)!important;
	}	
}
/*------------------------------------
	## WordPress 
------------------------------------*/
.has-small-font-size {
	font-size: 0.6rem!important;
}
.has-medium-font-size {
	font-size: 0.8rem!important;
}
.has-large-font-size {
	font-size: 1.2rem!important;
}
.has-x-large-font-size {
	font-size: 1.4rem!important;
}
.has-xx-large-font-size {
font-size: 1.6rem!important;
}
/*------------------------------------
	## Helper-Classes
------------------------------------*/
.cstm-text-center {
	text-align: center;
}
.cstm-mt {
	margin-top: 1rem;
}
.cstm-mb {
	margin-bottom: 1rem;
}
.cstm-block {
	display: block;
}
.cstm_round-image img {
	border-radius: 100%;
}
.cstm-trans {
	-webkit-transition: all .5s;
	-moz-transition: all .5s;
	-ms-transition: all .5s;
	-o-transition: all .5s;
	transition: all .5s;
}
.cstm-bs {
	box-shadow: 0px 3px 15px rgba(0,0,0,0.2);
}
.cstm-hover-bs:hover {
    box-shadow: 0 15px 20px rgba(0, 0, 0, 0.1);
}
.cstm-bg-cover {
    background-attachment: scroll;
    background-position: center center;
    background-size: cover;
}
.cstm-bg-hover-overlay > * {
	position:relative;
    z-index: 10;
}
/*`https://bryanlrobinson.com/blog/how-to-css-after-elements-for-background-overlays/*/
.cstm-bg-hover-overlay:hover::after {
	content: ""; 
	border-radius: 10px 10px 0 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--theme-palette-color-1);
    opacity: .2;
	z-index: 1;
}
.webo-card .webo-meta a{
	border-radius: 5px;
	background: var(--theme-button-background-initial-color);
  	color: #ffff;
	padding: 0px 4px;
	margin-right: 5px;
}
/* https://9elements.github.io/fancy-border-radius/#48.22.38.41--466.466*/
.gb-container.webo-wave-img img {
	border: 1px red;
	border-radius: 45% 55% 57% 43% / 48% 56% 44% 52% ;
}
ul.cstm-checklist{
    list-style: none;
}
ul.cstm-checklist li{	
    position: relative;   
}
ul.cstm-checklist li::before{
    content: '';
    position: absolute;
    left: -1.5rem;
    top: 0.4rem;
    width: 1em;
    height: 1em;
    background-repeat: no-repeat;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='12' viewBox='0 0 24.525 17.519'><path id='check-solid' d='M23.937,96.538a1.754,1.754,0,0,1,0,2.48L9.924,113.031a1.754,1.754,0,0,1-2.48,0L.438,106.024a1.753,1.753,0,0,1,2.48-2.48l5.769,5.764,12.776-12.77a1.754,1.754,0,0,1,2.48,0Z' transform='translate(0.075 -96.025)' fill='%23104171'/></svg>");  
}
@media screen and (min-width:768px) {
    ul.cstm-checklist li::before{       
        background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='14' viewBox='0 0 24.525 17.519'><path id='check-solid' d='M23.937,96.538a1.754,1.754,0,0,1,0,2.48L9.924,113.031a1.754,1.754,0,0,1-2.48,0L.438,106.024a1.753,1.753,0,0,1,2.48-2.48l5.769,5.764,12.776-12.77a1.754,1.754,0,0,1,2.48,0Z' transform='translate(0.075 -96.025)' fill='%23104171'/></svg>");
    }
}
@media screen and (min-width:1260px) {
    ul.cstm-checklist li::before{        
        background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='17' viewBox='0 0 24.525 17.519'><path id='check-solid' d='M23.937,96.538a1.754,1.754,0,0,1,0,2.48L9.924,113.031a1.754,1.754,0,0,1-2.48,0L.438,106.024a1.753,1.753,0,0,1,2.48-2.48l5.769,5.764,12.776-12.77a1.754,1.754,0,0,1,2.48,0Z' transform='translate(0.075 -96.025)' fill='%23104171'/></svg>");
    }
}
/*------------------------------------
	## Animationen
------------------------------------*/
/* Fade In Animations (Uku Neo, Standard) */
.fadein {
	opacity: 0;
	transform: translateZ(0px);
	transition: opacity 0.7s ease-in-out 0s;
}
.fadein {
    opacity: 0;
    transform: translateY(30px);
}
.fadein {
    opacity: 0;
    transform: translateY(30px);
}
.fadein.inview {
    opacity: 1;
    transform: translateY(0px);
    transition: transform 1s ease 0s, opacity 1.5s ease 0s;
}
.animated.infinite {
	-webkit-animation-iteration-count: infinite;
	animation-iteration-count: infinite;
}
.animated {
	-webkit-animation-duration: 1s;
	animation-duration: 1s;
	-webkit-animation-fill-mode: both;
	animation-fill-mode: both;
}
@-webkit-keyframes fadeInDown {
	0% {
		opacity: 0;
		-webkit-transform: translate3d(0, -100%, 0);
		transform: translate3d(0, -100%, 0)
	}

	to {
		opacity: 1;
		-webkit-transform: translateZ(0);
		transform: translateZ(0)
	}
}
@keyframes fadeInDown {
	0% {
		opacity: 0;
		-webkit-transform: translate3d(0, -100%, 0);
		transform: translate3d(0, -100%, 0)
	}

	to {
		opacity: 1;
		-webkit-transform: translateZ(0);
		transform: translateZ(0)
	}
}
.fadeInDown {
	-webkit-animation-name: fadeInDown;
	animation-name: fadeInDown
}	
/*---------------------------------------------------------------------------------------------------
# UI-Elements / Forms, Buttons ...
---------------------------------------------------------------------------------------------------*/ 
/*------------------------------------
	## Buttons & Links
------------------------------------*/
a:focus-visible,button:focus-visible, .pds-js-accordion-item:focus-visible {
	border-radius: 0px;
	outline: 3px solid #fec200!important;    
    outline-offset: 5px!important;   
}
.stretched-link::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    pointer-events: auto;
    content: "";
    background-color: rgba(0,0,0,0);
}
/* Gutenberg-Buttons und Generate Blocks Buttons */
.wp-block-button, .wp-block-button a, .gb-button {
	-webkit-transition: all 0.4s!important;
	-moz-transition: all 0.4s!important;
	transition: all 0.4s!important;
}
/* Generate Blocks Buttons */
.gb-button:not(.cstm-btn) {	
	border-radius: var(--theme-button-border-radius)!important; 	
	padding: var(--theme-button-padding)!important;
}
.cstm-icon-btn:after, .cstm-link:after {
    font-family: 'Font Awesome 5 Free';    
    font-style: normal;
    font-weight: normal;
    font-weight: 900;
	margin-left: 5px;
}
.cstm-internal-link:after {   
    content: "\f30b";
}
.cstm-external-link:after {    
    content: "\f35d";    
}
.cstm-download-link:after {   
    content: "\f019";   
}
.cstm-affiliate-link:after {    
    content: "\f35d (Werbelink)";    
}
.cstm-custom-sharing-btn {
	border: none!important;
}
.cstm-animated-scroll-down:after {		
    content: "\f309";   
	-webkit-animation-iteration-count: infinite;
	animation-iteration-count: infinite;
	-webkit-animation-duration: 1s;
	animation-duration: 1s;
	-webkit-animation-fill-mode: both;
	animation-fill-mode: both;
	-webkit-animation-duration: .75s;
	animation-duration: .75s;
	-webkit-animation-name: fadeInDown;
	animation-name: fadeInDown;
	margin-left: 0px;
}
/*------------------------------------
	## Popups
------------------------------------*/ 
.cstm-popup h1{
	font-size: 1.5rem;
}
.cstm-popup.social-sharing a {
	margin: 10px;
}
/*---------------------------------------------------------------------------------------------------
	# Plugins & externe Dienste
---------------------------------------------------------------------------------------------------*/
/*------------------------------------
	## Custom Plugin
------------------------------------*/ 
.table-of-contents {
	margin-bottom: 40px!important;
	position: relative;
	background-color: var(--theme-palette-color-6);
	padding: .5rem 1rem;
	border-left: 5px solid var(--theme-palette-color-1);
	border-radius: 5px;
}  
.table-of-contents .toc-headline {
	font-size: 22px;
	color: var(--theme-palette-color-3);
	font-weight: 600;
	display: block;
	cursor: pointer;
}
.toc-headline i {
	margin-right: 15px;
} 
.table-of-contents .toggle-toc {
	position: absolute;
	top: .6rem;
	right: .8rem;
	font-size: 15px;
	cursor: pointer;
	font-weight: 800;
	color: var(--theme-palette-color-8);
	width: 1.5rem;
	height: 1.5rem;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 50%;
	line-height: 10px;
	background-color: var(--theme-palette-color-1);
}
.table-of-contents ul {
	padding: 0;	
}
.table-of-contents li {
	position: relative;
	list-style: none;
	line-height: var(--line-height);
	font-weight: 400;
	margin: .3rem 0;
	transition: .2s ease all;
}
.table-of-contents li a {
	font-size: var(--font-size);
	line-height: var(--line-height);
	color: var(--main-color);
}
.table-of-contents li>ul {
	padding-left: 1rem;
	padding-bottom: .5rem;
}
/*------------------------------------
	## swiper-Slider
------------------------------------*/ 
.swiper-button-next, .swiper-button-prev {
	background-color: var(--theme-palette-color-8);
	color: var(--theme-palette-color-1);
}

/*------------------------------------
	## Usercentrics
------------------------------------*/ 
/* To-Do: Button-Position auf Mobile anders platzieren. Wie kann das CSS überschrieben werden? */
/*------------------------------------
	## GenerateBlocks-Plugin
------------------------------------*/
@media screen and (max-width: 1350px) { 	
	#main .entry-content > .gb-container{
		padding-left: 15px!important;
		padding-right: 15px!important;
	} 
} 
/*------------------------------------
	## Visual Portfolio
------------------------------------*/
/*
figure.vp-portfolio__item {
	border-radius: 10px;
}
*/
/*------------------------------------
	## JetEngine-Plugin
------------------------------------*/
.jet-listing-grid__slider-icon.slick-arrow { 
    color: var(--theme-palette-color-8);
    background-color: var(--theme-palette-color-1);
	  z-index: 10; 
}
/*------------------------------------
	## JetFormBuilder
------------------------------------*/
span.jet-form-builder__required {
	color: #ff0000;
}
/*------------------------------------
	## YOAST - FAQ - Accordion
------------------------------------*/
.schema-faq-section {
	border: 1px solid var(--theme-palette-color-5)!important;
    margin-bottom: 0.8rem!important;
    background-color: #ffffff!important;
}
.schema-faq .schema-faq-question:after {
	color: var(--theme-palette-color-3)!important;
	font-size: var(--theme-font-size)!important;
}
.schema-faq-question {
	background-color: var(--theme-palette-color-7)!important;
	color: var(--theme-palette-color-3)!important;
	font-family: var(--theme-font-family)!important;
    font-size: var(--theme-font-size)!important;
    font-weight: bold;
}
.schema-faq .schema-faq-question.faq-q-open {
    border-bottom: 1px solid var(--theme-palette-color-5)!important;
}
.schema-faq p.schema-faq-answer {
	background-color: var(--theme-palette-color-7)!important;
    font-size: var(--theme-font-size)!important;
    line-height: 1.4;
    border-bottom: none!important;
}
/*------------------------------------
	## Plethora Tabs + Accordions
------------------------------------*/
/* Accordions */
.plethoraplugins-accordion.plethoraplugins-theme__minimal.plethoraplugins-theme__basic .pds-accordion__title {   
    padding: 0.6rem!important;
}
.plethoraplugins-accordion.plethoraplugins-theme__minimal.plethoraplugins-theme__basic, .plethoraplugins-accordion.plethoraplugins-theme__minimal.plethoraplugins-theme__tabby {
	background-color: transparent!important;
	padding: 0px!important;
}
.pds-accordion__item {
	margin-bottom: 0.8rem!important;
}
.pds-accordion__title {
	background-color: var(--theme-palette-color-1)!important;
	color: var(--theme-palette-color-8)!important;
}
/* Tabs */
.plethoraplugins-tabs-container--horizontal.plethoraplugins-theme__minimal.plethoraplugins-theme__basic, .plethoraplugins-tabs-container--horizontal.plethoraplugins-theme__minimal.plethoraplugins-theme__tabby {
   padding: 0px!important;
}
.plethoraplugins-tabs-container--horizontal.plethoraplugins-theme__minimal.plethoraplugins-theme__basic, .plethoraplugins-tabs-container--horizontal.plethoraplugins-theme__minimal.plethoraplugins-theme__tabby {
    background-color: transparent!important;
}
.plethoraplugins-tabs a.active:after {
	background-color: var(--theme-palette-color-1)!important;
	border-top-color: var(--theme-palette-color-1)!important;
}
