/* 
Theme Name: KP Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
Description: KP Elementor Child is a child theme of Hello Elementor.
Author: KP Team - Amir Fayaz
Author URI: https://koehler-partner.de/
Template: hello-elementor
Version: 1.0.1
Text Domain: kp-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/*
    custom debug styles
*/

html {
    font-size: 16px;
}
body {
    overflow-x: hidden;
}
.debug * {
        border: 0.5px dotted lime;
}
@font-face * {
    font-display: swap;
}



/* Elementor Stuff */
.elementor-accordion .elementor-tab-title {
    border-bottom: 1px solid #B8BBBE;
}
.elementor-accordion-item .elementor-tab-title.elementor-active {
    border-bottom: 1px solid #B8BBBE;
}
.elementor-accordion .elementor-tab-title .elementor-accordion-icon.elementor-accordion-icon-right svg {
    font-size: 2rem;
}

/* Elementor Jetfilter collapse -- function jetfilter() */
.jet-checkboxes-list.collapsed,
.jet-checkboxes-list-wrapper.collapsed,
.jet-select__control.collapsed {
    display: none !important;
    transition: all .3s ease-in-out;

}
.jet-checkboxes-list,
.jet-checkboxes-list-wrapper,
.jet-select__control {
    display: block;
    transition: all .3s ease-in-out;
}





@media screen and ( max-width: 1023px ) {

    #smart-filters  {
        position: fixed;
        left: -100rem;
        top: 0;
        min-height: 100%;
        z-index: 500;
        transition: all .3s ease-in-out;
        bottom: 0;
    }

    #smart-filters.active {
        left: 0;

    }

    #smart-filters.active > .elementor-widget-wrap {
        /* scrollable when to big  */
        overflow-x: scroll;
    }

}







.jet-range__slider .ui-slider-range{
    user-select: none;
    pointer-events: none !important;
}

.kp_temp_min, .kp_temp_max {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 1rem 0;
    flex-wrap: wrap;
    max-width: 50%;
}



.sensorart {
	display: block;
	font-size: 35px;
	color: #D46416;
	padding-bottom: 20px;
}

.sensortype {
	position: relative;
	z-index: 10;
	margin-bottom: 0!important;
}
.sensordetails {
	
}


.autolink {
    color: inherit !important;
	border-bottom: 1px dashed;
}



.elementor-posts .elementor-post__card .elementor-post__thumbnail img {
    width: 100% !important;
	max-width: 500px;
	height: auto !important;
}


#product--list .elementor-post__thumbnail {
	aspect-ratio: 1 / 1;
}



/* Accessibly hidden (sichtbar für Screenreader/Crawler, nicht visuell) */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 1px 1px) !important; /* legacy */
  clip-path: inset(50%) !important;
  border: 0 !important;
  white-space: nowrap !important;
}

@media screen and (min-width: 768px) {
    .img-text-maxwidth figure, .img-text-maxwidth img  {
        max-width: 400px !important;
        border: 1px solid #000;
        text-align: center;
    }
	.img-text-maxwidth figure img {
		border: 0;
		max-width: 100% !important;
	}
	.img-text-maxwidth-noborder figure, .img-text-maxwidth-noborder img {
        max-width: 400px !important;
        text-align: center;
    }
}


/*newsteaser*/
.newsteaser .elementor-posts-container.elementor-has-item-ratio .elementor-post__thumbnail img {
    transform: scale(1.0) translate(-50%, -50%);
}



