/*** Layout für WebTools-Config ***/

.webtools-datatab {

}

.webtools-datatab tr td {
    padding-right: 8px;
    vertical-align: top;
}

.webtools-datatab table tr td {
    line-height: 20px;
}

.webtools-map {
    width: 100%;
    height: 100%;
}

.webtools-icon {
    width: 40px;
    height: auto;
}

.webtools-icon-sm {
    width: 25px;
    height: auto;
}

/* The popup bubble styling. */
.popup-bubble {
    /* Position the bubble centred-above its parent. */
    position: absolute;
    top: 0;
    left: 0;
    transform: translate(-50%, -100%);
    /* Style the bubble. */
    background-color: white;
    padding: 5px;
    border-radius: 5px;
    font-family: sans-serif;
    overflow-y: auto;
    max-height: 60px;
    box-shadow: 0px 2px 10px 1px rgba(0,0,0,0.5);
}
/* The parent of the bubble. A zero-height div at the top of the tip. */
.popup-bubble-anchor {
    /* Position the div a fixed distance above the tip. */
    position: absolute;
    width: 100%;
    bottom: /* TIP_HEIGHT= */ 8px;
    left: 0;
}
/* This element draws the tip. */
.popup-bubble-anchor::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    /* Center the tip horizontally. */
    transform: translate(-50%, 0);
    /* The tip is a https://css-tricks.com/snippets/css/css-triangle/ */
    width: 0;
    height: 0;
    /* The tip is 8px high, and 12px wide. */
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: /* TIP_HEIGHT= */ 8px solid white;
}
/* JavaScript will position this div at the bottom of the popup tip. */
.popup-container {
    cursor: auto;
    height: 0;
    position: absolute;
    /* The max width of the info window. */
    width: 200px;
}

.frame-well {
    background-color:
            rgba(0,0,0,0.05);
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.ecm-image {
    fill: white;
}

.grid_iconbox_img .ecm-image {
    fill: black;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-top: -6px;
}

.material-switch {
    display: inline-block;
    margin-right: 10px;
}

.material-switch > input[type="checkbox"] {
    display: none;
}

.material-switch > label {
    cursor: pointer;
    height: 0px;
    position: relative;
    width: 40px;
    background-color: green;
}

.material-switch > label::before {
    background: rgb(0, 0, 0);
    box-shadow: inset 0px 0px 10px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    content: '';
    height: 16px;
    margin-top: -8px;
    position:absolute;
    opacity: 0.3;
    transition: all 0.4s ease-in-out;
    width: 40px;
}
.material-switch > label::after {
    background: rgb(255, 255, 255);
    border-radius: 16px;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
    content: '';
    height: 24px;
    left: -4px;
    margin-top: -8px;
    position: absolute;
    top: -4px;
    transition: all 0.3s ease-in-out;
    width: 24px;
}
.material-switch > input[type="checkbox"]:checked + label::before {
    background: inherit;
    opacity: 0.5;
}
.material-switch > input[type="checkbox"]:checked + label::after {
    background: inherit;
    left: 20px;
}

/*** Config END ***/


/* Sortimentsanzeige */
.wt_assortment .imagetextkasten {
    margin-top: -20px;
    margin-left: 40px;
    background-color: #e8e8e8;
    height: 35px;
}
.wt_assortment .imagetext {
    color: #032950;
    font-size: 16px;
    font-weight: 400;
    line-height: 30px;
}

.wt_assortment .card {
    position: relative;
}

.wt_assortment .card .legende {
    position: absolute;
    opacity: 0;
    text-align: left;
    color: white;
    overflow: hidden;
    transition: opacity 0.7s ease-in-out;
    padding: 12px;
    font-size: 10pt;
}

.wt_assortment .card .imagetextkasten {
    z-index: 999;
}

.wt_assortment .card .card-img-top {
    filter: brightness(1);
    transition: filter 0.7s ease-in-out;
}

.wt_assortment .card:hover .card-img-top {
    filter: brightness(0.3);
    transition: all 0.7s ease-in-out;
}

.wt_assortment .card:hover .legende {
    opacity: 1;
    transition: all 0.7s ease-in-out;
}

.wt_assortment .ecm-back {
    text-align: left;
    color: white;
    overflow: hidden;
    padding: 12px;
    font-size: 10pt;
}

.wt_assortment .ecm-back .content {
    text-align: left;
}

.wt_assortment.ecm-animation-kipp img {
    height: auto;
}

/* videos */
.tx-webtools wt_video {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}

.tx-webtools iframe,
.tx-webtools object,
.tx-webtools embed,

 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}

.webtools-videoconsent {
    position: relative;
}

