/*
 * Baker Ebook Framework - Basic Book
 * last update: 2011-10-10
 * 
 * Copyright (C) 2011 by Davide S. Casali <folletto AT gmail DOT com>
 * 
 */



/****************************************************************************************************
 * General
 */
body {
	font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
	font-size: 16px;
	margin: 0;
  background: #CCCCCC;
}

a {
  color: #171717;
  text-shadow: 0px 1px 0px #FFFFFF;
}


/****************************************************************************************************
 * Typography
 */
p, ul, ol {
  font-size: 18px;
  line-height: 40px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
  font-weight: normal;
  text-align: center;
  
  border: 0;
  margin: 0;
  padding: 0;
}

/****************************************************************************************************
 * Index
 */
#index {
    background: #CCC;
    padding: 16px 0px 16px 16px;
}
#index .navigation h6,
#index .navigation ol li a small { 
  display: none;
}

#index .navigation ol {
  display: inline;
  padding: 0;
  margin-right: 0px;
}

#index .navigation ol:after {
    display: block;
    clear: both;
    content: '';
}

#index .navigation h5 {
  background: #cf0000;
  color: #ffffff;
  display: inline-block;
  font-size: 20px;
  
  padding: 5px;
  width: 55px;
  height: 140px;
}

#index .navigation li {
  background-position: top center;
  background-size: 100%;
  background-color: #FFF;
  display: inline-block;
  margin-right: 16px;
  overflow: hidden;
  position: relative;
  padding: 0;
  width: 150px;
  vertical-align: top;
  border: 4px solid #FFF;
  float: left;
}

#index .navigation li.active, #index .navigation li:hover {
  border-color: #FC4482;
}

#index .navigation li a {
  font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
    font-weight: normal;
    text-align: center;
    text-decoration: none;
    display: block;
    width: 150px;
    min-height: 108px;
    max-height: 200px;
    position: relative;
    overflow: hidden;
}

#index .navigation li a img {
    width: 100%;
    display: inline-block;
    float: left;
    transition: transform 0.3s ease-in-out;
    transition: -webkit-transform 0.3s ease-in-out;
    -webkit-tap-highlight-color: transparent;
}


/* #index .navigation li a:focus img, #index .navigation li a:hover img, #index .navigation li a img:active { */
#index .navigation li.active a img {
   -webkit-transform: scale(1.5, 1.5) rotate(15deg);
    transform: scale(1.5, 1.5) rotate(15deg);
}

#index .navigation li a h7 {
    background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.36) 80%);
    font-size: 12px;
    padding: 42px 8px 8px;
    position: absolute;
    z-index: 2;
    left: 0px;
    right: 0px;
    bottom: 0;
    line-height: 20px;
    color: #FFF;
    text-shadow: 0px 1px 0px #000;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#index .navigation li a:after {
    clear: both;
    content: '';
    display: block;
}
