/* These styles make your website responsive */
@media(max-width:1400px){
  .Slideshow .slide-caption { left: 40%; }
}
@media(max-width:1100px){
  .Slideshow .slide-caption { left: 45%; }
}
@media(max-width:991px){
  ul.SlideList li.Slide, .homeSlideshow-slide-img { height: 380px; }
  .Slideshow .slide-caption { text-align: center; max-width: 100%; left: 0; right: 0; transform: translate(0px, 0px); top: 50px; }
  .SlideshowPrevious, .SlideshowNext { display: none; }
}
@media(max-width:667px){
  ul.SlideList li.Slide, .homeSlideshow-slide-img { height: 350px; }
  .Slideshow .slide-caption p:first-child { margin-bottom: 12px !important; }
  .Slideshow .slide-caption p { font-size: 1rem !important; }
}
@media only screen and (max-width: 768px) {
  .home-banners > div { max-width: 100%; margin-bottom: var(--space-2); }
  .splide__arrows { display: none; }
}
@media(max-width:576px){
  .ps-sm-3, .px-sm-3 { padding-left: var(--space-3) !important; }
  .pe-sm-3, .px-sm-3 { padding-right: var(--space-3) !important; }
}

/* Landscape phones and down */
@media (max-width: 480px) {
  .ChildCategoriesList .CategoryChildCategories {
    flex: 0 0 50%;
  }

  .nav.WishList-nav > li, .nav.WishList-nav > li > * {
    width: 100%;
  }
  .nav.WishList-nav > li {
    margin: 0 0 var(--space-2) 0;
  }

  .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;
  }

  .popup, #PayPalSmartButtonModal .modal-content, .ac-modal, .all-modal {
    max-width: calc(100% - 10px);
    min-width: calc(100% - 5%);
    margin: auto;
  }

  .collapse.dont-collapse-sm {
    display: block;
    height: auto !important;
    visibility: visible;
  }
}

/* Phone to portrait tablet */
@media (min-width: 481px) and (max-width: 991px) {
  .ChildCategoriesList .CategoryChildCategories {
    flex: 0 0 33.33333333%;
  }
}

/* Tablet and down */
@media (max-width: 767px) {
  .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; 
  } 
  .category-header .description, .Slider .slide-caption .h4, .Slider .slide-caption .slider-layer {
    display: none; 
  }
  .Slideshow  .slide-caption h1, .slide-caption .h1, .Parallax h1 {
    font-size: calc(2 * var(--font-size)); 
  }

  .ChildCategoriesList .CategoryChildCategories {
    flex: 0 0 33.33333333%;
  }
  .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: .1rem;
    padding-bottom: 1rem;
  }
  .category-product,.product-miniature {
    margin-bottom: 1.28571rem;
  }
  .product-miniature .thumbnail, .category-product .thumbnail {
    padding: 1.14286rem;
  }
  .RelatedItemsContainer {
    justify-content: center;
  }

  input[type="radio"], input[type="checkbox"], input[type="checkbox"] + label:before, .checkbox input + label:before, .payment-name:not(.arrow):before, .radio:before {
    margin-right: var(--space-2);
  }
}

/* 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;
  }
}

/* Large desktop and down */
@media (max-width: 1023px) { 
  .header-content .logo-wrap {
    width: 100%;
    margin-bottom: 1rem;}

  .header-content .logo-wrap .ImageLogo{
    text-align: center !important;}

  .nav-tabs {
    margin: 0 0 var(--space-other-sm); 
  }
  .main-product-photo {
    padding: 0;
  }
}


/* Tablet and up */
@media (min-width: 768px) {
  .container-xs {
    max-width: 800px; 
  } 

  .collapse.dont-collapse-md {
    display: block;
    height: auto !important;
    visibility: visible;
  }
}

/* Desktop and up */ 
@media (min-width: 992px) {
  .container-sm {
    max-width: 1200px; 
  } 

  .collapse.dont-collapse-lg {
    display: block;
    height: auto !important;
    visibility: visible;
  }
}

/* Large Desktop to Wide Desktop */
@media(min-width:1200px) and (max-width:1698px){
  .ProductReviewRatingBars {
    max-width: 85%;
    margin: 0 auto;
  }
}

/* Wide Desktop and up */
@media(min-width:1699px){
  .ProductReviewRatingBars {
    max-width: 85%;
    margin: 0 auto;
  }
}

/* Touch Device */
@media (max-width: 768px) and (hover: none)  { 
  /** Dropdown **/
  .dropdown:not(.no-hover):hover > .dropdown-menu {
    display: none;
  }
}
@media (hover:none) {
  .quick-view { 
    display: none; 
  }
  .splide__arrows {
    display: none;
  }
  .splide--slide {
    width: 100% !important;
  }
}
