body {
    font-family: sans-serif;
    font-size: 12pt;
}

#maincontainer {
    position: relative;
    display: block;
    vertical-align: top;
}

div.intro {
    max-width: 640px;
}

div.presets {
    position: relative;
    margin-bottom: 20px;
    vertical-align: top;
}

div.presetcontrol {
    display: inline-block;
    height: 190px;
    width: 110px;
    margin: 5px;
}

button.presetbutton {
    width: 100%;
    height: 100%;
    text-align: center;
    font-size: 12pt;
}

table.layoutpreview {
    font-size: 10pt;
    line-height: 10pt;
    border: 1px solid black;
    width: 84px;
    height: 120px;
    margin: 10px auto auto auto;
}

table.layoutpreview td {
    border: 1px solid gray;
    padding-top: 1px;
    padding-bottom: 1px;
    padding: none;
}

div.controls {
    position: relative;
    display: inline-block;
}

div.optionrow {
    border-radius: 5px;
    background-color: #eeeeee;
    margin-bottom: 5px;
    padding: 5px;
}

div.controlrow label {
    display: inline-block;
    min-width: 300px;
    text-align: right;
    padding-right: 1em;
}

div.controlhelp {
    text-align: right;
    max-width: 300px;
    font-size: 8pt;
    color: gray;
}

div.calltoactionpreamble {
    margin-top: 20px;
    color: gray;
    font-size: 8pt;
}

div.calltoactionrow {
    margin-top: 5px;
    margin-bottom: 20px;
}

div.calltoactionrow button {
}

div.scoresheet {
    page-break-inside: avoid;
}

table.headertable {
    position: relative;
    margin-top: 0.5ex;
    border-collapse: collapse;
    width: 100%;
}

table.headertable {
    width: 100%;
}

td.headercell {
    position: relative;
    border-bottom: 1px solid black;
}

td.headercellinvisible {
    visibility: hidden;
    border: none;
}

table.gametable {
    border-collapse: collapse;
    width: 100%;
    margin-top: 0.5ex;
    margin-bottom: 0.5ex;
}

table.gametable td {
    text-overflow: clip;
}

th.playername {
    border: 3px solid black;
}
td.gamecellroundnumber {
    text-align: right;
    font-variant-numeric: tabular-nums;
}
td.gamecellroundnumbertb {
    text-align: center;
}
td.gamecellroundtype {
    text-align: center;
    font-weight: bold;
}
td.gamecellselection {
}
td.gamecelltarget {
}
td.gamecelldec1 {
    text-align: right;
}
td.gamecellscore {
    text-align: center;
}
td.gamecellfinalscore {
    width: 25%;
}
td.playernamefinalscore {
    width: 37.5%;
}
td.gamecellfinalscore {
    border: 3px solid black;
}
td.gamecelldec2 {
    text-align: left;
}
td.gamecellnotes {
}
tr.gamerow td.gamecellborder {
    border: 1px solid black;
}
tr.gamerow td.gamecellboldborder {
    border: 3px solid black;
}
tr.gamerowtb td.gamecellborder {
    border: 1px dashed gray;
}
tr.gamerowtb td {
    color: gray;
}
td.tiebreakcell {
    text-align: right;
    font-size: 10pt;
}

div.intersheetspace {
    position: relative;
    width: 100%;
    clear: both;
    vertical-align: top;
}

div.intersheetspace hr {
    position: relative;
    vertical-align: top;
    height: 50%;
    border-bottom: 1px dashed gray;
    border-left: none;
    border-right: none;
    border-top: none;
}

textarea {
    font-family: sans-serif;
}
