/*======================================
Theme Name: ak-baumdienste
Theme URI: https://www.stm-systems.de
Description: Theme for ak-baumdienste.de
Version: 1.0
Author: Stefan Miletzki
Author URI: https://www.stm-systems.de
Template: Divi
======================================*/


/* You can add your own CSS styles here. Use !important to overwrite styles if needed. */
@media (min-width: 768px) {
    h1 {
        color: #006738 !important;
        font-size: 3rem !important;
        font-weight: bold !important;

        &.sub-headline{
            font-size: 2.7rem !important;
        }
    }

    h2{
        color: #006738 !important;
        font-size: 2.4rem !important;
        font-weight: bold !important;
        text-align: center;
    }

    h3{
        font-size: 1.4rem !important;
    }

    .akb-h3-line-height{
        line-height: 30px;
    }

    p.p-headline {
        font-size: 1.1rem;
        max-width: 60%;
    }

    p.p-content{
        font-size: 1.1rem;
        max-width: 87%;
    }

    .wp-image-751, .wp-image-749{
        height: 263px;
        width: auto;
    }

    .et_pb_gutters3 .et_pb_column_4_4 .et_pb_grid_item{
        margin-right: 14px;
        width: 250px;
    }

    .ak-image-background-section-height{
        height: 560px;
    }

    .ak-image-background-section-height-home{
        height: 620px !important;
        background-position-y: -100px !important;
    }
}

@media (max-width: 767px){
    h1{
        color: #006738 !important;
        font-size: 2rem !important;
        font-weight: bold !important;

        &.sub-headline{
            font-size: 1.4rem !important;
        }
    }

    h2{
        color: #006738 !important;
        font-size: 1.2rem !important;
        font-weight: bold !important;
        text-align: center;
    }

    h3{
        font-size: 1.2rem !important;
    }

    .akb-h3-line-height{
        line-height: 25px;
    }

    .ak-image-background-section-height{
        height: 200px;
    }

    .akb-text-picture-order{
        display: grid;
    }



    /*Text Order*/
    .et_pb_row .et_pb_column.et-last-child, .et_pb_row .et_pb_column:last-child{
        order: -1;
    }

    /*column Text-Picture margin*/
    .et_pb_column{
        margin-bottom: 0;
    }

    /*Picture Margin*/
    .akb-picture-margin{
        margin-top: 60px;
        margin-bottom: 0;
    }

}

.akb-picture-text{
    color: white !important;
    text-align: center;
}

/*color unter Namen bei den Kontakten*/
.et_pb_member_position{
    color: white !important;
    font-weight: bold;
    letter-spacing: 0.4px;
}

.content-Info {
    h3 {
        font-weight: bold !important;
        letter-spacing: 2px !important;
    }

    img{
        border: 1px transparent;
        border-radius: 100px;
    }
}

.a-underline-white a{
    text-decoration: underline;
}

.et_pb_divider::before{
    width: 40px;
    border-top-width: 4px;
}

.ak-baumdienste-info{
    line-height: 35px;
    margin-top: 20px;
}

.ak-baumdienste-name{
    color: #006738;
    font-weight: bold;
}

/*link color Kontakdaten*/
.et_pb_blurb_description span a{
    color: #006738 !important;
}

footer a{
    color: #006738;
}

.nav li ul{
    width: auto;
    padding-right: 20px;
}

#top-header div.container.clearfix{
    display: flex !important;
    justify-content: flex-end !important;
}

#et-secondary-menu li, #top-menu li{
    word-wrap: unset !important;
}

#et-info-email{
    color: white !important;
}

.ueberschrift3D{
    text-shadow:  1px  6px 6px black,
    1px -1px 6px black,
    -1px  1px 1px black,
    -1px -1px 1px black !important;
}

.underHeadline p{
    font-size: 1.1rem !important;
}

.akb-contact{
    text-align: center;
    height: 436px;
    border-width: 5px !important;
    border-radius: 10px;
}

.akb-contact a{
    color: white !important;
}

/*img{*/
/*    max-width: 100%;*/
/*    height: auto;*/
/*}*/



.et_pb_contact_field_half{
    width: 100% !important;
}
