﻿a {
    color: #222222;
}

    a:hover,
    a:active {
        color: #222222;
        text-decoration: none !important;
    }

    a:focus {
        outline: none !important;
        box-shadow: none;
        text-decoration: none !important;
        color: #222222;
    }

hr.yellow {
    border: 3px solid #ffc800;
}
.err {
    color: #d00000;
}
.danger {
    border: 1px solid #d00000 !important;
}
input.btn,
button.btn {
    width: auto;
    min-width: 150px;
    height: 44px;
    border-radius: 5px;
    background-color: #ffffff;
    border: solid 1px #e8e8e8;
    font-family: 'Krungsri-Condensed-Bold';
    font-size: 16px;
    font-weight: bold;
    font-style: normal;
    font-stretch: normal;
    line-height: 2.14;
    letter-spacing: normal;
    text-align: center;
    color: #554242;
    outline: none !important;
    padding-left: 16px;
    padding-right: 16px;
}

    input.btn:hover,
    button.btn:hover {
        /*border: solid 1px #e8e8e8 !important;*/
        border: solid 1px #c7c7c7 !important;
        color: #554242;
    }

    input.btn:active,
    button.btn:active {
        box-shadow: inset 1px 2px 1px 0 rgba(0, 0, 0, 0.1) !important;
    }

    input.btn:focus,
    button.btn:focus {
        outline: none !important;
        box-shadow: none;
        /*box-shadow: inset 1px 2px 1px 0 rgba(0, 0, 0, 0.1) !important;*/
    }

    input.btn:disabled,
    button.btn:disabled {
        background-color: #f0efee;
        color: #bbbbbb;
        border: 0px;
        border: solid 0px #e8e8e8 !important;
    }

        input.btn:disabled:hover,
        button.btn:disabled:hover {
            border: solid 0px #e8e8e8 !important;
        }

    input.btn.btn-sm,
    button.btn.btn-sm {
        height: 38px;
    }

    input.btn.btn-xs,
    button.btn.btn-xs {
        height: 30px;
    }

    input.btn.--width-default,
    button.btn.--width-default {
        width: 170px;
    }

    input.btn.btn-primary,
    button.btn.btn-primary {
        color: #554242;
        background-color: #ffd400 !important;
        border: solid 0px #e8e8e8 !important;
    }

        input.btn.btn-primary:hover,
        button.btn.btn-primary:hover {
            background-color: #ffc800 !important;
        }

        input.btn.btn-primary:active,
        button.btn.btn-primary:active {
            background-color: #ffd400 !important;
            color: #554242 !important;
            box-shadow: inset 1px 2px 1px 0 rgba(0, 0, 0, 0.1) !important;
        }

        input.btn.btn-primary:disabled,
        button.btn.btn-primary:disabled {
            background-color: #f0efee !important;
            /*color: #554242;*/
            color: #949494;
            border: 0px;
        }

        input.btn.btn-primary.btn-sm,
        button.btn.btn-primary.btn-sm {
            height: 38px;
        }

            input.btn.btn-primary.btn-sm:disabled,
            button.btn.btn-primary.btn-sm:disabled {
                background-color: #f0efee !important;
                color: #bbbbbb !important;
                border: 0px;
            }

        input.btn.btn-primary.btn-xs,
        button.btn.btn-primary.btn-xs {
            height: 30px;
        }

            input.btn.btn-primary.btn-xs:disabled,
            button.btn.btn-primary.btn-xs:disabled {
                background-color: #f0efee !important;
                color: #bbbbbb !important;
                border: 0px;
            }

    input.btn.btn-orange,
    button.btn.btn-orange {
        background-color: #ff6700 !important;
        color: white !important;
    }

        input.btn.btn-orange:hover,
        button.btn.btn-orange:hover {
            background-color: #fc7e41 !important;
        }

    input.btn.btn-browse,
    button.btn.btn-browse {
        background-color: #b7aeaf !important;
        color: white !important;
    }

        input.btn.btn-browse:hover,
        button.btn.btn-browse:hover {
            background-color: #c8c3c3 !important;
        }

    input.btn.btn-link,
    button.btn.btn-link {
        border: 0px !important;
        background-color: transparent;
        color: #6f5f5e;
        text-decoration: none !important;
    }

        input.btn.btn-link:focus,
        button.btn.btn-link:focus {
            outline: none !important;
            box-shadow: none !important;
        }

        input.btn.btn-link:hover,
        button.btn.btn-link:hover,
        input.btn.btn-link:active,
        button.btn.btn-link:active {
            text-decoration: underline !important;
        }

        input.btn.btn-link:disabled,
        button.btn.btn-link:disabled {
            color: #bbbbbb !important;
            text-decoration: none !important;
        }

    input.btn.btn-reset,
    button.btn.btn-reset {
        background-color: #6f5f5e !important;
        color: white !important;
    }

        input.btn.btn-reset:hover,
        button.btn.btn-reset:hover {
            background-color: #857777 !important;
        }

    input.btn.btn-add,
    button.btn.btn-add {
        background-color: #ffd400;
        /*border: none;*/
        color: #6f5f5e !important;
        min-width: 40px;
        height: 40px;
        width: 40px;
        border-radius: 50%;
    }

a.btn,
div.btn {
    width: auto;
    height: 44px;
    border-radius: 5px;
    background-color: #ffffff;
    border: solid 1px #e8e8e8;
    font-family: Krungsri-Condensed-Bold;
    font-size: 16px;
    font-weight: bold;
    font-style: normal;
    font-stretch: normal;
    line-height: 27px;
    letter-spacing: normal;
    text-align: center;
    color: #554242;
    outline: none !important;
    padding-left: 16px;
    padding-right: 16px;
    padding-top: 10px;
    padding-bottom: 4px;
}

    a.btn:hover,
    div.btn:hover {
        border: solid 1px #c7c7c7 !important;
        text-decoration: none !important;
    }

    a.btn:active,
    div.btn:active {
        box-shadow: inset 1px 2px 1px 0 rgba(0, 0, 0, 0.1) !important;
        text-decoration: none !important;
    }

    a.btn:focus,
    div.btn:focus {
        outline: none !important;
        box-shadow: none;
        text-decoration: none !important;
        /*box-shadow: inset 1px 2px 1px 0 rgba(0, 0, 0, 0.1) !important;*/
    }

    a.btn:disabled,
    div.btn:disabled,
    a.btn.disabled,
    div.btn.disabled {
        background-color: #f0efee;
        color: #bbbbbb;
        border: 0px;
        border: solid 0px #e8e8e8 !important;
    }

        a.btn:disabled:hover,
        div.btn:disabled:hover,
        a.btn.disabled:hover,
        div.btn.disabled:hover {
            border: solid 0px #e8e8e8 !important;
        }

    a.btn.btn-primary,
    div.btn.btn-primary {
        color: #554242 !important;
        background-color: #ffd400 !important;
        border: solid 0px #e8e8e8 !important;
        height: 44px;
        padding-top: 0;
        padding-bottom: 0;
        line-height: 44px;
    }

        a.btn.btn-primary:hover,
        div.btn.btn-primary:hover {
            background-color: #ffc800 !important;
            text-decoration: none !important;
        }

        a.btn.btn-primary:active,
        div.btn.btn-primary:active {
            background-color: #ffd400 !important;
            box-shadow: inset 1px 2px 1px 0 rgba(0, 0, 0, 0.1) !important;
            text-decoration: none !important;
        }

        a.btn.btn-primary:disabled,
        div.btn.btn-primary:disabled,
        a.btn.btn-primary.disabled,
        div.btn.btn-primary.disabled {
            background-color: #f0efee !important;
            color: #554242;
            border: 0px;
        }

            a.btn.btn-primary:disabled i,
            div.btn.btn-primary:disabled i,
            a.btn.btn-primary.disabled i,
            div.btn.btn-primary.disabled i,
            a.btn.btn-primary:disabled img.icon,
            div.btn.btn-primary:disabled img.icon,
            a.btn.btn-primary.disabled img.icon,
            div.btn.btn-primary.disabled img.icon {
                opacity: 0.75;
            }

        a.btn.btn-primary.btn-sm,
        div.btn.btn-primary.btn-sm {
            height: 38px;
        }

        a.btn.btn-primary.btn-xs,
        div.btn.btn-primary.btn-xs {
            height: 30px;
        }

    a.btn.btn-back,
    div.btn.btn-back {
        border: 0px !important;
        font-family: 'Krungsri';
        font-weight: bold;
        font-stretch: condensed;
        font-size: 24px;
        color: #554242;
    }

        a.btn.btn-back .arrow,
        div.btn.btn-back .arrow {
            margin-right: 9.6px;
            text-decoration: none !important;
        }

        a.btn.btn-back:hover,
        div.btn.btn-back:hover,
        a.btn.btn-back:active,
        div.btn.btn-back:active,
        a.btn.btn-back:focus,
        div.btn.btn-back:focus {
            text-decoration: underline !important;
            box-shadow: none !important;
        }

            a.btn.btn-back:hover .arrow,
            div.btn.btn-back:hover .arrow,
            a.btn.btn-back:active .arrow,
            div.btn.btn-back:active .arrow,
            a.btn.btn-back:focus .arrow,
            div.btn.btn-back:focus .arrow {
                text-decoration: none !important;
            }

    a.btn.btn-sm,
    div.btn.btn-sm {
        height: 38px;
        padding-top: 5px;
    }

    a.btn.btn-xs,
    div.btn.btn-xs {
        height: 30px;
        padding-top: 0px;
    }

    a.btn.--width-default,
    div.btn.--width-default {
        width: 170px;
    }

    a.btn i,
    div.btn i {
        width: 24px;
        height: 15px;
        color: #554242;
    }

    a.btn img.icon,
    div.btn img.icon {
        width: 24px;
        height: 15px;
        max-width: 100%;
        max-height: 100%;
    }

.border-light {
    border-color: #e8e8e8 !important;
}

.btn-secondary {
    font-family: Krungsri-Condensed-Bold;
    color: #554242 !important;
    background-color: #fff !important;
    width: 90px;
    padding: 11px !important;
    border: solid 1px #e8e8e8 !important;
}

    .btn-secondary:hover {
        color: #463737 !important;
        background-color: #ffd400;
    }

    .btn-secondary:focus {
        box-shadow: none !important;
    }

    .btn-secondary.active {
        color: #554242;
        border: solid 1px #e8e8e8 !important;
        background-color: #ffc800 !important;
        width: 90px !important;
        padding: 11px !important;
        box-shadow: none !important;
    }

        .btn-secondary.active:hover {
            color: #554242;
            border: solid 1px #e8e8e8 !important;
            background-color: #ffc800 !important;
            box-shadow: none !important;
        }

        .btn-secondary.active:focus {
            box-shadow: none !important;
        }

.btn-outline-secondary {
    font-family: Thongterm;
    font-size: 16px;
    font-weight: bold;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: normal;
    color: #554242;
    background-color: #ffd400;
    background-image: none;
    border: 0px !important;
    width: 90px;
    height: 38px;
}

    .btn-outline-secondary:hover {
        color: #554242;
        background-color: #ffd400;
        border: 0px !important;
    }

    .btn-outline-secondary:active {
        color: #554242 !important;
        background-color: #ffd400 !important;
        border: 0px !important;
        box-shadow: none !important;
    }

    .btn-outline-secondary:focus {
        color: #554242 !important;
        background-color: #ffd400 !important;
        border: 0px !important;
        box-shadow: none !important;
    }

.btn-group.btn-group-toggle label.btn-secondary {
    flex: 1;
}

.a-link {
    color: #da7025 !important;
    text-decoration: none !important;
    cursor: pointer;
    font-family: Krungsri;
    font-size: 14px;
    margin-bottom: 16px;
}

    .a-link:hover,
    .a-link:active {
        text-decoration: underline !important;
    }

    .a-link.white {
        color: #ffffff !important;
        font-family: 'Thongterm';
    }

        .a-link.white:hover,
        .a-link.white:active {
            color: #ffd400 !important;
            text-decoration: none !important;
        }

    .a-link.black {
        color: #5a5a5a !important;
        font-family: 'SukhumvitSet';
        text-decoration: underline !important;
    }

    .a-link.yellow {
        color: #ffd400 !important;
        font-family: 'SukhumvitSet';
        text-decoration: underline !important;
    }

    .a-link.panel {
        background-color: #f3f3f3;
        padding-left: 16px;
        padding-right: 16px;
        min-height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 8px;
        margin-bottom: 8px;
    }

    .a-link img.icon {
        width: 20px;
        height: 20px;
        max-height: 100%;
        max-width: 100%;
        margin-right: 8px;
    }

    .a-link.left {
        justify-content: flex-start;
    }

.i-link img {
    display: block;
    width: 26px;
    height: 22px;
    max-height: 100%;
    max-width: 100%;
}

    .i-link img.hover,
    .i-link img.active {
        display: none;
    }

.i-link:hover img {
    display: none;
}

    .i-link:hover img.hover {
        display: block;
    }

.i-link:active img,
.i-link:active img.hover {
    display: none;
}

    .i-link:active img.active {
        display: block;
    }

.dropdown .btn {
    padding-left: 8px;
    padding-right: 8px;
    /* fill SVG icon */
}

    .dropdown .btn .icon {
        margin-right: 5px;
    }

        .dropdown .btn .icon > g {
            fill: #554242 !important;
        }

    .dropdown .btn.btn-primary:focus {
        outline: none !important;
        box-shadow: none;
    }

    .dropdown .btn.dropdown-toggle:after {
        content: "⌵";
        float: none;
        border: initial;
        vertical-align: middle;
        margin-left: auto;
        width: auto;
        height: auto;
    }

    .dropdown .btn img.icon {
        width: 9px;
        height: 12px;
        max-width: 100%;
        max-height: 100%;
    }

.dropdown-menu.show {
    min-width: 202px;
    height: auto;
    background-color: #ffffff;
    box-shadow: 1px 2px 4px 0 rgba(0, 0, 0, 0.2);
    padding-left: 0px;
    padding-right: 0px;
    padding-top: 0px;
    padding-bottom: 0px;
    margin-top: 8px;
    border-radius: 0px;
}

    .dropdown-menu.show .dropdown-item {
        border-bottom: 1px solid #e8e8e8;
        min-height: 39px;
        color: #5a5a5a;
        font-weight: bold;
        font-family: 'Krungsri';
        font-size: 14px;
        padding-right: 0px;
        padding-left: 9.5px;
        padding-top: 8px;
        padding-bottom: 8px;
        /* for icon under dropdown-menu only, NOT icon on dropdown button */
    }

        .dropdown-menu.show .dropdown-item .icon {
            fill: #554242 !important;
            width: 9px;
            height: 12px;
            max-width: 100%;
            max-height: 100%;
            margin-top: -3px;
            margin-right: 5px;
            margin-left: 5px;
            /*g > g {
  fill: @ks-color-greyish-brown !important;
  background-color: red;
}*/
        }

            .dropdown-menu.show .dropdown-item .icon > g > g {
                fill: #554242;
            }

        .dropdown-menu.show .dropdown-item:last-child {
            border-bottom: 0px solid #e8e8e8;
        }

        .dropdown-menu.show .dropdown-item:hover {
            display: block;
            color: #5a5a5a !important;
            background-color: #f3f3f3 !important;
            /* fill an svg icon on hovering menu item */
        }

            .dropdown-menu.show .dropdown-item:hover .icon > g > g {
                fill: #ffffff !important;
            }

        .dropdown-menu.show .dropdown-item:active {
            background-color: #463737 !important;
            color: #f3f3f3 !important;
        }

.form-group label,
.input-group label {
    font-family: Thongterm-Roman;
    font-size: 16px;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.88;
    letter-spacing: normal;
    color: #5a5a5a;
}

.form-group input.form-control,
.input-group input.form-control,
.form-group textarea.form-control,
.input-group textarea.form-control {
    font-family: 'Thongterm-Bold';
    font-size: 16px;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    line-height: 34px;
    letter-spacing: normal;
    color: #222222;
    height: 44px;
    border-radius: 3px;
    /*box-shadow: inset 1px 2px 1px 0 rgba(0, 0, 0, 0.1);*/
    background-color: #ffffff;
}

.form-group textarea.form-control {
    height: 120px;
}

    .form-group input.form-control:focus,
    .input-group input.form-control:focus,
    .form-group textarea.form-control:focus,
    .input-group textarea.form-control:focus {
        border: solid 1px #c7c7c7;
        box-shadow: none;
    }

    .form-group input.form-control:disabled,
    .input-group input.form-control:disabled,
    .form-group textarea.form-control:disabled,
    .input-group textarea.form-control:disabled {
        background-color: #f0efee !important;
    }

    .form-group input.form-control::placeholder,
    .input-group input.form-control::placeholder,
    .form-group textarea.form-control::placeholder,
    .input-group textarea.form-control::placeholder {
        color: #bbbbbb;
        font-family: Thongterm;
    }

    .form-group input.form-control.WatermarkText,
    .input-group input.form-control.WatermarkText,
    .form-group textarea.form-control.WatermarkText,
    .input-group textarea.form-control.WatermarkText {
        font-family: Thongterm;
        font-size: 16px !important;
        line-height: 34px !important;
        color: #949494 !important;
    }

    .form-group input.form-control.form-control-danger,
    .input-group input.form-control.form-control-danger,
    .form-group textarea.form-control.form-control-danger,
    .input-group textarea.form-control.form-control-danger {
        border: solid 1px #d00000;
    }

    .form-group input.form-control.form-control-sm,
    .input-group input.form-control.form-control-sm,
    .form-group textarea.form-control.form-control-sm,
    .input-group textarea.form-control.form-control-sm {
        height: 38px;
    }

.form-group .form-control-feedback,
.input-group .form-control-feedback,
.form-group EditingFormErrorLabel,
.input-group EditingFormErrorLabel {
    display: none;
    height: 29px;
    font-family: 'Thongterm-Roman';
    font-size: 16px;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    line-height: 30px;
    letter-spacing: normal;
    margin-top: 4px;
}

    .form-group .form-control-feedback.danger,
    .input-group .form-control-feedback.danger,
    .form-group EditingFormErrorLabel.danger,
    .input-group EditingFormErrorLabel.danger,
    .form-group .form-control-feedback .EditingFormErrorLabel,
    .input-group .form-control-feedback .EditingFormErrorLabel,
    .form-group EditingFormErrorLabel .EditingFormErrorLabel,
    .input-group EditingFormErrorLabel .EditingFormErrorLabel {
        color: #d00000;
        display: block;
    }

.form-group.input-group-datetime:after,
.input-group.input-group-datetime:after {
    font-family: "Font Awesome 5 Pro";
    font-weight: 300;
    color: #5b5b5b;
    position: absolute;
    top: 17%;
    right: 16px;
    content: "\f073";
    z-index: 3;
}

.form-group {
    margin-bottom: 16px;
}

    .form-group.input-group-datetime {
        position: relative;
    }

        .form-group.input-group-datetime:after {
            font-family: "Font Awesome 5 Pro";
            font-weight: 300;
            color: #000;
            position: absolute;
            top: 53%;
            right: 16px;
            content: "\f073";
            z-index: 3;
        }

.input-group {
    margin-top: 16px;
    margin-bottom: 16px;
}

    .input-group .input-group-prepend .input-group-text,
    .input-group .input-group-append .input-group-text {
        background-color: #ffd400;
        border-radius: 5px;
        padding-left: 16px;
        padding-right: 16px;
    }

        .input-group .input-group-prepend .input-group-text img,
        .input-group .input-group-append .input-group-text img {
            width: 20px;
            height: 20px;
            max-height: 100%;
            max-width: 100%;
        }

    .input-group .input-group-prepend.disabled .input-group-text,
    .input-group .input-group-append.disabled .input-group-text {
        background-color: #f0efee;
    }

    .input-group .input-group-prepend .input-group-text {
        border-bottom-right-radius: 0px;
        border-top-right-radius: 0px;
    }

    .input-group .input-group-append .input-group-text {
        border-bottom-left-radius: 0px;
        border-top-left-radius: 0px;
    }

    .input-group .input-group-append .ui.ks.dropdown {
        background-color: #ffc800;
        color: #463737;
        font-weight: bold;
        border-bottom-left-radius: 0px !important;
        border-top-left-radius: 0px !important;
        min-width: 50px !important;
    }

        .input-group .input-group-append .ui.ks.dropdown.selection .text {
            padding-left: 17px;
            margin-right: 0;
            text-align: left;
        }

@media screen and (min-width: 768px) {
    .input-group .input-group-append .ui.ks.dropdown.selection .text {
        padding-left: 17px;
    }
}

@media screen and (max-width: calc(768px - 1px)) {
    .input-group .input-group-append .ui.ks.dropdown.selection .text {
        padding-left: 18px;
    }
}

.input-group .input-group-append .ui.ks.dropdown .text {
    font-weight: bold;
}

.input-group .input-group-append .ui.ks.dropdown .dropdown.icon {
    display: inline-table;
    top: 0 !important;
    bottom: 0 !important;
    right: 16px;
    margin: auto 0;
    padding: 0px;
    justify-content: center;
    align-items: center;
    display: flex;
}

    .input-group .input-group-append .ui.ks.dropdown .dropdown.icon:before {
        content: "\f107";
        font-family: "Font Awesome 5 Pro";
        font-size: 20px;
        color: #463737;
    }

.input-group .input-group-append .ui.ks.dropdown .default.text {
    color: #463737;
}

.input-group .input-group-append .btn.btn-outline-secondary {
    background-color: #ffc800;
    border-bottom-left-radius: 0px !important;
    border-top-left-radius: 0px !important;
    height: 48px;
}

    .input-group .input-group-append .btn.btn-outline-secondary.btn-sm {
        height: 38px;
    }

.input-group.input-group-sm input.form-control {
    height: 38px;
}

.input-group.input-group-sm .input-group-prepend,
.input-group.input-group-sm .input-group-append {
    height: 38px;
}

.radio, .checkbox {
    padding-left: 0 !important;
}

.radio-inline input[type="radio"] {
    display: none;
}

    .radio-inline input[type="radio"] + label,
    .radio-inline input[type="radio"] + span {
        padding-left: 2px;
        padding-right: 10px;
        display: inline-block;
        line-height: 30px;
        background-repeat: no-repeat;
        background-position: 0 0;
        font-size: 16px;
        vertical-align: middle;
        cursor: pointer;
        color: #5A5A5A;
        font-family: Thongterm-Roman;
    }

        .radio-inline input[type="radio"] + label:before,
        .radio-inline input[type="radio"] + span:before {
            font-size: 24px;
            vertical-align: sub;
            padding-right: 8px;
            content: "\f111";
            font-family: "Font Awesome 5 Pro";
            color: #bbbbbb;
            font-weight: 100;
        }

    .radio-inline input[type="radio"]:checked + label,
    .radio-inline input[type="radio"]:checked + span {
        background-position: 0 -65px;
    }

        .radio-inline input[type="radio"]:checked + label:before,
        .radio-inline input[type="radio"]:checked + span:before {
            color: #ffd400;
            font-weight: 900;
            content: "\f192";
            font-family: "Font Awesome 5 Pro";
            padding-right: 8px;
        }

}

.radio-inline input[type="radio"]:checked:hover + label,
.radio-inline input[type="radio"]:checked:hover + span {
    background-position: 0 -96px;
}

.radio-inline input[type="radio"]:checked:disabled + label,
.radio-inline input[type="radio"]:checked:disabled + span {
    background-position: 0 -190px;
    color: #bbbbbb;
}

.radio-inline input[type="radio"]:disabled + label,
.radio-inline input[type="radio"]:disabled + span {
    background-position: 0 -160px;
    color: #bbbbbb;
}

.radio-inline input[type="radio"]:disabled:hover + label:before,
.radio-inline input[type="radio"]:disabled:hover + span:before {
    color: #bbbbbb;
    content: "\f111";
    font-family: "Font Awesome 5 Pro";
}

.radio-inline label,
.radio-inline span {
    /*background-image: url('~/Assets/Images/Input/rd.png');*/
    background-image: none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.checkbox-inline input[type="checkbox"] {
    display: none;
}

    .checkbox-inline input[type="checkbox"] + label,
    .checkbox-inline input[type="checkbox"] + span {
        padding-left: 2px;
        padding-right: 10px;
        display: inline-block;
        line-height: 30px;
        background-repeat: no-repeat;
        background-position: 0 0;
        font-size: 16px;
        vertical-align: middle;
        cursor: pointer;
        color: #5A5A5A;
        font-family: Thongterm-Roman;
    }

        .checkbox-inline input[type="checkbox"] + label:before,
        .checkbox-inline input[type="checkbox"] + span:before {
            font-size: 24px;
            line-height: 24px;
            vertical-align: sub;
            padding-right: 8px;
            content: "\f0c8";
            font-family: "Font Awesome 5 Pro";
            color: #bbbbbb;
            float: left;
            font-weight: 100;
        }


    .checkbox-inline input[type="checkbox"]:checked + label:before,
    .checkbox-inline input[type="checkbox"]:checked + span:before {
        color: #ffd400;
        font-size: 24px;
        vertical-align: sub;
        padding-right: 8px;
        content: "\f14a";
        font-family: "Font Awesome 5 Pro";
        font-weight: 900;
    }

@media(min-width: 768px) {
    .checkbox-inline input[type="checkbox"]:hover + label:before,
    .checkbox-inline input[type="checkbox"]:hover + span:before {
        content: "\f14a";
        font-family: "Font Awesome 5 Pro";
        font-size: 24px;
        vertical-align: sub;
        padding-right: 8px;
    }
}

.checkbox-inline input[type="checkbox"]:checked:hover + label,
.checkbox-inline input[type="checkbox"]:checked:hover + span {
    background-position: 0 -57px;
}

.checkbox-inline input[type="checkbox"]:checked:disabled + label,
.checkbox-inline input[type="checkbox"]:checked:disabled + span {
    color: #bbbbbb;
}

    .checkbox-inline input[type="checkbox"]:checked:disabled + label:before,
    .checkbox-inline input[type="checkbox"]:checked:disabled + span:before {
        color: #bbbbbb;
        content: "\f14a";
        font-family: "Font Awesome 5 Pro";
    }

.checkbox-inline input[type="checkbox"]:disabled + label,
.checkbox-inline input[type="checkbox"]:disabled + span {
    /*background-position: 0 -141px;*/
    color: #bbbbbb;
}

    .checkbox-inline input[type="checkbox"]:disabled + label:before,
    .checkbox-inline input[type="checkbox"]:disabled + span:before {
        color: #bbbbbb;
        content: "\f0c8";
        font-family: "Font Awesome 5 Pro";
    }

.checkbox-inline label,
.checkbox-inline span {
    /*background-image: url('~/Assets/Images/Input/ck.png');*/
    background: none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.breadcrumb {
    background-color: transparent;
    padding: 0px;
}

    .breadcrumb .breadcrumb-item {
        color: #5a5a5a;
        font-family: 'Krungsri';
        font-size: 14px;
        font-weight: bold;
        font-style: normal;
        font-stretch: condensed;
        line-height: normal;
        letter-spacing: normal;
    }

        .breadcrumb .breadcrumb-item a {
            color: #5a5a5a;
            font-family: 'Krungsri';
            font-size: 14px;
            font-weight: 500;
            font-style: normal;
            font-stretch: condensed;
            line-height: normal;
            letter-spacing: normal;
        }

        .breadcrumb .breadcrumb-item + .breadcrumb-item {
            padding-left: 0px;
        }

            .breadcrumb .breadcrumb-item + .breadcrumb-item:before {
                display: inline-block;
                padding: 0 16px;
                content: "\f105";
                font-weight: 300;
                font-family: "Font Awesome 5 Pro";
                font-size: 18px;
                line-height: normal;
                position: relative;
                top: 3px;
            }

.card {
    border: 1px solid #e8e8e8;
    border-radius: 0;
    padding: 24px;
    margin-bottom: 16px;
}

    .card .card-body {
        padding: 0px;
    }

.well {
    border-radius: 3px;
    background-color: #fcfcfc;
    padding-top: 16px;
    padding-bottom: 16px;
    padding-left: 16px;
    padding-right: 16px;
}

    .well.marigold {
        background-color: #ffc800;
    }

.nav.nav-tabs {
    border-bottom: 1px solid #e8e8e8;
    display: flex;
}

    .nav.nav-tabs.border-bottom-0 {
        border-bottom: 0px;
    }

    .nav.nav-tabs .nav-item {
        font-family: Thongterm-Roman;
        font-size: 14px;
        font-weight: normal;
        font-style: normal;
        font-stretch: condensed;
        line-height: normal;
        letter-spacing: normal;
        text-align: center;
        color: #9b9b9b;
        flex: 1 1 auto;
    }

        .nav.nav-tabs .nav-item .nav-link {
            color: #949494;
            font-size: 16px;
            line-height: 34px;
            font-family: Thongterm-Roman;
            border-bottom: 3px solid #F0EFEE;
        }

            .nav.nav-tabs .nav-item .nav-link:hover {
                font-family: Thongterm-Bold;
                color: #5a5a5a;
                border-top: 0px;
                border-left: 0px;
                border-right: 0px;
                border-bottom: 3px solid #ffd400;
            }

            .nav.nav-tabs .nav-item .nav-link.active {
                font-family: Thongterm-Bold;
                color: #222222;
                border-top: 0px;
                border-left: 0px;
                border-right: 0px;
                border-bottom: 3px solid #ffd400;
                background-color: inherit;
            }

            .nav.nav-tabs .nav-item .nav-link .nav-item {
                flex: 1 1 auto;
                display: flex;
            }

/*
.table tbody tr {
background: #fff;
}

.table tbody tr td {
vertical-align: middle;
}

.table tbody tr:nth-of-type(odd) {
background: #f3f3f3;
}
*/
.table thead ~ tbody tr:nth-of-type(even) {
    background: #f3f3f3;
}

.table thead ~ tbody tr:nth-of-type(odd) {
    background: #ffffff;
}

.table tbody tr:nth-of-type(even) {
    background: #ffffff;
}

.table tbody tr:nth-of-type(odd) {
    background: #f3f3f3;
}

.table tr th {
    background-color: #ffd400;
    vertical-align: middle !important;
    text-align: center;
    color: #545454;
    font-family: Thongterm-Bold;
    font-size: 16px;
    line-height: 29px;
    padding: 13px;
    border-top: 0px;
    border-bottom: 0px;
}

.table tr td {
    color: #5A5A5A;
    font-family: Thongterm-Roman;
    font-size: 16px;
    line-height: 29px;
    vertical-align: middle;
    border-top: 0px;
    padding: 10px;
}

@media (max-width: 767px) {
    .table-scrollable {
        overflow-x: scroll;
        min-width: 767px;
    }
}


.table.table-no-stripe > tbody > tr {
    background: none !important;
}

.table.ks-exhange thead tr th,
.table.ks-exhange thead tr td {
    background-color: #6f5f5e;
    border-color: #fff;
    color: #fff;
    text-align: center;
    vertical-align: middle;
}

.table.ks-exhange tbody tr {
    background-color: #f3f3f3;
}

    .table.ks-exhange tbody tr td {
        border: 0px;
        text-align: center;
        padding: 0px;
        vertical-align: middle;
        max-height: 50px;
        padding-left: 16px;
        padding-right: 16px;
        height: 50px;
    }

    .table.ks-exhange tbody tr:nth-of-type(odd) {
        background-color: #ffffff;
    }

.table.ks-exhange-preview {
    border: 0px;
}

    .table.ks-exhange-preview thead th,
    .table.ks-exhange-preview thead td {
        text-align: right;
        border-top: 0px;
        border-bottom: 0px;
        padding-bottom: 16px;
        font-family: Thongterm;
        font-size: 18px;
        font-weight: bold;
        background-color: transparent;
        color: #5a5a5a;
    }

        .table.ks-exhange-preview thead th:nth-child(1) {
            text-align: left;
        }

    .table.ks-exhange-preview tbody td {
        border-top: 0px;
        border-bottom: 0px;
        text-align: right;
        font-family: Thongterm-Roman;
        font-size: 16px;
    }

        .table.ks-exhange-preview tbody td .icon-margin-right {
            margin-right: 12px;
        }

        .table.ks-exhange-preview tbody td:nth-child(1) {
            text-align: left;
        }

    .table.ks-exhange tbody tr td,
    .table.ks-exhange-preview tbody tr td {
        /*display: flex;*/
        align-items: center;
    }


.list-group .list-group-item {
    border: 0px;
    font-size: 16px;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.88;
    letter-spacing: normal;
    color: #9b9b9b;
    border-radius: 0px;
    padding: 16px;
}

    .list-group .list-group-item.list-group-item-action {
        color: #222222;
        font-family: Krungsri-Condensed-Bold;
        font-size: 16px;
        line-height: 24px;
        background: #f3f3f3;
    }



.accordion .card {
    border-left: 0px;
    border-right: 0px;
    padding: 0px;
    border-color: #e8e8e8;
    font-family: Thongterm-Roman;
    font-size: 16px;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    line-height: 26px;
    letter-spacing: normal;
    color: #5a5a5a;
    margin-bottom: 0;
}

    .accordion .card .card-header {
        width: 100%;
        height: auto;
        min-height: 64px;
        cursor: pointer;
        background-color: #ffffff;
        padding-left: 16px;
        padding-right: 0px;
        border-bottom: 0px solid #e8e8e8;
        border-left: 3px solid transparent;
        padding-bottom: 0;
    }

        .accordion .card .card-header.arrow .btn-link:hover {
            text-decoration: underline;
            font-weight: bold;
        }

        .accordion .card .card-header.arrow:not(.collapsed):after {
            font-family: "Font Awesome 5 Pro";
            font-weight: 300;
            font-size: 1.5rem;
            content: "\f106";
            float: right;
            position: absolute;
            top: 18px;
            right: 20px;
            color: #5a5a5a;
            z-index: 0;
        }

        .accordion .card .card-header.arrow.collapsed:after {
            font-family: "Font Awesome 5 Pro";
            font-weight: 300;
            font-size: 1.5rem;
            content: "\f107";
            float: right;
            position: absolute;
            top: 18px;
            right: 20px;
            color: #5a5a5a;
            z-index: 0;
        }

        .accordion .card .card-header .btn {
            width: 100%;
            height: auto;
            color: #222222;
            font-size: 16px;
            font-family: Krungsri-Condensed-Bold;
            font-weight: normal;
            padding-left: 0px;
            padding-right: 38px;
            text-align: left;
            word-wrap: break-word;
            white-space: normal;
        }

            .accordion .card .card-header .btn:active {
                box-shadow: none !important;
            }

            .accordion .card .card-header.active,
            .accordion .card .card-header .btn:hover {
                text-decoration: none !important;
                color: #222222;
            }

        .accordion .card .card-header.arrow {
            background: none;
        }

            .accordion .card .card-header.arrow.active {
                background: none;
            }





.accordion .collapse {
    /*min-height: 65px;*/
    padding-top: 8px;
    padding-bottom: 8px;
    padding-left: 16px;
    padding-right: 16px;
}

    .accordion .collapse .card-header {
        padding: 8px;
    }

    .accordion .collapse .card-body {
        padding-left: 0;
        padding-right: 0;
    }

        .accordion .collapse .card-body .item {
            padding-bottom: 8px;
        }


.accordion .collapsing .card-body {
    padding-top: 8px;
    padding-bottom: 8px;
    padding-left: 16px;
    padding-right: 16px;
}

    .accordion .collapsing .card-body .item {
        padding-bottom: 8px;
    }

.accordion > .card:first-of-type {
    border-bottom: 1px solid #e8e8e8;
}

.accordion > .card:nth-child(2) {
    border-top: 0;
}

.pagination {
    /* Centering on desktop */
    align-content: center;
    justify-content: center;
}

.page-link {
    padding: 2px 8px;
    background-color: inherit;
}

.pagination .page-item {
    padding-right: 2.5px;
}

    .pagination .page-item.prev .page-link, .pagination .page-item.next .page-link {
        font-family: Thongterm-Roman;
    }

    .pagination .page-item .page-link {
        font-family: Thongterm-Bold;
        font-size: 16px;
        /*line-height: 26px;*/
        font-style: normal;
        font-stretch: normal;
        letter-spacing: normal;
        text-align: center;
        border: 0px;
        color: #545454;
        border-radius: 50%;
    }

        .pagination .page-item .page-link:hover {
            background-color: inherit;
        }

        .pagination .page-item .page-link:active,
        .pagination .page-item .page-link:focus {
            box-shadow: none;
        }

    .pagination .page-item.active .page-link {
        background-color: #ffd400;
        padding: 2px 7px;
    }

    .pagination .page-item.prev .page-link:hover,
    .pagination .page-item.next .page-link:hover {
        background-color: transparent;
    }
/* ---- Modal Customize Begin */
.modal {
    max-height: 100%;
    border-radius: 3px;
}

    .modal .dialog {
        width: 970px;
        height: 740px;
        max-height: 95%;
        background-color: #ffffff;
        box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.3);
    }
/* ---- Modal Customize End */
.table-responsive {
    max-width: 100%;
    width: 100%;
    position: relative;
}
/* Desktop and Tablet */
@media screen and (min-width: 768px) {
    .table-responsive {
        display: table;
        width: 100%;
    }
}
/* Mobile sm */
@media screen and (max-width: 768px) and (min-width: 576px) {
    .col-sm-6 {
        width: 50%;
    }

    .table.ks-exhange-preview {
        border: 0px;
    }

        .table.ks-exhange-preview thead th {
            font-family: Krungsri;
            font-size: 14px;
            font-weight: bold;
        }

        .table.ks-exhange-preview tbody td {
            font-family: Thongterm;
            font-size: 14px;
            font-weight: bold;
        }

            .table.ks-exhange-preview tbody td:nth-child(1) {
                text-align: left;
            }
}
/* Mobile xs */
@media screen and (max-width: 576px) {
    .d-xs-block {
        display: block !important;
    }

    .col-xs-4 {
        -ms-flex: 0 0 33.333333%;
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }

    .col-xs-5 {
        width: 49%;
    }

    .col-xs-6 {
        width: 50%;
    }

    .table.ks-exhange-preview {
        border: 0px;
    }

        .table.ks-exhange-preview thead th {
            font-family: Krungsri;
            font-size: 14px;
            font-weight: bold;
        }

        .table.ks-exhange-preview tbody td {
            font-family: Thongterm;
            font-size: 14px;
            font-weight: bold;
        }

            .table.ks-exhange-preview tbody td:nth-child(1) {
                text-align: left;
            }
}
/* Mobile xs and sm */
@media screen and (max-width: 767px) {


    .radio-inline {
        display: block;
    }

    .checkbox-inline {
        display: block;
    }
}

.icon-text {
    margin: -40px 15px;
    float: right;
    /*
  .padding--left {
  margin: -50px;
}
  */
}
