html {
  font-family: sans-serif; 
  font-size: 11pt; 
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%; 
}

/* iPhone font adjustment */
@media only screen and (max-device-width: 480px) { 
  html {
    -webkit-text-size-adjust: none; 
  }
}

/* @media (min-width: 640px) { html {font-size: 2.1vw; } } */
@media (min-width: 640px) { html {font-size: 12pt; } } 
@media (min-width: 740px) { html {font-size: 13pt; } } 
@media (min-width: 840px) { html {font-size: 13.5pt; } } 
@media (min-width: 940px) { html {font-size: 14pt; } } 

div#main {
  position: relative;
  width: 90%;
  min-width: 440px;
  max-width: 1500px;
  left: 20px;
  background-color: #fefefe;
}

/* for very small devices, we use all place */
@media (max-width: 639px) { div#main { width:100%; left: 0px; } } 

div#head {
  position: relative; 
  width: 100%;
  height: 150px; 
  background-image: url(../images/head.png); 
  background-repeat: no-repeat;
}

div#menu {
  position: absolute; 
  text-align: center;
  left: 0px; 
  bottom: 0px; 
  width: 100%;
  padding-top: 4px; 
  padding-bottom: 4px; 
  font-size: 110%;
  font-weight: bold; 
  background-color: #f0f0ff; 
  opacity: .8;
}

div.menuitem { 
  position: relative; 
  display: inline-block;
  top: 0px;
  left: 2px; 
  padding-left: 10px; 
  padding-right: 10px; 
}

div#content { 
  width: 100%;
  padding-top: 20px; 
  padding-bottom: 20px; 
}

/* two-colum layout */
div#columnleft { 
  display: inline-block;
  width: 80%;
}

div#columnright { 
  display: inline-block;
  width: 19%;
  max-width: 90px;
  vertical-align: top;
}

/* three boxes in a row (for references) */
div.imageBox {
  display: inline-block; 
  width: 25%; 
  text-align: center; 
  vertical-align: top; 
  padding:4px;
}

div.imageBox:hover {
  background-color: #f0f0f0;
}

div#footer { 
  width: 100%;
  font-size: 90%; 
  font-weight: bold; 
  background-image: url(../images/footer.png); 
  border-bottom: 2px solid #c0c0c0;
  text-align: center;
}

div.footeritem { 
  position: relative; 
  display: inline-block;
  padding-top:5px;
  padding-left:5px;
  padding-right:5px;
  padding-bottom:8px;
}

p {
  font-size: 100%; 
}

.centerImage {
  text-align: center;
  width:90%;
  max-width:600px;
  margin: 5% auto;
}

a {
  color: #000000;
  text-decoration: none;
}

a.green {
  color: #008000;
  text-decoration: underline;
}

h2 {
  font-color: #666666;
}

h3 {
  font-color: #666666;
}

/* Fancy lists */
ul.first {
  margin-left: 30px;
  list-style: square url(../images/ablbull1.gif);
  font-size: 100%; 
}

ul.first > li {
  padding-left: 1em;
  font-size: 100%; 
}

ul.firstlong {
  margin-left: 30px;
  list-style: square url(../images/ablbull1.gif);
  font-size: 100%; 
}

ul.firstlong > li {
  margin-top: 8px;
  padding-left: 1em;
  font-size: 100%; 
}

ul.second {
  list-style: square;
  font-size: 100%; 
}

ul.second > li {
  margin-top: 4px;
  margin-bottom: 4px;
  padding-left: 1em;
  font-size: 100%; 
}

/* Tables */
table {
  font-size: 100%;
}

td {
  vertical-align: top;
  padding-left: 20px;
}

td:nth-child(odd) {
  padding-right: 20px;
  background-color: #f2f2f2;
  text-align: right;
  font-size: 80%; 
}

td:nth-child(even) {
  font-size: 100%; 
}

