

/* HORIZONTAL + VERTICAL CENTERING */

.center1 {
  text-align: center;
}

.center2 {
  #left: 50%;
}

.center3 {
  margin: 0 auto;
  #left: -50%;
}

.center1, .vcenter1 {
  display: table;
  #display: block;
  #text-align: auto;
  #position: relative;
}

.center2, .vcenter2 {
  display: table-cell;
  vertical-align: middle;
  #position: absolute;
  #top: 50%;
}

.center3, .vcenter3 {
  display: block;
  #position: relative;
  #top: -50%;
}

.image {
    -webkit-animation:spin 18s linear infinite;
    -moz-animation:spin 18s linear infinite;
    animation:spin 18s linear infinite;
}
@-moz-keyframes spin { 100% { -moz-transform: rotate(360deg); } }
@-webkit-keyframes spin { 100% { -webkit-transform: rotate(360deg); } }
@keyframes spin { 100% { -webkit-transform: rotate(360deg); transform:rotate(360deg); } }

/*
.center1, .vcenter1 { border: 1px solid #f00 !important; }
.center2, .vcenter2 { border: 1px solid #0f0 !important; }
.center3, .vcenter3 { border: 1px solid #00f !important; }
*/

html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

div.content {
  width: 100%;
  height: 100%;
  background: url(assets/bg1.gif) 50% 50%;
}

div.content-inner {
  width: 300px;
  height: 300px;
  text-align: left;
  border: 1px solid #000;
  background: #faa;
  margin: 0 auto;
  opacity: 0.8;
  filter: alpha(opacity=80);
}

