@media screen and (max-width: 1199px) {
    #search select {
        padding: 4px 0px;
        margin-left: 4px;
    }
    #video .recent-video .list-video {
        margin: 0 15px;
        margin-bottom: 25px;
    }
    ul#primary-menu {
        margin-top: 10px;
    }
}
@media screen and (max-width: 991px) {
    .hot-banner div {
        height: auto;
    }
    #video .recent-video .title-video > p, #video .current-video .info > p {
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
    #news .right-bar .recent-news .recent-story ul li h4, #content .right-bar .recent-news .recent-story ul li h4 {
        font-size: 13px;
    }
    header#banner img {
        width: 100%;
    }
    .hot-banner img {
        width: 100%;
    }
    #news .info {
        bottom: 0;
        left: 20px;
    }
    #news .right-bar .recent-news .recent-story ul li h4 {
        font-size: 13px;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
    }
    #news .box-news .hot-news:after {
        height: 25%;
    }
    #news img {
        height: auto;
    }
    .navbar-header {
        width: 24%;
    }
    #news .left-bar .news .right-news {
        padding-top: 0;
    }
    #menu a {
        font-size: 11px;
    }
    .btn-submit {
        padding: 4px 50px;
    }
    #search:before {
        content: none;
    }
    #search .text-center {
        margin-top: 10px;
    }
    #news .right-bar .recent-news .recent-story ul li p {
        width: 65%;
        overflow: hidden;
        margin-top: -6px;
    }
    #video .recent-video .list-video {
        margin: 0 11px;
        margin-bottom: 21px;
    }
    footer .services, footer .company, footer .newsletter {
        margin-top: 0;
    }
    footer .services h4, footer .company h4, footer .newsletter h4 {
        font-size: 15px;
    }
    footer .newsletter .social ul li {
        margin-right: 3px;
    }
    #content p {
        margin: 20px 0 25px 0;
        line-height: 25px;
    }
    #content .news-other .box-new-other .title-news-other p {
        padding: 0 14px;
        line-height: 11px;
        font-size: 12px;
    }
    #news .left-bar .news .right-news .new:after {
        top: 0;
    }
    footer .newsletter .btn-submit {
        right: 17px;
    }
    .gallery-car-more {
        padding: 0 40px;
    }
    footer .address img {
        width: 100%;
        margin-bottom: 25px;
    }
    #news .right-bar .recent-news .recent-hot ul li img, #content .right-bar .recent-news .recent-hot ul li img  {
        height: auto;
    }
    #news .box-news .hot-news {
        height: 283px;
    }
    figure {
        margin: 1em 13px;
    }
}
@media screen and (max-width: 767px) {
    figure.gallery-item {
        width: 26%;
    }
    #news .right-bar .recent-news .recent-hot ul li, #content .right-bar .recent-news .recent-hot ul li {
        width: 100%;
    }
    .btn-submit {
        padding: 4px 22px;
    }
    .hot-banner div {
        height: auto;
    }
    #news .box-news .hot-news {
        height: auto;
    }
    #news .box-news .hot-news img {
        height: auto;
    }
    #news .right-bar .recent-news .recent-story ul li h4, #content .right-bar .recent-news .recent-story ul li h4 {
        line-height: 15px;
        bottom: 10%;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
    #content .news-other .box-new-other .title-news-other p {
        line-height: 15px;
        bottom: 10%;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
    #news .right-bar .recent-news .recent-hot ul li img, #content .right-bar .recent-news .recent-hot ul li img {
        height: auto;
        width: 100%;
    }
    .page-content {
        margin-bottom: 4em;
    }
    #content p {
        margin: 20px 0 25px 0;
        line-height: 25px;
    }
    #error p {
        font-size: 100% !important;
    }
    #content h1 {
        margin-left: 0;
    }
    #news .box-news .hot-news:after {
        height: 25%;
    }
    #news .info {
        bottom: 5px;
    }
    .navbar-header {
        width: 100%;
    }
    .active:after {
        content: none;
    }
    #search .text-center {
        margin-top: 40px;
    }
    #news .right-bar .recent-news .recent-hot ul, #content .right-bar .recent-news .recent-hot ul {
        display: flex;
        justify-content: space-around;
    }
    #news .right-bar .recent-news .recent-story ul li p, #content .right-bar .recent-news .recent-story ul li p {
        margin-top: 0px;
    }
    #video .current-video {
        margin-bottom: 15px;
    }
    footer .address img {
        width: 30%;
    }
    footer .input-form {
        width: 100%;
        height: 40px;
    }
    footer .newsletter .btn-submit {
        right: 1px;
        height: 3.2em;
    }
    footer .newsletter .social ul {
        display: flex;
        justify-content: space-around;
    }
    #content h2 {
        margin: 20px 50px 25px 50px;
    }
    #content .news-other .box-new-other {
        margin-top: 10px;
    }
    .current-menu-item:after {
        bottom: -5px;
    }
    #menu-right ul li a:hover:after {
        bottom: -5px;
    }
    button.navbar-toggle {
        margin-top: 15px;
        margin-right: -15px;
    }
    .navbar-fixed-top button.navbar-toggle {
        margin-right: 15px;
    }
    .navbar-fixed-top #menu-right {
        margin-left: 15px;
    }
    #news .right-bar .recent-news .recent-story ul li img, #content .right-bar .recent-news .recent-story ul li img {
        height: auto;
    }
    footer form {
        text-align: center;
    }
    #video .recent-video .title-video > p {
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
}
@media screen and (max-width: 625px) {
    figure.gallery-item {
        width: 25%;
    }
    #top-new .model {
        justify-content: space-between;
    }
    #top-new .model li {
        width: 31%;
    }
    #top-new .model li:nth-child(3n) {
        margin-right: 0;
    }
    #news .right-bar .recent-news .recent-hot ul, #content .right-bar .recent-news .recent-hot ul {
        flex-wrap: wrap;
    }
    .btn-submit {
        padding: 4px 15px;
    }
}
@media screen and (max-width: 508px) {
    label.thong_tin{
        display: block;
    }
    figure.gallery-item{
        width: 23%;
    }
    .btn-submit {
        padding: 4px 7px;
    }
    #video .recent-video .list-video {
        margin-left: 0;
        width: 100%;
    }
    #video img {
        height: auto;
    }
    #news .box-news .hot-news:after {
        height: 30%;
    }
    #videoplay:after {
        top: calc(50% - 90px);
    }
    .gallery-car-more li {
        width: 100%;
    }
    #news .info {
        left: 20px;
        bottom: 5px;
    }
    .news .col-xs-6 {
        width: 100%;
        margin-bottom: 10px;
    }

    #news .left-bar .box-news .news .col-xs-6 img {
        height: auto;
    }
    #news .right-bar .recent-news .recent-hot ul li, #content .right-bar .recent-news .recent-hot ul li {
        width: 100%;
    }
    #news .right-bar .recent-news .recent-hot ul li img, #content .right-bar .recent-news .recent-hot ul li img {
        height: auto;
    }
    .info h4 {
        font-size: 15px;
    }
}
@media screen and (max-width: 320px) {
    #videoplay:after {
        top: calc(50% - 120px);
    }
    .navbar-brand>img {
        width: 195px;
    }
    .info h4 {
        font-size: 12px;
    }
    #news .info {
        bottom: 0;
    }
    #video .recent-video .list-video {
        margin-left: 0;
    }
}