html, body {
	margin:0;
	border:0;
	padding:0;
	/*background-color:#8495AB;*/
	background-color:#fff;
	font-size:87%;
	line-height:1.3;
	font-family:Verdana, sans-serif;
	text-align:center;/*for old IE*/
}

/* updated clearing -'overflow:hidden' */

/* clearing floats 
.clearer:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}

.clearer {display: inline-table;}*/

/* Hides from IE-mac \*/
/* * html .clearer {height: 1%;}
.clearer {display: block;}
End hide from IE-mac */


/*#page, #home{
	background-color:#fff;
	padding-left:30px;
	min-height:600px;
}

* html #page, * html #home{height:600px;} /* ie6 doesn't get min height */

.pagewidth{
	width:970px;
	padding:0 10px;
	position:relative;
	overflow:hidden;
	margin:0 auto;
	text-align:left;
}

/*#header, #nav-area, #content{width:800px;position:relative;}*/

#header{
	background-color:#C51E12;
	/*font-size:90%;*/
	padding:5px 0;
}
#header h2{font-size:175%;font-weight:normal;color:#fff;padding:0 7px 0;margin:0;display:inline;}
#header a.button{background-image: url(images/button-white.gif);display:inline;color:#fff;}

.sublink{width:30%;float:right;text-align:right;}
#header .sublink a{color:#FFF;display:block;padding:10px 30px 5px 0; background:url(images/header-splat.gif) center right no-repeat;}

#nav-area{
	padding:50px 0 0;
	background:url(images/drip-header.gif) top right no-repeat;
	overflow:hidden;
}
#csoon #nav-area{height:50px;}

#logo{
	position:absolute;
	top:30px;
	left:0;
}

#footer{
	padding:20px 0 30px 0;
	background:url(images/footer.gif) repeat-x center top;
	font-size:90%;
	background-color:#8495AB;
}
.av_link{font-size:90%;padding-top:1em;}

#content{padding:10px 0 30px;min-height:400px;}
#col1 {
	width:180px;
	float:left;
	font-size:90%;
}

#col2{
	width:750px;/*580px*/
	float:right;
}

#col3{
	float:right;
	font-size:90%;
	width:230px;/*180px*/
	margin-left:15px;
}
#home #col3{font-size:100%}
#col3 .item{
	border:1px dotted #8495AB;
	padding:8px;
	margin-bottom:10px;
}

#csoon #col2{float:left;}
#csoon #logo{float:none}

/*home *********************************************/
/*#home #col2 h1{/*color:#33A092;font-size:220%; margin-bottom:0.5em}*/
#home #col2 h2{
	font-size:130%;font-weight:normal; font-style:normal;color:#000/*#8495AB*/;
}
#home #col3 h2{color:#C51E12;line-height:auto;}

#home h4{color:#C51E12;}

#home #col2-inner{
	width:480px;/*360px*/
	float:left;
	border-right:1px dotted #8495AB;
	padding-right:20px;
}

/*#home #col3{
	float:right;
	width:180px;
	padding:0;
	margin:0;
	border:0;
}*/

#home #col3 .item{
	border:0;
	padding:0;
	margin:0;
}



/* home gallery *****************************/
#gallery{
background:url(images/home-flash_bg.gif) center left repeat-x;
height:286px;
overflow:visible;
}
#gallery #inner{
	overflow:visible;
}
#gallery .tx_avslideshow_pi1 {
	margin:0;
	overflow:visible!important;
}
#gallery .tx_avslideshow_pi1 ul{
	overflow:visible!important;
}
#gallery .tx_avslideshow_pi1 .valign-fix{
	display:none;
}
#gallery .tx_avslideshow_pi1 li{
	/*position:relative;*/
	position:absolute;
	width:auto;
	display:block;
	right:auto;
	background:url(images/pic_bg.png) left top no-repeat;
	/*padding:5px 20px 0 0;
	margin:0 -15px 0 0;*/
	padding:5px 0 0 0;
	margin:0 5px 0 0;
	overflow:visible;
	opacity:1.0;
	float:left;
}
/*#gallery .valign-fix{
	width:
}*/
#gallery li img{
	display:block;
	/*padding:5px 10px 10px 5px;
	margin:0 0 -5px 5px;*/
	padding:5px 10px 10px 5px;
	margin:0 -5px -5px 5px;
	background:url(images/pic_bg.png) bottom right no-repeat;
}
/* temp for holding page*/
#gallery #inner img.holder{display:block;}

/* main nav **************************************************/
ul#mainnav{
	width:750px;/*580px*/
	float:right;
	list-style-type:none;
	padding:0;
	margin:0 0 20px;
	border-bottom:1px solid #C51E12;
	border-left:1px solid #C51E12;
	font-size:95%;
	overflow:visible;
}

#mainnav li{
	width:auto; 
	float:left;
	padding:0 0 20px;
	margin:0 0 -20px;
	overflow:visible;
}

#mainnav li a{
	display:block;
	padding:4px 6px 7px;
	text-decoration:none;
	border-right:1px solid #C51E12;
	/*border-bottom:4px solid #fff;*/
	margin:0;
	
}
#mainnav li a:hover{/*border-bottom:4px solid #C51E12;*/background: url(images/mainnav-under.gif) bottom repeat-x;}

#mainnav li.down{background: url(images/mainnav-drip.gif) bottom right no-repeat;}
#mainnav li.down a{background: url(images/mainnav-under.gif) bottom repeat-x;}

ul#subnav{
	list-style-type:none;
	padding:0;
	margin:0 0 30px;
	border-right:1px solid #C51E12;
	border-top:1px solid #C51E12;
	font-size:110%;
}
#subnav li{padding:0;margin:0;border-bottom:1px solid #C51E12;}
#subnav li a{
	display:block;
	padding:7px 4px 7px 0;
	text-decoration:none;
	border-right:3px solid #FFF;
	margin:0;
	
}
#subnav li a:hover, #subnav li.down a{border-right:3px solid #C51E12;}


a.button, .news-single-backlink a, a.news-latest-more-link{
	display:block;
	width:auto;
	color:#C51E12; 
	padding: 2px 5px 5px 15px;	
	background: url(images/button-red.gif) center left no-repeat;
}

/*a.button:hover, a.button:visited:hover, .news-single-backlink a:hover, .news-single-backlink a:visited:hover, a.news-latest-more-link:hover, a.news-latest-more-link:visited:hover, .occupier-single-backlink a:hover, .occupier-single-backlink a:visited:hover{color:#000;background-image: url(images/splat0.gif)}*/

.bluepanel{
	border:1px dotted #2DA6D6;
	padding:4px;
	margin-bottom:10px;
}

.orangepanel{
	border:1px dotted #D07319;
	padding:4px;
	margin-bottom:10px;
}
.aquapanel{
	border:1px dotted #33A092;
	padding:4px;
	margin-bottom:10px;
}
.greypanel{
	padding:4px;
	border:1px dotted #8495AB;
	margin: 0 0 10px;
}
/* page right column **************/
.item h1{font-size:160%;}
.item h1, .item h2, .item h3{margin-top:0;}

/*#page .item img{padding-right:4px;}*/

.bluepanel h2, .orangepanel h2, .aquapanel h2 {
	margin:5px -5px -5px;
	padding:3px 5px;
	background: url(images/button-white.gif) center right no-repeat #2DA6D6;
	color:#fff;
	font-size:115%;
}

.orangepanel h2{background-color:#D07319}
.aquapanel h2{background-color:#33A092}

#home #col1 h2 a, .bluepanel h2 a, .orangepanel h2 a, .aquapanel h2 a{color:#fff;text-decoration:none;}

/* galleries ******************************************/
.tx_avslideshow_pi1 {
    position:relative;
	margin:0 0 15px;
}

.tx_avslideshow_pi1 ul{
	list-style: none; 
	margin: 0; 
	padding: 0; 
}

.tx_avslideshow_pi1 li {
    position:absolute;
	list-style: none; 
	margin: 0; 
	padding: 0; 
    top:0;/* offset -50% height inline??*/
    left:0;
	right:0;
	text-align:center;
    z-index:8;
	opacity:0.0;
	/*background-color:#DEDEDE;*/
	/*line-height for v-align set via jQ*/
}

.tx_avslideshow_pi1 li.active {
    z-index:10;
	opacity:1.0;
}

.tx_avslideshow_pi1 li.last-active {
    z-index:9;
}

/* vertical align*/
.valign-fix{width:1px;overflow:hidden;font-size:0px;}
.tx_avslideshow_pi1 li, .tx_avslideshow_pi1 li a{
	display:inline;
}
.tx_avslideshow_pi1 img{
	vertical-align:middle;
}
.prev, .next{
	display:block;
	width:50px;
	height:40px;
	position:absolute;
	top:50%;
	left:0;
	margin-top:-20px;
	background:url(images/gallery_prev.png) no-repeat center;
	z-index:100;
	opacity:0.0;
	cursor:pointer;
}
.next{
	left:auto;
	right:0;
	background-image:url(images/gallery_next.png);
}


/* news/events ***************************************/
.news-latest-container h2, .news-latest-item{
	border-bottom:1px dotted #8495AB;
	padding-bottom:5px;
	margin-bottom:0;
}
.news-latest-item{
	font-size:95%;
	padding-top:5px;
}
.news-latest-item h3{font-size:110%;font-weight:bold;}
.news-latest-date{display:block;font-weight:bold;}
.news-latest-image{
	width: 55px;
	background-color:#C1CAD5;
	float:right;
	text-align:center;
}

.news-list-item{
	padding:8px;
	border:1px dotted #8495AB;
	margin: 0 0 10px;
	overflow:auto;
	/*width:100%;*/
	width:565px;
}
.news-list-date{padding-bottom:.7em;font-size:90%;font-weight:bold;}

.news-list-item h2{
	margin:0 0 10px;
	padding:4px 6px;
	background: url(images/button-white.gif) center right no-repeat #9BBD53;
	color:#fff;
	font-size:115%;
}

.news-list-item h2 a{color:#fff;text-decoration:none;}
.news-list-item h2 a:hover , .news-list-item h2 a:visited:hover{text-decoration:underline;}

.news-list-item .news-list-image{
	float:right;
	background-color:#C1CAD5;
	width:120px;
	text-align:center;
	margin-left:10px;
}

.news-single-top{
	margin-bottom:1em;
}

.news-single-top h1{
	border:1px dotted #8495AB;
	padding:8px;
	font-size:170%;
	color:#D07319;
}

.news-single-item h2{
	color:#D07319;
	margin-bottom:1em;
}
.news-single-top h3{color:#2DA6D6;margin-bottom:1em;}
.news-single-img{
	float:right;
	background-color:#C1CAD5;
	width:240px;
	text-align:center;
	margin:0 0 10px 10px;
}
.news-single-date{
	font-size:95%;
	padding:10px 0 20px;
}
.news-single-img a{
	display:block;
}

.news-single-backlink{
	border-top:1px dotted #8495AB;
	margin-top:10px;
	padding-top:5px;
}

.share-links{
	font-size:90%;
	overflow:hidden;
	padding:20px 0;
}
.share-links h3{
	width:auto;
	padding-right:10px;
	float:left;
}
.share-links ul{
	width:200px;
	list-style:none;
	float:left;
	padding:0;
	margin:0;
}
.share-links li{
	width:auto;
	float:left;
	padding-right:8px;
}

/*email signup form*/
fieldset.csc-mailform{
	border:0;
	padding:0;
}
.csc-mailform-field, .csc-mailform .csc-form-element{
	padding:3px 0;
}
.csc-mailform-field label, .csc-mailform label{
	font-size:90%;
}

.csc-mailform-field input, .csc-mailform input{
	border:1px dotted #8495AB;
	padding:4px 3px;
	width:210px;
	font-size:110%
}
input.csc-mailform-submit, .csc-form-element-submit input{
	padding:3px 3px;
	width:7.5em;
	text-align:left;
	background: url(images/button-white.gif) center right no-repeat #C51E12;
	border:none;
	color:#fff;
	font-size:90%;
	}


.csc-textpic-caption{font-size:90%; margin-bottom:1em;}

/* basic text ***************************************/
a:link, a:visited{color:#C51E12;text-decoration:underline;}
a:hover, a:visited:hover{text-decoration:none;color:inherit;}

h1,h2,h3,h4,h5,h6{margin:0.2em 0 0.2em;padding:0;color:#C51E12;}

h1{font-size:170%;font-weight:normal; margin-bottom:.7em}
h2{font-size:150%;font-weight:normal;margin-top:.5em}
h3{font-size:130%;font-weight:normal;margin-top:.5em;color:#2DA6D6}
h4, #home h5{font-size:110%;font-weight:bold; font-style:normal;margin-bottom:0;color:#9BBD53;}/* #33A092 jade */
#home h5 a{color:inherit;}
h5,h6{font-size:100%;font-style:italic;font-weight:normal;}
p{margin:0.2em 0 .8em; padding:0;}

img {border:0}

ul{
	list-style: square;
	margin: .5em 1em .5em 15px;
	padding-left:2px
}
ol{
	list-style-type: decimal;
	margin: .5em 1em .5em 30px;
	padding-left:2px;
}

li{
	margin:0 0 0.5em 0;
	padding:0;
}



/* handhelds ************************/

/* iPhone 5s ***********************/
/* optional and (orientation : landscape) etc 
@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 568px) { 
	
	......
	
}*/

/* iPhone 3/4/4s and 5? ************************/
@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 480px) {
	html {
	-webkit-text-size-adjust: none;
	}
	body{font-size:28pt;}
	
	#header h2{
		float:left;
		width:100%;
		font-size:150%;
		padding-bottom:.1em;
	}
	#header h2 a{
		color:#FFF!important;
	}
	#header a.button{display:block;float:left;width:auto;padding-right:2em;}
	
	#header .sublink a{
		position:absolute;
		right:20px;
		top:5px;
		width:9em;
	}
	
	#logo{
		width:500px;
		position:relative;
	}
	ul#mainnav{
		float:none;
		width:100%;
		border:0;
		margin:1em 0 2em;
		font-size:110%;
		padding-right:0 12px;
	}
	ul#mainnav li a{margin-top:.3em;}
	
	ul#subnav{margin:1em 0;}
	
	#home #col1, #col1{
		float:none;
		width:100%;
	}
	#col1 div{
		width:30%;
		float:left;
		margin-right:10px;
	}
	#col1 div h2{
		min-height:3em;/* panel headings */
	}
	
	#col1 div img{
		/*width="170" height="80*/
		width:280px;
		height:132px;
	}
	
	
	#home #col2, #col2{
		float:right;
		clear:both;
		width:100%;
	}
	#home #col2-inner, #col2-inner{
		float:none;
		width:100%;
		border:none;
		padding-right:0;
		padding-bottom:2em;
	}
	#home #col3, #col3{
		float:right;
		width:100%;
	}
	
	.news-latest-image{
		width:190px;
	}
	
	.news-latest-image img{
		width:170px!important;
		height:140px!important;
	}
	
	
	.prev, .next{opacity:1.0;}
}

/*iPad *****************************/
@media only screen and (max-device-width: 768px) { 
html {-webkit-text-size-adjust: none;}
.prev, .next{opacity:1.0;}
}
