/*!
Theme Name: Akzent Küchen (Hello Elementor Child)
	Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
Author: Christian Ly
Author URI: https://pxlwerk.de/
Description: This is the GN child theme
Version: 1.1.0
	Requires at least: 6.0
	Tested up to: 6.8
	Requires PHP: 7.4
	License: GNU General Public License v3 or later.
	License URI: https://www.gnu.org/licenses/gpl-3.0.html
Template: hello-elementor
Text Domain: hello-elementorchild
Domain Path: /languages
Tags: accessibility-ready, flexible-header, custom-colors, custom-menu, custom-logo, featured-images, rtl-language-support, threaded-comments, translation-ready,
*/

/* aK-Konfigurator */
.akKonfigurator {
    .e-form__indicators__indicator--state-active [class*=indicator--shape-]:not(.e-form__indicators__indicator--shape-none), 
    .e-form__indicators__indicator--state-completed [class*=indicator--shape-]:not(.e-form__indicators__indicator--shape-none) {
        border: 0;
    }

    input[type='checkbox']:checked,
    input[type='radio']:checked {
        -webkit-filter: grayscale(100%);
    }
}
.akKonfigurator .elementor-form-fields-wrapper {
    max-width: 100%;
    margin: 0 !important;
}
@media (max-width: 767px) {
    .akKonfigurator .e-form__indicators__indicator, 
    .akKonfigurator .e-form__indicators__indicator__label {
        padding: 0px;
    }
}
.akKonfigurator form {
    overflow: hidden;
    position: relative;
    padding-bottom: 5px;
}
.akKonfigurator .e-form__step {
    border: 1px solid;
    /* margin: 5px; */
    padding: 10px;
    /*left: -100%;*/
    position: absolute;
    transition: opacity 1s ease, left 0.5s ease;
    opacity: 0;
    display: flex;
    flex-wrap: wrap;
}
.akKonfigurator .elementor-button.elementor-hidden, 
.akKonfigurator .elementor-hidden {
    visibility: hidden;
}
.akKonfigurator .e-form__step:not(.elementor-hidden) {
    left:0;
    opacity: 1;
    position: relative;
}
.akKonfigurator .e-form__step:not(.elementor-hidden) ~ .e-form__step {
    position: absolute;
    /*left: 100%;*/
}

.akKonfigurator .e-form__step h3 {
    margin: 0.5em 0 0.25em;
}
.akKonfigurator .elementor-widget-form .elementor-field-group > label {
    font-weight: bold;
}
.akKonfigurator textarea.elementor-field-textual {
    padding: .75em;
    min-height: calc(1.4em + 1.5em + 2px);
    max-height: calc((1.4em * 4) + 1.5em + 2px);
}
.akKonfigurator .elementor-field-group.e-form__buttons__wrapper.elementor-field-type-previous {
    /*display: none;*/
}
.akKonfigurator .e-form__step.elementor-hidden .elementor-field-group.e-form__buttons__wrapper.elementor-field-type-next {
    /*display:none;*/
}
.akKonfigurator .e-form__step .elementor-field-group {
    align-content: flex-start;
}

/*rangeslider*/
.akKonfigurator .elementor-field-group-field_kunde_budget_range {
    justify-content: center;
}
.akKonfigurator .elementor-field-group-field_kunde_budget_range label {
    width: 100%;
}
.akKonfigurator .e-form__step .elementor-field-group-field_kunde_budget_range .irs.irs-with-grid {
    width: 94%;
    margin-top: 0.5em;
}
.akKonfigurator .e-form__step .elementor-field-group-field_kunde_budget_range .irs {
    width: 100%;
}
.akKonfigurator .e-form__step .irs--flat .irs-bar {
    background-color: var( --e-global-color-accent );
}

.akKonfigurator .e-form__step .irs--flat .irs-from, 
.akKonfigurator .e-form__step .irs--flat .irs-to, 
.akKonfigurator .e-form__step .irs--flat .irs-single {
    background-color: var( --e-global-color-accent );
    color: var( --e-global-color-primary );
    font-weight: bold;
}

.akKonfigurator .e-form__step .irs--flat .irs-from:before, 
.akKonfigurator .e-form__step .irs--flat .irs-to:before, 
.akKonfigurator .e-form__step .irs--flat .irs-single:before {
    border-top-color: var( --e-global-color-accent );
}

.akKonfigurator .e-form__step .irs--flat .irs-handle>i:first-child {
    background-color: var( --e-global-color-primary );
}

.akKonfigurator .e-form__step .irs--flat .irs-handle.state_hover>i:first-child, 
.akKonfigurator .e-form__step .irs--flat .irs-handle:hover>i:first-child {
    background-color: var( --e-global-color-primary );
}
.akKonfigurator .elementor-field-group:not(.elementor-field-type-upload) .elementor-field:not(.elementor-select-wrapper) {
    border-radius: 0;
    border-color: var( --e-global-color-text );
}

.akKonfigurator .irs, 
.akKonfigurator .irs-grid-text, 
.akKonfigurator .irs--flat .irs-from, 
.akKonfigurator .irs--flat .irs-to, 
.akKonfigurator .irs--flat .irs-single, 
.akKonfigurator .irs--flat .irs-min, 
.akKonfigurator .irs--flat .irs-max {
    font-size: 1em;
    line-height: 1em;
}

.akKonfigurator .irs--flat.irs-with-grid {
    height: 70px;
}

.akKonfigurator .irs-grid {
    height: 30px;
}

@keyframes movableAnimation {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.2); }
  100% { transform: scale(1); }
}
@-o-keyframes movableAnimation{
  0%   { transform: scale(1); }
  50%  { transform: scale(1.2); }
  100% { transform: scale(1); }
}
@-moz-keyframes movableAnimation{
  0%   { transform: scale(1); }
  50%  { transform: scale(1.2); }
  100% { transform: scale(1); }
}
@-webkit-keyframes movableAnimation{
  0%   { transform: scale(1); }
  50%  { transform: scale(1.2); }
  100% { transform: scale(1); }
}
.akKonfigurator .irs--flat .irs-from.movable, 
.akKonfigurator .irs--flat .irs-to.movable, 
.akKonfigurator .irs--flat .irs-single.movable {
   -webkit-animation: movableAnimation 1s infinite;
   -moz-animation: movableAnimation 1s infinite;
   -o-animation: movableAnimation 1s infinite;
    animation: movableAnimation 1s infinite;
}

.akKonfigurator .irs--flat .irs-from.movable:after, 
.akKonfigurator .irs--flat .irs-to.movable:after, 
.akKonfigurator .irs--flat .irs-single.movable:after {
    position: absolute;
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 640'%3E%3Cpath fill='%2366605C' d='M566.6 470.6L470.6 566.6C461.4 575.8 447.7 578.5 435.7 573.5C423.7 568.5 416 556.9 416 544L416 480L96 480C78.3 480 64 465.7 64 448C64 430.3 78.3 416 96 416L416 416L416 352C416 339.1 423.8 327.4 435.8 322.4C447.8 317.4 461.5 320.2 470.7 329.3L566.7 425.3C579.2 437.8 579.2 458.1 566.7 470.6zM73.4 214.6C60.9 202.1 60.9 181.8 73.4 169.3L169.4 73.3C178.6 64.1 192.3 61.4 204.3 66.4C216.3 71.4 224 83.1 224 96L224 160L544 160C561.7 160 576 174.3 576 192C576 209.7 561.7 224 544 224L224 224L224 288C224 300.9 216.2 312.6 204.2 317.6C192.2 322.6 178.5 319.8 169.3 310.7L73.3 214.7z'/%3E%3C/svg%3E");
    width: 1.5em;
    top: 0px;
    left: 50%;
    transform: translate(-50%, -100%);
}


/*header-img*/
.akKonfigurator .elementor-field-type-html > img {
    margin-left: -15px;
    margin-right: -15px;
    display: block;
    width: calc(100% + 30px);
    max-width: none;
}
.akKonfigurator .elementor-field-type-html > img.esstisch {
    margin-top: 20px;
    margin-bottom: 10px;
}
/*radio+bilder - kuechentyp*/
.akKonfigurator .elementor-field-group[class*="elementor-field-group-field_akbild_"] input[id^="form-field-field_akbild_"]+label {
    background-color: var( --e-global-color-accent );
    text-align: center;
    cursor: pointer;
    display: inline-block !important;
    transition: opacity 0.5s ease;
    position: relative;
    border: 1px solid var( --e-global-color-text );
    display: flex;
    height: 100%;
    width: 100%;
}

.akKonfigurator .elementor-field-group[class*="elementor-field-group-field_akbild"] img {
    width: 100%;
    margin-top: 1.7em;
    display: block;
}

.akKonfigurator .elementor-field-group[class*="elementor-field-group-field_akbild_"] input[id^="form-field-field_akbild_"]:checked+label:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border: 4px solid var( --e-global-color-accent );
}

.akKonfigurator .elementor-field-group[class*="elementor-field-group-field_akbild_"] .elementor-field-subgroup.elementor-subgroup-inline {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

@media(max-width:767px) and (min-width:576px){
    .akKonfigurator .elementor-field-group[class*="elementor-field-group-field_akbild_"].elementor-col-100 .elementor-field-subgroup.elementor-subgroup-inline {
        grid-template-columns: 1fr 1fr;
    }
    .akKonfigurator .elementor-field-type-checkbox.elementor-col-33[class*="elementor-field-group-field_akbild"] {
        width: 50%;
    }
}
@media(min-width:768px){
    .akKonfigurator .elementor-field-group[class*="elementor-field-group-field_akbild_"].elementor-col-100 .elementor-field-subgroup.elementor-subgroup-inline {
        grid-template-columns: 1fr 1fr 1fr;
    }
}
.akKonfigurator .elementor-field-group[class*="elementor-field-group-field_akbild_"] .elementor-field-subgroup .elementor-field-option input[id^="form-field-field_akbild_"],
.akKonfigurator .elementor-field-group[class*="elementor-field-group-field_akbild_"] > label {
    height: 0;
    width: 0;
    position: absolute;
}
.akKonfigurator .elementor-field-group[class*="elementor-field-group-field_akbild_"] input[id^="form-field-field_akbild_"]:focus+label, 
.akKonfigurator .elementor-field-group[class*="elementor-field-group-field_akbild_"] input[id^="form-field-field_akbild_"]:focus-visible+label,
.akKonfigurator .elementor-field-group[class*="elementor-field-group-field_akbildoption_"] .new .elementor-field-option input:focus+label,
.akKonfigurator .elementor-field-group[class*="elementor-field-group-field_akbildoption_"] .new .elementor-field-option input:focus-visible+label,
.akKonfigurator .elementor-field-group .elementor-field-textual:focus,
.akKonfigurator .elementor-field-group .elementor-field-textual:focus-visible {
    outline: #000 2px solid;
    position: relative;
}

.akKonfigurator .elementor-field-group[class*="elementor-field-group-field_akbild_"] .elementor-field-subgroup.elementor-subgroup-inline span.elementor-field-option {
    padding-inline-end: 0;
}
.akKonfigurator span.label_text {
    position: absolute;
    width: 100%;
    background-color: var( --e-global-color-accent );
    min-width: 100%;
    display: block;
    padding: 2px 10px;
}

/*checkbox+bilder+optionen*/
.akKonfigurator .elementor-field-group[class*="elementor-field-group-field_akbildoption_"] {
    position: relative;
}

.akKonfigurator .elementor-field-group[class*="elementor-field-group-field_akbildoption_"] .new {
    position: absolute;
    bottom: 0;
    width: 100%;
    display: flex;
    flex-flow: wrap;
}

.akKonfigurator .elementor-field-group[class*="elementor-field-group-field_akbildoption_"] .elementor-field-subgroup.elementor-subgroup-inline {
    position: relative;    
    border: 1px solid var( --e-global-color-text );
    border-top: 0;
}

.akKonfigurator .elementor-field-group[class*="elementor-field-group-field_akbildoption_"] >label {
    background-color: var( --e-global-color-accent );
    text-align: center;
    font-weight: normal;
    border: 1px solid var( --e-global-color-text);
    border-bottom: 0;
    
    position: absolute;
    top: 0;
    left: 5px;
    right: 5px;
    max-width: 100%;
    width: calc(100% - 10px);
    z-index: 9;
    }

.akKonfigurator .elementor-field-group[class*="elementor-field-group-field_akbildoption_"] span.label {
    display: block;
    width: 100%;
    background-color: var( --e-global-color-accent );
    color: var( --e-global-color-text );
    padding-left: 10px;
    padding-right: 10px;
    text-align: center;
}

.akKonfigurator .elementor-field-group[class*="elementor-field-group-field_akbildoption_"] .new .elementor-field-option input {
    height: 0;
    width: 0;
    position: absolute;
}

.akKonfigurator .elementor-field-group[class*="elementor-field-group-field_akbildoption_"] .elementor-field-subgroup.elementor-subgroup-inline .new .elementor-field-option {
    padding: 0;
    flex: auto;
}
.akKonfigurator .elementor-field-group[class*="elementor-field-group-field_akbildoption_"] .elementor-field-subgroup.elementor-subgroup-inline .new .elementor-field-option label:hover{
    cursor: pointer;
}
.akKonfigurator .elementor-field-group[class*="elementor-field-group-field_akbildoption_"] input[id^="form-field-field_akbildoption_"]+label {
    background-color: var( --e-global-color-f9388e4 );
    width: 100%;
    color: var( --e-global-color-text );
    display: block;
    text-align: center;
}

.akKonfigurator .elementor-field-group[class*="elementor-field-group-field_akbildoption_"] input[id^="form-field-field_akbildoption_"]:checked+label {
    background-color: var( --e-global-color-accent );
    color: var( --e-global-color-text );
}

.akKonfigurator .elementor-field-group[class*="elementor-field-group-field_akbildoption_"] span.elementor-field-option {
    border-top: 1px solid;
    border-right: 1px solid;
}

.akKonfigurator .elementor-field-group[class*="elementor-field-group-field_akbildoption_"] span.elementor-field-option:last-child {
    border-right: 0;
}

/*radio - budget*/
.akKonfigurator .elementor-field-group-field_kunde_budget_active {
    opacity: 0;
    height: 0;
    margin: 0 !important;
    padding: 0 !important;
}
.akKonfigurator .elementor-field-group-field_kunde_budget_radio .elementor-field-subgroup.elementor-subgroup-inline {
    margin-top: 15px;
    line-height: 2;
}

/*fileupload*/
.akKonfigurator .elementor-form-fields-wrapper.elementor-labels-above .elementor-field-group .elementor-upload-field-wrapper {
   /*display: flex;*/
   border: 1px solid var( --e-global-color-text );
   padding: calc(0.35em - 1px) 0.5em;
   width: 100%;
   max-width: 100%;
   position: relative;
}

.akKonfigurator .elementor-form-fields-wrapper.elementor-labels-above .elementor-field-group .elementor-upload-field-wrapper>input[type="file"] {
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
    max-width: 100%;
}
.akKonfigurator .elementor-field-type-upload .emptyit {
    -ms-flex-preferred-size: 20px;
    max-width: 20px;
    flex-basis: 20px;
    height: 20px;
    padding: 0;
    background-color: transparent;
    color: var( --e-global-color-text );
    position: absolute;
    right: 5px;
    border: 0;
    height: auto;
    top: 1.2em;
    transform: translateY(-50%);
}

.akKonfigurator .elementor-form-fields-wrapper.elementor-labels-above .elementor-field-group>input[type="file"] {
    -ms-flex-preferred-size: calc(100% - 20px);
    max-width: calc(100% - 20px);
    flex-basis: calc(100% - 20px);
}

.akKonfigurator .elementor-field-required > label:after {
    content: "*";
    margin-left: 0.25em;
    color: #ed4337;
    font-weight: bold;
}

.akKonfigurator a {
    border-bottom: 1px solid var( --e-global-color-accent );
    line-height: normal;
}

.akKonfigurator form > div.elementor-message {
    order: 1;
    border: 1px solid;
    padding: 15px;
    background-color: var( --e-global-color-accent );
}

.akKonfigurator form {
    display: flex;
    flex-flow: wrap;
    flex-direction: column;
}

.akKonfigurator form > div {
    order: 2;
}
.akKonfigurator .elementor-field-type-step:has(.elementor-field-required):after {
    content: "* = Pflichtfeld";
    font-weight: bold;
    margin-top: 0.5em;
    /* padding-right: calc(10px / 2);
    padding-left: calc(10px / 2); */
    order: 3;
}


.akKonfigurator fieldset {
    border-color: var(--e-form-steps-indicator-inactive-primary-color);
    border-width: 1px;
    margin: 0;
}

.akKonfigurator .elementor-field-group[class*="elementor-field-group-field_akbildoption_"] legend {
    background-color: var(--e-global-color-accent);
    text-align: center;
    font-weight: normal;
    border: 1px solid var(--e-global-color-text);
    border-bottom: 0;
    position: absolute;
    top: 0;
    left: 5px;
    right: 5px;
    max-width: 100%;
    width: calc(100% - 10px);
    z-index: 9;
    box-sizing: border-box;
}

.akKonfigurator .elementor-field-group[class*="elementor-field-group-field_akbild"] fieldset {
    margin: 0;
    padding: 0;
    width: 100%;
}

.akKonfigurator .elementor-field-group[class*="elementor-field-group-field_akbild_"] fieldset {
    border: 0;
}

.akKonfigurator .elementor-field-group[class*="elementor-field-group-field_akbildoption_"] fieldset .elementor-field-subgroup.elementor-subgroup-inline {
    border: 0;
}

.akKonfigurator .elementor-field-group[class*="elementor-field-group-field_akbild_"] legend {
    display: none;
}

