.dialogbox {
    border: 1px solid #4d4d4d;
    margin: 5px;
    padding: 3px;
    background-color: #ccc;
    font-size: small;
}

.frontPageTeaser {
	display: inline-block;
    position: relative;
    width: 24%;
    height: 0;
    padding-bottom: 25%;
}

.frontPageTeaser .teaserImage {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #333333;
    margin: auto;
    display: block;
    width: 95%;
    height: 100%;
    right: 0;
    overflow: hidden;
    border-radius: 10px;
}

.frontPageTeaser .teaserAvg {
    position: absolute;
    top: 5px;
    right: 5px;
    font-weight: bold;
    color: #505050;
    text-shadow: 0px 0px 6px #ffffff;
}

.frontPageTeaser .teaserImage img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.frontPageTeaser .teaserTitle {
	z-index: 2;
	position: absolute;
	bottom: 0;
	padding: 15px 5px 5px 5px;
	font-weight: bold;
	color: #ffffff;
	background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.65) 100%);
	background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%);
	background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#a6000000',GradientType=0 );
	width: 100%;
	box-sizing: border-box; /* This prevents the padding from making the width larger than the container */
}

.artImage {
    float:right;
}
