@import url("https://fonts.googleapis.com/css2?family=Bai+Jamjuree:ital,wght@0,400;0,600;1,400;1,600&family=Kanit:ital,wght@0,500;1,500&family=Karla:ital,wght@0,500;1,500&family=Prompt:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&display=swap");
section.motor-hero {
    min-height: 100%;
    height: -webkit-fit-content;
    height: -moz-fit-content;
    height: fit-content;
    padding-bottom: 7rem;
}
.secondary-nav {
    display: flex;
    flex-direction: column;
}
.secondary-nav .nav-link {
    padding-left: 0;
}
.motor-hero-img {
    margin-top: 2rem;
}
.hero-form-wrap {
    position: relative;
    margin: 0 auto;
    max-width: 450px;
}
.select-form {
    background-color: #fff;
    border-radius: 15px;
    padding: 3rem;
    position: relative;
    z-index: 3;
}
.select-form h3 {
    text-align: center;
    font-weight: 600;
}
.ant-form {
    max-width: 107px;
    top: -1rem;
    left: -5.55rem;
}
.select2-results ul > li:not(.select2-results__option--group):first-child,
.select2-results
    .select2-results__options
    > li:first-child
    ul
    > li:first-child {
    display: none;
}
#package > div {
    max-width: 1140px;
}
#package .card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    text-align: left;
    -webkit-box-shadow: 0px 10px 30px #0000000a;
    box-shadow: 0px 10px 30px #0000000a;
}
#package .card h3 {
    font-size: 24px;
}
#package .package-body {
    padding: 1.875rem;
}
#package .package-tx {
    min-height: 167px;
}
#package .package-footer {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}
#package .package-footer > div {
    -ms-flex-preferred-size: 55%;
    flex-basis: 55%;
}
#package .package-footer .prices p {
    font-family: "Prompt", sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 0;
}
#package .package-footer .btn {
    min-width: unset;
}
#package .package-footer span {
    font-size: 13px;
}
#package .package-footer .baht {
    font-weight: 400;
    color: #777;
    position: relative;
    left: -6px;
}
#why-jaadhai .feature {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin: 2rem 0 0.5rem;
}
#why-jaadhai h3 {
    font-size: 20px;
    margin-bottom: 0.5rem;
}
#why-jaadhai .feature-icon {
    -ms-flex-preferred-size: 40%;
    flex-basis: 40%;
    margin-right: 0;
}
#why-jaadhai .feature-info {
    -ms-flex-preferred-size: 55%;
    flex-basis: 55%;
}
#why-jaadhai .feature-info p {
    margin-bottom: 0;
}
.why-img-sm {
    max-width: 300px;
    margin: 0 auto;
    display: block;
    -webkit-transform: translateY(-1rem);
    transform: translateY(-1rem);
}
.acceptRegis {
    display: none;
}
.checkbox-label {
    width: 25px;
    height: 25px;
    display: inline-block;
    border: 1px solid #eee;
    border-radius: 5px;
    margin-right: 10px;
    margin-top: 2px;
}
.acceptRegis:checked + .checkbox-label {
    background-color: #00916e;
}
.acceptRegis:checked + .checkbox-label::after {
    content: "\e903";
    font-family: "iconfont";
    color: white;
    font-size: 16px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
}
.checkbox-text {
    font-size: 14px;
    font-family: "Bai Jamjuree", Arial, Helvetica, sans-serif;
    color: #333;
}
.condition-link {
    color: #333;
    text-decoration: underline;
}
.consent-box {
    max-height: 0;
    margin-left: 35px;
    overflow-y: hidden;
    transition: all 0.3s ease;
    color: #333;
}
.flex-img {
    height: 180px;
}
.flex-img-2 {
    height: 140px;
}
.select2-container .select2-selection--single .select2-selection__rendered {
    text-overflow: inherit;
    white-space: normal;
    word-break: break-word;
    /* font-family: 'Bai Jamjuree', Arial, Helvetica, sans-serif; */
}
/* .select2-results__option .tx,
.select2-search__field {
    font-family: 'Bai Jamjuree', Arial, Helvetica, sans-serif;
} */
.select2-container--default .selection .select2-selection--single {
    height: 100%;
}
@media (min-width: 992px) {
    .why-img {
        position: absolute;
        -webkit-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
        width: 215px;
        top: 9rem;
        left: 17%;
    }
}
@media (max-width: 1199.98px) {
    .hero-form-wrap {
        margin: 1.5rem auto;
    }
}
@media (max-width: 991.98px) {
    #package .card h3 {
        font-size: 20px;
    }
    #package .package-footer .prices p {
        font-size: 20px;
    }
    .motor-hero-img {
        max-width: 50%;
        margin: 0 auto;
    }
}
@media (max-width: 575.98px) {
    .motor-hero {
        background: url(/jaadhai/assets/new-theme/images/motor-sm-bg.png)
            no-repeat scroll top center/cover !important;
        padding-top: 1.5rem;
        padding-bottom: 1.5rem !important;
    }
    .ant-form {
        display: none;
    }
    .select-form {
        padding: 1.5rem 1.25rem;
    }
    .select-form h3 {
        font-size: 20px;
    }
    #why-jaadhai {
        padding-top: 0;
    }
    .hero-img {
        max-width: 75%;
        margin: 1.5rem auto;
    }
    #package {
        padding-top: 2rem;
    }
    #package .card {
        margin-bottom: 1.5rem;
    }
    #package .package-tx {
        min-height: 150px;
    }
    #package .package-footer .baht {
        font-weight: 400;
        color: #777;
        position: relative;
        left: 0;
    }
    #package .package-footer .btn {
        min-width: unset;
        -ms-flex-preferred-size: 45%;
        flex-basis: 45%;
        padding: 10px;
    }
}
@media screen and (min-width: 768px) {
    .feature-flex {
        display: flex;
        flex-wrap: wrap;
    }
    .feature-flex .feature {
        width: 50%;
    }
}

@media screen and (min-width: 1024px) {
    .flex-img {
        height: 150px;
    }
    .flex-img-2 {
        height: 120px;
    }
    .why-img {
        transform: none;
        position: relative;
        left: 0;
        top: 0;
        transform: translate(40px, -5%);
    }
    .why-wrapper {
        display: flex;
        align-items: center;
    }
    .why-wrapper .first {
        width: 30%;
        margin-right: 40px;
    }
    .why-wrapper .second {
        width: 70%;
    }
}
@media screen and (min-width: 1200px) {
    .feature {
        flex-direction: column;
    }
    .why-img {
        transform: translateX(-100px);
    }
    .flex-img-3 {
        width: 130px;
        margin-bottom: 20px;
    }
    .flex-img {
        height: 160px;
        margin-bottom: 20px;
        margin-top: -20px;
    }
    .flex-img-2 {
        margin-top: 20px;
        margin-bottom: 20px;
    }
    .why-wrapper .first {
        width: 25%;
        margin-right: 0;
    }
    .why-wrapper .second {
        width: 80%;
    }
    .feature-flex {
        flex-wrap: nowrap;
    }
    #why-jaadhai .feature {
        margin-right: 30px;
        padding: 0 50px;
    }
    #why-jaadhai .feature:last-child {
        margin-right: 0;
    }
}
