/* start with some font embedding */
@font-face {
    font-family: 'DIN-NEXT-LT-PRO';
    src: url('/bl-themes/remszeitung/css/fonts/DINNextLTW05-Regular.woff2') format('woff2'),
         url('/bl-themes/remszeitung/css/fonts/DINNextLTW05-Regular.woff') format('woff');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'DIN-NEXT-LT-PRO';
    src: url('/bl-themes/remszeitung/css/fonts/DINNextLTW05-Bold.woff2') format('woff2'),
         url('/bl-themes/remszeitung/css/fonts/DINNextLTW05-Bold.woff') format('woff');
    font-weight: 700;
    font-display: swap;
}

/* screenreader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* overrides for WCAG */
.form-control, .form-check-input {
    border: 2px solid #283845;
}


/* colors from brand style guide */
:root {
    /*--kobaltblau: #4f80ff;*/
    --kobaltblau: #1F5EFF;
    --kiwigruen: #6bb024;
    --kuerbisrot: #e84f1c;
    --graublau: #EFF3F5;
    --dunkelblau: #2A3845;
}

.bg-kobaltblau {
    background-color: var(--kobaltblau);
}

.bg-dunkelblau {
    background-color: var(--dunkelblau);
}

html {
	position: relative;
	min-height: 100%;
    font-family: DIN-NEXT-LT-PRO, sans-serif!important;
}

body {
	/* Padding top for navbar */
	padding-top: 56px;
	/* Margin bottom for footer height */
	margin-bottom: 60px;
    font-family: DIN-NEXT-LT-PRO, sans-serif!important;
    color: var(--dunkelblau);
    background-color: var(--graublau);
    hyphens: auto;
}

a, a:visited {
    color: var(--kobaltblau);
    text-decoration: none;
    font-weight:700;
}

a:hover, a:focus, a:active {
    color: var(--kuerbisrot);
    text-decoration: none;
}

section {
	padding: 50px 0;
}

img {
	max-width: 100%;
}

pre,
code {
	background: #f8f8f8;
	color: #333;
}

pre {
	border-left: 2px solid #ccc;
	padding: 10px;
}

code {
	display: inline-block;
	padding: 0 0.5em;
	line-height: 1.4em;
	border-radius: 3px;
}

table {
	empty-cells: show;
	border: 1px solid #cbcbcb;
	width: 100%;
	font-size: 0.9em;
	margin-bottom: 1rem;
}

thead {
	background-color: #e0e0e0;
	color: #000;
	text-align: left;
	vertical-align: bottom;
}

tr {
	display: table-row;
	vertical-align: inherit;
	border-color: inherit;
}

th,
td {
	padding: 0.5em 1em;
}

h1.title {
    font-size: 1.7rem;
    font-weight: 700;
}

h2.title {
	font-size: 1.5rem;
}

h2, h3 {
    font-size: 1.3rem;
    padding-bottom:10px;
}

blockquote {
	padding: 10px 20px;
	margin: 0 0 20px 20px;
	border-left: 5px solid #eee;
	font-style: italic;
}

.bi {
	margin-right: .5rem !important;
}


/* Paginator */
.paginator {
	margin-top: 20px;
	margin-bottom: 80px;
}

/* Navbar */
.navbar-dark .navbar-nav .nav-link {
  color: rgba(255,255,255,.92);
}
.navbar-dark .navbar-nav .nav-link:hover {
  color: var(--kuerbisrot);
}

img.nav-svg-icon {
	width: 1rem;
	height: 1rem;
	padding-bottom: 2px;
}

img.navbar-logo {
    max-width: 200px;
}

.nav-link {
    font-weight: 700;
    letter-spacing: 0.05em;
}

/* Text */

.text-muted {
  color: #616A70 !important;
}

/* Footer */
footer {
	position: absolute;
	bottom: 0;
	width: 100%;
	height: 70px;
	font-size: 0.8em;
    padding-top: 10px;
    letter-spacing: 0.1em;
    hyphens: none;        /* Standard-Eigenschaft */
}

footer a, footer a:visited {
    color: #7A9EFF;
}

footer a:hover, a:focus, a:active {
  color: var(--kuerbisrot);
}

.mini-logo {
	height: 22px;
	padding-bottom: 5px;
}

/* Home - Header */
header.welcome {
	padding: 25px 0;
}

/* Home - Page */
section.home-page:nth-child(even) {
	/* Alternate the background color */
	background: #FAFAFA;
}

.page-cover-image {
	background-size: cover;
	background-position: center;
}

.page-description {
	color: #b5b5b5;
	font-style: italic;
}

a.btn {
    color: white;    
}

/* VIDEO EMBED RESPONSIVE */
.video-embed {
	overflow: hidden;
	padding-bottom: 56.25%;
	/* 16:9 */
	position: relative;
	height: 0;
}

.video-embed iframe {
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;
	position: absolute;
}


/* dark mode specific*/
@media (prefers-color-scheme: dark) {

html, body {
    background: var(--dunkelblau);
    color: var(--graublau);;
}

a, a:visited {
    color: #7A9EFF;
    text-decoration: none;
    font-weight:700;
}

.text-muted {
  color: #A1A1A1 !important;
}

}