/* CSS layout */
/* @charset "utf-8"; */



body {
	font: 100% Verdana, Arial, Helvetica, sans-serif;
color: #DCDCDC;
line-height: 1.35em;
	background: url('../images/background.jpg') top left;
	background-position: fixed;
	/*
	background:url(your-image.jpg) top right no-repeat; 
	background-position:fixed;
	*/

	margin: 0;
/* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */	
padding: 0;
	text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */;
}

a:link {color: #FFFFFF; text-decoration: underline; }
a:active {color: #FFFFFF; text-decoration: underline; }
a:visited {color: #FFFFFF; text-decoration: underline; }
a:hover {color: #f29b3e; text-decoration: underline; }



#container {
/* Kaikki sisältö tulee tämän divin sisään: rajaa minkä verran ruututilaa käytetään */

	width: 1000px;  /* Bannerin + navigointipalkin mittojen mukaan */
	margin: 0 auto; /* the auto margins (in conjunction with a width) center the page */
	margin-top: 2em;
	margin-bottom: 5em;
	text-align: justify; /* this overrides the text-align: center on the body element. */

}



#masthead {
/* Banneripalkki */
	height: 300px; /* Bannerin mittojen mukaan */
	padding: 0px;
	margin: 0px;
	
	background-image: url('../images/cattiwala_banner.png');

}

#masthead h4 {
	letter-spacing: 0.3em;
	font-weight:bolder;
	
	padding-left: 150px;
	padding-top: 250px;
	
	
}

#top_nav {
/* Bannerin alapuolella oleva palkki */ 
	height: 34px;



	padding: 0px;
	padding-left: 5em;
	margin: 0px;
	
	background-image: url('../images/navi_bar.png');
	
	border-left: 1px #7D7D7D solid;
	border-right: 1px #7D7D7D solid;

}

#naviButton {
	/* Navigointipalkin sisällä olevat yksittäiset painikkeet */

	font: 70% Verdana, Arial, Helvetica, sans-serif;


	float:left; /* Asetetaan painikkeet seuraamaan toisiaan vaakasuunnassa*/

	line-height: 34px; /* Keskitetään teksti pystysuunnassa */
	text-align: center;
	width: 93px;
	height: 34px;
	
	letter-spacing: 0.08em;
	
	padding: 0px;
	margin: 0px;
	background-image: url('../images/navi_button.png');
}

/* Linkkien tekstien värikoodit. Muuten samat määrittelyt kuin bodyssa, mutta underline poistettu*/
#naviButton a:link {color: #FBFBFB; text-decoration: none; }
#naviButton a:active {color: #FFFFFF; text-decoration: none; }
#naviButton a:visited {color: #FBFBFB; text-decoration: none; }
#naviButton a:hover {color: #f29b3e; text-decoration: none; }


#standard_content {
	/* Tekstisisältö tulee tänne kaikilla muilla paitsi etusivulla*/

	opacity:0.85;
/*	filter:alpha(opacity=90); */
	

	padding-top:1.5em;
	padding-bottom: 25px;

	
	margin: 0px;
	background-color: #494949;
	
	border-left: 1px #7D7D7D solid;
	border-right: 1px #7D7D7D solid;
	padding-left: 100px;
	padding-right: 100px;
}



#page_content {
	/* Tekstisisältö tulee tänne*/

	opacity:0.85;
/*	filter:alpha(opacity=90); */
	
	
	margin: 0px;
	background-color: #494949;
	
	border-left: 1px #7D7D7D solid;
	border-right: 1px #7D7D7D solid;
	

}

/* page_content on jaettu kahteen sarakkeeseen, rightColumn ja leftColumn*/

#rightColumn {
	width: 325px; /* Täytyy olla sama kuin leftColumnin margin-right */
	float: right;


}



#newsBox {
padding-left: 15px;
/*	border: 1px #7D7D7D solid; */
		padding-right: 5em;
}

#newsBox p.miniHeader {
	font-weight: bold;
}

#newsBox p {
	font: 70% Verdana, Arial, Helvetica, sans-serif;
}

#leftColumn {

	padding-left: 5em;
	padding-right: 45px; /* määrittää kuinka kaukana tekstin oikea reuna on sivupalkista */
	
	padding-top:1.5em;
	padding-bottom: 25px;

	margin-right: 325px; /* Täytyy olla sama kuin rightColumnin width */

}




/* Sisennetään tekstikappaleita kevyesti otsikkoihin verrattuna*/
#leftColumn p {
	padding-left: 1em;
}

/* Kasvatetaan pääotsikon kirjainväliä */
#page_content h2 {
	letter-spacing: 0.1em;
}

/* Sama väliotsikoille, lisätään myös yläpuolelle tyhjää tilaa*/

#page_content h4 {
	letter-spacing: 0.1em;
	padding-top: 1.5em;
}


#footer {
clear: both; 
	background-image: url('../images/footer_paw.png');
	height: 124px;
	margin: 0px;
	padding: 0px;

	padding-left: 6em;
		opacity:0.82;
/*	filter:alpha(opacity=92); */

}

#footer p.copyright {
	color: #494949;
	font: 70% Verdana, Arial, Helvetica, sans-serif;
	text-align: left;
	padding-top: 15px;
	margin:0px;
	font-style:italic;
	line-height:1.8em;
	float:left;
}

#footer p.names {
	color: #494949;
	font: 70% Verdana, Arial, Helvetica, sans-serif;
	text-align: left;
	padding-top: 8px;
	padding-left: 12px;
	
	margin:0px;
		font-style:italic;
}

/* Galleriakuvien asettelu */

img.galleryPic {

border:1px white solid;
margin: 25px;

}


img.galleryPic:hover {
	
border:1px orange solid;	
}


/* Sisältötaulukot */

table {
	border-collapse: collapse;
	margin-left:2em;
	margin-bottom: 25px;
	width: 100%;
/*	border-style:solid;*/
/*	border-width: 1px; */
}

th {
	padding: 0 10px 10px 10px;
	border-bottom: 1px dotted #888888;
	text-align: left; /* IE:tä varten, jotta teksti ei tasaudu keskelle */
}
td {
	vertical-align:top;
	padding-top: 15px;	
	padding-bottom: 4px;
	padding-left: 10px;
	padding-right:10px;
	

	border-bottom: 1px #888888 dotted;
}

td.caption {

	padding-top: 15px;	
	padding-bottom: 15px;

}

tbody tr:hover td
{
	color: #FFFFFF;
}

td.show {
	
	width: 4em;
	padding-left: 5px;
	padding-right:0px;

}

td.remove {
	
	width: 4em;
	padding-left: 5px;
	padding-right:0px;

}



/* Lähettämislomakkeet */

form {
	padding-left:2em;

}

label{
	float: left;
	width: 120px;
	/* font-weight: bold; */
}

input, textarea, select{
	margin-bottom:5px;
		width: 250px;
}
/*
select {
	width: 250px;
	margin-bottom:5px;
}
*/

textarea{
	width: 250px;
	height: 100px;
}

.boxes{
	width: 1em;
}

#submitbutton{
	margin-left: 120px;
	margin-top: 5px;
	width: 90px;
}

br{
	clear: left;
}

/* Popup-kuvat */

.popuppic{
	position: relative;
	z-index: 0;
}

.popuppic:hover{
	background-color: transparent;
	z-index: 50;
}

.popuppic span{ /*CSS for enlarged image*/
	position: absolute;
	/* background-color: #e7eefc; */
	/* background-color: white; */
	/* padding: 5px; */
	top: -450px;
	left: -1000px;
	border: 1px solid black;
	visibility: hidden; 
	color: black;
	text-decoration: none;
}

.popuppic span img{ /*CSS for enlarged image*/
	border-width: 0;
	border: 0px solid black;
	/* padding: 2px; */
}

.popuppic:hover span { /*CSS for enlarged image on hover*/
	visibility: visible;
	top: -50px;
	left: -130px; /*position where enlarged image should offset horizontally */
	text-align:right;

}



