/*@import url(https://fonts.googleapis.com/css?family=Roboto+Condensed:300);*/
/*@import url(https://fonts.googleapis.com/css?family=Roboto);*/
/*@import url(https://fonts.googleapis.com/css?family=Comfortaa);*/
/*@import url(https://fonts.googleapis.com/css?family=Roboto+Slab:300,700);*/


@import "_stats.css";
@import "_fonts.css";


/*************************************************
	Global
**************************************************/ 

html {
height: 100%;
} 

body {
margin: 0 auto;
padding: 0;
font-size: 100%;	
box-sizing: border-box;
display: flex;
flex: 1;
flex-direction: column;
min-height: 100%;
}

input {
margin: 0;
}
 
a:link, a:visited {
text-decoration: none;
color: #4f84c4;
-webkit-transition: 0.3s;
transition: 0.3s;
}

a:active {
text-decoration: none;	
}

a:link:hover {
text-decoration: none;
color: #333;
-webkit-transition: 0.3s;
transition: 0.3s;
} 

button {
-webkit-transition: 0.3s;
transition: 0.3s;
}

button:hover {
-webkit-transition: 0.3s;
transition: 0.3s;
} 




ul {
list-style-type: none;	
}	

b {
color: #777;
} 

.content {
margin: 0 auto;
padding: 0 2em;
/*width: 50em;*/
max-width: 65em;
display: -webkit-flex;
display: flex;
flex-flow: row wrap;
flex: 1;
align-self: flex-start;
/*border: 4px solid #333;*/
}

 
/*************************************************
	Header
**************************************************/   
 
#header {
background-color: #2e779a;
color: #fff;
padding: 25px 0;
}

#header .content {
justify-content: space-between;
align-content: center;
align-items: center;
height: 50px;
}

h1 {
font: normal 1.8em Comfortaa, Georgia, Times, serif;
margin: 0;
} 
 
.anzahl-header {
font: bold 1.2em "Roboto Slab", Georgia, Times, serif;
color: #ffff66;
margin: 0 20px 0 0;
display: -webkit-flex;
display: flex;
align-items: center;
}

#header span {
font-size: 2.0em;
color: #ffff66;
margin: 0 4px;
}

.anzahl-header * {
pointer-events: none;
}



/*************************************************
	obere Navigation
**************************************************/  
 
#nav-main {
background-color: #454140;
padding: 12px 0;
color: #fff;
box-shadow: 0 6px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.2);
z-index: 10;
}

#nav-main a {
font: normal .9em "Roboto Slab", arial, sans-serif;
color: #fff;
padding-right: 10px;
}	
 
#nav-main a:before {
content: "\0279c";
padding: 0 5px 0 0;
}	

#nav-main a:hover:before {
color: #ffff66;
}	
 
/*************************************************
	linke Sidebar
**************************************************/  

#menuicon {
display: none;
}

#sidebar {
background-color: #fff;
color: #aaa;
margin: 1em 0;
padding: 0;
/*border: 8px solid #333;*/
/* grow, shrink, Basisbreite */
-webkit-flex: 1 1 6%;
flex: 1 1 6%;
position: -webkit-sticky;
position: sticky;
top: 0;
align-self: flex-start;
}

#sidebar p {
padding-left: 2px;
}
 
ul#nav {
font: normal 1em Roboto, arial, sans-serif;	
margin: 0;
padding: 0;
}

ul#nav li {
padding: 0 0 8px 0;
}  

ul#nav li ul  {
list-style-type: none;	
padding-left: 15px;
} 

ul#nav li ul li {
padding-bottom: 5px;
} 

ul#nav li ul li:last-of-type {
padding-bottom: 0;
} 
 

ul#nav a:before {
content: "\0279c";
color: #ccc;
font-size: .9em;
padding: 0 5px 0 0;
} 

ul#nav li ul a:before {
content: "\000ac";
padding: 0 6px;
} 
 
ul#nav a:hover:before {
color: #777;
}

.scrollToTop {
display: none;
font-family: Roboto, arial, sans-serif;
margin-top: 2em;
border-top: 1px solid #ccc;
padding: 12px 0;
} 
 
#gamepad {
background: transparent url("../../img/du.png") no-repeat left top;
margin: 2em 0;
opacity: 0.65;
width: 148px;
height: 63px;
transform: scale(1);
transition: all 1s;
} 

#gamepad.small {
opacity: 0.25;	
transition: all 1s;
/*transform: scale(0.65);*/
/*transform: rotate(-90deg) scale(0.65);*/
/*transform: rotate(-90deg);*/
/*transform-origin: 0;*/
}
 
/*************************************************
	Inhaltsbereich
**************************************************/ 
 
#main {
background-color: #fff;	
font: normal .95em/150% "Roboto Slab", arial, sans-serif;		
color: #444;
margin: 0;
padding: 3em 2em 3em 2.5em;
/*
border-left: 2px solid #eee;
border-right: 1px solid #ddd;
*/
/*word-wrap: break-word;
overflow-wrap: break-word;*/
/* grow, shrink, Basisbreite */
-webkit-flex: 3 1 0;
flex: 3 1 0;
}

h2 {
margin-top: 0;	
padding-top: 0;
font: normal 1.8em Comfortaa, Georgia, Times, serif;	
}	

h3 {
font: normal 1.4em Comfortaa, Georgia, Times, serif;
margin: 20px 0;
padding: 15px 0 8px 0;
border-bottom: 2px solid #ddd;
}

h3:before {
content: "\000ac";
padding: 0 8px 0 0;
color: #c9c9c9;
}
 
dl dd:first-of-type {
display: none;	
margin: 10px 0 10px 0;
padding: 0 0 20px 0;
}

#main ul {
list-style-type: none;
margin-left: 0;
padding-left: 0;
}
 
#main li:before {
content: "\000bb";
padding: 0 8px 0 0;
} 


#main li ul li {
padding-left: 15px;
} 

#main li ul li:last-of-type {
padding-bottom: 0;
} 

.countdown {
width: 100%;
margin: 40px 0 20px 0;
}

.einsendeschluss {
text-align: center;
margin: 0 0 40px 0;
padding: 20px;
font: normal 1.8em/140% "Roboto Condensed", arial, sans-serif;  
/*background-color: #f8f8f8;*/
/*border: 1px solid #454140;*/
}


.pdf_container {
height: 355px;
border: 1px solid #999;
}

div.pdf_cover {
width: 180px;
display: inline-block;
opacity: 0.75;
border: 1px solid #999;
border-radius: 0 0 8px 8px;
margin: 20px 30px 0 0;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
text-align: center;	
-webkit-transition: 0.5s;
transition: 0.5s;
vertical-align: top;
}
/*
-webkit-filter: grayscale(100%);
filter: grayscale(100%);
*/

div.pdf_cover:hover {
opacity: 1;
border: 1px solid #666;
-webkit-transition: 0.5s;
transition: 0.5s;
cursor: pointer;


/*
-webkit-filter: grayscale(0);
filter: grayscale(0);
*/
/*
-webkit-transform: scale(1.1);
transform: scale(1.1);
*/
}

div.pdf_text {
display: none;
border-top: 1px solid #ccc;
padding-top: 0px;
}

/*
#sidebar2 {
background: #fff;
padding: 0;
flex: 0 0 1%;
-webkit-flex: 0 0 1%;
}
*/

/*************************************************
	-->	Formular
**************************************************/

label, select {
cursor: pointer;
}

.loeschen {
display: none;	
margin: 0;
padding: 8px 9px;
cursor: pointer;
color: #666;
border: 1px solid #ddd;
background-color: #f9f9f9;
text-align: left;
}

.loeschen:hover {
background-color: #eee;
color: #f00;
-webkit-transition: 0.3s;
transition: 0.3s;
}

.save_box {
margin: 5px 0 10px 0;	
padding: 0;
min-height: 40px;
width: 80%;
color: #aaa;
font-size: .85em;
/*
display: flex;
align-items: center;
justify-content: flex-start;
*/
}

.save_box p {
margin: 0;	
padding: 5px 10px;
line-height: 140%;
}


#name, #email {
width: 40%;
}

#name, #email, #art, #spiel, #plattform, #einleitung, #text, #bemerkungen, #search_text {
color: #666;
padding: 8px;
margin: 4px 0 0 0;
-webkit-transition: 0.5s;
transition: 0.5s;
outline: none;
border-radius: 4px;
}

#plattform {
margin-bottom: 15px;
}

#spiel {
width: 50%;
margin-bottom: 15px;
}

input, textarea, select {
font: normal 1.0em/150% "Roboto Slab", arial, sans-serif;		
}

#einleitung, #text, #bemerkungen {
margin-bottom: 15px;
padding: 10px;
width: 100%;
line-height: 140%;
resize: vertical;
}

#text {
height: 400px;
}

#einleitung {
height: 90px;
font-style: italic;
}	

#bemerkungen {
height: 40px;
}	

input[type="text"], input[type="email"], input[type="checkbox"], select, textarea {
background-color: #fff;
border: 2px solid #c9c9c9;
}

input[type="text"]:hover, input[type="email"]:hover, input[type="checkbox"]:hover, select:hover, textarea:hover {
background-color: #f9f9f9;
border: 2px solid #b4b4b4;
}

input[type="text"]:focus, input[type="email"]:focus, input[type="checkbox"]:focus, select:focus, textarea:focus {
background-color: #f9f9f9;
border: 2px solid #454140;
}

input#anhang {
padding: 20px 0;
}

#preview {
background: #f00 url("../../img/no_screen.png") no-repeat left top;
font-weight: bold;
color: #f00;
text-align: left;
margin: 0;
padding: 0;
width: 267px;
height: 150px;
border: 1px solid #c8c8c8;
}
 
#kb { 
margin: 5px 0;
height: 30px;
} 

.username_dateiname, .art_dateiname {
text-transform: lowercase;
}

/*************************************************
	Formular --> Bestätigungsseite
**************************************************/

.fehler {
margin: 60px 0 0 0;
width: 70%;
color: #f00;
font-size: 1.5em;
line-height: 1.2em;
}

.einsendung,
.einsendung_auswahl {
font-family: "Roboto Slab", arial, sans-serif;
line-height: 170%;
background-color: #f9f9f9;	
border: 1px solid #d4d4d4;
padding: 10px 15px 10px 20px;
color: #777;
}

.einsendung_auswahl {
display: -webkit-flex;
display: flex;
justify-content: space-between;
padding: 0 0 0 20px;
align-items: center;
}

.einsendung_info {
background-color: #e9e9e9;
flex: 0 0 auto;	
padding: 12px;
text-align: right;
border-left: 1px solid #d4d4d4;
}

.einsendung:hover {
cursor: copy;	
background-color: #f2f2f2;
border: 1px solid #454140;
}

.einsendung_auswahl:hover {
background-color: #f2f2f2;
border: 1px solid #454140;
}

/*************************************************
	Live-Suche
**************************************************/

input#search_text {
width: 60%;
}


/*************************************************
	Footer
**************************************************/

/*
https://mychcode.com/css/display-footer-always-bottom-page-css-solution/
*/

#footer {
font: normal .9em/150% "Roboto Slab", arial, sans-serif;		
background-color: #2e779a;
color: #fff;
padding: 12px 0;
border-top: 3px solid #454140;
flex: 0 0 100%;
margin: 30px 0 0 0;
  
/*
position: relative;
bottom: 0;
width: 100%;
*/
}

#footer a {
color: #ff0;
}

#footer .content {
display: flex;	
justify-content: space-between;
}	

 
/*************************************************
	Media Queries
**************************************************/ 
 
/* Bildschirme mit maximal x Breite */
@media screen and (max-width: 768px) {

#nav {
display: none;
}	


#menuicon {
display: -webkit-flex;
display: flex;
flex: 1 100%;
justify-content: space-between;
align-content: center;
align-items: center;
margin: -1em -1em 1em -2em;
padding: 5px 0;
cursor: pointer;
/*border: 1px solid #333;*/
border-bottom: 2px solid #454140;
background-color: #f2f2f2;
}

#menuicon span:first-of-type {
padding-left: 2em;
color: #454140;
font: normal 1.2em "Roboto Sans", arial, sans-serif;
}

#menuicon span:last-of-type {
/*background-color: #454140;*/
}


.line1, .line2, .line3 {
width: 35px;
height: 5px;	
border-radius: 9px;
margin: 6px 30px 6px 0;
transition: 0.4s;
background-color: #454140;
} 
 
.change .line1 {
-webkit-transform: rotate(-45deg) translate(-9px, 6px) ;
transform: rotate(-45deg) translate(-9px, 6px) ;
}

.change .line2 {
opacity: 0;
} 	

.change .line3 {
-webkit-transform: rotate(45deg) translate(-8px, -8px) ;
transform: rotate(45deg) translate(-8px, -8px) ;
}

.content {
padding: 0 1em;
}

#sidebar {
-webkit-flex: 1 100%;
flex: 1 100%;	
-webkit-order: 1;
order: 1;
position: static;
font-size: 90%;
}

#main {
padding: 0 1.5em 0 0;
border: 0;
-webkit-flex: 1 100%;
flex: 1 100%;	
-webkit-order: 2;
order: 2;
}

#main ul {
padding-left: 0px;
}

h1 {
font-size: 1.4em;
} 

.einsendeschluss {
font-size: 1.2em;  
}
 
 
#footer {
-webkit-order: 3;
order: 3;
}	
 
.scrollToTop {
display: none !important;
 } 
 
#gamepad {
display: none;
 }  
 
	
}


/* Bildschirme mit min x Breite */
@media screen and (min-width: 1250px) {

.content {
font-size: 1.1em;
}



}





