/* Reset / base */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Montserrat", sans-serif;
    background-color: #ffffff;
    color: #000000;
}

/* Header */
.site-header {
    background-color: #ffffff;
}

.header-logo {
    text-align: center;
    padding: 0;
}

.header-logo img {
    height: 130px;
    width: auto;
}

/* Navigation + search */
.header-menu {
    text-align: center;
    font-family: "Montserrat", sans-serif;
    font-size: 0.9rem;
    border-top: solid 2px #000;
    padding: 10px 0 10px 0;
    font-size: .8em !important;
    background-color: #fff;
    border-bottom: 1px solid #efefef;
}

.main-menu {
    list-style: none;
    margin: 0 0 10px;
    padding: 0;
}

.main-menu li {
    display: inline-block;
    margin: 0 30px;
    font-weight: 700;
}

.main-menu a {
    color: #EC62C2;
    text-decoration: none;
    font-weight: 700;
    padding: 0 12px;
    line-height: 13px;
}

/* Search bar (pink box) */
.search {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    border: 4px solid #EC62C2;
    padding: 9px 10px;
    width: 600px;
    max-width: 800px;
    margin-bottom: 0;
}

.search-input {
    font-family: sans-serif;
    border: none;
    outline: none;
    width: 100%;
    color: #EC62C2;
    font-weight: 700;
    font-size: 13px;
    line-height: 19px;
    padding: 0;
    padding-right: 45px;
    background: none;
    border-radius: 0;
}

.search-input::placeholder {
    color: #EC62C2;
    font-weight: 700;
    font-size: 13px;
    line-height: 19px;
}

.search-btn {
    border: none;
    background: none;
    color: #EC62C2;
    font-size: 0.9rem;
    padding-left: 12px;
    padding-right: 8px;
    margin-left: 8px;
    /* border-left: 1px solid #EC62C2; */
    cursor: pointer;
}

.search img {
    width: 17px;
    margin-right: 5px;
    margin-bottom: -5px;
    margin-top: 5px;
}

/* Main layout */
.page {
    padding: 0 20px;
}

.checking-code {
    max-width: 1200px;
    margin: 40px auto 0;
    display: flex;
    align-items: flex-start;
    margin-top: 0;
}

/* LEFT COLUMN */
.cc-left {
    flex: 0 0 51%;
    text-align: center;
    /* padding-right: 30px; */
}

.cc-title {
    margin: 0;
    color: #149447;
    font-weight: 500;
}

.cc-title-en {
    font-family: "Times New Roman", sans-serif;
    font-size: 33px;
    font-weight: 500;
    line-height: 47px;
    margin-bottom: 5px;
    padding-top: 35px;
}

.cc-title-cn {
    font-size: 31px;
    line-height: 44px;
    letter-spacing: 8px;
}

/* Code form */
.cc-form {
    margin-top: 40px;
    margin-bottom: 5px;
}

.cc-form ul {
    list-style: none;
    padding: 0;
    margin: 0 0 25px;
}

.cc-form-control {
    display: inline-block;
    width: 120px;
}

.cc-form-control input {
    font-family: "Kanit", sans-serif;
    width: 100%;
    padding: 7px;
    border-radius: 5px;
    text-align: center;
    border: 1px solid #ccc;
    outline: none;
    font-size: 1em;
    color: #666;
}

/* Thai caption below inputs */
.cc-suggestion {
    font-family: "Kanit", sans-serif;
    color: #666;
    line-height: 31px;
    font-size: 22px;
    padding-bottom: 20px;
    font-weight: 500;
    padding-top: 0;
    margin: 2em 0 1em 0;
}

/* Submit button */
.cc-submit button {
    border: none;
    padding: 0;
    cursor: pointer;
    border-radius: 0;
    box-shadow: none;
    width: 185px;
    background: transparent;
}

.cc-submit button img {
    width: 100%;
    padding: 20px 0px;
}

/* RIGHT COLUMN */
.cc-right {
    margin-top: 1rem;
    flex: 0 0 48.7%;
    font-family: "Kanit", sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #212529;
    padding-right: 60px;
    line-height: 20px;
}

.cc-right h3 {
    margin: 0;
}

.cc-right p {
    margin: 0;
}

.cc-right ol {
    margin: 0 0 18px 22px;
    padding: 0;
}

/* Footer */
.site-footer {
    background: #192027;
    text-align: center;
    padding: 32px 0;
}

.site-footer p {
    margin: 0;
    line-height: 26px;
    font-size: 15px;
    color: #999;
}

/* Responsive (basic) */
@media (max-width: 960px) {
    .checking-code {
        flex-direction: column;
    }

    .cc-left,
    .cc-right {
        flex: 0 0 100%;
        padding-right: 0;
    }

    .cc-right {
        margin-top: 40px;
    }

    .search {
        width: 80%;
    }
}

@media (max-width: 600px) {
    .main-menu li {
        margin: 0 10px;
        font-size: 0.8rem;
    }

    .cc-form-control {
        width: 60px;
    }

    .cc-form-control input {
        font-size: 0.9rem;
        padding: 8px 4px;
    }

    .cc-submit button {
        padding: 10px 40px;
    }
}