html {
height: 100%;
}
body {
height: 100%;
text-align: center;
padding: 0px;
margin: 0px;
background: rgb(106,147,184);
background: -moz-linear-gradient(top,  rgba(106,147,184,1) 0%, rgba(115,151,183,1) 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(106,147,184,1)), color-stop(100%,rgba(115,151,183,1)));
background: -webkit-linear-gradient(top,  rgba(106,147,184,1) 0%,rgba(115,151,183,1) 100%);
background: -o-linear-gradient(top,  rgba(106,147,184,1) 0%,rgba(115,151,183,1) 100%);
background: -ms-linear-gradient(top,  rgba(106,147,184,1) 0%,rgba(115,151,183,1) 100%);
background: linear-gradient(top,  rgba(106,147,184,1) 0%,rgba(115,151,183,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#6a93b8', endColorstr='#7397b7',GradientType=0 );
background-repeat: no-repeat;
background-attachment: fixed;
}
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 h1 {
margin: 0px 0px 42px 20px;
padding: 0px;
font-size: {{$P.font_size}};
color: white;
font-family: "{{$P.font}}", "Lucida Grande", Arial;
font-weight: normal;
}
.ts_footer {
background: rgb(64,86,107);
background: -moz-linear-gradient(top,  rgb(64,86,107) 0%, rgb(44,61,76) 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgb(64,86,107)), color-stop(100%,rgb(44,61,76)));
background: -webkit-linear-gradient(top,  rgb(64,86,107) 0%,rgb(44,61,76) 100%);
background: -o-linear-gradient(top,  rgb(64,86,107) 0%,rgb(44,61,76) 100%);
background: -ms-linear-gradient(top,  rgb(64,86,107) 0%,rgb(44,61,76) 100%);
background: linear-gradient(top,  rgb(64,86,107) 0%,rgb(44,61,76) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#40566b', endColorstr='#2c3d4c',GradientType=0 );
-webkit-border-bottom-left-radius: 6px;
-webkit-border-bottom-right-radius: 6px;
-moz-border-radius-bottomleft: 6px;
-moz-border-radius-bottomright: 6px;
border-bottom-left-radius: 6px;
border-bottom-right-radius: 6px;
padding: 10px 0px;
text-align: center;
color: #dddddd;
box-shadow: 0 8px 12px rgba(0, 0, 0, 0.3);
height: 5px;
}
.ts_content {
background-color: white;
border: 1px solid #777777;
border-top: 0px;
box-shadow: 0 8px 12px rgba(0, 0, 0, 0.3);
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;
}
.light_grey {
color: #999999;
}
h2 {
font-size: 20px;
}
.ts_heading {
font-size: 20px;
}

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;
background-color: #36485a;
color: white;
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;
margin: 0px;
padding: 0px 40px;
overflow: hidden;
background: rgb(64,86,107);
background: -moz-linear-gradient(top,  rgb(64,86,107) 0%, rgb(44,61,76) 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgb(64,86,107)), color-stop(100%,rgb(44,61,76)));
background: -webkit-linear-gradient(top,  rgb(64,86,107) 0%,rgb(44,61,76) 100%);
background: -o-linear-gradient(top,  rgb(64,86,107) 0%,rgb(44,61,76) 100%);
background: -ms-linear-gradient(top,  rgb(64,86,107) 0%,rgb(44,61,76) 100%);
background: linear-gradient(top,  rgb(64,86,107) 0%,rgb(44,61,76) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#40566b', endColorstr='#2c3d4c',GradientType=0 );
-webkit-border-top-left-radius: 6px;
-webkit-border-top-right-radius: 6px;
-moz-border-radius-topleft: 6px;
-moz-border-radius-topright: 6px;
border-top-left-radius: 6px;
border-top-right-radius: 6px;
height: 38px;
}
ul#css_nav li {
float: left;
list-style: none;
text-align:center;
color: #dddddd;
font-size: 11px;
padding: 8px 0px;
}
ul#css_nav li span {
font-size: 11px;
}

ul#css_nav li.completed_page {
padding: 0px;
}
ul#css_nav li.css_nav_current_page {
background: rgb(249,249,249);
background: -moz-linear-gradient(top, rgba(249,249,249,1) 0%, rgba(255,255,255,1) 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(249,249,249,1)), color-stop(100%,rgba(255,255,255,1)));
background: -webkit-linear-gradient(top, rgba(249,249,249,1) 0%,rgba(255,255,255,1) 100%);
background: -o-linear-gradient(top, rgba(249,249,249,1) 0%,rgba(255,255,255,1) 100%);
background: -ms-linear-gradient(top, rgba(249,249,249,1) 0%,rgba(255,255,255,1) 100%);
background: linear-gradient(top,  rgba(249,249,249,1) 0%,rgba(255,255,255,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f9f9f9', endColorstr='#ffffff',GradientType=0 );
color: #000000;
}
ul#css_nav li a:link, ul#css_nav li a:visited, ul#css_nav li span {
display: block;
text-decoration: none;
color: white;
background-color: #333333;
padding: 8px 0px;
opacity: 0.5;
filter: alpha(opacity=50);
}
ul#css_nav li a:hover {
background-color: #222222;
opacity: 0.9;
filter: alpha(opacity=90);
}

.nav_1_pages li {
width: 150px;
}
.nav_2_pages li {
width: 150px;
}
.nav_3_pages li {
width: 150px;
}
.nav_4_pages li {
width: 150px;
}
.nav_5_pages li {
width: 150px;
}
.nav_6_pages li {
width: 136px;
}
.nav_7_pages li {
width: 116px;
}
.nav_8_pages li {
width: 102px;
}


/* 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;
}
#form_builder__edit_link {
position: absolute;
right: 5px;
top: 0px;
text-decoration: none;
}
#form_builder__edit_link:hover {
color: #990000;
text-decoration: underline;
}
