@font-face {
        font-family: 'Bernardo';
        src: url('/static/fonts/Bernardo-Moda-Contrast.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: #ffffff;
	height: 100%;
}
body {
	position: relative;
	background: #ffffff;
	font-family: "Helvetica", sans-serif;
	font-size: 105%;
	margin-top: 0;
	margin-bottom: 0;
	margin-left: auto;
	margin-right: auto;
	padding: 0;
	#max-width: 2048px;
	min-width: 500px;
	min-height: 100%;
}

table {
	color: #49006D;
}

header {
	#height: 290px;
}

div.logo {
	text-align: left;
	margin-top: 10px;
	height: 100px;
	background: url('/static/images/lines.svg') center center no-repeat; 
	background-size: 100% 100%;
	margin-bottom: -22px;
}
div.logo img {
	margin-left: 10px;
    height: 100%;
}

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

/* remove border while clicking in Firefox */
a:hover, a:active, a:focus, a:link, a:visited {
  outline: 0;
  outline: 0 !important;
  outline-style: none;
}

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

div.color-bar {
    width: 100%;
    height: 7pt;
    background: linear-gradient(to right, #D8C0FC, #660099);
}
div.color-bar.thin {
    height: 2px;
}
div.header-picture {
    width: 100%;
    margin: 0px;
    border: 0px;    
}
div.header-picture img {
    width: 100%;
    aspect-ratio: 5 / 2
}

footer {
	font-family: 'Bernardo';
	font-size: 20px;
	color: white;
	text-align: right;
	position: absolute;
	bottom: 0px;
	width: 100%;
	background: linear-gradient(to right, #D8C0FC, #660099);
	padding-bottom: 2em;
	padding-top: 1.5em;
}
div.footer-content{
    vertical-align: center;
	padding-right: 10px;
}
div.footer-content a {
    color: white;
}

div.menu-bar {
	position: relative;
	height: 6px;
	margin-left: 66px;
}
div.menu-bar img {
	position: absolute;
	left:  -66px;
}

nav.menu {
	font-family: 'Bernardo';
	font-size: 20px;
	margin-bottom: 5px;
	margin-top: 2px;
	color: #49006D;
	text-align: right;
}

nav.menu a {
	color: #49006D;
	text-decoration: none;
}

nav.menu span.item {
	margin-left: 10px;
	margin-right: 10px;
}

header div.user {
	font-size: small;
	text-align: right;
	margin-top: 10px;
	margin-right: 10px;
	margin-bottom: 10px;
	color: #49006D;
}

main {
	padding-right: 20px;
	padding-left: 20px;
	padding-bottom: 180px;
	margin-left: auto;
	margin-right: auto;
	max-width: 1200px;
	color: #49006D;
}

a {
    color: #49006D;
}

h1, h2, h3 {
        font-family: 'Bernardo';
}
h1.subtitle {
	text-align: center;
}

div.bubbles {
    display: grid;
    width: 100%;
    gap: 15px;
}

.bubble-entry:first-child:last-child {
    grid-column-start: 1;
    grid-column-end: 3;
    text-align: left;
}

.bubble-entry:nth-child(odd) {
    grid-column: 1;
    text-align: right;
}
.bubble-entry:nth-child(even) {
    text-align: left;
}

@media all and (max-width: 749px) {
.bubble-entry:nth-child(even) {
    grid-column: 1;
}
div.bubbles {
    grid-template-columns: 1fr;
}
}
@media all and (min-width: 750px) {
.bubble-entry:nth-child(even) {
    grid-column: 2;
}
div.bubbles {
    grid-template-columns: 1fr 1fr;
}
}


.bubble-entry {
    text-decoration: none;
}

.bubble-entry:first-child:last-child img {
    float: left;
}

.bubble-entry:nth-child(odd) img {
    float: right;
}
.bubble-entry:nth-child(odd) p {
    margin-right: 110px;
}
.bubble-entry:nth-child(even) img {
    float: left;
}
.bubble-entry:nth-child(even) p {
    margin-left: 110px;
}
.bubble-entry img {
    height: 200px;
    width: 200px;
    clip-path: circle(90px at center);
    transition: clip-path .5s;
    margin: 10px;
    shape-outside: ellipse(115px 115px);
}
a.bubble-entry:hover img {
    clip-path: circle(100px at center);
}
span.more:before {
    content: 'Mehr lesen…';
}
span.more {
    display: block;
    text-decoration: underline;
}

.bubble-entry h2 {
    margin-top: 20px;
    margin-bottom: 15px;
}
.bubble-entry p {
    margin-top: 15px;
    margin-bottom: 15px;
}

.public-event .date {
    margin-bottom: 0px;
}
.public-event p.time {
    margin-top: 0px;
}
.public-event p.tickets {
    text-decoration: underline;
}

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

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


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

.clear-left {
  clear:left;
}

h2 {
	margin-top: 4ex;
}

h4 {
	margin-bottom: 0;
}

/* 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;
    font-family: 'Bernardo';
}

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: 225px;
}
/* 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: #D8C0FC;
    font-family: 'Bernardo';
	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: 310px;
}

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:#c786ff;
}

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

div.day.today.weekend {
    background-color: #b87cec;
}

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

div.day.today.vacation {
    background-color: #bf81f5;
}

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: rgba(216, 192, 252, 0.2);
}

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

table.participants tr.participating {
	font-weight: bold;
}
table.participants tr.disabled {
    color: #49006D;
    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: 190px;
}
table.participants td.count {
	text-align: center;
}

table.participants td.participation {
	text-align: center;
	min-width: 70px;
}
table.participants td.brings {
    min-width: 150px;
    overflow: scroll;
}
table.participants td.brings input {
    width: 120px;
}

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
}

a.plain {
	text-decoration: none;
}

table.mitsingen td {
    vertical-align: top;
    padding-top: .5em;
    padding-bottom: .5em;
}

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;
}

img.meme {
    margin-top: 1ex;
    margin-bottom: 1ex;
    width: 600px;
}
div.meme {
    width: 100%;
    text-align: center;
}

button.brings.unsaved {
    color: green;
}

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;
}

ul.lieder {
    list-style-type: none;
}
