/* App Styles */

/* General */

#maincontent .hide-label label {
  display: none;
}

#maincontent .indent-label label {
  position: absolute;
  left: -9999px;
  clip: rect(1px, 1px, 1px, 1px);
  margin: 0;
  padding: 0;
  height: 0;
}

.ie7 .price-finder-form .indent-label {
  float: left;
}

#priceFinder .error,
.appfield .error {
  color: #cc0000;
  padding: 2px;
  border: none;
}

fieldset.error .form-item label {
  color: #000000;
}

label.option {
  width: auto !important;
}

.appfield .inline-fieldset {
  width: 100%;
  float: left;
}

.appfield legend.inline-legend {
  position: relative;
  left: 0;
}

.appfield .form-item {
  overflow: auto;
}

.appfield dt,
.appfield dd {
  padding: 0 0 10px 0;
}

table td a,
.appfield a,
.billing-address a.active {
  text-decoration: underline;
  color: #cc0000;
}

p a.primary,
p a.secondary,
.appfield a.primary,
.appfield a.secondary {
  text-decoration: none;
}

#edit-paf-address-paf-element-postcode-wrapper,
.my-account .appfield .form-item {
  overflow: hidden;
}

.app-date {
  width: 100%;
  overflow: auto;
  padding: 5px 0 0 0;
  position: relative;
}

.app-date div {
  float: left;
  padding-right: 5px;
}

.app-date span.message {
  margin: 22px 0 0 160px;
  position: absolute;
  top: -20px;
}

.app-date .form-item-error,
.app-date .form-item-error ~ .form-item {
  padding-top: 20px;
}

div.error-message {
  width: 400px;
  margin-bottom: 0;
}

table.app-table td {
  padding: 5px 5px 5px 0;
}

table.app-table td.first {
  font-weight: bold;
  width: 240px;
}

.contact-alphabets-sendab {
  word-spacing: 8px;
}

.form-item a,
.form-item label a {
  text-decoration: underline;
}

ul.tabbed-table-no-links,
ul.tabbed-table-links {
  float: left;
}

.tabbed-table-links li.active a:hover,
.tabbed-table-links li.active a:focus,
.tabbed-table-links li.active,
.tabbed-table-links li.active a {
  background-color: #333333;
  color: #fff;
}

.pager-limit ul.tabs {
  background-color: transparent;
}

.pager-limit a {
  text-decoration: none;
}

.form-desc {
  position: absolute;
  bottom: 20px;
  width: 150px;
}

.form-desc p {
  padding: 0;
}

#maincontent .tabbed-table-links {
  float: left;
}

.new-win-img img {
  margin: 0 0 0 3px;
}

.smaller-heading table thead th {
  font-size: 110%;
}

form fieldset.section > legend,
form fieldset.section > span.Section {
  position: relative;
  padding: 10px 0 9px 0;
  border-bottom: 1px dotted #d0d0d0;
  margin: 0 0 12px;
  font: 400 160% ChevinProMedium, Arial, Helvetica, sans-serif;
  width: 100%;
  display: block;
  left: 0;
}

#updateprogress .filled {
  height: 1.1em;
}

/* flexilist */
.track_trace_request_form .flexilist-row {
  float: left;
  margin-bottom: 20px;
  margin-left: 20px;
  width: 280px;
}

.flexilistcontent {
  float: left;
  width: 282px;
  margin-bottom: 20px;
  margin-right: 20px;
}

.Spacer-FlexiList {
  display: none;
}

.flexilistcontent  h2 {
  border: none;
  margin: 0;
}

.flexilistcontent ul li {
  border-bottom: 1px dotted #d0d0d0;
  display: block;
  padding: 6px 0 7px;
}

/* T&T Signature Form */
.unit-field-set fieldset {
  background-color: #ebebeb;
  border: 0 solid #999999;
  margin-left: 0;
}

.unit-field-set fieldset p {
  padding: 5px 5px 10px 15px;
}

#signature-request {
  background: none;
}

#signature-request .content-wrap {
  background: none;
}

#signature-request .content-wrap p {
  padding: 5px 0 0 0;
}

/* Track and Trace */
#track-trace-request-form textarea,
#track-trace-request-form .form-item input,
#track-trace-request-form .form-text input {
  width: 160px;
}

body#proof-delivery {
  background: none;
}

body#proof-delivery h1 {
  margin: 0 0 20px 0;
}

body#proof-delivery .row-wrap .row-990 {
  width: 724px;
}

#edit-tracking-number-wrapper {
  overflow: hidden;
}

.track_trace_request_form #tnt-results {
  display: inline-block;
  margin-bottom: 20px;
}

.track-trace-pod-image {
  max-width: 574px;
  height: auto;
}

/* Tracked+ */
dl.tracked_plus_dl dt {
  float: left;
  font-weight: bold;
  margin-right: 10px;
  width: 150px;
  padding: 5px;
}

dl.tracked_plus_dl dd {
  padding: 5px 0;
}

/* UI Date Picker */
.appfield .ui-datepicker-trigger {
  vertical-align: top;
}

.ui-icon {
  background-repeat: no-repeat;
  display: block;
  overflow: hidden;
  text-indent: -99999px;
  min-height: 16px;
  height: auto;
}

.ui-datepicker {
  padding: 0;
}

#ui-datepicker-div {
  border: none;
  background: #ccc url("../img/comp/wrapper/met_630.jpg") 0 0 repeat-y;
  padding-top: 0.5em;
}

#ui-datepicker-div .ui-widget-header {
  background: none;
}

.ui-datepicker-next {
  left: auto;
}

.ui-datepicker td {
  padding: 2px;
}

.ui-datepicker th {
  padding: 4px;
}

table.ui-datepicker-calendar tr:hover {
  background: none;
}

table.ui-datepicker-calendar td:hover {
  background-color: #fff;
}

table.ui-datepicker-calendar thead th {
  font-size: 0.9em;
}

table.ui-datepicker-calendar tr:hover A {
  color: #000;
  text-decoration: none;
}

table.ui-datepicker-calendar td a {
  border: 1px solid transparent;
}

table.ui-datepicker-calendar td a:hover {
  color: #c00;
  text-decoration: underline;
  background: none;
  border: 1px solid #999;
}

.ui-datepicker td span,
.ui-datepicker td a {
  text-align: center;
}

.form-item input.linkedDates {
  padding: 0;
  margin: 0;
  width: 0;
  height: 0;
  border: 1px solid #fff;
  outline: 0;
  background: inherit;
}

/* Multistep forms */

form.appfield dl {
  padding: 0 0 10px;
}

form.appfield dl dt {
  min-width: 170px;
  min-height: 1px;
  float: left;
  clear: left;
  font-weight: 700;
}

form.appfield dl dd {
  width: 410px;
  float: left;
}

.ie7 form.appfield dl dd {
  float: none;
}

form.appfield .padding20 dl dd {
  width: 390px;
}

/* datacash */
.datacash-frame {
  width: 100%;
  height: 765px;
  overflow-x: auto;
  overflow-y: auto;
}

.datacash-frame body,
.datacash-frame #container,
.datacash-frame .payment_box {
  width: auto;
}

.datacash-frame .payment_box {
  margin: 0;
  border: none;
}

/* OBA Enquiry */
#rml-enquire-register-form a {
  text-decoration: underline;
}

/* Produce PPI */
#edit-licence-number,
table.ppi td img {
  float: left;
}

table.ppi td .form-item {
  float: right;
  width: 230px;
}

table.ppi input {
  width: auto;
}

/* styles from old theme */
#track-trace-rml-signature-form .buttons {
  border-top: 1px dotted #d0d0d0;
  margin: 30px 0 0 0;
  overflow: hidden;
  padding: 10px 1px 1px;
}

/**
 * Hide only visually, but have it available for screenreaders: by Jon Neal.
 * www.webaim.org/techniques/css/invisiblecontent/  &  j.mp/visuallyhidden
 */
.visuallyhidden,
.branch-hidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
}

.display_none {
  display: none;
}

/* Prepay */
input#edit-billing-address-paf-address-paf-element-lookup-button-1 {
  width: 130px;
}

#rmg-payment-form-billing-details #edit-rmg-payment-billing-form-paf-address-paf-select-your-address,
#rmg-payment-form-billing-details #edit-rmg-payment-billing-form-paf-address-paf-select-your-address-submit {
  margin-left: 160px;
}

/* Postcode anywhere */
#paf-address {
  padding: 0 0 10px 0;
}

/* smartstamp */
#smartstamp-flows-order-history-form table {
  margin-bottom: 20px;
}

#smartstamp-flows-order-history-form table table th {
  background-color: inherit;
  padding-top: 30px;
}

#smartstamp-flows-order-history-form table.caption-less {
  margin-top: 0;
}

#smartstamp-flows-order-history-form .sticky-enabled td {
  border: 1px solid #ccc;
}

#smartstamp-flows-order-history-form .sticky-enabled th,
#smartstamp-flows-order-history-form .sticky-header th {
  text-align: center;
}

/* On IE7 we want the table to be full white, because the sticky
functionality is posing accessibility issues (table header text black on dark grey */
.ie7 #smartstamp-flows-order-history-form table table th,
.ie7 #smartstamp-flows-order-history-form tr.even,
.ie7 #smartstamp-flows-order-history-form tr.odd {
  background-color: #fff;
}


/* olp_csm */
#smartstamp-view-subscription-form table td input[type="radio"] {
  width: auto;
  margin: 0 15px;
}

#maincontent #edit-refund-reason-wrapper {
  overflow: visible;
}

#maincontent #edit-refund-reason-wrapper label {
  margin: 0;
  text-align: left;
  margin-left: 31px;
}

#maincontent #edit-refund-stamp-value-dec-wrapper .form-text.error {
  margin-left: 161px;
}

#maincontent #edit-refund-stamp-value-dec-wrapper span.message {
  margin-top: -10px;
}

/* Christmas post */
#maincontent .views-exposed-form .views-exposed-widget #edit-submit-christmas-simple {
  margin: 15px 0 0 0;
}

/* First Steps CD - ??? */
[action="/address-management/first-steps-cd"] #edit-actions {
  display: none;
  visibility: hidden;
}

.address-management ul {
  list-style-position: outside;
  margin: 0 0 0 13px;
}

.address-management ul li {
  list-style-type: disc;
  padding: 0 20px 8px 0;
}

.saas-login--redirect .data-loader {
  position: static;
}

.saas-login--redirect .ahah-progress {
  width: auto;
}

/**
 * Royalmail Redirections
 * Styles here to avoid duplicating icon assets in module folder.
 */
.royalmail_redirections.error h2.pane-title {
  padding-left: 40px;
  background: url('../img/icon/form-error-alert.png') no-repeat 2px 1px;
}

/* Redirections formatting exception following addition of grid_4 class to the route form template. */
.royalmail_redirections.grid_4,
.royalmail_redirections .grid_4.route-form {
  width: 640px;
  margin-right: 0;
}

.pdf-icon {
  background: url('../img/file-icons/application-pdf.png') no-repeat left top;
  min-height: 16px;
  padding-left: 20px;
}

.tracked-reporting-tabs {
  display: inline;
  float: left;
  position: relative;
  width: 834px;
}

.tracked-reporting-tabs .tabsnav li a {
  padding-bottom: 11px;
  padding-left: 16px;
  padding-right: 17px;
  padding-top: 12px;
}

.scrolling_table {
  overflow-x: scroll;
}

/* paf_element */
#edit-paf-address-paf-select-your-address,
#edit-paf-address-paf-select-your-address-submit {
  margin-left: 160px;
  max-width: 410px;
}
