﻿.maxWidth475px a[id^="catLine"]
{
  display: table !important;
  height: auto !important;
  width: 100%;
}


.maxWidth475px a[id^="catLine"] span,
.maxWidth475px a.catLinePhone span {
  display: table-cell;
  padding: .75em 0;
  position: static !important;
  white-space: normal;
  text-align: left;
}


.maxWidth475px a[id^="catLine"] span[style^="padding-left"] {
  padding-left: 0 !important;
}


.maxWidth475px a[id^="catLine"] span[style="padding-left: 0px;"]  { width: 0    !important; }
.maxWidth475px a[id^="catLine"] span[style="padding-left: 20px;"] { width: 20px !important; }
.maxWidth475px a[id^="catLine"] span[style="padding-left: 40px;"] { width: 40px !important; }
.maxWidth475px a[id^="catLine"] span[style="padding-left: 60px;"] { width: 60px !important; }
.maxWidth475px a[id^="catLine"] span[style="padding-left: 80px;"] { width: 80px !important; }


.maxWidth475px a[id^="catLine"] span[style^="position"] {
  text-align: right;
  width: 8em;
}


.maxWidth475px table[summary="City Directory"] td[scope="col"]
{
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

.maxWidth475px table[summary="City Directory"] td[colspan]:before
{
  display: none;
}


.maxWidth475px table[summary="City Directory"] td,
.maxWidth475px table[summary="City Directory"] td[colspan]
{
  display: block;
  padding: .5em;
  width: auto;
}


.maxWidth475px table[summary="City Directory"] td:before
{
  display: block;
  float: left;
  font-weight: bold;
  width: 5em;
}


.maxWidth475px table[summary="City Directory"] td:nth-child(1):before { content: "Name";  }
.maxWidth475px table[summary="City Directory"] td:nth-child(3):before { content: "Email"; }
.maxWidth475px table[summary="City Directory"] td:nth-child(4):before { content: "Phone"; }

.maxWidth475px table#cityDirectoryDepartmentDetails td:nth-child(2):before { content: "Title"; }
.maxWidth475px table#cityDirectorySearch td:nth-child(2):before { content: "Category"; }

.maxWidth475px table[summary="City Directory"] thead tr:nth-child(2) { display:none; }
.maxWidth475px table[summary="City Directory"] tbody tr td:nth-child(4) { text-align: left!important; }
