@media screen and (max-width: 959px) {

  img { height:auto; }
  body {
    min-width: 0;
    width: 100%;
  }
  .shell {
    width: 100%;
  }
  #wrapper {
    overflow: hidden;
    padding: 0 2%;
  }
  #main {
    padding: 0px;
  }
  #content {
    margin-bottom: 4%;
    width: 100%;
  }
  #sidebar {
    float: none;
    text-align: center;
    width: 100%
  }
  #sidebar .block {
    float: left;
    margin: 2% 1%;
    text-align: left;
    width: 30%;
  }
  #sidebar .title {
    clear: both;
  }
  #footer .footer-cnt {
    margin: 0 -3%;
    padding: 2% 3% 0;
    width: 100%;
  }
  #footer .footer-cnt .col {
    border: none;
    padding: 0px;
    margin: 0px;
    width: 100%;
  }
  #navigation .r-nav ul li { padding: 0 20px 0 10px; }
  #homepage-features .col {
    margin-top: 4%;
    padding: 0 2%;
    width: 29%;
  }
  .region-before-content {
    width: 100%;
  }

  #navigation,
  #header .head-r {
    display: none;
  }

  .newsletter-signup-block input.subscribe-btn {
    float: none;
  }

  #mobile-nav {
    display: block;
  }

  #header {
    padding-top: 25px;
  }
  .view.book-teaser-list .field-image-wrapper{
    min-height:250px;
  }
  .half-book-teaser-list section .field-image-wrapper{
    min-height:270px;
  }
  .half-book-teaser-list section .node-yup-book.node-teaser{
    width:160px;
  }

}

@media screen and (max-width: 715px) {
  #page-title {
    padding-bottom: 0px;
  }

  .view.book-teaser-list .views-grouping-wrapper .views-row{
    width:24%;
  }
  .view.book-teaser-list .field-image-wrapper{
    min-height:230px;
  }

  .region-before-content #block-search-form label {
    display: none;
  }

  .region-before-content #block-search-form {
    height: auto;
    padding: 5px;
    text-align: center;
  }

  .region-before-content #block-search-form .form-type-textfield {
    display: inline-block;
    margin: 3px auto;
    width: 97%;
  }

  .region-before-content #block-search-form input[type="text"] {
    display: block;
    margin: auto;
    width: 97%;
  }

  #sidebar .block {
    width: 45%;
  }

  .views-exposed-form .views-exposed-widget {
    float: none;
    display: block;
  }
}

@media screen and (min-width: 725px) {
  .region-before-content #block-search-form input[type="submit"] { left: 684px; }
}

@media screen and (max-width: 500px) {
  #sidebar .block {
    width: 100%;
  }

  .scribbd {
    display: none;
  }

  #homepage-features .col {
    display: block;
    float: none;
    width: 100%;
  }

  .book-listing-two-col .view-content .item-list ul li,
  .book-listing .view-content .item-list ul li {
    background-color: #fff;
    display: block;
    float: none;
    width: inherit;
  }

  .view-new-notable .views-field-nid-1 {
    float: none;
    margin: 0;
  }

  .view.book-teaser-list .views-grouping-wrapper .views-row {
    display: block;
    width: 100%;
    margin-bottom: 36px;
  }
  .view.book-teaser-list .field-image-wrapper,.view.book-teaser-list .field-image-wrapper img,
  .half-book-teaser-list section .node-yup-book.node-teaser img{
    position: static;

  }
  .half-book-teaser-list section .node-yup-book.node-teaser{
    width:100%;
    margin-bottom:20px;
  }
  .half-book-teaser-list section .field-image-wrapper{
    position: static;
    min-height:1px;

  }

}

@media screen and (min-width: 700px) {
  .view-home-page-rotator,
  .view-main-catalog-page { background-color: #5F8EC2; }

  .view-main-catalog-page .views-slideshow-controls-bottom span,
  .view-home-page-rotator .views-slideshow-controls-bottom span {
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=75)";
    filter: alpha(opacity=75);
    -moz-opacity: 0.75;
    -khtml-opacity: 0.75;
    opacity: 0.75;
    position: absolute;
    height: 70px;
    width: 30px;
  }
  .view-main-catalog-page .views-slideshow-controls-bottom span:hover,
  .view-home-page-rotator .views-slideshow-controls-bottom span:hover {
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    filter: alpha(opacity=100);
    -moz-opacity: 1;
    -khtml-opacity: 1;
    opacity: 1;
  }

  .view-home-page-rotator .views-row a,
  .view-main-catalog-page .views-row a { color: #fff; }

  .view-home-page-rotator .views-field-title,
  .view-main-catalog-page .views-field-title,
  .view-home-page-rotator .views-field-body,
  .view-main-catalog-page .views-field-body {
    color: white;
    float: left;
    margin: 10px 0;
  }
  .view-home-page-rotator .views-field-body,
  .view-main-catalog-page .views-field-body {
    margin-right: 0px;
    width: 59%;
  }
  .view-home-page-rotator .views-field-title,
  .view-main-catalog-page .views-field-title {
    margin-left: 0px;
    margin-right: 20px;
    padding-right: 20px;
    text-align: right;
    width: 30%;
  }

  .view-main-catalog-page span.views-slideshow-controls-text-previous,
  .view-home-page-rotator span.views-slideshow-controls-text-previous,
  .view-main-catalog-page span.views-slideshow-controls-text-next,
  .view-home-page-rotator span.views-slideshow-controls-text-next {
    display: block;
  }
}
