body {
	background: #050015;
	background-image: url(img/bg.jpg);
	margin: 0px 0px;
}

.navbar {
	margin-bottom: 5px;
}

.navbar-brand:hover, .navbar-brand:focus {
	color: #fff !important;
}

nav li a:focus {
	color: #fff !important;
}

#board {
	margin: 8px 8px;
	border: 2px solid #5929a9;
	outline: 2px solid #330383;
	display: inline-block;
	vertical-align:top;
	overflow: hidden;
}

.share-area {
	width: 100%; background: #150525;
	padding: 5px 5px;
}

#dashboard {
	margin: 8px 8px;
	display: inline-block;
	vertical-align:top;
	overflow: hidden;
}

.inventar {
	background: #150525;
	margin: 0px 0px;
	margin-bottom: 7px;
	margin-right: 10px;
	display: block;
	vertical-align:top;
	border: 2px solid #5929a9;
	outline: 2px solid #330383;
	width: 544px;
	min-height: 300px;
	padding-bottom: 10px;
}

.inventar img {
	display: inline-block;
	width: 50px;
	height: 50px;
	margin: 10px 0px 0px 9px;
}

.inventar span.gold-cnt, span.exit, span.thinking {
	display: inline-block;
	vertical-align: top;
    line-height: 70px;
	font-size: 34px;
	color: #ff9;
	font-family: 'Bookman Old Style', serif;
	margin-left: 10px;
}

.inventar img.playerName {
	border: 2px solid #150525;
    border-radius: 25px;
}

.inventar img.sel {
	border: 2px solid #ffffff !important;
}

#board h2 {
	background: #525;
	position: absolute;
	z-index: 100;
}

#board h3 {
	margin: 5px;
	z-index: 100;
}

span.exit, span.thinking {
	width: 200px;
	height: 50px;
	cursor: pointer;
	float: right;
}

span.thinking {
	margin-top: -70px;
}

.inventar .card-slots img {
	width: 90px;
	height: 150px;
	margin: 10px 0px 0px 10px;
}

.inventar .card-slots img.shown:hover {
	width: 110px;
	height: 180px;
	margin: -10px -10px -10px 0px;
}

.gold {
	position: absolute;
	margin-left: 35px;
	margin-top: 35px; 
	width: 50px;
	height: 50px;
}

.key {
	position: absolute;
	margin-left: 35px;
	margin-top: 35px;
	width: 50px;
	height: 50px;
}

.moves{
	position: absolute; 
	z-index: 999;
	width: 100px;
	height: 100px;
	margin-left: 10px;
	margin-top: -110px;
}

.card {
	position: absolute;
	width: 90px;
	height: 150px;
}

.waiting {
    margin-left: 10px;
	margin-right: 10px;
	margin-top: 8px;
	text-align: justify;
}

#message {
	position: fixed;
	left: 50%;
    top: 50%;
	width: 500px;
	height: 200px;
	margin-left: -250px;
	margin-top: -100px;
	z-index: 10000;
	display: none;
}

#message img {
	width: 500px;
	height: 200px;
}

#rules {
	margin: auto;
	text-align: justify;
	background: rgba(255,255,255,0.55);
	padding: 20px 20px;
	color: #000;
}

@media (min-width:768px){
#rules {
	width: 70%;
	padding: 50px 50px;
}
}

@media (max-width:767px){
#rules {
	width: 94%;
	padding: 20px 20px;
}
.inventar {
	width: 100% !important;
}
#dashboard {
	width: 96%;
}
}

#rules p, #rules li {
	font-size: 16px;
}

#rules p a {
	color: #1f002f;
	
}

.nav-tabs >li {
	margin-top: 10px;
	font-size: 16px;
	padding-bottom: 10px;
	margin-bottom: 0px;
}

.nav-tabs>li.active>a {
	color: #ffffff !important;
}

@media (max-width:767px){
.nav-tabs{
	margin-top: -60px;
	margin-left: 160px;
}

#rules center img {
	width: 98%;
}
}

@media (max-width:570px){
.nav-tabs {
    margin-top: -15px;
    margin-left: -15px;
}

.nav-tabs>li>a {
	font-size: 11px;
}

.inventar .card-slots img {
	width: 62px;
	height: 102px;
	margin: 10px 0px 0px 10px;
}

.inventar .card-slots img.shown:hover {
	width: 82px;
	height: 122px;
	margin: -10px -10px -10px 0px;
}

.inventar img {
	display: inline-block;
	width: 50px;
	height: 50px;
	margin: 10px 0px 0px 9px;
}
}