body {
  font-size: 100%;
}

#contentwrapper {
  margin-top: 46px;
  background-color: white;
  font-size: 0.625em;
  font-family: tahoma, arial, sans-serif;
  position: relative;
  color: black;
}


table#outertable { width: 32em; /* 320 px */ }
table#formwrapper { margin: auto 15px; }
td.shrink { width: 0; }
td.expand { width: 100%; }
label { 
  font-size: 1.1em; /* 11px */
  font-weight: bold;
}

input {
  font-size: 1.3em;
}

.passwordValidation {
  background-repeat:no-repeat;
  background-position:right center;
}

.hidden
{
  visibility: hidden;
}

.textfield 
{ 
  padding: 2px; 
  width: 95%;
  border: 1px solid #ccc;
}

.top,.bottom 
{ 
  font-size: 1.8em; /* 18px */  
  font-weight: normal;
  background: #eee; 
  padding: 5px;
  border-bottom: 1px #666 solid;
}

.bottom 
{ 
  border-bottom: 0px;
  border-top: 1px #666 solid;
  font-size: 1.3em;
  color: red;
}

.button
{
  background: #eee;
  font-size: 1.1em;
  font-weight: bold;
  border: 1px solid #666;
  padding: 3px 6px 3px 6px;
  overflow: visible;
}

input.button:link,
input.button:visited,
input.button:hover,
input.button:active
{ 
  color: black; 
  text-decoration: none;
}

a.button:link,
a.button:visited,
a.button:hover,
a.button:active
{ 
  color: black; 
  text-decoration: none;
}

.failed, .strongPasswordMsg
{
  display: block;
  font-weight: normal;
  background: #ffeeee; 
  border: 1px solid #800000;
  padding: 10px;
}

.webStartJnlpDownload
{
  font-size: 1.4em;
  padding: 30px 0px 0px 0px;
}

.webStartJnlpDownloadHidden
{
  visibility: hidden;
}

.webstartVersionWarning {
  padding: 10px 20px 10px 20px;
  border: solid 1px #c3c3c3;
  background-color: #ffffc3;
}

.webStartJnlpDownload
{
  display: table;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

@media screen and (min-width: 481px) { 
  body.touch-enabled #contentwrapper { font-size: 0.9em; } 
  body.touch-enabled input.button { font-size: 1.2em; }
}
@media screen and (min-width: 581px) { 
  body.touch-enabled #contentwrapper { font-size: 1.1em; }
  body.touch-enabled input.button { font-size: 1.3em; } 
}
@media screen and (min-width: 681px) { 
  body.touch-enabled #contentwrapper { font-size: 1.3em; }
  body.touch-enabled input.button { font-size: 1.4em; }
}

@media screen and (max-width: 320px) {
  #keys { display: none; }
}

@media screen and (max-width: 480px) {
  #contentwrapper { margin-top: 0; }
  table#formwrapper { width: 95%; }
  table#outertable { width: 100%; }
  input { font-size: 3.0em; }
  label { font-size: 1em; padding-top: 1em; }
  input.button { font-size: 2.0em; padding: 0.4em 0.8em; }
}
