﻿/* Định dang các thẻ */
p {
    margin-bottom: 0px;
}

/*ĐỊnh dang chung*/
body {
    font-size: 14px;
    padding-top: 56px;
}

/*Định dạng mẫu in*/
page {
    background: white;
    display: block;
    margin: 0 auto;
    margin-bottom: 0.5cm;
    box-shadow: 0 0 0.5cm rgba(0,0,0,0.5);
}

    page[size="A4"] {
        width: 21cm;
        height: 29.7cm;
    }

        page[size="A4"][layout="landscape"] {
            width: 29.7cm;
            height: 21cm;
        }

    page[size="A3"] {
        width: 29.7cm;
        height: 42cm;
    }

        page[size="A3"][layout="landscape"] {
            width: 42cm;
            height: 29.7cm;
        }

    page[size="A5"] {
        width: 14.8cm;
        height: 21cm;
    }

        page[size="A5"][layout="landscape"] {
            width: 21cm;
            height: 14.8cm;
        }

table, th, td {
    border: 0.6px solid #f2dff2;
}

/* Định dang Popup All*/
.S000-Popup-full {
    max-width: 880px;
    min-height: 90%;
    max-height: 90%;
    height: 90%;
    margin-top: 5px;
    margin-bottom: 5px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.S000-Popup-footer {
    min-height: 40px;
    text-align: right;
    padding-top: 5px;
    padding-left: 5px;
    padding-right: 5px;
    border-bottom: 1px solid #0424bf;
}

.S000-Popup-header {
    height: 50px;
    min-height: 50px;
    padding-top: 0px;
    margin-top: 0px;
    padding-left: 5px;
    border-bottom: 1px solid #0424bf;
}

/* Định dang Popup Học tập */
.S000-Popup-full-N8Unit {
    max-width: 1080px;
    min-height: 100%;
    max-height: 100%;
    height: 100%;
    margin-top: 5px;
    margin-bottom: 5px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.S000-Popup-footer-N8Unit {
    min-height: 0px;
    max-height: 0px;
    height: 0px;
}

.S000-Popup-header-N8Unit {
    height: 50px;
    min-height: 50px;
    padding-top: 0px;
    margin-top: 0px;
    padding-left: 5px;
    border-bottom: 1px solid #0424bf;
}

/* Định dang Popup đăng nhập */
.S000-Popup-full-Login {
    max-width: 699px;
    min-height: 96%;
    max-height: 96%;
    height: 96%;
    margin-top: 5px;
    margin-bottom: 5px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.S000-Popup-footer-Login {
    text-align: right;
    padding-top: 5px;
    padding-left: 5px;
    padding-right: 5px;
    border-bottom: 1px solid #0424bf;
}

.S000-Popup-header-Login {
    height: 50px;
    min-height: 50px;
    padding-top: 0px;
    margin-top: 0px;
    padding-left: 5px;
    border-bottom: 1px solid #0424bf;
}

/* Định dang Popup quên mật khẩu */
.S000-Popup-full-ChangePass {
    max-width: 633px;
    min-height: 96%;
    max-height: 96%;
    height: 96%;
    margin-top: 5px;
    margin-bottom: 5px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.S000-Popup-footer-ChangePass {
    min-height: 40px;
    text-align: right;
    padding-top: 5px;
    padding-left: 5px;
    padding-right: 5px;
    border-bottom: 1px solid #0424bf;
}

.S000-Popup-header-ChangePass {
    height: 50px;
    min-height: 50px;
    padding-top: 0px;
    margin-top: 0px;
    padding-left: 5px;
    border-bottom: 1px solid #0424bf;
}

/* Định dang Popup Thông báo*/
/* Căn popup ra giữa màn hình (mặc định DevExpress đã đúng) */
.dxbs-popup-wrapper {
    display: flex !important;
    justify-content: center !important; /* Căn giữa ngang */
    align-items: center !important; /* Căn giữa dọc toàn popup */
}

/* 👉 Nội dung bên trong popup sát top */
.S000-Popup-full-Mes {
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* ✅ Dính top */
    height: 100%;
    max-height: 90vh; /* Tránh tràn màn */
    overflow-y: auto; /* Scroll nếu quá dài */
    padding: 16px; /* Có thể thêm padding */
}

.S000-Popup-footer-Mes {
    min-height: 40px;
    text-align: right;
    padding-top: 5px;
    padding-left: 5px;
    padding-right: 5px;
}

.S000-Popup-header-Mes {
    height: 33px;
    min-height: 33px;
    padding-top: 0px;
    margin-top: 0px;
    padding-left: 5px;
    border-bottom: 1px solid #0424bf;
}

/* Định dang Popup Quảng cáo*/
.S000-Popup-full-Ads {
    max-width: 800px;
    min-height: 100%;
    max-height: 100%;
    height: 100%;
}

.S000-Popup-footer-Ads {
    min-height: 40px;
    text-align: right;
}

.S000-Popup-header_Ads {
}

/*Định dạng Grid Dev*/
.S000-DevGrid {
    padding-right: 20px;
}

.bg-primary {
    background-color: #5f368d !important;
}

h5 {
    padding-top: 5px;
}

h3 {
    color: #0426ae;
    text-align: center;
    font-weight: 700;
}

.row {
    margin-left: 6px;
    margin-right: 6px;
}

/* Định dang các thẻ */
p {
    margin-bottom: 2px;
}

a {
    text-decoration: none;
}

.btn-link {
    text-decoration: none;
}

/*Định dang chung*/
body {
    font-size: 16.9px;
    padding-top: 56px;
}

pre {
    font-family: Arial;
    text-align: justify;
    font-size: 16px;
    padding-top: 2px;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.row {
    margin-left: 8px;
    margin-right: 8px;
}

.col-md-12 {
    padding-right: 1px;
    padding-left: 1px;
}

.col-md-3 {
    padding-right: 1px;
    padding-left: 1px;
}

.col-md-4 {
    padding-right: 1px;
    padding-left: 1px;
}

.col-md-6 {
    padding-right: 1px;
    padding-left: 1px;
}

.col-md-8 {
    padding-right: 1px;
    padding-left: 1px;
}

.col-md-9 {
    padding-right: 1px;
    padding-left: 1px;
}

.col-sm-12 {
    padding-right: 1px;
    padding-left: 1px;
}

.col-sm-3 {
    padding-right: 1px;
    padding-left: 1px;
}

.col-sm-4 {
    padding-right: 1px;
    padding-left: 1px;
}

.col-sm-6 {
    padding-right: 1px;
    padding-left: 1px;
}

.col-sm-8 {
    padding-right: 1px;
    padding-left: 1px;
}

.col-sm-9 {
    padding-right: 1px;
    padding-left: 1px;
}

.container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl {
    margin-right: auto;
    margin-left: auto;
    padding-left: 0px;
    padding-right: 0px;
}