@import url("code.css");

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Light.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto-Italic';
    src: url('../fonts/Roboto-LightItalic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Roboto-Bold';
    src: url('../fonts/Roboto-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'FiraMono';
    src: url('../fonts/FiraMono-Regular.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@media all {html {font-size: 20px;}}
@media all and (max-width:1260px){html {font-size: 20px;}}
@media all and (max-width:1000px){html {font-size: 20px;}}
@media all and (max-width:960px){html {font-size: 19px;}}
@media all and (max-width:920px){html {font-size: 18px;}}
@media all and (max-width:880px){html {font-size: 17px;}}
@media all and (max-width:840px){html {font-size: 16px;}}
@media all and (max-width:800px){html {font-size: 16px;}}
@media all and (max-width:760px){html {font-size: 16px;}}


/*#ffbf2d*/

body,html {
    background-color: #fafafa;
    color: #073b4c;
    width: 100%;
    height: 100%;
    line-height: 1.6em;
    padding: 0px;
    margin: 0px;
    font-family: 'Roboto', sans-serif;
}

pre {
    border-left: 3px solid #118ab2;
    margin-left: -1em;
    color: #423;
    font-size: 0.9em;
    padding: 0 0 0 1em;
    text-align: left;
    font-family: fixed-width;
    overflow-x: auto;
    margin-bottom: 0.8rem;
}

code {
    font-family: 'FiraMono', monospace;
    border-radius: 0.3em;
}

code.language-shell-hidden {
    visibility: hidden;
    display: none;
    border-radius: 0;
}

/* Arrange to have between 40 and 70 characters per line.  */

.width-control {
    max-width: 800px;
    width: 65%;
}

@media all and (max-width: 760px) { .width-control { width: 90%; } }

p {
    max-width: 70rem;
    margin-bottom: 0;
}

p + p {
    /*text-indent: 0.5rem;*/
    margin-top: 1.0rem;
}

#header {
    width: 100%;
    box-shadow: 0 3px 8px #ccc;
    margin-bottom: 1em;
}

#header a.logo img {
    border-color: transparent;
    border-style: solid;
    border-width: 2px;
    margin-top: 1em;
}

#header a.logo:focus img {
    border-left: 2px dotted #118ab2;
    border-right: 2px dotted #118ab2;
}

#header .logo.small img {
    height: 4.5rem;
    vertical-align: middle;
}

#header .logo.small {
    border: none;
}

#header .members {
    float: right;
}

.frontpage #header {
    height: auto;
    text-align: center;
    padding-top: 2rem;
    padding-bottom: 1rem;
}

.frontpage #header .front-page-heading {
    font-size: 175%;
    line-height: 150%;
    text-align: left;
    padding-top: 0.5em;
}

.frontpage #header .logo img {
    margin: 0 auto;
    max-width: 100%;
    display: block;
    height: 10rem;
}

#menubar {
    display: inline-block;
}

.frontpage #menubar {
    margin: auto;
    padding: 0px;
    display: block;
    clear: both;
}

#header-inner {
    margin: auto;
    padding: 0px;
}

/* ghost element to maintain perfect centering */
#header-inner:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}

.latest-news {
    margin-top: 20px;
    padding-top: 0px;
    padding-bottom: 0px;
    padding-left: 10pt;
    border-left: solid 10px #ffbf2d;
    color: #533;
}

.news-brief {
}

#collaboration {
    border-top: solid 4px #aaaaaa;
    border-bottom: solid 4px #aaaaaa;
    background: #ffffff;
    width: 100%;
    bottom: 0px;
}
#collaboration-inner { margin: 10px auto 10px auto; }
#collaboration .members { text-align: center; }
#collaboration p { padding: 0px 10px 0px 10px; }
#collaboration .members ul { display: inline-block; padding: 0px; margin: 0px; }
#collaboration .members li {
    display: inline-block; padding: 0px 10px 0px 0px;
    vertical-align: middle;
}

.post {
    padding: 10px;
    margin-bottom: 25px;
}

hr {
    height: 3px;
    background: url('../images/h-separator-darker.png');
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    border: none;
}

.post h1 { color: #433; font-weight: bold; }
.post h2 { color: #433; padding: 0pt; font-size: 1.3rem; }

.post-about {
    color: #4D4D4D;
    font-size: 0.9em;
    margin-top: -2em;
}

#menubar ul { display: inline-block; padding: 0px; margin: 0px; }
#menubar li {
    display: inline-block;
    color: #000000;
    height: 32px;
    line-height: 32px;
    list-style-type: none;
    margin: 0px;
    margin: 0px 13px 0px 0px;
    text-transform: uppercase;
    text-decoration: none;
    font-size: small;
}
#menubar li.selected span {
    border-bottom: 2px solid black;
}
#menubar li img {
    vertical-align: middle;
}

#menubar ul:first-child {
    padding-left: 10px;
}

#content {
    margin: auto;
    padding: 0px;
}

#content .search-field {
    border: solid thin #aaaaaa;
    width: 100%;
    padding: 7px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

#content table {
    border-spacing: 0px;
    padding: 0px;
}

#content table td { padding: 3px 5px 3px 5px; height: 25px; }

#packages-table-wrapper {
    font-size: 16px;
}

#stand-by {
    background: #decd87;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    font-size: 16px;
}

#stand-by p { padding: 7px }

#footer-box {
    width: 100%;
    margin: auto;
    text-align: center;
    color: #555;
    font-size: 0.8rem;
}

#footer-box p {
    max-width: 100%;
    text-align: center;
    line-height: 1.4em;
}

h1 {
    clear: both;
    line-height: 125%;
    margin-top: 1.3rem;
    margin-bottom: .3rem;
    padding: 0px;
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
}

h1:first-child {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    margin-top: 0;
}

.title a { border: none; }
a {
    color: #000000;
    outline: none;
    border-style: none none solid none;
    border-width: 2px;
    border-color: #118ab2;
    text-decoration: none;
}
a:focus {
    border-bottom: 2px dotted;
    border-color: inherit;
}
a:visited {
    color: #433;
    border-color: #06d6a0;
    border-style: none none solid none;
    border-width: 2px;
    text-decoration: none;
}

a img { outline : none; }
.post img { width: 100%; }
img { border: none; }

audio, video, .full-width {
    display: block;
    margin: 50px auto;
    max-width: 100%;
}

article {
  counter-reset: footnotes;
}

article ul {
    list-style-type: disc;
    list-style-position: outside;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

article li::marker {
    color: #118ab2;
}

article ul li + li {
    margin-top: 1em;
}

a[aria-describedby="footnote-label"] {
  counter-increment: footnotes;
  text-decoration: none;
  color: inherit;
  cursor: default;
  outline: none;
  border: none;
}

a[aria-describedby="footnote-label"]::after {
  content: counter(footnotes);
  vertical-align: super;
  font-size: 0.8em;
  margin-left: 2px;
  color: #118ab2;
  cursor: pointer;
}

a[aria-describedby="footnote-label"]:focus::after {
  outline: thin dotted;
  outline-offset: 2px;
}

#footnote-labels {
    font-size: small;
    margin-top: 4em;
    border-top: 1px dotted #aaa;
    padding-top: 1em;
}
#footnote-labels ol {
    margin: 0;
    padding: 0;
}
#footnote-labels h2 {
    display: none;
}
#footnote-labels :target {
  background: yellow;
}

#footer-box a { color: #333333; border-width: 1px; }
#footer-box a:visited { color: #333333; }
