/* browser fixes */

.lt-ie9 .row-fluid [class*="span"].alpha25 {
  width: 25%;
}
.lt-ie9 .row-fluid [class*="span"].alpha33 {
  width: 33.3333%;
}
.lt-ie9 .search-box {
  padding-top: 5px;
}
.lt-ie9 .subscribe-form input[type="text"] {
  width: 70%;
}
.lt-ie9 .subscribe-form input[type="submit"] {
  width: 20%;
}
.gte-ie9 .gradient {
  filter: none;
}

.gte-ie9 .desat-ie,
.lt-ie9 .desat-ie,
.lt-ie9 .other-products li img {
  filter: url("/filters.svg#grayscale"); /* Firefox */
  filter: gray; /* IE */
  -webkit-filter: grayscale(1); /* Webkit */
}
.gte-ie9 .desat-ie:hover,
.lt-ie9 .desat-ie:hover,
.lt-ie9 .other-products li img:hover {
  filter: none;
  -webkit-filter: grayscale(0);
}
.lt-ie9 .text-input {
  padding-top: 14px;
}
.lt-ie9 .cart input {
  padding-top: 4px;
}
.lt-ie9 .cart .article .info,
.gte-ie9 .cart .article .info {
  width: 100px;
}





/* mobile elements settings */

.select-menu-top,
.select-menu-main {
  display: none;
}
.select-menu-top {
  width: 90%;
  margin: 7px auto;
  font-size: 1.375em;
}
.select-menu-main {
  width: 100%;
  margin-bottom: 10px;
  font-size: 1.125em;
}
.select-menu-make,
.select-menu-model,
.select-menu-year
{
  width: 100%;
  display: none;
}










/* media queries */

@media (min-width: 768px) { /* tablet, pc */
  .row-fluid [class*="span"].alpha25,
  .alpha25 {
    width: 25%;
  }
  .row-fluid [class*="span"].alpha33,
  .alpha33  {
    width: 33.3333%;
  }
  .row-fluid [class*="span"].alpha50,
  .alpha50  {
    width: 50%;
  }
  .row-fluid [class*="span"].alpha16,
  .alpha16  {
    width: 16.6666%;
  }
  .subscribe-form input[type="text"] {
    width: 70%;
  }
  .subscribe-form input[type="submit"] {
    width: 20%;
  }
  .mobileonly {
  	display: none;
  }

}

@media (max-width: 979px) { /* phone, tablet */
  .main-menu li {
    margin-bottom: 1em;
  }
  .main-menu  {
    display: none;
  }
  .select-menu-main {
    display: block;
  }
  .list-display img {
    border-right: 0;
  }
  .error-404 .info {
    background: 0;
    position: relative;
    margin-bottom: 0;
  }

  .instructions .photo img {
  	width: 100%;
  }

  .instructions .bottomad {
  	/* display: none; */
    height: 110px;
  }

  .instructions .bottomad img {
  	display: none;
  }

  .instructions .bottomad .logoimg {
  	display: none;
  }

  .instructions .bottomad button {
  	margin-top: 4px;
  	margin-right: 0px;
    margin-left: 0px;
  }

  .list-display h1 {
  	font-size: 1.6em;
  }

  .top-bar .shipping .headermail {
  	display: none;
  }

    .ezbanner {
        display: none;
    }

    .installCoupon {
        display: none;
    }



}
@media (min-width: 768px) and (max-width: 979px) { /* tablet */
  .top-bar .shipping {
    padding-bottom: 7px;
  }

  .popular-products .price-badge {
    right: 0;
  }
  .popular-products .info {
    padding-left: 8px;
  }
  .products .featured {
    height: auto;
  }
  .products .featured figure {
    float: none;
    display: block;
    margin: 0;
  }
  .products .featured .content {
    float: none;
    width: 100%;
    text-align: center;
    margin: 20px 0;
    padding: 0 20px;

    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }
  .product-details .gallery .tabs {
    width: 100%;
  }
  .product-details .gallery .tabs li {
    display: none;
  }
  .product-details .gallery .tabs li.active {
    display: block;
  }

 /* tablet view for subscribe, social */
  .subscribe-form input[type="text"] {
    width: 100%;
    float: none;
  }
  .subscribe-form input[type="submit"] {
    margin-top: 4px;
    margin-left: 0;
    width: 100%;
    float: none;
  }
  footer .social-wrapper {
    text-align: center;
    width: 100%;
    float: none;
  }
  footer .social {
    margin-top: 14px;
    float: none;
    text-align: center;
    display: inline-block;
  }
  /* end subscribe, social */

  .footer-menu [class*="span"] {
    width: 45% !important;
    float: left !important;
    margin-top: 20px;
  }

  .smallad p {
  	display: none;
  }

  .smallad h3, .left-nav h3 {
  	font-size: 1.25em;
  }

  .gallery .tabs {
  	display: none;
  }

    .home .span8 {
        padding-left:45px;
    }

    .home input[name="search"] {
        width: 435px;
    }

}



@media (max-width: 767px) { /* phone, wide phone */
	.top-bar {
		display: none;
	}
  .top-bar .shipping {
    text-align: center;
  }
  .logo-wrapper {
    text-align: center;
    margin-top: 20px;
  }

  .row .top-header {
  	margin: 0px 50px 20px 0px;
  }

  footer .row {
    padding: 0 14px;
  }
  .footer-menu {
    margin-left: 10px !important;
  }
  .subscribe-form input[type="submit"] {
    margin-top: 4px;
  }
  footer .social-wrapper {
    text-align: center;
  }
  footer .social {
    margin-top: 14px;
    float: none;
    text-align: center;
    display: inline-block;
  }
  .footer-menu h2 {
    margin-top: 22px;
    margin-bottom: 8px;
  }
  .popular-products .info .add-to-cart {
    display: inline-block;
  }
  .other-products li {
    margin-bottom: 40px;
  }
  .other-products .badge {
    right: 20%;
  }
  .top-bar .menu ul {
    display: none;
  }
  .select-menu-top {
    display: block;
  }
  .list-display .photo-wrapper {
    text-align: center;
  }
  .list-display h1 {
    text-align: center;
    font-size: 1.8em;
  }

  .list-display img {
  	margin-bottom: 15px;
  }

  .options button {
  	float: none;
  	margin-top: 15px;
  }

  .product .price-wrapper {
    text-align: center;
  }
  .product .add-to-cart,
  .product .price {
    display: inline-block;
  }

 	.cart .productimg,
 	.cart .header,
 	.cart .topcheckout {
		display: none;
	}


  .left-nav ul.make,
  .left-nav ul.model,
  .left-nav ul.year,
  .left-nav ul.colour-list,
  .left-nav ul.price,
  .left-nav h5,
  .left-nav hr {
    display: none;
  }

.instructions .photo img {
	margin-top: 5px;
}

.instructions .description img,
.instructions .featured img {
	display: none;
}

.products .featured .content h1 {
	white-space: normal;
	margin: 0px;
	font-size: 1.35em;
}

.products .featured .content h1 .subhead {
	font-size: .65em;
}

.featured .content ul {
	text-align: center;
}

.featured img, .featured h1, .featured hr {
	display: none;
}

.featured h3 {
	padding-top: 5px;
	padding-bottom: 5px;
}

.breadcrumb-wrapper {
	display: none;
}

.instructions .ad {
	text-align: center;
}

.carheader .ad {
	display: none;
}

.description .ad {
	display: none;
}

.instructions .description h2 {
	margin-top: 10px;
}

.products .smallad, .product-details .smallad {
		display: inline-block;
		max-width: 220px;
		margin-left: 5px;
		margin-right: 5px;
	}
.left-nav select {
	margin-top: 10px;
}


 .select-menu-make,
.select-menu-model,
.select-menu-year
{
   display: none;
  }
  .product-details .gallery {
    text-align: center
  }
  .product-details .gallery-sub-wrap {
    display: inline-block;
  }
  .product-details .product h1 {
    text-align: center;
  }
  .product-details .prefs > li {
    margin-right: 30px;
  }
  .product-details .prefs > li.last {
    margin-right: 0;
  }
  .also-like li {
    float: left;
    margin-right: 15px;
  }
  .product-details .prod-info .tabs {
    height: auto;
  }
  .product-details .prod-info .tabs li {
    width: 100%;
    float: none;
    border: 0;
    margin: 0 0 0.65em 0;
  }
  .checkout .progress ul {
    padding-right: 0;
  }
  .checkout .checkout-list h3 {
    margin-top: 30px !important;
  }
  .contact h1:first-child {
    margin-top: 30px;
  }

}

@media (max-width: 640px) {

	.products div {
		text-align: center;
	}

	.list-display p {
 		text-align: left;
 	}

 	.info ul, .info ul.norear {
 		margin: 0px;
 	}

  .checkout .checkout-list .left-col,
  .checkout .checkout-list .right-col {
    width: 100%;
  }
  .checkout .checkout-list .left-col {
    margin-bottom: 40px;
  }
  .checkout .checkout-list .right-col input {
    width: 100%;
  }
   .credit-cards img {
		display: none;
  }

  .productOptionsRowLeft {
    width: 30%;
  }

  .productOptionsRowRight {
    width: 68%;
  }


}
@media (min-width: 480px) and (max-width: 767px) { /* wide phone */
  .grid-display [class*="span"],
  .other-products [class*="span"],
  .footer-menu [class*="span"]{
    width: 50% !important;
    float: left !important;
  }
}

@media (min-width: 480px ) { /* not phone */
    .mobileonly {
        display: none;
    }
}

@media (max-width: 480px) { /* phone */

  footer .social li:first-child {
    float: none;
    margin-bottom: 4px;
    text-align: center;
    margin-right: 0;
  }
  .popular-products .info {
    padding-left: 20px;
  }
  .product-details .gallery .tabs {
    width: 100%;
  }
  .product-details .gallery .tabs li {
    display: none;
  }
  .product-details .gallery .tabs li.active {
    display: block;
  }
  .product-details .gallery ul {
    float: none;
  }
  .contact .info li {
    width: 100%;
    float: none;
    margin-bottom: 5px;
  }
  .error-404 .main {
    background: 0;
    min-width: 0;
    height: 200px;
    line-height: 1.5em;
  }
	.checkout ul {
		padding: 0px;
	}

    .top-search, .search-box {
        width: 100%;
    }

    .logo-wrapper {
        margin-top: 5px;
    }

    .topextranav {
        margin-top: 0px;
    }

    .endOfHeader {
        margin-top: 10px;
    }

    .home .span8 {
        margin-left: 0px;
        padding: 10px;
    }

    .facebookLink, .twitterLink {
        display: none;
    }

    .home input[name="search"] {
        height: 1.8em;
        padding-left: 5px;
        padding-top: 5px;
        width: 100%;
    }

    .home h2 {
        font-size: 1.5em;
        text-align: center;
        margin-top: 5px;
    }

    .home p {
        font-size: .95em;
    }

    div.home {
        margin-bottom: 0px;
    }

    .home .left-nav {
        padding: 0;
        text-align: center;
    }

    .products .smallad, .product-details .smallad {
        margin-left: 0;
        margin-right: 0;
        max-width: 100%;
    }

    .left-nav {
        padding-right: 0px;
    }

    .products .featured {
        min-height: 100%;
    }

    .products .featured .content {
        margin: 10px 10px 15px;
        min-height: 100%;
    }

    .options button, .instructions button {
        font-size: 1.2em;
    }

    .product-details .smallad {
        margin-top: 5px;
    }

    .howtoinstall {
        font-size: 1.5em;
    }

    .morearrow img {
        float: left;
    }

    .instructions button {
        float: none;
        margin-bottom: 10px;
    }

    .instructions .ad h3 {
        margin-top: 5px;
        margin-bottom: 0px;
    }

    .instructions .ad img {
        margin-top: 5px;
    }

    .cart td.price, .cart th.price, .cart td.linetotal, .cart th.linetotal, #cartoverlay, .nomobile {
        display: none;
    }

    .cart h2 {
        font-size: 1.4em;
    }

    .checkout input {
        width: 100%;
        height: 40px;
    }

    .checkout h2 {
        margin-top: 5px;
    }

    .checkout .note {
        font-size: .8em;
    }

    .instructions .choices {
        font-size: .75em;
    }
}
