@charset "UTF-8";
/* Atkinson Hyperlegible Next Font Definitions */

@font-face {
  font-family: 'AtkinsonHyperlegibleNextVF';
  src: url('/res/AtkinsonHyperlegibleNextVF-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  font-family: 'AtkinsonHyperlegibleNextVF', sans-serif;
  margin-bottom: 60px;
}

/*
===================================
*/

.glory-upper-case {
    text-transform: uppercase;
}

.bg-dark {
    background-color: #053b5d !important;
}

.bigboldgreengl {
    font-size: 1.5rem;
    font-weight: bold;
    color: #009900;
    background-color: #f5f5f5;
    padding-left: 12px;
    padding-right: 12px;
}

.bigboldredyellowgl {
    font-size: 1.5rem;
    font-weight: bold;
    color: red;
    background-color: yellow;
    padding-left: 12px;
    padding-right: 12px;
}

.wfcgl
{
    width: fit-content;
}
.ptgl-12{
    padding-top:12px;
}

/*
.opacity-12 {
    opacity: 0.12 !important;
}
*/

#gotopbtngl {
    position: fixed;
    /*
    bottom: 20px;
    */
    /*
    bottom: calc(20px + env(safe-area-inset-bottom));
    */
    /*
    bottom: max(2dvh, 20px, env(safe-area-inset-bottom));
        */
    /*
    top:20px;
    */
    /*
    right: 30px;
    */
    left: 50%;
    z-index: 99999;
    display: none;
    font-size: 1.5em;
    border: none;
    outline: none;
    /* */
    background-color: #00A6ED;
    /* */
    color: white;
    cursor: pointer;
    padding: 0px;
    border-radius: 5px;
    padding-block: 0px;
    padding-inline: 0px;
    letter-spacing: 0px;
    word-spacing: 0px;
    font-family: auto;
    line-height: normal;
    box-sizing: content-box;
    margin: 0px;
}

.rightmenubargl {
    display: flex;
    flex-direction: column !important; /* Keeps items stacked vertically */
    align-items: flex-end; /* Aligns list items to the right */
}

.submenu a {
    text-decoration: none;
    border-bottom: 1px dotted #D99E45;
}

.submenugroup {
    display: block;
    padding: 5px;
    border-top: 2px solid #D99E45;
    border-bottom: 2px solid #FFFFFF;
    background-color: #F0F0F0;
}

.submenu ul li {
    list-style: none;
    padding-right: 9px;
}

/* Áp dụng cho màn hình máy tính */
@media (min-width: 992px) {
    li.submenu {
        position: relative; /* để menu con định vị theo li cha */
    }

        li.submenu > div {
            position: absolute;
            top: 100%; /* ngay dưới menu cha */
            left: 0;
            z-index: 999; /* nổi lên trên các element khác */
            display: none; /* ẩn mặc định */
            background: #fff; /* nền trắng hoặc tuỳ chỉnh */
            border: 1px solid #ccc;
            padding: 10px;
            white-space: nowrap;
        }

        li.submenu:hover > div {
            display: block; /* hiện khi hover */
        }

/*
        li.submenu > div > div ul li {
            display: block;
        }
*/

    }


/* Tìm các label có class "required-label" và tự thêm dấu sao đỏ */
.required-label::after {
    content: " *";
    color: #dc3545;
    font-weight: bold;
}

.form-control:focus {
    background-color: #fffbe6; /* Màu vàng nhạt sẫm cho cảm giác ấm áp */
    box-shadow: 0 0 0 0.25rem rgba(255, 193, 7, 0.3); /* Quầng sáng màu vàng nhạt */
}

form .d-flex:focus-within, form .row:focus-within {
    background-color: #f0f8ff; /* nền nổi bật */
    border: 2px solid #007bff; /* viền xanh */
    box-shadow: 0 0 5px rgba(0,123,255,0.5); /* hiệu ứng sáng */
}

/* Viền đỏ và nền hồng khi có lỗi */
input.invalid {
    border-color: #e74c3c;
    background-color: #fceae9;
}

/* Thẻ hiển thị lỗi */
.error-message {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 6px;
    display: none;
    font-weight: 500;
}


.underlinenote {
    /*
    text-decoration: underline wavy blue;
    text-underline-offset: 5px;
    text-decoration: none;
    border-bottom: 1px dotted #bcd;
    */
    color: #008000;
    text-decoration: underline dotted #FFA500;
    text-decoration-thickness: 1px;
    text-underline-offset: 5px;
}

.stylastname {
/*
    display: inline-block;
*/
    width: 144px;
}

.styfirstname {
/*
    display: inline-block;
*/
    /*
    width: 60px;
        */
    flex: 1; /* chiếm phần còn lại */
}

.stywhitecolor {
    color: #ffffff;
}


.stygreencolor{
    color:#008000;
}

.styorangecolor {
    color: #FFA500;
}

.stygreenbgcolor {
    background-color: #008000;
    padding: 1px 4px 1px 4px; /* Mở rộng 4 phía: TRBL*/
    display: inline-block; /* Giúp padding hiển thị chuẩn hơn nếu dùng cho thẻ span */
    border-radius: 3px; /* Tùy chọn: bo góc nhẹ cho đẹp */
}

.styorangebgcolor {
    background-color: #FFA500;
    padding: 1px 4px 1px 4px; /* Mở rộng 4 phía: TRBL */
    display: inline-block; /* Giúp padding hiển thị chuẩn hơn nếu dùng cho thẻ span */
    border-radius: 3px; /* Tùy chọn: bo góc nhẹ cho đẹp */
}

