

/*
 * base stylesheets included in every chart
 */
.chart #header {
  min-height: 1px;
  position: relative;
}
.chart #header .header-right {
  position: absolute;
  right: 10px;
  z-index: 20;
}
.chart #footer {
  min-height: 1px;
  position: relative;
  bottom: 0;
  left: 0;
  right: 0;
  height: 25px;
}
.chart #footer .footer-left,
.chart #footer .footer-right {
  position: absolute;
  bottom: 5px;
  z-index: 1000;
}
.chart #footer .footer-left {
  left: 5px;
}
.chart #footer .footer-right {
  right: 5px;
}
.chart .logo {
  position: absolute;
  right: 0;
  bottom: 0;
}
.chart .logo .big {
  display: none;
}
.chart.plain #footer {
  height: 10px;
}
.chart.js .noscript {
  display: none;
}
.chart .hidden {
  display: none;
}
.chart .label.annotation span {
  background: transparent;
}


/* ======= DEMO LAYOUT ======= */

body {
    background-color: #fff;
    color: #00283c;
    font-family: "Tahoma", Helvetica, sans-serif;
    margin: 0;
    padding: 0;
}

.container {
    width: 90%;
    padding: 10px;
    margin: 0 auto;
}

h1,
h2,
h3,
h4,
img {
    color: #00283c;
    border: none;
}

h1 {
    font-size: 1.3em;
    font-weight: bold;
}

a:link,
a:visited {
    color: #005078;
    text-decoration: none;
}

a:hover {
    color: #00a0f0;
}

a img {
    border: none;
}

p {
    font-size: 0.875em;
    line-height: 1.5em;
}

.lead {
    font-size: 2em;
    margin-bottom: 40px;
}

.clear {
    clear: both;
    line-height: 0;
    font-size: 0;
}


/* ============ TIMELINE ============= */

.timelineContainer {
    border-left: 2px solid #ccdce4;
    margin: 20px auto;
    width: 100%;
}

div.timelineToggle {
    margin-right: 0;
    white-space: nowrap;
}

a.expandAll {
    color: #ccc;
    cursor: pointer;
    background: #000;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    font-size: 12px;
    padding: 3px 5px;
}

a.expandAll:hover {
    color: #7DBADF;
    cursor: pointer;
}

div.timelineMajor {
    margin: 0 0 12px;
}

.timelineMajor h2 {
    background: url(../images/timeline_century_tick.gif) left center no-repeat;
    font-family: "Tahoma", Helvetica, sans-serif;
    cursor: pointer;
    font-weight: 400;
    margin: 0 0 10px;
    padding: 4px 4px 4px 20px;
}

.timelineMajor h2 span {
    background: #49baf2;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    color: #FFF;
    letter-spacing: .1em;
    line-height: 1.7em;
    padding: 3px 5px 1px;
}

dl.timelineMinor {
    margin: 0 12px 0 0;
    padding: 4px 4px 4px 0;
    position: relative;
}

.timelineMinor dt {
    background: url(../images/timeline_decade_tick.gif) left center no-repeat;
    clear: left;
    color: #49baf2;
    list-style-type: none;
    margin: 0 0 12px;
    padding: 0 0 0 24px;
    white-space: nowrap;
}

.timelineMinor dt a {
    cursor: pointer;
}

.timelineMinor dt a.closed {
    font-size: 1em;
    margin-left: 0;
}

.timelineMinor dd {
    padding-left: 0px;
}

.timelineMinor dd h3 {
    color: #00283c;
}

.timelineEvent p {
    line-height: 1.5em;
    margin: 6px 0 10px;
}

.timelineEvent h4 {
    font-weight: 400;
    margin: 10px 0 0;
    padding: 0 0 0 20px;
}

.timelineEvent blockquote {
    border-left: 6px solid #ccdce4;
    font-style: italic;
    margin-left: 0;
    padding: 0 30px;
}

.timelineEvent blockquote .attribution {
    font-size: 0.7em;
    text-align: left;
}

.timelineEvent div.media {
    padding: 10px 0 12px 0;
}

.timelineEvent .media img {
    border: 1px solid #ccdce4;
    margin: 0;
}

.timelineEvent .media p {
    font-size: 1.2em;
    margin: 0;
    padding: 0;
}

.timelineEvent .media a:link,
.timelineEvent .media a:visited {
    color: #005078;
}

.timelineEvent .media a:hover {
    color: #00a0f0;
}


/* Smartphones (landscape and portrait) ----------- */

* {
    margin: 0 auto;
}

body {
    font-size: large;
}

.container {
    padding: 10px;
}

div.timelineToggle {
    float: none;
}

.timelineEvent div.media {
    display: none;
    float: none;
}

h1 {
    font-size: 2em;
    font-weight: bold;
}

h2 {
    font-size: 5em;
    font-weight: 400;
}

p {
    font-size: 3.6em;
    font-weight: 400;
}

.timelineMajor h2 {
    background: url(../images/timeline_century_tick.gif) left center no-repeat;
    font-family: "Tahoma", Helvetica, sans-serif;
    cursor: pointer;
    font-size: 1em;
    font-weight: 400;
}

.timelineMinor dt {
    font-size: 3.4em;
    white-space: normal;
}

.timelineEvent {
    margin-left: 2.5em;
}

.timelineMinor dd h3,
.timelineMinor p {
    font-size: 1em;
    margin: 0;
    padding: 0;
}

.timelineEvent .media p {
    font-size: 3em;
}

dl.timelineMinor {
    float: none;
}

.timelineEvent p {
    float: none;
}

.timelineEvent blockquote {
    font-style: italic;
    font-size: 3em;
}


/*
    Colorbox Core Style:
    The following CSS is consistent between example themes and should not be altered.
*/

#colorbox,
#cboxOverlay,
#cboxWrapper {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9999;
    overflow: hidden;
}

#cboxOverlay {
    position: fixed;
    width: 100%;
    height: 100%;
}

#cboxMiddleLeft,
#cboxBottomLeft {
    clear: left;
}

#cboxContent {
    position: relative;
}

#cboxLoadedContent {
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

#cboxTitle {
    margin: 0;
}

#cboxLoadingOverlay,
#cboxLoadingGraphic {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#cboxPrevious,
#cboxNext,
#cboxClose,
#cboxSlideshow {
    cursor: pointer;
}

.cboxPhoto {
    float: left;
    margin: auto;
    border: 0;
    display: block;
    max-width: none;
    -ms-interpolation-mode: bicubic;
}

.cboxIframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

#colorbox,
#cboxContent,
#cboxLoadedContent {
    box-sizing: content-box;
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
}


/*
    User Style:
    Change the following styles to modify the appearance of Colorbox.  They are
    ordered & tabbed in a way that represents the nesting of the generated HTML.
*/

#cboxOverlay {
    background: url(images/overlay.png) repeat 0 0;
}

#colorbox {
    outline: 0;
}

#cboxTopLeft {
    width: 21px;
    height: 21px;
    background: url(images/controls.png) no-repeat -101px 0;
}

#cboxTopRight {
    width: 21px;
    height: 21px;
    background: url(images/controls.png) no-repeat -130px 0;
}

#cboxBottomLeft {
    width: 21px;
    height: 21px;
    background: url(images/controls.png) no-repeat -101px -29px;
}

#cboxBottomRight {
    width: 21px;
    height: 21px;
    background: url(images/controls.png) no-repeat -130px -29px;
}

#cboxMiddleLeft {
    width: 21px;
    background: url(images/controls.png) left top repeat-y;
}

#cboxMiddleRight {
    width: 21px;
    background: url(images/controls.png) right top repeat-y;
}

#cboxTopCenter {
    height: 21px;
    background: url(images/border.png) 0 0 repeat-x;
}

#cboxBottomCenter {
    height: 21px;
    background: url(images/border.png) 0 -29px repeat-x;
}

#cboxContent {
    background: #fff;
    overflow: hidden;
}

.cboxIframe {
    background: #fff;
}

#cboxError {
    padding: 50px;
    border: 1px solid #ccc;
}

#cboxLoadedContent {
    margin-bottom: 28px;
}

#cboxTitle {
    position: absolute;
    bottom: 4px;
    left: 0;
    text-align: center;
    width: 100%;
    color: #949494;
}

#cboxCurrent {
    position: absolute;
    bottom: 4px;
    left: 58px;
    color: #949494;
}

#cboxLoadingOverlay {
    background: url(images/loading_background.png) no-repeat center center;
}

#cboxLoadingGraphic {
    background: url(images/loading.gif) no-repeat center center;
}


/* these elements are buttons, and may need to have additional styles reset to avoid unwanted base styles */

#cboxPrevious,
#cboxNext,
#cboxSlideshow,
#cboxClose {
    border: 0;
    padding: 0;
    margin: 0;
    overflow: visible;
    width: auto;
    background: none;
}


/* avoid outlines on :active (mouseclick), but preserve outlines on :focus (tabbed navigating) */

#cboxPrevious:active,
#cboxNext:active,
#cboxSlideshow:active,
#cboxClose:active {
    outline: 0;
}

#cboxSlideshow {
    position: absolute;
    bottom: 4px;
    right: 30px;
    color: #0092ef;
}

#cboxPrevious {
    position: absolute;
    bottom: 0;
    left: 0;
    background: url(images/controls.png) no-repeat -75px 0;
    width: 25px;
    height: 25px;
    text-indent: -9999px;
}

#cboxPrevious:hover {
    background-position: -75px -25px;
}

#cboxNext {
    position: absolute;
    bottom: 0;
    left: 27px;
    background: url(images/controls.png) no-repeat -50px 0;
    width: 25px;
    height: 25px;
    text-indent: -9999px;
}

#cboxNext:hover {
    background-position: -50px -25px;
}

#cboxClose {
    position: absolute;
    bottom: 0;
    right: 0;
    background: url(images/controls.png) no-repeat -25px 0;
    width: 25px;
    height: 25px;
    text-indent: -9999px;
}

#cboxClose:hover {
    background-position: -25px -25px;
}


/*
  The following fixes a problem where IE7 and IE8 replace a PNG's alpha transparency with a black fill
  when an alpha filter (opacity change) is set on the element or ancestor element.  This style is not applied to or needed in IE9.
  See: http://jacklmoore.com/notes/ie-transparency-problems/
*/

.cboxIE #cboxTopLeft,
.cboxIE #cboxTopCenter,
.cboxIE #cboxTopRight,
.cboxIE #cboxBottomLeft,
.cboxIE #cboxBottomCenter,
.cboxIE #cboxBottomRight,
.cboxIE #cboxMiddleLeft,
.cboxIE #cboxMiddleRight {
    filter: progid: DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF, endColorstr=#00FFFFFF);
}

.timelineEvent blockquote {
    border: none;
    font-style: normal;
    margin: 0;
    padding: 0;
}

.timelineEvent .blockquote {
    border-left: 6px solid #ccdce4;
    font-style: italic;
    margin-left: 0;
    padding: 0 30px;
}

blockquote {
    display: block;
    background: #fff;
    padding: 15px 20px 15px 45px;
    margin: 0 0 20px;
    position: relative;
    /*Font*/
    font-family: tahoma, arial;
    font-size: 18px;
    line-height: 1.2;
    color: #666;
    text-align: justify;
    /*Borders - (Optional)*/
    border-left: 15px solid #00A0F0;
    border-right: 2px solid #00A0F0;
    /*Box Shadow - (Optional)*/
    -moz-box-shadow: 2px 2px 15px #ccc;
    -webkit-box-shadow: 2px 2px 15px #ccc;
    box-shadow: 2px 2px 15px #ccc;
}

blockquote::before {
    content: "\201C";
    /*Unicode for Left Double Quote*/
    /*Font*/
    font-family: Georgia, serif;
    font-size: 60px;
    font-weight: bold;
    color: #999;
    /*Positioning*/
    position: absolute;
    left: 10px;
    top: 5px;
}

blockquote::after {
    content: "\201D";
    /*Unicode for Left Double Quote*/
    /*Font*/
    font-family: Georgia, serif;
    font-size: 60px;
    font-weight: bold;
    color: #999;
    /*Positioning*/
    position: absolute;
    /* left: 10px;*/
    bottom: -30px;
}

blockquote a {
    text-decoration: none;
    background: #eee;
    cursor: pointer;
    padding: 0 3px;
    color: #c76c0c;
}

blockquote a:hover {
    color: #666;
}

blockquote em {
    font-style: italic;
}

.timelineMajor h2 span {
    background-color: #00A0F0;
}



/*
 * Default Theme
 * -------------
 *
 */


a { color: #0088CC; }

.chart {
    font-family: Helvetica Neue, Arial;
    font-weight: 400;
    font-size: 12px;
    margin: 0 0px;
    background: #fff;
}

h1 {
    font-size: 22px;
    font-weight: 300;
    margin: 0 0 10px;
    text-align: left;
}

h1 span {
}

/* NOTE: On IE, there is a border around each image which is a link */
a img { border:0px; }

.chart p { margin: 5px 0 10px!important; line-height: 17px;}

#chart, .dw-chart-body {
    margin-top: 10px;
}

.label {
    font-size: 12px;
}

.label span {
    color: #333;
    text-shadow: 0 0 2px #fff;
}

.label.inverted span {
    text-shadow: 0 0px 2px #000000;
}

.label.outline span {
    text-shadow: 0 1px 0 #FFFFFF, 1px 0 0 #FFFFFF, 0 -1px 0 #FFFFFF, -1px 0 0 #FFFFFF,
        1px 1px 0 #FFFFFF, 1px -1px 0 #FFFFFF, -1px -1px 0 #FFFFFF, -1px 1px 0 #FFFFFF,
        0 2px 1px #FFFFFF, 2px 0 1px #FFFFFF, 0 -2px 1px #FFFFFF, -2px 0 1px #FFFFFF,
        -1px 2px 0px #FFFFFF, 2px -1px 0px #FFFFFF, -1px -2px 0px #FFFFFF, -2px -1px 0px #FFFFFF,
        1px 2px 0px #FFFFFF, 2px 1px 0px #FFFFFF, 1px -2px 0px #FFFFFF, -2px 1px 0px #FFFFFF;
}

.label.outline span sup {
    text-shadow: none;
}

.label.highlighted, .label.axis {
    font-size: 12px;
    z-index: 100;
}

.label.hover {
    font-weight: bold;
}

.label.inverted span {
    color: #fff;
}

.label.highlighted {
    font-weight: bold;
}

.label.value span {
    font-size: 12px;
}

.label.series span {
    font-size: 12px;
}


.tooltip {
    z-index: 200;
    padding-bottom: 0px;
}

.tooltip .content {
    background-color: #fff;
    border: 1px solid #888;
    box-shadow: 2px 2px 2px rgba(0,0,0,.2);
    padding: 5px 8px;
}

.tooltip label {
    font-weight: 700;
}

.tooltip label:after {
    content: ": ";
}

.dw-chart-notes {
    font-style: italic;
    margin-bottom: 10px;
}

.chart.theme-default .dw-chart-notes {
    font-style: italic;
    margin-bottom: 5px;
    position: relative;
    margin-top: 10px;
}

#footer, .dw-chart-footer {
    font-size: 11px;
    color: #888;
    /* The footer must now cover the chart to allow
    the toggleable panel to "go up" */
    z-index: 1100;
    /* Sets the background here to propagate it to its children */
    background:transparent;
}

.chart.theme-default .dw-chart-footer .footer-left {
    left: 0;
}


#footer .footer-left,
.dw-chart-footer .footer-left {
    bottom:0;
    /* Vertical text align */
}

/* We have to break to absolute positionof the footer
to allow absolute positioning related to the .dw-chart-footer
within the .toggleable-panel */
.dw-chart-footer .footer-right {
    position: absolute;
    bottom: 0;
    right: 0;
}


/* Target screens under 400px */
@media all and (max-width: 400px) {

    .chart .dw-chart-footer,
    .chart #footer { height: auto; }

    .chart #footer .footer-left,
    .chart .dw-chart-footer .footer-left {
        position: static;
    }

    .chart #footer .footer-right,
    .chart .dw-chart-footer .footer-right {
        position:static;
        float:none;
        text-align:left;
        /* Vertical text align */
        padding: 0;
        margin: 2px 0 0;
    }
}

.clearfix:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

.clearfix {
    display: inline-block;
}

html[xmlns] .clearfix {
    display: block;
}

* html .clearfix {
    height: 1%;
}

svg .axis, svg .tick, svg .grid, svg rect {
    shape-rendering: crispEdges;
}


.label.rotate90 {
    -moz-transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
}

.label.smaller span {
    font-size: 80%;
}

.filter-links {
    height: 30px;
    overflow: hidden;
}

.filter-links a {
    padding: 0px 10px;
    box-shadow: 0 0 10px #ddd inset;
    border: 1px solid #bbb;
    border-left: 0;
    display: block;
    float: left;
    text-decoration: underline;
    color: #666;
    height: 28px;
    line-height: 28px;
    background: #fbfbfb;
}

.filter-links a:hover {
    background: #fff;
    color: #0088CC;
}

*+html .filter-links a {  background: #eeeeee; } /** IE7 hack **/
.filter-links a { background: #eeeeee\0/; }  /** IE8 hack **/


.filter-links a.active {
    font-weight: bold;
    color: #000;
    box-shadow: none;
    background: #fff;
    cursor: default;
    text-decoration: none;
}

.filter-links a:first-child {
    border-radius: 0px 0 0 0px;
    border-left: 1px solid #bbb;
}

.filter-links a:last-child {
    border-radius: 0 0px 0px 0;
}

.filter-select {
    background-color: #FFFFFF;
    border: 1px solid #CCCCCC;
    border-radius: 0px 0px 0px 0px;
    padding: 4px 6px;
    vertical-align: middle;
    font-size: 12px;
}

.line-chart .tooltip {
    border-radius: 0px;
}

/* Smartphones (portrait and landscape) ----------- */
@media only screen
and (min-device-width : 320px)
and (max-device-width : 480px) {
    /* no fullscreen button on smartphones, never */
    .fs-btn {
        display: none!important;
    }
}


