*,*:before, *:after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}
html {
	font-size: 100%;
	line-height: 1.5;
	font-family: "Nunito", Arial, sans-serif;
	font-weight: normal;
	-webkit-font-smoothing: antialiased;
}
body {
	background-color: #f3f0f2;
	background-image:url(../img/background.png);
}
a, .likeA {
	cursor: pointer;
	text-decoration: none;
	color: var(--main-color);
	opacity: 1;	
}
a:hover {
	opacity: 0.8;
	text-decoration: underline;
}
a img {
	border:none;
}
img {
  width: 100%;
  height: auto;
}
h1, h2, h3 {	
	color: var(--main-color);
	font-weight: 400;
}
h1, .likeh1 {
	font-size: 2em;
	font-weight: 600;
}
h2 {
	font-size: 1.2em;
}
h3 {
	font-size: 1.2em;
}
p {
	padding: 0.2em 0;	
}
.strong {
	font-weight: 800;
}
.font-small {
	font-size: 0.8em;
}
.content {
    flex: 1;
	background-color: white;
	text-align: left;
	margin-top: 2em;
	padding: 1em;
}
.contacts div {
	padding: 10px 0;
}
.admin div {
	margin-top: 25px;
}
.wrapper, footer {
    margin: auto;
    max-width: 75rem;
}
.col-25 {
  float: left;
  width: 25%;
  margin-top: 6px;
}
.col-31 {
	float: left;
	width: 31%;
	margin-top: 6px;
  }
.col-75 {
  float: left;
  width: 75%;
  margin-top: 6px;
}
.col-45 {
  width: 45%;
  float: left;
  margin-top: 6px;
}
.col-50 {
  width: 50%;
  float: left;
  margin-top: 6px;
}
.row:after {
  content: "";
  display: table;
  clear: both;
}
#error, #success {
	padding: 8px;
	margin: 15px 0;
}
#error {
	background: #ffa2b6;
}
#success {
	background: #b2ffae;
}
/*
*	GAMESLIST
*/
.games {
	display: table-row-group;
}

.intro {
	padding: 5px 0 15px 0;
	min-height: 45px;
	display: block;
}
.filterText {
	cursor: pointer;
	background-color: #ccc;
	padding: 3px;
}
.loadMore {
	cursor: pointer;
}
.info {
	padding-top: 15px;	
}
#scrollTopButton {
	display: none;
	position: fixed; 
	bottom: 20px; 
	right: 30px; 
	z-index: 99; 
	border: none;
	outline: none; 
 	background-color: var(--main-color); 
	cursor: pointer; 
	width: 80px;
	height: 80px;
	text-align: center;
	border-radius: 80px;
}

#scrollTopButton:hover {
	background-color: var(--main-color-dark); 
}
i.arrow.up {
	border: solid #fff;
	border-width: 0 7px 7px 0;
	margin-top: 15px;
	display: inline-block;
	padding: 15px;
	transform: rotate(-135deg);
	-webkit-transform: rotate(-135deg);
  }
  

.loader {
	margin-top: 50px;
	margin-left: 50%;
	display: inline-block;
}
.loader.show  {
	border: 10px solid #f3f3f3; 
	border-top: 10px solid var(--main-color); 
	border-radius: 50%;
	width: 60px;
	height: 60px;
	animation: spin 2s linear infinite;
  }
  
  @keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
  }

div.table { 
  display: table; 
  border-collapse:collapse; 
  width: 100%;
}

div.table div.row { 
  display: table-row; 
}

div.table .games div.row:nth-child(even) {
  background-color: #e6e4e5;
}
.detail div.row { 
  display: block;
}

.detail img {
	padding-right: 5px;
}

.detail h1 {
	position: relative;
	display: inline-block;
 }
.ribbon {
	width: 80px;
	font-size: 14px;
	padding: 4px;
	position: absolute;
	top: -14px;
	text-align: center;
	border-radius: 5px;
	transform: rotate(20deg);
	background-color: #d2232a; 
	color: white;
	text-transform: uppercase;
  }


div.row.head { 
  background-color: #c8c6c7;
  color: var(--main-color);
  position: sticky;
  position: -webkit-sticky;
  z-index: 0;
  top: 0;
  line-height: 2em;
  font-size: 1.1em;
}
div.row.head.menuIsExpanded { 
	z-index: -1;
}
div.row.head span.sort { 
	color: var(--main-color-dark);
	cursor: pointer;
}
div.row.head a { 
  color: var(--main-color-dark);
}

span.cell { 
  display:table-cell; 
  border-left: 2px solid #fff; 
  padding: 2px; 
  text-align: center;
  min-width: 60px;
}
span.cell.big { 
  width: 20%;
}
.table img {
	max-width: 20px;
}
.smallpoeppel {
	max-width: 60px;
	float: left;
	padding-right: 20px;
	padding-bottom: 20px;
	padding-top: 5px;
}
#tabnavi {
	text-align: right;
}
#tabnavi span {
	margin-left: 10px;
}
/*
*	LANDINGPAGE
*/
.boxes {
	border: 1px solid var(--main-color);
	margin-right: 10px;
}
.boxes h2 {
	background: var(--main-color);
	color: #fff;
	text-align: center;
	font-size: 1.2em;
	padding: 10px 0;
}
.boxes div, .boxes span {
	padding: 5px;
}
#boxZero div {
	text-align: center;
	margin-right: 16px;
	height: 250px;
	line-height: 250px;
}
#boxZero div.ludothek {
	background-image: url('../img/ludothek_back.jpg');	
}
#boxZero div.rental {
	background-image: url('../img/rental_back.jpg');	
}
#boxZero div.cases {
	background-image: url('../img/cases_back.jpg');	
}
#boxZero span {
	display: inline-block;
	line-height: 24px; 
	color: #fff;
	background-color: rgba(0,0,0, .6); 
	min-width: 288px;
}
#boxZero h2 {
	line-height: 24px; 
}
#boxOne div {
	font-size: 0.8em;
	line-height: 1.2;
}
#boxTwo {
	font-size: 3em;
	background-color: var(--main-color);
	color: #fff;
	text-align: center;
	border: 0.1px solid var(--main-color);
}
#boxTwo .counter {
	display: inline;
	font-weight: 800;
}
.content ul {
	margin-top: 10px;
}
	
.content ul li {
	list-style-type: none;
}
ul.search li {
	margin: 0 0px 10px 0;
}

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

.searchresult form {
    padding-top: 8px;
}
.searchresult label {
    padding: 0px 12px 8px 0;
}
.searchresult input[type="submit"] {
    margin-top: 5px;
}
span.info {
	font-size: 0.9em;
	display: block;
}
/*
*	FORMULARE
*/
input[type=text], input[type=password], input[type=url], select, textarea{
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  resize: vertical;
  margin-bottom: 2px;
  -webkit-appearance: none;
}
input.searchInput {
	background-image: url('../img/searchicon.png');
	background-position: 10px 12px; 
	background-repeat: no-repeat;	
	font-size: 16px; 
	padding: 12px 20px 12px 40px !important; 	
	margin-bottom: 12px; 
}
input.searchInput:focus {
	outline-width: 0;
	outline: none;
}
input[type=submit] {
	-webkit-appearance: none;
  }
input[type="checkbox"] {
    margin-right: 10px;
}
label.radio {
    cursor: pointer;
}
input[type="file"] {
    margin-bottom: 10px;
}
label {
  padding: 0px 12px 12px 0;
  display: inline-block;
}
label.smallLabel {
	font-size: 90%;
	padding: 2px 12px 5px 0;
}
input[type=submit] {
  background-color: var(--main-color);
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  float: right;
  margin-top: 10px;
}
div.imagePreview img {
	width: 100px;
}
/* 
*	FOOTER 
*/
footer {
	height: 30px;
	margin-top: 10px;	
}
#footertext {
	display: inline-block;
	margin: 6px 15px 0 0;
	font-size: 0.7em;
}
#footertext form {
	display: inline-block;
}
#footertext a {
  color: var(--main-color);
  font-size: 1em;
  margin: 0 0 0 10px;
}
#footertext input[type=submit] {
  color: var(--main-color);
  background: none;
  padding: 0;
  border: none;
  border-radius: 0px;
  cursor: pointer;
  float: none;
  margin: 0px 0 0 10px;
  font-size: 1em;
}
/* 
* Header 
*/
header {
	position: relative;
	width: 100%;
	background: var(--main-color);
	height: 50px;
	line-height: 50px;
	box-shadow: 0 -3px 0 var(--main-color-dark) inset;
	z-index: 1;
}
.wrap {
	max-width: 75rem; /* Changge this with your max-width size */
	margin: 0 auto;
}
.logo {
	font-family: inherit;
	font-size: 1.5em;
	margin-left: 0.2em;
}
a.logo {
	color: #fff;
	text-decoration: none;
	opacity: 1;
	transition: all 0.2s ease;
	height: 50px;
	display: block;
}
.logo img {
	margin-top: 2px;
	height: 100%;
	width: auto;	
}
.logo picture {
	display: inline-block;
	height: 85%;
	width: auto;	
}
.logo a:hover {
	opacity: 0.85;
}
/* Mobile menu */
#menu-icon {
	display: block;
	position: absolute;
	top: 0;
	right: 1em;
	color: #fff;
	text-decoration: none;
	font-weight: bold;
	cursor: pointer;
	opacity: 1;
	padding: 0 0.4em;
}
/* Mobile menu */
#menu-icon:hover {
	opacity: 0.85;
	text-decoration: none;
	border: none;
}
#navbar {
	background-color: var(--main-color);
	float: none;
	max-height: 0;
	overflow: hidden;
	transition: max-height .4s;
}
#navbar .form-inline {
	background-color: var(--main-color-light);
	padding-left: 16px;
	box-shadow: 0 -3px 0 var(--main-color-dark) inset;
}	
header #navbar .form-inline button, header #navbar .form-inline input {
    background: transparent;
    border: none;
    color: #fff;
}
header #navbar .form-inline input:focus {
    outline: none;
}
form .form-control {
    font-size: 1em;
    line-height: 1.5em;
}
header #navbar .form-inline.active input {
    width: -webkit-calc(100% - 25px);
    width:    -moz-calc(100% - 25px);
    width:         calc(100% - 25px);
    color: #999;
	outline: none;
}
header #navbar .form-inline.active {
    background: #fff;
   /* box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.25);*/
}
header #navbar .form-inline button span {
    position: relative;
    top: 3px;
	right: 4px;
    display: inline-block;
}
header #navbar .form-inline.active button span {
    top: 3px;
	right: 1px;
}
header #navbar .form-inline button span.search-icon {
	background-image: url('../img/search_white.png');
	background-repeat: no-repeat;
	width: 20px;	
	height: 20px;
}
}
header #navbar .form-inline input.form-control {
	background-image: url('../img/search_white.png');
	background-repeat: no-repeat;
	width: 20px;	
	height: 20px;
}
header #navbar .form-inline .removeValue {
    font-size: 1.2rem;
    padding: 0;
    cursor: hand;
    cursor: pointer;
    display: none;
}
header #navbar .form-inline.active .removeValue {
    display: none;
}
header #navbar .form-inline.active button span.close-icon {
	color: var(--main-color-light);
	font-weight: 500;
}
header #navbar .form-inline.active button span.search-icon {
	background-image: url('../img/search_pink.png');
}
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
  -webkit-appearance:none;
}
#navbar #menu {
	margin: 0;
	padding: 0;
	list-style-type: none;
}
#navbar #menu  li {
	list-style-type: none;
	display: block;
}
#navbar #menu  li 	a {
	display: block;
	text-decoration: none;
	color: #fff;
	padding: 0 0.8em;
	border-bottom: 1px solid var(--main-color-dark);
	transition: all 0.2s ease;
}
#navbar #menu  li a:hover, #navbar #menu li a.active {
	background-color: var(--main-color-light);
}
#navbar.expand {
	max-height: 20em;
}

@media only screen and (max-width: 1024px) {
	#boxOne a {
			font-size: 0.7em;
	}
}
/* landscape */
@media screen (min-width: 577px) and (max-width: 768px) { 
	.logo picture {
		height: 70%;
	}
}
@media (orientation: landscape) and (min-width: 577px) and (max-width: 768px) {
	.logo picture {
		height: 70%;
		padding-top: 5px;
	}
}
/* Responsive layout - when the screen is less than 600px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 576px) {
  .col-31, .col-25, .col-75, .col-50, .col-45 {
    width: 100%;
    margin-top: 0;
  }
  input[type=submit] {
    width: 100%;
	margin-top: 20px;
  }
  .boxes .col-25 {
    width: 50%;
    margin-top: 0;
  }
  .boxes {
    margin-bottom: 10px;
  }
  #boxZero {
	margin-top: 15px;
  }
  #boxZero div {
	margin-right: 0;
  }  
  span.cell.mobile {
	  display: none;
  }
  span.cell.big { 
	  width: 33%;
	}
  span.cell { 
	  min-width: 30px;
   }  
  .detail img {
	padding-top: 5px;
   }   
   #boxOne a {
		font-size: 0.8em;
	}
	label {
	  padding-top: 12px;
	  padding-bottom: 4px;
	}
	#scrollTopButton {		
		bottom: 10px; 
		right: 20px; 	
		width: 60px;
		height: 60px;		
		border-radius: 60px;
	}
	i.arrow.up {
		border: solid #fff;
		border-width: 0 5px 5px 0;
		margin-top: 10px;
		display: inline-block;
		padding: 10px;
		transform: rotate(-135deg);
		-webkit-transform: rotate(-135deg);
	}
	.detail h1 {
		width: 100%;
	 }
	 .ribbon {
		top: -20px;
		right: 0;
	 }
}
@media only screen and (min-width : 576px) {
	.flex-container  {
      display: flex;
    }
	.wrap {
		padding-left: 1em;		
		/*spadding-right: 1em;*/
	}
	.logo {
		margin-left: 0;
	}
	.logo, #navbar {
		display: inline-block;
	}
	/* Mobile menu icon */
	#menu-icon {
		display: none;
	}
	#navbar {
		float: right;
		max-height: none;
			
	}	
	#navbar #menu {
		box-shadow: 0 -3px 0 var(--main-color-dark) inset;
	}	
	#navbar #menu li {
		list-style-type: none;
		display: inline-block;
		text-align: center;
	}		
	#navbar #menu li a {
		display: block;
		border-bottom: 0;
	}	
	#navbar #menu li a:hover, #navbar #menu li a.active {
		box-shadow: 0 -3px 0 var(--main-color-light) inset;
	}	
	#navbar .form-inline {
		width: 230px;
		padding-left: 0;
	}		
	header #navbar .form-inline.active input {
		max-width: 173px;
	}
	header #navbar .form-inline.active .removeValue {
		display: inline-block;
	}	
	a.logo {
		display: inline-block;
	}	
}