﻿@media only screen and (max-width: 800px) and (max-height: 1024px) {
    #header-sidebar { display: block;}
    #wrapper-main { padding-top: 60px;}
    #header-main { display: none;}
    .fast-news { display: none;}
    .day-time  { display: none;}
    .box-nav-main { display: none;}
}
@media only screen and (min-width: 1024px)  {
    /*.body-main-left { width: 18%;}
    .body-main-right { width: 82%;}*/
    .box-quangcao-left  { width: 23%;}
    .news-hometop-scroll { height: 402px;}
}
@media only screen and (max-width: 480px)  {
    #top-header-setting { display: none;}
    .body-main-right { width: 100%;padding-left:15px;}
}

@media only screen and (max-width: 1024px) and (min-width: 768px) {
    .container { width: 100%;}
    .title-fast-news { width: 13%;}
    .list-fast-news  { width: 85%;}
    .news-hometop-scroll { height: 327px;}
}
@media only screen and (max-width: 1024px) {
    .search-box form { width: 100%;}
    .search-box input { width: 77%;}
    .search-box button { width: 22%;}
    #nav-main > ul > li > a { padding: 17px 8px !important;font-size: 13px !important;}
    .main-right img { max-width: 100%;height: auto !important;}
    .create-questions a { line-height: 44px;padding-left: 60px;font-size: 17px;}
     .slider-main { height: auto;}

}

@media only screen and (max-width: 800px) {
  .news-hometop-scroll { height: 410px;padding-left: 7px;}
  .box-contact-foo .col-sm-6 { height: 140px;text-align: left !important;margin-bottom: 10px;}
  .list-news .item-news { width: 100%;height: auto;}
  .list-news .item-news:nth-child(2n) { padding-left: 0;}
  .list-video-grird .item-video { width: 47%; }
  .list-video-grird .item-video .img { height: 180px;}
    .box-media .no-pd-r { padding-right: 15px;}
    .item-video-connect { width: 50% !important; }
    .item-video-connect:nth-child(1) { padding-top: 15px !important;}
      .detail-media .social-like { width: 100%;display: block;}
      .list-hinhanh-grird .item-images { width: 48%;}
      .list-hinhanh-grird .item-images .img { height: 180px;}
      .pd-r { padding-right: 15px;}
       .create-questions { margin-top: 10px;}
       .main-right , .main-left{ margin-top:10px;}
       #lstEvent select { margin-bottom: 10px;}
       .menu-item-link ul li a { font-size: 14px;}
}

@media only screen and (max-width: 480px) and (max-height: 768px) {
    .body-main-left { padding-right: 15px;margin-top: 30px;border-top: 5px solid #ec900b;padding-top: 10px;}
    .box-quangcao-left { display: none;}
    .box-news-hometop-scroll { float: left;border-top: 2px solid #e1e1e1;padding-top: 15px;margin-top: 10px;}
    .box-contact-foo .col-sm-6 { height: auto;}
    .contact-foo { text-align: left !important}
    .box-contact-foo { padding: 10px 0}
    .list-news .item-news .img { width: 100%;height: auto;}
    .list-news .item-news .detail { padding-left: 0;width: 100%;margin-top: 10px;}
    .menu-document a { width: 48.5%;margin-bottom: 8px;}
    .list-video-grird .item-video .img { height: 102px;}
    .list-video-grird .item-video .detail { height: 47px;}  
    .view-video-detail { height: 280px !important;}
    .detail-media { margin-top: 10px;}
    .item-video-connect { width: 100% !important;}
    .list-hinhanh-grird .item-images .img { height: 240px;}
     .list-hinhanh-grird .item-images { width: 100%;}
     .box-search-qa button { width: 30%;}
     .box-search-qa input { width: 68%;}
    #body-main-left,.box-left-left ,.box-right-right { position: relative !important;top: 0!important;right: 0!important;bottom: 0!important; left: 0 !important}
    .box-news-s1 .news-s1 ,.box-news-s2 .news-s2 { width: 100%;float: left;padding-right: 0 !important;padding-left: 0 !important;}
    .news-s1 .item-first .img  ,.news-s1 .item-first .img{ height: auto !important;}
    .menu-item-link ul li a { font-size: 18px}
    
  
}