/* * * * * * * * * * * * * * * * * * * */
/*                                     */
/*            MULTI-POPUP.CSS          */
/* Artikelseiten mit mehreren Bildern  */
/*                                     */
/* * * * * * * * * * * * * * * * * * * */
img {
    display: inline-flex;
    max-width: 95%;
    /*    braucht mn das?   */
}

img.pic_imtext {
    float: left;
    padding-right: 10px;
    padding-top: 8px;
}

figure.pic_imtext_q,
figure.pic_imtext_h {
    float: right;
    margin-left: 10px;
    margin-right: 0;
    margin-top: 8px;
    margin-bottom: 2px;
    max-width: 100%;
}

/*figure.pic_imtext_h img {
    max-width: 100%;

}*/

/* +++ neu für pic_imtext_h +++ */

figure.pic_imtext_q img {
    max-width: 300px;
    float: right;
    /*xmargin-left: 10px;*/
    margin-right: 0 !important;
    margin-top: 8px;
    padding-bottom: 8px;
}

figure.pic_imtext_h img {
    max-width: 240px;
    float: right;
    margin-left: 10px;
    margin-right: 0 !important;
    margin-top: 8px;
    /*ymargin-bottom: 20px;*/
}

figure.pic_imtext_h figcaption {
    float: right;
    background: none;
    font-family: sans-serif !important;
    font-weight: 300;
    font-size: 0.9em;
    text-align: center;
    color: #000;
    width: 238px;
    border: 1px solid #ccc;
    border-top: none;
}

figure.pic_imtext_q figcaption {
    background: none;
    font-family: sans-serif !important;
    font-weight: 300;
    text-align: center;
    color: #000;
    margin-top: 10px;
    padding-bottom: 10px;
    font-size: 0.9em;
    line-height: 0.8;
    border: 1px solid #ccc;
    width: 298px;
}

figcaption::after {
    content: "\00A0 \00A0 \00A0" url("../../../tec_img/lupe_icon.png");
}

/*********** Abschnitt My Image *********/

#myImg {
    /*  border-radius: 5px;*/
    cursor: pointer;
    transition: 0.3s;
    float: left;
    margin-right: 10px;
}

#myImg:hover {
    opacity: 0.7;
}

/*#.tooltip{
    
}*/

.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 3;
    /* Sit on top */
    padding-top: 60px;
    /* Location of the box */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 120%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    /*background-color: rgb(0, 0, 0);*/
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.9);
    /*    opacity: 0.99*/
}

/*.modal-content {
    margin: auto;
    display: block;
    max-width: 800px;
    max-height: 800px;
}*/

#caption {
    font-family: sans-serif;
    margin: auto;
    display: block;
    width: 100%;
    max-width: 800px;
    text-align: left;
    font-size: 0.95em;
    line-height: 1.4;
    color: black;
    background: #fff;
    padding: 0;
    position: relative;
    top: -110px;
}

/*figure.pic_imtext_q #caption{
    color:red;
    text-align:center!important;
}

figure.pic_imtext_h #caption{
    color:red;
    text-align:center!important;
}

.modal-content,
#caption {
    animation-name: zoom;
    animation-duration: 0.6s;
}*/

@keyframes zoom {
    from {
        transform: scale(0);
    }

    to {
        transform: scale(1);
    }
}

.close {
    position: absolute;
    top: 35px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

@media only screen and (max-width: 700px) {
    .modal-content {
        width: 100%;
    }
}
