/*
Theme Name: AFS Hall 2026
Theme URI: http://wordpress.org/themes/twentythirteen
Description: Based on twentythirteen
Version: 0.2
License: GNU General Public License v2 or later
*/

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

article,
aside,
details,
figcaption,
figure,
footer,
header,
nav,
section,
summary {
	display: block;
}

html {
	font-size: 100%;
	overflow-y: scroll;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}

html,
button,
input,
select,
textarea {
	font-family: "Source Sans Pro", Helvetica, sans-serif;
}

body {
	color: #141412;
	line-height: 1.5;
	margin: 0;
}

a {
	color: #ca3c08;
	text-decoration: none;
}

a:visited {
	color: #ac0404;
}

a:hover {
	color: #ea9629;
	text-decoration: underline;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	font-family: Bitter, Georgia, serif;
	line-height: 1.3;
}

h1 {
	font-size: 48px;
	margin: 33px 0;
}

p {
	margin: 0 0 24px;
}

img {
	-ms-interpolation-mode: bicubic;
	border: 0;
	vertical-align: middle;
}

figure {
	margin: 0;
}

/* Assistive Text (Versteckte Screenreader-Texte wie Instagram/TikTok Label) */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-weight: bold;
	height: auto;
	line-height: normal;
	padding: 15px 23px 14px;
	position: absolute;
	left: 5px;
	top: 5px;
	text-decoration: none;
	width: auto;
	z-index: 100000;
}

/* Clearing floats */
.clear:after,
.entry-content:after,
.site-footer:after {
	clear: both;
}

.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after {
	content: "";
	display: table;
}

/* Basic Structure */
.site {
	background-color: #fff;
	border-left: 1px solid #f2f2f2;
	border-right: 1px solid #f2f2f2;
	margin: 0 auto;
	max-width: 1600px;
	width: 100%;
}

.site-main {
	position: relative;
}

/* Header */
.site-header {
	position: relative;
}

.site-header .home-link {
	color: #005C96;
	display: block;
	margin: 0 auto;
	max-width: 1080px;
	min-height: 180px;
	padding: 0 20px;
	text-decoration: none;
	width: 100%;
}

.site-title {
	font-size: 60px;
	font-weight: bold;
	line-height: 1;
	margin: 0;
	padding: 58px 0 10px;
}

.site-description {
	font: 300 italic 24px "Source Sans Pro", Helvetica, sans-serif;
	margin: 0;
}

/* Navigation */
.main-navigation {
	clear: both;
	margin: 0 auto;
	max-width: 1080px;
	min-height: 45px;
	position: relative;
}

.menu-toggle {
	display: none;
}

.navbar {
	background-color: #C3D3F7;
	margin: 0 auto;
	max-width: 1600px;
	width: 100%;
}

/* Content */
.hentry {
	padding: 40px 0;
}

.entry-header,
.entry-content,
.entry-summary,
.entry-meta {
	margin: 0 auto;
	max-width: 604px;
	width: 100%;
}

.entry-title {
	font-weight: normal;
	margin: 0 0 5px;
}

.entry-title a {
	color: #005C96;
}

.entry-content {
	-webkit-hyphens: auto;
	-moz-hyphens:    auto;
	-ms-hyphens:     auto;
	hyphens:         auto;
	word-wrap: break-word;
}

.entry-content a {
	color: #bc360a;
}

.entry-content a:hover {
	color: #ea9629;
}

/* Footer */
.site-footer {
	background-color: rgba(227, 225, 211, 0.7);
	color: #686758;
	font-size: 14px;
	text-align: center;
}

.site-info {
	margin: 0 auto;
	max-width: 1040px;
	padding: 30px 0;
	width: 100%;
}

/* Media Queries */
@media (max-width: 1599px) {
	.site {
		border: 0;
	}
}

@media (max-width: 845px) {
	.site-header .home-link {
		min-height: 0;
	}
	.site-title {
		font-size: 36px;
		padding: 8px 0 10px;
	}
	.site-description {
		font-size: 20px;
	}
}

@media (max-width: 643px) {
	.site-title {
		font-size: 30px;
	}

	#content .entry-header,
	#content .entry-content,
	#content .entry-summary,
	#content footer.entry-meta {
		padding-left: 20px;
		padding-right: 20px;
	}

	.menu-toggle {
		cursor: pointer;
		display: inline-block;
		font: bold 16px/1.3 "Source Sans Pro", Helvetica, sans-serif;
		margin: 0;
		background: none;
		border: none;
		color: #005C96;
		padding: 12px 0 12px 20px;
	}

	.entry-title {
		font-size: 22px;
	}
}

/* Aenderungen fuer afshall */
h1 {
	color: #006aac;
}
h1.site-title {
	color: #000000;
}

h1.entry-title {
	font-size: 36px;
	margin-bottom: 0;
}

.header-logo {
	float: left;
	margin-top: 50px;
	margin-right: 10px;
}
#title_subtitle {
	float: left;
}
.clear {
	clear: both;
	margin: 0;
	padding: 0;
}

@media (max-width: 845px) {
	.header-logo {
		height: 70px;
		width: auto;
		margin-right: 4px;
		margin-top: 10px;
	}
}

@media (max-width: 480px) {
	.header-logo {
		display: none;
	}
	h1.site-title {
		color: #006aac;
	}
	h1.entry-title {
		font-size: 24px;
		margin-bottom: 0;
	}
}

div.tribe-events-list-event-description.tribe-events-content.description.entry-summary {
	padding: 0;
}
/* Wiederherstellung des Textflows für Bilder */
.alignleft {
	float: left;
	margin: 5px 20px 5px 0;
}

.alignright {
	float: right;
	margin: 5px 0 5px 20px;
}

img.alignleft {
	margin: 5px 20px 5px 0;
}

img.alignright {
	margin: 5px 0 5px 20px;
}

figure.alignleft {
	float: left;
	margin: 5px 20px 5px 0;
}

figure.alignright {
	float: right;
	margin: 5px 0 5px 20px;
}