/* reset all paddings/margins */
* {
	padding: 0;
	margin: 0;
	border: 0;
}

html {
	font-family:Verdana, Helvetic, Arial, monospace;;
	color:#dddddd;
}

body{
	text-align:center;
	background-color:#222222;
	font-family:Verdana, Helvetic, Arial, monospace;;
	color:#dddddd;
}

#pagewidth{
	width:800px;
	text-align:left;
	margin:50px auto;
	/*background-color:#19171C;*/
	/*background-color:#333333;*/
	background-color:#0C0C0C;
	padding:10px;
	-moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
	/*box-shadow: 5px 5px 5px 1px #f00;*/
	/*-moz-box-shadow: 0 0 15px #f00;*/
}

#header{
	position:relative;
	text-align:center;
	height:150px;
	line-height:150px;
	width:100%;
	display:block;
	overflow:auto;
	font-family: 'Days One', sans-serif;
	font-size:16pt;
}
h1, h2, h3, h4, h5, h6 {
	font-family: 'Days One', sans-serif;
	color:#dddddd;
}

#leftcol h2 {
	font-size:11pt;
	padding-top:20px;
}

#leftcol{
	width:200px;
	float:left;
	position:relative;
	margin-top:10px;
}

#leftcol a:visited, #leftcol a {
	/*color:#CE0202;*/
	color:#D31D1D;
	text-decoration:none;
	display:block;
	padding:5px 0;
	font-family:'Days One', Verdana, sans-serif;
	font-size:11pt;
}

#leftcol ul {
	list-style-type:none;
}

#sponsors {
    text-align: center;
    margin-left: -10px;
}

#maincol{
	position: relative;
	width:600px;
	float:right;
	margin-bottom:20px;
}

#maincol h1 {
	font-family:'Days One', Verdana, sans-serif;
	font-size:14pt;
	padding-bottom:15px;
}

#maincol h2{
	font-family:'Days One', Verdana, sans-serif;
	font-size:12pt;
	padding-top:1em;
	padding-bottom:0.2em;
}

#maincol p {
	font-size:10pt;
}

#maincol .created {
	padding-top:5px;
	padding-bottom:15px;
	font-size:8pt;
	color:#9B9B9B;
}

#maincol a:visited, #maincol a {
	color:#9B9B9B;
	text-decoration:none;
}

#maincol a:hover {
	/*color:#CE0202;*/
	color:#D31D1D;
	text-decoration:none;
}

li.prev, li.next {
	list-style-type: none;
}

#footer{
	clear:both;
	display:block;
	overflow:auto;
	font-size:8pt;
	text-align:center;
	color:#9B9B9B;
}

#footer a:visited, #footer a {
	/*color:#CE0202;*/
	color:#D31D1D;
	text-decoration:none;
}

.clearfix:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

.clearfix{
	display: inline-block;
}

/* Hides from IE-mac \*/
* html .clearfix{height: 1%;}
.clearfix{display: block;}
/* End hide from IE-mac */

label {
	/*height:167%;*/
	display:block;
	float:left;
	width:140px;
	cursor:pointer;
	font-size:10pt;
}

label:has(.checkbox) {
    width: auto;
}

label.tip {
	height:167%;
	/*display:block;
	float:left;*/
	width:140px;
	cursor:pointer;
	font-size:10pt;
}

input, select {
	float:left;
	width: 160px;
	margin: 0 0 5px 0;
	font-size:10pt;
	height:18px;
    padding:2px;
}

input.checkbox {
    width:auto;
}

input.tip {
	/*float:left;*/
	width: 35px;
	margin: 0 0 5px 0;
	font-size:10pt;
	height:18px;
}

input.small{
	width:35px;
}

div.datetime select.small  {
	width:60px;
	float:none;
}

textarea {
	float:left;
	font-family:Verdana, Arial, monospace;
	width: 440px;
	margin: 0 0 5px 0;
	font-size:10pt;
}

.submit input, button {
	background-color:#ffffff;
    color:#000000;
    height:26px;
    font-weight:bold;
    cursor:pointer;
	padding: 3px;
	border: 1px solid red;

}


div.submit {
	padding-top:10px;
	clear:both;
}

div.input{
	padding-top:10px;
	clear:both;
}

div.error-message {
	/*background-color:#f00;*/
	font-size: 0.8em;
	font-weight:bold;
	color:#D31D1D;
	/*clear:both;*/
}

input.form-error, textarea.form-error, select.form-error {
	background-color:#f00;
	color:#fff;
}

legend {
	font-size: 10pt;
	margin-bottom: 5px;
}

p {
	margin-bottom: 1em;
}

table {
	font-size:10pt;
	border-collapse:collapse;
}

table td, table th {
	padding:0 2px;
	vertical-align:top;
}

td.number {
	text-align:right;
}

tr.even  {
	background-color:#333333;
}

table th {
	text-align:left;
}

.addthis_toolbox {
	float:right;
}

div.input img {
    background-color: white;
    border: 4px solid white;
    border-radius: 4px;
}

ul.maincol {
    padding-left:50px;
}

a.bubble
{
    border-radius: 15px;
    border: #000000;
    border-width: 1px;
    border-style: solid;
    background-color: #666666;
    padding:2px 5px;
    margin: 3px;
    display: inline-block;
}

.content
{
    background-color: #0C0C0C !important;
}

/* Bild bei News floaten */
.news img
{
    float: left;
    width: 150px;
    height: 150px;
    padding-right: 15px;
    padding-bottom: 15px;
    object-fit: contain;
}

/* unfloat des Rests nach bild */

p.created {
    clear: both;
}


/* Photo Gallery */
/* First the Grid */
  .gallery-grid {
      display: -ms-grid;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      grid-gap: 1.5rem;
      justify-items: center;
      margin: 0;
      padding: 0;
  }

/* The Picture Frame */
.gallery-frame {
    padding: .5rem;
    font-size: 1.2rem;
    text-align: center;
    color: #d9d9d9;
}

/* The Images */
.gallery-img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    transition: opacity 0.25s ease-in-out;
}

.gallery-img:hover {
    opacity: .7;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8); /* semi-transparent background */
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
}
