/*
  center layout
*/

body {
  margin: 0;
  text-align: center;
  font: 0.9em/1.4em arial, helvetica, sans-serif;
}

body > * {
  width: 900px;
  text-align: left;
  margin: 0px auto 0px auto;
  display: block; /* to make it work in ff 3.6 */
}

/*
  default colors and style
*/

h1, h2, h3, h4, a, a:visited, a:hover {
  color: #189CDA;
  text-decoration: none;
}

/*
  page header
*/

body > header {
  background: #191919;
  padding: 20px 20px 0px 20px;
  -moz-border-radius-bottomleft: 10px;
  -moz-border-radius-bottomright: 10px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  color: white;
  display: block; /* to make it work in ff 3.6 */
}

body > header h1 {
  margin: 0;
  padding: 0;
  color: #68C2FF;
}

/*
  navigation (is within body > header)
*/

nav ul {
  margin: 0px auto 0px auto;
  padding: 0px;
  display: table;
  width: 100%;
}

nav li {
  display: table-cell;
  padding: 0px;
  margin: 0px;
  text-align: center;
}

nav ul li {
  padding: 5px;
  overflow: hidden;
}

nav ul li a {
  padding: 7px;
  font-weight: bold;
  -webkit-transition: all 0.2s linear;
  -moz-transition: all 0.2s linear;
  -o-transition: all 0.2s linear;
  transition: all 0.2s linear;
  -moz-border-radius-topleft: 3px;
  -moz-border-radius-topright: 3px;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
  text-decoration: none;
  background: #212121;
}

nav ul li:hover a, nav ul li.active a {
  background: #189CDA;
  color: white;
  opacity: 1.0;
}

/*
  articles
*/

article h2 {
  border-bottom: 2px solid #191919;
}

article div img {
  float: right;
  margin: 0 0 10px 10px;
  -webkit-box-shadow: 0px 0px 10px #000;
  -moz-box-shadow: 0px 0px 10px #000;
  box-shadow: 0px 0px 10px #000;
}

article footer {
  clear: both;
  display: block; /* to make it work in ff 3.6 */
}

article footer ul {
  list-style-type: none;
  display: table;
}

article footer ul li {
  display: table-cell;
  padding-left: 10px;
}

blockquote {
  margin-left: 20px;
  padding: 5px;
  border-left: 2px solid black;
}

/*
  paging
*/

section > footer {
  border-top: 2px solid #191919;
  padding: 10px 0 10px 0;
  display: block; /* to make it work in ff 3.6 */
}

section > footer ul {
  width: 100%;
  display: table;
  padding: 0;
  margin: 0;
  list-style-type: none;
}

section > footer li {
  display: table-cell;
  padding: 0;
  margin: 0;
}

section > footer li.right {
  text-align: right;
}

section > footer li.left {
  text-align: left;
}

section > footer li.left a::before {
  content: '« ';
}

section > footer li.right a::after {
  content: ' »';
}

section > footer a, section > footer a:visited {
  padding: 5px;
  font-weight: bold;
  -webkit-transition: all 0.2s linear;
  -moz-transition: all 0.2s linear;
  -o-transition: all 0.2s linear;
  transition: all 0.2s linear;
  -moz-border-radius: 3px;
  border-radius: 3px;
  text-decoration: none;
  background: #189CDA;
  background: #212121;
  color: white;
}

section > footer a:hover {
  /*opacity: 0.7;*/
  color: white;
  background: #189CDA;
}

/*
  tag cloud
*/

section > ul.float {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

section > ul.float li {
  display: inline;
  white-space: nowrap;
  padding-right: 10px;
  font-size: 1.2em;
}

/*
  footer
*/

body > footer {
  background: #191919;
  padding: 20px 20px 0px 20px;
  -moz-border-radius-topleft: 10px;
  -moz-border-radius-topright: 10px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  color: white;
}

body > footer ul {
  padding: 0;
  margin: 0;
  list-style-type: none;
  display: table;
  width: 100%;
}

body > footer ul li {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
}

body > footer a img {
  border: 0;
}

body > footer a img:hover {
  -webkit-transform: scale(1.2);
  -moz-transform: scale(1.2);
  -o-transform: scale(1.2);
  transform: scale(1.2);
  -webkit-transition: all 0.1s linear;
  -moz-transition: all 0.1s linear;
  -o-transition: all 0.1s linear;
  transition: all 0.1s linear;
}
