@import url("https://fonts.googleapis.com/css?family=Roboto+Mono|Roboto+Slab|Roboto:300,400,500,700,900");

body {
  font-family: "Roboto", sans-serif;
}

:root {
  --grey: #dfdfdf;

  --white: #ffff;

  --main-color: #2296d2;

  --black: #000000;

  --text-color: #707578;

  --main-width: 1380px;

  --border-gird: #d6d6d6;
}

.car-dealer-detail {
  width: var(--main-width);

  margin: 0 auto;

  margin-top: 2rem;

  .head-title {
    display: flex;

    justify-content: space-between;

    align-items: center;

    h3 {
      font-size: 20px;

      color: var(--text-color);

      font-weight: 600;
    }

    .view {
      display: flex;

      align-items: center;

      img {
        width: 40px;

        border: 1px solid var(--text-color);

        border-radius: 10px;

        padding: 5px;
      }

      span {
        font-size: 20px;

        font-weight: 600;

        color: var(--text-color);
      }
    }
  }

  .body-detail .main-left-info {
    display: flex;

    margin-top: 2rem;

    position: relative;

    .container-img {
      width: 60%;

      swiper-slide {
        text-align: center;

        font-size: 18px;

        background: #fff;

        display: flex;

        justify-content: center;

        align-items: start;
      }

      .mySwiper swiper-slide img {
        display: block;

        width: 100%;

        min-height: 500px;

        max-height: 550px;

        object-fit: cover;
      }

      .mySwiper2 swiper-slide img {
        display: block;

        width: 100%;

        object-fit: cover;
      }

      .mySwiper2 {
        height: 250px;

        box-sizing: border-box;

        padding: 5px 0;
      }

      .mySwiper2 swiper-slide {
        width: 25%;
      }

      .mySwiper2 .swiper-slide-thumb-active {
        opacity: 1;
      }

      swiper-slide img {
        display: block;

        width: 100%;

        height: 100%;

        object-fit: cover;
      }
    }
  }

  .body-detail {
    .btn-primary {
      background-color: var(--main-color);

      font-size: 16px;

      font-weight: 600;

      padding-top: 10px;

      padding-bottom: 10px;
    }

    .option-info {
      width: 37%;

      margin-left: 3%;

      .option-info-left {
        border: 2px solid var(--border-gird);

        border-radius: 20px;

        padding: 5%;

        background-color: #f5f5f5;

        .head-option {
          font-size: 24px;

          font-weight: 600;
        }

        .infoTbl {
          padding-left: 0rem;

          position: relative;

          display: flex;

          flex-wrap: wrap;

          li:nth-child(even) {
            width: 40%;
          }

          li:nth-child(odd) {
            width: 60%;
          }

          li {
            margin-top: -1px;

            padding: 10px 0;

            border-bottom: 2px solid #a7a7a7;

            dl {
              margin-bottom: 0;
            }

            dt {
              margin-bottom: 3px;

              font-size: 14px;

              color: #92979b;

              font-weight: 500;
            }

            dd {
              font-size: 17px;

              font-weight: bold;

              color: #45484b;

              letter-spacing: -0.4px;

              word-break: break-word;

              margin-bottom: 0;

              img {
                width: 50px;
              }
            }
          }
        }

        .btn-get-qoute {
          width: 80%;

          background-color: var(--main-color);

          padding: 3% 0;

          font-size: 16px;

          font-weight: 700;

          color: var(--white);

          border-radius: 10px;

          display: flex;

          align-items: center;

          justify-content: center;

          i {
            font-size: 25px;

            margin-right: 1%;
          }
        }
      }
    }
  }

  .purchase {
    border: 2px solid var(--border-gird);

    padding: 2rem 2rem 0rem 2rem;

    border-radius: 20px;

    margin-bottom: 2rem;

    .title {
      display: flex;

      align-items: center;

      justify-content: space-between;

      h3 {
        font-size: 24px;
      }

      .more-for-buyer {
        color: var(--main-color);

        font-weight: 500;

        img {
          width: 15%;
        }
      }
    }

    .body-purchase {
      margin: 1rem 0;

      .content {
        display: flex;

        justify-content: space-between;

        padding: 1.5rem 0;

        .head {
          width: 25%;

          h5 {
            font-size: 18px;
          }
        }

        .descrition {
          width: 70%;

          font-size: 16px;

          font-weight: 400;

          color: var(--text-color);
        }
      }
    }
  }
}

@media (max-width: 1400px) {
  .car-dealer-detail {
    width: auto;

    padding-left: 1rem;

    padding-right: 1rem;

    .body-detail .main-left-info {
      margin-top: 1rem;
    }
  }
}

@media (max-width: 1260px) {
  .car-dealer-detail .body-detail .main-left-info {
    .container-img {
      .mySwiper2 {
        height: 220px;
      }
    }
  }

  .car-dealer-detail {
    .body-detail {
      .btn-primary {
        background-color: var(--main-color);

        font-size: 14px;

        font-weight: 600;
      }
    }

    & .body-detail {
      & .option-info {
        & .option-info-left {
          padding: 2%;

          & .infoTbl {
            & li {
              padding: 8px 0;

              dd {
                font-size: 16px;
              }
            }
          }
        }
      }
    }

    .purchase {
      margin-top: 1.5rem;

      padding: 1rem 1rem 0rem 1rem;

      & .body-purchase {
        & .content {
          padding: 0.5rem 0;

          & .head {
            h5 {
              font-size: 16px;
            }
          }

          .descrition {
            font-size: 14px;
          }
        }
      }
    }

    & .body-detail {
      & .option-info {
        width: 39%;

        margin-left: 1%;

        & .option-info-left {
          .btn-get-qoute {
            padding: 3% 0;

            font-size: 14px;

            margin-top: 0.5rem;
          }
        }
      }
    }
  }
}

.login-form {
  width: auto;
  margin: 0 auto;
  /* padding: 100px 0 30px; */
}

.login-form h2 {
  font-size: 24px;
  color: #454959;
}

.form-group {
  margin-bottom: 15px;
}

.form-control {
  min-height: 41px;
  background: #fff;
  border-color: #e3e3e3;
  box-shadow: none !important;
  border-radius: 4px;
}

.login-form .btn {
  box-shadow: -3px 3px 7px #000;
  width: 100%;
  padding: 2%;
  background-color: #126fb7;
  border-radius: 5px 5px 5px 5px;
  border: 2px solid #126fb7;
  color: #fff;
  text-decoration: none;
}

.login-btn,
.login-btn:active {
  font-size: 16px;
  font-weight: bold;
  background: #126fb7;
  margin-bottom: 20px;
}

.tab-pane table tbody tr td {
  font-size: 12px;
  border: 1px solid #bbb;
  text-align: center;
  padding: 1% 0;
}

.close {
  border: none;
  float: right;
  font-size: 21px;
  font-weight: bold;
  line-height: 1;
  color: #000;
  text-shadow: 0 1px 0 #fff;
  filter: alpha(opacity=20);
  opacity: 0.2;
}

.get-quo-tit {
  width: 100%;
  font-size: 12px;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  /*        background-color: #2296d2;*/
}

.car_detail_send {
  box-shadow: -3px 3px 7px #000;
  width: 40%;
  padding: 2%;
  background-color: #126fb7;
  border-radius: 5px 5px 5px 5px;
  border: 2px solid #126fb7;
  color: #fff;
}

.nav-justified {
  width: 100%;
}

.nav-justified>li {
  display: table-cell;
  width: 1%;
}

.nav-item a.active {
  color: #000;
  background-color: #fff;
}

.nav-justified>li>a {
  width: 100%;
  color: white;
}

.tab-login table tbody tr td {
  font-size: 12px;
  border: 1px solid #bbb;
  text-align: center;
  padding: 1% 0;
}

.form-control {
  min-height: 41px;
  background: #fff;
  border-color: #e3e3e3;
  box-shadow: none !important;
  border-radius: 4px;
}



.get-quo-tit .nav-justified .nav-item a:hover {
  background-color: #fff;
}

@media (max-width: 980px) {
  .car-dealer-detail {
    .body-detail .main-left-info {
      display: block;

      .container-img {
        width: 100%;
      }

      .option-info {
        width: 100%;
        margin-left: 0%;
        margin-top: 1.5rem;

        & .option-info-left {
          .btn-get-qoute {
            width: 40%;
            padding: 1.5% 0;
            font-size: 15px;
          }
        }
      }
    }
  }
}

@media (max-width: 780px) {
  .car-dealer-detail {
    margin-top: 1rem;

    & .head-title {
      h3 {
        font-size: 18px;
      }

      .view {
        span {
          font-size: 18px
        }

        ;
      }
    }

    .body-detail .main-left-info {
      & .container-img {
        .mySwiper swiper-slide img {
          min-height: 400px !important;
          max-height: 450px !important;
        }

        .thumb-loader {
          height: 400px;
        }

        #mySwiper {
          height: 400px !important;
        }
      }

      .option-info {
        margin-top: 1rem;

        & .option-info-left {
          .btn-get-qoute {
            width: 40%;
            padding: 1.5% 0;
            font-size: 15px;
          }

          & .infoTbl {
            & li {
              padding: 5px 0;

              dt {
                font-size: 13px;
              }

              dd {
                font-size: 14px;
              }
            }
          }

          .btn-get-qoute {
            font-size: 14px;
          }
        }
      }
    }

    .purchase {
      & .title {
        h3 {
          font-size: 20px;
        }

        .more-for-buyer {
          font-size: 14px;
        }
      }

      & .body-purchase {
        & .content {
          & .head {
            h5 {
              font-size: 14px;
            }
          }
        }
      }
    }
  }
}

@media (max-width: 600px) {
  .car-dealer-detail {
    margin-top: 1rem;

    & .head-title {
      h3 {
        font-size: 16px;
      }

      .view {
        span {
          font-size: 14px
        }

        ;
      }
    }

    .body-detail .main-left-info {
      & .container-img {
        .mySwiper swiper-slide img {
          min-height: 300px !important;
          max-height: 350px !important;
        }

        .thumb-loader {
          height: 300px;
        }

        #mySwiper {
          height: 300px !important;
        }
      }

      .option-info {
        margin-top: .8rem;

        & .option-info-left {
          .btn-get-qoute {
            width: 40%;
            padding: 1.5% 0;
            font-size: 15px;
          }

          & .infoTbl {
            & li {
              padding: 5px 0;

              dt {
                font-size: 12px;
              }

              dd {
                font-size: 13px;
              }
            }
          }

          .btn-get-qoute {
            font-size: 12px;
          }
        }
      }
    }

    .purchase {
      & .title {
        h3 {
          font-size: 16px;
        }

        .more-for-buyer {
          font-size: 12px;
        }
      }

      & .body-purchase {
        & .content {
          & .head {
            h5 {
              font-size: 13px;
            }

          }

          .descrition {
            font-size: 12px;
          }
        }
      }
    }
  }
}

@media (max-width: 400px) {
  .car-dealer-detail {
    & .head-title {
      h3 {
        font-size: 14px;
      }
    }

    & .body-detail .main-left-info {
      & .container-info {
        & .price {
          h3 {
            font-size: 14px;
          }
        }
      }
    }

    .body-detail .main-left-info {
      & .container-info {
        & .choose-info {
          & .info {
            & .items {
              .price-info {
                font-size: 14px;
              }
            }
          }
        }
      }
    }

    & .body-detail {
      & .option-info {
        & .option-info-left {
          .head-option {
            font-size: 18px;
          }
        }
      }

      & .option-info {
        & .option-info-right {
          .head-option {
            font-size: 18px;
          }
        }
   
      }

     
    }
    & .body-detail {
        & .option-info {
            & .option-info-left {
                & .infoTbl {
                    li {
                        padding: 8px 0;
                    }
                }
            }
        }
    }
  }
}