html {
  height: 100%;      /* Required so that contained div "curly-brace" can calculate its height */
}
body {
  background-color: #9d98e4;  /* Background behind the panes - seen in the gaps */
/*  font-family: Georgia, "Times New Roman", Times, serif;*/
  font-family: Verdana, Geneva, Arial, sans-serif;
  font-size: small;
  margin: 0px;
  line-height:1.4;
}
.xdivider
{
  width:20px;
  height:auto;
  display:inline-block;
}

header {
  background-color: #3f34c7;  /* Slightly darker - same colour as in footer */
  margin: 10px 10px 0px 10px; /* No bottom margin - top margin elsewhere has it covered */
  padding: 5px;
}

header div {
  display: table;
}
header img {
  float: left;
}
header p {
  margin: 0px;
  font-size: 300%;            /* Big text for heading title */
  font-weight: bold;
  background-color: #3f34c7;  /* Slightly darker - same colour as in footer */
  color: #efe5d0;
  font-style:oblique;
  display: table-cell;
  vertical-align: middle;
  border:none;
  padding: 0px 10px 0px 0px;
}

@media only screen and (max-device-width: 500px) {
  body {
    font-size: medium;
  }

  header img {
    height: auto;
    width: auto;
    max-width:  70px;
    max-height: 70px;
  }

  header p {
    font-size: 150%;            /* Big text for heading title */
  }
}

main {
  background: #efe5d0;
  border: none;
  font-size: 105%;
  padding: 5px 15px 5px 15px;
  vertical-align: top;
  margin: 0px 10px; /* left & right 10px */
  display: block;
}

.gem-logo {
  margin: 10px;
  float: right;
  height: 159px;
  width: 200px
}

@media only screen and (max-device-width: 500px) {
  .gem-logo {
    margin: 10px;
    float: right;
    height: auto;
    width: auto;
    max-width:  100px;
    max-height: 100px;
  }
}
footer {
  background-color: #3f34c7;  /* Slightly darker - same colour as in header */
  color: #efe5d0;
  text-align: center;
  padding: 15px;
  margin: 10px 10px 10px 10px; /* No top margin - bottom margin elsewhere has it covered */
  font-size: 90%;
  clear: left;
}
footer a {
  color: #efe5d0; /* Same colour as non-hyperlink text */
}
@media only screen and (max-device-width: 500px) {
  footer {
    font-size: 75%;
  }
}
h1, h2, .reseller-area summary {
  font-weight:bold;
  font-size: 130%;
  background-color: #c8b9ac;
  color: #954b4b;
  border:thin outset gray;
  clear:both;
  margin-top: 10px;
}
h2 {
  font-weight:bold;
  font-size: 115%;
  clear:both;
  margin-top: 10px;
}
.social-icon-box {
  float:left;
  display:block;
  width: 150px; /* Big enough for the biggest one - Wordpress */
}
.inside-box {
  display:block;
  text-align:center;
  height:50px;
  padding:5px;
}
.inside-box img {
  border-width: 0px;
  display:block;
  margin-left:auto; /* Center the image in the box */
  margin-right:auto;
}
.about-photo {
  float:right;
  border-style:solid;
  border-width:1px;
  margin:10px;
}
.champ-box {
  float:left;
}
@media only screen and (max-device-width: 500px) {
  .about-photo {
    float:none;
    border-style:solid;
    border-width:1px;
    display:block;
    margin-left:auto;
    margin-right:auto;
  }
  .champ-box {
    float:none;
    display:block;
    margin-left:auto;
    margin-right:auto;
  }
}
blockquote {
  border-left:1em solid #808080;
  margin:1.5em 1em;
  padding:.5em 1em;
  quotes:"\201C""\201D";
}
blockquote:before {
  color:#808080;
  content:open-quote;
  font-size:4em;
  line-height:.1em;
  margin-right:.25em;
  vertical-align:-.4em;
}

blockquote :first-child{display:inline;}
blockquote :last-child{margin-bottom:0;}

.news-dates {
  text-decoration: underline;
  font-weight: bold;
}

.index-content {
  float: left;
  width: 66%;
}
.index-news {
  float: right;
  width: 32%;
}
@media screen and (max-width : 930px){
  .index-content {
    float: none;
    width: 100%;
  }
  .index-news {
    float: none;
    width: 100%;
  }
}

.captioned-picture {
  float:left; margin:10px;
}
.captioned-picture p {
  text-align: center;
  margin-top: 0px;
  font-weight: bold;
}

.captioned-picture img {
  height: 384px;
  width:  512px;
}

@media only screen and (max-device-width: 768px) {
  .captioned-picture {
    width: 45%;
  }
  .captioned-picture img {
    height: auto;
    width: auto;
    max-width:  100%;
  }
}

@media only screen and (max-device-width: 500px) {
  .captioned-picture {
    width: 95%;
  }
  .captioned-picture img {
    height: auto;
    width: auto;
    max-width:  100%;
  }
}

table.reseller-table {
  border: 1px solid #800080;
  width: 100%;
}
table.reseller-table tr {
  border-style: solid;
  border-width: 1px;
}
table.reseller-table td {
  border-bottom: 1px solid #800080;
}
table.reseller-table td img {
  max-height: 75px;
}
table.reseller-table td:nth-child(1) {
  width: 50%;
}

@media only screen and (max-device-width: 500px) {
  table.reseller-table td img {
    max-width: 100%;
    max-height: none;
  }
}

/* Used for RHS pics that don't need to be half the width of the screen when on a large device */
.smaller-pics {
  float: right;
  border-style: solid;
  border-width: 1px;
  margin: 10px;
}

@media only screen and (max-device-width: 768px) {
  .smaller-pics {
    float: none;
    border-style: solid;
    border-width: 1px;
    margin: 10px 0px;
    max-width: 100%;
  }
}

.speech-bubble {
  width:120px;
}

@media only screen and (max-device-width: 500px) {
  .speech-bubble {
    width:60px;
  }
}

iframe.map {
  width: 700px;
  height: 380px;
}

@media only screen and (max-device-width: 768px) {
  iframe.map {
    width: 100%;
  }
}

div.video {
  margin: auto;
  width: 560px;
}
div.video iframe {
  width: 560px;
  height: 315px;
}

@media only screen and (max-device-width: 560px) {
  div.video {
    width: 100%;
    position: relative;
    padding-bottom: 56.25% /* ratio 16/9 */
  }
  div.video iframe {
    position: absolute;
    width: 100%;
    height: 100%;
  }
}
/***********************************************************/
/* Styling for big buttons at top of page ->DL or Buy pages*/
/***********************************************************/
.goto {
  background-color:#954b4b;
  color: white;
  float:left;
  padding: 5px 30px;
  min-width: 110px;
  margin:5px 20px 5px 0px;
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  border-radius: 15px;
  border: solid 1px #20538D;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 1px 1px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  text-transform: uppercase;
}
.goto:hover {
  background-color: #804040;
}
.goto:active {
  background-color:#462424;
}
.goto p:first-child {
  font-size:x-small;
  margin: 0px;
}
.goto p:last-child {
  font-size:medium;
  font-weight:bold;
  margin: 0px;
}
/***********************************************************/
/* Styling for download and 'Get License' buttons          */
/*---------------------------------------------------------*/
/* download-button uses three colour varients:-            */
/* Main button background: hsl(202,64%,48%)  other way rnd */
/* Gradient button colour: hsl(202,76%,55%)  on active     */
/* Button shadow colour:   hsl(202,73%,30%)                */
/*---------------------------------------------------------*/
/* get-lic-button uses three colour varients:-             */
/* Main button background: hsl(49,64%,48%)   other way rnd */
/* Gradient button colour: hsl(49,76%,55%)   on active     */
/* Button shadow colour:   hsl(49,73%,30%)                 */
/***********************************************************/
.download-button {
  text-decoration:none;
  font-size:small;
  color:black;
  position:relative;
  line-height:2em;
  padding:2px 18px;
  background-image:         linear-gradient(bottom, hsl(202,64%,48%) 0%, hsl(202,76%,55%) 100%);
  background-image:      -o-linear-gradient(bottom, hsl(202,64%,48%) 0%, hsl(202,76%,55%) 100%);
  background-image:    -moz-linear-gradient(bottom, hsl(202,64%,48%) 0%, hsl(202,76%,55%) 100%);
  background-image: -webkit-linear-gradient(bottom, hsl(202,64%,48%) 0%, hsl(202,76%,55%) 100%);
  background-image:     -ms-linear-gradient(bottom, hsl(202,64%,48%) 0%, hsl(202,76%,55%) 100%);
  -webkit-border-radius: 4px;
  -moz-border-radius:    4px;
  border-radius:         4px;
  -webkit-box-shadow: 0px 3px 0px 0px hsl(202,73%,30%), 0px  6px 3px gray;
  -moz-box-shadow:    0px 3px 0px 0px hsl(202,73%,30%), 0px  6px 3px gray;
  -o-box-shadow:      0px 3px 0px 0px hsl(202,73%,30%), 0px  6px 3px gray;
  box-shadow:         0px 3px 0px 0px hsl(202,73%,30%), 0px  6px 3px gray;
}
.download-button:active {
  top:2px;
  filter: brightness(100%);
  background-image:         linear-gradient(bottom, hsl(202,76%,55%) 0%, hsl(202,64%,48%) 100%);
  background-image:      -o-linear-gradient(bottom, hsl(202,76%,55%) 0%, hsl(202,64%,48%) 100%);
  background-image:    -moz-linear-gradient(bottom, hsl(202,76%,55%) 0%, hsl(202,64%,48%) 100%);
  background-image: -webkit-linear-gradient(bottom, hsl(202,76%,55%) 0%, hsl(202,64%,48%) 100%);
  background-image:     -ms-linear-gradient(bottom, hsl(202,76%,55%) 0%, hsl(202,64%,48%) 100%);
  -webkit-box-shadow: 0px 1px 0px 0px hsl(202,73%,30%),0px 3px 3px gray;
  -moz-box-shadow:    0px 1px 0px 0px hsl(202,73%,30%),0px 3px 3px gray;
  -o-box-shadow:      0px 1px 0px 0px hsl(202,73%,30%),0px 3px 3px gray;
  box-shadow:         0px 1px 0px 0px hsl(202,73%,30%),0px 3px 3px gray;
}
.download-button:hover, .get-lic-button:hover
{
  filter: brightness(120%);
}
@media screen and (max-device-width: 500px) {
  .download-button {
    font-size:x-small;
  }
}
.get-lic-button {
  text-decoration:none;
  white-space:nowrap;
  font-size:small;
  vertical-align:middle;
  color:black;
  position:relative;
  line-height:2em;
  padding:2px 18px;
  background-image:         linear-gradient(bottom, hsl(49,64%,48%) 0%, hsl(49,76%,55%) 100%);
  background-image:      -o-linear-gradient(bottom, hsl(49,64%,48%) 0%, hsl(49,76%,55%) 100%);
  background-image:    -moz-linear-gradient(bottom, hsl(49,64%,48%) 0%, hsl(49,76%,55%) 100%);
  background-image: -webkit-linear-gradient(bottom, hsl(49,64%,48%) 0%, hsl(49,76%,55%) 100%);
  background-image:     -ms-linear-gradient(bottom, hsl(49,64%,48%) 0%, hsl(49,76%,55%) 100%);
  -webkit-border-radius: 4px;
  -moz-border-radius:    4px;
  border-radius:         4px;
  -webkit-box-shadow: 0px 3px 0px 0px hsl(49,73%,30%), 0px  6px 3px gray;
  -moz-box-shadow:    0px 3px 0px 0px hsl(49,73%,30%), 0px  6px 3px gray;
  -o-box-shadow:      0px 3px 0px 0px hsl(49,73%,30%), 0px  6px 3px gray;
  box-shadow:         0px 3px 0px 0px hsl(49,73%,30%), 0px  6px 3px gray;
}
.get-lic-button:active {
  top:2px;
  filter: brightness(100%);
  background-image:         linear-gradient(bottom, hsl(49,76%,55%) 0%, hsl(49,64%,48%) 100%);
  background-image:      -o-linear-gradient(bottom, hsl(49,76%,55%) 0%, hsl(49,64%,48%) 100%);
  background-image:    -moz-linear-gradient(bottom, hsl(49,76%,55%) 0%, hsl(49,64%,48%) 100%);
  background-image: -webkit-linear-gradient(bottom, hsl(49,76%,55%) 0%, hsl(49,64%,48%) 100%);
  background-image:     -ms-linear-gradient(bottom, hsl(49,76%,55%) 0%, hsl(49,64%,48%) 100%);
  -webkit-box-shadow: 0px 1px 0px 0px hsl(49,73%,30%),0px 3px 3px gray;
  -moz-box-shadow:    0px 1px 0px 0px hsl(49,73%,30%),0px 3px 3px gray;
  -o-box-shadow:      0px 1px 0px 0px hsl(49,73%,30%),0px 3px 3px gray;
  box-shadow:         0px 1px 0px 0px hsl(49,73%,30%),0px 3px 3px gray;
}
@media screen and (max-device-width: 500px) {
  .download-button,
  .get-lic-button {
  padding:2px 10px;
    font-size:x-small;
  }
}
/***********************************************************/
/* A curly brace to show that all distrbuted platforms use */
/* one particular Get Licence button.                      */
/***********************************************************/
.curly-brace {
  display:block;
  width:  20px;
  height: 100%;
}
.curly-brace div {
  width:50%;
  height:25%;
}
.curly-brace div:nth-child(1) {
  border-top-right-radius: 20px;
}
.curly-brace div:nth-child(2) {
  border-bottom-left-radius: 20px;
}
.curly-brace div:nth-child(1),
.curly-brace div:nth-child(4) {
  border-right: solid 5px grey;
}
.curly-brace div:nth-child(2),
.curly-brace div:nth-child(3) {
  border-left: solid 5px grey;
  margin-left: 50%;
}
.curly-brace div:nth-child(3) {
  border-top-left-radius: 20px;
}
.curly-brace div:nth-child(4) {
  border-bottom-right-radius: 20px;
}

/***********************************************************/
/* Styling for customer industries to allow multiple       */
/* columns for large screens, and a single column for      */
/* narrow screens like mobiles.                            */
/***********************************************************/
.cust-columns {
  -webkit-column-count:4;
  -moz-column-count:4;
  column-count:4;
}

.cust-columns p:first-child {
  margin-top: 0px;
}

@media only screen and (max-device-width: 1280px) {
  .cust-columns {
    -webkit-column-count:3;
    -moz-column-count:3;
    column-count:3;
  }
}

@media only screen and (max-device-width: 640px) {
  .cust-columns {
    -webkit-column-count:2;
    -moz-column-count:2;
    column-count:2;
  }
}

@media only screen and (max-device-width: 400px) {
  .cust-columns {
    -webkit-column-count:1;
    -moz-column-count:1;
    column-count:1;
  }
}

/***********************************************************/
/* Styling for images that are on the RHS of the page in   */
/* the large screen view, or just inline at full width on  */
/* the mobile view.                                        */
/***********************************************************/
.columns {
  -webkit-column-count:2;
  -moz-column-count:2;
  column-count:2;
  width:100%;
}

.column {
  -webkit-column-break-inside:avoid;
  -moz-column-break-inside:avoid;
  column-break-inside:avoid;
  display:table; /* Not every device pays attention to column break, nor to this */
  width:100%;
}

.column img {
  width: 100%;
  margin-bottom: 10px;
}

@media only screen and (max-device-width: 768px) {
  .columns {
    -webkit-column-count:1;
    -moz-column-count:1;
    column-count:1;
  }
}
/***********************************************************/
/* Must come after definition of columns since datasheets  */
/* are positioned in said columns & do not want width 100% */
/***********************************************************/
.datasheet-thumbnail {
  margin-bottom:10px;
  border-style: solid;
  border-width: 1px;
  width:100px !important;
  height:137px;
}

.datasheet-thumbnail-R {
  margin-left:10px;
  float:right;
}
.datasheet-thumbnail-L {
  margin-right:10px;
  float:left;
}

/***********************************************************/
/* Styling to turn an unordered list into a navigation bar */
/* and a mobile responsive drop-down one at that!          */
/***********************************************************/
.nav, nav {
  margin: 5px 0px -1px 10px; /* No bottom margin - touching main panel */
  font-size: medium;
}
.nav li a, nav li a { /* Style for menu links */
  text-decoration:none;
  display:     block;  /* NEW */
        min-width:   140px;  /* NEW */
        text-align:  center; /* NEW */
        height:      35px;   /* NEW */
        line-height: 35px;   /* NEW */
}
.nav ul li a:hover, nav ul li a:hover { /* Hover state for top level links */
  background-color: #efe5d0;
}
.nav ul , nav ul {        /* Strip the ul of padding and list styling */
  margin: 0px;
  list-style-type: none;
  padding: 5px 0px 0px 0px;
}
.nav ul li ul , nav ul li ul {        /* Strip the ul of padding and list styling */
  position: absolute; /* NEW */
  z-index:1;
}
.nav ul li , nav ul li {     /* Create a horizontal list with spacing */
  margin: 0px; /* No margins */
  display: inline-block;
  background-color: #c8b9ac;
  margin-right: 5px; /* NEW instead of below */
  /*padding: 5px 10px 0px 10px;  padding trbl */
}
.nav ul li a:link, .nav ul li a:visited, nav ul li a:link, nav ul li a:visited
{
  color: #954b4b;
  border-bottom: none;
  font-weight: bold;
}
/* New stuff for multi-level drop down links */
.nav li:hover ul a, nav li:hover ul a
{  /* Style for dropdown links */
        /*background: #c8b9ac;  /* darker menu colour */
        background: #efe5d0; /* lighter menu colour */
        color: #954b4b;
        height:      35px;
        line-height: 35px;
        border-bottom: #c8b9ac 1px solid;
        border-left: #c8b9ac 1px solid;
        border-right: #c8b9ac 1px solid;
}

.nav li:hover ul a:hover, nav li:hover ul a:hover
{ /* Hover state for dropdown links */
        background: #2f3036;
        color: #fff;
}

.nav ul li.selected, nav ul li.selected
{
  background-color: #efe5d0;
}

.nav li ul, nav li ul { /* Hide dropdown links until they are needed */
        display: none;
}

.nav li ul li, nav li ul li { /* Make dropdown links vertical */
        display: block;
        float: none;
}

/* Display the dropdown on hover */
/* '+' means only when following the thing before the plus - i.e. you */
/* can have several hidden tabs and it only unhides one of them       */
.nav ul li a:hover + .hidden, .hidden:hover,
nav ul li a:hover + .hidden
{
        display: block;
}

/*Style 'show menu' label button and hide it by default*/
.show-menu {
        text-decoration: none;
        color:      #efe5d0;
        background: #954b4b;
        text-align: center;
        padding: 10px 0;
        display: none;
  margin-right: 10px;
}

/*Hide checkbox*/
input[type=checkbox]{
    display: none;
}

/*Show menu when invisible checkbox is checked*/
input[type=checkbox]:checked ~ #menu{
    display: block;
}

/* Max-width calculated to fit 6 tabs (140 each) + padding */

@media screen and (max-width : 930px){
        /*Make dropdown links appear inline*/
        .nav ul, .nav ul li ul,
        nav ul, nav ul li ul
        {
                position: static;
                display: none;
                padding-right: 10px;
        }
        /*Create vertical spacing*/
        .nav ul li, nav ul li
        {
                margin-bottom: 1px;
        }
        /*Make all menu links full width*/
        .nav ul li, .nav li a, .nav ul li ul,
        nav ul li, nav li a, nav ul li ul
        {
                width: 100%;
        }
        /*Display 'show menu' link*/
        .show-menu {
                display:block;
        }
}

/***********************************************************/
/* Breadcrumb                                              */
/***********************************************************/
.breadcrumb, .breadcrumb a {
  color: blue;
}

/***********************************************************/
/* Collapsible sections                                    */
/***********************************************************/
.training {
  margin-left: 40px;
}
@media screen and (max-device-width: 500px) {
  .training {
    margin-left: 0px;
  }
}

.training summary {
  font-weight:bold;
}

.right-open-close {
  float: right;
  font-size: small;
}
.right-ind-link {
  float: right;
  font-size: large;
  margin-right:30px;
  text-decoration: none;
}
.faq {
  margin-left: 40px;
  clear:both;
}
@media screen and (max-device-width: 500px) {
  .faq {
    margin-left: 0px;
  }
  .right-ind-link {
    display: none;
  }
}

.faq summary {
  font-weight:bold;
}
/***********************************************************/
/* Styling for the license navigation bar                  */
/***********************************************************/
#licnav {
  background-color: #9d98e4;  /* Background behind the panes - seen in the gaps */
  margin: 0px 0px 0px 0px; /* No bottom margin - touching main panel */
  padding: 0px;
  /* border:1px solid red; */
}
#licnav a {
  text-decoration:none;
}
#licnav ul li a:hover {
  background-color: #efe5d0;
}
#licnav ul {
  margin: 0px;
  list-style-type: none;      /* Remove the bullets from the list */
  padding: 10px 5px 0px 5px;

}
#licnav ul li {
  margin: 0px; /* No margins */
  display: inline;
  background-color: #c8b9ac;
  padding: 5px 10px 0px 10px; /* padding trbl */
}
#licnav ul li a:link, #licnav ul li a:visited {
  color: #954b4b;
  border-bottom: none;
  font-weight: bold;
}
#licnav ul li.selected {
  background-color: #efe5d0;
}

#liclist li
{
  line-height:1.5;
}
.download-table
{
  height: 100%;      /* Required so that contained div "curly-brace" can calculate its height */
}
.download-table th   /* Header row with a little more space than the others */
{
  border-bottom:  thin solid #3f34c7;
  text-align:     left;
  padding-top:    5px;
  padding-bottom: 5px;
  padding-left:   20px;
  padding-right:  20px;
}
.download-table td    /* Not too much space between the rows */
{
  text-align:     left;
  padding-top:    2px;
  padding-bottom: 2px;
  padding-left:   20px;
  padding-right:  20px;
}
.download-table th:first-child,
.download-table td:first-child
{
  border-right:   thin solid #3f34c7;
  padding-left:   0px;
  padding-right:  20px;
}

.download-table th:nth-child(3),
.download-table td:nth-child(3) /* The column with the curly-brace */
{
  padding-left:   0px;
  padding-right:  0px;
}


.download-table th:last-child,
.download-table td:last-child /* 4th column (when it exists) right against edge of page */
{
  border-left:    thin solid #3f34c7;
  padding-left:   20px;
  padding-right:  0px;
}
.download-table
{
  border-collapse: collapse;
}

.download-table tr
{
  vertical-align:middle
}

@media screen and (max-device-width: 500px) {
  .download-table td,
  .download-table th {
    padding-left:  5px;
    padding-right: 5px;
  }
  .download-table th:first-child,
  .download-table td:first-child
  {
    padding-right: 5px;
  }
  .download-table th:nth-child(5),
  .download-table td:nth-child(5) /* 4th column (when it exists) right against edge of page */
  {
    padding-left:   5px;
  }
}

.lictable
{
  border-collapse: collapse;
  width:100%;
  border-spacing: 4px;
}
.lictable th
{
  border: thin solid;
  background-color: #9d98e4;
  padding: 3px 10px;
}
.lictable td
{
  border-left: thin solid;
  border-right: thin solid;
  padding: 3px 10px;
}
.lictable tbody {
  border: thin solid;
}
.lictable tbody tr:first-child td {
  border-bottom: thin solid;
}
/* Last two columns have prices in them, so right aligned */
.lictable td:nth-last-child(1) {
  text-align: right;
}

.lictable td:nth-last-child(2) {
  text-align: right;
}

/* Because sometimes the first child is also the last child! */
.lictable td:first-child {
  text-align:left;
}

.lic-desc-big-screen {
  display:table-cell;
}

.lic-desc-small-screen {
  display:none;
}

@media screen and (max-device-width: 500px) {
  .lictable tbody tr:first-child td {
    border-bottom: 0px;
  }
  .lic-desc-big-screen {
    display:none;
  }

  .lic-desc-small-screen {
    display:table-cell;
  }
}

.multable
{
  width: 100%;
  border-collapse: collapse;
}
.multable th
{
  border: thin solid;
  background-color: #9d98e4;
  padding-left: 10px;
  padding-right: 10px;
  text-align: center;
}
.multable td
{
  border: thin solid;
  padding-left: 10px;
  padding-right: 10px;
}

.cellcentre td
{
  text-align: center;
}
.cellcentre td:nth-of-type(1)
{
  text-align: left;
}

.fldtable
{
  width: 100%;
  border-collapse: collapse;
}
.fldtable tr:nth-child(even)
{
  border-bottom: thin solid;
}
.fldtable tr:nth-child(odd)
{
  border-top: thin solid;
}
.fldtable tr:nth-of-type(2) th p
{
  font-size:inherit;
  writing-mode: horizontal-tb;
}
@media screen and (max-device-width: 500px) {
  .fldtable tr:nth-of-type(2) th p
  {
    font-size:xx-small;
    writing-mode: vertical-lr;
  }
}
.fldtable tr:nth-child(even) td
{
  font-size:70%;
}
.fldtable th
{
  border-left: thin solid;
  border-right: thin solid;
  background-color: #9d98e4;
  padding-left: 5px;
  padding-right: 5px;
  text-align: center;
}
.fldtable td
{
  border-left: thin solid;
  border-right: thin solid;
  padding-left: 5px;
  padding-right: 5px;
  text-align: center;
  font-weight: bold;
}
.fldtable td:nth-of-type(1)
{
  border-left: thin solid;
  border-right: thin solid;
  padding-left: 10px;
  padding-right: 10px;
  text-align: left;
  font-weight: normal;
}

.example
{
  font-size:70%;
  vertical-align:top;
}

.question
{
 width: 15px;
 height: 15px;
 cursor: help;
}

.price-box {
  float:left;
  text-align:center;
  width:150px;
  margin-left:25px;
  margin-top:5px;
  padding:10px 10px 5px;
  border: medium ridge DarkGray;
}

.price-box img:nth-last-of-type(2) {
  width:150px;
  height:75px;
}

.price { /* The div containing "Only -price-" */
  margin-left:20px;
  margin-right:20px;
}

.price p {
  font-family: "Brush Script MT", "Brush Script Std", cursive;
  font-style: oblique;
  font-weight: bold;
  font-size: 28px;
  margin: 0px;
  padding: 0px;
  transform: rotate(350deg);
}

.price p:nth-of-type(1) { /* The word "Only" */
  font-size: 17px;
  text-indent: 20px;
  text-align: left;
  font-weight: normal;
  line-height: 0.6;
  transform: rotate(0deg);
}

.buy-form-label {
  width:150px;
  vertical-align:top;
}

/* The entry field column on the Purchase Form is always the same width */
/* One rule to ensure they all stay the same                            */
.buy-form-entry, .buy-form-entry input, .buy-form-entry-user {
  width:250px;
  text-align:left;
}

/* The User ID Entry field is narrower, although it's table cell (above) */
/* is the same width as the others.                                      */
.buy-form-entry-user input {
  width:200px;
}

/* The question mark helper, is exactly as big as the image and no more */
/* regardless of your screen size!                                      */
.buy-form-help, .buy-form-help img {
  width: 15px;
}

.buy-form-help img {
  height: 15px;
  cursor: help;
}


@media only screen and (max-device-width: 500px) {
  .price-box {
    float:left;
    text-align:center;
    width:125px;
    margin-left:5px;
    margin-top:5px;
    padding:10px 5px 5px;
    border: medium ridge DarkGray;
  }

  .price-box img:nth-of-type(1) {
    width:100px;
    height:50px;
  }

  .buy-form-label {
    width:auto;
    vertical-align:top;
  }

  /* The entry field column on the Purchase Form is always the same width */
  /* One rule to ensure they all stay the same                            */
  .buy-form-entry, .buy-form-entry input, .buy-form-entry-user {
    width:auto;
  }

  /* The User ID Entry field is narrower, although it's table cell (above) */
  /* is the same width as the others.                                      */
  .buy-form-entry-user input {
    width:auto;
  }

}

#pup
{
  position:absolute;
  z-index:200; /* aaaalways on top*/
  padding: 3px;
  margin-left: 10px;
  margin-top: 5px;
  width: 400px;
  border: 1px solid black;
  /* background-color: #777; */
  background-color: yellow;
  color: black;
  font-size: 0.95em;

  border-radius: 5px 5px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.1);
  -webkit-box-shadow: 5px 5px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 5px 5px rgba(0, 0, 0, 0.1);
}

@media only screen and (max-device-width: 500px) {
  #pup
  {
    width:auto;
    max-width: 90%;
  }
}
