
/* 
 Theme Name:     Divi Child
 Author:         Divi theme examples
 Author URI:     https://www.essenzgrafik.ch 
 Template:       Divi
 Version:        1.0 
*/ 


/* ----------- PUT YOUR CUSTOM CSS BELOW THIS LINE -- DO NOT EDIT ABOVE THIS LINE --------------------------- */ 


/*
Farben:
Lemon: #e5f846


*/


/*//////  general styling  /////*/


/* borders */
#page-container {
	box-sizing: border-box;
	border: solid #333333 8px !important;
	z-index: 530;
}
h1, h2, h3, h4, h5, h6 {
	font-weight: bolder;
}
h4, h5, h6 {
    line-height: 1.4em !important;
}
h1 {font-size: 115px !important}
h2 {font-size: 50px !important}
h3 {font-size: 38px !important}
h4 {font-size: 27px !important}

@media all and (max-width: 1240px) {
    h1 {font-size: 105px !important}
    h2 {font-size: 48px !important}
    h3 {font-size: 33px !important}
    h4 {font-size: 22px !important}
}
@media all and (max-width: 980px) {
    h1 {font-size: 90px !important}
    h2 {font-size: 44px !important}
    h3 {font-size: 31px !important}
    h4 {font-size: 22px !important}
}
@media all and (max-width: 767px) {
    h1 {font-size: 85px !important}
    h2 {font-size: 40px !important}
    h3 {font-size: 28px !important}
    h4 {font-size: 22px !important}
}
@media all and (max-width: 479px) {
    h1 {font-size: 65px !important}
    h2 {font-size: 30px !important}
    h3 {font-size: 21px !important}
    h4 {font-size: 19px !important}
}

::selection {
	color: #000000;
	background: #46f8b4;
  }

/* Korrektur: Section-Hintergründe transparent */
.et_pb_section {
    background-color: rgba(0,0,0,0);
}

.et_pb_scroll_top.et-pb-icon {
	background: rgba(51,51,51,1);
	padding-left: 2px;
    position: fixed;
    bottom: 80px;
	right: 15px;
	border: solid 2px #fff;
    -webkit-border-radius: 22px;
    -moz-border-radius: 22px;
    border-radius: 22px;
    display: none;
    cursor: pointer;
    font-size: 30px;
    padding: 4px;
    color: #fff;
}

footer {
	position: absolute;
	width: 100%;
	left: 0;
	z-index: 510;
	border: solid #333333 8px;
	background-color:#ffffff;
}




/* navi */
#top-menu {
	font-weight: 700;
}

.et_fullwidth_nav #main-header .container {
	padding-right: 30px;
	padding-left: 20px;
}

#top-menu li {
    padding-right: 40px;
}

#main-header, #main-header.et-fixed-header {
	left: 0;
	border: solid #333333 8px; 
    -moz-box-shadow:none !important; 
    -webkit-box-shadow:none !important; 
    box-shadow:none !important; 
}

.nav ul li a:hover, .et_mobile_menu li a:hover {
    background-color: transparent;
    opacity: 0.6;
}
.et_mobile_menu li a {
    border-bottom: none;
}

@media (max-width: 980px) {
.et_fullwidth_nav #main-header .container {
    padding-right: 0px;
    padding-left: 0px;
    }
}



@media (max-width: 980px) {
    .et_non_fixed_nav.et_transparent_nav #main-header, .et_non_fixed_nav.et_transparent_nav #top-header, .et_fixed_nav #main-header, .et_fixed_nav #top-header {  
    position: fixed;
    } 
}
.et_mobile_menu {
    overflow: scroll !important;
    max-height: 83vh;
}

@media all and (max-width: 767px) {
    #et-top-navigation {
        padding-top: 10px !important;
    }
    .mobile_menu_bar {
        padding-bottom: 10px !important;
    }
}

/* //////  HOME  ////// */

/* Hand-Grafik */
#essenzgrafik {
	position: absolute;
	top: 50px;
	right: 0;
	max-width: 650px;
	z-index: 520;
}
@media all and (max-width: 1240px) {
    #essenzgrafik {
        top: 50px;
        right: 0;
        max-width: 500px;
    }
}
@media all and (max-width: 980px) {
    #essenzgrafik {
        top: 280px;
        right: 0;
        max-width: 500px;
    }
}
@media all and (max-width: 600px) {
    #essenzgrafik {
        top: 370px;
        right: 0;
        max-width: 500px;
    }
}
@media all and (max-width: 479px) {
    #essenzgrafik {
        top: 295px;
        right: 0;
        max-width: 350px;
    }
}

/* Tropfen SVG / Morph-Animation */

.morph-wrap {
	position: fixed;
	top: 400px;
	right: 0;
	width: 100%;
	z-index: 500;
}

.morph {
	position: relative;
	height: 100%;
	right: 320px;
/*	fill: var(--background-color-2); */
	fill: #e5f846;
	flex: none;
	float: right;
}

@media all and (max-width: 1240px) {
        .morph-wrap {
            top: 342px;
            right: -110px;
        } 
  }
@media all and (max-width: 980px) {
    .morph-wrap {
        top: 557px;
        right: -110px;
    } 
}
@media all and (max-width: 600px) {
    .morph-wrap {
        top: 650px;
        right: -110px;
    } 
}
@media all and (max-width: 479px) {
    .morph {display: none;}
}

/* Tropfen Handyvariante aus-/einblenden */
.tropf {display: none;}

@media all and (max-width: 479px) {
    .tropf {
        display: block;
        width: 50px;
        position: relative;
        right: 350px;
        top: -140px;
        flex: none;
        float: right;
    }
}
.show {
    -webkit-transition: opacity 1s ease-in-out;
    -moz-transition: opacity 1s ease-in-out;
    -ms-transition: opacity 1s ease-in-out;
    -o-transition: opacity 1s ease-in-out;
     opacity: 1;
}
.hide {
    -webkit-transition: opacity 2s ease-in-out;
    -moz-transition: opacity 2s ease-in-out;
    -ms-transition: opacity 2s ease-in-out;
    -o-transition: opacity 2s ease-in-out;
     opacity: 0;
}



@media all and (max-width: 479px) {
    #lead-top {
        margin-top: 30px !important;
    }
}

.ich, .textebene {
	z-index: 520;
}

.portraet {
	max-width: 400px;
	float: right;
	}
@media all and (max-width: 980px) {
    .portraet {
        max-width: 400px;
        float: left;
        }
}

.textweiss h1, .textweiss h2, .textweiss h3, .textweiss h4, .textweiss p, .textweiss a {
	color: #ffffff;
}
.textweiss a {
	border-bottom: 1px solid #ffffff;
}
.textweiss a:hover {
	border-bottom: 1px solid transparent;
}
.textgelb h1, .textgelb h2, .textgelb h3, .textgelb h4, .textgelb p {
    color: #e5f846;
}


/* Projekte */

/* Remove "+" from image overlays */
.et_pb_portfolio_item .et_overlay:before {
    display: none!important;
}


.et_pb_portfolio_item .entry-title {
    position: absolute!important;
    top: 15%;
    left: 8%;
    right: 8%;
    opacity: 0;
    z-index: 10;
    transition: all 0.5s ease;
    pointer-events: none;
}
.et_pb_portfolio_item:hover .entry-title {
    opacity: 1;
}
.et_pb_portfolio_item .post-meta {
    position: absolute!important;
    top: 6%;
    left: 8%;
    right: 8%;
    opacity: 0;
    z-index: 10;
    transition: all 0.5s ease;
    pointer-events: none;
}
/*
.et_pb_portfolio_item .post-meta {

    transform: translateY(-50%)!important;
}
*/
.et_pb_portfolio_item:hover .et_pb_module_header, .et_pb_portfolio_item:hover .post-meta {
    opacity: 1!important;
}
.et_pb_gutters3 .et_pb_column_4_4 .et_pb_grid_item {
    width: 45%;
    margin-right: 5%;
}
@media all and (max-width: 980px) {
    .et_pb_gutters3 .et_pb_column_4_4 .et_pb_grid_item {
        position: relative;
        width: 65%;
        margin-right: 0;
        float: left;
    }
}
@media all and (max-width: 767px) {
    .et_pb_gutters3 .et_pb_column_4_4 .et_pb_grid_item {
        position: relative;
        width: 100%;
        margin-right: 0;
        float: left;
    }
}

/* Pop Up */
.dp_ppp_modal_overlay .pop_up_close_btn {
    color: #ffffff !important;
    font-family: Arial,Verdana,sans-serif !important;
    font-size: 26px !important;
    font-weight: bold;
    height: 44px;
    width: 44px;
    line-height: 40px !important;
    opacity: 1 !important;
    padding-right: 0;
    position: absolute;
    right: 5px !important;
    top: 5px !important;
    text-align: center;
    text-decoration: none;
    background-color: #000000 !important;
	border-radius: 30px;
	margin: 10px 10px; 
	padding-right: 10px !important;
}
.dp_ppp_modal {
    height: 90% !important;
    left: 50%;
    max-width: 90% !important;
    position: fixed;
    top: 50%;
    width: 100%;
    z-index: 100001;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    display: none;
    background: #fff;
    border-radius: 8px;
    overflow-x: visible;
}
#modal_inner {
	padding-top: 65px;
}
#modal_inner body {
	border: 0px !important;
}

.dp_ppp_modal_overlay {
    background: rgba(0, 0, 0, 0.85) !important;
}



/*  KONTAKT  */

.et-pb-contact-message p {
    font-size: 1.6em;
    color: #e5f846 !important;
}




/*   PROJEKTE  */

/* gallery */
figcaption {
    display: none;
}

.single-project p a {
	border-bottom: 1px solid;
}
.single-project p a:hover {
	border-bottom: 1px solid transparent;
}

@media all and (max-width: 980px) {
.dp_ppp_module .et_pb_portfolio_item.et_pb_grid_item .entry-title {
    font-size: 22px !important;
    padding-bottom: 0;
    word-wrap: break-word;
    }
}



/*   KONTAKT   */

@media all and (max-width: 767px) {
    .dwd_map_extended {
        height: 350px !important;
    }     
}
.dwd_map_extended h5,.dwd_map_extended h2,.dwd_map_extended h3,.dwd_map_extended h4 {
    font-size: 16px !important;
    font-weight: bolder;
}     

.grafikdesign-freelancer p, .grafikdesign-freelancer a {
    color: #000000 !important;
    border-bottom: none !important;
}

.grecaptcha-badge { visibility: hidden !important; }




/*///// Media Queries /


/*** Responsive Styles Large Desktop And Above ***/
@media all and (min-width: 1405px) {
  
}
 
/*** Responsive Styles Standard Desktop Only ***/
@media all and (min-width: 1100px) and (max-width: 1405px) {
 
}
 
/*** Responsive Styles Tablet And Below ***/
@media all and (max-width: 980px) {
 
}
 
/*** Responsive Styles Tablet Only ***/
@media all and (min-width: 768px) and (max-width: 980px) {
 
}
 
/*** Responsive Styles Smartphone Only ***/
@media all and (max-width: 767px) {
 
}
 
/*** Responsive Styles Smartphone Portrait ***/
@media all and (max-width: 479px) {
 
}


