/* Constants
-----------

"Maroon" main: #961c1f
"Maroon" hover: #b82226

"White": #fff
"Gray": #ececec
"Dark gray": #a0a0a0, #999
"Black": #333;

Image frame: #f1effa
Border 1px: #ccc

-----------*/

@media screen and (max-width: 831px) {

  body {overflow: hidden;}
  header {background: url(/includes/images/headfoot-800.png) 0 0 no-repeat;}
  footer {background: url(/includes/images/headfoot-800.png) 0 -150px;}

}

@media screen and (max-width: 795px) {

  /* Avoid horizontal site jumping due to show/hide scrollbar */
  html {overflow-y: scroll;}
  body {
    background-color: #fff;
    color: #222;
    font: 100%/1.5em Tahoma, Geneva, sans-serif;
    overflow: hidden;
  }

  /* Flexible media */
  article,
  aside,
  figcaption,
  figure,
  footer,
  header,
  menu,
  nav {display: block;}
  h1 {margin: .7em;}
  img {
    display: block;
    margin: 0.1em auto;
    max-width: 100%;
    height: auto;
  }
  header {
    background: #fff url(/includes/images/head-600.png) center center no-repeat;
    width: 100%;
    height: 130px;
  }
  .hide {display: none;}
  header h2 {
    color: #961c1f;
    display: block;
    margin: 0 auto;
    padding: 0;
    position: relative;
    text-align: center;
    top: 65%;
    right: auto;
    max-width: 100%;
  }
  .container {
    background-color: #fff;
    background-image: none;
    padding: 20px 15px 0;
    width: 100%;
  }
  .breadcrumbs {
    font-size: 0.8em;
    margin: 0 0 1.5em 0;
  }
  .main-spot {
    max-width: 100%;
  }

  /* Override element from demo-slideshow.css */
  .cycle-pager {margin: 1em 0 -0.2em !important;}
    .cycle-pager span {margin: 0 0.3em !important;}
  /* Override element from demo-slideshow.css */

  .wrapper {
    margin: 0 auto;
    text-align: center;
    width: 100%;
  }
    .wrapper img {
      display: inline-block;
      margin: 0.5em;
    }
  main {width: 100%;}
  .home {
    margin: 0;
    width: 100%;
  }
  article {width: 100%;}
    article h2,
    article h3 {text-align: center;}
  figure {margin: 5px auto -5px;}
  .framed {
    border-radius: 3px;
    margin: 1em auto;
    padding: 0.3em;
  }
  .hide{display: none;}
  .zoom {display: none;}
  .col-customers,
  .col-features {display: block;}
  .col-customers {
    margin: 0 0 -0.5em 0;
    width: 95%;
  }
  .col-features {
    margin-right: 30px;
    width: 95%;
  }
  aside {
    border: 1px dashed gray;
    border-radius: 5px;
    margin: 10px auto;
    padding: 10px 0;
    width: 100%;
  }
  .head {
    margin: -10px 0 10px;
    width: 100%;
  }
  footer {
    background-color: #961c1f;
    background-image: none;
    font-size: 12px;
    padding: 5px;
    width: 100%;
    height: auto;
  }
  address,
  .copyright {
    display: block;
    text-align: center;
  }
  address {margin: 0.5em auto;}
  .copyright {
    display: block;
    margin: 0.5em auto 1em;
    text-align: center;
  }

  /* Using HPGL table defs */
  .hpgl {width: 95%;}
}

@media screen and (max-width: 550px) {

  header {
  background: #fff url(/includes/images/head-500.png) center center no-repeat;
  width: 100%;
  height: 90px;
  }
  header h2 {font-size: .9em;}

  fieldset select {
    width: 100%;
  }
  .adv1 p,
  .adv2 p,
  .adv3 p {
    border-radius: 0;
    width: 100%;
  }

  /* DLG Comparison table defs */
  .dlg {font-size: 65%;}
  .dlg .logo-dlg,
  .dlg .logo-dlgol,
  .dlg .logo-dlg3d {display: none;}
.adv1,
.adv2,
.adv3 {
  background-position: 85% 0;
}
}
