@import "~bootstrap/scss/bootstrap";
@import "./variables.scss";
@import "./mixins.scss";

@font-face {
  font-family: 'Nexa';
  src: url('../../public/fonts/NexaLight.eot') format('embedded-opentype'),
    url('../../public/fonts/NexaLight.woff2') format('woff2'),
    url('../../public/fonts/NexaLight.woff') format('woff'),
    url('../../public/fonts/NexaLight.ttf') format('truetype'),
    url('../../public/fonts/NexaLight.svg#NexaLight') format('svg');
  font-weight: 300;
}

@font-face {
  font-family: 'Nexa';
  src: url('../../public/fonts/NexaRegular.eot') format('embedded-opentype'),
    url('../../public/fonts/NexaRegular.woff2') format('woff2'),
    url('../../public/fonts/NexaRegular.woff') format('woff'),
    url('../../public/fonts/NexaRegular.ttf') format('truetype'),
    url('../../public/fonts/NexaRegular.svg#NexaRegular') format('svg');
  font-weight: 400;
}

@font-face {
  font-family: 'Nexa';
  src: url('../../public/fonts/NexaBold.eot') format('embedded-opentype'),
    url('../../public/fonts/NexaBold.woff2') format('woff2'),
    url('../../public/fonts/NexaBold.woff') format('woff'),
    url('../../public/fonts/NexaBold.ttf') format('truetype'),
    url('../../public/fonts/NexaBold.svg#NexaBold') format('svg');
  font-weight: 700;
}

@font-face {
  font-family: 'Nexa';
  src: url('../../public/fonts/NexaHeavy.eot') format('embedded-opentype'),
    url('../../public/fonts/NexaHeavy.woff2') format('woff2'),
    url('../../public/fonts/NexaHeavy.woff') format('woff'),
    url('../../public/fonts/NexaHeavy.ttf') format('truetype'),
    url('../../public/fonts/NexaHeavy.svg#NexaHeavy') format('svg');
  font-weight: 800;
}

@font-face {
  font-family: 'Nexa';
  src: url('../../public/fonts/nexablack.eot') format('embedded-opentype'),
    url('../../public/fonts/nexablack.woff2') format('woff2'),
    url('../../public/fonts/nexablack.woff') format('woff'),
    url('../../public/fonts/nexablack.ttf') format('truetype'),
    url('../../public/fonts/nexablack.svg#nexablack') format('svg');
  font-weight: 900;
}

body {
  background-color: $white;
  font-family: $font-family;
  font-size: $font + 6;
  color: $grey2;
  line-height: 1.5;

  @media (max-width: $xl) {
    font-size: $font + 4;
  }
}

a,
button {
  transition: all 0.3s ease;
}

a {
  text-decoration: none;
  color: $blue;
}

a:hover {
  text-decoration: none;
  outline: 0;
  color: $black;
}

a,
img {
  border: none;
  outline: none;
}

img,
svg {
  max-width: 100%;
  height: auto;
  display: inline-block;
  vertical-align: middle;
}

label {
  font-family: $font-family;
}

ul,
ol {
  padding: 0;
  margin: 0;
  list-style: none;
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
  font-family: $font-family;
  color: $black;
  margin: 0 0 $mrg;
  font-weight: $font-weight-bold;
}

h1,
.h1 {
  font-size: $font + 58;
  font-weight: $font-weight-heavy;

  @media (max-width: $xxl) {
    font-size: $font + 46;
  }

  @media (max-width: $xl) {
    font-size: $font + 36;
  }

  @media (max-width: $md) {
    font-size: $font + 24;
  }
}

h2,
.h2 {
  font-size: $font + 40;

  @media (max-width: $xxl) {
    font-size: $font + 30;
  }

  @media (max-width: $xl) {
    font-size: $font + 26;
  }

  @media (max-width: $md) {
    font-size: $font + 20;
  }
}

h3,
.h3 {
  font-size: $font + 32;

  @media (max-width: $xxl) {
    font-size: $font + 24;
  }

  @media (max-width: $xxl) {
    font-size: $font + 20;
  }

  @media (max-width: $md) {
    font-size: $font + 18;
  }
}

h4,
.h4 {
  font-size: $font + 22;

  @media (max-width: $xxl) {
    font-size: $font + 16;
  }

  @media (max-width: $md) {
    font-size: $font + 14;
  }
}

h5,
.h5 {
  font-size: $font + 12;
}

h6,
.h6 {
  font-size: $font + 10;
}

.font-weight-800 {
  font-weight: $font-weight-heavy;
}

.title-color {
  color: $grey3;
}

p {
  display: block;
  margin: 0 0 $mrg + 10;
  line-height: 1.5;

  @media (max-width: $xl) {
    margin: 0 0 $mrg - 3;
  }
}

p:last-child {
  margin: 0;
}

.btn-custom {
  background: $orange !important;
  padding: $pad + 3 $pad + 5;
  border-radius: 8px;
  font-size: $font + 15;
  font-weight: $font-weight-black;
  text-transform: uppercase;
  color: $white;
  border: none;
  border-bottom: 7px solid #cd7813 !important;
  outline: none !important;
  box-shadow: 0 14px 20px rgba(167, 167, 167, 0.25);
  position: relative;
  font-family: $font-family;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  line-height: normal;
  letter-spacing: 0.2px;

  @media (max-width: $xxl) {
    font-size: $font + 12;
    padding: $pad $pad + 5;
  }

  @media (max-width: $xxl) {
    font-size: $font + 8;
  }

  @media (max-width: $md) {
    padding: $pad $pad + 5;
    font-size: $font + 6;
    border-width: 4px !important;

    img {
      width: 26px;
    }
  }

  &:hover {
    background: $blue !important;
    border-bottom: 7px solid #007faf !important;
  }

}

.form-group {
  margin-top: $mrg + 20;
  margin-bottom: $mrg + 10;

  @media (max-width: $xl) {
    margin-bottom: $mrg + 5;
    margin-top: $mrg;
  }

  label {
    font-size: $font + 8;
    font-weight: $font-weight-heavy;
    color: rgba($black, 0.5);
    margin-bottom: $mrg - 2;

    @media (max-width: $md) {
      font-size: $font + 6;
    }
  }
}

.form-control,
.form-select {
  height: 56px;
  line-height: 56px;
  border: solid 2px $blue;
  border-radius: $bdr-rds + 8;
  padding: 0 $pad + 2;
  box-shadow: 0 12px 20px rgba($black, 0.18);
  outline: none;
  color: rgba($black, 0.5);
  font-size: $font + 6;

  @media (max-width: $md) {
    height: 46px;
    line-height: 46px;
    font-size: $font + 4;
    border-radius: $bdr-rds + 5;
  }

  &:focus {
    box-shadow: 0 12px 20px rgba($black, 0.18);
  }

  &::-webkit-input-placeholder {
    color: rgba($black, 0.5);
  }

  &::-moz-placeholder {
    color: rgba($black, 0.5);
  }

  &:-ms-input-placeholder {
    color: rgba($black, 0.5);
  }

  &:-moz-placeholder {
    color: rgba($black, 0.5);
  }
}

.form-select {
  background: url(/assets/selectArrow.png) no-repeat center right 15px;
}

textarea.form-control {
  line-height: normal;
  padding: $pad + 2;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  margin: 0;
}

input[type=number] {
  -moz-appearance: textfield;
}

.customCheckBox {
  position: relative;
  padding: 0;
  margin: 0;
  min-height: auto;

  input[type=checkbox] {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    z-index: 1;
    margin: 0;
    border-radius: 0;
    border: none;

    + {
      label {
        display: block;
        margin: 0;
        padding: 0 0 0 $pad + 25;
        font-size: $font + 6;
        line-height: 24px;
        font-weight: 400;
        color: $black;
        position: relative;

        @media (max-width: $xxl) {
          font-size: $font + 4;
        }

        @media (max-width: $md) {
          line-height: 20px;
          padding-left: $pad + 18;
        }

        &::before {
          position: absolute;
          left: 0;
          top: 0;
          width: 25px;
          height: 25px;
          display: block;
          content: "";
          background-color: #fff;
          background-position: center center;
          background-repeat: no-repeat;
          border: 1px solid $text-grey3;
          border-radius: $bdr-rds;
          transition: all .3s ease;

          @media (max-width: $md) {
            width: 20px;
            height: 20px;
          }
        }
      }
    }

    &:checked {
      + {
        label {
          &::before {
            background-color: $orange;
            border-color: $white;
            background-image: url(../../public/assets/check.png);
            background-repeat: no-repeat;
            background-position: center center;
            border-color: $orange;
          }
        }
      }
    }
  }
}

.linkTag {
  color: $blue;
  display: inline-block;
  border-bottom: solid 1px $blue;

  &:hover {
    border-color: transparent;
  }
}

.container {
  width: 100%;
  max-width: 1224px;
  position: relative;
  margin: 0 auto;
  padding-left: $pad + 5;
  padding-right: $pad + 5;

  &.bigContainer {
    max-width: 1360px;

    @media (max-width: $xxl) {
      max-width: 1224px;
    }
  }

  &.footerContainer {
    max-width: 1125px;
  }
}

.navbar {
  padding: 0;

  .navbar-nav {
    .nav-link {
      padding: 0;
      color: $black;
      font-size: $font + 5;
      line-height: 15px;
      margin-left: $mrg + 30;
      text-transform: uppercase;
      border-bottom: solid 1px transparent;
      font-weight: $font-weight-bold;

      @media (max-width: $xl) {
        font-size: $font + 4;
        margin-left: $mrg + 20;
      }

      @media (max-width: $md) {
        font-size: $font + 4;
        margin-left: 0;
        color: $white;
        border-color: $white;
        padding: $pad + 5 0;

        &:last-child {
          border: none;
        }
      }

      &.active,
      &:hover {
        color: $orange;
        border-color: $orange;

        @media (max-width: $md) {
          border-color: $white;
        }
      }
    }
  }

  .navbar-toggler {
    position: relative;
    padding: 0;
    border: none;
    outline: none;
    box-shadow: none;
    top: 2px;

    &.collapsed {
      .navbar-toggler-icon {
        &:before {
          content: "";
          background: $black;
          height: 3px;
          position: absolute;
          top: 4px;
          width: 30px;
          left: 0;
          transform: none;
        }

        &:after {
          content: "";
          position: absolute;
          width: 30px;
          left: 0;
          top: 11px;
          height: 11px;
          border-top: 3px solid $black;
          border-bottom: 3px solid $black;
          background-color: transparent;
          transform: none;
        }
      }
    }

    .navbar-toggler-icon {
      background: none;

      &:before {
        content: "";
        background: $black;
        height: 3px;
        position: absolute;
        left: 0;
        top: 11px;
        transition: 0.3s;
        width: 25px;
        -webkit-transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        transform: rotate(-45deg);
      }

      &:after {
        content: "";
        position: absolute;
        width: 25px;
        left: 0;
        top: 12px;
        height: 3px;
        -webkit-transition: 0.3s;
        -ms-transition: 0.3s;
        transition: 0.3s;
        border: 0;
        background: $black;
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        transform: rotate(45deg);
      }
    }
  }

  .navbar-collapse {
    padding-top: $pad - 6;

    @media (max-width: $md) {
      position: fixed;
      right: 0;
      left: -100%;
      width: 100%;
      top: 100px;
      background: $black;
      height: 100%;
      z-index: 999;
      padding: 0 $pad + 6 $pad + 10;
      height: 100% !important;
      bottom: 0;
      transition: all ease 0.3s;
      overflow: auto;
      text-align: center;

      &.show {
        left: 0;
      }
    }

    @media (max-width: $md) {
      top: 60px;
    }
  }
}

.headingCard {
  margin-bottom: $mrg + 50;

  @media (max-width: $lg) {
    margin-bottom: $mrg + 30;
  }

  @media (max-width: $md) {
    margin-bottom: $mrg + 10;
  }

  h2 {
    span {
      color: $blue;
    }
  }

  p {
    @media (max-width: $lg) {
      br {
        display: none;
      }
    }
  }
}

.vehiclechangescardBlock {

  background-color: $white;
  padding: $pad + 25;
  border-radius: $bdr-rds + 15;
  box-shadow: 5px 6px 90px rgba(192, 192, 192, 0.20);
  position: relative;
  margin-bottom: 25px;

  @media (max-width: $xl) {
    padding: $pad + 15;
  }

  @media (max-width: $lg) {
    padding: $pad + 10;
  }

  @media (max-width: $md) {
    padding: $pad + 5;
  }
}

.cardBlock {
  background-color: transparent;
  padding: $pad + 0;
  border-radius: $bdr-rds + 15;
  // box-shadow: 5px 10px 49px rgba(221, 221, 221, 0.29);
  position: relative;

  @media (max-width: $xl) {
    padding: $pad + 15;
  }

  @media (max-width: $lg) {
    padding: $pad + 10;
  }

  @media (max-width: $md) {
    padding: $pad + 5;
  }
}

.cardBlockSmall {
  background-color: $white;
  padding: $pad + 5 $pad + 6;
  border-radius: $bdr-rds + 7;
  box-shadow: 0 10px 20px rgba($black, 0.1);
  border: solid 2px transparent;
  min-height: 60px;

  @media (max-width: $xxl) {
    padding: $pad + 2 $pad + 4;
  }

  @media (max-width: $lg) {
    padding: $pad $pad + 4;
    min-height: 50px;
  }
}

.resultShowCard {
  border: solid 2px transparent;
  border-radius: $bdr-rds + 5;
  max-width: 160px;
  overflow: hidden;
  text-transform: uppercase;



  span {
    padding: 0 !important;
    margin: 0 auto;
  }

  @media (max-width: $xxl) {
    font-size: $font + 5;

  }

  @media (max-width: $xl) {
    font-size: $font + 2;
    border-radius: $bdr-rds + 3;

  }

  @media (max-width: $lg) {
    border-radius: $bdr-rds;
    font-size: $font;

  }

  @media (max-width: $md) {
    max-width: 110px;
    font-size: $font + 2;

    span {
      font-size: 12px !important;
    }

  }

  &.orangeBorder {
    i {
      border-color: $orange;
    }
  }

  &.greenBorder {
    i {
      border-color: $green;
    }
  }

  &.redBorder {
    i {
      border-color: $red;
    }
  }
  

  i {
    margin-bottom: -7px;
    width: 48px;
    height: 48px;
    border-right: solid 2px transparent;
    margin-right: $mrg + 2;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0;

    @media (max-width: $xxl) {
      width: 40px;
      height: 40px;
    }

    @media (max-width: $xl) {
      width: 30px;
      height: 30px;
      margin-bottom: -5px;
    }

    @media (max-width: $lg) {
      width: 20px;
      height: 20px;
      margin-bottom: -2px;
      margin-right: 0;
    }

    @media (max-width: $md) {
      width: 26px;
      height: 26px;
      margin-bottom: -3px;

    }

  }
}

.greenBorder {
  border-color: $green;
}

.bg-green{
  background-color: $green;
}

.orangeBorder {
  border-color: $orange;
}

.redBorder {
  border-color: $red;
}

.redLightBorder {
  border: 1px solid $redLight;
}

.redBorderLight {
  border-color: $redLight;
}

.blueBorder {
  border-color: $blue;
}

.blueplateBorder {
  border-color: 1px solid $blue;
}

.blueLightBorder {
  border: 1px solid $blue;
}

.lightOrangeBg {
  background-color: #fff3e4;
}

.lightOrangeBorder {
  border: 1px solid $orange;
}

.redLightBg {
  background-color: #ffdfe0;
}

.blueBg {
  background-color: #ddefff;
}

.cardOrange {
  background-color: $orange;
}

.cardRed {
  background-color: $red;
}

// .lightOrangeBg {
//   background-color: $red;
// }

.commonWrapper {
  padding-top: $pad + 130;
  padding-bottom: $pad + 130;
  background: url(../../public/assets/banner-bg.png) no-repeat center top;
  overflow: hidden;

  @media (max-width: $xxl) {
    padding-top: $pad + 110;
    padding-bottom: $pad + 80;
  }

  @media (max-width: $lg) {
    padding-top: $pad + 80;
    padding-bottom: $pad + 40;
  }
}

.carCardInfo {
  border: 2px solid $blue;
  border-radius: $bdr-rds + 5;
  box-shadow: 0 10px 20px rgba(0, 0, 0, .1);


  @media (max-width: $lg) {
    border-radius: $bdr-rds + 5;
  }

  &.greenBorder {
    border-color: $green;
  }

  &.orangeBorder {
    border-color: $orange;
  }

  &.blueBorder {
    border-color: $blue;
  }

  &.redBorder {
    border-color: $red;
  }

  .carCardInfoHead {
    padding: $pad + 15 $pad + 10;
    border-bottom: 2px solid $lightgrey;

    @media (max-width: $xl) {
      padding: $pad + 10;
    }

    @media (max-width: $lg) {
      padding: $pad + 6;
    }

    h4 {
      @media (max-width: $lg) {
        font-size: $font + 10;
      }
    }

    i {
      display: block;
      margin-bottom: -8px;
      margin-right: $mrg;
    }
  }

  .carCardInfoList {
    padding: $pad + 20;

    @media (max-width: $xl) {
      padding: $pad + 10;
    }

    @media (max-width: $md) {
      padding: $pad + 5;
    }

    ul {
      display: flex;
      flex-direction: row;
      flex-wrap: wrap;
      justify-content: space-between;

      @media (max-width: $sm) {
        flex-direction: column;
      }

      li {
        width: 47%;
        display: flex;
        justify-content: space-between;
        border: none;
        padding: 0;
        margin-bottom: $mrg + 25;
        text-align: right;

        .carCardInfoListTitle {
          font-weight: $font-weight-heavy;
          flex-shrink: 0;
          margin-right: $mrg;

          @media (max-width: $md) {
            margin-right: 0;
          }
        }

        &:nth-last-child(-n+2) {
          margin-bottom: 0;

          @media (max-width: $md) {
            margin-bottom: $mrg;

            &:last-child {
              margin-bottom: 0;
            }
          }
        }

        @media (max-width: $lg) {
          // flex-direction: column;
          text-align: left;
          margin-bottom: $mrg + 10;
        }

        @media (max-width: $md) {
          width: 100%;
        }

        @media (max-width: $sm) {
          flex-direction: column;
        }

      }
    }
  }
}



.carCardInfoDashboard {
  border: 1px solid $lightgrey;
  border-radius: $bdr-rds + 5;

  @media (max-width: $lg) {
    border-radius: $bdr-rds + 5;
  }

  &.greenBorder {
    border-color: $green;
  }

  &.orangeBorder {
    border-color: $orange;
  }

  &.redBorder {
    border-color: $red;
  }

  .carCardInfoHead {
    padding: $pad + 15 $pad + 10;
    border-bottom: 1px solid $lightgrey;

    @media (max-width: $xl) {
      padding: $pad + 10;
    }

    @media (max-width: $lg) {
      padding: $pad + 6;
    }

    h4 {
      @media (max-width: $lg) {
        font-size: $font + 10;
      }
    }

    i {
      display: block;
      margin-bottom: -8px;
      margin-right: $mrg;
    }
  }

  .carCardInfoList {
    padding: $pad + 20;

    @media (max-width: $xl) {
      padding: $pad + 10;
    }

    @media (max-width: $md) {
      padding: $pad + 5;
    }

    ul {
      display: flex;
      flex-direction: row;
      flex-wrap: wrap;
      justify-content: space-between;

      @media (max-width: $md) {
        flex-direction: column;
      }

      li {
        width: 47%;
        display: flex;
        justify-content: space-between;
        border: none;
        padding: 0;
        margin-bottom: $mrg + 25;
        text-align: right;

        .carCardInfoListTitle {
          font-weight: $font-weight-heavy;
          flex-shrink: 0;
          margin-right: $mrg;

          @media (max-width: $md) {
            margin-right: 0;
          }
        }

        &:nth-last-child(-n+2) {
          margin-bottom: 0;

          @media (max-width: $md) {
            margin-bottom: $mrg;

            &:last-child {
              margin-bottom: 0;
            }
          }
        }

        @media (max-width: $lg) {
          // flex-direction: column;
          text-align: left;
          margin-bottom: $mrg + 10;
        }

        @media (max-width: $md) {
          width: 100%;
        }

        @media (max-width: $sm) {
          flex-direction: column;
        }

      }
    }
  }
}



.fullValuationPage {
  .cardBlock {
    margin-bottom: $mrg + 20;

    &:last-child {
      margin-bottom: 0;
    }

    .MotTestListTableContent {
      padding-bottom: 0px;
    }

    @media (max-width: $md) {
      margin-bottom: 0;
    }
  }
}

.MotTestListTable {


  background-color: transparent;

  @media (max-width: $md) {
    border-radius: 0;
    background-color: transparent;
    overflow: visible;
  }

  .MotTestListTableHead {
    background-color: rgba($black, 0.4);
    border-top-left-radius: $bdr-rds + 15;
    border-top-right-radius: $bdr-rds + 15;
    padding: 0 $mrg + 8;

    @media (max-width: $md) {
      display: none !important;
    }

    span {
      display: block;
      font-size: $font + 10;
      font-weight: $font-weight-heavy;
      color: $white;
      border-right: solid 1px $white;
      line-height: 80px;
      padding: 0 $pad;

      @media (max-width: $xxl) {
        font-size: $font + 8;
        line-height: 70px;
      }

      @media (max-width: $xl) {
        font-size: $font + 4;
        line-height: 60px;
      }

      &:last-child {
        border: none;
      }

      &.widthOne {
        width: 16.5%;
        flex: 0 0 16.5%;
      }

      &.widthTwo {
        width: 14%;
        flex: 0 0 14%;
      }

      &.widthThree {
        width: 19%;
        flex: 0 0 19%;
      }

      &.widthFour {
        width: 6.5%;
        flex: 0 0 6.5%;
      }

      &.widthFive {
        width: 30%;
        flex: 0 0 30%;
      }
    }
  }

  .MotTestListTableContent {
    padding: $pad + 35 0;

    @media (max-width: $md) {
      padding: 0;
    }

    .MotTestListTableContentCard {
      min-height: 85px;
      margin-bottom: $mrg + 24;
      flex-wrap: wrap;
      padding-left: 0;
      padding-right: 0;
      position: relative;

      @media (max-width: $xxl) {
        min-height: 60px;
        margin-bottom: $mrg + 20;
      }

      @media (max-width: $lg) {
        min-height: 50px;
        margin-bottom: $mrg + 10;
      }

      @media (max-width: $md) {
        text-align: left !important;
        flex-wrap: wrap;
        padding: $pad - 5 $pad + 5;
      }

      &:last-child {
        margin-bottom: 0;
      }

      span {
        display: block;
        font-size: $font + 8;
        font-weight: $font-weight-heavy;
        color: $black;
        padding: 0;

        @media (max-width: $xxl) {
          font-size: $font + 6;
        }

        @media (max-width: $xl) {
          font-size: $font + 4;
        }

        @media (max-width: $md) {
          padding: $pad - 5 0;
          width: 48% !important;
          flex: 0 0 48% !important;
        }





        small {
          display: none;

          @media (max-width: $md) {
            display: block;
            font-size: $font + 4;
            font-weight: $font-weight-regular;
          }

          strong {
            font-weight: $font-weight-heavy;
          }
        }

        .contRight {
          padding-right: $pad + 40;

          @media (max-width: $lg) {
            padding-right: 0;
          }

          p {
            margin: 0;
            font-weight: $font-weight-regular;
            line-height: 24px;
            text-align: right;

            @media (max-width: $md) {
              text-align: left;
            }

            strong {
              font-weight: $font-weight-heavy;
            }
          }
        }

        .addOpen {
          margin-bottom: -14px;

          @media (max-width: $xl) {
            margin-bottom: -8px;
          }

          @media (max-width: $md) {
            margin-bottom: 0;
            position: absolute;
            top: 5px;
            right: 2px;
            width: 35px;
          }
        }

        &.widthOne {
          width: 16.5%;
          flex: 0 0 16.5%;
        }

        &.widthTwo {
          width: 14%;
          flex: 0 0 14%;
        }

        &.widthThree {
          width: 19%;
          flex: 0 0 19%;
        }

        &.widthFour {
          width: 6%;
          flex: 0 0 6%;
        }

        &.widthFive {
          width: 30%;
          flex: 0 0 30%;
        }
      }
    }

    .MotTestListTableOpen {
      border: solid 2px rgba($black, 0.1);
      border-radius: $bdr-rds + 7;
      overflow: hidden;
      margin-bottom: $mrg + 24;

      border-radius: 12px;
      background-color: transparent;
      overflow: hidden;
      margin-bottom: 34px;


      .MotTestListTableOpenHead {
        // background-color: rgba($black, 0.05);
        padding: $pad + 20;

        @media (max-width: $xl) {
          padding: $pad + 10;
        }

        @media (max-width: $md) {
          padding: $pad + 5;
        }

        .passCard {
          background-color: $green;
          padding: $pad + 5 $pad + 18 $pad;
          font-size: $font + 15;
          text-transform: uppercase;
          color: $white;
          border-radius: $bdr-rds + 5;
          flex: 0 0 auto;

          @media (max-width: $xl) {
            font-size: $font + 6;
            padding: $pad $pad + 10;
          }

          @media (max-width: $md) {
            margin-bottom: $mrg;
            display: inline-block;
            font-size: $font + 5;
            border-radius: $bdr-rds + 2;
            padding: $pad $pad + 5 $pad - 3;
            width: auto !important;
            flex: 0 0 auto !important;

          }

        }

        .passListCard {
          text-align: center;
          padding-right: $pad + 10;

          @media (max-width: $md) {
            text-align: left;
          }

          li {
            margin-left: $mrg + 140;

            @media (max-width: $xl) {
              margin-left: $mrg + 50;
            }

            @media (max-width: $lg) {
              margin-left: $mrg + 20;
            }

            @media (max-width: $md) {
              margin-left: 0;
              margin-bottom: $mrg;

              &:first-child {
                margin-bottom: 0;
              }
            }

            &:first-child {
              margin-left: 0;
            }

            span {
              font-size: $font + 10;
              font-weight: $font-weight-heavy;
              color: $black;

              @media (max-width: $xl) {
                font-size: $font + 6;
              }

              small {
                display: block;
                color: rgba($black, 0.4);
                font-size: $font + 10;
                font-weight: $font-weight-regular;

                @media (max-width: $xl) {
                  font-size: $font + 6;
                }
              }
            }
          }
        }
      }

      .MotTestListTableOpenContent {
        .MotTestListTableOpenInfo {
          padding: $pad + 20;
          // border-bottom: solid 1px rgba($black, 0.1);
          max-width: 1246px;
          margin: 0 auto;
          background: transparent;
          border-radius: 0px;
          margin-bottom: 20px;
          border-top: solid 1px rgba($black, 0.1);

          &:last-child {
            border-bottom: none;
          }

          @media (max-width: $xxl) {
            max-width: 95%;
          }

          @media (max-width: $xl) {
            padding: $pad + 10;

          }

          @media (max-width: $md) {
            padding: $pad + 5;

          }

          @media (max-width: $sm) {}

          h5 {
            margin-bottom: 0;
            font-size: $font + 15;
            font-weight: $font-weight-heavy;
            padding-bottom: $pad + 15;

            @media (max-width: $xl) {
              font-size: $font + 10;
              padding-bottom: $pad + 10;
            }
          }

          ul {
            li {
              display: flex;
              align-items: center;
              margin-bottom: $mrg + 10;

              @media (max-width: $xl) {
                margin-bottom: $mrg + 5;
              }

              @media (max-width: $md) {
                display: block;
              }

              // &:last-child {
              //   margin-bottom: 0;
              // }

              span {
                background-color: $orange2;
                padding: $pad - 5 $pad - 5;
                font-size: $font + 7;
                color: $white;
                border-radius: $bdr-rds + 3;
                margin-right: $mrg + 6;
                min-width: 85px;
                font-weight: 400;
                text-align: center;
                line-height: 1.3;

                @media (max-width: $xl) {
                  padding: $pad - 5;
                  font-size: $font + 4;
                  border-radius: $bdr-rds;
                  min-width: 70px;
                  line-height: 20px;
                }

                @media (max-width: $md) {
                  margin-bottom: $mrg;
                  display: inline-block;
                  width: auto !important;
                  flex: 0 0 auto !important;
                }

                &.MajorBg {
                  background-color: $maroon;
                }

                &.MinorBg {
                  background-color: $green;
                }

                &.userEnterBG {
                  background-color: $blue3;
                }

                &.faildLight {
                  background-color: $faildLight;
                }
                &.dangerbg {
                  background-color: $dangerRed;
                }
                
              }

              p {
                margin-bottom: 0;
                font-size: $font + 7;
                color: $black;

                @media (max-width: $xl) {
                  font-size: $font + 5;
                }
              }
            }
          }
        }
      }
    }
  }
}

.CarImgCard {
  position: absolute;
  left: -285px;
  bottom: 25px;

  @media (max-width: $xl) {
    display: none;
  }

  &.CarImgCardLogin {
    left: -270px;
    bottom: 10px;
  }
}

.CarImgCardOne {
  position: absolute;
  right: -300px;
  top: 30px;

  @media (max-width: $xxl) {
    display: none;
  }

  &.CarImgCardLoginOne {
    right: -220px;
    top: 100px;
  }
}

.numberPlatBlock {
  max-width: 580px;

  .numberPlatHead {
    max-width: 550px;
    margin: 0 auto $mrg + 40;
    justify-content: space-between;

    @media (max-width: $lg) {
      max-width: 350px;
    }

    span {
      font-size: $font + 5;
      font-weight: $font-weight-heavy;
      color: $black;
    }
  }

  ul {
    margin-bottom: $mrg + 20;

    &:last-child {
      margin-bottom: 0;
    }

    li {
      font-size: $font + 5;
      font-weight: $font-weight-heavy;
      text-transform: uppercase;
      color: $black;
      width: auto !important;
      margin: 0 !important;
      flex-direction: inherit !important;
    }
  }

  .numberPlateCard {
    border: solid 1px $black;
    border-radius: $bdr-rds;
    overflow: hidden;
    min-width: 132px;

    @media (max-width: $lg) {
      min-width: 110px;
    }

    i {
      background-color: #00358f;
      width: 17px;
      flex: 0 0 17px;
    }

    span {
      display: block;
      font-size: $font + 5;
      font-weight: $font-weight-heavy;
      text-transform: uppercase;
      color: $black;
      text-align: center;
      flex: 1;
    }
  }

  .arrowIconShow {
    width: 26px;
    flex: 0 0 26px;
    margin: 0 $mrg + 10;
  }
}

.pagination-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: $pad + 30;

  .pagination {
    border: none;

    li {
      border: none;
      margin: 0 1px;

      &:first-child {
        .page-link {
          font-size: $font + 4;
          margin-right: $mrg + 10;
          background: none !important;
          color: $black !important;
        }
      }

      &:last-child {
        .page-link {
          font-size: $font + 4;
          margin-left: $mrg + 10;
          background: none !important;
          color: $black !important;
        }
      }

      &:hover,
      &.active {
        .page-link {
          background-color: $orange;
          color: $white;
        }
      }

      .page-link {
        border: none;
        outline: none !important;
        color: $black;
        padding: 0;
        min-width: 38px;
        height: 35px;
        line-height: 35px;
        border-radius: $bdr-rds;
        text-align: center;
      }

      .page-link.active,
      .active>.page-link {
        // z-index: 3;
        color: white;
        background-color: #04acea;
        border-color: #04acea;
      }
    }
  }

  .total-results {
    padding-top: $pad + 10;
    color: $grey2;
  }
}

.pagination {
  .page-item {
    .page-link {
      color: #04acea;
    }
  }

  .page-item.active {
    .page-link {
      background-color: #04acea;
      border-color: #04acea;
      color: white;
    }
  }

  .page-item.disabled {
    .page-link {
      color: $black;
    }
  }
}

.AccordionCustom {
  &.FaqBlueBorder {
    .accordion-item {
      &.active {
        border-color: $orange;
      }
    }
  }

  &.FaqOrangeBorder {
    .accordion-item {
      &.active {
        border-color: $blue;

        .accordion-header {
          .accordion-button {
            &[aria-expanded="true"] {
              &:after {
                background: url(/assets/accordionArrowUp1.png) no-repeat;
                background-size: cover;
              }
            }
          }
        }
      }
    }
  }

  .accordion-item {
    margin-bottom: $mrg;
    border: solid 2px rgba($black, 0.1);
    border-radius: $bdr-rds + 5;
    padding: $pad + 10 $pad + 20;

    @media (max-width: $xl) {
      padding: $pad + 10;
    }

    @media (max-width: $md) {
      padding: $pad;
    }

    .accordion-header {
      .accordion-button {
        font-size: $font + 10;
        color: $black;
        background-color: transparent;
        padding: 0;
        border: none;
        outline: none;
        box-shadow: none;

        @media (max-width: $xl) {
          font-size: $font + 6;
        }

        &:after {
          width: 39px;
          height: 39px;
          background: url(/assets/accordionArrow.png) no-repeat;
          background-size: cover;

          @media (max-width: $xl) {
            width: 30px;
            height: 30px;
          }

          @media (max-width: $md) {
            width: 20px;
            height: 20px;
          }
        }

        &[aria-expanded="true"] {
          &:after {
            background: url(/assets/accordionArrowUp.png) no-repeat;
            background-size: cover;
          }
        }
      }
    }

    .accordion-body {
      padding: $pad + 5 $pad + 80 0 0;
      color: #737575;

      @media (max-width: $md) {
        font-size: $font + 5;
        padding: $pad + 5 0 0 0;
      }
    }
  }
}

.input-group {
  display: block;

  .form-control {
    width: 100%;
    flex: 0 0 100%;
    border-radius: 13px !important;
  }

  .input-group-text {
    position: absolute;
    top: 50%;
    z-index: 9;
    padding: 0;
    width: auto;
    background: transparent;
    border: none !important;
    transform: translateY(-50%);
    left: $pad + 5;

    @media (max-width: $md) {
      left: $pad;
    }

    img {
      @media (max-width: $md) {
        width: 20px;
      }
    }

    &.eyeIcon {
      left: auto;
      right: $pad + 8;
    }
  }
}

.emissions-container {
  max-width: 850px;
  position: relative;

  // @media (max-width: $md) {
  //   padding-right: $pad + 40;
  // }
  .chart {
    display: flex;
    flex-direction: column;
    position: relative;

    .bar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0;
      margin-bottom: $mrg - 3;
      color: $white;
      font-weight: bold;
      height: 37px;
      // line-height: 24px;
      padding-left: $pad - 4;
      font-size: $font + 10;
      border-radius: 0 20px 20px 0;

      .label {
        display: block;
        margin-bottom: -4px;
      }
    }

    .category {
      background: $white;
      color: $black;
      border-radius: 50%;
      width: 27px;
      height: 27px;
      font-size: $font + 10;
      margin-right: 6px;
      // line-height: 24px;
      text-align: center;
      font-weight: $font-weight-bold;
      line-height: 32px;
    }
  }

  .highlighted {
    position: absolute;
    right: 20px;
    top: 170px;

    @media (max-width: $md) {
      right: -15px;
    }

    i {
      // margin: 0 $mrg + 6;

      @media (max-width: $md) {
        margin: 0;
      }
    }

    .selected-box {
      background: $orange;
      // padding: $pad - 8 $pad;
      // font-weight: $font-weight-bold;
      font-size: $font + 10;
      color: $white;
      display: flex;
      align-items: center;
      height: 37px;
      border-radius: 20px 0px 0px 20px;

      @media (max-width: $md) {
        font-size: $font;
        padding: $pad - 8 $pad - 4;
      }

      span {
        background: $white;
          color: $black;
          border-radius: 50%;
          width: 27px;
          height: 27px;
          font-size: $font + 10;
          margin: 1px 3px 0px 6px;
          // line-height: 24px;
          text-align: center;
          font-weight: $font-weight-bold;
          line-height: 32px;
        @media (max-width: $md) {
          font-size: $font +10;
          width: 25px;
          margin: 0px 3px 0px 0px;

          // flex: 0 0 16px;
          height: 25px;
          // line-height: 20px;
        }
      }
    }
  }
}

.customTableCard {
  border: solid 1px #dbdbdb;
  border-radius: $bdr-rds + 10;
  overflow: hidden;

  @media (max-width: $md) {
    border-radius: $bdr-rds;
  }

  table {
    margin: 0;

    th {
      font-size: $font + 6;
      font-weight: $font-weight-heavy;
      padding: $pad + 4 $pad;
      border-right: solid 1px #dddddd;
      white-space: nowrap;

      &:last-child {
        border-right: none;
      }

      @media (max-width: $md) {
        font-size: $font + 4;
        padding: $pad - 2;
      }

      &.dateTh {
        width: 250px;
        min-width: 250px;
        max-width: 250px;

        @media (max-width: $md) {
          width: auto;
          min-width: auto;
          max-width: auto;
        }
      }

      &.actionTh {
        width: 160px;
        min-width: 160px;
        max-width: 160px;

        @media (max-width: $md) {
          width: auto;
          min-width: auto;
          max-width: auto;
        }
      }
    }

    td {
      font-size: $font + 6;
      padding: 0 $pad;
      border-right: solid 1px #dddddd;
      white-space: nowrap;
      height: 50px;
      line-height: 50px;

      &:last-child {
        border-right: none;
      }

      @media (max-width: $md) {
        padding: 0 $pad - 2;
        height: 40px;
        line-height: 40px;
        font-size: $font + 3;
      }
    }
  }
}

.custom-switch {
  padding: 0;
  height: 28px;

  .form-check-input {
    width: 50px;
    height: 28px;
    background-color: $blue;
    border-radius: 28px;
    position: relative;
    transition: background-color 0.3s;
    border: none;
    appearance: none;
    cursor: pointer;
    box-shadow: none !important;
    background-image: none !important;
    margin: 0;

    &::before {
      content: "";
      position: absolute;
      top: 4px;
      left: 4px;
      width: 19px;
      height: 19px;
      background: white;
      border-radius: 50%;
      transition: left 0.3s;
    }

    &:checked {
      background-color: #c0c0c0;

      &::before {
        left: 26px;
      }
    }
  }
}

.customDropdown {
  button {
    border: solid 1px #e5e5e5;
    padding: 0 $pad;
    padding-right: $pad + 20;
    height: 45px;
    line-height: 45px;
    color: $black;
    position: relative;
    border-radius: $bdr-rds;
    font-size: $font + 4;
    min-width: 100px;
    text-align: left;

    @media (max-width: $md) {
      padding: 0 $pad;
      padding-right: $pad + 10;
    }

    &:hover,
    &:focus,
    &.show {
      background-color: inherit !important;
      color: $black !important;
      border: solid 1px #e5e5e5 !important;
    }

    &:after {
      background: url(/assets/selectArrow.png) no-repeat;
      width: 12px;
      height: 7px;
      position: absolute;
      right: 8px;
      top: 18px;
      content: "";
      border: none;
      background-size: cover;

      @media (max-width: $md) {
        right: 10px;
      }
    }
  }

  .dropdown-menu {
    background-color: $white;
    padding: $pad 0;
    border-radius: $bdr-rds;
    box-shadow: 5px 5px 10px rgba($black, 0.1);
    border: solid 1px #e5e5e5;

    .dropdown-item {
      font-size: $font + 4;

      &:hover {
        background-color: $lightblue;
        color: $white;
      }
    }
  }
}

.datePickerCard {
  border: solid 1px #e5e5e5;
  padding-right: $pad + 35;
  height: 45px;
  line-height: 45px;
  border-radius: $bdr-rds;
  overflow: hidden;
  margin-left: $mrg;
  display: flex;
  align-items: center;
  color: $black;
  padding: 0 $pad + 5;
  font-size: $font + 4;

  @media (max-width: $xl) {
    font-size: $font + 3;
    padding: 0 $pad;
  }

  @media (max-width: $md) {
    width: 100%;
    margin-left: 0;
  }

  i {
    margin-right: $mrg;

    @media (max-width: $xl) {
      width: 20px;
    }
  }
}

.lightGreyBg {
  background-color: #f1f1f1 !important;
  padding: 0 !important;
}

.leftMargin {
  margin-left: 22px !important;

  @media (max-width: $xxl) {
    margin-left: 22px !important;
  }

  @media (max-width: $md) {
    margin-left: 17px !important;
  }
}



.customModal {
  .modal-content {
    border: none;
    padding: $pad + 10;
    border-radius: $bdr-rds + 15;
    box-shadow: 5px 10px 40px rgba($black, 0.2);

    @media (max-width: $md) {
      padding: $pad + 5;
      border-radius: $bdr-rds + 5;
    }

    .modal-header {
      padding: 0 0 $pad + 10;
      border: none;

      .modal-title {
        margin: 0;
        font-size: $font + 15;
        font-weight: $font-weight-heavy;

        @media (max-width: $md) {
          font-size: $font + 10;
        }
      }
    }

    .modal-body {
      padding: 0;

      .paymentBntOuter {
        max-width: 280px;
        margin: 0 auto;
      }

      .paymentBnt {
        background: transparent;
        border-radius: $bdr-rds + 3;
        border: solid 2px rgba($black, 0.1);

        &:focus {
          border-color: $orange;
        }
      }
    }
  }
}


.fuel-economy {
  top: auto !important;
}

.sidebar-left {
  position: relative;

  .sideBarHamburger {
    width: 24px;
    position: absolute;
    top: 3px;
    right: 5px;
    cursor: pointer;
  }


}

.sidebar-active {

  .sidebar-left {
    position: absolute;
    height: 99.4%;
    border-bottom-left-radius: 10px;
    overflow: hidden;

    .dash-head {
      span {
        display: none;
      }

      ul {
        padding-top: 10px;

        li {

          // &:hover {

          //   width:200px;

          // }
          a {
            // padding: 9px 10px;
            position: relative;


            // &:hover {
            //   padding: 9px 10px;
            //     background: #fff;
            //      box-shadow: 0px 0px 25px #ebebeb;
            //      text-indent: unset;
            // }

            &::after {
              top: 18px;
            }
          }

          button {

            white-space: nowrap;


            z-index: 9;

            &::after {
              display: none;
              right: 10px;
              top: 15px;

            }

            // &:hover {
            //   background: #fff;
            //   padding: 9px 10px;
            //      box-shadow: 0px 0px 25px #ebebeb;
            //      text-indent: unset;
            //   &::after{ display: block;}
            // }
          }

        }

      }
    }

    width:46px !important;
    flex: 0 0 46px !important;
    padding: 25px 10px !important;
    background: #fff;
    border-top-left-radius: 10px;

    .sideBarHamburger {
      width: 19px;
      position: absolute;
      top: 3px;
      right: 14px;
      cursor: pointer;
    }


    .dashboard-footer-bottom {
      display: none;
    }
  }

  .sidebar-right {
    width: calc(100% - 50px) !important;
    margin-left: auto;
  }

}


.swal2-noanimation {
  .swal2-popup {
    place-self: anchor-center !important;

    .TosterUI {
      img {
        width: 50px;
        margin-bottom: 5px;
      }
      h4{
        margin: 0px;
      }
      p{
        font-size: 18px;
        color:$black;
      }
    }
  }
}

.fa-sort {
  cursor: pointer;
}
