﻿@charset "utf-8";
/*
 CSS Create by CDIS Design
 color: #7F3F98;#804199 purple
 color: #B58E38; yellow
 color: #333333; black 
 color: #2386f7; Blue Sky 
 color: #70b1fa; Blue gray
*/
/* ------ reset.css * Resets default browser CSS.---------- */
html {
    margin: 0;
    padding: 0;
    border: 0;
}

body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, code,
del, dfn, em, img, q, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, dialog, figure, footer, header,
hgroup, nav, section {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    vertical-align: baseline;
}

article, aside, details, figcaption, figure, dialog,
footer, header, hgroup, menu, nav, section {
    display: block;
}

body {
    font-family: 'Kanit-Light';
    font-size: 16px;
    line-height: 21px;
    color: #333;
    position: relative;
    overflow-x: hidden;
    background-color: #F2F5F7;
}

strong {
    font-weight: normal;
    font-family: 'Kanit-Medium';
}

p {
    word-wrap: break-word;
}

table {
    border-collapse: separate;
    border-spacing: 0;
}

caption, th, td {
    text-align: left;
    font-weight: normal;
    float: none !important;
}

table, th, td {
    vertical-align: middle;
}

blockquote:before, blockquote:after, q:before, q:after {
    content: '';
}

blockquote, q {
    quotes: "" "";
}

a img {
    border: none;
}

:focus {
    outline: 0;
}

ul li {
    list-style: none;
}
/* end reset */
a, button {
    -moz-transition: all .2s ease-in;
    -o-transition: all .2s ease-in;
    -webkit-transition: all .2s ease-in;
    transition: all .2s ease-in;
    text-decoration: none;
}

    a:hover, a:focus {
        text-decoration: none;
        cursor: pointer;
        outline: none;
        outline-offset: 0;
    }

h1, h2, h3, h4, h5 {
    font-family: 'Kanit-Medium';
}

h1 {
    font-size: 77px;
    line-height: 70px;
}

h2 {
    font-size: 70px;
    line-height: 80px;
}

h3 {
    font-size: 40px;
    line-height: 30px;
}

h4 {
    font-size: 35px;
    line-height: 30px;
}

h5 {
    font-size: 30px;
    line-height: 30px;
}

img {
    -moz-transition: 0.4s ease;
    -webkit-transition: 0.4s ease;
    transition: 0.4s ease;
}

.clear2f {
    clear: both;
}

.nopadding {
    padding: 0;
}

.nopaddingright {
    padding-right: 0;
}

.nopaddingleft {
    padding-left: 0;
}

.form-control {
    display: block;
    width: 100%;
    line-height: 20px;
    font-size: 14px;
    border-radius: 60px;
    height: 40px;
    padding: 20px 10px;
    color: #b3b3b3;
    background-color: #fff;
    background-image: none;
    border: 1px solid #cdcdcd;
    -webkit-box-shadow: none;
    box-shadow: none;
    -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

    .form-control:focus {
        border-color: #4399fa;
    }

select.form-control {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding-right: 60px;
    background-image: url(../images/icon-dropdown.svg);
    background-size: 20px;
    background-repeat: no-repeat;
    background-position: 95% 15px;
}

.form-control::-webkit-input-placeholder {
    color: #000;
}

.form-control:-moz-placeholder { /* Firefox 18- */
    color: #000;
}

.form-control::-moz-placeholder { /* Firefox 19+ */
    color: #000;
}

.form-control:-ms-input-placeholder {
    color: #000;
}

.btn:focus, .btn:active:focus, .btn.active:focus,
.btn.focus, .btn:active.focus, .btn.active.focus {
    outline: none;
    outline-offset: none;
}

.btn:active, .btn.active {
    background-image: none;
    outline: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
}

textarea.form-control:focus,
.form-control:focus {
    outline: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
    color: #333;
}

.custom-select {
    min-width: 175px;
}

.custom-times {
    min-width: 150px;
}

select {
    appearance: none;
    /* safari */
    /*-webkit-appearance: none;*/
    /* other styles for aesthetics */
    padding-right: 30px;
    background-image: url(../images/icon-dropdown.svg);
    background-size: 12px;
    background-repeat: no-repeat;
    background-position: 95% 12px;
    width: 90%;
    font-size: 14px;
    padding: 0.675em 6em 0.675em 1em;
    background-color: #fff;
    border: 1px solid #caced1;
    border-radius: 30px;
    color: #000;
    cursor: pointer;
}

.custom-select::before,
.custom-select::after {
    --size: 0.3rem;
    position: absolute;
    content: "";
    right: 1rem;
    pointer-events: none;
}

.custom-select::before {
    border-left: var(--size) solid transparent;
    border-right: var(--size) solid transparent;
    border-bottom: var(--size) solid black;
    top: 40%;
}

.custom-select::after {
    border-left: var(--size) solid transparent;
    border-right: var(--size) solid transparent;
    border-top: var(--size) solid black;
    top: 55%;
}

times {
    appearance: none;
    /* safari */
    -webkit-appearance: none;
    /* other styles for aesthetics */
    padding-right: 5px;
    background-image: url(../images/icon-dropdown.svg);
    background-size: 5px;
    background-repeat: no-repeat;
    background-position: 90% 10px;
    width: 90%;
    font-size: 13px;
    padding: 0.675em 6em 0.675em 1em;
    background-color: #fff;
    border: 1px solid #caced1;
    border-radius: 10px;
    color: #000;
    cursor: pointer;
}


.custom-times::before,
.custom-times::after {
    --size: 0.3rem;
    position: absolute;
    content: "";
    right: 1rem;
    pointer-events: none;
}


.custom-times::before {
    border-left: var(--size) solid transparent;
    border-right: var(--size) solid transparent;
    border-bottom: var(--size) solid black;
    top: 40%;
}

.custom-times::after {
    border-left: var(--size) solid transparent;
    border-right: var(--size) solid transparent;
    border-top: var(--size) solid black;
    top: 55%;
}
/* Simple modal styling */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    height: 100%;
    position: absolute;
    left: 55%;
    top: 0%;
    transform: translate(-50%, 0);
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
}

.close {
    float: right;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
}

/* css menu */
.container {
    width: 100%;
}

#header2f .container,
#footer2f .container,
.wrapper2f .container {
    padding: 0 20px;
}
/* header */
#menu2f {
    width: 100%;
    position: relative;
    right: 0;
}

    #menu2f .nav > li > a,
    #menu2f .dropdown-menu > li > a {
        color: #fff;
        border-radius: 50px 0 0 50px;
    }

    #menu2f .nav > li.dropdown > a {
        background-image: url(../images/arrow-down.svg);
        background-repeat: no-repeat;
        background-position: calc(100% - 30px) 19px;
        background-size: auto 8px;
    }

    #menu2f .nav > li.dropdown.open > a {
        background-image: url(../images/arrow-up.svg);
    }

    #menu2f .nav > li > a:focus,
    #menu2f .nav > li > a:hover,
    #menu2f .nav .open > a,
    #menu2f .nav .open > a:focus,
    #menu2f .nav .open > a:hover,
    #menu2f .dropdown-menu > li > a:focus,
    #menu2f .dropdown-menu > li > a:hover {
        background-color: #70b1fa;
    }

    #menu2f .navbar-default {
        border: none;
        background-color: transparent;
    }

    #menu2f .dropdown-menu {
        position: relative;
        float: none;
        width: 100%;
        padding: 0;
        border: none;
        margin: 0;
        border-radius: 0;
        -webkit-box-shadow: none;
        box-shadow: none;
        background-color: transparent;
    }

    #menu2f .navbar-default .navbar-toggle {
        border: none;
        margin-top: 15px;
        margin-right: 15px;
        margin-bottom: 10px;
    }

        #menu2f .navbar-default .navbar-toggle:focus,
        #menu2f .navbar-default .navbar-toggle:hover {
            background-color: transparent;
        }

        #menu2f .navbar-default .navbar-toggle .icon-bar {
            background-color: #fff;
        }

    #menu2f .navbar-toggle .icon-bar {
        width: 40px;
        height: 4px;
        margin-top: 7px;
    }

    #menu2f .navbar-toggle .icon-bar {
        border-radius: 0;
    }

    #menu2f .nav > li > a > img {
        margin-right: 7px;
        position: relative;
        top: 2px;
        width: 19px;
        height: auto;
    }

    #menu2f .nav > li > a {
        padding-left: 30px;
    }

    #menu2f .dropdown-menu > li > a {
        padding: 10px 30px 10px 55px;
        white-space: normal;
    }

    #menu2f .nav > li > a span {
        display: inline-block;
        position: relative;
        top: -2px;
    }

    #menu2f .dropdown-menu span {
        display: inline-block;
        width: 170px;
        position: relative;
    }

        #menu2f .dropdown-menu span::after {
            width: 7px;
            height: 7px;
            border-radius: 100%;
            background-color: #fff;
            content: '';
            position: absolute;
            left: -12px;
            top: 9px;
        }

.navbar-brand {
    display: none;
}

#header2f {
    position: relative;
    height: 90px;
    z-index: 100;
    background-color: #fff;
}

    #header2f .container {
        position: relative;
        z-index: 101;
    }

.header-in2f {
    position: relative;
    z-index: 100;
    padding-top: 0px;
}

.bg-header2f {
    position: absolute;
    top: 0;
    width: 100%;
    line-height: 0;
}

    .bg-header2f img {
        position: relative;
        left: 0;
        width: 100%;
        height: 185px;
    }

.logo {
    float: left;
}

    .logo a {
        line-height: 0;
        display: block;
        margin-right: 30px;
    }

        .logo a img {
            height: 75px;
        }

.text-logo h4 {
    font-size: 20px;
    line-height: 40px;
    color: #fff;
}

    .text-logo h4 span {
        display: block;
    }

.logo a:hover img {
    -moz-transition: scale(1);
    -webkit-transform: scale(1);
    transform: scale(1);
}
/* footer */
#footer2f {
    min-height: 20px;
    position: absolute;
    padding-top: 50px;
    bottom: 0;
    width: 100%;
}

.main-content2f {
    padding-bottom: 150px;
}

#footer2f .container {
    position: relative;
    z-index: 200;
}

.bg-footer {
    position: absolute;
    bottom: 0;
    line-height: 0;
    width: 100%;
    height: 100%;
}

    .bg-footer img {
        width: 100%;
        height: 100%;
    }

.wrapper-footer {
    margin-bottom: 30px;
    padding-top: 30px;
}

.text-footer h4 {
    font-size: 18px;
    line-height: 30px;
    margin-bottom: 5px;
    color: #fff;
}

.text-footer p {
    color: #fff;
}

.text-footer {
    padding-left: 30px;
}

.copyright {
    text-align: center;
    color: #fff;
    font-size: 14px;
    line-height: 14px;
    padding: 10px 0;
}

.layout-social {
    text-align: left;
    margin-left: 50px;
}

    .layout-social ul li {
        position: relative;
        padding: 5px;
        display: inline-block;
    }

        .layout-social ul li a {
            background-repeat: no-repeat;
            background-position: center center;
            background-size: 48px;
            width: 40px;
            height: 40px;
            display: inline-block;
        }

            .layout-social ul li a.social-fb {
                background-image: url(../images/ic-fb.png);
            }

                .layout-social ul li a.social-fb:hover {
                    background-image: url(../images/ic-fb-hover.png);
                }

            .layout-social ul li a.social-tw {
                background-image: url(../images/ic-tw.png);
            }

                .layout-social ul li a.social-tw:hover {
                    background-image: url(../images/ic-tw-hover.png);
                }

            .layout-social ul li a.social-youtube {
                background-image: url(../images/ic-youtube.png);
            }

                .layout-social ul li a.social-youtube:hover {
                    background-image: url(../images/ic-youtube-hover.png);
                }

            .layout-social ul li a.social-ig {
                background-image: url(../images/ic-ig.png);
            }

                .layout-social ul li a.social-ig:hover {
                    background-image: url(../images/ic-ig-hover.png);
                }

.contact-footer {
    text-align: center;
    position: relative;
}

    .contact-footer::after {
        content: '';
        width: 1px;
        height: 60px;
        background-color: rgba(255, 255, 255, 0.6);
        position: absolute;
        left: 0;
        top: 0;
    }

.wrapper-footer .col-xs-6:last-child .contact-footer::before {
    content: '';
    width: 1px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.6);
    position: absolute;
    right: 0;
    top: 0;
}

.contact-footer img {
    height: 15px;
}

.img-contact-footer {
    margin-bottom: 10px;
}

.contact-footer a {
    color: #fff;
}

    .contact-footer a:hover {
        color: #ffe8aa;
    }
/* insite page global*/
.wrapper2f {
    position: relative;
    overflow: hidden;
    min-height: 790px;
}

.bg-menuleft,
.content-left2f {
    background-color: #525A65;
}

.content-left2f {
    width: 245px;
    height: 100%;
    padding: 0;
    position: absolute;
    left: 0;
    top: 0;
}

.content-left2f,
.layoutuser {
    padding-top: 30px;
}

.content-right2f {
    position: relative;
}

.control-page2f {
    position: relative;
    padding-left: 245px;
}

.bg-menuleft {
    position: absolute;
    height: 100%;
    left: 0;
    top: 0;
    width: 10%;
}

.footer-in2f {
    padding-left: 15px;
    position: relative;
    z-index: 110;
}
/* css profile */

.box-profile2f {
    margin-left: 30px;
    position: relative;
    z-index: 200;
}

.img-profile2f {
    width: 62px;
    height: 62px;
    border-radius: 100%;
    line-height: 0;
    border: 5px solid #fff;
    float: left;
    margin-right: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

    .img-profile2f img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.des-profile2f {
    float: left;
    width: 70%;
}

.t-username {
    font-size: 14px;
    line-height: 20px;
    color: #70b1fa;
    font-family: 'Kanit-SemiBold';
    margin-bottom: 8px;
}

.t-postion01,
.t-postion02 {
    margin-bottom: 5px;
}

.box-btn-setting2f .btn {
    width: auto;
    min-width: 130px;
    position: absolute;
    right: 100px;
    top: 0px;
    padding-left: 40px;
    padding-top: 9px;
    background-image: url(../images/setting-purple.svg);
    background-position: 25px center;
    background-repeat: no-repeat;
    background-size: auto 20px;
}

    .box-btn-setting2f .btn:hover,
    .box-btn-setting2f .btn:focus {
        background-image: url(../images/setting-white.svg);
    }

.bg-white {
    position: absolute;
    width: 30vw;
    right: -40px;
    bottom: 0;
    border-radius: 0 0 125px 0;
    background-color: #fff;
    height: 320px;
    z-index: 20;
}
/* css login */
.loginpage .content-left2f {
    display: none;
}

.content-login {
    padding: 30px 0;
    position: relative;
    z-index: 100;
}

.t-announcement {
    text-align: center;
    color: #70b1fa;
    font-size: 18px;
    line-height: 25px;
}

    .t-announcement img {
        height: 23px;
        margin-right: 10px;
        position: relative;
        top: 4px;
    }

.login-form2f {
    max-width: 450px;
    width: 90%;
    margin: 15vh auto 20vh;
}

    .login-form2f .box-input2f {
        position: relative;
    }

        .login-form2f .box-input2f .form-control {
            padding-left: 20px;
            background-position: 15px center;
            background-repeat: no-repeat;
        }

.box-input2f.iconuser .form-control {
    background-image: url(../images/icon-user.svg);
    background-size: auto 13px;
}

.box-input2f.iconpassword .form-control {
    background-image: url(../images/icon-password.svg);
    background-size: auto 14px;
}

.icon-viewpass img {
    width: 21px;
}

.icon-viewpass {
    position: absolute;
    right: 20px;
    top: 16px;
    display: inline-block;
    line-height: 0;
    cursor: pointer;
}

    .icon-viewpass .pass-view {
        display: block;
    }

    .icon-viewpass .pass-none {
        display: none;
    }

    .icon-viewpass.notview .pass-view {
        display: none;
    }

    .icon-viewpass.notview .pass-none {
        display: block;
    }

.box-input2f.iconpassword .form-control::-webkit-input-placeholder {
    color: #C0CCD5;
}

.box-input2f.iconpassword .form-control:-moz-placeholder { /* Firefox 18- */
    color: #C0CCD5;
}

.box-input2f.iconpassword .form-control::-moz-placeholder { /* Firefox 19+ */
    color: #C0CCD5;
}

.box-input2f.iconpassword .form-control:-ms-input-placeholder {
    color: #C0CCD5;
}

.wrapper-main-content {
    padding: 5px 0 30px 30px;
    position: relative;
    z-index: 200;
}

.login-form2f .box-center2f {
    margin-bottom: 15px;
}

.box-forgotpass {
    text-align: right;
}

    .box-forgotpass a {
        display: inline-block;
        color: #4399fa;
    }

        .box-forgotpass a:hover {
            color: #333;
        }

.datepicker .prev,
.datepicker .next,
.datepicker .datepicker-switch {
    font-family: 'Kanit-ExtraBold';
    font-size: 15px;
}

.cancel.btn {
    width: auto;
}

.btn {
    font-size: 16px;
    line-height: 20px;
    height: 40px;
    width: 100%;
    border-radius: 20px;
}

.btn-purple {
    color: #fff;
    background-color: #4399fa;
}

.btn-border {
    color: #4399fa;
    background-color: transparent;
    border-color: #4399fa;
}

    .btn-border:hover {
        background-color: #4399fa;
        color: #fff;
    }

.btn-purple:hover {
    color: #fff;
    background-color: #333;
}
/* css font */
#menu2f .dropdown-menu {
    font-size: 14px;
    line-height: 20px;
}

.layout-social ul {
    position: relative;
    top: 5px;
}

.upload {
    float: left;
    position: relative;
    margin: 0 10px 10px 0;
    padding: 0;
}

    .upload img {
        width: 310px;
        height: 310px;
    }

.thumbnailcontainer {
    height: 20rem;
    width: 20rem;
}

.form-validation-error {
    font-size: 14px;
    color: red;
}

.btn-right-attribute {
    text-align: right !important;
    margin-top: 30px;
}

.md_ic-close {
    width: 10px;
}

.pa-2 {
    padding-bottom: 10px;
    padding-left: 10px;
}

.col-centered {
    float: none;
    margin: 0 auto;
}

.layout-btn-back p {
    padding-top: 4px;
}

.mt-2 {
    margin-top: 1.5rem;
}

.mt-3 {
    margin-top: 3rem;
}

.mb-2 {
    margin-bottom: 1.5rem;
}

.mb-3 {
    margin-bottom: 3rem;
}

.answer-info {
    padding-top: 0px;
    padding-right: 5px;
    white-space: nowrap;
}

.answer-form-panel {
    padding: 20px 15px;
    padding-top: 20px;
    padding-right: 15px;
    padding-bottom: 20px;
    padding-left: 15px;
}

.answer-form-header-text-1 {
    color: #70b1fa;
    font-size: 14px;
}

.answer-form-header-text-2 {
    color: #4399fa;
    font-size: 14px;
}

.answer-form-title {
    background-color: white;
    padding: 1.5rem;
    border-radius: 60px;
}

.answer-row {
    display: flex;
    padding-top: 2rem;
}

.sep {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sepText {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex: 1;
}

    .sepText::before,
    .sepText::after {
        content: '';
        flex: 1;
        width: 1px;
        background: currentColor;
        margin: 0;
    }

.md_bg-white {
    background-color: white;
}

.answer-sep-remark {
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 15px;
}

.answer-input-title {
    margin-bottom: 10px;
}

.w-100 {
    width: 100% !important;
}

.answer-input-unit {
    padding-top: 1.25rem;
    padding-left: 0
}

.text-nowrap {
    white-space: nowrap;
}

.border-top-0 {
    border-top: 0;
}

.md__thumbnail {
    position: relative;
    width: 200px;
    height: 200px;
    overflow: hidden;
}

    .md__thumbnail img {
        position: absolute;
        left: 50%;
        top: 50%;
        height: 100%;
        width: auto;
        -webkit-transform: translate(-50%,-50%);
        -ms-transform: translate(-50%,-50%);
        transform: translate(-50%,-50%);
    }

        .md__thumbnail img.portrait {
            width: 100%;
            height: auto;
        }

