/*
* book_finder.css
*
* Styles for all versions of the site (desktop, mobile, etc) go here
*/

/*
 * Custom reset
 */

body, img, ul, p {
  margin: 0;
  padding: 0;
  border: 0 none;    
}


body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  color: #999;
}

h1, h3 {color: #000;}

h1 > span {
    display: inline-block;
    background: #d9d9d9 url(/images/title-arrow.png) right center no-repeat scroll;
    color: #fff;
    /* Align with left edge of page */
    margin-left:-20px;
    padding: 5px 35px 5px 20px;
}

ul {
    margin: 0 0 1em 1.25em;
}

p {
    margin-bottom: 1em;
}

a {
    color: #999;
}

p > a {
    color: #666;
}

input[type="text"] {
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border: 1px solid #999;
	font-size: 15px;
	padding: 5px 4px;
	vertical-align: middle;
}

input.default-text {
    font-style: italic;
    color: #999;
}


#libraries_map {
  width: 500px;
  height: 500px;
  margin: 0 auto;
}


#libraries_list {
  font-size: 10px;
  line-height: 100%;
  float: left;
  width: 300px;
  background: #eee;
  list-style: none;
  padding: 5px 0px;
  margin: 0px 0px 0px 10px;
}

#libraries_list li {
  padding: 0px 5px;
  margin: 10px 0px;
}

#libraries_list li:hover {
  background: #555;
  color: #fff;
  cursor: pointer;
  margin-left: -15px;
}

.book > h3 {
  margin: 10px 0px 10px 0px;
}

.book > .author {
  margin-left: 100px;
  font-size: 80%;
}

.book > .libraries > ul {
  margin: 0px 0px 0px 100px;
  padding: 0px 0px 0px 0px;
  list-style: none;
}

.book > .libraries > ul > li {
}



.book_search {
  margin: 10px auto 40px;
}

.book_search input, 
.book_search button {
	vertical-align: middle;
}

.book_search {
    margin-bottom: 8px;
}

.book_search form:after {
    content: ".";
    clear: both;
    display: block;
    height: 0px;
}

#geolocation img{
  vertical-align: middle;
}

.errors {
    background: #FF0000;
    color:#000;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
}



.book .image {
  float: left;
  border: 1px solid black;
}

.book .details {
  margin-left: 100px;
}

.book .details dt {
  font-weight: bold;
  margin-top: 10px;
}


.book .links {
  width: 400px;
  padding: 5px 0px 10px 10px;
  margin-left: 100px;
  background: #555;
}

.book .links a {
  color: white
}


.clear {
  clear: both;
}

button,
a.button {
  padding: 6px 12px;
  border: 0 none;
  color: #fff;
  font-weight: bold;
  font-size: 18px;
  background: #99cc33 none;
  text-align: center;
  text-decoration: none;
}


button:hover,
button.secondary,
a.button:hover,
a.button.secondary {
  background: #999 none;
  text-decoration: none;
}

#logo a {
    border: 
}

.address_search {
  margin-bottom: 30px;
}

#your_address {
  width: 400px;
  padding: 5px 0px 10px 10px;
  margin-left: 100px;
  background: #555;
  color: white;
  cursor: pointer;
}

a:link,a:active,a:visited {text-decoration: none;}
a:hover {text-decoration: underline;}

.book-row {
	position: relative;
	padding: 0 0 10px 15px;
	margin: 0 0 10px 0;
	border-bottom: 1px solid #999;
}
.book-row:after {
	content: ".";
	clear: both;
	display: block;
	height: 0px;
}

.book-row h3 {

}

a.book-detail-thumb {
	float: left;
	padding-right: 15px;
}

a.book-detail {
	float: left;
	clear: right;
    background: transparent url(/images/icons.png) -8px 0 no-repeat scroll;
    padding-left: 21px;
    line-height: 21px;
    font-size: 17px;
}

a.map {
	float: left;
    background: transparent url(/images/icons.png) 0 -43px no-repeat scroll;
    padding-left: 31px;
	margin-left: 200px;
    line-height: 21px;
    font-size: 17px;    
}

.book-title {
    
}

.book-info {
    display: inline-block;
    background: transparent url(/images/icons.png) 0 -128px no-repeat scroll;
    padding-left: 31px;
    line-height: 32px;
    font-size: 17px;
    color: #99cc33;
}

div.pagination a {
    line-height: 20px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;
    text-decoration: none;
}
div.pagination a:hover {
    color: #ff9933;
}
div.pagination a.prev {
    float: left;
}
div.pagination a.next {
    float: right;
}


/*
 * Book Detail
 */


.pg-book-details .buttons .secondary {
    float: right;
}

.pg-book-details p {
	margin-bottom: 15px;
}

.pg-book-details .buttons {
	margin-top: 20px;
}

.book-detail-thumb img{
  width: 80px;
}

/*
 * iPhone app ad
 */
.iphone-app-link {
    border:3px solid #5741C3;
    font-size:22px;
    padding:16px;
    margin-top: 80px;
    text-align:center;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
}
.iphone-app-link a {
    font-size: 26px;
    font-weight: bold;
    background: #5741C3;
    color: #fff;
    padding: 6px 9px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
}

.iphone-app-link a:hover {
    
}
