/**
 * Colours from logo:
 *    #eeaa33    #ff7700
 *    #ffffff
 *    #ffeecc    #ffffdd
 *    #eeccaa    #ffdd77
 *    #774411    #992200
 */


/******************************************
 * Main structure
 */
body {
  background: #7d7065 url('background.jpg'); /* E9E6E4 */
  color:      #111008;
  font-family: 'Open Sans', 'Deja Vu Sans', 'Nimbus Sans L', Helvetica, Arial, sans-serif;
  font-size: 13px;
  margin: 0;
  padding: 0;
}

#main {
  background: #fff url(logo/logo-small.png) 95% 2.5em no-repeat;
  margin: -2em auto 0 auto;
  width: 85%;
  padding: 3em 5% 6em 5%;
  border-radius: 0 0 6px 6px;
  box-shadow: 0 3px 3px #444;
  max-width: 1600px;
  position: relative;
  behavior: url(/resources/js/PIE.htc);
}

#homebutton {
  position: absolute;
  top: 2em;
  right: 5%;
  width: 256px;
  height: 64px;
  display: block;
  text-indent: -1000em;
}

#sitemenu {
  background: #0a3b6a;
  position: absolute;
  top: 16px;
  left: 0;
  height: 32px;
  width: 60%;
  z-index: 10;
  border-radius: 0 3px 3px 0;
  box-shadow: 0 2px 2px rgba(96,96,96, 0.4);
  color: #eee;
  text-transform: uppercase;
  behavior: url(/resources/js/PIE.htc);
  overflow: hidden;
}

#sitemenu ul.c {
  padding: 0;
  margin: 7px 0 0 6em;
  list-style: none;
}

#sitemenu li {
  float: left;
  min-width: 5.5em;
  margin: 0;
  padding: 0 1em 0 1em;
  border-left: 1px dashed #406181; /* 176,176,176 @ 33% opacity */
}

#sitemenu li.first {
  padding-left: 0;
  border: none;
}

#sitemenu a, #sitemenu a:visited {
  color: #c0cad3; /* #eee @ 80% opacity */
  text-decoration: none;
}

#sitemenu a:hover {
  color: #fff;
}

h1, h2, h3, h4, .title {
  font-family: 'Open Sans Condensed', 'DejaVu Sans', 'Nimbus Sans L', Helvetica, Arial, sans-serif;
  font-stretch: condensed;
  font-style: normal;
  font-weight: normal;
  color: #463221; /*764f2e; #241304;*/
  margin: 0;
  padding: 0;
  page-break-after: avoid;
}

h1, #blog h3.post-title {
  letter-spacing: -0.04em;
  color: #147cdf;
  font-size: 250%;
  font-weight: bold;
  text-transform: none;
  line-height: 110%;
}

h2, #blog h4 {
  font-size: 160%;
  color: #463221;
  text-transform: none;
}

h3 {
  text-transform: uppercase;
  margin: 1em 0 0 0;
  font-size: 150%;
  margin-top: 2em;
}

h4 {
  color: #76685c;
  font-size: 120%;
  text-transform: uppercase;
}

/*.autonumbered h2:before {
  counter-increment: h2;
  counter-reset: h3;
  content: counter(h2) ". ";
  padding-right: 24px;
}

.autonumbered h3:before {
  counter-increment: h3;
  counter-reset: h4;
  content: counter(h2) "." counter(h3) ". ";
  padding-right: 36px;
}

.autonumbered h4:before {
  counter-increment: h4;
  content: counter(h2) "." counter(h3) "." counter(h4) ". ";
  padding-right: 48px;
}*/

a {
  color: #61574e; /*#7d7065;*/
  text-decoration-color: rgba(97,87,78, 0.2); /*#e7e4e0;*/
}

a:hover {
  text-decoration-color: rgba(97,87,78, 0.8);
}

#content p {
  margin-bottom: 0px;
}

h1+p, h2+p, h3+p, h4+p {
  margin-top: 0.25em;
}

.c {
  padding: 4px;
  margin: 0;
  display: block;
}

#forcescroll {
  position: absolute;
  bottom: -1px;
  left: 0px;
  height: 1px;
  width: 1px;
}

pre {
  border: 2px solid #e4e4e4;
  padding: 10px;
  background-color: #f0f0f0;
}

pre.text {
  border: none;
  background: none;
  padding: 0;
}

blockquote {
  border: 1px solid #606060;
  border-radius: 6px 0 6px 0;
  padding: 10px;
  background-color: #727272;
  color: #d0d0d0;
  font-style: italic;
  behavior: url(/resources/js/PIE.htc);
}

pre>code {
  display: block;
  margin-top: -10px;
}

blockquote {
  margin-left: 6%;
  margin-right: 6%;
  quotes: "\201C" "\201D";
  position: relative;
}

blockquote>p:first-child { margin-top: 0; }

.byline {
  font-size: 75%;
  text-align: right;
  margin: -0.4em 6% 0 0;
}
.byline:before { content: "\2015\00a0"; color: #aaa; }

dl {
  margin-left: 30px;
}

dl.inline, .callout dl {
  margin-left: 0;
}

dl.inline dt {
  float: left;
  width: 9em;
  clear: left;
  margin-top: 0.5em;
}

dl.inline dd {
  margin-left: 9em;
}

dl dt {
  font-weight: bold;
}

dl dd {
  margin-bottom: 0.6em;
}

table td, table th {
  vertical-align: top;
}

ol.faq .question {
  font-weight: bold;
  margin-bottom: 0.5em;
}

ol.faq .answer {
  margin-bottom: 1.5em;
}

#confidential {
  text-align: center;
  text-transform: uppercase;
  color: red;
  font-weight: bold;
  font-size: 200%;
}

.videoWrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  padding-top: 25px;
  margin-top: 1em;
  height: 0;
}

.videoWrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/******************************************
 * FlexSlider
 */
.flex-caption {
  width: 96%;
  padding: 2%;
  left: 0;
  bottom: 0;
  background: rgba(0,0,0,.5);
  color: #fff;
  text-shadow: 0 -1px 0 rgba(0,0,0,.3);
  font-size: 14px;
  line-height: 18px;
  margin: 0;
}

.widget ul.slides {
  margin: 0;
  padding: 0;
  list-style: none;
}

.flex-direction-nav a {
  height: 44px !important;
}


/******************************************
 * Index slideshow
 */
#index #photos {
  margin: 60px 0 0 auto;
  padding: 0;
  width: 595px;
  height: 595px;
}

#index #photos div {
  width: 595px;
  height: 595px;
  display: none;
  background: none;
}


/******************************************
 * Index header
 */
#index #main {
  height: 600px;
}

#index #header {
  margin: 60px 0 0 0;
  position: absolute;
  z-index: 10;
}

#index h1 {
  position: relative;
  margin: 0;
  top: 0;
  padding: 0;
  font-size: 112px;
  letter-spacing: -0.04em;
  text-shadow: 0 0 0.1em #fff;
  white-space: nowrap;
}

#index .icongrid {
  z-index: 10;
  position: relative;
  top: 220px;
  margin: 0;
  padding: 0;
  max-width: 400px;
}

.icongrid .icon {
  margin: 0;
  padding: 0;
  width: 128px;
  height: 180px;
  margin-right: 64px;
  float: left;
}

.icongrid .icon a img {
  border: none;
}

.icongrid .icon p {
  text-align: center;
  margin: 2px 0 0 0;
  padding: 0;
}

.icongrid .icon a {
  text-decoration: none;
}

.icongrid .icon a:hover {
  text-decoration: underline;
}



/******************************************
 * Product header
 */
#product #notheader, #feature #content, #blog #content .post {
  font-size: 12pt;
}

#product #header {
  margin: 60px 0 -88px 0;
  background: right bottom no-repeat;
  height: 400px;
  position: relative;
}

#product #header h1, #product #header h2 { 
  position: absolute;
  color: #147cdf;
  text-shadow: 0 0 0.1em #fff;
  white-space: nowrap;
}

#product #header h1 {
  font-size: 112px;
  top: 96px;
  left: -0.08em;
}

#product h2 {
  font-size: 28px;
  letter-spacing: 0.08em;
  top: 230px;
  left: 0;
}

#product #notheader {
  position: relative;
  z-index: 10;
}


/******************************************
 * Product sidebar
 */
#product .sidebar {
  float: right;
  width: 20%;
  clear: right;
  margin: 0 0 3em 0;
  text-align: right;
}

#product .sidebar h3 { margin: 0; padding: 0; }
#product .sidebar ul, #product .sidebar li {
  margin: 0;
  list-style: none;
  padding: 0;
}

#product .sidebar.subsection ul, #product .sidebar.subsection p {
  font-size: smaller;
}

#product #content, #feature #content, #blog #contenti .post {
  line-height: 1.625em;
}

#product #content {
  width: 75%;
  min-height: 28em;
}

#product .sidebar.icon {
  margin-top: -64px;
}

#product .sidebar .filesize {
  color: #888;
  font-size: smaller;
}

/******************************************
 * Front page
 */
#frontpage #banner_c {
  width: 100%;
  border: 1px solid #bbb;
  margin: 64px 0 0 0;
  padding: 2px;
  font-size: 14px;
}

#frontpage #banner {
  width: 100%;
  height: 30em;
  margin: -14px 0 0 0;
  padding: 0;
  background: #888 center no-repeat;
  background-size: 100%;
  position: relative;
}

#frontpage #banner_sh {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3em;
  background: #202020;
  margin: 0;
  padding: 0;
  opacity: 0.95;
}

#frontpage #banner #banner_sh .c .title {
  font-size: 180%;
  color: white;
  display: inline;
  margin-right: 0.5em;
}

#frontpage #banner a {
  text-decoration: none;
}

#frontpage #banner .c .title {
  font-size: 160%;
  color: #de8900;
  display: block;
  font-weight: bold;
}

#frontpage #banner ul, #banner li {
  list-style: none;
  display: block;
}

#frontpage #banner ul li {
  width: 33%;
  min-width: 14em;
  height: 5em;
  display: block;
  position: absolute;
  opacity: 0.85;
  background: #202020;
  right: 0;
  margin: 0;
  padding: 0;
  border-top: 1px dashed #bbb;
  white-space: pre;
}

#frontpage #banner ul li:hover {
  opacity: 0.9;
  background-color: #101010;
}

#frontpage #banner ul li:first-child {
  border-top-left-radius: 8px;
  border-top: none;
}

#frontpage #banner .c {
  opacity: 1.0;
  color: white;
}

#frontpage #banner #banner_sh .c {
  color: #aaa;
}

#frontpage #banner_h1 { bottom: 18em; }
#frontpage #banner_h2 { bottom: 13em; }
#frontpage #banner_h3 { bottom: 8em; }
#frontpage #banner_h4 { bottom: 3em; }

#frontpage #body .block {
  width: 29.9%;
  margin: 3em 0 1em 2.2%;
  padding-left: 2.3%;
  display: inline-block;
  vertical-align: top;
  border-left: 1px dashed #bbb;
}

#frontpage #body .block.first {
  margin-left: 0;
  padding-left: 0;
  border-left: none;
}

#frontpage #body .block.continuation {
  border-left: 1px dashed #fff;
}

#frontpage #body .block h3, #frontpage #body .block h3 a {
  margin: 0 0 0.5em 0;
  font-weight: bold;
  border-bottom: 1px solid #147CDF;
  color: #147CDF;
  text-decoration: none;
}


/******************************************
 * Feature
 */
#feature h1 {
  margin-top: 60px;
}

#feature h2 {
  margin-top: 2em;
  clear: right;
}

#feature .callout h2 {
  margin-top: 0;
}

#feature h3 {
  margin-top: 1.5em;
}

#feature h4 {
  margin-top: 1em;
}

#feature #content.with-left-sidebar {
  margin-left: 180px;
}

#feature #content.with-right-sidebar {
  margin-right: 180px;
}

#feature .sidebar {
  position: absolute;
  margin-top: 60px;
}

#feature .right.sidebar {
  right: 2.5%;
}

#feature .sidebar a.reviewpage, #feature .sidebar .block {
  display: block;
  margin-top: 6em;
}

.callout {
  background: #65727d;
  border: 2px solid #8ca2a1;
  color: #fff;
  padding: 1em;
  margin-top: 2em;
}

.callout h2, .callout h3 { color: #fff }
.callout h2:first-child, .callout h3:first-child { margin-top: 0; }
.callout a { color: #a2978c; }


#feature .figure {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

#feature .figure img { display: inline-block; }
#feature .figure p { font-size: smaller; font-style: italic; }

#feature .figure pre {
  text-align: left;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}

#feature table thead tr, #feature table tfoot tr {
  background: #ddd;
}

#feature table td, #feature table th, #feature table tr {
  margin: 0;
  border-bottom: 1px solid #888;
  border-collapse: collapse;
}


/******************************************
 * News
 */
ol.news {
  margin: 0;
  padding: 0; /* 0 0 14px;*/
}

ol.news li {
  background: #fff top left no-repeat;
  list-style: none;
  margin-bottom: 0.66em;
}

/*ol.news.main { padding-left: 36px; }*/
ol.news.embed li {
  padding-left: 16px;
  background-position: 0px 3px;
}

ol.news.embed .c {
  display: inline;
  margin-right: 1em;
  padding: 0;
}

ol.news.embed li.twitter { background-image: url(web-icon/twitter-12.png); }
ol.news.embed li.blob    { background-image: url(web-icon/blob-12.png); }
ol.news.embed li.rss     { background-image: url(web-icon/rss-12.png); }
ol.news.embed li .date {
  color: #888;
  font-size: smaller;
}

ol.news.main li {
  margin-bottom: 1em;
  padding-left: 40px;
  padding-top: 1em;
  background-position: 0px 1em;
  border-top: 1px dashed #666;
  min-height: 40px;
  clear: both;
}
ol.news.main li:first-child { border-top: none; }
ol.news.main .t { font-weight: bold; color: #444; }
ol.news.main li.twitter { background-image: url(web-icon/twitter.png); }
ol.news.main li.blob { background-image: url(web-icon/blob.png); }
ol.news.main li.rss { background-image: url(web-icon/rss.png); }
ol.news.main li .date {
  color: #888;
  font-size: smaller;
  display: block;
  margin-top: 0.4em;
}
ol.news.main .desc strong, ol.news.main .desc b { font-weight: normal; font-style: italic; }
ol.news.main .desc p { margin-top: 0.66em; }
ol.news.main .desc p:first-child { margin-top: 0.33em; }

ol.news a {
  text-decoration: none;
}

ol.news a:hover {
  text-decoration: underline;
}

/* -- Specific item handling...
 */
ol.news li#902d3c9647020c6980ce66dd115994c8 .desc img,
ol.news li#902d3c9647020c6980ce66dd115994c8 .desc a,
ol.news li#7d3171b8ae8866815225a60931a0ad30 .desc img {
  display: none;
}


/******************************************
 * Footer
 */
#footer {
  color: #eeccaa;
  padding: 2em 5% 1em 5%;
  position: relative;
}

#footer .ds {
  position: absolute;
  top: 0px;
  left: 0px;
}

#footer ul, #footer li {
  list-style: none;
  margin: 0 0.1em 0 0;
  padding: 0;
  font-size: 90%;
}

#footer a {
  color: #eeccaa;
  text-decoration: none;
}

#footer a:hover {
  text-decoration: underline;
}

#footer .column {
  float: left;
  width: 20%;
  margin: 1em 0 0 -1px;
  border-left: 1px solid #5d534b;
  height: 8em;
}

#footer .column h3 {
  margin-top: 1em;
}

#footer .column * {
  text-align: center;
}

#footer .column.first {
  border-left: none;
}

#footer #trail {
  clear: both;
  padding-top: 2em;
  text-align: center;
  color: #5d534b;
}

#footer #trail a {
  color: inherit;
}


/******************************************
 * Blog
 */
body#blog {
  position: inherit;
}

#blog #content {
  margin-top: 60px;
  margin-right: 280px;
  border-right: 1px solid rgb(238, 238, 238);
  padding-right: 1em;
}

#blog .right.sidebar {
  width: 236px;
  position: absolute;
  top: 120px;
  right: 5%;
  margin-top: 2.4em;
}

#blog .section {
  margin: 0px;
}

#blog h2 {
  text-transform: uppercase;
  font-size: 125%;
}

#blog .post-title a {
  text-decoration: none;
  color: rgb(45,86,127);
}

#blog .post-title a:hover {
  color: rgb(20,124,223);
}

#blog h3.post-title {
  margin-bottom: 0.5em;
}

#blog .post-footer {
    margin: 20px -2px 0px;
    padding: 5px 10px;
    color: rgb(102, 102, 102);
    background-color: rgb(249, 249, 249);
    border-bottom: 1px solid rgb(238, 238, 238);
    line-height: 1.6;
    font-size: 90%;
}

#blog .post-footer a, #blog #comments a, #blog #ArchiveList a, #blog .feed-links a {
  text-decoration: none;
}

#blog .post-footer a:hover, #blog #comments a:hover, #blog #ArchiveList a:hover, #blog .feed-links a:hover {
  text-decoration: underline;
}

#blog .post-footer .post-author {
  display: none;
}

#blog .post-footer .post-timestamp {
  margin-left: 0;
}

#blog .post-footer .post-timestamp:before {
  content: 'Posted ';
}

#blog .post-footer .post-share-buttons {
  display: inline-block;
}

#blog div#Blog1.widget.Blog .post {
  line-height: 1.625em !important;
}

#blog .comment-form iframe {
  height: 260px;
}

/* Hide:
    'Recommend this on Google'
    Blog pager 'next'
 */
#blog .goog-inline-block iframe,
#blog #blog-pager .home-link { display: none; }


/******************************************
 * Print media
 */
@media print {
  @page {
    margin: 0mm;
  }

  #footer {
    display: none;
  }
}

/******************************************
 * Phones
 */
@media only screen and (max-width: 880px) {
  #main {
    background-image: url('logo/logo-tiny.png');
  }

  #sitemenu {
    height: auto;
    top: 0.25em;
    width: auto;
    margin-right: 50%;
    height: 68px;
  }

  #sitemenu li {
    width: 48%;
    padding: 0;
    border: none;
    min-width: 8em;
  }

  #feature h1 {
    margin-top: 72px;
  }

  #feature #main, #product #main {
    display: table;
  }

  #feature #content, #product #content {
    display: table-header-group;
    margin-left: 0;
    margin-right: 0;
  }

  #feature .sidebar, #product aside {
    display: table-footer-group;
    float: none;
    position: relative;
    margin-top: 2em;
    text-align: center;
  }

  #feature .sidebar a.reviewpage, #feature .sidebar .block {
    display: inline-block;
    margin-top: 2em;
  }

  #product aside .sidebar {
    float: left;
    display: inline-block;
    clear: none;
    text-align: left;
    width: 16em;
    margin: 2em;
  }

  #product .sidebar.icon {
    display: none;
  }
}

@media only screen and (max-width: 940px),
       only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) {
  #frontpage #body .block {
    margin: 2em 0 0 0;
    padding: 0;
    border: none;
    width: 100%;
    height: auto !important;
  }

  #frontpage #banner {
    background-size: cover;
  }

  #frontpage #banner ul li {
    width: 50%;
  }

  #frontpage #body .block.continuation h3 { display: none; }
  #frontpage #body .block.continuation { margin-top: 0; }

  #main {
    width: auto;
    margin-left: 0.25em;
    margin-right: 0.25em;
  }
}

@media only screen and (max-width: 512px) {
  #sitemenu {
    margin-right: 176px;
  }

  #frontpage #banner ul li {
    width: 100%;
    white-space: normal;
  }

  #frontpage #banner {
    background-size: cover;
  }

  #frontpage #banner_sh {
  /*  height: auto; */
  }

  #footer .column:empty {
    display: none;
  }

  #footer .column {
    border: none;
    width: 50%;
    height: auto;
  }
}

@media only screen and (max-width: 400px) {
  #main {
    padding-top: 5em;
  }

  #sitemenu {
    height: auto;
  }
}

