/* 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;
    font-size: 100%;
    font: inherit;
    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;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
/*
END RESET
*/

/* Cervena #c02126 */

body {
    font-family: Arial, helvetica, sans-serif;
    background: #fff url('./img/board3.jpg') no-repeat;
    margin: 0px;
    padding: 0px;
    color: #777777;
}

button {
    width: 210px;
}

.gameinfo {
    float: left;
    width: 130px;
    height: 1020px;
    padding: 80px 5px 0;
    color: #fff;
}

.gameinfo p span {
    color:yellow;
    font-weight: bold;
}

.game {
    float: left;
    width: 1005px;
    height: 1100px;
}

.options {
    float: left;
    width: 125px;
    height: 1020px;
    padding: 80px 5px 0;
    color: #fff;
}


.graveyard {
    height: 70px;
}

.battlefield {
    height: 580px;
}

.stack {
    height: 113px;
    margin: 11px 0px 0px 39px;
    width: 930px;
}

.hand {
    height: 240px;
    margin: 43px 0px 0px 26px;
    width: 960px;
}

.stack div {
    float: left;
    width: 83px;
    height: 100%;
    margin: 0px 27px 0px 0px;
}
.stack div.c5 {
    margin: 0px 27px 0px 76px;
}
.stack div.c8 {
    margin: 0px 0px 0px 0px;
}

.player1 {
    float: left;
    width: 500px;
    height: 580px;
}

.player2 {
    float: left;
    width: 480px;
    height: 580px;
}

.player1 .col1 {
    float: right;
    width: 112px;
    height: 532px;
    margin: 22px 47px 0px 39px;
}
.player2 .col1 {
    float: left;
    width: 112px;
    height: 532px;
    margin: 22px 0px 0px 52px;
}

.col1 div {
    height: 83px;
    float: left;
    width: 100%;
    margin: 0px 0px 25px 0px;
}

.col1 .c1 {
    margin: 0px 0px 32px 0px;
}

.col1 .c5 {
    margin: 9px 0px 0px 0px;
}

.player1 .col2 {
    float: right;
    width: 112px;
    height: 532px;
    margin: 22px 0px 0px 40px;
}

.player2 .col2 {
    float: left;
    width: 112px;
    height: 532px;
    margin: 22px 0px 0px 40px;
}

.col2 div {
    height: 83px;
    float: left;
    width: 100%;
    margin: 0px 0px 25px 0px;
}

.col2 .c6 {
    margin: 0px 0px 32px 0px;
}

.col2 .c10 {
    margin: 9px 0px 0px 0px;
}

.player1 .col3 {
    float: right;
    width: 112px;
    height: 532px;
    margin: 22px 0px 0px 0px;
}

.player2 .col3 {
    float: left;
    width: 112px;
    height: 532px;
    margin: 22px 0px 0px 39px;
}

.col3 div {
    height: 43px;
    float: left;
    width: 100%;
    margin: 0px 0px 25px 0px;
}

.col3 .c1 {
    margin: 0px 0px 9px 0px;
}
.col3 .c2 {
    margin: 0px 0px 14px 0px;
}
.col3 .c3 {
    margin: 0px 0px 9px 0px;
}
.col3 .c4 {
    margin: 0px 0px 14px 0px;
}
.col3 .c5 {
    margin: 0px 0px 9px 0px;
}
.col3 .c6 {
    margin: 0px 0px 11px 0px;
}
.col3 .c7 {
    margin: 0px 0px 9px 0px;
}
.col3 .c8 {
    margin: 0px 0px 14px 0px;
}
.col3 .c9 {
    margin: 0px 0px 9px 0px;
}
.col3 .c10 {
    margin: 4px 0px 0px 0px;
}

.battlefield img, .stack img, .graveyard img, .hand img {
    position: relative;
    top: -7px;
    left: 20px;
    width: 70px;
    height: 98px;
    transform:rotate(90deg);
    -ms-transform:rotate(90deg); /* IE 9 */
    -moz-transform:rotate(90deg); /* Firefox */
    -webkit-transform:rotate(90deg); /* Safari and Chrome */
    -o-transform:rotate(90deg);
}

.battlefield .player2 img {
    position: relative;
    top: -7px;
    left: 20px;
    width: 70px;
    height: 98px;
    transform:rotate(-90deg);
    -ms-transform:rotate(-90deg); /* IE 9 */
    -moz-transform:rotate(-90deg); /* Firefox */
    -webkit-transform:rotate(-90deg); /* Safari and Chrome */
    -o-transform:rotate(-90deg);
}

.battlefield img.tap, .stack img.tap, .hand img {
    transform:rotate(0deg);
    -ms-transform:rotate(0deg); /* IE 9 */
    -moz-transform:rotate(0deg); /* Firefox */
    -webkit-transform:rotate(0deg); /* Safari and Chrome */
    -o-transform:rotate(0deg);
}

.battlefield .col3 img {
    top: -5px;
    left: 40px;
    width: 35px;
    height: 49px;
}

.battlefield .col3 img.tap {
    top: -2px;
}

.stack img {
    top: 8px;
    left: 6px;
}

.graveyard img {
    width: 35px;
    height: 49px;
}

.graveyard .p1 {
    float: left;
    margin: 15px 0px 0px 356px;
}

.graveyard .p2 {
    float: left;
    margin: 15px 0px 0px 182px;
}

.hand .p1 {
    float: left;
    width: 455px;
    height: 260px; 
}

.hand .p2 {
    float: left;
    width: 440px;
    height: 260px;
    margin: 0px 0px 0px 61px;
     
}

.hand .p1 div, .hand .p2 div {
    float: left;
    width: 83px;
    height: 100px;
    margin: 0px 27px 30px 0px;
}
.midsize{
    color: black;
    text-align: center;
}
.midsize input{
    width : 69px;
}