/*
 * General
 */

img {
  border: 0;
  margin: 0;
}

p {
  max-width: 670px;
}

div#searchWhois div#environment {
  font-size: 2em;
  font-weight: bold;
}

/*
 * Content section
 */

div#navigation {
  float: left;
  width: 160px;
  margin-top: 16px;
  margin-bottom: 16px;
  margin-right: 0;
}

div#screen_content {
  float: left;
  width: auto;
  margin-top: 16px;
  margin-bottom: 16px;
  margin-right: 10px;
  margin-left: 10px;
}

/*
 * Tables
 */

table {
  border-collapse: collapse;
}

table.dasResult,
  table.whoisDetails,
  table.applicationDetails,
  table.enduserUpdateWhoisForm,
  table.registrarAddress,
  table.registrarDescription {
  width: 651px;
}

table.transferData {
  width: 410px;
}

table.validateDomainChar {
  width: 700px;
}

table.registrarsList,
  table.registrarSearch,
  table.registrarSearchResult,
  table.registrarSearchResultCoc,
  table.registrarSearchResultNonCoc {
  width: 600px;
}

table.registrarSearch tbody tr td {
  vertical-align: middle;
}

tr td {
  padding: 2px 5px 2px;
  vertical-align: top;
}

td.tableCell {
  padding: 0;
}

table.stylishTable thead tr th {
  text-align: left;
  border: 0;
}

table.stylishTable tbody tr.whoisSection th {
  text-align: left;
  border: 0;
  background-color: #e6e6e6;
}

table.stylishTable tbody tr.spacer td {
  height: 10px;
  border: 0;
  background-color: #e6e6e6;
}

table.stylishTable tr th {
  padding: 4px 5px 4px;
}

table.stylishTable tbody tr td input {
  margin-top: 5px;
  margin-bottom: 5px;
}

/* IE does not support this */
table.applications tbody tr + tr,
  table.legend tbody tr + tr,
  table.validateDomainChar tbody tr + tr {
  border-top: 1pt solid #BBBBBB;
}

table.legend dl {
  margin: 0;
}

table.legend tbody tr td:first-child {
  white-space: nowrap;
}

table.registrarSearch tbody tr td input,
  table.registrarSearch tbody tr td select {
  margin-bottom:2px;
  margin-top:2px;
}

/* IE6 does something strange to the width of the columns. We need this to
   work around it, although it is still not perfect. */
table.registrarSearch tbody tr td {
  width: 50%;
}

table.registrarSearch tbody tr td:first-child {
  width: 30%;
}


/*
 * Error messages
 */

div.errorBlock {
  position: relative;
  left: -2px;
  /* The previous 2 lines trigger a render bug in IE6: children of
     div.errorBlock might not be displayed.
     We work around this issue in the "div.errorBlock *" selector. */
  border: 2px solid #FBC2C4;
  background: #FBE3E4 none repeat scroll 0 50%;
  padding-top: 0.4em;
  padding-bottom: 0.4em;
  margin-top: 0.4em;
  margin-bottom: 0.4em;
}

/* We need to do this in order to fix a render bug in IE6. */
div.errorBlock * {
  position: relative;
}

tr.errorBlock{
  border:2px solid #FBC2C4;
  background: #FBE3E4 none repeat scroll 0 50%;
}

span.errorMessage {
  display: block;
  color: #D12F19;
  font-weight: bold;
}

/*
 * Captcha
 */

div#captchaBlock div#captchaImage {
  float: left;
  width: 250px;
  height: 100px;
  padding-left: 10px;
  padding-right: 10px;
}

div#captchaBlock div#captchaResponseBlock.errorBlock {
  margin-left: 280px;
  padding: 10px;
}

div#captchaBlock div#captchaBlockEnd {
  clear: both;
}

/*
 * Forms
 */

div.formField {
  margin-top: 0.2em;
  margin-bottom: 0.2em;
}

/* IE likes to put borders around checkboxes and radiobuttons */
input.checkbox,
  input.radio {
  border: none;
  background-color: transparent;
}

.expandWidth {
  width: 90%;
}

div#screen_content fieldset {
  margin-right: 0;
}

fieldset label {
  float: left;
  text-align: right;
  margin-top: 0.3em;
  margin-bottom: 0;
  margin-left: 0;
  margin-right: 0.3em;
}

fieldset .nobr {
  display: none;
}

fieldset {
  margin-right: 27px;
}

fieldset.complaintInformation {
  width: 770px;
}

fieldset.complaintInformation label {
  width: 25em;
}

fieldset.complaintInformation input {
  width: 200px;
}

fieldset.complaintInformation select {
  width: 202px;
}

fieldset.complaintInformation br {
  clear: both;
}

fieldset.complaintInformation span {
  float: left;
  padding-left: 0;
  margin-top: 0.3em;
}

fieldset.complaintInformation span.errorMessage {
  float: none;
  padding-left: 25.3em;
}

div.complaintLegalAgreement,
  div.sunriseSearch,
  div.fileComplaintDomain {
  padding: 10px;
}

/*
 * Tips
 */

ul.tips {
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
}

ul.tips li + li {
  border-top: 1px solid #CCCCCC;
}

ul.tips li {
  padding-bottom: 10px;
  padding-top: 10px;
  list-style-image: none;
  list-style-position: outside;
  list-style-type: none;
}

ul.tips li div.tip {
  padding-left: 40px;
  min-height: 32px;
  min-width: 32px;
  background-image: url( '../images/information_whitebg.png' );
  background-repeat: no-repeat;
  background-position: center left;
}

div.tip div.title {
  font-weight: bold;
}

/*
 * Tooltips
 */

div#overDiv table {
  margin-bottom: 0;
}

div#overDiv th, div#overDiv td {
  padding: 1px;
}

/*
 * Print section
 */

@media print {

  div#header,
    div#searchWhois,
    div#header_menu,
    div#header div#accessibility {
    display: none;
  }

  div#content_wrapper {
    margin: 0;
    padding: 0;
  }

}
