/* 
    Document   : fe-style
    Created on : 2. Dezember 2004, 21:39
    Author     : jann
    Description: Stylesheet für alle JSPs welche für den Internetauftritt nach "außen" hin sichtbar sind.
*/
/* ************************************************************************* */

body{
    margin-top: 0px;
    background-color: #dde3e8;
}

/* sitecontent, betrifft seiten: alle */

.sitecontent{
    color: black;
    margin-top: 0px;
    margin-left: auto;
    margin-right: auto;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    max-width: 850px;
    width: 100%;
    font-size: 14px;
    font-family: Arial,Helvetica,sans-serif;
}
/* Kopfbereich ************************************************************* */
/* header, betrifft seiten: alle */

.header{
    position: relative;
    background: linear-gradient(135deg, #2b7a9e 0%, #1a5f7a 100%);
    height: 100px;
    box-sizing: border-box;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 0 8px 2px 12px;
}

.feHeaderRow {
    display: flex;
    flex: 1;
    justify-content: space-between;
    align-items: baseline;
}

.headerTitle {
    font-family: 'Trebuchet MS', Trebuchet, sans-serif;
    font-size: 2.4em;
    color: white;
}

/* Menü oben auf jeder Seite *********************************************** */
/* topMenu, betrifft seiten: topMenu.jsp */

.topMenu {
    margin-left: 0px;
    text-align: right;
    font-family: Arial,Helvetica,sans-serif;
}

/* Menü unten auf jeder Seite ********************************************** */
/* bottomMenu li, betrifft seiten: bottomMenu.jsp */

.topMenu li {
    font-size: 0.8em;
    display: inline; /* Menüpunkte nebeneinander und nicht untereinander */
    list-style-type: none; /* Bullets vor den Menüpunkten abschalten */
    padding: 0 5px 0 5px;
}

a.topMnuLink:link{
    color: white;
    text-decoration: none;
}

a.topMnuLink:visited{
    color: white;
    text-decoration: none;
}

a.topMnuLink:hover{
    color: white;
    text-decoration: underline;
}

a.topMnuLink:active{
    color: white;
    text-decoration: none;
}

a.topMnuLink:focus{
    color: white;
    text-decoration: none;
}

a.topMnuLinkNew,
a.topMnuLinkNew:link,
a.topMnuLinkNew:visited {
    color: #ffdd44;
    font-weight: bold;
}

a.topMnuLinkNew:hover,
a.topMnuLinkNew:active,
a.topMnuLinkNew:focus {
    color: #ffe87a;
    text-decoration: none;
}

/* Menü unten auf jeder Seite ********************************************** */
/* bottomMenu, betrifft seiten: bottomMenu.jsp */

.bottomMenu {
    text-align: center;
}

/* Menü unten auf jeder Seite ********************************************** */
/* bottomMenu li, betrifft seiten: bottomMenu.jsp */

.bottomMenu li {
    font-size: 0.8em;
    display: inline; /* Damit die Menüpunkte nebeneinander und nicht untereinander erscheinen. */
    list-style-type: none; /* Die Bullets vor den Menüpunkten schalten wir ab. */
    padding: 0 5px 0 5px;
}

/* Die linke Spalte ******************************************************** */
/* left, betrifft seiten: alle */

.left{
    width: 130px;
    height: 500px;
    float: left;
    border-right: 1px solid #d0d0d0;
    padding-top: 1em;
}

/* Die rechte Spalte ******************************************************* */
/* betrifft seiten: alle */

.right{
    width: 130px;
    height: 500px;
    float: right;
    border-left: 1px solid #d0d0d0;
    padding-top: 1em;
}

.googleleft{
    margin-top: 50px;
    margin-left: 6px;

}

/* Links im linken Menü **************************************************** */
/* betrifft seiten: mainMenu.jsp */

nav.mainMenu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

nav.mainMenu li {
    display: block;
    width: 120px;
}

nav.mainMenu li a.mainMnuLink {
    display: block;
    padding: 3px 4px 3px 0;
}

nav.mainMenu li a.mainMnuLink:hover {
    background-color: red;
}

/* Überschriftslink rechte Spalte */
a.rightMnuLink {
    display: block;
    font-size: 0.85em;
    font-family: Arial, Helvetica, sans-serif;
    padding: 3px 0 3px 2px;
}

a.rightMnuLink:hover {
    background-color: red;
}

.menuHeadline{
    color: white;
    font-family: Arial,Helvetica,sans-serif;
    font-size: 0.85em;
    text-align: right;
}

.menuLink{
    color: black;
    font-family: Arial,Helvetica,sans-serif;
    font-size: 0.85em;
    text-align: right;
}

a.mainMnuLink:link{ 
    color: black;
    text-decoration: none;
} 

a.mainMnuLink:visited{ 
    color: black;
    text-decoration: none;
} 

a.mainMnuLink:hover{ 
    color: white; 
    text-decoration: none;
} 

a.mainMnuLink:active{ 
    color: white;
    text-decoration: none;
} 

a.mainMnuLink:focus{ 
    color: white;
    text-decoration: none;
}

/* Inhalt ****************************************************************** */
/* content, betrifft seiten: alle */

.content{
    margin-top: 0em;
    margin-left: 160px;
    margin-right: 160px;
    margin-bottom: auto;
    text-align: left;
    min-height: 1000px;
}

/* Markierung über Logintable ********************************************** */
/* index */

.redwhite{
    background-color: red;
    color: white;
    font-family: Arial,Helvetica,sans-serif;
    font-size: 0.85em;
    text-align: left;
}

/* horizontale Linie ******************************************************* */
/* index,vorschau */

.hLine{
    border-top: 1px solid white;
}

/* pageHeadLine ************************************************************ */
/* betrifft: alle */

.pageHeadLine{
    color: red;
    font-family: Arial,Helvetica,sans-serif;
    font-size: 1.15em;
    font-weight: bold;
}

h1.pageHeadLine,
h2.pageHeadLine {
    margin: 0.3em 0;
}

/* Standardliste *********************************************************** */
/* stdl, betrifft seiten: index.jsp */

.stdl{
    list-style-type: square;
    list-style-position: outside;
    padding-top: 1em;
    padding-bottom: 1em;
    font-size: 0.9em;
}

/* Standardtabelle ******************************** */

.stdt{
    font-size: 0.9em;
}

/* Fehlerhinweise an Fornularfeldern *************************************** */ 
/* markError, betrifft seiten: order.jsp */

.markError{
    color: red;
}

/* Hinweise **************************************************************** */
/* notice, betrifft seiten: index.jsp, order.jsp */

.notice{
    font-size: 0.8em;
}

/* Kleine Hinweise ********************************************************* */
/* noticeLow, betrifft seiten: index.jsp */

.noticeLow{
    font-size: 0.75em;
}

/* Eingabeformulare auf der Seite (nicht das Loginformular) **************** */
/* formular, betrifft seiten: order.jsp, kontakt.jsp */

.formular{
    font-size: 0.9em;
}

/* Formularelemente */
/* betrifft alle Seiten */

input{
    border: 1px solid #8B8D94;
}

select{
    border: 1px solid #8B8D94;
}

textarea{
    border: 1px solid #8B8D94;
}

/* Bestellformular mit Floating Labels ************************************* */
/* betrifft seiten: order.jsp */

.order-form {
    max-width: 440px;
    margin-top: 1em;
}

.field-wrap {
    position: relative;
    margin-bottom: 1.5em;
}

.field-wrap input[type="text"],
.field-wrap input[type="password"],
.field-wrap textarea,
.field-wrap select {
    display: block;
    width: 100%;
    padding: 20px 14px 7px;
    border: 1px solid #bbb;
    border-radius: 8px;
    font-size: 1em;
    font-family: inherit;
    box-sizing: border-box;
    background: #fff;
    color: #222;
    transition: border-color 0.15s;
}

.field-wrap input:focus,
.field-wrap textarea:focus,
.field-wrap select:focus {
    outline: none;
    border-color: #2b7a9e;
}

.field-wrap > label {
    position: absolute;
    top: 14px;
    left: 14px;
    color: #888;
    font-size: 1em;
    line-height: 1;
    transition: top 0.15s ease, font-size 0.15s ease, color 0.15s ease;
    pointer-events: none;
}

/* Label schwebt nach oben wenn Feld Inhalt hat oder fokussiert ist */
.field-wrap input:focus + label,
.field-wrap input:not(:placeholder-shown) + label,
.field-wrap textarea:focus + label,
.field-wrap textarea:not(:placeholder-shown) + label {
    top: 5px;
    font-size: 0.72em;
    color: #2b7a9e;
}

/* Select: Label immer oben */
.field-wrap--select > label {
    top: 5px;
    font-size: 0.72em;
    color: #2b7a9e;
}

/* Fehler-Zustand */
.field-wrap.markError input,
.field-wrap.markError textarea,
.field-wrap.markError select {
    border-color: #cc0000;
}

.field-wrap.markError > label,
.field-wrap.markError input:focus + label,
.field-wrap.markError input:not(:placeholder-shown) + label,
.field-wrap.markError textarea:focus + label,
.field-wrap.markError textarea:not(:placeholder-shown) + label {
    color: #cc0000;
}

/* Hinweis-Text unter dem Feld */
.field-hint {
    font-size: 0.78em;
    color: #666;
    margin-top: 4px;
    padding-left: 14px;
}

.field-hint--error {
    color: #cc0000;
    font-weight: bold;
}

/* Zwei Felder nebeneinander */
.field-row {
    display: flex;
    gap: 12px;
    margin-bottom: 0;
}

.field-row .field-wrap {
    flex: 1;
}

/* Trennlinie zwischen Formular-Abschnitten */
hr.form-divider {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 0.5em 0 1.5em;
}

/* Info-Text zwischen Gruppen */
.form-info {
    color: #444;
    margin-bottom: 1em;
}

/* Pflichtfeld-Hinweis */
.form-required-note {
    font-size: 0.85em;
    color: #666;
    margin: 0.5em 0 1em;
}

/* Checkbox-Zeilen */
.field-wrap--check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 0.8em;
}

.field-wrap--check input[type="checkbox"] {
    flex-shrink: 0;
    margin-top: 3px;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.field-wrap--check.markError span {
    color: #cc0000;
}

/* Bestellbutton */
.btn-order {
    margin-top: 0.5em;
    padding: 10px 28px;
    background: #2b7a9e;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1em;
    cursor: pointer;
    transition: background 0.15s;
}

.btn-order:hover:not(:disabled) {
    background: #1a5f7a;
}

.btn-order:disabled {
    background: #aaa;
    cursor: not-allowed;
}

/* Formatierung der Beispiele bzw. Anzeigen für Ferienwohnungen ************ */
/* exObject, betrifft seiten: examples.jsp */

.exObject{
    font-size: 0.85em;
    min-height: 170px;
    background-color: #D0D0D0;
    margin-top: 10px;
    margin-bottom: 10px;
    padding-right: 5px;
    padding-left: 5px;
    border-top: 2px solid #9481A4;
    border-left: 2px solid #9481A4;
    border-right: 2px solid #9481A4;
    border-bottom: 2px solid #9481A4;
    overflow: hidden; /* Box um das linksfließende Bild schließen, auch wenn es höher als min-height ist */
}

/* Beispiel Bild *********************************************************** */
/* exPic, betrifft seiten: examples.jsp */

.exPic{
    width: 200px;
    max-height: 150px;
    object-fit: cover; /* schützt gegen hochformatige/sehr hohe Kundenfotos, die den Kasten sprengen würden */
    margin-top: 5px;
    margin-right: 5px;
    border-top: 1px solid #9481A4;
    border-left: 1px solid #9481A4;
    border-right: 1px solid #9481A4;
    border-bottom: 1px solid #9481A4;

}

/* Beispiel Text *********************************************************** */
/* exTXT, betrifft seiten: examples.jsp */

.exTXT{
    margin-top: 5px;
    min-height: 170px;
}

/* Link zum Beispiel ******************************************************* */
/* exLink, betrifft seiten: examples.jsp */

.exLink{
    text-align: right;
}

/* Formatierung des Werbetextes für kostenlose Anzeigen auf ferien-europa ** */
/* klAnzeigeTXT, betrifft seiten: examples.jsp */

.klAnzeigeTXT{
    font-size: 0.85em;
    height: 170px;
    background-color: #D0D0D0;
    margin-top: 10px;
    margin-bottom: 10px;
    padding-top: 5px;
    padding-right: 5px;
    padding-bottom: 5px;
    padding-left: 5px;              
    border-top: 2px solid #9481A4;
    border-left: 2px solid #9481A4;
    border-right: 2px solid #9481A4;
    border-bottom: 2px solid #9481A4;
}

/* Überschrift der Beispiellinks ******************************************** */
/* linkheadline, betrifft seiten: index.jsp */

.linkheadline{
    background-color: #FFFFCD;
}

/* Text der AGB ************************************************************* */
/* agb, betrifft seiten: agb.jsp */

.agb{
    font-size: 0.9em;
}

/* Anmeldetabelle ************************************************************
logintable, betrifft seiten: login.jsp
*/

.logintable{
    padding: 1em;
    margin-left: auto;
    margin-right: auto;
    margin-top: 4em;
    font-size: 1.2em;
}

/*
Login Eingabefelder
*/

.loginstandalone_form{
    margin-top: 5em;
}

.loginstandalone_div{
    font-family: Arial,Helvetica,sans-serif;
    font-size: 1.2em;
    width: 24em;
    margin-left: auto;
    margin-right: auto;
    padding-top: 1.5em;
    padding-bottom: 1em;
    padding-left: 2.5em;
    padding-right: 2.5em;
    border-color: #D0D0D0;
    border-radius: 10px;
    border-style: solid;
    text-align: center;
}
.loginstandalone_subdiv{
    text-align: left;
    margin-left: auto;
    margin-right: auto;
}

.loginstandalone_input{
    border-radius: 5px;
    font-size: 1.4em;
    height: 2.2em;
    width: 100%;
    margin-top: 1em;
    margin-bottom: 0.5em;
}

.loginstandalone_button{
    border-radius: 5px;
    font-size: 1.4em;
    height: 2.2em;
    width: 100%;
    margin-top: 0.5em;
    margin-bottom: 1em;
}

/* === Responsive: Mobilgeräte === */
@media (max-width: 620px) {

    /* Linke Spalte: wird zur horizontalen Navigationsleiste */
    .left {
        float: none;
        width: 100%;
        height: auto;
        border-right: none;
        border-bottom: 1px solid #d0d0d0;
        padding-bottom: 4px;
        background-color: #f8f8f8;
    }

    /* Thumbnail-Bild und Trenner in der linken Spalte ausblenden */
    .left > a,
    .left > div {
        display: none;
    }

    /* Menüpunkte horizontal nebeneinander */
    nav.mainMenu ul {
        display: flex;
        flex-wrap: wrap;
    }
    nav.mainMenu li {
        width: auto;
    }
    nav.mainMenu li a.mainMnuLink {
        padding: 6px 12px;
    }

    /* Rechte Spalte komplett ausblenden */
    .right {
        display: none;
    }

    .content {
        margin-left: 8px;
        margin-right: 8px;
    }

    .header {
        height: auto;
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 8px 6px 12px;
    }
    .headerTitle {
        font-size: 1.6em;
        padding-bottom: 4px;
    }
    .topMenu {
        text-align: left;
    }
    .topMenu li {
        font-size: 0.8em;
        padding: 0 3px;
    }
}

.preis-table { border-collapse: collapse; margin-top: 0.5em; }
.preis-table th, .preis-table td { padding: 4px 8px; border: 1px solid #ccc; font-size: 9pt; }
.preis-table th { background: #eee; }

