html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, form, label, legend,  caption, tbody, tfoot, thead, tr, th, td {
    margin: 0;
    padding: 0;
    border: 0;
}

body{
    background-color: white;
    font-family: Verdana, Tahoma, sans-serif;
    font-size: 10px;
    margin: 0;
    padding: 0;
}

p{
    padding: 0 0 12px 0;
}

/**
*  Common styles
*/

img{
    border: 0;
}

.text-center{
    text-align: center;
}
.text-right{
    text-align: right;
}
.text-left{
    text-align: left;
}

.vertical-top{
    vertical-align: top;
}

.w50{
    width: 50px;
}
.w100{
    width: 100px;
}
.w200{
    width: 270px;
}
.w220{
    width: 220px;
}

.clear
{
    clear: both;
}

.floatLeft
{
    float: left;
}

.floatRight
{
    float: right;
}

.underline{
    text-decoration: underline;
}

.hidden {
    display: none;
}

a {
    color: #37A6CC;
    text-decoration: none;
}

a:hover {
    color: #9f9f9f;
}

a.ajax:hover {
	cursor: pointer;
}

.smallfont {
    font-size: 9px;
}


input, select {
    border: 1px #c6c7cb solid;
    border-radius: 2px;
}

input[type="submit"],
.likeSubmit{
    background-color: #37a6cc;
    color: white;
    border: 0 none;
    padding: 0 10px;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 11px;
    border-radius: 2px;
    line-height: 20px;
    height: 20px;
    /*line-height: 20px;*/
}

.likeSubmit {
    display: block;
}

form label {
    padding-right: 15px;
}


.layout_content {
    padding: 15px;
    min-width: 1000px;
}

.mainArea {
    position: relative;
}

.addButton {
    display: block;
    width: 24px;
    height: 24px;
    cursor: pointer;
    background: url('images/icons/add-button.png');
}

.deleteButton {
    display: block;
    width: 24px;
    height: 24px;
    cursor: pointer;
    background: url('images/icons/trash.png');
}

.pdfButton {
    display: block;
    width: 24px;
    height: 24px;
    cursor: pointer;
    background: url('images/icons/pdf_icon.png');
}
.imgButton {
    display: block;
    width: 24px;
    height: 24px;
    cursor: pointer;
    background: url('images/icons/img_icon.png');
}
.value.warning {
    color: red;
}

.value.okay {
    color: green;
}

.closeButton {
    width: 14px;
    height: 14px;
    background: url('images/closeButton.png');
    cursor: pointer;
}

.closeButton:hover {
    background-position: 14px 0px;
}


#messagebox {
    position: fixed;
    top: 40px;
    left: 50%;
    width: 400px;
    margin-left: -200px;
    background-color: #f6f6f6;
    border: 1px #cbcbca solid;
    border-radius: 4px;
    box-shadow: 1px 1px 10px #e6e6e6;
}

#messagebox .header {
    padding: 5px;
    background-color: white;
    border-bottom: 1px #cbcbca solid;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

#messagebox > .text {
    padding: 5px;
}

#messagebox .closeButton {
    position: absolute;
    top: 3px;
    right: 3px;
}

#messagePanel {
    position: fixed;
    bottom: 10px;
    left: 10px;
    color: #8b0000;
    background-color: #f6f6f6;
    border: 1px #cbcbca solid;
    cursor: pointer;
    display: none;
    padding: 3px;
    border-radius: 3px;
    box-shadow: 1px 1px 10px #e6e6e6;
}

.loginForm {
    width: 400px;
    margin: auto;
    background-color: white;
    border-radius: 10px;
    padding: 10px;
}

.footer {
    padding-top: 15px;
    text-align: right;
}

.footer img {
    vertical-align: sub;
}

.headerArea {
    position: relative;
    padding-bottom: 18px;
    min-height: 90px;
}

.headerArea > .logout {
    position: absolute;
    right: 20px;
    top: 10px;
    background: url('images/logout-lock.png') no-repeat top right;
    height: 20px;
    padding-right: 24px;
}

.headerArea > .logout a {
    color: white;
}

.headerArea > .menu {
    position: absolute;
    bottom: 18px;
    right: 0;
}

.headerArea > .menu .item {
    font-size: 12px;
    padding: 0 25px;
}


.headerArea > .langs {
    position: absolute;
    right: 20px;
    top: 40px;
}

.headerArea > .langs img {
    border: 1px transparent solid;
}

.headerArea > .langs .active img {
    border: 1px #c5c5c5 solid;
}


.navigationArea {
    height: 38px;
    padding: 1px 0;
    border-top: 1px #d0d0d0 dashed;
    border-bottom: 1px #d0d0d0 dashed;
    margin-bottom: 10px;
}

.loginScreen .navigationArea {
    display: none;
}

.navigationArea > .navigationInner {
    height: 38px;
    background-color: #f6f6f6;
    padding-left: 10px;
    line-height: 38px;
}

.navigationArea h1 {
    font-size: 12px;
    color: #9f9f9f;
    font-weight: normal;
}

.subMenuArea {
    height: 30px;
    margin-bottom: 10px;
    text-align: right;
}

.subMenuArea .menu.list {
    float: right;
}

.submenuCenter .subMenuArea .menu.list {
    float: none;
    margin: auto;
}

.subMenuArea .menu.list .menu.item {
    height: 30px;
    line-height: 30px;
    font-size: 11px;
    padding: 0 10px;
}


.tableList {
    border-collapse: collapse;
    width: 100%;
}

.tableList td,
.tableList th {
    padding: 0 5px;
    text-align: center;
    height: 33px;
    line-height: 33px;
}

.tableList th {
    background-color: #135c74;
    color: white;
    border: black 1px solid;
}

.tableList td {
    border-bottom: 1px #d0d0d0 dashed;
}

.tableList tr:hover,
.menuTable tr:hover{
    background-color: #f5f5f5;
}

.tableList td.icon {
    padding: 0;
    text-align: center;
}

.tableList td.icon img {
    vertical-align: middle;
}

.pager {
    padding: 5px 0;
    text-align: center;
}

.myForm,
.formBackground{
    background-color: #f6f6f6;
    padding: 10px;
}

.formTable {
    margin: auto;
    background-color: white;
    padding: 10px;
    border-radius: 10px;
}

form.graphDataForm select {
    width: 100%;
} 

.menuTable {
    width: 100%;
    border-collapse: collapse;;
}

.menuTable td {
    height: 30px;
    border-bottom: 1px #9a9b9a dashed;
}

a.big_block {
    display: block;
    text-align: center;
    font-size: 11px;
    height: 30px;
    line-height: 30px;
}

th a.big_block {
    color: white;
}

a.big_block img {
    vertical-align: text-bottom;
}

ul.resources.list {
    list-style: none;
}

ul.resources.list .item {
    font-size: 12px;
    line-height: 24px;
}

ul.resources.list .item > .toggler {
    width: 24px;
    height: 24px;
    cursor: pointer;
    float: left;
}

ul.resources.list .item > .toggler.undefined {
    background: url('images/icons/help-2.png');
}

ul.resources.list .item > .toggler.allowed {
    background: url('images/icons/ok-button.png');
}

ul.resources.list .item > .toggler.denied {
    background: url('images/icons/delete-button.png');
}

.plantInfoCell {
    width: 550px;
    display: none;
}

.smallplantinfo {
    position: relative;
}

.plantInfoCell.active {
    display: table-cell;
}

.plantInfoCell .cameraimage {
    max-width: 130px;
    max-height: 130px;
}

#webboxInfo {
    padding: 20px;
    position: relative;
}

.webboxInfoTable {
    background-color: #f6f6f6;
    border: 1px #cbcbca solid;
    border-radius: 4px;
    box-shadow: 1px 1px 10px #e6e6e6;
    margin: auto;
    border-spacing: 0;
}

.webboxInfoTable th.title {
    background-color: white;
    border-bottom: 1px #cbcbca solid;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    height: 20px;
    margin: 0;
}

.webboxInfoTable > tbody > tr > td {
    vertical-align: top;
    padding: 10px;
}

.powergraph {
    padding: 10px;
}

.powergraph table{
    width: 100%;
}

.powergraph .deviceCol {
    white-space: nowrap;
}
.powergraph .barCol {
    width: 90%;
}

.powergraph .barCol .bar {
    background-color: #f6f6f6;
    height: 6px;
    border: 1px #cbcbcb solid;
    border-radius: 3px;
    box-shadow: 1px 1px 10px #f0f0f0;

}


#popupBackground {
    z-index: 10000;
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background-color: white;
}

.popupWindow {
    padding: 30px 20px 20px 20px;
    z-index: 10001;
    position: absolute;
    top: 30px;
    left: 50%;
    margin: auto;
    background-color: #f6f6f6;
    border: 1px #cbcbca solid;
    border-radius: 4px;
    box-shadow: 1px 1px 10px #e6e6e6;
}

.popupHeaderDrag {
    background-color: white;
    border-bottom: 1px #cbcbca solid;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    height: 20px;
    cursor: move;
    padding-left: 5px;
    line-height: 20px;
    font-weight: bold;
}

.popupWindow .popupClose {
    position: absolute;
    top: 3px;
    right: 3px;
}

.popupContent {
    position: relative;
}


.logPager {
    width: 50%;
}


#webboxInfo .loading,
.smallPlantInfo .loading
{
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    background: url('images/ajax-loader.gif') no-repeat center center;
}

.graphArea, #graphView {
    margin: auto;
    width: 1200px;
}

.graphArea #placeholder {
    width: 1200px;
    height: 500px;
}

.graphArea .deviceFilter {
    text-align: right;
    margin-bottom: 5px;
}

.yearsummarytable .rank {
    padding: 0 3px;
}

table.tablesorter thead tr th {
    background-image: url(images/sort/bg.png);
    background-repeat: no-repeat;
    background-position: center right;
    cursor: pointer;
    padding-right: 15px;
}

table.tablesorter thead tr th:hover {
    background-color: #8dbdd8;
}

table.tablesorter thead tr .headerSortUp {
    background-image: url(images/sort/desc.png);
}
table.tablesorter thead tr .headerSortDown {
    background-image: url(images/sort/asc.png);
}
table.tablesorter thead tr .headerSortDown,
table.tablesorter thead tr .headerSortUp {
    background-color: #8dbdd8;
}

table.deviceInfo {
    width: 100%;
    padding: 5px;
    border-radius: 4px;
}

.deviceInfo td {
    height: 20px;
    line-height: 20px;
}

.deviceInfo tr.even {
    background-color: white;
}


.headerArea .testwarning {
    position: absolute;
    top: 10px;
    left: 250px;
    font-size: 14px;
    color: red;
}

.powerLossForm table {
    margin: auto;
}

input.hasDatepicker {
    width: 100px;
}

.hide-calendar .ui-datepicker-calendar, .hide-calendar .ui-datepicker-prev, .hide-calendar .ui-datepicker-next {
    display: none;
}

div#ui-datepicker-div {
    padding: 0.2em;
}

.report_button, .report_button:hover, .report_button:active {
    background: #ffffff url(images/report_button.png);
    border: none;
    cursor: pointer;
    height: 24px;
    margin-right: 4px;
    width: 36px;
}

input.table {
    background-position: 0 43%;
}

input.table:hover {
    background-position: 50% 43%;
}

input.aline {
    background-position: 0% 29%;
}

input.aline:hover {
    background-position: 50% 29%;
}

input.abar {
    background-position: 0 0;
}

input.abar:hover {
    background-position: 50% 0;
}

table.overview {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
}

table.overview td {
    border: 1px solid;
    text-align: center;
    padding: 5px;
}

table.overview td.ok {
    background-color: #90bd90;
}

table.overview td.nok {
    background-color: #cd7d7d;
}

table.overview a.overviewLink {
    display: block;
    width: 100%;
    height: 100%;
    color: black;
}

table.overview a.overviewLink:hover {
    color: #2e2e2e;
}

.alerts {
    color: red;
    font-weight: bolder;

    }

.plantDetailTable {
    border-collapse: collapse;
}

.plantDetailTable th,
.plantDetailTable td{
    padding: 5px 10px;
    border-bottom: 1px solid lightgrey;
    vertical-align: top;
}

.plantDetailTable th {
    text-align: right;
}

.plantDetailTable tr:last-child th,
.plantDetailTable tr:last-child td,
.plantDetailTable .addInfo {
    border-bottom: 0 none;
}



.plantDetailTable .addInfo strong {
    display: block;
    border-bottom: 1px solid lightgrey;
    padding-bottom: 5px;
    margin-bottom: 5px;
}



.gdprPage h1 {
    margin-bottom: 12px;
}
.gdprPage h2 {
    margin-bottom: 12px;
}

.gdprPage ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.gdprPage ul li {
    margin-bottom: 5px;
}

.gdprPage table {
    margin-bottom: 15px;
    border-collapse: collapse;
}

.gdprPage table td {
    background-color: #ececec;
    border: 2px solid white;
    padding: 10px;
}