a {
	text-decoration: none !important;
}

.main-header {
	max-height: none;
}

.logo-lg > img {
	max-height: 100%;
	max-width: 100%;
	vertical-align: inherit;
	padding: 2px;
	height: 50px;
}

#plantgrid .tile {
	width: 250px;
	float: left;
	margin: 0 5px;
}
#plantgrid a {
	color: #000000;
}

.content {
	width: 100%;
	height: 100%;
}

.control-sidebar-light, .control-sidebar-light+.control-sidebar-bg {
	border-left: 1px solid #d2d6de;
	border-bottom: 1px solid #d2d6de;
}

@media (min-width:768px) {
	.control-sidebar-open .content-wrapper,
	.control-sidebar-open .right-side,
	.control-sidebar-open .main-footer {
		border-right:  1px solid #d2d6de;
	}

	.control-sidebar-light, .control-sidebar-light+.control-sidebar-bg {
		border: none;
	}
}


.caret {
	border-right: 3px solid transparent;
	border-left: 3px solid transparent
}

/* Settings for chosen */
.chosen-container .search-field > input {
	min-height: 32px;
}

/* class to remove content padding */
.content.content-no-padding {
	padding: 0;
}

/* Control-sidebar-menu show if sidebar is collapsed */
.control-sidebar-menu > li > a:hover {
	text-decoration: none;
}
.control-sidebar-menu .menu-icon {
	line-height: 14px;
	height: auto;
}

.control-sidebar-dark .control-sidebar-menu .menu-icon {
	color: #fff;
}

.control-sidebar-light .control-sidebar-menu .menu-icon {
	color: #000000;
}

.control-sidebar-menu .menu-info {
	margin-top: 0;
}

/* control-sidebar */
.control-sidebar .dropdown-menu{
	left: auto;
	right: 2px;
	margin-top: -10px;
}

.control-sidebar .dropdown-menu .menu-info{
	margin-left: 0;
}

.control-sidebar.control-sidebar-dark .dropdown-menu{
	background-color: #ffffff;
	color: #333;
	border: 1px solid #ccc;
	border: 1px solid rgba(255, 255, 255, .15);
}

.control-sidebar.control-sidebar-dark .dropdown-menu a {
	padding: 3px 20px;
}

.control-sidebar.control-sidebar-dark .dropdown-menu a:hover{
	background-color: #f5f5f5;
}

.control-sidebar.control-sidebar-dark .dropdown-menu .control-sidebar-subheading{
	color: #333;
}

/* plantgroup selection */
#plantgroup_selection_menu {
	overflow: visible;
}

#plantgroup_selection > a > .name {
	white-space: normal;
	max-width: 170px;
}

#plantgroup_selection > ul.dropdown-menu > li > a {
	color: #333;
	white-space: normal;
	line-height: 1.1;
	margin-top: 3px;
	margin-bottom: 3px;
}

/* Parklist in the menu */
#parklist-menu {
	max-height: 220px;
	overflow-y: auto;
	-webkit-transition: max-height 0.5s;
	-moz-transition: max-height 0.5s;
	transition: max-height 0.5s;
}
@media (min-height: 500px) and (max-height: 549px){
	#plant-list:hover #parklist-menu{
		max-height:270px;
	}
}
@media (min-height: 550px) and (max-height: 599px){
	#plant-list:hover #parklist-menu{
		max-height:320px;
	}
}
@media (min-height: 600px) and (max-height: 649px){
	#plant-list:hover #parklist-menu{
		max-height:370px;
	}
}
@media (min-height: 650px) and (max-height: 699px){
	#plant-list:hover #parklist-menu{
		max-height:420px;
	}
}
@media (min-height: 700px) and (max-height: 749px){
	#plant-list:hover #parklist-menu{
		max-height:470px;
	}
}
@media (min-height: 750px) and (max-height: 799px){
	#plant-list:hover #parklist-menu{
		max-height:520px;
	}
}
@media (min-height: 800px) and (max-height: 849px){
	#plant-list:hover #parklist-menu{
		max-height:570px;
	}
}
@media (min-height: 850px) and (max-height: 899px){
	#plant-list:hover #parklist-menu{
		max-height:620px;
	}
}
@media (min-height: 900px) and (max-height: 949px){
	#parklist-menu {
		max-height: 250px;
	}
	#plant-list:hover #parklist-menu{
		max-height:670px;
	}
}
@media (min-height: 950px) and (max-height: 999px){
	#parklist-menu {
		max-height: 300px;
	}
	#plant-list:hover #parklist-menu{
		max-height:720px;
	}
}
@media (min-height: 1000px) and (max-height: 1049px){
	#parklist-menu {
		max-height: 350px;
	}
	#plant-list:hover #parklist-menu{
		max-height:770px;
	}
}
@media (min-height: 1050px) and (max-height: 1099px){
	#parklist-menu {
		max-height: 400px;
	}
	#plant-list:hover #parklist-menu{
		max-height:820px;
	}
}
@media (min-height: 1100px) and (max-height: 1149px){
	#parklist-menu {
		max-height: 450px;
	}
	#plant-list:hover #parklist-menu{
		max-height:870px;
	}
}
@media (min-height: 1150px){
	#parklist-menu {
		max-height: 500px;
	}
	#plant-list:hover #parklist-menu{
		max-height:920px;
	}
}



#parklist-menu > li > a {
	padding: 6px 5px 6px 15px;
	white-space: normal;
	line-height: 1.2em;
	font-weight: normal;
}
#parklist-menu.sidebar-menu > li:hover > a,
#parklist-menu.sidebar-menu > li.active > a{
	border-left-color: #FFA800;
}

#parklist-menu.sidebar-menu > li > a > .status-square{
	width: 5px;
	height: 5px;
	display: inline-block;
	vertical-align: middle;
	margin-right: 5px;
	margin-left: -10px;

}

#parklist-menu.sidebar-menu > li.plant-ok > a > .status-square{
	background-color: #00a65a;
}

#parklist-menu.sidebar-menu > li.plant-warning > a > .status-square {
	background-color: #f39c12;
}

#parklist-menu.sidebar-menu > li.plant-error > a > .status-square {
	background-color: #dd4b39;
}


/* Autoscroll elements */

.ellipsis {
	text-overflow: ellipsis;
}
.autoscroll {
	white-space: nowrap;
	overflow: hidden;
}

/* info-box */
.info-box-icon {
	height: 100%;
}

/* loading indicator */
.loading_spinner_wrapper {
	display: none;
	height: 100%;
	width: 100%;
}
.loading .loading_spinner_wrapper {
	display: table;
}

.loading_spinner_wrapper >.loading_spinner_inner_wrapper {
	display: table-cell;
	height: 100%;
	vertical-align: middle;
}


.loading_spinner_wrapper .loading_spinner {
	background: url('../img/greensynergy_icon_loader.png');
	background-size: 64px 64px;
	background-repeat: no-repeat;
	background-position: center;
	width: 64px;
	height: 64px;
	margin: auto;
}

.loading_spinner_wrapper .loading_spinner.loading_spinner_small{
	background-size: 32px 32px;
	width: 32px;
	height: 32px;
}

.loading_spinner_wrapper .loading_spinner.loading_spinner_tiny{
	background-size: 16px 16px;
	width: 16px;
	height: 16px;
}

.loading .loading_spinner_wrapper .loading_spinner {
    -webkit-animation:spin-120 1.5s linear infinite;
    -moz-animation:spin-120 1.5s linear infinite;
    animation:spin-120 1.5s linear infinite;
}
@-moz-keyframes spin-120 { 100% { -moz-transform: rotate(120deg); } }
@-webkit-keyframes spin-120 { 100% { -webkit-transform: rotate(120deg); } }
@keyframes spin-120 { 100% { -webkit-transform: rotate(120deg); transform:rotate(120deg); } }

/* Special classes for forms in tables */
.form-no-padding .form-group{
	margin: 0;
}

/* forms */
	.form-group.math-addon .input-group-addon{
		padding-top: 0;
		padding-bottom: 0;
	}
	/* permission selection */
	.permission-selection table{
		width: 100%;
	}

	.permission-selection table th.border-left,
	.permission-selection table td.border-left {
		border-left: 1px solid #DDDDDD;
		padding-left: 0.5em;
	}

	.permission-selection table .min-width{
		width: 14px;
	}

	.permission-selection{
		position:relative;
		padding:2em 0 0em 0;
		margin:0 auto 1em auto;
	}

	.permission-selection .inner {
		overflow:auto;
		max-height:20em;
	}
	.permission-selection thead tr {
		position:absolute;
		top:0em;
		height:1.5em;
	}
	.permission-selection tfoot td {
		position:absolute;
		text-align:center;
		border:0.1em solid #000;
		color:#000;
		bottom:0;
		left:0
	}
	.permission-selection th, .outer td {
		text-align:left;
	}


/* general helpers */
.vspace-10 {
	display: block;
	height: 10px;
}
.vspace-20 {
	display: block;
	height: 20px;
}
.vspace-30 {
	display: block;
	height: 30px;
}
.vspace-40 {
	display: block;
	height: 40px;
}
.vspace-50 {
	display: block;
	height: 50px;
}

.nowrap {
	white-space: nowrap;
}

/* plant overview messages */
.messages-cell {
    overflow-y: auto;
    min-height: 150px;
	max-height: 300px;
}

.parkmessages {
    display: block;
    vertical-align: top;
    min-width: 20em;
    width: 100%;
    padding-bottom: 0.5em;
	min-height: 130px;
	position: relative;
	z-index: 0;
}

.parkmessages .alert {
    font-size: 14px;
    line-height: 20px;
	margin-bottom: 5px;
	background: none !important;
	border-left-width: 20px;
	color: #000000 !important;
	padding-left: 5px;
}
.parkmessages .alert.alert-danger {
	border-color: #dd4b39;
}
.parkmessages .alert.alert-warning {
	border-color: #f39c12;
}
.parkmessages .alert.alert-info {
	border-color: #00c0ef;
}


.parkmessages .alert a{
	color: #000000;
}

.parkmessages .alert a:hover{
	color: #23527c;
}

.parkmessages .alert-status {
    display: table-cell;
    width: 5em;
    white-space: nowrap;
}

.parkmessages .alert .alert-status .status {
    background-image: url("../img/unchecked.png");
    width: 40px;
    height: 38px;
    background-repeat: no-repeat;
    margin-left: 0.8em;
    display: inline-block;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-o-user-select: none;
	user-select: none;
}

.parkmessages .alert .alert-status a.status:hover {
    background-image: url("../img/checked_grey.png");
    cursor: pointer;
}

.parkmessages .alert.status_15 .alert-status .status {
    background-image: url("../img/suppressed.png");
}
.parkmessages .alert.status_20 .alert-status .status {
    background-image: url("../img/postponed.png");
}

.parkmessages .alert.status_25 .alert-status .status {
    background-image: url("../img/auto_checked.png");
}

.parkmessages .alert.status_30 .alert-status .status {
    background-image: url("../img/checked.png");
}

.parkmessages .alert.LOADING .alert-status .status {
	background-image: url('../img/greensynergy_icon_loader.png') !important;
	background-size: 40px 40px;
	-webkit-animation:spin-120 1.5s linear infinite;
	-moz-animation:spin-120 1.5s linear infinite;
	animation:spin-120 1.5s linear infinite;
	background-position: center;
}

.parkmessages .alert.status_30 {
    background-color: #fefcf1;
}

.parkmessages .alert.alert-error.status_30 {
    background-color: #f9efef;
}

.parkmessages .alert.alert-info.status_30 {
    background-color: #ecf6fb;
}

.parkmessages .alert-status .postpone-img {
    display: inline-block;
    vertical-align: middle;
}

.parkmessages .alert-status .postpone-actions {
    display: inline-block;
    vertical-align: middle;
    margin-left: 0.2em;
    font-size: x-small;
}

.parkmessages .alert-status .postpone-actions .postpone-actions-row {
    height: 1.5em;
}

.parkmessages .alert-status .postpone-actions a {
    display: inline-block;
    width: 1.2em;
    cursor: pointer;
	margin-right: 2px;
}

.parkmessages .alert-details {
    display: table-cell;
    width: 100%;
    vertical-align: top;
}

.parkmessages .alert-details {
    padding-left: 0.5em;
}

.parkmessages .alert-info-parts {
    display: inline-block;
    margin-right: 1em;
}

.parkmessages .no-events {
	position: absolute;
	top: 0;
    display: table;
    width: 100%;
    margin: auto;
    text-align: center;
    height: 90px;
	z-index: -1;
	opacity: 1;
	-webkit-transition:opacity 500ms ease-out;
	-moz-transition:opacity 500ms ease-out;
	-o-transition:opacity 500ms ease-out;
	transition:opacity 500ms ease-out;
}

.parkmessages .no-events h2 {
	font-weight: 100 !important;

}

.parkmessages .alert ~.no-events,
.parkmessages .ui-effects-wrapper ~.no-events{
	opacity: 0;
}


.no-events-inner {
    display: table-cell;
    vertical-align: middle;
}

.parkmessages #more_events_available {
    width: 100%;
    padding: 20px 10px;
    margin-top: 2px;
    box-sizing: border-box;
    text-align: center;
    border: thin dashed lightgrey;
    border-radius: 5px;
}

@media (min-width:991px) and (max-width:997px) {
    .navbar-custom-menu .navbar-nav > li {
        float: left
    }

    .navbar-custom-menu .navbar-nav {
        margin: 0;
        float: left
    }

    .navbar-custom-menu .navbar-nav > li > a {
        padding-top: 15px;
        padding-bottom: 15px;
        line-height: 20px
    }
}


/* tree views */
.device{
	background-repeat: no-repeat;
}

.device.logical-group{
	background-image: url(../img/tree/logicalGroup_closed.png);
}

.details-tree li input:checked ~.device.logical-group, .device.logical-group-open{
	background-image: url(../img/tree/logicalGroup.png);
}


#sortable-tree-wrapper .device.logical-group-open:not([template_id="-1"]){
	background-image: url(../img/tree/logicalGroup_green.png);
}

/* CSS Tree menu styles */

@media (max-width: 992px) {
	body.sidebar-collapse:not(.control-sidebar-open) .details-tree {
		max-height: 200px;
		overflow-y: auto;
	}
}

@media (max-width: 1222px) {
	body.control-sidebar-open.sidebar-collapse .details-tree,
	body:not(.control-sidebar-open) .details-tree {
		max-height: 200px;
		overflow-y: auto;
	}
}

@media (max-width: 1452px) {
	body.control-sidebar-open:not(.sidebar-collapse) .details-tree {
		max-height: 200px;
		overflow-y: auto;
	}
}

.details-tree * {
	white-space: nowrap
}

.details-tree > ol {
	padding-left: 0;
}
#logical.details-tree > ol {
	padding-left: 20px;
}

.details-tree ol a{
    display: block;
    padding-left: 5px;
    margin-left: -5px;
}

.details-tree ol.tree {
	padding: 0 0 0 30px;
	width: 300px;
}

.details-tree li {
	position: relative;

	list-style: none;
	padding-right: 0.2em;
}

.details-tree li.logical-group {
	margin-left: -18px;
}

.details-tree li input {
	position: absolute;
	left: 0;
	margin-left: 0;
	opacity: 0;
	z-index: 2;
	cursor: pointer;
	height: 1em;
	width: 1em;
	top: 0;
}

.details-tree li input ~ ol {
	background: url(../img/tree/chevron-right.png) 40px 0.6em no-repeat;
	margin: -1.938em 0 0 -44px; /* 15px */
	height: 2em;
}

.details-tree li input ~ ol > li, .details-tree li input ~ ol > div {
	display: none;
	margin-left: -10px !important;
	padding-left: 1px;
}

.details-tree li input ~ ol > li.subtree {
	margin-left: -27px !important;
}

.details-tree li a.subtree {
	cursor: pointer;
	display: block;
	padding-left: 37px;
	margin-bottom: 0;
}

.details-tree li a {
	overflow: hidden;
}

.details-tree li input:checked ~ ol {

	background: url(../img/tree/chevron-down.png) 40px -0.1em no-repeat;
	margin: -1.25em 0 0 -44px; /* 20px */
	padding: 1.563em 0 0 80px;
	height: auto;
}

.details-tree li input:checked ~ ol > li, .details-tree li input:checked ~ ol > div {
	display: block;
	margin: 0 0 0.125em; /* 2px */
    padding-right: 0px;
}

.details-tree li input:checked ~ ol > li:last-child {
	margin: 0 0 0.063em; /* 1px */
}

.details-tree li > a.active {
	background-color: #0088CC;
}

.details-tree li > a.subtree {
	margin-left: -7px;
	padding-left: 24px;
	padding-right: 7px;
}

.details-tree li > a.subtree.logical-group {
	padding-left: 51px !important;
}

.details-tree ol > li.active {
	background: #0088CC !important;
	margin-left: -19px !important;
	padding-left: 10px !important;
}

.details-tree ol > li.inactive {
	//opacity: 0.7;
	//background: #FFEEEE;
}
.details-tree li.inactive > a {
    background: #ffeeee;
    opacity: 0.7;
}

.details-tree li.inactive > a.active{
    background: #ff5555;
}

.details-tree a.active {
	color: #FFFFFF;
}

.details-tree .badge {
	margin-left: 0.5em;
}

.details-tree a {
	background-position: 0 0 !important;
	background-repeat: no-repeat !important;
}

img.device_icon {
	max-width: 16px;
	max-height: 16px;
	vertical-align: top;
	padding-top: 2px;
	margin-right: 0.5em;
}

.larger_device_icon_wrapper {
	position: absolute;
	z-index: 10;
	display: inline;
	padding: 0.25em;
	background-color: #EEEEEE;
	border-radius: 5px;
	border: thin solid #CCCCCC;
}

.details-tree a.subtree {
	background-position: 25px 1px !important;
	background-repeat: no-repeat !important;

}

.tree-heading {
	font-size: 1.1em;
	text-align: center;
	font-weight: bold;
}

.details-tree li input ~ a .device-counts {
	display: none;
}

.details-tree li input:checked ~ a .device-counts {
	display: inline-block;
}

.details-tree li .device-counts > .ui-effects-wrapper {
	display: inline-block;
	margin-bottom: -5px !important;
	vertical-align: baseline;
}

.details-tree li input ~ a .tree-counts {
	display: inline-block;
}

.details-tree li input:checked ~ a .tree-counts {
	display: none;
}

.details-tree li .tree-counts > .ui-effects-wrapper {
	display: inline-block;
	vertical-align: baseline;
}

.details-tree a .tree-left {
	float:left;
	margin-right: 5px;
}

.details-tree a .tree-right {
	float:right;
	margin-left: 5px;
}

#sortable-tree-wrapper {
	width: 100%;
	margin-bottom: 0.5em;
}

#sortable-tree {
	width: 72em;
	margin: 0.5em auto auto auto;
	text-align: left;
}

#sortable-tree .dragged {
	position: absolute;
	opacity: 0.5;
	z-index: 2000;
}

#sortable-tree ol li.placeholder {
	position: relative;
	/** More li styles **/
}

#sortable-tree ol li.placeholder:before {
	position: absolute;
	/** Define arrowhead **/
}

#sortable-tree ol {
	list-style: none;
	margin-left: 2em;
	padding-left: 0;
}

#sortable-tree ol.parent_tree {
	margin-left: 0;
}

#sortable-tree li {
	display: block;
	min-width: 10em;
}

#sortable-tree li:hover {
	cursor: move;
}

#sortable-tree li.placeholder {
	display: block;
	border: thin dashed grey;
	height: 1.5em;
}

#sortable-tree li > div {
	padding: 0.1em 0.4em 0.1em 0;
}

#sortable-tree li.logical-group > div {
	background-repeat: no-repeat;
	background-position: 0px 3px !important;
	padding: 0.1em 0.4em 0.1em 20px;
	min-height: 21px;
}

#sortable-tree .cell {
	display: table-cell;

}

#sortable-tree .source-cell {
	min-width: 20em;
	background-color: #EEEEEE;
	border-radius: 6px 6px 6px 6px;
	min-height: 20em;
	min-width: 20em;
	padding: 0.5em;
}

#sortable-tree .source-cell {
	max-height: 35em;
	overflow: auto;

}

#sortable-tree #tree-cell {
	width: 26em;
}

#sortable-tree #tree-cell #tree-wrapper {
	max-height: 35em;
	overflow: auto;
}

#sortable-tree #tree-cell #tree-wrapper ol {
	border-bottom: 1em rgb(230, 230, 230) solid;
	margin-bottom: 0.5em;
}

#sortable-tree #tree-cell #tree-wrapper {
	padding: 0.5em;
	border-radius: 6px 6px 6px 6px;
	background-color: #EEEEEE;
	width: 350px;
	min-height: 20em;
	display: inline-block;
}

#sortable-tree #tree-cell #delete-wrapper {
	display: inline-block;
	width: 350px;
	text-align: left;

}

#sortable-tree #drag-cell {
	height: 100%;
	display: table-cell;
	vertical-align: middle;
	width: 60px;
	padding-left: 0.5em;
	padding-right: 0.5em;
}

#sortable-tree #drag-cell .explanation {
	font-size: x-small;
	line-height: 1em;
	text-align: center;
	display: block;
}

#sortable-tree .header {
	font-weight: bold;
}

#sortable-tree .cell > ol {
	margin-top: 1em;
}

#sortable-tree .helptext {
	font-size: x-small;
	line-height: 1em;
	vertical-align: bottom;
	margin: 0.5em;
	display: block;
}

#sortable-tree #delete, #sortable-tree #add {
	width: 100%;
	background-repeat: repeat-x;
	border-radius: 4px 4px 4px 4px;
	text-align: center;
	display: inline-block;
	padding: 0.25em 0;
	margin: 0em;
}

#sortable-tree #delete {
	background-color: #DA4F49;
	background-image: linear-gradient(to bottom, #EE5F5B, #BD362F);
	border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
}

#sortable-tree #add {
	background-color: #5BB75B;
	background-image: linear-gradient(to bottom, #62C462, #51A351);
	background-repeat: repeat-x;
	border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
}

#sortable-tree #delete:hover {
	background-color: #BD362F;
	background-image: linear-gradient(to bottom, #BD362F, #BD362F);
}

#sortable-tree #add:hover {
	background-color: #51A351;
	background-image: linear-gradient(to bottom, #51A351, #51A351);
}

#sortable-tree #delete li {
	display: none;
}

#sortable-tree #devices li.placeholder {
	display: none;
}

#sortable-tree #groups li.placeholder {
	display: none;
}

#sortable-tree #delete #trash {
	margin: 0 auto 0 auto;
	width: 20px;
	height: 28px;
	vertical-align: middle;
}

#sortable-tree input {
	padding: 0em;
	margin-top: -0.1em;
	margin-left: -0.15em;
}

#sortable-tree #groups-cell #groups > :first-child {
	margin-bottom: 0.7em;
}

.popover.popover-logical-tree {
	max-width: none !important;
}

.popover.popover-logical-tree.bottom .arrow {
	left: 10%;
}

.device-not-configured {
	display: inline-block;
	height: 16px;
	width: 16px;
	background-image: url('../img/dialog-warning-2.png');
	background-repeat: no-repeat;
	background-size: cover;
	vertical-align: top;
	margin-top: 2px;

}

.device-has-postponed {
	display: inline-block;
	height: 16px;
	width: 16px;
	background-image: url('../img/device_postponed_event.png');
	background-repeat: no-repeat;
	background-size: cover;
	vertical-align: top;
	margin-top: 2px;

}

.icon-fav {
	margin-left: -17px;
	display: none !important;
}

.icon-fav:before {
	content: "\e007"
}

.fav_radio:checked ~ .icon-fav:before {
	content: "\e006"
}

.fav_radio {
	position: relative;
	left: 1px;
	margin: 0;
	opacity: 0;
	z-index: 2;
	cursor: pointer;
	height: 14px;
	width: 14px !important;
	top: -2px;
	vertical-align: middle;
	display: none !important;
}

#tree-cell .fav_radio, #tree-cell .icon-fav{
	display: inline-block !important;
}


/* Graphs */
/* Graphs */
#graph-fullscreen-container {
    z-index: 1100;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    display: none;
}

#graph-fullscreen-wrapper {
    width: 97%;
    height: 100%;
    white-space: nowrap;
    margin: auto auto;
    background: #ffffff;
    padding: 0.5em;
}

#graph-fullscreen-wrapper #graph-tools a {
    cursor: pointer;
}

#graph-fullscreen-inner-wrapper {
    width: 100%;
}

#graph-fullscreen-inner-wrapper, #graph-fullscreen-legend {
    background: #ffffff;
    vertical-align: top;
}

#graph-fullscreen {
    display: block;
    width: 100%;
    min-height: 20em;
    border: thin solid black;
}

#graph-fullscreen-inner-wrapper .graph-navigation-wrapper {
    width: 100%;
}



#graph-fullscreen-legend {
    padding-left: 0.5em;
    max-height: 200px;
    overflow-y: auto;
}

#graph-tools {
    background: #ffffff;
    text-align: right;
    vertical-align: bottom;

}

#graph-fullscreen-wrapper #graph-fullscreen-table-wrapper{
    display:none;
    overflow: auto;
}

#graph-fullscreen-wrapper.graph_table #graph-fullscreen-table-wrapper{
    display: block;
}

#graph-fullscreen-wrapper.graph_table #graph-fullscreen-inner-wrapper,
#graph-fullscreen-wrapper.graph-no-series #graph-fullscreen-inner-wrapper,
#graph-fullscreen-wrapper.graph_table .graph-legend-wrapper{
    display: none;
}

.graph-selection {
    margin-left: 0.5em;
}

.graph-pages-tabs {
    display: inline-block;
    height: 100%;
    margin-right: 0 !important;
    border-right: 0 !important;
}

.graph-tab-content {
    white-space: nowrap;
    overflow: visible;
}

.axisLabels {
    color: #000000 !important;
    font-size: 0.8em;
}

.graph-legend,
.graph_inner_wrapper,
.misisng-legend {
    display: block;
    vertical-align: top;
    width: 100%;
}

.graph_placeholder, .hidden-wrapper {
    width: 100%;
    height: 30em;
    border: thin solid black;
}

.graph_wrapper {
    margin-bottom: 1em;
    padding: 0.5em;
    white-space: nowrap;
    border-radius: 15px;
    background-color: #EFEFEF
}

.graph-navigation-wrapper {
    width: 100%;
    min-height: 60px;
    display: table;
    margin-bottom: 0.5em;

}

.graph-navigation-wrapper > * {
    display: table-cell;
    vertical-align: bottom;
    width: 33%;
}

.graph-navigation-wrapper .navigation-left {
    text-align: left;
}

.graph-navigation-wrapper .navigation-middle {
    text-align: center;
}

.graph-navigation-wrapper .navigation-right {
    text-align: right;
}

.graph-navigation-wrapper .nav {
    margin-bottom: 0;
}

.graph-navigation {
    display: table;
    margin-top: 0.5em;
    margin: auto;
}

.graph-navigation .graph-navigation-date {
    display: inline-table;
}

.graph-navigation .graph-navigation-date > * {
    display: inline-block;
    vertical-align: bottom;
}

.graph-navigation > * {
    display: inline-block;
    vertical-align: bottom;
}

.graph-navigation .graph-navigation-date .enddate {
    text-align: center;
}

.graph-navigation .graph-navigation-date .enddate input {
    margin: 0;
}



.hidden-wrapper {
    display: none;
    /*		border: thin solid black; */
}

.graph-generating-data .generating-wrapper,
.graph-no-series .none-selected-wrapper,
.graph-no-data .no-data-wrapper,
.graph-never-data .never-data-wrapper,
.graph-warning .graph-warning-wrapper,
.graph-error .graph-error-wrapper,
.graph-message .message-wrapper,
.graph-loading-data .loading-wrapper{
    display: table;
    /*width:100%;*/
    margin: auto;
    text-align: center;
    /*height: 100%;*/
    white-space: normal;
}

.graph-no-series .graph_inner_wrapper,
.graph-message .graph_inner_wrapper,
.graph-never-data .graph-navigation,
.graph-warning .graph-navigation,
.graph-error .graph-navigation,
.graph-generating-data .graph_inner_wrapper,
.graph-loading-data .graph_inner_wrapper,
.graph-never-data .graph_inner_wrapper,
.graph-warning .graph_inner_wrapper,
.graph-no-data .graph_inner_wrapper,
.graph_wrapper.graph_table.graph-generating-data .graph_table_wrapper,
.graph_wrapper.graph_table.graph-loading-data .graph_table_wrapper,
.graph_wrapper.graph_table.graph-never-data .graph_table_wrapper,
.graph_wrapper.graph_table.graph-warning .graph_table_wrapper,
.graph_wrapper.graph_table.graph-error .graph_table_wrapper,
.graph_wrapper.graph_table.graph-no-data .graph_table_wrapper,
.graph_wrapper.graph_table.graph-no-series .graph_table_wrapper,
.graph_wrapper.graph-never-data,
.graph_wrapper.graph-error,
.graph-loading-data.graph-generating-data .loading-wrapper
{
    display: none;
}

.graph_wrapper table {
    font-size: smaller;
}
.graph_wrapper .graph_table_wrapper{
    display: none;
    height: 30em;
    overflow: auto;
    border: thin solid black;
    padding: 1px;
}

.graph_wrapper.graph_table .graph_table_wrapper{
    display: block;
}

table.graph_table thead {
    background: #ffffff;
}

.graph_wrapper.graph_table .graph_inner_wrapper,
.graph_wrapper.graph_table .graph-legend-wrapper{
    display: none;
}


.hidden-data {
    display: table-cell;
    vertical-align: middle;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 18px;
    font-weight: 300;
    line-height: 30px;
}
.graph-missing{
	display: none;
}

.graph-legend-wrapper.missing .graph-missing{
	display: block;
}

.graph-legend ol,
.graph-missing ol{
    list-style: none;
    font-size: 8pt;
}

.graph-legend-wrapper .legend-list {
    margin: 0 0 0 0;
    white-space: normal;
}

.graph-legend-wrapper .legend-list > li {
    display: inline-block;
    margin-right: 0.5em;
    vertical-align: top;
}

.graph-legend-wrapper .legend-header {
	font-weight: bold;
}
.graph-missing .legend-missing-header{
	color: red;
    font-weight: bold;
}

.graph-legend-wrapper .legend-sublegend.legend-single {
    margin-left: 0px;
}

.graph-legend-wrapper .legend-color {
    width: 9px;
    height: 9px;
    border-style: solid;
    border-width: 2px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 0.1em;
    margin-left: -11px;
    margin-top: -4px;
}

.graph-legend-wrapper .legend-sublegend .legend-color {
    border-radius: 6px;
}

.graph-legend-wrapper input[type=checkbox] {
    position: relative;
    left: 1px;
    margin: 0;
    opacity: 0;
    z-index: 2;
    cursor: pointer;
    height: 12px;
    width: 12px;
    top: -2px;
    vertical-align: middle;
}

.graph-legend-wrapper input[type=checkbox]:not(:checked) ~ .legend-color {
    background: none !important;
}

.graph-legend-wrapper .series_value, .graph-legend-wrapper .series_label {
    display: table-cell;
}

.graph-legend-wrapper.graph-legend-average-shown .graph-legend-wrapper .series_value{
    min-width: 7em;
}

.graph-legend-wrapper .series_value {
    min-width: 5em;
    text-align: right;
    padding-left: 1em;
}

/* Graph legend icons */
.graph-legend-wrapper .graph-legend-options i {
    display: inline-block;
    height: 16px;
    width: 19px;
    background-repeat: no-repeat;
    line-height: 16px;
    margin-top: 1px;
    vertical-align: text-top;
}

.graph-legend-wrapper .graph-legend-options a:hover {
    cursor: pointer;
}

i.legend-device {
    background-image: url(../img/legend_device.png);
}

i.legend-device:hover {
    background-image: url(../img/legend_device_active.png);
}

i.legend-channel {
    background-image: url(../img/legend_channel.png);
}

i.legend-channel:hover {
    background-image: url(../img/legend_channel_active.png);
}

i.legend-sort, i.legend-sort-reverse {
    background-image: url(../img/legend_sort.png);
}

i.legend-sort-reverse {
    -moz-transform: scaleY(-1);
    -o-transform: scaleY(-1);
    -webkit-transform: scaleY(-1);
    transform: scaleY(-1);
    filter: FlipV;
    -ms-filter: "FlipV";
}

i.legend-sort:hover, i.legend-sort-reverse:hover {
    background-image: url(../img/legend_sort_active.png);
}

.graph-legend-wrapper.graph-legend-device i.legend-device {
    background-image: url(../img/legend_device_active.png);
}

.graph-legend-wrapper.graph-legend-channel i.legend-channel {
    background-image: url(../img/legend_channel_active.png);
}

.graph-legend-wrapper.graph-legend-sort i.legend-sort {
    background-image: url(../img/legend_sort_active.png);
}

.graph-legend-wrapper.graph-legend-sortReverse i.legend-sort-reverse {
    background-image: url(../img/legend_sort_active.png);
}

i.legend-lock {
    background-image: url(../img/schloss_active.png);
    width: 17px !important;
}

.graph-legend-wrapper.graph-legend-yaxis-locked i.legend-lock {
    background-image: url(../img/schloss_active.png);
}

.graph-legend-wrapper.graph-legend-yaxis-locked i.legend-lock:hover {
    background-image: url(../img/schloss.png);
}

.graph-legend-wrapper.graph-legend-yaxis-unlocked i.legend-lock {
    background-image: url(../img/schloss_offen_active.png);
}

.graph-legend-wrapper.graph-legend-yaxis-unlocked i.legend-lock:hover {
    background-image: url(../img/schloss_offen.png);
}

i.legend-average {
    background-image: url(../img/checkbox_empty.png);
    width: 17px !important;
    margin-top: 3px !important;
}
.graph-legend-wrapper.graph-legend-average-shown i.legend-average {
    background-image: url(../img/checkbox_x.png);
}

i.legend-timezone {
    background-image: url(../img/world_color.png);
    width: 17px !important;
}

.graph-legend-wrapper.timezone-disabled #legend-timezone-wrapper{
    display:none;
}

.graph-legend-wrapper.graph-legend-timezone-browser i.legend-timezone {
    background-image: url(../img/world_sw.png);
}

.graph-legend-wrapper.graph-legend-timezone-browser i.legend-timezone:hover {
    background-image: url(../img/world_color.png);
}

.graph-legend-wrapper.graph-legend-timezone-local i.legend-timezone {
    background-image: url(../img/world_color.png);
}

i.legend-timezone:hover,
.graph-legend-wrapper.graph-legend-timezone-local i.legend-timezone:hover {
    background-image: url(../img/world_sw.png);
}


.graph-legend-wrapper .graph-legend-options span{
    margin-right: 0.5em;
}

.graph-legend-wrapper .graph-legend-options a{
	margin-right: 0.2em;
}

.tabs-graph-options {
    display: block;
    width: 100%;
    text-align: left;
    margin: 0.5em;
}

.graph-tooltip {
    z-index: 10;
    position: absolute;
    background: #fff;
    border-radius: 5px;
    border: thin solid #000;
    font-size: 10pt;
    pointer-events: none;
}
.graph-tooltip .channel {
	font-size: 7pt;
}

.graph-tooltip .note {
	color: darkred;
	font-size: 8pt;
}

.graph-tooltip td {
    margin-right: 2px;
}

.graph-tooltip .graph-color {
    height: 10px;
    width: 10px;
    border-radius: 5px;
}

.tooltip {
    white-space: normal;
}

.graph_wrapper #as-diagram {
    display: none;
}
.graph_wrapper.graph_table #as-diagram {
    display: inline-block;
}
.graph_wrapper.graph_table #as-table {
    display: none;
}

.graph_wrapper .specific-button.active:hover {
    color: #333;
    text-decoration: none;
    background-position: 0 -15px;
    -webkit-transition: box-shadow .1s linear;
    -moz-transition: box-shadow .1s linear;
    -o-transition: box-shadow .1s linear;
    transition: box-shadow .1s linear;
    -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
    background-color: #e6e6e6;
    background-image: -moz-linear-gradient(top, #fff, #e6e6e6);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fff), to(#e6e6e6));
    background-image: -webkit-linear-gradient(top, #fff, #e6e6e6);
    background-image: -o-linear-gradient(top, #fff, #e6e6e6);
    background-image: linear-gradient(to bottom, #fff, #e6e6e6);
    background-repeat: repeat-x;
    border: 1px solid #ccc;
    border-color: #e6e6e6 #e6e6e6 #bfbfbf;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
    border-bottom-color: #b3b3b3;
    outline-color: none;
    outline-style: none;
    outline-width: none;
}

.graph_wrapper .specific-button.active:active {
    background-image: -moz-linear-gradient(top, #fff, #e6e6e6);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fff), to(#e6e6e6));
    background-image: -webkit-linear-gradient(top, #fff, #e6e6e6);
    background-image: -o-linear-gradient(top, #fff, #e6e6e6);
    background-image: linear-gradient(to bottom, #fff, #e6e6e6);
    -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
    background-position: 0 0;
}

.graph_wrapper .specific-button #status-indicator {
    height: 1em;
    width: 1em;
    display: inline-block;
    background-color: #bd362f;
    margin-top: 1px;
    vertical-align: text-top;
}

.graph_wrapper .specific-button.active:active #status-indicator {
    background-color: #bd362f;
}

.graph_wrapper .specific-button.active #status-indicator, .graph_wrapper .specific-button:active #status-indicator {
    background-color: #51a351;
}

/* Details Tabs */

.loading .details-tab-content{
	display: none;
}

#plant-list .search-wrapper{
	padding: 0 5px;
margin:5px 0;
display:block;
width: 100%;
box-sizing: border-box;
}
/* Parklist search */
#plant-list .search {
	border-radius: 25px;
	padding: 7px 14px;
	border-width: 1px;
	border-style: solid;
	width: 100%;
	box-sizing: border-box;
	outline: none;
	background-color: transparent;
}

body.skin-blue #plant-list .search {
	border-color: rgba(255, 255, 255, 0.2);
	color: #fff;
}

body.skin-blue-light #plant-list .search {
	border-color: rgba(0, 0, 0, 0.2);
	color: #000000;
}

/* Park settings location */
@media (max-width: 998px){
	#location-map{
		height: 300px;
	}
}

@media (min-width: 999px) and (max-width: 1222px){
	#location-map{
		height: 400px;
	}
}

@media (min-width: 1223px) and (max-width: 1430px){
	#location-map{
		height: 500px;
	}
}

@media (min-width: 1431px){
	#location-map{
		height: 600px;
	}
}

/* Park settings image */
.ajax-upload-preview-area{
	width: 100%;
	margin-bottom: 10px;
}

.ajax-upload-preview-area img{
	max-width: 100%;
	max-width: 100%;
	max-height: 300px;

}

/* scrollbox shadows */
.scrollbox-shadow,
body.skin-blue-light .scrollbox-shadow-white-on-grey,
body[class$="-light"] .scrollbox-shadow-white-on-grey,
body[class*="-light "] .scrollbox-shadow-white-on-grey{
	background:
		/* Shadow covers */
		linear-gradient(white 30%, rgba(255,255,255,0)),
		linear-gradient(rgba(255,255,255,0), white 70%) 0 100%,

		/* Shadows */
		radial-gradient(50% 0, farthest-side, rgba(0,0,0,.2), rgba(0,0,0,0)),
		radial-gradient(50% 100%,farthest-side, rgba(0,0,0,.2), rgba(0,0,0,0)) 0 100%;
	background:
		/* Shadow covers */
		linear-gradient(white 30%, rgba(255,255,255,0)),
		linear-gradient(rgba(255,255,255,0), white 70%) 0 100%,

		/* Shadows */
		radial-gradient(farthest-side at 50% 0, rgba(0,0,0,.2), rgba(0,0,0,0)),
		radial-gradient(farthest-side at 50% 100%, rgba(0,0,0,.2), rgba(0,0,0,0)) 0 100%;
	background-repeat: no-repeat;
	background-color: white;
	background-size: 100% 40px, 100% 40px, 100% 14px, 100% 14px;

	/* Opera doesn't support this in the shorthand */
	background-attachment: local, local, scroll, scroll;
}

.scrollbox-shadow-white {
	background:
		/* Shadow covers */
		linear-gradient(black 30%, rgba(0,0,0,0)),
		linear-gradient(rgba(0,0,0,0), black 70%) 0 100%,

		/* Shadows */
		radial-gradient(50% 0, farthest-side, rgba(255,255,255,.2), rgba(255,255,255,0)),
		radial-gradient(50% 100%,farthest-side, rgba(255,255,255,.2), rgba(255,255,255,0)) 0 100%;
	background:
		/* Shadow covers */
		linear-gradient(black 30%, rgba(0,0,0,0)),
		linear-gradient(rgba(0,0,0,0), black 70%) 0 100%,

		/* Shadows */
		radial-gradient(farthest-side at 50% 0, rgba(255,255,255,.2), rgba(255,255,255,0)),
		radial-gradient(farthest-side at 50% 100%, rgba(255,255,255,.2), rgba(255,255,255,0)) 0 100%;
	background-repeat: no-repeat;
	background-color: black;
	background-size: 100% 40px, 100% 40px, 100% 14px, 100% 14px;

	/* Opera doesn't support this in the shorthand */
	background-attachment: local, local, scroll, scroll;
}

.scrollbox-shadow-white-on-grey {
	background:
		/* Shadow covers */
		linear-gradient(#222d32 30%, rgba(34,45,50,0)),
		linear-gradient(rgba(34,45,50,0), #222d32 70%) 0 100%,

		/* Shadows */
		radial-gradient(50% 0, farthest-side, rgba(255,255,255,.4), rgba(255,255,255,0)),
		radial-gradient(50% 100%,farthest-side, rgba(255,255,255,.4), rgba(255,255,255,0)) 0 100%;
	background:
		/* Shadow covers */
		linear-gradient(#222d32 30%, rgba(34,45,50,0)),
		linear-gradient(rgba(34,45,50,0), #222d32 70%) 0 100%,

		/* Shadows */
		radial-gradient(farthest-side at 50% 0, rgba(255,255,255,.4), rgba(255,255,255,0)),
		radial-gradient(farthest-side at 50% 100%, rgba(255,255,255,.4), rgba(255,255,255,0)) 0 100%;
	background-repeat: no-repeat;
	background-color: #222d32;
	background-size: 100% 40px, 100% 40px, 100% 14px, 100% 14px;

	/* Opera doesn't support this in the shorthand */
	background-attachment: local, local, scroll, scroll;
}
.skin-blue-light .sidebar-menu>li.header,
body[class$="-light"] .sidebar-menu>li.header,
body[class*="-light "] .sidebar-menu>li.header{
	background-color: #eaebee;
}

.skin-blue-light .sidebar-menu>li>a,
body[class$="-light"] .sidebar-menu>li>a,
body[class*="-light "] .sidebar-menu>li>a,
.skin-blue-light .sidebar-menu>li.active>a,
body[class$="-light"] .sidebar-menu>li.active>a,
body[class*="-light "] .sidebar-menu>li.active>a{
	font-weight: normal;
}


.info-box-full-height {
	display: table;
}

.info-box-full-height .info-box-icon{
	display: table-cell;
	float: none;
}
.info-box-full-height .info-box-content {
	display: table-cell;
	margin: 0;
	vertical-align: top;
}

.formset div ~ .add-on-empty{
	display: none;
}

.formset .add-on-empty {
	width: 100%;
	padding: 10px;
	text-align: center;
	border-radius: 10px;
	border: 3px solid #CCCCCC;
	border-style: dashed;
}

.formset .add-on-empty i.fa {
	font-size: 2em;
	color: #CCCCCC;
}

.formset_rows {
	min-height: 74px;
}

/* File Management */
#file-management-upload {
	height: 100%;
	min-height: 100px;
	width: 100%;
	padding: 10px;
	text-align: center;
	border-radius: 10px;
	border: 3px solid #CCCCCC;
	border-style: dashed;
	background-image: url("../img/file_management/cloud-upload.svg");
	background-size: 50% 50%;
	background-position: center;
	background-repeat: no-repeat;
	color: #CCCCCC;
}

@media (min-width: 768px){
	body.sidebar-collapse:not(.control-sidebar-open) #file-management-upload,
	body.sidebar-collapse:not(.control-sidebar-open) #file-management-files{
		min-height: 50vh;
	}
}
@media (min-width: 998px){
	body.control-sidebar-open.sidebar-collapse #file-management-upload,
	body:not(.control-sidebar-open):not(.sidebar-collapse) #file-management-upload,
	body.control-sidebar-open.sidebar-collapse #file-management-files,
	body:not(.control-sidebar-open):not(.sidebar-collapse) #file-management-files{
		min-height: 50vh;
	}
}
@media (min-width: 1228px){
	body.control-sidebar-open:not(.sidebar-collapse) #file-management-upload,
	body.control-sidebar-open:not(.sidebar-collapse) #file-management-files{
		min-height: 50vh;
	}
}

#file-management-upload .dz-preview {
	width: 100%;
	display: block;
	text-align: left;
	color: black;
}

#file-management-upload .dz-preview.dz-success {
	color: #5cb85c;
}
#file-management-upload .dz-preview.dz-error {
	color: #d9534f;
}

#file-management-upload .dz-image,
#file-management-upload .dz-success-mark,
#file-management-upload .dz-error-mark{
	display: none;
}
#file-management-upload .dz-details {
	display: block;
	width: 100%;
}
#file-management-upload .dz-details .dz-size{
	float: right;
}
#file-management-upload .dz-details .dz-filename{
	max-width: 70%;
	overflow: hidden;
}
#file-management-upload .dz-progress {
	display: block;
	width: 100%;
	height: 5px;
}
#file-management-upload .dz-complete .dz-progress{
	display: none;
}
#file-management-upload .dz-progress .dz-upload {
	display: block;
	height: 100%;
	background-color: #5bc0de;
	background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
	background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
	background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
	-webkit-background-size: 40px 40px;
	background-size: 40px 40px;
	animation: progress-bar-stripes 2s linear infinite;
}

#file-management-upload .dz-error .dz-error-message{
	font-size: 0.8em;
	border: thin solid red;
	padding: 3px;
}

.ms-container .ms-list.ui-sortable > li{
	cursor: move;
}

#plant_table a {
	color: #000000;
}

.centering {
	text-align: center;
}