﻿@font-face {
    font-family: 'THSarabunPSK';
    src: url('../../Font/THSarabunPSK.eot') format('embedded-opentype'), url('../../Font/THSarabunPSK.woff') format('woff'), url('../../Font/THSarabunPSK.ttf') format('truetype'), url('../../Font/THSarabunPSK.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'THSarabunPSK', sans-serif !important;
    padding-bottom: 0px;
    margin-bottom: 0px;
    position: relative;
    background: transperent;
    font-size: 24px;
    letter-spacing: 0.5px;
    min-height: 100vh;
    overflow-x:hidden;
}

body.front-bg:before {
    content: '';
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: url(../Image/photo/main-bg.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    position: absolute;
    z-index: -2;
}
       
/*.body-page {
    min-height: calc(100vh - 147px);
}*/

.full-width.container {
    width: 100% !important;
    max-width: 100%;
}

.hidden {
    display: none;
}

html {
    scroll-behavior: smooth;
}

/*.custom-scrollbar-css::-webkit-scrollbar {
    width: 6px;
}

.custom-scrollbar-css::-webkit-scrollbar {
    height: 6px;
}

.custom-scrollbar-css::-webkit-scrollbar-track {
    background: #e3e3e3;
}

.custom-scrollbar-css::-webkit-scrollbar-thumb {
    border-radius: 1rem;
    background-color: #737373;
}*/

p, h1, h2, h3, h4, h5, h6 {
    margin-bottom: 5px;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    font-weight: bold !important;
}
.h4, h4 {
    font-size: 24px;
}
a {
    color: #484848;
    transition: all ease .3s;
}

a:hover {
    color: #5d94ff;
    text-decoration: none;
}

button:focus {
    outline: 0px auto -webkit-focus-ring-color;
}

input:-webkit-autofill::first-line {
    font-family: 'THSarabunPSK', sans-serif;
    font-size: 18px;
}

section {
    padding: 40px 0px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/

.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */

.img-100 {
    width: 100%;
}

.img-icon {
    height: 20px;
    margin-top: -2px;
}

.mt-30 {
    margin-top: 30px;
}

.mt-20 {
    margin-top: 20px;
}

.mt-10 {
    margin-top: 10px;
}

.mt-5 {
    margin-top: 5px;
}

.p-0 {
    padding: 0px;
}

.clear-none {
    clear: none;
    flex: none;
    float: left;
}

.item-middle {
    display: flex !important;
    justify-content: center;
    align-items: center;
}

.ul-nonestyle {
    list-style: none;
    margin: 0px;
    padding: 0px;
}

ul.item-2-col li {
    width: 50%;
    padding: 5px;
    display: inline-block;
    float: left;
    clear: none;
}

ul.item-3-col li {
    width: 33.33333333%;
    padding: 5px;
    display: inline-block;
    float: left;
}

ul.item-4-col li {
    width: 25%;
    padding: 5px;
    display: inline-block;
    float: left;
}

.text-red-b {
    color: #db3545;
    font-weight: bold;
    font-size: 22px;
}

.text-green-b {
    color: #68ce00;
    font-weight: bold;
    font-size: 22px;
}

/*--------button theme--------*/
.btn {
    font-size: 21px !important;
    letter-spacing: 0.8px;
    transition:all ease .3s;
}
.btn.focus, .btn:focus {
    outline: 0;
    box-shadow: 0 0 0 1px rgb(204 204 204 / 25%);
}

.btn-main {
    background: #DB5F8E;
    min-width: 100px;
    border-radius: 5px;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2);
    border: none;
    font-weight: bold;
    color: #fff !important;
    margin: 10px 5px 0px;
    font-size: 18px;
    letter-spacing: 0.8px;
    cursor: pointer;
}

.btn-main:hover {
    background: #c34172;
    color: #fff !important;
    box-shadow: none;
}

.btn-border {
    background: transparent;
    min-width: 100px;
    border: 1px solid #DB5F8E;
    border-radius: 5px;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.1);
    font-weight: bold;
    color: #DB5F8E !important;
    margin: 10px 5px 0px;
    font-size: 18px;
    letter-spacing: 0.8px;
    cursor: pointer;
}

.btn-border:hover {
    background: #DB5F8E;
    color: #fff !important;
    box-shadow: none;
}

.btn-border:hover img {
    filter: brightness(0) invert(1);
}


.btn-save {
    background: #19cea3;
    min-width: 100px;
    border-radius: 5px;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2);
    border: none;
    font-weight: bold;
    color: #fff !important;
    margin: 10px 5px 0px;
    font-size: 18px;
    letter-spacing: 0.8px;
    cursor: pointer;
}
.btn-save:hover {
    background: #00b489;
}
.btn-white {
    background: #fff;
    min-width: 100px;
    border-radius: 5px;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2);
    border: none;
    font-weight: bold;
    color: #C82663 !important;
    margin: 10px 5px 0px;
    font-size: 18px;
    letter-spacing: 0.8px;
    cursor: pointer;
}

.btn-white:hover {
    background: #c34172;
    color: #fff !important;
    box-shadow: none;
}

.btn-gray {
    background: #989898;
    min-width: 100px;
    border-radius: 5px;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2);
    border: none;
    font-weight: bold;
    color: #fff !important;
    margin: 10px 5px 0px;
    font-size: 18px;
    letter-spacing: 0.8px;
    cursor: pointer;
}

    .btn-gray:hover {
        background: #646464;
        color: #fff !important;
        box-shadow: none;
    }

.btn-approve {
    background: #1e90ff;
    min-width: 100px;
    border-radius: 5px;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2);
    border: none;
    font-weight: bold;
    color: #fff !important;
    margin: 10px 5px 0px;
    font-size: 18px;
    letter-spacing: 0.8px;
    cursor: pointer;
}

    .btn-approve:hover {
        background: #007dfb;
        color: #fff !important;
        box-shadow: none;
    }

.btn-cancel {
    background: #d14647;
    min-width: 100px;
    border-radius: 5px;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2);
    border: none;
    font-weight: bold;
    color: #fff !important;
    margin: 10px 5px 0px;
    font-size: 18px;
    letter-spacing: 0.8px;
    cursor: pointer;
}

.btn-cancel:hover {
    background: #b82e2e;
    color: #fff !important;
    box-shadow: none;
}

.btn-back {
    padding:3px 8px;
    color: #DB5F8E !important;
    font-weight: bold;
    cursor: pointer;
}
.btn-back .img-icon {
    transition:all ease .3s;
}
.btn-back:hover {
    filter:grayscale(1);
}
.btn-back:hover .img-icon{
    margin-left:-5px;
    margin-right:5px;
}

.btn-left {
    padding: 3px 8px;
    color: #DB5F8E !important;
    font-weight: bold;
    cursor: pointer;
}

.btn-left .img-icon {
transition: all ease .3s;
}

.btn-left:hover {
filter: grayscale(1);
}

.btn-left:hover .img-icon {
    margin-left: -5px;
    margin-right: 5px;
}

.detail-tools .btn-tools {
    display: inline-block;
    width: 32px;
    height: 30px;
    padding: 0px;
    border-radius: 8px;
    text-align: center;
    float: left;
    clear: none;
    margin-right: 4px;
}

.btn-tools.edit {
    background: #eca12f;
}

.btn-tools.delete {
    background: #d24113;
}

.btn-tools.view {
    background: #e18baa;
}
.btn-tools.claim {
    background: #da3071;
}
.btn-tools.unclaim {
    background: #888;
}
.btn-tools.unlock {
    background: #da3071;
}
.btn-tools.complete {
    background: #eca12f;
}
.btn-tools.success {
    background: #32ba7c;
}
.btn-tools.success:hover {
    background: #008e4c;
}
.btn-tools:hover {
    background: #646464;
}

.btn.mini {
    min-width: 50px;
}

.link-gray {
    color:#989898;
    text-decoration:underline;
}
.link-gray:hover {
    color: #c34172;
    text-decoration:underline;
}
.detail-tools .btn-tools .img-icon {
    height: 19px;
    margin-top: 5px;
}

.lines {
    display: inline-block;
    height: 2px;
    width: 16px;
    border-radius: 4px;
    transition: 0.3s;
    position: relative;
}

    .lines, .lines:before, .lines:after {
        background-color: #002784 !important;
    }

        .lines:before, .lines:after {
            display: inline-block;
            height: 2px;
            border-radius: 4px;
            transition: 0.3s;
            content: '';
            position: absolute;
            left: 0;
            -webkit-transform-origin: 2.85714px center;
            transform-origin: 2.85714px center;
            width: 100%;
        }

        .lines:before {
            top: 5px;
        }

        .lines:after {
            top: -5px;
        }

/*---------------Main-Menu---------------*/
.navbar {
    background: #fff;
    box-shadow: 3px 2px 4px rgba(0,0,0,0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    margin-bottom: 30px;
    position: fixed;
    top: 0px;
    z-index: 999;
    display: inline-block;
    width: 100%;
}

    .navbar a.navbar-brand {
        margin-top: 0px;
        margin-bottom: 0px;
        padding: 0px !important;
    }

.navbar-brand .logo {
    height: 58px;
}

.navbar .navbar-collapse {
    margin-left: 4%;
    margin-top: 30px;
    height: 28px;
}

.navbar-nav .nav-link {
    padding: 0px 14px !important;
    font-weight: bold;
    cursor: pointer;
}

.navbar-nav .nav-link:hover, .navbar-nav .active .nav-link {
    color: #DE5C8E !important;
}
/*---------------Main-Menu Right---------------*/
.navbar .menu-right {
    float: right;
    display: inline-block;
    padding: 0px 5px;
    bottom: 0px;
    position: absolute;
    right: 10px;
    bottom: 6px;
}

    .navbar .menu-right .text-user-name {
        display: inline-block;
        float: left;
        font-weight: bold;
        padding: 5px 13px;
        font-size: 20px;
        color: #DE5C8E;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 1;
        max-width: 180px;
        text-align: right;
    }

    .navbar .menu-right .menu-text {
        color: #d2467c;
        background: #ffcce2;
        display: inline-block;
        float: left;
        position: relative;
        padding: 0px 25px 0px 20px;
        font-weight: bold;
        border-radius: 20px 0 0 20px;
        height: 41px;
        margin-right: -20px;
    }

    .navbar .menu-right .menu-icon {
        color: #737373;
        padding: 0px 10px;
        /* background: #fff;
    box-shadow: -3px 0px 5px rgb(219 95 142 / 10%);
    border-radius: 20px;*/
        display: inline-block;
        float: right;
        z-index: 1;
        position: relative;
        border-left: 1px solid #ccc;
    }

        .navbar .menu-right .menu-icon span, .navbar .menu-right .menu-text span {
            font-size: 20px;
            /*line-height: 30px;*/
            margin-top: 3px;
            margin-right: 8px;
            font-weight: bold;
            display: inline-block;
            float: left;
        }

        .navbar .menu-right .menu-icon:hover span {
            color: #DE5C8E;
        }

        .navbar .menu-right .menu-icon img {
            filter: grayscale(100%);
        }

        .navbar .menu-right .menu-icon:hover img {
            filter: grayscale(0%);
        }


/*Menu dropdown*/
.dropdown > .nav-link:after {
    content: '';
    position: absolute;
    background-image: url(../../Image/icon/down-arrow-g.png);
    background-position: center;
    background-size: 100%;
    background-repeat: no-repeat;
    top: 39%;
    height: 8px;
    width: 8px;
    z-index: 2;
    right: 2px;
}

.dropdown-menu {
    background-position: right bottom;
    background-repeat: no-repeat;
    min-width: 230px;
    top: 60px;
    background: rgba(255 255 255/ 98%);
    border: 0;
    color: #000;
    left: 2%;
    margin: 0;
    margin-top: -6px;
    border-radius: 0px;
    box-shadow: 0 5px 10px rgb(0 0 0 / 10%);
    padding: 0px;
    position: absolute;
    display: block;
    opacity: 0;
    font-size: 1.3rem;
    visibility: hidden;
    transition: all ease .3s;
    border: none;
}

.navbar-collapse > ul > li:not(.hover-active):hover > ul {
    opacity: 1;
    visibility: visible;
    animation: fade-in-out .3s ease;
    top: 42px;
}

.dropdown > .dropdown-menu > .nav-item {
    display: block;
    padding: 0px;
    transition: all ease .1s;
}

.dropdown > .dropdown-menu .nav-item:hover {
    background: #fdeff5;
    font-weight: bold;
}

.dropdown .dropdown-menu > .nav-item > a {
    padding: 6px 11px;
    display: block;
    font-weight: bold;
    color: #737373 !important;
    cursor: pointer;
}

.dropdown .dropdown-menu > .nav-item > a:hover {
    color: #e06796 !important;
}





/*---------------Form Page---------------*/
img.logo {
    height:80px;
}
.head h1 {
    font-size:2.25rem;
    color: #C82663;
    font-weight: bold;
    margin-bottom: 20px;
}
.head h2, .head h3 {
    color: #C82663;
    margin-bottom: 20px;
}

span.newline br{
    display:none;
}
.head .btn-group {
    position: absolute;
    right: -5px;
    bottom: -10px;
    display: inline-block;
}

.head .btn-group .btn {
    z-index: 0;
}

.title-page h3 {
    color: #C82663;
    font-weight: bold;
    margin-bottom: 20px;
}
.form-frame h2 {
    color: #C82663;
}
.form-frame {
    display: inline-block;
    width: 100%;
    background: rgba(255,255,255,0.5);
    box-shadow: 0px 0px 10px rgba(0,0,0,0.1);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    border-radius: 10px;
    min-height: 450px;
    margin: 0 auto;
    /*overflow: hidden;*/
}
.form-frame .btn-back {
    position: absolute;
    right: 15px;
    top: 5px;
    z-index:1;
}

.form-frame .btn-left {
    position: absolute;
    left: 0px;
    top: 5px;
    z-index: 1;
}

.box-bg-pink {
    background: linear-gradient(168deg, #fbe8f0 30%, #ffdae8 100%);
    min-height: 100%;
}
.box-bg-pink .inner {
    padding:20px 15px;
}
    .form-group {
    margin-bottom: 3px;
    position: relative;
}

    .form-group label {
        color: #646464;
        font-weight: bold;
        letter-spacing: 1px;
        margin-bottom: 3px;
    }

    .form-group input{
        border-color: #d3d3d3;
        font-size: 24px;
    }

.form-control {
    height: 40px;
    padding: 3px 10px;
    font-size: 22px;
}

    .form-control:focus {
        color: #495057;
        background-color: #fff;
        border-color: #f2f8ff;
        outline: 0;
        box-shadow: 0 0 0 2px rgb(224 145 175 / 0.75);
    }

    .form-control:disabled, .form-control[readonly] {
        background-color: #fff;
        border: none;
        box-shadow: none !important;
    }

.frame-image {
    display: inline-block;
    background: #fff;
    min-height: 135px;
    width: 100%;
    border-radius: 10px;
    padding: 10px 15px;
    margin: 10px 0px;
}

    .frame-image label {
        color: #737373;
        font-weight: bold;
        letter-spacing: 1px;
    }

    .frame-image ul.detail-note {
        margin-left: 20px;
        margin-bottom:10px;
    }

        .frame-image ul.detail-note li, .detail-note span {
            font-size: 19.5px;
            line-height: 22px;
            color: #e06796;
        }

    .frame-image .dropzone-border {
        display: inline-block;
        width: 100%;
        border: dashed 3px #ccc;
        min-height: 135px;
        max-height: 270px;
        overflow: hidden;
        border-radius: 10px;
        position: relative;
        text-align: center;
        cursor: pointer;
    }

    .frame-image img {
        width: auto;
        max-width: 100%;
        max-height: 270px;
    }

    .frame-image span.text {
        position: absolute;
        top: 42%;
        left: 0px;
        width: 100%;
        text-align: center;
        color: #DB5F8E;
        font-size: 28px;
        font-weight: bold;
    }

        .frame-image span.text img {
            height: 30px;
        }

.form-control.selectize-control {
    height:40px!important;
}
.form-control .selectize-input {
    min-height: 40px;
    padding: 3px 10px;
}
/*--------------Home--------------*/
ul.menu {
    margin-top: 30px;
    margin-bottom: 30px;
}
ul li.menu-item {
    width:80%;
    min-width:300px;
    display:table;
    margin:0px auto 15px;
    
}
ul li.menu-item a {
    font-weight: bold;
    width: 100%;
    display: inline-block;
    text-align: center;
    padding: 8px 15px;
    background: #eb7ba6;
    border-radius: 10px;
    color: #fff;
    box-shadow: inset -3px -3px 10px rgb(0 0 0 / 20%);
    line-height: 1.9rem;
}

    ul li.menu-item a:hover {
        width: 100%;
        background: #d24e80;
        box-shadow: inset 3px 3px 10px rgb(0 0 0 / 30%);
        box-shadow: none;
    }

    ul li.menu-item.disable a {
        background: #b3a6ab !important;
        cursor: default;
    }
/*--------------Register--------------*/
.box-content {
    padding:40px 10px 0px;
    min-height:360px;
}
.box-content ul > li {
    display:inline-block;
    margin:15px 5px 5px;
}
.box-white {
    background: #fff;
    box-shadow: 0px 0px 10px rgb(0 0 0 / 10%);
    padding: 10px;
    display: inline-block;
    border-radius: 10px;
}
.btn-img img {
    box-shadow: 0px 0px 10px rgb(0 0 0/ 40%);
    transition: all ease .2s;
    border-radius: 5px;
}
.btn-img:hover img {
    transform: scale(.96);
    box-shadow: 0px 3px 3px rgb(219 95 142/ 70%);
}
/*------------Checkbox Style-----------*/
.checkbox-group {
    margin: 8px 0;
}

.form-check-input {
    margin-left: -15px;
    opacity: 0;
}

label.check-custom {
    padding-left: 15px;
    font-weight: 600;
    font-size: 22px;
}

label.check-custom:after {
    content: "";
    position: absolute;
    border: 1px solid #aaa;
    background: #eee;
    height: 20px;
    width: 20px;
    left: 3px;
    top: 7px;
    border-radius: 3px;
}

label.check-custom:before {
    position: absolute;
    content: '';
    background-image: url('../Image/icon/check-w.png');
    background-size: 14px;
    background-repeat: no-repeat;
    background-position: center;
    display: none;
    width: 20px;
    height: 20px;
    left: 3px;
    top: 7px;
    z-index: 1;
}

input[type="checkbox"]:checked ~ label.check-custom:after,
input[type="checkbox"]:checked ~ label.check-custom:before {
    display: block;
}

input[type="checkbox"]:checked ~ label.check-custom:after {
    background: #db5f8e;
    border: none;
}

/*input[type="checkbox"].checkbox {
    position: absolute;
    top: 5px;
    height: 18px;
    width: 18px;
    opacity: 0;
    z-index: 1;
}

.checkboxmark {
    width: 20px;
    height: 20px;
    background: #DEDEDE;
    border: 1px solid #ccc;
    border-radius: 5px;
    top: 4px;
    display: inline-block;
    position: absolute;
}

    .checkboxmark img {
        display: none;
        height: 16px;
        margin: 1px auto 0px;
    }

input[type="checkbox"]:checked.checkbox ~ .checkboxmark img {
    display: block;
}

input[type="checkbox"]:checked.checkbox ~ .checkboxmark {
    background: #db5f8e;
    border: 1px solid #db5f8e;
}*/

/*------------Radio Style-----------*/
.radio {
    display: table;
    margin: 0 auto;
    line-height: 20px;
}

    .radio input[type="radio"] {
        position: absolute;
        opacity: 0;
    }

    .radio label span.img-circle {
        width: 24px;
        height: 24px;
        background: #fff;
        border: 1px solid #ccc;
        border-radius: 50%;
        margin-top: 3px;
        display: inline-block;
        position: relative;
    }

    .radio label {
        margin-bottom: 0px;
        cursor: pointer;
    }

        .radio label span.img-circle:before {
            position: absolute;
            content: '';
            background-image: url('../Image/icon/check-w.png');
            background-size: 14px;
            background-repeat: no-repeat;
            background-position: center;
            display: none;
            width: 24px;
            height: 24px;
            left: -1px;
            top: -1px;
            z-index: 1;
        }

        .radio label span.img-circle:after {
            content: "";
            position: absolute;
            height: 24px;
            width: 24px;
            left: -1px;
            top: -1px;
            border-radius: 50%;
        }

    .radio input[type="radio"]:checked ~ label span.img-circle:after,
    .radio input[type="radio"]:checked ~ label span.img-circle:before {
        display: block;
    }

    .radio input[type="radio"]:checked ~ label span.img-circle:after {
        background: #db5f8e;
        border: 1px solid #db5f8e;
    }

    .radio label p.show-m {
        margin-bottom: 0px;
        display: none;
    }


/*------------------------------------------ 
    Search & Table Style
--------------------------------------------*/
.head-search {
    margin-bottom: 15px;
}

    .head-search .form-frame {
        min-height: 100px !important;
    }

    .head-search .status-filter {
        margin-top: 20px;
        border: 1px solid #E18BAA;
        display: inline-block;
        width: 100%;
        border-radius: 10px;
        padding: 10px;
        position: relative;
    }

        .head-search .status-filter label.title {
            position: absolute;
            top: -15px;
            left: 10px;
            font-weight: bold;
            padding: 0px 8px;
            line-height: 25px;
            border-radius: 10px;
            z-index: 1;
        }

            .head-search .status-filter label.title:before {
                z-index: -1;
                content: '';
                position: absolute;
                background: #f9f2f6;
                width: 100%;
                height: 1px;
                top: 14px;
                left: 0px;
            }

.status-filter ul > li {
    position: relative;
}

    .status-filter ul > li label {
        padding-left: 30px;
    }

.btn-search-group {
    text-align: right;
    float: right;
    width: 180px;
}

    .btn-search-group .btn {
        margin-top: 0px
    }


.btn-add-group {
    width: 100%;
    display: inline-block;
    text-align: right;
    margin-bottom: 20px;
    float: left;
}

    .btn-add-group .btn {
        margin-top: -20px;
    }

/* -------- Search Table Resoult --------- */
.search-result {
    padding: 5px 20px;
}

    .search-result .table-frame, .search-result .table-frame-block {
        width: 100%;
    }

    .search-result table {
        overflow: hidden;
        border-radius: 5px;
        width: 100%;
    }

    .search-result .table-frame table {
        width: 100%;
    }

.limit-view {
    min-height:250px;
    max-height: 380px;
    /* height: calc(100vh - 380px); */
    overflow-y: auto;
    overflow-x: hidden;
    width: 100%;
    vertical-align: top;
    display: block;
}

.limit-view-popup {
    height: 300px;
    /* height: calc(100vh - 380px); */
    overflow-y: auto;
    overflow-x: hidden;
    width: 100%;
    vertical-align: top;
    display: block;
}

.search-result table .topic th,
.search-result table .detail td {
    display: inline-block;
    padding: 6px 5px;
    float: left;
    clear: none;
    font-size:22px;
    line-height: 22px;
}

.search-result table .topic th {
    padding: 8px 5px;
}

.search-result table .topic {
    border-radius: 8px 0px 0px 0px;
    background: #E18BAA;
    color: #fff;
}

.search-result .detail {
    border: 1px solid #f7f7f7;
    border-bottom: 3px dashed #eee;
}

    .search-result .detail tr {
        position: relative;
        transition: all ease 0.3s;
        cursor: pointer;
        width: 100%;
        display: inline-block;
    }

        .search-result .detail tr:nth-child(odd) {
            background: #fff;
        }

        .search-result .detail tr:nth-child(even) {
            background: #f1f1f1;
        }

        .search-result .detail tr:hover {
            background: #fbd6e3;
            font-weight: bold;
            z-index: 2;
        }

.search-result .topic.topic-mobile {
    display: none;
}

.search-result .detail.detail-mobile span.text-topic {
    display: none;
    font-size: 20px;
    font-weight: bold;
    width: 100px;
    position: absolute;
    left: 5px;
}

.show-m {
    display: none;
    margin-right: 10px;
}

.search-result .topic .topic-tools, .search-result .detail .detail-tools {
    width: 88px;
    float: left !important;
    text-align: left;
    padding: 2px 5px 3px;
}

/* -------- Footer Search --------- */
.footer-search {
    padding: 15px 30px 0px;
}

    .footer-search .status-data p {
        font-weight: bold;
        font-size: 18px;
        color: #737373;
    }

    .footer-search .page-number {
        text-align: right;
    }

        .footer-search .page-number ul {
            display: inline-block;
        }

            .footer-search .page-number ul li {
                float: left;
                text-align: center;
                width: 35px;
                height: 35px;
                /* border: 1px solid #c6d8ff; */
                display: flex;
                justify-content: center;
                align-items: center;
                overflow: hidden;
                cursor: pointer;
                border-right: none;
                border-radius: 5px;
                margin: 0px 1px;
            }

                .footer-search .page-number ul li a {
                    color: #737373;
                    font-weight: bold;
                    width:100%;
                }

                .footer-search .page-number ul li:nth-child(2) {
                    border-left: none;
                }

                .footer-search .page-number ul li:first-child, .footer-search .page-number ul li.PagedList-skipToPrevious {
                    /*border-radius: 30px 0px 0px 30px;*/
                    border: none;
                    font-weight: bold;
                    margin-right: 8px;
                }

                .footer-search .page-number ul li:last-child, .footer-search .page-number ul li.PagedList-skipToNext {
                    /*border-radius: 0px 30px 30px 0px;*/
                    border: none;
                    font-weight: bold;
                    margin-left: 8px;
                }

                    .footer-search .page-number ul li.PagedList-skipToPrevious a, .footer-search .page-number ul li.PagedList-skipToNext a {
                        color: #db5f8e;
                        font-size: 28px;
                    }

li.PagedList-skipToLast {
    border: none !important;
    /* background: #a5bef3; */
    border-radius: 50% !important;
    margin-left: 5px;
    font-weight: bold;
}

li.PagedList-skipToFirst {
    border: none !important;
    /* background: #a5bef3; */
    border-radius: 50% !important;
    margin-right: 5px;
    font-weight: bold;
}

.footer-search .page-number ul li span {
    display: inline-block;
    width: 100%;
    height: 35px;
    line-height: 35px;
    color: #db5f8e;
    font-weight: bold;
    transition: all ease .3s
}

.footer-search .page-number ul li:hover span, .footer-search .page-number ul li:focus span, .footer-search .page-number ul li:active span, .footer-search .page-number ul li.active span, .footer-search .page-number ul li:hover, .footer-search .page-number ul li:focus, .footer-search .page-number ul li:active, .footer-search .page-number ul li.active {
    background: #db5f8e;
    color: #fff;
}

    .footer-search .page-number ul li:hover a, .footer-search .page-number ul li:focus a, .footer-search .page-number ul li:active a, .footer-search .page-number ul li.active a {
        color: #fff;
    }

.footer-search .page-number ul li span.btn-arrow i, li.PagedList-skipToPrevious, li.PagedList-skipToNext {
    /* background: #a5bef3; */
    color: #fe9800;
    transition: all ease .3s;
    font-size: 38px;
}

.footer-search .page-number ul li span.btn-arrow img {
    margin-top: -2px;
}

.footer-search .page-number ul li.previous:hover,
.footer-search .page-number ul li.previous:focus,
.footer-search .page-number ul li.previous:active,
.footer-search .page-number ul li.next:hover,
.footer-search .page-number ul li.next:focus,
.footer-search .page-number ul li.next:active,
.footer-search .page-number ul li.previous:hover span,
.footer-search .page-number ul li.previous:focus span,
.footer-search .page-number ul li.previous:active span
.footer-search .page-number ul li.next:hover span,
.footer-search .page-number ul li.next:focus span,
.footer-search .page-number ul li.next:active span,
li.PagedList-skipToPrevious:hover,
li.PagedList-skipToNext:hover,
li.PagedList-skipToLast:hover,
li.PagedList-skipToFirst:hover {
    background: #f7d3e2 !important;
    color: #737373 !important;
}

li.PagedList-skipToPrevious:hover a,
li.PagedList-skipToNext:hover a {
    color: #737373!important;
}

.table-scroll {
    overflow-x: scroll;
}

.table-scroll table {
    min-width: 1200px;
    direction: ltr;
}


.search-result .table-scroll .detail, .search-result .table-scroll .topic {
    direction: rtl;
}
/*------------------------------------------ 
    End: Search & Table Style
--------------------------------------------*/


/*---------------Footer Layout--------------*/
footer {
   /* background: rgba(255,255,255,0.5);
    box-shadow: -3px 0px 4px rgb(0 0 0 / 8%);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);*/
    line-height: normal !important;
    font-size:16px;
    text-align:right;
    padding:3px 15px; 
    color:#989898;
    z-index:-1;
}

.btnGoTop {
    border-style: solid;
    border-radius: 25px;
    padding: 4px 7px 10px 7px;
    border-color: transparent;
    opacity: .8;
    background: linear-gradient(115deg, rgba(252, 137, 183, 1) 0%, rgba(159, 192, 246, 1) 50%, rgba(227, 239, 255, 1) 100%);
    margin-bottom: 12px;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    border: none;
    outline: none;
    cursor: pointer;
    height: 40px;
    width: 40px;
    box-shadow: 3px 3px 3px #c5aadc, 10px 10px 15px rgb(0 0 0 / .2);
    transition: all ease .3s;
    text-align: center;
    overflow: hidden;
}

    .btnGoTop img {
        position: absolute;
        left: 8px;
        top: 8px;
        height: 22px;
    }

    .btnGoTop:before {
        content: '';
        position: absolute;
        background: #44dac5;
        height: 0;
        width: 100%;
        left: 0px;
        top: 100px;
        transition: all ease .3;
        opacity: 0;
    }

    .btnGoTop:hover {
        opacity: .95;
    }

        .btnGoTop:hover:before {
            top: 0px;
            height: 100%;
            opacity: 1;
        }


/*-----------Notification-----------*/
.modal .modal-dialog {
    margin-top: 6%;
}

.modal-alert .modal-header, .modal-alert .modal-footer {
    border: none;
}

/*----------Modal Setting------------*/
.modal-setting .modal-header, .modal-setting .modal-footer {
    background: #f7d8e4;
}

.modal-setting .modal-body {
    background: #fffcfd;
}

/*.modal-setting .form-check-input {
    margin-left: -15px;
    opacity: 0;
}

.modal-setting label.check-custom {
    padding-left: 15px;
    font-weight: 600;
    font-size: 22px;
}

    .modal-setting label.check-custom:after {
        content: "";
        position: absolute;
        border: 1px solid #aaa;
        background: #eee;
        height: 20px;
        width: 20px;
        left: 3px;
        top: 7px;
        border-radius: 3px;
    }

    .modal-setting label.check-custom:before {
        position: absolute;
        content: '';
        background-image: url('../Image/icon/check-w.png');
        background-size: 14px;
        background-repeat: no-repeat;
        background-position: center;
        display: none;
        width: 20px;
        height: 20px;
        left: 3px;
        top: 7px;
        z-index: 1;
    }

.modal-setting input[type="checkbox"]:checked ~ label.check-custom:after,
.modal-setting input[type="checkbox"]:checked ~ label.check-custom:before {
    display: block;
}

.modal-setting input[type="checkbox"]:checked ~ label.check-custom:after {
    background: #db5f8e;
    border: none;
}*/

.modal .modal-fullsize {
    max-width: 90% !important;
    margin: 1.5rem auto;
}

.modal .modal-footer {
    padding: 5px 15px;
}

.otp-input {
    margin-bottom: 25px;
}

    .otp-input .form-control {
        position: relative;
        -webkit-transition: none;
        transition: none;
        width: 35px;
        height: 40px;
        text-align: center;
        display: inline-block;
        margin: 2px;
        font-size: 28px;
        line-height: 36px;
        border-color: #ffaccc;
        box-shadow: 0 0 0 2px rgb(224 145 175 / 50%);
    }

        .otp-input .form-control:focus {
            color: #3F4254;
            background-color: #ffffff;
            border-color: #884377;
            outline: 0;
        }

        .otp-input .form-control.form-control-solid {
            background-color: #ffffff;
            /* border: none;
            border-bottom: 2px solid;
            border-color: #e2a0ba;*/
            color: #3F4254;
            transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
        }

            .otp-input .form-control.form-control-solid:active,
            .otp-input .form-control.form-control-solid.active,
            .otp-input .form-control.form-control-solid:focus,
            .otp-input .form-control.form-control-solid.focus {
                background-color: #EBEDF3;
                border-color: #EBEDF3;
                color: #3F4254;
                transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
            }

/*------------Error page------------*/
.error_detail {
    position: relative;
    height: auto;
    min-height: calc(100vh - 220px);
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}
.error_detail > .row {
    width:100%;
}
.lang-eng {
    font-size: 17px;
    color: #898989;
}
/*--------------------------------------------------------
    Start: Responsive
----------------------------------------------------------*/
@media (max-width: 1300px) {
    .navbar .navbar-collapse {
        margin-left: 3%;
    }

    .navbar-brand .logo {
        height: 50px;
    }

    .navbar-nav .nav-link {
        padding-left: 10px !important;
    }

    .navbar .menu-right .text-user-name {
        max-width: 120px;
    }
}

    @media (max-width: 1199px) and (min-height: 769px) {
    }

    @media (max-width: 1199px) and (max-height: 769px) {
    }

    @media (max-width: 1199px) {
        .navbar-brand .logo {
            margin-left: 55px;
        }

        .navbar .menu-right {
            right: 0px;
        }

            .navbar .menu-right .text-user-name {
                margin-right: 5px;
            }

        .navbar-toggler {
            display: inline-block !important;
            position: absolute;
            left: 10px;
            bottom: 6px;
            top: auto;
            z-index: 100;
        }

        .navbar-expand-sm .navbar-collapse {
            background: #fff;
            width: 100%;
            z-index: 999;
            left: 0px;
            position: absolute;
            top: 65px;
            box-shadow: 0px 6px 6px rgb(0 0 0 / 8%);
            border-top: 1px solid#ecd5de;
            margin: 0px;
            height: auto;
        }

        .collapse:not(.show) {
            display: none !important;
        }

        .navbar-nav .nav-item .nav-link {
            padding: 8px 16px !important;
            border-top: 1px solid #f1f1f1;
        }

        .navbar-nav, .nav-item {
            display: inline-block;
            width: 100%;
        }

        .navbar .navbar-nav .dropdown-menu {
            position: relative;
            display: none;
            top: 0px !important;
            width: 100%;
            left: 0px;
        }

        .navbar .navbar-nav > li.dropdown.hover-active > ul {
            display: block;
            visibility: visible;
            opacity: 1;
            box-shadow: none;
        }

        .dropdown > .nav-link:after {
            top: 19px;
            right: 6px;
        }

        .dropdown > .dropdown-menu > .nav-item {
            padding-left: 22px;
        }


        /*---------- Search & Table Layout ----------*/
        /*.head-search, .body-search {
            min-width: 100% !important;
            flex: none;
        }

            .head-search .form-group, .head-search .status-filter {
                width: 40%;
                clear: none;
                float: left;
                padding: 0px 15px 15px 0px;
            }

            .head-search .status-filter {
                width: 60%;
                margin-bottom: 20px;
                padding: 15px;
            }

        .status-filter ul > li {
            display: inline-block;
            width: 33.33333333%;
            float: left;
        }

        .head-search .form-group.onlyme {
            position: absolute;
            top: 100px;
            left: 25px;
        }

        .head-search .btn-main {
            display: table;
            margin: 0 auto;
        }

        .btn-add-group .btn {
            display: table;
            margin: 0px;
        }*/
    }

    @media (max-width: 991px) {
        .sm-100 {
            max-width: 100%;
            /*flex:0px;*/
            width:100%;
        }

        .box-bg-pink {
            text-align: center;
            min-height: auto;
        }

        .form-frame.item-middle {
            display: inline-block !important;
        }

        .form-frame {
            min-height: 150px;
        }
        /*-----------Search & Table Layout block-----------*/
        .search-result .table-frame-block table .topic {
            display: none !important;
        }

        .search-result .table-frame-block .topic.topic-mobile,
        .search-result .table-frame-block .topic.topic-mobile tr,
        .search-result .table-frame-block .topic.topic-mobile th {
            display: inline-block !important;
            width: 100%;
        }

        .search-result .detail tr {
            padding-top: 10px;
            padding-bottom: 30px;
        }

        .search-result table .detail td {
            padding: 3px 5px;
        }

        .table-frame-block .detail td {
            width: 100% !important;
            display: inline-block;
            float: left;
            clear: none;
            /*padding-left: 105px !important;*/
            position: relative;
        }

            .table-frame-block .detail td:nth-child(2n+1) {
                clear: left;
            }

        .table-frame-block .detail .detail-tools {
            width: 88px !important;
            position: absolute;
            right: -2px;
            bottom: -4px;
        }

        .search-result .table-frame-block .detail .detail-tools {
            padding-bottom: 10px;
        }

        .search-result .detail.detail-mobile span.text-topic {
            display: inline-block;
        }

        .show-m {
            display: inline-block;
        }

        .search-result .detail .detail-name, .search-result .table-frame-block .detail .detail-tools {
            padding-left: 5px !important;
        }

        /*---------- Search & Table Layout----------*/
        /*.status-filter ul > li {
        width: 50%;
    }

    .detail-group {
        max-width: 100%;
    }

    .image-group {
        max-width: 65%;
        flex: none;
        margin: 0 auto;
    }*/
    }
    /* iPad*/
    @media (max-width: 769px) {
        body.front-bg .navbar .menu-right .menu-icon span {
            display: inline-block !important;
        }
        /*----------Face Scan----------*/
        /*.face-scan .frame-camera {
            max-width: 600px;
        }*/

        /*----------Search & Table Layout----------*/
        /*.table-frame {
            overflow-x: auto;
        }

        .search-result .table-frame table {
            width: 110%;
        }

        .search-result .detail {
            direction: rtl;
        }

            .search-result .detail tr {
                direction: ltr;
            }*/
    }

    @media (max-width: 769px) and (max-height: 481px) {
    }

    @media (max-width: 767px) {
        .form-frame {
            margin-top: 20px;
            margin-bottom: 35px;
        }

        .box-bg-pink .inner {
            padding: 10px 5px;
        }

        span.newline br {
            display: block;
        }
        /*------------Home Page----------*/
        /*.home-page ul li.menu-item {
            width: 100%;
        }

            .home-page ul li.menu-item a {
                width: 100%;
                text-align: left;
                position: relative;
                min-height: 145px;
                display: flex;
                align-items: center;
            }

            .home-page ul li.menu-item img {
                position: absolute;
                left: 10px;
                top: 10px;
                width: auto;
                height: 120px;
                display: inline-block;
                margin-bottom: 0px;
            }

            .home-page ul li.menu-item h4 {
                width: auto;
                display: inline-block;
                padding-left: 150px;
                min-height: 30px;
                font-size: 24px;
            }*/

        /*----------Form----------*/
        /*.frame-image {
            margin: 20px 0px 15px;
            box-shadow: 0px 5px 10px rgb(0 0 0 / 0.06);
        }
        .image-group {
            max-width: 100%;
        }*/

        /*------------Face Scan----------*/
        /*.face-scan .frame-camera {
            max-width: 100%;
        }

            .face-scan .frame-camera .dropzone-border, .face-scan .frame-camera video {
                min-height: 348px;
            }*/

        /*----------Search & Table Layout----------*/
        /*.search-result .table-frame table {
            width: 130%;
        }

        .head-search .form-group {
            padding: 0px 15px;
        }
        .head-search .form-group.onlyme {
            position: relative;
            top: auto;
            left: auto;
            margin-top:0px!important;
        }
        .head-search .form-group, .head-search .status-filter {
            width: 100%;
        }

        .status-filter ul > li {
            width: 33.33333333%;
        }

        .footer-search .status-data,
        .footer-search .page-number {
            text-align: center;
        }*/

        /*------------Footer----------*/
        /*footer {
            padding: 10px 0px 10px !important;
            display: table;
            white-space: normal !important;
        }

        .copyright {
            padding: 3px 15px 3px 15px;
            width: 90%;
            text-align: center;
        }*/
    }
    /* Smartphone*/
    @media (max-width: 569px) {
        body.front-bg .navbar {
            min-height: 58px !important;
        }

        body.front-bg .navbar .logo-center, .navbar-brand .logo {
            height: 45px;
        }
        .navbar-expand-sm .navbar-collapse {
            top:57px;
        }


        body .front-bg a.navbar-brand {
            left: 15px !important;
        }

        .head h1 {
            font-size: 30px;
            margin-bottom: 20px;
        }

        /*.form-frame {
            width: 95%;
        }*/

        /*----------Search & Table Layout----------*/
        /*.search-result .table-frame table {
            width: 132%;
        }*/
        /*-----------Search & Table Layout block-----------*/
        /*.search-result .detail tr {
            padding-bottom: 10px;
        }
        .table-frame-block .detail td {
            width: 100% !important;
            display: inline-block;
            float: left;
            clear: none;
            padding-right: 45px !important;
        }

            .table-frame-block .detail td:nth-child(2n+1) {
                clear: none;
            }

        .search-result .table-frame-block .detail .detail-tools {
            width: 36px !important;
            position: absolute;
            top: 15px;
            right: 5px;
            padding: 0px !important;
        }
        .detail-tools .btn-tools {
            margin-bottom: 5px;
        }*/
        .footer-search .status-data {
            text-align:center;
            margin-bottom:10px;
        }
        .footer-search .page-number {
            text-align: center;
        }

        .footer {
            text-align: center;
            white-space: normal;
        }
    }

    @media (max-width: 481px) {
        /*.body-page {
            padding: 0px;
        }

        body.front-bg:after {
            content: '';
            position: absolute;
            width: 100%;
            height: 100%;
            bottom: -10px;
            left: 0px;
            background: linear-gradient(180deg, rgb(255 255 255 / 0)0%, rgb(255 255 255 / 1)70%);
            z-index: -1;
        }

        .form-frame {
            box-shadow: none;
        }

        .new-lines {
            display: block;
        }

        .head .btn-group {
            position: relative;
            right: auto;
            bottom: auto;
            display: inline-block;
            float: right;
        }

            .head .btn-group .btn {
                padding: 3px;
                margin-top: -8px;
                margin-bottom: 8px;
            }*/
        /*---------------Face Sacn---------------*/
        /* .face-scan .frame-camera .dropzone-border, .face-scan .frame-camera video {
            min-height: 207px;
        }

            .face-scan .frame-camera .dropzone-border:before {
                line-height: 28px;
            }

        .face-scan .frame-camera video {
            margin: 70px auto 0;
        }*/
        /*----------Search & Table Layout----------*/
        /*.search-result .table-frame table {
            width: 140%;
        }

        .status-filter ul > li {
            width: 50%;
        }*/
    }

    @media (max-width: 414px) {
    }
    /* iPhone6*/
    @media (max-width: 376px) {
        /*------------Home Page----------*/
        /*    .home-page ul li.menu-item {
            padding: 0px;
        }

            .home-page ul li.menu-item h4 {
                padding-left: 135px;
            }*/

        /*----------Search & Table Layout----------*/
        /*   .limit-view {
            height: 470px;
        }

        .status-filter ul > li {
            width: 100%;
        }
        .footer-search {
            padding: 0px 10px;
        }*/
        /*----------Face Scan----------*/
        /*    .face-scan .count-record {
            font-size: 24px;
        }

            .face-scan .count-record .reddot {
                color: red;
                font-size: 14px;
            }*/
    }
    /* iPhone4,5*/
    @media (max-width: 321px) {
        /*----------Home page----------*/
        /*.home-page ul li.menu-item h4 {
            font-size: 20px;
            padding-left: 128px;
        }*/

        /*----------Footer----------*/
        /*.copyright p {
            font-size: 16px;
        }
*/
        /*----------Search & Table Layout----------*/
        /*.search-result .table-frame table {
            width: 182%;
        }

        .limit-view {
            height: 380px;
        }*/
    }
    /*--------------------------------------------------------
    End: Responsive
----------------------------------------------------------*/
    .loading {
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        position: fixed;
        opacity: 0.7;
        background-color: #fff;
        z-index: 100;
        text-align: center;
        display: none;
    }

        .loading:before {
            position: absolute;
            content: '';
            height: 100%;
            width: 100%;
            left: 0px;
            top: 0px;
            background-image: url('/Image/loader.svg');
            background-position: 50% 47%;
            background-size: 80px;
            background-repeat: no-repeat;
        }

    .loading-text {
        position: absolute;
        top: 54%;
        left: 0px;
        display: inline-block;
        width: 100%;
        text-align: center;
        font-weight: bold;
        font-size: 22px;
    }

    ::-webkit-input-placeholder { /* Edge */
        color: #ccc !important;
    }

    :-ms-input-placeholder { /* Internet Explorer */
        color: #ccc !important;
    }

    ::placeholder {
        color: #ccc !important;
    }

    input::-webkit-outer-spin-button,
    input::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

    /* Firefox */
    input[type=number] {
        -moz-appearance: textfield;
    }

