body {
    scrollbar-face-color: #01528A;
    scrollbar-base-color: #B0BCD6;
    scrollbar-3dlight-color: #B0BCD6;
    scrollbar-highlight-color: #B0BCD6;
    scrollbar-track-color: #A0ACD0;
    scrollbar-arrow-color: #B0BCD6;
    scrollbar-shadow-color: #B0BCD6;
    scrollbar-dark-shadow-color: black; #B0BCD6;
}

.dropdown-menu {
  font-size: inherit;
}

.dropdown-submenu {
  border-top: solid 1px;
  position: relative;
}

.dropdown-submenu .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -1px;
}

.dropdown-menu a {
  cursor: pointer;
}

.dropdown-menu a span {
  float: right;
}

.ui-dialog button,
.ui-dialog button span {
  height: inherit;
}

.ui-dialog label {
  margin:          0px 10px;
}

.ui-dialog tr.error > th {
  color:          #DD0000;
}

.ui-dialog input.error,
.ui-dialog select.error {
  background-color:          #FFF0F0;
}

.ui-dialog table tr * {
  padding: 1px 7px;
}

.ui-dialog table tr td * {
  padding: 1px 3px;
}

.ui-dialog table tr div {
  padding: 10px 5px;
}

#dialog-import tr.coordinates input {
  width: 77px;
}

#dialog-import tr.coordinates th {
  padding-top: 7px;
}

/***
 * Conflict workarounds.
 */

/* glyph-icon buttons in bootstrap file input. */
div.file-input .input-group-btn button {
  font-size: 14px;
  height: inherit;
  margin: inherit;
}

.input-group-btn button span,
button.ui-button span {
  display: inherit;
  padding-left: 0px;
  line-height: inherit;
  background-color: inherit;
}

.input-group-btn button span {
  height: inherit;
  margin: inherit;
  border-radius: inherit;
}

/* Tab labels */
table.tabs,
table.tabs * {
  -webkit-box-sizing: initial;
  box-sizing: initial;
  text-align: center;
}

table.tabs div.form * {
  text-align: initial;
}

table.tabs div.label {
  width: 77px;
  display: inline-block;
}

*.label {
  padding: initial;
  display: inherit;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  vertical-align: inherit;
  text-align: inherit;
  white-space: inherit;
  border-radius: inherit;
  line-height: inherit;
}

table.tabs .asset div {
  overflow-wrap: break-word;
  -ms-word-wrap: break-word;
}
  
/***
 * Custom scrollbar
 */

/* Let's get this party started */
::-webkit-scrollbar {
    width: 12px;
}

/* Track */
::-webkit-scrollbar-track {
    background: url('/gfx/scrollbar.png') center 0 repeat-y;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    width: 2px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    -webkit-border-radius: 10px;
    border-radius: 10px;
    background: rgba(1,82,138,1); 
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5); 
}

  html {
    height:  100%;
    margin:  0px;
    padding: 0px;
  }

  body {
  #  background:                 url(/gfx/background_main.gif) repeat 0 0;
    height:                     100%;
    margin:                     0px;
    padding:                    0px;

/*
    font-family:                Sans-Serif, cursive;

font-family: 'Yantramanav', sans-serif;
font-family: 'Khula', sans-serif;
font-family: 'Signika Negative', sans-serif;
font-family: 'Asap', sans-serif;
font-family: 'Archivo Narrow', sans-serif;
font-family: 'Nunito', sans-serif;
font-family: 'Titillium Web', sans-serif;
font-family: 'Ubuntu', sans-serif;
font-family: 'Droid Sans', sans-serif;
font-family: 'Source Sans Pro', sans-serif;
font-family: 'Roboto Condensed', sans-serif;
font-family: 'Roboto', sans-serif;

font-family: 'Source Code Pro', ;
font-family: 'Roboto Mono', ;
font-family: 'Fira Mono', ;

font-family: 'Droid Serif', serif;
font-family: 'PT Serif', serif;
font-family: 'Noto Serif', serif;
font-family: 'Tinos', serif;
font-family: 'Amiri', serif;
font-family: 'Glegoo', serif;
font-family: 'Source Serif Pro', serif;
font-family: 'Judson', serif;

font-family: 'Play', sans-serif;
font-family: 'Lekton', sans-serif;

font-family: 'Jaldi', sans-serif;
font-family: 'Martel Sans', sans-serif;
font-family: 'Biryani', sans-serif;
font-family: 'Noto Sans', sans-serif;
font-family: 'Open Sans', sans-serif;
font-family: 'Khula', sans-serif;
font-family: 'Arimo', sans-serif;
font-family: 'Lato', sans-serif;
font-family: 'Cardo', serif;

font-family: 'Monda', sans-serif;
    font-family: 'Roboto Slab', serif;
    font-family: 'Merriweather', serif;


    font-family: 'Libre Baskerville', serif;
    font-family: 'Crimson Text', serif;
    font-family: 'Quattrocento', serif;
font-family: 'Hind', sans-serif;
font-family: 'Exo 2', sans-serif;
font-family: 'Merriweather Sans', sans-serif;
font-family: 'Work Sans', sans-serif;
font-family: 'Sarala', sans-serif;
font-family: 'Cambay', sans-serif;
font-family: 'Hind Siliguri', sans-serif;
*/


    font-family: 'Monda', sans-serif;
    font-size:                  11px;
    line-height:                12px;
    /*
    font-size:                  12px;
    */
    text-decoration:            none;

/*
    scrollbar-face-color:       #666666;
    scrollbar-track-color:      #999999;
    scrollbar-arrow-color:      #CCCCCC;
    scrollbar-3dlight-color:    #CCCCCC;
    scrollbar-shadow-color:     #333333;
    scrollbar-highlight-color:  #999999;
    scrollbar-darkshadow-color: #333333;
*/

  }

  a:link, a:visited, a:hover, a:active {
    background-color: transparent;
    color:            #000000;
  }

  table,
  tr,
  td {
    border-style:  none;
    border-spacing:  0px;
    border-width:  0px;
    margin:  0px;
    padding: 0px;
  }

  /*
  table#main,
  table#main > tbody > tr,
  table#main > tbody > tr >td
  {
    border: solid 1px red;
  }
  */

  select {
      font-family: Sans-Serif;
      font-size: 11px;
      width: 206px;
    visibility: visible;
    -webkit-appearance: menulist-text;
  }

  img {
    border:  none 1px;
    margin:  0px;
    padding: 0px;
  }

  div#templates {
    display:     none;
  }

  div#temp {
    display:     none;
  }

  table#main {
    margin: auto;
    /*
    height: 100%;
    height: 400px;
    border:      solid 1px red;
    */
  }

  table#main.wait * {
    cursor:     wait
  }

  table#main td.columnspacer {
    width: 5px;
  }

  table#main td.rowspacer {
    line-height: 5px;
  }

  div.loading {
    background-color: #FFFFFF;
    border:           ridge 3px #FFFFE1;
    display:          block;
    font-weight:      bold;
    text-align:       center;
    width:            210px;
    height:           70px;
    line-height:      70px;
    margin:           auto;
  }

/*
* Header
*/
  /*
  table#main tr#header td.middle {
    # background: url(/gfx/background_favourites_middle.gif) repeat-x 0 0;
    width:      100%;
  }

  table#main tr#header td.middle table {
    height:     18px;
    width:      100%;
  }

  table#main tr#header td.middle table td.banners {
    text-align: center;
    width:      100%;
  }

  table#main tr#header td.middle table td.banners table {
    margin:     auto;
    text-align: center;
    width:      1px;
  }
  */

/*
* Button
*/
  button {
    cursor:              pointer;
    border:              none 1px red;
    background:          none;
    padding:             0px;
    margin:              5px 5px;
    width:               auto;
    overflow:            visible;
    text-align:          center;
    white-space:         nowrap;
    height:              18px;
    line-height:         18px;
    display:             inline;
  }

  button span {
    display:             block;
    height:              18px;
    line-height:         18px;
    margin:              0;
    padding-left:        20px;

    background-color: #01528A;
    border-radius: 7px;
  }

  button span span {
    background-position: 100% 0;
    padding-left:        0px;
    padding-right:       20px;
    font-size:           11px;
    font-weight: bold;
    color: #FFFFFF;
  }

/*
* Login
*/
  form#login {
    background: url(/gfx/logo.polaris.large.jpg) no-repeat top center;
    width:      800px;
    height:     444px;

    position:   absolute;
    top:        0;
    bottom:     0;
    left:       0;
    right:      0;

    margin:     auto;
    vertical-align: bottom;
  }

  form#login div#info {
    position:     relative;
    top:          52%;

    padding-left: 70px;
    line-height:  17px;
    font-size:    14px;
    font-weight:  bold;

    vertical-align: bottom;
  }

  form#login div#info p {
    margin: 5px;
  }

  form#login div#data {
    margin: 325px auto auto auto;
    width:  495px;
  }

  form#login label {
    font-weight: bolder;
  }

  form#login input {
    margin-right: 20px;
    width: 120px;
  }

  form#login button {
    margin-right: 0px;
  }

  /*
  div.center {
    position:       absolute;
    top:            50%;
    width:          100%;
    height:         100%;
    margin:         auto;
    vertical-align: middle;
  }

  table#login {
    background: url(/gfx/background_login.gif) no-repeat 0 0;
    background: url(/gfx/logo.4.1.alpha.png) no-repeat 0 0;
    width:      630px;
    height:     350px;
    margin: auto;
    vertical-align: center;
  }

  table#login td.logo {
    height:     185px;
  }

  table#login td.link
  {
    padding-left: 20px;
    line-height:  17px;
    font-size:    14px;
    font-weight:  bold;
    height:       30px;
  }

  table#login td.spacer {
    width:       85px;
  }

  table#login td.label {
    padding:     0px 5px 0px 13px;
    width:       1px;
    white-space: nowrap;
  }

  table#login input {
    width:      100px;
  }

  table#login button {
    margin-right: 45px;
  }
  */

/*
* Calendar
    width: 170px;
*/
  div.calendar iframe {
    clear: none;
    float: none;
    position: absolute;
    background-color: #F3F3F3;
    top: 0px;
    left: 0px;
    width: 30px;
    height: 130px;
    border-style: none;
    border-width: 0px;
    display: none;
    z-index: 999;
  }

  div.calendar div.element {
    clear: both;
    float: none;
    margin: 0px;
  }

  div.calendar table {
    vertical-align: center;
    background-color: #F3F3F3;
    border:           1px solid black;
    clear: both;
    display: block;
    display: none;
    position: absolute;
    z-index: 1000;
    width: auto;
    height: auto;
  }

  div.calendar table table {
    border: none;
    display: block;
    position: relative;
  }

  div.calendar div,
  div.calendar td {
    font-family:    Arial;
    font-size:      12px;
    font-weight:    normal;
    text-align:     center;
    cursor:         pointer;
  }

  div.calendar div {
    padding: 2px 5px;
    margin: 3px;
    font-weight: bold;
  }

  div.calendar td.year,
  div.calendar td.month,
  div.calendar tr.days td.day {
    cursor:      default;
  }

  div.calendar td table {
    padding: 3px;
  }

  div.calendar td.no,
  div.calendar tr.days td.day {
    padding:     1px 1px;
    font-weight: bold;
  }

  div.calendar td.year,
  div.calendar td.month,
  div.calendar td.previous,
  div.calendar td.next {
    font-weight: bold;
    padding:     3px 3px;
  }

  div.calendar td.previous,
  div.calendar td.next {
    width:     1px;
  }


  div.tabform_map div.calendar {
    margin-top:       5px;
  }

  div.tabform_map div.calendar div.element {
    background-color: #F3F3F3;
    border:           1px solid black;
  }



  div.tabform_lrit table#result table {
    display: none;
  }

  div.tabform_lrit iframe {
    margin:           30px;
  }

  div.tabform_lrit div.error {
    clear:            both;
    margin:           30px 70px;
  }

  div.tabform_lrit div.error > div {
    clear: both;
  }

  div.tabform_lrit div.error div.property {
    margin-right: 10px;
    width:        100px;
  }

  div.tabform_lrit div.error div.property div {
    float: right;
  }

  div.tabform_lrit div.error div.error  {
    clear: none;
    margin: 0px;
  }

  div.tabform_lrit iframe {
    clear: both;
    float: left;
    width: 190mm;
    height: 285mm;
    background-color: white;
  }

  div#dialog-leso div.leso {
    display: none;
  }

/*
* Calendar
*/
  div.location {
    position:         absolute;
    display:          none;
    margin-left: 20px;
    margin-top: -10px;
  }

  div.location div {
    /*
    padding: 2px 5px;
    margin: 3px;
    */
    font-weight: bold;
  }



  div.options {
    background-color: #F3F3F3;
    border:           1px solid black;
    position:         absolute;
    display:          block;
    margin-top:       5px;
  }

  div.options div.header {
    text-align: center;
    font-size:  12px;
    margin: 3px;
    cursor:         pointer;
  }

  div.options table {
    margin: 3px;
    display: none;
  }

  div.options table table {
    display: block;
  }

  div.options tr.group td {
    padding-top: 5px;
  }

  div.options tr.info table td.sticky,
  div.options tr.info table td.popup {
    text-align: center;
  }

  div.options tr.info tr.group td.label {
    padding-left: 0px;
  }

  div.options tr td.label {
    padding-left: 10px;
  }

  div.options td input {
    width: auto;
  }

  div.options div {
    /*
    padding: 2px 5px;
    margin: 3px;
    */
    font-weight: bold;
  }

/*
* Frame
  td.frame td {
    border: 1px solid red;
  }
*/

/*
  td.frame tr.top td.left {
    background:  url(/gfx/border_top_left.png) repeat-X 0 0;
  }

  td.frame tr.top td.middle {
    background:  url(/gfx/border_top_middle.png) repeat-X 0 0;
  }

  td.frame tr.top td.right {
    background:  url(/gfx/border_top_right.png) repeat-X 0 0;
  }

  td.frame tr.middle td.left {
    background:  url(/gfx/border_left.png) repeat-y 0 0;
  }

  td.frame tr.middle td.right {
    background:  url(/gfx/border_right.png) repeat-y 0 0;
  }

  td.frame tr.bottom td.left {
    background:  url(/gfx/border_bottom_left.png) repeat-X 0 0;
  }

  td.frame tr.bottom td.middle {
    background:  url(/gfx/border_bottom_middle.png) repeat-X 0 0;
  }

  td.frame tr.bottom td.right {
    background:  url(/gfx/border_bottom_right.png) repeat-X 0 0;
  }

  td.frame tr.top td.middle div {
    font-size:   1px;
    line-height: 1px;
    float:       right;
    height:      3px;
    width:       10px;
  }

  td.frame tr.top td {
    height:      3px;
  }

  td.frame td.left img {
    width:       3px;
    height:      1px;
  }

  td.frame td.right img {
    width:       3px;
    height:      1px;
  }

  td.frame td.content {
    #background:  url(/gfx/background.png) repeat 0 0;
    height:      100%;
    width:       100%;
  }

  td.frame td.right {
    width:       3px;
  }

  td.frame tr.bottom td {
    height:      3px;
  }
*/

  td.frame tr.top td.middle div {
    font-size:   1px;
    line-height: 1px;
    float:       right;
    height:      3px;
    width:       10px;
  }

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

/*
* Logo frame
*/
  td.frame td.logo {
    height:      1px;
    text-align:  center;
    line-height: 1px;
    margin:      auto;
  }

  td.frame td.logo img {
    vertical-align: middle;
    margin-bottom:  10px;
  }

/*
* Objectbrowser frame
*/
  td.objectbrowser {
    vertical-align: text-top;
    width:          17%;
    height:         100%;
  }

  td.objectbrowser table {
    width:          100%;
    height:         100%;
  }

  td.objectbrowser td.content {
    vertical-align: top;
  }

/*
* IO frame
*/
  table#main {
    height:     99.5%;
  }

  table#main,
  td#io table.tabs {
    width:      100%;
  }

  td#io,
  td#io table.io {
    height:     100%;
  }

  table#main td.header,
  table#main td.objectbrowser.frame,
  table.tabs td.tabforms {
    background-color: #B0BCD6;
    border-radius: 12px;
    padding: 7px;
  }

  /*
  table#main td.objectbrowser.frame > table {
    border-radius: 12px;
    background-color: #FFFFFF;
  }
  */


  /*
  table#main > tbody > tr > td.columnspacer {
    border: none;
  }

  td#io,
  td#io table {
    width:      100%;
    height:     100%;
  }

  */
  td#io div.object {
    height: 100%;
  }

  td table {
    width:      100%;
    height:     100%;
  }

  td#io td.content {
    vertical-align: top;
    width:          100%;
  }

  td#io div#loading {
    display:          none;
  }

  /*
  td#io.map div {
    height:     100%;
    width:      100%;
    display:    block;
  }

  td#io.map div.tabs div.tabs,
  td#io.map div.tabs div.tabs div {
    height: auto;
    width: auto;
  }
  */

  td#io.loading td.content {
    vertical-align: middle;
  }

  td#io.loading div.object {
    display:   none;
  }
  /*
  td#io.loading div#map,
  td#io.map div#form,
  td#io.map div#loading {
    display:   none;
  }
  */

  td#io.loading div#loading {
    display:   block;
  }

  td#io tr.top td.middle div {
    display:   none;
  }

  td#io td.left {
    width:     3px;
  }

  td#io tr.top td {
  }

  td#io tr.middle td.left img {
    width:       3px;
  }


/*
* Objectbrowser
    font-size:      12px;
*/
  div#objectbrowser {
    display:        block;
    height:         100%;
    overflow-x:       hidden;
    overflow-y:       auto;
  }

  div#objectbrowser div {
    height:         auto;
    margin-left:    7px;
    margin-top:     1px;
    overflow:       none;
    white-space:    nowrap;
  }

  div#objectbrowser img {
    background:     url(/gfx/icon_folder_enabled.gif) 0 0;
    border:         0px;
    width:          13px;
    height:         10px;
    margin-top:     0px;
    cursor:         pointer;
    vertical-align: -1px;
  }

  div#objectbrowser img.highlighted {
    background:     url(/gfx/icon_folder_highlighted.gif) 0 0;
  }

  div#objectbrowser span {
    cursor:         pointer;
    margin-left:    5px;
    white-space:    nowrap;
  }

  div#objectbrowser span.highlighted {
    font-weight:    bold;
  }

  div#objectbrowser span.system {
    color:#777777;
  }

/*
* Tabs
*/
  table.tabs {
    table-layout:     fixed;
  }

  table.tabs .tab {
    background-color: #B0BCD6;

    border-right:     solid 1px #FFFFFF;
    border-bottom:     solid 1px #FFFFFF;

    border-top-left-radius: 12px;
    border-top-right-radius: 12px;

    box-sizing: content-box;

    padding:          5px 15px;
    width:            77px;

    text-align:       center;
    font-weight: bold;
    font-size:   12px;
    color:       #FFFFFF;
    height: 1%;
  }

  table.tabs .hover {
    background-color: #01528A;
    cursor:           pointer;
  }

  table.tabs .tab.start {
    background-color: transparent;
    border-top:       none;
    padding:          6px 5px;
    width:            1px;
  }

  table.tabs .tab.end {
    background-color: transparent;
    border-right:     none;
    border-top:       none;
    padding-top:      6px;
    width: auto;
  }

  table.tabs .selected {
    background-color: #01528A;
    border-bottom-color: #01528A;
    padding-bottom:   5px;

    font-weight:      bold;
  }

  table.tabs .tabforms {
    vertical-align:   top;
  }

  table.tabs .tabforms {
    vertical-align:   top;
  }

  table.tabs table.tabs {
    padding-top:      5px;
  }

/*
* Popup
*/
  div.popup {
    position:         absolute;
    height:           100%;

    cursor:           default;
  }

  /*
  div.popup > div.content 
  ,body > div.content
  {
    max-height:       77%;
    margin:           10px 20px 0px 20px;

    overflow-x:       hidden;
    overflow-y:       auto;

    background-color: #E6E7E8;
    border:           1px solid #555555;
    #border-radius:   5px;
    box-shadow:       10px 10px 5px #777777;

    padding-right:    33px;

    outline:          none;
  }
  */

  div.popup > div:not(.shade-fix-ie) {
    # height:           100%;
    max-height:       77%;

    overflow-x:       hidden;
    overflow-y:       hidden;

    background-color: #E6E7E8;
    border:           1px solid #555555;
    #border-radius:   5px;
    box-shadow:       10px 10px 5px #777777;
  }

  div.popup > div > div.content {
    height:           calc(100% - 25px);

    margin:           0px;
    padding:          0px 5px 0px 5px;

    overflow-x:       hidden;
    overflow-y:       auto;

    outline:          none;
  }

  div.popup div.shade-fix-ie {
    width:            110%;
    height:           20px;

    clear:            both;
    float:            left;
  }

  div.popup > div > h1 {
    height:           25px;
    width:            100%;
    background-color: #3F6276;
    margin:           0px;
    padding:          0px;
    vertical-align:   middle;
  }

  div.popup > div > h1 > img {
    float:            right;
    margin:           5px 10px 0px 0px;
  }

  div.popup[class~=list] {
    position: static;
  }

  div.popup[class~=list] > div > div.content {
    height:           100%;
  }

  div.popup[class~=list] > div > h1 {
    height: 0px;
  }

/* dev-fix for compatibility. */
  div.popup div.form {
    padding-top: 0px;
  }

  div#result div a {
    cursor:           pointer;
    display: block;
  }
/*
* Accordion
*/
  div.accordion {
    padding:          5px 0px 0px 0px;
    width:            100%;
  }

  div.accordion > h1 {
    width:            100%;
    background-color: #7590A1;
    color:            #FFFFFF;
    clear:            both;
    cursor:           pointer;
    font:             12px Helvetica, Arial, sans-serif;
    line-height:      17px;
    margin:           0 0 4px 0;
    padding:          3px 0px 1px 0px;
  }

  div.accordion > h1 span {
    margin-left: 10px;
  }

  div.accordion > h1.selected {
    background-color: #3F6276;
  }

  div.accordion > div.content {
    margin:           0px;
    padding:          0px;
    width:            100%;
  }

  div.accordion > div.content > div {
    margin:           0px;
    padding:          0px 0px 10px 20px;
    width:            100%;
  }

  div.accordion div.accordion {
    padding:          0px;
  }

  div.accordion h1 img {
    float: right;
  }

  div.accordion h1:not(.selected) img {
    display: none;
  }

/*
* Client tree
*/
  div.popup[class~=list] div.accordion > div.content > div {
    padding-bottom:          0px;
    margin-bottom:           0px;
  }

/*
* Form
*/
  div.form {
    padding-top: 0px;
    width:       100%;
    overflow-y:  scroll;
  }

  div.form div.field {
    clear:          both;
    padding:        7px 0px 0px 30px;
  }

  div.form {
    padding-top:    30px;
  }

  /*
  div.form .edit,
  div.form .view {
    display: none;
  }

  div.form[class~=edit] .edit,
  div.form[class~=view] .view {
    display: block;
  }
  */

  div.form button {
    display: none;
  }


  div.form:not(.view) button:not(.view),
  div.form[class~=view] button:not(.edit) {
    display: inline;
  }


  div.form label {
    clear:          both;
    display:        block;
    float:          left;
    padding-right:  7px;
    padding-top:    2px;
    #white-space:    nowrap;
    width:          auto;
  }

  div.form label span {
    float:          right;
    padding-right:  3px;
  }

  /*
  div.form div.view div.buttons {
    display:        none;
  }

  div.form div.view[class~=form] div.buttons {
    display:        block;
  }
  */

  div.form .buttons {
    text-align:     center;
    width:          100%;
  }

  div.form .buttons .label,
  div.form div.ElementList .label {
    display:        none;
  }


  div.form div.bitmask label {
    line-height:   13px;
  }

  div.form div.element label {
    float:         none;
  }


  div.form[class~=view] > div.checklist input[type=checkbox],
  div.form[class~=view] > div.checklist input[type=checkbox]:not(:checked) + * {
    display: none;
  }



  div.form div {
    clear:          none;
    float:          left;

    font-weight:    bold;
    overflow:       none;
    #padding:        0px;
    white-space:    nowrap;
  }

  div.tabform_map {
    padding-top:    0px;
    height: 100%;
    overflow-y:  visible;
  }

  div.tabform_map div {
    float: none;
  }


  div.form td.error,
  div.form div.error div.label {
    color:          #DD0000;
  }

  div.form div.Element {
    clear:          both;
    padding:        7px 0px 0px 150px;
  }

  div.form div.Element div {
    padding-left:   0px;
  }

  div.form div.Element div.ElementList {
    margin-left:    -150px;
  }

  div.form div.label {
    padding-right:  7px;
    padding-top:    2px;
    #white-space:    nowrap;
    width:          auto;
  }

  div.form div.label div {
    float:          right;
    padding-right:  3px;
  }

  div.form div.subform,
  div.form div.ElementList {
    clear:          both;
    float:          none;
  }

  div.form div.ElementList {
    padding:        0px;
  }

  td#io div.form div.ElementList table {
    margin:         0px 0px 0px 30px;
    padding-bottom: 10px;
  }

  div.form div.ElementList tr.first td {
    padding-top:    7px;
  }

  div.form div.ElementList tr.last td {
    padding-bottom: 7px;
  }

  div.form div.ElementList th {
    text-align:     left;
  }

  div.form div.ElementList td {
    padding:        0px;
    text-align:     left;
    white-space:    nowrap;
  }

  div.form div.ElementList table th,
  div.form div.ElementList table td {
    padding-left:  15px;
  }

  div.form div.ElementList table td {
    vertical-align:  top;
  }

  div.form div.ElementList table td td {
    font-weight:    normal;
  }

  div.form div.ElementList table#positions td {
    text-align:     right;
  }

  div.form div.ElementList table#positions td pre {
    text-align:     left;
  }

  div.form div.ElementList table#positions td.name,
  div.form div.ElementList table#positions td.type {
    text-align:     left;
  }

  div.form div.ElementList table#positions td.type span {
    float: left;
    clear: both;
  }

  div.form div.ElementList table#positions td span.invalid {
    color:          #770000;
  }

  div.form div.ElementList table#positions td span.stored {
    color:          #770000;
  }

  div.form div.ElementList table#tasks td,
  div.form div.ElementList table#tasks td.error {
    color:          #777777;
    text-align:     left;
  }

  div.form div.ElementList table#tasks td.name {
    color:          #000000;
  }

  div.form div.ElementList table#tasks th,
  div.form div.ElementList table#tasks tr.current td {
    color:          #000000;
  }



  table#configuration td {
    display: table-cell;
  }

  table#configuration td.label {
    display: table-cell;
  }

  table#configuration td.spacer {
    padding: 3px 0px;
  }

  table#configuration td.indent1 {
    padding-left: 30px;
  }

  table#configuration td.indent2 {
    padding-left: 60px;
  }

  div.form p {
    font-weight:    bold;
    margin:         2px 0px 0px 0px;
  }

  div.form input,
  div.form select {
    font-family:    Sans-Serif;
    font-size:      10px;
    width:          206px;
  }

  div.form select.ElementSelectMultiple {
    min-height:     150px;
  }

  div.form select optgroup {
    font-style:  normal;
    font-weight: bold;
  }


  div.form div.ElementBitmask div.element p {
    clear:    both;
    float:    none;
    position: relative;
    padding-bottom: 5px;
  }

  div.form div.ElementBitmask div.element p input {
    width:        auto;
    position: absolute;
  }

  div.form div.ElementBitmask div.element p label {
    margin-left: 25px;
    line-height: 17px;
  }


  div.form div.ElementChecklist div.Element {
    padding-top: 0px;
  }

  div.form div.ElementChecklist div.Element span {
    float:         left;
    padding-right: 30px;
  }

  div.form div.ElementChecklist div.Element span span {
    float:         none;
  }

  div.form div.ElementChecklist div.element label div div {
    clear: both;
    float: left;
  }

  div.form div.ElementChecklist div.element hr {
    clear:      both;
    margin-top: 18px;
  }

  div.form[class~=view] div.ElementChecklist input[type=checkbox] {
    display: none;
  }



  div.form div.ElementCheckmatrix th {
    text-align: center;
    padding: 5px 15px;
  }

  div.form div.ElementCheckmatrix td {
    text-align: center;
  }

  div.form div.ElementCheckmatrix td.label {
    padding: 3px 0px;
    text-align: left;
  }

  div.form div.ElementCheckmatrix td.hover {
    background-color: #CCCCCC;
  }

  div.form div.ElementCheckmatrix input {
    display: auto;
    float:   none;
    width:   auto;
    margin:  auto;
  }



  div.form div.ElementCheckbox div.element,
  div.form div.ElementChecklist div.element {
    padding-top: 2px;
  }

  /*
  div.form label {
    clear:         both;
    display:       block;
    margin-bottom: 5px;
    white-space:   nowrap;
  }

  div.form label span {
    vertical-align: middle;
    margin-left:    5px;
  }
  */

  div.form input[type=checkbox] {
    display:        block;
    float:          left;
    vertical-align: middle;
    width:          auto;
    margin:         0px 10px 0px 0px;
    padding:        0px;
  }

  div.form img.icon {
    margin: 0px 7px -3px 7px;
  }


  div.form div.element div.ElementDatetime {
    padding-top: 0px;
  }

  div.form div.element div.ElementTime {
    padding-top: 0px;
  }

  div.form div.element div.ElementTime select#hours {
    width: 55px;
    padding-right: 5px;
    text-align: right;
  }

  div.form div.element div.ElementTime select#minutes {
    width: 40px;
    text-align: right;
  }

  div.form div.element div.ElementDatetime input {
    float:       left;
    clear:       both;
    width:       75px;
  }

  div.form div.element div.ElementDatetime select {
    width:       80px;
  }

  div.form div.element div.ElementDaterange {
    padding-top: 0px;
  }

  div.form #map .datetimerange div,
  div.form #map .datetime div {
    float: left;
  }

  div.form div.element div.ElementDaterange div.buttons {
    display: none;
  }

  div.form div.ElementHidden {
    display:        none;
    padding:        0px;
  }

  div.form textarea {
    font-family:    inherit;
    font-size:      inherit;
    overflow:       auto;
    height:         100px;
    width:          200px;
  }


  div.form div#forwardid,
  div.form div#forwardid p {
    margin:         0px;
    padding:        0px;
  }

  div.form input#forwardid {
    width:          45px;
  }


  div.form div.message {
    clear: both;
    margin-bottom: 30px;
  }

  div.form div.message div.header {
    clear:          both;
    padding-top:    10px;
    font-size:      12px;
  }

  div.form div.message div.configuration {
    clear: both;
  }

  div.form div.message div.header div.label {
    margin-left: 30px;
  }

  div.form div.message div.header div.label div {
    display: none;
  }

  div.form div.message div.header div.label div.text {
    display: block;
  }

  div.form div.message div.header div.element {
    //margin-left: -70px;
  }

  div.form div#messageMEMCodes input,
  div.form div#messageMEMCodesDefault input {
    width: 25px;
  }

  div.form div.ElementHeaderConfiguration div.label {
    padding-top:    10px;
    font-size:      12px;
  }

  div.form div.ElementHeaderConfiguration div.Element div {
    vertical-align: top;
    line-height:    15px;
    white-space:    nowrap;
    margin-top:     1px;
    margin-right:   10px;
    float:          left;
    clear:          none;
  }

  div.form div.ElementHeaderConfiguration input {
    width:          15px;
    float:          left;
    clear:          none;
  }



  div.form div.info div.label {
    display: none;
  }



  div.form div.element div.ElementSelectMutable {
    padding-top:    0px;
  }

  div.form div.element div.ElementSelectMutable div {
    padding-bottom: 1px;
    clear:          both;
  }

  div.form div.element div.ElementSelectMutable select {
    min-height:     100px;
  }

  div.form div.element div.ElementSelectMutable button {
    margin:         1px 5px;
    vertical-align: top;
  }

  div.form div.element div.ElementSelectMutable button span {
    padding-left:   10px;
  }

  div.form div.element div.ElementSelectMutable button span span {
    padding-left:   0px;
    padding-right:  10px;
    width:          20px;
  }


  div.form div.field[class~=warning] {
    padding-top: 0px;
  }

  div.form div.field[class~=warning] div.label,
  div.form div.field[class~=warning] div.element {
    padding-top: 17px;
    display: none;
  }


  div.form div.message div#dnids.TT3027 table tr th,
  div.form div.message div#dnids.TT3027 table tr td + td + td {
    display: none;
  }

  div.form div.message div#dnids.TT3027 table tr td + td {
    padding-left: 5px;
  }

  div.form div.subform_messageCovertAlertFreetext textarea {
    height: 30px;
    width:  300px;
  }


  div.tabform_asset[class~=view] div.distributor button {
    display:        none;
  }

  div.tabform_asset div.distributor button {
    margin: 1px 0 0;
  }

  div.tabform_asset div.distributor input {
    float: left;
  }

  div.tabform_asset pre.clones,
  div.tabform_asset pre.testsheets {
    text-align: left;
    clear:     both;
    margin:    7px;
    font-size: 11px;
  }


  div.tabform_assetcollection[class~=view] div.assets {
    display:        none;
  }

  div.tabform_assetcollection div.assetlist {
    padding-top:    20px;
    display:        none;
  }

  div.tabform_assetcollection[class~=view] div.assetlist {
    display:        block;
  }


  div.tabform_zones div.tabform_summary div.zones {
    display:        none;
  }

  div.tabform_zones div.tabform_summary[class~=view] div.zones {
    display:        block;
  }

  div.tabform_zones div.tabform_summary[class~=view] div.index {
    display:        none;
  }

  div.tabform_zones div.checklist span label span {
    margin-left:    0px;
  }

  div.tabform_zones div.checklist span label span span span {
    color:          #DD0000;
  }

  div.tabform_zones div.checklist span label.disabled {
    color:          #770000;
  }


  div.tabform_dnid[class~=view] div.assets p div {
    width: 30px;
    clear: none;
    float: left;
    text-align: right;
    margin-right: 5px;
  }


  div.type_PollSleepmode select#periodic,
  div.type_PollSleepmode select#duration {
    text-align: right;
    width : 95px;
  }

/*
* Position-info
*/
  div.tabform_map div.popup {
    height:           auto;
    cursor:           default;
    position:         absolute;
    display:          none;
    color:            #000000;

    background-color: #F3F3F3;
    border:           1px solid black;
    padding:          5px;
  }

  div.popup[class~=transparent] {
    background-color: transparent;
    border:           none;
    padding:          0px;
  }

  div.current,
  div.sticky {
    display: block;
  }

  div.popup td {
    margin:         0px;
    padding-bottom: 2px;
    white-space:    nowrap;
  }




  div#PositionInfo {
    cursor:           default;
    position:         absolute;
    display:          none;
    color:            #000000;

    background-color: #F3F3F3;
    border:           1px solid black;
    padding:          5px;
  }

  div#PositionInfo.transparent {
    background-color: transparent;
    border:           none;
    padding:          0px;
  }

  div#PositionInfo.current,
  div#PositionInfo.sticky,
  div#PositionInfo.popup {
    display: block;
  }

  div#PositionInfo td {
    margin:         0px;
    padding-bottom: 2px;
    white-space:         nowrap;
  }

  div#PositionInfo tr#name td,
  div#PositionInfo tr#gps td {
    padding-bottom: 5px;
  }

  div#PositionInfo tr#vel[class=knot] td#km {
    display: none;
  }

  div#PositionInfo tr#vel[class=km] td#knot {
    display: none;
  }

  div#PositionInfo tr td:first-child {
    margin-right: 10px;
  }

  div#PositionInfo.name tr#name ,
  div#PositionInfo.gps tr#gps ,
  div#PositionInfo.latlong tr#lat ,
  div#PositionInfo.latlong tr#lon ,
  div#PositionInfo.type tr#type ,
  div#PositionInfo.vel tr#vel ,
  div#PositionInfo.cog tr#cog {
    display: none;
  }

/*
* Log
*/
  table.ElementListCommunication {
    table-layout: fixed;
  }

  table.ElementListCommunication td {
    text-align: center;
    vertical-align: top;
    padding:        0px 5px;
    white-space: nowrap;
    cursor: pointer;
  }

  table.ElementListCommunication table td {
    font-family: monospace;
    font-size:   13px;
    text-align: left;
    padding:       5px 25px;
    cursor: default;
  }


  table#log.ElementListLog {
    table-layout: fixed;
  }

  table#log.ElementListLog td {
    padding-top: 10px;
    vertical-align: top;
  }

  table#log.ElementListLog td.e {
    width: 300px;
    white-space: pre-wrap;
  }


  table.ElementListMail td.spacer {
    width: 100%;
  }

  table.ElementListMail td {
    white-space: nowrap;
    cursor: pointer;
  }

  table.ElementListMail iframe {
    margin-top:   10px;
    border-style: none;
    width:        100%;
  }


  body#log table {
    table-layout: fixed;
  }

  body#log td,
  body#log th {
    font-family: monospace;
    font-size:   13px;
  }

  body#log td {
    text-align: center;
    vertical-align: top;
    padding:        0px 5px;
    white-space: nowrap;
    cursor: pointer;
  }

  body#log tr[class] td {
    text-align: left;
    padding:       5px 25px;
    cursor: pointer;
  }


div.ElementPermits {
  width: 520px;
  padding-left: 7px;
}

div.DTE button.btn, div.DTE div.DTE_Form_Buttons button {
  padding-bottom: 20px;
  font-size: inherit;
}

.dte-tokenize {
  width: 100%;
}

div.form div.Element div.dataTables_wrapper {
  background-color: #8E9FB1;
  border-radius: 12px;
  padding: 7px;
}

div.form div.ElementList table#positions td.type span.io {
  padding-left: 5px;
  float: right;
  font-size: 16px;
}

div.form div.ElementList table#positions td.type span.io span {
  clear: none;
}

div.form div.ElementList table#positions td.type span.io span.on {
  color: green;
}
div.form div.ElementList table#positions td.type span.io span.off {
  color: red;
}

/**
 * E-mail body & subject
 */
input#subject {
  width: 500px;
}
textarea#body {
  width: 500px;
  height: 20em;
}