#mobileSearchButton,
#mobileCartButton,
#mobileMenuButton {
  height: 40px;
  width: 44px;
}
#mobileMenuButton {
  left: 0px;
  position: relative;
  margin-left: 0;
}
#mobileCartButton.glyphicon {
  top: 2px;
}
#mobileCartButton span {
  font-size: 12px;
  position: absolute;
  right: 6px;
  top: -1px;
}
/* This size and smaller */
@media (max-width: 413px) {
  .shelf-img img {
    position: relative;
    left: -10px !important;
  }
  /*.ribbon-wrapper {
    z-index: 1000;
    right: 10px;
  }*/
  .shelf-action-buttons {
    left: 15px;
  }
  .shelf-more-info {
    width: 94%;
  }
  .header-extra-stuff {
    width: 280px !important;
  }
  .header-extra-stuff h1 {
    font-size: 26px;
  }
}
/* Between these sizes only */
@media (min-width: 414px) and (max-width: 767px) {
  .shelf-more-info {
    width: 94%;
  }
  .header-extra-stuff {
    margin-left: -15px !important;
    width: 400px !important;
  }
}
@media (max-width: 860px) {
  .btn.nav-cart {
    padding: 6px 0px;
  }
  .dropdown a.btn.dropdown-toggle {
    padding: 6px 0px;
  }
  .login-logout-text {
    margin: 21px 0;
  }
}
/* XS This size and smaller */
@media (max-width: 768px) {
  /* Drop down nav */
  nav .navbar-collapse.collapse {
    /*display: none !important;*/
  }
  .header-extra-stuff h1 {
    margin-top: 20px !important;
  }
  #searchForm {
    display: none !important;
  }
  .navbar-nav li a:not(.btn) {
    font-size: 20px;
    font-weight: 500;
    padding: 14px;
  }
  .dropdown-menu.columns-4 .multi-column-dropdown {
    margin: 0;
    width: 100% !important;
  }
  .dropdown-menu .multi-column-dropdown {
    height: auto !important;
  }
  .multi-column-dropdown {
    border: none !important;
    padding: 3px !important;
  }
  .multi-column-dropdown li a {
    font-size: 18px;
    margin-left: 3.5%;
  }
  .multi-column-dropdown > li > strong {
    font-size: 20px;
  }
  /* Buttons */
  .btn-read-now {
    /*font-size: 20px;*/
    margin-bottom: 5px;
  }
  .mobile-only a.btn-read-now,
  .mobile-only a.btn-read-now-alt {
    float: none;
    display: inline-block;
    width: 100%;
  }
  /* Search results page */
  #refineSearch li {
    font-size: 18px;
  }
  #refineSearch li a {
    display: inline-block;
    font-size: 18px;
    padding: 6px 0px;
  }
  #refineSearch li.filter-type {
    font-size: 20px;
    font-weight: 500;
  }
  /* My Comics */
  .shelf-action-buttons li a {
    font-size: 16px;
  }
  .shelf-more-info {
    height: auto;
    margin-left: 10px;
  }
  .shelf-more-info > div {
    height: auto;
  }
  .shelf-more-info-description {
    width: 90%;
  }
  .shelf-more-info-buttons {
    display: block;
    margin: 0 auto;
    text-align: center;
    width: 100%;
  }
  .shelf-more-info-action-buttons {
    margin: 20px 0 20px 18px;
  }
  .nav-cart {
    text-align: left;
  }
  .nav-cart-dropdow {
    background: transparent;
    border: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    display: inline-block;
    left: 90px;
    padding: 8px 0px 4px 14px;
    top: 2px;
    width: auto;
  }
  /* Cart */
  .cart-item,
  .payment-buttons {
    text-align: center;
  }
  .col-xs-hidden {
    display: none !important;
  }
  .header-extra-stuff {
    display: block;
    width: 100% !important;
    margin-left: 0 !important;
  }
  .header-extra-stuff h1 {
    font-size: 26px;
  }
  .container {
    width: 100%;
    position: relative;
  }
  #navbarMobile {
    float: none;
    text-align: center;
  }
  #navbarMobile .mobile-only {
    display: inline-block !important;
  }
  a.navbar-brand.logo-image {
    width: 106px;
    margin: 0 auto !important;
    float: none;
    display: block;
  }
  a.navbar-brand.logo-image .ipad-desktop-only {
    display: block !important;
  }
  a.navbar-brand.logo-image .mobile-only {
    display: none;
  }
  .featured-nav .rightArrowIcons {
    margin-left: 0;
  }
}
/* Between these sizes only */
@media (min-width: 768px) and (max-width: 991px) {
  /* My Comics */
  .shelf-more-info {
    width: 720px;
  }
  /* Cart */
  .cart-item-image {
    text-align: center;
  }
  .cart-actions {
    margin-bottom: 28px;
    margin-top: 20px;
  }
  .header-extra-stuff {
    display: block;
    width: 100% !important;
    margin-left: 0 !important;
  }
  .header-extra-stuff h1 {
    font-size: 26px;
    margin-top: -88px;
  }
  .container {
    width: 100%;
    position: relative;
  }
  .navbar-header {
    width: 100%;
  }
  #navbarMobile {
    float: none;
    text-align: center;
  }
  .navbar-nav > li {
    float: none;
    display: inline-block;
  }
}
/* SM This size and smaller */
@media (max-width: 991px) {
  /* Search results page */
  .refinements-header h3 {
    margin-bottom: 10px;
    margin-top: 10px;
  }
  .col-sm-hidden {
    display: none !important;
  }
  .app-buttons {
    display: none;
  }
}
/* Between these sizes only */
@media (min-width: 992px) and (max-width: 1199px) {
  /* My Comics */
  .shelf-more-info {
    width: 940px;
  }
}
/* This size and smaller */
@media (max-width: 1199px) {
  .header-extra-stuff {
    margin-left: 15px;
    width: 400px;
  }
}
/* For iPad portrait mode */
@media (min-width: 768px) and (max-width: 991px) {
  .dropdown-menu.multi-column {
    padding: 0;
    margin: 0;
  }
  .mycomics {
    left: 10px !important;
  }
  .label.content-rating {
    position: relative;
    left: -5px;
    padding: 2px 3px;
  }
  .fit-better {
    height: auto !important;
    /*width: 97% !important;*/
  }
  #carousel_brands img {
    height: 97% !important;
    width: 97% !important;
  }
}
/* End For iPad portrait mode */
/* For iPad portrait AND smaller */
@media (max-width: 991px) {
  .featured-space {
    position: relative;
    width: 100%;
    text-align: center;
  }
  .small-featured {
    /*width: 97% !important;*/
    height: auto !important;
  }
  #carousel_brands img {
    height: 97% !important;
    width: 97% !important;
  }
  .pager-view-page-size {
    display: none;
  }
}
@media (max-width: 479px) {
  .featured-drawer .owl-item {
    text-align: center;
    position: relative;
  }
  .featured-drawer .owl-item img {
    padding: 0 auto;
    width: 120px;
    height: 180px;
  }
  .small-prev {
    display: none;
  }
  .small-next {
    display: none;
  }
  #carousel_brands img {
    height: 90% !important;
    width: 90% !important;
  }
  /*#searchForm {
      display: none;
    }*/
  .navbar-brand .img-responsive {
    width: 200px;
    height: 45px;
  }
  .lazy-image.product-cover {
    width: 120px !important;
    height: 180px !important;
  }
}
@media (min-width: 375px) and (max-width: 413px) {
  .lazy-image.product-cover {
    width: 96px !important;
    height: 144px !important;
  }
}
@media (max-width: 360px) {
  .navbar-brand .img-responsive {
    width: 160px;
    height: 36px;
  }
  section .owl-item img {
    height: 180px !important;
    width: 120px !important;
  }
  .lazy-image.product-cover {
    width: 90px !important;
    height: 135px !important;
  }
}
@media (max-width: 509px) {
  .image-stack:nth-child(1n+1) {
    margin-left: 25px;
  }
  .col-xs-hide {
    display: none;
  }
  .product-info.row {
    text-align: left;
  }
  .see-all {
    display: none;
  }
  .mobile-see-all {
    display: block;
  }
  .mobile-see-all br {
    display: none;
  }
}
@media (min-width: 510px) and (max-width: 767px) {
  .image-stack:nth-child(2n+1) {
    margin-left: 25px;
  }
  .image-stack:nth-child(2n+0) {
    margin-left: 0;
  }
  .col-xs-hide {
    display: none;
  }
  .product-info.row {
    text-align: left;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .image-stack:nth-child(3n+1) {
    margin-left: 25px;
  }
  .image-stack:nth-child(3n+0) {
    margin-left: 0;
  }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .image-stack:nth-child(4n+1) {
    margin-left: 25px;
  }
  .image-stack:nth-child(4n+0) {
    margin-left: 0;
  }
}
@media (min-width: 1200px) {
  .image-stack:nth-child(5n+1) {
    margin-left: 25px;
  }
  .image-stack:nth-child(5n+0) {
    margin-left: 0;
  }
}
@media (max-width: 413px) {
  .row.most-popular img {
    width: 85%;
    height: 85%;
  }
  h2 {
    font-size: 28px;
  }
}
/* End For iPad portrait AND smaller */
@media (min-width: 768px) {
  .mobile-only {
    display: none!important;
  }
  #navbarMobile {
    margin: 0 0 26px 0;
    display: none!important;
  }
  /* Drop down nav */
  .columns-4 {
    width: 960px;
  }
  /* Search form */
  #searchMobileForm {
    display: none!important;
  }
  /* Cart */
  .payment-buttons {
    text-align: right;
  }
  /* Navbar */
  #navbar {
    position: absolute;
    right: 0;
    top: 0;
  }
}
@media (min-width: 991px) {
  .ipad-only {
    display: none!important;
  }
}
@media (max-width: 767px) {
  .ipad-only {
    display: none!important;
  }
  .ipad-desktop-only {
    display: none!important;
  }
  .user-dropdown-menu li {
    text-align: center;
  }
  #navbarMobile .mobile-only {
    display: block !important;
  }
}
/* iPad size */
@media (max-width: 991px) {
  .desktop-only {
    display: none !important;
  }
  /* Drop down nav */
  .columns-4 {
    width: 748px;
  }
  .dropdown-menu.columns-4 .multi-column-dropdown {
    margin: 0;
    min-height: 413px;
    width: 50% !important;
  }
  .multi-column-dropdown > li > strong {
    color: #777;
    font-size: 1.1em;
    margin-left: 2%;
  }
  .dropdown-menu a {
    font-size: 14px !important;
  }
  .dropdown-menu {
    left: -250px;
  }
  .multi-column-dropdown {
    border: 1px #bbb solid !important;
    padding: 3px !important;
  }
}
/* Featured Page */
@media (min-width: 767px) {
  #carouselFeatured {
    margin: 0 auto;
    min-height: 316px;
    text-align: center;
  }
  .footer-links{
    float: right;
  }
}
@media (max-width: 767px) {
  .featured-nav {
    display: none;
  }
  .carouselPromotionsContent .item-inner {
    margin: 0 auto;
  }
}
@media (max-width: 479px) {
  .product-info .ribbon-wrapper {
    right: 29px;
  }
}
@media (max-width: 413px) {
  .product-info .ribbon-wrapper {
    right: 53px;
  }
}
@media (max-width: 360px) {
  section .ribbon-wrapper {
    right: 15px !important;
  }
}
