.grid-row{
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 1rem;
}

.red-phone{
    position: fixed;
    bottom: 1rem;
    right: 0;
    background-color: #dd4b39;
    color: white;
    border-top-left-radius: 3rem;
    border-bottom-left-radius: 3rem;
    line-height: 1.5;
    font-size: 16px;
    font-weight: bold;
    overflow-x: hidden;
    transform: translateX(70%);
    transition: transform 0.5s ease-out;
    cursor: pointer;
}

.red-phone.active{
    transform: translateX(0);
    transition: transform 0.5s ease-in;
}

.red-phone .wraper{
    padding: .5rem;
}

.phone-icon{
    margin-left: 2px;
    margin-top: 2px;
    border-radius: 50%;
    border: 2px solid #fff;
    padding: 8px;
    width: 45px;
    margin-right: 7px;
    text-align: center;
}

.red-phone .phone-info{
    display: flex;
    align-items: center;
}

.homepage{
    padding-top:0;
    margin-bottom:0;
}

.homepage .navbar
{
    margin-bottom: 0;
}

.margin-nav
{
    margin-top: -25px
}

.bg-image{
    background-image:  url(/images/trongdong.png);
    background-repeat: no-repeat;
    background-size: 55%;
    background-position-x: 60px;
    background-color: rgba(0, 146, 63, 0.8);
    
}

.border-white{
    border: 3px solid white;
}

.display-table{
    display: table;
    position: absolute;
    height: 100%;
    width: 100%;
}

.table-center{
    display: table-cell;
    vertical-align: middle;
}

.login-content{
    width: 80%;
    margin: 0 auto;
    padding-top: 7rem;
}

.right-side .logo,
.right-side .title,
.right-side .login-panel
{
    margin-top: 2rem;
    text-align: center;
}

.right-side .title{
    font-size: 2rem;
    color: red;
    margin: 0;
}

.right-side .title h2{
    text-shadow: 2px 2px white;
}

.right-side .login-box-body{
    width: 70%;
    margin: 0 auto;
    border-radius: 1rem;
}

.login-content .description{
    margin-top: 2rem;
    color: #eee;
}

.login-content .description ul{
    padding-left: 0;
}

.logo img{
    transform: scale(1.2);
}

.login-panel .link{
    color: white;
    font-size: 18px;
}

.login-panel .link:hover{
    color: red;
}

.flex-row{
    display: flex;
}

.login-content .flex-row{
    flex-direction: column;
    align-content: center;
}

.login-content .left-side{
    text-align: right;
}

.login-content .left-side img{
    width: 100%;
    max-width: 700px;
    object-fit: cover;
    height: 100%;
}

.right-side .checkbox{
    text-align: left;
}

.right-side .icheck > label{
    padding-left: 20px;
}

.limit .flex-row {
    align-items: stretch;
    flex-direction: column;
}

.flex-col-md-3{
    flex: 25% 0 0;
}

.flex-col-md-6{
    flex: 50% 0 0;
}

.flex-col-md-7{
    flex: 58.3333% 0 0;
}

.flex-col-md-9{
    flex: 90% 0 0;
}

.flex-col-2{
    flex: 10% 0 0;
}


.grid-col-4,
.grid-col-md-4{
    grid-column: span 4;
}

.grid-col-2,
.grid-col-xl-2{
    grid-column: span 2;
}

.grid-col-md-3,
.grid-col-3
{
    grid-column: span 3;
}

.grid-col-5,
.grid-col-md-5,
.grid-col-xl-5
{
    grid-column: span 5;
}

.grid-col-7,
.grid-col-md-7,
.grid-col-xl-7
{
    grid-column: span 7;
}

.grid-col-6,
.grid-col-md-6,
.grid-col-xl-6{
    grid-column: span 6;
}

.grid-col-9,
.grid-col-md-9{
    grid-column: span 9;
}

.grid-col-10,
.grid-col-xl-10{
    grid-column: span 10;
}

.grid-col-12{
    grid-column: span 12;
}

#queueCode{
    padding: 10px;
}

#queueCode label,
.w_100_label,
.animate-height label,
.fixSelect2 label{
    width: 100%;
    display: block;
    height: 1.75rem;
    overflow: hidden;
}

.border {
    box-shadow: inset 0 -2px 0 #ffc107;
}

.w_100{
    width: 100%;
}

.fixSelect2 .select2-container{
    max-width: 100%;
}

.invisible-label{
    display: block;
    width: 100%;
    visibility: hidden;
}

hr.mobile-line{
    display: none;
    border-top: 1px dashed #3c8dbc;
    margin-top: 1.75rem;
    margin-bottom: 1rem;
}

hr.line{
    border-top: 1px dashed #3c8dbc;
    margin-top: 1.75rem;
    margin-bottom: 1rem;
}

.my-4{
    margin: 1rem 0;
}

.my-1{
    margin: .25rem 0;
}

.mb-4{
    margin-bottom: 1rem;
}

.mb-2{
    margin-bottom: .5rem;
}

.mt-3{
    margin-top: .75rem;
}

.pt-4{
    padding-top: 1rem;
}

.mt-1{
    margin-top: 0.25rem;
}


.d-block{
    display: block;
}

#LatexTestingDetail label,
#SvrTestingDetail label {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.customAlert{
    color: red;
    margin: 0 0 5px;
    padding: 0;
}

.customNotice{
    color: #ffc107;
    margin: 0 0 5px;
    padding: 0;
    font-size: 16px;
    text-transform: uppercase;
    /* border: 1px solid #ffc107; */
}

.dash{
    border-top: 1px dashed #ffc107;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.disable{
    /* cursor: not-allowed; */
    /* pointer-events: none; */
    background-color: #eee;
    /* border-color: gray; */
}

.display-none,
.mobile-appear
{
    display: none;
}

/* TOOLTIP */

.tabula-tooltip[data-title]:not([data-title=""]) {
    position: relative;
    display: inline-block;
}
.tabula-tooltip[data-title]:not([data-title=""])::before, .tabula-tooltip[data-title]:not([data-title=""])::after {
    position: absolute;
    display: block;
    top: -5px;
    left: 50%;
    z-index: 1070;
    opacity: 0;
    transition: opacity 0.15s linear;
}
.tabula-tooltip[data-title]:not([data-title=""])::before {
    content: "";
    transform: translateX(-50%);
    border-width: 5px 5px 0 5px;
    border-style: solid;
    border-color: #000 transparent transparent transparent;
}
.tabula-tooltip[data-title]:not([data-title=""])::after {
    content: attr(data-title);
    transform: translateX(-50%) translateY(-100%);
    font-family: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-style: normal;
    font-weight: 400;
    line-height: 1.6;
    line-break: auto;
    text-align: left;
    text-align: start;
    text-decoration: none;
    text-shadow: none;
    text-transform: none;
    letter-spacing: normal;
    word-break: normal;
    word-spacing: normal;
    word-wrap: normal;
    white-space: normal;
    font-size: 12px;
    max-width: 200px;
    padding: 3px 8px;
    color: #fff;
    text-align: center;
    background-color: #000;
    border-radius: 0px;
    min-width: 150px;
    pointer-events: none;
}
.tabula-tooltip[data-title]:not([data-title=""]):hover::before, .tabula-tooltip[data-title]:not([data-title=""]):hover::after {
    opacity: 0.9;
}

.animate-height{
    max-height: 0;
    transition: max-height 1s ease-in;
    overflow: hidden;
}

.animate-height.active{
    max-height: 500px;
    transition: max-height 3s ease-out;
}

.upper-case{
    text-transform: uppercase;
}

.box-body .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 21px;
}

.noticeSearch{
    display: block;
    text-align: right;
    color: red;
}

.data-table{
    width: 100% !important;
    max-width: 100%;
}

.invisibleElement{
    visibility: hidden;
}

/* .drawChart .title{
    margin-bottom: 0;
} */

.drawChart .time{
    display: block;
    font-weight: bold;
}

.drawChart .result{
    font-size: 2rem;
}

.drawChart .number{
    font-size: 5rem;
}

.badge-info{
    background-color: blue;
}

.badge-secondary{
    background-color: blueviolet;
}

.badge-success{
    background-color: #3c8dbc;
}

.badge-danger{
    background-color: #dd4b39;
}

@media screen and (max-width: 991.99px) {

    .grid-col-xl-6 
    .grid-col-xl-10,
    .grid-col-xl-2,
    .grid-col-xl-5
    {
        grid-column: span 12;
    }
    
}

@media screen and (max-width: 767.99px) {
    .grid-col-md-4,
    .grid-col-md-2,
    .grid-col-md-6,
    .grid-col-md-3,
    .grid-col-md-9,
    .grid-col-md-5 {
        grid-column: span 12;
    }
    hr.mobile-line{
        display: block;
    }
  }

  @media screen and (max-width: 575.99px) {
    .mobile-disappear{
        display: none;
    }

    .mobile-appear{
        display: block;
    }

    .mobile-w100
    {
        display: block;
        width: 93%;
        margin-bottom: .75rem;
    }

    .login-content .left-side{
        display: none;
    }

    .right-side .login-box-body{
        width: 100%;
    }

    .bg-image{
        background-size:100%;
        background-position:top;
        background-position-x: unset;
    }

    .login-content{
        padding-top: 1rem;
    }

    .red-phone .phone-info{
        font-size: 12px;
    }

    .homepage .admin-nav-bar.navbar{
        min-height: 45px;
    }

  }

  @media screen and (max-width: 499.99px) {
    #noticeCompany{
        margin-top: .25rem;
    }

    .login-content .description{
        font-size: 14px;
    }

  }