/*
Theme Name:   MKG Mund-Kiefer-&Auml;sthetische-Gesichtschirurgie in Berlin
Description:  Child-Theme von Twenty Thirteen f&uuml;r  Dr. med. Thomas Franke - Implantologie, Mund-, Kiefer- und &auml;sthetische Gesichtschirurgie 
Author:       Dr. med. Thomas Franke
Author URI:   https://www.dr-franke.berlin/
Template:     twentythirteen
Version:      1.0
*/

/* ANFANG - Seitenelemente */
html, body {
	font-family: Montserrat,Arial,"Helvetica Neue",Helvetica,sans-serif,"google";
	font-weight: 400;
	color: #666666;
	/*
	font-size: 16px;
	line-height: 1.5;
	font-style: normal;
	*/
}
.site {
	border: none;
	max-width: none;
}
p { margin-bottom: 1em; }
a, a:hover, a:active {
	color: #000;
	color: #7aa5a3;
	transition: color 250ms ease-in-out;
	text-decoration: none
}
a:hover {
	color: #969696;
	color: #2a2a2a;
}
/* ENDE - Seitenelemente */


/* ANFANG - Kopfzeile */

/* HEADER */

.site-header__image {
	position: relative;
	background-color: transparent;
	background-position: center 12%;
	background-repeat: no-repeat;
	background-size: clamp(1500px, 80%, 2000px) auto;
	min-height: 500px;
	margin-top: 92px;
	z-index: 1;
}

.site-header__image--repeat {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	background-repeat: repeat;
	background-size: cover;
	background-position-y: 18%;
	margin-top: 0;
	z-index: 0;
	filter: blur(7px);
	margin-top: -2px;
}

.contact-header-outer {
	background-color: #7aa5a3;
	overflow: auto;
	height: auto;
	padding: 0 20px;
}
.contact-header {
	max-width: 1040px;
	margin: 0 auto;
	padding: 4px 0;
	font-size: 0.9em;
}
.contact-header .contact-header-element {
	float: left;
	margin-right: 2em;
}
.contact-header .contact-header-element:last-of-type {
	margin-right: 0;
}
.contact-header .contact-header-element a {
	color: #FFF;
}
.contact-header .contact-header-element.widget_text p {
	margin: 0;
}
.contact-header .contact-header-element.widget_polylang ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
.contact-header .contact-header-element.widget_polylang ul li {
	display: inline;
	padding: 0 10px;
}
.contact-header .contact-header-element.widget_polylang ul li:first-of-type {
	padding-left: 0;
	border-right: 1px solid #FFF;
}
.contact-header .contact-header-element.widget_polylang ul li:last-of-type {
	padding-right: 0;
}
.main-navigation.toggled-on {
	background-color: #FFF;
}


/* NAVIGATION */

.navbar {
	max-width: none;
	background-color: #FFF;
	/* background-color: rgba(255,255,255,0.6); */
	min-height: 114px;
	min-height: 126px;
	box-sizing: border-box;
	box-shadow: 0 0 30px rgba(0,0,0,.2);
	position: fixed;
	top: 0;
	left: 0;
	z-index: 100;
}

.navbar .logo {
	position: absolute;
	left: 20px;
	top: 10px;
	width: 74px;
	height: 74px;
}
.navbar .logo img {
	max-width: 100%;
	height: auto;
}
.main-navigation {
	padding: 32px 0 0 120px;
	max-width: 1040px;
}
.nav-menu li a {
	font-size: 14px;
	/* letter-spacing: .14em; */
	letter-spacing: normal;
	transition: color 250ms ease-in-out;
	font-weight: normal;
}
.nav-menu li a, ul.nav-menu ul a, .nav-menu ul ul a { color: #404040; }
.nav-menu > li > a { padding: 10px; }
.nav-menu .current_page_item > a,
.nav-menu .current_page_ancestor > a,
.nav-menu .current-menu-item > a,
.nav-menu .current-menu-ancestor > a,
.nav-menu li:hover > a,
.nav-menu li a:hover,
.nav-menu li:focus > a,
.nav-menu li a:focus, 
ul.nav-menu ul a:hover,
.nav-menu ul ul a:hover,
ul.nav-menu ul a:focus,
.nav-menu ul ul a:focus {
	color: #4d8a87;
	font-style: normal;
	background-color: #FFF;
}
ul.nav-menu ul a:hover,
.nav-menu ul ul a:hover {
	background-color: #7aa5a3;
	color: #404040;
	color: #FFF;
}
.nav-menu .sub-menu, .nav-menu .children {
	background-color: #FFF;
	border: none;
	box-shadow: 5px 5px 30px rgba(0,0,0,.15);
}
.nav-menu .menu-item:nth-child(n+5) .sub-menu ul, .nav-menu .menu-item:nth-child(n+5) .children ul {
	left: auto;
	right: 100%;
	margin-left: 0;
}
.nav-menu li.lang-item { display: none; }

/* NAVIGATION NEW */

.no-link-menu > a {
	pointer-events: none;
}

.custom-menu > ul {
	display: flex;
}
.custom-menu .custom-menu-title > a {
	cursor: default;
	font-weight: bold;
	width: 17vw;
	max-width: 280px;
	pointer-events: none;
}

.custom-menu .custom-menu-title:hover > a {
	color: #404040;
}

.custom-menu .custom-menu-title > a:hover {
	background-color: #fff;
	cursor: inherit;
}

.custom-menu .custom-menu-title ul {
	clip: inherit;
	overflow: inherit;
	height: inherit;
	width: inherit;
	position: relative;
	box-shadow: none;
	left: 0;
}

.custom-menu .custom-menu-title ul li a {
	padding-top: 8px;
   	padding-bottom: 8px;
}

/* ENDE - Kopfzeile */


/* ANFANG - Sidebar */
#tertiary .widget-area {
	width: 250px;
}
#tertiary .widget {
	background-color: #FFF;
	font-size: 14px;
	color: #666666;
	margin: 0;
	padding: 0;
}
#tertiary .widget .widget-title {
	font: bold normal 14px "Montserrat", Helvetica, sans-serif;
	text-transform: uppercase;
	color: #666666;
	font-weight: normal;
}
#tertiary .widget a, #tertiary .widget a:hover, #tertiary .widget a:active {
	color: #666;
	transition: color 250ms ease-in-out;
	text-decoration: none
}
#tertiary .widget a:hover { color: #000; }
/* ENDE - Sidebar */


/* ANFANG - Inhalt */
.site-main {
	min-height: 950px;
}
.site-main table td {
	vertical-align: top;
}
.sidebar .entry-header, .page-header, .sidebar .entry-content, .sidebar .entry-summary, .sidebar .entry-meta {
	padding: 0 300px 0 20px;
	background-color: #FFF;
}
.page-header {
	margin: 0 auto;
	max-width: 1040px;
	width: 100%;
}
h1, h2, h3, h4, h5, h6 {
	font-family: Montserrat,Arial,"Helvetica Neue",Helvetica,sans-serif,"google";
	font-weight: 500;
	text-transform: none;
}
h1 {
	font-size: 1.5em;
}
h2 {
	font-size: 1.3em;
}
h3 {
	font-size: 1.2em;
}
h4 {
	font-size: 1.1em;
}
h5 {
	font-size: 1em;
}
h6 {
	font-size: 1em;
}
.entry-title, .page-title {
	font-family: Montserrat,Arial,"Helvetica Neue",Helvetica,sans-serif,"google";
	font-size: 1.5em;
	font-weight: 500;
	font-style: normal;
	text-transform: none;
	color: #7aa5a3;
	/* line-height: 1em; */
	-moz-hyphens: auto;
	hyphens: auto;
	word-wrap: break-word;
}
/*
.entry-title::after, .page-title::after {
	border-bottom: 2px solid #666;
	content: "\0020";
	display: block;
	margin-top: 17px;
	height: 2px;
}
*/
.search .entry-title {
	font-size: 24px;
	text-transform: normal;
}
.search .entry-title::after {
	border-bottom: none;
	content: "";
	margin-top: 10px;
}
.comment-content a, .comment-content a:hover, .comment-content a:active, .entry-content a, .entry-content a:hover, .entry-content a:active {
	color: #666666;
	color: #7aa5a3;
	transition: color 250ms ease-in-out;
	text-decoration: underline;
}
.comment-content a:hover, .entry-content a:hover {
	color: #000;
	color: #2a2a2a;
}
.comment-content a:hover, .entry-content a:hover {
	color: #000;
	color: #2a2a2a;
}

.wpcf7-textarea { width: 100%; }
span.datenschutz span.wpcf7-list-item { margin: 0; }
.wpcf7 button, .wpcf7 input, .wpcf7 textarea, .wpcf7 button:focus, .wpcf7 input:focus, .wpcf7 textarea:focus { border: 1px solid #7aa5a3; }
.wpcf7 input, .wpcf7 textarea, .wpcf7 button, .wpcf7 input[type="submit"], .wpcf7 input[type="button"], .wpcf7 input[type="reset"] {
	transition: moz-box-shadow, -webkit-box-shadow, box-shadow 125ms ease-in-out;
}
.wpcf7 input:hover, .wpcf7 textarea:hover, .wpcf7 input:focus, .wpcf7 textarea:focus, .wpcf7 button:hover, .wpcf7 button:focus, .wpcf7 input[type="submit"]:hover, .wpcf7 input[type="button"]:hover, .wpcf7 input[type="reset"]:hover, .wpcf7 input[type="submit"]:focus, .wpcf7 input[type="button"]:focus, .wpcf7 input[type="reset"]:focus {
	moz-box-shadow: 0px 0px 8px #BBBBBB;
	-webkit-box-shadow: 0px 0px 8px #BBBBBB;
	box-shadow: 0px 0px 8px #BBBBBB;
}
.wpcf7 button, .wpcf7 button, .wpcf7 input[type="submit"], .wpcf7 input[type="button"], .wpcf7 input[type="reset"], .wpcf7 input[type="submit"], .wpcf7 input[type="button"], .wpcf7 input[type="reset"] {
	background: #7aa5a3;
	color: #fff;
	display: inline-block;
	font-size: 16px;
	padding: 11px 24px 10px;
	text-decoration: none;
	border: 2px #FFF solid;
	transition: color .25s ease-in-out;
	border-radius: 28px;
	box-shadow: none;
	cursor: pointer;
	text-align: center;
	overflow-wrap: break-word;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
.wpcf7 button:hover, .wpcf7 button:focus, .wpcf7 input[type="submit"]:hover, .wpcf7 input[type="button"]:hover, .wpcf7 input[type="reset"]:hover, .wpcf7 input[type="submit"]:focus, .wpcf7 input[type="button"]:focus, .wpcf7 input[type="reset"]:focus {
	moz-box-shadow: none;
	-webkit-box-shadow: none;
	box-shadow: none;
	border: 2px #7aa5a3 solid;
}
.mandatory { color: #eb433e; }
.wpcf7-list-item.first { margin-left: 0; }

.entry-content .wp-block-button__link:hover, .entry-content .wp-block-button__link:focus, .wp-block-button.is-style-outline .wp-block-button__link:not(.has-text-color):hover, .wp-block-button.is-style-outline .wp-block-button__link:not(.has-text-color):focus {
	background-color: #7aa5a3 !important;
	color: #FFFFFF !important;
	border-color: #7aa5a3 !important;
	text-decoration: none !important;
}
/* ENDE - Inhalt */


/* ANFANG - Fusszeile */
.site-footer {
	text-align: left;
	color: #FFF;
}
.site-footer, .site-footer .sidebar-container {
	background-color: #2a2a2a;
	background-color: #7aa5a3;
}
.sidebar .site-footer .widget-area {
	max-width: 1040px;
	padding: 0 20px;
	left: 0;
}
.site-footer .widget {
	color: #fff;
	font-size: 16px;
	margin: 0;
	width: 270px;
	padding: 20px 20px 20px 0px;
}
.site-footer a, .site-footer .widget a {
	color: #FFF;
}
.site-footer .widget-title, .site-footer .widget-title a {
	font: 300 normal 20px "Montserrat",sans-serif;
	text-align: left;
	text-transform: uppercase;
	color: #fff;
}
.site-info {
	padding: 0 20px 30px 20px;
}
.site-footer .widget .menu li {
	padding: 0;
}
/* ENDE - Fusszeile */




/* */
/* ANFANG - Responsive */
/* */

@media (max-width: 1280px) {
	.site-header__image {
		min-height: 370px;
		background-size: cover;
	}
	
	.site-header__image--repeat {
		filter: none;
	}
}

@media (max-width: 1069px) {
	/* ANFANG - Inhalt */
	.sidebar .entry-header, .page-header, .sidebar .entry-content, .sidebar .entry-summary, .sidebar .entry-meta {
		padding-right: 376px;
	}
}

@media (max-width: 999px) {
	/* ANFANG - Inhalt */
	.site-main { min-height: none; }
	.sidebar .entry-header, .sidebar .entry-content, .sidebar .entry-summary, .sidebar .entry-meta {
		padding-right: 20px;
		padding-right: 20px;
		max-width: none;
	}
	.hentry { padding-bottom: 0; }
	/* ENDE - Inhalt */

	/* ANFANG - Sidebar */
	.site-main #tertiary.sidebar-container {
		height: auto;
		margin: 0 auto;
		max-width: none;
		position: relative;
		top: 0;
		padding: 0 20px;	
	}
	#tertiary .widget-area { width: auto; }
	#tertiary .widget, #tertiary .widget .widget-title {
		font-size: 16px;
	}
	/* ENDE - Sidebar */
}

@media (max-width: 643px) {
	/* ANFANG - Kopfzeile */
	.site-header__image {
		min-height: 300px;
		margin-top: 117px;
	}

	.navbar {
		min-height: 80px;
		overflow-y: scroll;
    	overflow-x: hidden;
	}
	.navbar.is-open{
		bottom: 0;
	}

	.navbar .logo {
		top: 10px;
		width: 60px;
		height: 60px;
	}

	.contact-header {
		font-size: 1em;
		display: flex;
		justify-content: space-between;
	}
	.contact-header .contact-header-element {
		float: none;
		margin-right: 0;
		padding: 3px 0;
	}
	
	.main-navigation { padding: 0; }
	.menu-toggle{
		margin: 3px 0 0 79%;
	}
	.toggled-on .nav-menu li > ul {
		margin-left: 0px;
	}
	.custom-menu > .sub-menu {
		display: flex !important;
		flex-wrap: wrap;
	}
	.custom-menu > .sub-menu > li{
		max-width: 50%;
	}
	.toggled-on .nav-menu > li a:hover, .toggled-on .nav-menu > ul a:hover {
		background-color: #7aa5a3;
	}
	.nav-menu .menu-item:nth-child(n+5) .sub-menu ul, .nav-menu .menu-item:nth-child(n+5) .children ul {
		left: auto;
		right: auto;
		margin-left: 10px;
	}
	.nav-menu li.lang-item { display: block; }
	/* ENDE - Kopfzeile */

	/* ANFANG - Kopfzeile */
	.menu-toggle, .menu-toggle:hover, .menu-toggle:focus, .menu-toggle:active {
		font-size: 2.5em;
	}
	/*Only for bigger screens!*/
	.site-header__image--repeat{
		display: none;
	}
	/* ENDE - Kopfzeile */
}
/* */
/* ENDE - Responsive */
/* */
