/* * * * * * * * * * * * * * * * * * */
/*                                   */
/*         LAYOUT-INDEX.CSS          */
/*                                   */
/* * * * * * * * * * * * * * * * * * */



html {
    width: 100%;
    background-image: url("../tec_img/back.jpg");
    background-repeat: repeat;
}

body {
    background-color: #f2f2e3;
    line-height: 1.6;
    margin: 0 auto;
    max-width: 900px;
    min-height: 800px;
    padding: 1em 2em 1em;
}

#navi ul {
    list-style-type: none;
    /*border-bottom: 2px solid #505040;*/
    border-bottom: 2px solid #ccc;
    margin: 0;
    padding: 3px;
}

#navi ul li {
    display: inline;
    margin: 10px;
    margin-left: -10px;
    padding-left: 0;
    border-right: 2px solid #aaa;
}

#navi ul li.noborder {
    border-right: none;
}

#navi ul li a {
    font-family: arial;
    color: #505040;
    padding: 8px 8px 8px 8px;
    text-decoration: none;
}

#navi ul li a:hover {
    background-color: #ccc;
    color: black;
}

#navi ul li a.leer:hover {
    color: #f2f2e3;
    background-color: #f2f2e3;
}

#slogan p {
    font-family: "Newsreader";
    color: #505040;
    font-weight: 500;
    font-size: 1.8em;
    font-style: italic;
    border-top: 2px solid #ccc;
    border-bottom: 2px solid #ccc;
    margin-bottom: 2em;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
}

#slogan p span.author {
    display: block;
    font-size: 0.75em;
    line-height: 1em;
    font-weight: 400;
    text-align: right;
    position: relative;
    top: 10px;
}

h1,
h2,
h3,
h4 {
    font-family: newsreader;
    color: #505040;
}

p {
    color: #303025;
}
 
div.articles {
    margin-bottom: 1em;
}

div.articles p.artlink {
    color: #303025 !important;
    font-size: 1.2em !important;
    line-height: 0.5em !important;
    text-align: right;
}


h2 {
    font-family: newsreader;
    font-weight: 500;
    font-size: 2em;
    font-style: italic;
    margin-top: 0.1em;
    margin-bottom: 0.1em;
    line-height: 1.1em;
}

h3 {
    margin-top: 1.2em;
    font-style: italic;
    font-size: 2.0em;
    font-weight: 500 !important;
}

div.main-right h4 {
    margin-top: 10px;
    margin-bottom: 0.4em;
    font-style: italic;
    font-size: 1em;
    line-height: 1;
    font-weight: 500 !important;
}

div.main-right h4 a {
    color: #505040;
    font-style: normal;
    font-size: .9em;
    font-weight: 500 !important;
}

div.main-right h4 a:hover {
    font-size: 1em;
    font-weight: 500 !important;
    background-color: #505040;
    color: #f2f2e3
}

p a, p a:visited {
    color: #505040
}

p a:hover {
    background-color: #505040;
    color: #f2f2e3
}

div.main-right h3 {
    font-weight: 500;
    font-size: 1.5em !important;
    font-style: italic;
    line-height: 1.1em;
    margin-top: 0;
}

div.main-right h3.nachbarn{
    font-weight: 500;
    font-size: 1.5em !important;
    font-style: italic;
    line-height: 1.1em;  
    margin:15px 0 10px 0!important;
    color:red;
}

div.main-right p {
    font-family: newsreader;
    font-size: 1.1em !important;
    font-weight: 400 !important;
    line-height: 1.3em;
}

.start p.vorspann {
    float:right;
    margin:0 0 0 20%;
    padding-top:0;
    padding-bottom:0.5em;
    font-weight: 600 !important;
    font-size: 95% !important;
    width: 80%;
}
ul {
    margin: 0;
    padding: 0;
}

ul li {
    display: inline-block;
    cursor: pointer;
}


p.datum {
    color: #505040;
    font-style: italic;
}

div.grid-main {
    display: grid;
    grid-template-columns: 75% 25%;
    /*    background-color: #eee;*/
}

div.main-left {
    padding-right: 20px;
}

div.main-right {
    border-left: 2px solid #ccc;
    padding-left: 20px;
    margin-bottom: 1em;
}

div.main-right p {
    font-size: 1em;
    font-weight: 500;
}

/************ neu **************/

div.doppelpack {
    width: 220px;
    display: inline-block;
}

div.doppelpack img {
    width: 220px;
}

div.main-right p.aster {
    font-size: 3em !important;
    margin: 0 0 -1em 0;
    color: #E4BF7f;
    line-height: 0.4em;
    position: relative;
    left: 100px;
    top: 15px;
}

.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 180px;
    background-color: #505040;
    color: #fff;
    font-family: sans-serif;
    font-size: 80%;
    line-height: 1.3em;
    font-weight: lighter;
    text-align: left;
    border-radius: 6px;
    padding: 5px 0 0 5px;
    /* Position the tooltip */
    position: absolute;
    z-index: 1;
    top: 5px;
    left: -60%;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
}

/* *****    Neubau quer    ****** */

figure.linkspic_q {
    margin: 0 12px 15px 0;
    float: left;
    /*    display:inline*/
    position: relative;
    top: 15px;
}

figure.linkspic_q img {
    width: 270px;
}

figure.linkspic_q figcaption {
    width: 268px;
    margin-bottom: 6px;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    border-left: 1px solid #ccc;
    margin-top: -10px;
    font-family: sans-serif;
    font-size: 15px;
    line-height: 1.2;
    text-align: center
}
/* *****  Ende Neubau quer  ****** */

/* *****    Neubau hoch    ****** */

figure.linkspic_h {
    margin: 0 12px 15px 0;
    float: left;
    display: flow-root;
    position: relative;
    top: 25px;
}

figure.linkspic_h img {
    width: 220px;
}

figure.linkspic_h figcaption {
    width: 220px;
    margin-bottom: 6px;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    border-left: 1px solid #ccc;
    margin-top: -10px;
    font-family: sans-serif;
    font-size: 15px;
    line-height: 1.2;
    text-align: center
}

/* *****  Neubau spaltenbreit  ****** */

figure.linkspic_s { 
    margin: 0 !important;
    display: flow-root;
    position: relative;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    border-left: 1px solid #ccc;
} /* macht ein Bild über die ganze Spalte */

figure.linkspic_s img {
    width: 100%;
    margin-bottom: 0 !importaNT;
}

figure.linkspic_s figcaption {
    width: 100%;
    margin-bottom: 6px;
    font-family: sans-serif;
    font-size: 16px;
    line-height: 1.2;
    text-align: center
}

/*********** #popic? ************/

#popic {
    float: left;
    margin-right: 10px;
    max-width: 200px;
}

#popic p.bildunt {
    margin-block: 0;
    font-family: arial;
    color: black;
    font-size: .9em;
    line-height: 1.1em;
    padding: 0 0 5px 5px
}

#caption p {
    font-family: arial;
    font-size: 1em;
    font-style: italic;
    color: #eee;
}

#nachbarn {
    width: 202px;
}

#nachbarn a {
    float: left;
}

/*    Beginn der Weiter-Navigation  (hier nur die Elemente für den rechten Pfeil) */

#weiter {
    font-family: sans-serif;
    width: 100%;
    position: relative;
    bottom: 55px;
}

#weiter a.rechts {
    float: right;
}

#weiter a.rechts span {
    margin: 0 1em;
    padding-right: 8px;
}

#weiter a img {
    position: relative;
    top: 3px;
}

#weiter a {
    border: 1px solid black;
    border-radius: 20px;
    color: #111;
    text-decoration: none;
}

#weiter a:hover {
    color: #fff;
    background-color: #555;
    text-decoration: none;
}

#weiter a span.right {
    display: inline-block;
    height: 0;
    border-left: 22px solid #E4BF7F;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    rotate: 0deg;
    margin: 0;
    z-index: 1;
}

#weiter a.rechts span.buttontxt {
    margin-right: 4px;
    margin-left: 8px;
}

/*   Ende der Weiter-Navigation   */

/* ******** Styles @media ********* */

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px) {
    .modal-content {
        width: 100%;
    }

    body {
        padding: 1em 1em 1em;
    }

    body h1 {
        font-size: 2em;
    }

    body #slogan p {
        font-size: 1.3em;
    }

    body div.main-right {
        display: none;
    }

    body div.grid-main {
        display: grid;
        grid-template-columns: 99% 1% !important;
    }

    body #randspalte-mobil h3 {
        font-size: 1.3em !important;
        font-weight: 800 !important;
    }

    body #randspalte-mobil p {
        font-size: 1.1em;
    }

    body div.main-left {
        border-right: none !important;
        padding-right: 0 !important;
    }

    body div.main-left h2 {
        font-size: 1.4em;
        font-weight: 600;
    }

    body div.main-left p {
        font-size: 1.1em;
        color: black;
        line-height: 1.2em !important;
    }

    .start p.header {
        font-size: 1.2em !important;
    }

    figure.linkspic_q {
        margin: 0 12px 15px 0;
    }

    figure.linkspic_h {
        margin: 0 15px 15px 0;
    }  
    p.aster{
        font-size: 2em!important;
        margin:0;
        text-align:center;
    }
}

@media only screen and (min-width: 700px) {
    #randspalte-mobil {
        display: none;
    }
}


/* // end */
