.tv-container {
    display: block;
    font-family: Arial;
    box-sizing: border-box;
    transition: all 300ms;
    position: relative;
    background: #fff;
    border: 1px solid #ddd;
    padding: 15px;
    height: 350px !important;
    max-height: 400px !important;
    overflow: hidden;
}

.tv-container .Header span {
    background: #e79a10;
    padding: 15px 20px !important;
    line-height: 1.2 !important;
    margin: auto !important;
    text-transform: uppercase;
    font-size: 16px;
    color: #fff;
    display: none;
}

.tv-container h3 {
    color: #e79a10;
}

.tv-container ul {
    width: 100%;
    padding: 0;
}

.tv-container ul li {
    list-style: none;
    width: 100%;
    font-size: 10pt;
}

.tv-container ul li a:hover {
    /*text-decoration: underline;*/
    color: #ea2320;
}

.tv-container ul li:hover {
    color: #ea2320;
}

.tv-container .active {
    color: #ea2320;
}

.tv-container .cat-title {
    background: #ea2320;
    color: white;
    width: 90%;
    display: block;
    padding: 0.6rem 0;
    margin: 0 auto;
    text-align: center;
}

.tv-container .hr {
    width: 100%;
    display: block;
    padding-bottom: 0;
    border-bottom: 1px solid #e4e4e4;
    margin-left: 0;
    font-size: 13px;
    text-transform: uppercase;
    padding: 10px 0;
    font-weight: normal;
    color: #6c757d;
    padding-top: 0;
}

.tv-container .tv-category {
    /* width: 25%; */
    /* float: left; */
    padding: 15px;
    min-width: 200px;
}

.tv-container .tv-docs {
    display: block;
    padding: 15px;
    border: 1px solid #ddd;
    border-top: 0;
    flex: 1;
}

.tv-container .tv-list table {
    width: 100%;
    table-layout: fixed;
}

.tv-container .tv-list table tr td a {
    padding-right: 0;
    display: inline-block;
    height: 100%;
    width: 100%;
}

.tv-container .tv-list {
    overflow-x: hidden;
    overflow-y: auto;
}

.tv-container .tv-list table tr td {
    padding: 10px;
    vertical-align: top;
}

.tv-container .tv-doc {
    display: flex;
    text-align: center;
    cursor: pointer;
    padding: 1rem;
    border-radius: 3px;
    border: 1px solid #ccc;
    overflow: hidden;
    height: 100%;
    flex-direction: column;
    width: 100%;
}

.tv-container .tv-doc:hover {
    box-shadow: 2px 2px 6px silver;
}

.tv-container .tv-doc img {
    width: 100%;
    height: 100%;
    max-height: 100%;
    /*min-width: 80px;
    max-width: 210px;*/
    object-fit: contain;
}

.tv-container .tv-doc div:nth-child(1) {
    padding: 10px;
    width: auto;
    border: 1px solid #ddd;
    height: 200px;
}

.tv-container .tv-doc div:nth-child(2) {
    width: 100%;
    font-size: 14px;
    text-align: left;
    margin-top: 10px;
    margin-bottom: 20px;
    flex: 1;
}

.tv-container .tv-doc div:nth-child(2) span {
    display: inline-block;
    width: 100%;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    display: -webkit-box;
    text-align: justify;
    color: #212529 !important;
}

.tv-container .tv-doc div:nth-child(3) {
    color: silver;
    display: flex;
    float: left;
    padding-left: 0.1rem;
}

.tv-container .tv-doc div:nth-child(3)>p {
    display: flex;
    justify-content: center;
    flex-direction: row;
    align-items: center;
    overflow: hidden;
    margin: 0;
    margin-right: 10px;
    font-size: 12px;
}

.tv-container .tv-doc div:nth-child(3) img {
    width: 15px !important;
    min-width: 0px !important;
    margin-right: 3px;
    opacity: 0.3;
}

.tv-container .tv-doc div:nth-child(3) p:nth-child(1) img {
    opacity: 1 !important;
    object-fit: contain;
}

.tv-container .tv-filter>div {
    display: flex;
    padding: 0.5rem 0;
    margin-bottom: 0.5rem;
    align-items: center;
    gap: 10px;
}

.tv-container .tv-filter div:nth-child(1) {
    flex-grow: 1;
}

.tv-container .tv-filter div:nth-child(2) {
    flex-grow: 1;
    text-align: right;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.tv-container .tv-filter select {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 15px;
}

.tv-container .tv-filter input {
    padding: 10px;
    border: 1px solid #ccc;
    font-size: 15px;
    border-radius: 3px;
}

.tv-container .tv-filter input[type="submit"] {
    border: 1px solid silver;
    width: 20%;
    background: #ea2320;
    color: white;
    cursor: pointer;
}

.tv-container .tv-filter span {
    margin-right: 0.5rem;
}

.tv-container .tv-filter a {
    text-decoration: none;
    display: inline-block;
    background: #e79a10;
    font-size: 15px;
    padding: 12px 20px;
    border-radius: 3px;
    color: #fff;
}

.tv-container .tv-filter input[type="text"] {
    flex: 1;
}

.tv-details {
    padding: 15px;
    display: block;
    height: auto;
    font-size: 14px;
}

.tv-container .tv-details tbody {
    display: block;
}

.tv-container .tv-details tbody tr {
    display: block;
}

.tv-container .tv-details tbody tr td {}

.tv-container .tv-details h3 {
    color: #e79a10;
    font-size: 20px;
    margin-bottom: 10px;
}

.tv-container .tv-details .info-details {
    color: #6c757d;
    display: flex;
    margin-top: 0.5rem;
    gap: 10px;
}

.tv-container .info-details img {
    width: 15px !important;
    height: 15px !important;
    min-width: 0px !important;
    margin-right: 2px;
    opacity: 0.3;
}

.tv-container .info-details p:nth-child(1) img {
    opacity: 1 !important;
}

.tv-container .info-details p {
    display: flex;
    justify-content: center;
    flex-direction: row;
    align-items: center;
    overflow: hidden;
    margin: 0;
    font-size: 13px;
}

.tv-container .tv-details p {
    padding: 0;
    margin: 0;
    color: #6c757d;
    margin-right: 0;
    font-size: 14px;
    margin-bottom: 10px;
    gap: 5px;
}

.tv-container .tv-download {
    text-align: right;
    display: block;
    height: 1.7rem;
}

.tv-container .tv-download a {
    padding: 0.55rem 1rem;
    text-decoration: none;
    color: white;
    background-color: green;
}

.tv-container .rViewer {
    width: 100% !important;
    margin: 0;
    height: 90vh !important;
    border: 1px solid silver;
    overflow: hidden;
    overflow-y: auto;
}

.tv-container .tv-login {
    border: 1px solid silver;
    display: none;
    padding: 1rem 3rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    transition: all 500ms;
    box-shadow: 0 0 3px silver;
}

.tv-container .tv-login input[type="submit"] {
    border: none;
    padding: 0.5rem;
    background: #003399;
    color: white;
    margin-top: 0.5rem;
    float: right;
}

.tv-container .btn-close {
    position: absolute;
    top: 0;
    right: 0;
    padding: 1rem;
}

.tv-container .detail-file {
    border: 1px solid #ccc;
    padding: 0;
    display: flex;
    margin-bottom: 20px;
}

.tv-container .btn-back {
    padding: 0.6rem;
    background: #ea2320;
    color: white;
    display: inline-block;
    margin-top: 1rem;
    margin-left: 0.5rem;
}

.tv-container .tv-more {
    display: flex;
    height: auto;
    gap: 20px;
    margin-bottom: 10px;
}

.tv-container .tv-more div:nth-last-child(1) {
    flex: 1;
}

.tv-container .tv-more div:nth-last-child(2) {
    flex: 1;
}

.tv-container .tv-more ul {
    padding: 0;
    margin: 0;
}

.tv-container .tv-more ul li {
    list-style: none;
    width: 100%;
    margin-top: 0;
    margin-left: 0;
    font-size: 14px;
}

.tv-container .tv-more ul li a {
    text-decoration: none;
    color: black;
    display: block;
    padding: 10px 0;
    line-height: 1.4;
    font-size: 14px;
}

.tv-container .tv-more ul li a:hover {
    color: #e89a10;
}

.tv-container .btn-paging {
    display: flex;
    justify-content: center;
}

.tv-container .btn-paging a {
    color: #8b9299;
    padding: 10px;
    display: inline-block;
}

.tv-container .div-refresh {
    margin-bottom: 0.5rem;
}

.tv-container .btn-refresh {
    text-decoration: none;
    color: #003399;
    margin-bottom: 8px;
    padding-left: 5px;
    display: inline-block;
}

.tv-container .lbl-message {
    text-align: center;
    padding: 10px;
    font-size: 13px;
    color: #adb5bd;
}

.tv-container .spinner-border {
    width: 1.5rem;
    height: 1.5rem;
    margin: 10px auto;
    display: block;
    color: #e79a10;
}

.tv-container .tv-more ul li+li {
    border-top: 1px dashed #ddd;
}

.tv-container>div>div:nth-child(2) {
    display: flex;
    gap: 15px;
    flex-direction: column;
}

.tv-container ul.category li {
    padding: 10px 0;
}

.tv-container ul.category li+li {
    border-top: 1px dashed #ddd;
}

.tv-container .ListItem {
    display: block;
    width: 100%;
    margin-bottom: 0;
}

.tv-container .ListItem .item:not(:last-child) {
    margin-bottom: 15px;
}

.tv-container .ListItem .item a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tv-container .ListItem .item a:hover {
    color: #e79a10;
}

.tv-container .ListItem .item a img {
    width: 100px !important;
    height: auto;
    object-fit: contain;
    border: 1px solid #ddd;
    /* padding: 5px; */
}

@media only screen and (max-width: 768px) {
    .tv-container>div>div:nth-child(2) {
        flex-direction: column;
    }

    .tv-container .tv-list table tr td {
        display: block;
        padding: 10px 0;
    }
}