.box_mid {
    padding-bottom: 50px;
}
.pagination {
    margin: 30px 0 0;
}
.pagination ul {
    padding: 0;
}
.pagination ul li:first-child {
    margin-left: 0;
}

.flex {
    flex-direction: row;
    flex-wrap: nowrap;
}
.flex .content_left {
    flex: 1 1 0px;
    padding-right: 40px;
}
.flex .sidebar_right {
    width: 390px;
}
.featured_video {
    margin-bottom: 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 20px;
    border-bottom: 1px solid #e2e2e2;
}
.featured_video::after {
    content: "";
    display: block;
    clear: both;
}
.featured_video .first_video {
    grid-column: 1/3;
    grid-row: 1 / span 2;
}
.featured_video .first_video .item {
    position: relative;
}
.featured_video .first_video .item .i-desc {
    z-index: 10;
    width: 100%;
    padding: 15px 10px;
}
.featured_video .first_video .item .i-desc .i-title {
    color: #444;
}
.featured_video .first_video .item .i-desc .i-title h3 {
    font-size: 20px;
    font-weight: bold;
    margin: 0;
}
.featured_video .first_video .item .i-desc .i-title a {
    color: #444;
}
.featured_video > .item {
    position: relative;
}
.featured_video > .item .i-image {
    max-height: 188px;
    overflow: hidden;
}
.featured_video > .item .i-desc {
    z-index: 10;
    width: 100%;
    padding: 10px;
    padding-bottom: 0;
    max-height: 60px;
    overflow: hidden;
}
.featured_video > .item .i-desc .i-title,
.featured_video > .item .i-desc .i-date {
    color: #444;
}
.featured_video > .item .i-desc .i-title a,
.featured_video > .item .i-desc .i-date a {
    color: #444;
}
.featured_video > .item .i-title {
    max-height: 60px;
    overflow: hidden;
}
.featured_video > .item .i-title h3 {
    font-size: 16px;
    margin: 0;
    font-weight: bold;
    line-height: 1.5em;
}
.featured_video > .item .i-content {
    font-size: 14px;
    line-height: 22px;
    max-height: 88px;
    overflow: hidden;
}
.list_video .item {
    overflow: hidden;
    padding: 15px 0;
    display: flex;
}
.list_video .item:last-child {
    padding-bottom: 0;
}
.list_video .item a {
    color: #444;
}
.list_video .item .i-title h3 {
    font-size: 22px;
    line-height: 1.3em;
    margin: 0;
    margin-bottom: 15px;
    margin-top: 10px;
    color: #444;
    font-family: "Roboto", sans-serif;
    font-weight: 700;
}
.list_video .item .i-image {
    width: 320px;
    padding-right: 30px;
}
.list_video .item .i-image a {
    display: block;
    border-radius: 8px;
    overflow: hidden;
}
.list_video .item .i-image img {
    width: 100%;
    height: 100%;
    overflow: hidden;
    aspect-ratio: 3/2;
}
.list_video.is-product .item .i-image img {
    object-fit: contain;
}
.list_video .item .i-desc {
    width: -webkit-calc(100% - 320px);
    width: -o-calc(100% - 320px);
    width: calc(100% - 320px);
}
.list_video .item .i-date {
    font-size: 13px;
    line-height: 20px;
    margin-top: 5px;
    position: relative;
}
.list_video .item .i-short {
    font-size: 16px;
    line-height: 1.5em;
    opacity: 0.8;
}
.list_video .hot_view {
    padding: 12px 0;
}
.list_video .hot_view > a {
    color: #444;
    display: flex;
    flex-direction: row-reverse;
}
.list_video .hot_view .i-desc {
    width: 140px;
}
.list_video .hot_view .i-desc .i-image {
    width: 100%;
    padding-right: 0;
    border-radius: 6px;
}
.list_video .hot_view .i-desc .i-image img {
    border-radius: 6px;
}
.list_video .hot_view .i-title {
    flex: 1 1 0px;
    padding-left: 20px;
}
.list_video .hot_view .i-title h3 {
    font-size: 14px;
    font-weight: normal;
    line-height: 1.4em;
    margin: 0;
}
.list_video .hot_view .i-short {
    display: none;
}
/* .ws-widget */
.ws-widget {
    position: relative;
    border-radius: 8px;
    padding: 5px 15px 15px;
    border: 1px solid rgba(0, 0, 0, .125);
}
.ws-widget__title {
    gap: 10px;
    display: flex;
    padding: 10px 0;
    font-weight: 700;
    align-items: center;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(0, 0, 0, .125);
}
.ws-widget__title::before {
    content: '';
    width: 12px;
    height: 12px;
    background-color: var(--ws-color-primary);
}
.ws-widget__content {
    padding-top: 10px;
}
.ws-widget .list_video {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.ws-widget .list_video .small-item {
    padding: 0;
    margin-bottom: 0;
    border-bottom-color: #fff !important;
}
.ws-widget .list_video .small-item > a {
    display: flex;
}
.ws-widget .list_video .small-item .i-image {
    width: 150px;
    padding-right: 15px;
}
.ws-widget .list_video .small-item .i-image img {
    border-radius: 6px;
}
.ws-widget .list_video .small-item .i-title {
    position: relative;
}
.ws-widget .list_video .small-item .i-title h3 {
    font-size: 16px;
    font-weight: normal;
    line-height: 1.6;
    margin: 0;
}
.ws-widget .list_video .small-item .i-desc {
    flex: 1 1 0px;
}

.box-categories {
    padding: 5px 15px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, .125);
}
.box-categories ul li {
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, .125);
}
.box-categories ul li:first-child {
    padding-top: 0;
}
.box-categories ul li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}
.box-categories ul li a {
    display: flex;
    position: relative;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    transition: all .3s ease;
}
.box-categories ul li:hover a {
    padding-left: 5px;
}
.box-categories ul li a.active {
    color: var(--ws-color-primary);
}
.box-categories ul li a:after {
    content: '\f101';
}

.grid_video {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 20px;
    row-gap: 20px;
}
.grid_video .item .i-image {
    overflow: hidden;
    width: 100%;
}
.grid_video .item .i-desc {
    padding: 10px 0px;
    padding-bottom: 25px;
}
.grid_video .item .i-desc h3 {
    margin: 0;
    font-size: 18px;
    line-height: 1.3em;
    font-weight: bold;
    max-height: 46px;
    min-height: 46px;
    overflow: hidden;
    color: var(--ws-color-primary);
}
.grid_video .item .i-desc h3 a {
    display: block;
}
.grid_video .item .i-desc .i-date {
    font-size: 14px;
    color: #666;
    margin-top: 10px;
    display: none;
}
.grid_video .item .i-desc .i-date::before {
    content: "";
    font-family: "FontAwesome";
    margin-right: 5px;
}
.grid_video .item .i-desc .i-short {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.5em;
}
.grid_video .item:nth-child(1),
.grid_video .item:nth-child(2),
.grid_video .item:nth-child(3) {
    border-bottom: 1px solid #e2e2e2;
}
.grid_video .item.small-item {
    padding-bottom: 20px;
    border-bottom: 1px dashed #e2e2e2;
}
.grid_video .item.small-item .i-image {
    width: 150px;
    padding-right: 10px;
}
.grid_video .item.small-item .i-desc {
    width: -webkit-calc(100% - 150px);
    width: -o-calc(100% - 150px);
    width: calc(100% - 150px);
    padding: 0;
}
.grid_video .item.small-item .i-desc h3 {
    font-size: 16px;
    color: #444;
    max-height: inherit;
}
.grid_video .item.small-item .i-desc .i-date {
    display: block;
}
.grid_video .item.small-item > a {
    display: flex;
}
.page-video.video-index .grid_video {
    grid-template-columns: repeat(2, 1fr);
}
.tab-pane {
    color: #333;
    display: block;
    margin-bottom: 40px;
}
.tab-pane .tab-pane-title {
    font-weight: bold;
    font-size: 22px;
    color: #333;
    text-transform: uppercase;
    line-height: 1.3em;
    margin-bottom: 20px;
    margin-top: 10px;
    font-family: "Roboto", sans-serif;
    font-weight: 700;
}
.video_related {
    margin-top: 20px;
}
.video_related .related_title {
    margin-bottom: 10px;
}
.video_related .related_title h4 {
    display: inline-block;
    position: relative;
    font-size: 22px;
    line-height: 40px;
    text-transform: uppercase;
    color: #444;
    margin: 0;
    font-family: "Roboto", sans-serif;
    font-weight: 700;
}
.video_related .grid_video {
    column-gap: 35px;
    row-gap: 35px;
}
.video_related .grid_video .item {
    border-bottom: none;
}
.video_related .grid_video .i-image img {
    width: 100%;
    height: 100%;
    border-radius: 6px;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    overflow: hidden;
}
.video_related .grid_video .i-desc {
    padding-top: 10px;
    padding-bottom: 0;
}
.video_related .grid_video .i-desc h3 {
    font-size: 16px;
    max-height: inherit;
    margin-bottom: 6px;
    font-weight: normal;
}
.video_related .grid_video .i-desc h3 a {
    color: #444;
}
.video_related .grid_video .i-desc .i-short {
    display: none;
}
.mod-content {
    margin: 0 -15px;
}
.the_date {
    padding-bottom: 10px;
    margin-bottom: 15px;
    border-bottom: 1px dotted #ccc;
    font-size: 13px;
    line-height: 20px;
    color: #999;
    margin-bottom: 8px;
    padding-left: 18px;
    position: relative;
}
.the_date:before {
    position: absolute;
    top: 0;
    left: 0;
    font-family: fontawesome;
    content: "";
    color: #66c9f9;
}

.alert.noitem {
    margin: 0;
    text-align: center;
}

.entry > .ws-form__contact,
.entry > .ws-block-form_contact {
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid var(--ws-color-primary);
}

.entry > .ws-block-form_contact p:last-child {
    margin: 0;
}

.single .ws-form__contact--button {
    max-width: 100%;
}
.post-shared {
    margin-top: 20px;
}
.post-shared .fb-shared {
    display: flex;
    list-style: none;
    padding: 0;
    gap: 10px;
}
.post-shared .fb-shared li,
.post-shared .fb-shared .fb_iframe_widget {
    margin: 0;
    height: 20px;
}
.post-shared .fb-shared .wrap-fb-like {
    top: 4px;
    position: relative;
}

#ws-box-comment {
    margin-top: 32px;
}

#ws-box-comment .comment-title {
    display: none;
}

#ws-box-comment .ws-box-comment__title {
    font-size: 22px;
    margin-top: 10px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 10px;
    text-transform: uppercase;
}

#ws-box-comment .comment-hide {
    overflow: hidden;
    display: block !important;
    border-radius: 0 0 10px 10px;
}

#ws-box-comment .comment-form textarea.form-control {
    border-radius: 10px 10px 0 0;
}

@media screen and (min-width: 1024px) {
    #posts-popular {
        top: 40px;
        position: sticky;
    }
}
@media screen and (max-width: 1024px) {
    .box_mid {
        padding-bottom: 40px;
    }
    .featured_video {
        grid-gap: 10px;
    }
    .flex .sidebar_right {
        margin-top: 40px;
        width: 100%;
    }
    .flex .content_left {
        width: 100%;
        padding-right: 0;
    }
    .video_related .grid_video {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media screen and (max-width: 768px) {
    .grid_video .item.small-item > a {
        display: block;
    }
    .grid_video .item.small-item .i-image {
        width: 100%;
        padding-right: 0;
        margin-bottom: 10px;
    }
    .grid_video .item.small-item .i-desc {
        width: 100%;
    }
}
@media screen and (max-width: 767px) {
    .mid-content > .wrapper > .flex {
        flex-direction: column;
    }
    .grid_video {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media screen and (max-width: 480px) {
    .featured_video {
        grid-template-columns: repeat(2, 1fr);
    }
    .featured_video > .item .i-desc {
        padding: 10px 0;
    }
    .featured_video .first_video {
        width: 100%;
        padding-right: 0;
    }
    .featured_video .first_video .item .i-desc {
        padding: 10px 0;
    }
    .grid_video {
        margin-bottom: 0;
        row-gap: 20px;
        column-gap: 10px;
    }
    .grid_video .item.small-item .i-desc h3 {
        font-size: 14px;
    }
    .grid_video .item .i-desc h3 {
        font-size: 15px;
        max-height: inherit;
    }
    .list_video .item {
        padding: 10px 0;
    }
    .list_video .item .i-image {
        width: 150px;
        padding-right: 15px;
    }
    .list_video .item .i-desc {
        flex: 1 1 0px;
    }
    .list_video .item .i-title h3 {
        margin-top: 0px;
        font-size: 14px;
        font-weight: normal;
    }
    .list_video .item .i-short {
        display: none;
    }
    .video_related .grid_video {
        column-gap: 0;
        row-gap: 20px;
        display: flex;
        flex-direction: column;
    }
    .video_related .grid_video .item {
        display: inline-flex;
        flex-direction: row;
    }
    .video_related .grid_video .item .i-image {
        width: 150px;
        padding-right: 15px;
    }
    .video_related .grid_video .item .i-desc {
        flex: 1 1 0px;
        padding-top: 0;
    }
}