@charset "UTF-8";

/* CSS Document 

* Theme Name: AFR Aiterhofen
* Theme URL: https://afr-aiterhofen.de
* Author: MDIS
* Version: 1.0.0

*/

@import url(css/normalize.min.css);
@import url(css/main.css);

/* ===================
    Headings
   =================== */

h1, h4 { font-family: "a-day-without-sun-text", sans-serif !important; }
.wpcf7 button, html .wpcf7 input[type="button"], .wpcf7 input[type="reset"], .wpcf7 input[type="submit"], input, select, textarea, body, h2, h3 { font-family: 'Poppins', sans-serif !important; }
h1 a, h2 a, h3 a, h4 a { font-weight: inherit;}
h1 { font-size: 80px !important; margin: 0 !important; font-weight: 700 !important; letter-spacing: 1px !important; line-height: 84px !important; }
h2 { font-size: 30px !important; margin: 0 !important; font-weight: 200 !important; letter-spacing: 1px !important; line-height: 34px !important; }
h3 { font-size: 22px !important; margin: 0 !important; font-weight: 600 !important; letter-spacing: 0.3px !important; line-height: 26px !important; }
h4 { font-size: 50px !important; margin: 0 !important; font-weight: 700 !important; letter-spacing: 1px !important;  line-height: 54px !important; }
.main article h1 { font-size: 80px !important; }

.datenschutz h2 { font-size: 22px !important; margin: 30px 0 15px 0 !important; font-weight: 600 !important; letter-spacing: 0.3px !important; line-height: 26px !important; }

a, a:visited { color: #ee7344; }
a, .bold { font-weight: 600; }
a { text-decoration: none; }
a:hover, a:focus, a:active { color: #f4b83e; text-decoration: none; outline: none; }

p, pre { margin: 0 0 15px 0; }
p:empty { display: none; }
p:last-child { margin-bottom: 0; }

a, img, #header-container, #nav-container, #logo, nav li, nav li a, .sub-menu { -webkit-transition: all 0.5s; transition: all 0.5s; }

strong, .bold { font-weight: 600; }

/* ===================
    ALL: Kunden Theme
   =================== */

* { -moz-box-sizing: border-box; box-sizing: border-box; }

html {
	height: 100%;
}

body {
	-webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
	font-weight: 300;
    font-size: 18px;
	line-height: 26px;
	letter-spacing: 0.3px;
	height: 100%;
	overflow-y: scroll;
	overflow-x: hidden;
	color: #194754;
}

.wrapper {
    margin: 0 auto;
	width: 1350px;
}

.wrapper, #nav-container, #main-container, #footer-container {
	position: relative;
}

body, #main-container {
	background: #fff;
}

#header-container {
	position: fixed;
	top: 0;
	width: 100%;
	background: none;
	padding: 0;
	z-index: 999;
}

#nav-container {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 80px;
	padding: 0 80px 0 50px;
	background: #ee7344;
	box-shadow: 0 0 10px rgba(0,0,0,0.4);
}

#footer-container {
	padding: 50px;
	background: #194754;
}

/* ===================
    Nav
   =================== */

nav {
	text-align: left;
	width: auto;
}

nav li, nav li a {
	height: 80px;
	line-height: 80px;
	margin: 0;
}

nav li {
	display: block;
	float: left;
	padding: 0;
	position: relative;
}

nav li a {
	text-transform: uppercase;
	font-weight: 400;
	font-size: 18px;
	display: block;
	padding: 0 10px;
	width: auto;
	background: transparent;
	color: rgba(255,255,255,0.7);
}

nav a:visited {
	color: rgba(255,255,255,0.7);
}

nav .current-menu-item a, nav .current_page_item a, nav a:hover, nav a:focus, nav a:active, nav .current-menu-ancestor a {
	color: #fff;
}

/* Submenü */

.menu-item-has-children:hover ul {
	opacity: 1;
	z-index: 1;
	height: auto;
}

.sub-menu {
    opacity: 0;
    position: absolute;
	width: 355px;
	height: 0;
    left: 0;
    top: 80px;
    z-index: 1;
	box-shadow: 0px 4px 4px rgba(0,0,0,0.2);
	background: #fff;
	text-align: left;
	overflow: hidden;
}

.sub-menu li {
	display: block !important;
	width: 100% !important;
	height: 50px !important;
	line-height: 50px !important;
}

.sub-menu li a {
    color: #194754 !important;
	background: #fff !important;
	width: 100% !important;
	text-align: left;
	height: 50px !important;
	line-height: 50px !important;
}

.sub-menu .current-menu-item a {
	color: #ee7344 !important;
	background: #fff !important;
}

.sub-menu li a:hover {
	color: #ee7344 !important;
	background: #fff !important;
}

/* ===================
    Header
   =================== */
   
/* Header Logo */

#logo {
	position: absolute;
	top: 0;
	left: 50px;
	background: #fff;
	padding: 10px;
	border-radius: 0 0 20px 20px;
	box-shadow: 0 0 10px rgba(0,0,0,0.4);
	z-index: 1;
}

#logo img {
	width: 118.2px;
	height: auto;
}

.instagram {
	position: absolute;
	top: 26px;
	right: 50px;
	height: 20px;
	width: 20px;
}

.instagram img {
	height: 100%;
	width: auto;
}

/* ===================
    Main
   =================== */

.main img {
	width: 100%;
	height: auto;
}

.main {
	padding: 0 0 100px 0;
}

.mainerror {
	padding: 250px 0 100px 0;
}

.main article {
	width: 100%;
	float: none;
	padding: 0px;
}

.full-width {
    left: calc((100vw - 100%) / 2 * -1);
    position: relative;
    width: 100vw;
    z-index: 0;
}

.liste ul {
	padding: 0 0 0 25px;
	margin: 0;
}

.liste ul li {
	list-style: none;
	position: relative;
	margin-bottom: 10px;
}

.liste ul li:last-child {
	margin-bottom: 0;
}

.liste ul li::before {
	position: absolute;
	content: "";
	top: 8px;
	left: -25px;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #ee7344;
}

/* Slider */

.swiper-pagination {
	bottom: 50px !important;
}

/* Bildergalerie Blog */

.elementor-image-gallery img {
	border: none !important;
}

.elementor-slideshow__title {
	display: none !important;
}

/* Blog */

.recent-posts {
	display: flex;
	flex-wrap: wrap;
}

.post-container {
	position: relative;
	margin: 0 15px 30px 15px;
	display: block;
	width: calc(33.333% - 30px);
	border-radius: 20px;
	overflow: hidden;
	background: #194754;
	box-shadow: 0 0 15px rgba(0,0,0,0.3);
}

.post-container .thumbnail {
	position: relative;
	width: 100%;
	height: 13vw;
	overflow: hidden;
}

.post-container .text {
	position: relative;
	padding: 60px 30px 100px 30px;
	color: #fff;
}

.post-container h3 {
	text-align: left !important;
	margin-bottom: 20px !important;
	-webkit-hyphens: auto;
	-ms-hyphens: auto;
	hyphens: auto;
}

.post-container h3 a {
	color: #ee7344;
}

.post-container .text p {
	margin: 0;
}

.weiterlesen, .weiterlesen:visited {
	position: absolute;
	left: 30px;
	bottom: 30px;
	display: block;
	color: #fff;
	padding: 10px;
	text-align: center;
	width: 160px;
	font-size: 16px;
	line-height: 16px;
	border-radius: 10px;
	background: #ee7344;
	font-weight: 300;
}

.weiterlesen:hover {
	background: #f4b83e;
	color: #fff;
}

.post-container .date {
	position: absolute;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: #ee7344;
	color: #fff;
	margin: 0 auto;
	padding: 11px 0 0 0;
	font-size: 18px;
	line-height: 18px;
	left: 0;
	right: 0;
	top: -30px;
	text-align: center;
	font-weight: 500;
	text-transform: uppercase;
	box-shadow: 0px 0px 8px rgba(0,0,0,0.2);
}

/*-- Kontaktformular --*/

.wpcf7 {
	width: 100%;
	float: left;
}

#wpcf7-f4-p55-o1 {
	margin-right: 10%;
}

input, select, textarea {
    background-color: #fff;
	letter-spacing: 1px;
    border: 1px solid #194754;
    color: #194754;
    padding: 15px;
	width: 100%;
	font-size: 14px;
	border-radius: 10px;
}

.wpcf7-quiz {
	width: 50px;
}

textarea {
	height: 150px;
	resize: inherit;
}

.wpcf7-form p {
	padding: 0;
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 15px;
}

.datcheck {
	color: #194754;
	font-weight: 400 !important;
	font-size: 10px !important;
	line-height: 14px;
	margin: 20px 0 !important;
}

.datcheck a {
	color: #194754;
}

.datcheck a:hover {
	text-decoration: underline;
}

.datcheck .wpcf7-list-item {
    margin: 0 5px 0 0 !important;
}

.datcheck input {
	width: 13px !important;
	height: 13px !important;
}

span.wpcf7-form-control-wrap {
    margin: 0px;
    position: relative;
}

.wpcf7 button, html .wpcf7 input[type="button"], .wpcf7 input[type="reset"], .wpcf7 input[type="submit"] {
	background: #194754;
	text-transform: uppercase;
	box-shadow: none;
    border: 0 none;
    border-radius: 10px;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    padding: 15px 25px;
	width: 100%;
	letter-spacing: 1px;
	border-left: none;
	-webkit-transition: all 0.5s;
  	transition: all 0.5s;
}

.wpcf7 button:hover, html .wpcf7 input[type="button"]:hover, .wpcf7 input[type="reset"]:hover, .wpcf7 input[type="submit"]:hover {
    background: #ee7344; color: #fff;
}

#btn {
	border-left: none;
}

.wpcf7-submit {
    clear: both;
    display: table;
    margin: 0px auto;
}

#goog-wm-qt, #goog-wm-sb {
	margin-top: 15px;
}

.ajax-loader {
    width: auto !important;
	position: absolute;
	top: 0;
}

/* ===================
    Footer
   =================== */

#kontaktbox {
	float: left;
	color: #fff;
	font-size: 16px;
	line-height: 20px;
}

#kontaktbox a {
	color: #fff;
}

#kontaktbox a:hover {
	text-decoration: underline;
}
   
#footer-container footer {
	padding: 0;
}

.footermenu {
	display: block !important;
}

#footer-container footer nav {
    float: right;
    width: auto;
	margin-top: 0;
	padding: 0;
	text-align: center;
	display: block !important;
}

footer nav li {
	position: relative;
	display: block;
	float: none;
	height: 20px;
	line-height: 20px;
	padding: 0;
	margin-bottom: 20px;
}

footer nav li:last-child {
	padding: 0;
	margin: 0;
}

footer nav li a	{
	display: block;
	height: 20px;
	line-height: 20px;
	padding: 0;
	font-size: 20px;
	font-weight: 400;
	width: auto;
	background: none;
	color: rgba(255,255,255,0.7);
	margin: 0;
}

footer nav a:visited { color: rgba(255,255,255,0.7); }
footer nav a:hover { color: #fff; text-decoration: none; outline: none; } 
footer nav a:focus { color: #fff; outline: none; }
footer nav a:active { color: #fff; outline: none; }
footer nav .current-menu-item a, footer nav .current_page_item a, footer nav a:hover {
	color: #fff;
	background: none;
}

.copyright {
	position: relative;
	width: 100%;
	text-align: center;
	color: #fff;
	font-size: 12px;
	line-height: 12px;
	margin-top: 50px;
}

/* ===================
    Responsive
   =================== */

@media only screen and (max-width: 1450px) {
	.wrapper { margin: 0 5%; width: 90%; }
}
@media only screen and (max-width: 1100px) {
	.post-container { width: calc(50% - 30px); }
	.post-container .thumbnail { height: 23vw; }
}
@media only screen and (max-width: 1050px) {
	#nav-container { display: none; }
	#header-container { position: relative; }
	#logo { position: relative; left: 0; background: #fff; padding: 20px; border-radius: 0; box-shadow: none; }
	#logo img { width: 78.8px; }
	.elementor-section:first-child { padding: 50px 5% !important; }
	.elementor-11 .elementor-section:first-child { padding: 0 !important; }
	.mobmenur-container { background: #1087c0; padding: 5px 0; border-radius: 10px; }
	#footer-container { padding: 50px 5%; }
	.sub-menu {box-shadow: none; }
	.sub-menu li { height: 38px !important; line-height: 18px !important; padding: 0 !important; }
	.sub-menu li a { font-size: 18px; height: 38px !important; line-height: 18px !important; padding: 10px 30px !important; }
	.mobmenu-right-panel li { padding: 0 !important; }
	.left, .right { float: none; width: 100%; padding: 0; }
	.datcheck { margin: 15px 0 30px 0 !important; }
}
@media only screen and (max-width: 750px) {
	h1, .main article h1 { font-size: 50px !important; line-height: 54px !important; }
	h2 { font-size: 24px !important; line-height: 28px !important; }
	.post-container { width: 100%; }
	.post-container .thumbnail { height: 50vw; }
}
@media only screen and (max-width: 650px) {
	#kontaktbox { float: none; }
	#footer-container footer nav { float: none; margin-top: 50px; }
}
@media only screen and (max-width: 450px) {
}