div.account {
    top: 0px;
    height: 28px;
    width: 100%;
    position: absolute;
}

div.account {
    z-index: 99;
}

.account fieldset legend {
    padding-left: 0;
    padding-top: 10px;
}
.account fieldset {
    width: 100%;
    padding: 0;
    border: 0;
}

.account-overlay { 
    position: fixed;
    background-color: black;
    z-index: 99;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.4;

}
.account .switch-account-dialog {
   max-height: 500px;
}

.account ol.system-menu { 
  position: absolute;
  margin: 0px;
  padding: 0px;
  left: 117px;
  top: 0px;
  list-style: none;
  color: #CCC;
  line-height: 27px;
}

.account li.system-menu:hover {
     background-color: #4C4C4C;
     height: 28px;
}

.account li.system-menu {
    display: inline-block;
}

.account a.system-menu-selected {
  text-decoration: none;
  color: white;
  font-weight: bold;
  font: 13px/27px Arial,sans-serif;
}

.account span.system-menu-label {
  padding: 0 5px;
}

.account span.system-menu-selected {
  border-top: 2px solid #DD4B39!important;
  display: block;
}

.account span.system-menu-selected-state {
  border-top: 2px solid transparent;
  display: block;
}

.account a.system-menu {
  cursor: pointer;
  text-decoration: none;
  color: #CCC;
  font: 13px/27px Arial,sans-serif;
  display: block;
  outline-color: black;
}

.account {
    height: 28px;
    border-bottom: 1px solid #EEE;
    background-color: #2d2d2d;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
}

.account .system-logo {
    background-image: url("/startgrid/images/amplexLightOnDark_small.png");
    height: 28px;
    width: 100px;
    margin-left: 5px;
    float: left;
}

.topbar-menu {
   float: right;
   padding-left: 10px;
   padding-right: 10px;
}
.account-link {
	height: 28px;
	display: inline-block;
}
.account-link span{
    display: inline-block;
}

.account-link:hover {
  background: #4c4c4c;
  height: 28px;
}

.account-link.sel {
  background-color: white;
}

.sel .topbar-menu-item {
  color: #36c;
}

.topbar-menu-item {
    text-align: right;
    line-height: 27px;
    margin-left: 8px;
    margin-right: 8px;
    color: #CCC;
    font-size: 13px;
    font-weight: bold;
}


.sel .topbar-menu {
  display: block;
}

.menu-content {
    display: none;
    position: absolute; top: 27px; width: 257px; border: 1px solid #E5E5E5; background: white; right: 0px; z-index: 100;
}

#usermenu_userinfo {
    padding-left: 20px; padding-bottom: 10px;
}

#usermenu_fullname {
          line-height: 17px; font-weight: bold; color: black;
}
#usermenu_username {
   line-height: 17px; font-size: 13px; color: #666;
}
#usermenu_customer {
   background: #efefef; font-size: 11px; color: #666;
}

.usermenu-action {
   padding: 10px 20px 0; line-height: 27px; font-size:13px; color: #36c; cursor: pointer;
}


#password-dialog span {
    float: left;
}
#password-dialog input {
    float: right;
}
#password-dialog button {
    float: right;
}

.switch-account {
   padding: 10px 20px 0; line-height: 27px; font-size:13px; color: #36c; text-align: right; cursor: pointer;
}

.account .account-list {
	max-height: 530px;
	overflow: auto;
}
button.add {
    margin-top: 1em;
}
.account .account-list dl {
	
}
.account .account-link {
	cursor: pointer;
}

.account .account-list dt {
	font-weight: bold;
	padding-left: 2em;
	background-color: #efefef;
}
.account .account-list dd {
    padding-left: 1em;    
}
.account .account-list li {
	list-style: none;
	cursor: pointer;
}

.account .account-list ul {
	padding-left: 20px;
	padding-top: 0px;
	padding-bottom: 0px;
    padding-right: 0px;
}

.account .account-list li:hover{
	background-color: #f0f0f0;
}

.account div.selected {
	background-color: #efefef;
}

/* Navigation bar */

.account ul.nav {
    margin: 0px;
    padding: 0px;
    list-style: none;
    line-height: 2em;
    height: 2em;
    background-color: #efefef;
}

.account ul.nav li {
    float: left;
    display: inline;
    padding-left: 10px;
    padding-right: 10px;
    background-color: #efefef;
}
.account ul.nav li.active {
    font-weight: bold;
}
.account a {
    color: black;    
}

.account tr:hover {
   background-color: #f0f0f0; 
   cursor: pointer;
}

.modal-window {
    position: absolute;
    background-color: white;
}

.modal-window .modal-close {
    float: right;
    height: 20px;
    padding-top: 5px;
    padding-right: 10px;
    font-size: 12pt;
    cursor: pointer;
}

.modal-window.user-editor {
    top: 10%;
    left: 10%;
    width: 80%;
    height: 85%
}
.user-editor .modal-content {
    font-size: 10px;
    padding-left: 3em;
    padding-right: 3em;
    padding-top: 2em;
}

.user-editor .row {
    clear: both;
}
.user-editor .input-label {
    width: 40%;
    float: left;
}
.user-editor .input {
    width: 55%;
    float: right;
}
.user-editor .input input {
    width: 100%;
}

.user-editor .available-roles {
    float: left;
    width: 33%;
}
.user-editor .selected-roles {
    float: left;
    width: 33%;
}
.user-editor .role-buttons {
    float: left;
    text-align: center;
    width: 20%;
    vertical-align: middle;
}

.user-editor .buttons {
    position: absolute;
    bottom: 1em;
    right: 1em;
}

.account .selection .first {
    width: 43%;
}
.account .selection .last {
    width: 43%;
}
.account .selection .middle {
    width: 14%;
}

.account .selection .selection-buttons {
    padding: 5px;
}

button .add-remove-buttons {
    width:29px;
}

.account .selection .selection-buttons button {
    width: 28px;
}

.account .selection tr:hover {
   background-color: white; 
   cursor: default;
}
.account .selection select {
    width: 100%;
    height: 160px;
}

.selection.groupselection {
    width:100%;
}

.account .customer-selection select {
    height: 200px;
}

.account .generate {
  float: right;
}

.account .clear-api-key {
  float: right;
  background-repeat: no-repeat;
  padding-right: 15px;
  padding-bottom: 2px;
  margin-left: 18px;
  margin-right: -82px;
  margin-top: 3px;
  padding-top: 13px;
  background-image: url(./images/remove_gray_16x16.png);
  background-size: 16px 14px;
}

.account .clear-api-key:hover {
  float: right;
  background-repeat: no-repeat;
  padding-right: 15px;
  margin-left: 18px;
  margin-right: -82px;
  margin-top: 3px;
  padding-top: 13px;
  background-image: url(./images/remove_red_16x16.png);
  background-size: 16px 14px;
}

