@font-face {
        font-family: 'Amazone';
        src: url('/static/fonts/AmazoneBT.ttf') format('truetype');
        font-weight: normal;
        font-style: normal;
}

@font-face {
	font-family: 'Gentium Basic';
	src: url('/static/fonts/GenBasR.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'Gentium Basic';
	src: url('/static/fonts/GenBasI.ttf') format('truetype');
	font-weight: normal;
	font-style: italic;
}

@font-face {
	font-family: 'Gentium Basic';
	src: url('/static/fonts/GenBasB.ttf') format('truetype');
	font-weight: bold;
	font-style: normal;
}

@font-face {
	font-family: 'Gentium Basic';
	src: url('/static/fonts/GenBasBI.ttf') format('truetype');
	font-weight: bold;
	font-style: italic;
}

html {
	margin: 0;
	padding: 0;
	background-color: #0D036F;
	height: 100%;
}
body {
	position: relative;
	background: url(/static/images/background.png) center bottom no-repeat #fbfbfb;
	font-family: 'Gentium Basic';
	font-size: 105%;
	margin-top: 0;
	margin-bottom: 0;
	margin-left: auto;
	margin-right: auto;
	padding: 0;
	max-width: 1024px;
	min-width: 600px;
	min-height: 100%;
}

table {
	color: #0c026f;
}

div.header {
	margin-left: 201px;
	height: 290px;
}

div.logo {
	position: absolute;
	left: 20px;
}

div.padding-top {
	height: 20px;
}

div.logo-name {
	color: #0D036F;
	font-family: 'Amazone';
	font-size: 48px;
	text-align: center;
	margin-right: 20px;
	margin-top: 20px;
}

div.footer {
	font-family: 'Amazone';
	font-size: 20px;
	color: #f5c924;
	text-align: center;
	position: absolute;
	bottom: 30px;
	width: 100%;
}

div.menu-bar {
	position: relative;
	height: 6px;
	margin-left: 66px;
	background: url(/static/images/bar.png) repeat-x;
}
div.menu-bar img {
	position: absolute;
	left:  -66px;
}

div.menu {
	font-family: 'Amazone';
	font-size: 24px;
	color: #0c026f;
	text-align: right;
	background: -webkit-linear-gradient(left, rgba(255,255,255,0), rgba(244,236,131,1), rgba(248,183,48,1));
	background: -moz-linear-gradient(left, rgba(255,255,255,0), rgba(244,236,131,1), rgba(248,183,48,1));
	background: linear-gradient(left, rgba(255,255,255,0), rgba(244,236,131,1), rgba(248,183,48,1));
}

div.menu a {
	color: #0c026f;
	text-decoration: none;
}

div.menu span.item {
	margin-left: 20px;
	margin-right: 20px;
}

div.header div.user {
	font-size: small;
	text-align: right;
	margin-top: 10px;
	margin-right: 20px;
	color: #0c026f;
}

div.content {
	margin-right: 20px;
	margin-left: 20px;
	padding-bottom: 360px;
	color: #0c026f;
}

h1.subtitle {
	text-align: center;
}

@media all and (max-width: 949px) {
div.menu-bar.second {
	margin-top: 5px;
}
div.menu-bar.first {
	margin-top: 20px;
}
.wide-only {
	display: none;
}
}

@media all and (min-width: 950px) {
div.menu-bar.first {
	margin-top: 40px;
}
.narrow-only {
	display: none;
}
}


.anordnen-links {
  float: left;
  margin-right: 30px;
}

.clear-left {
  clear:left;
}

/* gaestebuch */

div.guestbook.form td.right {
	padding-left: 20px;
}

div.guestbook.form td.error {
	font-weight: bold;
}

div.guestbook.form span.code {
	font-weight: bold;
}

/* auftritte */

table.public_event span.title {
	font-weight: bold;
}

/* karten */

table.ticket_order {
    border: none;
    margin-top: 30px;
    margin-left: 270px;
}

table.ticket_order tr {
    vertical-align: top;
}

table.ticket_order td.label {
    text-align: right;
    padding-right: 20px;
}

table.ticket_order input.text {
    min-width: 300px
}

table.ticket_order td.buttons {
    padding-right: 20px;
    padding-top: 10px;
    text-align: right;
}


/* mitglieder_adressliste */

div.section {
	margin-top: 20px;
}
div.section-name {
	font-weight: bold;
	font-size: larger;
}

div.mitglieder {
	margin-left: 20px;
}

div.mitglied {
	margin-top: 20px;
}

div.mitglied .surname {
	font-weight: bold;
}

div.mitglied div.details div {
	display: inline-block;
	margin-left: 10px;
	margin-right: 20px;
	vertical-align: top;
	min-width: 175px;
}
/* mitglieder_aftritte, mitglieder_teilnehmer */

table.event {
	width: 550px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 30px;
	border: 1px solid #000000;
	padding: 0;
	border-collapse: collapse;
}
table.event.public {
    width: 80%;
    max-width: 750px;
}

table.event td {
	padding: 0;
}

table.event tr.fullwidth {
	border-top: 1px solid #000000;
}

table.event tr.fullwidth td {
	padding: 5px;
}

table.event td.column table {
	border-collapse: collapse;
	border: 0;
	width: 100%;
}

table.event td.value {
	text-align: right;
}

table.event tr.subrow {
	vertical-align: top;
	padding-top: 5px;
	padding-bottom: 5px;
}

table.event tr.subrow:not(:first-child) {
	border-top: 1px solid #000000;
}

table.event tr.subrow.important {
	font-weight: bold;
}

table.event tr.subrow td {
	padding: 5px;
}

table.event tr.disabled {
    color: rgba(12, 2, 111, 0.5);
}

table.event tr.columns {
	vertical-align: top;
}

table.event td.column.picture {
    width: 200px;
}

table.event td.column.double {
    width: 475px;
}

table.event td.column {
	width: 275px;
	border: 1px solid #000000;
}

table.event tr.title {
	background-color: #f6e893;
	text-align: center;
	padding-top: 5px;
	padding-bottom: 5px;
}

table.event img {
    width: 100%;
}

table.event span.title {
	font-size: x-large;
	font-weight: bold;
}

table.event span.type {
	/*font-size: large;*/
	font-weight: bold;
}

/* admin_proben */

div.proben {
	margin-left: auto;
	margin-right: auto;
	width: 160px;
}

div.proben div {
	display: inline-block;
	text-align: center;
	width: 150px;
}
div.proben div.title {
	font-weight: bold;
	padding-bottom: 5px;
}
div.proben div.no {
	color: red;
}
div.proben span.date {
	display: inline-block;
	width: 3em;
	text-align: right;
}
div.proben div.buttons {
	width: 300px;
	text-align: right;
	padding-top: 20px;
	padding-right: 30px;
}

/* mitglieder auftritte */

h2.auftritte {
	text-align: center;
}

div.auftritte {
	padding: 10px;
	border: 1px solid #aaaaaa;
}

div.auftritt {
	padding-left: 2em;
	padding-top: 5px;
	padding-bottom: 2.5px;
}

hr.auftritt-separator {
	color: #aaaaaa;
}

/* mitglieder_kalender */

div.day {
	padding-top: 5px;
	padding-bottom: 2.5px;
	border-top: 1px solid #000000;
}

div.day.today {
	background-color:rgb(239, 219, 56);
}

div.day.weekend {
	background-color: rgba(0,0,0,.075);
}

div.day.today.weekend {
	background-color: rgb(221, 203, 52);
}

div.day.vacation {
	background-color: rgba(0, 0, 0, .04)
}

div.day.today.vacation {
	background-color: rgb(229, 210, 54);
}

div.day div.day_number {
	display: inline-block;
	width: 8em;
	text-align: center;
}

div.day div.events {
	display: inline-block;
}

div.calendar_event.birthday {
    opacity: .66;
}
div.calendar_event span.title {
	font-weight: bold;
}

div.day_number span.number {
	font-size: x-large;
}

div.day_number span.weekday {
	font-size: small;
}

/* mitglieder_teilnehmer */

div.participants {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}
table.participants {
	display: inline-block;
	margin-left: 20px;
	margin-right: 20px;
	margin-top: 20px;
	border-collapse: collapse;
	vertical-align: top;
}

table.participants td {
	padding-left: 20px;
	padding-right: 20px;
}

table.participants tr:nth-child(2n+3) {
	background-color: #faf8d9;
}

table.participants tr.voice {
	background-color: #EFDB38;
}

table.participants tr.participating {
	font-weight: bold;
}
table.participants tr.disabled {
    color: #0c026f;
    color: rgba(12, 2, 111, 0.5)
}

table.participants td.voice {
	font-size: large;
	font-weight: bold;
	text-align: left;
}


table.participants td.name {
	padding-right: 10px;
	min-width: 260px;
}
table.participants td.count {
	text-align: center;
}

table.participants td.participation {
	text-align: center;
	min-width: 30px;
}

div.participants div.footnote {
    margin-top: 30px;
/*    text-align: left;
    margin-left: 50px; */
}

div.footnote {
    text-align: center;
}

div.participants div.admin {
	text-align: right;
	font-size: small;
	margin-top: 30px;
	margin-right: 50px;
}


form.two-columns {
	display: grid;
	grid-template-columns: 15em auto;
	grid-gap: .5ex .5em;
	margin-right: 5em;
}

.form-label {
	grid-column: 1;
	text-align: right;
}
.form-label:after {
	content: ":";
}

.form-input {
	grid-column: 2;
}

.form-submit {
	margin-top: 2ex;
	grid-column: 2;
}

.form-input.error {
	color: red;
	text-weight: bold;
}


table.awards th {
	text-align: left;
	padding-left: 1em;
	padding-right: 1em;
}

table.awards td {
	text-align: left;
	padding-left: 1em;
	padding-right: 1em;
	padding-top: .5ex;
	padding-bottom: .5ex;
}

table.awards tr:nth-child(even) {
	background: #eee
}

table.event_participation {
    margin-left: auto;
    margin-right: auto;
    border-spacing: 0;
    border-colapse: colapse;;
}

table.event_participation tr:nth-child(even) {
    background-color: rgba(216, 192, 252, 0.2);
}

table.event_participation td {
    padding-left: 1em;
    padding-right: 1em;
    pdding-top: .5ex;
    padding-bottom: .5ex;
    margin: 0pt;
}

div.user {
    
}

div.directory.path {
    text-align: center;
}

.directory.search {
    margin-left: 3.5em;
}

div.directory.path span:not(:first-child)::before {
    content: " » ";
}

div.directory.files .highlight {
    font-weight: bold;
}

div.directory.files ul {
    list-style-type: none;
}
div.directory.files li {
    margin-top: .5em;
}

div.directory.files img {
    height: .8em;
    padding-right: .5em;
    vertical-align: middle;
}

img.blurb-float {
    width: 300px;
    float: left;
    margin-right: .5em;
}
img.blurb-float.wide {
    width: 400px;
}

img.blurb-header {
    display: block;
    width: 100%;
}

table.markdown-example {
    border-spacing: 0;
    border-collapse: collapse;
    width: 80%;
}
 
table.markdown-example td {
    border: 1px solid #000000;
    vertical-align: bottom;
    padding: 1ex;
}

table.markdown-example tr:first-child {
    background-color: #f6e893;
}

table.markdown-example td:first-child {
    width: 30%;
}

div.galerie {
}

div.galerie div {
    display: inline-block;
    width: 300px;
    height: 350px;
    text-align: center;
    margin: 5px;
}

div.galerie img {
    display: block;
/*    max-width: 300px;
    max-height: 300px;
    width: auto;
    height: auto;*/
    object-fit: contain;
    height: 300px;
    width: 300px;
}

div.galerie span {
    display: block;
    height: 50px;
    padding-top: 10px;
}
