﻿/* Red Tractor API documentation styles */

DIV.ebMethod {
  margin: 1pc 0 4pc 0;
}

SPAN.ebMethodType {
  margin-left: 6px;
  padding: 3px 7px;
  font-size: 14px;
  background-color: white;
  border: 1px solid #F00000;
  color: #F00000;
  position: relative;
  top: -2px;
}

.tocList SPAN.ebMethodType {
  margin-left: 3px;
  padding: 1px 3px;
  font-size: 9px;
  border-radius: 2px;
  text-decoration: none;
}


UL.ebMethodTabs {
  margin: 2pc 0;
  padding: 0;
  overflow: hidden;
}

  UL.ebMethodTabs LI {
    display: block;
    float: left;
    margin-bottom: 0 !important;
  }

    UL.ebMethodTabs LI A {
      display: block;
      padding: 4px 0px;
      font-size: 15pt;
      text-decoration: none;
      border-width: 0 0 0 0;
      border-style: solid;
      border-left-style: none;
      margin-right: 14px;
    }

    UL.ebMethodTabs LI:first-child A {
      border-left-style: solid;
    }

    UL.ebMethodTabs LI:last-child A {
      
    }
    /*UL.ebMethodTabs LI.active A {
  padding-bottom: 5px;
  border-top-width: 2px;
  padding-top: 3px;
}*/

    UL.ebMethodTabs LI A {
      color: #666;
      border-color: #f00000;
      background-color: white;
    }

    UL.ebMethodTabs LI.active A {
      color: #000;
      /*background-color: #ffe6dc;*/
      border-bottom-width: 4px;
      padding-bottom: 1px;
    }

#content TABLE.ebServiceTable, #content TABLE.ebServiceTable TBODY,
#content TABLE.ebServiceTable TR, #content TABLE.ebServiceTable TD {
  display: block;
  padding: 0;
  border: none;
  background: none;
}

  #content TABLE.ebServiceTable THEAD {
    display: none;
  }

  #content TABLE.ebServiceTable TR > TD:first-child {
    font-size: 16px;
    line-height: 23px;
  }

  #content TABLE.ebServiceTable TR > TD:last-child {
    padding: 0.3pc 0 0.5pc 0;
  }

  #content TABLE.ebServiceTable TR {
    border-bottom: dotted 1px #ffb699;
    margin-bottom: 0.5pc;
  }

#content TABLE.ebParamTable /*, TABLE.ebServiceTable*/ {
  width: 100%;
  border-spacing: 0;
  margin: 1pc 0;
}

/*TABLE.ebServiceTable TD:last-child, TABLE.ebServiceTable TH:last-child {
  width: 60%;
}*/

.ebEndpoint H5, .ebMethodDetails H5 {
  font-size: 13pt;
  font-weight: bold;
}

.ebEndpointDescription, #content > H5 {
  font-size: 15pt;
  font-weight: normal;
  line-height: 20pt;
  margin-bottom: 2pc;
  color: #004890;
}

TABLE.ebParamTable TD, TABLE.ebParamTable TH {
  text-align: left;
  vertical-align: top;
  font-size: 12pt;
  line-height: 15pt;
}

TABLE.ebParamTable TD {
  border-top: 1px solid #eee;
}

#content TABLE.ebParamTable TBODY.ebParamGroup TR TD {
  border-bottom: dotted 1px #ddd;
}

#content TABLE.ebParamTable TBODY.ebParamGroup TR:last-child TD {
  border-bottom-style: solid;
}

TABLE.ebParamTable TD:last-child, TABLE.ebParamTable TH:last-child {
  width: 66%;
}

TABLE.ebParamTable TD.ebMethodStatus {
  width: 12.5%;
}

  TABLE.ebParamTable TD.ebMethodStatus + TD {
    width: auto;
  }

TABLE.ebParamTable TD.ebParamElement {
  text-wrap: none;
  font-weight: bold;
  background-image: url("icn_api_pubproperty.gif");
}

TABLE.ebParamTable TD.ebParamEnumeration, TABLE.ebParamTable .ebMethodCode {
  font-family: monospace;
}

TABLE.ebParamTable TD.ebParamElement, TABLE.ebParamTable TD.ebMethodStatus {
  background-repeat: no-repeat;
  background-position: 0px 6px;
  padding-left: 24px !important;
}

  TABLE.ebParamTable TD.ebParamElement.childElement {
    background: none;
  }

  TABLE.ebParamTable TD.ebParamElement BLOCKQUOTE {
    margin: 0;
    padding-left: 1pc;
  }

#content TABLE.ebParamTable TD > P.ebMethodCode {
  margin-bottom: 0.2pc;
}

SPAN.ebParamIdentifier {
  padding-right: 0.2em;
}

SPAN.ebParamType {
  display: block;
  font-weight: normal;
  color: #666;
  white-space: nowrap;
}

SPAN.ebParamRequired {
  display: block;
  color: #ff6c32;
}

SPAN.ebParamOptional {
  display: block;
  color: #999;
}

UL.ebMethodTestLinks {
  margin: 1pc 0;
  padding: 0;
  list-style-type: none;
}

  UL.ebMethodTestLinks LI {
    margin: 0;
    padding-left: 20px;
    background-image: url(images/icn_help_link_16.svg);
    background-position: left 3px;
    background-repeat: no-repeat;
    background-size: 16px;
  }

.ebMethodStatus2xx,
.ebMethodStatus3xx {
  background-image: url(images/icn_status_confirmed_16.png);
}

.ebMethodStatus4xx {
  background-image: url(images/icn_status_notvalid_16.png);
}

.ebMethodStatus5xx {
  background-image: url(images/icn_status_alert_16.png);
}

#content > DIV > PRE,
.ebMethod PRE {
  background-color: #f8f8f8;
  padding: 15px;
  font-size: 11pt;
  line-height: 12pt;
  overflow-x: auto;
}


.ebMethodTestForm {
  margin: 30px 0;
  border: none;
  border-spacing: 0 !important;
  padding: 10px 15px;
  background-color: #f8f8f8;
}

  .ebMethodTestForm .field {
    padding: 10px 0 10px 0;
    border-bottom: solid 1px #ddd;
  }

.ebMethodDetails .field .title {
  margin-bottom: 4px;
  font-size: 13px;
  line-height: 18px;
  font-weight: bold;
}

.ebMethodDetails .field .required, .ebMethodDetails .field .alert {
  color: #ff6c32;
}

.ebMethodDetails .field .caption {
  color: #999;
}

.ebMethodDetails .field .caption, .ebMethodDetails .field .alert {
  margin-top: 4px;
}

.ebMethodTestForm > INPUT[type=button] {
  margin: 15px 0 5px 0;
}

/* additional custom help documentation styles */

#content PRE {
  margin: 2pc 0;
}

  #content PRE + H6 {
    margin: -2pc 0 2pc 0;
    padding-top: 4px;
  }

#content .ebMethodDetails PRE {
  margin: 1pc 0;
}

#content table {
  border: none;
  padding: 10px 15px;
  background-color: #f8f8f8;
}

#content TD, #content TH {
  text-align: left;
  vertical-align: top;
  border: none;
  border-bottom: solid 1px #ddd;
}

#content TH {
  font-weight: bold;
  color: #999;
}

#content TR TD, #content TR TH {
  padding: 5px 30px 5px 0;
}

  #content TR TD:last-child {
    padding-right: 0;
  }

#content TBODY:last-child TR:last-child TD {
  border-bottom: none !important;
}

#content TD > P, #content TH > P {
  margin: 0 0 1pc 0;
}

  #content TD > P:last-child, #content TH > P:last-child {
    margin-bottom: 0;
  }

#content LI {
  margin-bottom: 0.25pc;
}

#content TD LI {
  margin-bottom: 0.2pc;
}

#content LI:last-child {
  margin-bottom: 0;
}