@media only screen and (min-width: 920px) {
    .aside {

        width: 210px;
        align-self: flex-start;
        margin: 0px 0px 0 10px;
    }

    .wrapper {
        flex-direction: row;
    }

    h1 {
        font-size: 2.3rem;
        padding: 40px 0 40px 65px;
        line-height: 2.5rem
    }
}

/* Flex it ... */
.flex-article {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
}

.flexbox-card {

    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    margin: 5px;
    min-width: 200px;
    border: 1px solid #611562;
    -webkit-box-flex: 1;
    -ms-flex: 1 0 30%;
    flex: 1 0 30%
}


.flexbox-card-b {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    margin: 5px;
    min-width: 180px;
    border: 1px solid #98bd0a;
    -webkit-box-flex: 1;
    -ms-flex: 1 0 40%;
    flex: 1 0 40%;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.flexbox-card-b p {
    padding: 0 5px;
    margin: 0;
}

.flexbox-card-b p:last-child {

    margin-bottom: 20px;
}

.flexbox-card-b h1 a {
    text-transform: uppercase;
}

.flexbox-card-b .btn-primary {
    font-size: 18px;
}

.karten h1 {
    text-align: center
}

.karten h2 {
    text-align: center;
}

/* keine collapsing margins => kein margin-top */
.flexbox-card address, .flexbox-card p {
    padding: 5px;
}

.flexbox-card .Absatz_mit_Hintergrund, .flexbox-card-b .Absatz_mit_Hintergrund {
    margin: 0;
    padding: 6px 8px 3px 10px;
    color: white;
    background-color: #f39200;
    border: none;
    letter-spacing: 1px;
    font-size: 18px;
    min-height: 60px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center !important;
    -ms-flex-pack: center !important;
    justify-content: center !important;
    text-align: center;
    height: 80px;
}

.flexbox-card-b div h1 a {
    color: white !important;
}

div.logowrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    height: 180px;
    -webkit-box-pack: center !important;
    -ms-flex-pack: center !important;
    justify-content: center !important;
}

.flexbox-card a {
    font-size: 1.2rem;
}

.startbild {
    padding: 0;
    width: 100%;
}

.flexbox-card-b {
    background-color: #fdf9ee;
}

@media (min-width: 991px) {
    .flexbox-card-b {

        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        margin: 5px;
        min-width: 180px;
        border: 1px solid #163c38;
        -webkit-box-flex: 1;
        -ms-flex: 1 0 24%;
        flex: 1 0 24%;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        max-width: 33%;
    }
}

.flexbox-card {
    background-color: #fdf9ee;
}

.ext-description {
    margin-top: 0;
    padding-top: 0;
}

div.tx-ext-list {
    position: relative;

}

.tx-ext-list {

}

.tx-ext-list .row {
    margin-left: 0px;
    margin-right: 0px;

}

.box {
    /*gradient*/

    border: 1px solid #611662;
    min-height: 420px;
    margin: 5px;
    margin-bottom: 20px;
}

.box h4 {

    margin: 0;
    padding: 6px 0px 6px 0px;
    height: 60px;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
}

.box h4 a {

    text-decoration: none;
}

/*.main a:link, .main a:visited {color: #ff9918;text-decoration: none;} */
.box h4 a:hover {

    font-weight: bold;
    text-decoration: none;
}

.box p {
    padding-bottom: 20px;
    font-size: 16px;
}

.box ul {
    list-style: outside none none;
    margin: 0;
    padding: 0 10px 14px;
}

.box ul li {
    list-style: outside none none;
    margin: 0;
    padding: 0;
    background: none;
}

li.kurzbeschreibung {
    list-style: none;
}

.startbild {
    margin-bottom: 20px;
}

li.kurzbeschreibung > p {
    line-height: 1.6em;
    margin: 0 !important;
    padding: 0;

    width: 100%;
}

.itemlink {
    clear: left;
    font-size: 85% !important;
}

.f3-widget-paginator {
    display: inline-block;
    width: 100%;
}

.tx-ext-list ul li {
    list-style: none;
    background: none;
    margin-top: 10px;
    display: inline-block;
}

.tx-ext-list ul li a {
    text-decoration: none;

}

.tx-ext-list ul li a:hover {
    font-weight: bold;

}

/*------------------------------------------------Detail view css ---------------------------------------------------*/
.tx-ext-list .responsive-image {
    max-width: 100%;
    height: auto;
}

p.zuruecklink a:hover {
    text-decoration: none;
    font-weight: bold;
}

.tx-ext-list > div.box2 {

    text-align: left;
    padding: 30px;
}

.box2 h4 {

    margin: 0;
    height: 60px;
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
}

.box2 p {
    line-height: 1.6em;

}

.box2 h2, .box2 h3, .box2 h4, .box2 h5 {

}

.zuruecklink a, .zuruecklink2 a {
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    width: 100%;
}

p > span.immo_thumbnail {
    border: 1px solid #245c40;
    float: left;
    margin-bottom: 5px;
    margin-right: 4px;
    padding: 3px;
}

img#tx_gewerbemanager_img {
    float: right;
    margin-left: 3px;
    margin-top: 25px;
    padding: 0 0 3px 3px;
}

/*------ -------------------------------------Table css--------------------------------*/
table.contenttable {
    margin: 1%;
    padding: 1%;
    width: 50%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.contenttable caption {
    font-weight: bold;
    text-align: left;
}

caption table tbody tr {
    color: #000000;
}

table.contenttable tr td {
    border: 1px dotted #f2982d !important;
    padding: 6px 13px;
    text-align: left;
    margin-bottom: 20px;
}

.contenttable th td {
    text-align: right;
    padding: 5px 5px;
}

.zuruecklink2 {
    border-top: 1px dotted #245c40;
    clear: both;
    padding: 20px 0;
}

.zuruecklink2 a:hover {
    text-decoration: none;
}

.f3-widget-paginator {
    text-align: center;
}

/*----------------*/
.box2 > p {
    margin-top: 10px;
}


#tx_gewerbemanager_img {
    float: right;
    max-width: 100%;
}

/*=======================================================================*/
@media only screen and (max-width: 540px) {
    .ausfluege {
        width: 98%;
        padding-left: 5px;
        padding-right: 5px;
    }

    .news .article .news-img-wrap {
        float: none;

    }

    .news .article .news-img-wrap img {
        width: 100%;
        padding: 0;
        margin: 0;
    }
}

@media only screen and (min-width: 541px) {
    .ausfluege {
        width: 47%;
        padding-left: 5px;
        padding-right: 5px;
    }

}

@media only screen and (min-width: 992px) {
    .ausfluege {
        width: 31.33333333%;
        padding-left: 5px;
        padding-right: 5px;
    }

    .logo {


        width: auto;
    }

    .headerpic {
        display: block;
    }

    #tx_gewerbemanager_img {
        float: right;
        width: auto;
        max-width: 60%;

    }
}


@media only screen and (min-width: 1024px) {
    #tx_gewerbemanager_img {
        float: right;
        width: auto;
        max-width: 100%;

    }
}

@media only screen and (min-width: 1200px) {
    .ausfluege {
        width: 23%;
        padding-left: 5px;
        padding-right: 5px;
    }
}

@media only screen and (max-width: 639px) {
    .startbild {
        float: none;
        width: 100%;
    }

    .tx-ext-list ul li {
        width: 100%;
    }

    .tx-ext-list ul li {
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    }

    .box h4 {
        font-size: 16px;
    }
}

.responsive-image {
    max-width: 100%;
    height: auto;
}

blockquote {
    background-color: #fef5e9;
    border-left: 10px solid #ac8456;
    margin: 1.5em 10px;
    padding: 0.5em 10px;
    quotes: "\201C" "\201D" "\2018" "\2019";
}

blockquote:before {
    color: black;
    content: open-quote;
    font-size: 4em;
    line-height: 0.1em;
    margin-right: 0.25em;
    vertical-align: -0.4em;
}

blockquote p {
    display: inline;
}

div#linksunten {
    clear: both;
}