BODY {
	background-color: #C9C9C9;
}

.clearthis { clear: both; } 

/* The whole page */
.containerPage
{
	margin-left:13%;
	width:74%;
	margin-right:13%;
}

/* The visible page except for the footer nav*/
.containerMain {   
	border: 1px solid #006599;
	background-color: #FFFFFF;
	display: inline-block; /*sets hasLayout - required for IE*/
	display: block; /*resets to proper property value without resetting layout*/
	overflow: hidden; /*causes modern browsers to enclose child floats*/ 
	height: 100%;

}

div.skipLinks {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	color:black;
	background-image:url(http://www.erwin-mediation.ie/images/accessibility.jpg);
	background-repeat:no-repeat;
	background-position: 100% 0%;
	border-bottom: 1px solid black;
	overflow:hidden;
	text-align:right;
	padding-right:2em;
	height:2em;
	vertical-align:middle;
}

div.skipLinks a {
	text-decoration:none;
	color: #006699;

}

div.skipLinks a:focus, div.offset a:active{
	background:black;
	color:white;
	border:1px solid #000;
}

div.skipLinks ul {
	padding: 0;
	margin: 0;
}

div.skipLinks li {
	font-size:75%;
    list-style-position: outside;
    list-style-type: none;
    list-style-image: none;
	display:inline;
	padding-left:1em;
	text-align:right;
	
}

div.skipLinks li.requiresJS {
	display:none;  /* this is set to inline by javascript */
}

/* Header */

.containerHeading {  /* Top Graphics */
	padding: 2em 4em;
}
.brandRight {
	float: right;
	overflow:hidden;
	margin-left: 0;
	background-image: url(http://www.erwin-mediation.ie/images/header_frame1.gif);
	height:104px;
	width:340px;
	z-index:10;
	margin-left: 20px;
}

.brandLeft {
	float: left;
	clear:both;
}

.brandLeft a:link img, .brandLeft a:visited img, .brandLeft a:focus img, .brandLeft a:active img{
	text-decoration: none;
	border-style: none;
}

/* Main Nav bar */

.containerRibbon { /* Horizontal Primary Menu */
	background-color: #006699;
	text-align: right;
	border-top: solid 0.1em #006699;
	border-bottom: solid 0.1em #006699;;
	padding-bottom: 0;
	padding-right: 0; 
	display: block; /*resets to proper property value without resetting layout*/
	overflow: hidden; /*causes modern browsers to enclose child floats*/ 
	height: 100%;
}

.nav {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 75%;
	color: #006699;
	background-color: #FFFFFF;
	height: 100%;
	float:right; /* fix for Firefox */
	padding-left: 0;
	padding-bottom:0;
	margin-top: 0;
	margin-bottom:0;
	margin-right: 2%;
}

.nav A {
	color: #006699;
	font-weight: bold;
	text-decoration: none;

}
.nav A:hover {
    color: rgb(255, 255, 255);
    background-color: rgb(51, 51, 51);
	text-decoration: underline;
}

/* MW Dovetail Technologies -- came up with this neat idea to do tabbed highlighting for ordinary text and image links... */
.nav A:focus, a:active {  /* Firefox doesn't have filter: yet */
    color: rgb(255, 255, 255);
    background-color: rgb(51, 51, 51);
}

.nav A:focus, a:active img {  /* Firefox doesn't have filter yet */
	filter:invert; /* IE only */
}

.nav ul {
	padding: 0;
	margin: 0;
	height: 100%;
}

.nav li
{
    list-style-type: none;
    list-style-image: none;
    list-style-position: outside;
    font-weight: bold;
    float: left;
    white-space: nowrap;
}

li.nav_1
{
    position: relative;
    background-color: rgb(255, 255, 255);
    background-image: none;
    background-repeat: repeat;
    background-attachment: scroll;
    -x-background-x-position: 0%;
    -x-background-y-position: 0%;
    -moz-background-clip: -moz-initial;
    -moz-background-origin: -moz-initial;
    -moz-background-inline-policy: -moz-initial;
	margin-top: 0.25em;
	padding-top: 0em;
	padding-left: 0.75em;
	padding-right: 0.75em;
	display: inline;
}

li.nav_2
{
	height: 100%;
	vertical-align:middle;
	color: #006699; /* not used - this class is only used for cells containing image links */
	background-color: #006699;
	margin-right:0;
	margin-left: 0;
	text-decoration:none;
    position: relative;
	display:none;
}

li.nav_2 img
{
	margin-left: 0.3em;
	margin-right: 0.3em;
	border: 0;
	height: 100%;

}

/* Main content pane */
.containerBody {  
	padding: 3em 4em 2em;
	display: block;
	overflow:hidden;
}

/* Sidenav */

.sidenav {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	float: left;
	width: 20%;
	padding-bottom:5em;
}

.sidenavHeader {
	color: #FFFFFF;
	background-color: #006699;
	font-weight: bold;
	font-size: 100%;
 	padding: .4em .4em .4em .8em;
	text-align: left;
}

.sidenavItem {
	color: black;
	font-size: 100%;
	background-color: #EEEEEE;
	padding: .6em;
}
.sidenav A {
	color: #001A99;
	text-decoration: none;
}
.sidenav A:hover {
    color: rgb(255, 255, 255);
    background-color: rgb(51, 51, 51);
	text-decoration: underline;
}
.sidenav A:focus, a:active {
    color: rgb(255, 255, 255);
    background-color: rgb(51, 51, 51);
}

.sidenav UL {
	padding: 0;
	margin: 0;
	list-style-type: none;
}
.sidenav LI {
	padding: .3em;
}

/* Content Pane */
.content {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	margin-left:26%;  /* Dovetail - Firefox issue */
}
.content H1 {
	font-size: 120%;
	color: #006699;
	font-weight: bolder;
	padding-top: 0;
	margin-top:0;
}
.content H2 {
	font-size: 110%;
	color: #006699;
	font-weight: bold;
}
.content H3 {
	font-size: 100%;
	color: black;
	font-style:italic;
}

.content IMG {
	border: 1px solid #000000;
	float: right;
	margin-left: 2em;
	margin-bottom: 2em;
}
.content P {
	font-size: 100%;
	color: #000000;
}

.content UL {
	font-size: 75%;
	color: #333333;
	margin: 0;
	padding: 0;
	list-style-type:disc;
	margin-left: 3em;
}

.content A:focus, a:active, a:hover {
    color: rgb(255, 255, 255);
    background-color: rgb(51, 51, 51);
}

.content UL {
}

.content DL { 
	font-weight:bold;
	color: #006699;
}
.content DD { 
	color: #000000;
	font-weight:normal;
	padding-bottom: 1em;
}

/* Contact details footer */

.containerFoot {
	background-color: #F6F3EE;
	border-top: 1px solid #006797;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	width:100%;
	font-size: 70%;
	text-align:center;
}

.containerFoot A:hover {
	color: #FFFFFF;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	text-decoration: underline;
}

.containerFoot A:focus, a:active {
    color: rgb(255, 255, 255);
    background-color: rgb(51, 51, 51);
}

.containerFoot li
{
    list-style-type: none;
    list-style-image: none;
    list-style-position: outside;
	display:inline;
	padding-right:0.35em;
	padding-left:0.35em;
	padding-top:0;
	padding-bottom:0;
}


.left	{
	float:left
}
	
.right {
	float:right;
	text-align:left;
	color: #FFFFFF;
	background-color: #006699;
}


.textWrapImage{
/* image of karen */
  float: right; 
  clear: right;
}

.foot1 {
	/* normal footer */
}

.foot2 {
	padding-left:0.5em;
	color: #FFFFFF;
	background-color: #006699;
	font-weight:bold;
	text-align:center;
	display:inline;
	}


.foot2 A {
	color: #FFFFFF;
	text-decoration: none;
}
.foot2 A:hover {
	color: #FFFFFF;
	text-decoration: underline;
}
.foot2 A:focus, a:active {
    color: rgb(255, 255, 255);
    background-color: rgb(51, 51, 51);
}

/* Oustide the content-box, general footer */

.footnav {
	padding: 10px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	color: black;
	font-size: 90%;
	text-align: center;
}

.footnav A
{
	color:black;
}

.footnav A:hover {
    color: rgb(255, 255, 255);
    background-color: rgb(51, 51, 51);
}

.footnav A:focus, a:active {
    color: rgb(255, 255, 255);
    background-color: rgb(51, 51, 51);
}

.footnav IMG {
	vertical-align: middle;
}

/* CONTACT FORM */

form.contact {  /* set width in form, not fieldset (still takes up more room w/ fieldset width */
  font:100% verdana,arial,sans-serif;
  margin: 0;
  padding: 0;
  width:100%;
}

form.contact fieldset {
  border-color: #00;
  margin: 0;
}

form.contactform label { 
	display: block;  /* block float the labels to left column, set a width */
	width:15em;
	float: left; 
	margin: .5em 0 0; /* set top margin same as form input - textarea etc. elements */
	text-align: right; 
}

#contactTelephone, #contactEmail {
	display: inline;
	float:left;
	width:auto;
	text-align:left;
}

#notification {
	display: inline;
	float: left;
	margin: .5em 0 0; /* set top margin same as form input - textarea etc. elements */
	text-align: left;
	width:auto;
	height: 3em;
	margin-right:1em;
	margin-left:1.5em;
}

#notificationLabel, #contactLabel {
	width:85%;
	text-align:left;
}

form.contactform fieldset legend {
	font-size:1.1em; /* bump up legend font size, not too large or it'll overwrite border on left */
                       /* be careful with padding, it'll shift the nice offset on top of border  */
}

form.contactform input, form.contactform textarea, form.contactform select {
	margin:.5em 0 0 1em; /* set margin on left of form elements rather than right of
                              label aligns textarea better in IE */
}

form.contactform input#reset {
	margin-left:0px; /* set margin-left back to zero on reset button (set above) */
}

textarea { overflow: auto; }

form.contactform small {
	display: block;
	margin: 0 0 .5em 16em; /* instructions/comments left margin set to align w/ right column inputs */
	padding: .1em .3em;
	font-size: 80%;
}

form.contactform .required{font-weight:bold;} /* uses class instead of div, more efficient */

form.contactform br {
	clear:left; /* setting clear on inputs didn't work consistently, so brs added for degrade */
}

.contactDetails {
}

.contactImage {
float: left;
width:15%;
text-align:left;
}

.contactImage img {
text-align:left;
border: 0;
padding-top:20%;
}

.contactData {
width:75%;
float: right;
text-align:left;
}

.printonly {
	display:none
}