/*
 * Copyright © 2022 Mark Raynsford <code@io7m.com> https://www.io7m.com
 *
 * Permission to use, copy, modify, and/or distribute this software for any
 * purpose with or without fee is hereby granted, provided that the above
 * copyright notice and this permission notice appear in all copies.
 *
 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
 * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
 * IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 */

.cbPackage
{
  margin: 2em;
  max-width: 50em;
}

.cbCaseName
{
  font-family: monospace;
}

.cbType, .cbTypeList
{

}

.cbTypeList ul
{
  padding: 0;
  margin: 0;
}
.cbTypeList li > ul
{
  padding-left: 1em;
}
.cbTypeList li
{
  list-style: none;
}

.cbProtocolList ul
{
  padding: 0;
  margin: 0;
}
.cbProtocolList li > ul
{
  padding-left: 1em;
}
.cbProtocolList li
{
  list-style: none;
}

.cbTypeOverview
{
  font-family: monospace;
  border: 1px solid #ddd;
  padding: 1em;
}

.cbFieldsTable
{
  width:           100%;
  border-collapse: collapse;
}
.cbFieldsTable th
{
  border:         1px #ddd solid;
  text-align:     left;
  vertical-align: top;
  padding:        0.5em;
}
.cbFieldsTable td
{
  border:         1px #ddd solid;
  vertical-align: top;
  padding:        0.5em;
}
.cbFieldsTable tr th:nth-child(1)
{
  width: 12em;
}
.cbFieldsTable tr th:nth-child(2)
{
  width: 12em;
}

.cbFieldsTable tr td:nth-child(1)
{
  font-family: monospace;
}
.cbFieldsTable tr td:nth-child(2)
{
  font-family: monospace;
}


.cbParameterTable
{
  width:           100%;
  border-collapse: collapse;
}
.cbParameterTable th
{
  border:         1px #ddd solid;
  text-align:     left;
  vertical-align: top;
  padding:        0.5em;
}
.cbParameterTable td
{
  border:         1px #ddd solid;
  vertical-align: top;
  padding:        0.5em;
}
.cbParameterTable tr th:nth-child(1)
{
  width: 12em;
}
.cbParameterTable tr td:nth-child(1)
{
  font-family: monospace;
}

.cbProtocolTable
{
  width:           100%;
  border-collapse: collapse;
}
.cbProtocolTable th
{
  border:         1px #ddd solid;
  text-align:     left;
  vertical-align: top;
  padding:        0.5em;
}
.cbProtocolTable td
{
  border:         1px #ddd solid;
  vertical-align: top;
  padding:        0.5em;
}
.cbProtocolTable tr th:nth-child(1)
{
  width: 12em;
}
.cbProtocolTable tr td:nth-child(1)
{
  font-family: monospace;
}
