/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/*
* ################ LOGIN ################
*/
#login {
	position: absolute;
	left: 50%; top: 50%;
	height: 50px; width: 270px;
	margin: -25px -135px; /* center css trick */
	border: 1px solid #ccc;
	border-radius: 4px;
	-moz-border-radius: 4px;
	box-shadow: 0 0 20px #888;
	-moz-box-shadow: 0 0 20px #888;
	text-align: center;
	background: url("img/lock.png") 5% center no-repeat white;
}

#login form {
	padding: 11px 0 0 28px;
}
#login form input {
	margin: 0 10px;
}

/**
 * ##################
 *  Matrix Card Game
 * ##################
 * @name	Matrix Card Game
 * @desc	Matrix Web Card Game
 * @author	Hannes Schurig
 * @date	2013-04-05
 * @lastmodified	2013-04-05
 * @version	0.1
 * @changelog look at the end of index.html
 *
 * @ref 
 * @see 
 */
 
em { font-style: italic; }
strong { font-weight: bold; }
* { 
	color: #333333;
    font: 14px/15px "Trebuchet MS",Arial;
    text-shadow: 1px 1px 0 #BBBBBB;
}

body {
	background: url("img/fat-lines.gif") repeat transparent;
	height: 100%; width: 100%;
	content: "full";
}

h1, h2, h3, h4, h5, h6 {
	margin-bottom: 8px;
}
 
h1 {
	font: bold 30px/40px Diavlo, "Trebuchet MS", Arial;
	text-shadow: 2px 2px 1px #aaa;
	letter-spacing: 1px;
}

h2 {
	font: bold 23px/25px Diavlo, "Trebuchet MS", Arial;
	text-shadow: 1px 1px 1px #aaa;
	letter-spacing: 1px;
}

h3 {
	font: bold 15px/20px Diavlo, "Trebuchet MS", Arial;
	text-shadow: 1px 1px 1px #aaa;
	letter-spacing: 1px;
}

h4 {
	font: bold 11px/15px Diavlo, "Trebuchet MS", Arial;
	text-shadow: 1px 1px 1px #aaa;
	letter-spacing: 1px;
}

hgroup {
	margin: 10px 10px 30px 10px;
}

section {
	background-color: white;
	border: 1px solid #aaa;
	border-radius: 4px;
	padding: 7px 15px;
	margin-bottom: 30px;
}

/* ### overall button styling ### */
button {
	width: auto;
	padding: 4px 8px 5px 10px;
	border: 1px solid #bbb;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}
button:hover {
	border: 1px solid #C29A42;
	box-shadow: 0 0 6px #999;
	-moz-box-shadow: 0 0 6px #999;
	-webkit-box-shadow: 0 0 6px #999;
}
button:active {
	border: 1px solid #119A42;
	box-shadow: 0 0 9px #C29A42;
	-moz-box-shadow: 0 0 9px #C29A42;
	-webkit-box-shadow: 0 0 9px #C29A42;
}
button.add {
	padding-left: 25px;
	background: url("img/plus.png") 6px center no-repeat white;
}
button.update {
	padding-left: 25px;
	background: url("img/update.png") 6px center no-repeat white;
}
button.delete {
	padding-left: 27px;
	background: url("img/delete.png") 7px center no-repeat white;
}
button.cancel {
	padding-left: 25px;
	background: url("img/cancel.png") 6px center no-repeat white;
}

div.clear {
    clear:both;
}

/* ########### KARTEN DESIGN ########### */

.card {
	border: 1px solid black;
    display: inline-block;
    margin: 10px 30px;
    padding: 30px;
	position: relative;
	cursor: pointer;
}

.card:hover {
	box-shadow: 1px 1px 3px black;
}

.card .power {
	margin: 0 auto;
}

.card .name {
	font-size: 60%;
}

/* ########### SPIELFELD DESIGN ########### */

#gamefield {
	padding: 10px;
	background-color: white;
	width: 80%;
	margin: 10px auto;
}

#gamefield-center {
	height: 250px;
}

#gamefield-center-infos {
	width: 33%; height: 100%;
	float: left;
	border: 1px solid red;
}

#battlefield {
	float: left;
	width: 33%; height: 100%;
	border: 1px solid blue;
}

#card-depot {
	width: 33%; height: 100%;
	float: right;
	border: 1px solid green;
}