@charset "utf-8";

* {
	margin:0;
	margin:0;
}

body {
	font: 12px/20px tahoma, verdana, serif;
	text-align: center;
	background:#ffffff;
	color:#54626B;

}

p {
	color:#54626B;
	font-family: tahoma, verdana, serif;
	font-size: 12px;
	margin: 1.6em 0;
	line-height:1.6em;
}

h2 a { color:#652C8A; text-decoration:none; }

a { outline:none; }
a:link, a:visited { font-weight:bold; color:#282828; text-decoration:none; }
a:hover { color:#652C8A; }
a:active {font-weight:bold; color:#282828; text-decoration:none; }

#container {
	width: 980px;
	margin: 0 auto;
	text-align: left;
	background:#fff;
}

#bg-wrap-footer {
	background:url(images/content-bg-curve-bottom.png) no-repeat right;
	height:15px;
	width:290px;
}

#bg-wrap-head {
	background:url(images/content-bg-curve-top.png) no-repeat right;
	height:15px;
	width:280px;
}

#bg-wrap { background:url(images/content-bg-new.png) repeat-y; }

#header-shadow {
	background:url(images/header-shadow.png) no-repeat;
	height:20px;
	width:934px;
	margin:auto;
}

#header { padding:1px; }

#header ul {
	margin:0;
	padding:0;
	float:right;
	width:250px;
	margin-right:16px;
	overflow:hidden; margin-top:30px;
	border-left:1px solid #CCCCCC;
	border-right:1px solid #CCCCCC;
	padding:0 35px 10px 0;
}

#header ul li {
	list-style-type:none;
	margin-left:30px;
	position:relative;
	overflow:hidden; font-size:14px; text-align:right; 
}

#header ul li a { position:relative;overflow:hidden; }

#header ul li.member { background:url(images/login-hover.png) no-repeat; }
#header ul li.directory { background:url(images/directory-hover.png) no-repeat; }
#header ul li.contact { background:url(images/contact-hover.png) no-repeat; }

#header h1 {
	background:url(images/alstone-court-logo.jpg) no-repeat;
	height:113px;
	display:block;
	width:400px;
	text-indent:-999em;
	padding:0;
	margin:0;
	margin-left:20px;
	margin-top:15px;
}

#nav {
	margin:15px auto;
	overflow:auto;
	width:969px;
	padding-left:1px;
}

#navBar {
	margin: 0;
	padding: 0;
	width:100%;
	overflow:auto;
}

#navBar li {
	float: left;
	list-style: none;
	text-align:center;
	background:url(images/tab.png);
	width:158px;
	height:30px;
	margin-right:2px;
}

#navBar li:hover { background:url(images/tab.png) no-repeat 0 -30px; }

#navBar li a {
	display: block;
	padding: 5px 6px;
	padding-right:7px;
	text-decoration: none;
	border:none;
	color: #282828;
	white-space: nowrap;
	font-weight:bold;
}

#navBar li a:hover {
	font-weight:bold;
	color: #fff;
}

#navBar li:last-child { border-right:none; }

#navBar li ul {
	margin: 0;
	padding: 0;
	position: absolute;
	visibility: hidden;
	border:1px solid #cccccc;
	border-top: 1px solid white;
	z-index:1;
}

#navBar li ul li {
	float: none;
	display: inline;
	border:none;
	z-index:10;
	margin:0;
	height:30px;
}

#navBar li ul li a {
	width: 142px;
	border:none;
	background: #ece9d3;
	border-top: none;
	text-align:left;
}

#navBar li:hover > a.main {
	color:#fff;
	background:#e3e0cc url(images/tab.png) no-repeat 0 -30px;
}

#navBar li:hover > a {
	background:#e3e0cc;
	color: #282828;
}

#pageBanner { padding:4px 0 15px 0; }
#leftCol {
float:left; 
width:280px;
}
#leftCol a { font-weight:normal; }

#sidebar {
	float: right;
	width: 280px;
	/*padding: 15px 0;*/
margin-right:10px;
	background:url(images/content-bg-new.png) repeat-y;
}

#sidebar p { margin:0 10px 0em 10px;/*	line-height:1.4em; */ }

#mainContent {
	margin-top: 0;
	margin-right: 310px;
	margin-bottom: 0;
	margin-left: 10px; 
	border-left:1px solid #ccc; 
	margin-left:6px;
	padding-left:18px;
}
#mainContentLeftMargin {
	margin-top: 0;
	margin-right: 10px;
	margin-bottom: 0;
	margin-left: 290px;
}

#footer {
	padding: 10px 0px; /* this padding matches the left alignment of the elements in the divs that appear above it. */
	overflow:auto;
	margin:auto;
	width:960px;
border-top:1px solid #ccc;
margin-top:30px;
clear:both;
}


#footer a { outline:none; }
#footer a:link, a:visited { font-weight:bold; color:#282828; text-decoration:none; }
#footer a:hover { color:#652C8A; }
#footer a:active {font-weight:bold; color:#282828; text-decoration:none; }
#footer p {
	margin: 0;
	padding: 10px 10px;
	color: #54626B;
}

#footer p span.links { float:right; }

#footer-shadow {
	background:url(images/footer-shadow.png) no-repeat;
	height:20px;
	width:934px;
	margin:auto;
}

/* Miscellaneous classes for reuse */
.fltrt { /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
	float: right;
	margin-left: 8px;
}

.fltlft { /* this class can be used to float an element left in your page */
	float: left;
	margin-right: 8px;
}

.clearfloat { /* this class should be placed on a div or break element and should be the final element before the close of a container that should fully contain a float */
	clear:both;
	height:0;
	font-size: 1px;
	line-height: 0px;
}

h1+p { margin-top:6px; }
h2+p { margin-top:6px; }

#services {
	margin:0;
	padding:0;
	list-style-type:none;
	width:254px;
	margin:auto;
}

#services li {
	height:166px;
	width:250px;
	margin-bottom:15px;
}

h3 {
	margin: 10px 10px 0 10px;
	color:#FFF;
 font-size14pt;
	font-weight: bold;
	margin-top:8px;
	margin-bottom:5px;
}

.boxgrid {
	width: 254px;/*325 */
	height: 168px; /*260 */
	background:none;
	/*	border: solid 2px #fff;*/
	overflow: hidden;
	position: relative;
}

.boxgrid img {
	position: absolute;
	top: 0;
	left: 0;
	border: 0;
}

.boxgrid p {
	padding:0;
	color:#fff;
	font-weight:bold;
	font:10pt Arial, sans-serif;
}

.boxcaption {
	float: left;
	position: absolute;
	/*background: #652F85;*/
background:url(images/caption-bg.png) repeat; 
	height: 100px;
	width: 250px;
	/*opacity: .8;*/
	/* ForIE 5-7 */
/*	filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);*/
	/* For IE 8 */
/*	-MS-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";*/
}

.captionfull .boxcaption {
	top: 166px;
	left: 0;
}

.caption .boxcaption {
	top: 166px;
	left: 0;
}

.profile { overflow:hidden; 
margin-bottom:20px;}
.profile img { margin-left:15px; } 

#pagelinks {
margin:0; padding:0; list-style-type:none;
border:1px solid #cccccc; border-bottom:none; 
margin-right:15px;
margin-top:10px;
}
#pagelinks li { border-bottom:1px solid #ccc; background:#f7f7f7; display:block; }
#pagelinks a { color:#282828;text-decoration:none; display:block; padding:10px; }
#pagelinks li.active a { font-weight:bold; }
#pagelinks li:hover { background:#e7e7e7; }

img { border:none;}
 a.tooltip {
	font-weight: bold;
	position: relative;
	text-decoration: none;
	z-index: 24;
}

a.tooltip:hover {
	text-decoration: none;
	z-index: 9999;
	position: relative;
}

a.tooltip span { display: none; 	position: relative;	z-index: 9999; }
a.tooltip:hover span {
	background-color: #f7f7f7;
	border: 1px solid #282828;
	display: block;
	left: 0px;
	padding: 5px;
	position: absolute;
	text-align: left;
	text-decoration: none;
	bottom: 60px;
	width: 148px;z-index: 9999; 
}
ul.gallery { padding:0; margin:0; list-style-type:none; overflow:hidden; margin-bottom:20px; }
ul.gallery li { float:left; height:200px; width:160px; }

/*.addthis {
	border:1px solid #ccc;
	background:#f7f7f7; 
	padding: 5px 5px 3px 5px; 
	border-left:none;
	border-right:none;
	height:20px;
}
*/


.imgteaser {
	margin: 0;
	float: left;
	position: relative;
}

.imgteaser a {
	text-decoration: none;
	float: left;
}

.imgteaser a:hover { cursor: pointer; }

.imgteaser a img {
	float: left;
	margin: 0;
	border: none;
	/*padding: 10px;
	background: #fff;
	border: 1px solid #ddd;*/
}

.imgteaser a .more {
	position: absolute;
	right: 20px;
	bottom: 20px;
	font-size: 1.2em;
	color: #fff;
	background: #000;
	padding: 5px 10px;
	filter:alpha(opacity=65);
	opacity:.65;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=65)"; /*--IE 8 Transparency--*/
	visibility: hidden; 
}

.imgteaser a .desc { display: none; }

.imgteaser a:hover .more { visibility: hidden; }

.imgteaser a:hover .desc {
	display: block;
	font-size: 1.2em;
	padding: 10px 0;
	background:url(images/caption-bg.png) repeat; 
	color: #fff;
	position: absolute;
	bottom: 80px;
	left: 80px;
	padding: 10px;
	margin: 0;
	width: 260px;
width:auto; min-width:150px;
	z-index:500;
}



.imgteaser a:hover .desc-left {
	display: block;
	font-size: 1.2em;
	padding: 10px 0;
	background:url(images/caption-bg.png) repeat; 
	color: #fff;
	position: absolute;
	bottom: 80px;
	left: -120px;
	padding: 10px;
	margin: 0;
	width: 260px;
width:auto;
	z-index:500;
}

.imgteaser span { display:none; }

.imgteaser a:hover .desc-left strong {
	display: block;
	margin-bottom: 5px;
	font-size:1.5em;
}

.imgteaser a:hover .desc strong {
	display: block;
	margin-bottom: 5px;
	font-size:1.5em;
}
.latestNews {
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc; 
	background: #f7f7f7;
	padding:3px;
	width:952px;overflow:hidden; 
	margin:10px 0 20px 6px;
	font-size:14px;	

}

#mainContent p img { padding:4px; border:1px solid #ccc; }