body {
    margin: 0;
}

.graph_title {
    text-decoration: underline;
    font-size: 12pt;
    color: blue;
    cursor: pointer;
    padding: 5px;
    font-weight: bold;
    float: left;
    clear: both;
}

.full_graph {
    display: none;
    float: left;
    clear: both;
}

#show_all {
    float: left;
    clear: both;
    text-decoration: underline;
    font-size: 12pt;
    color: blue;
    cursor: pointer;
}

#customize_graph {
    float: left;
    clear: both;
    text-decoration: underline;
    font-size: 12pt;
    color: blue;
    cursor: pointer;
}

/* popup styles */
.pop-up {
    position: absolute;
    top: 0;
    left: -500em
}

.pop-up:target {
    position: static;
    left: 0;
}

.popBox {
    background: #ffffff;

    /* alternatively fixed width / height and negative margins from 50% */
    position: absolute;
    left: 30%;
    right: 30%;
    top: 20%;
    bottom: 20%;

    z-index: 1;
    /* padding:1%; removed 17/07/2012 */
    border: 1px solid #3a3a3a;

    /* CSS3 rounded corners, drop-shadow and opacity fade in */
    -moz-border-radius: 12px;
    border-radius: 12px;
    -webkit-box-shadow: 2px 2px 4px #3a3a3a;
    -moz-box-shadow: 2px 2px 4px #3a3a3a;
    box-shadow: 2px 2px 4px #3a3a3a;
    opacity: 0;
    -webkit-transition: opacity 0.5s ease-in-out;
    -moz-transition: opacity 0.5s ease-in-out;
    -o-transition: opacity 0.5s ease-in-out;
    -ms-transition: opacity 0.5s ease-in-out;
    transition: opacity 0.5s ease-in-out;
}

:target .popBox {
    position: fixed;
    opacity: 1;
}

.popBox:hover {
    box-shadow: 3px 3px 6px #5a5a5a;
}

.lightbox {
    display: none;
    text-indent: -200em;
    background: #000;
    opacity: 0.4;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

:target .lightbox {
    display: block
}

.close {
    position: absolute;
    top: -0.75em;
    right: -0.75em;
    display: block;
    width: 1em;
    height: 1em;
    font: bold large/1 arial, sans-serif;
    text-align: center;
    text-decoration: none;
    background: #000;
    border: 3px solid #fff;
    color: #fff;
    -moz-border-radius: 1em;
    -webkit-border-radius: 1em;
    border-radius: 1em;
    -moz-box-shadow: 0 0 1px 1px #3a3a3a;
    -webkit-box-shadow: 0 0 1px 1px #3a3a3a;
    box-shadow: 0 0 1px 1px #3a3a3a;
}

.close:before {
    content: "X"
}

.close:hover {
    box-shadow: 0 0 1px 1px #c00;
    background: #c00;
}

.close span {
    text-indent: -200em;
    display: block;
}

#links {
    display: none;
}

.popScroll {
    position: absolute;
    top: 9%;
    left: 3%;
    right: 3%;
    bottom: 9%;
    overflow-y: auto;
    padding-right: 0.5em;
}

.popScroll h2 {
    text-align: center;
}

.popScroll p {
    padding: 15px;
}

.clear {
    clear: both;
}

/* custom plot form*/
.three_list {
    width: 210px;
}

.three_list li input {
    float: right;
}

.three_list li {
    padding: 2px;
}

input[name='plot_title'], input[name='input_file'], input[name='extract_from'], input[name='extract_to'],
input[name='start_year'], input[name='smoothing_radius'], .input_spacing, input[name='extract_column'] {

}

input[name='plot_title'] {
    width: 220px;
}

#thickness input, #markers input, #line_style input {
    width: 40px;
}

input[name='base_start'], input[name='base_end'] {
    width: 50px;
}

#extract input, input[name='start_year'], input[name='end_year'], input[name='year_step'], input[name='title_size'],
input[name='legend_size'], input[name='fig_width'], input[name='fig_height'], input[name='extract_column'],
input[name='smoothing_radius'] {
    width: 43px;

}

#extract {
    width: 300px;
}

#legend_titles {
    width: 320px;
}

#generate_map {
/*
    border-bottom: 1px solid;
    height: 48px;
    margin-left: -9px;
*/
}

#generate_map label {
/*
    float: left;
    margin: 2px;
    font-size: 10.5pt;
*/
}

form#generate_map table td,
form#generate_map table th {
  padding:6px 8px;
  margin:0;
  vertical-align:middle;
  border:0;
}

form#generate_map table td.rowlabel,
form#generate_map table th.rowlabel {
  text-align:right;
}

#generate_map #last_label {
    margin-right: 0;
}

#id_plot_types ul label {
    /* position: relative; */
    top: -4px;
}

.box {
    float: left;
    border-right: 1px solid black;
}

#generate_map ul, .section1-4 ul li {
    list-style-type: none;
}

.link-like {
    color: blue;
    cursor: pointer;
}

/* tooltip styles */
a.tooltip {
    outline: none;
}

a.tooltip strong {
    line-height: 30px;
}

a.tooltip:hover {
    text-decoration: none;
}

a.tooltip span {
    z-index: 10;
    display: none;
    padding: 14px 14px;
    margin-top: -30px;
    margin-left: 28px;
    width: 500px;
    line-height: 16px;
}

a.tooltip:hover span {
    display: inline;
    position: absolute;
    color: #111;
    border: 1px solid #DCA;
    background: #fffAF0;
}

.callout {
    z-index: 20;
    position: absolute;
    top: 30px;
    border: 0;
    left: -12px;
}

/*CSS3 extras*/
a.tooltip span {
    border-radius: 4px;
    box-shadow: 5px 5px 8px #CCC;
}

#file_list {

}

#errors li {
    color: red;
    display: none;
    font-size: 16pt;
    font-weight: bold;
    position: fixed;
    text-align: center;
    width: inherit;
}

#errors {
    text-align: center;
    width: 100%;
    list-style-type: none;
    padding: 0;
    height: 25px;
}

.section1-4 {
    float: left;
    padding: 30px;
}

.section1-4 h3 {
    float: left;
}

.section1-4 p {
    clear: both;
}

.section1-4 input[type='text'], .section1-4 input[type='number'] {
    float: right;
}

#results {
    text-align: center;
}

label[for='id_data_sources_1'] {
    display: none;
}

.no_pad #cpad {
    padding: 0;
}

.graph_section {
    display: none;
}

.graph_section.first_graph {
    display: block;
}

.expandable_title {
    font-size: 14px;
    font-weight: bold;
    line-height: 30px;
    cursor: pointer;
    display: block;
    color: #5b657c;
}

.mpld3-tooltip .pointtooltip {
  opacity:1;
  font-family:sans-serif;
}

.mpld3-text {
  font-family:sans-serif;
}
