/*
 Theme Name:     Theme Stiftung Internet und Gesellschaft 
 Theme URI:      http://www.elegantthemes.com
 Description:    Divi Child Theme for Stiftung Internet und Gesellschaft
 Author:         Larissa Wunderlich based on Elegant Themes
 Author URI:     http://www.larissawunderlich.de
 Template:       Divi
 Version:        1.0.0
*/

@import url("../Divi/style.css");
@import url("./fonts/stylesheet.css");

/* =Theme customization starts here
------------------------------------------------------- */
body,
body p,
body h1,
body h2,
body h3,
body h4,
body h5,
body h6,
body div {
    font-family: "PT Sans";
}
.et_pb_text h1 {
    color: #575756 !important;
    font-size: 20px !important;
    font-weight: bold !important;
    line-height: 1.5em !important;
    text-transform: uppercase !important;
}

.et_pb_blog_grid .et_pb_post {
    padding-bottom: 20px;
    position: relative;
    text-align: center;
}

.et_pb_blog_grid .et_pb_post h2,
.et_pb_blog_grid .et_pb_post p {
    text-align: left;
}

.et_pb_blog_0 .et_pb_post .post-meta {
    padding: 10px 0 0;
    text-align: center;
}

.et_pb_blog_grid .et_pb_post .more-link::before {
    background: #eaeaea none repeat scroll 0 0;
    bottom: 80px;
    content: "";
    height: 1px;
    left: 0;
    position: absolute;
    transform: rotate(-5deg);
    transform-origin: right bottom 0;
    width: 100%;
}

.et_pb_blog_grid .et_pb_post .more-link {
    border: 1px solid #a7a7a7;
    border-radius: 15px;
    color: #a7a7a7;
    display: inline-block;
    margin: 40px 0 0;
    padding: 3px 10px;
    text-transform: uppercase;
}

.et_pb_cta_0.et_pb_promo,
.et_pb_cta_2_0.et_pb_promo {
    position: relative;
}

.et_pb_cta_0.et_pb_promo,
.et_pb_cta_2_0.et_pb_promo {
    border: 1px solid #a7a7a7 !important;
    color: #575756 !important;
    line-height: 1.5em;
    padding: 40px 30px 30px !important;
}

.et_pb_promo_description {
    margin: 0 0 20px;
    text-align: left;
}

.et_pb_promo_description::after {
    background: #eaeaea none repeat scroll 0 0;
    bottom: 10px;
    content: "";
    height: 1px;
    position: absolute;
    right: 0;
    transform: rotate(-5deg);
    transform-origin: right bottom 0;
    width: 100%;
}

.et_pb_promo h2 {
    color: #575756 !important;
    font-weight: bold !important;
    line-height: 1.5em !important;
    text-transform: uppercase !important;
}

.et_pb_cta_2_0.et_pb_promo .et_pb_button {
    border-color: #a7a7a7;
    border-radius: 15px;
    border-width: 1px !important;
    color: #a7a7a7 !important;
    font-size: 14px;
    letter-spacing: 0;
    text-transform: uppercase !important;
}

.et_pb_cta_2_0.et_pb_promo .et_pb_button::after {
    color: #a7a7a7;
    display: inline-block;
    font-size: 22.4px !important;
    left: auto;
    line-height: 1em;
    margin-left: -1em;
    opacity: 0;
    -moz-osx-font-smoothing: grayscale;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    line-height: 1;
    text-transform: none;
}

.et_pb_pagebuilder_layout .entry-content,
.et_pb_pagebuilder_layout .et_pb_post .entry-content {
    overflow: hidden;
}

#et-top-navigation {
    float: none;
    padding-left: 0 !important;
}

.et-social-icon a {
    font-size: 14px;
}

.et_pb_column_1_4 .et_pb_team_member_image {
    border: 1px solid #ccc;
    border-radius: 50%;
    height: 150px;
    margin: 0 0 18px 32px;
    overflow: hidden;
    width: 150px;
}

.et_pb_column_1_2 .et_pb_team_member_image {
    border: 0 solid;
    border-radius: 50%;
    height: 200px;
    overflow: hidden;
    width: 200px;
    margin: 0 0 42px 122px;
}

.et_pb_team_member_image img {
    height: 100%;
    max-width: 400%;
    width: auto;
}

.et_pb_bg_layout_dark .et_pb_member_position {
    color: #fff;
}

.et_pb_bg_layout_dark a {
    color: #fff;
}

.percent > p > span::after {
    content: " 000 €";
}

body #page-container #main-content .et_pb_cta_2_0.et_pb_promo .et_pb_button {
    background: rgba(0, 0, 0, 0) url("/wp-content/themes/stiftunginternet/pics/Paypal-logo-pp-2014.png") no-repeat
        scroll 92% center / 15% auto;
    padding-right: 40px !important;
}

#main-header,
#main-header .nav li ul,
.et-search-form,
#main-header .et_mobile_menu {
    background-color: rgba(255, 255, 255, 255);
}

#lang_sel_list {
    float: right;
    clear: none;
    padding: 0;
    border: none;
}

#lang_sel_list ul {
    line-height: 1em;
}

#lang_sel_list img {
    display: none;
}

#lang_sel_list li a {
    color: #999 !important;
    font-size: 14px;
    font-weight: normal;
    text-transform: uppercase;
    padding: 0 4px 0 0;
    line-height: 1em;
}

#lang_sel_list li a.lang_sel_sel {
    color: #356f86;
}

#lang_sel_list li a.lang_sel_sel,
#page-container #top-menu li.current-menu-item > a {
    color: #356f86 !important;
}

.et_header_style_left #et-top-navigation {
    padding: 18px 0 0 0 !important;
}
.et_header_style_left #et-top-navigation nav > ul > li > a {
    padding-bottom: 18px !important;
}
.et_pb_section {
    padding: 18px 0 !important;
}
.et_pb_column_0 {
    padding-top: 40px !important;
    padding-bottom: 0px !important;
}
.et_pb_section .et_pb_section_0 .et_section_regular .et_pb_section_first {
    padding-top: 32px !important;
}
.bottom-nav {
    max-width: 150px;
}
.bottom-nav li a {
    color: #666;
    font-weight: 700;
}
@media all and (max-width: 981px) {
    #lang_sel_list {
        float: left;
        margin: 8px 40px;
    }
    .et_pb_column_0 {
        padding-top: 70px !important;
    }

}
#main-header .et_mobile_menu {
    background-color: white !important;
}
body .et_pb_image_0 {
    width: auto;
    max-width: 469px !important;
}

@media all and (max-width: 980px) {
    #footer-bottom .container.clearfix {
        display: flex;
        flex-direction: column;
    }
    #footer-bottom .container.clearfix .et-social-icons {
        order: 0;
        padding-right: 16px;
    }
    #footer-bottom .container.clearfix #footer-info{
        order: 2;
    }
    #footer-bottom .container.clearfix #footer-info a{
       display: block;
    }
    #footer-bottom .container.clearfix  .bottom-nav{
        order: 1;
        padding: 0;
        padding-right: 5px;
        max-width: 100%;
    text-align: center;
    }
    #footer-bottom .container.clearfix .bottom-nav li{
        padding: 0;
    }
}
