html {
	width: 100%;
	height: 100%;
}

body
{
	width: 100%;
	height: 100%;
	background-color: white;
	font-family: Vectora LT Std, Helvetica, Arial, sans-serif;  /* 'Calibri' / 'CalibriRegular' */

	/* http://www.alistapart.com/articles/howtosizetextincss */
	font-size: 68%;
}

div, p, ul,
div.pagecontent * {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

input
{
	font-family: Helvetica, Arial, sans-serif;
}

body, a
{
	text-decoration: none;
	color: #777;
}

/* make generated error messages easier to see with our CSS */
.cake-error:before {
	content: "An error occurred! Please include the following in your support request:";
}

.DevLocal .cake-error,
.DevStable .cake-error,
.Staging .cake-error {
	position: absolute;
	top: 25%;
	left: 25%;
	width: 50%;
	background: #ddd;
	text-align: center;
	padding: 1em;
	z-index: 1000;

	border: 3px solid #ccc;
}

.Production .cake-error,
.Demo .cake-error {
	visibility: hidden;
}

.cake-error a {
	background: yellow;
	margin: 0.5em;
}

.cake-stack-trace {
	text-align: left;
}

.cake-code-dump {
	margin-top: 1em;
}

.cake-context {
	margin-top: 1em;
}

.stack-trace {
	margin-top: 1em;
}

.pagebody
{
	position: absolute;
	top: 64px; /* header offset */
	bottom: 39px; /* bottom-bar offset */
	overflow: auto !important;
	width: 100%;
	min-width: 1240px;
}

.pagebody.with-bottom-bar
{
	bottom: 79px;
}

.pagecontent
{
	margin: 3em 26px 0;
}

.pageheader
{
	height: 64px;
	min-width: fit-content;
	display: flex;
	width: 100%;
}

/* this will be either the dashboard dropdown or the user menu, depending on the user and page */
.pageheader > :nth-child(3) {
	margin-left: auto;
}

.pageheader-logo {
	width: 100px;
	padding: 0 16px;
}

.pageheader-logo:hover {
	background-color: rgba(1, 123, 177, 0.46);
	-webkit-transition: background-color 100ms linear;
	-ms-transition: background-color 100ms linear;
	transition: background-color 100ms linear;
	line-height: 64px;
}

.pageheader-logo img {
	vertical-align: middle;
	margin-bottom: 3px;
	height: 25px;
}

.pageheader-nav
{
	display: flex;
	color: #ffffff;
}

.pageheader-nav li {
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 60px;
	font-weight: 300;
	margin-top: 2px;
}

.pageheader-nav li a {
	line-height: 60px;
}

.pageheader-nav li a:focus {
	outline: -webkit-focus-ring-color auto 1px !important;
}

.pageheader-nav li.active a {
	border-bottom: 4px solid rgb(37, 122, 184);
	height: 60px;
	color: rgb(37, 122, 184);
	background-color: rgb(37, 122, 184);
	margin-top: 0;
}

.pageheader-nav li a span
{
	box-sizing: border-box;
	display: block;
	line-height: 65px;
	text-decoration: none;
	color: #ffffff;
	font-family: "Source Sans Pro", Helvetica, Arial, sans-serif;
	font-size: 16px;
	font-weight: 600;
	opacity: .75;
	padding: 0 16px;
	white-space: nowrap;
}

.pageheader-nav li.active a span {
	color: #ffffff;
	opacity: 1;
}

.pageheader-nav li a span:hover {
	background-color: rgba(1, 123, 177, 0.46);
	-webkit-transition: background-color 100ms linear;
	-ms-transition: background-color 100ms linear;
	transition: background-color 100ms linear;
}

.pageheader-nav li a span i {
	padding-right: 5px;
	font-size: 18px;
}


div.errorContainer
{
	line-height: 3.0em;
	font-size:1.6em;
	margin-top: 5.0em;
	width: 100%;
	text-align: center;
}

/*
	SAVED VIEWS
*/
#explore-saved-views
{
	width: 100%;
	height: 3.5em;
	background-color: #EFEFED;
	border-top: 1px solid #fff;
}

#saved-views-control
{
	height: 100%;

	position: relative;
}

#saved-views-container
{
	display: inline;
	height: 100%;

	margin-left: 12em;
	margin-right: 10em;
	float: left;
	overflow: hidden;

	white-space: nowrap;
}

#saved-views-control .saved-views-control-header
{
	position: absolute;
	padding: 1.2em 2.2em;
	height: 100%;
	vertical-align: middle;

	text-transform: uppercase;
	letter-spacing: 1px;
	color: #000;
	font-size: 1.1em;
	font-weight: bold;

	float: left;
	width: 12.5em;
	white-space: nowrap;
}

#saved-views-control ul.saved-views
{
	padding: 0em;
	height: 100%;
}

#saved-views-control .saved-views li
{
	display: inline;
	list-style-type: none;
	vertical-align: middle;

	letter-spacing: 1px;

	/*padding: 1.2em 1.2em;*/

	float: left;
}

#saved-views-control .saved-views li:hover
{
	cursor: pointer;
}

#saved-views-control .saved-views li.active
{
	background-color: #48b2e5;
	color: white;
	font-weight: bold;
}

#saved-views-control .show-more-control
{
	position: absolute;
	right: 4.6em;
	display: none;
	height: 100%;

	border-left: 1px solid white;
	background-color: #EFEFED;

	vertical-align: middle;
	text-align: center;

	cursor: pointer;
}

#saved-views-control .show-more-dropdown {
	position: absolute;
	top: 3.5em;
	right: -1.2em;
	z-index: 100;

	text-align: left;

	background-color: #7A6E64;
	color: #9da09f;
	border-right: 1px solid white;
	border-bottom: 1px solid white;
	border-left: 1px solid white;

	overflow-y: auto;
	max-height: 20em;
}

#saved-views-control ul.more-saved-views li {
	padding: 0.75em;
}

#saved-views-control ul.more-saved-views li.value-selector.active {
	background-color: #48b2e5;
	color: #ffffff;
	font-weight: bold;
}

#saved-views-control ul.more-saved-views li.value-selector:hover {
	background-color: #48b2e5;
	color: #ffffff;
}

#saved-views-control a.show-more-activator {
	width: 100%;
	display: block;
	float: left;
	background-color: #EFEFED;

	font-size: 0.8em;
	text-transform: uppercase;
	letter-spacing: 1px;

	padding: 1.5em 0.75em 1.6em 0.75em;
	white-space: nowrap;
}

#saved-views-control a.show-more-activator.activated {
	background-color: #7A6E64;
	color: #48b2e5;
}

#saved-views-control a.show-more-activator.active {
	background-color: #48b2e5;
	color: white;
	font-weight: bold;
}

#saved-views-control a.show-more-activator.disclosure {
	width: 7px;
	padding: 5px 0;
}

#saved-views-control a.show-more-activator .disclosure-less {
	display: none;
}

#saved-views-control div.add-saved-view
{
	position: absolute;
	background-color: #EFEFED;
	right: 0;
	clear: right;
	height: 100%;
	width: 3.5em;
	border-left: 1px solid white;
	overflow: hidden;
}

#saved-views-control a.add-saved-view-button
{
	padding: 0.45em 0.55em;
	display: inline-block;
	text-align: center;
	color: #48b2e5;
	font-weight: bold;
	width: 1em;
	font-size: 1.75em;
}

/* todo: make this stype show up when we show the save dialog */
#saved-views-control .active a.add-saved-view-button
{
	background-color: #7A6E64;
}

#saved-views-control div.add-saved-view.disabled a.add-saved-view-button, #saved-views-control div.add-saved-view.disabled a.add-saved-view-button:hover
{
	color: #aaa;
	background-color: #EFEFED;
	cursor: default; /* indicate this isn't clickable at the moment */
}

#explore-parameters-controller
{
	width: 100%;
	height: 150px;
	background-color: #EFEFED;
	border-top: 1px solid #fff;
	text-align: left;
	height: 140px;
}

#explore-parameters-controller .selector-control {
	background-color: #EFEFED;
	border-right: 1px solid #fff;

	display: inline-block;
	vertical-align: top;

	height: 100%;
	line-height: 25px;
	font-size: 12px;
	width: 14%;
	min-width: 10em;

	position: relative;
	float:left;
}

#explore-parameters-controller .selector-control.last {
	border: none;
}

#explore-parameters-controller .metric-control {
	min-width: 14em;
}

#explore-parameters-controller div.suggested-timespans-control {
	width: 40%;
	height: 125px;
	overflow: visible;
}

#explore-parameters-controller div.suggested-timespans-control .selector-control-header {
	padding-left: 15px;
}

div.suggested-timespans-control div.timespan-list-wrapper {
	/* width: 90%; was this here for IE compatibility? */
	height: 75px;
	overflow: hidden;
}

ul.timespan-list {
	padding-left: 0;
}

ul.timespan-list.year {
	margin-left: -10px;
	/* width: 80%; was this here for IE compatibility? */
}

ul.timespan-list.month {
	margin-left: -5px;
}

ul.timespan-list li {
	display: inline-block;
	float: left;
	text-align: center;
	width: 25%;
	padding: 0;
}

#explore-parameters-controller ul.controller-section-control {
	height: 100px;
	overflow: hidden;
}

#explore-parameters-controller ul.controller-series-control {
	height: 100%;
}

ul.controller-section-control
{
	width: 100%;
	list-style-type: none;
}

ul.controller-section-control li
{
	width: 85%;
	padding-left: 15%;
	line-height: 25px;
	height: 25px;
}

#explore-parameters-controller .show-more-control {
	position: relative;
	overflow: visible;
	display: none;
}

#explore-parameters-controller .show-more-dropdown {
	position: absolute;
	top: 14px;
	margin-top: 2px;
	z-index: 100;
	width: 100%;

	background-color: #7A6E64;
	color: #9da09f;
}

#explore-parameters-controller ul.more-energy-types li,
#explore-parameters-controller ul.more-metrics li {
	padding-left: 15%;
}

#explore-parameters-controller ul.more-energy-types li.value-selector.active,
#explore-parameters-controller ul.more-metrics li.value-selector.active {
	background-color: #48b2e5;
	color: #ffffff;
	font-weight: bold;
}

#explore-parameters-controller ul.more-energy-types li.value-selector:hover,
#explore-parameters-controller ul.more-metrics li.value-selector:hover {
	background-color: #48b2e5;
	color: #ffffff;
}

#explore-parameters-controller a.show-more-activator {
	width: 100%;
	height: 15px;
	line-height: 15px;

	border-top: 1px solid #fff;

	position: absolute;

	font-size: 8px;
	text-transform: uppercase;
	letter-spacing: 1px;
	text-align: right;
	margin-right: 1em;
}

#explore-parameters-controller a.show-more-activator.active {
	background-color: #48b2e5;
	color: #ffffff;
	font-weight: bold;
}

#explore-parameters-controller a.show-more-activator.activated {
	background-color: #7A6E64;
	color: #48b2e5;
}

#explore-parameters-controller a.show-more-activator .disclosure {
	width: 7px;
	padding: 5px 0;
}

#explore-parameters-controller a.show-more-activator .disclosure-less {
	display: none;
}

.selector-control-header,
.edit-series-header
{
	text-transform: uppercase;
	letter-spacing: 1px;
	color: #000;
	padding-left: 15%;
	line-height: 25px;
}

.edit-series-header {
	border-bottom: 1px solid white;
	border-top: 1px solid white;
	min-width: 16.5em;
	height: 4.1em;
	white-space: nowrap;
	overflow: hidden;
	letter-spacing: 0px;
}

.edit-series-label {
	display: inline-block;
	padding-top: 1.1em;
	float: left;
}

ul.edit-series-buttons {
	margin-top: 2em;
	border-top: 1px solid white;
	margin-bottom: 5em;
}

ul.edit-series-buttons li {
	font-size: 1.2em;
	line-height: 1.8em;
	text-align: center;
	border-bottom: 1px solid white;
	padding: 1em;
	cursor: pointer;
	display: none;
}

ul.edit-series-buttons li.disabled {
	color: #939598;
	cursor: default;
}

/*
ul.edit-series-buttons li {
	background-color: #E9E9E9;
}
*/

ul.edit-series-buttons li div.icon {
	display: inline-block;
	vertical-align: middle;
	height: 1.6em;
	float: right;
}

.hidden,
div.hidden {
	display: none;
}

h2.content-title {
	color: #9FA2A1;
	font-weight: normal;
	font-size: 3em;

	position: absolute;
	left: 0px;
	top: .333em; /* offsets are relative to font-size: http://www.youtube.com/watch?v=JNwhB2D1YEc */
	right: 5em;
}

.controller-section-control a {
	display: block;
	width: 85%;
	padding-left: 15%;
}

.value-selector {
	cursor: pointer;
	white-space: nowrap;
}

.value-selector.active {
	background-color: #48b2e5;
	color: white;
	font-weight: bold;
}

li.value-selector span.meter-name {
	display: inline-block;
	max-width: 16em;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.controllerpagecontent {
	width: 100%;
	min-height: 380px;

	background: #EFEFED;
	margin-top: 1px;

	position: relative;

	bottom: 0px;
}

.page-content-block {
	background-color: #E5E5E5;
	position: absolute;
	top: 0px;
	right: 0px;

	/* width dynamically handled for drawer collapse in Explore.js::handleDrawerResize */

	min-height: 380px;
}

.chart-panel {
	min-height: 380px;
}

.chart-content,
.table-content
{
	position: absolute;
	top: 0px;
	bottom: 0px;
	left: 0px;
	right: 23em;
	background-color: transparent;
	padding: 30px;
}

.table-content {
	overflow-y: auto;
	padding: 0px;
}

.chart-content.fullscreen,
.table-content.fullscreen {
	right: 0px;
}

.chart-block {
	position: relative;
	top: 6em;
}

#stock-chart-block {
	top: 4em;
}

.chart-block.loading {
	filter: grayscale(100%); /* Current draft standard */
	-webkit-filter: grayscale(100%); /* New WebKit */
	filter: url(filters.svg#grayscale); /* Firefox 3.5+ */
	filter: gray; /* IE6-9 */
	-webkit-filter: grayscale(1); /* Old WebKit */
}

div.chart-view {
	border-top: 4px solid #E2E4E3;
	border-bottom: 4px solid #E2E4E3;
	padding: 1em 0em;
	height: 100%; /* Dynamically controlled in ChartPanel.js::resizeWindow */

	position: relative;

}

div.chart-view div.loading-background {
	background: transparent;
	text-align: center;
	font-size: 2em;
	color: #888;
	position: absolute;
	z-index: 1;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	padding: 3em;
}

.table-block {
	height: 268px;
	overflow-y: scroll;
	overflow-x: auto;
	margin-bottom: 20px;
	margin-top: 10px;
}

#table-block {
	padding-top: 10px;
}

#table-panel table tr.headerBar td,
#table-panel table tr.headerBar:hover td {
	background-color: #7A6E64;
	color: white;
	text-transform: uppercase;
	line-height: 25px;
	padding-left: 20px;
	padding-top: 2px;
}

#table-panel table {
	width: 100%;
	table-layout: fixed;
}

#table-panel #plotContainer {
	overflow-x: hidden;
	overflow-y: scroll;
	position: absolute;
	top: 204px;
	bottom: 0px;
	right: 23em;
}

#table-panel #tableFeedback {
	position: absolute;
	top: 0px;
	bottom: 0px;
	height: 100%;
	right: 23em;

	text-align: center;
	padding-top: 3em;
}

#table-panel #tableFeedback > div.overlay {
	background-color: #FFF;
}

#table-panel #tableFeedback > div.overlay > div.overlay-content {
	font-size: 2em;
}

#table-panel #tableFeedback.fullscreen {
	right: 0px;
}

#table-panel #plotContainer.fullscreen {
	right: 0px;
}

#table-panel #statsContainer {
	position: absolute;
	top: 0px;
	height: 204px;
	right: 23em;
	overflow: -moz-scrollbars-vertical;
	overflow-y: scroll;
	overflow-x: hidden;
}

#table-panel #statsContainer.fullscreen {
	right: 0px;
}

#table-panel #statsContainer table {
	top: 0;
	left: 0;
	right: 0;
	height: 100%;
}

#table-panel #plotContainer table {
	left: 0;
	right: 0;
	bottom: 0;
}

#table-panel table th {
	background-color: #e6e7e8;
	color: black;
	line-height: 25px;
	padding-left: 20px;
	text-align: left;
}

#table-panel table tr:hover,
#table-panel table tr:hover td,
#table-panel table tr.alt:hover,
#table-panel table tr.alt:hover td
{
	background-color: #e6e7e8;
}

#table-panel table td {
	padding-left: 20px;
	line-height: 25px;
}

#table-panel table tr.alt td {
	background-color: #f6f6f6;
}

#table-panel table th.tablePlotLabelCell,
#table-panel table td.tablePlotLabelCell {
	text-align: right;
	width: 195px;
	text-transform: uppercase;
	color: black;
}

#table-panel table td.tablePlotDataCell {

}

.page-content-block#edit-series {
	width: 20%;
}

ul#edit-series-items li {
	width: auto;
	padding-left: 3em;
	line-height: 26px;
	height: 26px;
	overflow: hidden;
}

ul#edit-series-items li .indicator {
	height: 18px;
	width: 18px;

	padding: 4px;
	text-align: center;

	float: right;
	display: none;
}

ul#edit-series-items li.notification {
	text-align: center;
	padding-left: 0em;
	margin-top: 2em;
	font-weight: bold;
	color: #777;
	vertical-align: middle;
}

ul#edit-series-items li.favorite .favorite-indicator,
ul#edit-series-items li.minus .minus-indicator,
ul#edit-series-items li.plus .plus-indicator,
ul#edit-series-items li.group .group-indicator,
ul#edit-series-items li.count .count-indicator,
ul#edit-series-items li.temperature .temperature-indicator,
ul#edit-series-items li.utilitybill .utilitybill-indicator,
ul#edit-series-items li.physicalmeter .physicalmeter-indicator
{
	display: inline-block;
}

ul#edit-series-items li .plus-indicator {
	background-color: #6FC826;
}

ul#edit-series-items li .minus-indicator {
	background-color: #E50020;
}

ul#edit-series-items li .meter-name {
	width: 80%;
	overflow: ellipsis;
}

ul#edit-series-items li .measurable-id {
	display: none;
	width: 4em;
	overflow: visible;
	white-space: nowrap;
	padding: 0 0.5em;
}

.content-title
{
	color: #ccc;
	font-size: 2.4em;
	line-height: 1.4em;

	position: absolute;
}

html.ie9 .content-title
{
	/* width is a little too large in IE9 */
	width: 87%;
}

.chart-view .content-title {
	display: inline-block;
}

.content-title span {
	display: block;
}

.content-title .site-name {
	float: right;
}

.content-title .subtitle {
	font-size: .8em;
}

.event-filter-control {
	position: absolute;
	display: block;
	right: 0px;
	top: 0.5em;
}

.event-filter-control .content-options {
	text-transform: uppercase;
	width: 7em;

	padding: 1em .5em;
	padding-bottom: 0.9em; /* because the text is slightly offset */
	font-size: 1em;
	font-weight: bold;

	text-align: center;
	background-color: #EFEFED;
	display: inline-block;

	float: right;

	margin-right: 0.65em;
}

.event-filter-control .content-options.active {
	background-color: rgb(37, 122, 184);
	color: #fff;
}

.event-filter-control.disabled .content-options,
.event-filter-control.disabled .content-options:hover {
	cursor: default;
	color: #CCC;
	background-color: #EFEFED;
}

.event-filter-popup {
	display: none;

	position: absolute;
	right: 0.7em;
	top: 3.3em;
	width: 42em;

	padding: 0.75em;

	background-color: #EFEFED !important;
	color: #777;

	z-index: 10000000;
}

.event-filter-popup.open {
	display: block;
}

.event-filter-control.disabled .event-filter-popup {
	display: none;
}

.event-filter-popup .filter-row {
	float: left;
	clear: left;
	width: 100%;
	text-align: right;
}

.event-filter-popup .filter-row .panel-button {
	color: #777;
	font-weight: bold;
	padding: 0.25em 2em;
	margin: 0.5em;
	text-transform: uppercase;
	white-space: nowrap;
	border: none !important;
}

.event-filter-popup .filter-column {
	font-weight: bold;
	float: left;
	padding: 0.5em;
}

.event-filter-popup .narrow {
	width: 11em;
}

.event-filter-popup .wide {
	width: 14em;
}

.event-filter-popup .filter-header {
	color: rgb(37, 122, 184);
	float: left;
	text-transform: uppercase;
	margin: 0.5em;
}

.event-filter-popup label {
	float: left;
	clear: left;

	line-height: 2em;

	padding: 0.5em;
}

.event-filter-popup input {

}

.content-content {
	font-size: 120%;
	text-indent: 2em;
	margin-top: 0.5em;
}

.content-content ul li {
	padding: 0.75em 0em;
}

.content-content ul li span.date {
	color: #aaa;
	font-size: 110%;
}

.content-content ul li span.date:after {
	content: " - "
}

div.zoom-control {
	display: inline-block;
}

div.zoom-control.first {
	margin-right: 30px;
}

span.zoom-label {
	text-transform: uppercase;
	font-size: 8px;
	font-weight: bold;
	letter-spacing: 1px;
	color: #a3a6a5;

	display: block;
	margin: 5px 0;
}

ul.zoom-list {
	list-style-type: none;
	margin: 0;
	padding: 0;
	text-align: center;
	cursor: pointer;
}

ul.zoom-list li {
	display: inline-block;
	vertical-align: top;

	background: #e2e4e3;
	color: #323533;
	text-transform: uppercase;

	width: 32px;
	line-height: 32px;

	margin-right: -2px;
}

ul.zoom-list li.two-lines {
	line-height: 12px;
	padding-top: 5px;
	padding-bottom: 3px;
}

ul.zoom-list li:hover {
	background: #48B2E5;
	color: #fff;
}

ul.zoom-list li.last {
	margin-right: 0;
}

ul.zoom-list li.active {
	background-color: #48b2e5;
	color: white;
	font-weight: bold;
}

ul.chart-tools {
	list-style-type: none;
	cursor: pointer;

	display: inline-block;
	float:right;
}

ul.chart-tools div.hidden,
ul.chart-tools div.simple-menu-item.hidden {
	display: none;
}

ul.chart-tools div.simple-menu-item,
ul.chart-tools li.menu-sub-item {
	border-left: none;
}

ul.chart-tools li.menu-sub-item {
	width: 100%;
}

ul.chart-tools div.simple-menu-item {
	background-color: #7A6E64;
	color: #9DA09F;

	overflow: hidden;

	display: block;
	position: relative;

	line-height: 25px;
	vertical-align: top;
	text-align: left;

	width: 120px;
	z-index: 22; /* our chart overlay is at z:25 */

	white-space: normal;
}

ul.chart-tools>li {
	display: inline-block;
	vertical-align: top;
	text-align: center;

	background-color: #e2e4e3;

	width: 35px;
	height: 35px;
	line-height: 35px;
}

ul.chart-tools li.active {
	background-color: rgb(37, 122, 184);
}

ul.chart-tools li.last {
	margin: 0;
}

ul.chart-tools li.active {
	background-color: rgb(37, 122, 184);
}

ul.chart-tools .chart-tool-menu {
	position: relative;

	top: -12px;
	right: 85px;
	margin-top: 1px;
}

.dropdown-related {
	display: none;
}

div.add-suggested-timespan-control,
input.add-suggested-timespan-input,
a.add-suggested-timespan-control-button {
	height: 25px;
	line-height: 25px;
}

div.add-suggested-timespan-control {
	position: relative;
	overflow: visible;
	width: 40%;
	padding-left: 3%;
}

div.add-suggested-timespan-control.month {
	width: 55%;
}

div.add-suggested-timespan-control.day {
	width: 75%;
}

.add-suggested-timespan-activator {
	font-weight: bold;
	display: block;
}

.add-suggested-timespan-activator-plus {
	font-size: 14px;
}

input.add-suggested-timespan-input {
	color: #9da09f;
	text-transform: lowercase;
	cursor: default;

	padding: 0;
	margin: 0;
	border: 0;
	width: 75%;
	padding-left: 5%;
}

a.add-suggested-timespan-control-button {
	background-color: #7A6E64;
	color: #FF9A1B;
	font-size: 16px;

	display: inline-block;
	width: 25px;

	text-align: center;
	vertical-align: top;
}

.add-suggested-timespan-dropdown {
	position: absolute;
	top: 25px;
	margin-top: 2px;
	z-index: 100;

	width: 75%;
}

#add-suggested-timespan-dropdown-month {
	width: 200px;
}

#add-suggested-timespan-dropdown-day {
	width: 275px;
}

.add-suggested-timespan-dropdown-sublist {
	float: left;
	display: inline-block;
	margin-left: 1px;

	background-color: #7A6E64;
	color: #9da09f;
}

.add-suggested-timespan-dropdown-sublist.month {
	width: 120px;
}

.add-suggested-timespan-dropdown-sublist.day {
	width: 55px;

	max-height: 300px;
	overflow: scroll;
	overflow-x: hidden;
}

.add-suggested-timespan-dropdown-sublist.year {
	width: 60px;
}

.add-suggested-timespan-dropdown-sublist.only-year {
	width: 100%;
}

.add-suggested-timespan-dropdown-sublist li {
	width: 86%;
	padding-left: 15%;
}

.add-suggested-timespan-dropdown-sublist li.active {
	background-color: #FF9A1B;
	color: #fff;
}

div.flashMessage {
	display: none;
	position: absolute;
	left: 50%;
	top: 20em;
	z-index: 10000;
}

div.flashMessage div.flashMessageContents {
	position: relative;
	background: #999;
	background: rgba(128, 128, 128, 0.8);
	border-radius: 0.2em;
	color: white;
	font-size: 3.5em;
	left: -50%;
	top: -50%;
	text-align: center;
	line-height: 2em;
	padding: 0.1em 1em;
}

div.flashMessage div.flashMessageContents.small {
	font-size: 2em;
}

/* images */

div.icon {
	height: 1.9em;
	padding: .05em;
	margin: 0;
}

div.icon img {
	border: 0px;
	height: 100%;
}

img.icon {
	height: 100%;
}

.active img.inactive.icon,
.disabled img.inactive.icon,
img.disabled.icon,
img.active.icon {
	display: none;
}

.disabled img.disabled.icon,
.active img.active.icon {
	display: inline;
}

#user-menu
{
    display: block;
	margin-right: 24px;
	margin-left: auto !important;
	color: #00D4FA;
	font-size: 18px;
	line-height: 24px;
    font-family: "Source Sans Pro", Helvetica, Arial, sans-serif;
	min-width: 175px;
	white-space: nowrap;
}

.submenu {
	box-shadow: 0 0 1px 0 rgba(32, 43, 47, 0.2), 0 4px 8px -2px rgba(32, 43, 47, 0.13);
	background: #fff;
	font-size: 16px;
}

#user-menu > ul > li {
	height: 64px;
	margin-top: -2px;
}

/* top level a: user name */
.user-info {
    color: #ffffff;
    padding: 20px 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
	font-weight: 300;
	height: 24px;
}

/* user menu icons */
.user-info > i {
    width: 18px;
    height: 18px;
	color: #ffffff;
}

/* user circle icon next to user name */
.user-info i:first-of-type {
	margin-right: 8px;
}

/* dropdown arrow next to user name */
.user-info i:last-of-type {
	margin-left: 8px;
}

.user-info:hover > i,
.user-info:hover {
	color: #00D4FA !important;
}
a.user-info:focus {
	outline: -webkit-focus-ring-color auto 1px !important;
}


/* HR-like border */
#user-menu .submenu li.line-above:before {
	content: "";
	position: absolute;
	left: 16px;
	width: calc(100% - 32px);
	height: 1px;
	background: #DBDCDD;
}

#user-menu .submenu a {
    display: block;
    padding: 8px 16px;
    color: #231F20;
}

#user-menu .submenu img {
    width: 16px;
    height: 16px;
    vertical-align: middle;
    margin-bottom: 3px;
	margin-right: 16px;
}

#user-menu .submenu a:hover,
#user-menu .submenu a:focus {
	background: #f5f6f7;
}

ul[aria-hidden="true"] {
	display: none;
}

ul[aria-hidden="false"] {
	display: block;
}

[aria-haspopup="true"] + ul {
	position: absolute;
	right: 28px;
    top: 61px;
	z-index: 60;
	width: 182px;
}

[aria-haspopup="true"] + ul:before {
	content: "";
	position: absolute;
	right: 16px;
	top: -8px;
	width: 0;
	height: 0;
	border-left: 8px solid transparent;
	border-right: 8px solid transparent;
	border-bottom: 8px solid white;
}

/* watermark color consistency */
input::-webkit-input-placeholder
{
	color: #999;
}

input:-moz-placeholder
{
	color: #999;
}

.watermark
{
	color: #999;
}

/* modal view styles */
#modal-blanket
{
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 99900;

	text-align: center;

	background: rgba(2, 23, 38, 0.4);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#cd4b4b4b, endColorstr=#cd4b4b4b); /* for IE. AA, RR, GG, BB */
}

#modal-container
{
	width: 50%;

	z-index: 99999;
	position:relative;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
}

div.modal
{
	font-size: 12px;
	color: #141415;
	text-align: left;
	/*padding: 2em;*/
	background: #f5f6f7;

	text-transform: uppercase;

	/*
	-webkit-box-shadow: 0px 0px 15px 4px rgba(0, 0, 0, 0.5);
	-moz-box-shadow: 0px 0px 15px 4px rgba(0, 0, 0, 0.5);
	box-shadow: 0px 0px 15px 4px rgba(0, 0, 0, 0.5);
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    */
}

div.modal .modal-header
{
	padding: 1.0em 1.4em 0.6em 1.4em;
	border-bottom: 1px #747474 solid;

	line-height: 1.4em;
	letter-spacing: 0.1em;
	font-size: 1.4em;
}

div.modal .modal-content
{
	width: 100%;
	padding: 1em 2em 2em 2em;
	text-transform: none;
	line-height: 1.5em;
}

div.modal input,
div.modal textarea,
div.modal select
{
	font-family: Helvetica, Arial, sans-serif;
	font-size: 1.1em;

	color: #6A6360;
	background-color: #EFEFED;
	border: 0;

	width: 100%;
	box-sizing: border-box;
	padding: .95em;

}

div.modal input[type=checkbox],
div.modal input[type=radio] {
	width: 2em;
	height: 2em;
	background-color: #6A6360;
	padding: .3em;
}

div.modal select
{
	padding: .3em;
}

.modal-choices.one-choice .modal-choice
{
	width: 100%;
}

.modal-choices.two-choices .modal-choice
{
	width: 50%;
}

.modal-choices.three-choices .modal-choice
{
	width: 33.3%;
}

.modal-choice
{
	display: inline-block;
	float: left;

	line-height: 2em;

	text-align: center;
	text-transform: uppercase;
	color: black;
	font-size: 1.3em;
}

.modal-choice.disabled, .modal-choice.disabled:hover,
.modal-choice.yes.disabled, .modal-choice.yes.disabled:hover,
.modal-choice.no.disabled, .modal-choice.no.disabled:hover,
.modal-choice.delete.disabled, .modal-choice.delete.disabled:hover,
.modal-choice.cancel.disabled, .modal-choice.cancel.disabled:hover
{
	background: #ccc;
	color: black;
}

.modal-choice.no,
.modal-choice.delete
{
	background: #DBDCDD;
}


.modal-choice.no:hover,
.modal-choice.delete:hover
{
	background: #f5f6f7;
}

.modal-choice.yes,
.modal-choice.cancel
{
	background: rgb(37, 122, 184);
	color: #ffffff;
}

.modal-choice.yes:hover,
.modal-choice.cancel:hover
{
	background: rgb(37, 122, 184);
	color: #ffffff;
}

.overlay {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left:0;
	text-align: center;
	z-index: 50;

	background: #DDD;
	opacity: .75;
}

.overlay-content {
	color: #000;
	text-align: center;
	margin: auto;
	font-size: 16px;
	line-height: 150%;

	position: absolute;
	height: 2em;
	width: 100%;
	top:50%;
	margin-top: -2em;
}

.overlay-content {
	/* color: #222; /* approx.of #585858 after parent's .75 opacity is applied */
	color: #585858;
}

.loading-background h2.animation,
.overlay-content h2.animation {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 4em;
	margin-left: -2em;
	font-size: 1.5em;
}

.loading-background h2.animation {
	margin-top: -1em;
}

.loadingDots span {
	line-height: 2em;
	width: 0.9em;
	display: inline-block;
	vertical-align: middle;
}

.loadingDots.one .one,
.loadingDots.two .two,
.loadingDots.three .three {
	/* color: #1d94c6; /* approx. of #48B2E5 after parent's .75 opacity is applied */
	color: #FF9A1B;
}

/* aligns and common utility classes */
.alignLeft {
	text-align: left;
}

.alignCenter {
	text-align: center;
}

.alignRight {
	text-align: right;
}

.valignTop {
	vertical-align: top;
}

.valignMiddle {
	vertical-align: middle;
}

/* jqueryUI overrides */
body .ui-menu {
	padding: 0px;
	font-size: .8em;
	z-index: 1000000;
}

body .ui-menu .ui-menu-item {
	font-size: 1.2em;
}

body .ui-menu .ui-menu-item a {
	padding: 0.4em 0.75em 0.3em;
	overflow-x: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

body .ui-menu .ui-menu-item a.ui-state-hover,
body .ui-menu .ui-menu-item a.ui-state-active {
	border: 0px;
	margin: 0px;
}

.ui-autocomplete {
	max-height: 200px;
	overflow-y: auto;
	/* prevent horizontal scrollbar */
	overflow-x: hidden;
	/* add padding to account for vertical scrollbar */
	padding-right: 20px;
}
/* IE 6 doesn't support max-height
	* we use height instead, but this forces the menu to always be this tall
	*/
* html .ui-autocomplete {
	height: 200px;
}

/*
	CASC-529 - Consistent CSS for clickable/non-clickable areas and prevent selection
*/
.interactive {
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	-khtml-user-select: none;
}

/* some buttons will enforce their own cursor state for disabled, etc */
.nonSelectable {
	-webkit-user-select: none;
	-moz-user-select: none;
	-khtml-user-select: none;
}

span.icon-container {
	position: relative;
	display: inline-block;
	height: 1em;
	width: 1em;
	text-align: left;
}

.icon-overlap {
	left: 50%;
	top: 50%;
	margin: -0.5em auto auto -0.5em;
	position: absolute;
}

.icon-calendar-background {
	color: #FFF;
}
.icon-calendar-lines {
	color: #BBB;
}
.icon-calendar-highlight {
	color: #D34804;
}
.icon-calendar-highlight:hover {
	color: #DD5516;
}

.icon-delete-background,
.icon-delete {
	position: absolute;
}

.icon-delete-background {
	color: #ffffff;
}

.icon-delete {
	color: #D34803;
}

.icon-delete:hover {
	color: #DD5516;
}


/* ICONS */
@font-face {
	font-family: 'senseiwebglyph';
	src:url('fonts/senseiwebglyph.eot?v=2.8.0');
	src:url('fonts/senseiwebglyph.eot?v=2.8.0#iefix') format('embedded-opentype'),
		url('fonts/senseiwebglyph.woff?v=2.8.0') format('woff'),
		url('fonts/senseiwebglyph.ttf?v=2.8.0') format('truetype'),
		url('fonts/senseiwebglyph.svg?v=2.8.0#senseiwebglyph') format('svg');
	font-weight: normal;
	font-style: normal;
}

/* Use the following CSS code if you want to use data attributes for inserting your icons */
[data-icon]:before {
	font-family: 'senseiwebglyph';
	content: attr(data-icon);
	speak: none;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	-webkit-font-smoothing: antialiased;
}

/* Use the following CSS code if you want to have a class per icon */
/*
Instead of a list of all class selectors,
you can use the generic selector below, but it's slower:
[class*="icon-"] {
*/
.icon-gear, .icon-arrow-left, .icon-arrow-down, .icon-arrow-up, .icon-arrow-right, .icon-arrow-up-left, .icon-arrow-up-right, .icon-arrow-down-left, .icon-arrow-down-right, .icon-plus, .icon-minus, .icon-measurable-group, .icon-company, .icon-site, .icon-measurable-type-physicalmeter, .icon-measurable-temperature, .icon-measurable-type-utilitybill, .icon-measurable-electricity, .icon-measurable-gas, .icon-measurable-efficiency, .icon-measurable-count, .icon-measurable-star, .icon-document-upload, .icon-link, .icon-download-chart, .icon-list, .icon-fullscreen-enter, .icon-fullscreen-exit, .icon-sort, .icon-sort-up, .icon-sort-down, .icon-delete-background, .icon-x-small-delete-foreground, .icon-calendar, .icon-calendar-background, .icon-calendar-lines, .icon-calendar-highlight, .icon-draggable, .icon-x-large, .icon-page-prev, .icon-page-next, .icon-event-flag, .icon-event-flag-from, .icon-event-flag-to, .icon-attachment, .icon-bracket-plus, .icon-download, .icon-upload, .icon-print, .icon-delete, .icon-publish, .icon-anchor, .icon-information, .icon-question, .icon-display-type-area, .icon-display-type-line, .icon-display-type-table, .icon-display-type-column {
	font-family: 'senseiwebglyph';
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	-webkit-font-smoothing: antialiased;
}
.icon-display-type-area:before {
	content: "\68";
}
.icon-display-type-line:before {
	content: "\6a";
}
.icon-display-type-table:before {
	content: "\6b";
}
.icon-display-type-column:before {
	content: "\6c";
}
.icon-display-type-barline:before {
    content: "mx";
    text-transform: lowercase;
}
.icon-gear:before {
	content: "\35";
}
.icon-arrow-left:before {
	content: "\34";
}
.icon-arrow-down:before {
	content: "\32";
}
.icon-arrow-up:before {
	content: "\38";
}
.icon-arrow-right:before {
	content: "\36";
}
.icon-arrow-up-left:before {
	content: "\37";
}
.icon-arrow-up-right:before {
	content: "\39";
}
.icon-arrow-down-left:before {
	content: "\33";
}
.icon-arrow-down-right:before {
	content: "\31";
}
.icon-plus:before {
	content: "\2b";
}
.icon-minus:before {
	content: "\2d";
}
.icon-measurable-group:before {
	content: "\67";
}
.icon-company:before {
	content: "\41";
}
.icon-site:before {
	content: "\42";
}
.icon-measurable-type-physicalmeter:before {
	content: "\43";
}
.icon-measurable-temperature:before {
	content: "\44";
}
.icon-measurable-type-utilitybill:before {
	content: "\24";
}
.icon-measurable-electricity:before {
	content: "\46";
}
.icon-measurable-gas:before {
	content: "\47";
}
.icon-measurable-efficiency:before {
	content: "\45";
}
.icon-measurable-count:before {
	content: "\23";
}
.icon-measurable-star:before {
	content: "\2a";
}
.icon-document-upload:before {
	content: "\48";
}
.icon-link:before {
	content: "\4c";
}
.icon-download-chart:before {
	content: "\4d";
}
.icon-list:before {
	content: "\4b";
}
.icon-fullscreen-enter:before {
	content: "\49";
}
.icon-fullscreen-exit:before {
	content: "\4a";
}
.icon-sort:before {
	content: "\3a";
}
.icon-sort-up:before {
	content: "\27";
}
.icon-sort-down:before {
	content: "\2e";
}
.icon-delete-background:before {
	content: "\79";
}
.icon-x-small-delete-foreground:before {
	content: "\78";
}
.icon-calendar:before {
	content: "\77";
}
.icon-calendar-background:before {
	content: "\76";
}
.icon-calendar-lines:before {
	content: "\74";
}
.icon-calendar-highlight:before {
	content: "\75";
}
.icon-draggable:before {
	content: "\51";
}
.icon-x-large:before {
	content: "\58";
}
.icon-page-prev:before {
	content: "\3c";
}
.icon-page-next:before {
	content: "\3e";
}
.icon-event-flag:before {
	content: "\7c";
}
.icon-event-flag-from:before {
	content: "\5b";
}
.icon-event-flag-to:before {
	content: "\5d";
}
.icon-attachment:before {
	content: "\40";
}
.icon-bracket-plus:before {
	content: "\4f";
}
.icon-download:before {
	content: "\66";
}
.icon-upload:before {
	content: "\65";
}
.icon-print:before {
	content: "\50";
}
.icon-delete:before {
	content: "\7a";
}
.icon-publish:before {
	content: "\22";
}
.icon-anchor:before {
	content: "\54";
}

/* select2 overrides */
body .select2-container .select2-choice {
	border: 0px;
	border-radius: 0px;
	background-image: none;
	background-color: #efefed;

	color: #777;
	font-weight: bold;

	padding: 0.25em 1em 0.25em 0.5em;
	margin: 0.2em 0;
}

/* select2 overrides */
body .billForm .select2-container .select2-choice {
	font-size: 8pt;
	padding: 0em 1em 0em 0.5em
}

body .select2-container .select2-choice div {
	background-image: none;
	background: none;
	border: 0px;
	border-radius: 0px;
}

body .select2-container .select2-choice div b {
	background-position: -0.25em 0.25em;
}

body .select2-drop {
	border: 0px;
	border-radius: 0px;
	background-color: #efefed;

	color: #777;
}

body .select2-search input {
	border: 0px;
	background-image: none;
	background-color: #fff;
	color: #777;
}

body .select2-container-multi .select2-choices .select2-search-choice {
	background-image: none;
	background-color: #efefed;
	color: #777;
}

body .select2-results .select2-highlighted {
	background-color: rgb(37, 122, 184);
	color: #fff;
}

body .select2-results li {
	padding: 0.25em;
}

/* Clear Div */
div.clear {	clear: both; }

.icon-information:before {
	content: "\21";
}
.icon-question:before {
	content: "\3f";
}


/**
 * dataTables css overrides
 */

.sensei-datatable .dataTables_filter { margin: 10px 0px;}
.sensei-datatable .dataTables_length { margin: 10px 0px;}
.sensei-datatable .dataTables_info { margin: 10px 0px;}
.sensei-datatable .dataTables_paginate { margin: 10px 0px;}

.sensei-datatable table.dataTable tr.odd { background-color: #efefed; }
.sensei-datatable table.dataTable tr.even { background-color: #fff; }

.sensei-datatable table.dataTable tr.odd td.sorting_1 { background-color: #d9d9d4; }
.sensei-datatable table.dataTable tr.odd td.sorting_2 { background-color: #d9d9d4; }
.sensei-datatable table.dataTable tr.odd td.sorting_3 { background-color: #d9d9d4; }
.sensei-datatable table.dataTable tr.even td.sorting_1 { background-color: #f5f5f4; }
.sensei-datatable table.dataTable tr.even td.sorting_2 { background-color: #f5f5f4; }
.sensei-datatable table.dataTable tr.even td.sorting_3 { background-color: #f5f5f4; }

.sensei-datatable table.dataTable thead { background: #efefed;}

.sensei-datatable .sorting { background: url('../images/arrow-up-down.png') no-repeat center right 10px/10px; }
.sensei-datatable .sorting_asc { background: url('../images/arrow-up-only.png') no-repeat center right 10px/10px; }
.sensei-datatable .sorting_desc { background: url('../images/arrow-down-only.png') no-repeat center right 10px/10px; }
