﻿/*
Version: 1.7
File Description: Place here your custom CSS styles
*/

.text-form {
    color: black !important;
}

.required::after {
    color: #d00;
    content: "*";
    /* position: absolute; */
    margin-left: 4px;
}

.custable {
    border-spacing: 0px !important;
    width: auto !important;
}

.cus-input {
    padding: 5px 10px !important;
}

.number {
    text-align: right !important;
}

.requiredvalid {
    border: 1px solid #dc3545 !important;
    outline: none;
}

.requiredvalid:after {
        content: " required field" !important;
        color: #dc3545;
        position: absolute;
        bottom: -20px;
 }

/* System alert modal (Error) */
.bn-sys-modal .modal-backdrop {
    background: rgba(28, 25, 23, 0.45);
}

.bn-sys-dialog {
    width: 92%;
    max-width: 420px;
    margin: 12vh auto;
}

.bn-sys-card {
    border: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(28, 25, 23, 0.22);
    background: #fffaf8;
    font-family: 'Sarabun', 'Open Sans', sans-serif;
}

.bn-sys-error {
    border-top: 4px solid #c2410c;
}

.bn-sys-close {
    position: absolute;
    top: 12px;
    right: 14px;
    z-index: 2;
    opacity: 0.55;
    font-size: 22px;
    font-weight: 400;
    color: #78716c;
    text-shadow: none;
}

.bn-sys-close:hover,
.bn-sys-close:focus {
    opacity: 1;
    color: #44403c;
}

.bn-sys-body {
    display: table;
    width: 100%;
    padding: 28px 28px 12px;
    table-layout: fixed;
}

.bn-sys-icon,
.bn-sys-copy {
    display: table-cell;
    vertical-align: middle;
}

.bn-sys-icon {
    width: 56px;
    padding-right: 16px;
}

.bn-sys-icon > span {
    display: block;
    width: 48px;
    height: 48px;
    line-height: 48px;
    text-align: center;
    border-radius: 50%;
    background: #fff1e8;
    color: #c2410c;
    font-size: 22px;
    box-shadow: inset 0 0 0 1px rgba(194, 65, 12, 0.18);
}

.bn-sys-title {
    margin: 2px 0 8px;
    padding: 0;
    font-size: 18px;
    font-weight: 700;
    color: #292524;
    line-height: 1.35;
}

.bn-sys-msg {
    margin: 0;
    padding: 0;
    font-size: 15px;
    line-height: 1.55;
    color: #57534e;
    word-break: break-word;
}

.bn-sys-footer {
    padding: 8px 28px 24px;
    text-align: right;
}

.bn-sys-btn {
    min-width: 96px;
    padding: 8px 18px;
    border: 0;
    border-radius: 999px;
    background: #c2410c;
    color: #fff !important;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Sarabun', 'Open Sans', sans-serif;
    box-shadow: 0 6px 14px rgba(194, 65, 12, 0.28);
}

.bn-sys-btn:hover,
.bn-sys-btn:focus {
    background: #9a3412;
    color: #fff !important;
}

@media (max-width: 480px) {
    .bn-sys-dialog {
        margin: 18vh auto;
    }

    .bn-sys-body {
        padding: 24px 20px 8px;
    }

    .bn-sys-footer {
        padding: 8px 20px 20px;
    }
}

