/* Global styles for avanti EnergyManager 
 * (c) 2013 Datacosmos 
 */
html, body {
    height:100%;
	margin: 0px;
	font-family: Arial, Verdana, sans-serif;
}

/* Header */
.subheader {
    width: 100%;
    position: fixed; 
    top: 0px;
    height: 75px !important;
    z-index:90;
	background: none repeat scroll 0% 0% rgb(245, 245, 245);
	border-bottom: 1px solid rgb(214, 151, 205);
	color: rgb(255, 255, 255);	
	border-bottom: medium none;
	padding-bottom: 18px;
}

.subheader img {
	padding-top: 5px;
}

.subheader h1 {
    color:  rgb(55, 140, 178);
	font-size: 24px;
	font-weight: normal;
	line-height: 1.25;
	margin: 15px 0 5px 0;
}

.companyinfo {
	position:absolute; 
	top: 0px; 
	margin-left: 225px;
}

.companyinfo ul {
	margin:0px;
	display: block;
	font-size: 14px;
	list-style: none outside none;
	padding: 0px;
	color:  rgb(55, 140, 178);
	text-align: left;
 }

.companyinfo li {
	display: inline-block;
	line-height: 1.66667;
	padding: 0px;
	white-space: nowrap;	
 }

.companyinfo ul > li + li {
    margin-left: 10px;
}

.companyinfo a, .companyinfo a:hover, .companyinfo a:link, .companyinfo a:visited {
	text-decoration: none;
	color: rgb(112, 112, 112);
}

#user:before {
	content: url("../../dc/images/icon_user.png");
}
 
#share:before {
	content: url("../../dc/images/icon_share.png");
}
 
.filters {
	position:absolute; 
	right: 100px; 
	top: 0px;
	display: block;
	font-size: 14px;
	padding: 0px;
	color:  rgb(55, 140, 178);
	text-align: right;
}

/* main navigation */
.mainnav {
    width: 100%;
    position: fixed; 
    top: 85px;
    height: 30px !important;
    z-index: 90;
	background-color: rgb(84, 171, 210);
	border-top: 1px solid rgb(204, 204, 204);
	border-bottom: 1px solid rgb(204, 204, 204);
}

.mainnav  ul {
    /* set a distance so that the absolutely positioned div is not above the main ul */
	margin: 0 50px 0 50px;
	display: block;
	font-size: 14px;
	list-style: none outside none;
	padding: 0;
	color: rgb(255, 255, 255);
	text-align: center;
	/* fix fullscreen icon with lower res*/
	white-space: nowrap;
	overflow: hidden;
 }

.mainnav  li {
	display: inline-block;
	line-height: 1.66667;
	padding: 0;
	white-space: nowrap;	
 }

.mainnav li a {
	white-space: nowrap;
}

 /* enable this to have additional space between menu items */
.mainnav  ul > li + li {
/*    margin-left: 10px; */
}

/* main navigation menu item */
.mainnav a {
	color: rgb(255, 255, 255);
	text-decoration: none;
	margin: 0;
	display: block;
	position: relative;
	padding: 3px 20px 4px 20px;
}

/* active main navigation menu item */
.mainnav a:active, .mainnav .selected a {
	font-weight: bold;
	color: rgb(244, 244, 244);
	text-decoration: none;
}

/* bullet marker */
.mainnav .selected a:before {
	content: '→ ';
}

/* hover background on menu items */
.mainnav li a.active,
.mainnav li a:focus,
.mainnav li a:hover {
	background-color: rgb(55, 140, 178);
    text-decoration: none;
}

/* Scrollable area */
.scrollable {
    position:relative;
/*    min-height: 100%; */
    width:960px; /* Sizing - any length */
    padding:122px 5px 30px 0px; /* Header height and footer height */
    margin:0 auto 0 auto; /* Center content */
}

/* to be added to content div depending on sidebar status */
div.content.sidebar_active {
    margin-right: 335px;
}

/* to be added to content div depending on sidebar status */
div.content.sidebar_inactive {
    margin-right: 0px;
}

@media screen and (min-width: 1100px) {
    .scrollable {
        width: 90%; 
    }
	.inner {
		width: 90%;
	}
}

.sidebar {
/*    height: 100%; */
    width: 325px;
    top:0;
/*    padding-top:160px; */
    margin-top:122px;
	padding-bottom:35px;
    position:absolute;
    -moz-box-sizing:border-box;
    -webkit-box-sizing:border-box;
    -o-box-sizing:border-box;
    -ms-box-sizing:border-box;
    box-sizing:border-box;
/*	border: 1px solid #ccc; */
	right: 0;
}

/* a wrapper to get the inner width */
.inner {
	position: relative;
	width: 960px;
	margin: 0px auto;
}


/* the scrollable content */
.content {
    position:relative; 
/*	height:100%; */
	min-width: 300px;
	margin-left: 0px;
/*	margin-right: 310px;
 is now handled by additional sidebar_active/sidebar_inactive class */
    -moz-box-sizing:border-box;
    -webkit-box-sizing:border-box;
    -o-box-sizing:border-box;
    -ms-box-sizing:border-box;
    box-sizing:border-box;
/*	border: 1px solid #ccc; */
}

.scrollable .dc-heading {
/*	background: url('../dc/images/bg_heading.png') repeat; */
	background-color: rgb(55, 140, 178);
	border-top: 1px solid #333;
	border-left: 1px solid #333;
	border-right: 1px solid #333;
	color: #fff;
	font-weight: bold;
	font-size: 13px;
	padding: 2px;
	-webkit-border-radius: 0 2px 0 0;
	-moz-border-radius: 0 2px 0 0;
	border-radius: 0 2px 0 0;
}

.scrollable .dc-form, .scrollable .dc-overview {
	border-bottom: 1px solid #333;
	border-left: 1px solid #333;
	border-right: 1px solid #333;
	color: #333;
	font-size: 13px;
    padding: 2px 2px 2px;
    margin-bottom: 5px;
	-webkit-border-radius: 0 0 0 2px;
	-moz-border-radius: 0 0 0 2px;
	border-radius: 0 0 0 2px;	
}

/* completed message dialog */
div.dc-info-completed {
	width: 80%;
	margin: 0px auto;
	background-color: #f6eb87;
	border: 1px solid #888;
	font-size: 10px;
	padding: 5px;
	text-align: center;
	margin-bottom: 5px;
}

/* completed message dialog */
div.dc-info-predata {
	width: 80%;
	margin: 0px auto;
	background-color: #ddd;
	border: 1px solid #888;
	font-size: 10px;
	padding: 5px;
	text-align: center;
	margin-bottom: 5px;
}

/* the footer */
.footer {
    clear:both;
    width: 100%;
    position: fixed; 
    bottom: 0;
    height: 30px;
    border-top: 1px solid rgb(204, 204, 204);
    background-color: rgb(245, 245, 245);
    z-index: 1;
}

/* footer links */
.footer ul {
	margin:0px;
	display: block;
	font-size: 12px;
	list-style: none outside none;
	padding: 0px;
	color: rgb(112, 112, 112);
	text-align: center;
 }

.footer li {
	display: inline-block;
	line-height: 1.66667;
	padding: 0px;
	white-space: nowrap;	
 }
 
.footer a, .footer a:hover, .footer a:link, .footer a:visited {
	color: rgb(112, 112, 112);
	text-decoration: underline;
}

.footer ul > li + li {
    margin-left: 10px;
}

.footer  ul > li:after {
    content: "\b7"; /* mid dot */
    margin-left: 10px;
    /* speak: none; */
}

/* Start help slider */
/* TODO: change to integrate in slidebar 
 */

.help-slider-active {
    width: 100%;
    position: fixed; 
    bottom: 0px;
    height: 100px;
    transition: height 0.25s ease-in-out;
    -webkit-transition: height 0.25s ease-in-out;
    z-index: 2;
}

.help-slider-inactive {
    width: 100%;
    position: fixed; 
    bottom: 0px;
    height: 22px;
    transition: height 0.25s ease-in-out;
    -webkit-transition: height 0.25s ease-in-out;
    z-index: 2;
}

.help-anchor-outer {
    position: absolute;
	right: 100px;
	height: 15px;
	padding-left: 25px; /* help-anchor padding + margin */
	padding-right: 25px;
	border-bottom: 5px solid rgb(84, 171, 210);
	width: 60px;
}

.help-anchor {
    position: absolute;
	right: 100px;
	height: 20px;
    -webkit-border-radius: 5px 5px 0 0;
   -moz-border-radius: 5px 5px 0 0;
    border-radius: 5px 5px 0 0;
	background-color: rgb(84, 171, 210);
	padding-left: 15px;
	padding-right: 15px;
	color: white;
	margin-right: 10px;
	margin-left: 10px;
	text-align: center;
	width: 60px;
	cursor: pointer;
}

/*
.help-slider-active .help-anchor:before {
	content:"";
	position:absolute;
	top: 0px;
	left:-10px;	
	height: 10px;
    -webkit-border-radius: 0 0 5px 0;
   -moz-border-radius: 0 0 5px 0;
    border-radius: 0 0 5px 0;
	border-style: solid;
	border-color: white;
	border-width: 0 0 10px 10px;
	color: white;
}

.help-slider-active .help-anchor:after {
	content:"";
	position:absolute;
	top: 0px;
	right:-10px;	
	height: 10px;
    -webkit-border-radius: 0 0 0 5px;
   -moz-border-radius: 0 0 0 5px;
    border-radius: 0 0 0 5px;
	border-style: solid;
	border-color: white;
	border-width: 0 0 10px 10px;
	color: white;
}

.help-slider-inactive .help-anchor:before {
	content:"";
	position:absolute;
	top: 0px;
	left:-10px;	
	height: 10px;
    -webkit-border-radius: 0 0 5px 0;
   -moz-border-radius: 0 0 5px 0;
    border-radius: 0 0 5px 0;
	border-style: solid;
	border-color: rgb(245, 245, 245);
	border-width: 0 0 10px 10px;
	color: white;
}

.help-slider-inactive .help-anchor:after {
	content:"";
	position:absolute;
	top: 0px;
	right:-10px;	
	height: 10px;
    -webkit-border-radius: 0 0 0 5px;
   -moz-border-radius: 0 0 0 5px;
    border-radius: 0 0 0 5px;
	border-style: solid;
	border-color: rgb(245, 245, 245);
	border-width: 0 0 10px 10px;
	color: white;
}
*/

.help-slider-active .help-anchor > span:after {
	content: "\25BC";
}

.help-slider-inactive .help-anchor > span:after {
	content: "\25B2";
}

.help-anchor > span:hover {
	text-decoration: underline;
}

.help-content {
/*	width: 100%; */
	height: 100%;
	background-color: rgb(84, 171, 210);
	margin-top: 20px;
	height: 100%;
	color: white;
	padding-left: 50px;
	padding-right: 50px;
	padding-top: 8px;
	text-align: justify;
}

/* End help slider */

/* Start topic overview */
/* dc-nav-overview-0 is topic */
/* dc-nav-overview-1 is subject */

.dc-overview .dc-nav-overview-0 {
/*	text-transform: uppercase; */
	padding: 10px 0px 10px 0px;
	margin: 0 10px 0 10px;
	font-size: 14px;
	border-top: 1px solid rgb(55, 140, 178);
}

.dc-overview .dc-nav-overview-0.dc-nav-inactive span:hover {
	text-decoration: underline;
	cursor: pointer;
}

.dc-overview .dc-nav-overview-0.dc-nav-active span {
	font-weight: bold;
	color: rgb(55, 140, 178);
}

.dc-overview .dc-nav-overview-0.dc-nav-active span:hover {
	text-decoration: underline;
	cursor: pointer;
}

.dc-overview>:first-child {
/*	text-transform: uppercase;*/
	padding: 10px 0px 10px 0px;
	margin: 0 10px 0 10px;
	font-size: 14px;
	border-top: 0px solid rgb(0, 84, 0);
}

.dc-nav-overview-1 {
	text-transform: none;
	padding-left: 10px;
	font-size: 12px;
}

.dc-nav-overview-1:first-child {
	margin-top: 5px;
}

.dc-nav-overview-1:before {
	content: "- ";
}

.dc-nav-overview-1 span:hover {
	text-decoration: underline;
	cursor: pointer;
}

.dc-nav-overview-1 a {
	color: rgb(55, 140, 178);
	text-decoration: none;
}

.dc-overview .dc-nav-overview-0.dc-nav-inactive  .dc-nav-overview-1 {
  visibility:hidden;
  display: block;
  opacity: 0;
  max-height: 0px; 
/*  transition:visibility 0s linear 0.25s,opacity 0.25s ease-in-out,max-height 0s linear 0.25s;
  -webkit-transition:visibility 0s linear 0.25s,opacity 0.25s ease-in-out,max-height 0s linear 0.25s;
  -moz-transition:visibility 0s linear 0.25s,opacity 0.25s ease-in-out,max-height 0s linear 0.25s;*/
  overflow: hidden;
}

.dc-overview .dc-nav-overview-0.dc-nav-active .dc-nav-overview-1  {
  display: block;
  visibility:visible;
  opacity:1;
  max-height: 1000px;
  transition:visibility 0s,opacity 0.25s ease-in-out;
  -webkit-transition:visibility 0s,opacity 0.25s ease-in-out;
  -moz-transition:visibility 0s,opacity 0.25s ease-in-out;
}

.dc-overview .dc-nav-overview-0 .dc-nav-overview-1.dc-nav-selected {
	font-weight: bold;
}

.dc-overview .dc-nav-overview-0 .dc-nav-overview-1.dc-nav-unselected {
}

/* End topic overview */

/* Start page index */

.dc-page-idx {
	position:absolute; 
	left: 0;
	width: 100%;
	padding-top: 2px;
	border-collapse: collapse;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
	margin: 0 auto;
	text-align: center;
}

.dc-page-idx-block {
	display:inline-block; 
	margin: 0px; 
	width:15px; 
	height: 12px; 
	border: 1px solid rgb(0, 85, 0);
	border-collapse: collapse;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
	margin-right: 1px;
}

.dc-page-idx-block-new{
	background-color: rgb(245, 245, 245);
}

.dc-page-idx-block-progress{
	background-color: #ccaa1f;
}

.dc-page-idx-block-completed{
/*	background-color: #45ae45; */
	background-color: #45ae45;
}

/* End page index */

/* this lets us create a badge, e.g. a number in a circle */
.badge {
    background: none repeat scroll 0% 0% rgba(0, 0, 0, 0.2);
    border-radius: 2em 2em 2em 2em;
    color: rgba(0, 0, 0, 0.8);
    display: inline-block;
    font-size: 11px;
    font-weight: bold;
    line-height: 1;
    margin: 0px;
    min-width: 1em;
    padding: 3px 3px 2px 1px;
    position: relative;
    text-align: center;
    text-decoration: none;
    text-shadow: none;
    text-transform: uppercase;
}

/* this lets us create a completed checkmark */
.completed:before {
	content: "\2713 ";
}

.completed {
    background: none repeat scroll 0% 0% rgba(0, 0, 0, 0.2);
    border-radius: 2em 2em 2em 2em;
    color: green;
    display: inline-block;
    font-size: 11px;
    font-weight: bold;
    line-height: 1;
    margin: 0px;
    min-width: 1em;
    padding: 3px 3px 2px;
    position: relative;
    text-align: center;
    text-decoration: none;
    text-shadow: none;
    text-transform: uppercase;
}

/* Start widget style override */

.dc-form input[type=text], .dc-form input[type=email] {
   width: 225px;
}

.dc-form input[type=time], .dc-form input.dc-time {
    width: 5.50em;
    text-align: right;
}

.dc-form input.dc-numeric, .dc-form input.dc-percentage {
    width: 50px;
    text-align: right;    
}

.dc-form input.dc-zip {
    width: 50px;
    text-align: left;    
}

.dc-form input[type=text], .dc-form input[type=email], .dc-form input[type=tel], .dc-form textarea {
  -webkit-transition: all 0.15s ease-in-out;
  -moz-transition: all 0.15s ease-in-out;
  -ms-transition: all 0.15s ease-in-out;
  -o-transition: all 0.15s ease-in-out;
  outline: none;
  padding: 2px 0px 2px 2px;
  margin: 3px 1px 3px 0px;
  border: 1px solid #888;
  -webkit-border-radius: 0 2px 0 2px;
  -moz-border-radius: 0 2px 0 2px;
  border-radius: 0 2px 0 2px;
}

.dc-form select {
  margin: 3px 1px 3px 0px;
  border: 1px solid #888;
  -webkit-border-radius: 0 2px 0 2px;
  -moz-border-radius: 0 2px 0 2px;
  border-radius: 0 2px 0 2px;
}
 
.dc-form input[type=text]:focus, .dc-form textarea:focus, .dc-form select:focus {
  box-shadow: 0 0 3px rgba(55, 140, 178, 0.7);
/*  box-shadow(0 0 15px rgba(81, 203, 238, 1)); */
/*  border: 1px solid rgba(81, 203, 238, 1);*/
  border: 1px solid rgba(55, 140, 178, 1);
}

.dc-form input[type=button] {
  background-color: #e0e0e0;
  border: 1px solid rgba(55, 140, 178, 1);;
  color: rgba(55, 140, 178, 1);
  font-weight: bold;
  -webkit-border-radius: 0 2px 0 0;
  -moz-border-radius: 0 2px 0 0;
  border-radius: 0 2px 0 0;
}

.dc-form input[type=button]:hover {
  background-color: #efefef;
  border: 1px solid rgba(55, 140, 178, 1);
  color: rgba(55, 140, 178, 1);
  font-weight: bold;
  -webkit-border-radius: 0 2px 0 0;
  -moz-border-radius: 0 2px 0 0;
  border-radius: 0 2px 0 0;
}

.dc-form input[type=button].dc-disabled, .dc-form input[type=button].dc-disabled :hover {
  background-color: #e0e0e0;
  border: 1px solid rgba(55, 140, 178, 1);
  color: rgba(55, 140, 178, 0.5);
  -webkit-border-radius: 0 2px 0 0;
  -moz-border-radius: 0 2px 0 0;
  border-radius: 0 2px 0 0;
}

.dc-form input.dc-saveButton {
	float: right;
	background-color: rgba(55, 140, 178, 0.25);
	-webkit-border-radius: 0 2px 0 0;
	-moz-border-radius: 0 2px 0 0;
	border-radius: 0 2px 0 0;
}


/* End widget style override */

/* Buttons, overwrite accordion buttons to have the same style for all actions */

button, .dc-accordion-button {
  background-color: rgba(55, 140, 178, 0.25);
  border: 1px solid rgba(55, 140, 178, 1);;
  color: rgba(55, 140, 178, 1);
  font-weight: bold;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  height: 22px;
  padding-bottom: 4px;
    cursor: pointer;
}
button:disabled {
  color: #aaa;
  border-style: dotted;
    cursor: not-allowed;
}

button:hover {
    background-color: #fff;
}

button.button-page-inner {
  font-weight: bold;
  font-size: 9px;
  margin-left: 2px;
  margin-right: 2px;
  height: 14px;
  padding-top: -4px;
}

hr.topology-separator {
  color: rgba(55, 140, 178, 1);
}

h2 {
  font-size: 15px;
}

/*
.label-actYear {
  font-weight: bold;
}
*/

.label-actYear {
    font-weight: bold;
    padding: 1px 5px 3px 5px;
    border: 1px solid transparent;
}

.label-actYear:hover {
    border: 1px dotted #888;
}

.label-actYear-inner {
  font-size: 11px;
  font-weight: bold;
}

.dc-timeseries-row-latest {
  background-color: rgba(55, 140, 178, 0.25);
}

.dc-timeseries-date, .dc-timeseries-value {
  padding: 2px;
  height: 34px;
}

/* Dynatree Explorer Widget Override */
ul.dynatree-container, ul.fancytree-container {
    padding: 0px;
    border: 0px solid white;
}

span.info_percentage {
    font-size: 9px;
}

/* login error message */
h2.login-error {
    color: red;
}

/* login lightbox dialog */
div.login {
	font-size: 17px;
}

div.login input {
	font-size: 17px;
	width: 200px;
}

h2.login {
	font-size: 17px;
}

/* Explorer tree styling start */

/* assignment tree */
.tree-assignment {
    background-color: #fff;
    border: 1px solid grey; 
    max-height: 160px; 
    height: 160px; 
    width: 240px;
    overflow: auto;
}

.tree-assignment-disabled {
    background-color: #eee;
}

/* chooser tree for predefined reports */
.tree-evaluate-chooser {
    border: 1px solid grey; 
    max-height: 210px; 
    height: 210px; 
    overflow: auto;
}

/* entity tree for free reports */
.tree-evaluate-entities {
    border: 1px solid grey; 
    max-height: 180px; 
    height: 180px; 
    overflow: auto;
    margin: 3px;
}

/* Explorer tree styling end */

/* Free evaluation blocks */

table.options-entities {
    background-color: #f0f3f0;
    border: 1px dotted #ddd;
}

table.options-years {
    background-color: #f0f3f0;
    border: 1px dotted #ddd;
}

/*
 * calendar styling
*/
.ui-datepicker {
    width: 250px;
    z-index: 9999 !important;
}

.ui-datepicker table {
    font-size: 0.6em;
    margin: 0px 0px 0.2em;
}
.ui-datepicker .ui-datepicker-prev,
.ui-datepicker .ui-datepicker-next {
    width: 1.1em;
    height: 1.1em;
}
.ui-datepicker .ui-datepicker-title {
    font-size: 0.8em;
    line-height: 1.0em;
    margin: 0 1.3em;
}
.ui-datepicker th {
    padding: 0.2em 0.2em;
}
.ui-datepicker td {
    padding: 0.1em;
}

/* do not need for ecosuite */
.lightboxbutton {
    margin-top:10px;
}

/* now it is only used for ecosuite */
.nav-trigger {
    display: none;
}
