* {
    margin: 0px;
    padding: 0px;
}

@media (max-width:576px) {

    body,
    html {
        font-family: 'Bai Jamjuree', 'Myriad Pro', 'Roboto', sans-serif;
        font-size: 0.95rem;
        background-color: var(--erp-bg-main);
        color: var(--erp-text-main);
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        line-height: 1.5;
    }

    .web {
        display: none !important;
    }

    .mobi {
        display: inline-block;
    }

    .img_logo {
        height: 90px;
    }

    .tb-margin-top {
        margin-top: -20px !important;
    }

    .erp-container {
        width: 100%;
        margin: auto;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    .erp-toolbar-menu {
        position: fixed;
        display: grid;
        grid-template-columns: 1fr 80px;
        align-items: center;
        justify-content: space-around;
        width: 100%;
        height: 54px;
        border-bottom: 1px solid rgb(190, 190, 190);
        background-color: white;
    }

    .erp-toolbar-menu .img-40 {
        position: relative;
        display: inline-flex;
        /* thêm dòng này */
        align-items: center;
        /* căn giữa dọc */
        justify-content: center;
        /* căn giữa ngang */
        width: 34px;
        height: 34px;
        border: 1px solid rgba(217, 217, 217, 1);
        border-radius: 50%;
    }


    .img-anhthe-bao-150 {
        width: 110px;
        height: 110px;
        border-radius: 50%;
        border: 1px solid var(--erp-border-strong);
        overflow: hidden;
        flex-shrink: 0;
    }

    .img-anhthe-150 {
        width: 100%;
        height: 100%;
        background-size: cover !important;
        background-position: center !important;
    }

    .erp-height-280 {
        height: 200px;
    }

    .erp-h2 {
        font-size: 1rem;
    }

    .erp-mr-mobi {
        margin-right: -0.75rem;
    }

    #carouselExampleIndicators .carousel-item {
        min-height: 110px;
    }

    /* Trang Login */
    .erp-login-wrapper {
        position: fixed;
        top: 30;
        left: 30;
        width: 100vw;
        height: 100vh;
        background-image: url("../../../img/login_bg.png");
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center center;
    }

    .erp-login-box {
        position: absolute;
        background-color: rgba(0, 0, 0, 0.25);
        height: calc(100vh - 40px);
        width: calc(100vw - 40px);
        ;
        margin: 20px;
        border-radius: 5px;
        /* right: 30;
        left: 30; */
    }

    .erp-login-logo {
        position: relative;
        height: 120px;
        width: 100%;
        display: inline-flex;
        /* thêm dòng này */
        align-items: center;
        /* căn giữa dọc */
        justify-content: center;
        /* căn giữa ngang */
        /* background-color: aqua; */

    }

    .navbar .img-40 {
        position: relative;
        display: inline-flex;
        /* thêm dòng này */
        align-items: center;
        /* căn giữa dọc */
        justify-content: center;
        /* căn giữa ngang */
        width: 34px;
        height: 34px;
        border: 2px solid rgba(217, 217, 217, 1);
        border-radius: 50%;
    }

    .navbar a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0 !important;
        font-size: 23px;
        line-height: 1;
    }

    .navbar .navbar-brand i {
        display: inline-flex;
        align-items: center;
        vertical-align: middle;
        font-size: 23px;
    }

    /* Navbar icon off */
    .mdi-36px {
        font-size: 28px;
    }

    /* form erp-form.css */
    .erp-group {
        height: 54px;
    }

    .erp-select-group {
        height: 54px;
    }


    .erp-table-toolbar-2-left {
        display: grid;
        grid-template-columns: 50px 1fr;
        align-items: center;
        justify-content: center;
        height: 60px;
        margin-bottom: 0.5rem;
    }

    .erp-table-toolbar-2-right {
        display: grid;
        grid-template-columns: 1fr 180px;
        align-items: center;
        justify-content: space-between;
        height: 60px;
        margin-bottom: 0.5rem;
    }

    .erp-table-toolbar-3 {
        display: grid;
        grid-template-columns: 80px 1fr 80px !important;
        align-items: center;
        justify-content: space-around;
        height: 60px;
        margin-bottom: 0.5rem;
    }

    .erp-table-search {
        width: 180px;
    }

    .erp-table-toolbar-2-mobi {
        display: grid;
        grid-template-columns: 50px 1fr;
        align-items: center;
        justify-content: space-around;
        height: 60px;
        margin-bottom: 0.5rem;
    }

    .erp-table-toolbar-2-mobi-80 {
        display: grid;
        grid-template-columns: 80px 1fr;
        align-items: center;
        justify-content: space-around;
        height: 60px;
        margin-bottom: 0.5rem;
    }

    .erp-table-toolbar-3-mobi {
        display: grid;
        grid-template-columns: 80px 1fr 80px;
        align-items: center;
        justify-content: space-around;
        height: 60px;
        margin-bottom: 0.5rem;
    }

    .erp-table-toolbar-3-mobi-timkiem {
        display: grid;
        grid-template-columns: 50px 1fr 180px;
        align-items: center;
        justify-content: space-around;
        height: 60px;
        margin-bottom: 0.5rem;
    }

}

/* mobi */
@media (max-width:576px) {

    .erp-col-1 {
        flex: 0 0 50%;
        max-width: 50%
    }

    .erp-col-2 {
        flex: 0 0 50%;
        max-width: 50%
    }

    .erp-col-3 {
        flex: 0 0 50%;
        max-width: 50%
    }

    .erp-col-4 {
        flex: 0 0 50%;
        max-width: 50%
    }

    .erp-col-5 {
        flex: 0 0 50%;
        max-width: 50%
    }


    .erp-col-6 {
        flex: 0 0 100%;
        max-width: 100%
    }

    .erp-col-7 {
        flex: 0 0 100%;
        max-width: 100%
    }

    .erp-col-8 {
        flex: 0 0 100%;
        max-width: 100%
    }

    .erp-col-9 {
        flex: 0 0 100%;
        max-width: 100%
    }

    .erp-col-10 {
        flex: 0 0 100%;
        max-width: 100%
    }

    .erp-col-11 {
        flex: 0 0 100%;
        max-width: 100%
    }

    .erp-col-12 {
        flex: 0 0 100%;
        max-width: 100%
    }


    .erp-col-1-mobi {
        flex: 0 0 8.333%;
        max-width: 8.333%
    }

    .erp-col-2-mobi {
        flex: 0 0 16.666%;
        max-width: 16.666%
    }

    .erp-col-3-mobi {
        flex: 0 0 25%;
        max-width: 25%
    }

    .erp-col-4-mobi {
        flex: 0 0 33.333%;
        max-width: 33.333%
    }

    .erp-col-5-mobi {
        flex: 0 0 41.666%;
        max-width: 41.666%
    }

    .erp-col-6-mobi {
        flex: 0 0 50%;
        max-width: 50%
    }

    .erp-col-7-mobi {
        flex: 0 0 58.333%;
        max-width: 58.333%
    }

    .erp-col-8-mobi {
        flex: 0 0 66.666%;
        max-width: 66.666%
    }

    .erp-col-9-mobi {
        flex: 0 0 75%;
        max-width: 75%
    }

    .erp-col-10-mobi {
        flex: 0 0 83.333%;
        max-width: 83.333%
    }

    .erp-col-11-mobi {
        flex: 0 0 91.666%;
        max-width: 91.666%
    }

    .erp-col-12-mobi {
        flex: 0 0 100%;
        max-width: 100%
    }

}

@media (max-width:576px) {

    .erp-col-1 {
        flex: 0 0 50%;
        max-width: 50%
    }

    .erp-col-2 {
        flex: 0 0 50%;
        max-width: 50%
    }

    .erp-col-3 {
        flex: 0 0 50%;
        max-width: 50%
    }

    .erp-col-4 {
        flex: 0 0 50%;
        max-width: 50%
    }

    .erp-col-5 {
        flex: 0 0 50%;
        max-width: 50%
    }


    .erp-col-6 {
        flex: 0 0 100%;
        max-width: 100%
    }

    .erp-col-7 {
        flex: 0 0 100%;
        max-width: 100%
    }

    .erp-col-8 {
        flex: 0 0 100%;
        max-width: 100%
    }

    .erp-col-9 {
        flex: 0 0 100%;
        max-width: 100%
    }

    .erp-col-10 {
        flex: 0 0 100%;
        max-width: 100%
    }

    .erp-col-11 {
        flex: 0 0 100%;
        max-width: 100%
    }

    .erp-col-12 {
        flex: 0 0 100%;
        max-width: 100%
    }


    .erp-col-1-mobi {
        flex: 0 0 8.333%;
        max-width: 8.333%
    }

    .erp-col-2-mobi {
        flex: 0 0 16.666%;
        max-width: 16.666%
    }

    .erp-col-3-mobi {
        flex: 0 0 25%;
        max-width: 25%
    }

    .erp-col-4-mobi {
        flex: 0 0 33.333%;
        max-width: 33.333%
    }

    .erp-col-5-mobi {
        flex: 0 0 41.666%;
        max-width: 41.666%
    }

    .erp-col-6-mobi {
        flex: 0 0 50%;
        max-width: 50%
    }

    .erp-col-7-mobi {
        flex: 0 0 58.333%;
        max-width: 58.333%
    }

    .erp-col-8-mobi {
        flex: 0 0 66.666%;
        max-width: 66.666%
    }

    .erp-col-9-mobi {
        flex: 0 0 75%;
        max-width: 75%
    }

    .erp-col-10-mobi {
        flex: 0 0 83.333%;
        max-width: 83.333%
    }

    .erp-col-11-mobi {
        flex: 0 0 91.666%;
        max-width: 91.666%
    }

    .erp-col-12-mobi {
        flex: 0 0 100%;
        max-width: 100%
    }

}

@media (max-width:400px) {

    body,
    html {
        font-family: 'Bai Jamjuree', 'Myriad Pro', 'Roboto', sans-serif;
        font-size: 0.9rem !important;
        background-color: var(--erp-bg-main);
        color: var(--erp-text-main);
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        line-height: 1.3;
    }

    .erp-col-1,
    .erp-col-1-mobi,
    .erp-col-2,
    .erp-col-2-mobi,
    .erp-col-3,
    .erp-col-3-mobi,
    .erp-col-4,
    .erp-col-4-mobi,
    .erp-col-5,
    .erp-col-5-mobi,
    .erp-col-6,
    .erp-col-6-mobi,
    .erp-col-7,
    .erp-col-7-mobi,
    .erp-col-8,
    .erp-col-8-mobi,
    .erp-col-8,
    .erp-col-8-mobi,
    .erp-col-10,
    .erp-col-10-mobi,
    .erp-col-11,
    .erp-col-11-mobi,
    .erp-col-12,
    .erp-col-12-mobi {
        flex: 0 0 100%;
        max-width: 100%
    }

    /* ====== FORM GROUP ====== */
    .g-group {
        position: relative;
        margin-bottom: 24px;
        padding: 0 1rem;
        font-size: 12px;
    }

    /* ====== INPUT BASE ====== */
    .g-input {
        width: 100%;
        padding: 10px;
        font-size: 12px;
        border: 1px solid rgb(150, 150, 150);
        border-radius: 5px;
        color: rgb(15, 108, 50);
        outline: none;
        transition: all 0.2s ease;
    }

    .g-input:focus {
        transition: all 0.3s ease;
    }

    .g-group label {
        position: absolute;
        left: 16px;
        top: 10px;
        font-size: 12px;
        color: rgb(15, 108, 50);
        background: none;
        padding: 0 10px;
        transition: all 0.2s ease;
        pointer-events: none;
    }

    /* ====== INPUT BASE ====== */

    .g-select {
        width: 100%;
        padding: 10px;
        font-size: 12px;
        background-color: white !important;
        border: 1px solid rgb(150, 150, 150);
        border-radius: 5px;
        color: rgb(15, 108, 50);
        outline: none;
        transition: all 0.2s ease;
    }

    /* Floating */
    .g-input:focus+label,
    .g-input:not(:placeholder-shown)+label {
        top: -25px;
        left: 10px;
        font-size: 12px;
        color: var(--erp-color-7);
        font-weight: 600;
    }

    .g-select-title {
        left: 20px;
        font-size: 12px;
        color: var(--erp-color-7);
        font-weight: 600;
    }

    .g-group i {
        padding-top: 12px;
        margin-left: -40px;
        font-size: 25px;
        color: white;
        cursor: pointer;
    }

}

@media (max-width: 576px) {
    .web-table {
        display: none;
    }

    .mobi-table {
        display: table-row;
    }

    .card {
        width: calc(100vw - 1rem);
    }
}