/*
Theme Name: Yana Yo
Theme URI: https://www.yanayo.de
Author: Yana Yo
Author URI: https://www.yanayo.de
Description: Individuelles klassisches Theme für die Künstlerin Yana Yo (Malerei, Köln). 1:1-Migration von Layout und Typografie der bestehenden Contao-Seite nach WordPress, Inhalte über ACF-Blöcke.
Version: 1.0.6
Requires at least: 6.5
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: yanayo
*/

.warning {
	color: #c55;
	font-size: 1.1em;
}

.confirmation {
	color: #090;
	font-size: 1.1em;
}

.information {
	color: #999;
	font-size: 0.9em;
}

* {
	box-sizing: border-box;
}

:focus:not(:focus-visible) {
	outline: 0;
}

:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.transition {
	transition: all 0.1s ease-in-out;
}

.invisible {
	width: 0;
	height: 0;
	left: -1000px;
	top: -1000px;
	position: absolute;
	overflow: hidden;
	display: inline;
}

html {
	min-height: 100%;
	font-size: 100%;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}

@media screen and (max-width: 1280px) {
	html {
		font-size: 85%;
	}
}

body {
	min-height: 100%;
	overflow-y: scroll;
	overflow-x: hidden;
	position: relative;
	font: normal 100% 'clear_sans_lightregular', helvetica, arial, sans-serif;
	line-height: 1.8;
	font-style: normal;
	padding: 0;
	margin: 0;
}

@font-face {
	font-family: 'clear_sansregular';
	src: url('assets/fonts/clear-sans/ClearSans-Regular-webfont.woff2') format('woff2'),
		url('assets/fonts/clear-sans/ClearSans-Regular-webfont.woff') format('woff');
	font-weight: 400;
	font-style: normal;
}

@font-face {
	font-family: 'clear_sansbold';
	src: url('assets/fonts/clear-sans/ClearSans-Bold-webfont.woff2') format('woff2'),
		url('assets/fonts/clear-sans/ClearSans-Bold-webfont.woff') format('woff');
	font-weight: 400;
	font-style: normal;
}

@font-face {
	font-family: 'clear_sansbold_italic';
	src: url('assets/fonts/clear-sans/ClearSans-BoldItalic-webfont.woff2') format('woff2'),
		url('assets/fonts/clear-sans/ClearSans-BoldItalic-webfont.woff') format('woff');
	font-weight: 400;
	font-style: normal;
}

@font-face {
	font-family: 'clear_sans_lightregular';
	src: url('assets/fonts/clear-sans/ClearSans-Light-webfont.woff2') format('woff2'),
		url('assets/fonts/clear-sans/ClearSans-Light-webfont.woff') format('woff');
	font-weight: 400;
	font-style: normal;
}

.light {
	font-family: 'clear_sans_lightregular';
	font-weight: 400;
}

.regular {
	font-family: 'clear_sansregular';
	font-weight: 400;
}

.bold {
	font-family: 'clear_sansbold';
	font-weight: 400;
}

.bolditalic {
	font-family: 'clear_sansbold_italic';
	font-weight: 400;
}

* {
	font-family: 'clear_sans_lightregular';
	font-weight: 400;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-size: 1.3em;
	padding: 0 0 0.17em 0;
	margin: 0;
	margin-top: -0.19em;
	font-family: 'clear_sansbold';
	font-weight: 400;
	line-height: 1.5;
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
	font-family: 'clear_sansbold';
	font-weight: 400;
}

h2 {
	font-family: 'clear_sans_lightregular';
	font-weight: 400;
}

h3 {
	color: #808485;
	font-family: 'clear_sans_lightregular';
	font-weight: 400;
}

strong {
	font-family: 'clear_sansbold';
	font-weight: 400;
	color: #808485;
}

em {
	font-style: italic;
}

p {
	padding: 0 0 1.5em 0;
	margin: 0;
}

p a {
	text-decoration: underline;
}

p img {
	margin: 0.5em 0 -1em 0;
	padding: 0;
	display: inline;
}

p,
ul,
ol,
input,
select,
textarea {
	font-family: 'clear_sans_lightregular';
	font-weight: 400;
	line-height: inherit;
}

a {
	color: #000;
	text-decoration: none;
	transition: all 0.1s ease-in-out;
}

a:hover,
a:focus {
	color: rgba(0, 85, 170, 0.5);
	transition: all 0.1s ease-in-out;
}

.active {
	font-family: 'clear_sansbold';
	font-weight: 400;
}

#wrapper {
	display: flex;
	align-items: flex-start;
	margin-top: 160px;
}

#left {
	width: 25%;
	flex: 0 0 25%;
	padding: 3em;
	position: relative;
	box-sizing: border-box;
}

@media screen and (max-width: 800px) {
	#left {
		display: none;
	}
}

#main {
	width: 75%;
	flex: 0 0 75%;
	min-width: 0;
	padding: 3em 3em 10em;
	box-sizing: border-box;
	position: relative;
	top: -2px;
}

@media screen and (max-width: 800px) {
	#wrapper {
		margin-top: 0;
	}

	#main {
		width: 100%;
		flex: 1 1 100%;
		padding: 2em;
		margin-top: 0;
	}
}

#logo {
	text-align: right;
	position: absolute;
	top: -3.618em;
	right: 3em;
	left: 3em;
}

#logo h1 {
	font-family: 'clear_sans_lightregular';
	font-weight: 400;
	font-size: 1.618em;
	letter-spacing: -1px;
	margin: 0;
	padding: 0;
}

#logo h1 a {
	font-family: 'clear_sans_lightregular';
	font-weight: 400;
	font-size: 1em;
}

#moblogo {
	float: left;
	width: 100%;
	margin-bottom: 1em;
	display: none;
}

@media screen and (max-width: 800px) {
	#moblogo {
		display: block;
	}
}

#moblogo img {
	width: 100%;
	height: auto;
}

#nav {
	margin: 0;
	padding: 0;
	text-align: right;
}

.site-nav-menu,
.site-nav-menu ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-nav-menu li {
	margin: 0;
}

.site-nav-menu a {
	display: block;
	padding: 0.2em 0;
}

#nav a {
	padding-top: calc(0.2em - 1.5px);
	padding-bottom: calc(0.2em - 1.5px);
}

.site-nav-menu li.current-menu-item > a {
	font-family: 'clear_sansbold';
	font-weight: 400;
}

.site-nav-menu .sub-menu {
	margin: 1.8em 0;
	display: none;
}

.site-nav-menu li.current-menu-item > .sub-menu,
.site-nav-menu li.current-menu-ancestor > .sub-menu,
.site-nav-menu li.current-menu-parent > .sub-menu {
	display: block;
}

#mobnav {
	display: none;
	margin-bottom: 2em;
	float: left;
	width: 100%;
}

@media screen and (max-width: 800px) {
	#mobnav {
		display: block;
	}
}

.site-nav-toggle-input {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.site-nav-toggle-label {
	position: relative;
	display: block;
	width: 28px;
	height: 22px;
	cursor: pointer;
	margin-left: auto;
}

.site-nav-toggle-input:focus-visible + .site-nav-toggle-label {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.site-nav-toggle-label span {
	position: absolute;
	left: 0;
	display: block;
	width: 100%;
	height: 2px;
	background: currentColor;
	transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out, top 0.2s ease-in-out;
}

.site-nav-toggle-label span:nth-child(1) {
	top: 0;
}

.site-nav-toggle-label span:nth-child(2) {
	top: 10px;
}

.site-nav-toggle-label span:nth-child(3) {
	top: 20px;
}

.site-nav-toggle-input:checked + .site-nav-toggle-label span:nth-child(1) {
	top: 10px;
	transform: rotate(45deg);
}

.site-nav-toggle-input:checked + .site-nav-toggle-label span:nth-child(2) {
	opacity: 0;
}

.site-nav-toggle-input:checked + .site-nav-toggle-label span:nth-child(3) {
	top: 10px;
	transform: rotate(-45deg);
}

#mobnav .site-nav-menu {
	display: none;
	width: 100%;
	margin-top: 1.5em;
	text-align: left;
}

#mobnav .site-nav-menu .sub-menu {
	display: block;
	margin: 0.8em 0 0.8em 1.5em;
}

#mobnav .site-nav-toggle-input:checked ~ .site-nav-menu {
	display: block;
}

#socialCon {
	margin-top: 1.5em;
	text-align: right;
}

#socialCon a {
	display: inline-block;
}

#socialCon img {
	display: block;
	width: 20px;
	height: 20px;
	opacity: 0.7;
	transition: opacity 0.1s ease-in-out;
}

#socialCon a:hover img,
#socialCon a:focus img {
	opacity: 1;
}

#smallCon {
	line-height: 1.3;
	text-align: right;
	margin-top: 3em;
	width: 100%;
	color: #808485;
	opacity: 0.8;
	font-size: 0.8em;
}

@media screen and (max-width: 800px) {
	#smallCon {
		display: none;
	}
}

.one,
.two,
.three,
.four,
.five,
.six,
.seven,
.eight,
.nine,
.ten,
.eleven,
.twelve {
	margin: 0;
	padding: 3em;
	float: left;
	position: relative;
}

.one img,
.two img,
.three img,
.four img,
.five img,
.six img,
.seven img,
.eight img,
.nine img,
.ten img,
.eleven img,
.twelve img {
	width: 100%;
}

.one { width: 8.333333333333334%; }
.two { width: 16.666666666666668%; }
.three { width: 25%; }
.four { width: 33.333333333333336%; }
.five { width: 41.66666666666667%; }
.six { width: 50%; }
.seven { width: 58.333333333333336%; }
.eight { width: 66.66666666666667%; }
.nine { width: 75%; }
.ten { width: 83.33333333333334%; }
.eleven { width: 91.66666666666667%; }
.twelve { width: 100%; }

@media screen and (max-width: 800px) {
	.one,
	.two,
	.three,
	.four,
	.five,
	.six,
	.seven,
	.eight,
	.nine,
	.ten,
	.eleven,
	.twelve {
		width: 100%;
		margin: 0;
		padding: 0;
	}
}

@media screen and (max-width: 1024px) {
	.one,
	.two,
	.three,
	.four,
	.five,
	.six,
	.seven,
	.eight,
	.nine,
	.ten,
	.eleven,
	.twelve {
		padding: 1em;
	}
}

.row {
	display: block;
	width: 100%;
	padding: 6em 0;
	margin: 0;
	text-align: left;
	float: left;
}

.rowWrapper {
	width: 960px;
	margin: 0 auto;
	display: block;
	padding: 0;
	height: 100%;
}

@media screen and (max-width: 1280px) {
	.rowWrapper {
		width: 70%;
	}
}

@media screen and (max-width: 1024px) {
	.rowWrapper {
		width: 100%;
	}
}

.offset-one { margin-left: 8.333333333333334%; }
.offset-two { margin-left: 16.666666666666668%; }
.offset-three { margin-left: 25%; }
.offset-four { margin-left: 33.333333333333336%; }
.offset-five { margin-left: 41.66666666666667%; }
.offset-six { margin-left: 50%; }
.offset-seven { margin-left: 58.333333333333336%; }
.offset-eight { margin-left: 66.66666666666667%; }
.offset-nine { margin-left: 75%; }
.offset-ten { margin-left: 83.33333333333334%; }
.offset-eleven { margin-left: 91.66666666666667%; }
.offset-twelve { margin-left: 100%; }

input,
select,
textarea {
	padding: 1em 1.3em;
	margin: 0;
	border: 1px solid #808485;
	background: transparent !important;
	border-radius: 0 !important;
	float: left;
	width: 100%;
	margin-bottom: 1.5em;
}

textarea {
	height: 15em;
}

input[type='submit'] {
	float: left;
	width: auto;
	margin-top: 0;
	border: 2px solid #808485;
	border-radius: 0;
	background: transparent;
	color: #000;
}

input[type='submit']:hover,
input[type='submit']:focus {
	background: #808485 !important;
	color: #fff;
}

.map {
	height: 40em;
}

.responsiveContainer {
	position: relative;
	padding-bottom: 56%;
	height: 0;
	overflow: hidden;
}

.responsiveContainer iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.acf-block-text {
	max-width: 700px;
	margin: 0 0 3em;
}

.acf-block-text:last-child {
	margin-bottom: 0;
}

.acf-block-placeholder {
	color: #808485;
	font-style: italic;
}

.acf-block-bildarchiv {
	max-width: 700px;
	margin: 0 0 3em;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.acf-block-bildarchiv img {
	max-width: min(100%, 700px);
	width: auto;
	height: auto;
	border: 1px solid #cfcfcf;
	background: #fff;
}

.acf-block-bildarchiv figcaption {
	text-align: center;
	margin-top: 1em;
	color: #808485;
}

.acf-block-bildarchiv:last-child {
	margin-bottom: 0;
}

.bildarchiv-serie-title {
	color: #808485;
}

.bildarchiv-serie-text {
	max-width: 700px;
	margin: 0 0 3em;
}

.bildarchiv-serie-text-en {
	font-style: italic;
}
