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

    var(--theme-palette-color-1); you can use this as your primary brand colour.
    var(--theme-palette-color-2); alternative colour, used usually for the hover action 
    var(--theme-palette-color-3); colour used for general text paragraphs
    var(--theme-palette-color-4); colour used for headings, subheadings and titles 
    var(--theme-palette-color-5); colour used for borders
    var(--theme-palette-color-6); #778d7a;  colour used for subtle backgrounds (page hero, footer)
    var(--theme-palette-color-7); colour used for the site’s background
    var(--theme-palette-color-8); lighter alternative colour, to be used in header backgrounds


	Blocksy Querys:
	@media (min-width: 768px) {}
	@media (max-width: 999px) {}


	*/



/* lose und freie Klassen 
__________________________________________________________________________________*/



/* @link https://utopia.fyi/type/calculator?c=320,15,1.067,1290,16,1.2,5,2,&s=0.75|0.5|0.25,1.5|2|3|4|6,s-l&g=s,l,xl,12 */

	:root {
	  --step--2: clamp(0.6944rem, 0.866rem + -0.2128vi, 0.8235rem);
	  --step--1: clamp(0.8333rem, 0.8936rem + -0.0747vi, 0.8786rem);
	  --step-0: clamp(0.9375rem, 0.9169rem + 0.1031vi, 1rem);
	  --step-1: clamp(1.0003rem, 0.9344rem + 0.3294vi, 1.2rem);
	  --step-2: clamp(1.0673rem, 0.9444rem + 0.6147vi, 1.44rem);
	  --step-3: clamp(1.1388rem, 0.9445rem + 0.9718vi, 1.728rem);
	  --step-4: clamp(1.2151rem, 0.9319rem + 1.416vi, 2.0736rem);
	  --step-5: clamp(1.2966rem, 0.9034rem + 1.9658vi, 2.4883rem);
	}
		
		h1, h2, .like-h2, .like-h1 h1 { 
			font-size: var(--step-3); margin-top: 0 !important; margin-bottom: 0.75em !important; }
		h3, .like-h3 { font-size: var(--step-2); margin-bottom: 1em !important; }
		h4, .like-h4  { font-size: var(--step-1); margin-bottom: 1em;  }
		h5, h6, .like-h5  { font-size: var(--step--0); margin-bottom: 1em; }

		
		p { font-size: var(--step-0); margin-bottom: 0.875em !important; }


		.small { font-size: var(--step--1); }
		.xsmall { font-size:var( --step--2); }
		.large { font-size:var( --step-4); }
		.xlarge { font-size:var( --step-5); }

		hr {margin: 80px auto !important; }
		b, strong { font-weight: 700; }
		
		.small { font-size: 0.875em; }
		.blocksatz { text-align: justify; hyphens: auto }

		.wp-block-quote p { 
			font-size: var(--step-4);
			line-height: 1.2em;
			} 
			.wp-block-quote cite { 
				font-size: var(--step-2) !important;
				text-align: right;
				line-height: 1em;
				} 
     
		.kolumnen div.stk-block-content,
		.kolumnen div.tpgb-column-inner {
			column-count:  2;
			column-width: 300px;
			column-gap: 8em;
			column-rule: 1px solid rgba(0,0,0,0.25);
			display: block;
			hyphens: auto;
			}
			.margin-bottom-0 { margin-bottom: 0 !important; }

	

		.wp-block-image img,
		.blocks-gallery-item img { border-radius: 3px !important; }

		.wp-block-image.alignfull.size-full { margin-bottom: 24px; }

	xbody, xp, xspan,  xdiv {
			 word-wrap: break-word;
		  overflow-wrap: break-word;
		-webkit-hyphens: auto;
		   -moz-hyphens: auto;
				hyphens: auto;
		}
h1, h2, h3, h4, h5  {
		-webkit-hyphens: none;
		   -moz-hyphens: none;
				hyphens: none;
		}







			
				/* Tabellen
				__________________________________________________________________________________*/

					.wp-block-table.is-style-regular table {
						width: auto !important;
						table-layout: auto !important;
					}

					.wp-block-table.is-style-regular table, 
					.wp-block-table.is-style-regular table th, 
					.wp-block-table.is-style-regular table td {
						border: none !important;
						border-collapse: inherit;
						border-spacing: 0px;
					}


					.wp-block-table.is-style-regular table td {
						border-bottom: 1px solid #ccc !important;
					}
					.wp-block-table.is-style-regular table tr:last-child td {
						border-bottom: none !important;
					}

					.wp-block-table.is-style-regular table td:first-child {
						font-weight: 600;
						padding-right: 2em;
						text-align: right;
						vertical-align: baseline;
										}


					.wp-block-table.is-style-regular table tr:last-child td { border-bottom: none !important; }


					.wp-block-table.is-style-stripes table {}

					.wp-block-table.is-style-stripes table, 
					.wp-block-table.is-style-stripes table th, 
					.wp-block-table.is-style-stripes table td {
						/*border-width: var(--table-border-width, 2px) !important;
						border-style: var(--table-border-style, solid) !important;*/
						border: none !important;
						border-collapse: inherit;
						border-spacing: 2px;

					}

						.wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
							background-color: rgba(0,0,0,0.00) !important;
						}

						.wp-block-table.is-style-stripes tbody tr:nth-child(odd) td {
							background-color: rgba(156,169,134,0.20);
							border-radius: 1px;
						}
						.wp-block-table.is-style-stripes tbody tr:nth-child(even) td {
							background-color: rgba(156,169,134,0.10);
							border-radius: 1px;
						}





/* Header 
__________________________________________________________________________________*/


		#header [data-row*='top'] {}
		#header [data-row*='middle'] { pointer-events: none; }
			#header-menu-1, header button { pointer-events: all; }
		#header [data-row*='bottom']  { 
			z-index: 3;
			pointer-events: none; 
			}

			#header [data-row*='bottom'] [data-id=widget-area-1] { width: 100%; ;}

		[class*=ct-contact-info] li {
			column-gap: 8px;
		}




/* Menü 
	__________________________________________________________________________________*/
		




/* Startseite
__________________________________________________________________________________*/


	div.ct-dynamic-data {
		display: inline-block;
	}






/* allgemeine Inhalte
__________________________________________________________________________________*/


	.single-post .ct-dynamic-data-layer {
		display: inline-block;
		margin: 0 0.5em 0 0 !important;
	}




/* Footer 
__________________________________________________________________________________*/


	body:not(.home) .hide-if-not-home {
		display: none;
	}

	@media (min-width: 1000px) {
		#menu-item-31 { margin-left: 3em; }
	}







/* Stackable Blocks 
__________________________________________________________________________________*/

	.stackable-container {
		padding-top: 10% !important;
		padding-bottom: 10% !important;
		}
		





/* Plugins 
__________________________________________________________________________________*/

		
		/* Crocoblock, Jetengine
        -------------------------------------*/

		.jet-listing-grid__item {
				padding: 24px !important;
			}

		.jet-listing-dynamic-field.oeffnungszeiten {
			padding-top: 1em;
			margin-top: 12px;
			border-top: 1px solid #333;
			}
		.jet-listing-dynamic-field.fachrichtungen {
			padding-top: 1em;
			margin-top: 12px;
			border-top: 1px solid #333;
			}

		.jet-check-list__item {
			font-size: 0.7em;
			flex: none !important;
			background-color: var(--theme-palette-color-1);
			margin: 0 0.5em 0.5em 0;
			padding: 0.2em 0.5em 0.1em 0.5em;
			border-radius: 3px;
		}

		.jet-map-listing-block .jet-map-box {
			border-radius: 3px !important;
			box-shadow: 0 1px 1px rgba(0,0,0,0.11), 
                        0 2px 2px rgba(0,0,0,0.11), 
                        0 4px 4px rgba(0,0,0,0.11), 
                        0 6px 8px rgba(0,0,0,0.11),
                        0 8px 16px rgba(0,0,0,0.11) !important;
						}
	
		.jet-map-listing-block .jet-listing-dynamic-field__content,
		.jet-map-listing-block .jet-listing-dynamic-field__content p {
					font-size: 13px;
			margin-bottom: 0 !important;
				}


			.jet-checkboxes-list__decorator {
				width: 20px;
				height: 20px;
				min-width: 20px;
				min-height: 20px;
				margin-right: 10px;
				border-style: solid;
				border-width: 1px 1px 1px 1px;
				border-color: var(--theme-palette-color-1);
				border-radius: 2px 2px 2px 2px;
				overflow: hidden;
			}
			.jet-checkboxes-list__input:checked ~ .jet-checkboxes-list__button .jet-checkboxes-list__decorator {
				background-color: var(--theme-palette-color-1) !important;
				border-color: var(--theme-palette-color-1);
			}




		/* Blocksy
        -------------------------------------*/

		.ct-shortcuts-container {
			z-index: 99 !important;
		}

		.ct-shortcuts-bar-items,
		[data-header*="type-1"] #offcanvas {
			backdrop-filter: blur(6px);
		}

		#offcanvas  .sub-menu .ct-menu-link:not(:empty) { 
			padding: 0.5em 0;
			font-size: 0.875em;
				}
		#offcanvas .sub-menu .sub-menu .ct-menu-link:not(:empty) { 
			padding: 0.5em 0;
			font-size: 0.875em;
				}


		/* Blocksy - Anpassung des Postblock  - nrur einspaltig bei Inherit-Layout */
			/* 1 column*/
			/*.advanced-posts-one-column .entries { --grid-template-columns: 1fr;	}*/
			/* 2 columns 
			.advanced-posts-one-column .entries { --grid-template-columns: 1fr 1fr;	}*/


		[class*=ct-contact-info] ul {
			gap: var(--items-spacing, 6px);
		}


		
		/* Blog-Card
        -------------------------------------*/
			article.entry-card  .ct-media-container {	}

			article.entry-card ul.entry-meta:first-of-type {
				position: absolute;   
				z-index: -1;
				transform: translate(-18px, -48px);
			}
			article.entry-card ul.entry-meta:nth-of-type(2) {
				margin-bottom: 0 !important;
			}


		/* Aktuelles auf Startseite - Anpassung gegenüber globalem Blog-Archiv
        -------------------------------------*/
			@media (min-width: 1000px) {
				
				[data-id='b46568c9'] [data-prefix="blog"] .entries {
    				grid-template-columns: repeat(2, minmax(0, 1fr));
				}
				
			}




		
		/* Blog--Aktuelles - Masonry
        -------------------------------------
			[data-prefix="blog"] section .entries {
			 display: block;
			  --masonry-column: 3;
			  -webkit-column-count: var(--masonry-column);
			  -moz-column-count: var(--masonry-column);
			  column-count: var(--masonry-column);
			}

			[data-prefix="blog"] section .entries article {
			  display: inline-block;
			  margin-bottom: var(--grid-columns-gap);
			}

			@media only screen and (max-width: 1000px) {
			  [data-prefix="blog"] section .entries {
				--masonry-column: 3;
			  }
			}

			@media only screen and (max-width: 700px) {
			  [data-prefix="blog"] section .entries {
				--masonry-column: 2;
			  }
			}

			@media only screen and (max-width: 480px) {
			  [data-prefix="blog"] section .entries {
				--masonry-column: 1;
			  }
			}
*/




		/* Complianz
        -------------------------------------*/

			#cmplz-cookies-overview .cmplz-dropdown p, 
			#cmplz-document .cmplz-dropdown p, 
			#cmplz-document li, 
			#cmplz-document p, 
			#cmplz-document td {
				font-size: 1rem;
			}

			#cmplz-document.impressum h2, 
			#cmplz-document.impressum h3 {
				font-size: 1.5rem;
				margin-top: 1.5em;
				margin-bottom: 0 !important;			
				color: var(--paletteColor3) !important;
				opacity: 1;
			}

			#cmplz-document a {				
				text-decoration: none;
			}

			#cmplz-document b {
				font-weight: 700;
			}


		.cmplz-cookiebanner .cmplz-buttons .cmplz-btn {
    		text-align: center;
		}








		
		/* JetForms
        -------------------------------------*/	

			.jet-form-builder__field:not(.checkboxes-field):not(.radio-field):not(.range-field) {
				background-color: rgba(255,255,255,0.50);
				border: none;
				}
			.jet-form-builder__field-label.for-checkbox>span::before {
				background-color: #fff;
				}
		
			.jet-form-builder__field-label.for-checkbox :checked+span::before {
				border-color: var(--paletteColor1) !important;
				background-color: var(--paletteColor1) !important;
				}

			.jet-form-builder [type='text'], 
			.jet-form-builder [type='password'], 
			.jet-form-builder [type='date'], 
			.jet-form-builder [type='datetime'], 
			.jet-form-builder [type='datetime-local'], 
			.jet-form-builder [type='month'], 
			.jet-form-builder [type='week'], 
			.jet-form-builder [type='email'], 
			.jet-form-builder [type='number'], 
			.jet-form-builder [type='search'], 
			.jet-form-builder [type='tel'], 
			.jet-form-builder [type='time'], 
			.jet-form-builder [type='url'], 
			.jet-form-builder [type='color'], 
			.jet-form-builder textarea {
				margin-bottom: 0 !important;
				padding-top: 35px !important;
				padding-bottom: 15px !important;
				padding-left: 9px !important;
				border-radius: 3px !important;
				background-color: rgba(255,255,255,0.50) !important;
				box-shadow: 0 0 0 !important;
				border: 0px solid var(--paletteColor3) !important;
				}


			.jet-form-builder input[required],
			.jet-form-builder textarea[required],
			.jet-form-builder select[required] {
				border: 0px solid var(--paletteColor1) !important;
				background-color: rgba(255,255,255,0.90) !important;
				}  

					.jet-form-builder input:focus,
					.jet-form-builder textarea:focus { 
						background-color: rgba(255,255,255,1.00) !important;
						color: #000;
						border: 1px solid var(--paletteColor1) !important;
						box-shadow:  0 1px 1px rgba(0,0,0,0.11), 
									  0 2px 2px rgba(0,0,0,0.11), 
									  0 4px 4px rgba(0,0,0,0.11), 
									  0 6px 8px rgba(0,0,0,0.11),
									  0 8px 16px rgba(0,0,0,0.11) !important;
						transform: scale(1.01);
						}

			/* Uploadfläche */	
			input#upload {
				background: 100% !important;
				background:  rgba(255,255,255,0.8) !important;
				border: var(--paletteColor1) 3px dashed !important;
				border-radius: 6px !important;
				padding: 90px 30px 30px 30px !important;
				width: 100% !important;
				position: relative;
			}
			input#upload:after {
				content: 'Daten per Drag&Drop in das Feld ziehen \A oder per Dateimanager auswählen.';
				position: absolute;	
				left: 30px;
				margin-top: -3em;
				font-size: 1.2em;
				max-width: 100%;
				word-break: break-all;
			}



			/* Label inline */
			.jet-form-builder .field-type-text-field,
			.jet-form-builder .field-type-textarea-field {
				margin-top: -12px !important;		
				}				
				.jet-form-builder .field-type-text-field label,
				.jet-form-builder .field-type-textarea-field label {
					z-index: 2;
					bottom: -35px;
					left: 16px;
					position: relative;
					pointer-events: none;
					}
					.jet-form-builder .field-type-text-field:focus-within label,
					.jet-form-builder .field-type-textarea-field:focus-within label,
					.jet-form-builder .input-filled label {
						bottom: -25px;
						left: 8px;
						color: rgb(0 0 0 / 0.5) !important;
						font-size: 0.7em !important;
						}

			.jet-sm-gb-b568fc13-f070-4a8b-bb12-b039ef493376 .checkradio-wrap { 
				display: flex; 
				justify-content: center;
				}

			.jet-form-builder__field-wrap.checkradio-wrap:not(:first-child) {
				padding-top: 0 !important;
			}
			
			.jet-form-builder__desc { margin-top: 0.5em; }

			.jet-form-builder .jet-container.plz-ort {
				display: flex;
				flex-wrap: wrap;
				flex-direction: row;
				padding: 0;
			}
			.jet-form-builder .jet-container.plz-ort .jet-form-builder-row:nth-child(2) { width: 27% !important; margin-right: 3%; }
			.jet-form-builder .jet-container.plz-ort .jet-form-builder-row:nth-child(3) { width: 70% !important; }


			.jet-form-builder .jet-form-builder__desc { line-height: 1.3em; }






/* Animationen 
__________________________________________________________________________________*/
	
	input,
    textarea,
    input[type=submit],
    select,
	label,
    .linktext,
	.ugb-card__image,
	.ugb-card__description,
	.ugb-card .ugb-card__subtitle,
	.ugb-card .ugb-card__title,
	tr {
		transition: all 0.3s ease !important;
	    }