body {
  font-family: 'Sukhumvit', 'Merriweather', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 300;
  background-color: #ffffff;
}

.navbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1030;
  background-color: #f1d800;

  .container {
    max-width: 1100px;
    width: 100%;
  }

  .navbar-brand {
    a {
      min-width: 50px;
    }

    img {
      height: 34px;
    }
  }

  .navbar-toggler {
    border: none !important;
  }

  .nav-link {
    color: #000000 !important;
  }

  .nav-link.active,
  .nav-link.show {
    text-decoration: underline;
    color: #000000 !important;
  }

  .dropdown-toggle {
    cursor: pointer;
    text-decoration: none;

    img {
      width: 25px;
      margin-right: 0.5rem;
    }
  }

  .dropdown-menu {
    background-color: #f1d800;
    right: 0;
    left: unset;

    a {
      padding-left: 15px;
      text-decoration: none;

      .row {
        padding-right: 12px;
      }

      img {
        height: 20px;
      }
    }

    a:hover {
      background-color: #000000;
      color: #FFFFFF !important;
      text-decoration: none !important;
    }
  }
}

.form-search {
  position: relative;
  padding: 0px !important;

  .warpper-search {
    position: relative;
    height: 100%;

    .background {
      position: absolute;
      width: 100%;
      height: 100%;

      img {
        width: 100%;
        height: 700px;
        object-fit: cover;
        object-position: 0% 10%;
      }
    }
  }

  .content {
    position: relative;
    top: 85px;
    width: 100%;
    padding-top: 25px;
    /* padding-left: 96px;
      padding-right: 96px; */
    margin: 0 auto;
    max-width: 1320px;
    margin-bottom: 140px;

    .text-header {
      max-width: 500px;
      width: 100%;
    }

    .content-search {
      max-width: 500px;
      width: 100%;
      box-shadow: 0px 15px 15px rgba(0, 0, 0, 0.2);

      .box-centent {
        background-color: #f1d800 !important;

        .card-origin,
        .card-destination,
        .card-departure,
        .card-return,
        .card-passenger {
          background-color: #FFF;
        }
      }
    }
  }

  @media (max-width: 576px) {
    .content {
      top: 100px;
      padding: 0 15px;
      margin-bottom: 170px;
    }
  }

  @media (min-width: 576px) {
    .content {
      max-width: 540px;
    }
  }

  @media (min-width: 768px) {
    .content {
      max-width: 540px;
    }
  }

  @media (min-width: 992px) {
    .content {
      max-width: 960px;
    }
  }

  @media (min-width: 1200px) {
    .content {
      max-width: 1140px;
    }
  }

  @media (min-width: 1400px) {
    .content {
      max-width: 1320px;
    }
  }



  /* @media (max-width: 700px) {
      .content {
        padding-left: 100px;
        padding-right: 100px;
      }
    }

    @media (max-width: 600px) {
      .content {
        padding-left: 80px;
        padding-right: 80px;
      }
    }

    @media (max-width: 550px) {
      .content {
        padding-left: 20px;
        padding-right: 20px;
      }
    } */
}

.news-home {
  .container {
    display: flex;
    justify-content: center;
  }

  .card-news {
    width: 100%;
    max-width: 1100px;
    padding: 50px 0;

    .card-header {
      position: relative;
      text-align: center;
      margin-bottom: 50px;

      h2 {
        font-size: 28px;
        font-weight: 600;
        color: #000000;
        margin: 0;
      }
    }

    .card-content {
      a {
        text-decoration: none;

        .card-img {
          position: relative;
          overflow: hidden;
          border-radius: 10px;
          box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
          height: 200px;
          transition: 0.3s;

          img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: top;
          }

          &:hover {
            transform: scale(1.05);
          }
        }
      }
    }
  }
}

.news-detail {
  .container {
    width: 100%;
    max-width: 1100px;
  }

  .detail-section {
    .content-detail {
      max-width: 1100px;
      width: 100%;

      .card-image {
        img {
          width: 100%;
          height: 100%;
          object-fit: cover;
          object-position: center;
        }
      }

      @media (max-width: 800px) {
        img {
          max-width: 100% !important;
          height: auto !important;
          object-fit: contain;
          display: block;
        }
      }

      a {
        text-decoration: none;
        color: #000000;

        &:hover {
          color: #f1d800;
        }
      }
    }
  }
}

.popular-route {
  background-color: #eeeeee;

  .container {
    display: flex;
    justify-content: center;
  }

  .card-wapper {
    width: 100%;
    max-width: 1100px;
    padding: 50px 0;

    .card-header {
      position: relative;
      text-align: center;
      margin-bottom: 50px;

      h2 {
        font-size: 28px;
        font-weight: 600;
        color: #000000;
        margin: 0;
      }
    }

    .card-content {
      .card {
        border-radius: 0;

        .card-img {
          border-radius: 0;
          overflow: hidden;

          img {
            width: 100%;
            transition: transform 0.3s ease;

            &:hover {
              transform: scale(1.2);
            }
          }
        }

        .card-text {
          padding: 16px;
          background-color: #f1d800;
          color: #000;
        }
      }
    }
  }
}

.banner-inc {
  position: relative;
  margin-top: 60px;
  height: 260px;

  .card-img {
    img {
      height: 380px;
      object-fit: cover;
      width: 100%;
      height: 100%;
      object-position: 10% 50%;
    }
  }

  .card-text {
    position: relative;
    top: 36%;
    left: 50%;
    transform: translate(-50%, -356%);

    .text-title {
      font-size: 30px;
      font-weight: 700;
      color: #000000;
      text-align: center;
    }

    .text-link {
      text-align: center;
      color: #000000;
      font-weight: bold;

      a {
        text-decoration: none;
        color: #000000;
      }
    }
  }

  .card-text-nd {
    position: relative;
    top: 36%;
    left: 50%;
    transform: translate(-50%, -270%);

    .text-title {
      font-size: 30px;
      font-weight: 700;
      color: #000000;
      text-align: center;
    }

    .text-link {
      text-align: center;
      font-size: 24px;
      color: #000000;

      a {
        font-size: 24px;
        color: #000000;
        text-decoration: none;
      }
    }
  }
}

.timetables {
  #route_card {
    .accordion {
      .accordion-button {
        background-color: #afafaf;
        box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .125);
        color: black;
        font-weight: 600 !important;
        font-size: 14px;

        &:not(.collapsed) {
          color: white;
          background-color: #afafaf;
        }
      }

      table thead th {
        background-color: #afafaf;
        color: #fff;
      }
    }
  }
}

.rental-contact {
  width: 100%;
  max-width: 900px;

  h2 {
    font-size: 1.5rem;
  }
}

.rental-service {
  .card {
    .card-header {
      background-color: #afafaf;
      color: white;
      color: #000;
    }

    .card-body {
      .img-tumb {
        margin: auto;
        max-width: 170px;
        width: 100%;
        height: 170px;
        border: 1px solid #dfdfdf;
        border-radius: 4px;
        cursor: pointer;
      }

      .img-tumb img {
        border-radius: 4px;
        object-fit: contain;
        height: 100%;
        width: 100%;
      }

      .img-tumb-group {
        height: 170px;
        border: 1px solid #dfdfdf;
        border-radius: 4px;
        cursor: pointer;
      }

      .img-tumb-group img {
        border-radius: 4px;
        object-fit: cover;
        height: 100%;
        width: 100%;
      }
    }
  }
}

.container-footer {
  position: relative;
  width: 100%;

  @media (max-width: 767px) {
    .container {
      max-width: 100%;
    }
  }

  .card-footer {
    background-color: #000000;

    .container {
      display: flex;
      justify-content: center;

      .card-wapper {
        padding: 50px 0 30px 0;

        .card-content-left {

          h2 {
            font-size: 24px;
            font-weight: var(--fw-title);
            color: #ffffff;
            margin: 0;
          }

          h2:first-child {
            margin-bottom: 10px;
          }

          h2:nth-child(3) {
            margin-top: 20px;
            margin-bottom: 10px;
          }

          strong {
            font-size: 16px;
            font-weight: bold;
            color: #ffffff;
          }
        }

        .card-content-center {
          .card-menu {
            h2 {
              font-size: 24px;
              color: #ffffff;
              margin: 0;
            }

            a {
              text-decoration: none;
              display: block;
              font-size: 16px;
              font-weight: 400;
              color: #ffffff;
              margin-top: 10px;

              &:hover {
                color: #ffffff;
              }
            }
          }

          @media (max-width: 767px) {
            & {
              margin-top: 20px;
              margin-bottom: 10px;
            }
          }
        }

        .card-content-right {
          .card-payment-channel {
            .card-header {
              h2 {
                font-size: 24px;
                color: #ffffff;
                margin: 0;
                margin-bottom: 10px;
              }
            }

            .card-content {
              .card-list {
                display: flex;
                flex-wrap: wrap;
                gap: 10px;

                img {
                  width: auto;
                  height: 30px;
                }
              }
            }
          }

          .card-download {
            .card-header {
              h2 {
                font-size: 24px;
                color: #ffffff;
                margin: 0;
                margin-top: 20px;
                margin-bottom: 10px;
              }
            }

            .card-content {
              .card-list {
                display: flex;
                flex-wrap: wrap;
                gap: 10px;

                a {
                  text-decoration: none;
                  display: flex;
                  align-items: center;
                  justify-content: center;
                  padding: 0;

                  img {
                    width: auto;
                    height: 40px;
                  }
                }
              }
            }
          }

          @media (max-width: 768px) {
            .card-payment-channel {
              .card-header {
                margin-top: 20px;
                margin-bottom: 10px;
              }
            }

            .card-download {
              .card-header {
                margin-top: 20px;
                margin-bottom: 10px;
              }
            }
          }
        }

        .card-bottom {
          display: flex;
          justify-content: center;
          align-items: center;
          margin-top: 20px;

          .card-copyright {
            strong {
              font-size: 16px;
              font-weight: 400;
              color: #ffffff;

              span {
                font-weight: bold;
                color: #ffffff;
              }
            }
          }

          .card-referral {
            display: flex;

            a {
              text-decoration: none;
              display: flex;
              align-items: center;
              justify-content: center;
              padding: 0;
              font-size: 16px;
              font-weight: 400;
              color: #ffffff;

              &:hover {
                color: #ffffff;
              }

              &:last-child {
                color: #ff6700;
              }
            }

            span {
              font-size: 16px;
              font-weight: 400;
              color: #ffffff;
            }
          }

          @media (max-width: 622px) {
            & {
              flex-direction: column;
              align-items: center;
              justify-content: center;
            }
          }

          @media (max-width: 550px) {
            flex-direction: column;

            .card-copyright {
              margin-bottom: 10px;
            }
          }

          @media (max-width: 340px) {
            & {
              margin-top: 20px;

              .card-copyright {
                strong {
                  display: grid;
                  text-align: center;
                }
              }

              .card-referral {
                display: grid;
                text-align: center;
              }
            }
          }

        }
      }
    }
  }

}