@import url(generic.css);

BODY {
	background: #f2f2f2;
	font-family: helvetica, arial, sans-serif;
	font-size: 100%;
	color: #676767;
}

A {
	color: #009ee0;
	text-decoration: none;
}

P {
	margin: 1em 0;
}

H1, H2, H3, H4, H5, H6 {
	color: #009ee0;
	margin: 1em 0;
}

#document {
	width: 882px;
	margin: 0 auto;
	font-size: .75em;
}

#header {
	clear: both;
	margin-top: 4em;
	padding-left: 15px;
}

	#logo {
		float: right;
		margin: 0 34px;
	}
	
	#slogan {
		font-size: 3em;
		font-weight: normal;
		margin: 0 0 .5em 0;
	}
		
	#nav-main LI {
		float: left;
		margin-right: 3px;
	}
	
	#nav-main LI A {
		display: block;
		width: 91px;
		padding-top: 2px;
		height: 24px;
		line-height: 24px;
		text-align: center;
		background: #0098d7 url(../aiti-img/nav-bg.png) top left no-repeat;
		color: #fff;
		font-size: .85em;
		font-weight: bold;
	}
	
	#nav-main LI A:hover,
	#nav-main LI.open A {
		background: url(../aiti-img/nav-bg-selected.png) top left no-repeat;
	}
	
#content {
	clear: both;
	background: url(../aiti-img/content-bg.png) right repeat-y;
	overflow: hidden;
}

.column {
	float: left;
}

#main {
	width: 450px;
	background: #fff;
	padding: 2em 18px 0 26px;
}

	#main H2 {
		margin-top: 0;
		font-size: 1.6em;
	}

	#main H3 {
		font-size: 1.2em;
	}

	#news {
		max-height: 450px;
		overflow: auto;
		margin-top: 1em;
		margin-right: -18px;
		padding-right: 1em;
	}
	
	#news LI {
		background: url(../aiti-img/dot-small.png) top repeat-x;
		padding: 1em 0;
	}

	#news LI .date {
		font-weight: bold;
		text-transform: uppercase;
		margin-top: 1em;
	}
	
	#news LI H2 {
		font-weight: normal;
		font-size: 1.2em;
	}
	
	#media-choice,
	#stories {
		line-height: 1.5em;
		font-size: 1.2em;
		font-weight: bold;
		margin: 2em 0;
	}
	
	#media-content {
		margin: 2em -20px 2em 0;
	}
	
	#media-content LI {
		border: 1px solid #d8d8d8;
		margin: 0 10px 10px 0;
		padding: 6px;
		float: left;
		height: 120px;
		width: 100px;
	}

	#media-content LI IMG {
		margin: 0 auto;
		display: block;
	}
	
	#media-content .size {
		font-weight: bold;
		margin-top: 6px;
		color: #aaa;
		text-align: center;
	}
	
	#media-choice A.selected,
	#stories A.selected {
		font-weight: bold;
	}
	
	#story H2 {
		background: url(../aiti-img/dot-big.png) top repeat-x;
		padding-top: 1.5em;
		margin-top: 1.5em;
	}
	
	#story IMG {
		float: right;
		border: 4px solid #ddd;
		margin: 0 0 1em 1em;
	}
	
	#main H3.placeholder {
		color: #ccc;
		font-size: 2em;
		text-align: center;
		margin-top: 2em;
		font-weight: normal;
	}
	
	#ecard-form .autoclear {
		display: block;
		float: left;
		width: 175px;
		margin: 0 4px 4px 0;
	}

	#ecard-form FIELDSET {
		display: block;
		clear: both;
		overflow: hidden;
		margin-bottom: 2em;
	}

	#ecard-form .subscribe {
		padding-left: 20px;
	}

	#ecard-form .subscribe INPUT {
		margin: 0 0 0 -20px;
		float: left;
		display: block;
	}
	
	#ecard-form .submit {
		float: right;
		display: block;
		margin: 0 0 1em 2em;
	}
	
	#ecard-form .preview {
		clear: both;
		border: 1px solid #e0e0e0;
		padding: 10px;
		margin: 2em 1em;
		font-size: 1.1em;
		color: #222;
 		position: relative;
 		background: #fefce6 url(../aiti-img/letter-bg.png) top right no-repeat;
 		font-family: monaco, andale mono, monospace;
 		font-size: 1.2em;
 		-webkit-transform: rotate(-1deg);
 		-webkit-box-shadow: rgba(0, 0, 0, .3) .2em .2em 2em;
	}
	
		#ecard-form .preview .header {
			line-height: 1.8em;
			border-bottom: 1px solid #e0e0e0;
			margin-right: 60px;
		}
	
		#ecard-form .preview .body {
			line-height: 1.4em;
			padding-top: 1em;
		}

		#ecard-form .preview .signature {
			padding-bottom: 2em;
		}
	
		#ecard-form .preview .header .value {
			font-weight: bold;
		}
	
		#ecard-form .preview .wait {
			display: none;
			position: absolute;
			top: 50px;
			left: 190px;
		}
	
		#ecard-form .preview .status {
			text-align: center;
			position: absolute;
			top: 50px;
			left: 0;
			width: 430px;
			font-family: sans-serif;
		}
	
			#ecard-form .preview .status DIV DIV {
				font-size: 1.8em;
				color: #777;
			}
		
			#ecard-form .preview .status .ok,
			#ecard-form .preview .status .error {
				display: none;
			}
		
			#ecard-form .preview .status .error {
				color: red;
			}
		
			#ecard-form .preview .status .again {
				line-height: 2em;
				font-size: 1.2em;
			}
			
	.autoclear-on {
		color: #aaa;
	}
	
	#aiti-miksi .flowplayer {
		display: none;
		margin-bottom: 1em;
	}
	
	#aiti-miksi #main H3 {
		cursor: pointer;
		margin-top: 2em;
	}

	#aiti-miksi #main H3:hover {
		opacity: .8;
	}
		
#sidebar {
	background: none;
	width: 369px;
	padding: 0 4px;
	margin-left: 11px;
	overflow: hidden;
}

	#sidebar .section {
		background: #fff url(../aiti-img/vertical-gradient-blue.png) bottom repeat-x;
		overflow: hidden;
	}

	#sidebar .section .section {
		background: none;
	}

	#sidebar .section .section A {
		display: block;
	}

	#sidebar .section .lower {
		background: url(../aiti-img/dot-big.png) top repeat-x;
		padding-top: 1em;
		margin-top: 1em;
	}

	#sidebar H3 {
		font-size: 2em;
		font-weight: normal;
	}
	
	#sidebar .section-join {
		background-position: center top;
		background-color: #d5e9f3;
	}

	#sidebar .section-join .inner {
		padding: 20px 25px 10px 25px;
		background: url(../aiti-img/dot-big.png) repeat-x;
	}

	#sidebar .section-join .counter {
		color: #009ee0;
		font-size: 1.4em;
		line-height: 1.5em;
		margin-top: .2em;
	}

	#sidebar .section-join .counter .digits {
		line-height: 22px;
		color: #fff;
		font-family: monospace;
		margin-left: .7em;
		margin-right: -.3em;
	}

	#sidebar .section-join .counter .digits SPAN {
		background: url(../aiti-img/counter-digit-bg.png) no-repeat;
		width: 22px;
		display: inline-block;
		text-align: center;
		margin-left: -.6em;
	}
	
	#join-container {
		min-height: 7em;
	}
	
	#join {
		overflow: hidden;
		position: relative;
	}
	
		#join FIELDSET * {
			float: left;
			display: block;
		}
		
		#join .text,
		#ecard-form .autoclear,
		#join-more .autoclear {
			width: 182px;
			height: 17px;
			background: url(../aiti-img/text-input-bg.png) no-repeat;
			border: 0;
			padding: 4px 6px;
			margin-left: 4px;
		}
		
		#join-container .msg {
			font-size: 1.5em;
		}
		
		#join-more {
			overflow: hidden;
		}
		
		#join-more .text,
		#join-more .submit,
		#join-more TEXTAREA {
			display: block;
			margin: 0 0 1em 0;
		}
		
		#join-more .firstname {
			margin-top: 1em;
		}
		
		#join-more LABEL {
			margin-right: 2em;
		}
	
	#sidebar .section-join .privacy {
		clear: both;
		float: none;
		font-size: .8em;
		padding-top: 1.5em;
		margin-top: 0;
	}
	
	#sidebar .section-actions {
		padding: 0 10px;
	}

	#sidebar .section-actions H3 {
		text-align: center;
		background: url(../aiti-img/dot-big.png) bottom repeat-x;
		padding-bottom: .5em;
		margin-bottom: .65em;
	}

	#sidebar .section-actions A:hover {
		opacity: .8;
	}

	#sidebar .section-actions .inner {
		padding: 0 2px;
		background: url(../aiti-img/dot-big.png) repeat-x;
		overflow: hidden;
	}

	#sidebar .section-actions .column-left {
		width: 178px;
	}

	#sidebar .section-actions .column-right {
		width: 152px;
		margin-left: 14px;
	}
	
	#sidebar .section-actions .action {
		display: block;
		height: 31px;
		line-height: 31px;
		margin-bottom: 6px;
		padding: 2px 14px 0 14px;
		background: url(../aiti-img/blue-rect-bg.png) no-repeat;
		color: #fff;
		font-size: .9em;
	}
		
	#send-e-card {
		background: url(../aiti-img/laheta-e-kortti.png) top left no-repeat;
		width: 179px;
		height: 101px;
		margin-bottom: 10px;
		padding-top: 50px;
	}

		.select {
			position: relative;
			width: 125px;
			height: 36px;
			line-height: 36px;
			margin: 0 auto;
			background: url(../aiti-img/select-bg.png) no-repeat;
			cursor: pointer;
			padding: 2px 26px 0 10px;
			font-size: .9em;
		}
		
		.select .current {
			overflow: hidden;
			height: 36px;
			width: 126px;
		}
		
		.select .value {
			width: 500px;
			color: #009ddf;
			font-weight: bold;
		}
		
		.select .options {
			display: none;
			position: absolute;
			top: 32px;
			left: 2px;
			width: 151px;
			background: #fff;
			border: 2px solid #009ee0;
			margin: 0;
			box-shadow: rgba(0, 0, 0, .75) .25em .25em 1.5em;
			border-radius: .2em;
			-webkit-box-shadow: rgba(0, 0, 0, .75) .25em .25em 1.5em;
			-webkit-border-radius: .5em;
			-moz-border-radius: .2em;
		}

		.select .options LI {
			margin: 0;
			padding: 0;
			line-height: 1.2em;
		}

		.select .options A {
			display: block;
			padding: .5em;
			margin: 0;
			cursor: pointer;
			font-weight: bold;
		}

		.select .options .selected A,
		.select .options A:hover {
			background: #005590;
			color: #fff;
		}
		
	#sidebar .facebook {
		margin: 10px 0;
		display: block;
	}
	
	#donate * {
		text-align: left;
		font-weight: normal;
		line-height: 1.6em;
	}

	#donate LABEL {
		cursor: pointer;
	}

	#donate H2 {
		margin: 2em 0 .5em 0;
	}
	
	#donate .submit {
		margin-top: 1em;
	}
	

#footer {
	font-size: .8em;
	font-weight: bold;
	color: #676767;
	padding: 0 1em;
	overflow: hidden;
	clear: both;
	background: #fff;
}

	#footer .inner {
		background: url(../aiti-img/dot-big.png) repeat-x;
		padding: 3em;
		overflow: hidden;
	}

	#footer A {
		color: #676767;
	}
	
	#footer .address {
		width: 25%;
	}
	
	#footer .contact {
		width: 25%;
	}
	
	#footer .legal {
		float: right;
		width: 35%;
		text-align: right;
	}
	