/* Template: d3_css
*/


@font-face {
	font-family: Lato;
	font-style: normal;
	font-weight: 400;
	src: local('Lato Regular'), local('Lato-Regular'), url(/objects/styles_SEB/diwapp/dist/Lato-Regular.ttf) format('truetype');
	text-rendering: optimizeLegibility
}

@font-face {
	font-family: Oswald;
	font-style: normal;
	font-weight: 400;
	src: url(/objects/styles_SEB/diwapp/dist/Oswald-Regular.ttf) format('truetype');
	text-rendering: optimizeLegibility
}

@font-face {
	font-family: Roboto Slab;
	font-style: normal;
	font-weight: 400;
	src: url(/objects/styles_SEB/diwapp/dist/RobotoSlab-Regular.ttf) format('truetype');
	text-rendering: optimizeLegibility
}

/*CSS for Title, Subtitle, Annotations, Sources and Copyright*/

.chart_title {
    font-family: roboto_slabregular, RobotoSlab-Regular, "Roboto Slab";
    font-size: 20px;
    letter-spacing: 1px;
    margin-top: 0;
    margin-bottom: 10px;
    padding-right: 4em;
}

.chart_subtitle {
    font-family: latoregular, Lato-Regular, Lato;
    font-size: 14px;
    letter-spacing: 1px;
    line-height: 1.5em;
    opacity: 0.4;
    margin-top: 0;
    margin-bottom: 10px;
}

.chart_text_small {
    display: inline-block;
    background-color: rgb(246, 246, 246);
    font-family: latoregular, Lato-Regular, Lato;
    font-size: 12px;
    letter-spacing: 1px;
    opacity: 0.4;
}

.chart_tooltips {
    vertical-align: text-bottom !important;
    top: -1.5px;
}

.chart_copyright_text {
    position: absolute;
    bottom: 10px;
    right: 10px;
}

/*CSS for Menu*/
.container_chart_title_elements {
    padding-top: 10px;
    padding-left: 10px;
}

.container_chart_sources_elements {
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 10px;
}

.container_d3 {
    position: relative;
    background-color: rgb(246, 246, 246);
}

.chart_area {
    width: 100%;
}

.chart_share_content {
    display: none;
}

.chart_share.window_open {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    display: block;
    z-index: 10;
    background-color: rgba(0,0,0,.85);
}

.chart_share.window_open .chart_share_content {
    display: block;
    position: absolute;
    margin: 0;
    top: 50%;
    left: 50%;
    width: 80%;
    -ms-transform:  translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
}

.chart_share.window_open .chart_share_content p {
    font-family: Lato-Regular;
    text-transform: uppercase;
    color: white;
    text-align: center;
}

.chart_share.window_open .chart_share_content a {
    display: block;
    color: #fff;
    width: 38px;
    height: 38px;
    border: 2px solid #fff;
    border-radius: 3px;
}

.chart_share.window_open .chart_share_content ul {
    padding: 0;
    margin: 10px auto;
}

.chart_share.window_open .chart_share_content li {
    list-style: none;
    display: inline-block;
    margin: 0 7px;
    color: white;
}

.chart_share.window_open .chart_share_content li a i {
    font-size: 18px;
    line-height: 34px;
    vertical-align: middle;
}

.chart_share_btn {
    width: 38px;
    height: 38px;
    position: absolute;
    top: 8px;
    right: 3px;
    color: #464a4a;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.chart_share_btn .material-icons {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.chart_share .chart_share_btn .close {
    display: none;
    opacity: 0;
}

.chart_share.window_open .chart_share_btn .close {
    display: block;
    opacity: 1;
    color: white;
}

.chart_share.window_open .chart_share_btn .sports_bar {
    display: none;
}

.chart_embed_code {
    display: none;
    text-align: center;
}

/*kleines Punktemenü oben rechts*/
.chartmenu {
    position: absolute;
    width: 40px;
    height: 40px;
    right: 40px;
    top: 0px;
    z-index: 10;
}

.chartmenu-toggle {
    position: relative;
    top: 8px;
    right: -7px;
    height: 20px;
    cursor: pointer;
}

.chartmenu-list {
    position: absolute;
    top: 40px;
    right: -40px;
    background: none;
    list-style: none;
    width: 180px;
    overflow: hidden;
    max-height: 0;
    padding-left: 20px;

    margin: 0 auto;
    -webkit-transition: all 0.3s ease;
}

.chartmenu-list li {
    display: block;
    margin: 0px 0px 0px 0px;
}

.chartmenu-list div {
    display: block;
    width: 90%;
    color: #fff !important;
    font-family: Lato-Regular;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 12px;
    letter-spacing: .75px;
    line-height: 26px;
    border: none;
    opacity: .8;
    border-radius: 0;
    border-bottom: 1px solid rgba(255,255,255,.1);
    padding: 15px 0 17px;
    margin-bottom: 0;
    cursor: pointer;
}

.chartmenu.menu_clicked .chartmenu-list {
    background: #464a4a;
    padding-left: 20px;
    max-height: 250px;
}

.menu_clicked {
    background: #464a4a;
    color: #fff !important;
    -webkit-transition: all 0.3s ease;
}

.show_it {
    display: block !important;
}

.chartmenu_popover {
    position: relative;
    top: 50px;
    display: none;
    width: 200px;
    right: 150px;
    text-decoration: none !important;
    font-family: Lato-Regular;
    font-size: 12px;
    line-height: 25px;
    letter-spacing: .75px;
    background-color: #fff;
    color: #464a4a;
    padding: 14px 15px;
    border-radius: 0;
    border-color: #fff;
    box-shadow: 0 0 2px 0 rgba(0,0,0,.12), 0 2px 2px 0 rgba(0,0,0,.24), 0 0 8px 0 rgba(0,0,0,.12), 0 8px 8px 0 rgba(0,0,0,.24);
}

*, ::after, ::before {
    box-sizing: border-box;
}

.chartmenu_popover_closebutton {
    position: relative;
    padding-left: 140px;
    right: 10px;
}

.chartmenu_popover_closebutton a {
    color: #464a4a;
    text-decoration: none !important;
}

.popover_embedcode .arrow::after, .popover .arrow::before {
    top: 1px;
    border-bottom-color: #fff;
    border-width: 0 .5rem .5rem;
}

.popover_embedcode .arrow::after, .popover_embedcode .arrow::before {
    position: absolute;
    display: block;
    content: "";
    border-color: transparent;
    border-style: solid;
}

.chart_btn {
    margin-bottom: 5px;
    font-family: Lato-Bold, Helvetica, Arial;
    text-decoration: none;
    font-size: 12px;
    line-height: 0px;
    letter-spacing: 1px;
    background-color: transparent;
    height: 30px;
    text-transform: uppercase;
    border-radius: 3px;
    display: inline-block;
    padding: 10px 20px;
    -webkit-box-shadow: none;
    box-shadow: none;
    -webkit-transition: all .2s;
    transition: all .2s;
    color: grey;
    border: 1px solid darkgrey;
}

.chart_select {
	padding: 0px 20px;
 	line-height: normal;
}

.chart_btn:hover {
    transition: all .2s;
    border-color: dimgrey;
    background: rgba(0,0,0,.03);
}


/*--------------------------------------------------------------------------------------------
 * KLEINES GERÄT
 * -----------------------------------------------------------------------------------------*/

@media screen and (min-width:0px ) and (max-width:500px) {

    /* ------------ verhalten der klassen beim kleinen gerät ---------------------      ---*/
    #chartmenu {
        display: none;
    }
}


@media print {
    /* All your print styles go here */
    #header, #footer, #nav { display: none !important; }
}