
/* CSS RESET */
/* http://meyerweb.com/eric/tools/css/reset/
 * v2.0 | 20110126
 * License: none (public domain) */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after, q:before, q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

.container {
  width: 960px;
  margin: 0 auto;
  overflow: hidden;
  *zoom: 1;
}

/* Links -------------------------------------------------------------- */
/* Typography -------------------------------------------------------------- */

/* Body -------------------------------------------------------------- */



/* LAYOUT -------------------------------------------------------------- */

html, body{
	width: 100%;
	height: 100%;
}
#page {
  width: 888px;
  margin: 0 auto;
  text-align: center;
}

#page .content {
  /* width: 60.521%; */
  margin-right: 2.5%;
  float: left;
}
#page aside {
  /* width: 36.979%; */
  float: right;
}

/* SITE-WIDE DESIGN -------------------------------------------------------------- */

article {
  /* height: 220px; */
  
  width: 800px;
  position: relative;
  position:absolute; 
  top:50%; 
  height:444px; 
  margin-top:-222px; /* negative half of the height */
  /*
-webkit-perspective: 800;
  -moz-perspective: 800;
*/
  perspective: 800;
  z-index: 10;
}




article header, article .body {
  height: 100%;
   transform: rotateX(-180deg);
 /*  width: 100%; */
  /* -webkit-backface-visibility: hidden; */
  backface-visibility: hidden;
 /*  -webkit-transform-style: preserve-3d; */
  transform-style: preserve-3d;
  /*
-moz-transition-property: all;
  -webkit-transition-property: all;
  -o-transition-property: all;
*/
  transition-property: all;
 /*
 -moz-transition-duration: 0.4s;
  -webkit-transition-duration: 0.4s;
  -o-transition-duration: 0.4s;
*/
  transition-duration: 0.4s;
 /*
 -moz-transition-timing-function: ease-in;
  -webkit-transition-timing-function: ease-in;
  -o-transition-timing-function: ease-in;
*/
  transition-timing-function: ease-in;
}
article header {
   position: relative;
  /* -webkit-transform: rotateX(0deg); */
  transform: rotateX(0deg);
  z-index: 2;
}
article .body {
  position: absolute;
  
  top: 0;
 /*  -webkit-transform: rotateX(180deg); */
  transform: rotateX(180deg);
 
  z-index: 1;
}



article:hover {
  z-index: 20;
}
article:hover header {
 /*  -webkit-transform: rotateX(-180deg); */
  transform: rotateX(-180deg);
}
article:hover .body {
 /*  -webkit-transform: rotateX(0deg); */
  transform: rotateX(0deg);
  z-index: 3;
}
