/*
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 wil be much easier then.
Version: 1.0
Author: Kriesi
Author URI: http://www.kriesi.at
Template: enfold
*/



/*Add your own styles here:*/
strong.logo img{
padding: 5px 0px;
}

.leist-img {
    display: block;
    float: left;
    margin-right: 5px;
}
.leist-img img {
    width: 60px !important;
    height: 60px !important;
    position: relative;
    z-index: 1;
}

.magtech-yt .ytp-title-channel-logo {
  display: none;
}

.leist-text {
    display: block;
    float: left;
    padding-left: 20px !important;
}

.boins-text-2img h2 {
    padding-top: 0.5em;
    position: relative;
    font-size: 1.3rem;
    z-index: 0;
    margin-left: 140px;

}

.boins-text-1img h2 {
    padding-top: 0.5em;
    position: relative;
    font-size: 1.3rem;
    z-index: 0;
    margin-left: 75px;

}

.boins-text-1img,
.boins-text-2img {
    display: block;
    float:left;
    margin-bottom: 2em;
}

#after_section_1 {
    border: none;
}



.page-kontakt-adresse h2 {
    margin-bottom: 1em;
}


#kontakt-form h2 {
    color: #333;
    text-shadow: 0 1px 1px rgba(255,255,255,0.3);
}

#kontakt-form blockquote,
#kontakt-form h3,
#kontakt-form p a {
    color: #fff;
    border-color: #9C9C9C;
    /* background: #b02b2c; */
}

#kontakt-form {
    color: white;
    background: #b02b2c;
    font-size: 16px;
    text-shadow: 0 0 5px #000;
}

.wpcf7-form.demo {
    margin-top: 3em;
}

/* Eingabeknopf Kontaktformular */
input.wpcf7-form-control.wpcf7-submit {
    background: #424242;
}

input[type="text"],
input[type="email"],
textarea
{
    background-color: #F2F2F2 !important;
    box-shadow: inset 0 0 2px rgba(0,0,0,0.7);
    color: #000 !important;
}

.boins-kontakt-logo img {
    margin: 0 auto;
    display: inline-block;
    vertical-align: bottom;
    width: 277px;
}

.frontpage-headline h1 {
    text-transform: none !important;
}

/* social media icon */
#header_main nav .social_bookmarks {
    position: relative;
    top: 38%;
    margin-top: -16px;
    right: 0;
    overflow: hidden;
    clear: none;
    float: left;
}

#top .social_bookmarks {
    height: 50px;
    z-index: 150;
    -webkit-backface-visibility: hidden;
    margin: 0 0 0 -9px;
}

#top .social_bookmarks li {
    height: 100%;
    float: left;
    min-height: 50px;
    padding: 0;
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    border-right-style: solid;
    border-right-width: 1px;
    display: block;
    width: 50px;
}

#top .social_bookmarks li a {
    float: left;
    width: 50px;
    line-height: 47px;
    display: block;
    margin: 0px;
    outline: none;
    padding: 0;
    min-height: 50px;
    height: 100%;
    overflow: visible;
    z-index: 2;
    position: relative;
    text-align: center;
    font-size: 26px;
}



.fp-img-container {
    margin-bottom: 0.5em;
}

.blog-author {
    display: none;
}

.text-sep-cat {
    display: none;
}

#after_section_2 {
    border: none;
}

.boins-flex-wrap .entry-content-wrapper {
    display: flex;
    display: -ms-flexbox;
    flex-direction: column;
    align-items: center;
}

.boins-flex-text-2 {
    margin-left: 0 !important;
}

.ls-slide .ls-l {
    left: 1% !important;
    width: auto !important;
}


.boins-kontakt-logo {
    background: rgba(255,255,255,1);
    margin-top: 1em !important;
    padding: 1em;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.7);
}

.kontakt-icon-list {
    margin-bottom: 0;
}

.kontakt-icon-list h4 {
    color: white;
}

.page-team-person h4 {
    text-transform: none !important;
    line-height: 1.2em
}


@media screen and (min-width: 970px) {

    .boins-flex-wrap .entry-content-wrapper {
        flex-direction: row;
        align-items: initial;
    }

    .boins-flex-wrap .entry-content-wrapper .boins-flex-img
    {
        display: inline-block;
        /*background: url('http://www.magtech.at/wp-content/uploads/2016/05/siemens.jpg');*/
        -webkit-background-size:;
        background-size:cover;
        background-position: left;
        min-height: 100%;
    }

    .boins-flex-wrap .entry-content-wrapper .boins-flex-img-2
    {
        display: inline-block;
        /*background: url('http://www.magtech.at/wp-content/uploads/2016/05/kuka.png');*/
        -webkit-background-size:;
        background-size:cover;
        background-position: center;
        min-height: 100%;
    }

    .boins-flex-text-2 {
        margin-left: 6% !important;
    }

    .ls-slide .ls-l {
        left: 40% !important;
    }

}

@media screen and (min-width: 1400px) {
    .ls-slide .ls-l {
        left: 60% !important;
    }
}



@media only screen
and (min-device-width : 320px)
and (max-device-width : 568px)
and (orientation : portrait){

    .page-leist-h1 h1 {
        font-size: 1.5rem;
    }

    .boins-text-2img h2 {
        z-index: initial;
        float: left;
        margin-left: 0;
    }

    .boins-text-1img h2,
    .boins-text-2img h2 {
        font-size: 1.2rem;
    }

    #kontakt-form h2 {
        font-size: 1.5rem;
    }

    h3.ls-l {
        font-size: 1.4rem !important;
    }
}

@media screen and (max-width: 760px){
    .page-team-person {
        display: none;
    }
    
}

@media only screen
and (min-device-width : 760px)
and (max-device-width : 1024px) {
    
    .page-team-person h4 {
        font-size: 0.8rem;
    }

}

