/*
 Theme Name:     Divi Child Theme
 Theme URI:      http://www.elegantthemes.com
 Description:    Child Theme for Divi Theme by Elegant Themes
 Author:         Tobias Bals
 Author URI:     https://pixeltypen.de
 Template:       Divi
 Version:        1.0.16
*/

/* Ab hier kannst du deine CSS-Anpassungen eintragen
------------------------------------------------------- */
body {
    font-family: ff-good-web-pro, sans-serif;
}

.post-template-default #main-header, .archive #main-header, .category #main-header, .search-results #main-header {background-color: #00b398!important;}

:root {
    --green: #00b398;
    --red: #c63527;
    --dark-beige: #65665c;
    --light-beige: #d6d2c5;
}

/* Standard green header for pages that are not Divi customized */
.post-template-default #main-header, .archive #main-header, .category #main-header {background-color: #00b398!important;}

/* DESIGNELEMENTE */

    /* Slider */
    .et_pb_slider .et_pb_slide_content h2 {
        padding: 18px 10px 100px 10px;
        text-align: left;
    }

	.et_pb_slider .et_pb_slide_content > * {
		padding-top: 30px;
		text-align: left;
	}

	.et_pb_slider h2.et_pb_slide_title {
	    margin-bottom: 40px;
		text-align: left;
	}


	/* Image Gallery Overlay */

	.et_gallery_item .et_overlay:before {
    	color: var(--green);
	}

	/* Suchergebnisse Blog Posts */

	.search-results #main-header.et-fixed-header li a {
    	color: white !important;
	}

	.search-results #main-header .sub-menu {
		background-color: rgba(255,255,255,0.95);
	}

	.search-results #main-header .sub-menu li a {
		color: #65665c !important;
	}

	.pagination a {
		color: var(--green);
		font-weight: 600;
	}

	/* Blog Post Links */

	.et_pb_posts a.more-link {
		display: inline-block;
		margin-top: 15px;
		padding: 3px 10px;
	}

    /* Akkordions */

    .et_pb_toggle {
        transition: all 0.2s ease-in-out;
    }

    .et_pb_accordion .et_pb_toggle:not(:last-child) {
        margin-bottom: 10px;
    }

    .et_pb_toggle.et_pb_toggle_close {
        background-color: var(--light-beige)
    }

    .et_pb_toggle_title:before {
        color: var(--dark-beige);
    }

    .et_pb_toggle_open .et_pb_toggle_title, .et_pb_toggle_open h5.et_pb_toggle_title {
        color: var(--green);
    }

	/* Blurbs /Informationsmodul */


	.et_pb_blurb .et_pb_blurb_content {
		max-width: 100%;
	}

    /* Bullet Points */
    .et_pb_text ul {
        padding-left: 0;
    }

    .et_pb_text ul li {
        padding-left: 28px;
        list-style-type: none;
        line-height: 1.2;
        margin-bottom: 9px;
    }

    .et_pb_text ul li:before {
        content: url(https://geisskopf.pixeltypen.de/wp-content/uploads/2019/09/slashes_bold.svg);
        width: 20px;
        position: absolute;
        left: 0;
    }

    /* Text Link */

    .et_pb_module a {
        font-weight: 600;
        text-transform: uppercase;
    }

    /* Added exception for juicer */
    .et_pb_module:not(.et_pb_gallery):not(.et_pb_button_module_wrapper):not(.et_pb_post_slider) .et_pb_module:not(.juicer-feed) a:after {
        content: url(/wp-content/uploads/2019/11/external-link.svg);
        width: 15px;
        display: inline-block;
        margin-left: 2px;
        transform: translateY(1px);
        transition: all 0.2s ease-in-out;
    }

    .et_pb_module a:hover {
        background: #00b3983d;
    }

    /* Trennlinie */

    .et_pb_divider:before {
        border-color: var(--dark-beige) !important;
    }

	/* Tabellen Overflow */

	.table_wrapper .et_pb_text_inner {
		overflow-x: scroll;
	}

	.et_pb_column_4_4 .table_wrapper table {
		 min-width: 700px;
	}

	.et_pb_column_1_2 .table_wrapper table {
		 min-width: 350px;
	}

    /* Fullwidth Section */

    .fullwidth-50-50 {
        max-width: 100%;
        width: 100%;
        padding: 0 !important;
    }

    .fullwidth-50-50.text-left > .et_pb_column:first-child {
        padding: 50px;
    }

    .fullwidth-50-50.text-right > .et_pb_column:last-child {
        padding: 50px;
    }

    @media screen and (min-width: 981px) {
        .fullwidth-50-50 {
            display: flex;
            align-items: center;
        }

        .fullwidth-50-50 .et_pb_column {
            margin-right: 0;
            width: 50%;
        }
    }

    @media screen and (max-width: 980px) {
        .fullwidth-50-50.text-left {
            display: flex;
            flex-direction: column-reverse;
        }
    }

    /* Gallery */

    .mfp-bottom-bar {
        display: none !important;
    }

    .et_pb_gallery_grid .et_pb_gallery_item img {
        min-height: 180px;
        object-fit: cover;
    }

    .et_pb_gallery_item {
        border: 3px solid white;
    }

    /* Buttons */

    .et_pb_button {
        background: var(--red);
        color: white !important;
    }

    .et_pb_button:before {
        content: "";
        position: absolute;
        display: block;
        height: 100%;
        width: calc(100%);
        background: var(--red);
        right: 0px !important;
        top: 0;
        opacity: 1;
        transform: skewX(0deg);
        z-index: -1;
        transition: all 0.2s ease;
    }

    .et_pb_button:hover:before {
        width: calc(100% + 30px);
        right: -15px !important;
        background: var(--dark-beige);
        transform: skewX(-20deg);
    }



/* ------------------------------------------------------------------------------ */

/* Allgemein */

.berg-info, .et_pb_module a {
    color: var(--green);
}

.berg-info {
    font-weight: 600;;
}


/* Divider Center */

.et_pb_space.et_pb_divider_hidden {
    height: 17px;
    background: url(https://geisskopf.pixeltypen.de/wp-content/uploads/2019/09/slashes_bold.svg) no-repeat;
    background-position: center;
    margin-bottom: 20px !important;
    position: relative;
}

.et_pb_space.et_pb_divider_hidden:before, .et_pb_space.et_pb_divider_hidden:after {
    content: "";
    height: 1px;
    width: calc(50% - 30px);
    position: absolute;
    left: 0;
    top: 7px;
    background: var(--dark-beige);
    display: block;
    opacity: 0.5;
}

.et_pb_space.et_pb_divider_hidden:after {
    /* left: calc(50% + 30px); */
    left: initial;
    right: 0;
    transform: translate(0);
}

.et_pb_divider:after, .et_pb_space:after {
    display: inline-block;
    content: "";
    background: url(https://geisskopf.pixeltypen.de/wp-content/uploads/2019/09/slashes_bold.svg) no-repeat;
    background-color: white;
    background-size: 30px;
    background-position: center center;
    height: 15px;
    padding: 0 12px;
    width: 50px;
    left: 50%;
    position: absolute;
    transform: translate(-50%, -7px);
    z-index: 9999;
    box-sizing: border-box;
}

/* Divider Left */

/* .et_pb_space.et_pb_divider_hidden.divider-left {
    background-position: center left;
}

.et_pb_space.et_pb_divider_hidden.divider-left:before {
    display: none !important;
}

.et_pb_space.et_pb_divider_hidden.divider-left:after {
    width: calc(50% - 60px);
    left: 60px;
} */

/* Top Menu */

#top-menu > li > a {
    position: relative;
}

#top-menu > li:not(:last-child) > a:after {
    content: "";
    display: inline-block;
    position: absolute;
    height: 20px;
    width: 20px;
    background: url(https://geisskopf.pixeltypen.de/wp-content/uploads/2019/09/slashes_bold.svg) no-repeat;
    top: 3px;
    right: -23px;
}

/* Header Navigation */

#main-header .logo_container a:before {
    content: "";
    background: url(/wp-content/uploads/2019/09/geisskopf-logo-black.svg) no-repeat;
    position: absolute;
    display: inline-block;
    width: 100%;
    height: 43.4px;
    margin-top: 19px;
    opacity: 0;
    transition: 0.4s ease-in-out;
}

#main-header.et-fixed-header .logo_container a:before {
    opacity: 1;
    height: 29px;
    margin-top: 13px;
}

#main-header.et-fixed-header #logo {
    opacity: 0;
}

span.mobile_menu_bar.mobile_menu_bar_toggle:before {
    background: white;
    color: var(--green);
    font-size: 40px;
    border-radius: 2px;
}

span.mobile_menu_bar.mobile_menu_bar_toggle:after {
    content: "";
    background: url(/wp-content/uploads/2019/09/berg-sold-white.svg) no-repeat;
    height: 30px;
    width: 100%;
    display: block;
    position: absolute;
    right: 0;
    top: -8px;
}

.et_mobile_menu {
    background: rgba(255,255,255,0.95) !important;
    border-top: 0;
}

.et_mobile_menu li a {
    color: #65665c !important;
}

.et_mobile_menu li a {
    border-bottom: 0 !important;
}

.et_mobile_menu li:not(:last-child) a {
    border-bottom: 2px solid #65665c2b !important;
}

.et_mobile_menu li:hover a {
    color:var(--green) !important;
}



/* Juicer Anpassungen */

h1.referral {
  display: none !important;
}

li.feed-item.juicer.image-post {
  display: none;
}




/* Buttons */

.et_pb_section .et_pb_button, .et_pb_section .et_pb_button:hover {
    border-radius: 0;
    font-size: 16px !important;
    padding: 10px 20px !important;
    border: 0 !important;
    text-transform: uppercase;
}

.et_pb_section .et_pb_button:hover {
    background: var(--dark-beige) !important;
    color: white !important;
}

.et_pb_slider .et_pb_button {
    background: var(--green);
    color: white;
}

.et_pb_slider .et_pb_button:before {
	background: var(--green);
}

.et_pb_slider .et_pb_button:hover:before {
	background: var(--dark-beige);
}

.et_pb_with_background .et_pb_button, .et_pb_with_background .et_pb_button:hover {
    background: var(--red);
    color: white;
}

/* Section Start Berginfo */

.section-start-info .et_pb_column {
    padding: 30px;
    transition: all 0.2s ease-in-out;
}

.section-start-info .et_pb_column:hover {
    transform: scale(1.05);
    cursor: pointer;
}

.section-start-info .et_pb_blurb_description {
    text-transform: uppercase;
    text-align: center;
}

.section-start-info img {
    max-height: 70px;
    max-width: 70px;
}


/* Start Angebote */

.row-start-angebote > .et_pb_column {
    clip-path: polygon(73% 3%, 87% 20%, 100% 20%, 100% 60%, 100% 100%, 0 100%, 0 20%, 36% 20%, 52% 0%, 64% 15%);
    
    /* Safari Support */
    -webkit-clip-path: polygon(73% 3%, 87% 20%, 100% 20%, 100% 60%, 100% 100%, 0 100%, 0 20%, 36% 20%, 52% 0%, 64% 15%);
}

.row-start-angebote > .et_pb_column:before {
    content: "";
    background: #0000003b;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.row-start-angebote > .et_pb_column .et_pb_text {
    margin-bottom: 0;
    padding: 20px;
    padding-top: 70px;
    text-transform: uppercase;
    color: white;
    font-size: 23px;
    min-height: 190px;
}

.row-start-angebote .et_pb_column .et_pb_text_inner strong {
    transition: all 0.2s ease-in-out;
}

.row-start-angebote .et_pb_column:hover .et_pb_text_inner strong {
    padding-left: 20px;
}

.row-start-angebote .et_pb_button {
    /* background: #65665c; */
    background: var(--red);
    color: white;
    border: 0;
    text-transform: uppercase;
    font-size: 15px;
    width: 100%;
    text-align: center;
    padding: 10px;
}

/* Section Start Vielseitig */
.section-start-vielseitig > .et_pb_row .et_pb_column:last-child {
    min-height: 350px;
    display: block;
}

/* Slider */

.et_pb_slider .et_pb_slide_content {
    width: 200px;
    padding-top: 32px;
    background: url(/wp-content/uploads/2019/09/berg-border-green.svg) no-repeat;
    border-top: 0;
}

.et_pb_slider .et_pb_slide_content h2 {
    padding-bottom: 100px;
    padding-top: 18px;
    border: 7px solid var(--green);
    border-top: 0;
}

.et_pb_slider .et_pb_button_wrapper {
    text-align: left;
}


/* Footer */

#main-footer {
    border-top: 6px solid var(--green);
}

#main-footer #media_image-3 img {
    max-width: 160px !important;
    height: 70px !important;
}

#main-footer a {
    color: var(--green) !important;
}

#menu-footer li {
    text-transform: uppercase;
}

.hidden {
	display: none;
}

/* Start Meta Inforatmion Berg */

.row-metainfo-mountain br {
	display: none;
}

/* Juicer Feed */

.juicer-feed ul li:before {
	display: none !important;
}


/* RESPONSIVE */

@media screen and (min-width: 981px) {
    .section-start-info .et_pb_column {
        width: 100%;
    }
    .section-start-info .et_pb_column:not(:last-child) {
        margin-right: 10px;
    }

/* Section Start Vielseitig */

.section-start-vielseitig, .section-start-vielseitig > .et_pb_row {
    padding-top: 0;
    padding-bottom: 0;
}

.section-start-vielseitig > .et_pb_row {
    max-width: 100%;
    width: 100%;
}

.section-start-vielseitig > .et_pb_row .et_pb_column:first-child {
    padding: 5vw 5vw 5vw 10vw;
    margin-right: 0;
}

.section-start-vielseitig > .et_pb_row .et_pb_column:last-child {
    width: 40%;
}
}

@media screen and (max-width: 980px) {

    .section-start-info {
        padding-top: 50px !important;
        margin-top: initial !important;
    }
}

@media screen and (min-width: 480px) and (max-width: 980px) {
    .section-start-info .et_pb_row {
        display: flex;
        justify-content: center;
    }
}