@charset "UTF-8";

/*reset css code*/


/*reset css code*/

@import url("https://fonts.googleapis.com/css?family=Kanit:200,300,400&subset=thai");
html {
    line-height: 1.15;
    /* 1 */
    -ms-text-size-adjust: 100%;
    /* 2 */
    -webkit-text-size-adjust: 100%;
    /* 2 */
}


/* Sections
   ========================================================================== */


/**
 * Remove the margin in all browsers (opinionated).
 */

body {
    margin: 0;
    background-color: #FFF;
}


/**
 * Add the correct display in IE 9-.
 */

article,
aside,
footer,
header,
nav,
section {
    display: block;
}


/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
    font-size: 2em;
    margin: 0.67em 0;
}


/* Grouping content
   ========================================================================== */


/**
 * Add the correct display in IE 9-.
 * 1. Add the correct display in IE.
 */

figcaption,
figure,
main {
    /* 1 */
    display: block;
}


/**
 * Add the correct margin in IE 8.
 */

figure {
    margin: 1em 40px;
}


/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
    box-sizing: content-box;
    /* 1 */
    height: 0;
    /* 1 */
    overflow: visible;
    /* 2 */
}


/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
    font-family: monospace, monospace;
    /* 1 */
    font-size: 1em;
    /* 2 */
}


/* Text-level semantics
   ========================================================================== */


/**
 * 1. Remove the gray background on active links in IE 10.
 * 2. Remove gaps in links underline in iOS 8+ and Safari 8+.
 */

a {
    background-color: transparent;
    /* 1 */
    -webkit-text-decoration-skip: objects;
    /* 2 */
    text-decoration: none;
	color: #f6b20f;
}



/**
 * 1. Remove the bottom border in Chrome 57- and Firefox 39-.
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
    border-bottom: none;
    /* 1 */
    text-decoration: underline;
    /* 2 */
    text-decoration: underline dotted;
    /* 2 */
}


/**
 * Prevent the duplicate application of `bolder` by the next rule in Safari 6.
 */

b,
strong {
    font-weight: inherit;
}


/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
    font-weight: bolder;
}


/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
    font-family: monospace, monospace;
    /* 1 */
    font-size: 1em;
    /* 2 */
}


/**
 * Add the correct font style in Android 4.3-.
 */

dfn {
    font-style: italic;
}


/**
 * Add the correct background and color in IE 9-.
 */

mark {
    background-color: #ff0;
    color: #000;
}


/**
 * Add the correct font size in all browsers.
 */

small {
    font-size: 80%;
}


/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}


/* Embedded content
   ========================================================================== */


/**
 * Add the correct display in IE 9-.
 */

audio,
video {
    display: inline-block;
}


/**
 * Add the correct display in iOS 4-7.
 */

audio:not([controls]) {
    display: none;
    height: 0;
}


/**
 * Remove the border on images inside links in IE 10-.
 */

img {
    border-style: none;
}


/**
 * Hide the overflow in IE.
 */

svg:not(:root) {
    overflow: hidden;
}


/* Forms
   ========================================================================== */


/**
 * 1. Change the font styles in all browsers (opinionated).
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
    font-family: sans-serif;
    /* 1 */
    font-size: 100%;
    /* 1 */
    line-height: 1.15;
    /* 1 */
    margin: 0;
    /* 2 */
}


/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input {
    /* 1 */
    overflow: visible;
}


/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select {
    /* 1 */
    text-transform: none;
}


/**
 * 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
 *    controls in Android 4.
 * 2. Correct the inability to style clickable types in iOS and Safari.
 */

button,
html [type="button"],
[type="reset"],
[type="submit"] {
    -webkit-appearance: button;
    /* 2 */
}


/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
}


/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
    outline: 1px dotted ButtonText;
}


/**
 * Correct the padding in Firefox.
 */

fieldset {
    padding: 0.35em 0.75em 0.625em;
}


/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */

legend {
    box-sizing: border-box;
    /* 1 */
    color: inherit;
    /* 2 */
    display: table;
    /* 1 */
    max-width: 100%;
    /* 1 */
    padding: 0;
    /* 3 */
    white-space: normal;
    /* 1 */
}


/**
 * 1. Add the correct display in IE 9-.
 * 2. Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
    display: inline-block;
    /* 1 */
    vertical-align: baseline;
    /* 2 */
}


/**
 * Remove the default vertical scrollbar in IE.
 */

textarea {
    overflow: auto;
}


/**
 * 1. Add the correct box sizing in IE 10-.
 * 2. Remove the padding in IE 10-.
 */

[type="checkbox"],
[type="radio"] {
    box-sizing: border-box;
    /* 1 */
    padding: 0;
    /* 2 */
}


/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto;
}


/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
    -webkit-appearance: textfield;
    /* 1 */
    outline-offset: -2px;
    /* 2 */
}


/**
 * Remove the inner padding and cancel buttons in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}


/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
    -webkit-appearance: button;
    /* 1 */
    font: inherit;
    /* 2 */
}


/* Interactive
   ========================================================================== */


/*
 * Add the correct display in IE 9-.
 * 1. Add the correct display in Edge, IE, and Firefox.
 */

details,
menu {
    display: block;
}


/*
 * Add the correct display in all browsers.
 */

summary {
    display: list-item;
}


/* Scripting
   ========================================================================== */


/**
 * Add the correct display in IE 9-.
 */

canvas {
    display: inline-block;
}


/**
 * Add the correct display in IE.
 */

template {
    display: none;
}


/*Fonts Face*/

@font-face {
    font-family: sukhumvitreg;
    src: url("../../../../assets/fonts/sukhumvitreg-webfont.woff");
}

@font-face {
    font-family: sukhumvitlight;
    src: url("../../../../assets/fonts/sukhumvitlight-webfont.woff");
}

@font-face {
    font-family: Fontawesome;
    src: url("../../../../assets/font/fontawesome-webfont.woff");
}


/*Body & Header*/

body {
    background-color: #fff;
    font-family: Tahoma, 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #333333;
    margin: 0;
    padding: 0;
}

.body-wrapper {
    width: 100%;
    margin: 40px 0 100px;
}

.step-container {
    position: relative;
    padding: 20px 10px 40px;
}

.button-wrapper {
    text-align: center;
    font-size: 0;
}
}
@media only screen and (min-width: 1024px) {
    .body-wrapper {
        width: 1070px;
        margin: 40px auto 160px;
        position: relative;

    }
    .body-wrapper .header-wrapper {
        height: 165px;
        margin-top: 0;
    }
    .step-container {
        padding: 0;
        margin: 0 0 50px;
    }
}

.register-wrapper {
    padding: 0 10px 30px;
}

.register-wrapper > .btn-select-location {
    margin: 35px auto;
}

.register-wrapper > .register-box {
    padding: 0;
}

.register-wrapper > .title {
    margin: 15px 0 15px;
    text-align: center;
    font-family: 'Kanit', tahoma, sans-serif;
    font-size: 8vw;
    font-weight: normal;
    color: #3b3c3c;
}

.register-box > .subtitle,
.register-choice-box > .subtitle {
    font-family: 'Kanit', tahoma, sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: #000;
    text-align: center;
    margin-bottom: 12px;
}

.register-box > .subtitle {
    margin-bottom: 18px;
}

.register-box > .subtitle > br {
    display: block;
}

.register-box > .note {
    margin-bottom: 33px;
    text-align: left;
    color: #666;
    line-height: 20px;
}

.register-box > .preadbtn {
    margin-bottom: 39px;
}

.register-box > .form-item {
    margin-bottom: 33px;
}

.register-box > .form-item:nth-child(7) {
    margin-bottom: 17px;
}

.register-box > .form-item:last-child {
    margin-bottom: 0;
}

.form-item > .inputlabel {
    display: block;
    font-size: 18px;
    margin-bottom: 12px;
    font-family: 'Kanit', sans-serif;
}

.form-item > .input {
    display: block;
    width: 100%;
    height: 48px;
    box-sizing: border-box;
    font-family: sukhumvitlight, sans-serif;
    font-size: 34px;
    border: 1px solid #aaa8a7;
    padding: 15px 18px 8px;
    border-radius: 3px;
    outline: none;
}

.register-box > .form-item .remark {
    margin: 5px 0 35px;
    color: #666;
}


/*Register Tab*/

.tab-profile button {
    float: right;
    margin: 8px;
    font-size: 14px;
    outline: none;
}

.tab-profile,
.tab-profile.-login {
    background-color: #e8e8e8;
    height: 50px;
    box-sizing: border-box;
    margin: 0 -10px;
    width: auto;
}

.tab-profile ul {
    padding: 0;
    margin: 0;
}

.tab-profile ul i {
    color: #bdbdbd;
    margin-top: 3px;
}

.tab-profile ul li._active {
    background-color: #3b3c3c;
}

.tab-profile ul li._active .link {
    color: #fff;
}

.tab-profile ul li {
    position: relative;
    list-style: none;
    display: inline-block;
    width: 33.1%;
    background-color: #e8e8e8;
    text-align: center;
    line-height: 50px;
    font-family: 'Kanit', tahoma, sans-serif !important;
    font-weight: normal;
    font-size: 18px;
    height: 50px;
    float: left;
    border-right: 1px solid #ccc;
}

.tab-profile ul li .link.link-resv {
    margin-top: -10px;
    display: inline-block;
}

.tab-profile ul li .txt-sml {
    margin-top: -15px;
}

.tab-profile ul li .link {
    text-decoration: none;
    color: #333;
}

.tab-profile ul li:not(._active):hover {
    cursor: pointer;
}

.tab-profile ul li:last-child {
    border: none;
}

.btn-another {
    display: none;
}

@media screen and (max-width: 320px) {
    .tab-profile {
        margin: 0;
    }
    .tab-profile ul li {
        font-size: 16px;
    }
    .tab-profile ul li .txt-sml {
        margin-top: -20px;
    }
}

@media only screen and (min-width: 1024px) {
    .register-wrapper {
        padding: 0 40px 60px;
    }
    .register-wrapper > .btn-select-location {
        margin: 22px auto 67px;
    }
    .register-wrapper > .register-box {
        padding: 0;
        margin: 0 auto;
        width: 373px;
    }
    .register-box > .subtitle,
    .register-choice-box > .subtitle {
        margin-bottom: 24px;
    }
    .register-box > .title br {
        display: none;
    }
    .register-box > .note {
        margin-bottom: 20px;
        text-align: left;
        color: #666;
    }
    .register-box > .preadbtn {
        margin-bottom: 52px;
    }
    /*Register Tab*/
    .tab-profile ul li {
        list-style: none;
        display: inline-block;
        width: 170px;
        background-color: #e8e8e8;
        text-align: center;
        line-height: 55px;
        font-family: 'Kanit, sans-serif, tahoma';
        font-size: 21px;
        height: 50px;
        color: #333;
        border-right: 1px solid #ccc;
    }
    .tab-profile ul li:first-child {
        border-left: 1px solid #ccc;
    }
    .register-wrapper > .tab-profile ul {
        float: none;
        width: 514px;
        margin: 0 auto;
    }
    .register-wrapper > .tab-profile {
        margin: 0 -40px;
        background-color: #f1f1f1;
    }
    .tab-profile ul li {
        font-size: 20px;
    }
    .tab-profile ul li:last-child {
        border-right: 1px solid #ccc;
    }
}


/*Form for Password*/

.form-item > .input-group {
    display: inline-table;
    vertical-align: middle;
    width: 100%;
}

.input-group > .inputpass {
    display: table-cell;
    width: 100%;
    height: 48px;
    box-sizing: border-box;
    font-size: 15px;
    border: 1px solid #aaa8a7;
    padding: 0px 18px;
    border-radius: 3px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    outline: none;
    text-security: circle;
    -webkit-text-security: circle;
    -moz-text-security: circle;
}

.input-group > .inputpass.-see {
    text-security: initial;
    -webkit-text-security: initial;
    -moz-text-security: initial;
}

.inputpass::-webkit-inner-spin-button,
.inputpass::-webkit-outer-spin-button {
    -webkit-appearance: none;
    -moz-appearance: none;
    margin: 0;
}

.inputpass::placeholder {
    font-size: 14px;
    color: #ccc;
}

.input-group > .input-group-addon {
    display: table-cell;
    vertical-align: middle;
    width: 45px;
    padding: 10px;
    height: 48px;
    box-sizing: border-box;
    text-align: center;
    color: #808080;
    border: 1px solid #aaa8a7;
    border-left: none;
    border-radius: 3px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    cursor: pointer;
}


/*Form for checkbox*/

.form-item > .condcheckbox {
    display: inline-block;
    margin-right: 3px;
    vertical-align: middle;
}

.form-item > .checklabel {
    display: inline-block;
    font-size: 15px;
    vertical-align: middle;
    width: calc(100% - 40px);
}


/*active state*/

.form-item > .input:active,
.input:hover {
    border-color: #fab816;
}

.input-group > .inputpass:active,
.inputpass:hover {
    border-color: #fab816;
}


/*============Register Choice==============*/

.register-choice-box {
    margin: 0 0 45px;
}

.wrapper {
    width: 100%;
    position: relative;
    font-size: 0;
}

.register-choice {
    display: inline-block;
    vertical-align: top;
    position: relative;
    box-sizing: border-box;
    width: calc(50% - 5px);
    box-shadow: 0px 0px 10px 5px rgba(0, 0, 0, 0.025);
    cursor: pointer;
}

.register-choice > .fa {
    display: none;
}
.register-type-center{
    left: 50%;
    transform: translatex(-50%);
}
.register-choice.-active > .fa {
    display: block;
    position: absolute;
    left: -10px;
    top: -10px;
    color: limegreen;
    font-size: 40px;
    background-color: #fff;
    border-radius: 50%;
    height: 32px;
    line-height: 32px;
}

.wrapper > .register-choice:first-child {
    margin-right: 10px;
}

.register-choice > .box-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 5px 0;
    background-color: #fab816;
    text-align: center;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.register-choice.-active > .box-header {
    background-color: #e85e00;
}

.register-choice > .box-header .choicetitle {
    font-family: 'Kanit', tahoma, sans-serif;
    font-size: 20px;
    color: #fff;
    line-height: 24px;
}

.register-choice > .box-header .choicetitle .choice-index {
    display: block;
}

.register-choice > .box-body {
    height: 260px;
    padding: 20px 14px;
    border: 1px solid #d7d7d7;
    border-top: none;
    box-sizing: border-box;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.register-choice.-active > .box-body {
    border: 2px solid #e85e00;
    border-top: none;
}

.register-choice > .box-body .body-top {
    border-bottom: 1px solid #d5d5d5;
    padding: 0 0 20px;
}

.box-body > .body-top .list-row {
    margin: 0 0 6px;
    font-size: 0;
}

.box-body > .body-top .list-row:last-child {
    margin: 0;
}

.box-body > .body-top .list-row .fa {
    color: #a3d530;
    font-size: 12px;
    margin: 0 4px 0 0;
}
.box-body > .body-top .list-row .fa.fa-times {
    color: #ff3333;
}
.box-body > .body-top .list-row .text {
    font-size: 12px;
    font-family: tahoma, sans-serif;
    color: #333;
}

.register-choice > .box-body .body-bottom {
    padding: 15px 0 0;
}

.box-body > .body-bottom .priceline,
.box-body > .body-bottom .price-detail {
    margin: 0;
}

.box-body > .body-bottom .priceline {
    color: #3b3c3c;
    font-family: 'Kanit', tahoma, sans-serif;
    font-weight: 300;
    text-align: center;
    line-height: 20px;
}

.box-body > .body-bottom .priceline span:first-child {
    font-size: 36px;
}

.box-body > .body-bottom .priceline span.small {
    font-size: 22px;
}

.box-body > .body-bottom .price-detail {
    font-family: tahoma, sans-serif;
    font-size: 11px;
    color: #666;
    text-align: center;
}

.box-body > .body-bottom .price-detail .crosstext {
    color: #ff2222;
    text-decoration: line-through;
}

span.em-note {
    font-size: 13px;
    color: #666;
    font-family: tahoma;
}

@media screen and (max-width: 375px) {
.register-choice > .box-header .choicetitle {
        font-size: 18px;
    }
}
@media screen and (min-width: 320px) and (max-width: 374px) {
.register-choice > .box-header .choicetitle .choice-index {
        display: inline-block;
        padding-right: 10px;
    }
    .register-choice > .box-header {
        padding: 10px 0;
    }
    .register-choice {
        width: 100%;
    }
    .register-choice.-active:last-child {
        margin: 10px 0 0;
    }
    .wrapper > .register-choice:first-child {
        margin-right: 10px;
        margin-bottom: 10px;
    }
    .register-choice > .box-body {
        font-size: 0;
        width: 100%;
        height: 115px;
        position: relative;
        padding: 10px 0;
        display: table;
    }
    .register-choice > .box-body:before {
        content: '';
        width: 1px;
        height: 100%;
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(50%);
        background-color: #d7d7d7;
    }
    .register-choice > .box-body .body-top,
    .register-choice > .box-body .body-bottom {
        width: 50%;
        display: table-cell;
        vertical-align: middle;
        box-sizing: border-box;
    }
    .register-choice > .box-body .body-top {
        border-bottom: none;
        padding: 0 15px 0;
    }
    .register-choice > .box-body .body-bottom {
        padding: 0;
    }
    .box-body > .body-top .list-row .fa,
    .box-body > .body-top .list-row .text {
        display: inline-block;
        vertical-align: top;
    }
    .box-body > .body-top .list-row .fa {
        margin-top: 2px;
    }
    .box-body > .body-top .list-row .text {
        width: calc(100% - 16px);
    }
}

@media screen and (min-width: 1024px) {
    .register-choice-box {
        margin: 0 0 60px;
    }
    .wrapper {
        width: 525px;
        margin: 0 auto;
    }
    .register-choice {
        width: 250px;
    }
    .register-choice.-active > .fa {
        left: -15px;
        top: -15px;
    }
    .wrapper > .register-choice:first-child {
        margin-right: 20px;
    }
    .register-choice > .box-header {
        height: 70px;
    }
    .register-choice > .box-header .choicetitle {
        font-size: 24px;
        line-height: 30px;
        padding: 5px 0;
    }
    .register-choice > .box-body {
        height: 290px;
        padding: 20px 30px;
    }
    .register-choice > .box-body .body-top {
        padding: 0 0 25px 15px;
    }
    .register-choice > .box-body .body-bottom {
        padding: 25px 0 0;
    }
    .box-body > .body-top .list-row .fa {
        font-size: 14px;
    }
    .box-body > .body-top .list-row .text {
        font-size: 14px;
    }
    .box-body > .body-bottom .priceline span:first-child {
        font-size: 50px;
    }
    .box-body > .body-bottom .priceline span.small {
        font-size: 28px;
    }
    .box-body > .body-bottom .price-detail {
        font-size: 12px;
    }
}


/*Subject Items*/

.subj-item {
    display: block;
    position: relative;
    border-radius: 3px;
    background-color: #ffffff;
    padding: 25px 10px;
    width: 100%;
    margin: 20px 0 10px;
    box-sizing: border-box;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.03);
    border: 1px solid #e8e8e8;
}

.subj-item > .subject-box,
.subj-item > .tutor-box {
    display: inline-block;
    vertical-align: top;
    box-sizing: border-box;
}

.subj-item > .subject-box {
    width: 100%;
}

.subj-item > .tutor-box {
    width: 100%;
    border-top: 1px solid #e5e5e5;
    padding-top: 10px;
    margin-top: 10px;
}

.subj-item > .subject-box .bullet {
    margin-right: 10px;
    display: inline-block;
    vertical-align: top;
    font-size: 30px;
    color: #fab816;
    margin-top: -7px;
}

.subj-item > .subject-box .subj-detail {
    display: inline-block;
    vertical-align: middle;
    width: calc(100% - 50px);
}

.name {
    font-size: 18px;
    padding-bottom: 10px;
    display: block;
}

.namepart i {
    font-size: 7px;
    vertical-align: middle;
    color: #fab816;
    margin-right: 4px;
}

.subj-item.-buyexam > .subject-box .subj-detail .name,
.subj-item.-buyexam > .subject-box .bullet {
    vertical-align: middle;
}

.subj-item.-buyexam > .subject-box .subj-detail .name {
    max-height: 30px;
}

.subj-item > .subject-box .subj-detail .namepart {
    display: block;
}

.subj-item > .subject-box .subj-detail {
    display: inline-block;
    font-family: 'Kanit', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #000;
    line-height: 1.2em;
}

.subj-item > .subject-box .subj-detail .timetable {
    display: block;
    font-size: 13px;
    font-family: 'Tahoma', sans-serif;
    color: #666;
}

.subj-item > .tutor-box .thumb,
.subj-item > .tutor-box .detail-box {
    display: inline-block;
    vertical-align: middle;
}

.subj-item > .tutor-box .thumb > .tutor {
    width: 100%;
}

.subj-item > .tutor-box .thumb {
    width: 65px;
    height: 65px;
    border: 1px solid #cecece;
    border-radius: 50%;
    margin: 0 7px 0 10px;
    background-color: lavender;
    box-sizing: border-box;
    background-size: cover;
    background-position: center;
}

.subj-item > .tutor-box .detail-box {
    font-family: 'Tahoma', sans-serif;
    font-size: 13px;
    width: 115px;
}

.subj-item > .tutor-box .detail-box .text {
    display: block;
    color: #666;
}

.subj-item > .tutor-box .detail-box .tutorname {
    display: block;
    color: #000;
}

.daydetail {
    display: inline-block;
    font-family: 'Kanit', sans-serif;
    font-size: 16px;
}

@media screen and (width: 320px) {
    .subj-item > .subject-box .subj-detail .name {
        font-size: 15px;
    }
}

@media screen and (width: 375px) {
    .subj-item > .subject-box .subj-detail .name {
        font-size: 16px;
    }
}

.step-container > .title {
    margin: 0 0 15px;
    font-size: 38px;
    font-family: 'Kanit', tahoma, sans-serif;
    font-weight: 500;
    color: #fab816;
    text-align: center;
}

.step-container.-step1 > .title {
    margin: 0 0 10px;
    line-height: 1.2em;
}

.day-container {
    position: relative;
    box-sizing: border-box;
    margin: 0 0 20px;
}

.day-container > .sectiontitle {
    font-family: 'Kanit', tahoma, sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: normal;
    color: #000;
    text-align: center;
    margin: 0 0 10px;
}

.subject-selection > .subjecttitle {
    margin: 0 0 10px;
    font-family: 'Kanit', tahoma, sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #e85e00;
}


/*Location Items*/

.location-wrapper {
    font-size: 0;
    margin: 0 0 20px;
}

.location-item {
    display: inline-block;
    vertical-align: top;
    width: calc(50% - 5px);
    height: 75px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 3px;
    box-sizing: border-box;
    box-shadow: 0px 0px 5px 5px rgba(0, 0, 0, 0.025);
    cursor: pointer;
}

.location-item.-active {
    background-color: #fab816;
    border-color: #fab816;
}

.location-item.-disabled {
    background-color: #ececec;
    cursor: not-allowed;
    pointer-events: none;
}

.location-item:nth-child(odd) {
    margin-right: 10px;
    margin-bottom: 10px;
}

.location-item > .location-name {
    padding: 4px 0 2px;
    text-align: center;
}

.location-item.-active > .location-name .province,
.location-item.-active > .location-name .school {
    color: #fff;
}

.location-item > .location-name .province {
    display: block;
    font-family: 'Kanit', tahoma, sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: normal;
    color: #000;
}

.location-item > .location-name .school {
    display: block;
    font-size: 12px;
    font-family: tahoma, sans-serif;
    color: #666;
    line-height: normal;
    overflow: hidden;
}

.location-item > .location-seat {
    background-color: #ececec;
    height: 22px;
    line-height: 22px;
    text-align: center;
    box-sizing: border-box;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
}

.location-item.-active > .location-seat {
    line-height: 21px;
    background-color: #fab816;
    border-top: 1px solid #dca829;
}

.location-item > .location-seat .text {
    font-size: 12px;
    font-family: tahoma, sans-serif;
    color: #666;
}

.location-item > .location-seat .available {
    color: #70a806;
}

.location-item.-active > .location-seat .text,
.location-item.-active > .location-seat .available {
    color: #fff;
}

@media only screen and (min-width: 1024px) {
    .step-container > .title {
        font-size: 38px;
        margin: 50px 0 20px;
    }
    .step-container.-step1 > .title {
        margin: 30px 0 10px;
    }
    .day-container,
    .selection-detail {
        width: 100%;
        padding: 20px 40px 26px;
        background-color: #f1f1f1;
        border-radius: 5px;
    }
    .location-wrapper {
        margin: 0;
    }
    .location-item:nth-child(even),
    .location-item:nth-child(odd) {
        margin-right: 10px;
        margin-bottom: 14px;
    }
    .location-item {
        width: calc(25% - 7.5px);
        border: none;
        margin-right: 10px;
        margin-bottom: 14px;
        height: 103px;
    }
    .location-item.-disabled {
        background-color: #dddddd;
    }
    .location-item > .location-name {
        padding: 4px 0 6px;
    }
    .location-item:nth-child(4n),
    .location-item:last-child {
        margin-right: 0;
    }
    .location-item > .location-name .province {
        font-size: 22px;
    }
    .location-item > .location-name .school {
        font-size: 14px;
    }
    .location-item > .location-seat {
        height: 27px;
        border-top: 1px solid #e9e9e9;
        background-color: transparent;
        border-bottom-left-radius: 3px;
        border-bottom-right-radius: 3px;
    }
    .location-item > .location-seat .text {
        font-size: 13px;
    }
}


/*Selection Detail*/

.step-location-wrapper > .selection-detail {
    position: relative;
    width: 100%;
    float: left;
}

.selection-detail > .detail-wrapper {
    position: relative;
}

.selection-detail > .detail-wrapper:after {
    content: "";
    display: table;
    clear: both;
}

.selection-detail > .title {
    margin: 0 0 25px;
    font-size: 20px;
    font-family: 'Kanit', tahoma, sans-serif;
    font-weight: 400;
    text-align: center;
}

.detail-wrapper > .day-detail {
    width: 100%;
    box-sizing: border-box;
    margin: 0 0 25px;
}

.selection-detail > .location-line {
    margin: 0 auto 10px;
    width: 100%;
}

.selection-detail .location-line > .daytitle {
    font-size: 16px;
    font-family: 'Kanit', tahoma, sans-serif;
    font-weight: 400;
    text-align: left;
    color: #010101;
    width: 70px;
    display: inline-block;
}

.selection-detail .location-line > .school {
    font-size: 16px;
    font-family: 'Kanit', tahoma, sans-serif;
    color: #666;
    line-height: 1.15;
    padding: 0 0 2px;
    border-bottom: 1px solid #ccc;
    width: calc(100% - 90px);
    display: inline-block;
}


/*=============================*/

@media only screen and (min-width: 1024px) {
    .day-wrapper > .school-wrapper {
        padding: 0 30px;
    }
    .step-location-wrapper > .selection-detail {
        margin-top: 40px;
        padding: 40px;
        box-sizing: border-box;
    }
    .selection-detail > .detail-wrapper:before {
        content: "";
        display: none;
        width: 1px;
        height: 100%;
        top: 0;
        left: 50%;
        position: absolute;
        background-color: #e2e2e2;
    }
    .selection-detail > .title {
        margin: 0;
        font-size: 20px;
        margin-bottom: 20px;
    }
    .selection-detail .location-line {
        margin: 0 auto;
    }
    .selection-detail .location-line > .daytitle {
        margin: 5px 0;
    }
}

.step-container > .step-info-container {
    position: relative;
}

.step-info-container > .input-wrapper {
    margin-bottom: 40px;
}

.step-info-container > .button-wrapper {
    width: 100%;
    margin: 0 auto;
    text-align: center;
    font-size: 0;
}

.step-info-container > .input-wrapper .sectiontitle {
    font-family: 'Kanit', tahoma, sans-serif;
    font-size: 20px;
    color: #333;
    text-align: center;
    margin: 30px 0 20px;
}

.step-info-container .input-wrapper .input-group {
    position: relative;
    margin-bottom: 15px;
}

.step-info-container .input-wrapper .input-group > .label {
    display: block;
    margin: 0 0 7px;
    font-size: 14px;
    font-family: Tahoma, Arial, Helvetica, san sarif;
    font-weight: bold;
}

.step-info-container .input-wrapper .input-group > .label .note {
    font-size: 12px;
    font-weight: normal;
}

.step-info-container .input-wrapper .input-group > .step3input {
    display: block;
    width: 100%;
    height: 40px;
    padding: 12px 13px;
    box-sizing: border-box;
    border: 1px solid #bbb;
    border-radius: 3px;
    font-size: 14px;
    line-height: 1em;
    color: #333;
    outline: none;
    -webkit-appearance: textfield;
}

.step-info-container .input-wrapper .input-group.-error > .step3input,
.input-group.-error .select2-container--default .select2-selection--single {
    border-color: #ed1c24;
}

.step-info-container .input-wrapper .input-group > .step3input[type="number"]::-webkit-outer-spin-button,
.step-info-container .input-wrapper .input-group > .step3input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.step-info-container .input-wrapper .input-group > .step3input:disabled {
    color: #666;
    background-color: #f3f3f3;
    cursor: not-allowed;
}

.step-info-container .input-wrapper .input-group.-error > .step3input .step-info-container .input-wrapper .input-group.-error > .select2-container {
    border: 1px solid red;
}

.step-info-container .input-wrapper .input-group > .step3input:focus {
    border: 1px solid #f37a01;
}

.step-info-container .input-wrapper .input-group > .remark {
    margin: 5px 0 0;
    font-size: 12px;
    color: #666;
}


/*Radio Button*/

.radio-group {
    display: block;
    font-size: 14px;
    color: #333;
    font-family: 'Tahoma', sans-serif;
    position: relative;
    margin: 0 auto 10px;
    width: 270px;
}

.radio-group .radioinput {
    cursor: pointer;
    visibility: hidden;
    position: absolute;
    left: 0;
    top: 0;
}

.radio-group label {
    position: relative;
    min-height: 20px;
    display: block;
}

.radio-group label span.radiolabel {
    display: inline-block;
    vertical-align: middle;
    margin-left: 10px;
    width: calc(100% - 30px);
    vertical-align: top;
}

.radio-group label:before {
    content: '';
    width: 20px;
    height: 20px;
    border: 1px solid #a9a9a9;
    border-radius: 50%;
    display: inline-block;
    vertical-align: middle;
    box-sizing: border-box;
}

.radio-group label:after {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: none;
    content: '';
}

.radio-group .radioinput:checked ~ label:after {
    border-radius: 50%;
    display: block;
    position: absolute;
    background-color: #f47400;
    top: 3px;
    left: 3px;
}

.input-wrapper > .goal-form-wrapper .exam-wrapper {
    width: 100%;
}

@media only screen and (min-width: 1024px) {
    .radio-group {
        width: 350px;
    }
}


/*=============================*/


/*Add Subject: Select Disable*/

.step-info-container .select2-container--default.select2-container--disabled .select2-selection--single {
    background-color: #f3f3f3;
    cursor: not-allowed;
}

.step-info-container .select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__rendered {
    color: #666;
}


/*=============================*/

.select2-container,
.select2-container .select2-selection--single {
    height: 40px;
}

.select2-container--default .select2-selection--single {
    border-radius: 3px;
    border: 1px solid #c0c0c0;
    outline: none;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    font-size: 14px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #333;
    line-height: 38px;
    padding-left: 10px;
    text-align: left;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border: none;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b:before {
    width: auto;
    height: auto;
    position: absolute;
    right: 0;
    top: -2px;
    content: "\f107";
    font-size: 18px;
    font-family: FontAwesome;
    color: #9b9b9b;
}

#select2-school_degree-results .select2-results__option,
#select2-pname-results .select2-results__option,
#select2-home_province-results .select2-results__option,
#select2-home_district-results .select2-results__option,
#select2-faculty_wish-results .select2-results__option,
#select2-university1-results .select2-results__option,
#select2-university2-results .select2-results__option {
    font-size: 14px;
    padding: 10px;
    border-bottom: 1px solid #eee;
    line-height: 1.2em;
    height: auto;
}

#select2-faculty_wish-container {
    width: 220px;
}

.select2-results__option:last-child {
    border-bottom: none;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #cacaca;
    color: #333;
}


/*=============================*/


/*Select Subject Disabled State*/

.select2-container--default.select2-container--disabled .select2-selection--single {
    background-color: #d9d9d9;
    cursor: not-allowed;
}

.select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__rendered {
    color: #666;
}


/*=============================*/

@media only screen and (min-width: 1024px) {
    .step-info-container > .input-wrapper {
        width: 690px;
        margin: 0 auto 40px;
    }
    .step-info-container > .button-wrapper {
        width: 500px;
        margin: 0 auto;
    }
    .step-info-container > .input-wrapper .goal-form-wrapper {
        margin-top: 60px;
    }
    .step-info-wrapper > .goal-form-wrapper .exam-wrapper {
        width: 480px;
        margin: 0 auto;
    }
    .step-info-container > .input-wrapper .sectiontitle {
        margin: 32px 0 15px;
    }
    .step-info-container > .input-wrapper .sectiontitle._margin-top {
        margin-top: 50px;
    }
    .step-info-container > .input-wrapper .input-group {
        position: relative;
        margin-bottom: 15px;
        font-size: 0;
    }
    .step-info-container .input-wrapper .input-group > .label {
        width: 220px;
        display: inline-block;
        text-align: right;
    }
    .step-info-container .input-wrapper .input-group > .label.-select {
        padding: 10px 0 0;
        vertical-align: middle;
    }
    .step-info-container .input-wrapper .input-group > .label.-select {
        padding: 13px 0 0;
        vertical-align: top;
    }
    .step-info-container .input-wrapper .input-group > .step3input {
        width: 240px;
        display: inline-block;
        font-size: 14px;
        margin-left: 12px;
    }
    .step-info-container .input-wrapper .input-group > .remark {
        width: 240px;
        margin-left: 230px;
    }
    .input-group .select2-container {
        width: 240px !important;
        margin-left: 12px;
        height: 40px;
    }
    .input-group .select2-container .select2-selection--single {
        width: 240px !important;
        height: 40px;
    }
    .input-group .select2-container--default .select2-selection--single .select2-selection__rendered {
        padding: 0 12px;
        width: 240px;
        line-height: 40px;
        font-size: 14px;
        box-sizing: border-box;
    }
    .input-group .select2-container--default .select2-selection--single .select2-selection__arrow b:before {
        right: 0;
        top: 0;
        font-size: 14px;
    }
    .input-group .select2-container--open .select2-dropdown {
        left: 6px;
    }
    .input-group .select2-results__option {
        font-size: 14px;
    }
    ul#select2-prefixname-results li,
    ul#select2-grade-results li,
    ul#select2-province-results li,
    ul#select2-district-results li,
    ul#select2-faculty-results li {
        font-size: 14px;
    }
}

.step2-info-container {
    display: none;
}

.step2-info-container > .step2-info-wrapper {
    padding: 0 0 20px;
}

.step2-info-wrapper > .subtitle {
    margin: 20px 0 15px;
    font-size: 21px;
    font-family: sukhumvitlight, sans-serif;
    font-weight: 400;
    color: #f37a01;
    text-align: center;
}

.step2-info-container > .button-wrapper {
    width: 100%;
    margin: 0 auto;
    text-align: center;
    font-size: 0;
}

.step2-info-container > .exam-wrapper {
    width: 100%;
    margin: 0 auto;
}

.step2-info-container > .sectiontitle {
    font-family: 'Kanit', tahoma, sans-serif;
    font-size: 20px;
    color: #333;
    text-align: center;
    margin: 30px 0 20px;
}

.step2-info-wrapper > .confirminfo-wrapper {
    padding: 0 15px;
}

.confirminfo-wrapper > .sectiontitle {
    font-family: 'Kanit', tahoma, sans-serif;
    font-size: 20px;
    color: #333;
    text-align: center;
    margin: 30px 0 20px;
}

.confirminfo-wrapper > .info-line {
    margin: 0 0 20px;
    font-size: 0;
}

.confirminfo-wrapper > .info-line:nth-last-child(2) {
    margin: 0 0 10px;
}

.confirminfo-wrapper > .preadbtn.-xs {
    margin-left: calc(50% + 10px);
}

.confirminfo-wrapper .info-line > .title {
    display: inline-block;
    width: 50%;
    padding-right: 10px;
    box-sizing: border-box;
    font-size: 14px;
    font-weight: bold;
    text-align: right;
    vertical-align: bottom;
}

.confirminfo-wrapper .info-line > .info {
    display: inline-block;
    width: calc(50% - 10px);
    margin-left: 10px;
    box-sizing: border-box;
    font-size: 14px;
    text-align: left;
    padding-bottom: 3px;
    border-bottom: 1px solid #dadada;
    color: #666;
    vertical-align: bottom;
}


/*information test selected*/

.step2-info-container > .infotest-wrapper {
    padding: 20px 0 0;
}

.infotest-wrapper .selection-detail > .title {
    color: #333;
}

.infotest-wrapper .day-detail > .school {
    color: #666;
}

@media only screen and (min-width: 1024px) {
    .step2-info-container > .step3-2-wrapper {
        border-bottom: 1px solid #ccc;
        padding: 0 60px 30px;
        /*margin: 0 60px 0;*/
    }
    .step2-info-wrapper > .subtitle {
        margin: 35px 0 25px;
        font-size: 28px;
    }
    .step2-info-container > .exam-wrapper {
        width: 480px;
        margin: 0 auto 50px;
    }
    .step2-info-container > .sectiontitle {
        margin: 32px 0 15px;
    }
    .step2-info-container > .button-wrapper {
        width: 500px;
        margin: 0 auto;
    }
    .step2-info-wrapper > .confirminfo-wrapper {
        width: 700px;
        margin: 0 auto;
        padding: 0;
    }
    .confirminfo-wrapper > .sectiontitle {
        margin: 60px 0 20px;
    }
    .confirminfo-wrapper > .info-line {
        margin: 0 0 25px;
    }
    .confirminfo-wrapper > .preadbtn.-xs {
        margin-left: calc(50% + 15px);
    }
    .confirminfo-wrapper .info-line > .title {
        padding-right: 15px;
        font-size: 16px;
    }
    .confirminfo-wrapper .info-line > .info {
        width: calc(50% - 95px);
        margin-left: 15px;
        font-size: 16px;
    }
    /*information test selected*/
    .step2-info-container > .infotest-wrapper {
        padding: 35px 60px 40px;
    }
    .infotest-wrapper .subject-selection > .subj-select {
        background-color: #eee;
    }
}


/*Choose Payment*/

.step-payment-container > .step-payment-wrapper:first-child {
    margin-bottom: 20px;
}

.step-payment-container .step-payment-wrapper > .subtitle {
    margin: 20px 0 15px;
    font-family: 'Kanit', tahoma, sans-serif;
    font-size: 20px;
    color: #333;
    text-align: center;
}


/*Payment Choice*/

.payment-choice-wrapper {
    display: flex;
    flex-direction: column;
}

.payment-choice-wrapper > .payment-choice {
    flex: 1;
    width: 100%;
    margin: 0 0 10px;
    box-sizing: border-box;
    cursor: pointer;
    display: block;
}

.payment-choice-wrapper > .payment-choice.active {
    display: inline-block;
}

.newbadge {
    display: inline-block;
    font-size: 10px;
    font-weight: bold;
    color: #fff;
    line-height: 16px;
    background-color: #F23535;
    border-radius: 7px;
    padding: 0 3px;
    position: relative;
    top: -6px;
    right: 2px;
}

.checkbox {
    position: absolute;
    opacity: 0;
}

.checkbox + label {
    position: relative;
    display: block;
    cursor: pointer;
    padding: 0;
    font-size: 0;
}

.checkbox + label:before {
    content: " ";
    display: inline-block;
    width: 25px;
    height: 25px;
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: inset 0 3px 3px rgba(0, 0, 0, 0.2);
    outline: none;
    cursor: pointer;
    vertical-align: middle;
}

.checkbox:checked + label:before {
    background: #fff;
    box-shadow: none;
}

.checkbox:checked + label:after {
    font-family: FontAwesome;
    font-size: 20px;
    line-height: 27px;
    content: "\f00c";
    color: #f37a01;
    text-align: center;
    position: absolute;
    left: 3px;
    top: 2px;
}

.payment-choice > .payment-checkbox {
    display: flex;
    flex-direction: row;
    height: 53px;
    padding: 10px 15px 10px 20px;
    box-sizing: border-box;
    background-color: #eee;
    border-radius: 5px;
}

.payment-choice.active .payment-desc-box {
    display: block;
}

.payment-choice.active .payment-checkbox {
    border-radius: 0;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.payment-choice .badge {
    font-size: 12px;
    font-family: tahoma;
    color: #fff;
    background: #ff3333;
    padding: 0 5px 1px;
    border-radius: 20px;
    margin-left: 5px;
}

.payment-choice .txt-red {
    color: #ff3333;
}

.payment-checkbox > .checkbox + label:before {
    flex-basis: 0;
    width: 30px;
    height: 30px;
    vertical-align: middle;
    background-color: #fff;
}

.payment-checkbox > .checkbox:checked + label:after {
    flex-basis: 0;
    font-size: 26px;
    left: 2px;
    top: 2px;
}

.payment-checkbox > .label-text {
    flex-basis: 100%;
    margin: 0 0 0 15px;
    vertical-align: middle;
}

.payment-checkbox > .label-text .text {
    display: block;
    line-height: 22px;
    font-size: 17px;
    font-family: sukhumvitlight, sans-serif;
    color: #000;
}

.payment-checkbox > .label-text .btn-collapse {
    cursor: pointer;
    display: block;
    font-size: 12px;
    line-height: 16px;
    color: #666666;
    margin-top: -4px;
}

.payment-checkbox > .logo {
    flex-basis: 0;
}

.payment-choice > .payment-desc-box {
    padding: 15px;
    box-sizing: border-box;
    background-color: #e4e4e4;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    display: none;
}

.payment-desc-box > .logo-wrapper {
    text-align: center;
}

.payment-desc-box .payment-desc > .limittime {
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: bold;
    color: #000;
    text-align: center;
}

.payment-desc-box .payment-desc > .desc-list {
    margin: 0;
    font-size: 12px;
    color: #333;
    line-height: 1.2em;
}

.payment-desc-box .payment-desc > .desc-list li {
    margin-bottom: 5px;
    position: relative;
    padding-left: 10px;
}

.payment-desc-box .payment-desc > .desc-list li:before {
    content: "•";
    color: #949494;
    position: absolute;
    left: 0;
}


/*Email Form*/

.step4-wrapper > .email-group {
    margin: 0 0 25px;
}

.step4-wrapper > .email-group:nth-child(4) {
    margin: 0 0 15px;
}

.email-group > .emaillabel {
    display: block;
    width: 100%;
    margin: 0 0 5px;
    font-size: 14px;
    font-weight: bold;
    line-height: 1.2em;
}

.email-group > .email {
    width: 100%;
    padding: 12px 15px;
    box-sizing: border-box;
    border: 1px solid #ababab;
    border-radius: 3px;
    font-size: 14px;
    line-height: 1.2em;
    outline: none;
}

.email-group > .email:focus {
    border-color: #f37a01;
}

.email-group > .email.-error {
    border-color: #ed1c24;
}

.email-group > .email::placeholder {
    color: #bbb;
}

.step-payment-wrapper > .remark {
    width: 240px;
    margin: 0 auto 50px;
    font-size: 12px;
    text-align: center;
}

.step-payment-container .price-wrapper > .price-line.-total {
    border-bottom: 1px solid #f47400;
    margin: 7px 0;
    font-size: 22px;
}

.step-payment-container .price-wrapper > .divider {
    margin-top: 0;
}


/*Button Wrapper*/

.step-payment-container .button-wrapper > .preadbtn {
    margin: 0 auto 10px;
}

.step-payment-container .button-wrapper > .preadbtn.-gray,
.step-payment-container .button-wrapper > .preadbtn.btn-register {
    width: 202px;
}

@media only screen and (min-width: 1024px) {
    .step-container > .step-payment-container {
        padding: 0 60px;
    }
    .step-payment-container > .step-payment-wrapper,
    .step-payment-container > .step-payment-wrapper:first-child {
        margin-bottom: 50px;
    }
    .step-payment-container .step-payment-wrapper > .subtitle {
        margin: 30px 0 20px;
        font-size: 26px;
        font-family: sukhumvitreg, sans-serif;
    }
    /*Button Wrapper*/
    .step-payment-container > .button-wrapper {
        margin: 50px auto 30px;
        font-size: 0;
        text-align: center;
    }
    .step-payment-container .button-wrapper > .preadbtn {
        float: right;
        margin: 0 15px 0;
    }
    .step-payment-container .button-wrapper > .preadbtn.-gray,
    .step-paymentcontainer .button-wrapper > .preadbtn.btn-register {
        width: 215px;
    }
    /*Payment Choice*/
    .step-payment-wrapper > .payment-choice-wrapper {
        font-size: 0;
        display: flex;
        flex-direction: row;
    }
    .payment-choice-wrapper > .payment-choice {
        display: inline-block;
        vertical-align: top;
        flex: 1;
        flex-basis: auto;
        margin: 0 7.5px;
        display: inline-block;
    }
    /*Checkbox Style*/
    .checkbox + label:before {
        width: 30px;
        height: 30px;
    }
    .checkbox:checked + label:after {
        font-size: 26px;
        /*24px*/
        left: 2px;
        /*3px*/
        top: 2px;
        /*initial*/
    }
    .payment-choice-wrapper.-three-columns > .payment-choice {
        width: 286px;
    }
    .payment-choice-wrapper.-three-columns > .payment-choice > .payment-desc-box {
        height: 230px;
    }
    .payment-choice-wrapper > .payment-choice:first-child {
        margin-left: 0;
    }
    .payment-choice-wrapper > .payment-choice:last-child {
        margin-right: 0;
    }
    .payment-choice-wrapper > .payment-choice:only-child {
        width: 444px;
        margin: 0 auto;
        flex: none;
    }
    .payment-choice-wrapper .payment-choice:only-child .payment-checkbox .text {
        display: inline;
        margin: 0 0 0 15px;
        vertical-align: middle;
        line-height: 33px;
        font-size: 21px;
        font-family: sukhumvitlight, sans-serif;
        color: #000;
        text-align: center;
    }
    .payment-choice > .payment-checkbox {
        border-radius: 0;
        border-top-left-radius: 5px;
        border-top-right-radius: 5px;
    }
    .payment-checkbox > .label-text .btn-collapse {
        pointer-events: none;
    }
    .payment-checkbox > .label-text .btn-collapse .fa {
        display: none;
    }
    .payment-choice > .payment-desc-box {
        height: 140px;
        display: block;
    }
    .payment-desc-box .payment-desc > .limittime {
        font-size: 18px;
    }
    .payment-desc-box .payment-desc > .desc {
        font-size: 13px;
        line-height: 1.3em;
    }
    /*Email Form*/
    .step-payment-wrapper > .email-group {
        margin: 0 0 10px;
        font-size: 0;
    }
    .email-group > .emaillabel {
        display: inline-block;
        width: 45%;
        padding: 0 15px 0 0;
        box-sizing: border-box;
        font-size: 16px;
        text-align: right;
        vertical-align: middle;
    }
    .email-group > .email {
        display: inline-block;
        width: 270px;
        vertical-align: middle;
    }
    .step-payment-wrapper > .email-group:nth-child(4) {
        margin: 0 0 35px;
    }
    .step-payment-wrapper > .remark {
        width: 100%;
        margin: 0 auto 50px;
        font-size: 14px;
        text-align: center;
    }
    /*Price Wrapper*/
    .step-payment-container > .price-wrapper {
        padding: 0 15px;
    }
    .step-payment-container .price-wrapper > .price-line.-total {
        margin-top: 20px;
        padding: 20px 0;
        font-size: 30px;
        color: #f47400;
    }
    .step-payment-container .price-wrapper > .divider {
        margin-top: 20px;
    }
}


/*Price Section*/

.price-wrapper {
    margin: 40px 0;
    font-family: 'Kanit', tahoma, sans-serif;
    font-weight: 300;
}

.step1-container .price-wrapper {
    margin: 20px 0;
}

.price-wrapper > .divider {
    width: 100%;
    height: 1px;
    background-color: #f47400;
}

.price-wrapper > .price-line {
    margin: 0 0 10px;
    font-size: 18px;
    color: #333;
}

.price-wrapper > .price-line:after {
    content: " ";
    display: table;
    clear: both;
}

.price-line .amount {
    float: right;
}

.price-wrapper > .price-line.-total {
    padding: 15px 0 20px;
    font-size: 22px;
    color: #f47400;
    border: 1px solid #f47400;
    border-bottom: none;
    border-left: none;
    border-right: none;
}

.form-group .inputtext {
    width: 100%;
    height: 40px;
    border: 1px solid #CCCCCC;
    border-radius: 3px;
    padding: 15px;
    box-sizing: border-box;
    -webkit-appearance: none;
    font-family: "KalatexaText", sans-serif;
    font-size: 16px;
    color: #666666;
    background-color: #FFFFFF;
    outline: none;
}

/*Coupon Line*/

.form-group.-coupon > .inputbtn {
    position: relative;
    box-sizing: border-box;
    box-shadow: none;
    outline: none;
    border: none;
    padding: 0;
    cursor: pointer;
    text-decoration: none;
    border-radius: 3px;
    font-family: "KalatexaDisplay", sans-serif;
}

.form-group.-coupon {
    width: 100%;
    position: relative;
    font-size: 0;
    margin: 0 0 20px;
}

.form-group.-coupon > .inputtext {
    width: calc(100% - 108px);
    display: inline-block;
    vertical-align: bottom;
    border-right-color: #333333;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.form-group.-coupon > .inputbtn {
    width: 108px;
    height: 40px;
    display: inline-block;
    vertical-align: bottom;
    background-color: #333333;
    font-size: 18px;
    text-align: center;
    color: #FFFFFF;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}


@media only screen and (width: 320px) {
    .price-wrapper > .price-line {
        font-size: 16px;
    }
}

@media only screen and (min-width: 1024px) {
    .price-wrapper,
    .step1-container .price-wrapper {
        margin: 50px auto 0;
        padding: 0 40px;
    }
    .price-wrapper > .price-line {
        font-size: 24px;
    }
    .price-wrapper > .divider {
        margin-top: 20px;
    }
    .price-wrapper > .price-line.-total {
        margin-bottom: 35px;
        font-size: 32px;
    }
    /*Coupon Line*/
    .form-group.-coupon {
        width: 360px;
    }
    .form-group.-coupon > .inputtext {
        width: calc(100% - 115px);
    }
    .form-group.-coupon > .inputbtn {
        width: 115px;
    }
}

.tab-wrapper {
    position: relative;
}

.tab-list {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0;
    display: flex;
}

.tab-list > .tab-item {
    position: relative;
    display: inline-block;
    flex: 1;
    height: 89px;
    padding: 12px 0 0;
    box-sizing: border-box;
    background-color: #e7e7e7;
}

.tab-list > .tab-item:after {
    position: absolute;
    bottom: -6px;
    display: block;
    content: " ";
    width: 100%;
    height: 6px;
    background-color: #cbcbcb;
}

.tab-item > .tabname {
    display: block;
    font-size: 14px;
    /*16px in 480*/
    font-family: sukhumvitlight, sans-serif;
    color: #333;
    text-align: center;
}

.tab-item > .tabname.-show-only-sm {
    display: none;
}


/*Tab Icon*/

.tab-item > .icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 8px;
}


/*.tab-item > .icon.-step1 {
	background: url('../images/icon-timeline-1.png');
	background-position: top;
	background-size: cover;
}*/

.tab-item > .icon.-step1 {
    background: url("../images/icon-timeline-2.png");
    background-position: top;
    background-size: cover;
}

.tab-item > .icon.-step2 {
    background: url("../images/icon-timeline-3.png");
    background-position: top;
    background-size: cover;
}

.tab-item > .icon.-step3 {
    background: url("../images/icon-timeline-4.png");
    background-position: top;
    background-size: cover;
}


/*Tab Icon: Active*/

.tab-item.-active {
    background-color: #fff;
}

.tab-item.-active:after {
    background-color: #fab816;
}

.tab-item.-active > .icon.-step1,
.tab-item.-active > .icon.-step2,
.tab-item.-active > .icon.-step3,
.tab-item.-active > .icon.-step4 {
    background-position: center;
}

.tab-item.-success:after {
    background-color: #fab816;
}

.tab-item.-success > .icon.-step1,
.tab-item.-success > .icon.-step2,
.tab-item.-success > .icon.-step3,
.tab-item.-success > .icon.-step4 {
    background-position: bottom;
}

@media only screen and (max-width: 320px) {
    .tab-list > .tab-item {
        position: relative;
        display: inline-block;
        width: 25%;
        height: 75px;
        padding: 8px 0 7px;
        box-sizing: border-box;
        background-color: #e7e7e7;
    }
    .tab-item.-active {
        background-color: #fff;
    }
    .tab-item > .tabname {
        font-size: 14px;
        height: 30px;
        line-height: 0.9em;
        padding-top: 4px;
        overflow: hidden;
    }
    .tab-item > .tabname.-show-only-sm {
        display: block;
    }
    .tab-item:last-child > .tabname.-show-only-sm {
        line-height: 22px;
    }
    .tab-item > .tabname {
        display: none;
    }
    /*Tab Icon*/
    .tab-item > .icon {
        width: 34px;
        height: 34px;
        margin: 0 auto 4px;
    }
}

@media only screen and (min-width: 414px) and (max-width: 480px) {
    .tab-item > .tabname {
        font-size: 16px;
    }
}

@media only screen and (min-width: 1024px) {
    .tab-list > .tab-item {
        height: 100px;
    }
    .tab-item > .tabname {
        font-family: sukhumvitreg, sans-serif;
        font-size: 17px;
    }
    .tab-item > .icon {
        width: 56px;
        height: 56px;
    }
}


/*Pre-Onet Buttons*/

.preonetbtn {
    display: block;
    width: auto;
    min-width: 150px;
    height: 54px;
    padding: 8px 22px 13px;
    margin: 0 auto;
    background-color: #fab816;
    font-family: 'Kanit', tahoma, sans-serif;
    font-size: 22px;
    font-weight: 200;
    color: #fff;
    line-height: 40px;
    text-decoration: none;
    box-sizing: border-box;
    border: none;
    border-radius: 3px;
    outline: none;
    cursor: pointer;
}

.preonetbtn.-sm {
    font-size: 16px;
    min-width: 80px;
    padding: 0 10px;
    height: 38px;
    line-height: 28px;
    font-weight: 300;
}

.preonetbtn > .txt-btn-normal {
    display: block;
}

.preonetbtn > .txt-btn-loading {
    display: none;
}

.preonetbtn.loading > .txt-btn-loading {
    display: block;
}

.preonetbtn.loading > .txt-btn-normal {
    display: none;
}

.preonetbtn.-gray {
    background-color: #ccc;
}

.preonetbtn._inline {
    display: inline-block;
    margin-right: 10px;
    vertical-align: middle;
}

.preonetbtn._inline:last-child {
    margin-right: 0;
}

.preonetbtn.-logout {
    background-color: #3a3b3c;
    height: 30px;
    width: 109px;
    font-size: 0;
    line-height: 30px;
    color: #fff;
    padding: 0 5px;
    border: 1px solid #bbb;
}

.preonetbtn.-logout .fa {
    display: inline-block;
    font-size: 14px;
    margin-right: 3px;
}

.preonetbtn.-logout span {
    display: inline-block;
    font-size: 14px;
    font-weight: 300;
}

.preonetbtn.loading > .txt-btn-loading {
    display: block;
    font-size: 18px;
}

.preonetbtn:not(.loading) > .txt-btn-loading {
    display: none;
}

@media only screen and (width: 320px) {
    .preonetbtn._inline {
        font-size: 20px;
        min-width: 140px;
        padding: 8px 15px 13px;
    }
    .preonetbtn.-sm {
        font-size: 16px;
        min-width: 80px;
        padding: 0 10px;
    }
}

@media only screen and (min-width: 1024px) {
    .preonetbtn {
        min-width: 190px;
        height: 54px;
        font-size: 26px;
        line-height: 40px;
    }
    .preonetbtn.-logout {
        min-width: initial;
        width: 118px;
        font-family: 'Tahoma', sans-serif;
        line-height: 28px;
    }
    .preonetbtn > .txt-btn-loading {
        font-size: 24px;
    }
}

#timeout {
    display: none;
}

#timeout.active {
    display: block;
}

.stopwatch {
    position: fixed;
    top: 40%;
    right: 0;
    display: block;
    height: 35px;
    width: 93px;
    padding: 10px;
    box-sizing: border-box;
    font-size: 24px;
    line-height: 12px;
    text-align: center;
    color: #ed1c24;
    border-radius: 3px;
    border: 1px solid #979797;
    background-color: #fff;
    z-index: 9;
}

@media only screen and (min-width: 1024px) {
    .stopwatch {
        width: 128px;
        height: 50px;
        padding: 15px 20px;
        right: 8%;
        font-size: 32px;
        line-height: 18px;
    }
}

._text-green {
    color: #70a806 !important;
}

._text-red {
    color: #ff0000 !important;
}

.remark-box {
    margin: 15px auto;
    width: 100%;
    font-size: 13px;
    color: #333;
    text-align: center;
}

.remark-box._no-topspace {
    margin-top: -10px;
}

.remark-box > .remarktitle {
    font-weight: bold;
    margin: 0 0 5px;
}

.remark-box > .remark {
    margin: 0 0 5px;
    line-height: normal;
}

.linkcompare {
    display: block;
    text-align: center;
    text-decoration: none;
    padding: 15px;
    color: #e85e07;
    font-size: 14px;
    text-decoration: underline;
    font-family: 'Kanit', tahoma, sans-serif;
    font-weight: 500;
    cursor: pointer;
}

._hidden-mobile {
    display: none;
}

@media only screen and (min-width: 1024px) {
    ._hidden-mobile {
        display: block;
    }
}


/* ตารางเปรียบเทียบ */


/*ซ้ำกับ home*/

body._fixscreen {
    width: 100%;
    overflow: hidden;
}

.compare-wrap {
    background: rgba(29, 32, 36, 0.9);
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 100;
    overflow-y: auto;
    padding-top: 5%;
    display: none;
}

.compare-popup {
    max-width: 940px;
    margin: 0 auto;
    text-align: center;
    background: #fff;
    border-radius: 5px;
    padding: 30px 50px 50px;
    box-sizing: border-box;
    position: relative;
}

.compare-popup h1 {
    font-family: 'Kanit', sans-serif;
    font-weight: 300;
    font-size: 38px;
}

.compare-table td:nth-child(2),
.compare-table td:nth-child(3) {
    text-align: center;
    color: #e85e00;
    width: 28%;
}

.compare-table th {
    font-family: 'Kanit', sans-serif;
    font-size: 20px;
    color: #fff;
    font-weight: normal;
    padding: 14px 8px;
}

.compare-table p {
    display: inline-block;
    vertical-align: text-top;
    width: 92%;
    line-height: 1.4em;
}

.compare-table {
    width: 100%;
    border-radius: 5px;
    border: 1px solid #cccccc;
    overflow: hidden;
}

.compare-rec {
    padding-left: 126px;
    margin-bottom: -5px;
    z-index: 1;
    position: relative;
}

.compare-table i.fa.fa-star {
    color: #d5d7da;
    margin-right: 10px;
    display: inline-block;
}

.compare-table td {
    padding: 10px;
    color: #3a3b3c;
    border-top: 1px solid rgba(204, 204, 204, 0.5);
    text-align: left;
}

.compare-table i.fa.fa-check {
    font-size: 20px;
}

.compare-table h2 {
    font-size: 30px;
    font-family: 'Kanit', sans-serif;
    color: #1a1a1a;
}

.compare-table h2 span {
    font-size: 20px;
}

.compare-table p.price {
    font-size: 12px;
    color: #666;
    line-height: 1.3em;
}

.compare-table p span {
    color: #ff3333;
    text-decoration: line-through;
}

.compare-table td:nth-child(2) {
    background: #f0f3f7;
}

.compare-table td:nth-child(3) {
    background: #e5eaf1;
}

a.btn-close {
    padding: 9px;
    background: #fab815;
    font-size: 29px;
    color: #fff;
    cursor: pointer;
    position: absolute;
    right: -25px;
    top: -25px;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    box-sizing: border-box;
    z-index: 1;
}

.rec-box {
    font-size: 14px;
    color: #fff;
    background: red;
    padding: 3px 11px;
    border-radius: 3px;
    width: 60px;
    margin: 0 auto;
}

.popup-wrap {
    max-width: 940px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.compare-note {
    padding-top: 20px;
    text-align: left;
}

.compare-note h3 {
    font-family: 'Kanit', sans-serif;
    font-size: 18px;
    color: #ff3333;
}

.compare-note li {
    list-style: none;
    font-size: 14px;
    line-height: 1.4em;
    text-align: left;
}

.compare-table p.table-note {
    font-size: 12px;
    color: #666;
    line-height: 1.3em;
}

.compare-popup .compare-rec:after {
    display: block;
    content: "";
    clear: both;
    margin: 0 auto;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 7px 7px 0 7px;
    border-color: #ff001f transparent transparent transparent;
}

.link-popup {
    cursor: pointer;
}
.day-container.buyexam {
    margin-top: 50px;
}
@media only screen and (min-width: 768px) {
.register-wrapper > .title{
    font-size: 45px;
    margin: 35px 0 30px;
}

@media screen and (min-width: 1024px) {
    .subj-item > .subject-box {
        width: 70%;
    }
    .subj-item > .tutor-box {
        width: 29%;
        border: none;
        padding: 0;
        margin-top: 0;
    }
    .subj-item > .tutor-box .thumb {
        width: 85px;
        height: 85px;
    }
    .selection-detail .location-line > .school {
        width: calc(100% - 560px);
    }
    .subj-item {
        padding: 25px;
    }
    .buyexam .subj-item > .tutor-box {
        width: 40%;
    }
    .buyexam .name {
        font-size: 16px;
    }
    .buyexam .subj-item > .subject-box {
        width: 59%;
    }
}


/*mobile*/

@media screen and (max-width:414px) {
    ._showd {
        display: none;
    }
    ._showm {
        display: block;
    }
    .compare-popup h1 {
        font-size: 26px;
    }
    .compare-popup {
        padding: 10px;
        border-radius: 0;
    }
    .compare-table th {
        font-size: 14px;
    }
    .compare-table td {
        padding: 5px;
        font-size: 14px;
    }
    .compare-table td:nth-child(2),
    .compare-table td:nth-child(3) {
        width: 23%;
    }
    .close-tab {
        display: block;
        background: #f0f3f7;
        width: 100%;
    }
    a.btn-close {
        position: inherit;
        border-radius: inherit;
        font-size: 24px;
        width: 35px;
        height: 35px;
        padding: 5px;
        display: block;
        text-align: center;
        margin: auto;
        margin-right: 0;
    }
    .compare-wrap {
        display: block;
        background-color: #fff;
        overflow: scroll;
        transform: translateX(100%);
        transition-duration: 500ms;
        padding: 0;
    }
    .compare-wrap.-show {
        transform: translateX(0%);
    }
    .compare-table p {
        width: 78%;
        vertical-align: text-top;
    }
    .compare-note li span {
        display: inline-block;
    }
    .compare-note li span.note {
        width: 94%;
        vertical-align: top;
        margin-left: 7px;
    }
    .compare-table p.price {
        display: none;
    }
    .compare-table h2 {
        font-size: 22px;
    }
    .compare-table h2 span.price-note {
        color: #ff3333;
        position: relative;
        top: -6px;
        font-size: 24px;
        margin-left: -8px;
    }
    .compare-note li {
        font-size: 13px;
    }
}


/*ซ้ำกับ home*/