@media only screen and (max-width: 990px) {
  html {
    overflow-x: hidden;
  }
  .container {
    width: auto;
  }
  .container#page {
    left: 0px !important;
    padding: 0px !important;
  }
  #content {
    padding: 20px 0px 10px 0px;
  }
  #logo>div {
    position: relative;
    margin: 0 auto;
  }
  #logo {
    font-size: 18px;
  }
  #logo .logo-image-wrapper {
    left: 2px;
  }
  #header .conteiner_For_Header {
    width: auto;
  }
  div.data_enter {
    margin-left: 0px;
    padding: 15px 3px;
  }
  div.enter_menu {
    text-align: left;
  }
  div.em_block {
    width: 40%;
  }
  p.content_halo {
    width: auto;
  }
  div.logonError {
    position: relative;
    float: unset;
    top: auto;
    left: auto;
    margin: 0 auto;
    z-index: 100;
  }
  #mainmenu {
    width: auto;
  }
  #mainmenu ul li a:hover,
  #mainmenu ul li.active a {
    /* border-right: 1px solid #a71d21; */
  }
  .patient-orders-search-wrapper-old {
    display: none;
  }
  .patient-info {
    width: 96%;
  }
  .patient-info table td {
    padding: 2px !important;
    font-size: 12px;
  }
  .username {
    display: none;
  }
  div.td_dynamic {
    width: 94% !important;
  }
  caption,
  td,
  th {
    padding: 6px 8px 6px 2px !important;
  }
  #research>.medicalResearch>div {
    left: 0px !important;
  }
  .res_customs .custom_tables {
    min-width: 140px;
  }
  div.next_custom_unact {
    right: 28px;
    position: relative;
  }
  div.webrec_content {
    padding: 0px 5px 10px;
  }
  .res_customs {
    text-align: center;
  }
  .medicalResearch .titileToOneMaterial>div {
    position: relative;
    top: -25px;
  }
  .webrec_content .res_customs .prev_custom,
  .webrec_content .res_customs {
    position: absolute;
    margin-top: 20px;
    left: 0px;
    z-index: 1;
  }
  .webrec_content .res_customs .next_custom,
  .webrec_content .res_customs {
    position: absolute;
    margin-top: 20px;
    top: 0px;
    right: 20px;
    z-index: 1;
  }
  .prev_custom_unact, .next_custom_unact {
    display: none;
  }
  .webrec_content .res_customs .custom_tables {
    margin: 0px 30px 10px 0px;
    display: inline-block;
    float: none;
  }
  .webrec_content .res_customs .custom_tables.acttable {
    border-bottom: 3px solid #a71d21;
    margin-bottom: 7px;
    top: 0px;
  }
  .webrec_content .res_customs .custom_tables.acttable .bottom {
    display: none;
  }
  .webrec_content .res_customs .all_custom {
    right: 25px;
    position: absolute;
    bottom: 5px;
  }
  #mainmenu ul {
    padding: 6px 20px 5px 0px;
    width: 100%;
  }
  div.webrec_content1 {
    width: calc(100% - 40px);
    min-width: calc(100% - 40px);
  }
  div.td_dynamic .medicalResearch .titileToOneMaterial {
    height: auto;
    padding: 10px 0px 30px;
  }
  div.td_dynamic .medicalResearch .titileToOneMaterial .titleNameMaterial,
  div.td_dynamic .medicalResearch .titileToOneMaterial .material_ids,
  div.td_dynamic .medicalResearch .titileToOneMaterial .material_collect_time  {
    display: block;
    clear: both;
    width: 100%;
    left: 0px;
    margin-left: 10px;
    text-align: left;
  }
  #footer {
    width: auto;
  }
  table.head_results_table {
    font-size: 10px;
  }
}

@media only screen and (max-width: 420px) {
  div.container,
  div.footer {
    padding: 0px;
  }
  #content {
    padding: 20px 0px 10px 0px;
  }
}
