/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/*
    Created on : 28.08.2020, 10:50:59
    Author     : Herz
*/
.bildpopup img{
    cursor:pointer;

}
.bildpopup{
    position:relative;
}
.bildpopup:before{
    content: "\f00e";
    font-family: 'Font Awesome 5 Pro';
    font-weight: 300;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    font-size:1.5em;
    margin-right:4px;
    position:absolute;
    bottom:10px;
    right:10px;
    color: var(--primaryColor);
    opacity:.5;
    transition:all .4s;
}
.bildpopup:hover:before{
    font-size:2.5em;
    opacity:1;
}
/* Popup CSS */
.popup_under{
    position:fixed;
    top:0px;
    bottom:0px;
    left:0px;
    right:0px;
    background-color:rgba(0,0,0,.7);

    display:grid !important;
    grid-template-columns: 1fr;
    grid-template-areas: 'text';
    justify-items:center;
    align-items: center;
    align-content: center; /* extra fuer safari */
    z-index:830;
}
.popup_under .closer{
    position:fixed;
    top:10px;
    right:10px;
    background-color:white;
    padding:5px;
    color: var(--primaryColor);
    cursor:pointer;
    -webkit-border-radius: 200px;
    -moz-border-radius: 200px;
    border-radius: 200px;
    width: 50px;
    height: 50px;
    padding: 5px;
    padding-top: 11px;
    text-align:center;
    z-index:999;
}
.popup_under .closer i{
    font-size:2em;
}
.popup_under .inhalt{
    grid-area:text;
    z-index:831;
    /*    height:1000px;
        max-height:100%;*/
}
.popup_under > .inhalt,
.popup_under .inhalt img{
    width:auto;
    max-width:100vw;
    height:auto;
    max-height:100vh;
}
