/*  MICROTHEMER STYLES  */

/*= Full Code Editor CSS ====== */

/* CONTENTS

– COLORS
– TYPOGRAPHY
– SECTIONS 
– NAVIGATION
– DIVI HEADER
– BUTTONS
– FORMS
– POPUP
– FOOTER
– IMPRESSUM
– MOBILE

*/

/* COLORS */
:root {
  --ah-blue: rgba(57,80,112,1);
  --ah-red: rgba(228,3,46,1);
  --ah-champaign: rgba(165,149,119,1);
  --ah-gray-dark: #333;
  --ah-gray-light: #ccc;
}

/* TYPOGRAPHY */

:root, body {
    color: black;
}

h1, h2, h3, h4, h5, h6,
.et_pb_fullwidth_header_subhead ,
.et_pb_testimonial {
	font-family: "Roboto Slab", serif;
}

h1 {
	font-size: 3rem;
	line-height: 4rem;
	font-weight: 700;
}

.ah-h1-slim h1 {
    font-weight: 400;
}

h2 {
	font-size: 2.4rem;
	line-height: 3rem;
	font-weight: 700;
}


h3 {
	font-size: 2rem;
	line-height: 3rem;
	font-weight: 400;
	margin-bottom: 1rem;
}

.ah-kompetenzen .et_pb_column div.et_pb_module:nth-child(1) {
    margin-bottom: 0rem;
}

p, .ah-cta-box {
	font-family: "Roboto Light", sans-serif;
	font-size: 1.2rem;
	line-height: 1.6rem;
}

.ah-home-lead p {
    width: 75%;
    font-size: 1.4rem;
}

.ah-caption p {
    font-size: 1rem;
    line-height: 1.4rem;
    font-style: italic;
}

a {
    color: black;
    text-decoration: underline;
}

a:hover {
    color: var(--ah-red);
    text-decoration: underline;
}

/* SECTIONS */

.ah-section-blue {
    color: white;
    background-color: var(--ah-blue);
}

.ah-section-champaign {
    color: white;
    background-color: var(--ah-champaign)
}

.ah section-white {
    color: black;
    background-color: white;
}

.ah-section-blue h1,
.ah-section-blue h2,
.ah-section-blue h3,
.ah-section-champaign h1,
.ah-section-champaign h2,
.ah-section-champaign h3 {
    color: white;
}

/* NAVIGATION */

.menu-item a {
	font-family: "Roboto Light", sans-serif;
	font-size: 1.2rem;
}

.current-menu-item a {
	color: var(--ah-red) !important;
}

li.current_page_item a {
    text-decoration: underline;
	padding-bottom: 0.2em !important;
	border-bottom: 2px solid var(--ah-blue);
	
}

.ah-quote p {
	font-family: "Roboto Slab", serif;
    font-size: 1.6rem;
    line-height: 2.4rem;
}

/* DIVI HEADER */

.et_pb_fullwidth_header_subhead  {
	font-size: 2rem;
	line-height: 2.8rem;
	margin-bottom: 1rem;
}

.et_pb_header_content_wrapper p {
	margin: 1em 0em;
}





/* BUTTONS */

.et_pb_button,
.nf-form-content .nf-field-element input[type=button] {
	font-family: "Roboto Light",sans-serif;
	font-size: 1.2rem;
	color: white;
	background-color: var(--ah-champaign);
	border-color: white;
	border-radius: 100px;
	padding: 0.5rem 1.5rem !important;
	text-decoration: none !important;
}

.et_pb_button:hover,
.et_pb_bg_layout_light.et_pb_button:hover,
.nf-form-content .nf-field-element input[type=button]:hover {
	font-family: "Roboto Light", sans-serif;
	color: white;
	background-color: var(--ah-blue);
	border-color: white !important;
	border-radius: 100px !important;
	padding: 0.5rem 1.5rem !important;
}

.et_pb_button:after {
	content:"";
}

.ah-cta-button {
    display: block;
    float: left;
    color: white;
    text-decoration: none;
    text-align: center;
    background-color: var(--ah-red);
    border: 2px solid white;
    border-radius: 100px;
    padding: 0.7rem 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.ah-cta-box {
    float: left;
}

.ah-cta-box a {
    display: block;
    float: left;
    color: white;
    text-decoration: none;
    text-align: center;
    background-color: var(--ah-red);
    border: 2px solid white;
    border-radius: 100px;
    padding: 0.7rem 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}


.ah-cta-box a:hover {
    background-color: var(--ah-blue);
}

.ah-cta-box a:hover {
}





/* FORMS */

.nf-form-fields-required,
.ninja-forms-req-symbol {
    display: none;
}





/* POPUP */

/* IMPORTANT: move header & footer out of the way */

div.et_builder_inner_content.et_pb_gutters3 {
    z-index: unset;
}

/* overlay (invisible) */

.ah-cta-popup-outer {
    background-color: rgba(0,0,0,0.7);
    position: fixed; /* fixed it */
    top: 0; /* moves it to the top */
    width: 100%; /* makes it fullwidth */
    height: 100vh; /* makes it full height of the screen */
    z-index: -1; /* moves the section behind all the rest so it is not shown */
    justify-content: center; /* centers the row in the middle */
    align-items: center;  /* centers the row in the middle */
	opacity: 0; /* hides the overlay */
	overflow: hidden;
	transition: opacity 0.4s ease-in-out; /* fades it in */
	-moz-transition: opacity 0.4s ease-in-out;
	  -webkit-transition: opacity 0.4s ease-in-out;
}

/* overlay (visible) */

.ah-cta-popup-outer.show {
	  display: flex; /* flex as this allows us to center the row */
	  opacity: 1; /* shows the overlay */
    z-index: 99999; /* moves the overlay on top of all the other sections */
}

/* X icon to close overlay */

.ah-cta-popup-outer>.et_pb_row:after {
    display: block;
    content: "\4d"; /* Elegant themes icon code */
    font-family: ETmodules;
    position: absolute; /* makes the icon absolute to the parent */
    top: 0px; /* moves to top */
    right: 40px; /* moves to right */
    font-size: 40px;
    visibility: visible;
    color: white;
	  cursor: pointer; /* changes the cursor to be a pointer */
}

/* content of overlay */

.ah-cta-popup-inner {
    background-color: white;
    border: 1px solid black;
    padding: 1rem;
    margin: 0.5rem;
    height: 80vh !important;
    overflow: auto;
}





/* FOOTER */

footer {
    background-color: grey !important;
}

/* Divi custom footer */

.ah-footer-text,
.ah-footer-text p,
.ah-footer-text a {
    font-family: "Roboto Light", sans-serif;
    font-weight: 500;
    font-size: 1.1rem;
    line-height: 1.6rem;
    color: black;
}

.ah-footer-text a:hover {
    color: var(--ah-red);
}

#ah-footer-legal {
    float: left;
    clear: both;
    padding-top: 2rem;
}

#ah-footer-legal,
#ah-footer-legal P,
#ah-footer-legal a {
    font-size: 0.9rem;
}

.ah-social-icon {
    float: left;
    padding-top: 2rem;
    padding-right: 2rem;
}

.ah-social-icon img {
    max-height: 1.6rem;
}

.ah-footer-mobile {
    display: none;
}


/* IMPRESSUM */

#ah-impressum .et_pb_text_inner h2 {
    font-size: 1.4rem;
}


/* MOBILE */

/* mobile navigation */

#mobile_menu {
    border-color: var(--ah-blue);
        padding: 0rem;
}

#mobile_menu a {
    font-size: 1.2rem;
    line-height: 1.8rem;
    font-weight: 400;
    text-decoration-line: unset !important;
}

.mobile_menu_bar_toggle::before {
    color: var(--ah-blue);
}


/*** Responsive Styles Large Desktop And Above ***/
@media all and (min-width: 1405px) {
  
}

/* switch to hamburger navigation */
@media all and (max-width: 1200px) {
    #top-menu-nav {
        display: none;
    }
     #et_mobile_nav_menu {
         display: block;
    }
}

 
/*** 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) {
  .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;
  } 
}
 
/*** 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) {

    h1 {
        font-size: 1.8rem;
        line-height: 2.4rem;
    }

    h2, h3 {
        font-size: 1.8rem;
        line-height: 2.4rem;
    }
    
    p {
    	font-size: 1.1rem;
    }

    #ah-home-hero {
        padding-top: 0rem;
    }
    
    .et_pb_fullwidth_header .et_pb_fullwidth_header_container.left .header-content {
        margin-top: 0rem;
        padding-top: 0rem;
    }
    
    .ah-home-lead p {
        width: unset;
    }
    
    .ah-footer-desktop {
        display: none;
    }

    .ah-footer-mobile {
        display: unset;
    }

    .ah-social-icon {
        float: left;
    }
    
}

