body {
    background-color: #ccc;
    padding: 0;
    margin: 0;
}

#app {
    flex-direction: column;
    min-height: 100vh;
    display: none;
}

#header {
    background-color: #fff;
    color: #000;
    padding: 5px;
    display: flex;
    justify-content: center;
    border-bottom: 1px solid #ccc;
    align-items: center;
    vertical-align: middle;
}

#header-name {
    flex: 1;
    font-weight: bold;
    font-size: 16pt;
    padding-left: 20px;
}

#body {
    display: flex;
    flex-direction: row;
    padding: 10px;
    height: calc(100vh - 50px);
    overflow-y: auto;
}

#body table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

#body table,
#body td,
#body th {
    border: 0.5px solid #ccc;
}

#body th,
#body td {
    padding: 5px;
    vertical-align: middle;
}

#body th {
    background-color: #2196F3;
    position: sticky;
    top: -10px;
    border: 0.5px solid #ccc;
    color: #fff;

}

video#video {
    width: 100%;
    height: calc(100vh - 220px);
}

#video::-webkit-media-controls {
    display: none !important;
}

#video::-webkit-media-controls-enclosure {
    display: none !important;
}

#video::-webkit-media-controls-panel {
    display: none !important;
}

div#configModal .modal-dialog {
    min-width: 100vw;
    min-height: 100vh;
    padding: 0;
    margin: 0;
}

.modal-fullscreen {
    min-width: 100vw;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

.modal-fullscreen .modal-content {
    min-height: 100vh;
    min-width: 100vw;
    margin: 0;
    padding: 0;
}

input[type=color] {
    width: 100%;
    border: none;
}

.modal-fullscreen .modal-content .modal-body {
    padding: 0;
    margin: 0;
}

#modalpreviewScene {
    flex: 1;
    overflow: hidden;
    width: 1920px!important;
    height: 1080px!important;
}

.fullscreen {
    background-color: #bba18a;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 9999;
    width: 100vw;
}

#fullVideo li {
    position: relative;
}

#fullVideo li span {
    font-size: 11px;
    position: absolute;
    margin: 5px;
    right: 0;
    background: #F44336;
    padding: 2px;
    color: #fff;
    border-radius: 2px;
}

#modalIframe iframe {
    width: 100%;
    height: 100%;
    border: none;
}

div#fullVideo {
    display: flex;
}

.fullVdeo img {
    width: 100%;
    height: 100%;
}

.fullVdeo {
    flex: 1;
    overflow: hidden;
}

#fullVideo ul {
    margin: 0;
    padding: 0;
    height: calc(100vh - 115px);
    overflow-y: auto;
    border: 5px solid #795548;
}

#fullVideo>ul {
    width: 170px;
}

#fullVideo ul img {
    width: 150px;
    margin: 5px;
    border: 1px solid darkolivegreen;
}

#fullVideo iframe {
    flex: 1;
    border: 5px solid #03A9F4;
}

#modalIframe .modal-header {
    display: none;
    border-radius: 0;
    position: absolute;
    border: none;
    right: 0;
    background-color: rgba(244, 67, 54, .8);
    color: #fff;
    border-radius: 2px;
    padding: 5px;
    margin: 5px;
    font-size: 12px
}

#modalIframe:hover .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#modalIframe .modal-header * {
    font-size: 12px;
    color: #fff;
}

div#configModal .form-control,
div#configModal button {
    background-color: rgba(0, 0, 0, .2) !important;
    color: #fff !important;
    border: none !important;
}

#modalpreviewScene img:hover,
#modalpreviewScene div:hover,
#modalpreviewScene iframe:hover {
    background-color: rgba(0, 0, 0, .2);
}

.anizoomIn {
    animation: scaleAnimation 4s;
}

@keyframes scaleAnimation {
    0% {
        transform: scale(1);
        /* Kích thước ban đầu */
    }

    100% {
        transform: scale(1.5);
        /* Trở về kích thước ban đầu */
    }
}
.hide {
    display: none;
}

.previewScene {
    height: 100%;
}

#gsapVideo.previewScene {
    height: calc(100vh - 230px) !important;
}

#gsapVideo.previewScene.fixed {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
}

th {
    white-space: nowrap;
}

.flex {
    display: flex;
    align-items: center;
}

.flex-1 {
    flex: 1;
}

tr.trscene>td:first-child {
    width: 360px;
    background-color: #333;
    color: #fff;
    font-weight: bold;
}

tr.trscene>td:first-child button {
    color: #fff;
}

audio {
    display: block;
    margin: 5px;
}

#bodyChudes {
    background-color: #fff;
}

/* #bodyChudes tr:nth-child(even) {background-color: #f2f2f2;} */
#bodyChudes tr:hover {
    background-color: yellow;
    color: #000;
}

tr.tr-2 {
    background-color: green;
    color: #fff;
}

tr.tr-1 {
    background-color: #f2f2f2;
    font-weight: bold;
}

#modalChitietChude .nav-link {
    color: #000;
}

#modalChitietChude .nav-link.active {
    color: #fff;
}

#modalChitietChude .tab-pane {
    height: calc(100vh - 115px);
    overflow-x: hidden;
    overflow-y: auto;
}

#modalChitietChude .accordion-button {
    color: #fff !important;
    font-weight: bold;
    background-color: #607D8B !important;
}

#modalChitietChude .nav,
#modalChitietChude .tab-content,
#modalChitietChude .accordion-item {
    background-color: #333;
}

#modalChitietChude .accordion-body {
    padding: 0;
}

#modalChitietChude .tab-content {
    border: 0 !important;
    border-top: 1px solid #ccc !important;
}

#modalChitietChude .modal-body {
    background-color: #555;
    height: calc(100vh - 57px);
    overflow: hidden;
}

.step-nav {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: #f0f0f0 !important;
}

.step-item {
    flex: 1;
    text-align: center;
    position: relative;
}

.step-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 10px;
    text-decoration: none;
    color: #666;
    border: none;
    background: none;
    width: 100%;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 75%;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #333;
    color: white;
    font-weight: bold;
    margin-bottom: 5px;
}

.step-text {
    font-size: 12px;
    font-weight: bold;
}

.step-item.active .step-link {
    color: #333;
}

.select2-dropdown {
    min-width: 150px;
}

.active .step-number {
    background-color: #E91E63;
}

#pills-B0 td:nth-child(1),
#pills-B0 th:nth-child(1) {
    background-color: #eee;
}

#pills-B0 td:nth-child(2),
#pills-B0 th:nth-child(2) {
    font-weight: bold;
}

.trgroup {
    background-color: #2196F3;
    font-weight: bold;
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 9999;
}

.trlabel {
    background-color: #f2f2f2 !important;
    font-weight: bold;
}

.panimate {
    font-weight: bold;
    color: red;
}

.step-nav {
    background-color: #3F51B5 !important;
}

.step-link {
    color: #fff;
    padding: 5px;
    flex-direction: row;
}

span.step-number {
    margin-right: 10px;
    background-color: orange;
}

.modal-fullscreen .modal-footer {
    border-radius: 0;
    padding: 5px;
    background-color: #333;
    border: 0;
}

.ketluan,
.ketluan1 {
    font-weight: bold;
    font-size: 20pt;
    text-align: center;
    background-color: rgb(211 60 112 / 71%) !important;
    padding: 8px 20px;
    height: auto !important;
    width: auto !important;
    border-radius: 30px;
    color: #fff;
    margin: auto;
}

.ketluan1 {
    background-color: rgba(60, 211, 118, 0.91) !important;
}

.ketluan2 {
    background-color: #009688 !important;
}

#modalChitietChude tr td,
#modalChitietChude .form-control,
#modalChitietChude .form-select {
    background-color: #333 !important;
    color: #fff !important;
}

#modalChitietChude tr td button {
    color: #fff !important;
}
.fullVdeo{
    display: flex;
    flex-direction: column;
}
.fullVdeo .divimg{
    height: calc(100vh - 225px);
}
.fullVdeo div.divul {
    overflow-x: auto;
    overflow-y: unset!important;
    width: 100%;
    display: flex;
    background-color: rgba(0, 0, 0, .9);
    border: 1px solid #795648 !important;
}
#fullVideo .fullVdeo ul{display: flex;height: unset;}
.fullVdeo ul li {
    display: inline-block;
    height: 100px;
}

#fullVideo .fullVdeo ul img,
#fullVideo .fullVdeo ul iframe {
    width: 160px;
    height: 100%;
    object-fit: contain;
    border: 0.5px solid #795548;
    margin: 0;
}

.fullVdeo li.active {
    background-color: yellow;
}
#configpanel{display: none;z-index: 99999;}
#btnconfig{position: absolute;top: 0;right: 0;z-index: 99999;}
#configModal img.active{
    z-index: 100;
}
#configModal img.active:hover{
    border: 2px solid red;
}