@font-face{
    font-family: "Source Sans Pro";
    font-weight: 400;
    font-style: normal;
    font-stretch: normal;
    src: url("fonts/SourceSansPro-Regular.ttf.woff2") format("woff2")
}

@font-face{
    font-family: "Source Sans Pro";
    font-weight: 700;
    font-style: normal;
    font-stretch: normal;
    src: url("fonts/SourceSansPro-Bold.ttf.woff2") format("woff2")
}

body {
	color: #222;
    font-size: 1.0rem;
	line-height: 1.5;
    box-sizing: border-box;
	font-family: "Source Sans Pro", Sans-Serif;
}

*, *:before, *:after {
    box-sizing: inherit;
}

/*
::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}
*/

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #666;
    /*margin: 1em 0;*/
	margin: 4px 0px 4px 0px;
    padding: 0;
}

.fat-hr {
    border-top: 3px solid #666;
}

.result-spacer-row {
	height: 24px;
}

.result-separator-row {
	height: 24px;
    border-bottom: 3px solid #666;
    opacity: .25;
    margin-bottom: 5px;
}

.indented {
    padding-left: 20px;
}

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus,
button:focus {
    outline: none;
}

h1, h2, h3, h4, h5, h6 {
    margin:0;
    /*text-shadow: 0px 2px 3px rgba(0,0,0,0.3),
            0px 4px 13px rgba(0,0,0,0.1),
            0px 9px 23px rgba(0,0,0,0.1);*/
}

.tool-result-body h2, h3, h4, h5, h6 {
    text-shadow: none;
}

h1 { font-weight:500; font-size:34px; color: #286f9c !important; margin-bottom: 10px; }
h2 { font-weight:lighter; font-size:1.4rem; color: #286f9c !important; margin-bottom: 10px; }
h3 { font-weight:lighter; /*600;*/ font-size:1.0rem; line-height:1.2; }
h4 { font-weight:normal; font-size:1.0rem; }

h2.popover-header { color: black !important; }

ul, ol { margin: 0px; padding: 0px; }
.modal-body > ul, ol { margin-left: 16px; }

body {
    background-color: white;
	background-size: cover;
	background-attachment: fixed;
	overflow-y: scroll;
}

main {
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
	margin-bottom: 0;
	position: relative;
}

/*.output-text {
    font-size: 1.2rem;
    font-weight: bold;
}*/

.block-spacer {
    height: 20px;
    background-color: transparent;
}

.start-hide {
	display: none !important;
}

.float-left { float: left; }
.float-right { float: right; }

.infobutton { /**** Infobuttons Impressum, Druck, Info ******/
	display: block;
	float: right;
    margin-right: 5px;
	width: 50px;
	height: 50px;
	background-color: white;
	cursor: pointer;
	border-radius: 0.25rem;
    box-shadow: 0px 1px 2px rgba(0,0,0,0.3),
            0px 3px 10px rgba(0,0,0,0.1),
            0px 7px 20px rgba(0,0,0,0.1);
}

.subscript {
    font-size: 0.6rem;
}

a {
	color: #000;
	font-weight: normal;
	text-decoration: underline;
}

a:hover {
	text-decoration: underline;
}

#hk1-htbt-code, #hk2-htbt-code, #hk3-htbt-code {
    font-size: 85%;
}

.hk-detailbild {
    max-width: 350px;
    max-height: 250px;
    margin: 10px 0 10px 0;
}

.tool-header, .tool-intro {
    margin-left: 5px;
    margin-right: 5px;
    margin-top: 10px;
}

.tool-intro { /* COLOR */
    /*background-color: rgba(0, 0, 0, 0.5);*/
    /*background-color: #033a4e96;*/
    /*color: white;*/
    background-color: rgba(40, 111, 156, 0.1);
    color: black;
    font-size: 1.0rem;
    padding: 5px 10px 6px 10px;
    border-radius: 0.25rem;
    box-shadow: 0px 1px 2px rgba(0,0,0,0.3),
            0px 3px 10px rgba(0,0,0,0.1),
            0px 7px 20px rgba(0,0,0,0.1);
    word-spacing: 3px;
}

.main-title {
    margin-right: 20px;
}

.main-title a {
	text-decoration: none;
	color: #000;
}

.clearfix:after {
    content: ".";
    clear: both;
    display: block;
    visibility: hidden;
    height: 0px;
}

.top-logos img {
    padding: 5px;
    background-color: white;
	border-radius: .25rem;
    box-shadow: 0px 1px 2px rgba(0,0,0,0.3),
            0px 3px 10px rgba(0,0,0,0.1),
            0px 7px 20px rgba(0,0,0,0.1);
	width: auto;
	height: 56px;
    margin-left: 5px;
}

#infografik-raum img {
    margin-bottom: 20px;
}

.tool-icon-bar {
	margin-top: 20px;
}

.tool-body {
	margin-top: 10px;
    margin-bottom: 40px;
}

.tool-result-body {
	/*position: fixed;
    bottom: 5px;*/
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    margin-bottom: 40px;
}

.tool-missing-values-body {
    width: 100%;
    text-align: center;
}

.footer-spacer {
    margin-bottom: 400px;
}

.tool-result-container {
    margin-left: 5px;
	margin-right: 5px;
    background-color: #286f9c; /*#033a4e96;*/ /*#6daac0*/
    /*color: #033a4e;*/
    color: #fff !important;
    /*border: 4px solid #fff;*/
    border-radius: .25rem;
    padding: 5px 10px 10px 10px;
    box-shadow: 0px 1px 2px rgba(0,0,0,0.3),
            0px 3px 10px rgba(0,0,0,0.1),
            0px 7px 20px rgba(0,0,0,0.1);
}

.tool-result-container h1, .tool-result-container h2, .tool-result-container h3, .tool-result-container h4 {
    color: white !important;
}

.tool-col-container {
	margin-left: 5px;
	margin-right: 5px;
	margin-top: 10px;
	background-color: white;
	border-radius: .25rem;
    box-shadow: 0px 1px 2px rgba(0,0,0,0.3),
            0px 3px 10px rgba(0,0,0,0.1),
            0px 7px 20px rgba(0,0,0,0.1);
}

.tool-col-container h2 {
	margin-bottom: 20px;
}

.rows-container .row {
	margin-top: 2px;
	margin-bottom: 2px;
}

.rows-container {
    padding: 5px 10px 10px 10px;
}

.border-bottom {
    border-bottom: 1px solid white;
}

.empty-field {
    background-color: #ffefef;
}

.bg-info { /* override bootstrap style */
	background-color: #286f9c !important;
    border-radius: 4px !important;
}

.popover { /* override bootstrap style */
    max-width: 1200px;
}

.popover-header { /* override bootstrap style */
	background-color: #dedede;
}

.popover-body { /* override bootstrap style */
	background-color: #efefef;
}

.accordion-button:focus { /* override bootstrap style */
	box-shadow: none; /* remove light blue shadow around accordion headers which have focus */
}

.accordion-button:not(.collapsed) { /* override bootstrap style */
    color: inherit;
    background-color:#eff7fa;
}

.popover-title-addon {
    font-size: 85%
}

.text-smaller {
    font-size: 12px;
}

h3 > img {
    padding: 5px 10px 5px 5px;
}

.red-text {
	color: #aa2222;
}

.blue-text {
	color: #0c63e4;
}

.green-text {
	color: #009900;
}

.bg-grey {
	background-color: #efefef;
}

.bg-blue {
	background-color: #e1ecff;
}

.bg-green {
	background-color: rgb(208, 253, 208);
}

.bg-yellow {
    background-color: #ffefc6;
}

.help-icon {
	cursor: pointer; /* to indicate that the icon can be clicked and the helptext stays open even if the mouse moves away */
	/*padding-bottom: 2px; /* because bootstrap doesn't display it nicely positioned */
    background-color: #8e9296 !important;
    font-size: 11px;
}

/* ==========================================================================
    Modal Popup
   ========================================================================== */
 /* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index:100000 !important; /* z-index-probleme verhindern */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.5); /* Black w/ opacity */
}

/*  Modal Content/Box */
.modal-content {
    background-color: #fefefe;
    margin: 100px auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    /*max-width:630px;*/
    min-height:500px;
    max-height:85%;
    overflow:auto;
    /*width: 80%; /* Could be more or less, depending on screen size */
}

.modal-dialog {
    max-width: 1000px;
}

/* ==========================================================================
   Media Queries
   ========================================================================== */
@media only screen and (max-width: 1080px) {
    h1 { font-weight:300; font-size:1.8rem; }
    h2 { font-weight:lighter; font-size:1.2rem; }
    .top-logos { margin-bottom: 10px; }
    .top-logos img { height: 48px; }
}

@media only screen and (max-width: 760px) {
    #hk1-htbt-code, #hk2-htbt-code, #hk3-htbt-code {
        font-size: 75%;
    }

    .hk-detailbild {
        max-width: 250px;
        max-height: 150px;
        margin: 10px 0 10px 0;
    }
}

@media only screen and (max-width: 660px) {
	.tool-col-container {
        width: auto;
        min-width: 0;
        max-width: none;
    }

    body {
        font-size: 0.7rem;
    }

    h1 { font-size:1.6rem; }
    h2 { font-size:1.1rem; }
    h3 { font-size:0.8rem; }
    h4 { font-size:0.6rem; }

    .subscript {
        font-size: 0.5rem;
    }

    .popover-title-addon {
        font-size: 75%
    }

    .text-smaller {
        font-size: 11px;
    }

    .help-icon {
        font-size: 10px;
    }

    .tool-intro {
        font-size: 0.8rem;
    }

    #infografik-raum img {
        width: 300px;
    }
}

/* ==========================================================================
   Print styles
   ========================================================================== */
@media print {
	body {
    	background-image: none !important;
		-webkit-print-color-adjust: economy !important;
	}

	.infobutton,
    .help-icon,
    .footer-spacer,
    header,
    footer,
    #modal-information,
    #modal-impressum {
		display: none;
	}

	.tool-header h1,
	.tool-header h4,
	.tool-header h3,
	main > h1, main > h4 {
		color: #000 !important;
	}

	main {
		margin-bottom: 0px;
	}

	*,
	*:before,
	*:after {
		box-shadow: none !important;
		text-shadow: none !important;
	}

	pre,
	blockquote {
		border: 1px solid #999;
		page-break-inside: avoid;
	}

	thead {
		display: table-header-group;
	}

	tr,
	img,
    .row {
		page-break-inside: avoid;
	}

	p,
	h2,
	h3 {
		orphans: 1;
		widows: 1;
	}

	h2,
	h3 {
		page-break-after: avoid;
	}

    .main-title h2 {
        font-size: 0.85rem;
    }

	/*.modal {
		display: block;
		position: static;
		background-color: #fff;
		float: none;
		width: 100%;
		height: auto;
		clear: both;
		min-height: 0;
		max-height: none;
	}*/

	/*.modal-content {
		background-color: #fff;
		margin: auto;
		padding: 20px;
		border: none;
		max-width: none;
		min-height: 0;
		max-height: none;
	}*/

	.tool-col-container {
		/*width: 90% !important;*/
		margin: auto;
		float: none;
		position: static;
		min-width: 0;
		max-width: none;
	}

    .page-break {
        page-break-before: always;
    }

    .tool-result-body {
        position: relative;
        width: 100%;
        max-width: 1280px;
        margin: 0 auto;
    }

    .tool-result-container {
        background-color: #fff;
        color: #000 !important;
    }

    .tool-result-container h1, .tool-result-container h2, .tool-result-container h3, .tool-result-container h4 {
        color: #000 !important;
    }

    .hk-detailbild {
        max-width: 220px;
        max-height: 120px;
        margin: 5px 0 5px 0;
    }

    #infografik-raum img {
        width: 200px;
        margin-bottom: 5px;
    }

    #infografik-raum span {
        display: none;
    }
}
