body {
 background: rgb(204,204,204) url('/med/bg.jpg') repeat-x top left;
}

#page {
 background: rgb(204,204,204) url('/med/mainbg.jpg') no-repeat top;
}

h1 {
 background-image: url('/med/logo.png');
 background-repeat: no-repeat;
 background-position: left top;
}

#mainMenu a.current {
 background: rgb(0, 125, 255);
}

#mainMenu .edge.left {
 background: url('/med/edgel.png');
}

#mainMenu .edge.right {
 background: url('/med/edger.png');
}

#topBar td {
 background: url('/med/t.jpg');
}

#topBar .l {
 background: url('/med/tl.jpg') no-repeat top left;
}

#topBar .r {
 background: url('/med/tr.jpg') no-repeat top right;
}

#botBar td {
 background: url('/med/b.jpg');
}

#botBar .l {
 background: url('/med/bl.jpg') no-repeat top left;
}

#botBar .r {
 background: url('/med/br.jpg') no-repeat top right;
}

#content {
 border-right: 1px solid rgb(178,178,178);
}

#page {
 display: table;
}

#mainMenu .edge,
#mainMenu a,
#mainMenu li {
 display: inline-block;
}

h1 {
 display: table;
}

h1 span {
 display: block;
}

body {
 font-family: "Verdana", "Tahoma", "Helvetica", sans-serif;
 font-size: small;
}

#phone, #email {
 font-weight: bold;
}

h1, #subTitle {
 font-family: "Trebuchet MS", fantasy;
 text-transform: uppercase;
 font-size: 225%;
}

#subTitle {
 font-size: 60%;
}

a img {
 border: none;
}

a {
 text-decoration: none;
 color: rgb(0, 50, 175);
}

a:hover, a:active {
 color: rgb(0, 125, 255);
}

h1 a, h1 a:hover, h1 a:active, h1 a:focus,
#mainMenu a, #mainMenu a:hover, #mainMenu a:active, #mainMenu a:focus {
 color: #000;
}

#mainMenu a {
 font-size: 125%;
}

#mainMenu li.current a {
 color: #FFF;
}

#mainMenu .edge {
 vertical-align: top;
}

#content {
 text-align: justify;
}

#contacts {
 text-align: center;
}

#phone {
 font-size: 130%;
}


#topBar,
#botBar {
 border-spacing: 0;
}

#botBar {
 position: absolute;
 bottom: 0;
}

#contacts,
#logo,
#topBar {
 clear: both;
 float: right;
}

body {
 margin: 0;
 padding: 0;
}

#page {
 width: 900px;
 margin: auto;
}

h1 {
 margin: 0;
 margin-top: 125px;
 padding-left: 80px;
 padding-bottom: 60px;
}

h1 #title {
 padding-top: 25px;
}

#mainMenu {
 padding: 0;
 margin-top: 25px;
 margin-bottom: 80px;
}

#mainMenu a {
 padding: 0 16px;
 height: 32px;
 line-height: 32px;
}

#mainMenu a.current {
 padding: 0;
}

#mainMenu .edge {
 height: 32px;
 width: 16px;
}

#content {
 min-height: 275px;
 overflow: auto;
 padding-right: 25px;
 width: 625px;
 margin-bottom: 36px
}

#content p, #content li {
 margin: 10px 0;
}

#contacts {
 width: 200px;
 padding-top: 25px;
}

#phone {
 margin-top: 25px;
}

#topBar td,
#botBar td {
 padding: 0;
}

#topBar .r,
#topBar .l {
 width: 36px;
 height: 43px;
}

#botBar .l,
#botBar .r {
 width: 34px;
 height: 36px;
}

.pImg {
 display: inline-block;
 text-align: center;
 width: 200px;
 margin-bottom: 25px;
}

