/* Reset */
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, textarea, p, blockquote, th, td {
  margin: 0;
  padding: 0; 
}

table {
  border-collapse: collapse;
  border-spacing: 0; 
}

fieldset, img {
  border: 0; 
}

address, caption, cite, code, dfn, em, strong, th, var {
  font-style: normal;
  font-weight: normal; 
}

ol, ul {
  list-style: none; 
}

caption, th {
  text-align: left; 
}

h1, h2, h3, h4, h5, h6 {
  font-size: 100%;
  font-weight: normal; 
}

q:before, q:after {
  content: ''; 
}

abbr, acronym {
  border: 0; 
}

/* End Reset */

h1 {
  font-size: 15px;
  line-height: 18px;
  margin-bottom: 10px;
  font-weight: bold;
  color: #4d4d4d;
}

h2 {
  font-size: 11px;
  line-height: 15px;
  margin-bottom: 0;
  font-weight: bold;
  color: #4d4d4d; 
  text-align: right;
}

h3 {
  font-size: 12px;
  font-weight: bold;
  line-height: 16px;
  margin-bottom: 0px;
  color: #4d4d4d;
}


.small {
  font-size: 9px;
  line-height: 13px;
}

div.note, span.note {
  font-size: 11px;
  line-height: 17px;
  color: #777777;
  font-style: italic;
}

div.dashed {
  margin-bottom: 9px;
  border-bottom: 1px dashed #999999;
  padding-bottom: 9px; 
}

a {
  color: #214505; 
}

p {
  margin-bottom: 9px; }

span.bold {
  font-weight: bold; 
}

table {
  font-size: 11px;
  line-height: 17px; 
}

body {
  color: #4d4d4d;
  font-family: verdana,arial,helvetica,sans-serif;
  text-align: center;
  font-size: 12px;
  line-height: 18px;
  margin-top: 10px;
  margin-bottom: 20px;
  background-color: #666666; 
}

div#container {
  margin: 0 auto;
  text-align: left;
  width: 770px;
  background-color: #ffffff;
}

/* Header */
div#header {
  background-color: #ffffff;
}
div#header table {
  margin: 0;
}
div#header table td{
  padding: 0;
  overflow: hidden;
}
div#header td#otago_polytechnic_logo {
  padding-top: 10px; 
  padding-left: 10px; 
}
div#header td#otago_polytechnic_logo div.wrapper{
  width: 370px;
  height: 120px;
  background-color: #274ba1;
}
div#header td#otago_polytechnic_logo div a {
  padding-left: 20px;  
  display: block;
}
div#header td#otago_university_logo {
  padding: 10px 10px 0 40px;
}
div#header td#otago_university_logo div.wrapper{
  width: 73px;
  height: 120px;
}
div#header td#uni_print_logo div.wrapper{
  padding-left: 10px;
  width: 257px;
  height: 130px;  
  text-align: right;
}
/* End Header */

/* Content */
div#content {
  margin: 10px 10px 0 10px;
  padding-bottom: 10px;
}

/* Two Col */
table.two_col {
  width: 750px;
}
table.two_col td.col_1_cell {
  border-right: 10px solid #ffffff;  
  vertical-align: top;
}
table.two_col td div.col_1 {
  width: 370px;
}
table.two_col td div.col_1 div.wrapper {
}
table.two_col td.col_2_cell {
  vertical-align: top;
}
table.two_col td div.col_2 {
  width: 370px;
}
table.two_col td div.col_2 div.wrapper {
}
/* End Two Col */

/* One Col */
table.one_col {
  width: 750px;
}
tabl.one_col td.col_1_cell {
  vertical-align: top;
}
table.one_col td div.col_1 {
  width: 750px;
}
table.one_col td div.col_1 div.wrapper {
}
/* End One Col */

/* Container 1 */
div#container_1 {
  margin-bottom: 10px;
}
table#table_1 td.col_1_cell, table#table_1 td.col_2_cell {
  vertical-align: bottom;
}
div#container_1 p.form_note span.note_title {
  color: #274ba1;
  font-weight: bold;
}
div#container_1 p.form_note span.highlight {
  color: #274ba1;
}
/* End Container 1 */

/* Container 2 */
div#container_2 {
  margin-bottom: 10px;
}

div#container_2 select#order_department {
  width: 200px;
}
/* End Container 2 */

/* Container 3 */
div#container_3 {
  margin-bottom: 10px;
}
div#container_3 tr.calendar_row td.label{
  vertical-align: top;
  padding-top: 2px;
}
div#container_3 tr.calendar_row td.field{
  vertical-align: top;
}

/* Clear calendar's float, using dialog inbuilt form element */
div#order_date_ordered_container .bd form,
div#order_date_required_container .bd form {
    clear: left;
}
/* Have calendar squeeze upto bd bounding box */
div#order_date_ordered_container .bd,
div#order_date_required_container .bd {
    padding: 0;
}
div#order_date_ordered_container .hd,
div#order_date_required_container .hd {
    text-align: left;
}
/* Center buttons in the footer */
div#order_date_ordered_container .ft .button-group,
div#order_date_required_container .ft .button-group {
    text-align: center;
}
/* Prevent border-collapse:collapse from bleeding through in IE6, IE7 */
div#order_date_ordered_container_c.yui-overlay-hidden table,
div#order_date_required_container_c.yui-overlay-hidden table {
    *display: none;
}
div#order_date_ordered_calendar, div#order_date_required_calendar {
    border: none;
    padding: 18px;
}
div#container_3 tr.calendar_row div.datefield {
    white-space: nowrap;
}
div#container_3 tr.calendar_row div.datefield input.textfield {
  margin-top: 2px;
}
div#container_3 tr.calendar_row div.datefield input,
div#container_3 tr.calendar_row div.datefield button,
div#container_3 tr.calendar_row div.datefield label,
div#container_3 tr.calendar_row div.datefield span  {
  vertical-align: top;
}
div#container_3 tr.calendar_row div.datefield label  {
  font-weight: bold;
}
div#container_3 tr.calendar_row div.datefield button  {
  padding: 0 5px 0 5px;
  margin-left: 2px;
  cursor: pointer;
}
div#container_3 tr.calendar_row div.datefield button img {
  padding: 0;
  margin: 0;
  vertical-align: top;
}
table#table_3 td.col_1_cell, table#table_3 td.col_2_cell {
  vertical-align: bottom;
}
/* End Container 3 */

/* Container 4 */
div#container_4 {
  margin-bottom: 10px;
}
table#table_4 td.col_1_cell, table#table_4 td.col_2_cell {
  vertical-align: top;
}
/* End Container 4 */

/* Container 5 */
div#container_5 {
  margin-bottom: 10px;
}
div#container_5 div#section_errors {
  text-align: center;
}
table#table_5 td.col_1_cell, table#table_5 td.col_2_cell {
  vertical-align: top;
}
/* End Container 5 */

/* Container 6 */
div#container_6 {
  margin-bottom: 10px;
}
div#container_6 div.relative {
  position: relative;
}
table#table_6 td.col_1_cell, table#table_6 td.col_2_cell {
  vertical-align: top;
}
div#container_6 div.help_top {
  cursor: pointer;
  margin-left: 10px; 
  text-align: right;  
  position: absolute;
  left: 0;
  top: 0;  
}
div#container_6 span.expand_sign {
  color: #274ba1;
  font-weight: bold;
}
div#container_6 div.help_text {
  text-align: left;  
  margin: 5px 0; 
  padding: 10px;
  background-color: #f5f5f5;
}
div#container_6 div.close_help {
  cursor: pointer;  
  margin-top: 5px;
  color: #274ba1; 
}

/* End Container 6 */

/* Container 7 */
div#container_7 {
  margin-bottom: 10px;
}
table#table_7 td.col_1_cell, table#table_7 td.col_2_cell {
  vertical-align: top;
}
/* End Container 7 */

/* Container 8 */
div#container_8 {
}

div#submit_button {
  margin-top: 10px;
  text-align: right;
  padding-right: 20px;
}
table#table_8 td.col_1_cell {
  vertical-align: top;
}
table#table_8 td.col_2_cell {
  vertical-align: bottom;
}
table#table_8 td.col_1_cell input, table#table_8 td.col_1_cell label, table#table_8 td.col_1_cell select {
  vertical-align: middle;
}
table#table_8 td.col_2_cell textarea {
  height: 70px;
}
table#table_8 td.col_2_cell div#calculate_price {
  padding-top: 5px;
  padding-bottom: 5px;
}
table#table_8 td.col_2_cell div#calculate_price span#indicator {
  vertical-align: middle;
}
table#table_8 td.col_2_cell div#estimated_price_container {
  padding-bottom: 10px;
}
table#table_8 td.col_2_cell div#estimated_price_container span#estimated_price {
  font-weight: bold;
}

table#table_8 td.col_2_cell div#estimated_price_container div#calculate_errors {
  text-align: left;
  border: 2px solid #fbc2c4;
  background-color: #fbE3e4;
  color: #8a1f11;
  margin-top: 9px;
} 
table#table_8 td.col_2_cell div#estimated_price_container div#calculate_errors div.wrapper {
  padding: 10px; 
}
table#table_8 td.col_2_cell div#estimated_price_container div#calculate_errors p {
  font-weight: bold;
}
table#table_8 td.col_2_cell div#estimated_price_container div#calculate_errors ul {
  list-style-type: disc;
  margin-left: 15px;
  font-weight: normal;
}

/* End Container 8 */

/* Box */
td.box_left, td.box_right {
  background-color: #e5e5e5;
}
td.box_text {
  background-color: #f0f0f0;
}
td.box_left div.wrapper, td.box_right div.wrapper, td.box_text div.wrapper {
  padding: 10px;
}
/* End Box */

/* Table */
table.fields td {
  vertical-align: top;
  padding-bottom: 5px;
}
table.fields tr.bottom td {
  padding-bottom: 0px;
}
table.fields td.label {
  padding-right: 5px;
  text-align: right;
  width: 100%;
}
table.fields td.field {
  white-space: nowrap;
}
td.mand {
  vertical-align: top;
}
td.mand div.mand{
  width: 12px;
  text-align: right;
  overflow: hidden;
}
table.fields td.right {
  text-align: right;
}
table.fields td.top {
  vertical-align: top;
}
span.inline_fields label, span.inline_fields input {
  vertical-align: middle;
}
span.inline_fields input {
  margin-left: 1px;
}

/* Inner Columns */
table.inner_columns td{
  padding-bottom: 5px;
}
table.inner_columns td.left {
  padding-right: 10px;
  text-align: left;
  white-space: nowrap;
}
table.inner_columns td.full {
  width: 100%;
  text-align: right;
}
table.inner_columns td.right {
  text-align: left;
  white-space: nowrap;  
}
table.inner_columns tr.bottom td{
  padding-bottom: 0;
}
table.inner_columns label, table.inner_columns input{
  vertical-align: top;
}
/* End Inner Columns */

/* 4 Columns */
table.four_columns {
  margin: 0;
  width: 100%;
}
table.four_columns td {
 padding-bottom: 5px;
}
table.four_columns tr.bottom td {
  padding-bottom: 0;
}
table.four_columns td.four_col1 {
  width: 100%;
  text-align: right;
  padding-right: 5px;
}
table.four_columns td.four_col2 {
  white-space: nowrap;
  padding-right: 10px;
}
table.four_columns td.four_col3 {
  white-space: nowrap;
  padding-right: 5px; 
}
table.four_columns td.four_col4 {
 
}
/* End 4 Columns

/* End Table */

/* Form */
div.mand, span.mand {
  color: #274ba1;
  font-weight: bold;
}
input.textfield, input.textfield_small, input.textfield_medium, textarea.textfield {
  border: 1px solid #abadb3;
  width: 200px;
  font-size: 11px;
  padding: 2px;
}
input.textfield_small {
 width: 40px;
}
input.textfield_medium {
 width: 90px;
}
input#order_date_required, input#order_date_ordered {
  width: 90px;
}
input#order_file_supplied_emailed_to {
  width: 180px;
}
label.bold, td.bold_label label {
  font-weight: bold;
}
label {
  white-space: nowrap;
}

/* Errors */
div.form_errors {
  font-weight: bold;
  color: #ff0000;
  margin-bottom: 9px;
}
input.error, select.error, textarea.error {
   border: 1px solid #ff0000;
}
div.errors ul {
  margin: 0;
}
div.errors ul li {
  color: #ff0000;
  font-size: 10px;
  line-height: 14px;
  
}
.label_errors label {
  color: #ff0000;
}
/* End Errors */
/* End Form */

/* Thank You */
div.client_email {
  margin-bottom: 9px;
}