body {
  text-align: center;
  padding: 0px;
  margin: 0px;
  background-color: #efefef;
}
td, th, p, input, textarea, select,ul,li,div, span {
  font-family: "Lucida Grande","Lucida Sans Unicode", Tahoma, sans-serif;
  font-size: 12px;
  color: #555555;
}
td, th, p, textarea, ul,li, div {
  line-height: 22px;
}
a:link, a:visited {
  color: #336699;
}
table {
  empty-cells: show;
}

/* page sections */
.ts_page:after {
  -moz-transform: translate(0pt, 0pt);
  background: none repeat scroll 0 0 transparent;
  border-radius: 20px 20px 20px 20px;
  box-shadow: 15px 0 30px rgba(0, 0, 0, 0.2);
  content: "";
  left: 0;
  position: absolute;
  width: 100%;
  z-index: -2;
}
.ts_page {
  margin: 40px auto;
  position: relative;
  text-align: left;
}
.ts_header {
  background: none repeat scroll 0 0 rgba(0, 0, 0, 0.5);
  border: 3px solid #CCCCCC;
  height: 140px;
  background: #3a3a3a; /* Old browsers */
  background: -moz-linear-gradient(45deg,  #777777 0%, #999999 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left bottom, right top, color-stop(0%,#777777), color-stop(100%,#999999)); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(45deg,  #777777 0%,#999999 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(45deg,  #777777 0%,#999999 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(45deg,  #777777 0%,#999999 100%); /* IE10+ */
  background: linear-gradient(45deg,  #777777 0%,#999999 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#777777', endColorstr='#999999',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.1);
}
.ts_header h1 {
  margin: 56px 50px;
  padding: 0px;
  font-size: 20px;
  color: white;
}
.ts_content {
  background-color: white;
  border: 1px solid #CCCCCC;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
  padding: 25px 50px;
}
.ts_continue_block {
  margin-top: 16px;
  background-color: #ffffdd;
  padding: 8px;
  box-shadow:1px 2px 2px #878787;
}
.ts_continue_block input {
  float: right;
}
.ts_continue_button {
  margin-top: 12px;
}
.highlighted_cell {
  color: #990000;
  background-color: #ffffee;
  text-align: center;
}
.light_grey {
  color: #999999;
}
h2 {
  font-size: 24px;
}
h3 {
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  -webkit-border-top-left-radius: 4px;
  -webkit-border-top-right-radius: 4px;
  -moz-border-radius-topleft: 4px;
  -moz-border-radius-topright: 4px;
  font-size: 12px;
  font-weight: normal;
  margin-bottom: 0;
  margin-right: 1px;
  padding: 1px 0 0 5px;
  width: 792px;
  height: 22px;
}
h3 a:link, h3 a:visited {
  background-color: white;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
  color: black;
  float: right;
  line-height: 17px;
  margin-right: 3px;
  margin-top: 2px;
  padding: 0 8px;
  text-decoration: none;
}
h3 a:hover {
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
}

/* navigation */
ul#css_nav {
  clear: both;
  width:100%;
  margin: 0px;
  padding: 0px;
  overflow: hidden;
}
ul#css_nav li {
  float: left;
  background-color: #efefef;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
  list-style: none;
  text-align:center;
  margin: 0px 2px 20px 0px;
  color: #666666;
  font-size: 11px;
  line-height: 20px;
}
ul#css_nav li span {
  font-size: 11px;
  line-height: 20px;
}

ul#css_nav li.css_nav_current_page {
  background-color: #999999;
  color: white;
}
ul#css_nav li a:link, ul#css_nav li a:visited {
  display: block;
  text-decoration: none;
  color: white;
  background-color: #999999;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
}
ul#css_nav li a:hover {
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
}
.nav_1_pages li {
  width: 100%;
}
.nav_2_pages li {
  width: 49.7%;
}
.nav_3_pages li {
  width: 33%;
}
.nav_4_pages li {
  width: 24.7%;
}
.nav_5_pages li {
  width: 19.7%;
}
.nav_6_pages li {
  width: 16.4%;
}
.nav_7_pages li {
  width: 14%;
}
.nav_8_pages li {
  width: 12.2%;
}

/* notifications */
.notify {
  border: 1px solid #336699;
  background-color: #ffffee;
  color: #336699;
  padding: 8px;
  width: 400px;
}
.notify li { color: #336699; }
.error {
  font-size: 8pt;
  border: 1px solid #cc0000;
  background-color: #ffffee;
  color: #cc0000;
  padding: 8px;
  width: 550px;
}
.error span {
  color: #cc0000;
  font-weight: bold;
  margin-bottom: 4px;
}

/* forms */
table.table_1 > tbody > tr > td {
  border-bottom: 1px solid #dddddd;
}
.table_1_bg td {
  padding: 1px;
  padding-left: 1px;
  background-color: #336699;
  border-bottom: 1px solid #cccccc;
}
td.answer {
  background-color: #efefef;
}
.pad_left {
  padding-left: 4px;
}
.req {
  color: #aa0000;
}
.fb_error {
  border: 1px solid #990000;
  padding: 8px;
  background-color: #ffefef;
}

/* for the code / markup editor */
.editor {
  background-color: white;
  border: 1px solid #999999;
  padding: 3px;
}


/* - - - "Highlight Colour" placeholder conditional CSS - - -*/
{{if $P.colours == "Red"}}
h3 {
  background-color: #cc3131;
  color: white;
}
ul#css_nav li a:hover {
  background-color: #861e1e;
}
h3 a:hover {
  background-color: #fac1c1;
  color: black;
}
{{elseif $P.colours == "Orange"}}
h3 {
  background-color: #ff9c00;
  color: white;
}
ul#css_nav li a:hover {
  background-color: #4c3512;
}
h3 a:hover {
  background-color: #ffefd5;
  color: black;
}
{{elseif $P.colours == "Yellow"}}
h3 {
  background-color: #FAEC0C;
  color: #777777;
}
ul#css_nav li a:hover {
  background-color: #595900;
}
h3 a:hover {
  background-color: #444000;
  color: #ffffcc;
}
{{elseif $P.colours == "Green"}}
h3 {
  background-color: #009211;
  color: white;
}
ul#css_nav li a:hover {
  background-color: #004608;
}
h3 a:hover {
  background-color: #daf4dd;
  color: black;
}
{{elseif $P.colours == "Blue"}}
h3 {
  background-color: #2969c9;
  color: white;
}
h3 a:hover {
  background-color: #a6c8f0;
  color: black;
}
ul#css_nav li a:hover {
  background-color: #1e4580;
}
{{elseif $P.colours == "Grey"}}
h3 {
  background-color: #777777;
  color: white;
}
ul#css_nav li a:hover {
  background-color: #333333;
}
h3 a:hover {
  background-color: #222222;
  color: white;
}
{{else}}
h3 {
  background-color: #6D8AAC;
  color: white;
}
ul#css_nav li a:hover {
  background-color: #2e425a;
}
h3 a:hover {
  background-color: #c9e2ff;
  color: black;
}
{{/if}}
