@import url('fonts.css');

/* for offline use */


/*
.nav > li > a[href^="http://"] {
    display: none;
}

.online-only {
    opacity: 0.4;
}
*/

html {
    overflow-x: hidden;
}
html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
}
main {
    display: block;
    padding: 0 0 100px 0;
}
ul {
    padding-left: 1em;
}
li {}
h3 {
    font-size: 120%;
}
.panel {
    margin-bottom: 30px;
    page-break-inside: avoid;
}
.content-wrapper {
    /* min-height: 100%; */
    min-height: 100%;
    position: relative;
    /* z-index: 20; */
}
.credits {
    font-size: 80%;
    color: #333;
    padding: 0.8em 0;
}
.credits a {
    color:#000;
}
main .credits {
    margin-bottom: 25px;
}
.credits ul,
ul.credits {
    list-style-type: none;
}
html .copy,
html .intro {
    min-height: 0;
    font-size: 14px;
    max-width: 55em;
}
html .intro {
    clear: left;
    font-style: italic;
    margin: 5px 0;
}
html .intro .popover {
    font-style: normal;
}
html #glossar .intro {
    padding: 1.3em 0;
}


.intro a,
.copy a,
.popover a {
    color: #777;
    text-decoration: underline;
}
.intro a:hover,
.copy a:hover,
.popover a:hover {
    color: #222;
}
html .intro {
    min-height: 60px;
}
.index .intro {
    font-size: 16px;
    line-height: 1.7em;
}
.tour .intro {
    padding: 5px 0;
    /* font-weight: 600; */
}
.is-fullscreen {
    background-color: #fff;
    padding: 5px 10px;
}
.is-fullscreen .intro {
    display: none;
}
.action-fullscreen-end {
    display: none;
}
.is-fullscreen .action-fullscreen {
    display: none;
}
.is-fullscreen .action-fullscreen-end {
    display: inline-block;
}
.datalink {
    font-family: monospace;
}
.datalink::before {
    content: "[";
}
.datalink::after {
    content: "]";
}
.content-wrapper > footer {
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    clear: both;
    background-color: #ccc;
    padding: 15px 0;
}
aside {
    margin: 50px 0 30px 50px;
    float: right;
}
.articlenav.affix {
    position: fixed;
    top: 50px;
    right: 0px;
    z-index: 20;
}
.articlenav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
.articlenav li {
    display: inline-block;
}
.articlenav.affix li {
    position: relative;
    display: block;
    width: 30px;
    height: 30px;
    padding: 0;
    margin: 5px;
    text-align: right;
    border-width: 2px;
    border-radius: 50%;
}
.articlenav.affix li a {
    display: none;
    xtext-align: right;
    position: absolute;
    top: 0px;
    right: 30px;
    padding: 5px 10px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 4px;
}
.articlenav.affix li:hover a {
    display: inline;
}
.articlenav li.link-top {
    display: none;
}
.articlenav.affix li.link-top {
    display: block;
}
.articlenav li {
    padding: 6px 12px;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
}
a.content-map::before {
    content: "Karte: ";
}
a.content-text::before {
    content: "Text: ";
}
a.content-diagram::before {
    content: "Grafik: ";
}
a.content-image::before {
    content: "Bild: ";
}
a.content-images::before {
    content: "Bildserie: ";
}
a.content-video::before {
    content: "Video: ";
}
.sidebar {
    padding: 0 15px 20px 15px;
    background-color: #f7f7f9;
    font-size: 0.9em;
    width: 300px;
}
.copy ul {
    padding: 0;
    margin: 0;
}
.copy ul li {
    list-style-type: square;
    list-style-position: outside;
    margin-left: 18px;
}
.epilogue {
    margin-bottom: 45px;
}

/*
Figures

Proposed structure:
<figure>
    <div class="figure">
        <... actual figure content ...>
        <... absolutely positioned ui ...>
    </div>
    <figcaption></figcaption>
</figure>
*/

figure {
    position: relative;
    width: 100%;
    /* clear: both; is necessary if there is a map legend for it to be correclty positioned absolute to the map.
    If this is a problem, we need to introduce a separate wrapper for map + absolute positioned components. */
    clear: both;/* e.g. hoverInfo - should this be clipped to stay within figure? */
    /* overflow: hidden; */
}

/* http://www.sitepoint.com/use-html5-full-screen-api/ */

:-webkit-full-screen {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    overflow-y: auto;
    padding: 5px 10px;
}
:fullscreen::backdrop,
:-webkit-full-screen::-webkit-backdrop {
    background-color: #eee;
}
.
/*
preserve proportions hack: padding-bottom is calculated relative to width,
so we can use it to maintain an aspect ratio of 2:1 for the map.
see: http://alistapart.com/article/creating-intrinsic-ratios-for-video
*/

figure .figure {
    position: relative;
    height: 0;
    padding-bottom: 50%;
    background-color: #fcfcfc;
    margin-top: 20px;
}

/*
need to specify size of svg element although spec says default value is "100%"
see https://docs.google.com/presentation/d/1POUiroOBbLmXYlQKf0pIR8zVkHWH9jRVN-w8A4aNsIk/edit#slide=id.p
*/

figure svg {
    display: block;
    width: 100%;
    /* we cannot do this, as it would cause the svg to be tiny (= parent height) in IE/Ffx */
    /* this is needed to scale map to full width in largest layout, must probably be done in JS. */
    /* height: 100%; */
}

/*
figure.float-left/right svg {
    width: auto;
}
*/

figure .figure .map {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
}
figure .dropdown-reuse {
    position: absolute;
    bottom: 10px;
    right: 10px;
    z-index: 2;
}
.dropdown-reuse button {
    background-color: #eee;
}
figure .credits {
    position: absolute;
    bottom: 0px;
    margin: 5px;
    padding: 1px 5px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 3px;
    color: #333;
}
figure ul.credits {
    background-color: transparent;
    white-space: pre-line;
}
figure ul.credits li {
    background-color: rgba(255, 255, 255, 0.9);
    display: inline;
}
figure .buttons-panel {
    position: absolute;
    text-align: center;
    top: 10px;
    left: 0px;
    width: 100%;
}
figure h3 {
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    font-weight: bold;
}
figure .hoverInfo {
    position: absolute;
    z-index: 3;
    display: none;
    width: 200px;
    margin-left: -100px;
    /*margin-top: -60px;*/
    margin-bottom: 10px;
    padding: 10px;
    font-size: 11px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 4px;
    border: 1px solid #666;
    box-shadow: 0px 3px 7px 0px rgba(50, 50, 50, 0.5);
}
figure.affix .credits {
    display: none;
}
figcaption {
    padding: 10px 15px;
    background-color: #f7f7f9;
    border: 1px solid #e1e1e8;
    border-top: 0 solid transparent;
    border-bottom-right-radius: 4px;
    border-bottom-left-radius: 4px;
}
.histogram {
    height: 100px;
    background-color: #f9f9f9;
}
figure .legend,
.mapLegend {
    position: absolute;
    top: 0px;
    left: 0px;
    xmax-width: 33%;
    width: 250px;/* try this */
    margin: 5px;
    padding: 10px;
    /* border-radius: 3px; */
    background-color: rgba(255, 255, 255, 0.95);
    border-top: 1px solid #aaa;
    border-bottom: 1px solid #aaa;
}
.mapLegend {
    padding: 5px 5px 8px 12px;
    font-size: 13px;
}
.mapLegend h3 {
    font-family: inherit;
    font-size: inherit;
    font-weight: 600;
    margin: 0 12px 5px 0;
}
.mapLegend .popover h3 {
    margin: 0;
    line-height: 1.1;
}
.mapLegend .legendCell {
    margin: 0.2em 0;
}
.mapLegend .legendColor {
    display: inline-block;
    width: 3em;
    vertical-align: -0.25em;
    height: 1.5em;
    border: 1px solid black;
    margin: 0 0.5em 0 0;/*
    This ensures that background color is always printed.
    */
    /* -webkit-print-color-adjust: exact; */
}
.mapLegend .legendHistogramBar {
    display: inline-block;
    height: 1em;
    background-color: #eee;
}
.mapLegend .legendLabel {
    display: inline-block;
    /*width: 7em;*/
    font-size: 90%;
}
.miniLegend {
    font-size: 12px;
}
.miniLegend .legendColor {
    display: inline-block;
    width: 0.9em;
    height: 0.9em;
    border: 0px solid black;
}
.legendColor .fill {
    /* We use a very wide border to fill, in order to circumvent browsers supressing printing background-colors */
    width: 0px;
    height: 0px;
    border: 100px solid #eee;
}
.objectInfo h4 {
    margin-top: 0;
}

/* App Layout */

.article main {
    padding-bottom: 30px;
}
.article .content-wrapper > footer {
    padding: 5px 0;
}

/* Fullscreen Layout */

.fullscreen .container {
    width: 100%;
    margin: 0;
}
.fullscreen .content-wrapper > footer {
    display: none;
    height: 30px;
    padding: 8px 0;
}
.fullscreen main {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 0;
}
.fullscreen main h1, .fullscreen main .intro {
    position: relative;
    z-index: 1;
    margin-top: 50px;
    padding: 15px 50px 15px 15px;
    background-color: #ccc;
    background-color: rgba(255, 255, 255, 0.8);
    max-width:none;
}
 
.full {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.infowindow h3 {
    margin: 3px 0 4px 0;
    padding: 10px 0 0 0;
    font-size:2em;
}
.infowindow a.category {
    background-color: #6c6;
    padding: 3px 6px;
}
.infowindow .infothumb {
    width: 80px;
    float: right;
}
.infowindow {
    position: relative;
    width: 400px;
}
.infowindow .storymap-controls {
    position: absolute;
    bottom: 0px;
    right: 0px;
}

.infowindow .portrait img {
    float: left;
    width: 120px;
    height: 120px;
    border-radius: 120px;
    -webkit-border-radius: 120px;
    -moz-border-radius: 120px;
    overflow: hidden;
    margin: 8px 10px 0 3px;
}
.infowindow .wiki {
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    text-decoration: inherit;
    font-size: 14px;
    color: #666;
}
.infowindow .lifedata, .infowindow .license {
    font-size:11px;
    margin-bottom:8px;
    color:#999;
}
.infowindow .license {
    padding-right: 100px;
}
.infowindow .moreinfo {
    background-color: #efefef;
    padding: 4px 8px 3px 8px;
    margin-bottom: 16px;
}
.infowindow .moreinfo a {
    margin-right:4px;
}
.infowindow .moreinfo .standard img {
    vertical-align: top;
    
}
.infowindow .persondesc {
    padding-left:135px;
    
}
.infowindow a:hover {
    color:#596;
    
}
button.storymap-prev,
button.storymap-next,
button.storymap-playpause {
    position: relative;
    overflow: hidden;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
button.storymap-prev:before {
    content: "\e069";
}
button.storymap-next:before {
    content: "\e077";
}
button.storymap-playpause:before {
    content: "\e072";
}
.playing button.storymap-playpause:before {
    content: "\e073";
}
button.storymap-prev .label,
button.storymap-next .label,
button.storymap-playpause .label {
    display: none;
}
a {
    cursor: pointer;
}
.tour {
    clear: left;
}
.global-controls {
    float: right;
    margin: 0px 0px 15px 30px;
    line-height: 1.5;
    color: #999;
    text-align: center;
    xmax-width: 200px;
    /* this is needed to stay on top of figure when floating */
    position: relative;
    z-index: 1;
    -webkit-user-select: none;
    -moz-user-select: none;
    -khtml-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.mainpanel .global-controls {
    margin-left: 5px;
}
.global-controls a {
    xcolor: #999;
}
.global-controls a:hover {
    xcolor: #888;
    text-decoration: none;
}
.global-controls a.disabled {
    cursor: default;
    color: #ddd;
}
.global-controls a.disabled:hover {
    color: #ddd;
}
.global-controls .btn.disabled,
.global-controls .btn[disabled] {
    opacity: 0.3;
    display:  none;
}
.global-controls .tour-prev {
    color: #999;
}

.action-share-tw,
.action-share-fb {
    padding-left: 30px;
    background-image: url('../images/icons/twitter.png');
    background-repeat: no-repeat;
    line-height: 1em;
    margin-right: 0.5em;
    margin-bottom: 2em;
}

.action-share-fb {
    background-image: url('../images/icons/facebook.png');
}

.action-share-tw:hover,
.action-share-fb:hover {
    text-decoration: underline;
}

/* .steps-navigator  */

.global-controls {
    float: right;
    margin: 0;
    vertical-align: top;
    text-align: left;
    margin-left: 10px;
    padding: 0 1px 5px 5px;
    background-color: #fff;
    border-bottom-left-radius: 4px;
}
.global-controls .nextprev a {
    display: inline-block;
    background-color: #eee;
    font-size: 18px;
    vertical-align: middle;
    margin: 0;
    padding: 3px 10px;
}
.tour-next {
    background-color: #8a8;
    color: #fff;
}
.tour-next.disabled {
    xvisibility: hidden;
    background-color: #eee;
    xcolor: #ddd;
}

.global-controls .dropdown,
.global-controls .form-control {
    /* display: inline-block; */
    /* margin-right: 3px; */
}
.global-controls .form-control {
    /* max-width: 150px; */
    vertical-align: -1px !important;/* typeahead will try to override this! */
    height: auto;
}
.tour-step {
    display: none;
    /* position: absolute; */
    /* visibility:  hidden; */
}
.interaction-panel {
    xclear: both;
    max-width: 55em;
    padding: 3px 10px;
    /* color: #31708f; */
    background-color: #e1efe3;
    /* border-color: #DBE9FF; */
    /* border-radius: 4px; */
    margin-bottom: 5px;
}
.interaction-panel .btn-default,
.interaction-panel .input-group-addon {
    background-color: #fff;
}

/* override bootstrap, which sets display: table; on this for small displays */

.interaction-panel .input-group {
    display: inline-table;
    vertical-align: middle;
}
.compact .tour-step {
    min-height: 130px;
    max-height: 130px;
    overflow-y: auto;
}
.tour-step.active {
    display: block;
}

/* Override bootstrap collapse settings */

span.collapse {
    display: inline;
    position: static;
    visibility: visible;
    height: auto;
    opacity: 0.2;
    -webkit-transition: opacity 0.35s ease;
    -moz-transition: opacity 0.35s ease;
    -ms-transition: opacity 0.35s ease;
    -o-transition: opacity 0.35s ease;
    transition: opacity 0.35s ease;
}
span.collapsing {
    display: inline;
    position: static;
    height: auto;
    opacity: 0.2;
    -webkit-transition: opacity .35s ease;
    -o-transition: opacity .35s ease;
    transition: opacity .35s ease;
}
span.collapse.in {
    display: inline;
    position: static;
    opacity: 1;
    height: auto;
}
.toggle {
    font-size: 10px;
    color: #666;
    xmargin-left: 1ex;
    /* glyphicon */
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.toggle.collapse:before,
.toggle.collapse.collapsing:before {
    content: "\e082";
    /* minus sign */
    color: #999;
}
.toggle:before,
.toggle.collapse.in:before {
    content: "\e081";
    /* plus sign */
    color: #777;
}
.toggle.collapse,
.toggle.collapsing,
.toggle.collapse.in {
    display: inline;
    position: static;
    height: auto;
    opacity: 1;
}
.storynav {
    margin-top: 10px;
}
.storynav .global-controls .buttons .btn {
    padding: 0;
    width: 3ex;
    height: 3ex;
    border-radius: 50%;
    margin: 0 2px 0 0;
    background-color: #e1efe3;
    color: #596;
    font-size: 16px;
}
.tour-steps {
    /* display: table; */
    /* width: 100%; */
    /* border-collapse: separate; */
    /* clear: both; */
    font-size: 11px;
    padding-left: 75px;
}
.tour-steps a,
.tour-steps label {
    display: inline-block;
    vertical-align: top;
    position: relative;
    min-height: 38px;
    margin: 0 2px 0 0;
    text-decoration: none;
}
.tour-steps a {
    cursor: pointer;
    padding: 5px 9px 4px 32px;
    /* width: 135px; */
}
.tour-steps a.placeholder {
    visibility: hidden;
}
.tour-steps a:hover {
    text-decoration: none;
    background-color: rgb(245, 250, 246);
}
.tour-steps label {
    padding: 2px 17px 3px 0;
    font-size: 14px;
    line-height: 1.25;
    margin: 0;
    margin-left: -75px;
    width: 71px;
}

.tour-steps .chapter-sep {
    border-left: 1px solid #ddd;
    margin: 8px 10px 0 10px;
    height: 25px;
    width: 1px;
    display: inline-block;
}
.tour-steps a.active {
    background: #E1EFE3;
    color: #000;
}
.tour-steps a.tour-next,
.tour-steps a.tour-prev {
    min-width: 0;
    font-size: 18px;
    vertical-align: middle;
    padding: 5px;
}
.tour-steps .tour-next {
    margin-left: 10px;
    background-color: #549967;
    color: #fff;
}
.tour-steps .tour-next.disabled {
    visibility: hidden;
    background-color: #eee;
    color: #fff;
    cursor: default;
}
.tour-steps a.tour-prev {}
.tour-steps a .glyphicon {
    position: relative;
    font-size: 16px;
}
.tour-steps a .glyphicon .glyphicon {
    position: absolute;
    font-size: 10px;
    top: -3px;
    right: -9px;
    color: #999;
}
.tour-steps .icon {
    /* display: inline-block; */
    xwidth: 20px;
    xheight: 18px;
    margin: 4px;
    /* padding: 10px; */
    margin-left: 0;
    /* background-image: url('../images/icons/map.png'); */
    /* float: left; */
    position: absolute;
    top: 3px;
    left: 6px;
}
.tour-steps .icon:before {
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    text-decoration: inherit;
    font-size:18px;
    color: #666;  
    content: "\F278";
}
.tour-steps .step-map-interactive .icon:before {
    content: "\f013";
    font-size: 20px;
}
.tour-steps .step-map-zoom .icon:before {
    content: "\f00e";
}
.tour-steps .step-diagram .icon:before {
    content: "\f080";
}
.tour-steps a b {
    display: block;
    font-weight: normal;
    white-space: nowrap;
}
.tour-steps a b.main {
    font-weight: bold;
}
.maininfo .sections-nav {
    float: right;
    margin: 0px 0px 5px 30px;
    line-height: 1.5;
    color: #999;
    xmax-width: 200px;
}
.maininfo .sections-nav .btn {
    width: 220px;
    white-space: normal;
    text-align: left;
    margin-bottom: 5px;
    padding-left: 33px;
    position: relative;
    background-color: #e6e6e6;
}
.maininfo .sections-nav .btn span.glyphicon {
    position: absolute;
    top: 50%;
    left: 8px;
    font-size: 16px;
    margin-top: -7px;
}
.indicator-panel .searchform {
    float: right;
}
.screensize {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1000;
    border: 2px solid red;
    /* take beamer / iPad as default */
    width: 1024px;
    height: 768px;
}
.screensize span {
    position: absolute;
    bottom: 0px;
    right: 0px;
    background-color: red;
    color: white;
    font-size: 11px;
    font-weight: bold;
    padding: 3px 10px;
}
.laptop {
    width: 1200px;
    height: 700px;
}
.dropdown-menu .agebar {
    position: relative;
    padding-bottom: 10px;
}
.agebar span {
    position: absolute;
    display: block;
    bottom: 4px;
    left: 0px;
    right: 0px;
    width: auto;
    height: 5px;
    margin: 0 20px;
    border: 1px solid #ccc;
}
.age-25-64 span {
    background-image: linear-gradient(to right, #ffffff 0%, #ffffff 27%, #5b6 28%, #5b6 71%, #ffffff 72%);
}
.age-25-34 span {
    background-image: linear-gradient(to right, #ffffff 0%, #ffffff 27%, #5b6 28%, #5b6 37%, #ffffff 38%);
}
.age-35-54 span {
    background-image: linear-gradient(to right, #ffffff 0%, #ffffff 37%, #5b6 38%, #5b6 60%, #ffffff 61%);
}
.age-55-64 span {
    background-image: linear-gradient(to right, #ffffff 0%, #ffffff 60%, #5b6 61%, #5b6 71%, #ffffff 72%);
}
.glossar[title] {
    border-bottom: 1px dotted #f99;
    margin-bottom: -1px;
    cursor: help;
}
.subnav {
    margin: 7px 0;
}
.subnav a.active {
    font-weight: bold;
    xcolor: #999;
    font-size: 17px;
}
.info {
    background-color: #f9f9f9;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 30px;
    page-break-inside: avoid;
}
.info section {
    margin: -10px 0 0 10px;
    float: left;
}
.info section.datainfo {
    width: 300px;
    /* float: right; */
}
.guideToggle,
.zoomToggle {
    cursor: pointer;
    border-radius: 4px;
    border: 1px solid #ddd;
    padding: 2px 4px 0;
    margin: 0 0 1px 0;
    /* vertical-align: 3px; */
}
.intro .guideToggle {
    font-size: 10px;
    padding: 2px 4px 0;
    border-color: transparent;
    color: #666;
}
.intro .guideToggle.active {
    background-color: transparent;
}
.intro .guideToggle.hover {
    border-color: #ddd;
}
.guideToggle.active {
    background-color: #e9e9e9;
}
.guideToggle:hover {
    background-color: #e9e9e9;
}
.guideToggle.active:hover {
    background-color: #fff;
}
.guideToggle.reveal {
    display: inline-block;
    margin-bottom: 5px;
}
.guideToggle.active.reveal {
    display: none;
}
.guide {
    font-size: 11px;
    background-color: rgba(255, 255, 255, 0.9);
    max-width: 55em;
    display: none;
}
.guide.active {
    display: block;
}
.guide.hover {
    display: block;
    z-index: 2;
    margin-top: -2px;
    margin-left: -2px;
    -webkit-box-shadow: 3px 3px 10px 0px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 3px 3px 10px 0px rgba(0, 0, 0, 0.3);
    box-shadow: 3px 3px 10px 0px rgba(0, 0, 0, 0.3);
}
.guide.hover .close {
    display: none;
}
.guide.hover.active .close {
    display: inline;
}
.guide.interaction {
    color: #000;
    background-color: #e1efe3;
    border-color: #e1efe3;
    /* border-radius: 4px; */
    margin-bottom: 5px;
}
.guideWrapper > .guide {
    position: absolute;
}
.guideWrapper > .guide.interaction {
    width: 250px;
}
.interactionGuide > div {
    padding: 5px;
}
.guideWrapper > .guide.interpretation {
    /* font-size: 12px; */
    background-color: rgba(255, 255, 255, 0.9);
    /* padding: 5px; */
    max-width: 400px;
    /* border-top: 1px solid rgba(0, 0, 0, 0.1); */
    border-top: 1px solid #aaa;
    border-bottom: 1px solid #aaa;
    /* border-radius: 4px; */
}
.guideWrapper.vertical {
    height: 50%;
    /* overflow: auto; */
}
.guideWrapper.vertical > .guide.interpretation {
    width: 250px;
    max-height: 100%;
    overflow: auto;
}
.guide.interpretation {
    /* position: relative; */
    clear: both;
}
.guide.interpretation .icon {
    margin: 0 10px 0 0;
    font-size: 25px;
    line-height: 1;
    cursor: pointer;
}
.guide.interpretation .icon span {
    vertical-align: -5px;
}
.guide > div {
    padding: 6px 15px 8px 10px;
}
.guide .for-indicator {
    display: none;
    padding: 6px 15px 8px 10px;
    xpadding-right: 15px;/* make space for close button */
}
.guide .for-indicator:before,
.guideToggle:before,
.zoomToggle:before {
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    display: inline-block;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.guide .for-indicator:before {
    margin-right: 0.5em;
}
.guide.interpretation .for-indicator:before,
.guideToggle.interpretation:before {
    content: '\e086';
    /* info-sign */
}
.guide.interaction .for-indicator:before,
.guideToggle.interaction:before {
    content: '\e129';
    /* hand-up */
}
.guideToggle:hover:before {
    content: '\e146';
    /* pushpin */
}
.guideToggle.active:hover:before {
    xfont-family: inherit;
    color: #999;
    xcontent: '×';
    content: '\e014';
    /* remove */
}
.zoomToggle.zoomIn:before {
    content: '\e015';
}
.zoomToggle.zoomOut:before {
    content: '\e016';
}
.guide .for-indicator.active {
    display: block;
}
.guide .close {
    /* position: absolute; */
    z-index: 1;
    /* top: 0px; */
    /* right: 1px; */
    /* width: 10px; */
    /* background-color: rgba(255,255,255,0.5); */
    font-size: 16px;
    padding: 0 3px;
    font-weight: bold;
    line-height: 1;
    /* color: #666; */
    cursor: pointer;
}
.mapLegend .ih-wrapper {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgba(255, 255, 255, 0.95);
    margin: 1px 2% 0;
    padding: 4px 7px;
    width: 96%;
    -webkit-border-bottom-right-radius: 4px;
    -webkit-border-bottom-left-radius: 4px;
    -moz-border-radius-bottomright: 4px;
    -moz-border-radius-bottomleft: 4px;
    border-bottom-right-radius: 4px;
    border-bottom-left-radius: 4px;
    border: 1px solid #eee;
    border-top: 0px none transparent;
    font-size: 12px;
}
div.thumbnail {
    /* background-color: #73A7FE; */
    xmin-height: 344px;
}
.thumbnail:hover {
    border: 1px solid #aaa;
    background-color: #eee;
    position: relative;
    top: -1px;
    left: -1px;
    -webkit-box-shadow: 3px 3px 10px 0px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 3px 3px 10px 0px rgba(0, 0, 0, 0.2);
    box-shadow: 3px 3px 10px 0px rgba(0, 0, 0, 0.2);
}
.thumbnail .caption {
    padding: 7px 7px 3px;
}
.thumbnail .caption h3 {
    padding: 10px 0;
    margin: 0;
}
.thumbnail .caption .teaser {
    font-style: italic;
    font-weight: 600;
}
.thumbnail .caption .goal {
    color: #888;
    font-style: italic;
    font-size: 85%;
}

/*
.thumbnail .caption .goal:before {
	content: "Zeigt: ";
}
*/

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

/* typeahead search */

.search-wrapper {
    /* display: inline-block; */
    margin: 0 4px 8px;
    float: right;
}
.tt-query {
    xwidth: 396px;
    xheight: 30px;
    padding: 8px 12px;
    xfont-size: 24px;
    xline-height: 30px;
    xborder: 2px solid #ccc;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    outline: none;
}
.typeahead {
    background-color: #fff;
    width: 396px;
}
.typeahead:focus {
    border: 2px solid #0097cf;
}
.tt-query {
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}
.tt-hint {
    color: #999
}
.tt-dropdown-menu {
    width: 210px;
    margin-top: 5px;
    padding: 0;
    background-color: #fff;
    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, 0.2);
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
    -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
    box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
}
.tt-dropdown-menu h4 {
    padding: 3px 10px;
}
.tt-suggestion {
    padding: 3px 10px;
    xfont-size: 18px;
    xline-height: 24px;
    cursor: pointer;
}
.tt-suggestion.tt-cursor {
    color: #fff;
    background-color: #0097cf;
}
.tt-suggestion p {
    margin: 0;
}
.gist {
    font-size: 14px;
}
.embed-dialog input {
    /* margin: 20px 0; */
}
.form-inline .input-group .input-group-addon,
.form-inline .input-group .input-group-btn,
.form-inline .input-group .form-control {
    width: auto;
}
figure .mapOverlays {
    position: absolute;
    /* top: 5px; */
    left: 0px;
    /* height:  100%; */
}
.mapOverlays > .mapLegend {
    float: left;
    position: relative;
    margin: 0 10px 5px 0;
}
.mapOverlays > .guideWrapper {
    /* float:  left; */
    position: absolute;
    min-width: 260px;
    left: 100%;
    clear: left;
}
.mapOverlays > .guideWrapper.vertical {
    /* float:  left; */
    position: static;
    left: 0;
    clear: left;
}
.mapLegend .toggles {
    /* position: absolute; */
    position: relative;
    float: right;
    padding: 0 0 4px 4px;
    /* right: 4px; */
    /* top: 4px; */
    opacity: 0.8;
    z-index: 10;
}
.collapse .close,
.collapsing .close {
    margin: 1px 3px 2px 2px;
}
.loading .mapOverlays {
    visibility: hidden;
    display: none;
}
.loading-placeholder {
    display: none;
    position: absolute;
    top: 40%;
    left: 50%;
    width: 400px;
    margin-left: -200px;
    font-weight: bold;
    font-size: 24px;
    color: #777;
    text-align: center;
    padding: 10px;
    border-radius:5px;
}
.loading .loading-placeholder,
.loading-placeholder.loading {
    display: block;
    background-color: rgba(240, 240, 240, 0.7);
}

/* Embedded mode */

body.embed .navbar,
body.embed footer,
body.embed #section-info,
body.embed .panel.info {
    display: none;
}
body.embed .container {
    margin: 0;
    padding: 10px;
    width: auto;
    height: auto;
}
body.embed h1 {
    margin: 5px 0;
}
.indexpage .btn-default {
    color: #333;
    background-color: #EDEDED;
    border-color: #EDEDED;
    font-size: 13px;
    /* font-weight: bold; */
    display: inline;
    /* box-shadow: #2c3e50 0 0px 0px 1px inset; */
    /* color:#2c3e50; */
    cursor: pointer;
    -webkit-transition: all 400ms cubic-bezier(0.490, 0.500, 0.150, 1.360);
    -moz-transition: all 400ms cubic-bezier(0.490, 0.500, 0.150, 1.360);
    -ms-transition: all 400ms cubic-bezier(0.490, 0.500, 0.150, 1.360);
    -o-transition: all 400ms cubic-bezier(0.490, 0.500, 0.150, 1.360);
    transition: all 400ms cubic-bezier(0.490, 0.500, 0.150, 1.360);
    border-radius: 24px;
    padding: 3px 7px;
}
.indexpage .btn.btn-lg {
    border-radius: 0;
}
.indexpage .ui-group {
    margin-top: 10px;
    margin-bottom: -1px;
}
.indexpage .button-group.js-radio-button-group {
    display: inline;
}

.navbar-header .navbar-brand {
    float: left;
}
.navbar-header .menu-main {
    float: left;
    font-size: 21px;
    width: 35px;
    height: 35px;
    padding: 3px 8px;
    margin: 7px 0 0 5px;
    color:  #fff;
    background-color: rgba(255,255,255,0.3);
    border-radius: 50%;
    cursor: pointer;
}

.open .menu-main {
    background-color: rgba(255,255,255,0.5);
}

.navbar-header .dropdown-menu {
    left: auto;
    right: 1px;
    border: none;
    border-radius: 0;
    background-color: rgba(209, 230, 212, 0.95);
}

.navbar-header .dropdown-menu ul {
    list-style: none;
    padding: 0;
}

.navbar-header .dropdown-menu ul li a {
    display: block;
    padding: 4px 36px 4px 45px;
}

.navbar-header .dropdown-menu ul li  a:hover,
.navbar-header .dropdown-menu ul li  a:focus {
  color: #262626;
  text-decoration: none;
  background-color: #f5f5f5;
}

.navbar-header .dropdown-menu h3 {
    padding: 6px 20px 8px 20px;
    margin: 0;
    /* font-weight: normal; */
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
    font-size:  inherit;
    /* font-style: italic; */
}

.dropdown-menu > li > a {/* font-weight:bold
 */
}

/* Media Queries */


/* Adapt map to screen height */

@media (max-height: 800px) {
    .map {
        max-height: 500px;
    }
    .fullscreen .map {
        max-height: none;
    }
}
@media (max-height: 700px) {
    .map {
        max-height: 400px;
    }
    .fullscreen .map {
        max-height: none;
    }
}

/* Narrow screens */
@media (max-width: 1300px) {
}

@media (max-width: 992px) {
    figure .legend,
    figure .credits {
        display: block;
        position: static;
    }
    figure .legend {
        float: left;
    }
    figure {
        /* clear: left; */
    }
    figure svg {
        clear: both;
    }
    .info section,
    .info section.datainfo {
        width: auto;
        float: none;
    }
    figure .mapLegend {
        font-size: 12px;
    }
    .article main {
        overflow:  hidden;
    }
    
}
@media (max-width:600px){

    .indexpage .thumbnail a > img {
        /* display: none; */
    }
    .indexpage .btn.btn-lg {
        font-size: 14px;
    }
     .indexpage .filters {
        width:100%; 
    }
    .indexpage .col-xs-4{
        width: 100%;
    }
    .indexpage .thumbnail a > img {
        float: left;
        width: auto;
        max-width: 110px;
        margin-top: -48px;
    }
     
    .indexpage .thumbnail .caption {
           margin-left: 128px;
    }

    .tour-steps {
        clear: both;
        padding-top: 5px;
        padding-left: 0;
    }
    .tour-steps a,
    .tour-steps label {
        display: block;
    }
    .tour-steps label {
        margin: 0;
        min-height: 0;
        width:  auto;
    }
    .tour-steps .chapter-sep {
        display: none;
    }
}

@media (max-width: 650px) {
    html .copy {
        font-size: 13px;
    }
    figure {
        clear: left;
    }
    figure .mapLegend,
    figure .mapOverlays {
        position: static;
        /* display: block; */
        /* float: left; */
        max-width: none;
        width: 100%;
        font-size: 11px;
        /* padding: 5px 0 2px 0; */
        margin: 5px 0 2px 0;
    }
    .mapOverlays > .guideWrapper {
        position: static;
        clear: left;
    }
    .guideWrapper > .guide {
        margin-top: 5px;
        /* position: static; */
    }
    .guideWrapper.vertical > .guide.interpretation {
        max-width: 400px;
        width: auto;
    }
    .mapLegend .guideToggle {
        font-size: 14px;
    }
    .mapLegend .legendCell {
        xdisplay: inline-block;
        xwidth: 12em;
        margin: 0;
    }
    .mapLegend .legendColor {
        width: 4em;
        border-bottom: 0px none transparent;
    }
    .mapLegend .legendCell:last-child .legendColor {
        border-bottom: 1px solid black;
    }
    .mapLegend .legendHistogramBar {
        xdisplay: none;
    }
    .guide .for-indicator {
        font-size: 12px;
    }
    .thumbnail .caption .teaser {
        height: auto;
    }
    .thumbnail .caption .goal {
        height: auto;
    }
    .fullscreen main p.intro {
        display:none;
    }


}
@media (max-width: 379px) {
    .infowindow {
        position: relative;
        width: 260px;
    }
    .indexpage .ui-group {
        font-size: 11px;
    }
    .indexpage .btn-default {
        padding: 0px 3px;
    }
}

/* Print */

@media print {
    body {
        margin: 0;
    }
    .breadcrumb,
    .global-controls,
    .subnav a,
    .guideToggle,
    .guide.interaction,
    .storynav label,
    .storynav a,
    .storynav .chapter-sep {
        display: none;
    }
    .storynav a.active {
        display: block;
        background-color: transparent;
        font-size: 18px;
    }
    .storynav {
        margin: 0;
    }
    .storynav a.active b {
        display: inline-block;
        margin-right: 10px
    }
    .subnav a.active {
        display: inline;
    }
    .tour-step.active {
        min-height: 0 !important;
    }
    .tour-step .intro {
        margin: 0 0 10px 0;
    }
    html .container {
        padding: 0;
        width: auto;
    }
    .tour-step {
        min-height: 0;
    }
    .info section.datainfo {
        width: auto;
        float: none;
    }
    .panel,
    .subnav {
        margin: 0;
    }
    .content-wrapper > footer {
        position: static;
        background-color: transparent;
    }
    .glossar[title] {
        border: none;
        margin: 0;
    }

}
@media print and (orientation: landscape) {
    html .credits {
        xmargin-top: -40px;
    }
}

.search-wrapper input {
    border: 1px solid #5b6;
    border-radius: 0;
}

.global-controls .buttons {
    clear: right;
    float: right;
}