/* Shared layout and legacy site styles */

* {
    margin: 0px;
        padding: 0px;
        box-sizing: border-box;
}

body,
html {
    height: 100%;
        font-family: Poppins-Regular, sans-serif;
}

a {
    font-family: Poppins-Regular;
        font-size: 14px;
        line-height: 1.7;
        color: #666666;
        margin: 0px;
        transition: all 0.4s;
        -webkit-transition: all 0.4s;
        -o-transition: all 0.4s;
        -moz-transition: all 0.4s;
}

a:focus {
    outline: none !important;
}

a:hover {
    text-decoration: none;
            color: #57b846;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0px;
}

p {
    font-family: Poppins-Regular;
        font-size: 14px;
        line-height: 1.7;
        color: #666666;
        margin: 0px;
}

ul,
li {
    margin: 0px;
        list-style-type: none;
}

input {
    outline: none;
        border: none;
}

textarea {
    outline: none;
        border: none;
}

textarea:focus,
input:focus {
    border-color: transparent !important;
}

input:focus::-webkit-input-placeholder {
    color: transparent;
}

input:focus:-moz-placeholder {
    color: transparent;
}

input:focus::-moz-placeholder {
    color: transparent;
}

input:focus:-ms-input-placeholder {
    color: transparent;
}

textarea:focus::-webkit-input-placeholder {
    color: transparent;
}

textarea:focus:-moz-placeholder {
    color: transparent;
}

textarea:focus::-moz-placeholder {
    color: transparent;
}

textarea:focus:-ms-input-placeholder {
    color: transparent;
}

input::-webkit-input-placeholder {
    color: #999999;
}

input:-moz-placeholder {
    color: #999999;
}

input::-moz-placeholder {
    color: #999999;
}

input:-ms-input-placeholder {
    color: #999999;
}

textarea::-webkit-input-placeholder {
    color: #999999;
}

textarea:-moz-placeholder {
    color: #999999;
}

textarea::-moz-placeholder {
    color: #999999;
}

textarea:-ms-input-placeholder {
    color: #999999;
}

button {
    outline: none !important;
        border: none;
        background: transparent;
}

button:hover {
    cursor: pointer;
}

iframe {
    border: none !important;
}

.col-md-12-1 {
    padding-left: 5px;
        padding-right: 5px;
        width: 100%;
        height: auto;
}

.col-md-12 {
    padding-left: 15px;
        padding-right: 10px;
}

#consendModal .modal-header {
    border-top: 15px solid darkblue;
        align-items: center;
}

#consendModal .modal-title {
    font-size: 20px;
        font-weight: 600;
}

#consendModal .privacy-notice-body {
    padding: 20px 25px;
        max-height: 70vh;
        overflow-y: auto;
        color: #333;
        line-height: 1.8;
}

#consendModal .privacy-notice-body h5 {
    margin-top: 18px;
            margin-bottom: 6px;
            color: darkblue;
            font-weight: 600;
}

#consendModal .privacy-notice-body p {
    margin-bottom: 12px;
            text-align: left;
}

#consendModal .privacy-notice-bottom {
    border-bottom: 8px solid #0060AC;
        margin-top: 20px;
}

.step-image {
    display: block;
        width: 100%;
        aspect-ratio: 1.15 / 1;
        object-fit: fill;

        box-sizing: border-box;
}

.disclaimer-separator {
    padding: 0 3px;
}

.about-eyebrow {
    display: inline-block;
        margin-bottom: 8px;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 3px;
        color: var(--chaiyo-yellow);
}

.about-number {
    display: flex;
        flex: 0 0 48px;
        width: 48px;
        height: 48px;
        align-items: center;
        justify-content: center;
        border-radius: 12px;
        background: var(--chaiyo-yellow);
        color: var(--chaiyo-blue);
        font-size: 17px;
        font-weight: 800;
}

.about-subtitle {
    margin: 3px 0 0;
        color: var(--chaiyo-muted);
        font-size: 14px;
}

.about-content {
    padding-left: 63px;
}

.about-content p {
    margin: 0 0 15px;
            font-size: 15px;
            line-height: 1.95;
            text-align: left;
}

.about-content strong {
    color: var(--chaiyo-blue);
}

.highlight-icon {
    display: inline-flex;
        flex: 0 0 20px;
        width: 20px;
        height: 20px;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: var(--repay-blue);
        color: #fff;
        font-size: 12px;
}

.notice-icon {
    flex: 0 0 28px;
        color: #8b6a00;
        font-size: 24px;
        line-height: 1.4;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-text-fill-color: darkblue !important;
        transition: background-color 5000s ease-in-out 0s;
}

#seccon {
    overflow: visible !important;
        height: auto !important;
        max-height: none !important;
}

html,
body {
    width: 100%;
        height: 100%;
        margin: 0px;
        padding: 0px;
}

p {
    font-family: "Sarabun", sans-serif;
        color: darkblue;
        font-size: 14px;
}

b {
    font-size: 14px;
        font-family: "Sarabun", sans-serif;
        color: darkblue;
}

#hidden_content {
    height: 0;
        overflow: auto;
        transition: height 0.8s ease;
}

hr {
    margin-top: 1rem;
        margin-bottom: 1rem;
        border: 0;
        border-top: 1px solid darkblue;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
        font-family: Arial, Helvetica, sans-serif;
}

html,
body {
    width: 100%;
        height: 100%;
        margin: 0px;
        padding: 0px;
}

p {
    font-family: "Sarabun", sans-serif;
        color: darkblue;
        font-size: 14px;
}

b {
    font-size: 14px;
        font-family: "Sarabun", sans-serif;
        color: darkblue;
}

#hidden_content {
    height: 0;
        overflow: auto;
        transition: height 0.8s ease;
}

hr {
    margin-top: 1rem;
        margin-bottom: 1rem;
        border: 0;
        border-top: 1px solid darkblue;
}

.desktop-layout {
    display: flex;
        align-items: flex-start;
}

.right-panel {
    flex: 0 0 50%;
        max-width: 50%;
}

.left-panel {
    display: flex;
        justify-content: center; 
        align-items: center; 

        width: 50%;
}

.side-image {
    width: 100%;
        height: 100%;
        object-fit: contain;
        display: block;
     /*   border-radius: 2%;*/
}

html,
body {
    overflow-x: hidden;
}

.footer-text {
    text-align: center;
        color: white;
        font-size: 12px;
        padding-top: 15px;
        padding-left: 50px;
        padding-right: 50px;
        padding-bottom: 0px; 
        margin: 0 auto;
}

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    width: 100%;
    min-width: 320px;
    margin: 0;
    font-family: "Sarabun", sans-serif;
    overflow-x: clip;
}

#firstcon,
#seccon,
.content,
.desktop-layout,
.left-panel,
.right-panel {
    min-width: 0;
    max-width: 100%;
}
 
#firstcon > .row {
    margin: 0 !important;
    padding: 8px !important;
    border-radius: 20px;
}

.desktop-layout {
    display: flex;
    align-items: flex-start;
  /*  gap: 16px;*/
    width: 100%;
}

.left-panel {
    flex: 0 0 50%;
    width: 50%;
    min-width: 0;
    align-self: stretch;
    padding: 5px !important;
}

.side-image {
    display: block;
    width: 100%;
    height: auto;
/*    max-height: 780px;*/
    object-fit: contain;
    object-position: center top;
}

.right-panel {
    flex: 1 1 50%;
    width: 50%;
  /*  max-width: 54%;*/
    min-width: 0;
    padding: 5px !important;
}

.right-panel > .col-md-12,
.right-panel .col-md-12,
.right-panel .col-md-12-1,
#firstcon .col-md-12-1 {
    min-width: 0;
    max-width: 100%;
}

#firstcon .right-panel > .row {
    margin: 14px 0 0 !important;
    padding: 12px !important;
    border-radius: 18px;
}

#firstcon .rModelDDL,
#firstcon .rMakeDDL,
#firstcon .rYearDDL,
#firstcon .othermodel,
#firstcon .othermake,
#firstcon .otheryear {
    height: auto !important;
    min-height: 0;
    margin: 0 0 12px !important;
}

#firstcon .txtnameH,
#firstcon .rProv,
#firstcon .rCarno {
    height: auto !important;
    min-height: 0;
    padding-top: 5px;
    margin-bottom: 12px;
}

#firstcon .earthinfo {
    height: auto !important;
    margin-bottom: 14px !important;
}

#seccon {
    width: 100%;
    padding: 0;
}

#seccon > .content {
    width: 100%;
    margin: 0;
    padding: 0 !important;
}

#seccon > .content > .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
    border-left-width: clamp(6px, 1.5vw, 20px) !important;
    border-right-width: clamp(6px, 1.5vw, 20px) !important;
}

.step-image {
    width: 100%;
    height: auto;
    aspect-ratio: 1.15 / 1;
    object-fit: contain;
}

.footer-text {
    max-width: 100%;
    padding-left: 20px;
    padding-right: 20px;
    overflow-wrap: anywhere;
}
