a.mam-product-list-image
{
    display: block;
}

a.mam-product-list-image img
{
    max-width: 100%;
}

.mam-product-row
{
    padding: 15px;

    border: 1px solid #ddd;
    background-color: #FFFFFF;
    -webkit-border-radius: 3px;
    -webkit-border-top-left-radius: 0;
    -moz-border-radius: 3px;
    -moz-border-radius-topleft: 0;
    border-radius: 3px;
    border-top-left-radius: 0;
    margin: 0px 0px 15px 0px;
    position: relative;
}

.alert-vehicle {
    font-family: "open sans", "arial";
}

.alert-vehicle .fa {
    margin-right: 5px;
}

.product-tabs
{
    border-bottom: 0px;
}

.vehicle-description
{
    display: none;
}

.product-tabs.nav-tabs>li
{
    margin-bottom: 0px;
}

.product-tabs li a
{
    border: 0px;
    transition: all 100ms linear;
    background: #DDDDDD;
}

.product-tabs li.active a
{
    background: #474949;
    color: #fff;
    border: 0px;
    transition: all 100ms linear;
}

.product-tabs li.active a:hover, .product-tabs li.active a:active
{
    color: #3a3c3c;
    border: 0px;
}

.product-tabs li a:hover, .product-tabs li a:active
{
    border: 0px;
}

.alternate-holder
{
    display: none;
    margin-top: 15px;
}

.alternate-holder .mam-product-row 
{
    background-color: rgba(0,0,0,0.05);
}

.mam-product-row .fitting-info
{
    display: none;
}

.mam-product-row .vehicle-notes
{
    display: none;
}

.mam-product-row .vehicle-notes h4
{
    font-size: 12px;
    margin-top: 0px;
}

.mam-product-row .vehicle-notes table tbody tr th,
.mam-product-row .vehicle-notes table tbody tr td
{
    font-size: 11px;
    padding: 4px;
}

.mam-product-row .diagram
{
    display: none;
}

.mam-product-row a h3
{
    margin: 0px;
    font-weight: bold;
    font-size: 14px;
    height: auto;
}

.mam-product-row .model-info
{
    font-size: 12px;
    margin-top: 0px;
}

.mam-product-row .price-holder
{
    text-align: right;
    position: static;
}

.mam-product-row .price-holder .price
{
    font-size: 20px;
}

.mam-product-row .availability
{
    clear: both;
}

.mam-product-row .btn-mam-list
{
    clear: both;
}

.fitting-info h4
{
    margin: 0px;
    font-size: 14px;
    color: #666666;
}

.fitting-info ul.well
{
    list-style-type: none;
    margin: 10px 0px 0px 0px;
    padding: 10px;
}

.fitting-info ul.well li
{
    font-size: 12px;
}

.mam-product-detail .fitting-info
{
    margin-bottom: 15px;
}

.mam-product-detail .fitting-info h4
{
    margin: 8px 0px 0px 0px;
    font-size: 14px;
    color: #666666;
}

.mam-product-detail h2
{
    margin: 0px;
    font-size: 12px;
}

.mam-guide-notes
{
    display: none;
}

.surcharge-info
{
	font-size: 12px;
}

.product-notes table
{
    margin-bottom: 0;
}

.product-notes .panel
{
    margin-top: 10px;
}

.car-logo img
{
    width: auto;
    margin: auto;
    display: block;
}

.car-logo
{
    text-align: center;
    margin-bottom: 10px;
}

.car-logo label
{
    font-weight: normal;
}

.well.applications
{
    max-height: 122px;
    overflow: scroll;
}

.quantity-advice-mam
{
    font-style: italic;
    font-size: 11px;
    clear: both;
}

img.mamproduct-carousel
{
    width: 100px;
    height: 100px;
}

.item-carousel .viewport
{
    height: 200px !important;
}


@media (max-width: 768px)
{
    .mam-product-list .availability.out-of-stock
	{
		background-position: center top;
		padding: 20px 0px 0px 0px;
	}

	.mam-product-list .availability.in-stock
	{
		background-position: center top;
		padding: 20px 0px 0px 0px;
	}

}
@media (max-width: 992px)
{
    .mam-product-row
    {
        padding: 15px;
    }
}

.fitment-tree,
.fitment-tree ul {
    list-style: none;
    padding-left: 0px;
}

.fitment-tree li.application-model > a {
    color: #fff;
    font-weight: bold;
    padding-left: 30px;
}

.fitment-tree li.application-engine > a {
    color: #fff;
    font-weight: bold;
    padding-left: 45px;
}

.fitment-tree li.application-year > a {
    color: #fff;
    font-weight: bold;
    padding-left: 60px;
}



.fitment-tree .list-group-item:first-child {
    border-radius: 0;
}

.fitment-tree .list-group-item {
      padding: 5px 15px;
}

.mam-guide-notes  .panel  {
    background: #949494;
    border-color: #949494;
    -webkit-box-shadow: inset 0 -3px 3px -3px rgba(47, 47, 47, 0.8);
    -moz-box-shadow: inset 0 -3px 3px -3px rgba(47, 47, 47, 0.8);
    box-shadow: inset 0 -3px 3px -3px rgba(47, 47, 47, 0.8);
}

.mam-guide-notes .panel-heading .panel-title {
  color: #fff;
}

.mam-guide-notes .panel-title {
  font-size: 20px;
}

.mam-guide-notes .panel-body {
  background: #949494;
  color: #fff;
}

.tire-image
{
    text-align: center;
}

.tire-image img
{
    width:auto;
    display: inline-block;
}

nav ul#vrmcreditbox {
margin: 0;
padding: 0;
list-style: none;
position: relative;
float: right;
height: 25px;
border-bottom: 1px solid #fff;
border-radius: 3px;    
}

nav ul#vrmcreditbox li {
float: left;          
}

nav ul#vrmcreditbox li a{
    font-size:12px;    
}

nav #vrmcredit {
box-shadow: 1px 0 0 #fff;  
}

nav #vrmcredit-trigger {
display: inline-block;
*display: inline;
*zoom: 1;
text-decoration: none;
color: #444;
text-shadow: 0 1px 0 #fff; 
}

nav #signup a {
border-radius: 0 3px 3px 0;
}

nav #vrmcredit-trigger {
border-radius: 3px 0 0 3px;
}

nav #vrmcredit-trigger:hover,
nav #vrmcredit .active,
nav #signup a:hover {
background: #fff;
}

nav #vrmcredit-content {
display: none;
position: absolute;
top: 24px;
right: 0;
z-index: 999;    
background: #fff;
background-image: linear-gradient(top, #fff, #eee);  
padding: 5px;
box-shadow: 0 1px 1px -1px rgba(0,0,0,.9);
border-radius: 3px 0 3px 3px;
border: 1px solid #f1f1f1;
}

nav li #vrmcredit-content {
right: 0;
width: 250px;  
}

/*--------------------*/

#inputs input {
background: #f1f1f1;
padding: 6px 5px;
margin: 0 0 5px 0;
width: 50px;
border: 1px solid #ccc;
border-radius: 3px;
box-shadow: 0 1px 1px #ccc inset;
}

#inputs input:focus {
background-color: #fff;
border-color: #e8c291;
outline: none;
box-shadow: 0 0 0 1px #e8c291 inset;
}

/*--------------------*/

#vrmcredit #actions {
margin: 15px 0 0 0;
}

#vrmcredit label {
line-height: 30px;
}

#vrmcredit label input {
position: relative;
top: 2px;
right: 2px;
}

.price-virtual {
    text-align: left;
    font-weight: bold;
    font-weight: bold;
    color: #3E9E0E;
    font-size: 21px;
}

.closecross {
    position: relative;
    float:right;
    align: top;
    right: 10px;
}

a.closevrmbox {
    font-size:16px;
}

.qty-margin {
    margin-top:10px;
}

.full-width {
    width:100%;
    float:left;
}

.mam-product-result .mam-product-flex {
  display: flex;
  flex-wrap: wrap;
  border-radius: 4px;
  margin-bottom: 15px;
  padding: 15px;
}
.mam-product-result .mam-product-flex .mam-product-image {
  flex: 0 0 auto;
  margin-right: 30px;
}
@media (max-width: 767px) {
  .mam-product-result .mam-product-flex .mam-product-image {
    flex: 0 0 100%;
    margin-right: 0;
    margin-bottom: 15px;
  }
}
.mam-product-result .mam-product-flex .mam-product-image a {
  margin: 0;
  padding: 0;
  border: none;
  max-width: 95px;
}
.mam-product-result .mam-product-flex .mam-product-information {
  flex: 1;
}
@media (max-width: 767px) {
  .mam-product-result .mam-product-flex .mam-product-information {
    flex: 0 0 100%;
  }
}
.mam-product-result .mam-product-flex .mam-product-information .mam-product-name {
  -webkit-transition: all 200ms ease-in-out;
  -moz-transition: all 200ms ease-in-out;
  -o-transition: all 200ms ease-in-out;
  transition: all 200ms ease-in-out;
}
.mam-product-result .mam-product-flex .mam-product-information .mam-product-name h3 {
  color: #333333;
  font-family: "open sans bold";
  font-weight: normal;
  font-size: 18px;
  margin: 0 0 5px;
}
.mam-product-result .mam-product-flex .mam-product-information .mam-product-name:hover,
.mam-product-result .mam-product-flex .mam-product-information .mam-product-name:active,
.mam-product-result .mam-product-flex .mam-product-information .mam-product-name:focus {
  text-decoration: none;
  opacity: 0.8;
}
.mam-product-result .mam-product-flex .mam-product-information .mam-product-code {
  color: #969696;
  font-family: "open sans";
  font-size: 15px;
  margin-bottom: 5px;
}
.mam-product-result .mam-product-flex .mam-product-information .basic-flex {
  margin-bottom: 10px;
}
.mam-product-result .mam-product-flex .mam-product-information .mam-product-stock {
  margin: 0 0 10px;
}
.mam-product-result .mam-product-flex .mam-product-information .mam-product-stock .product-availability {
  display: flex;
}
.mam-product-result .mam-product-flex .mam-product-information .mam-product-stock .product-availability .label {
  padding: 3px 7px;
}
.mam-product-result .mam-product-flex .mam-product-information .mam-product-stock .product-availability .label .fa {
  margin-right: 5px;
}
.mam-product-result .mam-product-flex .mam-product-information .mam-product-tabs {
  padding: 0;
  margin: 0;
  list-style: none;
}
.mam-product-result .mam-product-flex .mam-product-information .mam-product-tabs li {
  display: inline-block;
}
.mam-product-result .mam-product-flex .mam-product-information .mam-product-tabs li a {
  background: #ffffff;
  color: #ababab;
  border: solid 1px #dcdcdc;
  padding: 4px 8px;
  border-radius: 4px;
  font-family: "open sans";
  font-size: 12px;
  -webkit-transition: all 200ms ease-in-out;
  -moz-transition: all 200ms ease-in-out;
  -o-transition: all 200ms ease-in-out;
  transition: all 200ms ease-in-out;
}
.mam-product-result .mam-product-flex .mam-product-information .mam-product-tabs li a:hover,
.mam-product-result .mam-product-flex .mam-product-information .mam-product-tabs li a:active,
.mam-product-result .mam-product-flex .mam-product-information .mam-product-tabs li a:focus {
  background: #dcdcdc;
  color: #ffffff;
  border: solid 1px #dcdcdc;
  text-decoration: none;
}
.mam-product-result .mam-product-flex .mam-product-information .mam-product-tabs li.active a {
  background: #ababab;
  color: #ffffff;
  border: solid 1px #ababab;
}
.mam-product-result .mam-product-flex .mam-product-information .mam-product-tabs li.active a:hover,
.mam-product-result .mam-product-flex .mam-product-information .mam-product-tabs li.active a:active,
.mam-product-result .mam-product-flex .mam-product-information .mam-product-tabs li.active a:focus {
  background: #ababab;
  color: #ffffff;
  border: solid 1px #ababab;
}
.mam-product-result .mam-product-flex .mam-product-information .mam-product-description {
  font-family: "open sans";
  font-size: 12px;
}
@media (max-width: 767px) {
  .mam-product-result .mam-product-flex .mam-product-information .mam-product-description {
    margin-bottom: 10px;
  }
}
.mam-product-result .mam-product-flex .mam-product-information .mam-fitting-info h4 {
  margin: 0 0 10px;
  font-family: "open sans";
  font-size: 11px;
}
.mam-product-result .mam-product-flex .mam-product-information .mam-fitting-info .well {
  margin: 0;
  padding: 5px 10px;
  list-style: none;
  background: #f9f9f9;
  border: solid 1px #e4e4e4;
}
.mam-product-result .mam-product-flex .mam-product-information .mam-fitting-info .well li {
  font-size: 11px;
  font-family: "open sans";
}
.mam-product-result .mam-product-flex .mam-product-information .vehicle-notes table th {
  font-size: 11px;
  font-family: "open sans bold";
  font-weight: normal;
  padding: 4px 8px;
  border-top: solid 1px #eaeaea;
}
.mam-product-result .mam-product-flex .mam-product-information .vehicle-notes table td {
  font-size: 11px;
  font-family: "open sans";
  font-weight: normal;
  padding: 4px 8px;
  border-top: solid 1px #eaeaea;
}
.mam-product-result .mam-product-flex .mam-product-actions {
  flex: 0 0 auto;
  margin-left: 30px;
}
@media (max-width: 767px) {
  .mam-product-result .mam-product-flex .mam-product-actions {
    flex: 0 0 100%;
    margin-left: 0;
  }
}
.mam-product-result .mam-product-flex .mam-product-actions .price {
  font-size: 28px;
  font-family: "open sans bold";
  font-weight: normal;
  color: #333;
}
.mam-product-result .mam-product-flex .mam-product-actions .price span {
  font-family: "open sans bold";
}
.mam-product-result .mam-product-flex .mam-product-actions .ex-vat-price,
.mam-product-result .mam-product-flex .mam-product-actions label {
  font-family: "open sans";
  font-size: 16px;
  color: #8a8a8a;
  margin-bottom: 5px;
}
.mam-product-result .mam-product-flex .mam-product-actions .success-add-holder {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-bottom: 12px;
  min-width: 150px;
}
.mam-product-result .mam-product-flex .mam-product-actions .success-add-holder .success-input {
  flex: 0 0 auto;
  margin: 0;
  box-shadow: none;
  -webkit-box-shadow: none;
  width: 45px;
  border: solid 1px #e4e4e4;
  padding: 0 7px;
  font-size: 11px;
  font-family: "open sans";
  height: 28px;
  border-radius: 4px 0 0 4px;
}
.mam-product-result .mam-product-flex .mam-product-actions .success-add-holder .btn-success {
  flex: 1;
  color: #ffffff;
  background-color: #5cb85c;
  border-color: #5cb85c;
  font-family: "open sans";
  font-size: 11px;
  padding: 3px 5px 4px 8px;
  margin: 0;
  border-radius: 0 4px 4px 0px;
  max-width: 65px;
}
.mam-product-result .mam-product-flex .mam-product-actions .success-add-holder .btn-success:hover,
.mam-product-result .mam-product-flex .mam-product-actions .success-add-holder .btn-success:active,
.mam-product-result .mam-product-flex .mam-product-actions .success-add-holder .btn-success:focus {
  background-color: #80c780;
  border-color: #80c780;
}

.well.page-sorting {
  background-color: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.well.page-sorting .sort-by-container {
  margin-left: auto;
  display: flex;
  align-items: center;
}
.well.page-sorting .sort-by-container label {
  margin: 0 10px 0 0;
  font-weight: normal;
  font-family: "open sans bold";
}
.well.page-sorting .sort-by-container .form-group {
  margin: 0;
}
.well.page-sorting .sort-by-container .form-group select {
  font-family: "open sans";
  box-shadow: none;
  margin: 0;
}
.well.page-sorting > label {
  margin: 0;
  font-weight: normal;
  font-family: "open sans bold";
}
.well.page-sorting > .form-inline {
  flex: 1 1 0%;
  min-width: 1px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.well.page-sorting > .form-inline #list-type-list {
  margin-right: 5px;
}
.well.page-sorting > .form-inline #list-type-grid {
  margin-right: 5px;
}
.well.page-sorting > .form-inline #list-type-grid:hover,
.well.page-sorting > .form-inline #list-type-list:hover,
.well.page-sorting > .form-inline #list-type-grid:active,
.well.page-sorting > .form-inline #list-type-list:active,
.well.page-sorting > .form-inline #list-type-grid:focus,
.well.page-sorting > .form-inline #list-type-list:focus {
  background-color: #f3f3f3;
}
.well.page-sorting > .form-inline #list-type-grid.list-enabled,
.well.page-sorting > .form-inline #list-type-list.list-enabled {
  background-color: #dadada;
}
.well.page-sorting > .form-inline #list-type-grid.list-enabled:hover,
.well.page-sorting > .form-inline #list-type-list.list-enabled:hover,
.well.page-sorting > .form-inline #list-type-grid.list-enabled:active,
.well.page-sorting > .form-inline #list-type-list.list-enabled:active,
.well.page-sorting > .form-inline #list-type-grid.list-enabled:focus,
.well.page-sorting > .form-inline #list-type-list.list-enabled:focus {
  background-color: #dadada;
}
.well.page-sorting > .form-inline label {
  margin: 0;
  padding: 0 10px 0 15px;
  font-weight: normal;
  font-family: "open sans bold";
}
.well.page-sorting > .form-inline select {
  font-family: "open sans";
  box-shadow: none;
}



.mam-extra-images {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;

}

.mam-extra-images .extra-image, .mam-extra-images .video-thumbnail {
    border-right: solid 5px #fff;
    border-bottom: solid 5px #fff;
    cursor: pointer;
    flex: 0 0 calc(100% / 5);
}

.mam-extra-images .extra-image.active-image .youtube-icon, .mam-extra-images .video-thumbnail.active-image .youtube-icon {
  background-color: #f44336;
}

.mam-extra-images .extra-image img, .mam-extra-images .video-thumbnail img {
    border: solid 1px #dcdcdc;
}

.mam-extra-images .extra-image img.active-image, .mam-extra-images .video-thumbnail img.active-image {
  border: solid 1px #757575;
}

.mam-extra-images .extra-image .youtube-icon, .mam-extra-images .video-thumbnail .youtube-icon {
    background-color: #ff0000;
    color: #fff;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
}