.sidebar-first #main-wrapper {
  background: #ffffff;
}
.region-sidebar-first {
display:none;
}
.sidebar-first #content {
width: 1120px;
}

@media (min-device-width: 728px) and (max-device-width: 1024px) and (orientation: landscape) {    
    
.sidebar-first #main-wrapper { background: #ffffff !important; }
    
.region-sidebar-first {
display:none !important;
}
.sidebar-first #content {
width: 1000px !important;
  padding: 20px 12px 0px 12px !important;
}
}
    
@media (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) {    
    
.sidebar-first #main-wrapper { background: #ffffff !important; }
    
.region-sidebar-first {
display:none !important;
}
.sidebar-first #content {
width: 730px !important;
  padding: 20px 12px 0px 12px !important;
}
    }

@media (min-device-width: 810px) and (max-device-width: 1080px) and (orientation: landscape) {    
    
.sidebar-first #main-wrapper { background: #ffffff !important; }
    
.region-sidebar-first {
display:none !important;
}
.sidebar-first #content {
width: 1000px !important;
  padding: 20px 12px 0px 12px !important;
}
    }
    
    
    @media (min-width: 728px) and (max-width: 977px), (max-width: 727px) {

  #page-wrapper,
  #page-wrapper #header,
  #page-wrapper #main-wrapper,
  #page-wrapper #content {
    width: auto;
  }
}