body {
  position: relative; /* Fix for IE7 so that 'overflow: hidden' works */
  overflow-x: hidden;
  padding: 0;
  margin: 0;
  background: #535353;
}

.page {
  position: relative;
  height: 100%;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 100px 0 0 0;
  background: #535353;
  z-index: 0.9;
}

/**
 * Gradient contour
 */
.gradient1 {
  position: relative;
  z-index: 0;
  padding: 1px;
  margin: -4px;
  background: #515151;
  min-height: 0;
}

.gradient2 {
  position: relative;
  z-index: 0;
  padding: 1px;
  background: #3f3f3f;
}

.gradient3 {
  position: relative;
  z-index: 0;
  padding: 1px;
  background: #292929;
}

.gradient4 {
  position: relative;
  z-index: 0;
  padding: 1px;
  background: #131313;
}

.whiteframe {
  position: relative;
  z-index: 0;
  padding: 1px;
  background: white;
  min-height: 450px;
}

/**
 * Funny background
 */
#backgroundhead {
  position: absolute;
  top: -1000px;
  left: 50%;
  width: 100%;
  max-width: 1720px;
  margin-left: 200px;
  z-index: -1;
}
#backgroundhead img {
  position: relative;
  top: 1280px;
  float: left;
  margin-left: -70%;
}

#backgroundhands {
  position: absolute;
  top: -1000px;
  left: 50%;
  width: 100%;
  max-width: 1370px;
  z-index: 1;
  background-color: green;
}

#backgroundhands img {
  position: relative;
  top: 1250px;
  float: right;
  margin-right: 1920px;
  margin-left: -1920px;
}

#backgroundarms {
  position: absolute;
  left: 50%;
  top: -1000px;
  width: 100%;
  max-width: 1370px;
  z-index: -1;
}

#backgroundarms img {
  position: relative;
  top: 1250px;
  float: right;
  margin-right: 1920px;
  margin-left: -1920px;
}

/**
 * Header
 */
.header {
  height: 100%;
  background: #535353;
}

.menu {
  min-width: 770px;
  overflow: hidden;
  display: block;
  position: relative; /* Fix for IE7 */
  z-index: 1;
}

.menu .tableft {
  float: left;
  height: 62px;
  min-width: 28px;
  width: 5%;
  background: url('../../images/tableft.png') top left no-repeat;
}

.menu .tabcenter {
  float: left;
  height: 42px;
  vertical-align: middle;
  font-family: Candara, Arial Unicode MS, Arial;
  font-size: 22px;
  padding-top: 20px;
  background: url('../../images/tabcenter.png') repeat-x;
}

.menu .tabright {
  float: left;
  height: 62px;
  min-width: 28px;
  width: 5%;
  background: url('../../images/tabright.png') top right no-repeat;
}

.menu .selecteditem .tableft {
  background: url('../../images/tableftselected.png') top left no-repeat;
}

.menu .selecteditem .tabcenter {
  font-size: 32px;
  height: 47px;
  padding-top: 15px;
  font-weight: bold;
  background: url('../../images/tabcenterselected.png') repeat-x;
}

.menu .selecteditem .tabright {
  background: url('../../images/tabrightselected.png') top right no-repeat;
}

.separator {
  float: left;
  max-width: 20px;
  width: 1%;
}

#endofmenu {
  clear: both;
}

/**
 * Content
 */
#content {
  padding: 0 40px 20px 40px;
  margin: 10px auto;
  max-width: 980px;
  height: 100%;
  font-family: Candara, Arial Unicode MS, Arial;
  font-size: 18px;
  clear: both;
}

#content p {
  font-family: Candara, Arial Unicode MS, Arial;
  font-size: 18px;
  text-align: justify;
  z-index: 1;
}

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

a:hover, a.hover {
  color: #ffba00;
  text-decoration: none;
}

#content a {
  text-decoration: underline;
}

/**
 * Language bar
 */
div.languages {
  width: 100%;
}

div.language {
  float: right;
  list-style-type: none;
  margin: 35px 35px 0 0;
  white-space: nowrap;
}

ul.languages li {
  display:inline;
  padding-left: 7px;
  padding-right: 6px;
  border-left: 1px solid #000000;
}

ul.languages li.first {
  border: none;
}

/**
 * Headings
 */
h1 {
  margin: 15px;
  font-size: 32px;
  font-family: Candara, Arial Unicode MS, Arial;
  font-weight: normal;
  color: #ffba00;
  white-space: nowrap;
}

h2 {
  padding: 20px 0;
  margin: 10px 0 10px 0;
  font-family: Candara, Arial Unicode MS, Arial;
  font-size: 26px;
  color: #535353;
  white-space: nowrap;
}

h3 {
  font-family: Candara, Arial Unicode MS, Arial;
  font-size: 22px;
  color: #535353;
  white-space: nowrap;
}

/**
 * Project page
 */
div.project img {
  float: left;
  margin-right: 30px;
}

div.project {
  clear: both;
}

/**
 * Footer
 */
div.footer {
  padding: 35px;
  background: white;
  clear: both;
}

div.footer p {
  font-family: Candara, Arial Unicode MS, Arial;
  color: #535353;
  margin: 0;
}

/**
 * Misc
 */
.preload {
    display:none;
}