/*!
 * Start Bootstrap - SB Admin 2 v3.3.7+1 (http://startbootstrap.com/template-overviews/sb-admin-2)
 * Copyright 2013-2016 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap/blob/gh-pages/LICENSE)
 */
body {
    background-color: #f8f8f8;
}
#wrapper {
	width: 100%;
}
#page-wrapper {
	padding: 0 15px;
	min-height: 568px;
	background-color: white;
}
/*@media (min-width: 768px) {*/
@media (min-width: 991px) {
  #page-wrapper {
    position: inherit;
    margin: 0 0 0 250px;
    padding: 0 30px;
    border-left: 1px solid #e7e7e7;
  }
}
.badge-fa[data-count]:after{
  content: attr(data-count);
  position:absolute;
  right:20%;
  top:20%;
  font-size:60%;
  font-weight:bold;
  padding:.1em;
  min-width: 1.3em;
  line-height:1.3em;
  border-radius:50%;
  text-align:center;
  color: white;
  background:rgba(255,0,0,.85);
}

.popup {
	display:none;
	width:100%;
	height:100%;
	position:fixed;
	z-index: 11000;
	top:0px;
	left:0px;
	background:rgba(0,0,0,0.50);
}
.popup-inner {
	max-width:700px;
	width:90%;
	padding:40px;
	position:absolute;
	top:50%;
	left:50%;
	-webkit-transform:translate(-50%, -50%);
	transform:translate(-50%, -50%);
	box-shadow:0px 2px 6px rgba(0,0,0,1);
	border-radius:3px;
	background:#fff;
}
div.dialog-belegdetails div.popup-inner{
	max-width:900px;
}
.popup-close {
	width:30px;
	height:30px;
	padding-top:4px;
	display:inline-block;
	position:absolute;
	top:0px;
	right:0px;
	transition:ease 0.25s all;
	-webkit-transform:translate(50%, -50%);
	transform:translate(50%, -50%);
	border-radius:1000px;
	background:rgba(0,0,0,0.8);
	font-family:Arial, Sans-Serif;
	font-size:20px;
	text-align:center;
	line-height:100%;
	color:#fff;
}
.popup-close:hover {
	-webkit-transform:translate(50%, -50%) rotate(180deg);
	transform:translate(50%, -50%) rotate(180deg);
	background:rgba(0,0,0,1);
	text-decoration:none;
}

.dialog-modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    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.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.dialog-modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
}

/* The Close Button */
.dialog-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.dialog-close:hover,
.dialog-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.navbar-brand {
  height: 50px;
}

.navbar-top-links {
  margin-right: 0;
}
.navbar-top-links li {
  display: inline-block;
}
.navbar-top-links li:last-child {
  margin-right: 15px;
}
.navbar-top-links li a {
  padding: 15px;
  min-height: 50px;
}
.navbar-top-links .dropdown-menu li {
  display: block;
}
.navbar-top-links .dropdown-menu li:last-child {
  margin-right: 0;
}
.navbar-top-links .dropdown-menu li a {
  padding: 3px 10px;
  min-height: 0;
}
.navbar-top-links .dropdown-menu li a div {
  white-space: normal;
}
.navbar-top-links .dropdown-menu li.rubric {
	height: auto;
	font-weight: bold;
	padding: 3px 10px;
    margin: 0px;
    overflow: auto;
    background-color: inherit;
}
.navbar-top-links .dropdown-menu li.rubric.divider {
	border-top: 1px solid #e5e5e5;
	height: auto;
	font-weight: bold;
	padding: 3px 10px;
    margin: 0px;
    overflow: auto;
    background-color: inherit;
}
.navbar-top-links .dropdown-messages,
.navbar-top-links .dropdown-tasks,
.navbar-top-links .dropdown-alerts {
  width: 310px;
  min-width: 0;
}
/*.navbar-top-links .dropdown-messages {
  margin-left: 5px;
}
.navbar-top-links .dropdown-tasks {
  margin-left: -59px;
}*/
.navbar-top-links .dropdown-alerts {
  margin-left: 5px;
}
.navbar-top-links .dropdown-user {
  right: 0;
  margin-left: -59px;
}
.sidebar .sidebar-nav.navbar-collapse {
  padding-left: 0;
  padding-right: 0;
}
.sidebar .sidebar-search {
  padding: 15px;
}
.sidebar ul li {
  border-bottom: 1px solid #e7e7e7;
}
.sidebar ul li a.active {
  background-color: #eeeeee;
  color: #7e1a1d;
}
.sidebar .arrow {
  float: right;
}
.sidebar .fa.arrow:before {
  content: "\f104";
}
.sidebar .active > a > .fa.arrow:before {
  content: "\f107";
}
.sidebar .nav-second-level li,
.sidebar .nav-third-level li {
  border-bottom: none !important;
}
.sidebar .nav-second-level li a {
  padding-left: 37px;
}
.sidebar .nav-third-level li a {
  padding-left: 52px;
}
/*@media (min-width: 768px) {*/
@media (min-width: 991px) {
  .sidebar {
    z-index: 1;
    position: absolute;
    width: 250px;
    margin-top: 61px;
  }
  .navbar-top-links .dropdown-messages,
  .navbar-top-links .dropdown-tasks,
  .navbar-top-links .dropdown-alerts {
    margin-left: auto;
  }
}

/* Spinner (Overlay)
------------------------------ */
#page-spinner-overlay {
	position: fixed;
	z-index:10000;
	height:100vh;
	width: 100%;
	display: flex;
    align-items: center;
  	justify-content: center;
	/*background-color: rgb(5,5,5,0.3);*/
}
/*
#page-spinner-overlay > div, img {
	position: absolute;
	padding: 10px;
	margin: 0px;
	border-radius: 5px;
}
*/

@keyframes lds-spinner {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@-webkit-keyframes lds-spinner {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
.lds-spinner {
	position: relative;
}
.lds-spinner div {
  left: 92px;
  top: 26px;
  position: absolute;
  -webkit-animation: lds-spinner linear 1s infinite;
  animation: lds-spinner linear 1s infinite;
  background: #1d628b;
  width: 16px;
  height: 36px;
  border-radius: 40%;
  -webkit-transform-origin: 8px 74px;
  transform-origin: 8px 74px;
}
.lds-spinner div:nth-child(1) {
  -webkit-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-animation-delay: -0.916666666666667s;
  animation-delay: -0.916666666666667s;
}
.lds-spinner div:nth-child(2) {
  -webkit-transform: rotate(30deg);
  transform: rotate(30deg);
  -webkit-animation-delay: -0.833333333333333s;
  animation-delay: -0.833333333333333s;
}
.lds-spinner div:nth-child(3) {
  -webkit-transform: rotate(60deg);
  transform: rotate(60deg);
  -webkit-animation-delay: -0.75s;
  animation-delay: -0.75s;
}
.lds-spinner div:nth-child(4) {
  -webkit-transform: rotate(90deg);
  transform: rotate(90deg);
  -webkit-animation-delay: -0.666666666666667s;
  animation-delay: -0.666666666666667s;
}
.lds-spinner div:nth-child(5) {
  -webkit-transform: rotate(120deg);
  transform: rotate(120deg);
  -webkit-animation-delay: -0.583333333333333s;
  animation-delay: -0.583333333333333s;
}
.lds-spinner div:nth-child(6) {
  -webkit-transform: rotate(150deg);
  transform: rotate(150deg);
  -webkit-animation-delay: -0.5s;
  animation-delay: -0.5s;
}
.lds-spinner div:nth-child(7) {
  -webkit-transform: rotate(180deg);
  transform: rotate(180deg);
  -webkit-animation-delay: -0.416666666666667s;
  animation-delay: -0.416666666666667s;
}
.lds-spinner div:nth-child(8) {
  -webkit-transform: rotate(210deg);
  transform: rotate(210deg);
  -webkit-animation-delay: -0.333333333333333s;
  animation-delay: -0.333333333333333s;
}
.lds-spinner div:nth-child(9) {
  -webkit-transform: rotate(240deg);
  transform: rotate(240deg);
  -webkit-animation-delay: -0.25s;
  animation-delay: -0.25s;
}
.lds-spinner div:nth-child(10) {
  -webkit-transform: rotate(270deg);
  transform: rotate(270deg);
  -webkit-animation-delay: -0.166666666666667s;
  animation-delay: -0.166666666666667s;
}
.lds-spinner div:nth-child(11) {
  -webkit-transform: rotate(300deg);
  transform: rotate(300deg);
  -webkit-animation-delay: -0.083333333333333s;
  animation-delay: -0.083333333333333s;
}
.lds-spinner div:nth-child(12) {
  -webkit-transform: rotate(330deg);
  transform: rotate(330deg);
  -webkit-animation-delay: 0s;
  animation-delay: 0s;
}
.lds-spinner {
  width: 200px !important;
  height: 200px !important;
  -webkit-transform: translate(-100px, -100px) scale(1) translate(100px, 100px);
  transform: translate(-100px, -100px) scale(1) translate(100px, 100px);
}

/* Nav bar collapse on sm size
------------------------------ */
@media (max-width: 991px) {
    .navbar-header {
        float: none;
    }
    .navbar-toggle {
        display: block;
    }
    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }
    .navbar-collapse.collapse {
        display: none!important;
    }
    .navbar-nav {
        float: none!important;
        margin: 7.5px -15px;
    }
    .navbar-nav>li {
        float: none;
    }
    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .navbar-text {
        float: none;
        margin: 15px 0;
    }
    /* since 3.1.0 */
    .navbar-collapse.collapse.in {
        display: block!important;
    }
    .collapsing {
        overflow: hidden!important;
    }
}

.btn-outline {
  color: inherit;
  background-color: transparent;
  transition: all .5s;
}
.btn-primary.btn-outline {
  color: #428bca;
}
.btn-success.btn-outline {
  color: #5cb85c;
}
.btn-info.btn-outline {
  color: #5bc0de;
}
.btn-warning.btn-outline {
  color: #f0ad4e;
}
.btn-danger.btn-outline {
  color: #d9534f;
}
.btn-primary.btn-outline:hover,
.btn-success.btn-outline:hover,
.btn-info.btn-outline:hover,
.btn-warning.btn-outline:hover,
.btn-danger.btn-outline:hover {
  color: white;
}
.panel .slidedown .glyphicon,
.chat .glyphicon {
  margin-right: 5px;
}
.chat-panel .panel-body {
  height: 350px;
  overflow-y: scroll;
}
.login-panel {
  margin-top: 25%;
}
.flot-chart {
  display: block;
  height: 400px;
}
.flot-chart-content {
  width: 100%;
  height: 100%;
}
table.dataTable thead .sorting,
table.dataTable thead .sorting_asc,
table.dataTable thead .sorting_desc,
table.dataTable thead .sorting_asc_disabled,
table.dataTable thead .sorting_desc_disabled {
  background: transparent;
}
table.dataTable thead .sorting_asc:after {
  content: "\f0de";
  float: right;
  font-family: fontawesome;
}
table.dataTable thead .sorting_desc:after {
  content: "\f0dd";
  float: right;
  font-family: fontawesome;
}
table.dataTable thead .sorting:after {
  content: "\f0dc";
  float: right;
  font-family: fontawesome;
  color: rgba(50, 50, 50, 0.5);
}

table.listTable thead .sorting,
table.listTable thead .sorting_asc,
table.listTable thead .sorting_desc,
table.listTable thead .sorting_asc_disabled,
table.listTable thead .sorting_desc_disabled {
  background: transparent;
}
table.listTable thead .sorting_asc:after {
  content: "\f0de";
  float: right;
  font-family: fontawesome;
}
table.listTable thead .sorting_desc:after {
  content: "\f0dd";
  float: right;
  font-family: fontawesome;
}
table.listTable thead .sorting:after {
  content: "\f0dc";
  float: right;
  font-family: fontawesome;
  color: rgba(50, 50, 50, 0.5);
}

/* Farbe überschreiben
=============================*/
.btn-circle {
  width: 30px;
  height: 30px;
  padding: 6px 0;
  border-radius: 15px;
  text-align: center;
  font-size: 12px;
  line-height: 1.428571429;
}
.btn-circle.btn-lg {
  width: 50px;
  height: 50px;
  padding: 10px 16px;
  border-radius: 25px;
  font-size: 18px;
  line-height: 1.33;
}
.btn-circle.btn-xl {
  width: 70px;
  height: 70px;
  padding: 10px 16px;
  border-radius: 35px;
  font-size: 24px;
  line-height: 1.33;
}
.show-grid [class^="col-"] {
  padding-top: 10px;
  padding-bottom: 10px;
  border: 1px solid #ddd;
  background-color: #eee !important;
}
.show-grid {
  margin: 15px 0;
}
.huge {
  font-size: 40px;
}


/* Panels
=============================*/
.panel-blue {
  border-color: #556a81;
}
.panel-blue > .panel-heading {
  border-color: #556a81;
  color: white;
  background-color: #556a81;
}
.panel-blue > a {
  color: #556a81;
}
.panel-blue > a:hover {
  color: #61778e;
}
.panel-red {
  border-color: #d9534f;
}
.panel-red > .panel-heading {
  border-color: #d9534f;
  color: white;
  background-color: #d9534f;
}
.panel-red > a {
  color: #d9534f;
}
.panel-red > a:hover {
  color: #b52b27;
}

/* Formatierung Abstand anpassen
=============================*/
.well p:last-child{
  margin-bottom: 0;
}

/* Farbe überschreiben
=============================*/
a{
  color: #556a81;
}

a:hover, a:focus{
  color: #7e1a1d;
}

.page-header {
  color: #61778e;
}


/* Farbe Pagination überschreiben
=============================*/
.pagination > .active > a, .pagination > .active > a:focus, .pagination > .active > a:hover, .pagination > .active > span, .pagination > .active > span:focus, .pagination > .active > span:hover {
  background-color: #61778e;
  border-color: #61778e;
}

.pagination > li > a, .pagination > li > span {
  color: #61778e;
}

table.dataTable tbody tr:first-child th, table.dataTable tbody tr:first-child td{
    border-top: none;
}

table.dataTable thead .sorting_asc::after, table.dataTable thead .sorting_desc::after{
  color: #7e1a1d;
}

table.listTable tbody tr:first-child th, table.listTable tbody tr:first-child td{
    border-top: none;
}

table.listTable thead .sorting_asc::after, table.listTable thead .sorting_desc::after{
  color: #7e1a1d;
}

.table-hover > tbody > tr:hover {
    background-color: #EEEEEE;
}

.table.full-width,
.bootstrap-select.full-width
{
  width: 100% !important;
}

.btn-blue {
    background-color: #647C96;
    color: #ffffff !important;
}
.btn-blue:hover {
    background-color: #556a81;
}

.input-group-addon i{
  width: 15px;
}

div.dt-buttons{
  /*float: right;*/
  margin-right: 1em;
}

.pointer{
  cursor: pointer;
}

label input + span{
  font-weight: normal;
}

:checked + span{
  font-weight: bold;
}


.alert .fa{
  float: left;
  margin-right: 8px;
  margin-top: 3px;
}

.nav-tabs {
  margin-bottom: 0;
}

.tab-content {
  border-left: 1px solid #556a81;
  border-right: 1px solid #556a81;
  border-bottom: 1px solid #556a81;
  padding: 10px;
  margin-bottom: 1em;
  /*width:expression(document.body.clientWidth > 800? "800px": "auto");*/
  min-width: 900px;
}

.nav-tabs {
    border-bottom: 1px solid #556a81;
  min-width: 900px;
}

.nav-tabs > li.active > a, .nav-tabs > li.active > a:focus, .nav-tabs > li.active > a:hover {
    border-color: #556a81 #556a81 #FFF;
}

.nav > li > a:focus,.nav > li > a:hover{
  background-color: #556a81;
  color: #FFF;
}

.input-group.timepicker .input-group-addon,
.input-group.datepicker .input-group-addon,
.input-group.date .input-group-addon
{
    cursor: pointer;
}

.legendLabel{
  padding-left: 4px;
}

.navbar-default {
    clear: both;
}

/* Farbe Schema
=============================*/
.schema-anzeigeelement{
	position: absolute;
	cursor: pointer;
	border: 2px solid #000;
	border-radius: 5px;
	margin: 0px;
	padding: 2px 5px 2px 5px;
	
	color: #000;
	background-color: #FEC742;
}

.schema-anzeigeelement-ohne-Datenpunktzuordnung{
	/*color: #FFF !important;*/
	background-color: #ff0000!important;
}

.schema-anzeigeelement-aktiv{
	/*color: #FFF !important;*/
	background-color: #ff8040!important;
}

@media (max-width: 767px) {
	.schema-anzeigeelement{
		font-size: 5px;
		padding: 1px 2px 1px 2px;
		border-radius: 3px;
		min-width: 40px;
	}
}

@media (min-width: 768px) {
	.schema-anzeigeelement{
		font-size: 6px;
		padding: 1px 2px 1px 2px;
		border-radius: 4px;
		min-width: 50px;
	}
}

@media (min-width: 990px) {
	.schema-anzeigeelement{
		font-size: 8px;
		padding: 1px 2px 1px 2px;
		border-radius: 4px;
		min-width: 55px;
	}
}

@media (min-width: 1200px) {
	.schema-anzeigeelement{
		font-size: 10px;
		padding: 1px 3px 1px 3px;
		border-radius: 5px;
		min-width: 60px;
	}
}

@media (min-width: 1600px) {
	.schema-anzeigeelement{
		font-size: 12px;
		padding: 2px 4px 2px 4px;
		border-radius: 5px;
		min-width: 65px;
	}
}

@media (min-width: 1920px) {
	.schema-anzeigeelement{
		font-size: 14px;
		padding: 2px 5px 2px 5px;
		border-radius: 5px;
		min-width: 70px;
	}
}

/* Trefon
=============================*/
.trefon-scrollable{
    overflow-y: scroll;
    max-height: 520px;
}

.trefon-listeneintrag {
	cursor: pointer;
}

.trefon-listeneintrag-aktiv {
	background-color: #90ee90 !important;
}

.trefon-wohnungsschild {
	position:relative;
	display:block;
	padding-top:0px;
	font-style:inherit;
	font-variant:inherit;
	font-weight:inherit;
	font-size:inherit;
	font-family:inherit;
}

.trefon-wohnungsschild input, .trefon-wohnungsschild div {
	position:absolute;
	z-index:0;
	color:#000000;
	background-color:#90ee90;
	border-color: #444444;
	font-style:inherit;
	font-variant:inherit;
	font-weight:bold;
	font-family:Courier New;
}

.trefon-wohnungsschild-nummer {
	border-style:solid;
	border-top-width:2px;
	border-bottom-width:0px;
	border-left-width:2px;
	border-right-width:0px;
}

.trefon-wohnungsschild-zeile1 {
	border-style:solid;
	border-top-width:2px;
	border-bottom-width:0px;
	border-left-width:0px;
	border-right-width:2px;
}

.trefon-wohnungsschild-zeile2 {
	border-style:solid;
	border-top-width:1px;
	border-bottom-width:2px;
	border-left-width:2px;
	border-right-width:2px;
}

/*
.trefon-wohnungsschild-nummer span {
	position:absolute;
	top: -3px;
	padding: 0px;
	margin: 0px;
}
*/	

@media (max-width: 767px) {	
	.trefon-wohnungsschild {
		font-size:12px;
		height: 42px;
	}
	
	.trefon-wohnungsschild-nummer {
		width:36px;
		height:21px;
		top:0px;
		left:0px;
		border-right-width:0px;
		border-bottom-width:0px;
	}

	.trefon-wohnungsschild-nummer span {
		height:21px;
	}
	
	.trefon-wohnungsschild-zeile1 {
		width:82px;
		height:21px;
		top:0px;
		left:36px;
		border-bottom-width:0px;
		border-left-width:1px;
	}
	
	.trefon-wohnungsschild-zeile2 {
		width:118px;
		height:21px;
		top:21px;
		left:0px;
		border-top-width:1px;
	}
}

@media (min-width: 768px) {
	.trefon-wohnungsschild {
		font-size:16px;
		height: 54px;
	}
	
	.trefon-wohnungsschild-nummer {
		width:51px;
		height:27px;
		top:0px;
		left:0px;
		border-right-width:0px;
		border-bottom-width:0px;
	}

	.trefon-wohnungsschild-nummer span {
		height:27px;
	}
	
	.trefon-wohnungsschild-zeile1 {
		width:110px;
		height:27px;
		top:0px;
		left:51px;
		border-bottom-width:0px;
		border-left-width:1px;
	}
	
	.trefon-wohnungsschild-zeile2 {
		width:161px;
		height:27px;
		top:27px;
		left:0px;
		border-top-width:1px;
	}
}

@media (min-width: 992px) {
	.trefon-wohnungsschild {
		font-size:20px;
		height: 66px;
	}
	
	.trefon-wohnungsschild-nummer {
		width:63px;
		height:33px;
		top:0px;
		left:0px;
		border-right-width:0px;
		border-bottom-width:0px;
	}

	.trefon-wohnungsschild-nummer span {
		height:33px;
	}
	
	.trefon-wohnungsschild-zeile1 {
		width:138px;
		height:33px;
		top:0px;
		left:60px;
		border-bottom-width:0px;
		border-left-width:1px;
	}
	
	.trefon-wohnungsschild-zeile2 {
		width:198px;
		height:33px;
		top:33px;
		left:0px;
		border-top-width:1px;
	}
}

@media (min-width: 1200px) {
	.trefon-wohnungsschild {
		font-size:25px;
		height:80px;
	}
	
	.trefon-wohnungsschild-nummer {
		width:76px;
		height:40px;
		top:0px;
		left:0px;
		border-right-width:0px;
		border-bottom-width:0px;
	}

	.trefon-wohnungsschild-nummer span {
		height:40px;
	}
	
	.trefon-wohnungsschild-zeile1 {
		width:170px;
		height:40px;
		top:0px;
		left:76px;
		border-bottom-width:0px;
		border-left-width:1px;
	}
	
	.trefon-wohnungsschild-zeile2 {
		width:246px;
		height:40px;
		top:40px;
		left:0px;
		border-top-width:1px;
	}
}

@media (min-width: 1600px) {
	.trefon-wohnungsschild {
		font-size:28px;
		height:84px;
	}
	
	.trefon-wohnungsschild-nummer {
		width:85px;
		height:44px;
		top:0px;
		left:0px;
		border-right-width:0px;
		border-bottom-width:0px;
	}

	.trefon-wohnungsschild-nummer span {
		position:absolute;
		height:44px;
	}
	
	.trefon-wohnungsschild-zeile1 {
		width:190px;
		height:44px;
		top:0px;
		left:85px;
		border-bottom-width:0px;
		border-left-width:1px;
	}
	
	.trefon-wohnungsschild-zeile2 {
		width:275px;
		height:44px;
		top:44px;
		left:0px;
		border-top-width:1px;
	}
}

@media (min-width: 1920px) {
	.trefon-wohnungsschild {
		font-size:32px;
		height:100px;
	}
	
	.trefon-wohnungsschild-nummer {
		width:97px;
		height:50px;
		top:0px;
		left:0px;
		border-right-width:0px;
		border-bottom-width:0px;
	}
	
	.trefon-wohnungsschild-zeile1 {
		width:216px;
		height:50px;
		top:0px;
		left:97px;
		border-bottom-width:0px;
		border-left-width:1px;
	}
	
	.trefon-wohnungsschild-zeile2 {
		width:313px;
		height:50px;
		top:50px;
		left:0px;
		border-top-width:1px;
	}
}
