@charset "utf-8";
body {
    background-color: #eee;
}

#header {
    text-align: center;
    margin-bottom: 20px;
    height: 100px;
}

.bold {
    font-weight: bold;
}
.clickable {
    cursor: pointer;
}

.list-title {
    border-bottom: 3px solid #428BCA;
}
.list-item-content {
    padding-top: 10px;
    font-size: 11px;
}

.form-signin {
    max-width: 330px;
    //padding: 15px;
    margin: 0 auto;
}
.form-signin .form-signin-heading {
    margin-bottom: 10px;
}
.form-signin .form-control {
    position: relative;
    font-size: 16px;
    height: auto;
    padding: 10px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.form-signin .form-control:focus {
    z-index: 2;
}
.form-signin input[placeholder="Address"] {
    margin-bottom: -1px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
.form-signin input[placeholder="Port"] {
    margin-bottom: 10px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.card, .card div   {
    height: 150px;
    width: 100px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size:100% 100%;
    display: inline-block;
}
.card {
    margin: 0px 5px;
}
.card div {
    display: block;
}

.back {
    background-image: url(../img/cards/card_back.png);
}
.invalid  div {
    background-image: url(../img/cards/card_invalid.png);
    opacity: 0.5;
}

#player-left, #player-right {
    z-index: -10;
}
.playerUI h4 {
    overflow: hidden;
    white-space: nowrap;
}
#current-player .playerUI h4 {
    margin: 0px;
}

#current-player #playerDeck {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
}

.resign {
    opacity: 0.5;
}

.bg-green {
    background-color: #006600;
}
.nowarp {
    white-space: nowrap;
}
.row-cell-spaceing {
    height: 25px;
}

#stack-and-pile {
    width: 100%;
}

#stack {
    position: relative;
    display: inline-block;
    text-align: center;
    white-space: normal;
}
#stack div div {
    position: absolute;
    top: 0px;
    left: 5px;
    width: 90px;
    height: 140px;
    margin: 5px;
    background-color: #ffffff;
    opacity: 0.5;
    display: inline-block;
}
#stack #stackText {
    position: absolute;
    top: 50px;
    font-weight: bold;
    font-size: 18px;
    margin: 0px 5px;
}
#pile {
    display: inline-block;
}

#changeColorBox {
    display: none;
}
#changeColorBox .changeColorRect {
    width: 50px;
    height: 50px;
    display: inline-block;
    border: #333333 solid 2px;
    margin: 0px 5px;
}
#changeColorBox .changeColorRect.BLUE {
    background-color: steelblue;
}
#changeColorBox .changeColorRect.GREEN {
    background-color: yellowgreen;
}
#changeColorBox .changeColorRect.YELLOW {
    background-color: yellow;
}
#changeColorBox .changeColorRect.RED {
    background-color: tomato;
}

#msgBox {
    display: none;
}

#log {
    width: 100%;
}

.loading {
    text-align: center;
}

.loading div{
    height: 140px;
    width: 100px;
    background-image: url(../img/loading.gif);
    background-repeat: no-repeat;
    background-position: center center;
    background-size:100% 100%;
    display: inline-block;
    margin: 10px auto;
}
.loading.small div{
    background-image: url(../img/loading_small.gif);
    height: 42px;
    width: 30px;
}
.loading h5{
    font-size: 18px;
    margin: 0px;
}
.loading.small h5{
    font-size: 12px;
}

#loadingBox {
    margin-top: 100px;
    color: #eee;
    width: 500px;
    height: 660px;
}

#upload_iframe {
    width: 0px;
    height: 0px;
    border: none;
    overflow: hidden;
}