/* changed: 2014-03-14 / pschulze / changed to work cross-browser with SVG and fallback default logo */

.logo {
	position: absolute;
	height: 45px;
	width: 355px;
	overflow: hidden;
	background-color: var(--color-background);
	border: 2px solid;
    border-color: white;
    border-bottom: 0px;
    border-right: 0px;
    z-index: 10;
}

.headerLogoBox {
	height: 45px;
	width: 136px;
	background-position: left center;
	background-repeat: no-repeat;
	background-size: contain;
	margin-left: 15px;
	float: left;
}

.headerLogoBoxFullWidth {
	height: 45px;
	width: 350px;
	background-position: left center;
	background-repeat: no-repeat;
	background-size: contain;
	margin-left: 15px;
	float: right;
}

/* with logo */
.headerLogoBox.headerLogoBox_hasLogo {
	background-image: url();
}
.headerLogoBoxFullWidth.headerLogoBoxFullWidth_hasLogo {
	background-image: url();
}

/* with SVG LOGO */
.headerLogoBox.headerLogoBox_hasSVGLogo {
	background-image: url(/portal/file/meine-energie-logo.svg);
}
.headerLogoBoxFullWidth.headerLogoBoxFullWidth_hasSVGLogo {
	background-image: url(/portal/file/meine-energie-logo.svg);
}

.header_search {
	text-align: center;
}

.headerLinks {
	text-align: right;
	padding-right: 15px !important;
}

.headerLinks a {
	margin: 0px 15px;
	color: #888888;
	cursor: pointer;
}

.headerLinks a:hover {
	text-decoration: underline;
}

.additionalMELogo {
	margin: 0px 0px 0px 5px;
	float: left;
	height: 45px;
	width: 130px;
	background-image: url(/portal/file/header_logo_at.svg);
	background-position: left center;
	background-repeat: no-repeat;
	background-size: contain;
}

.additionalMELogo.additionalMELogo_noSVG {
	background-image: url(/portal/file/header_logo_at_SMALL.png);
}


/*** menu ***/


.menu {
	height: 46px;
	position: relative;
	color: #fff;
	border-style: solid;
	border-bottom-color: #FFF;
	border-top-color: #005300;
	border-width: 1px 0px 3px;
	padding-left: 365px;
}

.menuWrapper {
	overflow: hidden;
	display: block;
	height: 100%;
}

.menuLoggedInUser {
	width: 190px;
	position: absolute;
	left: 40px;
	top: 0px;
	height: 100%;
	line-height: 46px;
	overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.menuWrapper > *,
#hiddenMenuWrapper > * {
	position: relative;
	display: inline-block;
	text-align: center;
	padding: 0px 20px;
	color: #FFFFFF;
	font-weight: bold;
	overflow: hidden;
	cursor: pointer;
	height: 100%;
	line-height: 44px;
}

.menuWrapper > *:hover,
.menuWrapper > .menuActiveLink,
#hiddenMenuWrapper > .menuActiveLink {
	background-color: #F8F8F8;
	color: #3A7B00 !important;
	
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2RkZGRkZCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjIwJSIgc3RvcC1jb2xvcj0iI2Y4ZjhmOCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgPC9saW5lYXJHcmFkaWVudD4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=);
	background: -moz-linear-gradient(top, #DDDDDD 0%, #F8F8F8 20%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#DDDDDD), color-stop(20%, #F8F8F8)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #DDDDDD 0%, #F8F8F8 20%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #DDDDDD 0%,#F8F8F8 20%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, #DDDDDD 0%,#F8F8F8 20%); /* IE10+ */
	background: linear-gradient(to bottom, #DDDDDD 0%,#F8F8F8 20%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#DDDDDD', endColorstr='#F8F8F8',GradientType=0 ); /* IE6-8 */
}

#hiddenMenuButton {
	display: none;
	position: absolute;
	right: 0px;
	top: 0px;
	height: 22px;
	width: 22px;
	padding: 0px;
	margin: 10px 5px 5px 25px;
	cursor: pointer;
}

#hiddenMenuButton .icon {
	height: 18px;
	width: 18px;
	border-style: solid;
	border-color: transparent;
	border-width: 2px;
	
	-webkit-transition: 200ms linear;
	-moz-transition: 200ms linear;
	-o-transition: 200ms linear;
	transition: 200ms linear;
	
	-webkit-border-radius: 11px;
  	-moz-border-radius: 11px;
  	border-radius: 11px;
}

#hiddenMenuButton.withActive .icon {
	border-color: #FFF;
}

#hiddenMenuWrapper {
	display: none;
	position: absolute;
	top: 36px;
	border: 1px solid #CCC;
	border-width: 0px 0px 1px 1px;
	background-color: #FFF;
	right: -65px;
	z-index: 5;
}

#hiddenMenuWrapper a {
	display: block;
	height: auto;
	border-bottom: none;
	background-color: #3A7B00;
	border-top:	1px solid #005300;
    width: 130px;
}

/*** helpdesk (left content) ***/


.helpdesk_wrapper {
	position: relative;
}

.helpdesk_wrapper .helpdesk_inner {
	display: block;
	position: absolute;
	left: 0px;
	top: 0px; 
	z-index: 1000;
}


/*** content ***/

.main {
	background-color: var(--color-background);
	
	-webkit-box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.1);
	-moz-box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.1);
	box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.1);
}

.main .main_table {
	width: 100%;
	table-layout: fixed;
}

.main_table .main_right {
	padding: 5px 0px 5px 5px;
	vertical-align: top;
}

/*** styles set by id for UI scaling (js) ***/
#content {
	display: block;
	overflow: auto;
	position: relative;
	min-height: 300px;
}


/*** footer ***/

.footer {
	height: 45px;
}

.footer_info_table {
	width: 100%;
	height: 100%;
	cursor: default;
	background-color: #DDDDDD;
}

.footer_info_table td {
	padding: 0px 10px;
	vertical-align: middle;
}

.footer_info_table td * {
	display: inline-block;
	font-size: 10px;
}


/*** overlay (fog) ****/

.loading_bar {
	display: none;
	position: fixed;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	overflow: hidden;
	z-index: 1000100;
}

.loading_bar.run {
	display: block;
}

.loading_bar.run .faSpinner {
	opacity: 1;
}

/*
.loading_bar .circle {
	background-color: #FFF;
	width: 140px;
	height: 140px;
	position: absolute;
	left: 50%;
	top: 50%;
	margin-left: -70px;
	margin-top: -70px;
	
	-webkit-border-radius: 70px;
  	-moz-border-radius: 70px;
  	border-radius: 70px;
}
*/

.loading_bar .spinner {
	position: absolute;
	top: 50%;
	left: 50%;
	height: 100px;
	width: 100px;
	margin: -50px 0px 0px -50px;	
}

.loading_bar .spinner > div {
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
	
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0px;
	left: 0px;
}

@-webkit-keyframes spin {
	0% {
		transform: rotate(0deg);
		opacity: 1;
	}
	to {
		transform: rotate(1turn);
		opacity: 1;
	}
}
@keyframes spin {
	0% {
		transform: rotate(0deg);
		opacity: 1;
	}

	to {
		transform: rotate(1turn);
		opacity: 1;
	}
}

.faSpinner {
	background: -webkit-gradient(linear, left top, left bottom, from(rgba(255,255,255,0)), to(var(--main-color)));
	background: -webkit-gradient(linear, left top, left bottom, from(rgba(0,0,0,0)), to(var(--main-color)));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	opacity: 0;

	-webkit-animation: spin 1s infinite linear !important;
	animation: spin 1s infinite linear !important;
}

.portal_fog {
	background-color: #FFF;
	position: fixed;
	top: 0px;
	left: 0px;
	height: 100%;
	width: 100%;
	overflow: hidden;
	display: none;
	z-index: 1000099;
	
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
	filter: alpha(opacity=0);
	-moz-opacity: 0;
	-khtml-opacity: 0;
	opacity: 0;
}

/* session timeout/countdown */

.session-countdown {
	cursor: default;
	text-align: left;
	display: inline-block;
	position: relative;
	z-index: 100;
	
	-webkit-user-select: none; /* Safari 3.1+ */
	-moz-user-select: none; /* Firefox 2+ */
	-ms-user-select: none; /* IE 10+ */
	user-select: none; /* Standard syntax */
	
    background-color: var(--color-background);
    color: var(--color-text);
    text-align: center;
    border-style: solid;
    border-color: #FFF;
    border-width: 2px;
    padding: 3px 5px;
    
    margin-left: 10px;
}

.session-countdown:not(.run) {
	display: none;
}

.session-countdown .description {
	color: #BBB;
	font-size: 10px;
	
	-webkit-transition: 100ms linear;
	-moz-transition: 100ms linear;
	-o-transition: 100ms linear;
	transition: 100ms linear;
}

.session-countdown .description {
	max-height: 15px;
	line-height: 15px;
	
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
	filter: alpha(opacity=100);
	-moz-opacity: 1;
	-khtml-opacity: 1;
	opacity: 1;
}

.session-countdown .time {
	color: #BBB;
	font-size: 10px;
	line-height: 20px;
}

.session-countdown .time span {
	color: #888;
	font-size: 14px;
	padding: 0px 2px 0px 4px;
}

.session-countdown .time span:first-child {
	padding-left: 0px;
}

#session-timeout {
	display: none;
}

/* testsystem marker */
body.isdebug #superLevelToolbar,
body.isdebug .header > table {
	background-attachment: fixed;
	background-image: -webkit-repeating-linear-gradient(-45deg, transparent, transparent 10px, rgba(255,255,255,0.3) 10px, rgba(255,255,255,0.3) 20px);
	background-image: -moz-repeating-linear-gradient(-45deg, transparent, transparent 10px, rgba(255,255,255,0.3) 10px, rgba(255,255,255,0.3) 20px);
	background-image: -ms-repeating-linear-gradient(-45deg, transparent, transparent 10px, rgba(255,255,255,0.3) 10px, rgba(255,255,255,0.3) 20px);
	background-image: -o-repeating-linear-gradient(-45deg, transparent, transparent 10px, rgba(255,255,255,0.3) 10px, rgba(255,255,255,0.3) 20px);
	background-image: repeating-linear-gradient(-45deg, transparent, transparent 10px, rgba(255,255,255,0.3) 10px, rgba(255,255,255,0.3) 20px);
}

body.isdebug .session-countdown .description,
body.isdebug .session-countdown .time {
	color: #888;
}

body.isdebug .session-countdown .time span {
	color: #555;
}

.footer_center .testsystem {
	bottom: 5px;
	left: 0px;
	right: 0px;
	display: block;
	background-color: var(--color-warning);
	color: #FFF;
	text-align: center;
	line-height: 30px;
	height: 30px;
	font-size: 12px;
	font-weight: bold;
	border-style: solid;
	border-color: #FFF;
	border-width: 2px;
}

.footer_button {
	border: 2px solid #FFFFFF !important;
	border-radius: 0px !important;
	width: 50px;
}

/******************* tickets und fontawesome (TW) ********************/

.ticket-panel {
	position: fixed;
	bottom: 5px;
	left: 0px;
	background-color: var(--color-background);
	padding: 0px 10px;
	z-index: 101;
	box-sizing: border-box;
	width: 350px;
	height: 34px;
	border-style: solid;
	border-color: #FFF;
	border-width: 2px;
	padding: 5px 5px;
	overflow: visible;
	margin-left: 5px;
}

/* body.mp-open.mp-mirrored .ticket-panel {
	left: auto;
	right: 0px;
	border-width: 0px 0px 3px 3px;
}

body.mp-open.mp-mirrored.mp-vertical .ticket-panel {
	left: 0px;
	right: auto;
	top: auto;
	bottom: 0px;
	border-width: 3px 3px 0px 0px;
} */

.ticket-panel .open-tickets {
	white-space: nowrap;
}

.ticket-panel .intro {
	display: inline-block;
	vertical-align: top;
	line-height: 20px;
	width: 25px;
	font-size: 11px;
}

.ticket-panel .open-tickets > *:not(.intro) {
	position: relative;
	display: inline-block;
	vertical-align: top;
	line-height: 20px;
	text-align: center;
	color: #FFF; 
	min-width: 26px;
	padding: 0px 5px;
	box-sizing: border-box;
	margin-right: 5px;
	cursor: pointer;
	font-weight: bold;
}

.ticket-panel .open-tickets > *.passed {
	background-color: var(--color-critical);
}

.ticket-panel .open-tickets > *.soon {
	background-color: var(--color-warning);
}

.ticket-panel .open-tickets > *.upcoming {
	background-color: var(--color-success);
}

.ticket-panel .open-tickets > *.sum {
	background-color: var(--color-disabled-text);
	height: 20px;
}

.ticket-panel .open-tickets > .sum i {
	padding-right: 4px;
}

.ticket-panel .summary {
	white-space: nowrap;
}

.ticket-panel .summary .intro {
    color: var(--color-text);
}

.ticket-panel .summary .scope {
	display: inline-block;
	vertical-align: top;
	transition: var(--tooltip-transition-speed) var(--transition-type);
	white-space: nowrap;
}

.ticket-panel .summary .scope .toggle {
	display: inline-block;
	width: 14px;
	text-align: left;
	vertical-align: top;
	color: var(--main-color);
	margin: 0px 4px 0px -3px;
	cursor: pointer;
	padding: 0px 3px;
}

.ticket-panel .summary .scope .toggle.all .fa-user,
.ticket-panel .summary .scope .toggle .fa-users {
	display: none;
}

.ticket-panel .summary .scope .toggle.all .fa-users {
	display: inline-block;
}

.ticket-panel .summary .scope .user {
	display: inline-block;
	vertical-align: top;
	cursor: pointer;
	font-size: 11px;
    width: 120px;
    position: relative;
    height: 17px;
}

.ticket-panel .summary .scope .user .name {
	position: absolute;
	display: block;
	left: 0px;
	top: 0px;
	width: 100%;
	overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
	text-decoration: underline;
	color: var(--color-text);
}

.ticket-panel .summary .scope .user .name:hover {
	text-decoration: none;
	color: #333;
}
