html, body {height: 100%; margin: 0; padding: 0}
body {margin: 0; padding: 0; font-family: "Calibri", "Open Sans", sans-serif; background: #181818; color: #c0c0c0;}
#content {background: white; color: #282828; border-style: solid; border-color: #0048B0; border-width: .6ex 0; line-height: 1.45em; padding: 1ex 1em 3em 1em}
#content, #navbar {min-width: 825px}
#content h1:first-child {margin-top: 0.2ex}
#content:after {content: " "; visibility: hidden; display: block; font-size: 0; height: 0; clear:both;}
#content ul {margin-top: 0}
#content h2 + ul {margin-top: 0.4em;}

h1, h2, h3 {line-height: 1em;}

#navbar {background: #202020; line-height: 2.5em}
#navbar ul {list-style-type: none; margin: 0; padding: 0;}
#navbar > ul > li {display: inline-block; position: relative;}
.navbar-last {margin-right: 2em;}
#navbar #navbar-current a {color: #e8e8e8;}
#navbar a {padding: 0 1em; color: #d0d0d0;}
#navbar a:hover {color: #ffffff;}
#navbar-home {margin-right: 2em;}
#navbar-home > a {color: #40CFFF}
#navbar-home > ul {width: 12em; background: #202020; position: absolute; top: 2.5em; left: 0; display: none; border: 1px solid #0048B0; border-width: 0 .5ex .5ex 0; padding-bottom: 1ex; z-index: 2;}
#navbar-home:hover > ul {display: block}
#navbar-home > ul a {display: block}
#home-arrow {font-size: 0.80em; line-height: 1em;}
#footer {margin: 1em auto 0 auto; width: 330px; text-align: center; padding-bottom: 1em; font-size: 0.90em;}

#past-links {color: #808080}
#past-links ul {list-style-type: none; display: inline-block; margin: 0; line-height: 1.25em; padding: 0;}
#past-links li {margin: 0; padding: 0 0.2ex; display: inline-block;}
#past-links a {padding: 0 0.7em; color: #0080ff;}
#past-links a.rootlink {color: #A3BED9}

a:link, a:visited {color: #007ED9; text-decoration: none}
th a:link, th a:visited {color: #004575;}
a:hover, a:active {text-decoration: underline}
a img {border: 0}

h1, h2, h3 {margin-bottom: 0.35ex}
p {margin: 0.5ex 0 0 0}
p + p {margin: 0;}

h1, h3 {margin-top: 0.5em; }
h2 {margin-top: 1em;}

.stats th {text-align: left; padding: 0.1em 0.5em; background-color: #e8e8e8}
.stats td {padding: 0 0.5em}
.stats {margin: 0.5em 0; border: 0.2ex solid #cacaca; background-color: #f8f8f8}
.stats caption {font-weight: bold}
.stats caption.nb {font-weight: normal}
.statslegend {margin: -0.50em 0.5em 0.5em 0.59em; font-size: 0.85em}

a del {text-decoration: none; color: #2E3A4D}

.advscore {color: #0080ff}
.perscore {color: #A335EE; font-weight: bold}
.failscore {color: #2E3A4D;}
.num, th.num {text-align: right}
.titlerow th {text-align: center}

td.mid, th.mid {text-align: center}
.sortable > thead > .titlerow th {cursor: pointer}

#content hr {color: #CEEAF2; border-style: solid}
#content hr.softbreak {color: #c0c0c0; margin: 0.5em 0.5em 0.5em 0; max-width: 120px}
.groupbreak {display:inline-block; border-top: 1px solid #808080; padding-top: 1px; margin-top: 1px; min-width: 150px}

.pagenav {font-size: 0.90em; text-align: center; line-height: 1.5em; margin-top: 1em}
.pagenav a {vertical-align: bottom; white-space: nowrap}
.pagenav > a + a {margin-left: 0.8em}
a.selected {color: black; font-weight: bold; cursor: default;}
a.selected:hover {text-decoration: none}

#lang-rounds {margin: 1ex 0; line-height: 1.35em;}
#lang-rounds dt {font-weight: normal;}
#lang-rounds dd + dt {margin-top: 1ex;}
#lang-rounds dd {margin-left: 0;}
#lang-rounds ul {margin: 0; list-style-type: none; padding-left: 1.5em;}

#lang-info {margin: 0.5em 2em; text-align: justify; max-width: 37.5em; line-height: 1.25em;}
#lang-info > div {text-align: right; font-size: 0.90em;}

#round-lang-titlerow th {padding: 0 0.75em; cursor: auto;}
#unidentified-submissions td:first-child + td {padding-right: 1em;}

span.sz {font-size: 80%; color: #444;}
.title-desc {border-bottom: 1px dotted #505050;}

#find-solutions-list {list-style: none; margin: 0; padding: 0;}
#find-solutions-list > li {display: inline-block; vertical-align: top; padding: 1ex; margin: 1ex; min-width: 11em;}
#find-solutions-list > li > span {font-weight: bold;}
#find-solutions-list ol {list-style-type: upper-latin; padding-left: 1.4em;}

.compact-links a {display: inline-block; vertical-align: bottom; text-overflow: ellipsis; overflow: hidden; max-width: 50%;}
.compact-links.compact-links-75 a {max-width: 75%;}
.compact-links.compact-links-100 a {max-width: 95%;}