polehtml {
    height: 100%;
    overflow-y: scroll;
}
body {
    font-family: verdana, sans-serif;
    font-size: 0.8em;
    color: black;
    margin: 0;
    padding: 0;
    background-color: #e6e5e5;
    text-align: center;
}
table {
    font-size: 1em;
}
div.footer {
    font-size: 0.8em;
    padding: 0.3em 0 0.3em 1em;
    margin: 1em 0;
    border-top: 1px dotted #aaaaaa;
    border-bottom: 1px dotted #aaaaaa;
}

wbr {
    display: inline-block;
}
.wbr:after {
    content: "\00200B";
    width: 0px;
    display: inline-block;
}

h1 {
    font-size: 1.2em;
    text-decoration: none;
}
h2 {
    font-size: 1.1em;
    text-decoration: none;
}
h3 {
    font-size: 1em;
    text-decoration: none;
    margin: 0;
    padding: 0;
}
input, select, textarea, /*.checkbox,*/.nondefaultcheckbox {
    border: 1px solid #cccccc;
    background-color: white;
}
.checkbox {
    border: 0;
}
select {
    width: 14em;
    min-width: 14em;
}
button {
    border: 0;
    background-color: transparent;
    padding: 0;
    margin: 0;
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.draggable {
    position: relative;
    cursor: move;
}

a {
    text-decoration: none;
    color: #008fde;
}
a:hover {
    color: black;
}

a.button {
    font-family:"Verdana", Times, serif;
    font-size: 12px;
    white-space: nowrap;
    position: relative;
    display: inline-block;
    background: transparent url('../images/button_basic_front.png') no-repeat top left;
    color: #222;
    height: 30px;
    line-height: 26px;
    margin-right: 15px;
    padding: 0 5px 0 13px;
    vertical-align: top;
    outline: none;
}
a.button span {
    position: absolute;
    background: transparent url('../images/button_basic_end.png') no-repeat top right;
    display: inline-block;
    width: 8px;
    height: 30px;
    right: -8px;
    top: 0;
}
a.button:hover {
    background-position: center left;
}
a.button:hover span {
    background-position: center right;
}
a.button:active {
    top: 1px;
    left: 1px;
    background-position: bottom left;
    outline: none;
}
a.button:active span {
    background-position: bottom right;
}
a.button img {
    margin: 0 0 0 5px;
    vertical-align: middle;
    border: 0;
}



a.buttonMedium {
    display: inline-block;
    position: relative;
    background: transparent url('../images/button_medium_front.png') no-repeat top left;
    color: #222;
    display: inline-block;
    font-size: 12px;
    height: 24px;
    line-height: 24px;
    vertical-align: bottom;
    padding: 0 6px 0 13px;
    vertical-align: top;
    margin-right: 6px;
    outline: none;
}
a.buttonMedium span {
    position: absolute;
    background: transparent url('../images/button_medium_end.png') no-repeat top right;
    display: inline-block;
    width: 6px;
    height: 24px;
    right: -6px;
    top: 0;
}
a.buttonMedium:hover {
    background-position: center left;
}
a.buttonMedium:hover span {
    background-position: center right;
}
a.buttonMedium:active {
    background-position: bottom left;
}
a.buttonMedium:active span {
    background-position: bottom right;
}
a.buttonMedium img {
    border: 0;
}




a.buttonSmall {
    display: inline-block;
    position: relative;
    background: transparent url('../images/button_small_front.png') no-repeat top left;
    color: #222;
    display: inline-block;
    font-size: 12px;
    height: 19px;
    line-height: 19px;
    vertical-align: bottom;
    padding: 0 5px 0 13px;
    vertical-align: top;
    margin-right: 5px; /* offset for centering in poleMenu */
    outline: none;
}
a.buttonSmall span {
    position: absolute;
    background: transparent url('../images/button_small_end.png') no-repeat top right;
    display: inline-block;
    width: 5px;
    height: 19px;
    right: -5px;
    top: 0;
}
a.buttonSmall:hover {
    background-position: center left;
}
a.buttonSmall:hover span {
    background-position: center right;
}
a.buttonSmall:active {
    background-position: bottom left;
}
a.buttonSmall:active span {
    background-position: bottom right;
}
a.buttonSmall img {
    margin: 0 0 0 5px;
    vertical-align: middle;
    border: 0;
}



div.menu {
    margin-left: 10px;
    width: 980px;
    height: 36px;
    background: transparent url('../images/menu_bar.png') repeat-x bottom center;
}
div.menu a.menu, div.menu a.menuSel, a.lang {
    font-size: 16px;
    padding-left: 10px;
    display: inline-block;
    height: 36px;
    line-height: 36px;
    vertical-align: top;
    color: white;
    text-shadow: 1px 1px #1b74a9;
    padding: 0 15px;
    outline: none;
}
a.lang {
    padding: 0 6px;
}
a.lang .selector {
    display: inline-block;
    width: 15px;
    height: 8px;
    background-image: url('../images/icon_arrow_white.png');
    margin-right: 5px;
    margin-bottom: 5px;
}
a.lang img {
    margin-top: 8px;
    border: none;
    box-shadow: 2px 2px 5px #1b74a9;
}
li #flags {
    display: none;
    border: #bce6ff solid 1px;
    border-right: #1b74a9 solid 1px;
    border-bottom: #1b74a9 solid 1px;
    z-index: 1000;
    position: absolute;
    background-color: #54ade3;
    top: 13px;
    right: 0;
    color: white;
    text-shadow: 1px 1px #1b74a9;    
}
div.menu a.menu:hover {
    color: white;
    text-decoration: underline;
}
div.menu a.menu:active, div.menu a.menuSel, div.menu a.menuSel:active {
    position: relative;
    color: white;
}
div.menu a.menuSel:hover {
    /*color: black;*/
}
div.menu ul {
    list-style: none;
    display: inline;
    padding: 0;
}
div.menu li {
    display: inline;
}
div.menu span.sep {
    display: inline-block;
    background: blue url('../images/menu_separator.png') no-repeat;
    width: 2px;
    height: 36px;
}
div.menu span.name {
    color: white;
    float: left;
    margin: 9px 7px 0 0;
}
div.menu span.name a {
    color: white;
}
div.menu span.name a:hover {
    color: white;
    text-decoration: underline;
}
li #flags a {
    color: white;
    display: block;
    border: none;
    height: 24px;
    outline: none;
    padding: 2px 3px 0 3px;
}
li #flags img {
    box-shadow: 2px 2px 5px #1b74a9;
    border: none;
}
#flags table {
    border-collapse: collapse;
}
#flags tr, #flags td {
    padding: 0;
    margin: 0;
}
#flags tr:hover {
    background-color: #87c0e3;
}

#actions {
    background: transparent url('../images/actionbar_element_bg.png') repeat-x;
    overflow: hidden;
    margin-top: 20px;
    margin-left: 10px;
    width: 960px;
    height: 68px;
}
#current {
    background: transparent url('../images/actionbar_item_front.png') no-repeat top left;
    height: 68px;
    padding: 20px;
    float: left;
}
#currentPage {
    background: transparent url('../images/actionbar_item_endcap.png') no-repeat top left;
    height: 68px;
    padding: 15px;
    padding-left: 30px;
    float: left;
}

div.bounding {
    background-image: url('../images/page_bg_repeat.png');
    background-repeat: repeat-y;
    width: 1000px;
    margin: 0 auto;
    text-align: left;
}
div.content {
    min-height: 600px;
    height: 600px;
    height: 100%;
    margin-left: 10px;
    margin: 0 10px 10px 10px;
}
div.contentTop {
    background-image: url('../images/page_header.png');
    width: 1000px;
    height: 124px;
}
div.contentBottom {
    position: relative;
    background-image: url('../images/page_bg_bottom.png');
    width: 1000px;
    height: 24px;
}
div.about {
    position: relative;
    text-align: center;
    bottom: 5px;
}
div.contentBottom div.version {
    position: absolute;
    right: 10px;
    bottom: 13px;
    padding-right: 10px;
    color: #b2b2b2;
}
div.title_top {
    height: 25px;
    background-color: #c0c9d2;
    margin-bottom: 55px;
}
img.logo {
    margin-left: 22px;
}
div.logo img {
    display: block;
}

span.error, span.success {
    clear: both;
    background-color: #bf4949;
    color: white;
    display: block;
    padding: .2em .5em;
    margin-bottom: .5em;
}
span.success {
    background-color: white;
    padding: 0;
    margin: 5px 4px 0 0;
    text-align: right;
    color: #318200;
    position: absolute;
    right: 0;
}


a.tileView, a.listView, a.tileViewSel, a.listViewSel {
    background: transparent url('../images/button_tileview.png') no-repeat top right;
    display: inline-block;
    height: 35px;
    width: 43px;
}
/*a.tileView, a.tileViewSel {
    margin-left: 50px;
}*/
a.listView, a.listViewSel {
    background: transparent url('../images/button_listview.png') no-repeat top right;
}
a.tileView:hover, a.listView:hover {
    background-position: center right;
}
a.tileView:active, a.listView:active, a.tileViewSel, a.listViewSel {
    background-position: bottom right;
}

div.tileContent {
    height: 600px;
    height: auto;
    min-height: 600px;
    width: 953px;
    margin: 0 10px;
    border-left: #aeaeae solid 1px;
    border-right: #aeaeae solid 1px;
    padding: 5px 0 0 5px;
}
div.tilePadding {
    width: 1px;
    height: 280px;
    float: left;
}
div.tileContentTop {
    position: relative;
    background: transparent url('../images/content_box_top_left.png') no-repeat top left;
    height: 6px;
    width: 960px;
    margin: 10px 10px 0 10px;
}
div.tileContentTopRight {
    position: absolute;
    right: 0;
    background: transparent url('../images/content_box_top_right.png') no-repeat top left;
    height: 7px;
    width: 7px;
}
div.tileContentBottom {
    position: relative;
    background: transparent url('../images/tile_box_bottom_left.png') no-repeat top left;
    height: 8px;
    width: 960px;
    margin: 0 10px;    
}
div.tileContentBottomRight {
    position: absolute;
    right: 0;
    background: transparent url('../images/tile_box_bottom_right.png') no-repeat top left;
    height: 7px;
    width: 7px;    
}
div.tileContentRight {
    position: absolute;
    right: 1px;
    top: 0;
    border-right: #aeaeae solid 1px;
    width: 1px;
    height: 100%;
}


div.mainContent {
    height: 575px;
    height: auto;
    min-height: 575px;
    width: 700px;
    border-left: #aeaeae solid 1px;
    position: relative;
    background: transparent url('../images/content_box_bg.png') repeat-x bottom;
    padding: 5px 0 0 5px;
}
div.mainContentTop {
    position: relative;
    background: transparent url('../images/content_box_top_left.png') no-repeat top left;
    height: 6px;
    width: 705px;
    margin-top: 5px;
}
div.mainContentTopRight {
    position: absolute;
    right: 0;
    background: transparent url('../images/content_box_top_right.png') no-repeat top left;
    height: 7px;
    width: 7px;
}
div.mainContentBottom {
    position: relative;
    background: transparent url('../images/content_box_bottom_left.png') no-repeat top left;
    height: 8px;
    width: 705px;
}
div.mainContentBottomRight {
    position: absolute;
    right: 0;
    background: transparent url('../images/content_box_bottom_right.png') no-repeat top left;
    height: 7px;
    width: 7px;    
}
div.mainContentRight {
    position: absolute;
    right: 1px;
    top: 0;
    border-right: #aeaeae solid 1px;
    width: 1px;
    height: 100%;
}

div.mainContent h1 {
    font-size: 18px;
    padding: 0;
    margin: 0;
    color: #555555;
}
div.selectorContent h1 {
    font-size: 14px;
    padding: 0;
    margin: 0;
    color: #555555;    
    margin: 0 0 10px 0;
}

div.eula {
    width: 60%;
    margin-left: 10px;
    padding-bottom: 10px;
}
div.login {
    text-align: center;
    margin: 0 auto;
    width: 480px;
    color: #7e7e7e;
}
div.login h1 {
    font-size: 16px;
    padding: 0;
    color: #6c6c6c;    
    margin: 0 0 15px 5px;
    float: left;
}
div.login label {
    float: left;
    margin: 0 10px 0 25px;
}
div.login input {
    float: right;
    width: 160px; 
    margin: 0 0 10px 0;
}
div.login .checkbox {
    border: none;
    width: 16px;
    height: 16px;
    float: right;
    margin: 0 0 20px 0;
    padding: 0;
}
div.login br {
    clear: both;
}
div.login a {
    float: left;
    margin: 10px 0 0 15px;
}
div.login a {
    padding-left: 25px;
    padding-right: 20px;
}
div.login span.error {
    margin: 0 0 15px 0;
    padding: 0;
    color: red;
    background: none;
}
div.mainContentShort {
    height: 110px;
    height: auto;
    min-height: 110px;
    width: 475px;
    border-left: #aeaeae solid 1px;
    position: relative;
    background: transparent url('../images/content_box_short_bg.png') repeat-x bottom;
    padding: 5px 0 0 5px;
}
div.mainContentShortTop {
    position: relative;
    background: transparent url('../images/content_box_top_left.png') no-repeat top left;
    height: 6px;
    width: 480px;
    margin-top: 5px;
}
div.mainContentShortTopRight {
    position: absolute;
    right: 0;
    background: transparent url('../images/content_box_top_right.png') no-repeat top left;
    height: 7px;
    width: 7px;
}
div.mainContentShortBottom {
    position: relative;
    background: transparent url('../images/content_box_bottom_left.png') no-repeat top left;
    height: 8px;
    width: 480px;
}
div.mainContentShortBottomRight {
    position: absolute;
    right: 0;
    background: transparent url('../images/content_box_bottom_right.png') no-repeat top left;
    height: 7px;
    width: 7px;    
}
div.mainContentShortRight {
    position: absolute;
    right: 1px;
    top: 0;
    border-right: #aeaeae solid 1px;
    width: 1px;
    height: 100%;
}


div.subContent {
    height: 450px;
    height: auto;
    min-height: 450px;
    width: 645px;
    border-left: #aeaeae solid 1px;
    position: relative;
    background-color: white;
    padding: 5px 0 0 0;
}
div.subContentTop, div.subContentTopTabless {
    position: relative;
    background-color: white;
    border-left: #aeaeae solid 1px;
    border-top: #aeaeae solid 1px;
    height: 6px;
    width: 644px;
}
div.subContentTopTabless {
    background: transparent url('../images/subcontent_top_left.png') no-repeat top left;
    border: none;
    width: 645px;
    margin-top: 20px;
}
div.subContentTopRight {
    position: absolute;
    right: -7px;
    top: -1px;
    background: transparent url('../images/subcontent_top_right.png') no-repeat top left;
    height: 7px;
    width: 7px;
}
div.subContentTopTabless div.subContentTopRight {
    top: 0;
}
div.subContentBottom {
    position: relative;
    background: transparent url('../images/subcontent_bottom_left.png') no-repeat top left;
    height: 8px;
    width: 645px;
}
div.subContentBottomRight {
    position: absolute;
    right: -7px;
    background: transparent url('../images/subcontent_bottom_right.png') no-repeat top left;
    height: 7px;
    width: 7px;    
}
div.subContentRight {
    position: absolute;
    right: -8px;
    top: 0;
    background: transparent url('../images/subcontent_right.png') repeat-y top right;
    width: 9px;
    height: 100%;
}


div.selectorContent {
    z-index: 50;
    height: 575px;
    width: 245px;
    margin: 0 4px 0 10px;
    border-left: #aeaeae solid 1px;
    position: relative;
    background: transparent url('../images/content_box_bg.png') repeat-x bottom;
    padding: 5px 0 0 5px;
}
div.selectorContentTop {
    z-index: 50;
    position: relative;
    background: transparent url('../images/content_box_top_left.png') no-repeat top left;
    height: 6px;
    width: 250px;
    margin: 5px 4px 0 10px;
}
div.selectorContentTopRight {
    position: absolute;
    right: 0;
    background: transparent url('../images/content_box_top_right.png') no-repeat top left;
    height: 7px;
    width: 7px;
}
div.selectorContentBottom {
    position: relative;
    background: transparent url('../images/content_box_bottom_left.png') no-repeat top left;
    height: 8px;
    width: 250px;
    margin: 0 4px 0 10px;
}
div.selectorContentBottomRight {
    position: absolute;
    right: 0;
    background: transparent url('../images/content_box_bottom_right.png') no-repeat top left;
    height: 7px;
    width: 7px;    
}
div.selectorContentRight {
    position: absolute;
    right: 1px;
    top: 0;
    border-right: #aeaeae solid 1px;
    width: 1px;
    height: 100%;
}
div.selectorContent form {
    display: inline-block;
}
div.selectorContent form div {
    display: inline-block;
}

a.contentTabActive, a.contentTabInactive {
    cursor: pointer;
    z-index: 100;
    position: relative;
    background: transparent url('../images/content_box_tab_active_front.png') no-repeat top left;
    height: 39px;
    margin: 0 0 0 10px;
    font-size: 18px;
    display: inline-block;
    color: #6c6c6c;
    padding: 5px 0 0 10px;
    width: 100px;
    outline: none;
}
a.contentTabInactive {
    z-index: 10;
    display: inline-block;
    background: transparent url('../images/content_box_tab_inactive_front.png') no-repeat top left;
}
a.contentTabActive span, a.contentTabInactive span {
    position: absolute;
    background: transparent url('../images/content_box_tab_active_end.png') no-repeat top left;
    height: 44px;
    width: 7px;
    right: -7px;
    top: 0;
    display: inline-block;
}
a.contentTabInactive span {
    background: transparent url('../images/content_box_tab_inactive_end.png') no-repeat top left;
}
a.contentTabActive:hover, a.contentTabInactive:hover {
    text-decoration: underline;
    color: black;
}


a.subcontentTabActive, a.subcontentTabInactive {
    cursor: pointer;
    z-index: 100;
    position: relative;
    background: transparent url('../images/subcontent_tab_active_front.png') no-repeat top left;
    height: 26px;
    margin-right: 10px;
    font-size: 15px;
    display: inline-block;
    color: #6c6c6c;
    padding: 5px 5px 0 10px;
    top: 1px;
    margin-top: 20px;
    outline: none;
}
a.subcontentTabActive {
    /*cursor: default;*/
}
a.subcontentTabInactive {
    z-index: 10;
    display: inline-block;
    background: transparent url('../images/subcontent_tab_inactive_front.png') no-repeat top left;
    height: 25px;
    top: 2px;
}
a.subcontentTabActive span, a.subcontentTabInactive span {
    position: absolute;
    background: transparent url('../images/subcontent_tab_active_end.png') no-repeat top left;
    height: 31px;
    width: 9px;
    right: -9px;
    top: 0;
    display: inline-block;
}
a.subcontentTabInactive span {
    background: transparent url('../images/subcontent_tab_inactive_end.png') no-repeat top left;
    width: 5px;
    right: -5px;
    height: 30px;
}
/*a.subcontentTabActive:hover, */a.subcontentTabInactive:hover {
    text-decoration: underline;
    color: black;
}


div.form {
    position: relative;
    background-color: white;
    width: 360px;
    border-right: 1px solid #d4d4d4;
    text-align: center;
}
div.form label {
    text-align: left;
    color: #333333;
    margin-left: 10px;
    float: left;
    width: 135px;
}
div.g {
    width: 40px;
    height: 1px;
    float: right;
}

div.form input, div.form select, div.form textarea, div.form .checkbox, div.form .nondefaultcheckbox {
    float: right;
    margin: 0 4px 0 0;
    padding: 0;
}
div.form input, div.form textarea {
    width: 160px;
    padding-left: 4px;
}
div.form textarea, div.form2 textarea {
    font-family: verdana, sans-serif;
    font-size: 1em;
}
div.form2 textarea {
    margin: 0;
    padding: 1px;
}
div.form select {
    width: 166px;
    min-width: 166px;
}
div.form2 select {
    width: 300px;
    min-width: 300px;
    font-family: verdana, sans-serif;
    font-size: 1em;
    margin: 0;
    padding: 0;
}
div.form2 option {
    /*height: 1.4em;*/
}

div.form .checkbox, div.form .nondefaultcheckbox {
    width: 16px;
    height: 16px;
    border: none;
}
div.form div.checkboxContainer {
    float: right;
    width: 155px;
    padding-left: 5px;
    margin: 0 4px 0 0;
    text-align: left;
}

div.checkboxContainer table {
    border-collapse: collapse;
    border-spacing: 0;
}

div.form div.checkboxContainer label {
    float: none;
    margin: 0;
}
div.form div.checkboxContainer .checkbox {
    float: none;
}
div.form span.info {
    display: inline-block;
    width: 155px;
    float: right;
    margin: 0 4px 0 0;
    text-align: left;
    padding-left: 4px;
}
div.form br {
    clear: both;
}
div.form div.row0, div.form div.row1 {
    background-color: #ebebeb;
    padding: 1px 0;
}
div.form div.row1 {
    background-color: white;    
}
div.form a.buttonMedium, div.form a.buttonSmall, div.form2 a.buttonMedium, div.form2 a.buttonSmall {
    float: right;
    margin-right: 10px;
}
div.form a.buttonSmall {
    margin-top: 3px;
}
div.form hr, div.form2 hr {
    width: 310px;
    height: 1px;
    border: transparent none 0;
    background: transparent url("../images/form_separator.png") no-repeat top left;
    padding: 0;
    margin: 8px 0;
}
div.form div.separator {
    position: absolute;
    background: transparent url("../images/form_separator2.png") no-repeat bottom left;
    height: 100%;
    width: 1px;
    right: 26px;
    top: -16px;
}

.subContent .data {
    float: left;
    margin-left: 10px;
    color: #333333;
    width: 270px;
}
.subContent .data div.box, .subContent .data div.events {
    display: inline-block;
    font-size: 19px;
    color: #555555;
    border: 1px solid #aeaeae;
    width: 200px;
    text-align: center;
    margin: 2px 0 10px 20px;
}
.subContent .data div.box {
    margin-bottom: 2px;
}
.subContent .data div.events {
    font-size: 11px;
    text-align: left;
    width: 192px;
    padding: 4px;
}
.subContent .data div span.date, .subContent .data div a.text {
    display: inline-block;
    white-space: nowrap;
    color: #888888;
    margin-bottom: 3px;
    padding: 0;
}
.subContent .data div a.text {
    margin-left: 7px;
    color: #555555;
}
.subContent .data div a.text:hover {
    text-decoration: underline;
}
.subContent .data #mapDiv {
    display: none;
    width: 250px;
    height: 250px;
    margin: 0 0 0 7px;
    padding: 0;
    border: 1px solid #aeaeae;
}
div.tileContent #mapDiv {
    display: none;
    position: relative;
    border: 1px solid #aeaeae;
    z-index: 1;
    width: 468px;
    height: 259px;
    float: right;
    margin-right: 5px;
    margin: 1px 7px 2px 1px;
}
.olControlAttribution {
    top: 2px;
    right: 2px;
}
.olControlMousePosition {
    bottom: 2px;
    right: 2px;
}
.olControlPanZoom  {
    top: 20px;
    right: 5px;
}
.olPopupCloseBox {
    background: url("../images/close.png") no-repeat;
    cursor: pointer;
    width: 20px !important;
    height: 14px !important;
}


#unauthorized {
    display: none;
}

div.selectorContent select {
    color: #555555;
    width: 238px;
    min-width: 238px;
    margin-bottom: 5px;
}
div.selectorContent input {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;    
    box-sizing: border-box;
    color: #555555;
    width: 238px;
    min-width: 238px;
    margin-bottom: 5px;
}


a.buttonMedium {
    position: relative;
    background: transparent url('../images/button_medium_front.png') no-repeat top left;
    color: #222;
    display: inline-block;
    font-size: 12px;
    height: 24px;
    line-height: 24px;
    vertical-align: bottom;
    padding: 0 6px 0 13px;
    vertical-align: top;
    margin-right: 6px;
}
a.buttonMedium span {
    position: absolute;
    background: transparent url('../images/button_medium_end.png') no-repeat top right;
    display: inline-block;
    width: 6px;
    height: 24px;
    right: -6px;
    top: 0;
}


div.polesContainer {
    position: relative;
    background: transparent url('../images/actionbar_fadesideline.png') no-repeat top left;
    margin-left: 10px;
    width: 957px;
    min-height: 116px;
    height: 100%;
    padding: 5px 0 0 3px;
}
div.polesContainerSide {
    position: absolute;
    background: transparent url('../images/actionbar_fadesideline.png') no-repeat top right;
    top: 0;
    right: 0;
    width: 1px;
    height: 116px;
}

div.pb { /* pole bounding box */
    cursor: pointer;
}
/*div.pole, div.pole_inactive, div.pole_off, div.pole_error, div.pole_charging {*/
div.pole, div.poleHover, div.poleActive, a.pole, a.poleHover, a.poleActive {
    position: relative;
    display: block;
    width: 155px;
    height: 63px;
    background: transparent url('../images/button_node.png') no-repeat top left;
    overflow: hidden; 
    float: left;
    margin: 1px 2px 2px 1px;
}
div.poleHover, a.poleHover {
    background-position: 0px -63px;
}
div.poleActive, a.poleActive {
    background-position: 0px -126px;
}
h1.poleName {
    color: #666;
    text-align: center;
    font-size: 12px;    
    font-weight: normal;
    padding: 2px 0 0 0;
    margin: 0 0 0 5px;
    width: 143px;
    white-space: nowrap;
    overflow: hidden;

}
.poleStatus {
    vertical-align: middle;
    color: #333;
    text-align: center;
    font-size: 12px;
    margin-top: -1px;
}
.poleStatusLight {
    margin-left: 1px;
    padding-top: 1px;
    padding: 1px 0 0 0;
}

form.poleSelection {
    margin-right: 10px;
}
form.poleSelection label {
    font-size: 16px;
    margin: 0 5px 0 10px;
}
form.poleSelection select {
    margin-top: 4px;
}

form.connectorSelection select {
    width: auto;
    min-width: 0;
    margin-bottom: 2px;
}

form.languageSelection {
    position: absolute;
    right: 7px;
    top: 1px;
}
form.languageSelection label {
    font-size: 0.8em;
    margin: 2px 5px 0 0;
}
form.languageSelection select {
    font-size: 0.8em;
    width: auto;
    min-width: inherit;
}

hr.tileSeparator {
    width: 600px;
    height: 1px;
    border: transparent none 0;
    margin-top: 15px;
    margin-bottom: 15px;
    background: transparent url("../images/main_separator.png") no-repeat top left;
    background-color: #aeaeae;
}

div.polegroupSeparator {
    height: 14px;
    color: #9f9f9f;
    clear: left;
    margin: 1px 0 3px 2px;
    background: transparent url("../images/main_separator.png") no-repeat -300px 7px;
}

div.polegroupSeparator a, div.polegroupSeparator div {
    display: inline-block;
    color: #9f9f9f;
    background-color: white;
    padding-right: 5px;
}

div.polegroupSeparator a:hover {
    color: black;
}

div.pole_title, div.pole_title_error {
    white-space: nowrap;
    overflow: hidden;
    background-color: #809bb2;
    color: white;
    padding: 0.3em 0.9em;
}
div.pole_title_error {
    background-color: #b28080;
}
div.pole_content, div.pole_content_error {
    padding: 0.5em 0.9em 0 0.9em;
    border-left: 1px solid #809bb2;
    border-right: 1px solid #809bb2;
}
div.pole_content_error {
    border-left-color: #b28080;
    border-right-color: #b28080;
    background-color: #ffc5c5;
}
div.pole_bottom, div.pole_bottom_inactive, div.pole_bottom_off, div.pole_bottom_error, div.pole_bottom_charging {
    height: 24px;
    background: white url("../images/pole_bottom.gif") no-repeat bottom left;
    border-right: 1px solid #809bb2;
}
span.rate {
    position: relative;
    font-size: 18px;
    font-weight: bold;
    color: black;
    top: 0;
    left: 0;
}
div.rateBarBack {
    position: relative;
    width: 194px;
    vertical-align: middle;
    line-height: 20px;
    height: 20px;
    background-color: white;
    border: 1px solid #809bb2;
    padding: 1px;
    text-align: center;
}
div.rateBar {
    position: absolute;
    height: 20px;
    left: 1px;
    top: 1px;
}
div.pole_bottom_data {
    color: gray;
    margin-right: 10px;
    float: right;
}
div.pole_bottom_data span.value {
    display: inline-block;
    font-weight: bold;
    vertical-align: top;
    height: 17px;
}
div.pole_bottom_data img {
    cursor: pointer;
    margin-left: 5px;
    opacity: .6;
    /* IE 5-7 */
    filter: progid:DXImageTransform.Microsoft.Alpha(opacity=60);
    /* IE 8+ */
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
}
div.pole_bottom_data img:hover {
    opacity: 1;
    /* IE 5-7 */
    filter: progid:DXImageTransform.Microsoft.Alpha(opacity=100);
    /* IE 8+ */
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}



/* alternative pole colors */
div.pole_inactive, div.pole_bottom_inactive {
    background-color: #eeeeee;
}
div.pole_off, div.pole_bottom_off {
    background-color: #999999;
}
div.pole_error, div.pole_bottom_error {
    background-color: salmon;
    background-color: #ffc5c5;
}
div.pole_bottom_error {
    border-color: #b28080;
    background: #ffc5c5 url("../images/pole_bottom_red.gif") no-repeat bottom left;
}
div.pole_charging, div.pole_bottom_charging {
    background-color: #deedf5;
}


div.stateBarBack {
    margin-top: 0.3em;
    width: 194px;
    height: 20px;
    background-color: white;
    border: 1px solid #809bb2;
    padding: 1px;
}
div.stateBarCharging, div.stateBarFree {
    color: white;
    font-size: 1em;
    font-weight: bold;
    text-align: center;
    vertical-align: middle;
    line-height: 20px;
    height: 20px;
}
div.stateBarCharging {
    background-color: black;
}
div.stateBarFree {
    background-color: gray;
}
div.stateBarUnknown {
    background-color: gray;
}
span.stateBarText {
    vertical-align: middle;
}


.barIdl, .barErr, .barCha {
    height: 20px;
    float: left;
}
.barErr {
    background: #ffc5c5 url("../images/bar_error.png") no-repeat top right;
}
.barCha {
    background: #deedf5 url("../images/bar_charging.png") no-repeat top right;

}
.barIdl {
    background-color: white;
}

/* TODO: delete? */
#poleInfo {
    position: absolute;
    top: 0px;
    left: 0px;
}
#poleMenu {
    display: none;
    position: absolute;
    width: 153px;
    height: 300px;
    top: 0px;
    left: 0px;
    overflow: hidden;
    overflow: visible;
    z-index: 10;
}
div.poleMenu {
    background-color: #e1e1e1;
    margin-top: -300px;
    width: 153px;
    height: 290px;
    background: transparent url("../images/pole_menu_bg.png") repeat-y top left;
    text-align: center;
}
div.poleMenuTop {
    width: 155px;
    height: 5px;
    background: transparent url("../images/pole_menu_top.png") no-repeat top left;
}
div.poleMenuBottom {
    width: 153px;
    height: 5px;
    background: transparent url("../images/pole_menu_bottom.png") no-repeat top left;
}
div.poleMenu .failure, div.poleMenu .warning {
    position: relative;
    background: transparent url("../images/pole_menu_warning_bg.png") repeat-x;
    color: black;
    margin: 0 1px;
    padding: 1px 0;
    width: 151px;
    height: 19px;
}
div.poleMenu .failure {
    color: red;
}
div.poleMenu .events {
    font-size: 11px;
    background-color: white;
    width: 147px;
    min-height: 113px;
    height: auto;
    margin: 1px;
    padding: 2px 2px 10px 2px;
}
div.poleMenu .events span.date, div.poleMenu .events span.text {
    display: inline-block;
    white-space: nowrap;
    color: #555555;
    font-size: 11px;
    line-height: 12px;
}
div.poleMenu .events span.date {
    float: left;
}
div.poleMenu .events br {
    clear: both;
}
div.poleMenu .events span.text {
    float: left;
    margin-bottom: 6px;
    margin: 0 0 5px 5px;
    color: #333333;
}
div.poleMenu .failure img, div.poleMenu .warning img {
    position: absolute;
    left: 2px;
    top: 4px;
}

div.poleMenu hr {
    width: 100%;
    height: 2px;
    border: transparent none 0;
    background: transparent url("../images/pole_menu_separator.png") no-repeat top left;
    margin: 0;
    padding: 0;
}
#allowCharging {
    background: transparent url("../images/pole_menu_button_allowcharging.png") no-repeat top left;
}
#stopCharging {
    background: transparent url("../images/pole_menu_button_stopcharging.png") no-repeat top left;
}
a.poleMenuButton {
    outline: none;
    display: inline-block;
    width: 43px;
    height: 41px;
    margin: 0 11px 2px 11px;
}
a.poleMenuButton #dots {
    display: none;
    position: absolute;
    top: 33px;
    left: 50px;
}
#allowCharging:hover, #stopCharging:hover {
    background-position: center left;
}
#allowCharging:active, #stopCharging:active {
    outline: none;
    background-position: bottom left;
}
div.poleMenuConnectors {
    display: none;
    position: absolute;
    top: 0;
    left: -15px;
    background-color: #f7f7f7;
    border: 1px solid #d1d1d1;
    border-radius: 6px;
    box-shadow: 2px 2px 3px rgba(0, 0, 0, .25);
    padding: 8px 5px 6px 15px;
}
div.poleMenuConnectors a.connectorButton {
    outline: none;
    position: relative;
    cursor: pointer;
    width: 50px;
    height: 50px;
    display: inline-block;

    border: 1px solid #d0d0d0;
    border-radius: 6px;

    margin-right: 10px;
    background: linear-gradient(#ffffff, #ebebeb);

    vertical-align: middle;
    text-align: center;    
}
div.poleMenuConnectors a.connectorButton img {
    opacity: .75;
    margin: 0;
    padding: 0;
    border: none;
    position: relative;
    top: 50%;
    transform: translateY(-50%);    
}
div.poleMenuConnectors a.connectorButton:hover {
    background: white;
    background-color: white;
}
div.poleMenuConnectors a.connectorButton:active {
    outline: none;
    width: 48px;
    height: 48px;
    left: 1px;
    margin-right: 12px;
}

div.poleInfo {
    background-color: white;
}

div.panelTitle {
    background: #809bb2 url("../images/grad_panel_title.png") repeat-y;
    cursor: move;
    white-space: nowrap;
    overflow: hidden;
    color: white;
    padding: 4px 9px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}
div.panelContent {
    padding: .5em;
}
div.poleContainer {
    position: absolute;
    background-color: white;
    border: 1px solid black;
    border: 1px solid rgba(0, 0, 0, .75);

    margin: 0;
    padding: 0;

    border-radius: 5px;

    box-shadow: 1px 1px 12px rgba(0, 0, 0, .5);
    -moz-box-shadow: 1px 1px 12px rgba(0, 0, 0, .75);
}

#incLegend, #outLegend {
    width: 10px;
    height: 10px;
    display: inline-block;
    border: 1px solid black;
    margin: 0 4px 0 10px;
}
#inputMessages, #ocppMessages {
    font-family: consolas, monospace;
    height: 300px;
    overflow: auto;
    overflow-x: hidden;
    display: inline-block;
    width: 100%;
}
#ocppMessages {
    height: 600px;
}
#outputMessages {
    font-family: consolas, monospace;
    height: 30px;
}
#output {
    font-family: consolas, monospace;
    font-size: 14px;
    line-height: 16px;
    height: 64px;
}
.msgKey, .msgValue, .msgRed, .msgGreen, .msgGray {
    color: black;
}
.msgKey {
    color: black;
}
.msgValue {
    color: #3d74ac;
}
.msgRed {
    color: red;
}
.msgGreen {
    color: green;
}
.msgExtra {
    color: black;
}
table.messages {
    border-collapse: collapse;
    border-spacing: 0;
}
table.messages td {
    padding: .2em .4em;
    border: 1px solid #e2e8ee;
}
table.messages tr.msgIncoming td, table.messages tr.msgOutgoing td, table.messages tr.msgIncomingTitle td, table.messages tr.msgOutgoingTitle td {
    border: 1px solid black;
}
table.messages td.last {
    padding-right: 2em;
    width: 100%;
}
tr.msgLine {
    background-color: #f1f4f7;
}
tr.msgIncomingTitle {
    background-color: #ebe8cb;
}
tr.msgOutgoingTitle {
    background-color: #cbe5eb;
}
tr.msgIncoming, #incLegend {
    background-color: #f7f4d6;
}
tr.msgOutgoing, #outLegend {
    background-color: #d6f1f7;
}
table.messages tr {
    padding-left: .5em;
    padding-right: .5em;
}
table.messages tr td.date {
    white-space: nowrap;
}



a.close {
    position: absolute;
    top: 4px;
    right: 4px;
}
a.close img {
    border: none;
}

/* FORMS */

form {
    margin: 0;
}

input.error {
    border-color: #bf4949;
    border-width: 2px;
}

span.label {
    display: inline-block;
    width: 9em;
}
#frmPolegroup div.def__ault {
    border: 1px solid #8eabbf;
    padding: 0.2em;
    margin: .5em 0 0 0;
}
fieldset {
    border: 1px solid #8eabbf;
    padding: .5em;
    margin: .5em 0 0 0;
}
legend {
    color: #8eabbf;
}
div.arrows {
    float: left;
    margin-top: 6em;
    margin: 6em .2em 0 .2em;
    margin: 6em 0 0 .2em; /* right is in button */
}
form.arrow {
    display: block;
    margin: 0;
    padding: 0;
    margin-top: .2em;
}
select.client {
    width: 20em;
    min-width: 20em;
}
#frmPole .nondefault, #frmPole .nondefaultcheckbox {
    color: red;
}

/* DATA */

table.data {
    border-collapse: collapse;
    border-spacing: 0;
    font-size: 0.9em;
}
table.data td {
    padding: 0.3em 0.3em 0.3em 0.3em;
    margin: 0;
}
tr.dl {
    background-color: #f7fbff;
}
tr.dd {
    background-color: #edf6ff;
}
tr.dle {
    color: #aa0000;
    background-color: #fff7f7;
}
tr.dde {
    color: #aa0000;
    background-color: #ffeded;
}
table.data a.edit {
    float: right;
}

table.data a.plus, table.data a.minus {
    display: block;
    float: left;
    width: 9px;
    height: 9px;
    margin: 0.15em 0.3em 0 0;
    margin: 0;
    overflow: hidden;
    background: white url("../images/a_plus.png") no-repeat top left;
}
table.data a.minus {
    background: white url("../images/a_minus.png") no-repeat top left;
}

div.logbuttons {
    position: relative;
    height: 40px;
    width: 190px;
}
a.log1, a.log2, a.log3, a.log4, a.log5, a.log6, a.log1sel, a.log2sel, a.log3sel, a.log4sel, a.log5sel, a.log6sel {
    text-decoration: none;
    left: 10px;
    position: absolute;
    z-index: 5;
    width: 34px;
    height: 30px;
    top: 5px;
}
a.log1sel, a.log2sel, a.log3sel, a.log4sel, a.log5sel, a.log6sel {
    z-index: 15;
    opacity: .75;
    /* IE 5-7 */
    filter: progid:DXImageTransform.Microsoft.Alpha(opacity=75);
    /* IE 8+ */
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=75)";
    /*padding: 1px 0 0 1px;*/
}
a.log1sel:hover, a.log2sel:hover, a.log3sel:hover, a.log4sel:hover, a.log5sel:hover, a.log6sel:hover {
    padding: 1px 0 0 1px;
}
a.log2, a.log2sel {
    left: 44px;
}
a.log3, a.log3sel {
    left: 78px;
}
a.log4, a.log4sel {
    left: 112px;
}
a.log5, a.log5sel {
    left: 146px;
}
a.log6, a.log6sel {
    left: 180px;
}
a.log1:hover, a.log2:hover, a.log3:hover, a.log4:hover, a.log5:hover, a.log6:hover {
    z-index: 15;
    opacity: .75;
    /* IE 5-7 */
    filter: progid:DXImageTransform.Microsoft.Alpha(opacity=75);
    /* IE 8+ */
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=75)";
    padding: 1px 0 0 1px;
}
div.logbuttons a img {
    border: none;
}
div.log1, div.log2, div.log3, div.log4, div.log5, div.log6 {
    position: absolute;
    background-color: blue;
    left: 11px;
    top: 6px;
    z-index: 1;
    width: 31px;
    height: 27px;
}
div.log2 {
    background-color: red;
    left: 45px;
}
div.log3 {
    background-color: green;
    left: 79px;
}
div.log4 {
    background-color: yellow;
    left: 113px;
}
div.log5 {
    background-color: orange;
    left: 147px;
}
div.log6 {
    background-color: blue;
    left: 181px;
}

div.loglist {
    padding: .5em;
}
div.loglist div span.date {
    font-weight: bold;
    float:left;
    margin-right: 5px;
}
/* log entry */
div.le1, div.le2, div.le3, div.le4, div.le5, div.le6 {
    position: relative;
    background-color: #e6ebfb;
    border: 1px solid #8eabbf;
    border: 1px solid rgba(0, 0, 0, .30);

    margin-bottom: 4px;
    padding: .4em .4em .4em .9em;

    border-radius: 5px;

    box-shadow: 1px 1px 3px #8eabbf;
    box-shadow: 0 0 3px #8eabbf, inset 1px 1px 1px #ffffff, inset -1px -1px 1px #000000;
    box-shadow: 0 0 3px #8eabbf, inset 1px 1px 1px #ffffff, inset -1px -1px 1px rgba(0, 0, 0, .5);
    box-shadow: inset 1px 1px 1px #ffffff, inset -1px -1px 1px rgba(0, 0, 0, .5);
    -moz-box-shadow: 0 0 3px #8eabbf, inset 1px 1px 1px #ffffff, inset -1px -1px 1px rgba(0, 0, 0, .5);
    -moz-box-shadow: inset 1px 1px 1px #ffffff, inset -1px -1px 1px rgba(0, 0, 0, .5);

}

/* ALERT */
div.le2 {
    background-color: #f6e0e0;
}
/* LOG */
div.le3 {
    background-color: #d2e8d2;
}
/* PF */
div.le4 {
    background-color: #ffffe3;
}
/* RCD */
div.le5 {
    background-color: #fdf3e1;
}
div.le1 div.icon, div.le2 div.icon, div.le3 div.icon, div.le4 div.icon, div.le5 div.icon {
    float: right;
    width: 32px;
    height: 28px;
    opacity: .25;
    /* IE 5-7 */
    filter: progid:DXImageTransform.Microsoft.Alpha(opacity=25);
    /* IE 8+ */
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=25)";
}
div.le1 div.icon {
    background: white url("../images/icon_chg.png") no-repeat top right;
}
div.le2 div.icon {
    background: white url("../images/icon_err.png") no-repeat top right;
}
div.le3 div.icon {
    background: white url("../images/icon_log.png") no-repeat top right;
}
div.le4 div.icon {
    background: white url("../images/icon_pwr.png") no-repeat top right;
}
div.le5 div.icon {
    background: white url("../images/icon_rcd.png") no-repeat top right;
}
div.logCropped, div.logFull {
    margin: 0;
    padding: 0;
    white-space: nowrap;
    display: inline-block;
    overflow: hidden;
    width: 55em;
    max-width: 55em;
    width: 540px;
    max-width: 540px;
    background-color: inherit;
}
div.logFull {
    overflow: auto;
    white-space: normal;
}
a.more {
    display: block;
    font-weight: bold;
    border: 1px solid #8eabbf;
    border: 1px solid rgba(0, 0, 0, .30);
    border-radius: 3px;
    color: rgba(0, 0, 0, .30);
    padding: 0 4px;
    background-color: inherit;
    position: absolute;
    right: 45px;
    top: .4em;
    box-shadow: 1px 1px 3px #999999;
    -moz-box-shadow: 1px 1px 3px #999999;
    -webkit-box-shadow: 1px 1px 3px #999999;

}
a.more:hover {
    margin-top: 1px;
    right: 44px;
    background-color: #edf7ed;
    box-shadow: none;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
}
span.cause {
    float: right;
    margin-right: 1em;
}
span.denied {
    color: red;
}

/* control panel, temp? */
div.cPButtons {
    float: left;
    margin-left: 5px;
}
div.cPButtons a.buttonSmall {
    margin-bottom: 2px;
}

#update0, #update1, #update2 {
    /*margin-top: 5px;*/
    margin-left: 10px;
}
table.server {

}
table.server th {
    font-weight: bold;
    text-align: left;
}
table.server .unknown, table.server .ok, table.server .error {
    padding: 2px 7px;
    border: 1px solid rgba(0, 0, 0, .30);
    border-radius: 5px;    
}
table.server .unknown {
    color: gray;
}
table.server .ok {
    background-color: #51c965;
    color: green;
    color: white;
}
table.server .error {
    background-color: #c95151;
    color: red;
    color: white;
}