

/*
 * 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: absolute;
  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;
}




div.label.series span b {
    display: block;
}

div.label.series.outside span b {
    display: none;
}

.label.series.out {
    font-weight: bold;
}



/*
 * 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: 10px 0 0 10px;
    border-left: 1px solid #bbb;
}

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

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

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

/* 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;
    }
}

@font-face {
    font-family: 'ClanNarrowBlack';
    src: url('https://www.aftenposten.no/skins/publications/ap/fonts/ClanWeb-NarrBlack.eot');
    src: url('https://www.aftenposten.no/skins/publications/ap/fonts/ClanWeb-NarrBlack.eot?#iefix') format('embedded-opentype'),
         url('https://www.aftenposten.no/skins/publications/ap/fonts/ClanWeb-NarrBlack.woff') format('woff'),
         url('https://www.aftenposten.no/skins/publications/ap/fonts/ClanComp-NarrowBlack.ttf') format('truetype');
}
@font-face {
    font-family: 'ClanBook';
    src: url('https://www.aftenposten.no/skins/publications/ap/fonts/ClanWeb-Book.eot');
    src: url('https://www.aftenposten.no/skins/publications/ap/fonts/ClanWeb-Book.eot?#iefix') format('embedded-opentype'),
         url('https://www.aftenposten.no/skins/publications/ap/fonts/ClanWeb-Book.woff') format('woff'),
         url('https://www.aftenposten.no/skins/publications/ap/fonts/ClanComp-Book.ttf') format('truetype');
}

@font-face {
    font-family: 'ClanMedium';
    src: url('https://www.aftenposten.no/skins/publications/ap/fonts/clanot-medium-webfont.eot');
    src: url('https://www.aftenposten.no/skins/publications/ap/fonts/clanot-medium-webfont.eot?#iefix') format('embedded-opentype'),
         url('https://www.aftenposten.no/skins/publications/ap/fonts/clanot-medium-webfont.woff') format('woff'),
         url('https://www.aftenposten.no/skins/publications/ap/fonts/clanot-medium-webfont.ttf') format('truetype');
}

@font-face {
    font-family: 'ClanThin';
    src: url('https://www.aftenposten.no/skins/publications/ap/fonts/clanot-thin-webfont.eot');
    src: url('https://www.aftenposten.no/skins/publications/ap/fonts/clanot-thin-webfont.eot?#iefix') format('embedded-opentype'),
         url('https://www.aftenposten.no/skins/publications/ap/fonts/clanot-thin-webfont.woff') format('woff'),
         url('https://www.aftenposten.no/skins/publications/ap/fonts/clanot-thin-webfont.ttf') format('truetype');
}

body.chart {
    font-family: ClanMedium;
    color: #000000;
    font-size: 12px;
    background: inherit;
    overflow: visible;
    overflow-x: hidden;
    padding: 0 0 0;
    margin: 0;
}

h1 span{
    font-family: ClanNarrowBlack;
    font-size: 1.083333333em;
    font-weight: 900;
    margin: 0 0 0.777604977%;
    text-align: left;
    color: #000000;
    padding: 0.777604977% 0 1.088646967%;
}

.chart p {
    margin: 0.777604977% 0;
    color: #3B3B3B;
    font-size   : 1em;
    font-family : ClanMedium;
    font-weight: bold;
}


.chart.theme-aftenposten .dw-chart-notes {
    font-family: ClanThin;
    font-style: normal;
    padding-left: 0.777604977%;
    color: #000000;
    font-weight: bold;
}

.label {
    color: #000000;
    font-size: 0.8em;
}

.label.inverted span {
    color: #fff;
}
.tooltip {
    z-index: 200;
    padding-bottom: 0;
}

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

.footer-right img {
    position: relative;
    bottom: 0;
  }

.tooltip label {
    font-weight: 700;
}

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

.chart #footer {
    height: 7%;
    color: #000000;
    font-size: 1em;
    padding-top: 0.416666667em;
}

#footer a {
    color: #000000;
    text-decoration: none;
}

#footer a:hover {
    text-decoration: underline;
    color: #014687;
}

.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;
}
#footer .footer-left {
padding-bottom: 0.828729282%;
width: 80%;
left:0;
}

.embed-code {
    position: absolute;
    bottom: 8%;
    left: 0;
    width: 100%;
    padding: 7%;
    background: #eee;
    color: #000;
    border-radius: 6px;
    text-transform: none;
    font-size: 1em;
    box-shadow: 2px 2px 0px rgba(0,0,0,.4);
}

.embed-code textarea {
    width: 90%;
    margin-top: 2%;
    height: 7em;
}

.hide {
    display: none;
}

.embed-code .close {
    cursor: pointer;
    position: absolute;
    right: 2%;
    top: 2%;
    font-size: 1.125em;
    opacity: 0.7;
}

.embed-code .close:hover {
    opacity: 1;
}

/* smallest */
@media only screen
and (max-width : 320px) {
body.chart {
    font-size: 75%;
    padding: 0 0 1%;
    margin: 0 0  0;
}
div#chart{
padding: 0 0 0;
margin: 0px 0px 0px;
}

#chart.line-chart {
margin: 0 0  0;
}

#header > h1 span{
margin: 0 0 0;
padding:  1% 0;
font-size: 0.9em;
}
#header > p{
padding: 0.9% 0 0;
margin: 0 0 0;
line-height: 95%;
}
#header > div > a{
padding: 0 0 0;
margin: 0 0  0;
text-decoration: none;
}

.filter-ui filter-links{
padding: 0 0 0;
margin: 0 0 0;

}
.filter-ui .filter-links a{
padding: 0 0 0;
margin: 0 0 0;
}
#footer{
font-size: 0.9em;
padding: 0.9% 0 0;
margin: 0 0 0;
}
#footer-left{
padding: 0 0 0;
margin: 0 0 0;
}

#footer-right{
padding: 0 0 0;
margin: 0 0 0;
}
#footer > div.footer-right > span > img.small{
  height: 18px;
}

}

/* smallest */
@media only screen
and (max-width : 320px)
and (max-height : 200px) {
body.chart {
    font-size: 65%;
    padding: 0 0 0;
    margin: 0 0  0;
    background: none;
}

div#chart{
padding: 0 0 0;
margin: 0px 0px 0px;
}

#chart.line-chart {
margin: 0 0  0;
}

#header > h1{
font-size: 1.282051282em;
margin: 0 0 0;
padding: 0 0 0.9%;
line-height:  90%;
}
#header > p{
padding: 0 0;
margin: 0 0 0;
}
#header > div > a{
padding: 0 0 0;
margin: 0 0  0;
text-decoration: none;
}

.filter-ui filter-links{
padding: 0 0 0;
margin: 0 0 0;

}
.filter-ui .filter-links a{
padding: 0 0 0;
margin: 0 0 0;
}
#footer{
font-size: 0.8em;
padding: 0.9% 0 0;
margin: 0 0 0;
}
#footer-left{
padding: 0 0 0;
margin: 0 0 0;
}
#footer-right{
padding: 0 0 0;
margin: 0 0 0;
}
#footer > div.footer-right > span > img.small{
  height: 12px;
}
.label.value span {
    font-size: 0.9em;
}

.label.series span {
    font-size: 0.8em;
}

}

/* Desktops and laptops full screen----------- */
@media only screen
and (min-width : 1224px) {
body.chart {
    font-size: 125%;
}
.label.value span {
    font-size: 2em;
}

.label.series span {
    font-size: 2em;
}
}




