/**
 * 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;
}
button p {
	margin-bottom: 0rem!important;
}
h1 {
	margin-bottom: 0.75rem!important;
}
h2 {
	margin-bottom: 0.5rem!important;
}
h3 {
	margin-bottom: 0.5rem!important;
}
article .entry-content img {
	margin-bottom: 0.5rem!important;
}
article .entry-content figure {
	margin-bottom: 1rem!important;
	margin-top: 1rem!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;
	}	
}
.screen-reader-text {
  border: 0;
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}
/* FOOTER */
.ct-footer p.widget-title {
    --theme-font-size: 1.2rem;
}
.ct-footer-copyright p {
	margin-bottom: 0px!important;
}
/*------------------------------------
	## WordPress 
------------------------------------*/
.has-small-font-size {
	font-size: 0.8rem!important;
}
.has-medium-font-size {
	font-size: 1rem!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-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-bs {
	 box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
}
.cstm-img-bs img {
	 box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
}
/*------------------------------------
	## 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
------------------------------------*/
/* Accessibility*/
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;
}
.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;
}
/*---------------------------------------------------------------------------------------------------
	# 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);
}
/*------------------------------------
	## swiper-Slider
------------------------------------*/ 
.swiper-button-next, .swiper-button-prev {
	background-color: var(--theme-palette-color-8);
	color: var(--theme-palette-color-1);
}
/*------------------------------------
	## Leaving Notice Popup
------------------------------------*/ 
.externallinknotice-icon {
	background-color: var(--theme-palette-color-7);	
	color: var(--theme-palette-color-3);
}
.externallinknotice-close {    
    color: var(--theme-palette-color-3);  
	font-size: 40px;       
	top: 5px;
}
/*------------------------------------
	## 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-8)!important;
	font-size: var(--theme-font-size)!important;
}
.schema-faq-question {
	background-color: var(--theme-palette-color-1)!important;
	color: var(--theme-palette-color-8)!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-8)!important;
    font-size: var(--theme-font-size)!important;
    line-height: 1.4;
    border-bottom: none!important;
	margin-bottom: 0px!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;
}

/*------------------------------------
	## Easy Tabs Block
------------------------------------*/

.wp-block-easy-tabs-block-tab-contents {
	padding: 0px;
}
.wp-block-easy-tabs-block-tabs .wp-block-easy-tabs-block-tab-buttons {
    margin-bottom: 0rem;
}

/*---------------------------------------------------------------------------------------------------
	# Seiten / Archive
---------------------------------------------------------------------------------------------------*/

/* Blogbeiträge - fix imported MCE-Editor-Content-issues */

.single-post article .entry-content figure {
	max-width: 100%;	
	margin: 0px auto;
}
.single-post article .entry-content table {
	width: 100%!important;	
	margin-bottom: 0.5rem
}
.single-post article .entry-content table td {
	overflow-wrap: anywhere; /* Bricht lange Wörter/URLs an der Kante um */
	word-break: break-all;   /* Fallback für ältere Browser */
}
.single-post article .entry-content figcaption {
   font-size: 0.5rem;
}

/* Beitragsarchive*/
.archive .card-content, .blog .card-content {
	position: relative;
}
.archive  article .card-content .ct-dynamic-data-layer {
	color: #888888;
	padding: 10px;
	position: absolute;
	top: -40px;
	right: -20px;
}
/* Accesibility: ad non-visible h1 tp archives */
.archive.category .hero-section, .blog .hero-section{
    visibility: hidden;
    height: 0px;
    margin-bottom: 0px!important;
}
/*---------------------------------------------------------------------------------------------------
	# Adzones
---------------------------------------------------------------------------------------------------*/
.home .adzone_top {
	text-align: center;
}


