/* ===========
GUTENBERG BLOCK - ACCORDEON 
============== */

.layout-content > div.wp-block-lazyblock-accordeon:not(:last-child) {
    margin-bottom: 20px;
}

.accordeon-wrapper {
    max-width: 1024px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 0;
    overflow: hidden;
}

.accordeon-wrapper input.hidden-input {
    position: absolute;
    opacity: 0;
    z-index: -1;
    width: 0;
    height: 0;
}

.accordeon-wrapper .accordeon-title {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 15px 30px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    position: relative;
    border: 1px solid transparent;
    font-weight: 600;
}

.accordeon-wrapper:hover .accordeon-title {
    border: 1px solid;
}

.style-border-headline.accordeon-wrapper .accordeon-title::before {
    content: "";
    -webkit-transform-origin: 100% 50%;
    -ms-transform-origin: 100% 50%;
    transform-origin: 100% 50%;
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
    -webkit-transition: -webkit-transform 0.3s;
    transition: -webkit-transform 0.3s;
    -o-transition: transform 0.3s;
    transition: transform 0.3s;
    transition: transform 0.3s, -webkit-transform 0.3s;
    background: #0d5641;
    width: 100%;
    height: 1px;
    position: absolute;
    bottom: 0px;
    left: 0;
    top: auto;
}

.style-border-headline.accordeon-wrapper .accordeon-title:hover::before {
    -webkit-transform: scale3d(0, 1, 1);
    transform: scale3d(0, 1, 1);
}

.accordeon-wrapper .accordeon-title i {
    font-size: 1.5em;
    -webkit-transition: -webkit-transform 0.4s;
    transition: -webkit-transform 0.4s;
    -o-transition: transform 0.4s;
    transition: transform 0.4s;
    transition: transform 0.4s, -webkit-transform 0.4s;
}

.accordeon-wrapper .accordeon-title .bh-bodytext * {
    margin-bottom: 0;
}

.accordeon-wrapper .accordeon-content {
    max-height: 0;
    padding: 0 30px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    color: #2c3e50;
    -webkit-transition: padding 0.4s, max-height 0.4s;
    -o-transition: padding 0.4s, max-height 0.4s;
    transition: padding 0.4s, max-height 0.4s;
    overflow: hidden;
}

.accordeon-wrapper input.hidden-input:checked + .tab-label {
    background: #1a252f;
}

body.bhe-state-editing .accordeon-content,
.accordeon-wrapper input.hidden-input:checked ~ .accordeon-content {
    max-height: 1700px !important;
    padding: 30px;
}

.accordeon-wrapper input.hidden-input:checked ~ .accordeon-title i {
    -webkit-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    transform: rotate(-90deg);
}

body.bhe-state-editing .accordeon-content {
    overflow: visible;
}

@media screen and (max-width: 550px) {
    .accordeon-wrapper .accordeon-title {
        padding: 15px 20px;
    }

    .accordeon-wrapper input.hidden-input:checked ~ .accordeon-content {
        padding: 20px;
    }

    .accordeon-wrapper .accordeon-content {
        padding: 0 20px;
    }

    /* .layout-content>div.wp-block-lazyblock-accordeon:not(:last-child) {
    margin-bottom: 10px;
  } */
}
