/*  Searcha Page */

#isbn { padding: 0.1em }

.buyback-heading {
  color: #8888ff;
  font-weight: bold;
  padding: 0;
  text-align: center;
  margin: 0;
}
h1.buyback-heading {
  font-size: 2.8em;
}
h2.buyback-heading {
  font-size: 1.4em;
  margin-bottom: 1em;
}
@media (max-width:700px) {
    /* Base the heading size on screen width */
    h1.buyback-heading {
        font-size: 5vw;
    }
    h2.buyback-heading {
        font-size: 2.5vw;
    }
}
@media (max-width: 500px) {
    /* Make header have a minimum size */
    h1.buyback-heading {
        font-size: 2em;
    }
    h2.buyback-heading {
        font-size: 1em;
    }
}

#buyback {
  padding: 0;
  border-collapse: collapse;
  margin: 0 auto;
}

h2.results-info {
  text-align: center;
}

#buyback thead .table_header th {
  background-color: #ccccff;
  border: 1px solid #8888ff;
  text-align: center;
  padding: 2px;
  text-decoration: none !important;
  font-weight: bold;
}
#buyback thead .table_header th a img {
  border: 0px;
}


#buyback tfoot td {
  border-top: 1px solid #8888ff;
}
.sell_link {
  text-decoration: none !important;
} 

#buyback tfoot td {
  text-align: center;
}

#waiting_text {
  font-size: 400%;
  color: #8888ff;
  text-align: center;
  line-height: 100%;
}

.description {
  margin: 0 auto;
  max-width: 550px;
  text-align: center;
}


/*  /Search Page */


/*  from the index page */

#about_buyback {
  text-align: center;
  width: 40em;
  font-weight: bolder;
  margin-top: 1em;
}

@media (min-width: 901px) {
    /* Constrain search box when not mobile */
    .index_isbn_container {
      width: 24em;
      float: right;
    }
}

.index_description_container {
  max-width: 27em;
}

.index_description_container li {
  padding-bottom: 0.6em;
}

@media (max-width: 900px) {
    /* Make description dynamically size based on screen width */
    .index_description_container {
        margin: auto;
    }
}

@media (max-width: 400px) {
    /* Make description not turn too small on tiny screens */
    .index_description_container {
        font-size: inherit;
        width: 100%;
        min-width: 100px;
        margin: 1em;
    }
}

#js_required {
  font-weight: bolder;
  font-size: 150%;
  color: red;
}

/*  /index page  */

.isbn_info_textual {
  vertical-align: top;
}

.html_button {
  padding: 0.7em 1em;
}

.html_button img {
  text-align: center;
  vertical-align: middle;
  margin-right: 5px;
}

.info {
  float: left;
  width: 20em; 
  vertical-align: top;
  text-align: left;
  margin-left: 5px;
}

@media only screen and (max-width: 1201px) { 
    .info {
        width: 9.2em;
    }

    .table_header_partner img {
        width: 71px;
    }
 } 



.info_image {
  float: left;
}
.isbn_info_title {
 font-weight: bold;
 font-size: 80%;
}

.isbn_info_container, .isbn_info_container td, .isbn_info_container th {
    border: none !important;
}

.isbn_info_isbn {
  font-style: italic;
  font-size: 75%;
}
.isbn_info_image_container {
    text-align: center;
}

a .price {
  font-weight: bold;
  font-size: 138.5%;
}
.price {
  font-weight: bold;
  font-size: 138.5%;
}

#contain_best {
  text-align: right;
  padding-left: 5px;
}

#contain_fewest {
  text-align: left;
  padding-right: 5px;
}

.remove {
  color: red;
  cursor: pointer;
  font-size: 77%;
}
.no_offer {
  color: gray;
}
.results_info {
  color: #8888ff;
  font-size: 150%;
  text-align: center;
  line-height: 120%;
}

/* custom */

/* initially hidden */
.search_results_content { 
    display: none
}

.html_button_text { 
    padding-bottom: 0.1em
}
.html_button_container_set { 
    margin-top: 0.7em
}

.selected_button .html_button_text, .featured-price .price { 
    font-weight: bold; 
    border-bottom: 4px solid #f03;
    text-decoration: none !important
}
.selected_button .html_button_text, .featured-price .price, .featured-price a, .featured-price a:hover { 
    text-decoration: none !important
}


#buyback_results { 		/* whole table */
    padding: 0; 
    border-collapse: collapse; 
    margin: 0 auto;
}

#buyback_results td, #buyback_results th { /* each cell */
    text-align: center; 
    vertical-align: middle; 
    border: 1px solid #8888ff; 
    border-collapse: collapse; 
    padding: 0; 
}
#buyback_results td { 		/* only non-header cells */
    padding: 3px; 
}

#buyback_results .isbn_description { text-align: left; padding-right: 1em }

#buyback_results th.table_header_partner { padding: 3px }

@media only screen and (max-width: 1201px) {
#buyback_results th.table_header_partner { padding: 0px }
}

#buyback_results thead .table_header th { /* header cells */
    background-color: #ccccff;
    text-decoration: none !important;
    font-weight: bold;
}

#buyback_results thead img { 	/* images */
    border: 0
}

/* Base styles media queries */

@media (max-width: 900px) {
    /* Remove two-column display */
    .yui-g .yui-u {
        width: 100%;
    }
    /* Span document body to the width of the screen */
    #doc2 {
        min-width: initial;
        width: 100%;
    }
}

