html, body {
    background-color: #eee;
}
body, html{
    min-height: 100%;
}

body {
    padding-top: 60px; /* 60px to make the container go all the way to the bottom of the topbar */
    font-size: 13px;
}

.spinner{
    background-image: url('/static/img/ajax-loader.gif');
    width: 16px;
    height: 16px;
    display: inline-block;
}

.loader_props {
    border: 5px solid #f3f3f3;
    border-radius: 50%;
    border-top: 5px solid #3498db;
    width: 20px;
    height: 20px;
    -webkit-animation: spin 2s linear infinite; /* Safari */
    animation: spin 2s linear infinite;
}

/* Safari */
@-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.container.main-content{
    width: auto;
    margin-left: 165px;
    margin-right: 20px;
    float: none;
    /* overflow: hidden; */
    padding: 10px;
    height: 100%;
}

.container > footer p {
    text-align: center; /* center align it with the container */
}

/* The white background content wrapper */
.site-content {
    background-color: #fff;
    padding: 20px;
    margin: 0 -20px; /* negative indent the amount of the padding to maintain the grid system */
    -webkit-border-radius: 0 0 6px 6px;
    -moz-border-radius: 0 0 6px 6px;
    border-radius: 0 0 6px 6px;
    -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.15);
    -moz-box-shadow: 0 1px 2px rgba(0,0,0,.15);
    box-shadow: 0 1px 2px rgba(0,0,0,.15);

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

.errorlist, span.errors {color:red; font-size:14px; font-weight:bold;}

span.errors:before {
content:"  *";
}

.inline-block {display:inline-block;}

.subnav {
display:block;

/*set the div in the top right corner*/
position:absolute;
top:50;
left:0;
width:170px;
z-index: 1020;

/*give it some background and border*/
background:transparent;
border:0px;
}

.logo-text {
font-family:Trebuchet MS;
font-weight:bold;
font-size:14px;
color: #004272;
text-align:center;
margin-top:80px;
}
.bordered{
border:1px solid #E3E3E3;
margin-left:3px;
border-radius:4px;
width:1035px;
}

.highlighted {background: #f8e985;}
.trns {
transition: all ease .4s;
-moz-transition: all ease .4s;
-webkit-transition: all ease .4s;
-o-transition: all ease .4s;
}
.spawner {cursor:pointer;}
.spawner:hover {text-decoration:none;}

#maintenanceLogWrap {
min-height:100px;
}

/* Page header tweaks */
.page-header {
    background-color: #f5f5f5;
    padding: 20px 40px 10px;
    margin: -20px -20px 20px;
}

.customer {
    margin: 2px;
    text-align: left;
    float: left;
    width: 160px;
    height: 18px;
}

.customers {
    padding-left: 80px;
}

.installation {
    margin: 2px;
    text-align: left;
    float: left;
    width: 200px;
    height: 18px;
}

.installations {
    padding-left: 20px;
}

.device {
    margin: 2px;
    text-align: left;
    float: left;
    width: 160px;
    height: 20px;
    padding: 10px 10px 10px 12px;
    line-height: 1;
}

.devices {
    padding-left: 20px;
}

.configalerts {
    padding-left:20px;
    width: 94%;
    margin-bottom: 20px;
}

.bzmw {
    background-color: #ACF2C1;
}

.ezmw {
    background-color: #F09599;
}

.zmw_pending {
    background-color: #d9edf7;
}

.zmw_executed {
    background-color: #ACF2C1;
}

.zmw_deleted {
    background-color: #F09599;
}

/*
.popover {
    font-size: 8px;
    width: 800px;
}
*/

.light {
    color: #F5F5F5;
}

.alert.block-message.green {
    background-color: #96EE96;
    border-color: #5CE75C;
}

.alert.block-message.blue {
    background-color: #98C2EE;
    border-color: #4F9CEE;
}

.alert.block-message.yellow {
    background-color: #F5FD9A;
    border-color: #EFFD53;
}

.alert.block-message.orange {
    background-color: #FFCE80;
    border-color: #FFBA4D;
}

.alert.block-message.red {
    background-color: #FDA8A4;
    border-color: #FD847F;
}

.alert.block-message.grey {
    background-color: #C3C3C3;
    border-color: #777777;
}

table, td, tr, th {
    color: #000;
}

table th, table td {
    padding: 5px;
}

table .yellow, .yellow {
    background-color: #F5FD9A;
    color: #000;
}

table .orange, .orange {
    background-color: #FFCE80;
    color: #000;
}

table .red, .red {
    background-color: #FDA8A4;
    color: #000;
}

table .green, .green {
    background-color: #96EE96;
    color: #000;
}

table .grey, .grey {
    background-color: #C3C3C3;
    color: #000;
}

table .blue, .blue {
    background-color: #78BBCE;
    color: #000;
}

/* Internation Post Corporation - Alert dashboard set to blue
USD  1043582
*/
table .ipc, .ipc {
    background-color: #99CCFF;
    color: #000;
}

/*
.warning {
    background-color: #F5FD9A;
}

.error {
    background-color: #FFCE80;
}

.critical {
    background-color: #FDA8A4;
}
*/
.navbar .btn {
    border: 0;
}

span.ev {
    margin-left: 4px;
    margin-right: 4px;
    padding-left: 6px;
    padding-right: 6px;
    border: 1px solid;
}

div.circle {
    width: 1.2em; height: 1.2em;
    -webkit-border-radius: 0.7em; -moz-border-radius: 0.7em;
    border-radius: 0.7em;
}

.qtip-bootstrap {
    font-size: 12px;
}

.qtip {
    min-width: 100px;
    max-width: 1200px;
    margin: 0px;
}
.qtip-bootstrap .qtip-titlebar {
    font-size: 12px;
    font-weight: bold;
    height: 12px;
    margin: 0px;
}

/*************
Tablesorter default theme
*************/

.tablesorter-default .header,
.tablesorter-default .tablesorter-header {
    background-image: url(data:image/gif;base64,R0lGODlhFQAJAIAAACMtMP///yH5BAEAAAEALAAAAAAVAAkAAAIXjI+AywnaYnhUMoqt3gZXPmVg94yJVQAAOw==);
    background-position: center right;
    background-repeat: no-repeat;
    cursor: pointer;
    white-space: normal;
    padding: 4px 20px 4px 4px;
}
.tablesorter-default thead .headerSortUp,
.tablesorter-default thead .tablesorter-headerSortUp,
.tablesorter-default thead .tablesorter-headerAsc {
    background-image: url(data:image/gif;base64,R0lGODlhFQAEAIAAACMtMP///yH5BAEAAAEALAAAAAAVAAQAAAINjI8Bya2wnINUMopZAQA7);
    border-bottom: #000 2px solid;
}
.tablesorter-default thead .headerSortDown,
.tablesorter-default thead .tablesorter-headerSortDown,
.tablesorter-default thead .tablesorter-headerDesc {
    background-image: url(data:image/gif;base64,R0lGODlhFQAEAIAAACMtMP///yH5BAEAAAEALAAAAAAVAAQAAAINjB+gC+jP2ptn0WskLQA7);
    border-bottom: #000 2px solid;
}
.tablesorter-default thead .sorter-false {
    background-image: none;
    padding: 4px;
}

/* table processing indicator */
.tablesorter-default .tablesorter-processing {
    background-position: center center !important;
    background-repeat: no-repeat !important;
    /* background-image: url(../addons/pager/icons/loading.gif) !important; */
    background-image: url('data:image/gif;base64,R0lGODlhFAAUAKEAAO7u7lpaWgAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQBCgACACwAAAAAFAAUAAACQZRvoIDtu1wLQUAlqKTVxqwhXIiBnDg6Y4eyx4lKW5XK7wrLeK3vbq8J2W4T4e1nMhpWrZCTt3xKZ8kgsggdJmUFACH5BAEKAAIALAcAAAALAAcAAAIUVB6ii7jajgCAuUmtovxtXnmdUAAAIfkEAQoAAgAsDQACAAcACwAAAhRUIpmHy/3gUVQAQO9NetuugCFWAAAh+QQBCgACACwNAAcABwALAAACE5QVcZjKbVo6ck2AF95m5/6BSwEAIfkEAQoAAgAsBwANAAsABwAAAhOUH3kr6QaAcSrGWe1VQl+mMUIBACH5BAEKAAIALAIADQALAAcAAAIUlICmh7ncTAgqijkruDiv7n2YUAAAIfkEAQoAAgAsAAAHAAcACwAAAhQUIGmHyedehIoqFXLKfPOAaZdWAAAh+QQFCgACACwAAAIABwALAAACFJQFcJiXb15zLYRl7cla8OtlGGgUADs=') !important;
}

div.dataTables_length label {
    float: left;
    text-align: left;
}

div.dataTables_length select {
    width: 75px;
}

div.dataTables_filter label {
    float: right;
}

div.dataTables_info {
    padding-top: 8px;
}

div.dataTables_paginate {
    float: right;
    margin: 0;
}

table.table {
    clear: both;
    margin-bottom: 6px !important;
    max-width: none !important;
}

table.table thead .sorting,
table.table thead .sorting_asc,
table.table thead .sorting_desc,
table.table thead .sorting_asc_disabled,
table.table thead .sorting_desc_disabled {
    cursor: pointer;
    *cursor: hand;
}

table.table thead .sorting { background: url('../img/sort_both.png') no-repeat center right; }
table.table thead .sorting_asc { background: url('../img/sort_asc.png') no-repeat center right; }
table.table thead .sorting_desc { background: url('../img/sort_desc.png') no-repeat center right; }

table.table thead .sorting_asc_disabled { background: url('../img/sort_asc_disabled.png') no-repeat center right; }
table.table thead .sorting_desc_disabled { background: url('../img/sort_desc_disabled.png') no-repeat center right; }

table.dataTable th:active {
    outline: none;
}

/* Scrolling */
div.dataTables_scrollHead table {
    margin-bottom: 0 !important;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

div.dataTables_scrollHead table thead tr:last-child th:first-child,
div.dataTables_scrollHead table thead tr:last-child td:first-child {
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

div.dataTables_scrollBody table {
    border-top: none;
    margin-bottom: 0 !important;
}

div.dataTables_scrollBody tbody tr:first-child th,
div.dataTables_scrollBody tbody tr:first-child td {
    border-top: none;
}

div.dataTables_scrollFoot table {
    border-top: none;
}

.margin-10{
    margin: 10px;
}

.knowledge-container{
    background: #f0f0f0;
    padding: 10px;
}

.knowledge-container .header{
    font-weight: bold;
}

.knowledge-container .description{
   min-height: 5em;
}

.toggle-button {
	background-color:#44c767;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	border-radius:5px;
	border:1px solid #18ab29;
	display:inline-block;
	cursor:pointer;
	color:#ffffff;
	font-family:Arial;
	font-size:17px;
	text-decoration:none;
}
.toggle-button:hover {
	background-color:#5cbf2a;
}
.toggle-button:active {
	position:relative;
	top:1px;
}

@media (max-width: 1399px) {
    .row-fluid .span6 {
        width: 100%;
    }
    .row-fluid .span6:last-child {
        margin-left: 0px;
    }
}
#group-filter-all-graphs {
    float: right;
}
