/* Screen CSS for the University of Bristol Spelaeological Society */
/* Author: Simon Lee */

/*----------------------------------*/
/*       TYPOGRAPHY and LOOKS       */
/*            SECTION               */

body {
	background-color: #281f11;
	background-image: url("../images/ubss_bg_thai.gif");
	background-position: 100% 100%;
	background-attachment: fixed; 
	background-repeat: no-repeat; 
	color: #efebe0;
	font-family:  Arial, Helvetica,sans-serif;
	font-size: 0.9em;
	line-height: 1.25em;
	margin: 0;
	padding: 0;
	}

h1, h2, h3, h4 ,h5, h6 {
	margin: 0;
	padding: 0.5em 0.2em 0.2em 0.2em;
	line-height: 1.2em;
	font-weight: bold;
	letter-spacing: 0.1em;
	}

h1, h2 {
	clear: both;
	text-align: center;
	}

h4, h5 {
	font-weight: bold;
	}

h1 {
	font-size: 2em;
	/* rules below needed  for cracked look only*/
	position: relative;
	overflow: hidden;
	}

h2 {	font-size: 1.5em;	}
h3 {	font-size: 1.3em;	}
h4 {	font-size: 1.1em;	}
h5 {	font-size: 0.9em;	}
h6 {	font-size: 0.8em;	}

#pgMeetUs h2 {
	clear: left;
	text-align:left;
	}

/* provide cracked overlay to headers */
/*thanks to www.khmerang.com for the style tip*/
h1 .cracked
/*, h2 .cracked, h3 .cracked*/{
	background-image: url('/images/texture_cracks.gif');
    position: absolute;
    width: 100%;
    height: 2.1em;
    overflow: hidden;
	}

/*
h4 .cracked, h5 .cracked, h6 .cracked {
	background-image: url('/images/texture_cracks_small.gif');
    position: absolute;
    width: 100%;
    height: 1.7em;
    overflow: hidden;
	}
*/

h1 p {
	clear:left; /*added to enable the cracked look*/
	}
/* end cracked look */

p {
	margin: 0;
	padding: 0.3em;
	}

a {
	color: #FFD100;
	text-decoration: none;
	border: 0;
	}

a:hover {
	text-decoration: underline;
	}

img {
	padding: 0.5em;
	border: 0;
	}

.img_valid {
	padding: 0.1em;
	}
	
a img {
	padding:0;
	vertical-align:middle;
	}
	
ul {
	list-style-type: square;
	list-style-position: outside;
	margin: 0.1em 1em;
	padding: 0.2em 0.5em;
	}


/* global typography classes */
.alert {
	font-weight: bold;
	color: #f00;
}

.important_text {
	color: #d8d0bf;
	}

.smalltext, #siteInfo {
	font-size: 0.8em;
	}
	
.v_smalltext {
	font-size: 0.7em;
	line-height: 1.2em;
	}

.imagecaption {
	font-size: 0.8em;
	font-weight: bold;
	padding: 0 0 0 0.5em;
	}

.dropcap:first-letter {
	font-size: 1.75em;
	font-weight: bold;
	float: left;
	}
	
/* Rounded Corners */
.roundedCorners {
	border: solid 1px #A59681;
	background- color: transparent;
	}

.bl {
	background: url(/images/skins/mud/rounded_corner_BL_mud.gif) 0 100% no-repeat transparent; 
	position: relative;
	right: 1px;
	top: 1px;
	}
.br {
	background: url(/images/skins/mud/rounded_corner_BR_mud.gif) 100% 100% no-repeat;
	position: relative;
	left: 2px;	
	}
.tl {
	background: url(/images/skins/mud/rounded_corner_TL_mud.gif) 0 0 no-repeat;
	position: relative;
	right: 2px;
	bottom: 2px;
	}
.tr {
	background: url(/images/skins/mud/rounded_corner_TR_mud.gif) 100% 0 no-repeat; 
	padding:10px;
	position: relative;
	left: 2px;
	}
	
.clear { /* stops bleed of the main bg color to elements below - not an issue here as we are using transparent bg color */
	font-size: 1px; height: 1px
	}
/* End Rounded Corners */


/* start TABLES */
th {
	font-weight: bold;
	background-image: url('/images/NavItem_DarkGrad.gif');
	background-repeat: repeat-x;
	background-position: 0% 0%;
	background-color: #7c6d59;
	}
	
.ubsstable {
	padding: 0 1px 0 1px;
	border-bottom-style: solid;
	border-width: 1px;
	border-bottom-color: #a59681;
	margin: 0 2%;
	}

.oddRow, .altRow {
	background-color: #4F4636;
	}

.tblWideCell {
	width: 20em;
	}

/* End TABLES */


/*----------------------------------*/
/*              LAYOUT              */
/*              SECTION             */

#navigation { /*start global page layout items */
	position: absolute;
	left: 0.2em;
	float: left;
	clear: none;
	width: 9em;
	padding: 0.2em 0  0 0.2em;
	}

#content {
	position: absolute;
	left: 9.5em;
	right: 10em;
	clear: none;
	float: left;
	padding: 0 .8em;
	}

#extraInfo {
	position: absolute;
	right: 0.2em;
	width: 9.5em;
	float: left;
	clear: none;
	padding: 0.3em;
	}

#logo {
	width: 100%;
	padding: 0;
	margin: 0 0.2em 0 0.2em;
	height: 50px;
	}

#logo img {
	padding:0.2em;
	margin:0;
	}
	
#siteInfo {
	clear: both;
	text-align: center;
	}

/* generic layout items */
.floatleft {
	float: left;
	}

.floatright {
	float: right;
	}

.clearboth {
	clear: both;
	}

.center {
	text-align: center;
	}

.basedivider {
	border-bottom: 1px solid;
	margin: 0 0 1em 0;
	}

.divider_base {
	border-bottom: 1px dotted #a59a81;
	padding-bottom: 0.8em;
	}
	
.listitem {
	padding: 0 0 1em 0;
	clear: both;
	margin: 0 0 1em 0;
	}

.listitem_author {
	float:right;
	border-style: solid;
	border-color: #a59a81;
	border-width: 0 0 1px 1px;
	margin: 0 0 0 0.5em;
	padding: 0 0 0 0.8em;
	}

.listitem h4, .listitem h5 {
	background-color: #a59a81;
	color: #281f11;
	padding: 0.1em;
	border-style: solid;
	border-color: #a59a81;
	border-width: 0 0 1px 1px;
	}

	
/* Start Navigation Styling */
#navigation ul {
	display: block;
	list-style: none;
	margin: 0;
	padding: 0 0 1px 0;
	background-color: #a59681;
	font-size: 0.88em;
	z-index: 20;
	}

#navigation ul li {
	padding: 0 0 0 0.1em;
	background-image: url('/images/NavItem_DarkGrad.gif');
	background-repeat: repeat-x;
	background-position: 0% 0%;
	background-color: #7c6d59;
	}

	/* Sub-nav */
#navigation li ul li {
	border-bottom: 1px solid #4a3a22;
	padding: 0;
	}

#navigation li ul li a:link, #navigation li ul li a:visited {
	display: block;
	padding: 0.1em 0em 0.1em 1em;
	margin: 0;
	background-color: #d8d0bf;
	background-image: url('/images/NavItem_LightGrad.gif');
	background-repeat: repeat-x;
	background-position: 100% 100%;	
	color: #4a3a22;
	text-decoration: none;
	}

#navigation li ul li a:hover, #navigation li ul li a:active {
	background-color: #a59681;
	color: 	#fff;
	}
/* End Navigation Styling */


/*User input Items*/
input.button {
	width:auto;
	}
.smallWidth{
	width: 5em;
	}
.mediumWidth{
	width: 15em;
	}
.largeWidth {
	width: 39em;
	}
textarea.largeWidth {
	width:40em;
	height: 10em;
	}

fieldset {
	border: 1px solid;
	margin: 0.5em 0;
	line-height: 1.8em;
	font-size: 0.9em;
	padding: 0.2em;
	width: 60%;
	}
/* Hide from IE-Mac \*/
fieldset {width: inherit;}
/* End hide */

/*form input, form textarea, form select*/
input, textarea, select {
	margin: 0 0.1em;
	padding: 0;
	border: 1px solid #a59681;
	background-color: #281f11;
	color: #f5f5f5;
	}

input.button, .form_button_alt {
	margin: 2px 0 2px 0;	
	background-color: #d8d0bf;
	background-image: url('/images/NavItem_LightGrad.gif');
	background-repeat: repeat-x;
	background-position: 100% 100%;	
	color: #4a3a22;
	}



label {
	margin: 0.2em 0;
	}

form select {
	/*width: 25em;*/
	}

textarea {
	width: 25em;
	}

form hr {
	clear: both;
	}
	
fieldset.ubss_search  {
	border: 0;
	padding: 0;
	width: 9.5em;
	}


.form_button_alt:hover {
	cursor: pointer;
	}
	
.proceedings_addbox {
	clear: both;
	border-width: 1px;
	border-style: solid;
	border-color: #a59a81;
	width: 35em;
	}

.proceedings_search * {
	float: none;
	}

.proceedings_search select {
	width: 8em;
	}

p.proceedingsabstract_ref {
	margin: 0 0 1em 1.5em;
	padding: 0 0 0 0;
	}
	
.searchword {
		/* highlight input user searched for*/
		font-weight: bold;
		color: #ffe303;
	}
/*End User input Items*/

/* Newletter items only */
.intro_floatright {
	float: right;
	width: 30%;
	border-left: 1px solid #f5f5f5;
	padding: 0 0 0.5em 0.5em;
	margin: 0 0 1em 1em;
	}
	
.newsletter_article {
	clear: both;
	padding: 1em 0;
	}

.newsletter_article h4 {
	background-color: #a59a81;
	color: #281f11;
	}
	
	

.ctteeMember {
	float:left;
	width:30em;
	margin-bottom: 1em;
	}
.ctteeImage, .ctteeDetails {
	float:left;
	}	
	
	
/* Find UBSS */	
#map {
	background-color: #413627;
	float: right;
	}
	
/*Main page*/

#contentLatestNews, #contentPhotos
{
	float:left;
	width: 60%;
	margin: 0em 0.5em 1em 0;
	padding: 0;
	}
	
#contentIrishCaves
{
	float: right;
	width: 35%;
	margin: 0em 0.5em 1em 0;
	padding: 0;
	}

* html #contentLatestNews, * html #contentPhotos { 	/* IE only */	width: 45%; }
* html #contentIrishCaves { 	/* IE only */	width: 25%; }

#extraInfo, #contentIrishCaves, #contentNewsletter, #contentPhotos
{
	/*background-image: url(/images/grad_lightToTransp.gif);
	background-repeat: repeat-x;*/
	}

#extraInfo h2 .cracked, #contentIrishCaves h2 .cracked,
#contentNewsletter h3 .cracked, #contentPhotos h3 .cracked {
	/*dont use cracked bg if we are having an actual background */
	background-image: none;
	}
/*End Main Page*/


.adminPage h1 { /* visual guide you are in admin mode */
	color: orange;
	}
	
/* IE Needy */
#chkProceedingsDB, #chkCoCCDB, #chkSIreDB, #display_as_refs, #display_as_table,
#chkRecr, #chkGeol, #chkArch, #chkBiota, #chkPalEnv, #chkTourism, #chkFolklore,
#chkSearchUBSS, #chkSearchWWW {
	border-width: 0;
	vertical-align: middle;
	background: transparent;
	}
	
.event
.vevent
{
	border: solid 1px  #444;
	margin: 0.8em;
	background-color: #281F11;
	}

.eventTitle{
	font-size: 1.2em;
	font-weight: bold;
	padding: 0.1em;
	background-image: url('/images/NavItem_DarkGrad.gif');
	background-repeat: repeat-x;
	background-position: 0% 0%;
	background-color: #7c6d59;
	display:block;
	}

.eventDate, .eventDetails, .eventLocation, .eventContact, .vevent .url, .eventNonClub{
	padding: 0.3em;
	margin-left: 0;
	display:block;
	}
	
.eventDate{
	font-family: georgia;
	float:right;
	font-size: 0.8em;
	padding-top: 0px;
	margin-top: 0;
	}

	
	
.webArticleImage {
	float:right;
	}
	
.webArticleSummary {
	margin-bottom: .7em;
	}	

.webArticleSummaryTitle {
	font-weight: bold;
	}
	
/*Generic class for pop out blocks of info*/
.explode {
	position : absolute;
	left : 100px;
	top : 100px;
	background : #413627;
	border: 1px solid #a59681;
	width : 400px;
	cursor: move;
	display : none;
	}
/*End generic class for pop out blocks of info*/

.formattingGuideHide {
	text-align:right;
	}

.disabled {
	position:absolute;
	left: -1500em;
	}
	
/*Quote page*/
.quote {
	margin: 0.8em 40px 0.2em 40px;
	background-color: #413627;
	background-image: url('/images/icons/quoteLeft.gif');
	background-repeat: no-repeat;
	background-position: 0 0;
	border: 1px solid #a59681;
	padding: 0.3em;
	}

.quote blockquote {
	margin: 0px 40px 0px 50px;
	padding: 0 30px 20px 0;
	font-style: italic;
	background-image: url('/images/icons/quoteRight.gif');
	background-repeat: no-repeat;
	background-position: 100% 100%;
	padding: 40px 0.3em 0.3em 0.3em;	
	}

.quoteDetails {
	display: block;
	text-align: right;
	font-family: courier;
	}
/*End Quote page*/


/* Accordian styling */
.accordion_toggle {
	display: block;
	width: auto;
	background-image: url('/images/NavItem_LightGrad.gif');
	background-repeat: repeat-x;
	background-position: 0% 100%;
	background-color: #d8d0bf;
	padding: 0 10px 0 10px;
	line-height: 1.6em;
	font-weight: normal;
	text-decoration: none;
	outline: none;
	font-size: 0.8em;
	color: #000000;
	border-bottom: 1px solid #000;
	cursor: pointer;
	}
  
.accordion_toggle_active {
	background-color:  #7c6d59;
	background-image: url('/images/NavItem_DarkGrad.gif');
	background-repeat: repeat-x;
	background-position: 0% 0%;
	color: #ffffff;
	border-bottom: 1px solid #000;
	}
  
.accordion_content {
	/* REQUIRED */
	height: 0px;
	/* REQUIRED */
	background-color: transparent;
	overflow: hidden;
	}
/* End accordian styling */
