body {
    margin: 0;
    padding: 0;
}

#maincontainer {
    width: 960px;
    margin: 0 auto;
    background-color: #ffffff;
}

#topsection {
    padding-bottom: 10px;
    padding-top: 10px;
}

#topsection h1 {
    margin: 0;
    padding-top: 15px;
}

#contentwrapper {
    float: left;
    width: 100%;
    background-color: #ffffff;
}

#contentcolumn {
    margin-right: 200px;
}

#contentcolumn .innertube {
    clear: both;
}

#rightcolumn {
    float: left;
    width: 200px;
    margin-left: -200px;
}

div.hidemenu {
    display: none;
}

#footer {
    clear: left;
    width: 100%;
    text-align: center;
    padding: 0;
    padding-top: 20px;
}

.innertube {
    margin: 10px;
    margin-top: 0;
}

.clear {
    clear: both;
}

img {
    border: 0;
}

td img {
    vertical-align: middle
}

table,
tr,
td {
    padding: 0;
    margin: 0;
    border: 0;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

table.tool {
    float: left;
}

table.tool td {
    white-space: nowrap;
}

table.syntaxtable td {
    padding: 2px;
    padding-right: 5px;
}

table.infotable td,
table.infotable th {
    vertical-align: top;
    padding: 4px;
    border: 1px solid #bbbbbb;
}

table.infotable th {
    background-color: #eeeeee;
    text-align: left;
    font-weight: 600;
}

td.top,
th.top {
    vertical-align: top;
}

td.right,
th.right,
table.infotable th.right {
    text-align: right;
}

tr.bold td {
    font-weight: 600;
}

tr.comment td {
    font-style: italic;
    text-align: center;
}

.tdvaluesmall,
.tdvaluedate {
    width: 200px;
}

.resultbox {
    min-height: 26px;
}

#result1 {
    min-height: 45px;
}

.warning,
.error {
    font-weight: 600;
    color: #8b0000;
}

body {
    font-size: 13px;
    background: #D4D9DD url(/img/bg.png) repeat-y fixed center;
    font-family: "Open Sans", "Lucida Grande", sans-serif;
    font-weight: 400;
    line-height: 22px;
    color: #000000;
    margin-bottom: 40px;
}

pre,
code {
    font-family: Consolas, monospace;
}

code {
    background-color: #f0f0f0;
}

pre,
pre code {
    background-color: #fafafa;
}

a {
    color: #21759a;
    text-decoration: none;
}

a:active,
a:hover {
    color: #882222;
}

p a {
    border-bottom: 1px solid #dfdfdf;
}

a.nocolor,
a i.fa {
    color: #444;
}

a i.fa.blue {
    color: #21759a;
}

a.currentpage {
    color: #222;
}

a.currentpage:after {
    content: '\2022';
    padding-left: 5px;
    color: #822;
}

h1,
h2 {
    font-family: 'Roboto Slab', Georgia, serif;
    font-weight: 400;
}

h1 {
    border-bottom: 1px solid #dedede;
    font-size: 30px;
    color: #882222;
    padding-bottom: 10px;
    margin-bottom: 14px;
}

#topsection h1 {
    padding-top: 30px;
}

h2 {
    font-size: 20px;
    color: #003D5D;
    color: #143470;
    margin-bottom: 14px;
    margin-top: 46px;
    padding: 0;
}

#rightcolumn h2 {
    background: none;
    text-indent: 0;
}

h2.first,
p.first,
h2#efhead {
    padding-top: 0;
    margin-top: 0;
}

h3 {
    font-size: 110%;
    color: #444;
    font-weight: 600;
    padding: 0;
    margin: 15px 0 15px 0;
}

p {
    margin: 8px 0 20px;
}

b,
em {
    font-weight: 700;
}

#timebox {
    width: 180px;
    border: 1px solid #333333;
    text-align: center;
}

#timebox b {
    color: #882222
}

#ad_code,
div.ad_code {
    padding: 20px;
    padding-left: 0;
    width: 728px;
}

div.ad_keywords,
div.ad_center {
    margin: auto;
}

.small,
#footer {
    font-size: 90%;
}

.highlight,
.highlightbox {
    text-align: center;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #003D5D;
    margin: 0;
    margin-bottom: 20px;
    color: #222;
}

.highlight h3,
.highlightbox h3 {
    font-size: 27px;
    font-weight: normal;
    color: #222;
}

.highlight {
    background-color: #ccddff;
}

.inline {
    display: inline;
}

input,
button,
select {
    border: 1px solid #999;
    padding: 4px;
    font-size: 15px;
    border-radius: 2px;
    -webkit-box-shadow: 2px 2px 4px #ddd;
    box-shadow: 2px 2px 4px #ddd;
}

input:focus,
button:focus,
select:focus,
input.button:hover,
button.button:hover {
    border: 1px solid #666;
    -webkit-box-shadow: 0px 0px 5px #777;
    box-shadow: 0px 0px 5px #777;
}

input.button,
button.button {
    border-radius: 5px;
    border: 1px solid #999999;
    background-color: #fff9cb;
    color: #333;
}

button.show-comments {
    margin-top: 20px;
    padding: 6px 40px 6px 40px;
    cursor: pointer;
    -webkit-box-shadow: none;
    box-shadow: none;
}

input.dateform {
    width: 30px;
}

input.year {
    width: 50px;
}

label input {
    border: 1px solid #ffffff;
}

form div {
    padding-top: 7px;
}

form#hf {
    padding-top: 20px;
}

hr.lefthr {
    border: none 0;
    border-top: 1px dashed #888;
    width: 400px;
    height: 1px;
    text-align: left;
    margin: 6px auto 20px 0;
}

.help[title] {
    cursor: help;
}

tr.otherYear {
    color: #999999
}

tr.currentWeek,
tr.currentDay {
    font-weight: 600;
    font-size: 120%;
}

td.numbers {
    text-align: right;
}

.nowrap {
    white-space: nowrap;
}

#ecclock,
.ecclock {
    text-align: center;
    padding: 10px;
    border-radius: 10px;
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    background-color: #eaeafa;
    display: inline;
}

#clocknotice,
.clocknotice {
    padding-left: 9px;
    display: inline;
    color: #999999;
}

td.proglang {
    font-weight: 600;
    width: 120px;
    vertical-align: top
}

td.progcode {
    vertical-align: top
}

#br td {
    vertical-align: middle
}

#br label {
    padding-left: 7px;
    padding-right: 7px;
}

.socialbtn a {
    padding-right: 3px;
}

.socialbtn i.fa {
    padding-top: 7px;
    padding-bottom: 7px;
    background-color: #f6f6f6;
    margin-top: 6px;
}

.socialbtn i.fa:hover {
    background-color: #e6e6e6;
}

#mobilelink,
#mobilemenulink,
span.close {
    display: none;
}

.floatingHeader {
    position: fixed;
    top: 0;
    visibility: hidden;
    border-collapse: collapse;
    border-spacing: 0;
}

.mobileonly {
    display: none;
}

.desktoponly {
    display: inline;
}

kbd {
    background: #EEEEEE none repeat scroll 0 0;
    border-color: #CCCCCC #AAAAAA #888888 #BBBBBB;
    border-style: solid;
    font-family: Consolas, monospace;
    border-width: 1px 1px 2px 2px;
    padding: 2px 3px;
    white-space: nowrap;
}

body .cc_container {
    padding-top: 4px;
    padding-bottom: 4px;
    text-align: left;
}

body .cc_container .cc_logo {
    display: none;
}

#responsive {
    content: "L";
    z-index: 3;
    position: absolute;
    top: -999em;
    left: -999em;
}

@media only screen and (min-width : 0px) and (max-width : 979px) {
    #responsive {
        content: "M";
        z-index: 2;
    }

    body {
        background: #D4D9DD url(/img/bg-740.png) repeat-y fixed center;
    }

    #mobilelink {
        display: block;
    }

    #mobilemenulink {
        display: block;
        float: right;
        margin-top: 10px;
        margin-right: 10px;
    }

    #mobilemenulink a {
        border: 1px solid #999;
        border-radius: 3px;
        -webkit-box-shadow: 2px 2px 4px #ddd;
        box-shadow: 2px 2px 4px #ddd;
        background-color: #fff9cb;
        background-color: #eeeeee;
        color: #333333;
        font-size: 20px;
        padding: 6px;
        padding-left: 12px;
        padding-right: 12px;
    }

    #maincontainer {
        width: 730px;
    }

    #rightcolumn {
        display: none;
        position: absolute;
        right: 0;
        width: 220px;
        top: 0;
        z-index: 100;
        box-shadow: 0px 0px 15px black;
        background: white;
        padding: 10px;
        padding-bottom: 0;
        -webkit-transform-origin: 100% 50%;
        -webkit-transition: -webkit-transform 0.2s ease-in-out;
        outline: 0;
        min-height: 100%;
    }

    #rightcolumn .innertube {
        height: 100%;
        position: relative;
        padding-bottom: 0;
    }

    #rightcolumn h2 {
        font-size: 17px;
        padding-top: 14px;
        margin-top: 0;
    }

    #rightcolumn .firstsub {
        border: 0;
        padding-top: 10px;
        padding-left: 0;
    }

    #contentcolumn {
        margin-right: 0;
    }

    .innertube {
        margin: 5px;
    }

    table.tool td {
        white-space: normal;
    }

    span.close {
        display: block;
        position: relative;
        left: 2px;
        top: 10px;
        width: 25px;
        height: 25px;
        background-image: url(/img/close_button.gif);
        background-repeat: no-repeat;
        cursor: pointer;
    }

    .mobileonly {
        display: inline;
    }

    .desktoponly {
        display: none;
    }

    .socialcount {
        display: none;
    }

    td,
    pre {
        word-break: break-all;
    }

    .clock {
        width: auto !important;
    }

    .biggerlinks a,
    a.biggerlinks {
        display: inline-block;
        margin: 6px;
    }

    input,
    button,
    select {
        font-size: 13px;
    }
}

@media only screen and (max-width: 746px) {
    #responsive {
        content: "S";
        z-index: 1;
    }

    body {
        background: #ffffff;
        line-height: auto;
    }

    .small,
    #footer {
        font-size: 100%;
    }

    #contentwrapper {
        -webkit-text-size-adjust: 110%;
    }

    #footer {
        -webkit-text-size-adjust: 100%
    }

    #maincontainer {
        width: auto;
        padding: 6px;
    }

    table.syntaxtable {
        display: none;
    }

    h1,
    #topsection h1 {
        line-height: 100%;
    }

    input.dateform {
        width: 20px;
    }

    input.year {
        width: 30px;
    }

    select[name=tz] {
        width: 80px;
    }

    div.ad_keywords {
        display: none;
    }

    div#ecclock {
        display: block;
        margin-top: 5px;
    }

    input,
    button {
        margin-bottom: 3px;
    }

    .hidemobile {
        display: none;
    }

    #rightcolumn .sub {
        border: 0;
        padding-left: 10px;
        width: auto;
    }

    #ad_code,
    div.ad_code {
        width: auto;
    }

    table.infotable {
        width: auto;
    }

    #EpochClock {
        font-size: 60px !important;
    }

    #Time {
        font-size: 26px !important;
    }

    #earlyyears a {
        display: inline-block;
        margin: 4px;
    }

    .tdvaluesmall {
        width: 80px;
    }

    h1 {
        font-size: 24px;
    }

    h2 {
        font-size: 18px
    }

    td.proglang {
        width: 100px;
    }
}

@media only screen and (min-width: 1240px) {
    #responsive {
        content: "XL";
        z-index: 4;
    }

    body {
        background: #D4D9DD url(/img/bg-1240.png) repeat-y fixed center;
        font-size: 14px;
    }

    #maincontainer {
        width: 1140px;
    }

    h2 {
        font-size: 24px;
    }

    #contentcolumn {
        margin-right: 240px;
    }

    #rightcolumn {
        margin-left: -220px;
        width: 220px;
    }

    td.proglang {
        width: 160px;
    }

    input,
    button,
    select {
        font-size: 15px;
        padding: 5px;
    }

    form div.clear {
        padding-top: 15px;
    }

    div.ad_code.ad_center {
        width: 970px;
    }
}