/* /// COLOURS /// */

:root {
  --dark-grey: #515151;
}
:root {
  --light-grey: #e4e4e4;
}
:root {
  --very-light-grey: #f9f9f9;
}
:root {
  --green: #189d47;
}
:root {
  --blue: #20a8ec;
}
:root {
  --white: #ffffff;
}

:root {
  --orange: #ff9502;
}

.green {
  color: var(--green);
}
.dark-grey {
  color: var(--dark-grey);
}
.blue {
  color: var(--blue);
}
.red {
  color: red;
}
.green-bg {
  background-color: var(--green) !important;
  color: var(--white);
}
.dark-grey-bg {
  background-color: var(--dark-grey);
  color: var(--white);
}
.blue-bg {
  background-color: var(--blue);
  color: var(--white);
}

/* /// FONTS & TYPOGRAPHY /// */

body {
  color: var(--dark-grey);
  font-family: "Product Sans", Arial, sans-serif;
}

h1,
h2,
h3,
h4,
h5 {
  transform: scale(1, 0.9);
}
h1 {
  font-size: 54px;
  font-weight: 700;
  letter-spacing: -1px;
}

h2 {
  font-size: 44px;
  font-weight: 700;
}
p,
div {
  font-family: "Product Sans", Arial, sans-serif;
  font-size: 20px;
  font-weight: 300;
}

/* /// COMMON ELEMENTS /// */

.logo-header {
  margin-top: 50px;
}
.logo-footer {
  margin-bottom: 25px;
}

.home-heading {
  font-size: 42px;
  font-weight: 700;
  line-height: 40px;
}

.center-img {
  margin-left: auto;
  margin-right: auto;
}

.section-wrapper {
  margin: 75px 0 150px 0;
}

.btn-get-quote {
  float: right;
  background-color: rgba(0, 0, 0, 0.7);
  border: 1px solid var(--white);
  color: var(--white);
  margin-top: 25px;
  margin-right: 75px;
  font-weight: bold;
}

/* header */

#topbar {
  padding: 25px 0;
}

/* footer */

.footer {
  padding: 50px 0;
  background-color: var(--dark-grey);
  color: var(--white);
}

.footer-links {
  margin-top: 25px;
}

.footer a {
  color: var(--white);
  margin-right: 50px;
}
.footer a:hover {
  text-decoration: none;
  color: var(--blue);
}

/* /// HOME //// */

#home-hero {
  background-image: url("https://assets.fastquote.co.uk/images/courier.jpg");
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: right;
  margin-top: -220px;
  min-height: 600px;
  margin-right: -85px;
  background-size: cover;
}

.twitter-typeahead {
  width: 75%;
}

#search-trade {
  border: none;
  border-radius: 0;
  padding-left: 0;
  font-weight: 300;
  outline: 0 !important;
  font-size: 1.4rem;
  border-bottom: 1px solid var(--blue);
  width: 100%;
}

input[id^="search-trade"]::-webkit-input-placeholder {
  font-family: "Product Sans", Arial, sans-serif;
  font-weight: 300;
}
input[id^="search-trade"]::-moz-placeholder {
  font-family: "Product Sans", Arial, sans-serif;
  font-weight: 300;
}
input[id^="search-trade"]:-ms-input-placeholder {
  font-family: "Product Sans", Arial, sans-serif;
  font-weight: 300;
}
input[id^="search-trade"]:-moz-placeholder {
  font-family: "Product Sans", Arial, sans-serif;
  font-weight: 300;
}

.tt-suggestion {
  font-family: "Product Sans", Arial, sans-serif;
  padding: 2px 0;
  font-size: 18px;
  cursor: pointer;
  background-color: var(--white);
}
.tt-suggestion:hover {
  color: var(--blue);
}

#trade-list-wrapper {
  margin: 25px 0;
}
.trade-item {
  font-family: "Product Sans", Arial, sans-serif;
  font-size: 22px;
  font-weight: 500;
  cursor: pointer;
  transition-duration: 0.5s;
  background-color: var(--white);
  text-align: center;
  padding: 5px 25px;
  display: inline-block;
  margin: 0 15px 15px 0;
  opacity: 0.7;
  transition-duration: 0.5s;
}
.trade-item:hover {
  opacity: 1;
  background-color: var(--blue);
  transform: scale(1.1);
}

.trade-item:hover + .trade-link {
  color: var(--white);
}

.trade-link {
  color: var(--dark-grey);
  font-weight: 400;
}
.trade-link:hover {
  color: var(--white);
  text-decoration: none;
}

.usp-item {
  border-radius: 10px;
  padding: 50px;
  min-height: 300px;
  margin-bottom: 25px;
  transition-duration: 0.5s;
}
.usp-item:hover {
  transform: scale(1.1);
}
.usp-img {
  display: block;
  max-width: 150px;
  margin-top: 25px;
}

.usp-item-title {
  font-size: 26px;
  font-weight: 300;
  letter-spacing: 1px;
  margin-bottom: 25px;
}
.usp-item-content {
  font-size: 17px;
  font-weight: 300;
}
.usp-item-more {
  font-style: italic;
  margin-left: 5px;
  font-size: 80%;
  cursor: pointer;
}

.usp-item ion-icon {
  display: block;
  font-size: 64px;
  opacity: 0.3;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 25px;
}

#explore-trade {
  background: var(--dark-grey);
  padding: 75px 0;
  color: var(--white);
  position: relative;
  z-index: 1;
}

.explore-trade:before {
  background: inherit;
  top: 0;
  content: "";
  display: block;
  height: 50%;
  left: 0;
  position: absolute;
  right: 0;
  transform: skewY(2.5deg);
  transform-origin: 100%;
  z-index: -1;
}

#explore-trade:after {
  background: inherit;
  bottom: 0;
  content: "";
  display: block;
  height: 50%;
  left: 0;
  position: absolute;
  right: 0;
  transform: skewY(-2.5deg);
  transform-origin: 100%;
  z-index: -1;
}

#customer-reviews ion-icon,
.home ion-icon {
  margin-left: 10px;
}

.review-card {
  float: right;
  width: 70%;
  padding: 25px;
  border-radius: 3px;
  border: 1px solid #e8e8e8;
  margin-bottom: 25px;
  height: 250px;
}

.review-avatar-img {
  width: 125px;
  border-radius: 50%;
  padding: 5px;
  border: 1px solid #e8e8e8;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.g-reviews {
  width: 125px;
  display: block;
  float: right;
  margin-bottom: 50px;
}

.review-more {
  color: var(--blue);
  font-style: italic;
  margin-left: 5px;
}

.carousel-inner {
  margin: 100px 0 50px;
}
.carousel-indicators {
  float: right;
  position: relative;
  margin-top: 5px;
  margin-bottom: 50px;
  margin-left: 0;
  margin-right: 0;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  height: 50px;
  width: 50px;
  outline: none;
  border: 0;
  background-image: none;
}

.carousel-control-next-icon:after {
  content: ">";
  font-size: 45px;
  color: #e8e8e8;
}

.carousel-control-prev-icon:after {
  content: "<";
  font-size: 45px;
  color: #e8e8e8;
}

.carousel-indicators li {
  display: inline-block;
  width: 24px;
  height: 4px;
  margin: 0 5px;
  text-indent: 0;
  cursor: pointer;
  border: none;
  background-color: #e8e8e8;
}
.carousel-indicators .active {
  width: 24px;
  height: 4px;
  margin: 0 5px;
  background-color: var(--blue);
}

.recency {
  margin-left: 10px;
  opacity: 0.5;
  font-weight: 300;
}
.star-icon {
  vertical-align: text-top;
  color: #fbbc04 !important;
  margin-left: 0 !important;
  margin-right: 2px !important;
}
.review-text {
  margin-top: 10px;
}

.form-control {
  border: none;
  border-bottom: 1px solid #f8f8f8;
  border-radius: 0;
  padding-left: 5px;
  font-weight: 300;
  outline: 0 !important;
}

.form-group {
  position: relative;
  margin: 50px 0 25px 0;
}
.form-group label {
  position: absolute;
  top: -25px;
  left: 5px;
  font-size: 14px;
  text-transform: uppercase;
}

input,
textarea,
select {
  outline: none;
  box-shadow: none !important;
  border-bottom: 1px solid #f8f8f8;
}

select.form-control {
  padding-left: 1px;
}

.large {
  font-size: 1.2rem;
  font-weight: 300;
}
.small {
  font-size: 0.8rem;
  font-weight: 300;
}

.bpg {
  width: 175px;
  margin-top: -40px;
}

.gprem {
  margin: 0;
  padding: 0;
  font-size: 3rem;
  line-height: 3rem;
  font-weight: 700;
  letter-spacing: -2px;
  margin-bottom: 5px;
}

#buy-box {
  border: 1px solid var(--blue);
  border-top: 0px;
  border-radius: 0 0 2px 2px;
  padding-left: 50px;
  padding-right: 50px;
  padding-top: 0;
  padding-bottom: 15px;
  font-weight: 700;
  font-size: 1.4rem;
  transition-duration: 0.5s;
}

#refer-box {
  display: none;
  border: 1px solid var(--blue);
  border-top: 0px;
  border-radius: 0 0 2px 2px;
  padding-left: 50px;
  padding-right: 50px;
  padding-top: 0;
  padding-bottom: 15px;
  font-weight: 700;
  font-size: 1.4rem;
  transition-duration: 0.5s;
  color: red;
  letter-spacing: 0px;
}

ion-icon {
  vertical-align: middle;
}
#summary-bullet-wrapper ion-icon {
  margin-right: 10px;
}

.lds-ripple {
  display: inline-block;
  position: relative;
  width: 40px;
  height: 40px;
}
.lds-ripple div {
  position: absolute;
  border: 2px solid var(--blue);
  opacity: 0.5;
  border-radius: 50%;
  animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}
.lds-ripple div:nth-child(2) {
  animation-delay: -0.5s;
}
@keyframes lds-ripple {
  0% {
    top: 18px;
    left: 18px;
    width: 0;
    height: 0;
    opacity: 1;
  }
  100% {
    top: 0px;
    left: 0px;
    width: 36px;
    height: 36px;
    opacity: 0;
  }
}

.lds-white-ripple {
  display: inline-block;
  position: relative;
  width: 40px;
  height: 40px;
}
.lds-white-ripple div {
  position: absolute;
  border: 2px solid #ffffff;
  opacity: 0.5;
  border-radius: 50%;
  animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}
.lds-white-ripple div:nth-child(2) {
  animation-delay: -0.5s;
}
@keyframes lds-white-ripple {
  0% {
    top: 18px;
    left: 18px;
    width: 0;
    height: 0;
    opacity: 1;
  }
  100% {
    top: 0px;
    left: 0px;
    width: 36px;
    height: 36px;
    opacity: 0;
  }
}

.sidebar-section {
  position: absolute;
  height: 100%;
  width: 100%;
}

.sidebar-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  /* Position the items */
  // &:nth-child(2) { top: 25%; }
  // &:nth-child(3) { top: 50%; }
  // &:nth-child(4) { top: 75%; }
}

.make-me-sticky {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  padding: 0 15px;
}

.card {
  margin-top: 25px;
  border-radius: 3px;
  border: 1px solid var(--light-grey);
  padding: 50px;
}
.card-blue-border {
  border: 1px solid var(--blue);
}

.title-section,
.content-section,
.sidebar-section {
  // border-radius: 12px;
  // border: solid 10px #f1f1f1;
}

h3 {
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 30px;
}
.setupform h3 {
  color: var(--blue);
  margin-top: 50px;
}
h5 {
  text-transform: uppercase;
}

.h-divide {
  width: 75px;
  margin-left: 0;
  margin-right: 0;
  height: 2px;
  background-color: #666;
  opacity: 0.2;
}

.b-divide {
  display: table-caption;
  width: 150px;
  margin-left: auto;
  margin-right: auto;
  height: 1px;
  background-color: #e8e8e8;
  opacity: 0.2;
  margin-bottom: 0.5rem;
}

.tt-suggestion {
  cursor: pointer;
}

#mobile-sticky-footer {
  margin-left: -15px;
  color: var(--white);
  background-color: var(--blue);
  border-top: 1px solid var(--light-grey);
  position: fixed;
  bottom: 0;
  width: 100%;
  padding: 15px 0;
  z-index: 999999 !important;
}

@media (max-width: 768px) {
  #spm {
    display: none;
  }
  .card {
    margin-top: 0;
    padding: 25px;
  }
  .form-group {
    margin-top: 25px;
    padding: 10px 0 !important;
    margin-bottom: 0;
  }
}

#unable-quote {
  display: none;
  color: red;
  background-color: #e4e4e4;
  border: 2px solid #e4e4e4;
  border-top: 0px;
  border-radius: 0 0 2px 2px;
  padding: 0 50px;
  padding-top: 15px;
  padding-bottom: 15px;
  font-weight: 700;
  font-size: 1.4rem;
  cursor: pointer;
  transition-duration: 0.5s;
}

.btn-mobile-buy {
  margin-top: 15px;
  background: #ffffff;
  padding: 2px 22px;
  color: #33aed6;
}

.btn-next {
  font-size: 120%;
  background-color: var(--orange);
  color: var(--white);
  transition-duration: 0.5s;
}
.btn-next:hover {
  background-color: var(--green);
  color: var(--white);
}

.btn-warning {
  font-size: 120%;
  cursor: progress;
}

.btn-driver-select {
  font-size: 80%;
}

.btn-back {
  font-size: 120%;
  background-color: var(--light-grey);
  color: var(--dark-grey);
  transition-duration: 0.5s;
  margin-right: 5px;
}
.btn-back:hover {
  background-color: var(--dark-grey);
  color: var(--white);
}

.qrow {
  border-top: 1px solid #f5f5f5;
  padding-top: 15px;
}
.qrow p {
  font-size: 80%;
}
.qrow p:hover {
  color: var(--blue);
}
.qrow label {
  cursor: pointer;
  font-size: 80%;
  margin-bottom: -5px;
}
.qrow input[type="radio"] {
  cursor: pointer;
  margin-right: 8px;
  vertical-align: baseline;
}
.qrow .radio {
  margin-top: -6px;
  cursor: pointer;
}

#referBox {
  display: none;
  position: fixed;
  width: 100%;
  bottom: 0;
  padding: 50px 0;
  background-color: #f39c12;
  color: #fff;
  font-size: 24px;
  z-index: 9999;
}

.noticetext {
  display: none;
  color: var(--blue);
  font-size: 80%;
  border: 1px solid var(--blue);
  border-radius: 3px;
  padding: 15px;
}

input[type="text"],
input[type="tel"],
input[type="number"],
input[type="email"],
select {
  border-radius: 0;
  background-color: var(--very-light-grey) !important;
}

.personal-box {
  display: block;
  margin-top: 50px;
  margin-bottom: 200px;
}
.box-header {
  font-size: 120%;
  font-weight: 700;
}

.policy-summary-box {
  font-size: 1rem;
  padding: 50px 0;
  background-color: var(--light-grey);
  color: var(--dark-grey);
}

.stubby {
  color: var(--white);
  width: 75px;
  height: 3px;
  margin: 15px 0;
  border: none;
  background-color: var(--white);
  opacity: 0.2;
}

.tandcs li {
  font-size: 80%;
}
.tandcs input {
  margin-right: 10px;
}

.edit-link {
  font-size: 13px;
  background-color: var(--white);
  padding: 2px 5px;
  border-radius: 3px;
  color: var(--dark-grey);
  opacity: 0.5;
  transition-duration: 0.5s;
}
.edit-link:hover {
  text-decoration: none;
  opacity: 1;
}

#l1,
#l2 {
  margin-bottom: 5px;
  color: var(--white);
  padding-top: 50px;
  padding-bottom: 25px;
  font-size: 1rem;
}
#l1 {
  height: 275px;
  background: var(--blue);
}
#l2 {
  background: var(--dark-grey);
  margin-left: 55px;
  padding-left: 50px;
}

#l1:after {
  content: "";
  line-height: 0;
  font-size: 0;
  width: 0;
  height: 0;
  border-top: 275px solid var(--blue);
  border-bottom: 50px solid transparent;
  border-left: 0px solid transparent;
  border-right: 50px solid transparent;
  position: absolute;
  top: 0;
  right: -50px;
}

.aaa:before {
  content: "";
  display: inline-block;
  width: 450px;
  height: 275px;
  margin-right: 0;
  background-color: var(--blue);
  margin-left: -450px;
}

#l2:before {
  content: "";
  line-height: 0;
  font-size: 0;
  width: 0;
  height: 0;
  border-top: 50px solid transparent;
  border-bottom: 275px solid var(--dark-grey);
  border-left: 50px solid transparent;
  border-right: 0px solid var(--dark-grey);
  position: absolute;
  top: -50px;
  left: -50px;
}

#l2:after {
  content: "";
  line-height: 0;
  font-size: 0;
  width: 0;
  height: 0;
  border-top: 275px solid var(--dark-grey);
  border-bottom: 50px solid transparent;
  border-left: 0px solid transparent;
  border-right: 50px solid transparent;
  position: absolute;
  top: 0;
  right: -50px;
}

.paymentBoxes {
  border-radius: 5px;
  color: var(--white);
  padding: 50px;
}
.paymentBoxes span,
.paymentBoxes p {
  color: var(--white);
}
.paymentBoxes button {
  text-align: left;
  width: 100%;
}
.paymentBoxes button ion-icon {
  vertical-align: middle;
}
.paymentBoxes ul {
  text-transform: none;
  margin-top: 25px;
}
.payFull {
  background-color: var(--green);
}
.payMonthly {
  background-color: var(--blue);
}
.payMonthly2 {
  background-color: var(--blue);
  padding: 25px 0 50px 0;
}
.btn-confirm-ptype {
  margin-top: 25px;
  font-size: 1.2rem;
  background-color: var(--white);
  color: var(--dark-grey);
}
.tac {
  font-size: 4rem;
  font-weight: 700;
  letter-spacing: -1px;
}
.ptypetext {
  font-weight: 300;
}
.closetxt {
  font-weight: 100;
  font-size: 0.9rem;
}

#quote-form label ion-icon {
  cursor: pointer;
  color: var(--blue);
  margin-left: 10px;
  vertical-align: text-top;
  font-size: 110%;
}

.driver-select-box {
  border-radius: 2px;
  border: 1px solid var(--very-light-grey);
  padding: 25px;
  margin-bottom: 25px;
}
.driver-select-image {
  width: 150px;
}
.tip {
  font-size: 70%;
}

#rfq {
  display: none;
  margin: 50px 0 100px 0;
}

.explained-bg {
  padding: 50px 0;
  background-image: url("https://assets.fastquote.co.uk/images/explained-bg.jpg");
  background-size: cover;
}

.text-bg h1,
.text-bg p {
  color: var(--white);
}
.testimonial-image {
  margin-top: 50px;
  border-radius: 50%;
  padding: 10px;
  width: 250px;
  border: 1px solid var(--light-grey);
}

.voucher-applied {
  display: none;
  margin-left: -5px;
  font-weight: 300;
  padding: 1px 5px;
  color: var(--green);
  font-size: 80%;
}
.voucher-failed {
  display: none;
  margin-left: -5px;
  font-weight: 300;
  padding: 1px 5px;
  color: red;
  font-size: 80%;
}

#dd_illustration {
  display: none;
}

.question-item {
  color: var(--blue);
  cursor: pointer;
  margin-bottom: 5px;
}
.answer-item {
  display: none;
  border: 1px solid var(--blue);
  padding: 15px;
  border-radius: 3px;
  margin: 25px 0;
  font-size: 80%;
}

#support-form-wrapper {
  padding-top: 50px;
  padding-bottom: 50px;
}
#thanks-wrapper {
  display: none;
}

.table-sm {
  font-size: 80%;
}

.principal-multiselect-item {
  font-weight: 500;
  cursor: pointer;
  padding: 5px 15px;
  display: inline-block;
  text-transform: uppercase;
  font-size: 0.8rem;
  background-color: #e8e8e8;
  margin-left: 2px;
}

#close-text p {
  font-size: 80%;
}
#close-text h5 {
  margin-top: 35px;
  color: #21a8ec;
}

.dd-bullets {
  font-size: 80%;
  padding-top: 25px;
}
.dd-bullets div {
  font-weight: 100;
}
.dd-bullets ion-icon {
  vertical-align: middle;
  margin-right: 10px;
  margin-top: -5px;
}

.iptandfee {
  display: block;
  font-size: 0.9rem;
  font-style: italic;
  margin-bottom: 20px;
  margin-top: 0px;
  opacity: 0.6;
}

.ch-logo {
      display: block;
      margin-bottom: 15px;
}
    
.offcanvas-header .btn-close {
padding: 0.5rem 0.5rem;
margin: -1.2rem -0.5rem -0.5rem auto;
font-size: 0.6rem;
}

#ch-results-wrapper .material-icons {
font-size: 1rem;
}

.bxg-other-card {
background-color: var(--white);
margin-bottom: 3px;
padding: 7px 15px;
font-size: 18px;
border: 1px solid var(--light-grey);
transition-duration: 0.5s;
}

.bxg-other-card:hover {
cursor: pointer;
background-color: var(--light-green);
border: 1px solid var(--green);
}

.x-small {
      font-size:12px;
}