/* -----------------------------------------------------------------------------------------
 * StraBrangy Website Theme
 ---------------------------------------------------------------------------------------- */

/*
 * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If
 * a copy of the MPL was not distributed with this file, You can obtain one at
 * http://mozilla.org/MPL/2.0/.
 */

/* -----------------------------------------------------------------------------------------
 * Generelles
 ---------------------------------------------------------------------------------------- */

body
{
	background-color: #eeeeee;
	margin: 0;
}

p, ul, ol
{
	font-family: "source-sans", sans-serif;
	font-size: 1rem;
	line-height: 1.5rem;
	color: #222222;
}

h1, h2, h3, h4, h5, h6
{
	font-family: "oleoscript", sans-serif;
	font-weight: normal;
	margin-top: 2rem;
	margin-bottom: 1rem;
	color: #003157;
}

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

a:visited
{
	color: #005699;
}

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

.content-container h1, .content-container h2
{
	font-size: 1.75rem;
}

.content-container h3
{
	font-size: 1.5rem;
}

.content-container h4
{
	font-size: 1.5rem;
	color: #7495a2;
}

div.content-root
{
	background-color: #e5f4ff;
	padding: 0.5rem 0 2rem;
}

div.content-container
{
	padding: 0 1rem;
}

@media only screen and (max-width: 40rem)
{
	div.content-container
	{
		width: calc(100% - 2rem);
	}
}

@media only screen and (min-width: 40rem)
{
	div.content-container
	{
		width: 38rem;
		margin: 0 calc(50% - 20rem);
	}
}

@media only screen and (min-width: 30rem)
{
	div.content-container.content-page
	{
		margin-top: 5rem;
	}
}

@media only screen and (max-width: 30rem)
{
	div.content-container.content-page
	{
		margin-top: 3.75rem;
	}
}

/* Konstrukte */

.nobr
{
	white-space: nowrap;
}

.info
{
	margin-top: 1.5rem;
	margin-bottom: 1.5rem;
	border-top: solid 0.0625rem #003157;
	border-bottom: solid 0.0625rem #003157;
	padding: 1rem;
	color: #003157;
	background-color: #d2ecff;
}

.imagedesc
{
	font-size: 0.8rem;
	color: #5c7680;
}

.bitmap
{
	max-width: 40em;
	width: 100%;
}

/* Auszeichnungen */

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

em, .term, .target
{
	font-style: italic;
}

dfn
{
	font-style: normal;
	background-color: #d2ecff;
	text-decoration: underline dotted #003157;
}

.strabrangy, .app
{
	font-style: italic;
}

.quote
{
	color: #003157;
	border-left: 0.125rem solid #005699;
	padding-left: 1rem;
}

.hint
{
	font-size: 0.9rem;
	line-height: 1.2rem;
}

.hint .title
{
	font-weight: bold;
}

/* Footer */

div.footer
{
	background-color: #000000;
	padding: 0.5rem 1rem;
	text-align: center;
}

div.footer ul
{
	margin: 0;
	padding: 0;
	font-size: 0.9rem;
	color: #ffffff;
	line-height: inherit;
}

div.footer li
{
	display: inline-block;
	padding: 0 0.25rem;
}

div.footer a
{
	color: #ffffff;
	text-decoration: none;
}

div.footer a:hover
{
	text-decoration: underline;
}

div.footer .current-page
{
	font-weight: bold;
}

/* Copyright */

div.copyright
{
	width: 100%;
	text-align: center;
	background-color: #ffffff;
}

div.copyright p
{
	font-size: 0.9rem;
	padding: 0.25rem;
	margin: 0;
	line-height: 1.1rem;
}

div.copyright p span.strabrangy
{
	font-family: "oleoscript", sans-serif;
	font-weight: normal;
	font-style: normal;
	font-size: 1rem;
}

/* Navigation */

img.navigate
{
	width: 2rem;
	height: 1rem;
	padding-left: 0.25rem;
}

img.navigateInText
{
	width: 1rem;
	height: 0.625rem;
	padding-left: 0.375rem;
}


/* -----------------------------------------------------------------------------------------
 * Homepage
 ---------------------------------------------------------------------------------------- */

/* Logo */

div.logo
{
	width: 100%;
	background-color: #b9e1ff;
	text-align: center;
}

@media only screen and (max-width: 30rem)
{
	img.logo
	{
		padding: 4rem 1rem;
		width: calc(100% - 2rem);
	}
}

@media only screen and (min-width: 30rem)
{
	img.logo
	{
		padding: 5rem 1rem;
		width: 28rem;
	}
}

@media only screen and (min-width: 34rem)
{
	img.logo
	{
		padding: 5rem 1rem;
		width: 32rem;
	}
}

/* Teaser */

div.teaser-root
{
	background-color: #d2ecff;
}

div.summary,
div.stories
{
	width: 100%;
}

p.summary,
p.stories
{
	font-weight: normal;
	color: #003157;
	margin: 0.5rem 1rem 1rem 1rem;
}

p .summary-topic,
p .stories-topic
{
	font-family: "oleoscript", sans-serif;
	font-weight: normal;
	font-size: 1.8rem;
}

p.summary .strabrangy,
p.stories .strabrangy
{
	font-family: "oleoscript", sans-serif;
	font-size: 1.1rem;
	font-style: normal;
	color: #003157;
}

.story-name
{
	display: inline-block;
	margin: 0.25rem 0;
	font-family: "oleoscript", sans-serif;
	font-size: 1.25rem;
	font-style: normal;
}

@media only screen and (max-width: 40rem)
{
	div.teaser,
	div.summary,
	div.stories
	{
		width: calc(100% - 2rem);
	}

	div.summary
	{
		padding: 2rem 0 0 0;
	}

	div.stories
	{
		padding: 1.25rem 0 2rem 0;
	}
}

@media only screen and (min-width: 40rem)
{
	div.teaser
	{
		margin: 0 calc(50% - 20rem);
	}

	div.teaser,
	div.summary,
	div.stories
	{
		width: 38rem;
	}

	div.summary
	{
		padding: 2rem 0 0 0;
	}

	div.stories
	{
		padding: 1.25rem 0 2rem 0;
	}

}

@media only screen and (min-width: 48rem)
{
	div.teaser
	{
		display: flex;
		flex-direction: row;
		margin: 0 calc(50% - 24rem);
		width: 48rem;
	}

	div.summary,
	div.stories
	{
		width: 24rem;
		padding: 2rem 0;
	}

}

p.cta
{
	margin-top: 2.5rem;
	text-align: center;
}

a.cta
{
	display: inline-block;
	padding: 0.625rem 1.5rem;
	margin: 0.25rem 0.5rem;
	border: none;
	border-radius: 0.625rem;
	background-color: #b9e1ff;
}

a.cta,
a.cta:visited,
a.cta:active
{
	font-family: "oleoscript", sans-serif;
	font-size: 1.5rem;
	font-weight: normal;
	color: #ffffff;
	text-decoration: none;
}

a.cta:hover
{
	background-color: #7495a2;
}


/* -----------------------------------------------------------------------------------------
 * Inhaltsseite
 ---------------------------------------------------------------------------------------- */

/* Header */

div.header
{
	position: fixed;
	width: 100%;
	vertical-align: middle;
	background-color: #b9e1ff;
	padding: 0.5rem 1rem;
	white-space: nowrap;
	box-shadow: 0 0.25rem 0.5rem black;
}

.header h1,
.header h2,
.header h3,
.header h4,
.header h5,
.header h6
{
	display: inline-block;
	margin: 0;
	color: #000000;
}

@media only screen and (min-width: 60rem)
{
	.header h1
	{
		margin-left: calc(50% - 23rem);
		width: 40rem;
		text-align: center;
	}
}

@media only screen and (min-width: 30rem)
{
	div.header
	{
		height: 2.5rem;
	}

	.header .icon
	{
		width: 1.5rem;
		height: 1.5rem;
		padding-right: 0.75rem;
	}
}

@media only screen and (max-width: 30rem)
{
	div.header
	{
		height: 1.75rem;
	}

	.header h1
	{
		font-size: 1.5rem;
	}

	.header .icon
	{
		width: 1.1rem;
		height: 1.1rem;
		padding-right: 0.5rem;
	}
}

/* Werkzeuge (Navigation, etc.) */

.tools
{
	font-family: "source-sans", sans-serif;
}

.nav1, .nav1--current,
.nav2, .nav2--current
{
	height: 1.25rem;
	display: inline-block;
}

.nav1, .nav1--current
{
	font-size: 1rem;
}

.nav2, .nav2--current
{
	font-size: 0.9rem;
	padding-left: 0.5rem;
}

.nav1--current, .nav2--current
{
	font-weight: bold;
}

@media only screen and (max-width: 81.9375rem)
{
	div.tools
	{
		width: 100%;
		background-color: #d2ecff;
		color: #003157;
		padding: 1rem 0;
	}

	a.nav1, a.nav1:visited,
	a.nav2, a.nav2:visited
	{
		text-decoration: none;
		color: #003157
	}

	a.nav1:hover,
	a.nav2:hover
	{
		text-decoration: none;
		color: #005699;
	}

	.nav1--current, .nav2--current
	{
		color: #000000;
	}

	.nav1--disabled
	{
		color: #666666;
	}

	@media only screen and (max-width: 40rem)
	{
		div.tools-content
		{
			width: calc(100% - 2rem);
			padding: 0 1rem;
		}
	}

	@media only screen and (min-width: 40rem)
	{
		div.tools-content
		{
			width: 37rem;
			margin: 0 calc(50% - 19rem);
		}
	}

}

@media only screen and (min-width: 82rem)
{
	div.tools
	{
		position: fixed;
		left: calc(50% - 39rem);
		top: 5rem;
		width: 17rem;
		box-shadow: 0.25rem 0.25rem 0.25rem #000000;
	}

	div.tools-content
	{
		width: calc(100% - 1rem);
		border: 0.0625rem dotted #003157;
		background-color: #ffffff;
		padding: 0.5rem;
	}

	a.nav1, a.nav1:visited,
	a.nav2, a.nav2:visited
	{
		text-decoration: none;
		color: #003157;
	}

	a.nav1:hover,
	a.nav2:hover
	{
		text-decoration: none;
		color: #005699;
	}

	.nav1--current, .nav2--current
	{
		color: #000000;
	}

	.nav1--disabled
	{
		color: #666666;
	}

}


/* -----------------------------------------------------------------------------------------
 * Dokumentation
 ---------------------------------------------------------------------------------------- */

h2.docs
{
	font-size: 2rem;
	color: #003157;
}

h3.docs
{
	font-size: 1.5rem;
}

a.doc-pdf
{
	display: inline-block;
	padding: 0.25rem 2rem;
	margin: 0.25rem 0.25rem;
	border: none;
	border-radius: 0.5rem;
	background-color: #003157;
}

a.doc-pdf,
a.doc-pdf:visited,
a.doc-pdf:active
{
	font-family: "oleoscript", sans-serif;
	font-size: 1rem;
	font-weight: normal;
	color: #ffffff;
	text-decoration: none;
}

a.doc-pdf:hover
{
	background-color: #005699;
}


/* -----------------------------------------------------------------------------------------
 * Tooltip-Support
 ---------------------------------------------------------------------------------------- */

.tooltip--backdrop
{
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	pointer-events: all;
	background-color: rgba(0, 0, 0, 0.3);
}

.tooltip--container
{
	position: fixed;
	overflow: hidden;
	background: #ffffff;
	font-family: "source-sans", sans-serif;
	font-size: 1rem;
	line-height: 1.5rem;
}

@media only screen and (min-width: 30rem)
{
	.tooltip--container
	{
		top: 20%;
		left: 20%;
		bottom: 20%;
		right: 20%;
		border: 0.0625rem dashed #5c7680;
		box-shadow: 0 0.25rem 0.5rem black;
	}
}

@media only screen and (max-width: 30rem)
{
	.tooltip--container
	{
		top: 0;
		left: 0;
		bottom: 0;
		right: 0;
	}
}

.tooltip--close
{
	text-align: right;
	background-color: #d2ecff;
	height: 2rem;
	font-family: "source-sans", sans-serif;
	font-weight: bold;
	font-size: 1.5rem;
	color: #222222;
}

.tooltip--close-link
{
	display: inline-block;
	font-weight:bold;
	width: 1rem;
	padding-right: 0.5rem;
	margin-top: 0.25rem;
	cursor: pointer;
	color: #5c7680;
}

.tooltip--content
{
	margin: 1rem;
	/*overflow: auto;*/
	overflow-y: visible;
	width: calc(100% - 2rem);
	height: calc(100% - 5rem);
}