/* Tagien oletustyylit */
/***********************/

* {
	margin: 0;
	padding: 0;
}

html, body {	
	height: 100%;
	font-family:  Tahoma, Verdana, Arial;
	font-size: 13px;
	background: #ff8414;
}

a img {
	border: 0;
}

ul, ol {
	margin: 10px 0;
	line-height: 22px;
}

li {
	list-style-type: none;
}

h1 {
	margin: 0 0 20px 0;
	font-family: "Trebuchet MS",Arial,Verdana;
	font-size: 34px;
	font-weight: normal;
	color: #b50000;
}

h2 {
	margin: 0 0 20px 0;
	font-family: "Trebuchet MS",Arial,Verdana;
	font-size: 21px;
	font-weight: normal;
	color: #666666;
}

h3 {
	margin: 0 0 12px 0;
	font-family: "Trebuchet MS",Arial,Verdana;
	font-size: 18px;
	font-weight: normal;
}

h4 {
	margin: 0 0 10px 0;
	font-family: "Trebuchet MS",Arial,Verdana;
	font-size: 16px;
	font-weight: normal;
}

h5 {
	margin: 0 0 10px 0;
	font-family: "Trebuchet MS",Arial,Verdana;
	font-size: 15px;
	font-weight: normal;
}

p {
	margin-bottom: 12px;
	font-size: 13px;
}

big {
	font-size: 21px;
}

small {
	font-size: 11px;
}

th {
	text-align: left;
}

td {
	text-align: left;
	vertical-align: top;
}

form {
	width: 310px;
}

label {
	
}

select {
	width: 310px;
	margin: 2px 0 10px 0;
	padding: 1px 0 1px 1px;
	border: 1px solid #999;
	font-family: Tahoma, Verdana, Arial;
	font-size: 14px;
	letter-spacing: 1px;
}

input {
	width: 300px;
	margin: 2px 0 10px 0;
	padding: 2px;
	border: 1px solid #999;
	border-bottom: 2px solid #999;
	font-family: Tahoma, Verdana, Arial;
	font-size: 14px;
	letter-spacing: 1px;
}

fieldset {
	margin: 2px 0 10px 0;
	padding: 4px;
	border: 1px solid transparent;
}

fieldset input {
	width: 10px;
	margin: 0 0 0 0;
	padding: 0;
	border: 0;
}

fieldset label {
	margin-right: 6px;
}

/* input:focus {
	border-bottom: 2px solid #D67B19;
} */

textarea {
	width: 300px;
	height: 75px;
	margin: 2px 0 6px 0;
	padding: 2px;
	border: 1px solid #999;
	font-family: Tahoma, Verdana, Arial;
	font-size: 14px;
	letter-spacing: 1px;
}

/* textarea:focus {
	border: 1px solid #D67B19;
} */

button {
	/* float: right; */
	margin-bottom: 10px;
}

a {
	text-decoration: none;
	color: #6666ff;
}

a:hover {
	text-decoration: underline;
}

h1 a {
	color: #b50000;
}

h1 a:hover {
	text-decoration: none;
}

/* container elementtien määrittelyt */
/****************************/

#outerContainer {
	width: 100%;
	height: 100%;
	position: relative;
}

#topContainer {
	width: 100%;
	position: relative;
	background: url("../img/base/background.jpg") fixed;
}

#middleContainer {
	width: 100%;
	position: relative;
	padding-bottom: 15px;
	background: url("../img/base/background.jpg") fixed;
}

#bottomContainer {
	width: 100%;
	height: 230px;
	position: relative;
	background: #ff8414;
	background: url("../img/base/footershadow.png") repeat-x;
	top: -11px;
}

#middleContainer-middle {
	width: 1000px;
	margin-left: auto;
	margin-right: auto;
	min-height: 300px;
	background: url("../img/base/cont-middle.png") repeat-y;
}

#middleContainer-bottom {
	margin-left: auto;
	margin-right: auto;
	width: 1000px;
	height: 30px;
	background: url("../img/base/cont-bottom.png") no-repeat center bottom;
}

/* headerin määrittelyt */
/****************************/

#top-header {
	position: relative;
	width: 1000px;
	height: 138px;
	margin-left: auto;
	margin-right: auto;
	padding-top: 10px;
	background: url("../img/base/cont-top.png") no-repeat center bottom;
}

#logosprite {
	width: 462px; /* Image width. */
	height: 105px;
	margin-left: 45px;
	padding: 0;
    /* position: relative; */
}

#logosprite li {
	margin: 0;
	padding: 0;
	list-style: none;
    /* position: absolute; */
	top: 0;
}

#logosprite li, #logosprite a {
    height: 105px;
	display: block;
}

#logo {
	left: 0; /* Position from [LEFT]*/
	width: 462px; /* Width of this block */
	background: url("../img/base/simodeus-logo.png") 0 0; /* Image tweak from [LEFT TOP] */
}

#logo:hover {
	background-position: 0 -105px; /* Image tweak from [LEFT TOP] */
}

/* footerin määrittelyt */
/****************************/

#footer {
	width: 960px;
	height: 100%;
	position: relative;
	margin-left: auto;
	margin-right: auto;
	padding-top: 30px;
}

#footer h2 {
	display: block;
	width: 340px;
	height:35px;
	margin: 0 0 10px 0;
	padding-top: 2px;
	padding-left: 20px;
	font-size: 26px;
	color: #fff;
	background: url("../img/base/footerH2.gif") no-repeat;
}

#footer h2 a {
	text-decoration: none;
	color: #fff;
}

#footer big {
	margin-left: 20px;
	font-size: 21px;
}

#footer p {
	padding: 5px 0 0 15px;
}

#footer small {
	float: right;
	font-size: 11px;
}

#footer table {
	margin-left: 20px;
}

/* sisällön määrittelyt */
/****************************/

#contents {
	float: right;
	width: 710px;
	margin: 15px 55px 16px 0;
}

#navigation {
	float: left;
	width: 170px;
	margin: 0 0 0 30px ;
}

/* navigaation määrittelyt */
/***************************/

#navi li a {
	display: block;
	padding: 1px 10px;
	margin-bottom: 2px;
	font-size: 12px;
	font-weight: bold;
	/* letter-spacing: .5px; */
	color: #fff;
	background: #ff8414;
}

#navi li a:hover {
	text-decoration: none;
	background: #d97211;
}

#navi li a.selected {
	background: #9b8e00;
}

#navi li ul {
	margin: 0;
}

#navi li li a {
	margin: 0 0 0 10px;
	padding: 0;
	color: #6666ff;
	background: #fff;
}

#navi li li a:hover {
	text-decoration: underline;
	background: #fff;
}

#navi li li a.selected {
	color: #9b8e00;
	background: #fff;
}

/* frontpage */
/****************************/

#etusivu {
	position: relative;
}

/* #social-buttons {
	width: 174px;
	height: 36px;
	margin: 0;
	padding: 0;
    position: relative;
}

#social-buttons li {
	margin: 0;
	padding: 0;
	list-style: none;
    position: absolute;
	top: 0;
}

#social-buttons li, #social-buttons a {
    height: 36px;
	display: block;
}

#social-facebook {
	left: 0;
	width: 24px;
	background: url("../img/base/socialsprite.png") 0 0;
}

#social-gce {
	left: 29px;
	width: 24px;
	background: url("../img/base/socialsprite.png") -29px 0;
}

#social-skype {
	left: 58px;
	width: 24px;
	background: url("../img/base/socialsprite.png") -58px 0;
}

#social-email {
	left: 87px;
	width: 24px;
	background: url("../img/base/socialsprite.png") -87px 0;
}

#social-facebook:hover {
	background-position: 0 -5px;
}

#social-gce:hover {
	background-position: -29px -5px;
}

#social-skype:hover {
	background-position: -58px -5px;
}

#social-email:hover {
	background-position: -87px -5px;
} */

/* #press-that-button {
	float: right;
	margin-right: 20px;
}

#press-that-button a {
	display: block;
	width: 96px;
	height: 91px;
	background: url("../img/base/buttonsprite.png") 0 0;
}

#press-that-button a:hover {
	background-position: 0 -91px;
}

#press-that-button a:active {
	background-position: 0 -182px;
} */

/* teemaillat */
/****************************/

.kuvarivi {
	clear: both;
}

.kuvarivi img {
	margin-bottom: 10px;
}

.kuvarivi h3 {
	margin-bottom: 2px;
}

.kuvarivi a {
	
}

.kuvaruutu {
	float: left;
	width: 130px;
	margin-right: 45px;
}

.latausruutu {
	float: left;
	width: 180px;
	margin-right: 45px;
}

/* keikkakalenteri */
/****************************/

#keikkakalenteri td {
	padding: 8px 8px 5px 14px;
}

#keikkakalenteri .oddrow {
	background: #ffe6d0;
}

/* luokkamäärittelyt */
/****************************/


a.lataa-pdf {
	display: block;
	background-image: url(../img/pages/pdf.png);
	background-color: #9999ff;
	background-repeat: no-repeat;
	background-position: 4px 2px;
	padding: 8px 10px 10px 40px; 
	width: 150px;
	height: 16px;
	font-size: 16px;
	color: white;
}

.teemailtakuva {
	float: right;
	padding: 0 0 25px 25px;
}

.alaviiva {
	margin: 5px 0;
	border-bottom: 1px solid #000;
}

.alaviiva-teemat {
	margin: 25px 0;
	border-bottom: 1px solid #666;
}

.ingressi {
	font-size: 16px;
	font-weight: normal;
	margin: 0 0 25px 0;
}

.center {
	margin-left: auto;
	margin-right: auto;
}

.middle {
	vertical-align: middle;
}

.uppercase {
	font-size: 13px;
	font-weight: bold;
	text-transform: uppercase;
	color: #212121;
}

.error_msg {
	display: block;
	font-size: 11px;
	color: red;
	font-weight: bold;
	padding: 2px 0px;
	padding-left: 22px;
	background: url("../img/base/exclamation.png") no-repeat top left;
}

.tooltip {
	width: 250px;
}

.visible {
	visibility: visible !important;
}
