/*
 Theme Name:     FER
 Theme URI:      https://www.fabian-erl.de
 Description:    FER Child Theme
 Author:         Frazil
 Author URI:     https://kreativkombinat.de/
 Template:       Divi
 Version:        1.0.0
*/

@import url('../fabian-erl.de/css/menu.css');
@import url('../fabian-erl.de/css/slick.css');

/* =Theme customization starts here
------------------------------------------------------- */

body {
	background-color: #ffffff;
	font-family: 'Arial',Helvetica,Arial,Lucida,sans-serif !important;
	font-size: 14px;
}

@media (min-width: 1200px) {
	body {
		font-size: 16px;
	}
}

.et_pb_section {
	margin: 0rem 7.5% 5rem 7.5% !important;
	padding: 10rem 0 0 0 !important;
}

@media (min-width: 768px) {
	.et_pb_section {
		margin: 0 10% 10rem 10% !important;
	}
}

@media (min-width: 1200px) {
	.et_pb_section {
		margin: 0 5% 20rem 5% !important;
		padding: 0 !important;
	}
}

a:hover {
	color: #000 !important;
}

/* Header */

#main-header {
	background-color: transparent;
	box-shadow: none !important;
	z-index: 10 !important;
}

#main-header.et-fixed-header {
	background-color: #ffffff !important;
	box-shadow: none !important;
}

/* Logo Change */

.et-fixed-header img#logo {
    content: url('/wp-content/uploads/2023/09/logo-min.png');
}

.et_header_style_centered header#main-header.et-fixed-header .logo_container {
	max-height: 85px;
}

.et_header_style_centered #logo {
	max-height: 80px;
}

@media (min-width: 1200px) {
	.et_header_style_centered #logo {
		max-height: 280px;
	}
}

/*********************************
style mobile fixed header
*********************************/
 
@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;
	 
	}
	

.app-section-hero {
	margin-top: -5rem !important;
	padding: 0;
}

@media (min-width: 992px) {
	.app-section-hero {
		margin-top: -15rem !important;
		padding: 54px 0 0 0 !important;
	}
}

.app-section-hero .et_pb_row {
	padding: 27px 0 0 0 !important;
}

.app-section-projects {
	margin: 0 auto 10rem auto !important;
	max-width: 98% !important;
}

@media (min-width: 1200px) {
	.app-section-projects {
		margin: 0 auto 20rem auto !important;
	}
}

.app-section-highlights {
	margin: 0 !important;
	border: 1px solid #cccccc;
	border-width: 1px 0;
	padding: 0 !important;
}

@media (min-width: 1200px) {  
    .app-section-highlights {
		margin: 0 0 10rem 0 !important;
	}
}

.app-section-highlights .et_pb_row {
	margin: 0 !important;
	padding: 0 !important;
}

.et-pb-slider-arrows {
	display: none;
}

@media (min-width: 1200px) {
	.et-pb-slider-arrows {
		display: block;
	}
}

.app-section-contact {
	margin-top: 0 !important;
	margin-bottom: 10rem !important;
}

.app-section-map {
	margin: 0 !important;
}

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

/* Custom Grid Addons */

.app-aside {
	width: 100% !important;
}

@media (min-width: 1200px) {
	.app-aside {
		width: 5% !important;
		z-index: 99999999999999;
		max-height: 100px;
	}
}

@media (min-width: 1200px) {
	.app-center-image {
		width: 604px !important;
	}
}

.app-section-header {
	text-transform: uppercase;
	margin-bottom: 3rem !important;
}

@media (min-width: 1200px) {
	.app-section-header {
		writing-mode: vertical-lr;
		transform:rotate(180deg);
		text-transform: uppercase;
		margin-bottom: 0;
	}
}

.app-section-header-slider {
	width: 80%;
	margin: 0 auto;
}

@media (min-width: 1200px) {
	.app-section-header-slider {
		width: 30%;
		position: absolute;
		bottom: -300px;
		left: 100%;
		margin-bottom: 6rem !important;
	}
}

.app-section-header-news {
	width: 100%;
	margin: 0 auto;
}

@media (min-width: 1200px) {
	.app-section-header-news {
		width: 30%;
		position: absolute;
		bottom: -170px !important;
		left: 5%;
		margin-bottom: 7rem !important;
	}
}

.app-section-header h1 {
	font-size: 1.1rem !important;
	padding-bottom: .5rem;
	font-weight: 500;
	border-bottom: 2px solid #000000;
}

@media (min-width: 1200px) {
	.app-section-header h1 {
		font-size: 1.1rem !important;
		padding-bottom: 0 !important;
		padding-right: .5rem;
		font-weight: 500;
		border-right: 2px solid #000000;
		border-bottom: 0;
	}
}

.app-site-heading {
	margin-bottom: 1rem !important;
}

@media (min-width: 1200px) {
	.app-site-heading {
		margin-bottom: 3rem !important;
	}
}

.app-site-heading h2 {
	font-family: "Times New Roman", Times, serif !important;
	font-size: 1.2rem !important;
	font-weight: 700 !important;
	letter-spacing: 1.5px !important;
	text-transform: uppercase;
	line-height: 2rem;
}

.app-description {
	font-size: 1rem;
	text-transform: uppercase;
	line-height: 3rem !important;
	letter-spacing: 2px;
	word-break: keep-all !important;
	margin-bottom: 0 !important;
}

@media (min-width: 992px) {
	.app-description {
		font-size: 1.5rem;
		line-height: 3rem !important;
		margin-bottom: 2rem !important;
	}
}

.app-serif {
	font-family: "Times New Roman", Times, serif !important;
}

.et_pb_text_inner {
	letter-spacing: 1.4px;
	line-height: 2.2rem;
}

.et_pb_text_inner h3 {
	letter-spacing: 2px;
	line-height: 2.5rem;
	font-size: 1rem;
	font-weight: 700;
}

.et_pb_text_inner li {
	letter-spacing: 2px;
	line-height: 2.2rem;
}


/* Gallery Grid */

.et_pb_gallery_grid .et_pb_gallery_item,
.et_pb_gallery_grid .column_width,
.et_pb_gallery_grid .et_pb_gallery_image,
.et_pb_gallery_grid .et_pb_gallery_image.portrait img {
	width: 100%;
}

.et_pb_gallery_grid .et_pb_gallery_image img {
	min-width: 100%;
}

.et_pb_gallery_grid .et_pb_gallery_image,
.et_pb_gallery_grid .et_pb_gallery_image.landscape img {
	height: 100%;
}

.et_pb_gallery_grid .et_pb_gallery_image img {
	min-height: 100%;
}

@media (min-width: 1200px) {

/*image gallery item aspect ratio square 1:1*/

.pa-image-gallery-1-1 .et_pb_gallery_image {
	padding-top: 100%;
	display: block;
  }
  
  .pa-image-gallery-1-1 .et_pb_gallery_item img {
	position: absolute;
	height: 100%;
	width: 100%;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	object-fit: cover;
  }

}

.et_pb_gallery_title {
	text-transform: none;
	letter-spacing: 2px;
	font-size: 1rem !important;
}

.disable-lightbox a {
	pointer-events: none;
}
	 
.disable-lightbox .et_overlay {
	display: none !important;
}

.et-pb-slider-arrows a { 
	pointer-events: auto; 
}

.et-pb-controllers a {
	pointer-events: auto;
}

.disable-lightbox .et_pb_gallery_pagination a { 
	pointer-events: auto; 
}


/* News Accordion */

.et_pb_text_23 {
	max-width: 100% !important;
}

.card-wrapper {
    border-bottom: 1px solid rgba(0,0,0,.125);
    margin-bottom: 2rem;
}

.accordion {
    font-size: 120% !important;
    max-width: 100%;
}

/* Large devices (desktops, 992px and up) */

@media (min-width: 992px) {
    .accordion {
    	max-width: 100%;
    }
}

.card-header, .card-header button {
	padding: 0px;
	margin: 0px;
    background-color: rgba(0,0,0,0) ;
	border-bottom: 0px solid rgba(0,0,0,.125) ;
}

.card {
    background-color: rgba(0,0,0,0) ;
    border: 0px solid rgba(0,0,0,.125);
    margin-bottom: 1rem;
    margin-top: 1rem;
	width: 100%;
	letter-spacing: 2px;
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) { 
    .card {
    	width: 100%;
    	padding-top: 2rem;
    }
} 

.card-body {
	padding: 0px;
	margin: 0px;
    display: flex;
    flex-wrap: wrap;
}

.card-body img {
    margin-bottom: 1rem;
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .card-body img {
		margin-top: 1rem;
        margin-bottom: 1rem;
        padding-right: 2rem;
        width: 100%;
    }
}

.card-body p {
	margin-top: 1rem;
    margin-bottom: 1rem;
    width: 100%;
}

.card-header button {
	text-decoration: none;
	color:#000;
	float: left;
	width: auto;
}

.mb-0 button {
    font-family: 'Arial',Helvetica,Arial,Lucida,sans-serif !important;
	color: #000;
	font-size: 1rem;
	letter-spacing: 2px;
}

@media (min-width: 1200px) {  
    .mb-0 button {
		font-size: 1.2rem;
	}
}

.card-header button:hover {
	text-decoration: none;
	color:#000;
}

.card-header button:focus {
	text-decoration: none;
	color:#000;
	font-weight: bold;
}

.card-header button[data-toggle="collapse"]:after {
	/* content:url('/wp-content/themes/fabian-erl.de/images/down.svg'); */
	position: relative;
	display: block;
	padding-top: 1rem;
	padding-left: .2rem;
	padding-right: .2rem;
}

/* .card-header button[aria-expanded="true"]:after {
	content:url('/wp-content/themes/fabian-erl.de/images/up.svg'); 
}

.card-header button[aria-expanded="false"]:after {
	content:url('/wp-content/themes/fabian-erl.de/images/down.svg');
}*/

.accordion-date {
    font-size: 100%;
    margin-bottom: 2rem;
	letter-spacing: 2px;
}

.accordion-heading {
    font-size: 100%;
    letter-spacing: 2px;
    font-family: Arial, Helvetica, sans-serif;
    text-transform: uppercase;
	line-height: 2rem;
	margin-bottom: 2rem;
}

@media (min-width: 1200px) {
	.accordion-heading {
		font-size: 130%;
	}
}

.btn-link {
	font-weight: 100 !important;
}

/* Projects */

.single-project .et_pb_column_3_4 {
	width: 100% !important;
}

@media (min-width: 1200px) {
	.single-project .et_pb_column_3_4 {
		width: 80% !important;
	}
}

.et_pb_text_17.et_pb_module.app-projects-slider {
	margin: 0 !important;
	max-width: 100%;
	border: 1px solid #cccccc;
	border-width: 1px 0;
}

.app-projects-slider-image {
	width: 100% !important;
}

.app-projects-slider-image img {
	width: 100%;
}

.app-projects-slider-image a {
	line-height: 0 !important;
	display: block;
}

.app-projects-slider-content {
	padding: 10% !important;
	width: 100%;
}

@media (min-width: 1200px) {  
	.app-projects-slider-content {
		padding: 5% !important;
		width: 100%;
	} 
}

.app-projects-slider-heading {
	font-family: "Times New Roman", Times, serif;
	margin-bottom: 3rem;
	text-transform: uppercase;
	font-weight: 700;
}

.et_pb_more_button {
	border-radius: 0 !important;
	text-transform: uppercase;
	font-size: .8rem !important;
	text-transform: uppercase;
	font-weight: 700;
	border-width: 1px;
}

.et_pb_button::after, 
.et_pb_button::before {
	font-size: 1.5rem;
}

.et_pb_button {
	letter-spacing: 1.5px;
}

.app-projects-slider-footer {
	display: block;
}

/* @media (min-width: 1200px) {
	.app-section-project .et_pb_text_inner {
		padding-left: 5rem;
	}
}*/

.app-project-image {
	margin-bottom: 2rem !important;
}

@media (min-width: 1200px) {  
	.app-project-image {
		margin-bottom: 10rem !important;
	}
}

.app-project-slider {
	margin-bottom: 2rem !important;
}

@media (min-width: 1200px) {
	.app-project-slider {
		margin-top: 8rem !important;
	}
}

@media (min-width: 1200px) {  
	.app-project-slider  {
		margin-bottom: 10rem !important;
	}
}

/* Highlights Slider */

.app-highlights-slider-left {
	margin-right: 0 !important;
}

.app-highlights-slider-right {
	padding-top: 2rem;
	padding-left: 2rem;
	padding-right: 2rem;
}

@media (min-width: 1200px) {  
    .app-highlights-slider-right {
		padding-top: 2rem;
		padding-left: 3rem;
		padding-right: 0;
	}
}

.wpcf-field-ort {
	font-family: "Times New Roman", Times, serif !important;
	text-transform: uppercase;
	font-weight: 700;
}

.et-pb-arrow-prev {
	content: url('/wp-content/themes/fabian-erl.de/images/left.svg') !important;
	width: 15px;
}

.et-pb-arrow-next {
	content: url('/wp-content/themes/fabian-erl.de/images/right.svg') !important;
	width: 15px;
}

.et-pb-controllers a {
	width: 15px;
	height: 15px;
	border-radius: 15px;
	opacity: 1 !important;
}

.et_pb_bg_layout_light .et-pb-controllers a {
    background-color: rgba(0, 0, 0, 0.7);
}

.et_pb_bg_layout_light .et-pb-controllers .et-pb-active-control {
    background-color: #000 !important;
}

/* Footer */

.app-footer {
	padding: 2rem !important;
}

sup {
	font-size: .7rem !important;
}