/* update: 170919 3 */

/* Body
===================================== */

#maincontent {
  max-width: 1390px;
  margin-left: auto;
  margin-right: auto;
  background-color: #fff;
  display:block;
  clear:both;
  padding-top: 40px;
  padding-bottom: 40px;
  padding-left: 1.38889%;
  padding-right: 1.38889%;
  font: 100%/1.8rem 'guardian-text-oreilly',open-sans,Helvetica,Arial,sans-serif;
  -webkit-text-size-adjust: 100%;
  font-size:1.2rem;
  color: #404040;
}
#maincontent:after {
  display: block;
  content: " ";
  clear: both;
}

/* Three column layout
===================================== */

#left_col {
  float: left;
  padding-left: 40px;
  padding-right: 20px;
  width: 230px;
}
#mid {
  margin-left: 270px;
  overflow: hidden;
  padding-right:40px;
}
#mid_col, #top {
  overflow: hidden;
}
#mid_col_coverview {
  margin: 0;
}
#inner_mid_col {
  display: block;
}
#right_col {
  display: none;
}

/* Search box
===================================== */

#search-box {
  padding:  0 40px 40px;
}
.search {
  position: relative;
  margin: 0 auto;
  width: 70%;
}
#search-input input {
  font-family: 'guardian-text-oreilly',open-sans,Helvetica,Arial,sans-serif;
  font-size: 1.2rem;
  line-height: 30px;
  height:44px;
}
#search-input input[type="text"] {
  width: 100%;
  max-width: 890px;
  margin-right: 90px;
  margin: 0;
  border: 1px solid #c5c5c5;
  vertical-align:top;
  padding: 0 10px 5px;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
  color: #404040;
}
#search-input input[type="submit"] {
  background: #d3002d;
  color: #fff;
  opacity: 1;
  font-size: 1.2rem;
  font-weight: bold;
  border:none;
  cursor:pointer;
  padding: 0 15px 5px;
  position: absolute;
  top: 0;
  right: 0;
  width:90px;
  -webkit-border-top-right-radius: 2px;
  -webkit-border-bottom-right-radius: 2px;
  -moz-border-radius-topright: 2px;
  -moz-border-radius-bottomright: 2px;
  border-top-right-radius: 2px;
  border-bottom-right-radius: 2px;
}
#search-input input[type="submit"]:hover, #search-input input[type="submit"]:active {
  background: #9f0027;  
}
.searchInput {
  display:inline;
}
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px;
  width: 1px;
  overflow: hidden;
  position: absolute !important;
}
.yui-skin-sam .yui-ac-input {
  width: 100%;
}
.yui-skin-sam .yui-ac-container {
  top: 44px;
  width: 100%;
}
.yui-skin-sam .yui-ac-content {
  position: absolute;
  width: 100%;
  border: 1px solid #c5c5c5;
  background-color: #fff;
  overflow: hidden;
  z-index: 9050;
}
.yui-skin-sam .yui-ac-shadow {
  position: absolute;
  margin: .3em;
  width: 100%;
  background: #000;
  -moz-opacity: 0.10;
  opacity: .10;
  filter: alpha(opacity=10);
  z-index: 9049;
}
.yui-skin-sam .yui-ac-content ul {
  margin: 0;
  padding: 0;
  width: 100%;
}
.yui-skin-sam .yui-ac-content li {
  margin: 0;
  padding: 2px 10px;
  cursor: default;
  white-space: nowrap;
}
.yui-skin-sam .yui-ac-content li.yui-ac-prehighlight {
  background: #ddd;
}
.yui-skin-sam .yui-ac-content li.yui-ac-highlight {
  background: #bbb;
  color: #fff;
}

/* Left column
===================================== */

#netnav h3 {
  font-weight: normal;
  font-size: 1rem;
}
#netnav a {
  color: #d3002d;
  opacity: 1;
  font-family: 'guardian-text-oreilly',open-sans,Helvetica,Arial,sans-serif;
}
#netnav a:hover, #netnav a:focus {
  opacity: 0.7;
}
#netnav .title h3 {
  background: #f5f5f5;
  padding: 4px 8px 8px;
  margin-bottom: 20px;
  font-size: 1.2rem;
}
#netnav ul {
  list-style: none;
  font-size: 1rem;
  line-height: 1.5rem;
}
.num_results {
  font-size: 0.8rem;
  color: #404040;
}
#netnav ul ul {
  border: 1px solid #f5f5f5;
  max-height: 145px;
  overflow-y: auto;
  padding: 2px 7px 0;
  margin-top: 10px;
  margin-bottom: 20px;
}

/* Main results column
===================================== */

#mid_header {
  display: block;
  margin-bottom: 15px
}
#sort, .pagination  {
  font-size: 0.85rem;
}
#sort {
  float: left;
}
.pagination {
  text-align: right;
}
#content_footer .pagination {
  padding-right: 20px;
}
.selected {
  font-weight: bold;
  color: #d3002d;
}
.pagination a, .selected {
  padding-left: 4px;
}
.pagination a:hover {
   color: #d3002d;
}
.pagination a img {
  display:none;
}
.pagination a:last-of-type:after {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 7px 0 7px 12px;
  border-color: transparent transparent transparent #404040;
}
.pagination a:last-of-type:hover + .pagination a:last-of-type:after {
  border-color: transparent transparent transparent #d3002d;
}
.bread_crumb {
  font-size: 1rem;
  font-weight: normal;
  margin-bottom: 20px
}
.strong {
  font-weight: bold;
}
#mid_col {
  clear:both;
}
.result {
  display: block;
  clear: both;
  margin: 0;
  overflow: hidden;
  margin-bottom: 25px;
}
.result .book {
  float: left;
  padding-top: .2em;
  max-width: 85px;
}
.learn-more img {
  display: none;
}
.learn-more {
  font-family: 'guardian-text-oreilly',open-sans,Helvetica,Arial,sans-serif;
  font-size: 1rem;
  font-weight: bold;
  color: #222;
  opacity: 1;
  height:30px;
  line-height: 25px;
  background-color: #ffaa00;
  padding: 0 8px;  
  float: right;
  display: block;
  text-align: center;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
  margin-left: 10px;
}
a.learn-more:hover {
  opacity: 0.85;
}
.result .book_text {
  display: block;
  margin-left: 95px;
}
.result img.book:hover {
  opacity: 0.85;
}
.result .title {
  font-size: 1rem;
  line-height: 1.2rem;
  font-weight: bold;
  margin-bottom: 3px;
}
.result .note, .result .editions, .result .languages {
  font-size: 0.85rem;
  line-height: 1.15rem;
  font-weight: normal;
}
.description {
  font-size: 1rem;
  line-height: 1.2rem;
  margin-top: 2px;
  padding-right: 25%;
}
.book_text .ratings {
  display: block;
  overflow: hidden;
  line-height: 1rem;
}
.ratings .pr-snippet {
  width: 200px;
  clear: none;
  float: none;
}
.ratings .pr-snippet .pr-snippet-wrapper {
  border:none;
  background: #fff;
  padding: 0;
}
.ratings .pr-snippet .pr-snippet-wrapper .pr-snippet-stars {
  border: none;
  padding: 10px 1px 2px;
  margin: 0;
}

/* ++++++++++++ 
retina stars??? 
+++++++++++++*/

.pr-snippet .pr-snippet-wrapper .pr-snippet-stars .pr-snippet-rating-decimal {
  background-color: #414142;
  color: #fff;
  padding: 0 0.2rem 0;
  font-size: 0.7rem;
}
.ratings .pr-snippet .pr-snippet-wrapper .pr-snippet-read-write, .ratings .pr-snippet .pr-snippet-wrapper .pr-snippet-review-count, .ratings .pr-snippet .pr-snippet-read-reviews {
  display: none;
}
.result .editions, .result .languages {
  padding-top: 6px;
}
#content_footer {
  padding-right: 20px;
}

/* No results page
===================================== */

.row, .module {
  padding: 0 40px;
}
.body {
  width: 70%;
  margin: 0 auto;
}
.fsxl {
  margin-bottom: 20px;
  font-size: 1.5rem;
  line-height: 1.9rem;
}
.fwb {
  font-weight: normal;
}
.fsl {
  font-size: 1.2rem;
}
.disc {
  padding-left: 20px;
}

/* Responsive
===================================== */

@media (max-width:850px) {
  #maincontent {
    padding-left: 0;
    padding-right: 0;
  }
  #left_col {
      padding-left: 20px;
  }
  #mid {
    margin-left: 250px;
    padding-right:20px;
  }
  .search, .body {
    width: 80%;
  }
  #content_footer .pagination {
    padding-right: 0;
  }
}
@media (max-width:750px) {
  #left_col, .learn-more {
    display: none;
  }
  #mid {
    margin-left: 0;
    padding-left: 20px;
  }
  .search, .body {
    width:90%;
  }
  #search-box {
    padding:  0 20px 40px;
  }
  #search-input input[type="text"] {
    font-size: 1rem;
    height:34px;
  }
  .yui-skin-sam .yui-ac-content li {
    font-size: 1rem;
  }
  #search-input input[type="submit"] {
    font-size: 1rem;
    font-weight: bold;
    height:34px;
  }
  .description {
    padding-right: 0;
  }
  /* no results page */
  .row, .module { 
    padding: 0 20px;
  }
  .fsxl  {
    font-size: 1.2rem;
    line-height: 1.6rem;
  }
  .fsl {
    font-size: 1rem;
    line-height: 1.5rem;
  } 
  .fsl h3 {
    margin-bottom: 6px;
  }   
}
@media (max-width:500px) {
  .search, .body {
    width:100%;
  }
  #search-box {
    padding:  0 20px 20px;
  }
  #sort {
    display:block; 
    float: none; 
  }
  .pagination {
    text-align: left;
    display:block;
    float: none; 
  }
  #content_footer .pagination {
    padding-left: 20px;
  }
  #maincontent {
    padding-top: 20px;
    padding-bottom: 20px;
  }
  .row { /* no results page */
    padding: 0;
  }
}
@media (max-width:350px) {
  .pagination a, .selected {
    padding-left: 3px;
  }
}