/* 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;
	/* rules below needed  for cracked look only*/
	position: relative;
	overflow: hidden;
	}

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

h4, h5 {
	font-weight: bold;
	}

h1 {
	font-size: 2em;
	}

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;
	}

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

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

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

a {
	color: #FFD100; /*#d69d23;*/
	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 */
.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 {
	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 */


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

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

label {
	float: left;
	clear: both;
	vertical-align: top;
	margin: 0.2em 0;
	}

form select {
	width: 25em;
	}

textarea {
	width: 25em;
	}

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

.searchword {
	font-weight: bold;
	color: #ffe303;
	}

.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;
	}

.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;
	}

/* 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;
	}
	
/*group cttee members*/
.x {
	float:left;
	}
	
.ctteemember {
	clear:both;
	}
	
/* Find UBSS */	
#map {
	background-color: #413627;
	float: right;
	}
	
/*Main page*/

#contentNewsletter, #contentPhotos
{
	float:left;
	width: 70%;
	margin: 0em 0.5em 1em 0;
	padding: 0;
	}
	
#contentIrishCaves
{
	float: right;
	width: 25%;
	margin: 0em 0.5em 1em 0;
	padding: 0;
	}

* html #contentNewsletter, * html #contentPhotos { 	/* IE only */	width: 50%; }
* html #contentIrishCaves { 	/* IE only */	width: 15%; }

#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*/

	
/* IE Needy */
#chkProceedingsDB, #chkCoCCDB, #display_as_refs, #display_as_table,
#chkRecr, #chkGeol, #chkArch, #chkBiota, #chkPalEnv, #chkTourism, #chkFolklore,
#chkSearchUBSS, #chkSearchWWW {
	border-width: 0;
	vertical-align: middle;
	background: transparent;
	}