/* -- popup -- */

.modalBox{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    background: rgba(0, 0, 0, 0.7);
    transition: opacity 500ms;
}
#erstinformiert:target{
    visibility: visible;
    opacity: 1;
}
#erstinformiert:target:before{
    display: none;
}
#erstinformiert:before{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 20;
    
    content:"";
    background: rgba(0, 0, 0, 0.7);
    transition: opacity 500ms;

    opacity: 0;
    visibility: hidden;    

    display: flex;
    align-items: center;
    justify-content: center;

}
.modalDialog{
    position: fixed;
    left: 48%;
    top: 50%;
    transform: translate(-50%, -50%);
    max-width: 440px;
    min-width: 200px;
    width: auto;
    z-index: 21;

    border: #333333 solid 1px;
    border-radius: 5px;
    background: #fefefe;
/*
    -webkit-transform: translate(0, 0);
    -ms-transform: translate(0, 0);
    transform: translate(0, 0);
    -webkit-transition: -webkit-transform 0.3s ease-out;
    -moz-transition: -moz-transform 0.3s ease-out;
    -o-transition: -o-transform 0.3s ease-out;
    transition: transform 0.3s ease-out;
*/
}
.modalBox:target .modalDialog{
    top: -100%;
    -webkit-transform: translate(0, -500%);
    -ms-transform: translate(0, -500%);
    transform: translate(0, -500%);
}
.modalDialogBody {
    padding: 20px;
}
.modalDialogHeader, .modalDialogFooter{
    padding: 10px 20px;
}
.modalDialogHeader{
    border-bottom: #eeeeee solid 1px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.modalDialogHeader h2{
    font-size: 20px;
}
.modalDialogFooter{
    border-top: #eeeeee solid 1px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.btnClose{
    color: #aaaaaa;
    font-size: 30px;
    text-decoration: none;
    width: 40px;
    text-align: center;
}
.btnClose:hover{
    color: #919191;
}
.btn{
    position: relative;
    min-width: 60px;
    padding: 8px 15px;
    background: #428bca;
    border: #357ebd solid 1px;
    border-radius: 3px;
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    text-align: center;
    transition: color .1s ease;
    display: inline-block;
}
.btn:hover{
    background: #357ebd;
}