html { background: #343434; }  /* linear-gradient(160deg, #949898, #242828) fixed */
html.inIframe { background: transparent; }

body { font: normal 14px sans-serif; color:white; position:absolute; top:0.75em; left:0.75em; right:0.75em; bottom:0.75em; width:auto; height:auto; overflow:visible; border-radius:0.5em;}
body.hastopbar { top:4em; background:#222;}

.inIframe body { top:-0.5em; left:-0.5em; right:-0.5em; bottom:-0.5em; }

#frameTop     { background: #343434; color: white; top:-4em;}

#frameLeft    { background: #343434; color: white; margin:0.5em; border-radius:0.25em; top:0; }  /* 262630  424c5d */
#frameRight   { background: #343434; color: white; margin:0.5em; border-radius:0.25em; top:0; }  /* 262630  424c5d */

#frameHead    { background: #343434; color: white; margin:0.5em; border-radius:0.25em; top:0; height:3em; padding:0; }  /* 80b030 393943 1c1d26 */  
#frameTools   { background: #555555; color: white; margin:0.5em; border-radius:0.25em; top:0; }
#frameBody    { background: #cccccc; color: black; margin:0.5em; border-radius:0.25em; top:0; }  /* 272833 */


#frameBody.form  { background: #cccccc; }

button  { background: #80b030; color:white; border-style:solid; border-color: #a0d050 #609010 #609010 #a0d050; }
.button { background: #80b030; color:white; border-style:solid; border-color: #a0d050 #609010 #609010 #a0d050; }
button:hover  { background: #90c040; }
.button:hover { background: #90c040; }

.homeitem {max-width: 576px;}
.box { background: #aaa; color: black;} 

#loginBox { font-size:16px; min-height: 30em; width:20em; background: #494949; border: 1px solid #262630; color:white;}

/* Login box: everything aligned to the left */
#loginBox { text-align: left; }
#loginBox .loginName { text-align: left; }
#loginBox .loginSeparator { margin-left: 0; margin-right: 0; max-width: none; }
#loginBox .loginFlag:first-child { margin-left: 0; }
#loginBox .loginFlag.selected { border-bottom-color: #90c040; }   /* as .activeOption of wtm */
.activeOption { border-bottom-color: #90c040; }   /* the option in use of the top bar, as .activeOption of wtm */
#loginBox #loginFormContainer { margin: 0; }
#loginBox #loginFormContainer .formbox { margin-left: 0; margin-right: 0; }
#loginBox #btnLogin { margin-left: 0; }

.browseitem { border-bottom-color: #888888; }
  

#frameLeft button { background: #c3c3c9; color:black; border-color: #e3e3e9 #a3a3a9 #a3a3a9 #e3e3e9; }
#frameLeft button:hover { background: #d3d3d9; }
#frameLeft button.selected { background: #80b030; color:white; border-color: #a0d050 #609010 #609010 #a0d050; }

#popupMenu { background: #444; box-shadow: 0 0 6px  1px rgba(0, 0, 0, 0.7); }
.menuitem:hover { background: #80b030; color:white; }
.menuitem.selected, .menuitem.selected:hover { background: #c4bc90; color: white; }
.menuitem.disabled { background: inherit; opacity:0.5; cursor:default; }

h1, h2, h3 {
  background: #ece4e0;
}

a { color: inherit; }
a.link { color: #95bf33; }
a:visited.link { color: #6e6400; }

input { accent-color: #80b030; }

.popupWindow { color:black; background: #cccccc; border-color: #dddddd #bbbbbb #bbbbbb #dddddd; }    
.popupWindowBody  { color:black; background: white; border-color: #cccccc; }  


@media (min-width: 1024px) {
  #layerScroll { width: 100%; left: 0; margin-left: 0; }
  #layerFixed  { width: 100%; left: 0; margin-left: 0; }
}

@media (min-width: 864px) {
  #frameLeft   { left: 0px; }
  #frameRight  { right: 0px; }
  #frameHead   { left: 15.5em; right: 15.5em; }
  #frameTools  { left: 15.5em; right: 15.5em; }
  #frameBody   { left: 15.5em; right: 15.5em; }
  #frameHead i { display: none !important; }
}