﻿html, body {
    min-height: 100% !important;
    height: 100%;
}
/*
body {
    min-width: 750px;
    width: 100%;
    height: 100%;
    margin: 0px;
    display:flex;
    flex-direction:column;
}*/

.container {
    width: 100%;
    float: left;
    display: flex;
    flex-direction: column;
}

.child {
    width: 100%;
    display: flex;
    flex-direction: column;
}

@media print {
    @page {
        size: a4;
        margin: 0px;
    }

    .rotate {
        text-align: center;
        white-space: nowrap;
        vertical-align: middle;
        width: 1.6em;
    }

        .rotate div {
            -moz-transform: rotate(-90.0deg);
            -o-transform: rotate(-90.0deg);
            -webkit-transform: rotate(-90.0deg);
            filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=0.083);
            -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0.083)";
            margin-left: -10em;
            margin-right: -10em;
        }

    footer {
        page-break-after: always;
    }

    .page {
        margin: 0;
        border: initial;
        border-radius: initial;
        width: initial;
        min-height: initial;
        box-shadow: initial;
        background: initial;
        page-break-after: always;
    }
}

@page {
    size: A4;
    margin: 0;
}

.subpage {
    padding: 1cm;
    border: 5px red solid;
    height: 256mm;
    outline: 2cm #FFEAEA solid;
}

.btn {
    margin: 1px 2px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}


.BtnMenuBar {
    padding: 3px 5px;
    font-size: 20px;
    text-align: center;
    cursor: pointer;
    outline: none;
    color: #fff;
    background: linear-gradient(140deg, #33ac33 60%, #33cc33 60%);
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px #999;
    min-width: 40px;
}

    .BtnMenuBar:hover {
        background: linear-gradient(140deg, #339966 60%, #00cc99 60%);
    }

    .BtnMenuBar:active {
        background: linear-gradient(140deg,#339966 60%, #009999 60%);
        box-shadow: 0 2px #666;
        transform: translateY(4px);
    }

.MenuBar {
    display: flex;
    margin-bottom: 2px;
    flex-direction: row;
    align-items: center;
    background: rgba(227,255,254,1);
}

.navbarx {
    position: inherit !important;
    background-color: rgba(0,100,255,0.1); /* Black w/ opacity */
    height: 50px;
}

.center {
    position: fixed;
    display: flex;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    flex-direction: column;
    /*border: 1px dotted MediumSeaGreen;*/
    border-radius: 20px;
    align-items: center;
    background-color: #a9eefa;
    text-align: center;
    padding: 15px;
    -moz-box-shadow: inset 0 0 0.5rem #17a2b8;
    -webkit-box-shadow: inset 0 0 0.5rem #17a2b8;
    box-shadow: inset 0 0 0.5rem #17a2b8;
}

.loader {
    border: 1px solid #f3f3f3;
    border-radius: 50%;
    border-top: 13px solid #2E86C1;
    border-bottom: 13px solid #900C3F;
    width: 120px;
    height: 120px;
    display: block;
    -webkit-animation: spin 1s linear infinite; /* Safari */
    animation: spin 1s linear infinite;
}

.back-drop {
    position: fixed;
    height: 100%;
    width: 100%;
    display: none;
    background-color: #f8f9fa00;
    /*animation-name: bdbc;
    animation-duration: 10s;*/
    top: 0;
}

@keyframes bdbc {
    from {
        background-color: rgba(0, 0, 0, 0);
    }

    to {
        background-color: rgba(0, 0, 0, 0.2);
    }
}

.p_loading {
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE10+/Edge */
    user-select: none; /* Standard */
}

.lds-roller {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
    background-image: url(/Content/images/vs180.png);
    background-repeat: no-repeat;
    background-size: 70%;
    background-position: 50% 90%;
}

    .lds-roller div {
        animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
        transform-origin: 40px 40px;
    }

        .lds-roller div:after {
            content: " ";
            display: block;
            position: absolute;
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background: #fff;
            margin: -4px 0 0 -4px;
        }

        .lds-roller div:nth-child(1) {
            animation-delay: -0.036s;
        }

            .lds-roller div:nth-child(1):after {
                top: 63px;
                left: 63px;
            }

        .lds-roller div:nth-child(2) {
            animation-delay: -0.072s;
        }

            .lds-roller div:nth-child(2):after {
                top: 68px;
                left: 56px;
            }

        .lds-roller div:nth-child(3) {
            animation-delay: -0.108s;
        }

            .lds-roller div:nth-child(3):after {
                top: 71px;
                left: 48px;
            }

        .lds-roller div:nth-child(4) {
            animation-delay: -0.144s;
        }

            .lds-roller div:nth-child(4):after {
                top: 72px;
                left: 40px;
            }

        .lds-roller div:nth-child(5) {
            animation-delay: -0.18s;
        }

            .lds-roller div:nth-child(5):after {
                top: 71px;
                left: 32px;
            }

        .lds-roller div:nth-child(6) {
            animation-delay: -0.216s;
        }

            .lds-roller div:nth-child(6):after {
                top: 68px;
                left: 24px;
            }

        .lds-roller div:nth-child(7) {
            animation-delay: -0.252s;
        }

            .lds-roller div:nth-child(7):after {
                top: 63px;
                left: 17px;
            }

        .lds-roller div:nth-child(8) {
            animation-delay: -0.288s;
        }

            .lds-roller div:nth-child(8):after {
                top: 56px;
                left: 12px;
            }

@keyframes lds-roller {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
/* Safari */
@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}



label {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin: 0px 2px !important;
}

.navbar-header {
    white-space: nowrap;
}

.a-class {
    text-align: left !important;
    padding: 10px;
    height:unset;
    color: green;
    font-size: 15px;
    display: block;
    position: relative;
    left: 0px;
    text-align: center;
    margin-top: 0px;
    text-decoration: none;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.nav-inline {
    display: inline-flex;
    flex-direction: row;
    white-space: nowrap;
}
/*card support*/
.card-header.header-bg {
    color: white !important;
    font-weight: bold !important;
    background-color: #05798c !important;
}

/*.wj-flexgrid .wj-cell {
    display: flex;
    align-items: center;
}*/

.wj-flexgrid .wj-cell.wj-align-right {
    justify-content: flex-end;
}

.wj-flexgrid .wj-cell.wj-align-center {
    justify-content: center;
}

.ip-lable {
    display: inline;
    width: 150px;
}

.ip-panel {
    padding: 5px;
    display: flex;
}

.ip-button {
    display: inline-block;
    margin-left: 10px;
}


footer {
    clear: both;
}

.groupbox {
    border-radius: 5px;
    border: 1px solid #ff99cc;
    margin: 5px;
    padding: 0px;
}

.groupbox-header {
    text-align: center;
    border-radius: 10px 10px 0 0;
    color: white;
    font-size: 20px;
    text-shadow: 1px 1px black;
    background: linear-gradient(to bottom right, #33ccff 0%, #ff99cc 100%);
    padding: 2px;
    margin: 0px;
}
/** content chứa drag item*/
.itemdrag {
    left: 0;
    top: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    color: darkred;
    pointer-events: none;
    display: none;
    position: absolute;
    border: 2px solid DodgerBlue;
}

.itemdragin {
    height: 30px;
    width: 120px;
    color: white;
    text-align: center;
    font-size: large;
    padding: 5px;
}

/* Style the tab content (and add height:100% for full page content) */
.tabcontent {
    color: black;
    background-color: white;
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    border-bottom-right-radius: .5rem;
    border-bottom-left-radius: .5rem;
    display: none;
    padding: 10px;
    height: 100%;
}

/* Style tab links */
.tablink {
    float: left;
    border-style: solid;
    border-width: 1px 1px 0px 1px;
    cursor: pointer;
    padding: 5px 10px;
    z-index: 90;
    outline: none !important;
    margin-left: 1px;
    filter: drop-shadow(1px 1px 1x gray);
}

.tablink-2 {
    float: left;
    border-style: solid;
    border-width: 1px 1px 0px 1px;
    cursor: pointer;
    padding: 5px 10px;
    width: 50%;
}

.tablink-3 {
    float: left;
    border-style: solid;
    border-width: 1px 1px 0px 1px;
    cursor: pointer;
    padding: 5px 10px;
    width: 33%;
}

.tablink-4 {
    float: left;
    border-style: solid;
    border-width: 1px 1px 0px 1px;
    cursor: pointer;
    padding: 5px 10px;
    width: 25%;
}



.cell-header {
    border-top: 1px solid #008198;
}

.cell-buoi {
    border-top: 1px solid #7B3131;
}

.cell-header-group {
    border-top: 1px solid #008198;
    border-bottom: 1px solid rgba(0,0,0,0) !important;
}

.cell-group {
    border-bottom: 1px solid rgba(0,0,0,0) !important;
    border-top: 1px solid rgba(0,0,0,0) !important;
}

table {
    border-collapse: collapse;
}

.rotate {
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    width: 1.6em;
}

    .rotate div {
        -moz-transform: rotate(-90.0deg); /* FF3.5+ */
        -o-transform: rotate(-90.0deg); /* Opera 10.5 */
        -webkit-transform: rotate(-90.0deg); /* Saf3.1+, Chrome */
        filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=0.083); /* IE6,IE7 */
        -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0.083)"; /* IE8 */
        margin-left: -10em;
        margin-right: -10em;
    }

.disabled {
    pointer-events: none;
    opacity: 0.6;
}

.dropdown-menu {
    display: none;
    box-shadow: 0px 1px 2px 0px gray;
    padding: 0px;
    margin: 0px;
}

    .dropdown-menu > li {
        padding: 2px;
        width: 100%;
    }

        .dropdown-menu > li:hover {
            background: rgb(174,238,232);
            background: radial-gradient(circle, rgba(174,238,232,1) 0%, rgba(148,233,198,1) 100%);
        }

        .dropdown-menu > li > a {
            -webkit-user-select: none; /* Safari */
            -moz-user-select: none; /* Firefox */
            -ms-user-select: none; /* IE10+/Edge */
            user-select: none; /* Standard */
            text-decoration: none;
            padding: 2px;
            min-height: 25px;
            width: 100%;
            color: black;
        }

            .dropdown-menu > li > a > i {
                -webkit-user-select: none; /* Safari */
                -moz-user-select: none; /* Firefox */
                -ms-user-select: none; /* IE10+/Edge */
                user-select: none; /* Standard */
                text-decoration: none;
                padding: 2px;
                width: 30px !important;
                color: gray;
            }

.d-note {
    min-height: 15px;
    min-width: 30px;
    display: inline-block;
    border: 1px solid gray;
    margin: 1px;
}

.d-inline {
    display: flex;
    flex-direction: row;
}

.divider {
    height: 1px !important;
    padding: 0px !important;
    background-color: gray !important;
}


.wj-align-right {
}

.grid-item {
    padding: 2px;
}

.grid {
    overflow: auto;
    height: 100%;
    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: 100%;
}

.lt5-grid {
    overflow: auto;
    height: 100%;
    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: 100%;
}

.g-c73 {
    grid-template-columns: 70% 30% !important;
}

/*.wj-cell {
    text-align: center !important;
    align-content: center !important;
    height: 33px !important;
    justify-content: center;
}*/

.g-r3 {
    grid-template-rows: auto auto auto !important;
}

.g-r4 {
    grid-template-rows: auto auto auto auto !important;
}

.g-r4-mix {
    grid-template-rows: max-content minmax(max-content, 200px) max-content minmax(max-content, 200px) !important;
}

.g-r2-mix {
    grid-template-rows: max-content minmax(max-content, 200px) !important;
}
/* Dành cho màn hình tỷ lệ nhỏ*/
@media only screen and (max-width: 1366px) {
    body {
    }
}



/*Trung style*/
.div-form fieldset {
    border: solid 1px #c0c0c0;
}
/*End Trung style*/




html, body {
    min-height: 100% !important;
    height: 100%;
}

/*--- TRUONG THEM */
.text-overflow-ellipsis {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tvgrid-item {
    padding: 2px;
}

.tvgrid {
    overflow: auto;
    height: 100%;
    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: 100%;
    margin-bottom: 0px;
    padding:1px;
}
/*----------------*/

.tvcenter {
    position: absolute;
    display: flex;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    flex-direction: column;
    border: 3px solid #0e9491;
    border-radius: 15px;
    align-items: center;
    background-color: white;
    padding: 15px;
    -moz-box-shadow: inset 0 0 3px #000000;
    -webkit-box-shadow: inset 0 0 3px #000000;
    box-shadow: 1px 2px 3px 3px rgba(0,0,0,0.2);
}

.div-drag-tkb {
    position: fixed;
    border: solid 1px #0085c7;
    box-shadow: 2px 3px 6px gray;
    background: #ffffff9c;
    height: 30px;
    min-width: 150px;
    max-width: 500px;
    top: -99px;
    left: -999px;
    justify-content: center;
    text-align: center;
    z-index: 9999;
    display: flex;
    align-items: center;
    text-shadow: 1px 1px 2px gray;
}

.tv-toast {
    visibility: hidden;
    min-width: 250px;
    margin-left: -125px;
    text-align: center;
    border-radius: 2px;
    z-index: 1;
    margin: 0.1rem;
}

    .tv-toast.show {
        visibility: visible;
        -webkit-animation: tvfadein 0.5s, tvfadeout 0.5s 3s;
        animation: tvfadein 0.5s, tvfadeout 0.8s 2.6s;
    }

@-webkit-keyframes tvfadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 30px;
        opacity: 1;
    }
}

@keyframes tvfadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 30px;
        opacity: 1;
    }
}

@-webkit-keyframes tvfadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}

@keyframes tvfadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}

.tvGButton {
    padding: 0px 4px;
    cursor: pointer;
    min-width: 25px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 100%;
    border: 1px solid #b3d4fc;
    border-radius: 0.5em;
    /*background: floralwhite;*/
}

    .tvGButton:active {
        background-color: white !important;
        color: black !important;
    }

    .tvGButton:hover {
        background-color: white !important;
        color: gray !important;
    }

.file-red {
    color: palevioletred;
    font-size: 20px;
}

.file-green {
    color: lightseagreen;
    font-size: 20px;
}

.file-blue {
    color: dodgerblue;
    font-size: 20px;
}

.file-orange {
    color: lightcoral;
    font-size: 20px;
}

.file-violet {
    color: darkviolet;
    font-size: 20px;
}

.tvbg-fill {
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center
}

.tvitem-center {
    position: absolute;
    display: flex;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    flex-direction: column;
    padding: 15px;
}

.view-file-image {
    transform-origin: top left;
    /* IE 10+, Firefox, etc. */
    -webkit-transform-origin: top left;
    /* Chrome */
    -ms-transform-origin: top left;
    /* IE 9 */
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.view-file-rotate90 {
    transform: rotate(90deg) translateY(-100%);
    -webkit-transform: rotate(90deg) translateY(-100%);
    -ms-transform: rotate(90deg) translateY(-100%);
}

.view-file-rotate180 {
    transform: rotate(180deg) translate(-100%, -100%);
    -webkit-transform: rotate(180deg) translate(-100%, -100%);
    -ms-transform: rotate(180deg) translateX(-100%, -100%);
}

.view-file-rotate270 {
    transform: rotate(270deg) translateX(-100%);
    -webkit-transform: rotate(270deg) translateX(-100%);
    -ms-transform: rotate(270deg) translateX(-100%);
}