.amspage-news-related{
    width: 48%;
    margin-bottom: 32px;
}

.amspage-news-related-title{
    margin-bottom: 2px;
}

.amspage-news-related-title a{
    font-size: 1.8rem;
    color: #323232;
    line-height: 1.2;
}
.amspage-news-related-pictext{
    display: flex;
    height: 120px;
}
.amspage-news-related-img{
    width: 100%;
    max-width: 180px;
}
.amspage-news-related-img img{
    width: 100%;

}

.amspage-news-related-text{
    width: 100%;
    padding-left: 10px;
    height: 100%;
    overflow: hidden;
    position: relative;
}
.amspage-news-related-text a {
   height: 100%;
   color: #323232;
}

/*------------------------------------------------------------------*/
.amsrelated-box-2{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    /*margin-top: 20px;*/
    margin-top: 0;
    border-top: none;
    float: none;
    clear: both;
}

.amsrelated-box-2>div:nth-child(even) .amsrelated-2-page-text{
    background-color: grey;
}
.amsrelated-box-2>div:nth-child(odd) .amsrelated-2-page-text{
    background-color: #d20a11;
}

.amsrelated-2-fotopage{
    display: flex;
    flex-direction: column;
    position: relative;
    margin-bottom: 30px;
    width: 290px;
}
.amsrelated-2-fotopage-img img{
    width: 100%;
    height: auto;
}
.amsrelated-2-fotopage-title{
    /*width: 100%;*/
    /*height: 20px;*/
    display: flex;
    align-items: center;
    /*padding-left: 10px;*/
    position: absolute;
    bottom: 0;
}
.amsrelated-2-fotopage-title a{
    color:white;
    font-size: 18px;
    margin: 0;
    display: flex;
    align-items: center;
    padding: 5px 10px;
    line-height: 1.1;
}

.amsrelated-2-fotopage:nth-child(even) .amsrelated-2-fotopage-title{
    background-color: grey;
}
.amsrelated-2-fotopage:nth-child(odd) .amsrelated-2-fotopage-title{
    background-color: #d20a11;
}

/********************************************************************************************************/
.amsrelatedbox2020_wrapper{
    border-top: 0px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    background-color: #d9dadc;
    margin-left: -50px;
    margin-right: -50px;
    padding: 10px 0;
}

.news-list-view.amsrelatedbox2020_wrapper{
    background-color: white;
    margin-left:0 !important;
    margin-right: 0 !important;
}

.amsrelatedbox2020{
    /*width: 300px;*/
    width: 245px;
    /*height: 400px;*/
    height: 330px;
    margin-right: 6px;
    margin-right: 0;
    float: left;
    background-color: white;
    margin-top: 0;
    margin-bottom: 10px;

}
.amsrelatedbox2020_wrapper{
    margin-bottom: -20px !important;
    padding-bottom: 20px;
}

.amsrelatedbox2020 a{
    color: #323232;
}
.amsrelatedbox2020 a:hover{
    color: #d20a11;
}

.amsrelatedbox2020_title {
    /*font-size: 16px;
    font-size: 24px;*/
    font-size: 18px;
    line-height: 120%;
}

.amsrelatedbox2020_subtitle {
    /*font-size: 14px;
    font-size: 17px;*/
    font-size: 12px;
    line-height: 140%;
}

.amsrelatedbox2020_inner {
    display: flex;
    flex-direction: column;
    /*justify-content: space-between;*/
    height: 100%;
}

.amsrelatedbox2020_links {
    width: 100%;
}

.amsrelatedbox2020_links img:not(:first-child) {
    display: none;
}

.amsrelatedbox2020_links img {
    max-width: 100%;
    display: block;
    height: auto;
    max-height: 100%;
    width: auto;
}

.amsrelatedbox2020_rechts {
    width: 100%;
    padding: 10px;
    max-height: 186px;
    position: relative;
    height: 100%;
    overflow: hidden;
}

.amsrelatedbox2020_farbbalkentext {
    position: relative;
    display: flex;
    align-items: center;
    height: 32px;
    width: 80%;
    margin-top: -16px;
    padding-left: 10px;
    color: white;
    background-color: #d20a11;
    background-color: white;
    background-color: transparent;
    font-size: 12px;
    line-height: 114%;
}

.tx-mbonrelated-pi1{
    border: none !important;
}



.amspage_content.subpage .news-list-view.amsrelatedbox2020_wrapper {
    display: block;
    margin-left: -50px;
    margin-right: -50px;
}
.news-list-view.amsrelatedbox2020_wrapper .mbon_quickgallery_nav {
    padding: 8px 15px;
    width: 100%;
}
/*.amsrelated-2-page-text a{
    color: grey !important;
}*/


/****** mbon Related pi2 ***************/
.mbonrelatedpi2{
    width: auto;
    margin-left: -50px;
    margin-right: -50px;
    background-color: #d9dadc;
    padding-top: 10px;
}

.amsrelated-pi2-article {
    display: flex;
    flex-direction: column;
    background-color: white;
    width: 243px;
    margin-bottom: 10px;
}

.amsrelated-pi2-article a{
    color: black;
}

.amsrelated-pi2-article a:hover{
    color: #d20a11;
}

.amsrelated-pi2-article-left {
    height: calc(243px * 2 / 3);

    object-fit: cover;
}

.amsrelated-pi2-article-left img{
    max-width: 100%;
    max-height: 100%;
    min-width: 100%;
    width: auto;
    height: auto;
}

.amsrelated-pi2-article-right{
    height: calc(210px * 2 / 3);
    padding: 10px;
    overflow: hidden;
    position: relative;
}

.amsrelated-pi2-article-title{
    font-size: 24px;
    font-size: 20px;
    line-height: 120%;
    margin-top: 0;
    margin-bottom: 10px;
}

.amsrelated-pi2-article-text {
    font-size: 17px;
    font-size: 14px;
    line-height: 140%;
}



/********************************************************************************************************/


/* POLIZEIBOXEN */
.polnews1 .news .amsrelated-box-2>div:first-child{
    height: 205px;
}
.polnews1 .news .amsrelated-box-2>div:last-child{
    height: 195px;
}

.related_galleries {
    clear: both;
}

.related_galleries .amsrelated-box-2 {
	margin-top: 25px;
}


/*------------------------------------------------------------------*/
/* 2nd Auflösung 610-919                                            */
/*------------------------------------------------------------------*/
@media (max-width: 919px) {
    .amsrelated-2-fotopage{
        width: 280px;
    }

    .amsrelatedbox2020{
        margin-bottom: 20px;
        width: 45%;
    }
    .amsrelatedbox2020_wrapper{
        margin-left: -15px;
        margin-right: -15px;
        justify-content: space-between;
        margin-bottom: -22px !important;
    }
    .news-list-view.amsrelatedbox2020_wrapper{
        margin-bottom: -20px !important;
    }


    .amspage_content.subpage .news-list-view.amsrelatedbox2020_wrapper {
        margin-left: -15px;
        margin-right: -15px;
    }

    .amsrelated-box-2.mbonrelatedpi2{
        margin-left: -15px;
        margin-right: -15px;
        justify-content: space-between;
    }
    .amsrelated-pi2-article {
        display: flex;
        flex-direction: column;
        background-color: white;
        width: 300px;
        margin-bottom: 10px;
    }
    .amsrelated-pi2-article-left {
        height: calc(300px * 2 / 3);
        object-fit: cover;
    }

    .amsrelated-pi2-article-right{
        height: calc(300px * 2 / 3);
        padding: 10px;
        overflow: hidden;
        position: relative;
    }
}

/*------------------------------------------------------------------*/
/* 3rd Auflösung 0-609                                              */
/*------------------------------------------------------------------*/
@media (max-width: 609px) {
    .amsrelatedbox2020{
        margin-bottom: 10px;
        max-width: 100%;
        width: 100%;
        height:auto;
    }

    /*.amsrelatedbox2020_wrapper{
        background-color: #d9dadc;
        margin-left: -50px;
        margin-right: -50px;
    }*/
    .amsrelatedbox2020_wrapper,
    .news-list-view.amsrelatedbox2020_wrapper{
        background-color: #d9dadc;
        margin-left:0 !important;
        margin-right: 0 !important;
        margin-bottom: -22px !important;
    }
    .news-list-view.amsrelatedbox2020_wrapper p{
        padding-left: 0;
    }

    .amsrelatedbox2020_wrapper.mbonrelatedpi3 {
        width: 100%;
    }


    .amsrelatedbox2020 .amsrelatedbox2020_inner{
        flex-direction: row;
    }
    .amsrelatedbox2020 .amsrelatedbox2020_farbbalkentext{
        margin-top: 0;
        width: 100%;
    }

    .amsrelatedbox2020 .amsrelatedbox2020_rechts{
        /*height: calc(50vw * 2 / 3 + 32px);*/
        max-height: calc(50vw * 2 / 3 + 20px);
    }
    .amsrelatedbox2020 .amsrelatedbox2020_title{
        font-size: 17px;
    }
    .amsrelatedbox2020 .amsrelatedbox2020_subtitle,
    .amsrelatedbox2020 .amsrelatedbox2020_text{
        font-size: 13px;
    }


    .amsrelatedbox2020_wrapper{
        margin-left: 0;
        margin-right: 0;
        justify-content: space-between;
    }

    .amsrelated-2-fotopage{
        width: 100%;
    }
    .amspage-news-related{
        width: 100%;
    }

    .amspage-news-related-title {
        padding: 0 10px;
    }
    .amspage-news-related-text{
        padding-right: 10px;
    }

    .polnews1 .news .amsrelated-box-2>div:first-child{
        height: auto;
    }
    .polnews1 .news .amsrelated-box-2>div:last-child{
        height: auto;
    }
    
    .amsrelated-2-fotopage-title{
	    width: 100%;
	    /*height: 20px;*/
	    display: flex;
	    align-items: center;
	    /*padding-left: 10px;*/
	    position: absolute;
	    bottom: 0;
	}
    .amspage_content.subpage .news-list-view.amsrelatedbox2020_wrapper {
        display: block;
        margin-left: 0;
        margin-right: 0;
    }

    .amsrelated-box-2.mbonrelatedpi2{
        margin-left: 0;
        margin-right: 0;
        justify-content: space-between;
    }
    .amsrelated-pi2-article {
        display: flex;
        flex-direction: row;
        background-color: white;
        width: 100%;
        margin-bottom: 10px;
    }
    .amsrelated-pi2-article-left {
        /*width: 50%;*/
        width: 180px;
        height: 120px;
    }

    .amsrelated-pi2-article-right{
        /*width: 50%;*/
        width: calc(100% - 180px);
        height: 120px;
    }
    .amsrelated-pi2-article-title{
        font-size: 16px;
    }
    .amsrelated-pi2-article-text {
        font-size: 13px;
    }
}




