/* Large desktop */
@media (max-width: 1023px) { 
  .header-content .logo-wrap {
    width: 100%;
    margin-bottom: 1rem;}

  .header-content .logo-wrap .ImageLogo{
    text-align: center !important;}
}

/* Portrait tablet to landscape and desktop */
@media (min-width: 768px) and (max-width: 979px) { 
  .CompGridProduct-list > div div.category-product {width:33%}
  .CompGridProduct-list > div div.category-product:first-of-type, .CompGridProduct-list > div div.category-product:nth-of-type(2) { width:50%;}
  .CompGridProduct-list > div div.category-product:first-of-type a, .CompGridProduct-list > div div.category-product:nth-of-type(2) a { max-height:inherit; height:400px; line-height:400px;}
  .CompGridProduct-list .category-product .thumbnail { min-height: inherit; height:205px; line-height: inherit; margin-bottom: 0px; }
  .CompGridProduct-list > div div.category-product:first-of-type .thumbnail:hover .quick-view {top:100px;}
}


@media (min-width: 992px) {
  .container-sm {
    max-width: 1200px; } }

@media (min-width: 768px) {
  .container-xs {
    max-width: 800px; } }

@media (max-width: 767.98px) {
  .product-flags {
    left: 0.35714rem;
    top: 0.35714rem; }
  .product-flags li {
    font-size: 0.71429rem;
    line-height: 1.42857rem;
    padding: 0 0.35714rem;
    min-width: 2.14286rem; }
  .product-flags li:not(:first-child) {
    margin-top: 0.35714rem; } }

@media (max-width: 767px) {
  .category-header .description, .Slider .slide-caption .h4, .Slider .slide-caption .slider-layer {
    display: none; }
  .h1 {
    font-size: 2.571rem; }

  .ChildCategoriesList .CategoryChildCategories {
    flex: 0 0 33.33333333%;}
}

@media (max-width: 480px) {
  .h1 {
    font-size: 1.571rem; }

  .ChildCategoriesList .CategoryChildCategories {
    flex: 0 0 50%;}

  .category-product .product-description { display: none;}
}

@media (min-width: 481px) and (max-width: 991px) {
  .ChildCategoriesList .CategoryChildCategories {
    flex: 0 0 33.33333333%;}
}


/* Landscape phone to portrait tablet */
@media (max-width: 767px) { 
  .SearchAndStuff {text-align:center; margin-top:40px;}
  .SearchAndStuff > div {display:inline-block;}
  .SomeLogo {display:block; margin:0 auto;}

  .left-collapse.collapse {display:none !important;}
  .navbar-header-leftcol.visible-xs {display:block !important; float: none;}
  .left-collapse.collapse.in {display:block !important;}
  body.Default .LayoutMiddle {text-align:center;}
  body.Default  .Control.ProductDisplay h3, body.Default .Control .BlogRollBlogName  {text-align:left;}
  .PhotoBgThumbnails {float:none;}
  .CompGridProduct-list > div div.category-product {width:50%}
  .CompGridProduct-list > div:nth-of-type(2n+1) div.category-product:first-of-type, .CompGridProduct-list > div:nth-of-type(1n+1) div.category-product:first-of-type { width:100%;}
  .CompGridProduct-list > div:nth-of-type(2n+1) div.category-product:first-of-type, .CompGridProduct-list > div:nth-of-type(1n+1) div.category-product:first-of-type a {height:inherit;}
  .CompGridProduct-list > div div.category-product:first-of-type a, .CompGridProduct-list > div div.category-product:nth-of-type(2) a { max-height:inherit; height:300px; line-height:300px;}
  .CompGridProduct-list .category-product .thumbnail { min-height: inherit; height:300px; line-height: inherit; margin-bottom: 0px; }
  .CompGridProduct-list > div:nth-of-type(1n+1) div.category-product {float:left;}
  .CompGridProduct-list > div div.category-product:first-of-type .thumbnail:hover .quick-view {top:100px;}
  .NewCustomerImg {display: none;}
  .LayoutMiddle {
    padding-top: 1.57143rem;
    padding-bottom: 1.57143rem;}
  .category-product,.product-miniature{
    margin-bottom: 1.28571rem;}
  .product-miniature .thumbnail, .category-product .thumbnail {
    padding: 1.14286rem;}
}

/* Landscape phone to portrait tablet */



/* Landscape phones and down */
@media (max-width: 480px) { 
  .SearchAndStuff .f-right {float:none; display:inline-block;}
  .SearchAndStuff .h-search {margin-top:20px;}
  .CompGridProduct-list > div div.category-product {width:100%}
  .CompGridProduct-list > div div.category-product:first-of-type a, .CompGridProduct-list > div div.category-product:nth-of-type(2) a { max-height:inherit; height:inherit; line-height:inherit;}
  .CompGridProduct-list .category-product .thumbnail { min-height: inherit; height:inherit; line-height: inherit; margin-bottom: 0px; }
  .list-inline-item, .HorizontalNav .HorizontalNavItem { margin-bottom: 1rem;}

  .RelatedProductInfo .RelatedItemsProductPhotoArea, .RelatedProductInfo .RelatedItemsProductNameArea, .RelatedProductInfo .RelatedItemsPricingArea,.RelatedProductInfo .RelatedItemsAddToCartArea {   
    width: 100%;
    flex-basis: 100%;
    text-align: center;}
}

