/* advanced.css */
@media screen {

	/* definitions for display of the gallery main photo */
	#main-photo-wrapper {
		height: 390px;
		overflow: hidden;
	}
	#main-photo-wrapper img {
		margin: 0;
		padding: 0;
		height: 332px;
		width: 500px;
	}
	#main-photo-wrapper #main-photo-caption,
	#main-photo-wrapper #photo-acknowledgement,
	#main-photo-wrapper #photo-count {
		font-size: 80%;
		line-height: 1.1em;
		text-overflow: ellipsis;
	}
	#main-photo-wrapper #main-photo-caption {
		width: 370px;
		float: left;
	}
	#main-photo-wrapper #photo-acknowledgement,
	#main-photo-wrapper #photo-count {
		text-align: right;
		padding-top: 0;
		padding-bottom: 1em;
		margin-right: 2px;
		margin-top: -1.15em;
	}
	#main-photo-wrapper #photo-acknowledgement {
		margin-top: 0;
		text-overflow: ellipsis;
	}
	#gallery-navigation-wrapper {
		text-align: center;
		height: 40px;
		background: url('images/gallery_controls_background.png') no-repeat 70px 0;
		padding-top: 8px;
		margin-bottom: 5px;
	}
	#photo-navigation {
		text-align: center;
		padding-bottom: 15px;
		margin-top: -3px;
		margin-bottom: 35px;
		position: relative;
		width: 350px;
		margin-left: auto;
		margin-right: auto; 
	}
	#photo-navigation a {
		position: relative;
		display: block;
		float: left;
		width: 70px;
		height: 30px;
		background-image: url('/css/images/gallery_control_sprites.png');
	}
	a#slideshow-control.pause {
		background-position: -140px 0;
	}
	a#slideshow-control.pause:hover,
	a#slideshow-control.pause:active {
		background-position: -140px -30px;
	}
	a#slideshow-control.forward {
		background-position: -350px 0;
	}
	a#slideshow-control.forward:hover,
	a#slideshow-control.forward:active {
		background-position: -350px -30px;
	}
	a#goto-first-slide {
		background-position: 0 0;
	}
	a#goto-first-slide:hover,
	a#goto-first-slide:active {
		background-position: 0 -30px;
	}
	a#previous-slide {
		background-position: -70px 0;
	}
	a#previous-slide:hover,
	a#previous-slide:active {
		background-position: -70px -30px;
	}
	a#next-slide {
		background-position: -210px 0;
	}
	a#next-slide:hover,
	a#next-slide:active {
		background-position: -210px -30px;
	}
	a#goto-last-slide {
		background-position: -280px 0;
	}
	a#goto-last-slide:hover,
	a#goto-last-slide:active {
		background-position: -280px -30px;
	}
	/* definitions for a thumbnail filmstrip */ 
	#thumbnail-filmstrip {
		position: relative;
		height: 150px; 
		border: 0;
		padding: 0;
		margin: 0;
		overflow-x: hidden; 
		overflow-y: hidden;
		background-color: #fff;
	}
	#filmstrip-row-background {
		position: relative;
		height: 138px;
		background: url('/css/images/filmstrip.png') 0 0 repeat-x;
		border: 0;
		margin: 0;
		padding: 25px 0;
	}
	#filmstrip-row {
		position: relative;
		border: 0;
		padding: 0;
		margin: 0;
	}
	#thumbnail-filmstrip a {
		float: left;
		opacity: 0.8;
	}
	#thumbnail-filmstrip a:hover, 
	#thumbnail-filmstrip a.current-picture {
		opacity: 1.0;
	}

	/* concertina styles (static) */
	#container ul.concertina {
		margin: 0 0 0 -15px;
		padding: 0;
	}
	#container ol.concertina {
		margin: 0 0 0 1.5em;
		padding: 0;
	}
	#container #content ul.concertina li *,
	#container #content ol.concertina li * {
		line-height: 1.2;
		font-size: 104%; 
	}
	#container #content ul.concertina li li,
	#container #content ol.concertina li li {
		font-size: 88%; 
		margin: 0;
		padding: 0;
	}
	#container ul.concertina li {
		list-style: none;
	}
	#container ol.concertina li {
		list-style: decimal;
	}
	#container ul.concertina h2,
	#container ul.concertina h3,
	#container ul.concertina h2 a,
	#container ul.concertina h3 a,
	#container ol.concertina h2,
	#container ol.concertina h3,
	#container ol.concertina h2 a,
	#container ol.concertina h3 a {
		padding: 0 0 2px 0;
		text-shadow: none;
	}
	#container ul.concertina li p,
	#container ol.concertina li p  {
		background-color: #fff;  
		color: #000;
	}
	#container ul.concertina li ol li,
	#container ol.concertina li ol li {
		list-style: decimal outside;
	}
	#container ul.concertina li ul li,
	#container ol.concertina li ul li {
		list-style: square outside;
	}
	/* concertina styles (dynamic) */
	#container ul.concertina li.collapsed *,
	#container ol.concertina li.collapsed * {
		position: absolute;
		left: -10000px;
	}
	#container ul.concertina li.collapsed h2.key,
	#container ul.concertina li.collapsed h3.key,
	#container ul.concertina li.expanded h2.key,
	#container ul.concertina li.expanded h3.key,
	#container ul.concertina li.collapsed h2.key a:link,
	#container ul.concertina li.collapsed h3.key a:link,
	#container ul.concertina li.expanded h2.key a:link,
	#container ul.concertina li.expanded h3.key a:link,
	#container ul.concertina li.collapsed h2.key a:visited,
	#container ul.concertina li.collapsed h3.key a:visited,
	#container ul.concertina li.expanded h2.key a:visited,
	#container ul.concertina li.expanded h3.key a:visited,
	#container ol.concertina li.collapsed h2.key,
	#container ol.concertina li.collapsed h3.key,
	#container ol.concertina li.expanded h2.key,
	#container ol.concertina li.expanded h3.key,
	#container ol.concertina li.collapsed h2.key a:link,
	#container ol.concertina li.collapsed h3.key a:link,
	#container ol.concertina li.expanded h2.key a:link,
	#container ol.concertina li.expanded h3.key a:link,
	#container ol.concertina li.collapsed h2.key a:visited,
	#container ol.concertina li.collapsed h3.key a:visited,
	#container ol.concertina li.expanded h2.key a:visited,
	#container ol.concertina li.expanded h3.key a:visited {
		position: static; 
		text-shadow: none;
	}

.pdf {
	background-image:url('images/pdficon_large.gif');
}

	#content h3.entry-title {
		margin-bottom: 0;
		padding-bottom: 6px;
 	}
	#content img.entry-image {
		float: left;
		padding-right: 20px;
		padding-bottom: 10px;
		opacity: 0.8;
	}
	#content a:hover img.entry-image {
		opacity: 1.0;
	}
	#content ul.entry-bibliography {
		padding-top: 0;
		margin-top: 0;
		list-style: none;
	}
	#content ul li.entry-author {
		padding-top: 0;
		margin-top: 0;
		padding-bottom: 6px;
		list-style: none;
		font-weight: lighter;
	}
	#content ul li.entry-author span {
		font-weight: normal;
	}
	#content ul li.entry-format {
		padding-bottom: 6px;
 		list-style: none;
		font-weight: lighter;
	}
	#content ul li.entry-filesize {
		padding-bottom: 6px;
  		list-style: none;
		font-weight: lighter;
	}
	#content h3.entry-synopsis-heading {
		clear: left;
	}

	/*   Display a definition list as a table  */
	/*	 Can't use display: table etc, as not supported yet by IE */
	dl.display-dl-as-table {
		margin: 0;
		padding: 0 0 20px 0;
	} 
	.display-dl-as-table dt {
		width: 6em;
		float: left;
		margin: 0;
		padding: 0.25em 0 0.25em 0;
	}
	.display-dl-as-table dt {
		clear: both;
	} 
	.display-dl-as-table dd {
		font-size: 1.1em;
		float: left;
		width: 26em;
		margin: 0;
		padding: 0.25em 0 0.25em 0;
	}
	#container #content ul.concertina li .display-dl-as-table dd,
	#container #content ol.concertina li .display-dl-as-table dd  {
		font-size: 100%; 
	}
	.display-dl-as-table dd:last-child {
		padding-bottom: 1em;
	}
	
	/* define styles for the sitemap */
	#content  ul.sitemap,
	ul.sitemap li ul {
		list-style-type: disc;
	}
	#content ul.sitemap li {
		margin: 0;
		padding: 0;
		margin-left: 1em;
		padding-left: 1em;
		line-height: 1.2; 
	}
	#content ul.sitemap li ul {
		margin: 0;
		padding: 0;
	}
	#content ul.sitemap li ul li {
		font-size: 100%;
		line-height: 1.2; 
	}
	#content ul.sitemap li a:link,
	#content ul.sitemap li a:visited {
		text-decoration: none;
		cursor: pointer;
	}
	#content ul.sitemap li a:hover {
		text-decoration: underline;
		cursor: pointer;
	}

	/* definitions for the contact form */
	#contact_form {
		padding-top: 0;
		margin-top: 0;
	}
	label {
		display: block;
	}
	legend {
		color: #9f1d35;
	}
	input.radio  {
		margin-right: 1em;
	}
	input.radio:focus {
		border: 2px solid red;
	}
	fieldset fieldset {
		padding-top: 1em;
		padding-bottom: 1em;
		margin-top: 1em;
		margin-bottom: 1em;
	}

	/* rolling credits styles */
	#container ul.rolling-credits {
		margin: 0 0 0 -15px;
		padding: 0;
	}
	#container #content ul.rolling-credits li * {
		line-height: 1.2;
		font-size: 104%; 
	}
	#container #content ul.rolling-credits li li {
		font-size: 88%; 
		margin: 0;
		padding: 0;
	}
	#container ul.rolling-credits li {
		list-style: none;
	}
	#container ul.rolling-credits h2,
	#container ul.rolling-credits h2 a {
		padding: 0 0 2px 0;
	}
	#container ul.rolling-credits li p  {
		background-color: #fff;  
		color: #000;
	}
	#container ul.rolling-credits li ol li {
		list-style: decimal outside;
	}
	#container ul.rolling-credits li ul li {
		list-style: square outside;
	}

/*	definitions for sortable tables */
	table.sortable th.sortedAscending {
		padding-right: 2em;
		background-image: url('images/arrow_up.gif');
		background-repeat: no-repeat;
		background-position: 95% 50%;
	}
	table.sortable th.sortedDescending {
		padding-right: 2em;
		background-image: url('images/arrow_down.gif');
		background-repeat: no-repeat;
		background-position: 95% 50%;
	}
	table.sortable th a {
		display: block;
		color: #fff;
		text-decoration: none;
	}

/*	definitions to stripe table rows				*/
/*	Note:											*/
/*	- nth-child pseudoselector supported from Opera 9.5, Safari 3.1, Firefox 3.5 (Gecko 1.9.1), Chrome 1, Konqueror 3.5 */
/*	- not supported by IE through IE8 				*/
	table.striped tr:nth-child(even) {  
		background: #f2dde7;
	}  	

	/* definitions for the /orders/abbreviations page */
	table#abbreviations-for-religious-orders {
		left: 0;
		right: 0;
		width: 100%;
		font-size: 80%;
	}

	/* definitions for the /expo-2010/fundraising page */
	#donations-table tr th:last-of-type,
	#donations-table tr td:last-of-type {
		text-align: right;
	}
	#thermometer-container {
		float: right;
	}
	#thermometer-top,
	#thermometer-stem-container,
	#thermometer-bulb {
		position: relative;
	}
	#thermometer-top,
	#thermometer-stem,
	#thermometer-bulb {
		width: 200px;
	}
	#thermometer-top {
		height: 52px;
		background: #fff url('images/thermometer_top.png') no-repeat bottom right;
	}
	#thermometer-stem {
		height: 280px;
		background: #fff url('images/thermometer_stem.png') no-repeat bottom right;
	}
	#thermometer-bulb {
		height: 102px;
		background: #fff url('images/thermometer_bulb.png') no-repeat bottom right;
	}
	#thermometer-mercury,
	.thermometer-tick-mark,
	.thermometer-tick-value,
	.sponsor,
	.sponsor-tick {
		position: absolute;
	}
	#thermometer-mercury,
	.thermometer-tick-mark,
	.thermometer-tick-value {
		z-index: 100;
	}
	#thermometer-mercury {
		bottom: 0;
		right: 36px; 
		width: 28px;
		background: #9f1d35;
	}
	.thermometer-tick-mark {
		background: #666;
		width: 8px;
		height: 1px;
		right: 68px;
	}
	.thermometer-tick-value {
		width: 35px;
		height: 10px;
		right: 82px;
		font-size: 10px;
	}
	.sponsor {
		z-index: 110;
		right: 80px;
		height: 12px;
		width: 110px;
	}
	.sponsor-tick {
		z-index: 110;
		background: #9f1d35;
		right: 68px;
		width: 122px;
		height: 1px;
	}
	#thermometer-stem-container .sponsor p {
		font-size: 10px;
		margin: 0;
		padding: 0;
	}

	/* definitions for the Expo 2010 workshops and evening_talks pages */
	table.workshops th,
	table.evening-talks th {
		width: 60px;
	}
	.workshops td:nth-last-child(2) {
		width: 40px;
	}
	.evening-talks td:nth-last-child(2) {
		width: 60px;
	}

}
