/*
Theme Name: Enfold Child
Description: A <a href='http://codex.wordpress.org/Child_Themes'>Child Theme</a> for the Enfold Wordpress Theme. If you plan to do a lot of file modifications we recommend to use this Theme instead of the original Theme. Updating will be much easier then.
Version: 1.0
Author: Kriesi
Author URI: http://www.kriesi.at
Template: enfold
*/



/*Add your own styles here:*/
/* Team-Mitglieder: Foto links, Text rechts */
#top .avia-team-member {
    display: flow-root;
    text-align: left;
}

/* Fotobereich */
#top .avia-team-member .team-img-container {
    float: left;
    width: 180px;
    margin: 0 25px 15px 0;
}

/* Foto: rund, 180 x 180 px */
#top .avia-team-member .team-img-container img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

/* Name, Funktion und Beschreibung */
#top .avia-team-member .team-member-name,
#top .avia-team-member .team-member-job-title,
#top .avia-team-member .team-member-description {
    margin-left: 205px;
    text-align: left;
}

/* Smartphone: Foto oberhalb des Textes */
@media only screen and (max-width: 767px) {
    #top .avia-team-member .team-img-container {
        float: none;
        margin: 0 auto 20px;
    }

    #top .avia-team-member .team-member-name,
    #top .avia-team-member .team-member-job-title,
    #top .avia-team-member .team-member-description {
        margin-left: 0;
    }
}




/* ==================================================
   BIP – SIDEBAR UND SEITENLAYOUT
   Enfold 8.3
   ================================================== */


/* 1. SIDEBAR – Hintergrund und Rahmen */

#top #main .sidebar .inner_sidebar {
    background-color: #f5f5f5;
    border: 1px solid #cccccc;
    border-radius: 4px;
    padding: 20px;
    box-sizing: border-box;
}


/* 2. SIDEBAR – Trennlinien zwischen Widgets */

#top #main .sidebar .widget {
    border-bottom: 1px solid #cccccc !important;
    padding: 25px 0 !important;
    margin: 0 !important;
}

#top #main .sidebar .widget:first-child {
    padding-top: 10px !important;
}

#top #main .sidebar .widget:last-child {
    border-bottom: none !important;
    padding-bottom: 0 !important;
}


/* 3. SIDEBAR – Überschriften */

#top #main .sidebar .widgettitle {
    color: #800000 !important;
    font-size: 16px !important;
    font-weight: 500;
    font-family: inherit;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0;
}


/* 4. SIDEBAR – Eingabefelder */

#top #main .sidebar input[type="text"],
#top #main .sidebar input[type="email"],
#top #main .sidebar input[type="search"],
#top #main .sidebar input[type="tel"],
#top #main .sidebar textarea,
#top #main .sidebar select {
    background-color: #ffffff !important;
    border: 1px solid #cccccc !important;
    border-radius: 3px;
    color: #333333 !important;
    padding: 10px 12px;
    font-size: 12px;
    font-family: inherit;
    box-sizing: border-box;
}

#top #main .sidebar input::placeholder,
#top #main .sidebar textarea::placeholder {
    color: #777777 !important;
    opacity: 1;
}

#top #main .sidebar input:focus,
#top #main .sidebar textarea:focus {
    border-color: #800000 !important;
}


/* 5. SIDEBAR – Buttons */

#top #main .sidebar input[type="submit"],
#top #main .sidebar button,
#top #main .sidebar #searchsubmit {
    background-color: #800000 !important;
    color: #ffffff !important;
    border-color: #800000 !important;
    border-radius: 2px;
}

#top #main .sidebar input[type="submit"]:hover,
#top #main .sidebar button:hover,
#top #main .sidebar #searchsubmit:hover {
    background-color: #800000 !important;
}


/* 6. SIDEBAR – Newsletter */

#top #main .sidebar .avia_ajax_form {
    padding: 0 !important;
    margin: 0 !important;
}

#top #main .sidebar .avia_ajax_form input[type="submit"] {
    width: 100%;
    padding: 12px 15px;
}


/* 7. SEITENLAYOUT – Breiten und Abstände
   Nur WordPress-Seiten, nicht Blogbeiträge
   Bestehende Layoutwerte beibehalten
*/

@media only screen and (min-width: 1200px) {

    /* Container bündig zum Titelbild */

    #top.page #main .container:has(> .sidebar) {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* Inhaltsbereich */

    #top.page #main .container:has(> .sidebar) > .content {
        width: calc(66.6667% + 16.6667px) !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin: 0 !important;
        border-right: none !important;
        box-sizing: border-box;
    }

    /* Zusätzlichen Enfold-Abstand entfernen */

    #top.page #main .content .entry-content-wrapper {
        padding-right: 0 !important;
        margin-right: 0 !important;
    }

    /* Sidebar */

    #top.page #main .container:has(> .sidebar) > .sidebar {
        width: calc(33.3333% - 16.6667px) !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin: 0 !important;
        border-left: none !important;
        box-sizing: border-box;
    }

    /* Abstand vor der Sidebar */

    #top.page #main .sidebar .inner_sidebar {
        margin-left: 50px !important;
        margin-right: 0 !important;
    }

    /* Beide Inhaltsblöcke */

    #top.page #main .content .flex_column.av_one_half {
        width: calc(50% - 25px) !important;
        box-sizing: border-box;
    }

    /* Abstand bei gleich hohen Enfold-Spalten */

    #top.page #main .content .av-flex-placeholder {
        width: 50px !important;
    }

    /* Abstand bei normalen Enfold-Spalten */

    #top.page #main .content .flex_column.av_one_half:not(.first) {
        margin-left: 50px !important;
    }

    #top.page #main .content .flex_column.av_one_half.first {
        margin-left: 0 !important;
    }

    /* Gleich hohe Spalten */

    #top.page #main .content
    .flex_column_table .flex_column.av_one_half {
        margin-left: 0 !important;
    }
}


/* 8. SIDEBAR – Neueste Beiträge
   WordPress-Widget und Enfold-Beitragslisten
*/

#top #main .sidebar .widget_recent_entries,
#top #main .sidebar .widget_recent_entries li,
#top #main .sidebar .widget_recent_entries li a,
#top #main .sidebar .widget_recent_entries .post-date,
#top #main .sidebar .news-headline,
#top #main .sidebar .news-time {
    font-family: inherit !important;
    font-style: normal !important;
    font-weight: normal !important;
}


/* Beitragstitel */

#top #main .sidebar .widget_recent_entries li a,
#top #main .sidebar .news-headline,
#top #main .sidebar .news-headline a {
    font-size: 13px !important;
    line-height: 1.4 !important;
    font-style: normal !important;
    color: #800000 !important;
}


/* Veröffentlichungsdatum */

#top #main .sidebar .widget_recent_entries .post-date,
#top #main .sidebar .news-time {
    font-size: 13px !important;
    line-height: 1.4 !important;
    font-style: normal !important;
    color: #777777 !important;
    margin-top: 3px;
}


/* Abstände zwischen Beiträgen */

#top #main .sidebar .widget_recent_entries li {
    font-size: 13px;
    line-height: 1.4;
    padding: 8px 0 !important;
}


/* Enfold Latest News – leeren Platz für Vorschaubilder entfernen */

#top #main .sidebar .newsbox .news-thumb {
    display: none !important;
}

#top #main .sidebar .newsbox .news-headline {
    margin-left: 0 !important;
    padding-left: 0 !important;
}


/* 9. BIP SATZUNG – unverändert */

.satzung h3 {
    margin-top: 35px;
    margin-bottom: 15px;
}

.satzung ol {
    padding-left: 25px;
    margin-bottom: 15px;
}

.satzung li {
    margin-bottom: 10px;
    padding-left: 5px;
}

.satzung ol[type="a"] {
    list-style-type: lower-alpha;
    margin-top: 10px;
}

.satzung p {
    line-height: 1.7;
}


/* BIP – gleiche Kastenhöhe je Reihe */

@media only screen and (min-width: 768px) {

  #top.home .entry-content-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    column-gap: 0;
    row-gap: 10px;
  }

  #top.home .entry-content-wrapper > .flex_column.av_one_half {
    margin-top: 0;
    margin-bottom: 0;
    height: auto;
  }

}

/* Buttons am unteren Kastenrand ausrichten */

@media only screen and (min-width: 768px) {

  #top.home .entry-content-wrapper >
  .flex_column.av_one_half {
    display: flex;
    flex-direction: column;
  }

  #top.home .entry-content-wrapper >
  .flex_column.av_one_half > .avia-button-wrap {
    margin-top: auto;
  }

}

/* Schriftgröße der Listeneinträge */

#top .entry-content li {
    font-size: 16px;
    line-height: 1.6;
}



/* BIP – Anfangsbuchstaben in spezieller Überschrift */

#top .av-special-heading strong {
    color: #000000 !important;
    font-size: 28px !important;
    font-weight: 700 !important;
}

/* Mailchimp – Hover-Farbe des Abonnieren-Buttons */

#top .avia-mailchimp-form input[type="submit"]:hover {
    background-color: #800000 !important;
    color: #ffffff !important;
    border-color: #800000 !important;
}
