/*
 Theme Name:   Twenty Twenty-Two Child
 Description:  Twenty Twenty-Two Child Theme
 Author:       Olaf Hudecek
 Author URI:   https://www.webdesign-eckernfoerde.com/
 Template:     twentytwentytwo
Version: 1.2
 Text Domain:  twentytwentytwo-child
*/

@font-face {
	font-family: 'Roboto';
	font-style: normal;
	font-weight: 400;
	src: url('fonts/roboto-v20-latin-regular.eot'); /* IE9 Compat Modes */
	src: local('Roboto'), local('Roboto-Regular'),
		 url('fonts/roboto-v20-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
		 url('fonts/roboto-v20-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
		 url('fonts/roboto-v20-latin-regular.woff') format('woff'), /* Modern Browsers */
		 url('fonts/roboto-v20-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
		 url('fonts/roboto-v20-latin-regular.svg#Roboto') format('svg'); /* Legacy iOS */
  }
  /* roboto-500 - latin */
  @font-face {
	font-family: 'Roboto';
	font-style: normal;
	font-weight: 500;
	src: url('fonts/roboto-v20-latin-500.eot'); /* IE9 Compat Modes */
	src: local('Roboto Medium'), local('Roboto-Medium'),
		 url('fonts/roboto-v20-latin-500.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
		 url('fonts/roboto-v20-latin-500.woff2') format('woff2'), /* Super Modern Browsers */
		 url('fonts/roboto-v20-latin-500.woff') format('woff'), /* Modern Browsers */
		 url('fonts/roboto-v20-latin-500.ttf') format('truetype'), /* Safari, Android, iOS */
		 url('fonts/roboto-v20-latin-500.svg#Roboto') format('svg'); /* Legacy iOS */
  }
  /* roboto-700 - latin */
  @font-face {
	font-family: 'Roboto';
	font-style: normal;
	font-weight: 700;
	src: url('fonts/roboto-v20-latin-700.eot'); /* IE9 Compat Modes */
	src: local('Roboto Bold'), local('Roboto-Bold'),
		 url('fonts/roboto-v20-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
		 url('fonts/roboto-v20-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
		 url('fonts/roboto-v20-latin-700.woff') format('woff'), /* Modern Browsers */
		 url('fonts/roboto-v20-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
		 url('fonts/roboto-v20-latin-700.svg#Roboto') format('svg'); /* Legacy iOS */
  }

html,body {
	margin: 0px;
	background-color: #ffffff;
	font-family: 'Roboto', Arial, Verdana, sans-serif !important;
	font-size: 20px;
	font-weight: normal;
	font-weight: 400;
    line-height: 30px;
	color:#6A605E;
	line-height: 22px;
	overflow-x: hidden;
}

body {
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
}

/*
 * Text and navigation link styles.
 * Necessary until the following issue is resolved in Gutenberg:
 * https://github.com/WordPress/gutenberg/issues/27075
 */

a {
	text-decoration-thickness: 1px;
	text-underline-offset: 0.25ch;
	color:#6A605E;
}

a:hover,
a:focus {
	text-decoration-style: solid;
	color:#6A605E;
}

a:active {
	text-decoration: none;
}

.wp-block-navigation .wp-block-navigation-item a:hover,
.wp-block-navigation .wp-block-navigation-item a:focus {
	text-decoration: underline;
	text-decoration-style: solid;
}

/*
 * Search and File Block button styles.
 * Necessary until the following issues are resolved in Gutenberg:
 * https://github.com/WordPress/gutenberg/issues/36444
 * https://github.com/WordPress/gutenberg/issues/27760
 */

.wp-block-search__button,
.wp-block-file .wp-block-file__button {
	background-color: var(--wp--preset--color--primary);
	border-radius: 0;
	border: none;
	color: var(--wp--preset--color--background);
	font-size: var(--wp--preset--font-size--medium);
	padding: calc(.667em + 2px) calc(1.333em + 2px);
}

/*
 * Button hover styles.
 * Necessary until the following issue is resolved in Gutenberg:
 * https://github.com/WordPress/gutenberg/issues/27075
 */

.wp-block-search__button:hover,
.wp-block-file .wp-block-file__button:hover,
.wp-block-button__link:hover {
	opacity: 0.90;
}

/*
 * Alignment styles.
 * These rules are temporary, and should not be relied on or
 * modified too heavily by themes or plugins that build on
 * Twenty Twenty-Two. These are meant to be a precursor to
 * a global solution provided by the Block Editor.
 *
 * Relevant issues:
 * https://github.com/WordPress/gutenberg/issues/35607
 * https://github.com/WordPress/gutenberg/issues/35884
 */

.wp-site-blocks,
body > .is-root-container,
.edit-post-visual-editor__post-title-wrapper,
.wp-block-group.alignfull,
.wp-block-group.has-background,
.wp-block-cover.alignfull,
.is-root-container .wp-block[data-align="full"] > .wp-block-group,
.is-root-container .wp-block[data-align="full"] > .wp-block-cover {
	padding-left: 0px !important;
	padding-right: 0px !important;
}

.wp-site-blocks .alignfull,
.wp-site-blocks > .wp-block-group.has-background,
.wp-site-blocks > .wp-block-cover,
.wp-site-blocks > .wp-block-template-part > .wp-block-group.has-background,
.wp-site-blocks > .wp-block-template-part > .wp-block-cover,
body > .is-root-container > .wp-block-cover,
body > .is-root-container > .wp-block-template-part > .wp-block-group.has-background,
body > .is-root-container > .wp-block-template-part > .wp-block-cover,
.is-root-container .wp-block[data-align="full"] {
	margin-left: calc(-1 * var(--wp--custom--spacing--outer)) !important;
	margin-right: calc(-1 * var(--wp--custom--spacing--outer)) !important;
	width: unset;
}

/* Blocks inside columns don't have negative margins. */
.wp-site-blocks .wp-block-columns .wp-block-column .alignfull,
.is-root-container .wp-block-columns .wp-block-column .wp-block[data-align="full"],
/* We also want to avoid stacking negative margins. */
.wp-site-blocks .alignfull:not(.wp-block-group) .alignfull,
.is-root-container .wp-block[data-align="full"] > *:not(.wp-block-group) .wp-block[data-align="full"] {
	margin-left: auto !important;
	margin-right: auto !important;
	width: inherit;
}

/*
 * Responsive menu container padding.
 * This ensures the responsive container inherits the same
 * spacing defined above. This behavior may be built into
 * the Block Editor in the future.
 */

.wp-block-navigation__responsive-container.is-menu-open {
	padding-top: var(--wp--custom--spacing--outer);
	padding-bottom: var(--wp--custom--spacing--large);
	padding-right: var(--wp--custom--spacing--outer);
	padding-left: var(--wp--custom--spacing--outer);
}

/*----------   HEADLINES  ----------*/

h1 {
		font-size: 25px !important;
		font-weight: 500 !important;
		letter-spacing: 0.07em;
		text-transform: uppercase;
		color: #9C8F80;
		margin-top: 0px;
		margin-bottom: 12px;
}

.headline {
	margin: 0px !important;
    padding: 45px 0px !important;
    width: 100% !important;
    background: #FAF5DE;
    background-image: url(assets/images/Logo_Beige_4.png);
    background-size: 30%;
    background-repeat: no-repeat;
    background-position: -5% -47px;
}

.wp-block-post-title {
	max-width: 90% !important;
	margin-left: 5%;
}
h1 a { 
		text-decoration: none !important;
}
h2 {	
		font-size: 25px;
		font-weight: 500;
		letter-spacing: 0.04em;
		margin: 0px 0px 30px 0px;
		color: #174091;
}
h2 a { 
		text-decoration: none !important;
}		
h3 {
		line-height: 28px;
		font-size: 16px;
		font-weight: 500;
		color: #000000;
		letter-spacing: 0.07em;
		text-transform: uppercase;
		margin: 4px 0px 9px 0px;
}
h4 {		
		padding: 30px 20px;
		text-align: center;
		background: rgba(200, 200, 200, 0.15);
		border-radius: 10px;
		color: #000000 !important;
		font-weight: 400 !important;
		line-height: 30px !important;
		font-size: 20px !important;
}
h5 {	
		font-size: 16px;
		font-weight: 500;
		margin: -5px 0px 0px 0px;
		color: #174091;
}
blockquote p {
		margin: 35px 0px 30px 0px;
		padding: 12px 40px;
		border: 8px solid rgba(200, 200, 200, 0.15);
		border-radius: 10px;
		width: calc(100% - 80px);
}

/*--------------------*/

.seitentitel {
	letter-spacing: 0.04em;
	font-size: 22px;
	font-weight: 500;
	max-width: 90%;
	margin-left: 5%;
}
.navi-ob-re {
	color: #9C8F80;
	letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
	margin: 18px 20px 0px 3px !important;
}
@media (max-width: 1130px) and (min-width: 600px) { 
.navi-ob-re {
	margin: 18px 20px 18px 3px !important;
}
}

.navi-footer {
	color: #9C8F80;
	letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
	margin: 10px 5% 0px 5% !important;
	max-width: 90% !important;
}
@media (max-width: 500px) { 
.navi-footer ul {
	display: block;
	list-style: none;
}
.navi-footer li {
	display: flex;
	align-items: center;
	margin: 15px 0px;
	justify-content: center;
}}
.entry-content {
	font-weight: 400;
    line-height: 30px;
	color: rgba(0, 0, 0, 0.9);
}

@media (max-width: 1180px) {    /*  Inhaltsbereich unter dieser Breite nicht mehr auf 100% Breite  */
.wp-block-post-content {
	margin-left: 5%;
	margin-right: 5%;
	width: 90%;
}}

footer {
	background: #F5F5F5;
	padding: 0px !important;
	margin: 40px 0px 0px 0px !important;
	max-width: 100% !important;
}

img.alignleft,
figure img.alignleft  {
			text-align: left;
			float: left;
			margin-top: 0px;
			padding: 0px;
			margin-right: 25px;
			margin-left: 0px;
			margin-bottom: 20px !important;
			border: 0px;
			z-index: 10;
}

hr {
	  border: 0px solid #000066;
	  border-top: 4px solid rgba(241, 241, 242, 1);
	  background: transparent;
	  height: 0px;
	  padding: 0px !important;
	  margin: 35px 0px 35px 0px;
	  clear: both;
}
