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

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

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

Image frame: #f1effa
Border 1px: #ccc

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

/* Color snippets */
.red {color: red;}
.orange {color: #e37412;}
.yellow {color: #f4df0b;}
.green {color: green;}
.blue {color: blue;}
.cyan {color: cyan;}
.magenta {color: magenta;}
.maroon {color: #961c1f;}

.box-centered {
  display: block;
  margin: .5em auto;
}
.centered {text-align: center !important;}
.noborder {border-width: 0 !important;}
.nomargin {margin: 0 !important;}
.margin05 {margin: 0 .5em 0 0;}
.indent {padding-left: 6em;}
.left {float: left;}
.right {float: right;}
.fullwidth {width: 100%;}
.child {display: none;}

@media
only screen and (-webkit-min-device-pixel-ratio: 1.25),
only screen and ( min-device-pixel-ratio: 1.25),
only screen and ( min-resolution: 200dpi),
only screen and ( min-resolution: 1.25dppx)
{
  -webkit-font-smoothing: subpixel-antialiased;
}

* {
          box-sizing: border-box;
     -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  margin: 0;
  padding: 0;
}
/* Avoid horizontal site jumping due to show/hide scrollbar */
html {overflow-y: scroll;}

/* Defaults */
body {
  background-color: #ececec;
  color: #333;
  font: 100%/1.5em Tahoma, Geneva, sans-serif;
  width: 100%;
}

/* HTML5 says Hello! to old browsers */
article,
figcaption,
footer,
header,
main {display: block;}
/* HTML5 says Hello! to old browsers */

a {
  color: #961c1f;
  outline: none;
  text-decoration: none;
}
  a:hover {
    color: #b82226;
    text-decoration: underline;
  }

h1 {
  font-size: 165%;
  line-height: 1.5em;
  font-weight: bold;
  display: inline-block;
  vertical-align: middle;
}
  h1 a {
    color: #961c1f;
    text-decoration: none;
  }
  h1 a:hover {
    color: #b82226;
    text-decoration: underline;
  }
p {margin: 5px 0 10px;}
b,
strong {font-weight: bold;}
i,
em {font-style: italic;}
ol {list-style-type: decimal;}
ul {list-style-type: disc;}
code {
  display: block;
  font: 85% "Courier New", Courier, monospace;
  margin: 10px;
}
fieldset {
  border-width: 2px;
  border-radius: 5px;
  margin: 1em auto;
  padding: .5em 1em;
  width: 95%;
}
  fieldset .button {
    display: inline-block;
    margin: .5em 1.5em 0;
  }
  fieldset p {margin: .1em 0 .2em !important;}
  fieldset input {
    border: 1px solid #ccc;
    border-radius: 5px;
    margin: 0 .2em .2em .5em;
    padding: .2em;
  }
  .c-input {
    margin: -.2em 0;
    width: 100%;
  }
  fieldset select {
    border: 1px solid #ccc;
    border-radius: 5px;
    display: inline-block;
    margin-right: .3em;
    padding: 0 .3em;
  }
    fieldset select option {margin: .3em 0;}
.lev2 {margin-left: 30px;}
img {border-radius: 5px;}

/* Header */
header {
  background: url(/includes/images/headfoot.png) 0 0;
  font-size: 85%;
  margin: 5px auto 0;
  position: relative;
  width: 810px;/* header.png header sprite width and length */
  height: 150px;
}
.gohome {
  position: absolute;
  width: 100%;
  height: 100%;
}
header h2 {
  color: #fff;
  font-size: 1.2em;
  font-weight: normal;
  line-height: 1.4em;
  position: absolute;
  text-align: center;
  top: 25%;
  right: 10%;
}
iframe,
object,
embed {max-width: 100%;}
.container {
  background: url(/images/container.png) repeat-y;
  overflow: hidden;
  margin: 0 auto;
  padding: 20px 55px 0;
  text-align: center;
  z-index: 50;
  width: 810px;
}
.lng-switcher {
  font-weight: bold;
  margin: .6em 0 -.5em 0;
}
.breadcrumbs {
  border-bottom: 1px dashed #a0a0a0;
  color: #a0a0a0;
  font-size: 85%;
  margin: 20px 0 10px;
  padding-bottom: 5px;
  width: 100%;
}
.dlg-compare {margin-bottom: .5em;}
.main-spot {
  border-radius: 5px;
  margin: 20px 0 0;
  z-index: 10;
  width: 728px;
}
  .main-spot img {box-shadow: 0 1px #999;}
.intro {
  font-size: 100%;
  font-weight: normal;
  line-height: 1.5em;
  text-align: justify;
}
.wrapper {
  margin: 20px 0 0 -11px;
  text-align: center;
  width: 750px;
}
  .wrapper img {
    margin: 0 5px;
    box-shadow: 0 1px #999;
  }
.adv1,
.adv2,
.adv3 {
  background-position: 50% 0;
  background-repeat: no-repeat;
  background-size: 240px;
  border-radius: 5px;
  box-shadow: 0 1px #999;
  display: inline-block;
  margin-bottom: .5em;
  position: relative;
  vertical-align: middle;
  width: 32%;
  height: 160px;
}
.adv1 {background-image: url(/images/a1-back.jpg);}
.adv2 {background-image: url(/images/a2-back.jpg);}
.adv3 {background-image: url(/images/a3-back.jpg);}
  .adv1 p,
  .adv2 p,
  .adv3 p {
    background-color: #961c1f;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    color: #fff;
    font-size: 1.1em;
    line-height: 1.2em;
    margin-top: .3em;
    opacity: .9;
    padding: .2em .5em;
    position: absolute;
    text-align: left;
    text-shadow: 0 1px #000;
    top: 35%;
  }
  .learnmore {
    color: #fff;
    font-size: .9em;
    position: absolute;
    text-shadow: 0 1px #000;
    bottom: 2px;
    right: .5em;
  }
.slideshow {
  margin-bottom: 1.5em;
  width: auto !important;
}
  .slideshow img {
    border: 1px solid #ccc;
    border-radius: 5px;
  }
main {
  text-align: left;
  width: 700px;
}
.home {
  font-size: 85%;
  margin-left: -14px;
  text-align: center;
  width: 728px;
}
article {
  margin-bottom: 20px;
  width: 700px;
}
  article h2,
  article h3,
  fieldset legend {
    color: #961c1f;
    font-size: 1.1em;
    font-weight: bold;
    vertical-align: baseline;
  }
  article h2 {
    font-style: italic;
    margin-bottom: 5px;
  }
  article h3 {
    margin-top: 15px;
  }
  fieldset legend {padding: 0 .2em;}
  .prodname {display: inline-block;}
  article p {
    margin: 10px 0;
  }
  article ul,
  article ol {margin: 0 0 10px 30px;}
  article .rest-text {display: none;}
blockquote {
  color: #961c1f;
  font-style: italic;
  font-weight: bold;
  margin: 0 10px;
}
  blockquote:before {content:'“'}
  blockquote:after {content:'”'}
small {font-size: 60%;}
.logo-rules,
.logo-steelrules,
.logo-acdbs,
.logo-fg,
.logo-dlg,
.logo-dlgol,
.logo-dlg3d,
.logo-kinetics,
.logo-xenon,
.logo-foldup,
.logo-cut,
.logo-os,
.logo-dlgcube,
.indicator-red,
.indicator-orange,
.indicator-green {
  background: url(/images/sprites.png) no-repeat;
  display: inline-block;
  margin: 10px;
  vertical-align: middle;
}
.logo-rules {
  background-position: 0 0;
  width: 78px;
  height: 85px;
}
.logo-steelrules {
  background-position: 0 -85px;
  width: 78px;
  height: 85px;
}
.logo-acdbs {
  background-position: 0 -170px;
  width: 78px;
  height: 85px;
}
.logo-fg {
  background-position: 0 -255px;
  width: 79px;
  height: 85px;
}
.logo-dlg {
  background-position: -79px -85px;
  width: 84px;
  height: 84px;
}
.logo-dlgol {
  background-position: -79px -169px;
  width: 105px;
  height: 84px;
}
.logo-dlg3d {
  background-position: -79px -253px;
  width: 99px;
  height: 84px;
}
.logo-kinetics {
  background-position: -7px -401px;
  width: 57px;
  height: 85px;
}
.logo-xenon {
  background-position: 0 -486px;
  width: 77px;
  height: 85px;
  }
.logo-foldup {
  background-position: -78px 0;
  width: 199px;
  height: 85px;
}
.logo-cut {
  background-position: -81px -345px;
  width: 85px;
  height: 59px;
}
.logo-os {
  background-position: -163px -85px;
  width: 66px;
  height: 43px;
}
.logo-dlgcube {
  background-position: -83px -404px;
  width: 54px;
  height: 57px;
}
.indicator-green {
  background-position: -43px -571px;
  width: 14px;
  height: 16px;
}
.indicator-orange {
  background-position: -57px -571px;
  width: 14px;
  height: 16px;
}
.indicator-red {
  background-position: -71px -571px;
  width: 14px;
  height: 16px;
}
figure {
  display: table;/* Unknown width block centering for a while */
  margin: 10px auto -10px;
  position: relative;
  z-index: 10;
}
.framed {
  background-color: #f1effa;
  border-radius: 10px;
  margin: 15px auto;
  padding: 10px;
  position: relative;
}
  .framed img {
    display: block;
    margin-bottom: 5px;
  }
figcaption {
  font-size: 85%;
  margin: 0;
  text-align: center;
}
.zoom {
  background: url(/images/sprites.png) -20px -571px;
  opacity: .8;
  margin: 0 0 0 -20px;
  position: absolute;
  z-index: 50;
  top: 10px;
  right: -20px;
  width: 23px;
  height: 16px;
}
.col-customers,
.col-features {
  display: inline-block;
  vertical-align: top;
}
.col-customers {
  margin: 10px 10px 0 0;
  width: 220px;
}
.col-features {
  margin-right: 30px;
  width: 200px;
}
.button {
  background: #961c1f;
  border-radius: 5px;
  display: block;
  color: #ececec;
  font-size: 18px;
  margin: 20px auto;
  padding: .5em 2em;
  text-align: center;
  text-decoration: none;
  width: 14em;
}
  .button a {color: #ececec;}
  .button:hover {
    background: #b82226;
    color: #ececec;
    outline: none;
    text-decoration: none;
  }
.demo-os {
  display: block;
  margin: 1.5em 0;
  height: 50px;
}
.news-block {
  background-color: #f9f9f9;
  border: 1px dashed #a0a0a0;
  border-radius: 5px;
  margin: 10px auto;
  padding: 0 20px;
  width: 90%;
}
  .news-block h3 {
    display: block;
    margin-top: 10px;
    text-align: center;
  }
aside {
  background-color: #efefef;
  border-bottom: 1px solid gray;
  border-top: 1px solid gray;
  margin: 10px 0 10px -25px;
  padding: 10px;
  position: relative;
  text-align: center;
  vertical-align: top;
  width: 750px;
}
.quote {background-color: #fff4f4;}
.head {
  background-color: #999;
  color: #fff;
  font-weight: bold;
  letter-spacing: 5px;
  text-transform: uppercase;
  margin: -10px 0 10px -10px;
  padding: 5px 10px;
  text-shadow: 0 1px #333;
  width: 750px;
}
  aside small {font-size: 85%;}

/* Footer */
footer {
  background: url(/includes/images/headfoot.png) 0 -150px;
  color: #ececec;
  font-size: 11px;
  margin: 0 auto;
  text-shadow: 0 1px #333;
  z-index: 50;
  width: 810px;/* footer.png footer sprite width and length */
  height: 125px;
}
address,
.copyright {
  display: inline-block;
  font-style: normal;
  margin: 3.5em 0 0 5em;
  vertical-align: middle;
}

/* Tables */
table {
  border-spacing: 1px;
  border-collapse: separate;
  font-size: 85%;
  margin: 15px auto;
  text-align: center;
  width: 100%;
}
th, td {padding: 10px 5px;}
th {
  background-color: #e1e1e1;
  font-weight: bold;
  vertical-align: top;
}

/* Striping rows */
  tr:nth-of-type(even) {background-color: #f5f5f5;}
  tr:nth-of-type(odd) {background-color:#e6e6e6;}
.col1 {text-align: left;}

/* DLG Comparison table defs */
.dlg td {text-align: left;}
.dlg .col2,
.dlg .col3,
.dlg .col4 {
  vertical-align: top;
  width: 25%;
}

/* Success stories table defs */
.sstories .col1 {width: 180px;}
.sstories .col3 {width: 65px;}
/* Using HPGL table defs */
.hpgl {width: 80%;}
  .hpgl .col2 {
    font-weight: bold;
    width: 20%;
  }
  .hpgl .col3 {width: 15%;}
