body {
	position: relative; 
}

div.header, div.footer {
	background-color: #F8F8F8;
}



/* Bootstrap icon */
.encicon {
	display: inline-block;
	font-weight: 500;
	color: #BC262C;
	text-align: center;
	cursor: default;
	border-radius: 50%;
	background-color: transparent;
}

.encicon-sm {
	width: 80px;
	height: 80px;
	font-size: 64px;
	line-height: 74px;
	border: 5px solid #BC262C;
}

.encicon-xs {
	width: 40px;
	height: 40px;
	font-size: 34px;
	line-height: 36px;
	border: 3px solid #BC262C;
}

.encicon-xs2 {
	width: 36px;
	height: 36px;
	font-size: 30px;
	line-height: 32px;
	border: 3px solid #BC262C;
}

.encicon-bg-white {
	background-color: #FFF;
}

.encicon-menue-xs {
	padding-top: 4px;
	padding-left: 15px;
}

.encicon-menue-sm {
	padding-top: 2px;
	padding-right: 5px;
}



header {
	padding-top: 15px;
	padding-bottom: 15px;
}

header div {
	display: inline-block;
	padding-left: 0.5em;
}

header h1 {
	font-weight: bold;
	padding: 0;
	margin: 0;
}

h1, h2, h3, h4, h5, h6 {
	color: #BC262C;
}

/*h1.likeh2 {
	font-size: 1.875em;
}*/

@media (max-width: 767px) {
	header h1 {
		font-size: 1.5em;
		line-height: 0.8em;
	}
	h2 {
		font-size: x-large;
	}
	h3 {
		font-size: large;
	}
}

@media (min-width: 768px) and (max-width:991px) {
	header h1 {
		font-size: 2.5em;
	}
}

header h1.title-md-search {
	font-size: 1.8em;
}

header h1 + span {
	letter-spacing: 0.2em;
}

header div.navbar-icons {
	position: absolute;
	top: 15px;
	right: 75px;
	margin: 0;
	padding: 0;
	height:60px;
	display: -webkit-flex;
	-webkit-align-items: center;
	display: flex;
	align-items: center;
}

header div.navbar-icons span.glyphicon {
	color: #999;
}

header div.navbar-icons a:hover span.glyphicon {
	color: #C82B31;
}

header div.navbar-icons li.active span.glyphicon {
	color: #BC262C;
}

header div.navbar-icons ul.navbar-nav a {
	background-color: transparent;
}

footer {
	margin-top: 10px;
	/*padding: 15px;*/
}

@media (max-width: 991px) {
	footer .col-md-6:nth-child(even) {
		margin-top: 10px;
	}
}

@media (min-width: 992px) {
	footer .col-md-6:nth-child(even) {
		text-align: right;
	}
}

footer .credits {
	font-size: smaller;
}

footer .channels i {
	color: #999;
}

footer .channels a:hover i {
	color: #000;
}

.affix {
	top:0;
	width: 100%;
	z-index: 9999 !important;
}



/* background color and navigation menu frame color */
.navbar-default {
	background-color: #999;
	border-color: #BC262C;	
}

#topNavbar {
	padding-left: 0;
}

/* text color for navigation menu items */
.navbar-default .navbar-nav > li > a {
	color: #FFF;
}

/* color & background of menu item when mouse pointer is over or focused */
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
	color: #FFF;
	background-color: #C82B31;
}

/* color & background of active menu item when mouse pointer is over or focused */
.navbar-default .navbar-nav > .active > a, 
.navbar-default .navbar-nav > .active > a:hover, 
.navbar-default .navbar-nav > .active > a:focus {
	color: #FFF;
	background-color: #BC262C;
}

/* color & background of open menu item and when mouse pointer is over or focused */
.navbar-default .navbar-nav > .open > a, 
.navbar-default .navbar-nav > .open > a:hover, 
.navbar-default .navbar-nav > .open > a:focus {
	color: #ecf0f1;
	background-color: #BC262C;
}

@media (min-width: 768px) {
/* color & background of active dropdown menu item when mouse pointer is over or focused */
	.navbar-default .navbar-nav > li.dropdown > ul.dropdown-menu > .active > a, 
	.navbar-default .navbar-nav > li.dropdown > ul.dropdown-menu > .active > a:hover, 
	.navbar-default .navbar-nav > li.dropdown > ul.dropdown-menu > .active > a:focus {
		background-color: #999;
	}

/* decreasing navbar height (2)  */
    .navbar {
		min-height: 42px;
	}

	.navbar-nav > li > a {
		padding-bottom: 10px;
		line-height: 15px;
	}

/*  color, background & padding of dropdown-menu elements, including mouseover and focusing (3) */
	.navbar-default .navbar-nav > .dropdown > ul.dropdown-menu {
		color: #4F4F4F;
		background-color: #F5F5F5;
	}

	.navbar-default .navbar-nav > .dropdown > ul.dropdown-menu > li > a {
		padding: 4px 10px;
	}

	.navbar-default .navbar-nav > .dropdown > ul.dropdown-menu > li > a:hover, 
	.navbar-default .navbar-nav > .dropdown > ul.dropdown-menu > li > a:focus {
		background-color: #D6D6D6;
	}

/* grid columns divider (4) */
    .grid-divider {
        position: relative;
        padding: 0;
    }
    .grid-divider>[class*='col-'] {
        position: static;
    }
    .grid-divider>[class*='col-']:nth-child(n+2):before {
        content: "";
        border-left: 1px solid #DDD;
        position: absolute;
        top: 0;
		left: 50%; /* property setting precisely centers the divider, but works only with 2 columns */
        bottom: 0;
    }
    /*.col-padding {
        padding: 0 15px;
    }*/
}

/* caret color of drop-down menu items */
.navbar-default .navbar-nav > .dropdown > a .caret {
	border-top-color: #FFF;
	border-bottom-color: #FFF;
}

/* caret color of drop-down menu items when mouse pointer is over or focused */
.navbar-default .navbar-nav > .dropdown > a:hover .caret,
.navbar-default .navbar-nav > .dropdown > a:focus .caret {
	border-top-color: #FFF;
	border-bottom-color: #FFF;
}

/* caret color of open menu items */
.navbar-default .navbar-nav > .open > a .caret, 
.navbar-default .navbar-nav > .open > a:hover .caret, 
.navbar-default .navbar-nav > .open > a:focus .caret {
	border-top-color: #FFF;
	border-bottom-color: #FFF;
}

/* CSS styles for mobile devices */
/* Frame color of the button that opens the menu */
.navbar-default .navbar-toggle {
	border-color: #FFF;
}

/* background of the button that opens the menu when mouse pointer is over or focused */
.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
	background-color: #BC262C;
}

/* stripes color in the button that opens the menu */
.navbar-default .navbar-toggle .icon-bar {
	background-color: #ecf0f1;
}

@media (max-width: 767px) {

/* margin settings for menue items */
	.navbar-default .navbar-nav > li > a,
	.navbar-default .navbar-nav > .dropdown > ul.dropdown-menu > li > a {
		margin-left: 10px;
	}

/* menu items color in drop-down lists */
	.navbar-default .navbar-nav .open .dropdown-menu > li > a {
		color: #ecf0f1;
	}

/* color and background of the menu item in drop-down lists when mouse pointer is over or focused */
.navbar-default .navbar-nav .open .dropdown-menu > li > a:hover,
.navbar-default .navbar-nav .open .dropdown-menu > li > a:focus {
	color: #ecf0f1;
	background-color: #666;
	}
}

.navbar {
	margin-bottom: 0px;
}


@media (min-width: 768px) {
	.navbar {
		border-radius: 0px;
	}
}



/* buttons */

btn-default:active,
.btn-default.active,
.open > .dropdown-toggle.btn-default {
	color: #FFF;
	background-color: #999;
	border-color: #adadad;
}

/* news, catalogue */

ul.news-list > li > a:link,
ul.news-list > li > a:visited,
ul.sections-list > li > a:link,
ul.sections-list > li > a:visited {
	text-decoration: none;
}

ul.news-list > li > a:hover,
ul.news-list > li > a:active,
ul.sections-list > li > a:hover,
ul.sections-list > li > a:active {
	text-decoration: underline;
}

ul.news-list > li > span.glyphicon,
ul.news-list > li > span.news-stats,
ul.sections-list > li span.glyphicon,
ul.sections-list > li span.sections-stats {
	color: #BC262C;
	font-size: 0.8em;
}

ul.news-list > li .glyphicon,
ul.sections-list > li .glyphicon {
	opacity: 0.6;
}

ul.news-list > li > span.news-stats,
ul.sections-list > li span.sections-stats {
	font-weight: bold;
}

ul.news-list > li,
ul.sections-list > li {
	padding: 5px 0px;
}

/* news */

ul.news-list > li > span.news-date-time {
	font-size: 0.8em;
}

q {
	display: block;
	position:relative;
	max-width: 500px;
	margin: 20px 0;
	line-height: 1.4;
}

q.unlimited {
	max-width: none;
}

q:before {
	display: inline-block;
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	content: "\f10d";
	font-size: 1.5em;
	color: #999;
    top:0;
    left:0;
	padding-right:10px;
}

blockquote {
	margin: 20px 0;
	font-size: 1em;
}

q div,
blockquote div {
	font-weight: bold;
}

div.help div.popover-content,
q div.popover-content,
blockquote div.popover-content {
    font-weight: normal;
}

blockquote div {
	margin-top: 20px;
}

div.help {
	padding: 10px;
	margin: 10px 0;
	background: #f2f2f2;
	border: 1px solid #ddd;
	border-radius: 4px;
}

/*div.help > div {
	font-weight: bold;
	margin-bottom: 10px;
}*/

div.help h3 {
	margin-top: 0;
}

div.help .img-thumbnail {
	padding: 0;
}

/* (!) parent selector */
table.table-striped:has(+ div.help) {
	margin-bottom: 0;
}

span.spacing {
	letter-spacing: 0.3em;
}

/* catalogue */

ol {
	padding-left: 25px;
}

ul.custom-bullet,
ul.sections-list {
	padding-left: 15px;
}

ol,
ul.custom-bullet {
	overflow: auto;
}

/* temporary solution with hope of parent selector */
/*ol.custom-bullet-note, ul.custom-bullet-note {
	overflow: visible!important;
}*/

ul.custom-bullet-tabs,
ul.sections-list {
	margin-bottom: 0;
}

.custom-bullet li {
    display: block;
}

.custom-bullet li:before
{
    /*Using a Bootstrap glyphicon as the bullet point*/
    content: "\e080";
    font-family: 'Glyphicons Halflings';
    font-size: 9px;
    float: left;
    margin-top: 4px;
    margin-left: -17px;
    color: #CCCCCC;
}

div.help > ul.custom-bullet {
	margin-bottom: 0;
}

/* forms */

/* required fields */
.form-group.required .control-label:after {
  content: "*";
  color: #d9534f;
}

/* file property descriptions */
span.filedesc {
	font-size: smaller; 
}
span.filedesc span:after {
  content: ":";
}

.form-group .help-block {
	margin-bottom: 0;
}

/* resets some defaults from .form-control to inline form element  */
.form-control-inline {
	display: inline;
	width: auto;
}

/* pseudo :last-child of .input-group-addon */
.pseudo-last-child {
	border-left: 0;
	border-top-right-radius: 4px!important;
	border-bottom-right-radius: 4px!important;
}

/* removes vertical borders in .input-group-addon */
.clear-v-borders {
	border-left: 0;
	border-right: 0;
}

/* search form in header */

.search-form .form-group-header input.form-control::-webkit-input-placeholder {
	display:none;
}

.search-form .form-group-header input.form-control::-moz-placeholder {
	display:none;
}

.navbar-right{
	width:60px; /*or I can probably just use columns*/
	margin-right: 0;
	padding-left: 0;
}

.navbar-right form {
	width:100%;
}

.form-group-header {
	position:relative;
	width:0%;
	min-width:60px;
	height:60px;
	overflow:hidden;
	transition: width 1s;
	backface-visibility:hidden;
}

.form-group-header input.form-control {
	position:absolute;
	top:0;
	right:0;
	outline:none;
	width:100%;
	height:60px;
	margin:0;
	z-index:10;
	display: none;
}

.form-group-header input[type="text"].form-control {
	-webkit-appearence:none;
	-webkit-border-radius:0;
}

.form-control-submit,
.search-label {
	width:60px;
	height:60px;
	position:absolute;
	right:0;
	top:0;
	padding:0;
	margin:0;
	text-align:center;
	cursor:pointer;
	line-height:60px;
	background:#999;
	color: #FFF;
	border-radius: 50%;
}

.search-label:hover {
	background-color: #BC262C;
}

.form-control-submit {
	background:#fff; /*stupid IE*/
	opacity: 0;
	color:transparent;
	border:none;
	outline:none;
	z-index:-1;
}

.search-label {
	z-index:90;
}

.form-group-header.sb-search-open,
.no-js .sb-search-open {
	width:600px;
}

.form-group-header.sb-search-open .search-label,
.no-js .sb-search .search-label {
	background-color: #BC262C;
	color: #fff;
	z-index: 11;
	border-radius: 0;
}

.form-group-header.sb-search-open .form-control-submit,
.no-js .form-control .form-control-submit {
	z-index: 90;
}

.form-group-header.sb-search-open input.form-control,
.no-js .form-control input.form-control {
	display: inline;
}

.form-group-header input.form-control.input-warning,
.no-js .input-warning {
	border: 2px solid #cc0000;
}

.form-group-header input.form-control.input-warning::placeholder,
.no-js .input-warning::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
	color: #cc0000;
	opacity: 1; /* Firefox */
}

.form-group-header input.form-control.input-warning:-ms-input-placeholder,
.no-js .input-warning:-ms-input-placeholder { /* Internet Explorer 10-11 */
	color: #cc0000;
}

.form-group-header input.form-control.input-warning::-ms-input-placeholder,
.no-js .input-warning::-ms-input-placeholder { /* Microsoft Edge */
	color: #cc0000;
}



/* breadcrumbs default */

.breadcrumb {
	background-color: transparent;
	font-size: 0.8em;
}

.breadcrumb > li.breadcrumb-item {
display: inline;
}



/* breadcrumbs enhanced */

.btn-breadcrumb.btn-group {
	padding-top: 15px;
}

.btn-breadcrumb .btn:not(:last-child):after {
  content: " ";
  display: block;
  width: 0;
  height: 0;
  border-top: 17px solid transparent;
  border-bottom: 17px solid transparent;
  border-left: 10px solid white;
  position: absolute;
  top: 50%;
  margin-top: -17px;
  left: 100%;
  z-index: 3;
}
.btn-breadcrumb .btn:not(:last-child):before {
  content: " ";
  display: block;
  width: 0;
  height: 0;
  border-top: 17px solid transparent;
  border-bottom: 17px solid transparent;
  border-left: 10px solid rgb(173, 173, 173);
  position: absolute;
  top: 50%;
  margin-top: -17px;
  margin-left: 1px;
  left: 100%;
  z-index: 3;
}

.btn-breadcrumb .btn {
  padding:6px 12px 6px 24px;  
}
.btn-breadcrumb .btn:first-child {
  padding:6px 6px 6px 10px;
}
.btn-breadcrumb .btn:last-child {
  padding:6px 18px 6px 24px;
}

/** default button **/
.btn-breadcrumb .btn.btn-default:not(:last-child):after {
  border-left: 10px solid #fff;
}
.btn-breadcrumb .btn.btn-default:not(:last-child):before {
  border-left: 10px solid #ccc;
}
.btn-breadcrumb .btn.btn-default:hover:not(:last-child):after {
  border-left: 10px solid #ebebeb;
}
.btn-breadcrumb .btn.btn-default:hover:not(:last-child):before {
  border-left: 10px solid #adadad;
}

/** active button **/
.btn-breadcrumb .btn.btn-default.btn-active {
	cursor: default;
}

/* the responsive part */

.btn-breadcrumb > * > div {
    /* With less: .text-overflow(); */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-breadcrumb > *:nth-child(n+2) {
  display:none;
}

/* === for phones =================================== */
@media (max-width: 767px) {
    .btn-breadcrumb > *:nth-last-child(-n+2) {
        display:block;
    } 
    .btn-breadcrumb > * div {
        max-width: 60px;
    }
}

/* === for tablets ================================== */
@media (min-width: 768px) and (max-width:991px) {
    .btn-breadcrumb > *:nth-last-child(-n+4) {
        display:block;
    } 
    .btn-breadcrumb > * div {
        max-width: 100px;
    }
}

/* === for desktops ================================== */
@media (min-width: 992px) {
    .btn-breadcrumb > *:nth-last-child(-n+6) {
        display:block;
    } 
    .btn-breadcrumb > * div {
        max-width: 170px;
    }
}



/* rss */

div.rss {
	display: block;
}

div.rss i {
	font-size: larger;
	color: #FFA500;
}

div.rss i:hover {
	color: #FF4500;
}



/* etc */

/* font size for navbar-icons, menu items, news list, breadcrumb  */
ul.navbar-icons-log span.glyphicon,
.navbar-default .navbar-nav > li > a,
.navbar-default .navbar-nav > .dropdown > ul.dropdown-menu > li > a,
ul.news-list > li > span.subtitle {
	font-size: 0.9em;
}

/* margins before supposed page breaks & block breaks */
ul.sections-list-last > li:last-child,
p:last-child,
.last-before-footer {
	margin-bottom: 15px;
}

/* margins before unfiltered elements which are preceded by list of sections. Sections & elements may be divided by pager */
ul[class*="sections-list"] + [class~="line-element"],
ul[class*="sections-list"] + [class~="last-before-footer"] {
	margin-top: 20px;
}

/* margins after news list in an appropriate tab */
[class~="tab-pane"] > ul[class*="news-list"] {
	margin-bottom: 10px;
}

/* search request examples */
.search-page dt
{
	font-style: italic;
}

/* pagination */

ul.pagination {
	margin-top: 5px;	
	margin-bottom: 0;
}

ul.pagination > li > a,
ul.pagination > li > a:hover {
	color: #000;
}

ul.pagination > .active > span,
ul.pagination > .active > span:hover {
	background-color: #999;
    border-color: #ddd;
}

/* handling long words and URLs */
.dont-break-out {

	/* These are technically the same, but use both */
	overflow-wrap: break-word;
	word-wrap: break-word;

	-ms-word-break: break-all;
	/* This is the dangerous one in WebKit, as it breaks things wherever */
	word-break: break-all;
	/* Instead use this non-standard one: */
	word-break: break-word;

	/* Adds a hyphen where the word breaks, if supported (No Blink) */
	-ms-hyphens: auto;
	-moz-hyphens: auto;
	-webkit-hyphens: auto;
	hyphens: auto;
}

/* alerts */

.alert-info {
	color: #000;
    background-color: #fff;
    border-color: #ddd;
}

/*.alert-info .fas,
.card-detail .alert-info .far {
	color: #31708f;
}*/

/* from 4th version */

.alert-secondary {
    color: #383d41;
    background-color: #eceeef;
    border-color: #d6d8db;
}

/* handling images */

img.img-grayscale {
    filter: gray; /* IE6-9 */
    -webkit-filter: grayscale(1); /* Google Chrome, Safari 6+ & Opera 15+ */
    filter: grayscale(1); /* Microsoft Edge and Firefox 35+ */
}

/* Disable grayscale on hover */
img.img-grayscale:hover {
  -webkit-filter: grayscale(0);
  filter: none;
}