/* begin: BOOTSTRAP/-THEME.CSS CORRECTIONS */
.btn-primary
{
	background-color: #C71E01 !important; /* TODO: find out pseudo-class they use to override the correct one */
	text-shadow: none;
	color:#fff !important;
	border:1px solid #ddd;
}

.btn.active, .btn:active {
	box-shadow: none;
}


/* navMobile needs this for the menu-button to appear, but background color is wrong for our tastes, correct it */
.navbar-default {
	background-color:#fff;
}

.text-primary,
.text-primary:hover {
	color:#000;
}
.thumbnail {
	margin-bottom:10px;
	border-width:0;
	padding:0;
	background-color:transparent;
}
.thumbnail > .caption {
	text-align:right;
	padding:0;
	color:#777;
	font-size:12px;
}
.h1, .h2, .h3, .h4,
h1, h2, h3, h4 {
	font-family: "Droid Serif", Georgia, "Times New Roman", Times, serif;
	margin-top:0;
	margin-bottom:0;
 color:#000; 
}
/* h1, h2, h3, h4 {} */
hr {
	margin-top:10px;
	margin-bottom:10px;
	border-top-color:#ddd;
}
.label {
	color:#000;
	font-weight:inherit;
	padding:3px;
	padding-left:10px;
}
.label-default {
	background-color:#EBEBEB;
}
.navbar-right {
	margin-right:0;
}

.tooltip-inner {
	color:#000;
	background-color:#fff;
	border:1px solid #000;
}

@media (min-width: 768px) and (max-width: 1023px) {
	/*make "medium" container behave also like small, so we don't have to deal
 with strange effects in the "Alle Nachrichten" column */
	.container {
		width: 100%;
	}
}

a,
a:link,
a:visited,
a:hover,
a:active {
	color:inherit; /* undo bootstrap "lowlevel" css setting to blue */
	text-decoration:none;
}

/*bootstrap-select plugin. used in e.g. nachrichtenSuche, Energie Archiv */
.bootstrap-select.btn-group,
.bootstrap-select.btn-group[class*="span"] {
	margin-bottom: 0px;
}

/* extra CSS for mobile nachrichten menu */

.mobile-nachrichten > ul,
.mobile-nachrichten ul > li > ul > li {
	list-style-type: none;
}

.mobile-nachrichten > ul,
.mobile-nachrichten > ul > li > a
{
	text-decoration: none;
	color: #777;
	padding-left: 20px;
}

.mobile-nachrichten > ul > li {
	padding-bottom: 5px;
}

.mobile-nachrichten > ul > li.active > a,
.mobile-nachrichten > ul > li > ul > li.active {
	color: #fff;
	background-color: #C71E01;
}

.mobile-nachrichten > ul, 
.mobile-nachrichten > ul > li > ul {
	padding-left: 0;
}

.mobile-nachrichten > ul > li > a {
	display: block;
}

.mobile-nachrichten > ul > li > ul > li > a {
	font-size: 0.95em;
	padding-left: 40px;
	line-height: 1.5em;
}

.mobile-nachrichten {
	padding-top: 0;
}

#mobile-nachrichten-dropdown {
	padding: 10px 15px;
	background-color: #e7e7e7;
}

.mobile-nachrichten {
	background-color: #eee !important;
}

.breadcrumb {
	background-color:#fff;
	margin-bottom:0;
	padding:0 0;
}
/* end: BOOTSTRAP/-THEME.CSS CORRECTIONS */


/* begin: DATAFAB HIGHCHARTS CORRECTIONS */
/*
.highcharts-title {
        white-space: normal !important;
}
*/
/* end: DATAFAB HIGHCHARTS CORRECTIONS */

/* begin: TINYMCE CREATED */
.justifyright {
	text-align:right; 
}
main .rte ul {
    list-style-type: none;
}
main .rte li:before {
    vertical-align: middle;
    display: inline-block;
    margin:0 8px 2px -12px;
    width: 5px;
    height: 5px;
    background: #C71E01;
    content: "";
}

/* end: TINYMCE CREATED */



/* begin: OWN GLOBAL STUFF */

/* stop IE paternalism. here: displaying click crosses in text fields */
::-ms-clear {
	display: none;
}

/* stop FF paternalism. here: dotted border around clicked links */
a:focus {
    outline: none;
}

body {
	/* don't let browsers display any horizontal scrollbar on the body */
	overflow-x:hidden;
	background-color:#fff;
	/* add word hyphenation according to lang attribute of html element */
    -ms-hyphens: auto;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
}

p {
    margin-top:0;
    /*one line afterwards, takes into account bootstrap line-height*/
    margin-bottom:1.2857em;
}

th, td {
    vertical-align:top;
}

.table-row {
    display:table-row;
}
.table-cell {
    display:table-cell;
    vertical-align:top;
}

/* white page where all content is displayed */
#sheet {
	background-color:#fff;
	box-shadow: 0px 0px 5px #666;
	-webkit-box-shadow: 0 0 5px #666;
	-moz-box-shadow: 0 0 5px #666;
	margin-bottom:20px;
}
@media (min-width: 1024px) {
	#sheet {
		margin-top:6px;
	}
}

main, aside {
    margin-bottom:10px;
}

/* >= sm: margin */
@media (min-width: 1024px) {
	main, aside {
	    margin-top:25px;
	}
}
@media (max-width: 1023px) {
	main, aside {
    margin-top:15px;
	}
}

/*@media (min-width: 1024px) {
	main, aside {
	    margin-top:25px;
	}
}*/

@media (min-width: 1024px) {
	main {
		padding-right:10px !important;
	}
	aside {
		border-left:1px solid #ddd;
		padding-left:10px !important;
	}
}


.ellipsis {
	white-space:nowrap;
	overflow:hidden;
	text-overflow:ellipsis
}

@media (min-width: 1024px) {
	.contentCol {
		padding-left:12px;
		padding-right:12px;
	}
	.contentRow {
		margin-left:2px;
		margin-right:2px;
	}
}
.contentRow {
	margin-bottom:20px;
}

footer {
	background-color: #E4E4E4;
	padding-top:5px; 
	padding-left:20px;
}
footer .col-md-3 a,
footer .col-md-2 a {
	display:block;
	padding-top:6px;
	padding-bottom:6px;
	cursor:pointer;
}
/* http://stackoverflow.com/questions/2989263/disable-auto-zoom-in-input-text-tag-safari-on-iphone */
@media screen and (-webkit-min-device-pixel-ratio:0) {
	select:focus, textarea:focus, input:focus {
		font-size: 16px;
		/*background:#eee;*/
  }
}

.btn.verticalSpacer {
	/* align text like there would be a button beneath it*/
	width:1px;
	padding-left:0;
	padding-right:0;
	visibility:hidden;
	background-color:inherit;
}

#resetSearchButton {
	/* undo pointer-events:none of bootstrap */
	pointer-events:inherit;
	/*initial*/
	display:none;
	color:#C71E01;
}

.newsOverviewDayDivider {
	padding-left:3px;
	background-color:#ddd;
	color:#000;
	/* since we do all caps, nudge text 2px down to again appear to be aligned vertically */
	padding-top:2px;
}

.ad-row img {
  max-width: 100%;
  height: auto;
}


/*
#trackingConsent {
        z-index: 9999;
        position: fixed;
        top:0;
        left:0;
        bottom:0;
        right:0;
        justify-content:center;
        align-items:center;
        background-color:rgba(40,40,40,0.8);
}

@media only screen and (min-width:768px) {
	#trackingConsent > div {
	        padding-top:10px;
	        padding-bottom:10px;
	        margin-bottom:0;
	        width:40%;
	}
}

@media only screen and (max-width:768px) {
	#trackingConsent > div {
	        padding-top:10px;
	        padding-bottom:10px;
	        margin-bottom:0;
	        width:90%;
	}
}
*/

.trackH {
	margin-bottom:20px;
}
.trackH, .trackV {
	display:flex;
}
.trackH {
	align-items:stretch;
	flex-wrap:wrap;
}
.trackV {
	flex-direction:column;
	justify-content:space-between;
	flex:1;
	min-width:300px;
}
.trackC2 {
	margin-top:10px;
}
@media (min-width:768px) {
	.trackDivider {
	  width: 2px;
	  margin: 0 12px 0 12px;
	  background: #ccc;
	}
	#trackingConsent > div {
		max-width:902px;
	}
}
@media (max-width:768px) {
	.trackDivider {
		padding-top:20px;
	}
}
#trackingConsent {
  z-index: 9999;
  position: fixed;
  top:0;
  left:0;
  bottom:0;
  right:0;
  justify-content:center;
  align-items:center;
  background-color:rgba(40,40,40,0.8);
}
#trackingConsent > div {
  padding-top:10px;
  padding-bottom:10px;
  margin-bottom:0;
  margin-left:10px;
  margin-right:10px;
}


#trackingConsentReminder {
        font-size:30px;
        position:fixed;
        left:20px;
        bottom:10px;
        z-index: 9999;
        opacity:0.6;
        cursor:pointer;
}



/* end: OWN GLOBAL STUFF */



/*=========================BEGIN #navMobile ===============================*/
#navMobile.navbar-default {
	border-width:0;
}
#navMobile.navbar {
	margin-bottom:0px;
}
#navMobile .navbar-toggle {
	background-color:#fff;
	margin-right:0
}
#navMobile .navbar-collapse {
	border-width:1px 0;
	border-style:solid;
}
/*=========================END #navMobile ===============================*/

/*=========================BEGIN #navDesktop ===============================*/
#navDesktop {
	margin-left:-3px;
	margin-right:-3px;
	border-left-width:0;
	border-right-width:0;
}
/*nav-tabs = 1st level navigation */
#navDesktop .nav-tabs > li > a {
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
	padding-top:6px;
	padding-bottom:6px;
	padding-right: 8px;
	padding-left: 8px;
	font-size: 1em;
}
#navDesktop .nav-tabs {
    margin-top:0;
	padding-left:20px;
}
#navDesktop .nav-tabs a {
	/* font-family: 'Droid Serif', serif; */
	color:#333;
}
#navDesktop .nav-tabs li.active a {
	color:#000;
}

#navDesktop .navbar-nav li a {
    padding-top:10px;
    padding-bottom:10px;
}
/*navbar-nav = 2nd level navigation */
#navDesktop .navbar-nav > .active > a:hover,
#navDesktop .navbar-nav > .active > a {
	color:#fff;
	background-color:#C71E01;
}
#navDesktop .tab-content {
	margin-left:3px;
	margin-right:3px;
}
#navDesktop.navbar {
    margin-bottom:0px;
}

#navDesktop.navbar-default {
	border-top-width:0;
}
#navDesktop #meinEMLoginButton {
	background-color:#C71E01;
	color:#fff;
}
#navDesktop #tab1 a {
	cursor:pointer
}

/* testing freefilter with added div */

#navDesktop .navbar-nav > .active > div > a {
	background-color:#C71E01;
	color:#fff;
}

#navDesktop .navbar-nav li div > a {
	padding-top: 10px;
  padding-bottom: 10px;
}

.nav > li > div > a {
    position: relative;
    display: block;
    padding: 10px 15px;
}

.nav > li > div > div {
    margin: 10px 15px;
}

.nav > li:hover {
    background-color: #eeeeee;
}

.subcatff .active > a {
		background-color:#C71E01;
		color:#fff;
}

#navDesktop div.dropdown-menu.subcatff-menu li.active a:hover {
	color: #000;
}


.subcatff  li > a {
		color: #000;
}

.subcatff a {
		white-space: nowrap;
}

#navDesktop .navbar-nav .active {
		background-color:#ae1a01;
		color:#fff;
}

#navDesktop .navbar-nav > li  {
		cursor: pointer;
}

.subcatffdropdown > li > a {
	margin-left: 20px;
}


/*=========================END #navDesktop ===============================*/


/*=========================BEGIN #nachrichten ===============================*/
#nachrichten .carousel .item {
	cursor:pointer;
}
#nachrichten .carousel-indicators .active {
  background-color: #C71E01;
}
#nachrichten .carousel-indicators > li {
  border:1px solid #333;
  background-color: #fff;
}


#nachrichten .newsOverviewDayDivider {
}


/* x90 banners, horizontal */
@media (max-width: 1023px) {
    .ad-row a > img {
        max-width:100%;
        margin-bottom:6px;
    }
}

/* 160x banners, vertical */
.ad-column a {
    display:block;
    margin-top:5px;
}
/* < sm: collapse */
@media (max-width: 767px) {
    .ad-column {
        display: block;
    }
}
/* >= sm: margin */
@media (min-width: 768px) {
    .ad-column > div.marginwrap {
        margin-left:6px;
    }
}
/* >= md: margin */
@media (min-width: 1024px) {
	.ad-column > div.marginwrap {
		margin-top:6px;
        margin-right:6px;
	}
}

/* right side of honeystick */
/* < md: collapse */
@media (max-width: 1023px) {
  .ad-honeystick-right {
    display: block;
  }
}
@media (min-width: 1024px) {
  .ad-honeystick-right {
    max-width:160px;
  }
}


#nachrichten-nebenspalte-ad-column img {
    max-width:100%;
    height: auto;    
}
#nachrichten-after-carousel-ad img {
    max-width:90vw;
    height: auto;    
}


/*=========================END #nachrichten =================================*/

/*=========================BEGIN #nachrichtenSuche ===============================*/
#nachrichtenSuche {
  border-radius: 5px;
  border-left: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  box-shadow: 3px 3px 3px #aaa;    
  -webkit-box-shadow: 3px 3px 3px #aaa;    
  -moz-box-shadow: 3px 3px 3px #aaa;    
}
#nachrichtenSuche .head {
  background-color:#ddd;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  border-bottom-color: #ddd;
  padding:10px;
}
#nachrichtenSuche .projectHighlight {
  /*background-color: #FBD852;*/
  font-style:italic;
  color:#C71E01;
}

/*
#nachrichtenSuche  a.newsOverviewItem {
    padding-left:20px;
}*/
/*=========================END #nachrichtenSuche =================================*/



/*=========================BEGIN #nachrichtenDetail ============*/
#nachrichtenDetail .img-responsive {
	width: 100%;
	/*height: auto;*/
}

/*#nachrichtenDetail .nachrichtenDetailNachricht {
	line-height:1.4;
}*/
/*=========================END #nachrichtenDetail ==============*/



/*==============BEGIN spinner in pd-mus.php */
/*
the following 3 definitions work like this:
- somewhere in the body there is <div class="modal"></div>
- somewhere in the javascript there is: $("body").addClass("loading");
  this overrides the "display:none" of .modal with "display:block" (3rd definition)
*/
#bigSpinner {
	display:    block;
	position:   fixed;
	z-index:    1000;
	top:        0;
	left:       0;
	height:     100%;
	width:      100%;
	/*background: rgba( 255, 255, 255, .5 ) no-repeat url(img/ajax-loader.gif) 50% 50% ;*/
	background: #fff url(../../../img/spinner.150x150.gif) no-repeat 50% 50% ;
	background-size:150px 150px;
	-khtml-opacity:.50;
	-moz-opacity:.50;
	-ms-filter:"alpha(opacity=50)";
	opacity:.50;
}
/*==============END spinner in pd-mus.php */


.seppwurst {
    background-color:red;
}
img.sepphorst {
    border:1px solid red;
}

/*.werbung, #Ads_BA_BUT_ad_container {
	margin-top: 10px; disturbs existing margins of the actual (parent) zone div.
	margin-bottom: 10px;
}*/

.werbung::before, 
#Ads_BA_CAD_ad_container::before,
#Ads_BA_CAD2_ad_container::before,
#Ads_BA_BUT_ad_container::before,
#Ads_BA_TEXT_ad_container::before {
	content: "WERBUNG";
	display:block;
	font-size:85%;
}

/* firmen Datenbank */
.abcLister {
	background-color: #ddd;
	padding: 10px;
}

.abcListerSingle {
	padding-right: 10px;
}

.abcListerSingle:hover {
	color: #C71E01;
}

.abcListerSingleEmpty {
	color: #999;
	font-style:italic;
	padding-right: 10px;
}

.abcListerOverviewSingle {
	padding-top: 15px;
	padding-bottom: 15px;
	border-bottom: 1px solid #ddd;
}

.abcListerOverviewSingle:hover * {
	color: #C71E01;
}
.abcListerOverview {
	padding: 30px;
}

div.kasten-outer {
        background-color: #F2F2F2;
        padding-left: 10px;
        padding-right: 10px;
        padding-bottom: 5px;
}

div.kasten-spacer {
        height: 5px;
        border-bottom: 3px solid #CD3728;
        margin-left: -10px;
        margin-right: -10px;
        margin-top: 10px;
}

h3.kasten-header {
        padding-top: 5px;
        color: #CD3728;
}

