#responsive-banner {
  display: none;
}

@media screen and (max-width: 980px) {

  body {
    background: #fc7001;
  }

  img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
  }

  img[src="http://www.wep.co.nz/wep/member-images/227/image/page-top.jpg"] {
    display: none;
  }

  #main_outline {
    width: auto;
  }

  #banner {
    display: none;
  }

  #responsive-banner {
    display: block;
    margin: 10px auto 0 auto;
    box-sizing: border-box;
    #border: 5px solid #ffffff;
    #border-radius: 5px;
    padding: 0 12px;
  }

  #secondary_outline {
    width: auto;
  }

  #footer {
    background: #ffffff;
    height: auto;
    width: auto;
    margin-top: 15px;
    color: #222222;
  }
  #footer p, #footer div, #footer a {
    color: #222222 !important;
  }

  #footer > table tr:first-of-type {
    display: none;
    visibility: hidden;
  }

  #footer > table tr > td {
    display: block;
    text-align: center;
    margin: 10px auto;
  }

  #content {
    width: auto;
    float: none;
    padding: 0;
    margin: 12px;
  }

  .force-scale {
    display: block;
    width: auto !important;
    height: auto !important;
  }

  table {
    width: auto !important;
    height: auto !important;
  }

  table td.hide {
    display: none !important;
  }

  .table-1 {
    display: block;
  }

  .table-1 td {
    display: block;
  }

  .table-2 td {
    display: block !important;
    width: auto !important;
    text-align: center;
  }

  .table-2 td#display4 {
    display: block !important;
  }

  .table-2 td#display4 > * {
    display: none;
  }

  .table-2 td#display4 > *:nth-child(-n+5) {
    display: block;
  }

  .table-3 td.left-sidebar {
    display: none;
  }

  .table-3 td.right-sidebar {
    display: none;
  }

  .table-3 tr:first-of-type, .table-3 tr:last-of-type, .table-3 td.right-sidebar, .table-3 td.left-sidebar {
    display: none;
  }

  .table-4 tr:first-of-type, .table-5 tr:first-of-type, .table-7 tr:first-of-type, .table-8 tr:first-of-type, .table-9 tr:first-of-type {
    display: none;
  }

  .table-6 {
    padding: 10px;
  }
  .table-2 #display4 img {
    margin: 0 auto;
  }
  form.contact-us {
    display: block;
    width: auto;
  }
  form#contact > table.contact-us td, form#contact > table.contact-us td > input[type=select] {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }
  form#contact .table-6 input[type=text], form#contact .table-6 textarea, form#contact .table-6 select {
    display:  block;
    box-sizing: border-box;
    width: 100% !important;
  }
  form#contact > .table-6 td {
    width: 100% !important;
  }
  td {
    width: auto;
  }
  form#contact > table tr {
    display: block;
  }
  form#contact > table td, form#contact > table td input {
    width: auto !important;
  }
  form#contact > table.contact-us td input {
    width: 100% !important;
    display: block;
  }
  textarea {
    max-width: 100%;
    width: 100%;
  }
  .inline-images {
    text-align: center;
  }
  .inline-images img {
    display: inline-block;
    vertical-align: top;
  }

  .box {
    float: none;
    width: auto;
    max-width: 278px;
    margin: 20px auto;
  }

}
