/* UK Diesel Parts CSS*/
#trade-price {
  width: 210px;
  position: absolute;
  top: 10px;
  left: 10px;
}
#banner-test {
  background-image: url(../home-bg-ukd-4.jpg) !important;
    /*background-image: url(https://www.ukdieselparts.com/sites/UKDieselParts/ukd-sale-6-17-home-banner-extended.jpg) !important;
    background-image: url(../ukd-sale-6-17-home-banner.jpg) !important;*/
    background-position: center center;
    background-repeat: no-repeat;
    border-bottom: 3px solid #7fa4df;
    border-top: 3px solid #7fa4df;
    height: 610px;
    position: relative;
    overflow: hidden;
  }
  @media only screen and (max-width: 768px) {
    #banner-test {       
     /* background-image: url(../home-bg-ukd-3.jpg) !important;*/
     background-image: url(../home-bg-ukd-4.jpg) !important;
   }
 }
 #banner-test #quickfinder-container {
  max-width: 990px;
  margin: 0 auto;
  height: 100%;
  position: relative;
}
#banner-container {
/*background: rgba(254,254,254,1);
background: -moz-linear-gradient(top, rgba(254,254,254,1) 0%, rgba(219,219,219,1) 75%, rgba(209,209,209,1) 75%, rgba(226,226,226,1) 100%);
background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(254,254,254,1)), color-stop(75%, rgba(219,219,219,1)), color-stop(75%, rgba(209,209,209,1)), color-stop(100%, rgba(226,226,226,1)));
background: -webkit-linear-gradient(top, rgba(254,254,254,1) 0%, rgba(219,219,219,1) 75%, rgba(209,209,209,1) 75%, rgba(226,226,226,1) 100%);
background: -o-linear-gradient(top, rgba(254,254,254,1) 0%, rgba(219,219,219,1) 75%, rgba(209,209,209,1) 75%, rgba(226,226,226,1) 100%);
background: -ms-linear-gradient(top, rgba(254,254,254,1) 0%, rgba(219,219,219,1) 75%, rgba(209,209,209,1) 75%, rgba(226,226,226,1) 100%);
background: linear-gradient(to bottom, rgba(254,254,254,1) 0%, rgba(219,219,219,1) 75%, rgba(209,209,209,1) 75%, rgba(226,226,226,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fefefe', endColorstr='#e2e2e2', GradientType=0 );*/
background-image: url(../home-bg-ukd-4.jpg) !important;
}
.black-bg {
  background-color: #000000;
}

.usp-header-image{
  background: #eeeeee;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
  max-width: 990px;
  position: relative;
  /*overflow: hidden;*/
  text-align: center;
  padding: 5px 0;
  margin: 0 auto;
  z-index: 10;
}
.usp-header-image:before {
  content: '';
  width: 110vw;
  height: 100%;
  top: 0;
  left: 50%;
  transform: translate(-50%);
}
.usp-header-image .row{
  max-width: 90%;
  margin: 0 auto;
}
.usp-title {
  color: dimgrey;
  font-size: 16px;
  font-weight: normal;
  text-align: left;
}
.usp-bar-icon{
  max-height: 30px;
  margin-top: 4px;
  margin-right:3px;
  display: inline-block;
 
}

.reputation-usp, .uk-delivery-usp, .quality-assured-usp{
  display: inline-block;
}

.usp-text{
 color: darkgrey;
 font-size: 12px;
 font-weight: normal;
 text-align: left;

}

.usp-block {
	border-top: 1px solid #EDEDED;
	border-bottom: 1px solid #EDEDED;
	padding: 15px 0px;
	margin:20px 0px;
}
aside#homepage--quickfinder h1 {
  display:none;
  font-weight: normal;
  color: white;
  text-align: center;
  padding: 7px;
  margin: 9px 0 2px 14px !important;
  background-color: #EA9553;
  position: absolute;
  border: #EA9553;
  border-radius: 5px;
  float: left;
  top: 0px;
  font-size: 25px;
  font-family: 'Montserrat', Arial, sans-serif;
}

aside#homepage--quickfinder {
  width: 300px;
  height: 225px;
  overflow: hidden;
  width: 350px;
  position: relative;
  float:left;
  top: 95px;
  left: 50px;
  font-size: 1em;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  -webkit-box-shadow: 0px 2.5px 9px 0px rgba(0,0,0,0.5);
  -moz-box-shadow: 0px 2.5px 9px 0px rgba(0,0,0,0.5);
  box-shadow: 0px 2.5px 9px 0px rgba(0,0,0,0.5);
}


/*Best Sellers Block*/

.add-to-basket-button {
 max-width: 143px;
 border: 0px solid #8ec5f2;
 background: #3c76c3;
 width:100%;
 background: -webkit-gradient(linear, left top, left bottom, from(#56a8ea), to(#3c76c3));
 background: -webkit-linear-gradient(top, #56a8ea, #3c76c3);
 background: -moz-linear-gradient(top, #56a8ea, #3c76c3);
 background: -ms-linear-gradient(top, #56a8ea, #3c76c3);
 background: -o-linear-gradient(top, #56a8ea, #3c76c3);
 background-image: -ms-linear-gradient(top, #56a8ea 0%, #3c76c3 100%);
 padding: 8.5px 17px;
 -webkit-border-radius: 30px;
 -moz-border-radius: 30px;
 border-radius: 30px;
 text-shadow: #7ea4bd 0 1px 0;
 color: #ffffff!important;
 font-size: 14px;
 font-family: 'Roboto', Helvetica, Arial, sans-serif;
 text-decoration: none;
 vertical-align: middle;
}
.add-to-basket-button:hover {
 border: 0px solid #8ec5f2;
 text-shadow: #7ea4bd 0 1px 0;
 background: #56a8ea;
 background: -webkit-gradient(linear, left top, left bottom, from(#3c76c3), to(#56a8ea));
 background: -webkit-linear-gradient(top, #3c76c3, #56a8ea);
 background: -moz-linear-gradient(top, #3c76c3, #56a8ea);
 background: -ms-linear-gradient(top, #3c76c3, #56a8ea);
 background: -o-linear-gradient(top, #3c76c3, #56a8ea);
 background-image: -ms-linear-gradient(top, #3c76c3 0%, #56a8ea 100%);
 color: #fff;
}
.add-to-basket-button:active {
 text-shadow: #7ea4bd 0 1px 0;
 border: 0px solid #8ec5f2;
 background: #3c76c3;
 background: -webkit-gradient(linear, left top, left bottom, from(#56a8ea), to(#56a8ea));
 background: -webkit-linear-gradient(top, #56a8ea, #3c76c3);
 background: -moz-linear-gradient(top, #56a8ea, #3c76c3);
 background: -ms-linear-gradient(top, #56a8ea, #3c76c3);
 background: -o-linear-gradient(top, #56a8ea, #3c76c3);
 background-image: -ms-linear-gradient(top, #56a8ea 0%, #3c76c3 100%);
 color: #fff;
}
.best-seller-block {
	border-top:5px solid #7fa4df;
	padding-top:10px;
}
.best-seller-block h3 {
 font-weight:bold;
 text-align:center;
}
.best-seller-block span {
 color:red;
 font-weight:bold;
 text-align:center;
}

.menugapsizer {
  max-width: 990px;
  margin: 0 auto 0 auto;
}
#intro-block p, h2 {
  padding: 0;;
}
#intro-block img {
  margin: 10px auto;
  display: block;
}


#vehicle--partno h2, #vehicle--search h2 {
  text-align: left;
  font-size: 14px;
  margin: 0 0 8px 0 !important;
  font-weight: 300;
  padding: 3px 5px 3px 15px;
}

#vehicle--search > form > div:nth-child(7) > button {
  font-size: 12px;
  position: absolute;
  right: 21px;
  bottom: 18px;
  padding: 6px 9px 5px;
  text-transform: uppercase;
  color: #ffffff;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  background-color: #333333;
}
#vehicle--partno > form > div:nth-child(4) > button {
  font-size: 12px;
  position: absolute;
  right: 21px;
  bottom: 17px;
  padding: 6px 9px 5px 9px;
  text-transform: uppercase;
  color: #ffffff;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  background-color: #333333;
}
#vehicle--search > form > div:nth-child(6) > button:focus, #vehicle--partno > form > div:nth-child(4) > button:focus {
  background-color: #7fa4df;
}
#partno {
  font-size: 10px;
  position: relative;

}
#vehiclesearch {

}
#vehicle--search p {
  position: absolute;
  left: 18px;
  bottom: 18px;
}
#vehicle--partno p {
  font-size: 10px;
  position: absolute;
  bottom: 15px;
  left: 18px; 
}
.custom-select {
  height: 22px;
  width: 215px;
  overflow: hidden;
  background: url(../dropdown.jpg) no-repeat right;
  background-size: 19px 20px;
  border: 1px solid #d9d9d9;
  position: relative;
  left: 28px;
}
.custom-select select {
  background: transparent;
  height: 22px;
  width: 232px;
  color: #333333;
  font-size: 12px;
  line-height: 1;
  border: 0;
  position: relative;
  -webkit-appearance: none;
  padding: 2px;
  border-radius: 0;
  left: 2px;
}

.custom-select-no-img {
  height: 22px;
  width: 215px;
  overflow: hidden;
  border: 1px solid #d9d9d9;
  position: relative;
  left: 15px;
  top: 8px;
  -webkit-appearance: none;
}
.custom-select-no-img input {
  height: 22px;
  width: 215px;
  font-size: 12px;
  line-height: 1;
  border: 0;
  border-radius: 0;
  padding: 2px;
  color: #333333;
}



div#vehicle--search select,
div#vehicle--partno {
}

div#vehicle--search,
div#vehicle--partno {
  background-color: #ffffff;
  text-transform: uppercase;
  overflow: hidden;
  padding: 5px;
  height: 225px;
  position: relative;
}

div#vehicle--search div.row {
  margin: 0 0 3px 0;
}

div#vehicle--partno div.row {
  margin: 0 0 70px 0;
}

div#vehicle--search div.row::after,
div#vehicle--partno div.row::after {
  clear: both;
}

div#vehicle--search div.row label {
  float: left;
  width: 65px;
  color: #333333;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-left: 15px;
}

div#vehicle--partno div.row label {
  float: left;
  color: #333333;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-left: 15px;
}

div#vehicle--partno div.row .label-offset {

}

div#vehicle--partno div.input-item {
  margin: 10px 0 0 0;
}

header#homepage--header a#partno,
header#homepage--header a#vehiclesearch {
  margin: 0 0 0 140px;
  font-size: 10px;
  color: #fff;
  text-decoration: underline;
  text-transform: none;
}

header#homepage--header a#vehiclesearch {
  margin: 0 0 0 125px;
}

.banner-categories{
  max-width: 480px;
  max-height: 480px;
  float: right;
  margin-top: 108px;
  position: relative;
}

.banner-categories h2,
.banner-quickfinder > h2 {
  background-color: #EA9553;
  position: absolute;
  color: white;
  padding:3px;
  border:#EA9553;
  border-radius: 5px;
  text-align: center; 
  float:right;
  top: -50px;
  left: 0;
  right: 0;
  margin: 0 30px;
  font-size: 25px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: normal;
}

.banner-quickfinder > h2 {
  position: absolute;
  top: 108px;
  left: 47px;
  width: 30%;
}

.banner-categories__item{
  float:left;
  width: 23%;
  height: 120px;
  position: relative;
  background-color: white;
  margin: 1%;
  border:#ffffff;
  border-radius: 5px;
  text-align: center;
}

.banner-categories__item:after{
  content: "view";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right:0;
  background:rgba(13, 186, 108, 0.7);
  color:white;
  line-height: 120px;
  border-radius: 5px;
  opacity: 0;
  transition: all 0.2s ease;
  pointer-events: none;
}

.banner-categories__item:hover:after{
  opacity:1;
}

.banner-categories__item img{
  text-align: center;
  margin: 2px;
  max-width:  80px;
  max-height: 80px;
}

.banner-categories__item p{
  text-align: center;
  word-break: inherit;
  margin: 2px;
  font-size: 12px;
  line-height: 1em;
}

.reviews_block h2{
  text-align: center;
  margin: 0 30px;
  font-size: 25px;
  font-family:'Montserrat', Arial, sans-serif;
  font-weight: normal;
  color: #7fa4df;
}

.reviews_block{
  margin: 30px 30px;
}

#intro-block {
  width: 100%;
  margin-top: 30px;
  /*padding-top: 10px*/
}

a:link {
  text-decoration: none;
}

a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: none;

}

a:active {
  text-decoration: none;
}

/********************* MEDIA QUERIES ************************/

@media only screen and (max-width: 1000px) {
  .usp-three-blocks h2 {
    text-align: center;
    padding: 0 14% 0 14%;
  }   

  .usp-three-blocks p {
    text-align: center;
    padding: 0 0 9px 0;
  }
}

@media only screen and (max-width: 900px) {
  .banner-categories {
    display:none;
  }

  #banner-test{
    height: 410px;
    background-position: top,center;
  }

  .banner-quickfinder{
    display: inline-block;
    position: relative;
  }

  .banner-quickfinder > h2{
    top: 80;
    left:0;
    width:80%;
  }

  aside#homepage--quickfinder{
    left: 0;
  }

  #quickfinder-container{
    text-align: center;
  }
  .usp-bar-icon {
    margin-right: 0;
    margin-top: 0;
  }
  .usp-text{
    font-size: 10px;
  }
}

@media only screen and (max-width: 769px) {
  .usp-header-image {
  display: none;
  }
}
@media only screen and (max-width: 768px) {
  .usp-three-blocks img {
    padding: 10%;
  }

  .usp-three-blocks h2 {
    text-align: center;
    padding: 0 13%;
  }

  .usp-three-blocks p {
    padding: 2% 6%;
    text-align: center;
  }

  .landing-page-title h1 {
    font-size: 22px;
    line-height: 28px;
    margin: 20px 0 10px 0;
  }

  .centre-quote {
    padding: 0 8% 25px;
  }

  .info-conditions .continue-title {
    margin: 20px 0 10px 0;
    font-size: 21px;
  }

  #banner-test{
    height: 360px;
    background-position: center,center;
  }

  .banner-quickfinder > h2{
    top: 70px;
    left:0;
    width:80%;
  }

  aside#homepage--quickfinder{
    top:70px;
  }
}

@media only screen and (max-width: 463px) {
  .usp-three-blocks {
    margin: 0;
  }

  .usp-three-blocks img {
    padding: 3%;
  }

  .usp-three-blocks h2 {
    text-align: center;
    padding: 23px 0 0 0;
  }

  img.img-fr {
    float: right !important;
  }

  .usp-three-blocks > div {
  }

  .sub-info-title {
    font-size: 18px;
    line-height: 18px;
  }
}

@media only screen and (max-width: 362px) {

  .usp-three-blocks h2 {
    text-align: center;
    padding: 5% 14% 0 14%;
  }

  .usp-three-blocks img {
    padding: 8% 3%;
  }

  .usp-three-blocks p {
    padding: 2% 11%;
  }

  .menugapsizer {
    margin-bottom: 0;
  }

  .custom-select {
    width: initial;
    right: 5%;
    position: absolute;
    left: 100px;
  }

  #vehicle--search p {
    max-width: 84px;
    line-height: 1em;
    text-align: center;
  }

  #vehicle--search > form > div:nth-child(6) > button {
    right: 15px;
  }

  #vehicle--partno > form > div:nth-child(4) > button {
    right: 15px;
  }

  div#vehicle--search div.row {
    margin: 0 0 5px -2px;
  }

  #header-telephone{
    color:#7fa4df;
    font-size:1.6em;
  }
}

@media only screen and (max-width: 311px) {
  .add-to-basket-button {
    font-size: 12px;
  }
}