html {
    font-size: 100%;
}

body {	
    font-family: Roboto, Georgia, "Times New Roman", Times, serif;
    font-size: .875em;
    line-height: 1.6em;
    background-image: url("../images/jatek7.gif");
    background-repeat: repeat-x;
    color: #666;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
	outline:none;
}

h1, h2, h3, h4 {
    font-family: 'Englebert',sans-serif;
}

h1 {
    color: #000000;
    font-size: 34px;
    padding: 20px 0;
}

h2, h3, h4 {
    color: #000000;
    font-weight: normal;
    margin: 15px 0px 5px 10px;
}

h2 {
    font-size: 1.5em;
}

h3 {
    font-size: 1em;
}

@media all and (min-width: 800px) {
	h2 {
    font-size: 2em;
	}

	h3 {
		font-size: 1.5em;
	}
	
}

h4 {
    font-size: 1.2em;
    font-weight: 700;
}

a {
   color: #000000; 
   text-decoration: none;
   font-weight: normal;
}

#container {
		font-size: 1em;
		width:100%;
		background: #FFF;
		box-shadow: 0px 2px 10px #888888;
		border-radius: 5px;
		margin: 60px auto 0px;
		position: relative;
		clear: both
	}

@media all and (min-width: 800px) {
	#container {
		margin: 120px auto 0px;
	}
}

@media all and (min-width: 1024px) {
	#container {
		width:1000px;
	}
}

#header {
    background: url(../images/top.png);
	width:100%;
    height: 50px;
	position:fixed;
	top:0px;
	left:0px;
	text-align:center;
	z-index: 999;
}

.logo {
	width:250px;
	height:50px;
	margin:auto;
	background: url(../images/jatek7_logo_small.png);
}

.logo img {
	width:80%;
	height:100%;
}

@media all and (min-width: 1024px) {
		#header {
			height: 100px;
		}
		.logo {
			width:500px;
			height:100px;
			background: url(../images/jatek7_logo.png);
		}
		
		.reklam {
			height: 100px;
		}
	}

#navigation {
    height: 75px;
}

#html5_game {
	width: 100%;
	height: 100%;
	position: fixed;
	overflow:hidden;
	z-index:500;
	top: 0px;
	left: 0px;
	background-color: #000000;
}

 .heading_bg {
	background-color: #FBF3CF;
    border-bottom: 1px solid #a2a2a2;
    padding-bottom: 0.1%;
	text-align:center;
    background: linear-gradient(#F9ECAE, #FBF3D0) repeat scroll 0 0 rgba(0, 0, 0, 0);
}   

.heading_bg h1, .heading_bg h2, .heading_bg h3, .heading_bg h4 {
    //background: none repeat scroll 0 0 #FFFFFF;
    display: inline-block;
    padding-right: 10px;
    margin-top:10px;
}

.heading_bg p {
    isplay: inline-block;
    margin-top: 10px;
    padding-right: 10px;
    font-size: 1em;
    font-weight: normal;
    margin: 0px 0px 0px 10px;    
    padding-top:15px;
}

.box {
    background-color: rgba(255, 255, 255, 0.85);
    border: 1px solid #CECECE;
    border-radius: 3px;
    box-shadow: 0 0 5px rgba(189, 189, 189, 0.7);
    margin-bottom: 5px;
    padding-bottom: 5px;
    text-align: left;
    overflow:hidden;
}

.newgames {
    float:left;
    width:310px;
    height:125px;    
    margin: 2px;
    box-shadow: 0 0 2px rgba(189, 189, 189, 0.7);
    border-radius:1px;
    line-height:1.5em;
    padding:5px;
}

.newgames h3,h4{
	font-family: Roboto, Georgia, "Times New Roman", Times, serif;
    font-size: 1em;
    margin:0px 0px 0px 10px;
    border-bottom: 1px solid #D6D6D6;
}

.newgames p {
    font-size: 1.5em;
    margin:0px 0px 0px 10px;
    border-bottom: 1px solid #D6D6D6;
    font-family: 'Parisienne',sans-serif;
}

.newinfo {
	margin-top:5px;
	}

.newgames-img {
    width: 32%;
    float:left;
	margin:0.1%;
	margin-bottom:0.5%;
}

.newgames-img h3 {
	font-family: Roboto, Georgia, "Times New Roman", Times, serif;
    font-size: 0.7em;
	margin: 0px;
	text-align:center;
	height:30px;
	line-height:1.4em;
}

.newgames-img h4 {
	font-size: 0.5em;
	font-weight: normal;
	}

@media screen and (min-width: 640px) {
	.newgames-img {
    width: 24%;
	}	
	.newgames-img h3 {
	font-size: 0.85em;
	}
	
	.newgames-img h4 {
	font-size: 0.6em;
	}
}

@media screen and (min-width: 1024px) {
	.newgames-img {
    width: 16%;
	}	
	.newgames-img h3 {
	font-size: 1em;
	height:40px;
	}
	
	.newgames-img h4{
	font-size: 0.8em;
	}
}



.newgames-img img {
    width: 100%;
    height: auto;
}

.pretty-box {
    background: -moz-linear-gradient(center bottom , #F8F8F8 0px, #FFFFFF 100%) repeat scroll 0 0 rgba(0, 0, 0, 0);
    border: 1px solid #EBEBEB !important;
    padding: 0.1%;
}
.pretty-box:hover {
    border: 1px solid #556074 !important;
    box-shadow: 0 0 3px #E7E7E7;
}

.info-box {
    background: -moz-linear-gradient(center bottom , #F8F8F8 0px, #FFFFFF 100%) repeat scroll 0 0 rgba(0, 0, 0, 0);
    border: 1px solid #EBEBEB !important;
    padding: 0.1%;
	margin-right:10px;
}
.info-box:hover {
    border: 1px solid #556074 !important;
    box-shadow: 0 0 3px #E7E7E7;
}

.button {
	color: #FFFFFF;
	cursor: pointer;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.4);
	font-size: 2em;
    line-height: 70px;
	border-image: none;
    border-radius: 4px;
    border-style: solid;
    border-width: 1px;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 1px 2px rgba(0, 0, 0, 0.05);
	width:80%;
	display:block;
	margin:auto;
}

.tags {
	float:right;
	margin:20px;
}

.gameplayer {
	margin-top: -22px;
}

.gamestart_div {
	float:left;
	font-family: 'Englebert';
	text-align: center;
	width:100%;
}

.gamestart {
	background-color: #5BB75B;
    background-image: -moz-linear-gradient(center top , #62C462, #51A351);
    background-repeat: repeat-x;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
	text-transform:uppercase;
}

.gamestart:hover {
	background-color: #51A351;
}

.ad300-box {
	float: right;
    height: 260px;
    margin: 2px 2px 5px 5px;
    padding: 15px 0 0 10px;
    width: 305px;
    
}

.ad720-box {
	margin:auto;
	padding: 15px 0px 10px 0px;
	background:url('../images/werbung728.png') no-repeat;
	width:820px;
}

.thumb-game {
    width: 180px;
    height: 140px;
    float:left;
    margin: 5px 0px 0px 11px;
    text-align:center;
}

.thumb-img {
    background: -moz-linear-gradient(center bottom , #F8F8F8 0px, #FFFFFF 100%) repeat scroll 0 0 rgba(0, 0, 0, 0);
    border: 1px solid #EBEBEB !important;
    padding: 5px;
    width: 168px;
}
.thumb-img:hover {
    border: 1px solid #556074 !important;
    box-shadow: 0 0 3px #E7E7E7;
}

.thumb-title {
    border-bottom: 1px solid #D6D6D6;  
    margin: 0px 5px;
    display: block;
    width:170px;
    height:22px;
    overflow:hidden;
}

.thumb-cat a {
    color:#CECECE;
    font-size: 0.8em;   
}

.paging {
    text-align:center;
    margin:auto;
}

.pagination {
    background: none repeat scroll 0 0 #FED248;
    border: 1px solid #E5A201;
    border-radius: 3px;
    color: #6C2F08;
    display:inline-block;
    font-size: 12px;
    height: 30px;
    line-height: 28px;
    margin: 5px 0 0 5px;
    padding: 0;
    text-align: center;
    text-decoration: none;
    width: 30px;
}

.pagination:hover {
    background: none repeat scroll 0 0 #3399FF;    
}

.pagination.active {
    background: none repeat scroll 0 0 #3399FF;
}

.thumb-browser {
    background: -moz-linear-gradient(center bottom , #F8F8F8 0px, #FFFFFF 100%) repeat scroll 0 0 rgba(0, 0, 0, 0);
    border: 1px solid #EBEBEB !important;
    padding: 5px;
    width: 90px;
    height:60px;
    float:left;
    margin-left:6px;
}

.thumb-browser img {
    width: 90px;
    height: 60px;
    
}
.thumb-browser:hover {
    border: 1px solid #556074 !important;
    box-shadow: 0 0 3px #E7E7E7;
}

.left600 {
    float:left;
    width: 165px;
    margin-right: 5px;
}

.gameright {
    float: left;
    width: 805px;
    min-height: 655px;
}

.tcenter {
    text-align: center;    
}

.infoleft {
    float:left;
    width:650px;
    margin-right:5px;
	min-height:325px;
}

.infobox {
padding: 10px 10px 5px 20px;
}

.right300 {
    float: left;
    width:320px;
}

.gamecontainer {
    margin:auto;    
    text-align:center;
    padding-top: 10px;
}

.gameshift {
	margin-left:80px;
}

.fullsize {
	width:980px;
}

.gamead720 {
    margin: auto;
    text-align:center;
}

#navi {
	position: absolute;
	top: -10px;
	z-index:1000;
}

@media all and (min-width: 1024px) {
	#navi {
		position: absolute;
		top: 0;
	}
}

.icon {
	float: right;
	margin-right: 20px;
	font-size: 16px;
	}
/*
 * Dropdown menu
 */
.dropdown {
  position: relative;
  display: inline-block;
  text-align: left;
  width: 300px;
}

.dropdown-text::-moz-selection,
.dropdown-toggle::-moz-selection { background: transparent; color: inherit; }
.dropdown-text::selection,
.dropdown-toggle::selection { background: transparent; color: inherit; }

.dropdown-text {
  cursor: pointer;
  position: absolute;
  text-indent: 10px;
  line-height: 38px;
  background-color: #4f4f4b;
  width: 50px;
  height: 50px;  
  background: url('../images/J7_logo.png');
}

.dropdown-text,
.dropdown-content a {
  color: #fff;
  text-transform:uppercase;
  letter-spacing: 1px;
}

.dropdown-toggle {
  font-size: 0;
  z-index: 1;
  cursor: pointer;
  position: absolute;
  top: 0;
  border: none;
  padding: 0;
  margin: 0 0 0 1px;
  background: transparent;
  text-indent: -10px;
  height: 34px;
  width: 50px;
}

.dropdown-toggle:focus {
  -webkit-appearance: none;
}

.dropdown-content {
  -webkit-transition: .25s ease;
  -moz-transition: .25s ease;
  -ms-transition: .25s ease;
  -o-transition: .25s ease;
  transition: .25s ease;
  list-style-type: none;
  position: absolute;
  top: 50px;
  padding: 0;
  margin: 0;
  opacity: 0;
  //pointer-events: auto;
  visibility:hidden;
  left:-999px;
  text-indent: 10px;
  line-height: 38px;
  background-color: #df826b;
  width: 200px;
}

.dropdown-content:after {
	position: absolute;
	right: 14px;
	top: 0;
	content: "";
	display:block;
	clear:both;
	width: 0px;
	height: 0px;
	border-style: solid;
	border-width: 0 8px 9px 8px;
	border-color: transparent transparent #df826b transparent;
}

.dropdown-content li {
	border-bottom:4px solid #4f4f4b;
	overflow:hidden;
	}
.dropdown-content li:last-child {
		border-bottom:none;
		}
		
.dropdown-content a {
  display: block;
  -webkit-transition: .25s ease;
  -moz-transition: .25s ease;
  -ms-transition: .25s ease;
  -o-transition: .25s ease;
  transition: .25s ease;
}

.dropdown-content a:hover {
  //background: #4f4f4b;
  padding-left:5px;
}

.dropdown-toggle:focus ~ .dropdown-text {
  border-color: #c5c5c5;
  z-index: 2;
}

.dropdown-toggle:focus ~ .dropdown-text:after {
  border-width: 0 4px 5px 4px;
  border-color: transparent transparent #555 transparent;
}

.dropdown-content:active,
.dropdown-toggle:focus ~ .dropdown-content {
  opacity: 1;
  //pointer-events:none;
  visibility:visible;
  left:0;
  top: 55px;
}

.ikon {
width: 50px;
  height: 50px;  
  background: url('../images/J7_logo.png');
  }

ul {
  position:absolute;
  text-align: left;
  display: inline;
  margin: 0;
  padding: 15px 4px 17px 0;
  list-style: none;
}
ul li {
  display: inline-block;
  position: relative;
  cursor: pointer;
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
  -ms-transition: all 0.2s;
  -o-transition: all 0.2s;
  transition: all 0.2s;
}
ul li:hover {
  color: #fff;
}
ul li ul {
  padding: 0;
  position: absolute;
  top: 48px;
  left: 0;
  width: 150px;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  display: none;
  opacity: 0;
  visibility: hidden;
  -webkit-transiton: opacity 0.2s;
  -moz-transition: opacity 0.2s;
  -ms-transition: opacity 0.2s;
  -o-transition: opacity 0.2s;
  -transition: opacity 0.2s;
}
ul li ul li { 
  background: #df826b; 
  display: block; 
  color: #fff;
  text-shadow: 0 -1px 0 #000;
  height:30px;
  padding-left:5px;
  border-bottom: 1px solid black;
}

ul li ul li a { color:white; }
ul li ul li:hover { background: #666; }
ul li:hover ul {
  display: block;
  opacity: 1;
  visibility: visible;
}