.overlay {
    height: 0%;
    width: 100%;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0, 0.9);
    overflow-y: hidden;
	/*overflow-y:auto;*/
    transition: 0.5s;
}

.overlay-content {
    position: relative;
    top: 25%;
    width: 100%;
    text-align: left;
    margin-top: 30px;
    color: #bbbebf;
    padding: 0 25%;
	
	height: 100%;
	overflow-y:auto;
}

.overlay-content.referenzen {
    position: relative;
    top: 0%; 
    width: 100%;
    text-align: left;
    margin-top: 30px;
    color: #bbbebf;
    padding: 0 25%;
    height: 100%;
    /* overflow-y: scroll; */
    padding: 5em;
}

.overlay-content  b {
    /*color: #ff7065;*/
	color:#bbbebf;
    font-weight: bold;
}

.overlay-content  strong {
    /*color: #ff7065;*/
	color:white;
    font-weight: bold;
}

.overlay a {
    padding: 8px;
    text-decoration: none;
    font-size: 36px;
    color: #818181;
    display: block;
    transition: 0.3s;
}

.overlay a:hover, .overlay a:focus {
    color: #f1f1f1;
}

.overlay .closebtn {
	border-bottom: none;
    position: absolute;
    /*top: 20px;*/
	top: 1.1em;
    /*right: 45px;*/
	    left: 15px;
    font-size: 60px;
	z-index: 100000000000;
}

.rndwhite{
	background-color:white;
}

.modHeader
{
	margin-bottom: 0.5em;
	text-align: center;
}
div.modHeader .icon.alt:before {
    color: #ff7065 !important;
    text-shadow: 1px 0 0 #ff7065, -1px 0 0 #ff7065, 0 1px 0 #ff7065, 0 -1px 0 #ff7065;
}

@media screen and (max-height: 450px) {
  .overlay {
	overflow-y: auto;
	margin-top: 2em;
	}
  .overlay a {font-size: 20px}
  .overlay .closebtn {
    font-size: 40px;
    /*top: 15px;*/
	top: 1em;
    /*right: 35px;*/
	left: 15px;
	z-index:10000;
  }
  
  .overlay-content {
    position: relative;
    top: 5%;
    width: 100%;
    text-align: left;
    margin-top: 30px;
    color: #bbbebf;
    padding: 0 25%;
	
	height: 100%;
	overflow-y:scroll;
}
  
}

@media screen and (max-width: 480px){
.overlay-content {

    padding: 0 1em;
}

.overlay-content{
	overflow-y:scroll;
}

.overlay-content {
    position: relative;
    top: 5%;
    width: 100%;
    text-align: left;
    margin-top: 30px;
    color: #bbbebf;
    padding: 0 25%;
	
	height: 100%;
	/*overflow-y:scroll;*/
}

}