*:not(i) {
    font-family: 'Sarabun';
    color: #444;
}

p {
    line-height: 1.8;
}

.popup {
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    position: fixed;
    z-index: 9999999999999;
    top: 0;
    left: 0;
    text-align: center;
    transition: 0.4s;
    opacity: 0;
    visibility: hidden;
}

.popup_inner {
    width: 400px;
    background: #fff;
    border-radius: 10px;
    display: inline-block;
    margin-top: 0;
    padding: 25px 15px;
    text-align: center;
    transition: 0.4s;
}

.popup_inner i {
    font-size: 50px;
}

.popup_inner b {
    display: block;
    margin-top: 20px;
    font-size: 16px;
}

.popup_inner b>font {
    font-size: 16px;
}


.success i {
    color: #87c654;
}

.alert i {
    color: #f37121;
}

.opened {
    opacity: 1;
    visibility: visible;
}

.opened .popup_inner {
    margin-top: 5%;
}

.popup_btn {
    margin-top: 20px;
}

.popup_btn .btn {
    width: 100%;
    font-size: 16px;
    margin-top: 10px;
}


body {
    background: #EFF4FB;
}

button {
    padding: 0;
    border: none;
    outline: none !important;
}

a {
    text-decoration: none !important;
}

.hide {
    display: none;
}


.card {
    background: #fff;
    border-radius: 10px;
    margin-bottom: 25px;
    padding: 40px 45px;
    position: relative;
    border: none;
    display: block;
}

.card_head {
    margin-bottom: 20px;
    text-align: left;
}

.card_head-text {
    font-size: 18px;
    font-weight: 500;
    display: inline-block;
    vertical-align: middle;
}

.card_head-icon {
    font-size: 20px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
    color: #9EAAD8;
    margin-left: 20px;
    margin-top: 5px;
}

.card_head-link {
    color: #006EFF;
    font-size: 18px;
    display: inline-block;
    font-weight: 500;
    margin-right: 20px;
}

.btn {
    border-radius: 35px;
    height: 50px;
    padding: 0;
    width: 200px;
    background: #4795FC;

    font-size: 18px;
    font-weight: 500;
    color: #fff !important;
}

.btn i {
    color: #fff;
    font-size: 20px;
    margin-right: 10px;
}

.btn.white {
    background: #fff;
    border: 1px solid #4795FC;
    color: #4795FC !important;

}



.btn.white i {
    color: #4795FC;

}

.btn.red {
    background: #FF8585;
}

.btn.green {
    background: #06C755;
}

.btn.greenwhite {
    background: #fff;
    border: 1px solid #06C755;
    color: #06C755 !important;
}


.btn.greenwhite i {
    color: #06C755 !important;
}


.btn.redwhite {
    background: #fff;
    border: 1px solid #FF8585;
    color: #FF8585 !important;

}



.btn.redwhite i {
    color: #FF8585;

}



.btn:disabled {
    cursor: not-allowed;
    background: #ebecf1;
}

.btn.block {
    display: block;
    width: 100%;
}



.btn_link {
    color: #aaa;
    display: inline-block;
    border: none;
    border-bottom: 1px solid #aaa;
    background: none;
    padding: 0;
    margin-top: 10px;
    font-size: 14px;
}

.formbox .popup_box {
    padding: 0;
    width: 600px;
}

.formbox_head {
    height: 88px;
    overflow: hidden;
}

.formbox_head>img {
    width: 100%;
    height: auto;
}

.formbox .card_profile-pic {
    margin-top: -28px;
    margin-bottom: 15px;
}

.formbox_name {
    margin-bottom: 25px;
}

.formbox_name>span {
    display: block;
    text-align: center;
    font-size: 18px;
    font-weight: normal;
    text-align: center;

}

.formbox_name>font {
    display: block;
    text-align: center;
    font-size: 13px;
    font-weight: 300;
    text-align: center;
    margin-top: 5px;
}

.formbox_bold {
    display: block;
    text-align: center;
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 30px;
}

.formbox_samibold {
    display: block;
    text-align: center;
    font-size: 16px;
    font-weight: normal;
    margin-top: 40px;
}

.formbox_form {
    display: inline-block;
    width: 80%;
    padding: 25px 0 40px;
    text-align: left;
}

.formbox_form label {
    font-size: 13px;
    font-weight: normal;
    margin-bottom: 8px;
    margin-left: 5px;
    display: block;
}

.formbox_form .form-group {
    position: relative;
}

.formbox_form textarea.form-control {
    height: 180px;
    padding: 20px;
    border-radius: 20px;
}

.formbox_form .form-control {
    border-radius: 35px;
    height: 50px;
    color: #444;
    padding: 0 20px;

    font-size: 14px;
}


.formbox_form-btn {
    margin-top: 40px;
}

.formbox_form-btn>a {
    display: inline-block;
    font-size: 16px;
    font-weight: 500;
    color: #FF8585;
    margin-top: 20px;
    text-decoration: underline !important;
}

.formbox_form-btn>.btn {
    width: 100%;
    height: 50px;
    margin: 0;
}

.formbox_form-btn>span {
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    color: #FF8585;
    margin-top: 15px;
}

.formbox_passview {
    position: absolute;
    width: 50px;
    height: 50px;
    right: 0;
    top: 29px;
    background: none;
}

.formbox_passview>i {
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    font-size: 15px;
    color: #444;
}

.formbox_passview>i.fa-eye-slash {
    display: none;
}

.formbox_passview.viewpass>i.fa-eye-slash {
    display: block;
}

.formbox_passview.viewpass>i.fa-eye {
    display: none;
}

.formbox-inner {
    width: 900px;
    max-width: 90%;
    border-radius: 35px;
    display: inline-block;
    padding: 0;
    overflow: hidden;
    margin-top: 3%;
    padding: 40px 0 0;
}

.formbox_link {
    display: inline-block;
    font-size: 14px;
    color: #444;
    margin-top: 5px;
}

.checkbox_group {
    display: inline-block;
    margin-right: 15px;
}

.checkbox_group input[type="radio"] {
    display: inline-block;
    width: 30px;
    height: 30px;
    margin-right: 0;
    vertical-align: middle;
}

.checkbox_group label {
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 0;
}


label>font {
    font-weight: bold;
    color: #d92027;
}

.groupdata {
    padding: 15px 0 0;
    margin: 25px 0 0;
}

.groupdata.event .row {
    margin-bottom: 40px;
}

.groupdata>b {
    font-size: 14px;
    margin-bottom: 20px;
    display: block;
}

.groupdata .row {
    margin-left: -7px;
    margin-right: -7px;
}

.groupdata .row>div {
    padding: 0 7px;
}

.groupdata .btn {
    width: 50px;
    background: #fff;
    border: 2px solid #4795FC;
    text-align: center;
}

.groupdata .btn.text {
    width: auto;
    background: #fff;
    border: 2px solid #4795FC;
    text-align: center;
    color: #006EFF !important;
    font-size: 16px;
    padding: 0 20px;
}

.groupdata .btn.red.text {
    color: #d92027 !important;
}

.groupdata .btn.text>i {
    font-size: 16px !important;
    margin-right: 5px;
}

.groupdata .btn>i {
    color: #4795FC;
    position: static;
    margin: 0;
    line-height: 48px;
}

.groupdata .btn.red {
    border: 2px solid #d92027;
}

.groupdata .btn.red>i {
    color: #d92027;
}

.gallery_box {
    width: 110px;
    height: 110px;
    display: inline-block;
    margin-right: 5px;
    border-radius: 5px;
    border: 1px dashed #aaa;
    padding: 5px;
    vertical-align: top;
    position: relative;
    margin-bottom: 10px;
}

.gallery_box img {
    width: 100%;
    height: 100%;
}

.gallery_box video {
    width: 100%;
    height: 100%;
}

.gallery_box .delpic {
    width: 25px;
    height: 25px;
    background: #fd717a;
    position: absolute;
    top: 5px;
    right: 5px;
    border-radius: 100%;
    border: none;
    padding: 0;
    text-decoration: none !important;
    z-index: 99;
}

.gallery_box .delpic>i {
    width: 25px;
    height: 25px;
    color: #fff;
    text-align: center;
    line-height: 25px;
}

.fileupload {
    width: 110px;
    height: 110px;
    border: 1px dashed #aaa;
    position: relative;
    border-radius: 5px;
    display: inline-block;
    vertical-align: top;
    margin-right: 5px;
}

.fileupload input[type="file"] {
    width: 110px;
    height: 110px;
    position: absolute;
    opacity: 0;
    z-index: 99;
    top: 0;
}

.fileupload img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    z-index: 98;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    padding: 5px;
}

.fileupload i {
    width: 110px;
    height: 110px;
    line-height: 110px;
    text-align: center;
    color: #aaa;
    font-size: 30px;
    z-index: 97;
}

.cover.fileupload {
    width: 250px;
    height: 250px;
}

.cover.fileupload i {
    width: 250px;
    height: 250px;
    line-height: 250px;
}

.cover.fileupload input[type="file"] {
    width: 250px;
    height: 250px;
}

.atho,
.atbranch {
    display: none;
}

.select2-container--default .select2-selection--single {
    border-radius: 35px;
    height: 50px;
    color: #444;
    padding: 0 20px;
    font-size: 14px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 49px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 0;
    bottom: 0;
    margin: auto;
}

.select2-search__field {
    height: 40px;
    outline: none;
}

.select2-container {
    width: 100% !important;
}

.prereport {
    width: 850px;
    text-align: center;
}



.prereport_icons {
    width: 60px;
    height: 60px;
    display: inline-block;
    border-radius: 100%;
    border: 3px solid #fd717a;
    margin-bottom: 15px;
}

.prereport_icons>i {
    color: #fd717a;
    line-height: 57px;
    font-size: 20px;
}

.prereport b {
    display: block;
    font-size: 16px;
    display: block;
    margin-bottom: 10px;
    margin-top: 15px;
}

.prereport b>font {
    color: #fd717a;
}

.prereport p>b {
    display: inline-block;
    margin: 0;
}

.prereport ul li {
    margin-bottom: 5px;
    line-height: 1.8;
    font-size: 15px;
}


.prereport p {
    display: block;
    font-size: 15px;
    margin-bottom: 25px;
}


.prereport p>a {
    color: #007BFF;
}


.prereport .scode {
    display: block;
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    color: #fd717a;
}

.prereport_logo {
    text-align: center;
    margin-bottom: 30px;
}

.prereport_logo>img {
    width: 230px;
}

.postsec_gallery-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9;
    background: rgba(0, 0, 0, 0.3);
}

.postsec_gallery-player>i {
    width: 100px;
    height: 100px;
    line-height: 100px;
    font-size: 50px;
    color: #fff;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    text-align: center;
}

.list {
    padding: 40px;
}


.table th {
    font-size: 14px;
    vertical-align: middle !important;
    border-top: none !important;
    border-bottom: none !important;
    background-image: linear-gradient(to right, #aaa 100%, rgba(255, 255, 255, 0) 0%);
    background-position: bottom;
    background-size: 11px 2px;
    background-repeat: repeat-x;
    font-weight: 500;
}

.table td {
    font-size: 14px;
    border-top: none !important;
    background-image: linear-gradient(to right, #aaa 50%, rgba(255, 255, 255, 0) 0%);
    background-position: bottom;
    background-size: 11px 1px;
    background-repeat: repeat-x;
    font-weight: normal;
    padding: 10px;
}

.table td>a {
    color: #4795FC;
}

.table td>p {
    text-align: left;
    margin-bottom: 5px;
}

.table .viewpost {
    background: none;
    display: inline-block;
}

.table .viewpost>i {
    width: 30px;
    height: 30px;
    font-size: 30px;
    color: #4795FC;
}

.reportdetail ul li {
    list-style: decimal;
    padding-left: 10px;
    margin-bottom: 15px;
}

.reportdetail ul li>p {
    margin-bottom: 10px;
    line-height: 1.8;
}

.reportdetail label {
    margin-left: 0 !important;
}

.reportdetail .scode {
    display: block;
    font-size: 25px;
    font-weight: bold;
    color: #fd717a;
}

.vdolist_upload {
    width: auto;
    border: 1px dashed #aaa;
    position: relative;
    border-radius: 5px;
    overflow: hidden;
    padding: 7px 10px;
    display: inline-block;
    margin-bottom: 10px;
    min-height: 40px;
    min-width: 532px;
}

.vdolist_upload>span {
    font-size: 14px;
    color: #aaa;
    display: inline-block;
    line-height: 20px;
}

.vdolist_upload>span>font {
    color: #d92027;
}

.vdolist_upload>i {
    font-size: 14px;
    color: #aaa;
    display: inline-block;
    margin-right: 5px;
}

.vdolist_upload input[type="file"] {
    width: 100%;
    height: 100%;
    position: absolute;
    opacity: 0;
    z-index: 99;
    top: 0;
}

.vdolist_link>a {
    display: inline-block;
    width: auto;
    text-decoration: underline !important;
    color: #006EFF;
    margin-top: 7px;
}

.vdolist_link button {
    display: inline-block;
    background: none;
    margin-left: 5px;
}

.vdolist_link button>i {
    color: #fd717a;
}

.jobcode {
    font-size: 28px;
    display: block;
    margin-bottom: 30px;
}

.toastbar {
    position: fixed;
    width: 100%;
    text-align: center;
    z-index: 9999;
    top: 0;
    left: 0;
    animation-name: toastbar;
    animation-duration: 2s;
    display: none;
    opacity: 0;
    margin-top: 0;
}

.toastbar>div {
    width: 350px;
    height: 80px;
    text-align: center;
    display: inline-block;
    border-radius: 50px;
    border: 2px solid #06C755;
    background: #fff;

}

.toastbar>div>span {
    font-family: 'Noto Sans Thai';
    font-size: 20px;
    line-height: 80px;
    display: inline-block;
    font-weight: 500;
    color: #06C755;
    vertical-align: middle;
}

.toastbar>div>i {
    font-size: 30px;
    line-height: 105px;
    display: inline-block;
    line-height: 80px;
    margin-right: 10px;
    color: #06C755;
    vertical-align: middle;

}


@keyframes toastbar {
    0% {
        margin-top: 0;
        opacity: 0;
    }

    25% {
        margin-top: 3%;
        opacity: 1;
    }

    50% {
        margin-top: 3%;
        opacity: 1;
    }

    75% {
        margin-top: 0;
        opacity: 1;
    }

    100% {
        margin-top: 0;
        opacity: 0;
        display: none;
    }
}

.ending {
    position: relative;
}

.ending * {
    opacity: 0.8;
}

.ending::before {
    content: 'ปิดเคสแล้ว';
    font-size: 100px;
    position: absolute;
    top: 30%;
    left: 15%;
    border-top: 1px solid #87c654;
    border-bottom: 1px solid #87c654;
    color: #87c654;
    padding: 5px 0;
    z-index: 999;
    transform: rotate(-45deg);
    opacity: 0.4;
}

.cancal {
    position: relative;
}

.cancal * {
    opacity: 0.8;
}

.cancal::before {
    content: 'ยกเลิกแล้ว';
    font-size: 100px;
    position: absolute;
    top: 30%;
    left: 15%;
    border-top: 1px solid #aaa;
    border-bottom: 1px solid #aaa;
    color: #aaa;
    padding: 5px 0;
    z-index: 999;
    transform: rotate(-45deg);
    opacity: 0.4;
}

.toplogo {
    margin: 25px 0 15px;
    width: 250px;
}

.loading {
    position: absolute;
    z-index: 999;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: none;
}

.loading>div {
    width: 0;
    height: 100%;
    background: rgba(158, 170, 216, 0.4);
    transition: 0.4s;
}

.loading>span {
    font-size: 18px;
    width: 100px;
    height: 35px;
    line-height: 35px;
    color: #9eaad8;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    text-align: center;
}

.loading>span>font {
    font-size: 18px;
    line-height: 35px;
    color: #9eaad8;
}

.beforeclosefile {
    border-top: 1px dashed #4795FC;
    padding-top: 20px;
    margin-top: 25px;
}

.restable {
    min-width: 950px;
    overflow: auto;
}

table.dataTable>tbody>tr.child ul.dtr-details {
    width: 100%;
}

.prereport_pic a>img {
    max-width: 100%;
    height: auto;
}

.fromsend b {
    display: block;
    font-size: 16px;
    display: block;
    margin-bottom: 10px;
    margin-top: 15px;
}

.fromsend p {
    display: block;
    font-size: 15px;
    margin-bottom: 30px;
}

.formnote {
    margin: 20px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 15px;
    text-align: left;
}

.formnote p{
    font-size: 13px;
    line-height: 2;
    margin-bottom: 15px;
}

.formnote p > b{
    font-size: 13px;
    line-height: 2;
    margin: 0;
    display: inline-block;

}