/*------------------------------------------------------------------------------
>>>>  Template CSS for AASRN projects
     
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-weight: inherit;
	font-style: inherit;	font-family: inherit;
	vertical-align: baseline;
}

/* For IE */
img { -ms-interpolation-mode:bicubic; } 

a img {
  border: none;
}



/*------------------------------------------------------------------------------
>>>> A few fundamentals:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/

body { 
  color: #07181d; 
  text-shadow: rgba(255, 255, 255, .01) 0px -1px 1px; 
  font-family: Georgia, "Times New Roman", serif;
	font-size: 100%; 
	background:url(/static/images/vertical-grid.gif) repeat; 
}

html>body {
font-size: 16px;
}


/* For the big happy opening paragraph */
#content h1 + p, #mapblg #content p:first-child {
  font-size: 125%;
  line-height: 160%;
	margin-bottom:12px;
  color: #07181d;
}


/*------------------------------------------------------------------------------
>>>> Layout
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/

.wide {
	width:960px;
	margin-top:-120px;
}
.container {
	width:960px;
	margin:0 auto;
	margin-top:-40px;
	padding-top:60px;
	background:url(/static/images/circles.png) top left no-repeat;
}

.asset {
	padding-top:96px;
	border-top:5px solid #000000;
}
.homePage {
	background: none;
	border-top: none;
	padding-top:120px;
}
#content {
	width:560px;
	float:left;
	padding:0px 0px 40px 40px;
	margin-top:19px;
	overflow:hidden;
}

.sidebar {
	position:relative;
	float:left;
	width:320px;
	padding:20px;
	background:#ffffff;
	margin-top:19px;
}

.footer {
  clear:both;
  font-size: 90%;
  padding-top: 0.5em;
  margin-top: 3.0em;
	overflow:auto;
	background:url(/static/images/gradient.gif) top left repeat-x;
}
.footerText {
	width:960px;
	margin:0 auto;
	overflow:hidden;
	border-bottom:2px dotted #ffffff;
}

.byline {
  padding-top: 0.5em;
  font-size: 75%;
  text-align: center;
	clear:both;
}

/*------------------------------------------------------------------------------
>>>> Masthead & navigation
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/

/* This is the link back to the parent site */
.masthead {
  width:100%;  
	height:40px;
  overflow:hidden;  
  padding:0;
  text-align:left; 
	background:url(/static/images/masthead-gradient.gif) top left repeat-x;
/*	border:1px solid red;*/
}

.masthead .parentSite {
	width:960px;
	position:relative;
	margin:0 auto;
	height:30px;
	padding:0;
	padding-top:10px;
}
.masthead h2 {
	position:relative;
	float:left;
	width:572px;
	height:22px;
	margin:0;
	padding:0;
}
.masthead a {
	background:url(/static/images/aasrn2.png) no-repeat;
	background-position:left top;
	overflow:auto;
	display:block;
	height:22px;
	width:572px;
}

.masthead a:hover {
	background-position:left bottom;
	border:none;
}
.masthead h2 span {
	display:none;
}

.navigation {
	position:relative;
	width:970px;
	height:220px;
	margin:-10px auto 0 auto;
	overflow:visible;
	padding-top:30px;
	padding-left:10px;
	background:url(/static/images/motif.png) top left no-repeat;
	z-index:5000;
}
.title {
	width:340px;
	float:left;
	display:inline;
}

.title h1 {
	font-size:40px;
	color:#000000;
	margin-bottom:0px;
	letter-spacing:0;
}
.title span {
	font-size:24px;
	display:block;
	line-height:1.3;
	margin-top:9px;
	color:#000000;
}

.title h1 a {
	color:#000000;
}
.title a:hover {
	border:none;
}

ul#nav {
	width:630px;
	padding-top:5px;
	float:right;
	display:inline;
	overflow:visible;
}

/* Tab-style nav

 	To edit the background images/colours see editable.css */

ul.tabs, ul.tabs li {
	list-style: none;
	margin: 0;
	padding: 0;
}
ul.tabs {
  text-align: left; 
}
ul.tabs li {
	display: inline;
}

ul.tabs a {
	float:left;
	display:inline;
	text-decoration:none;
	background:#ffffff;
	width:160px;
	height:130px;
	text-align:center;
	padding-top:20px;
	margin-left:50px;
	color:#07181d;
}

ul.tabs a:hover {
	border-bottom:none;
}

ul.tabs li.last {
	margin-right: 0;
}
	

/*------------------------------------------------------------------------------
>>>> Basic Typography
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/

p {
	font-size:1em;
	line-height:1.5;
	margin-top:1.5em;
	margin-bottom:1.5em;
}

em, i {
  font-style:italic;
}
b, strong {
  font-weight: bold;
}

h1 {
  font-size:1.75em;
  margin: 0 0 13px 0;
  letter-spacing:0.05em;
	line-height:1.25;
}
h2 {
  font-size: 1.5em;
	line-height:1;
  margin-top: 1.7em;
  margin-bottom: 1.3em;
}
h3 {
  font-size: 1.125em;
  font-weight: bold;
  line-height: 1.333;
  margin-top: 30px;  
  margin-bottom: 18px;
}
h4 {
  font-size:1em;
  font-weight:bold;
	line-height:1.5;
  margin-bottom:0em;
  margin-top:2em;    
}
h5 {
  font-size:1em;
  font-weight:bold;
	line-height:1.5;
  margin-bottom:0em;
  margin-top:2em;    
}
h6 {
  font-size:1em;
  font-weight:bold;
	line-height:1.5;
  margin-bottom:0em;
  margin-top:2em;    
}

ul, ol {
  padding: 0 0 0 30px;
  margin:1.0em 3.0em 1.4em 0;
}
ul ul, ol ol {
  margin-left: 1.8em;
}
li {
	font-size:0.875em;
  line-height:130%;
  margin-bottom:0.7em;
}
dl {
  line-height: 130%;
}
dt {
  font-weight: bold;
  margin-bottom: 0;
}
dd {
  margin-bottom: 2.0em;
}
blockquote {
  margin: 1.6em 0;
  padding: 0 2.0em;
  border-left: 1px solid #ccc;
}
blockquote p {
  padding:0;
  margin:0 0 1.0em 0;
}
blockquote cite {
  font-style:italic;
  font-weight: bold;
  font-size:0.9em;
}
table {
  border-collapse: collapse;
  margin: 1.0em 0;
  padding: 0;
  font-size: 0.9em;
  width: 100%;
}
table td {
  text-align: left;
  vertical-align: top;
  padding: 0.3em 1.0em 0.3em 0;
  border-bottom:1px solid #ddd;  
}
table th {
  padding: 0.3em 1.0em 0.3em 0;
  font-weight: bold;
  text-align: left;  
  border-bottom: 1px solid #222;
}
table p {
  margin: 0.5em 0;
}
hr
{
  border-color: #0C77B2;
  border-style: dotted;
  border-width: 2px 0 0;
  clear: both;
  margin: 0 0 20px;
  height: 0;
}

/*------------------------------------------------------------------------------
>>>> Footer stuff
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/

div.aasrn {
	width:343px;
	padding-right:50px;
	float:left;
}
.aasrn h2 {
	color:#FE6500;
	line-height:1.5em;
}
.newsFooter {
	width:300px;
	margin-right:50px;
	border-top:2px dotted white;
	margin-top:42px;
	position:relative;
	float:left;
	display:inline;
}
.newsFooter h4 {
	margin-top:15px;
	margin-bottom:15px;
}
.newsFooter ul {
	list-style-type:none;
	padding:0;
	width:100%;
}
.newsFooter li {
	width:100%;
}


div.search { /* the search form */
	border-top:2px dotted white;
	width:217px;
	margin-top:42px;
	position:relative;
	float:left;
	display:inline;
}

.search h4 {
	margin-top:15px;
	margin-bottom:15px;
}

.search input#query {
	width:142px;
	float:left;
	display:inline;
	padding:0 0 2px 0;
	line-height:1.3;
	margin-right:5px;
	margin-top:1px;
	font-size:11px;
}

.search input#submit {
	width:60px;
	float:left;
	margin:0;
}

/*------------------------------------------------------------------------------
>>>> Generally helpful
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/

.error, .preview {
  border: 1px dashed red;
  padding: 1.0em 1.0em 0 1.0em;
}

.skip { /* For hidden skip-to-content link */
  display: none;
}
.back { /* Used for back-to-page links for blg, nws, evt */
  clear: both;
  padding-top:0em;
	margin-top:0;
}
.go { /* Link to post or extended article */
  text-align: right;
}
.first { /* For the first item in series */
  margin-left: 0;
  padding-left: 0;
}
.last { /* For the last item in series */
  margin-right: 0;
  padding-right: 0;
}
.notFound { /* Where people don't have images */
  background: #ddd;
  text-align: center;
  padding:2em 10px;
  width: 115px;
	float:left;
	display:inline;
	color:#07181d;
	overflow:auto;
}

/*------------------------------------------------------------------------------
>>>> Some general post declarations
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/

#blg div.post,
#dir div.post,
#edn div.post,
#evt div.post,
#mapblg div.post,
#nws div.post,
#psl div.post, 
#shp div.post {
  margin-bottom:0;
}

/* Neatening subheadings in posts  */
.post h2 { margin-top: 0px;}
.post h2 + h3 {
  margin: -0.7em 0 0.6em 0;
}
 
div.post {
	margin:0;
	margin-bottom:0;
	padding:0;
}

.post a {
	display:block;
	width:560px;
	padding:20px 0;
	overflow:auto;
	color:#07181d;
	border-top:2px dotted #FE6500;
	margin:0;
}

.post a:hover {
	background:#ffffff;
	border:none;
	border-top:2px dotted #FE6500;
}

.post a h2 {
	color:#FE6500;
	margin-top:0;
	margin-bottom:0.5em;
}

.post a h3 {
	color:#07181d;
	margin-top:0.7em;
}
.post a a {
	border-top:none;
	border-bottom:none;
	margin:0;
}
.post p {
	margin-top:15px;
	margin-bottom:0;
	color:#07181d;
}

.post img {
	float:left;
	margin-right:15px;
}
/*------------------------------------------------------------------------------
>>>> News (NWS)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/

h1.indent {
	margin-top:0.73em;
}

div.nws h3 {
	color:#07181d;
	margin-top:0.7em;
	font-weight:normal;
}

div.nws p {
	margin-top:15px;
	margin-bottom:0px;
	color:#07181d;
}


/*------------------------------------------------------------------------------
>>>> Personnel (PSL)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/


#psl .post a p {
	margin-top:18px;
}

#psl .post img {
	float:left;
	margin-right:15px;
}

#psl a {
	overflow:hidden;
}
.post div.right {
	float:right;
	width:400px;
	overflow:hidden;
}

/*------------------------------------------------------------------------------
>>>> Edition (EDN)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/

#edn div.author {
  border-top: 1px solid #ccc;
  padding-top: 0.5em;
  margin-top: 3.0em;
  font-size: 85%;
}
#edn div.author h4 {
  margin: 0 0 0.5em 0;
}
#edn div.post {
	margin:0;
	margin-bottom:0;
	padding:0;
}
#edn .post h3 {
	color:#07181d;
	margin-top:0.7em;
}
#edn .post a p {
	margin-top:18px;
	margin-bottom:0;
	color:#07181d;
}

img.pdf {
	float:left;
	padding-bottom:20px;
}
a.pdfLink {
	display:block;
	float:left;
	width:180px;
	padding-top:15px;
	padding-left:10px;
}
/*------------------------------------------------------------------------------
>>>> Events (EVT)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/

/*------------------------------------------------------------------------------
>>>> Links within posts
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/

/* Links can't be included in any posts, as they interfere with the behaviour of the index action. Any links in posts will be in a separate setting and included under the main content of the post */

div.links {
	background:#ffffff;
	position:relative;
	width:520px;
	padding:2px 20px;
	margin-bottom:20px;
}


/*------------------------------------------------------------------------------
>>>> Blog and News (BLG, NWS) pagination + DBY years
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/

#blg div.pagination, 
#nws div.pagination,
#dby div.pagination,
#mapblg div.pagination {
  margin-top:4.0em;
  text-align:right;
  font-size: 90%;
}
#blg .pagination ul,
#nws .pagination ul,
#dby .pagination ul,
#mapblg .pagination ul {
  margin: 0;
  float: right;
  list-style: none;
}
#blg .pagination ul li, 
#nws .pagination ul li,
#dby .pagination ul li,
#mapblg .pagination ul li {
  border-right: 1px solid #444;
  padding: 0 0.4em;
  margin-top: 0.5em;
  float: left;
}
#blg .pagination ul li.currentPage,
#nws .pagination ul li.currentPage,
#dby .pagination ul li.currentPage,
#mapblg .pagination ul li.currentPage {
  font-weight: bold;
}
#blg .pagination ul li.nextPage,
#nws .pagination ul li.nextPage,
#dby .pagination ul li.all,
#mapblg .pagination ul li.all {
  border-right: 0;
  padding-right: 0;
}


/*  >> Comments <<   */

#blg p.commentInfo,
#tlk p.commentInfo,
#mapblg p.commentInfo { /* Shows if comments are on or off, and how many */
  margin-top: 2.0em;
  text-align: right;
  font-size: 90%;
  font-weight: bold;
}
#blg div.cmt,
#tlk div.cmt,
#mapblg div.cmt {
  margin-bottom: 2.4em;
  font-size: 90%;
}
div.preview h4.commenter {
  margin-top: 0;
}
#blg div.preview a.hide,
#tlk div.preview a.hide,
#mapblg div.preview a.hide {
  color: red;
}


/*------------------------------------------------------------------------------
>>>> Contact form (CTT)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/

#ctt #content {
	padding-left:0;
	width:593px;
}

/*------------------------------------------------------------------------------
>>>> Gallery (GLY)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/

#gly div.image img {
  width: 100%;
	margin-bottom:20px;
}
#gly p.caption {
  margin-top: 1.0em;
  font-size: 90%;
}


/*------------------------------------------------------------------------------
>>>> Slideshow
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/

#slideshow {
	height:360px;
	margin:0;
	padding:0;
}

#slideshow img {
	margin:0;
}
#slideshow div.placeholder {
  clear: both;
  width: 100%;
  overflow: hidden;
  background: url(/static/images/spinner.gif) center center no-repeat;
}
#slideshow #background {
	background:#f2f2f2;
	opacity:.7;
	filter:alpha(opacity=70);
	-moz-opacity:0.70;
	margin-top:-20px;	
	position:relative;
	float:left;
	display:inline;
	width:960px;
	height:20px;
	margin:0;
}
#slideshow #SS_caption {
  margin-top: 1.0em;
  font-size: 90%;
  height: 20px;
	width:955px;
	padding-left:5px;
	position:relative;
	float:left;
	display:inline;
	z-index:1000;
	margin-top:-20px;
}
#slideshow ol {
	padding-left:0;
	margin:0;
	float:right;
	text-align:right;
	width:auto;
	margin-top:-42px;
	position:relative;
	z-index:10000;
}
#slideshow ol li {
  display: block;
	height:11px;
	width:16px;
	padding-bottom:5px;
  float: left;
  cursor: pointer;
  font-size: 12px;
	line-height:1.2;
	text-align:center;
	background:#ffffff;
	border:1px solid #808080;
	margin-left:4px;
	margin-top:2px;
}
#slideshow ol li a {
  padding: 0.1em 1.0em 0.1em 0; 
	text-align:center;
}
#slideshow ol li#activeThumb { /* The active marker for the slideshow */ 
	color:#FE6500;
	border:1px solid #FE6500;
}


/*-----------------------------------------------------
                     >> Images <<
                     
Sizes
large: 560px
medium: 380px
small: 100px


-----------------------------------------------------*/

.captioned {
  margin-top: 0.7em;
  margin-bottom: 0.7em;
}
.captioned blockquote {
  background:none;
  margin: 6px 0 0 0;
  padding: 0;
  border: 0;
}
.captioned blockquote p {
  font-size: 0.85em;
  font-style: normal;
  line-height: 140%;
}
img.small, .smallCaptioned {
  float: left;
  width: 100px;
  margin: 0 18px 10px 0;
	padding:3px;
  background:#fff;  	
  border: 1px solid #888;
}
img.small_right, .small_rightCaptioned {
  float: right;
  width: 100px;
  margin: 0 18px 10px 0;
	padding:3px;
  background:#fff;  	
  border: 1px solid #888;
}
img.med, .medCaptioned {
  float: left;
  width: 320px;
  border: 1px solid #888;
  background:#fff;  	
	padding:3px;
  margin: 0 18px 10px 0;
}
img.med_right, .med_rightCaptioned {
  float: right;
  width: 320px;
	border:1px solid #888;
	background:#fff;
	padding:3px;
  position: relative;
  margin: 0 0 10px 10px;
}
img.large, .largeCaptioned {
  width: 552px;
  margin: 0;
  padding: 3px;
  border: 1px solid #888;
  background:#fff;  
}
.largeCaptioned {
  margin: 1.7em 0;
  border: none;
  padding: 0;
}

.medCaptioned img, 
.med_rightCaptioned img,
.smallCaptioned img,
.small_rightCaptioned img,
.largeCaptioned img {
  float: none;
  margin: 0;
}

p.submit {
  text-align:center;
  margin-top:10px;
  width:100%;
  overflow:hidden;
}

.submit input {
  font-size:16px;
}


/*------------------------------------------------------------------------------
>>>> Documents by year (DBY)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/

#dby table .downloadDate {
  width: 7.0em;
}
#dby table .downloadContent {
  width:27em;
}
#dby table .downloadLink {
  width: 7.0em;
  text-align: right;
}

/*------------------------------------------------------------------------------
>>>> Mime-type display - the default behaviour when a file is inserted in text
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/

a.download {
  display:block;
  overflow:hidden;
  border:1px solid #ccc;
  margin:0;
  padding:0;
  background:#eee;
  position:relative;
  text-decoration:none;
}
a.download:hover {
  background:#E6F1FF;
}
a.download label {
  margin:20px 0 0 0;
  padding:0;
  display:block;
  line-height:140%;
  float:left;
}
a.download label span {
  font-weight:bold;
  font-size:12px;
}
a.download img {
  float:left;
  margin:0;
  padding:3px 0;
  width:64px;
  height:64px
}


/*------------------------------------------------------------------------------
>>>> Uniform overwrites (remove the .uniForm class from forms to disregard)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/

/* This is the main unit that contains our form elements */
.uniForm .ctrlHolder { padding: 0; border-bottom: 1px solid #dfdfdf;}
.uniForm .buttonHolder { padding-top: 10px; }

.uniForm .inlineLabels label,
.uniForm .inlineLabels .label { 
  width: 40%; 
}
.uniForm .inlineLabels .textInput,
.uniForm .inlineLabels .fileUpload { 
  width: 54%; 
}

.uniForm .inlineLabels .selectInput,
.uniForm .inlineLabels select{ width: 54%;  }

.uniForm .inlineLabels textarea{  width: 57%; font-family: Helvetica, Arial, sans-serif; }

.uniForm .inlineLabels .formHint { 
  margin-top: 0; 
  margin-left: 42%; 
  font-size: .9em; 
  color: #777; 
  position: static; 
}
.uniForm .inlineLabels .multiField { 
  width: 54%; 
  margin: 0 0 .3em 0; 
}

.uniForm label.blockLabel { font-size: 90%; }
.uniForm .inlineLabels .blockLabel {
  width: 45%;
  margin-right: 5%;
}

.uniForm .inlineLabels .address .textInput {
  width: 100%;
}
.uniForm .inlineLabels .address label {
  display: none;
}
.uniForm .ctrlHolder { 
  padding: 6px 0; 
  border-bottom: 1px dotted #ffffff;
}
.uniForm .noBorder {
  border: 0;
}
.uniForm .inlineLabels p.formHint {
  font-size: 80%;
  padding-top: 0.8em;
  line-height: 130%;
}

