/**
 * Theme Name:  FeWo Hillig
 * Template:    twentytwentythree
 * Version:     1.0.0
 * Description: Hillig v.1
 * Tags: 
 * Author:      Gregor Fischer
 * Author URI:  https://friebelwv.de
 */



/*
@media ( min-width: 600px ) {
}
@media ( min-width: 769px ) and ( orientation: landscape ) , ( min-width: 1025px ) {
*/

:root {
	--hillig-radius: 0.25em;
  }



/*--------------------------------------------------------------
## Structure / Normalize / Indicators
--------------------------------------------------------------*/


/* indicators 
div#indicators {
	position: absolute;
	top: -999px;
	width: 1px;
}

div#screen-indicator-mobile {
	display: block;
}
div#screen-indicator-tablet {
	display: none;
}
div#screen-indicator-desktop {
	display: none;
}
@media ( min-width: 600px ) {
	div#screen-indicator-tablet {
		display: block;
	}
}
@media ( min-width: 769px ) and ( orientation: landscape ) , ( min-width: 1025px ) {
	div#screen-indicator-desktop {
		display: block;
	}
}
*/



.n2_clear {
    z-index: 1;
}

a {
    color: inherit !important;
}


/*--------------------------------------------------------------
## Header // Footer
--------------------------------------------------------------*/

footer * {

}
@media ( min-width: 600px ) {
}



/*
.wp-site-blocks {
	padding: 0 !important;
}

header {
	padding: 1rem 0 0 0;
	position: relative;
	background-color: fff;
}
header:after {
	content: ' ';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 40px;
	width: 100%;
	background: url('images/header.svg') center no-repeat;
	background-size: cover;
	margin: 0 0 0 0;
}

header:after {
	height: 20px;
	margin-bottom: 0px;
}
main {
	margin-top: -30px !important;
}
@media ( min-width: 600px ) {
	header:after {
		height: 40px;
		margin-bottom: -20px;
	}
	main {
		margin-top: -20px !important;
	}
}



header a , 
footer a {
	text-decoration: none !important;
}

footer * {
	line-height: 2;
}

.footer-logo {
	order: 0;
	gap: 0;
}
@media ( min-width: 600px ) {
	.footer-logo {
		order: 99;
		flex-basis: 100%;
	}
}

.footer-links {
	gap: 0;
}
.footer-links ul {
	margin: 0;
	padding: 0;
}
.footer-links li {
	display: block;
	margin: 0;
	padding: 0;
}

.footer-contact {
	gap: 0;
}
.footer-contact .wp-block-group {
	align-items: flex-start;
}
*/

/*--------------------------------------------------------------
## Navigation
--------------------------------------------------------------*/



/*--------------------------------------------------------------
## Special Elements
--------------------------------------------------------------*/

.wp-site-blocks {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
.wp-site-blocks > main {
    margin-top: 0 !important;
}

.wp-site-blocks > main > .entry-content > div {
    margin-top: 0 !important;
}


@media ( min-width: 601px ) {
    
    .desktop-full-height.is-image-fill-element > figure.wp-block-media-text__media {
            min-height: 520px;
    }
    
}


/*--------------------------------------------------------------
## Special Footer
--------------------------------------------------------------*/


/*--------------------------------------------------------------
## LAZY Image+Icon
--------------------------------------------------------------*/

/*
 .wp-block-media-text__content
    .wp-block-lazyblock-text-and-icon
    .lazyblock-inner-blocks
        .wp-block-outermost-icon-block
 */


.wp-block-lazyblock-text-and-icon {
    position: relative;
    margin-top: 4rem;
    margin-bottom: 4rem;
    margin-left: auto;
    margin-right: auto;
}
.wp-block-lazyblock-text-and-icon .lazyblock-inner-blocks {
    position: relative;
    border-radius: 50%;
    width: 75%;
    max-width: 480px !important;
    display: flex;
    flex: 1;
    aspect-ratio: 1/1;
    flex-flow: column;
    justify-content: center;
    align-content: center;
    align-items: center;
    background: url('./assets/images/background-coffee.jpg');
    background-size: cover;
    margin-left: auto;
    margin-right: auto;
}
.wp-block-lazyblock-text-and-icon .lazyblock-inner-blocks * {
        line-height: 1.25 !important;
}

.wp-block-lazyblock-text-and-icon .lazyblock-inner-blocks > *:not(.wp-block-outermost-icon-block) {
    position: relative;
    bottom: 0;
    width: 80%;
    margin: 0 auto;
    text-align: center !important;
    display: block;
}
.wp-block-lazyblock-text-and-icon .wp-block-outermost-icon-block {
    position: absolute !important;
    bottom: 5%;
    z-index: 9;
    width: 100%;
}
.wp-block-lazyblock-text-and-icon .wp-block-outermost-icon-block .icon-container {
    border-radius: 50%;
    overflow: hidden;
    height: auto;
    width: 25% !important;
}





/*--------------------------------------------------------------
## Contact Buttons
--------------------------------------------------------------*/





/*--------------------------------------------------------------
## Aktuelles
--------------------------------------------------------------*/

/*
.aktuelles-container {
	margin: 60px auto;
   	background: var(--wp--preset--color--white);
	border: 2px solid var(--wp--preset--color--primary);
	padding: 1rem;
	text-align: center;
		background: var(--wp--preset--color--primary);
		border: 0px none;
}
.aktuelles-container * {
	color: var(--wp--preset--color--white) !important;
}
.aktuelles-container .wp-block-separator {
	border: 0px none;
	border-bottom: 2px solid var(--wp--preset--color--primary); 
	opacity: 0.3;
	width: 90%;
	margin: 2rem auto;
		border-bottom: 2px solid var(--wp--preset--color--white); 
}
.aktuelles-container > .aktuelles-items .wp-block-separator:last-of-type {
    display: none;
}
*/




/*--------------------------------------------------------------
## Special
--------------------------------------------------------------*/

table.seamless , 
figure.seamless > table {
	border-collapse: collapse !important;
	border: 0px none !important;
	margin: 0 !important;
	margin-block-start: 0 !important;
}
table.seamless tr , 
figure.seamless > table tr {
	margin: 0;
	padding: 0;
	border: 0px none;
}
table.seamless td , 
figure.seamless > table td {
	margin: 0;
	padding: 0 0.5em 0 0;
	border: 0px none;
}

.no-decoration , .no-decoration a {
	text-decoration: none;
}



/*Maps */


.leaflet-map {
    min-height: 480px;
}
.leaflet-tile-pane * {
    filter: grayscale(1);
}
.leaflet-marker-pane .marker-hidden {
    opacity: 0 !important;
}





/*--------------------------------------------------------------
## Forms
--------------------------------------------------------------*/

/*
.form-wrapper {
	margin: 2rem auto;
}
.form-container {
	display: flex;
	flex-flow: column;
}
.form-container div {
	flex-basis: 100%;
}

@media ( min-width: 769px ) and ( orientation: landscape ) , ( min-width: 1025px ) {
	.form-container {
		flex-flow: row wrap;
		gap: 20px;
		justify-content: space-between;
		align-items: flex-start;
		align-content: flex-start;
	}
	.form-container div {
		flex-basis: calc( 50% - 10px );
	}
}


form h2 , form h3 {
}



label {
	width: 100%;
	color: var(--wp--preset--color--primary);
}
label > span:first-child , label br {
	display: none;
}
input ,
textarea ,
select {
	margin: 0.5em auto;
	padding: 0.5em 1em;
	width: 100%;
	border: 2px solid var(--wp--preset--color--primary);
	box-sizing: border-box;
	font-size: 1.125em;
	border-radius: var(--thiele-radius);
}
textarea {
	height: 240px;
}

::placeholder {
	color: var(--wp--preset--color--primary);
	opacity: 1;
}

span.wpcf7-list-item {
	margin-left: 0;
}
input[type=checkbox] {
	margin: 0 0.5em 0 0;
	width: auto;
	border: 1px solid var(--wp--preset--color--primary);
}

input:focus , input:active , 
textarea:focus , textarea:active , 
select:focus , select:active {
	border-color: var(--wp--preset--color--black);
}
input.wpcf7-not-valid ,
textarea.wpcf7-not-valid , 
select.wpcf7-not-valid {
	border-width: 2px;
	border-color: var(--wp--preset--color--alert-red);
}
input.wpcf7-not-valid::placeholder ,
textarea.wpcf7-not-valid::placeholder , 
select.wpcf7-not-valid::placeholder {
	color: var(--wp--preset--color--alert-red);
}

form sup {
	color: var(--wp--preset--color--primary);
}

label input ,
label textarea ,
label select {
	margin-top: 0;
}

.wpcf7-not-valid-tip {
	margin-top: -0.5em;
	color: var(--wp--preset--color--alert-red);
	font-size: var(--wp--preset--font-size--small);
}

input[type=submit],
input[type=button] {
	border: 2px solid var(--wp--preset--color--primary);
	background: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--white);
	font-size: 1.25em;
	font-weight: 600;
	transition: background 350ms ease-in-out;
	cursor: pointer;
}
@media( hover:hover ) {
	input[type=submit]:not(.disabled):hover ,
	input[type=button]:not(.disabled).hover {
		border: 2px solid var(--wp--preset--color--primary);
		background: var(--wp--preset--color--white);
		color: var(--wp--preset--color--primary);
	}
}

.wpcf7-acceptance , .wpcf7-acceptance * {
	vertical-align: baseline;
	color: var(--wp--preset--color--black) !important;
}
*/


/*--------------------------------------------------------------
## LAZY Image+Icon
--------------------------------------------------------------*/

/*
.wp-block-lazyblock-image-and-icon {
	position: relative;
}
.wp-block-lazyblock-image-and-icon .wp-block-outermost-icon-block {
	position: absolute;
	bottom: 5%;
	z-index: 9;
	width: 100%;
}
.wp-block-lazyblock-image-and-icon .wp-block-outermost-icon-block .icon-container {
	border-radius: 50%;
	overflow: hidden;
	height: auto;
	width: 25% !important;
}
*/

/*--------------------------------------------------------------
## LAZY Heading
--------------------------------------------------------------*/

/*
.wp-block-lazyblock-heading {
	position: relative;
	z-index: 9;
	margin: 0 !important;
}
.wp-block-lazyblock-heading .heading-container {
	position: absolute;
	margin: 0 auto !important;
	transform: translateY(-50%);
	width: 100%;
}
.wp-block-lazyblock-heading .heading-block.spare {
	flex-basis: 5%;
	width: 5%;
}
.wp-block-lazyblock-heading .heading-block.content {
	background: var(--wp--preset--color--white);
	text-align: center;
	display: flex;
	flex-flow: column;
	justify-content: center;
	min-height: 6rem;
	margin: 0 auto;
	flex-basis: 90%;
	width: 90%;
	padding: 0rem;
	box-sizing: border-box;
}
.wp-block-lazyblock-heading .heading-block.content * {
	margin: 0 !important;
}

@media ( min-width: 600px ) {
	.wp-block-lazyblock-heading .heading-blockspare {
		flex-basis: 15%;
		width: 15%;
	}
	.wp-block-lazyblock-heading .heading-block.content {
		flex-basis: 70%;
		width: 70%;
		padding: 0.5rem;
	}
}
@media ( min-width: 769px ) and ( orientation: landscape ) , ( min-width: 1025px ) {
	.wp-block-lazyblock-heading .heading-block.spare {
		flex-basis: 25%;
		max-width: 16.65%;
	}
	.wp-block-lazyblock-heading .heading-block.content {
		flex-basis: 50%;
		max-width: 66.66%;
		min-height: 14rem;
		padding: 1rem
	}
}

*/


/* FOOTER DOTS */
.footer-break {
    
}
.footer-dot {
    display: none;
}
@media ( min-width: 769px ) and ( orientation: landscape ) , ( min-width: 1025px ) {
    .footer-break {
        display: none;
    }
    .footer-dot {
        display: inline-block;
        margin: 0 0.35rem;
    }
}



/* DOT BREAK */

ul.dot-break {
	margin: 0;
}
ul.dot-break li {
	list-style-type: none;
	display: block;
	margin: 0;
}

@media ( min-width: 600px ) {
	ul.dot-break li {
		display: inline-block;
	}
	ul.dot-break li:after {
		content: ' · ';
	}
	ul.dot-break li:last-of-type::after {
		content: '';
	}
}
@media ( min-width: 769px ) and ( orientation: landscape ) , ( min-width: 1025px ) {
	ul.dot-break li {
		white-space: nowrap;
	}
}







/*--------------------------------------------------------------
## Visibility
--------------------------------------------------------------*/

.nowrap {
    white-space: nowrap;
}


.mobile-only {
}
.desktop-only {
	display: none !important;
}

.mobile-only {
	display: none;
}
.desktop-only {
	display: block !important;
}
.desktop-only.flex {
	display: flex !important;
}
.desktop-only.inline {
	display: inline !important;
}
.desktop-only.inline-block {
	display: inline-block !important;
}



.visible-on-desktop ,
.visible-on-tablet {
	display: none;
}
.visible-on-mobile {
	display: block;
}
.visible-on-mobile.display-flex {
	display: flex;
}

@media ( min-width: 600px ) {
	.visible-on-mobile {
		display: none !important;
	}
	.visible-on-tablet {
		display: block;
	}
	.visible-on-tablet.display-flex {
		display: flex;
	}
}

@media ( min-width: 769px ) and ( orientation: landscape ) , ( min-width: 1025px ) {
	.visible-on-tablet {
		display: none !important;
	}
	.visible-on-desktop {
		display: block;
	}
	.visible-on-desktop.display-flex {
		display: flex;
	}
}

@media ( max-width: 600px ) {
    .last-on-mobile {
        order: 9999 !important;
    }
    .first-on-mobile {
        order: -1 !important;
    }
}
