html {
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  padding: 0;
  background-color: #888;
  text-align: center;
}

table {
  border: none;
  border-collapse: collapse;
}

table th, table td {
  padding: 0.5em;
  border: 1px solid #AFC8D1;
}

ul {
  margin-top: 0;
  margin-bottom: 0;
}

#wrapper {
  width: 780px;
  margin: 0 auto;
  padding-top: 3px;
  background-color: white;
  text-align: left;
  border-left: 3px solid white;
  border-right: 3px solid white;
}

#header {
  height: 140px;
  background: url(images/header.gif) no-repeat top left;
  margin-bottom: 3px;
  color: white;
  text-align: right;
  font-size: 18px;
  padding-right: 20px;
  line-height: 30px;
}

#header h1 {
  display: none;
}

#menu {
  height: 168px;
  background-color: #D2DDE1;
}

.menu1 {
  background: url(images/homepageimage.jpg) no-repeat top right;
  background-color: #D2DDE1;
}
.menu2 {
  background: url(images/barristerpageimage.jpg) no-repeat top right;
  background-color: #D2DDE1;
}
.menu3 {
  background: url(images/areasofpracticeimage.jpg) no-repeat top right;
  background-color: #D2DDE1;
}
.menu4 {
  background: url(images/clerkspageimage.jpg) no-repeat top right;
  background-color: #D2DDE1;
}
.menu5 {
  background: url(images/careerspageimage.jpg) no-repeat top right;
  background-color: #D2DDE1;
}
.menu6 {
  background: url(images/aboutuspageimage.jpg) no-repeat top right;
  background-color: #D2DDE1;
}
.menu7 {
  background: url(images/contactimage.jpg) no-repeat top right;
  background-color: #D2DDE1;
}
.menu8 {
  background: url(images/contactpageimage.jpg) no-repeat top right;
  background-color: #D2DDE1;
}

#menu ul {
  margin: 0;
  padding: 0;
  padding-top: 17px;
  padding-left: 20px;
  font-family: Times New Roman, Times, serif;
  font-size: 14px;
  line-height: 18px;
  list-style: none;
}

#menu li {
  margin: 0;
  padding: 0;
  padding-left: 33px;
}

#menu a:link, #menu a:visited {
  color: #003663;
  text-decoration: none;
}

#menu a:hover, #menu a:active {
  color: #003663;
  text-decoration: underline;
}

#menu li.active {
  background: url(images/bullet.gif) no-repeat bottom left;
}

#main {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  color: #606A6C;

}

#main a:link, #main a:visited {
  color: #416077;
  text-decoration: none;
}

#main a:hover, #main a:active {
  color: #416077;
  text-decoration: underline;
}

#main h2 {
  margin-top: 42px;
  margin-right: 215px;
  margin-bottom: 50px;
  padding: 3px 2px 4px 14px;
  font-family: Times New Roman, Times, serif;
  font-size: 18px;
  font-weight: normal;
  color: #919191;
  border: 1px solid #AFC8D1;
}

#main p {
  line-height: 16px;
  margin: 14px 0;
}

#body {
  float: right;
  width: 498px;
  padding-right: 24px;
  padding-bottom: 40px;
}

#body2 {
  padding: 0 24px 40px 24px;
}

#barristers {
  float: left;
  padding-top: 120px;
  padding-left: 19px;
  font-size: 13px;
  color: #416077;
}

#main h3 {
  margin-top: 0;
  margin-bottom: 18px;
  font-size: 18px;
  font-weight: normal;
  color: #416077;
}

#barristers ul {
  margin: 0;
  padding: 0;
  list-style: none;
  line-height: 17px;
}

#footer {
  clear: both;
  text-align: center;
}
#footer img {
  vertical-align: top;
}

#footer ul {
  maring:0;
  padding:0;
}
#footer ul li {
	list-style: none;
	display: inline;
	background-image: url(images/stick.gif);
	background-repeat: no-repeat;
	background-position: 0px 4px;
	margin: 0;
	padding: 0 5px 0 10px;
	color:#00afee;
	font-size: 0.7em;
	font-family: arial, verdana, helvetica, sans;
}
#footer ul li.first {
    background-image: none;
}
#footer ul a:link, #footer ul a:visited {
    color: gray;
    text-decoration: none;
}

#footer li a:hover {
    text-decoration: underline;
}
#footer_body {
  float: right;
  width: 548px;
  padding: 30px 0;
}
#profile {
}

#profile img {
  float: left;
  /*border: 1px solid black;*/
}
.cprofile {
}
.profile img {
  float: left;
  /*border: 1px solid black;*/
}
#areas {
}
#areas ul {
  width: 48%;
  margin:0;
  padding:0;
  float: left;
}
#areas ul li {
  margin:0;
  padding:0;
  text-align: left;
  margin: 5px;
}
#areas ul li a:link, #areas ul li a:visited {
  text-decoration: underline;
}
.description {
  margin-left: 160px;
  width: 280px;
  padding-bottom: 25px;
}
.cwrap {
  width: 450px;
}
td.number {
  text-align: right;
}
.clear {
  clear: both;
}

ul.teams {
  margin-bottom: 25px;
}
.blist {
  padding: 12px;
}
.blist img {
  float: left;
}
.binfo {
  margin-left: 80px;
  width: 200px;
  margin-bottom: 10px;
}

/* Contact form stuff */
fieldset {
  border: none;
  padding-bottom: 5px;
}
form {
  margin: 10px 0;
}

form p {
  clear: left;
  margin: 0;
  padding: 5px;
}

form p label {
  float: left;
  width: 30%;
  /*font: bold 0.9em Verdana, Helvetica, sans-serif;*/
}

input, select {
  vertical-align: middle;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 11px;
  
}
form input.tf {
  width: 220px;
  border: 1px soild #333;
}
legend {
  font-weight: bold;
  padding: 5px 0;
  color: #444;
}
.clear {
  clear: both;
}
