@import url(base.css);
@import url(nav.css);
@import url(elements.css);
@import url(indexed_search.css); /* Typo3 plugin */

/*
/////////////////////////////////////////////////////////////// */


/*
=Link colours
/////////////////////////////////////////////////////////////// */

a {color:#da2321;}
a:visited {color:#924151;}
a:hover {text-decoration:none;}
a img {border:none;}

a.dim, a.dim:visited {
    color:#999; font-weight:normal;
}

h3.head a,
h3.head a:visited {
	color:#264458;
	text-decoration:none;
}

/*
=Layout blocks and directly related elements
------------------------------------------------------ */

#page {
    width:760px;
    margin:0 auto;
    text-align:left;
}

#cwcPage {
	text-align:left;
    margin:0;
}

#header {
    text-align:center;
    background:repeat-x url(img/header.gif) 0 0;
    }
    #header-inner {
        width:760px;
        margin:0 auto;
        padding:0;
        text-align:left;
        height:90px;
        position:relative;
    }
    #logo {
        position:absolute;
        top:20px;
        margin-left:-46px;
        }    
        #logo a:hover {
            background:transparent;
        }


#footer {
    line-height:1.2;
    font-size:11px;
    color:#666;
    background:#f3f3f3;
    border-top:1px solid #eee;
    }
    
    #footer hr {display:none;}

    #footer-inner {
        width:760px;
        margin:0 auto;
        text-align:left;
        padding-top:0.5em;
        }
        #footer-inner p {
            margin:0;
            padding:0 20px 0 10px;
            float:left;
        }
        #footer a {
            color:#999;
            text-decoration:underline;
        }
        #footer a:hover {
            color:#333;
        }
        
#content {
    width:760px;
    overflow-y:auto;
    overflow-x:hidden;
    background:repeat-y url(img/related-bg.gif) 550px 0;
    }    
    
    #content.full {
        background-image:none;
    }
    
#main {
    width:530px;
    margin-top:10px;
    padding:0 10px;
    float:left;
    }
    #content.full #main {
        width:auto;
        float:none;
    }
    #main h1 {
        margin-right:50px;
    }

#sidebar {
    float:right;
    width:200px;
    margin-top:10px;
    font-size:11px;
    }
    
    #sidebar h2 {
        margin-top:0.25em;
    }
#sidebar h3 {font-size: 14px; font-weight: bold; margin:0 0 0.5em;}
#sidebar .box h3 {margin-bottom:0;}

/*  Footer stick to bottom:
    www.themaninblue.com/experiment/footerStickAlt/
------------------------------------------------------ */
     html,body {height:100%;}
    #wrap {
        position:relative;
        min-height:100%;
        }
        * html #wrap {
			position:static;
            height:100%;
        }
    
    #footer {
    
        margin-top:-7em;
        position:relative;
        height:6.9em;
    
    }
    #content {
        padding-bottom:8em;
    }
/* end footer stick 
------------------------------------------------------ */

/* remove dotted lines for links i firefox */
a:active{
	outline:			none;
}

:-moz-any-link:focus{
	outline:			none;
}

/*
=Section headers (moved to dev.css, since we now use inline headers)
------------------------------------------------------ */
#sectionhead {
    margin:20px 0 10px;
    background:#fff;
    height:130px;
    overflow:hidden;
    }
    #sectionhead h1 {
        display:none;
    }

	/*
	=sitemap
	------------------------------------------------------ */
	#sitemap {
		margin:0;
		padding:0;
		list-style: none;
	}
	#sitemap ul {
		padding: 0 0 0 24px;
		margin: 0 0 0 -24px;
		background: url(img/vline.gif) repeat-y 0% 0%;
	}
	#sitemap ul.lastnode {
		background-image: none;
	}
	#sitemap li {
		padding: 0 0 0 24px;
		margin: 0;
		list-style: none;
		background: url(img/node.gif) no-repeat 0% 0%;
	}
	#sitemap li.lastnode {
		background: url(img/lastnode.gif) no-repeat 0% 0%;
	}
	#sitemap li a.level1 {
		font-weight:bold;
		padding: 3px;
		display:block;
		width:490px;
		color:#888; 
		background:#EEEEEE; 
		border:1px solid #E5E5E5;
		text-decoration:none;
	}
	#sitemap li a.level1:hover {
		color: #333;
		background:#d7e2ea;
		border-color:#afc6d5;
		padding: 3px;
	}



/*
=misc.
------------------------------------------------------ */

/* indexed search */
.sectionhead a{
	color: #5e9eb7;
}

.sectionhead a:visited{
	color: #5e9eb7;
}


/* class for frontpage flash */
.flash.video {
	margin-left:-10px;
	margin-bottom:10px;
}
/*
.tx-rbflashobject-pi1-swf_altcontent{
	margin-left:0px;
	margin-bottom:20px;	
}
*/
.tx-tcmailsubscription-pi1 .err {
  color:#da2321;
}

.office {
	margin:1em 0 1em 0;
	line-height:1.2em;
	}
	.office .phone .label {
	    font-size: 10px;
	}

#main div.box.news, #main div.box.events {
	border: 0;
	background:none;
	padding:0;
}

div.box.contact h3 {
	color:#000;
	text-decoration:none;
}

#nav2 .navClass, #nav3 .navClass {
    margin:0 auto;
    width:760px;
    text-align:left;
}

#nav2wrap , #nav3wrap  {
	position:relative;
}

td { vertical-align: top; }
