@page {
    margin: 10mm 15mm 5mm 15mm;
}

@media print {
    input {
        font-family: 'Crimson Text', 'Crimson', 'Constantia', serif;
        font-size: 10pt;
        line-height: 135%;
        border: 0;
        outline: none;
        height: 100%;
    }

    .settingsBox,
    .noPrint {
        display: none;
    }
}

.hidden {
    display: none;
}

.pageBreak {
    page-break-before: always;
}

html,
body,
p {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Crimson Text', 'Crimson', 'Constantia', serif;
    font-size: 13.5pt;
    line-height: 130%;
}

@media screen {
    body {
        min-width: 900px;
    }
}

@media print {
    body {
        font-size: 9.5pt;
    }
}

div {
    margin: 0;
    padding: 0;
    width: 100%;
}

#divTabs {
    background-color: #1e1e1e;
    width: 100%;
    color: #ffd;
    margin-bottom: 15px;
}

#divShowActiveRoster,
.settingsBox {
    width: auto;
    background-color: #ddd;
    border-radius: 7px;
    padding: 8pt 10pt 6pt 10pt;
    margin-top: 20pt;
    line-height: 150%;
}

.settingsButton {
    font-family: 'Crimson Text', 'Crimson', 'Constantia', serif;
    border: 1px #555 solid;
    border-radius: 10px;
    font-size: 80%;
    padding: 6px 9px 2px 9px;
    background-color: #999;
    background-image: linear-gradient(to bottom, #f9f9f9 0%, #ddd 100%);
    margin-top: 8px;
}

.settingsButton:active {
    background-color: #ddd;
    background-image: linear-gradient(to bottom, #ddd 0%, #f9f9f9 100%);
}

#divShowActiveRoster {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    float: left;
    margin-right: auto;
    margin-top: 5pt;
    padding: 8pt 10pt 6pt 6pt;
}

#divShowActiveRoster:active {
    background-color: #bbb;
    border-color: #555;
}

select {
    border: 1px solid #bbb;
    font-size: 14px;
    height: 22px
}

#scltTeamAway,
#scltTeamHome {
    width: 250px;
}

.guidelines select,
.guidelines {
    color: #666;
}

#btnOverview,
#btnScorecard,
#btnTables {
    border: none;
    width: 25%;
    margin-left: 2%;
    margin-right: 0;
    margin-top: 10px;
    height: 50px;
    border-radius: 20px 20px 0 0;
    font-size: 20px;
    color: #333;
    background-color: #bbb;
    font-family: 'Crimson Text', 'Crimson', 'Constantia', serif;
    font-weight: 600;
    padding-top: 8px;
    background-image: linear-gradient(to bottom, #bbb 0%, #bbb 80%, #999 100%);
}

#btnTables {
    margin-left: 19%;
}

#btnOverview:disabled,
#btnScorecard:disabled,
#btnTables:disabled,
#btnOverview:disabled:hover,
#btnScorecard:disabled:hover,
#btnTables:disabled:hover {
    background-color: white;
    color: black;
    background-image: none;
}

#btnOverview:hover,
#btnScorecard:hover,
#btnTables:hover {
    background-color: #d0d0d0;
    color: black;
    background-image: linear-gradient(to bottom, #d0d0d0 0%, #d0d0d0 80%, #999 100%);
}

#divOverview,
#divScorecard,
#divSeasonSummaries {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

@media print {
    #divOverview,
    #divScorecard,
    #divSeasonSummaries {
        width: 100%;
    }
}


h1 {
    font-weight: bold;
    margin: 0;
    width: 100%;
    text-align: center;
    font-size: 25pt;
    line-height: 100%;
    height: 5pt;
}

@media print {
    h1 {
        font-size: 18pt;
    }
}

@media screen {
    h1 {
        margin-top: 30pt;
    }
}

h2 {
    font-size: 20pt;
    margin-bottom: 3pt;
    margin-top: 14pt;
}

@media print {
    h2 {
        font-size: 12pt;
        margin-bottom: 2pt;
        margin-top: 8pt;
    }
}

span.thinspace {
    margin-left: .1em;
}

table {
    width: 100%;
    font-size: 100%;
    line-height: 135%;
    border-collapse: collapse;
    border-width: 1.5pt;
    border-color: black;
    border-top-style: solid;
    border-bottom-style: solid;
}

tr.head {
    border-width: 1pt;
    border-color: black;
    border-bottom-style: solid;
    font-weight: bold;
}

td {
    text-align: center;
    padding: 0 4pt;
}

@media print {
    td {
        padding-left: 2pt;
        padding-right: 2pt;
    }
}

table.Scorecard {
    font-size: 12pt;
}

@media print {
    table.Scorecard {
        font-size: 8.5pt;
    }
}

table.Scorecard,
table.Scorecard td {
    border-width: 1pt;
    border-color: #999;
    border-style: solid;
}

table.Scorecard tr {
    height: 48pt;
    vertical-align: top;
}

table.Scorecard tr.head {
    height: 16pt;
}

@media print {
    table.Scorecard tr {
        height: 34pt;
    }

    table.Scorecard tr.head {
        height: 12pt;
    }
}

table.Scorecard td {
    text-align: center;
    padding: 0 4pt;
}

table.Scorecard td:nth-child(1) {
    text-align: left;
}

table.Scorecard td:nth-child(5),
table.Scorecard td:nth-child(6),
table.Scorecard td:nth-child(7),
table.Scorecard td:nth-child(8),
table.Scorecard td:nth-child(9),
table.Scorecard td:nth-child(10),
table.Scorecard td:nth-child(11),
table.Scorecard td:nth-child(12),
table.Scorecard td:nth-child(13),
table.Scorecard td:nth-child(14),
table.Scorecard td:nth-child(15),
table.Scorecard td:nth-child(16) {
    width: 32pt;
    padding: 0;
}

@media print {
    table.Scorecard td:nth-child(5),
    table.Scorecard td:nth-child(6),
    table.Scorecard td:nth-child(7),
    table.Scorecard td:nth-child(8),
    table.Scorecard td:nth-child(9),
    table.Scorecard td:nth-child(10),
    table.Scorecard td:nth-child(11),
    table.Scorecard td:nth-child(12),
    table.Scorecard td:nth-child(13),
    table.Scorecard td:nth-child(14),
    table.Scorecard td:nth-child(15),
    table.Scorecard td:nth-child(16) {
        width: 24pt;
    }

    table.Scorecard td {
        text-align: center;
        padding-left: 2pt;
        padding-right: 2pt;
    }
}

table#TotalScore {
    margin-left: auto;
    margin-right: 0;
    width: auto;
    font-size: 10pt;
}

table#TotalScore,
table#TotalScore td {
    border-width: 1pt;
    border-color: #999;
    border-style: solid;
}

table#TotalScore td {
    text-align: center;
    padding: 2pt 0 0;
    width: 16pt;
}

table#TotalScore tr {
    height: 12pt;
    line-height: 100%;
}

table#TotalScore td:nth-child(1) {
    width: auto;
    padding-left: 3pt;
    padding-right: 3pt;
    text-align: left;
    min-width: 100pt;
}

@media print {
    table#TotalScore {
        font-size: 7pt;
    }

    table#TotalScore td {
        padding-top: 1pt;
        width: 12pt;
    }

    table#TotalScore tr {
        height: 9pt;
    }

    table#TotalScore td:nth-child(1) {
        padding-left: 2pt;
        padding-right: 2pt;
        min-width: 70pt;
    }
}

table.Roster {
    margin-top: 10pt;
    font-size: 11pt;
    width: auto;
    border-collapse: collapse;
    border-width: 1.5pt;
    border-color: black;
    border-top-style: solid;
    border-bottom-style: solid;
}

table.Roster td:nth-child(1),
table.Roster td:nth-child(2) {
    text-align: left;
}

@media print {
    table.Roster {
        margin-top: 7pt;
        font-size: 8pt;
    }
}