.media-detail  h5.question-title .title {
        font-size: 18px;
        font-weight: 600;
        display: block;
        color: #c70d0c;
        margin-bottom: 10px;
}
.media-detail  h5.question-title .content {
        font-size: 14px;
        font-weight: 600;
        color: #343a40;
        margin-bottom: 10px;
        display: block;
}
.media-detail  h5.question-title .date {
        font-size: 12px;
        font-weight: normal;
        color: #6c757d;
        display: block;
}
.media-detail  .UISocialShare {
        margin-bottom: 10px;
        align-items: flex-start;
}
.media-detail  .UISocialShare .facebook {
        margin-top: -2px;
}
.media-detail  div#divDetailMedia {
        padding: 10px;
}
.media-detail  .list-item>.item {
        margin-bottom: 20px;
        /* background: #dadde1; */
}
.media-detail  .list-item iframe{
        min-width: 100%;
        height: 45vw;
}
.media-detail  .list-item>.item img {
        max-width: 100%;
        width: 100%;
        cursor: pointer;
        display: block !important;
}
.media-detail  .list-item>.item .title, .list-item>.item .description {
        padding: 5px 10px;
        font-size: 14px;
        color: #1d2129;
        background: #dadde1;
}
.media-detail  .relation .title {
        font-size: 14px;
        font-weight: bold;
        text-transform: uppercase;
        color: #005f9d;
        display: inline-block;
        padding: 10px 0;
        border-bottom: 1px solid #005f9d;
        width: 100%;
        margin-bottom: 10px;
}
.media-detail   .navbar {
        padding: 0;
        margin-bottom: 0;
}
.media-detail   .navbar li {
        padding: 10px 20px;
}
.media-detail   .navbar-light .navbar-brand {
        padding: 10px 20px;
        padding-left: 0;
        font-size: 18px;
        text-transform: uppercase;
        font-weight: 600;
        color: #c70d0c;
}
.media-detail   .navbar li a {
        color: #1d2129 !important;
        font-size: 14px;
        padding: 0;
}
.media-detail   td.media-item img {
        width: 100%;
        height: 130px;
        object-fit: cover;
        border: 1px solid #e4e4e4;
}
.media-detail   td.media-item a {
        display: flex;
        flex-direction: column;
        gap: 10px;
        height: 100%;
        text-decoration: none;
}
.media-detail   span.caption i {
        color: #ffc107;
        margin-right: 5px;
        font-size: 13px !important;
}
.media-detail   span.caption strong {
        font-size: 13px;
        color: #1d2129;
        font-weight: 600;
        text-align: left;
}
.media-detail   .media-grid > tbody {
        display: flex;
        gap: 20px;
        flex-wrap: wrap;
}
.media-detail   .media-grid > tbody > tr {
        width: calc(25% - 15px);
        display: inline-block;
        margin: 0;
}
.media-detail   .media-grid {
        width: 100%;
        min-height: 300px;
}
.media-detail   tr.media-paging {
        display: block !important;
        width: unset !important;
        position: static;
        padding: 0;
        bottom: 0;
        right: 0;
        padding-bottom: 0;
        padding-right: 0;
        width: 100% !important;
}
.media-detail  tr.media-paging table{
        margin: auto;
}
.media-detail   tr.media-paging tr > td > span,
.media-detail   tr.media-paging tr > td > a {
        width: 25px;
        height: 25px;
        display: inline-flex;
        justify-content: center;
        align-items: center;
        background: #dee2e6;
        border-radius: 5px;
        text-decoration: none;
}
.media-detail   tr.media-paging tr > td > span {
        background: #015f9e;
        color: #fff;
        font-weight: 600;
}
.media-detail   .media-grid > tbody > tr:nth-child(1) {
        position: static;
        right: 0;
        width: calc(25% - 15px);
        height: auto;
        max-height: unset;
}
.media-detail   .media-list {
        position: relative;
}
.media-detail   .media-grid > tbody > tr > td {
        display: block;
        height: 100%;
        position: relative;
}
.media-detail   .media-grid > tbody > tr:nth-child(1) .image {
        /* height: calc(100% - 50px); */
}
.media-detail   .media-grid > tbody > tr:nth-child(1) .image img {
        height: 130px;
}
.media-detail   .image {
        position: relative;
}
.media-detail   span.media-tag {
        position: absolute;
        bottom: 1px;
        right: 1px;
        font-size: 10px;
        padding: 2px 5px;
        background: #d39e00;
        color: #fff;
        font-weight: 600;
}
.media-detail   span.caption {
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        padding-bottom: 0;
        display: -webkit-box;
        color: #fff;
        text-align: left;
}
.media-detail .image video, .media-detail .image audio, .media-detail .image iframe {
        width: 100%;
}
@media only screen and (min-width: 769px) and (max-width: 1023px){
        .media-detail {
                padding: 10px;
        }
}
@media only screen and (max-width: 768px){
        .media-detail   .navbar {
                max-width: 100%;
                overflow: auto;
        }
        .media-detail  .navbar-collapse {
                display: inline-block!important;
                max-width: 100%;
                overflow: auto;
        }
        .media-detail  .navbar-collapse ul {
                flex-direction: row !important;
        }
        .media-detail   {
                width: calc(100vw - 20px);
                margin: 0 10px;
                padding: 0;
        }
        .media-detail   .media-grid {
                width: 100%;
        }
        .media-detail   .media-grid > tbody {
                flex-direction: column;
                gap: 10px;
        }
        .media-detail   .media-grid > tbody > tr:nth-child(1) {
                position: static;
                width: 100%;
                height: auto !important;
                margin-top: 10px;
        }
        .media-detail   .media-grid > tbody > tr {
                width: 100% !important;
        }
        .media-detail   td.media-item a {
                flex-direction: row;
        }
        .media-detail   span.caption {
                flex: 1;
                text-align: justify;
        }
        .media-detail   .image {
                width: 130px;
        }
        .media-detail   .media-grid > tbody > tr:nth-child(1) a {
                flex-direction: column;
        }
        .media-detail   .media-grid > tbody > tr:nth-child(1) .image {
                width: 100%;
        }
        .media-detail   tr.media-paging {
                position: static;
        }
        .media-detail    tr.media-paging tr {
                display: flex;
                justify-content: center;
                width: 100%;
        }
        .media-detail   tr.media-paging>td {
                display: flex !important;
                width: 100%;
                justify-content: center;
        }
        .media-detail  td.media-item img{
                height: 90px;
        }
        .media-detail .list-item>.item img, .media-detail .list-item>.item .image{
                width: 100% !important;
        }
}
