/**********************************************************************
/* Site-Wide/Master Templates
/**********************************************************************/

/* BODY tag */
html {
  height: 100%;
}

body {
  height: 100%;
  font-family: Arial, sans-serif;
  margin: 0px;
  font-size: 0.7em;
}

#content {
  position:relative;
  min-height: 100%;
}

#header {
  height: 92px;
  margin: 0;
  border-bottom: 1px solid #6FB557;
  background: no-repeat url('/resources/st-theme/elseco-v2/images/logo.png');
  background-size: auto 55px;
  background-position: right 20px center;
}

#header h1 {
  padding-left: 30px;
  padding-right: 240px;
  line-height: normal;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: -6px 0 0 0;
}

#header h2 {
  padding-left: 30px;
  padding-right: 240px;
  line-height: normal;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: normal;
  font-size: 125%;
  margin: -5px 0 0 0;
}

@media (max-width: 992px) {
	#header h1, #header h2  {
		display: none;
	}
}

@media (max-width: 992px) {
  #header {
    height: 60px;
    background-size: auto 40px;
    background-position: right 20px center;
  }
}

#header .logo {
  float: right;
  height: 70px;
}

@media (max-width: 992px) {
  #header .logo {
    height: 40px;
  }
}

#slave {
  padding: 30px 30px 60px 30px;
}

@media (max-width: 992px) {
  #slave {
	padding: 20px 20px 70px 20px;
  }
}

#slave.no-padding {
  padding: 0;
}

#footer {
  background: white;
  border-top: 1px solid #6FB557;
  line-height: 3em;
  text-align: center;
  position: absolute;
  width: 100%;
  bottom: 0; /* stick to bottom */
}

#footer span {
  white-space: nowrap;
}

#footer span {
  padding: 0 1.5em ;
}

#footer span i {
  padding-right:0.5em;
}

#footer span i:not(:first-child) {
  padding-left:3em;
}

/* Site Header */
#site-header {
  background-color: #313063;
  color: white;
  font-family: Arial, sans-serif;
  font-size: 85%;
  padding-top: 4px;
  padding-bottom: 4px;
  padding-left: 8px;
  padding-right: 8px;
  text-align: center;
}

#site-header .system-name {
  font-size: 120%;
  font-weight: bold;
  float: left;
}

#site-header .system-name a {
  color: white;
  text-decoration: none;
}

#site-header .system-name a:hover {
  color: white;
  text-decoration: none;
}

#site-header .users-online {
  display: inline;
  float: right;
  padding-right: 4em;
}

#site-header .user-greeting {
  display: inline;
}

#site-header .permanent-navigation {
  display: inline;
  float: right;
}

#site-header .action-list a {
  border: solid 1px #313063;
  text-align: center;
  padding: 1px;
  padding-left: 4px;
  padding-right: 4px;
  color: white;
  text-decoration: none;
}

#site-header .action-list a:hover {
  text-decoration: none;
  background-color: #666666;
  border: solid 1px #999999;
}

/* User Messages */
#user-message {
  background-color: #FF5050;
  padding: 4px;
  padding-top: 6px;
  padding-bottom: 6px;
  font-size: 85%;
}

#user-message ul {
  margin-left: 0;
  padding-left: 0;
  display: inline;
  border: none;
}

#user-message ul li {
  margin-left: 0;
  padding-left: 2px;
  border: none;
  list-style: none;
}

/* Boxed User Message */
.boxed-user-message {
  background-color: #ccff99;
  padding-left: 12px;
  padding-right: 12px;
  padding-top: 8px;
  padding-bottom: 8px;
  font-size: 85%;
  border: 1px solid #dd9988;
}

.boxed-user-message h3 {
  color: #990000;
  margin-top: 0px;
}

.boxed-user-message .body {
  color: #990000;
}

/* Context Bar */
#context-bar {
  font-family: Arial, sans-serif;
  font-size: 11px;
  margin-bottom: 2px;
  padding-left: 8px;
}

#context-bar #breadcrumbs {
  clear: left;
  float: left;
  padding-top: 3px;
}

#context-bar #breadcrumbs ul {
  margin-left: 0;
  padding-left: 0;
  display: inline;
  border: none;
}

#context-bar #breadcrumbs ul li {
  margin-left: 0;
  padding-left: 2px;
  border: none;
  list-style: none;
  display: inline;
}

#context-bar #navlinks {
  float: right;
}

/* Subsite Name */
#subsite-name {
  font-weight: bold;
  font-size: 120%;
  font-family: verdana;
  padding-left: 8px;
}

a.subsite-name {
  color: black;
  text-decoration: none;
}

a.subsite-name:hover {
  color: black;
  text-decoration: none;
}

/**********************************************************************
/* Progress indicator
/**********************************************************************/

.progress-indicator {
	margin-top: 3px;
	height: 6px;
	display: none;
}

/**********************************************************************
/* Sidebar
/**********************************************************************/

#header nav {
  float: left;
}

.nav-back i {
	font-size: 24px;
}

.nav-back {
	position: fixed;
	bottom: 0;
	right: 0;
	width: 140px;
	opacity: .95;
	height: 50px;
	line-height: 50px;
	vertical-align: center;
	color: white;
	padding: 0 25px;
	z-index: 9999;
}

.nav-back span {
	padding-left: 0.5rem;
	font-size: 24px;
}

@media (max-width: 992px) {
	#header nav {
		line-height: 60px;
	}
}

.wrapper {
    display: flex;
    width: 100%;
}

#sidebar {
    width: 250px;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 999;
    background: #76b960;
    color: #fff;
    transition: all 0.3s;
	z-index: 9999;
}

#sidebar.active {
    margin-left: -250px;
}

#sidebar .sidebar-header {
    padding: 18px;
    background: #6FB557;
}

#sidebar ul.components {
    padding: 20px 0;
}

#sidebar ul li a {
    color: #fff;
    padding: 10px;
    font-size: 1.1em;
    display: block;
}

#sidebar ul ul li a {
    padding: 5px;
}

#sidebar ul ul ul li a {
    padding: 1px;
}

#sidebar ul li a:hover {
    color: #fff;
    background: #007bff;
	text-decoration: none;
}

#sidebar ul li.active, #sidebar ul li li.active {
    color: #fff;
    background: #007bff;
}

#sidebar ul li li:not(.active) {
    background: #76b960;
}

#sidebar ul li.active>a,
a[aria-expanded="true"] {
    color: #fff;
}

#sidebar ul li i {
    font-size: 110%;
	display: inline-block;
	width: 30px;
}

#sidebar ul li img {
	display: inline-block;
    margin-right: 4px;
	width: 26px;
}

#sidebar a[data-toggle="collapse"] {
    position: relative;
}

#sidebar .dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

#sidebar ul ul a {
    font-size: 0.95em !important;
    padding-left: 45px !important;
}

#sidebar ul ul ul a {
    font-size: 0.9em !important;
    padding-left: 60px !important;
}

#sidebar ul.CTAs {
    padding: 20px;
}

#sidebar ul.CTAs a {
    text-align: center;
    font-size: 0.9em !important;
    display: block;
    border-radius: 5px;
    margin-bottom: 5px;
}

#sidebar a.download {
    background: #fff;
    color: #7386D5;
}

#sidebar a.article,
a.article:hover {
    background: #007bff !important;
    color: #fff !important;
}

#sidebar #dismiss {
    width: 35px;
    height: 35px;
	float: right;
	margin-top: 10px;
	margin-right: 10px;
	font-size: 20px;
	cursor: pointer;
	background: #76b960;
	text-align: center;
	vertical-align: middle;
	line-height: 35px;
}

#sidebar #dismiss:hover {
    background: #007bff !important;
    color: #fff !important;
}

#sidebarCollapse {
	cursor: pointer;
	margin-left: 30px;
	margin-right: 30px;
}

@media (max-width: 992px) {
	#sidebarCollapse {
		margin-left: 20px;
	}
}

#sidebarCollapse i {
	line-height: 92px;
	vertical-align: middle;
}

@media (max-width: 992px) {
	#sidebarCollapse i {
		line-height: 40px;
	}
}

#content {
    width: calc(100% - 250px);
    min-height: 100vh;
    transition: all 0.3s;
    position: absolute;
    /*top: 0;*/
    right: 0;
}

#content.active {
    width: 100%;
}

@media (max-width: 992px) {
    #sidebar {
        margin-left: -250px;
    }
    #sidebar.active {
        margin-left: 0;
    }
    #content {
        width: 100%;
    }
}

@media (min-width: 993px) {
    #sidebarCollapse {
        display: none;
    }
}

/**********************************************************************
/* App-Box
/**********************************************************************/

.appbox {
	margin-bottom: 2em;
}

.appbox h3 {
	line-height: 28px;
}

.appbox h4 {
	margin-bottom: 4px;
}

.appbox .card-header {
	border-bottom: none;
}

.appbox .card-title {
    margin-bottom: 0;
}

.appbox .card-body {
	border-top: 1px solid rgba(0, 0, 0, 0.125);
}

.appbox .card-body.limit-height {
    max-height: 20em;
    overflow: auto;
}

.appbox th {
    display: none;
}

.appbox td:first-child {
    padding-left: 20px;
}

.appbox td:last-child {
    padding-right: 20px;
}

.appbox .list-button-bar-top {
	margin-left: 1em;
}

.appbox .list-wrapper {
    margin-top: 0;
}

.appbox .list-wrapper .table tr:first-child td {
	border-top: 0;
}	

.appbox .list-wrapper .table {
	margin-bottom: 0;
}

.appbox#files .card-body {
	padding: 4px;
}

.appbox#files .card-body .no-data{
	padding: 8px 20px 9px 20px;
}

.appbox#qrcode .card-body {
	padding: 10px;
}

.appbox#qrcode img {
	width: 150px;
	image-rendering: pixelated;
}

.appbox #loading-indicator {
    background: none;
    display: block;
	float: right;
    position: inherit;
    left: auto;
    top: auto;
    height: 30px;
    width: auto;
	padding-top: 6px;
	padding-right: 6px;
}

.appbox #loading-indicator .spinner {
    position: inherit;
    left: auto;
    top: auto;
    margin:auto;
}

.appbox #loading-indicator .spinner i {
	font-size: 1.25rem;
}

form#annotation {
	max-width: 50em;
}

/**********************************************************************
/* Widgets
/**********************************************************************/

/* Various forms of links */
.action-list {
  padding: 0;
}

.action-list ul {
  margin: 0;
  padding: 0;
  display: inline;
  border: none;
}

.action-list ul li {
  margin: 0;
  padding: 0;
  border: none;
  list-style: none;
  display: inline;
}

a.refresh {
  color: white;
  text-decoration: underline;
}

a.refresh:hover {
  color: red;
  text-decoration: underline;
}

textarea {
  font-family: arial;
}

a.admin:link, a.admin:visited {
  color: #f00;
  font-family: verdana;
  font-size: 11px;
  font-weight: normal;
}

a.admin:hover {
  color: #fff;
  background: #f00;
}


ul.action-links li {
  list-style: circle url(/resources/acs-subsite/action-link-marker.png);
  margin: 8px;
  margin-left: -16px;
}

div.subsite-context-bar {
  font-size: 85%;
  margin-bottom: 4px;
  position: relative;
}

/* Table */
td {
   background: transparent;
}

/* Links */
a {
  color: #6FB557;
  color: #FFFFFF;
}

a:hover {
  color: #6FB557;
}

/* Horizontal line */
hr {
  height: 1px;
  border: none;
  color: #FFFFFF;
  background-color: #FFFFFF;
}

.small {
  font-size: 85%;
}

.highlight {
  background-color: #ffc;
}

/* Portlets */
.portlet h2 {
  background: #dddddd;
  padding: 2px 8px 2px 8px;
  margin: 0;
}

.portlet-header {
  background: #dddddd;
}

.portlet-header h2 {
  padding: 2px 8px 2px 8px;
  margin: 0;
}

.portlet .portlet-body {
  border: 1px dotted #999;
  border-top: 0px;
  padding: 6px 8px 6px 8px;
}


/**********************************************************************
/* Add-Ins
/**********************************************************************/

#addinbox {
	font-family: Arial, sans-serif;
	width: 218px;
	margin-bottom: 15px;
	background: #333333;
}

#addinbox .top {
	background: #6FB557;
}

#addinbox .top_left {
	float:left;
}

#addinbox .top_center {
	font-weight: bold;
	color: #ffffff;
	background: #6FB557;
	padding-left: 8px;
	padding-top: 2px;
	padding-bottom: 2px;
	white-space: nowrap;
	text-transform:uppercase;
}

#addinbox .top_right {
	float:right;
}

#addinbox .subtitle {
	font-weight: bold;
	color: #ffffff;
	background: #6FB557;
	padding: 2px;
	margin-top: 6px;
	margin-bottom: 6px;
}

#addinbox .content {
	background-color: #333333;
	padding-left: 28px;
}

#addinbox .item {
	padding-top: 2px;
	padding-left: 0px;
	padding-right: 3px;
	padding-bottom: 3px;
}

#addinbox .bottom {
	line-height: 0px;
}

#addinbox .bottom_left {
	line-height: 0px;
}

#addinbox .bottom_right {
	line-height: 0px;
}


/**********************************************************************
/* Farben für Layout
/**********************************************************************/

#color-light, .color-light {
  color: #333333;
}

#color-medium, .color-medium {
  color: #CBD4DF;
}

#color-dark, .color-dark {
  color: #6FB557;
}

#color-red, .color-red {
  color: #FF5050;
}

.color-green {
  color: #6FB557;
}

.color-blue {
  color: #259DAD;
}

.color-brown {
  color: #AD7825;
}

.color-yellow {
  color: #FFD700;
}

.color-grey {
  color: #8B8970;
}

#background-light, .background-light {
  background: #333333;
}

#background-medium, .background-medium {
  background: #CBD4DF;
}

#background-dark, .background-dark {
  background: #6FB557;
}

#background-red, .background-red {
  background: #FF5050;
}

#border-light, .border-light {
  border-color: #333333;
}

#border-medium, .border-medium {
  border-color: #CBD4DF;
}

#border-dark, .border-dark {
  border-color: #6FB557;
}

#border-red, .border-red {
  border-color: #FF5050;
}


/**********************************************************************
/* Balkendiagramm
/**********************************************************************/

.chart-bar-green {
	height:22px;
	line-height:22px;
	text-align: right;
	padding-left:0.5em;
	padding-right:0.5em;
	
	color: white;

	border-radius: 3px;
	box-shadow: 0px 2px 4px #999;
	background-color: #6FB557;
}

.chart-bar-red {
	height:22px;
	line-height:22px;
	text-align: right;
	padding-left:0.5em;
	padding-right:0.5em;
	
	color: white;

	border-radius: 3px;	
	box-shadow: 0px 2px 4px #999;
	background-color: #FF5050;
}

@media (max-width: 768px){
	.chart-label {
		display: inline-block;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
		width: 100%;
	}
}


/**********************************************************************
/* Balkendiagramm
/**********************************************************************/

#files .folder {
    clear: both;
	cursor:pointer;
	margin-bottom: 5px;
	background-color: rgba(0,0,0,0.03);
}

#files .folder .edit, #files .folder .delete {
    float:right;
	border-radius: 28px;
	width: 31px;
	padding: 3px 7px;
	margin-left: 5px;
}

#files .folder .edit .fa-stack-2x, #files .folder .delete .fa-stack-2x {
    color: black;
}

#files .folder .edit:hover .fa-stack-1x, #files .folder .delete:hover .fa-stack-1x {
    color: #6FB557;
}

#files .label {
    padding: 8px;
	text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
	font-weight: bold;
	user-select: none;
}

#files .label i:first-child {
	width: 1em;
}

#files .file {
    cursor: pointer;
}

#files .file .title {
    height: 100px;
	line-height: 1.3;
	padding: 48px 5px 5px 5px;
	font-size: small;
	overflow: hidden;
	text-align: center;
}

#files .file .meta {
    position: relative;
	bottom: -15px;
    left: 0px;
	background: white;
	max-width: 82px;
	padding: 0 3px;
	font-size: 10px;
}

#files .file .delete {
    text-align: right;
    position: relative;
    bottom: 21px;
    right: -94px;
	border-radius: 28px;
	width: 31px;
	padding: 3px 7px;
}


/**********************************************************************
/* Monitor
/**********************************************************************/

#counter {
    font-size:1.5em;
    font-weight: bold;
    text-align: right;
    float:right;
}

.monitor {
    width: 100%;
    border-collapse: collapse;
}

.monitor th {
    text-align: left;
    padding: 2px 16px;
    background: #6FB557;
    height: 4em;
    border: solid #6FB557 1px;
}

.monitor td:first-child {
    border-left: solid #6FB557 1px;
}

.monitor td:last-child {
    border-right: solid #6FB557 1px;
}

.monitor td {
    border-bottom: solid #6FB557 1px;
    padding: 2px 16px;
    height: 5em;
    vertical-align: top;
}

.monitor td.red {
    background: #FF5050;
    border-left: solid #FF5050 1px;
    border-bottom: solid #FF5050 1px;
}

.monitor td.yellow {
    background: #FFD700;
    border-left: solid #FFD700 1px;
    border-bottom: solid #FFD700 1px;
}

.monitor td.green {
    background: #6FB557;
    border-left: solid #6FB557 1px;
    border-bottom: solid #6FB557 1px;
}


/**********************************************************************
/* Programming
/**********************************************************************/

#programming h2 {
    margin-top: 1.5rem;
}

#programming #section_navigation {
	border-bottom: solid #343a40 1px;
}

#programming #section_navigation a {
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
	border-bottom: 0;
}

#programming table td {
    padding: 4px;
}

#loading-indicator {
    background: rgba(255, 255, 255, 0.8);
    position: absolute;
    left: -5px;
    top: 0;
    height: 100%;
    width: calc(100% + 35px);
    display: none;
	z-index: 1000;
}

#loading-indicator .spinner {
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left:-5em;
    margin-top:-5em;
}

#loading-indicator .spinner i {
	font-size: 10em;
}

#programming #programming_buttons input[type=button] {
    margin-top: 1em;
}


/**********************************************************************
/* VPN-Loading
/**********************************************************************/

.vpn-loading {
    color: #6FB557;
}

.vpn-loading i {
    font-size: 10em;
}


/**********************************************************************
/* Narrow casting
/**********************************************************************/

.narrowcasting-container {
}

.narrowcasting-container #button_back {
	display: none;
}

.narrowcasting-container .grid {
    display: grid;
    border: solid #9acb89 4px;
    grid-template-columns: 20% 20% 20% 20% 20%;
}

.narrowcasting-container .landscape {
    /* margin: auto; */
    width: 100%; 
	max-width: 768px;
}

.narrowcasting-container .landscape .grid {
}

.narrowcasting-container .portrait {
    /* margin: auto; */
    width: 60%;
	max-height: 768px;
}

.narrowcasting-container .portrait .grid {
}

.narrowcasting-container .grid > div {
	margin:  -1px;
    border: solid #9acb89 4px;
    cursor: pointer;
    overflow: auto;
    position: relative;
}

.narrowcasting-container .grid > div:hover {
    background: #e9ecef;
}

.narrowcasting-container .deactivated {
  cursor: default!important;
}

.narrowcasting-container .deactivated:hover {
  background: none!important;
}

.narrowcasting-container h2 {
  position: absolute;
  top: 10px;
  left: 0;
  width: 100%;
  text-align: center;
  margin: 0;
  font-size: 1rem;
}

@media (max-width: 576px){
    .narrowcasting-container h2 {
		top: 6px;
        font-size: 12px;
    }
    .narrowcasting-container h2:before {
        font-size: 12px!important;
    }
}

.narrowcasting-container .status {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  text-align: center;
  transform: translateY(-40%);
}

@media (max-width: 576px){
	.narrowcasting-container .status {
		transform: translateY(-50%);
	}
	.narrowcasting-container .status > div {
		height: 15px;
	}
    .narrowcasting-container .status .badge {
        font-weight: normal;
		font-size: 8px;
    }
}

.narrowcasting-container .grid .change {
  position: absolute;
  bottom: 3px;
  left: 0;
  width: 100%;
  text-align: center;
  font-style: italic;
  font-size: 80%;
}

@media (max-width: 576px){
    .narrowcasting-container .grid .change {
        display: none;
    }
}

.narrowcasting-frame h2 {
    margin-bottom: 11px;
}

.narrowcasting-frame h2.list {
    margin-bottom: 0;
}

.narrowcasting-frame form#upload {
    max-width: inherit;
}


@media (min-width: 576px){
	.narrowcasting-container h2.empty:before {
	  font-family: 'Font Awesome 5 Free';
	  content: "\f070";
	  font-size: 18px;
	  padding-right: 0.25em;
	}

	.narrowcasting-container h2.file:before {
	  font-family: 'Font Awesome 5 Free';
	  content: "\f15b";
	  font-size: 18px;
	  padding-right: 0.25em;
	}

	.narrowcasting-container h2.image:before {
	  font-family: 'Font Awesome 5 Free';
	  content: "\f03e";
	  font-size: 18px;
	  padding-right: 0.25em;
	}

	.narrowcasting-container h2.qrcode:before {
	  font-family: 'Font Awesome 5 Free';
	  content: "\f029";
	  font-weight: 900;
	  font-size: 18px;
	  padding-right: 0.25em;
	}

	.narrowcasting-container h2.video:before {
	  font-family: 'Font Awesome 5 Free';
	  content: "\f1c8";
	  font-size: 18px;
	  padding-right: 0.25em;
	}
}

.narrowcasting-frame .thumbnail img {
  height: 80px;
  width: 80px;
  object-fit: contain;
  padding: 5px 0;
}

.narrowcasting-frame img[src^="/resources/st-file-storage/type_"] {
  height: 80px;
  padding: 5px 0;
}

.narrowcasting-preview {
    display: inline;
}

.narrowcasting-preview .grid {
    display: grid;
    border: solid green 1px;
    grid-template-columns: 20% 20% 20% 20% 20%;
}

.narrowcasting-preview .landscape {
    /* margin: auto; */
    width: 160px; 
}

.narrowcasting-preview .landscape .grid {
    height: 90px;
}

.narrowcasting-preview .portrait {
    /* margin: auto; */
    width: 90px;
}

.narrowcasting-preview .portrait .grid {
    height: 160px;
}

.narrowcasting-preview .grid > div {
    border: solid green 1px;
    cursor: pointer;
    position: relative;
    padding: 2px;   
}

.narrowcasting-preview span {
    font-size: 16px;
    font-weight: bold;
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    text-align: center;
    transform: translateY(-50%);
}

.narrowcasting-preview-radio {
    float: left;
    height: 90px;
	margin-right: 10px;
}

label[for^="configuration:elements:layout:"] {
	float: left;	
	margin-right: 30px;
	margin-bottom: 20px;
}

fieldset[id^="configuration:"] {
	clear: both;
}


/**********************************************************************
/* Intercom
/**********************************************************************/

i.intercom-photo {
	font-size: 100px;
}

img.intercom-photo {
	width: 100px;
	height: 100px;
	object-fit: cover;
}

@media (min-width: 576px) {
	i.intercom-photo {
		font-size: 125px;
	}
	img.intercom-photo {
		width: 125px;
		height: 125px;
	}
}

@media (min-width: 768px) {
	i.intercom-photo {
		font-size: 150px;
	}
	img.intercom-photo {
		width: 150px;
		height: 150px;
	}
}

@media (min-width: 992px) {
	i.intercom-photo {
		font-size: 175px;
	}
	img.intercom-photo {
		width: 175px;
		height: 175px;
	}
}

@media (min-width: 1200px) {
	i.intercom-photo {
		font-size: 200px;
	}
	img.intercom-photo {
		width: 200px;
		height: 200px;
	}
}

.intercom-badge {
	vertical-align: super!important;
	font-size: medium!important;
}


/**********************************************************************
/* Login
/**********************************************************************/

#login-container {
    overflow: hidden;
    width: 100%;
    height: 385px;
}

#login-container .login-background {
    background-image: url('/resources/st-theme/elseco-v2/images/login.jpg');
    height: 385px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
}

@media (max-width: 576px){
    #login-container .login-background {
        background-position: -1125px;
    }
}

#login-container .login-background .container {
    padding-top: 50px;
}

#login-container label {
    display: none;
}

#login-container .form-group div {
    flex: none;
    max-width: none;
}

#login-container .formbuttons-container {
	background-image: none;
}


/**********************************************************************
/* Intercom
/**********************************************************************/

.intercom-gallery .fotorama {
	width: 0;
	height: 0;
	position: absolute;
	top: -1px;
	left: -1px;
}

.intercom-gallery .file > div {
	cursor: pointer;
	width: 130px;
	height: 130px;
	margin: 3px;
	float: left;
}


/**********************************************************************
/* Map - Overview
/**********************************************************************/

.map {
	width: 100%;
	height: calc(100vh - 92px);
	z-index: 0;
}

@media (max-width: 992px) {
	.map {
		height: calc(100vh - 60px);
	}
}

.search .form-control {
    padding-left: 2.5rem!important;
}

.search span {
    position: absolute;
    z-index: 2;
    display: block;
	padding-left: 6px;
    width: 2.375rem;
    height: 2.375rem;
    line-height: 2.375rem;
    text-align: center;
    pointer-events: none;
    color: #aaa;
	font-size: 24px;
}

#map-select-dialog .modal-body {
	padding: 0;
}

#map-select-dialog a {
	text-decoration: none;
	color: black;
}

#map-select-dialog a:hover {
	background-color: rgba(0,0,0,0.075);
}

#map-select-dialog a .col-2 {
    flex: 0 0 48px;
    max-width: 48px;
}

#map-select-dialog a img {
	margin-right: 1rem;
}

#map-select-dialog a div {
	line-height: 1;
}

#map-select-dialog a div.details {
	margin-top: 4px;
}

#locations-toolbar {
    position: absolute;
	z-index: 2;
	top: 137px;
	right: 30px;
	width: calc(100vw - (100vw - 100%) - 120px);
	text-align: right;
}

@media (max-width: 992px) {
	#locations-toolbar {
		top: 95px;
		right: 20px;
		width: calc(100vw - (100vw - 100%) - 40px);
	}
}

#locations-toolbar a {
	margin-top: -4px;
}

#locations-toolbar .search {
	display: inline-block;
	width: calc(50vw - (100vw - 100%) - 95px);
}

@media (max-width: 1400px) {
	#locations-toolbar .search {
		width: calc(60vw - (100vw - 100%) - 95px);
	}
}

@media (max-width: 1200px) {
	#locations-toolbar .search {
		width: calc(70vw - (100vw - 100%) - 95px);
	}
}

@media (max-width: 992px) {
	#locations-toolbar .search {
		width: calc(80vw - (100vw - 100%) - 95px);
	}
}

@media (max-width: 768px) {
	#locations-toolbar .search {
		width: calc(90vw - (100vw - 100%) - 95px);
	}
}

@media (max-width: 576px) {
	#locations-toolbar .search {
		width: calc(100vw - (100vw - 100%) - 95px);
	}
}

#locations-toolbar.opacity {
    opacity: 0.8;
}

#map-tooltip {
	display: none;
	z-index: 2;
	position: absolute;
	background: white;	
	border: 1px solid #ced4da;
    border-radius: 0.25rem;
}

#map-tooltip li img {
	margin-right: 1rem;
}

#map-tooltip li div {
	line-height: 1;
}

#map-tooltip li div.details {
	margin-top: 4px;
}

#locations-container .list-wrapper {
	margin-top: 15px;
}

@media (max-width: 576px) {	
	#locations-container .list-button-bar-top {
		margin-left: -100px;
	}
}


/**********************************************************************
/* Map - Master data
/**********************************************************************/

.map-detail-container {
	position:relative;
}

.map-detail-container #map-detail {
    width: 100%;
    height: 250px;
}

.map-detail-container .map-navigation {
	position: absolute;
	top: 17px;
	right: 20px;
	z-index: 2;
}

#address-select-dialog .modal-body {
	padding: 0;
}


/**********************************************************************
/* Location
/**********************************************************************/

#location > .row > div {
	margin-bottom: 30px;
}

#location .map-detail {
	width: 100%;
	height: 300px;
}

#location .map-navigation {
	position: absolute;
	top: 20px;
	right: 20px;
	z-index: 2;
}

#location #status_loading {
	font-size: 17px;
}

#location #status_badge {
	display: none;
}

#location #status_badge.pointer {
	cursor: pointer;
}

#location .card-title > .content-change {
  float: right;
  font-style: italic;
  font-size: medium;
  padding-top: 8px;
}

@media (max-width: 576px){
    #location .card-title > .content-change {
        display: block;
    }
}

#location .card-title > .configuration {
  float: right;
  margin-top: -7px;
}

#location .card-title > .configuration span {
	padding-left: 0.5em;
}

@media (max-width: 576px){
    #location .card-title > .configuration span {
        display: none;
    }
}

#location .live-view {
	width: 100%;
	border: 0;
	display: none;
}

#location .live-view-unavailable {
	color: #6c757d;
	font-family: 'Arial';
	font-size: 40px;
}

#location .live-view-enlarge {
	margin-top: -7px;
	float: right;
	display: none;
}

#location .live-view-enlarge span {
	padding-left: 0.5em;
}

@media (max-width: 576px){
    #location .live-view-enlarge span {
        display: none;
    }
}

#location .connection-history {
	margin-top: -1.5rem;
}

#location .connection-history i {
	font-size: 20px;
}

/**********************************************************************
/* Filter
/**********************************************************************/

a.filter, a.filter:hover, a.filter:visited {
	text-decoration: none;
	color: black;
	font-weight: bold;
}


/**********************************************************************
/* Search form
/**********************************************************************/

form.search {
	float: right;
}

@media (max-width: 576px) {
	form.search {
		float: none;
	}
}

form.search .form-control {
	width: 20vw;
	display: inline;
	padding-left: 0;
	margin-bottom: 2px;
}

@media (max-width: 576px) {
	form.search .form-control {
		width: 100%;
		display: block;
	}
}


/**********************************************************************
/* Location overview
/**********************************************************************/

table#elevators .btn-sm {
	width: 3em;
}

table#elevators ul {
    margin-left: 20px;
    margin-bottom: 0;
}

@media (max-width: 768px){
	thead {
		display: none;
	}
}

table#elevators .alarm-type {
	min-height: 27px;
	line-height: 100%;
}

table#elevators .alarm-type small {
	vertical-align: middle;
}

#filter .bootstrap-select {
	min-width: 20em;
	max-width: calc( 100% - 4em )!important;
}

#filter .bootstrap-select button {
	margin-top: -6px;
	padding: .25rem .5rem!important;
    font-size: .875rem!important;
    line-height: 1.5!important;
    border-radius: .2rem!important;
}


/**********************************************************************
/* Location detail
/**********************************************************************/

@media (max-width: 576px){
	form#elevator #find_by_address {
		margin-bottom: .5rem !important;
	}
}


/**********************************************************************
/* Events
/**********************************************************************/

#events h3 {
	margin: 0;
}

#events .list-wrapper, #events .list-wrapper table {
	margin: 1em 0 0 0;
}


/**********************************************************************
/* User detail
/**********************************************************************/

form#user .col-4, form#user .col-md-4 {
	max-width: 12em;
}

form#user .selectpicker > button {
	background: white!important;
}

form#user .bootstrap-select>.dropdown-toggle {
	width: auto!important;
}

form#user .bootstrap-select>.dropdown-toggle .filter-option:before {
	font: var(--fa-font-solid);
	content: '\f067';
}

form#user .bootstrap-select>.dropdown-toggle:after {
    display: none!important;
}

form#user .bootstrap-select>button.dropdown-toggle, form#user .bootstrap-select>button.dropdown-toggle:active, form#user .bootstrap-select>button.dropdown-toggle:focus {
    outline: none!important;
	outline-color: red!important;
    outline-offset: 0!important;
    outline-style: none!important;
}

form#user .bootstrap-select .filter-option-inner-inner {
	display: none!important;
}

form#user .bootstrap-select>.dropdown-toggle {
	color: inherit!important;
	border-color: #ced4da!important;
}


/**********************************************************************
/* Logbook configuration
/**********************************************************************/

.checkbox-helptext {
	margin-left: 17px;
	font-size: small;
	color: grey;
}

/**********************************************************************
/* Data connection types
/**********************************************************************/

#data-connection-types h3 {
	margin: 0;
}

#data-connection-types .list-wrapper, #data-connection-types .list-wrapper table {
	margin: 0;
}


/**********************************************************************
/* Installation types
/**********************************************************************/

#installation-types h3 {
	margin: 0;
}

#installation-types .list-wrapper, #installation-types .list-wrapper table {
	margin: 0;
}


/**********************************************************************
/* Notifications
/**********************************************************************/

#notifications td div:first-child {
	overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
	max-width: 85vw;
}

#notifications i {
	display: inline-block;
	width: 1em;
	text-align: center;
}


/**********************************************************************
/* Ask for test call
/**********************************************************************/

#check_elevators {
	width: auto;
}


/**********************************************************************
/* User messages
/**********************************************************************/

#user-messages {
	z-index: 10000;
	position: fixed;
	top: 20px;
	right: 20px;
}

#user-messages .toast {
	color: white;
	opacity: 0.85;
	border: none;
    box-shadow: 0 0.25rem 0.75rem rgba(0,0,0,0.5);
}

#user-messages .close {
	color: white;
	opacity: .85;
	margin-top: -5px;
}

#user-messages .close:hover {
	opacity: 1;
}

#user-messages .close:focus {
	outline: none !important;
}

#user-messages .close span {
	line-height: 12px;
	vertical-align: top;
}

.toast.fade:not(.show):not(.showing) {
	display:block!important;
    transition: opacity 0.5s linear !important;
	opacity: 0!important;
}


/**********************************************************************
/* Bootstrap overrides
/**********************************************************************/

.nav-pills.nav-tabs .nav-link {
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
}

@media (max-width: 960px){
	.pt-lg-4 {
		padding-top: 1.5em;
	}
}

.progress {
	height: 24px!important;
}

.invalid-feedback {
	display: block!important;
}


/**********************************************************************
/* Bootstrap select overrides
/**********************************************************************/

.bootstrap-select>button.dropdown-toggle, .bootstrap-select>button.dropdown-toggle:active, .bootstrap-select>button.dropdown-toggle:focus {
	color: inherit!important;
	background: inherit!important;
	border-color: #ced4da!important;
}