
html {
	height:100%;
	background-color: #F4F4F4;
}

@media print {
	html {
		background-color: #FFFFFF;
	}
}

body {
	margin: 0;
	padding: 0;

	height:100%;
	min-height: 100%;
	position:relative;
}

/**
 * Header
 */

#header {
	position: relative;

	z-index: 200;

	height:150px;
	width:100%;

	overflow: hidden;

	-webkit-transform-style: preserve-3d;
	-moz-transform-style: preserve-3d;
	transform-style: preserve-3d;

	background-color: #B1BEC9;
}

#header .logo {
	position: absolute;
	display: block;

	top: 0;
	left: 0;

	height: 150px;
}

#header .logo img {
	height: 100%;
}

#header h1 {
	position: relative;
	top: 50%;
	transform: translateY(-50%);

	margin: 0; padding: 0;

	text-align: center;
	text-shadow: 0 1px 1px rgba(0, 0, 0, 0.25);

	font-size: 1.125rem;
	font-weight: 900;

	color: #FFFFFF;
}

/**
 * Command bar
 */

#command-bar {
	position: relative;
	top: 0;

	z-index: 200;

	height: 92px;
	width: 100%;

	padding: 0;
	box-sizing: border-box;

	-webkit-transform-style: preserve-3d;
	-moz-transform-style: preserve-3d;
	transform-style: preserve-3d;

    background-color: #FBFBFB;
}

#command-bar.no-tool-bar {
    height: 51px;
}

#command-bar.sticky {
	position: fixed;
	top: 0;
}

.anchor-below-command-bar {
	display: block;
	position: relative;
	top: -61px;
	visibility: hidden;
}

.anchor-below-tool-bar {
	display: block;
	position: relative;
	top: -102px;
	visibility: hidden;
}

/**
 * Menu bar
 */

#menu-bar {
	position: relative;
	height: 50px;

	border-bottom: 1px solid #e9e9e9;
}

#menu-bar-right,
#menu-bar-left {
	position: absolute;
	top: 0;
	bottom: 0;
}

#menu-bar-right {
	right: 0;
	text-align: right;
    padding: 0 50px 0 0;
}

#menu-bar-left {
    left: 0;
	text-align: left;
}

#menu-bar .item-wrapper {
	display: inline-block;
	position: relative;
	height: 100%;
	vertical-align: bottom;
}

#menu-bar-left .item-wrapper {
	margin: 0 10px 0 0;
}

#menu-bar-right .item-wrapper {
	margin: 0 0 0 10px;
}

/**
 * Tool bar
 */

#tool-bar {
    margin: 0;
    padding: 0 50px 0 50px;

    height: 40px;

    background-color: #f7f7f7;
    border-bottom: 1px solid #e9e9e9;
}

.tool-bar .item-wrapper {
	position: relative;
	height: 100%;
	vertical-align: bottom;
}

.tool-bar .item-wrapper.left-alignment {
	float: left;
	margin: 0 10px 0 0;
}

.tool-bar .item-wrapper.right-alignment {
	float: right;
	margin: 0 0 0 10px;
}

.tool-bar .item-wrapper.third {
    width: calc(100% / 3 - 10px);
}

.tool-bar .item-wrapper.half {
    width: calc(50% - 10px);
}

.tool-bar .item-wrapper.full {
    width: calc(100% - 10px);
}

/**
 * Navigator
 */

#navigator {
    padding: 0 50px 0 50px;
    margin: 0;

    width: 275px;

    background-color: #26348B;
}

#navigator .limited-width {
    display: inline-block;

    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 250px;
}

#navigator a {
    margin: 0;
    padding: 0;
    outline: 0;

    color: #FBFBFB;

    line-height: 50px;
    text-decoration: none;

    font-size: 1.20rem;
    font-weight: 900;
}

#navigator .dropdown-caret {
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 7px solid #FBFBFB;
    content: "";
    display: inline-block;
    height: 0;
    margin-right: 3px;
    vertical-align: 21px;
    width: 0;
}

#navigator a:hover {
    color: #B8B8B8;
}

#navigator a:hover .dropdown-caret {
    border-top-color: #B8B8B8;
}

#navigator-dropdown {
    margin-left: -9px;
    margin-top:  -12px;
}

#navigator-dropdown .dropdown-panel ul li a {
    padding-left: 36px;
}

#navigator-dropdown .icon {
    display: block;
    position: absolute;

    top: 50%;
    margin-left: -24px;
    margin-top: -8px;
    z-index: 1;
    color: #4f5b66;

    width: 13px;
    height: 15px;
}

#navigator-dropdown li .icon.plants {
    background-image: url('../images/plant_normal.svg');
}

#navigator-dropdown li:hover .icon.plants {
    background-image: url('../images/plant_hover.svg');
}

#navigator-dropdown li .icon.users {
    background-image: url('../images/user_normal.svg');
}

#navigator-dropdown li:hover .icon.images {
    background-image: url('../images/user_hover.svg');
}

#navigator-dropdown li .icon.thresholds {
    background-image: url('../images/thresholds_normal.svg');
}

#navigator-dropdown li:hover .icon.thresholds {
    background-image: url('../images/thresholds_hover.svg');
}

#navigator-dropdown li .icon.reports {
    background-image: url('../images/report_normal.svg');
}

#navigator-dropdown li:hover .icon.reports {
    background-image: url('../images/report_hover.svg');
}

#navigator-dropdown li .icon.maintenance {
    background-image: url('../images/maintenance_normal.svg');
}

#navigator-dropdown li:hover .icon.maintenance {
    background-image: url('../images/maintenance_hover.svg');
}

#navigator-dropdown li .icon.plants {
    background-image: url('../images/plant_normal.svg');
}

#navigator-dropdown li:hover .icon.plants {
    background-image: url('../images/plant_hover.svg');
}

#navigator-dropdown li .icon.carefree {
    background-image: url('../images/carefree_normal.svg');
}

#navigator-dropdown li:hover .icon.carefree {
    background-image: url('../images/carefree_hover.svg');
}

/**
 * Menu
 */

#menu {
    padding: 0;
    margin: 0;

    list-style-type: none;

    box-sizing: border-box;
}

#menu li {
    display: inline-block;

    color: #B8B8B8;
    font-weight: 900;

    height: 100%;
    width: 100px;

    overflow: hidden;

    text-align: center;

    line-height: 50px;
    cursor: pointer;
}

#menu li:hover {
    color: #383838;
}

#menu a {
    text-decoration: none;
    outline: 0;
}

/**
 * Toolbar widgets
 */

.tool-bar .widget {
    position: relative;
    box-sizing: border-box;

    white-space: nowrap;

    height: 26px;
    line-height: 26px;
    margin: 7px 0 7px 0;

    font-size: 0.75rem;
}

.tool-bar .widget .input,
.tool-bar .widget .input-wrapper,
.tool-bar .widget input:not([type="range"]) {
    display: block;

    box-sizing: border-box;
    background-color: #FBFBFB;
    border: 1px solid #e5e5e5;
    color: #63717F;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;

    height: 100%;
    width: 100%;

    padding-left: 36px;
    padding-right: 12px;

    position: relative;
    margin: 0 auto;

    outline: none;
}

.tool-bar .widget input[type="range"] {
    height: 100%;
}

.tool-bar .widget:hover .input,
.tool-bar .widget:hover input {
    color: #383838;
}

.tool-bar .button-widget .input {
    padding-left: 6px;
    padding-right: 6px;

    width: 30px;
}

.tool-bar .widget .icon {
    display: block;
    position: absolute;

    top: 50%;
    margin-left: 11px;
    margin-top: -8px;
    z-index: 1;
    color: #4f5b66;

    width: 16px;
    height: 16px;

    cursor: pointer;

    background-color: transparent;
    background-repeat: no-repeat;
    background-origin: 0 0;
    background-size: 100% 100%;
}

.tool-bar .button-widget .icon {
    margin-left: 0;
}

.tool-bar .widget ::-webkit-input-placeholder {
    color: #65737e;
}

.tool-bar .widget ::-moz-placeholder {
    color: #65737e;
}

.tool-bar .widget :-ms-input-placeholder {
    color: #65737e;
}

.tool-bar .widget:hover ::-webkit-input-placeholder {
    color: #383838;
}

.tool-bar .widget:hover ::-moz-placeholder {
    color: #383838;
}

.tool-bar .widget:hover :-ms-input-placeholder {
    color: #383838;
}

.tool-bar .widget:hover,
.tool-bar .widget:focus,
.tool-bar .widget:active {
    outline:none;
}

.tool-bar .dropdown-widget {
    min-width: 250px;
}

.tool-bar .dropdown-widget .input {
    cursor: pointer;
}

.tool-bar .dropdown-widget:hover .input {
    color: #383838;
}

.tool-bar .dropdown-widget .input .icon {
    display: block;

    width: 20px;
    height: 100%;
}

.tool-bar .dropdown-widget .input:after { /* Little arrow */
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    top: 50%;
    right: 15px;
    margin-top: -3px;
    border-width: 6px 6px 0 6px;
    border-style: solid;
    border-color: #B8B8B8 transparent;
}

.tool-bar .dropdown-widget:hover .input:after {
    border-color: #383838 transparent;
}

.tool-bar .dropdown-widget.active .input:after,
.tool-bar .dropdown-widget.active:hover .input:after {
    border-color: #FFFFFF transparent;
}

.tool-bar .dropdown-widget .dropdown-item-list {
    /* Size & position */
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;
    margin: 0;
    padding: 0;

    /* Styles */
    background-color: #FBFBFB;
    border-radius: 0 0 10px 10px;
    border: 1px solid #e5e5e5;
    border-top: none;
    border-bottom: none;
    list-style: none;

    /* Hiding */
    max-height: 0;
    overflow: hidden;
}

.tool-bar .dropdown-widget .dropdown-item-list {
    -webkit-transition: all 0.3s ease-in;
    -moz-transition: all 0.3s ease-in;
    -ms-transition: all 0.3s ease-in;
    -o-transition: all 0.3s ease-in;
    transition: all 0.3s ease-in;
}

.tool-bar .dropdown-widget.active .dropdown-item-list {
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -ms-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

.tool-bar .dropdown-widget .dropdown-item-list li a {
    display: block;
    cursor: pointer;
    text-decoration: none;
    color: #63717F;
    padding: 1px 10px;

    border-bottom: 1px solid #e6e8ea;
}

.tool-bar .dropdown-widget .dropdown-item-list li:last-of-type a {
    border: none;
}

.tool-bar .dropdown-widget .dropdown-item-list li i {
    margin-right: 5px;
    color: inherit;
    vertical-align: middle;
}

.tool-bar .dropdown-widget .dropdown-item-list li:hover a {
    color: #383838;
    background-color: #eeeeee;
}

.tool-bar .dropdown-widget.active .input {
    border-radius: 10px 10px 0 0;
    border: 1px solid #26348B;
    background: #26348B;
    box-shadow: none;
    border-bottom: none;
    color: #FBFBFB;
}

.tool-bar .dropdown-widget.active .dropdown-item-list {
    border: 1px solid #e5e5e5;
    border-top: 0;
    max-height: 200px;

    overflow-y:scroll;
}

/**
 * Login info
 */

#login-info {
    margin: 0;
}

#login-info a {
    margin: 0;
    padding: 0;
    outline: 0;

    color: #B8B8B8;

    line-height: 50px;
    text-decoration: none;

    position: relative;

    font-size: 0.75rem;
    font-weight: 900;
}

#login-info .limited-width {
    display: inline-block;

    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 250px;
}

#login-info .dropdown-caret {
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #B8B8B8;
    content: "";
    display: inline-block;
    height: 0;
    vertical-align: 22px;
    width: 0;
}

#login-info a:hover {
    color: #383838;
}

#login-info a:hover .dropdown-caret {
    border-top-color: #383838;
}

#login-info-dropdown {
    margin-left: 12px;
    margin-top: -10px;
}

/**
 * Content
 */

#content {
	position: relative;
}

#action {
	display: none;
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;

	z-index: 500;

    background-color: rgba(0, 0, 0, 0.85);
}

/**
 * Footer
 */

#footer {
	height:25px;
	width:100%;
	bottom:0px;
	left:0px;
	position:absolute;

	border-top: 2px solid #696BAA;

	color: #FFFFFF;
	background-color: #1e22aa;
}

#footer p {
	color: #EEEEEE;
	font-size: 12px;
	margin: 0;
	padding: 4px 0 0 0;
	text-align: center;
}

/**
 * Loader
 */

#loader {
    display: none;
}

#loader,
#loader a:hover,
#loader *
{
    cursor: wait !important;
}
