@import url(https://fonts.googleapis.com/css?family=Noto+Serif:400,700);

body {
    background-color: #FFDDDD;
    font-family: 'Noto Serif';
    font-size: 15px;
    overflow: hidden;
    position: relative;
}

main {
    margin: auto;
    width: 1200px;
}

hr {
    border-color: rgba(0,0,0,0.5);
    border-style: dashed;
    border-width: 1px;

    margin: 3px 0 2px 0;
}

ul {
    margin-bottom: 10px;
}

h2 {
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 5px;
}

strong {
    font-weight: bold;
}

#blue-layer {
    height: 100%;
    background: #DDDDFF;
    float: right;
    position: fixed;
    top: 0;
    right: 0;
    width: 50%;
    z-index: -10;
}

#log {
    background-color: rgba(0,0,0, 0.12);
    border-color: black;
    border-width: 1px 0;
    border-style: solid;
    height: 60px;
    margin: 10px 0;
    overflow-y: hidden;
    width: 100%;
}

#log li {
    text-align: center;
    width: 100%;
}

#log li.player1 {
    color: red;
}

#log li.player2 {
    color: blue;
}

.screen-side {
    display: inline-block;
    background-color: rgba(0,0,0, 0.12);
    border-color: black;
    border-style: solid;
    border-width: 0 1px;
    margin: 0 5px;
    padding: 0 5px;
    width: calc(50% - 22px);
}

#left {
    border-right: 1px solid black;
    float: left;
}

#right {
    border-left: 1px solid black;
    float: right;
}

/* display tables */

.screen-side .display {
    background-color: rgba(255,255,255,0.5);
    border-collapse: collapse;
    margin-bottom: 10px;
    width: 100%;
}

.screen-side .display td {
    border: 1px solid black;
    padding: 2px 5px;
}

.screen-side .inventory td {
    width: 25%;
}

.screen-side .military td {
    width: 25%;
}

.screen-side .display td.population {
    text-align: center;
}
.screen-side .display td.population .quantity {
    font-weight: bold;
}

.screen-side .display td:not(.population) .quantity {
    float: right;
    font-weight: bold;
}

/* options list */

.control-list > .option, .control-list > .being-merry {
    border: none;
    padding: 3px 3px 3px 5px;
    border-width: 1px;
    border-style: solid;
    border-color: rgba(0,0,0,0);
}

.control-list > .option.selected {
    background-color: rgba(255,255,255,0.5);
    border-radius: 4px;
    
}

#left > .control-list > .option.selected {
    border-color: #880000;
}

#right > .control-list > .option.selected {
    border-color: #000088;
}

.control-list > li > .buttons {
    display: inline-block;
    float: right;
}

.control-list > .option button {
    background-color: #EEEEEE;
    border: 1px solid #666666;
    border-radius: 2px;
    height: 15px;
    margin: 0 1px;
    padding: 0;
    width: 15px;
}

.control-list > .option button.up.pressed {
    background-color: #CCEECC;
}

.control-list > .option button.down.pressed {
    background-color: #DDDDDD;
}
