/******************************

    Rounded Theme List
    Die Rounded Theme list, funktioniert ähnlich wie die normale Theme list, allerdings
    zeigt sich Beitragsbilder Rund und nicht im Eckigen 16:9 Format an
    Außerdem werden die einzelnen Elemente in der Mobilen Ansicht untereinander
    gestapelt.
    Das Template befindet sich in parts/rounded-theme-list.php

******************************/

.rounded-theme-list .h40 {
    margin-bottom: 56px;
}


.rounded-theme-list-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 550px;
}

@media (min-width: 769px) {
    .rounded-theme-list-item .item-teaser p{
        min-height: 120px;
    }
    .rounded-theme-list-item .item-roof p{
        min-height: 0px;
    }
}


.rounded-theme-list-item .item-roof, .rounded-theme-list-item .item-roof p {
    width: 100%;
}

.rounded-theme-list-item .item-teaser ,.rounded-theme-list-item .item-teaser  p{
    text-align: center;
    width: 100%;
}

.rounded-theme-list-item .item-img {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
}

.rounded-theme-list-item .item-img-tg {

    width: 200px;
    height: 200px;
    object-fit: contain;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;

}

.theme-list-contant {
    width: 100%;
}

.rounded-theme-list-item .item-mobile {
    display: none;
}

.theme-list-contant {
    display: inline-flex;
    flex-direction: column;
    align-content: center;
  /*  width: 100%; */
    text-align: center;
    height: unset;
    flex-grow: 0;
}

.theme-list-contant div {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
}

@media (max-width: 1440px) {
    .rounded-theme-list-item .item-img {
        width: 200px;
        height: 200px;
    }
	
	    .rounded-theme-list-item .item-img-tg {
        width: 200px;
        height: 200px;
    }
    .rounded-theme-list-item .item-teaser {
        font-size: 16px;
        line-height: 23px;
    }
    .rounded-theme-list-item  {

    }
    .rounded-theme-list .h40 {
        margin-bottom: 56px;
    }
}

@media (max-width: 768px) {
    .rounded-theme-list .item-img {
        width: 190px;
        height: 190px;
    }
	    .rounded-theme-list .item-img-tg {
        width: 190px;
        height: 190px;
    }
}

@media (max-width: 700px) {

    .col-sm-4 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 33.333333%;
        flex: none;
        max-width: unset;
    }

    .rounded-theme-list-item .item-img {
        height: 74px;
        width: 74px;
        min-width: 74px;
    }
	
	    .rounded-theme-list-item .item-img-tg {
        height: 74px;
        width: 74px;
        min-width: 74px;
    }

    .rounded-theme-list-item .item-roof, .rounded-theme-list-item .item-teaser, .rounded-theme-list-item .item-link {
        display: none;
    }

    .rounded-theme-list-item .item-mobile {
        display: inline-block;
        margin-left: 16px;
        margin-bottom: 32px;
        flex-grow: 1;
    }
    .rounded-theme-list-item .item-mobile div{
        display: block;
        text-align: left;
        margin-bottom: 8px;
    }

    .rounded-theme-list-item {
        height: unset;
        display: flex;
        flex-direction: row;
        align-items: flex-start;
    }

    .rounded-theme-list-item .item-teaser {
        font-size: 14px;
        font-weight: bold;
        line-height: 20px;
    }
}