/*
Theme Name: MFT Websites
Theme URI: https://www.kreativhuhn.at
Version: 1.3.1
Description: Divi Child Theme for MFT Bodyteamwork
Author: kreativhuhn
Author URI: https://www.kreativhuhn.at
Template: Divi
*/

@import url("../Divi/style.css");

/* =Theme customization starts here
------------------------------------------------------- */
/* MFT corporate design
   Grün:    #dddd3a     rgb(221,221,58)
   Schwarz: #1a171b     rgb(26,23,27)
   Rot:     #af0917
*/


/*
    load fonts locally
*/
/* roboto-regular - latin */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('./fonts/roboto-v30-latin-regular.eot'); /* IE9 Compat Modes */
    src: local(''),
    url('./fonts/roboto-v30-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('./fonts/roboto-v30-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
    url('./fonts/roboto-v30-latin-regular.woff') format('woff'), /* Modern Browsers */
    url('./fonts/roboto-v30-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
    url('./fonts/roboto-v30-latin-regular.svg#Roboto') format('svg'); /* Legacy iOS */
}
/* roboto-700 - latin */
@font-face {
    font-family: 'Roboto';
    font-style: bold;
    font-weight: 700;
    src: url('./fonts/roboto-v30-latin-700.eot'); /* IE9 Compat Modes */
    src: local(''),
    url('./fonts/roboto-v30-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('./fonts/roboto-v30-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
    url('./fonts/roboto-v30-latin-700.woff') format('woff'), /* Modern Browsers */
    url('./fonts/roboto-v30-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
    url('./fonts/roboto-v30-latin-700.svg#Roboto') format('svg'); /* Legacy iOS */
}
/* roboto-condensed-regular - latin */
@font-face {
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 400;
    src: url('./fonts/roboto-condensed-v25-latin-regular.eot'); /* IE9 Compat Modes */
    src: local(''),
    url('./fonts/roboto-condensed-v25-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('./fonts/roboto-condensed-v25-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
    url('./fonts/roboto-condensed-v25-latin-regular.woff') format('woff'), /* Modern Browsers */
    url('./fonts/roboto-condensed-v25-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
    url('./fonts/roboto-condensed-v25-latin-regular.svg#RobotoCondensed') format('svg'); /* Legacy iOS */
}
/* roboto-condensed-700 - latin */
@font-face {
    font-family: 'Roboto Condensed';
    font-style: bold;
    font-weight: 700;
    src: url('./fonts/roboto-condensed-v25-latin-700.eot'); /* IE9 Compat Modes */
    src: local(''),
    url('./fonts/roboto-condensed-v25-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('./fonts/roboto-condensed-v25-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
    url('./fonts/roboto-condensed-v25-latin-700.woff') format('woff'), /* Modern Browsers */
    url('./fonts/roboto-condensed-v25-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
    url('./fonts/roboto-condensed-v25-latin-700.svg#RobotoCondensed') format('svg'); /* Legacy iOS */
}


/* nav */
.nav li ul {
    border-color: #dddd3a !important;
}

#et-secondary-nav li.navbuttonlook a {
    text-transform: uppercase;
}

#top-menu li.navbuttonlook a {
    padding: 8px !important;
    background-color: #dddd3a;
    border-radius: 3px;
}

.et_pb_fullwidth_header .et_pb_fullwidth_header_container .et_pb_button_one {
    margin-right: 15px;
}
.et_pb_fullwidth_header .et_pb_fullwidth_header_container .et_pb_button_two {
    margin-left: 0;
}

/* list styling */
.entry-content ol {
    list-style-position: outside;
}
.entry-content ol li {
    margin-left: 24px;
}

/* lists with custom bullets */
.li-custom-bullets ul li {
    padding-left: 30px;
    list-style:none;
    margin-bottom: 10px;
}
.li-custom-bullets ul li::before {
    content: '';
    display: inline-block;
    margin-right: 7px;
    margin-left: -30px;
    padding-right: 5px;
    font-family:'ETmodules';
    font-size: 1.2em;
    vertical-align: middle;
}
.li-custom-bullets--check ul li::before {
    content: '\52';
    color: #dddd3a;
}

/* single post */
.et_post_meta_wrapper > img {
    width: 400px;
}

.et_pb_post .et_pb_section {
    padding: 0;
}


/* hide sidebar for 404 pages */
.error404 #main-content .container:before { background: none; }
.error404 #sidebar { display: none; }
@media ( min-width: 981px ) {
    .error404 #left-area {
        width: 100%;
        padding: 23px 0px 0px !important;
        float: none !important;
    }
}

p:last-of-type {
    padding-bottom: 1em;
}

strong {
    font-weight: 900;
}

.et_pb_testimonial {
    padding: 30px 30px 5px 30px;
}

.et_pb_testimonial h3 {
    padding-bottom: 0;
}

#header-image {
    margin-bottom: 20px;
    width: 100%;
}

.et_mobile_device .et-pb-arrow-prev, .et_pb_slider .et-pb-arrow-prev,
.et_mobile_device .et-pb-arrow-next, .et_pb_slider .et-pb-arrow-next {
    opacity: 1;
}

.et_mobile_device .et-pb-arrow-prev, .et_pb_slider .et-pb-arrow-prev {
    left: 22px;
}

.et_mobile_device .et-pb-arrow-next, .et_pb_slider .et-pb-arrow-next {
    right: 22px;
}

.et_mobile_device .et-pb-arrow-prev, .et_pb_slider .et-pb-arrow-prev::before,
.et_mobile_device .et-pb-arrow-next, .et_pb_slider .et-pb-arrow-next::before {
    color: rgb(255, 255, 255);
}

.grid article {
    margin-bottom: 1% !important;
    margin-right: 1% !important;
    width: 32% !important;
}

#blog-filter {
    margin-bottom: 30px;
}

#blog-filter .et_pb_button, #blog-filter .et_pb_button:hover {
    padding: .3em 1em !important;
    border-color: rgba(68, 68, 68, .5);
}

#blog-filter .et_pb_button:not(:last-child) {
    margin-right: 5px;
}

#blog-filter .et_pb_button.active {
    background-color: rgb(221, 221, 58);
}

#blog-filter .et_pb_button:hover::after {
    display: none;
}

/* Formular Checkboxen */
.et_pb_contact_field_options_wrapper .et_pb_contact_field_options_title {
    display: none;
}

/* Gewinnspiel-Formular */
.postid-12763 .et_pb_contact_form_container {
    margin-bottom: 0 !important;
}

.postid-12763 .et_pb_contact_form_container + .et_pb_text {
    padding: 0 10px;
}

.postid-12763 .et_pb_contact {
    padding: 30px 10px;
    background: rgb(221, 221, 58);
}

.postid-12763 .et_pb_contact input[type='text'] {
    border: 1px solid transparent;
}

.postid-12763 .et_pb_contact .et_pb_contact_submit, .postid-12763 .et_pb_contact input {
    background-color: rgb(255, 255, 255);
}

.postid-12763 .et_pb_contact .et_pb_contact_submit {
    color: rgb(68, 68, 68);
}

.postid-12763 .et_pb_contact .et_pb_contact_submit, .postid-12763 .et_pb_contact .et_pb_contact_submit:hover {
    padding: .3em 1em;
}

.postid-12763 .et_pb_contact .et_pb_contact_submit:hover::after {
    display: none;
}

.postid-12763 .et_pb_contact .et_pb_contact_submit:hover {
    background-color: rgb(235, 235, 235);
    border-color: rgb(68, 68, 68);
}

.postid-12763 .et_contact_bottom_container {
    float: none;
    margin: 0 auto;
    text-align: center;
}

.postid-12763 .et_pb_contact p input[type="checkbox"] + label i {
    top: -2px;
    background-color: rgb(255, 255, 255);
}

.postid-12763 .et_pb_contact input[type="checkbox"]:checked + label i::before {
    color: rgb(68, 68, 68) !important;
}

#home-slider .et_pb_slide_description {
    margin: 0;
    padding-left: 0;
    padding-right: 0;
    max-width: 510px;
}

#home-slider .et_pb_button_one.et_pb_button, #home-slider .et_pb_button_two.et_pb_button, #recommendations .et_pb_button_one.et_pb_button {
    font-size: 20px;
    padding-left: 2em;
    padding-right: 0.7em;
}

#home-slider a.et_pb_button {
    display: inline-block;
    margin-top: 20px;
}

#home-slider .et_pb_button_one {
    margin-right: 15px;
}

#home-slider .et_pb_button_two {
    margin-left: 0;
}


#home-slider .et_pb_button_one.et_pb_button::before, #recommendations .et_pb_button_one.et_pb_button::before {
    content: attr(data-icon);
    font-family: "ETmodules" !important;
    line-height: 1.7em;
    font-size: 1em !important;
    opacity: 1;
    margin-left: -1.3em;
    right: auto;
    display: inline-block;
}

#home-slider .et_pb_button_one.et_pb_button:hover::before, #recommendations .et_pb_button_one.et_pb_button:hover::before {
    right: auto;
    margin-left: -1.3em;
}

#home-slider .et_pb_button_two.et_pb_button::before {
    content: attr(data-icon);
    font-family: "ETmodules" !important;
    line-height: 1.7em;
    font-size: 1em !important;
    opacity: 1;
    margin-left: -1.3em;
    right: auto;
    display: inline-block;
}

#home-slider .et_pb_button_two.et_pb_button:hover::before {
    right: auto;
    margin-left: -1.3em;
}

#home-slider .et_pb_button:hover::after, #recommendations .et_pb_button:hover::after {
    display: none;
}

.et_pb_slider .et_pb_container {
    width: 100% !important;
}

#home-slider .et_pb_slide_description h2.et_pb_slide_title {
    font-size: 42px;
}

@media screen and (max-width: 767px) {
    #home-slider .et_pb_slide_description h2.et_pb_slide_title {
        font-size: 36px;
    }
}

#home-slider .et_pb_slide_image {
    display: block !important;
}


.padding-top-0 {
    padding-top: 0 !important;
}

.padding-bottom-0 {
    padding-bottom: 0 !important;
}

.et_pb_testimonial_description {
    padding-top: 20px;
    padding-bottom: 40px;
    font-size: 16px;
    font-weight: normal;
    font-style: italic;
}

.flex-row {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-align: center !important;
    align-items: center !important;
}

.flex-col-4 {
    -ms-flex: 0 0 33.333333%;
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
}

@media screen and (max-width: 767px) {
    .flex-col-4 {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.text-center {
    text-align: center;
}

.et-social-icons {
    float: none;
}

.et-social-icons li:first-child {
    margin-left: 0;
}

.two-columns .et_pb_gallery_items[data-per_page="2"] .et_pb_gallery_item {
    width: 46% !important;
}

@media screen and (max-width: 767px) {
    .two-columns .et_pb_gallery_items[data-per_page="2"] .et_pb_gallery_item {
        width: 96% !important;
    }
}

.header-badge {
    position: absolute;
    top: 60px;
    left: -200px;
    width: 150px;
    height: 150px;
}

@media screen and (max-width: 767px) {
    .header-badge {
        position: static;
        margin: 30px 0;
    }
}

/* Button style */
div#trainingstipps .et_pb_button {
    color: #ffffff!important;
    border-color: #ffffff!important;
}

/* hide top menu on TOGU pages */
body.page-id-13614 #top-menu-nav, body.page-id-13615 #top-menu-nav,
body.page-id-13617 #top-menu-nav, body.page-id-13618 #top-menu-nav,
body.page-id-13736 #top-menu-nav, body.page-id-13737 #top-menu-nav,
body.page-id-13620 #top-menu-nav, body.page-id-13621 #top-menu-nav {
    opacity: 0;
    visibility: hidden;
}
