/*
Theme Name: reconciliation
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: reconciliation
Tags:

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

reconciliation is based on Underscores http://underscores.me/, (C) 2012-2016 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Reset
# Colors
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Asides
	## Comments
	## Script
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/

/*--------------------------------------------------------------
1.0 Reset
--------------------------------------------------------------*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	border: 0;
	font-family: inherit;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}

html {
	font-size: 62.5%; /* Corrects text resizing oddly in IE6/7 when body font-size is set using em units http://clagnut.com/blog/348/#c790 */
	overflow-y: scroll; /* Keeps page centered in all browsers regardless of content height */
	-webkit-text-size-adjust: 100%; /* Prevents iOS text size adjust after orientation change, without disabling user zoom */
	-ms-text-size-adjust:     100%; /* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */
	overflow:scroll;
}

*,
*:before,
*:after { /* apply a natural box layout model to all elements; see http://www.paulirish.com/2012/box-sizing-border-box-ftw/ */
	-webkit-box-sizing: border-box; /* Not needed for modern webkit but still used by Blackberry Browser 7.0; see http://caniuse.com/#search=box-sizing */
	-moz-box-sizing:    border-box; /* Still needed for Firefox 28; see http://caniuse.com/#search=box-sizing */
	box-sizing:         border-box;
}

body {
	background: #f0f0f0; /* Fallback for when there is no custom background color defined. */
	z-index:9999;
}

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

ol,
ul {
	list-style: none;
}

table { /* tables still need 'cellspacing="0"' in the markup */
	border-collapse: separate;
	border-spacing: 0;
}

caption,
th,
td {
	text-align: left;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
}

blockquote,
q {
	quotes: "" "";
}

a img {
	border: 0;
	/*outline:0;*/
}

/*--------------------------------------------------------------
Colors
--------------------------------------------------------------*/

:root {
   --color-rene: #d0dfee;         /* hellblau */
  --color-rene-golden: #91a1ce;  /* kräftiges Blau */
  --color-thassos: #fff59f;      /* hellgelb */
  --color-thassos-golden: #f7d748; /* sattes Gelb */
  --color-default-bg: #f0f0f0;
}

/*--------------------------------------------------------------
Fonts
--------------------------------------------------------------*/

/* lato-300 - latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 300;
  src: url('/wp-content/themes/reconciliation/fonts/lato-v14-latin-300.eot'); /* IE9 Compat Modes */
  src: local('Lato Light'), local('Lato-Light'),
       url('/wp-content/themes/reconciliation/fonts/lato-v14-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('/wp-content/themes/reconciliation/fonts/lato-v14-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
       url('/wp-content/themes/reconciliation/fonts/lato-v14-latin-300.woff') format('woff'), /* Modern Browsers */
       url('/wp-content/themes/reconciliation/fonts/lato-v14-latin-300.ttf') format('truetype'), /* Safari, Android, iOS */
       url('/wp-content/themes/reconciliation/fonts/lato-v14-latin-300.svg#Lato') format('svg'); /* Legacy iOS */
}

/* lato-regular - latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: url('/wp-content/themes/reconciliation/fonts/lato-v14-latin-regular.eot'); /* IE9 Compat Modes */
  src: local('Lato Regular'), local('Lato-Regular'),
       url('/wp-content/themes/reconciliation/fonts/lato-v14-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('/wp-content/themes/reconciliation/fonts/lato-v14-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('/wp-content/themes/reconciliation/fonts/lato-v14-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('/wp-content/themes/reconciliation/fonts/lato-v14-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('/wp-content/themes/reconciliation/fonts/lato-v14-latin-regular.svg#Lato') format('svg'); /* Legacy iOS */
}

/* lato-300italic - latin */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 300;
  src: url('/wp-content/themes/reconciliation/fonts/lato-v14-latin-300italic.eot'); /* IE9 Compat Modes */
  src: local('Lato Light Italic'), local('Lato-LightItalic'),
       url('/wp-content/themes/reconciliation/fonts/lato-v14-latin-300italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('/wp-content/themes/reconciliation/fonts/lato-v14-latin-300italic.woff2') format('woff2'), /* Super Modern Browsers */
       url('/wp-content/themes/reconciliation/fonts/lato-v14-latin-300italic.woff') format('woff'), /* Modern Browsers */
       url('/wp-content/themes/reconciliation/fonts/lato-v14-latin-300italic.ttf') format('truetype'), /* Safari, Android, iOS */
       url('/wp-content/themes/reconciliation/fonts/lato-v14-latin-300italic.svg#Lato') format('svg'); /* Legacy iOS */
}

/* lato-italic - latin */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 400;
  src: url('/wp-content/themes/reconciliation/fonts/lato-v14-latin-italic.eot'); /* IE9 Compat Modes */
  src: local('Lato Italic'), local('Lato-Italic'),
       url('/wp-content/themes/reconciliation/fonts/lato-v14-latin-italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('/wp-content/themes/reconciliation/fonts/lato-v14-latin-italic.woff2') format('woff2'), /* Super Modern Browsers */
       url('/wp-content/themes/reconciliation/fonts/lato-v14-latin-italic.woff') format('woff'), /* Modern Browsers */
       url('/wp-content/themes/reconciliation/fonts/lato-v14-latin-italic.ttf') format('truetype'), /* Safari, Android, iOS */
       url('/wp-content/themes/reconciliation/fonts/lato-v14-latin-italic.svg#Lato') format('svg'); /* Legacy iOS */
}

/* lato-700 - latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  src: url('/wp-content/themes/reconciliation/fonts/lato-v14-latin-700.eot'); /* IE9 Compat Modes */
  src: local('Lato Bold'), local('Lato-Bold'),
       url('/wp-content/themes/reconciliation/fonts/lato-v14-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('/wp-content/themes/reconciliation/fonts/lato-v14-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
       url('/wp-content/themes/reconciliation/fonts/lato-v14-latin-700.woff') format('woff'), /* Modern Browsers */
       url('/wp-content/themes/reconciliation/fonts/lato-v14-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
       url('/wp-content/themes/reconciliation/fonts/lato-v14-latin-700.svg#Lato') format('svg'); /* Legacy iOS */
}

/* lato-700italic - latin */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 700;
  src: url('/wp-content/themes/reconciliation/fonts/lato-v14-latin-700italic.eot'); /* IE9 Compat Modes */
  src: local('Lato Bold Italic'), local('Lato-BoldItalic'),
       url('/wp-content/themes/reconciliation/fonts/lato-v14-latin-700italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('/wp-content/themes/reconciliation/fonts/lato-v14-latin-700italic.woff2') format('woff2'), /* Super Modern Browsers */
       url('/wp-content/themes/reconciliation/fonts/lato-v14-latin-700italic.woff') format('woff'), /* Modern Browsers */
       url('/wp-content/themes/reconciliation/fonts/lato-v14-latin-700italic.ttf') format('truetype'), /* Safari, Android, iOS */
       url('/wp-content/themes/reconciliation/fonts/lato-v14-latin-700italic.svg#Lato') format('svg'); /* Legacy iOS */
}

/* baumans-regular - latin */
@font-face {
  font-family: 'Baumans';
  font-style: normal;
  font-weight: 400;
  src: url('/wp-content/themes/reconciliation/fonts/baumans-v8-latin-regular.eot'); /* IE9 Compat Modes */
  src: local('Baumans Regular'), local('Baumans-Regular'),
       url('/wp-content/themes/reconciliation/fonts/baumans-v8-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('/wp-content/themes/reconciliation/fonts/baumans-v8-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('/wp-content/themes/reconciliation/fonts/baumans-v8-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('/wp-content/themes/reconciliation/fonts/baumans-v8-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('/wp-content/themes/reconciliation/fonts/baumans-v8-latin-regular.svg#Baumans') format('svg'); /* Legacy iOS */
}

/* inconsolata-regular - latin */
@font-face {
  font-family: 'Inconsolata';
  font-style: normal;
  font-weight: 400;
  src: url('/wp-content/themes/reconciliation/fonts/inconsolata-v17-latin-regular.eot'); /* IE9 Compat Modes */
  src: local('Inconsolata Regular'), local('Inconsolata-Regular'),
       url('/wp-content/themes/reconciliation/fonts/inconsolata-v17-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('/wp-content/themes/reconciliation/fonts/inconsolata-v17-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('/wp-content/themes/reconciliation/fonts/inconsolata-v17-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('/wp-content/themes/reconciliation/fonts/inconsolata-v17-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('/wp-content/themes/reconciliation/fonts/inconsolata-v17-latin-regular.svg#Inconsolata') format('svg'); /* Legacy iOS */
}

/* inconsolata-700 - latin */
@font-face {
  font-family: 'Inconsolata';
  font-style: normal;
  font-weight: 700;
  src: url('/wp-content/themes/reconciliation/fonts/inconsolata-v17-latin-700.eot'); /* IE9 Compat Modes */
  src: local('Inconsolata Bold'), local('Inconsolata-Bold'),
       url('/wp-content/themes/reconciliation/fonts/inconsolata-v17-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('/wp-content/themes/reconciliation/fonts/inconsolata-v17-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
       url('/wp-content/themes/reconciliation/fonts/inconsolata-v17-latin-700.woff') format('woff'), /* Modern Browsers */
       url('/wp-content/themes/reconciliation/fonts/inconsolata-v17-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
       url('/wp-content/themes/reconciliation/fonts/inconsolata-v17-latin-700.svg#Inconsolata') format('svg'); /* Legacy iOS */
}


/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
textarea {
	background-color: #f0f0f0;
	color: #333;
	font-family: 'Open Sans', sans-serif;
	font-size: 17px;
	font-size: 1.7rem;
}

strong {
	font-weight: 400;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

h1 {
	margin:1em 0;
	font-size: 2.2rem;
}

p {
	margin-bottom: 1.5em;
}

small {
	font-size:1.5rem;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 0.9375rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
	font-size: 15px;
	font-size: 0.9375rem;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
	box-sizing: border-box;
}

*,
*:before,
*:after { /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	box-sizing: inherit;
}

body {
	background: #f0f0f0; /* Fallback for when there is no custom background color defined. */
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
}

blockquote,
q {
	quotes: "" "";
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: bold;
}

dd {
	margin: 0 1.5em 1.5em;
}

img {
	height: auto; /* Make sure images are scaled correctly. */
	max-width: 100%; /* Adhere to container width. */
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

.site-title {
	font-family: 'Open Sans', sans-serif;
	text-transform: uppercase;
	font-size:2.6rem;
	line-height: 2.6rem;
	display: inline-block;
	margin-top: 1rem;
}



.site-title a {
	color: #333 !important;
	margin-right: 0.5em;
	text-decoration: none;
	font-weight: 600;
	letter-spacing: 2px;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 15px 17px rgba(255, 255, 255, 0.5), inset 0 -5px 12px rgba(0, 0, 0, 0.05);
	color: rgba(0, 0, 0, .8);
	font-size: 12px;
	font-size: 0.75rem;
	line-height: 1;
	padding: .6em 1em .4em;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 15px 17px rgba(255, 255, 255, 0.8), inset 0 -5px 12px rgba(0, 0, 0, 0.02);
}

button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
	border-color: #aaa #bbb #bbb;
	box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5), inset 0 2px 5px rgba(0, 0, 0, 0.15);
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	background-color: white;
	font-size:1.5rem;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"] {
	padding: 3px;
}

textarea {
	padding-left: 3px;
	width: 100%;
}

#search-form {
	display: inline-block;
	position: relative;
	top: -5px;
}

#search-form input {
	padding:0 10px;
	margin-top: 0.5em;
}

@media screen and (min-width: 37.5em) {
	#search-form input {
		padding: 3px 6px;
		margin-top: 0;
	}

	#search-form {
		margin:5px 0;
	}
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
	color: #3366cc;
	text-decoration: underline;
}

a:visited {
	color: #3366cc;
	text-decoration: underline;
}

a:hover,
a:focus,
a:active {
	color: #3366cc;
	text-decoration: none;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/

.menu-primary-container {
	display: inline-block;
}

@media screen and (max-width: 37.5em) {
	.menu-primary-container {
		display: block;
		background-color: #fcfcfc;
	}
}

.main-navigation {
	clear: both;
	display: inline-block;
	width: 100%;
	float: left;
}

@media screen and (min-width: 37.5em) {
	.main-navigation {
		float: right;
		width: auto;
	}
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	line-height: 3.6rem;
	margin-top:0.5em;
	border-top: 1px solid #999;
	padding:0.5em 1em;
}

@media screen and (min-width: 37.5em) {
	.main-navigation ul {
		margin-top: 0;
		border:none;
		padding: 0;
	}
}

.main-navigation li {

}

@media screen and (min-width: 37.5em) {
		.main-navigation li {
			float: left;
			position: relative;
			line-height: 1.5;
			margin-right:0.5em;
			padding-right:0.5em;
			border-right:1px solid #ccc;
			margin-top:0.5em;
		}
	}

.main-navigation li:last-child {
	border-right: 0;
	margin-right: 0;
	padding-right: 0;
}

.main-navigation a {
	display: block;
	text-decoration: none;
	color: #3366cc;
	text-transform: uppercase;
	letter-spacing: 1px;
	padding-bottom: 0;
}

@media screen and (min-width: 37.5em) {
	.main-navigation a {
		border-bottom: 1px solid #3366cc;
	}
}

.main-navigation a:hover {
	color: #333;
}

.main-navigation ul ul {
	float: left;
	position: absolute;
	top: 1.5em;
	left: -999em;
	z-index: 99999;
}

@media screen and (max-width: 37.5em) {
	.main-navigation ul ul {
		display: block;
		position: inherit;
		margin:0;
		padding: 0 1em;
		border-top: none;
	}
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul ul li {
	background-color: #666;
	padding:0.5em;
}

@media screen and (max-width: 37.5em) {
	.main-navigation ul ul li {
		background-color: transparent;
		padding: 0;
	}
}

.main-navigation ul ul li a {
	text-transform: none;
	color: #fff;
	font-size:1.5rem;
	border-bottom: none;
}

@media screen and (max-width: 37.5em) {
	.main-navigation ul ul li a {
		color: #333;
	}
}

.main-navigation ul ul li a:hover {
	color: #ccc;
}
.main-navigation ul ul li a:visited, .main-navigation ul ul li a:active {
	color:#fff;
}

@media screen and (max-width: 37.5em) {
	.main-navigation ul ul li a:visited, .main-navigation ul ul li a:active {
		color:#333;
	}
}


.main-navigation li:hover > a,
.main-navigation li.focus > a {
}

.main-navigation ul ul :hover > a,
.main-navigation ul ul .focus > a {
}

.main-navigation ul ul a:hover,
.main-navigation ul ul a.focus {
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	left: 100%;
}

.main-navigation .current_page_item > a,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_ancestor > a,
.main-navigation .current-menu-ancestor > a {

	color:black;
	font-weight: 400;
	border-bottom: 3px solid #000;
}

/* Small menu. */

.site-navigation {
	position: fixed;
	top:0;
	left: 0;
	right: 0;
}

.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

.menu-toggle {
	position: absolute;
	top:5px;
	right: 15px;
	}

@media screen and (min-width: 37.5em) {
	.menu-toggle {
		display: none;
	}
	.main-navigation ul {
		display: block;
	}
}

.fa.fa-bars {
    font-size: 2em;
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
	margin: 0 0 1.5em;
	overflow: hidden;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	float: left;
	width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.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-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
	outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	content: "";
	display: table;
	table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0 0 1.5em;
}

/* Make sure select elements fit in widgets. */
.widget select {
	max-width: 100%;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/

.container { scroll-padding-top: 200px; padding-top:1em; }

@media screen and (min-width: 1440px) {
	.container {
		padding: 3em 0;
		width:1440px;
	}
}

.page-header {
	margin-top: 0;
}

.site-header {
	background-color: #F0F0F0;
}

#rc-logo {
    height: 35px;
    margin: 0 0 0 10px;
    vertical-align: top;
}

.site-branding {
	display: inline-block;
}

.tag-entry-title {
    margin-top: 2em;
    font-size: 2.4rem;
    line-height: 1;
}

.fa.fa-video-camera {
	color: red;
}

.fa.fa-strikethrough, .fa.fa-clock-o {
	color: black;
}

.scripts-deletions-toggle {
	display: inline;
	margin-right: 0.5em;
}

.video_timestamp {
  display: inline;
  margin-right: 0.5em;
}

.timecode-toggle-button {
  color: black !important;
  cursor: pointer;
  margin-right: 1em;
}

#timecode-toggle-placeholder {
	display: inline-block;
}

a.video-toggle-button {
	text-decoration: none;
}

.video-toggle-button {
	display: inline;
}

.video_year {
	display: inline;
}

.scripts-timestamp {
  margin-right: 0.5em;
}

.video_year .fa.fa-calendar {
	margin-right: 0.5em;
	color:darkred;
}



.scripts-order {
	display: inline;
}

.scripts-order a {
	color: #999;
	margin-right:0.5em;
}

h2.video-title {
	font-size:1.6rem;
	margin-bottom: 1em;
	width: 100%;
	background-color: #FF6666;
	color: #fff;
	padding:0.25em 0.5em;
}

.comment {
  border-bottom: 1px solid #ccc;
}

.comment-list {
  margin-left: 0;
  list-style-type: none;
  color: #333;
}

.even .comment-body {
	background-color:transparent !important;
	border: 0;
}

.even .comment-body

.comment-reply-link, .comment-edit-link {
    display: none;
}

.comment-meta {
  display: block;
  margin-bottom: 0.5em;
  float: none !important;
}

.depth-2 {
  margin-left: 0.5em;
  padding-left: 1em;
}

.quickjump {
	font-size:1.5rem;
	display: inline-block;
}

.page-template-page-highlights .quickjump {
	display: none;
}

.quickjump select {
	border: 1px solid #ccc;
	font-size:1.5rem;
	width: 50px;
}

/*@media screen and (min-width: 768px) {
	.quickjump {
	position: fixed;
	top:10px;
	right: 20px;
	font-size: 1.3rem;
	}

	.quickjump select {
	border: 1px solid #ccc;
	font-size:1.3rem;
	}
}*/

/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {
	display: block;
}

.hentry {
	margin: 0 0 1.5em;
}

.byline,
.updated:not(.published) {
	display: none;
}

.single .byline,
.group-blog .byline {
	display: inline;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/*--------------------------------------------------------------
## Asides
--------------------------------------------------------------*/
.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
	display: none;
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

#comments {
    border: 1px solid #999;
    padding: 1em;
    background-color: #f3f3f3;
}

.scripts-cluster {
/*	background-color:#999;*/
/*	padding:2px 10px;*/
	color:#fff;
	margin-bottom: 1em;
	display: inline-block;
	border-radius: 4px;
}

.scripts-cluster a {
	color: white;
	text-decoration: none;
}

.scripts-cluster a:hover {
	text-decoration: underline;
}

.scripts-comments, .scripts-cluster, .scripts-storyline, .scripts-cutouts {
	font-size: 1.4rem;
}

.scripts-comments .fa {
	display: inline;
	float:left;
	color: #666;
	width: 15px;
	margin-right: 0.5em;
}

.scripts-comments .comments-title {
	margin-bottom: 1em;
	font-size: 1.8rem;
}

.scripts-comments ol {
	margin-left: 0em;
	list-style: none;
}

ol.parent, ol.children {
	margin-left: 1em;
}

.panel-body {
    padding: 1em 0;
}

.panel-group {
	line-height: 1;
}

.comment-body {
	margin: 0.5em 0;
	padding-top:1em;
}


.comment-header {
	margin-bottom: 0.5em;
	padding:0.5em;
	border-bottom: 1px solid #999;
	clear: both;
	color: #333 !important;
	font-size:1.3rem;
	background-color: #ddd;
}

.comment-text {
	padding:0.5em;
}

textarea {
	padding:1em;
}


.comment-meta {
	float: left;
}

.comment-author {
	color: #333 !important;
}

.comment-reply-link {
	display:none;
}

.comment-form-comment label {
	margin-bottom: 0.5em;
}

input[type="submit"] {
	font-size: 1.5rem;
}

/*--------------------------------------------------------------
Script
--------------------------------------------------------------*/

.timecode {
/*	display: none;*/
/*float:right;*/
/*padding:0 1em;*/
  background-color: white;
  margin-bottom: 0 !important;
  font-size: 1em;
}

.toggle-label {
  font-size: 0.9em;
  text-decoration: none;
  margin: 0 0.5em;
}

.highlight-toggle-label.highlight-rene {
	border-bottom: 7px solid var(--color-rene);
}

.highlight-toggle-label.highlight-thassos {
	border-bottom: 7px solid var(--color-thassos);
}
.highlight-toggle-label.highlight-rene-golden {
	border-bottom: 7px solid var(--color-rene-golden);
}
.highlight-toggle-label.highlight-thassos-golden {
	border-bottom: 7px solid var(--color-thassos-golden);
}

.text-timecode-block {
  display: flex;
  flex-direction: row;
  gap: 0.5em;
  align-items: center;
  margin:0.25em 0;
  padding:0 0.5em;
}

@media screen and (max-width: 1024px) {
	.text-timecode-block {
		display: block;
	}
	}

.text-timecode-block .timecode {
  order: 2;
  background-color: #f0f0f0;
  white-space: nowrap;
  padding:0.25em;
}

@media screen and (max-width: 1024px) {
	.text-timecode-block .timecode {
  order: 1;
}
}

.archive_number {
	order:2;
	background-color: #666;
	color:white;
	padding: 0 0.25em;
}


.text-timecode-block .text {
  order: 1;
  flex: 1;
}

@media screen and (max-width: 1024px) {
	.text-timecode-block .text {
		order:3;
	}
}

.script-block p {
	margin:0;
}

.script-block h2 {
	margin:1em 0;
}

.highlight-block {
  margin: 0.25em 0;
}


.highlight-insert {
  background-color: var(--color-default-bg);
}

.page-template-page-highlights .highlight-insert {
margin:0;
  padding:0.5em;
  border:1px solid var(--color-default-bg);
}

/*--------------------------------------------------------------
Filter
--------------------------------------------------------------*/

.final-summary {
  text-align: right;
}

.filter-buttons .btn {
  padding: 0.4rem 0.8rem;
  text-decoration: none;
  border: 1px solid #ccc;
  margin-right: 0.5rem;
  border-radius: 4px;
  color: #333;
}
.filter-buttons .btn.active {
  background: #ddd;
  font-weight: bold;
}

/*--------------------------------------------------------------
Final Cut
--------------------------------------------------------------*/

.filter-buttons {
  position: sticky;
  top: 42px;                /* Abstand vom oberen Rand */
  z-index: 20;           /* über anderen Inhalten */
  background: #f0f0f0;   /* Hintergrund, damit Text nicht überlappt */
  padding: 0.8rem 1rem;  /* etwas Abstand */
  border-bottom: 1px solid #ddd; /* dezente Trennlinie */
}

@media screen and (min-width: 1024px) {
	.filter-buttons {
		top: 48px;
	}
}

/* Standard: durchgestrichene Textteile ausblenden */
#final-cut-story s {
  display: none;
}

/* Wenn sichtbar geschaltet */
#final-cut-story.show-striked s {
  display: inline;
  color: #999; /* oder z. B. #ccc */
  text-decoration: line-through;
}

.strike-badge {
  display: inline-block !important;
  margin-right: 0.25em;
  background-color: #57a43b;
  padding: 1px 4px;
  line-height: 1;
  color: white;
  border-radius: 2px;
  text-decoration: line-through;
}

.comment-badge {
  display: inline-block !important;
  margin-right: 0.25em;
  background-color: #3b82f6; /* gleiches Blau wie Backend */
  padding: 1px 5px;
  line-height: 1;
  color: white;
  border-radius: 2px;
  font-weight: bold;
}

#toggle-striked {
  background-color: #57a43b;
  color: white;
  text-shadow: none;
  border: none;
  box-shadow: none;
}

#toggle-striked:hover {
	background-color: #4b8d33;
}

.script-text {
  display: inline;
}

 .script-text p {
  margin: 0 !important;
  display: inline;
}

#final-cut-story .script-color-marker.has-gradient {
  transform: rotate(90deg);
}

#final-cut-story .comment {
  color:#1d4ed8; /* schönes Blau */
  border-bottom: none;
}

.merge-block.has-comment {
  border-color:#3b82f6;
}

/* Standard: Kommentare sichtbar */
#final-cut-story .comment {
  display: inline;
  color: #3b82f6;
}

/* Wenn ausgeblendet */
.hide-comments .highlight-comment {
  display: none !important;
}

#toggle-comments {
  border: none;
  box-shadow: none;
  font-size: 14px;
  text-shadow: none;
}

.highlight-comment {
  color: #1d4ed8 !important;
  font-style: italic;
  padding: 0 !important;
  margin: 0 0.5em 0 0 !important;
}

/*--------------------------------------------------------------
Time summary
--------------------------------------------------------------*/

.script-date-time {
  font-size: 0.85em;
  text-align: right;
  line-height: 1.3;
  color:#999;
}

.final-cut-total-duration {
  font-family: monospace;
  color: #444;
}

/*--------------------------------------------------------------
Merged scripts
--------------------------------------------------------------*/



.merged .script-content span {
  display: inline;
}

.merged .script-meta::before {
  content: "Merged";
  color: white;
  margin-right: 0.5em;
  text-transform: uppercase;
  background-color: darkred;
  padding: 0 4px;
}

.merge-toggle {
  display: inline-block;
  transition: transform 0.25s ease;
  margin-right: 0.5em;
  cursor: pointer;
  font-weight: bold;
  color: darkred;
  font-size: 1.1em;
  user-select: none;
  transform: rotate(0deg);
  line-height: 1;
}

.merge-toggle.open {
  transform: rotate(180deg);
}

.child-item {
  position: relative;
  background: #f9f9f9;
  border-radius: 4px;
  margin: 1em 0;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  overflow: hidden; /* wichtig für abgerundete Ecken beim Balken */
  padding:0.5em 0 0 1.5em;
}

.child-text p {
  margin: 0 0 0.5em 0;
  padding: 0;
}

/* ersetzt den grauen border-left durch echten Farbbalken */
.child-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 8px;
  background: var(--child-gradient, #ccc);
  border-radius: 4px 0 0 4px;
}

/* optional etwas dezenter */
.child-meta {
  font-size: 0.9em;
  color: #444;
  margin-bottom: 0.3rem;
}
.child-text {
  line-height: 1.5;
}

.child-meta {
  font-size: 0.9em;
  color: #444;
  margin-bottom: 0.3rem;
}
.child-text {
  line-height: 1.5;
}

#toggle-all-merges {
  background-color: darkred;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 0.4rem 0.8rem;
  font-size: 14px;
  cursor: pointer;
  opacity: 0.9;
  transition: opacity 0.3s ease, transform 0.1s ease;
  box-shadow: none;
  text-shadow: none;
  margin-left: 0;
}
#toggle-all-merges:hover {
  opacity: 1;
}

.inactive-child {
  opacity: 0.4;
  /*filter: grayscale(0.3);*/
}

@media screen and (max-width: 480px) {
	.btn, #toggle-comments, #toggle-all-merges {
		font-size:10px;
	}
}


/*--------------------------------------------------------------
Golden Highlights
--------------------------------------------------------------*/

.jump-to-time {
	float: right;
}

.page-select #page_select {
	font-size:0.875em;
	margin-left: 1em;
}

.golden-pagination {
	float: right;
}

.total-duration {
	font-size:0.875em;
	color: #999; 
}

.script-wrapper {
  background: #fff;
  margin: 0.5em 0;
  padding: 0.5em 1em;
  border-radius: 8px 8px 8px 8px;
}

.script-wrapper.origin-insert {
	font-style: italic;
	font-family: Helvetica;
	font-size: 0.875em;
	color: #333;
	padding:1em 1em 1em 2em;
}

/*.page-template-page-storyboard .script-wrapper {
	background:white;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
}

.script-wrapper.origin-rene {
  border-left: 8px solid var(--color-rene);
  border-right: 8px solid var(--color-rene);
}

.script-wrapper.origin-thassos {
  border-left: 8px solid var(--color-thassos);
  border-right: 8px solid var(--color-thassos);
}


.script-wrapper.origin-insert {
  border-left: 8px solid #999;
  border-right: 8px solid #999;
}*/

/* Marker-Block auf der Golden-Seite */
.script-color-marker {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 3px;
  margin-bottom: 8px;
  background: var(--marker-gradient, var(--color-default-bg));
}

.script-color-marker.origin-insert {
  background: #999;
}

.script-color-marker.has-gradient {
  background: var(--marker-gradient, var(--color-default-bg));
}


.script-meta {
  font-size: 0.875em;
  color: #999;
}

.script-date {
  float: right;
}

/*--------------------------------------------------------------
Storyboard 
--------------------------------------------------------------*/

/*.scripts-wrapper p {
	margin-bottom: 0;
}

.save-button {
	display: inline-block;
	margin-left: 1em;
}

.save-button button {
	font-size:0.9em;
}

.storyboard-summary {  
  font-size: 0.8em;
}

#save-response {
	display: inline-block;
	margin-left: 1em;
}
*/

.storyboard-summary {  
  font-size: 0.8em;
}


/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
Scripts
--------------------------------------------------------------*/

.custom-range-pagination {
	display: block;
	margin-bottom: 1em;
}

.content-header {
  display: block;
  margin: 1em 0 0;
}

.page-template-page-highlights .content-header, .page-template-page-tags .content-header, .page-template-page-golden-highlights .content-header,  .page-template-page-storyboard .content-header {
	/* display: none; */
}

.search-results .content-header {
	display: none;
}

.scripts-wrapper, .scripts-wrapper-transfer, .tags-wrapper {
	background-color: #fff;
	padding:1em;
	margin-bottom: 1em;
	border-radius: 8px;
}

.scripts-topic {
	margin: 0.5em 0;
	color: #999;
	font-size:1.8rem;
}

.scripts-topic span {
	color: #669966;
	font-size:1.8rem;
}

.scripts-meta {
	display: block;
	margin-bottom: 0.5em;
	color: #666;
}

.scripts-video {
	background-color: #333;
	color: white;
	padding:1px 3px;
	margin-right: 0.5em;
}

.scripts-video-transfer {
	-webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
	background-color: #333;
	color: white;
	padding:1px 3px;
	margin-right: 0.5em;
	font-size:1.5rem;
	letter-spacing: 1px;
}

.scripts-archive_number {
	color:white;
	background-color: black;
	padding:0 0.25em;
	display: inline-block;
	margin-right: 0.5em;
}

.scripts-title {
	color: #333;
	font-size: 1em;
	font-weight: 600;
	margin-bottom: 0.5em;
  display: inline-block;
}

.scripts-title a {
  color: #333;
}

.scripts-day, .scripts-day, .scripts-question, .scripts-video, .scripts-timestamp, .scripts-location {
	font-size: 1.6rem;
	text-transform: uppercase;
}

.scripts-content {
	color: #000;
	font-family: 'Inconsolata', Courier, sans-serif ;
	margin-top: 1em;
}

del {
	color:#999;
}

.scripts-wrapper-transfer .scripts-content {
	color: #333;
	font-family: 'Inconsolata', Courier, sans-serif ;
	font-size:1.5rem;
}

.scripts-content.filter {
	color: #333;
	margin-bottom: 1em;
}



.scripts-content strong {
	color: #333;
	font-weight: 700;
}

.scripts-content blockquote {
  display: block;
  margin: 1em 0;
  font-style: italic;
}

/* Gemeinsamer Stil für Wrapper UND für bare Spans */
.script-block.highlight-block,
span[class^="highlight-"] {
  position: relative;
  padding-left: 48px;
  /*background-color: var(--color-default-bg);*/
  color: #000;
  margin: 0.5em 0;
  display: inline-block;
  border-radius: 4px;
}

.hl-text, .hl-timecode {
	display: block !important;
}

.script-block {
	display: block !important;
}

/* Gemeinsames ::before für Balken */
.script-block.highlight-block::before,
span[class^="highlight-"]::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 100%;
}
/* 🔵 René */
.script-block.highlight-block.highlight-rene:not(.highlight-thassos):not(.highlight-thassos-golden)::before,
span.highlight-rene:not(.highlight-thassos):not(.highlight-thassos-golden)::before {
  background-color: var(--color-rene);
}

/* 🔵 René golden */
.script-block.highlight-block.highlight-rene-golden:not(.highlight-thassos):not(.highlight-thassos-golden)::before,
span.highlight-rene-golden:not(.highlight-thassos):not(.highlight-thassos-golden)::before {
  background-color: var(--color-rene-golden);
}

/* 🟡 Thassos */
.script-block.highlight-block.highlight-thassos:not(.highlight-rene):not(.highlight-rene-golden)::before,
span.highlight-thassos:not(.highlight-rene):not(.highlight-rene-golden)::before {
  background-color: var(--color-thassos);
}

/* 🟠 Thassos golden */
.script-block.highlight-block.highlight-thassos-golden:not(.highlight-rene):not(.highlight-rene-golden)::before,
span.highlight-thassos-golden:not(.highlight-rene):not(.highlight-rene-golden)::before {
  background-color: var(--color-thassos-golden);
}

/* 🔵🟡 Mixed normal */
.script-block.highlight-block.highlight-rene.highlight-thassos::before,
span.highlight-rene.highlight-thassos::before {
  background: linear-gradient(to right,
    var(--color-rene) 0 50%,
    var(--color-thassos) 50% 100%
  );
}

/* 🔵🟠 Mixed: René + Thassos golden */
.script-block.highlight-block.highlight-rene.highlight-thassos-golden::before,
span.highlight-rene.highlight-thassos-golden::before {
  background: linear-gradient(to right,
    var(--color-rene) 0 50%,
    var(--color-thassos-golden) 50% 100%
  );
}

/* 🔵🟡 Mixed: René golden + Thassos normal */
.script-block.highlight-block.highlight-rene-golden.highlight-thassos::before,
span.highlight-rene-golden.highlight-thassos::before {
  background: linear-gradient(to right,
    var(--color-rene-golden) 0 50%,
    var(--color-thassos) 50% 100%
  );
}

/* 🔵🟠 Mixed: René golden + Thassos golden */
.script-block.highlight-block.highlight-rene-golden.highlight-thassos-golden::before,
span.highlight-rene-golden.highlight-thassos-golden::before {
  background: linear-gradient(to right,
    var(--color-rene-golden) 0 50%,
    var(--color-thassos-golden) 50% 100%
  );
}



/*--------------------------------------------------------------
Unsaved  overlay
--------------------------------------------------------------*/

#unsaved-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
}

#unsaved-dialog {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 300px;
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  transform: translate(-50%, -50%);
  z-index: 1001;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

#unsaved-dialog button {
  margin: 10px 5px 0;
  padding: 6px 12px;
  border: none;
  border-radius: 4px;
  background-color: #0073aa;
  color: white;
  cursor: pointer;
}

#unsaved-dialog button:hover {
  background-color: #005d8f;
}

/*--------------------------------------------------------------
Video
--------------------------------------------------------------*/

.video-summary {
	font-size:0.875em;
	margin: 1em 0;
	display: block;
	font-style: italic;
	color:#666;
	border:1px solid #ccc;
	padding:1em;
	background-color: #f0f0f0;
	border-radius: 4px;
}

.video-summary a {
	color:black;
}

.well {
	margin-top: 1em;
}

.scripts-taxonomies {
	margin: 0.25em 0;
}

.scripts-taxonomies ul {
    margin:0 0 0.5em;
    display: inline;
}

.scripts-taxonomies li {
    display: inline-block;
    margin-right:0.5em;
    padding-right:0.5em;
    border-right:1px solid #999;
    font-size:1.5rem;
}

.scripts-taxonomies li:last-child {
	border-right: 0;
}

.scripts-taxonomies .fa-tag {
	color: #666;
	margin-right: 0.5em;
	font-size:1.5rem;
	width: 15px;
}

.scripts-taxonomies a {
	color:#3366cc;
	text-decoration: underline;
}

.scripts-taxonomies a:hover {
	color: #333;
	text-decoration: none;
}

.scripts-filter-highlight {
	display: inline-block;
}

.scripts-filter-link {
	display: inline-block;
	margin:0 0.5em 1em 0;
}

.scripts-filter-link a {
	font-size:1.6rem;
	display: inline-block;
	color:#333;
	text-decoration: none;
	padding: 0 0.25em;
	margin: 0 0.25em;
}

@media screen and (max-width: 480px) {
	.scripts-filter-link a {
		font-size:1.4rem;
	}
}

.scripts-filter-link span {
    text-decoration: underline;
}

.scripts-day-search {
	float: none;
	display: inline-block;
}

@media screen and (min-width:37.5em) {
	.scripts-day-search {
		float: right;
		display: inline-block;
		margin-bottom: 0.5em;
	}
}

.scripts-comment {
	font-size:1.4rem;
	color: #990000;
}

.scripts-cutouts {
	color: #379728;
/*	border-bottom: 1px dotted #ccc;*/
	margin-bottom: 1em;
	padding-bottom: 1em;
}

.scripts-cutouts ul {
	margin: 0 0 0 1em;
	padding: 0;
}

.scripts-cutouts ul li {
	line-height: 1.5;
	list-style-type: square;
}

.scripts-cutouts ul ul {
	margin-left: 0.3em;
}

.scripts-cutouts ul li li {
	list-style-type: "-  ";
}

.scripts-cutouts .fa.fa-scissors, .scripts-storyline .fa.fa-book, .scripts-comment .fa.fa-comment {
    float: right;
    color: #777 !important;
    margin:3px 0.5em 0.5em 0;
}

.scripts-storyline p {
	padding-bottom: 1em;
	border-bottom: 1px dotted #ccc;
	margin-bottom: 1em;
}

.scripts-chosen {
	float: right;
	font-size:4rem;
	color: #99cc99;
	line-height: 1;
}

.search-highlight {
	background-color: orange;
	color: #fff;
	padding:0 2px;
}

/*--------------------------------------------------------------
Tags 
--------------------------------------------------------------*/

.script-tags {
	margin-bottom: 1.5em;
}

.script-tags a {
	font-size:0.875em;
}

/*--------------------------------------------------------------
Overview
--------------------------------------------------------------*/

.script-overview-meta {
	margin-bottom: 0;
	font-size: 0.875em;
}

.script-overview-summary {
	font-size:0.875em;
	cursor: pointer;
	margin-left: 0.5em;
}

.script-overview-summary a {
	color:black;
}

.script-overview-meta .scripts-timestamp {
	font-size: 0.875em;
}

.script-overview-meta .video_year {
	font-size:0.875em;
}

.script-overview-meta .video-summary {
  font-size: 1.125em;
}
/*--------------------------------------------------------------
Cluster taxonomies list
--------------------------------------------------------------*/

.cluster-taxonomies-list ul {
	margin:0 0 1em;
	padding:0;
	font-size: 1.5rem;
	line-height: 1;
}

.cluster-taxonomies-list li {
	display: inline;
	border-right: 1px solid #999;
	margin-right:0.4em;
	padding-right: 0.4em;
	line-height: 1.5;
}

.cluster-taxonomies-list li:last-child {
	border-right: none;
	padding-right: 0;
	margin-right: 0;
}

/*--------------------------------------------------------------
Topic
--------------------------------------------------------------*/

#topic-header {
	font-weight: 600;
}

.topic-list {
	font-size: 1.5rem;
}

.topic-list .row {
	padding:0.25em 0;
}

.topic-list .row:nth-child(odd) {
	background-color: #ddd;
}

@media screen and (min-width: 37.5em) {
	#topic-chosen {
	text-align: right;
	}
}

#topic-chosen .fa.fa-check {
	color: green;
}

#topic-chosen .fa.fa-close {
	color: #cc0000;
}

#topic-title {
	font-size:1.3rem;
	padding: 0.5em 0;
	line-height: 1;
	display: inline-block;
	width: 100%;
	text-align: center;
	background-color: #999;
}

#topic-title a {
	text-decoration: none;
	padding: 0 4px;
	color: #fff;
	text-transform: uppercase;
}

/*--------------------------------------------------------------
Search
--------------------------------------------------------------*/

/*span.video-search-result input {
	background-color: red;
	color:white;
}*/

/*--------------------------------------------------------------
Video Container
--------------------------------------------------------------*/

.scripts-video-link {
	display: inline-block;
}

.scripts-video-link a {
	text-decoration: none;
}

.scripts-video-link .fa-clock-o {
	margin-left: 0.5em;
}

.video-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 33vw; /* Breite der Box */
    height: auto; /* Höhe wird durch das Seitenverhältnis bestimmt */
    max-height: 40vh; /* Begrenzung der maximalen Höhe */
    aspect-ratio: 16 / 9; /* Seitenverhältnis für das Video */
    background: #000; /* Hintergrundfarbe der Box */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none; /* Standardmäßig versteckt */
}

.video-container iframe {
    width: 100%; /* Das Video füllt die gesamte Breite */
    height: 100%; /* Das Video füllt die gesamte Höhe */
    border: none; /* Keine Ränder um das Video */
    display: block; /* Block-Layout, um sicherzustellen, dass es keine unerwarteten Abstände gibt */
}

.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.7);
    border: none;
    padding: 5px;
    cursor: pointer;
    font-size: 16px;
    color: #333;
}

.video-start-time {
  display: inline-block;
  margin-left: 0.5em;
}

html {
  scroll-padding-top: 200px !important;
}

.scripts-wrapper {
  /*scroll-margin-top: 200px !important;*/
}
