@import '//fonts.googleapis.com/css?family=Lato:400,400italic|Arvo:700,400,400italic';

body {
    margin: 0;
    padding: 0;
    font: 15px/1.5 'Lato', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #4E443C;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.75);
}

.bookcover{
	width: 188px;
}

li {
  width: 186px;
  }
  
h1, h2, h3, h4, h5, h6 {
  font-family: 'Arvo', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  text-align: center;
  font-weight: normal;
  text-rendering: optimizelegibility;
}

h1 {
    color: #4E443C;
    font-size: 36px;
    font-weight: bold;
}

h2, h2 a {
    color: #F14E32;
}

h3, h3 a {
  color: #0388A6;
}

a {
  color: #0388A6;
}

pre {
  border:1px solid #000;
  overflow-x:auto;
  background: #222;
  color: #fff;
  text-shadow: none;
}

.wrapper {
	max-width: 560px;	
	/* max-width: 958px; */
    /* max-width: 758px; */
    padding: 3px 10px 0px 10px;
    margin: auto;
}

.image
{
    background:url(images/back.png);
    height:100px;
    width:100px;
    display: block;
    float:left;
}

ul.img-list {
  list-style-type: none;
  margin: 0;
  padding: 0;
  text-align: center;
}
 
ul.img-list li {
  display: inline-block;
  height: 268px;
  margin: 0 3px 0 3px;
  position: relative;
  width: 180px;
}

span.text-content {
  background: rgba(0,0,0,0.7);
  color: white;
  z-index: 1;
  cursor: pointer;
  display: table;
  height: 268px;
  left: 0;
  position: absolute;
  top: 0;
  width: 180px;
  opacity: 0;
  -webkit-transition: opacity 500ms;
  -moz-transition: opacity 500ms;
  -o-transition: opacity 500ms;
  transition: opacity 500ms;
}
 
span.text-content span {
  display: table-cell;
  text-align: center;
  vertical-align: middle;
  padding: 1em;
}

ul.img-list li:hover span.text-content {
  opacity: 1;
}

@media only screen and (max-width: 660px) {
	.wrapper {
		/*max-width: 958px;*/
		max-width: 189px;
	    /* max-width: 758px; */
	    padding: 3px 10px 0px 10px;
	    margin: auto;
	}
	
	.bookcover{
		width: 188px;
	}
	
}

@media only screen and (max-width: 299px) {
	.wrapper {
		/*max-width: 958px;*/
		max-width: 151px;
	    /* max-width: 758px; */
	    padding: 3px 10px 0px 10px;
	    margin: unset;
	}
	
	.bookcover{
		width: 150px;
	}
	
	li {
	  width: 148px;
	  }

}
