/*
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
*/


/* Überschriften, markiert
------------------------------------------------------*/
#top #wrap_all .all_colors h5 {
    font-size: 20px;
    text-transform: none;
    line-height: 1.4;
    font-weight: 500;
}

#top h1 strong, 
#top h2 strong, 
#top h3 strong, 
#top h4 strong,
#top h5 strong, 
#top h6 strong {
  color: #d9241e;
}

.main_color strong {
  color: #000;
}


p {
    color: #000;
}

blockquote {
    margin-left: 25px;
    text-transform: uppercase;
}

.avia-section {
    min-height: unset;
}

.av-main-nav ul {
    width: 300px;
}

/* Obere kleine Subnavigation
------------------------------------------------------*/

#nav_menu-2 {
    display: none;
}

@media screen and (min-width: 1300px) {
    #nav_menu-2 {
        display: block;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
    }
}

#nav_menu-2 #menu-submenu {
    display: flex;
    align-items: center;
    justify-content: center;
}

#top .widget_nav_menu li {
    line-height: 60px;
}

#top .widget_nav_menu li a {
    color: #000;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 700;
}

#top .widget_nav_menu li a:hover {
    color: #dd2620;
}

.header_color li.current-menu-item {
    border-bottom: 1px solid #dd2620;
}

.header_color li.current-menu-item li.current-menu-item {
    border-bottom: 0 none;
}

/* Burger Menu, sooner media query
------------------------------------------------------*/
@media only screen and (max-width: 1300px) {
    nav.main_menu {
      display: block !important;
    }
    #avia-menu .menu-item {
      display: none;
    }
    .av-burger-menu-main.menu-item-avia-special {
      display: block;
    }
    .responsive #top .av_mobile_menu_tablet #header_main_alternate {
        display: none;
    }
  }
  
@media only screen and (min-width: 768px) and (max-width: 1300px) {
    .responsive #top #wrap_all .av_mobile_menu_tablet .main_menu {
        top: 0;
        left: auto;
        right: 0;
        display: block;
    }
}

#top #header .av-main-nav > li > a {
    background-color: transparent;
}

#top #header .av-main-nav > li#menu-item-search > a {
    font-size: 24px;
}


/* Teaser boxen
------------------------------------------------------*/
#top .flexbox-teaser .flex_column_table {
    display: flex;
    flex-direction: column;
    float: none;
    table-layout: unset;
}

@media screen and (min-width: 990px) {
    #top .flexbox-teaser .flex_column_table {
        flex-direction: row;
    }
}

body .flexbox-teaser .column-top-margin {
    margin: 0;
}

#top .floatbox-teaser p,
#top .floatbox-teaser h4,
#top .flexbox-teaser h4,
#top .flexbox-teaser p {
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
}

#top .floatbox-teaser h4,
#top .flexbox-teaser h4 {
    font-size: 24px;
    hyphens: auto;
}

#top .floatbox-teaser p,
#top .flexbox-teaser p {
    font-weight: bold;
}

@media screen and (min-width: 990px) {
    #top .floatbox-teaser h4,
    #top .flexbox-teaser h4 {
        font-size: 30px;
    }
}

#top .huge-number p,
#top .flexbox-teaser .huge-number p {
    font-size: 80px;
    margin: 0;
    line-height: 1;
    padding-bottom: 20px;
}

#top .floatbox-teaser .flex-cell-center,
#top .flexbox-teaser .flex-cell-center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
}

@media only screen and (max-width: 989px) {
    .responsive #top #wrap_all .av-break-at-tablet .flex_cell, 
    .responsive #top #wrap_all .flex_column.av-break-at-tablet {
        display: flex;
    }
}

#top .floatbox-teaser .flex-cell-top,
#top .flexbox-teaser .flex-cell-top {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 20px;
} 

#top .floatbox-teaser .flex-cell-bottom,
#top .flexbox-teaser .flex-cell-bottom {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
}


/* Intro Header, 2 Spalten 3 Elemente
------------------------------------------------------*/
body div .first.disable-clear {
    clear: none;
    margin-top: 15px;
    margin-left: 1%;
    width: 32.666666666667%;
}

/* Socket unten
------------------------------------------------------*/
#socket {
    font-size: 16px;
}

#socket .menu {
    text-transform: uppercase;
}
