html, body {
    height: 100%;
}

.bottom {
    min-height: 100%;
    height: 100%;
    padding-bottom: 20px;
}

/* every page should need this */
input, textarea, select, .uneditable-input {
    width: 165px;
}

* {
    margin: 0;
}

.push {
    height: 199px; /* .push must be the same height as .footer */
    clear: both;
}

.footer {
    padding-top: 15px;
    clear: both;
    background: #8d8d8d;
    border-top: solid 1px #676767;
    width: 100%;
    color: rgba(255, 255, 255, 0.7);
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.5);
}

.wrapper {
    min-height: 100%;
    height: auto !important;
    height: 100%;
    margin: 0 auto -199px; /* the bottom margin is the negative value of the footer's height */
}

.footer ul {
    float: left;
    margin: 0;
    padding: 10px 2% 20px 0;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    width: 18%;
    list-style: none;
}

.footer ul:last-child {
    padding-right: 0;
}

.footer ul li a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
}

.footer ul li a:hover {
    text-decoration: underline;
}

.footer ul li h5 {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.5);
    margin-bottom: 10px;
    padding-bottom: 10px;
    line-height: 20px;
    border-bottom:1px solid #676767;
    -webkit-box-shadow:0 1px 0 rgba(255, 255, 255, 0.5);
    -moz-box-shadow:0 1px 0 rgba(255, 255, 255, 0.5);
    box-shadow:0 1px 0 rgba(255, 255, 255, 0.5);    }

.footer ul li h5 a {
    font-size: 14px;
    opacity: 1;
}

.footer .copyright {
    font-size: 12px;
    border-top:1px solid #808080;
    clear: both;
    padding: 10px 0 20px;
}

blockquote p {
    font-size: 13px;
    font-weight: normal;
    font-style: italic;
}

.langbar li {
    display: inline;
}

.langbar-cheatsheet li {
    display: block;
}

.langbar li a {
    color: rgba(0, 0, 0, 0.5);
    font-weight: bold;
    text-decoration: none;
    font-size: 14px;
    margin-right: 5px;
}

.langbar li a:hover {
    text-decoration: underline;
}

/*Coursera stuff*/

.label {
    white-space: nowrap;
}

h2 code { font-size: 18px; }
h3 code { font-size: 16px; }

.axis path,
.axis line {
    fill: none;
    stroke: #000;
    shape-rendering: crispEdges;
}

.bar {
    fill: steelblue;
}

.x.axis path {
    display: none;
}

div#pop-up {
    display: none;
    position:absolute;
    font-size: 11px;
    text-align: center;
    color: white;
    background: rgba(0,0,0,0.5);
    padding: 3px 8px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;

}

div#pop-up-arrow {
    position: absolute;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    bottom: 0;
    left: 50%;
    margin-left: -5px;
    margin-bottom: -5px;
    border-top-color: rgba(0,0,0,0.5);
    border-width: 5px 5px 0;
}

.jvectormap-label {
    position: absolute;
    display: none;
    border: solid 1px #CDCDCD;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    background: #292929;
    color: white;
    font-family: sans-serif, Verdana;
    font-size: smaller;
    padding: 3px;
}

.jvectormap-zoomin, .jvectormap-zoomout {
    position: absolute;
    left: 10px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    background: #292929;
    padding: 3px;
    color: white;
    width: 10px;
    height: 10px;
    cursor: pointer;
    line-height: 10px;
    text-align: center;
}

.jvectormap-zoomin {
    top: 10px;
}

.jvectormap-zoomout {
    top: 30px;
}
.h2 {
    font-size: 24px;
    line-height: 36px;
    color: #404040;
    font-weight: bold;
    display: block;
    -webkit-margin-before: 0.83em;
    -webkit-margin-after: 0.83em;
    -webkit-margin-start: 0px;
    -webkit-margin-end: 0px;
}

.topbar input:focus, .topbar input.focused {
    background-color: #FEFEFE;
    text-shadow: none;
}