/* Fixes */

.dipi_image_accordion_wrapper {
    overflow: hidden;
}


/* Fixes */


/* Parent Styles */

.dipi_image_accordion_wrapper {
    width: 100%;
    position: relative;
    height: 50vh;
    display: flex;
    flex-direction: column;
}

/* Child Styles */
.dipi_image_accordion_child .dipi-ia-image-bg{
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.dipi_image_accordion_child {
    position: relative;
    flex: 1 0 auto;
    -ms-flex: 1 0 auto;
    text-align: center;
    text-decoration: none;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: flex .4s ease-in-out;
    margin-bottom: 0 !important;
    overflow: hidden;
}

.dipi_clickable .dipi_image_accordion_child {
    cursor: pointer;
}

.dipi_image_accordion_child.dipi-active {
    flex: 5 0 auto;
}

.dipi_image_accordion_bg, 
.dipi_image_accordion_bg_hover {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transition: all .4s ease-in-out;
}

.dipi_image_accordion_child.dipi-active .dipi_image_accordion_bg.dipi_hide_on_hover,
.dipi_image_accordion_child:hover .dipi_image_accordion_bg.dipi_hide_on_hover,
.dipi_image_accordion_bg_hover {
    opacity: 0;
}

.dipi_image_accordion_bg,
.dipi_image_accordion_child.dipi-active .dipi_image_accordion_bg_hover,
.dipi_image_accordion_child:hover .dipi_image_accordion_bg_hover {
    opacity: 1;
}

.dipi_image_accordion_child .dipi-accordion-content {
    opacity: 0;
    position: relative;
    transform: translateY(30px);
    transition: all .1s;
}

.dipi_image_accordion_child.dipi-active .dipi-accordion-content {
    opacity: 1;
    transform: translateY(0);
    transition: all .5s ease-in-out .2s !important;
}
.dipi_image_accordion_child .dipi-ia-image-bg,
.dipi_image_accordion_child>div {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute !important;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transition: background-color .5s;
}

.dipi_image_accordion_child .dipi-accordion-image-icon {
    opacity: 0;
    transition: all .1s;
}

.dipi_image_accordion_child.dipi-active .dipi-accordion-image-icon {
    opacity: 1;
    margin-bottom: 15px;
    transition: all .5s ease-in-out .3s;
}

.dipi_image_accordion_child .dipi-accordion-image-icon>img {
    border-style: solid;
    height: auto;
}

.dipi_image_accordion_child .dipi-accordion-title {
    opacity: 0;
    font-size: 22px;
    color: #333;
    padding-bottom: 10px;
    line-height: 1em;
    font-weight: 500;
    transition: all .1s;
}

.dipi_image_accordion_child.dipi-active .dipi-accordion-title {
    opacity: 1;
    transition: all .5s ease-in-out .3s;
}


/* FIXME: Was macht das? */

.dipi_image_accordion_child .dipi-accordion-description {
    opacity: 0;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5em;
    margin-bottom: 20px;
    transition: all .1s;
}

.dipi_image_accordion_child.dipi-active .dipi-accordion-description {
    opacity: 1;
    transition: all .5s ease-in-out .3s;
}

.dipi_image_accordion_child .dipi-accordion-button-wrap {
    opacity: 0;
    transition: all .1s;
}

.dipi_image_accordion_child.dipi-active .dipi-accordion-button-wrap {
    opacity: 1;
    transition: all .5s ease-in-out .3s;
}


/*.dipi_image_accordion_child .dipi_accordion_button {
    display: flex;
    width: fit-content;
    width: -moz-fit-content;
    margin: auto;
    align-items: center;
}
.dipi_image_accordion_child .dipi_accordion_button:after {
    right: 1.4em;
    font-size: inherit !important;
}
.dipi_image_accordion_child .dipi_accordion_button:hover:after {
    right: 1em;
}*/


.dipi-align-horizontal-left,
.dipi-align-horizontal-center,
.dipi-align-horizontal-right,
.dipi-align-vertical-top,
.dipi-align-vertical-center,
.dipi-align-vertical-bottom {
    display: flex;
    width: 100%;
    height: 100%;
    /* Fix for Hover Gradient */
    z-index: 20;
}

.dipi-align-horizontal-left {
    justify-content: flex-start;
}

.dipi-align-horizontal-center {
    justify-content: center;
}

.dipi-align-horizontal-right {
    justify-content: flex-end;
}

.dipi-align-horizontal-left .dipi-accordion-content {
    text-align: left;
}

.dipi-align-horizontal-center .dipi-accordion-content {
    text-align: center;
}

.dipi-align-horizontal-right .dipi-accordion-content {
    text-align: right;
}

.dipi-align-vertical-top {
    align-items: flex-start;
}

.dipi-align-vertical-center {
    align-items: center;
}

.dipi-align-vertical-bottom {
    align-items: flex-end;
}