/*--------------------- CSS RESET  ---------------------------------------------*/
html, body, div, span, object, h1, h2, h3, h4, h5, h6, p, 
blockquote, a, address, cite, em, font, img, 
strong, dl, dt, dd, ol, ul, li,
fieldset, form, label, hr {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
}

ol, ul {
	list-style: none;
}

:focus {
	outline: 0;
}

a {
	text-decoration: none;
}

p { 
	margin-bottom: 0.7em;
}


@media screen {
	a.nakymaton:link, a.nakymaton:visited, a.nakymaton:hover { display: none;}
}

/*--------------------- CLEARFIX  ---------------------------------------------*/

/* For modern browsers */
.cf:before,
.cf:after {
    content:"";
    display:table;
}

.cf:after {
    clear:both;
}

/* For IE 6/7 (trigger hasLayout) */
.cf {
    zoom:1;
}

/*--------------------- PAGE STRUCTURE  ---------------------------------------------*/

.preload * {
  -webkit-transition: none !important;
  -moz-transition: none !important;
  -ms-transition: none !important;
  -o-transition: none !important;
}

html {
	overflow-y: scroll;
}

body {
	text-align: center;
	background: url(../img/body-bgr.jpg) 0px 671px;
	font: 18px 'OldNewspaperTypesRegular', Georgia, "Lucida Grande", "Bookman Old Style", "Book Antiqua", Constantia, "Lucida Bright", Lucidabright, Lucida, serif;
	color #000;
}

body:before {
	content: "";
	position: fixed;
	top: -8px;
	left: 0;
	width: 100%;
	height: 8px;
	z-index: 100;
	-webkit-box-shadow: 0px 0px 12px rgba(0,0,0,.9);
	-moz-box-shadow: 0px 0px 12px rgba(0,0,0,.9);
	box-shadow: 0px 0px 12px rgba(0,0,0,.9);
}

#header {
	height: 182px;
	position:relative;
	background: url(../img/header-bgr.png) repeat-x 0px 0px;
	z-index: 1;
}

#header .main-content h1 {
	position: absolute;
	top: 23px;
	left: 45px;
	text-indent: -9999px;
	background: url(../img/header-H1-bgr.png) no-repeat;
	width: 594px;
	height: 151px;
}

#english #header .main-content h1 {
	background: url(../img/header-H1-bgr-eng.png) no-repeat;
}

.main-content {
	width: 980px;
	margin-right: auto;
	margin-left: auto;
	text-align: left;
	position: relative;
	z-index: 4;
}

.content {
	background: url(none);
} 

.aside { 
	background: url(none);
	position: relative;
} 

#main-nav, .sub-nav  {
	text-align: center;
	width: 650px;
	position: absolute;
	left: 9px;
	top: 18px;
	background: url(../img/nav-bgr.jpg);
	-moz-border-radius: 1px;
	-webkit-border-radius: 1px;
	border-radius: 1px;
	-moz-box-shadow: 4px 4px 5px rgba(0,0,0,0.4);
	-webkit-box-shadow: 4px 4px 5px rgba(0,0,0,0.4);
	box-shadow: 4px 4px 5px rgba(0,0,0,0.4);
}

.sub-nav {
	clear: both;
	width: 100%;
	position: static;
	margin-top: 15px;
	-moz-box-shadow: 2px 2px 3px rgba(0,0,0,0.4);
	-webkit-box-shadow: 2px 2px 3px rgba(0,0,0,0.4);
	box-shadow: 2px 2px 3px rgba(0,0,0,0.4);
}

#main-nav li, .sub-nav li  {
	display: inline;
	line-height: 47px;
	padding-right: 25px;
}

#main-nav li:last-child, .sub-nav li:last-child  {
	padding-right: 0px;
}

.box  {
	width: 220px;
	float: left;	
	background: url(../img/box-bgr.jpg);
	line-height: 22px;
	font-size: 16px;
	-moz-border-radius: 1px;
	-webkit-border-radius: 1px;
	border-radius: 1px;
	-moz-box-shadow: 4px 4px 5px rgba(0,0,0,0.4);
	-webkit-box-shadow: 4px 4px 5px rgba(0,0,0,0.4);
	box-shadow: 4px 4px 5px rgba(0,0,0,0.4);
} 

#hide {
	position: absolute;
    left: -9999px;
	top: -9999px;
}

#nayttelyt, #laituri-info {
	background: url(../img/body-bgr.jpg);
	font-size: 17px;
	text-align: left;
	padding: 15px;
	margin-right: 20px;
	margin-left: 20px;
	max-width: 800px;
}

#nayttelyt ul#nayttelylista li {
	text-align: left;
	margin-bottom: 15px;
	margin-left: 10px;
	display: block;
	background: url(../img/list-bullet.png) no-repeat 0px 3px;
	padding-left: 20px;
}

#sos-med-nav {
	width: 75px;
	height: 27px;
	float: left;
	margin-top: 9px;
	margin-left: 24px;
	text-indent: -9999px;
}

#sos-med-nav li {
	height: 26px;
	width: 26px;
	margin-right: 4px;
	background: url(../img/so-med-bgr.png) no-repeat;
	float: left;
}

#sos-med-nav li:hover {
	-webkit-transform: rotate(5deg);
	-o-transform: rotate(5deg);
	-moz-transform: rotate(5deg);
	-ms-transform: rotate(5deg);
	transform: rotate(5deg);
}

#sos-med-nav li.fb {
	background-position: 0 0;	
}

#sos-med-nav li.youtube {
	background-position: -28px 0;	
}

#sos-med-nav li a {
	height: 26px;
	width: 26px;
	display: block;
	text-indent: -9999px;
}

/*--------------------- #ALKU  ---------------------------------------------*/

#alku {
	background: url(../img/lauta-bgr.jpg);
	margin-top: -13px;
	padding-bottom: 27px;
} 

#alku .content, #maitolaiturimuseo .content  {
	width: 608px;
	border: 4px solid #6b7204;
	float: left;
	margin-left: 25px;
	background: url(../img/content-bgr.jpg);
	margin-top: 83px;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	border-radius: 2px;
	-moz-box-shadow: 4px 4px 5px rgba(0,0,0,0.4);
	-webkit-box-shadow: 4px 4px 5px rgba(0,0,0,0.4);
	box-shadow: 4px 4px 5px rgba(0,0,0,0.4);
} 

#english #alku .content {
	padding-bottom: 15px;
	
} 

#alku .aside {
	float: right;
	width: 295px;
	z-index: 2;
	margin-right: 14px;
	margin-top: -158px;
} 

#alku .aside img {
	position: absolute;
	left: 3px;
	top: 0px;	
}

#alku img.kannu {
	margin-top: -35px;
	margin-left: 34px;	
}

#paikka-info {
	margin-top: 242px;
	margin-left: 24px;
	padding-top: 15px;	
	padding-bottom: 15px;
} 

/*--------------------- #AJANKOHTAISTA  ---------------------------------------------*/

#ajankohtaista {
	background: url(../img/ajankohtaista-bgr.png) repeat-x 0px 0px;
	margin-top: -23px;
} 

#ajankohtaista .content {
	width: 450px;
	float: left;
	margin-left: 25px;
	margin-top: 35px;
} 

#ajankohtaista .aside {
	float: right;
	width: 460px;
	margin-right: 0px;
	margin-top: 35px;
} 

#nayttely-info {
	margin-top: 380px;
	margin-left: 190px;
	margin-bottom: 30px;
	padding-bottom: 15px;
	padding-top: 15px;
	-moz-box-shadow: 1px 1px 3px rgba(0,0,0,0.4);
	-webkit-box-shadow: 1px 1px 3px rgba(0,0,0,0.4);
	box-shadow: 1px 1px 3px rgba(0,0,0,0.4);
} 

#ajankohtaista img, #yhteys img {
	position: absolute;
	left: -7px;
	top: 23px;
	background: #FFF;
	padding: 4px;
	-moz-border-radius: 1px;
	-webkit-border-radius: 1px;
	border-radius: 1px;
	-moz-box-shadow: 1px 1px 2px rgba(0,0,0,0.6);
	-webkit-box-shadow: 1px 1px 2px rgba(0,0,0,0.6);
	box-shadow: 1px 1px 2px rgba(0,0,0,0.6);
	-webkit-transform: rotate(-2deg) ;
    -moz-transform: rotate(-2deg) ;
    -o-transform: rotate(-2deg) ;
     transform: rotate(-2deg) ;
} 

xx#ajankohtaista img {
	position: absolute;
	right: 80px;
	top: 35px;
} 

/*--------------------- #MAITOLAITURIMUSEO  ---------------------------------------------*/

#maitolaiturimuseo { 
	background: url(../img/lauta-bgr.jpg);
} 

#maitolaiturimuseo .content  {
	margin-top: 25px;
	margin-bottom: 20px;
} 

#maitolaiturimuseo .aside  {
	width: 295px;
	float: right;
} 

#maitolaituri-info { 
	margin-top: 26px;
	margin-left: 12px;
	padding-bottom: 15px;
	padding-top: 15px;
	line-height: 19px;
} 

#maitolaiturimuseo .aside img {
	margin-top: -19px;
	margin-left: 143px;
} 

#maitolaiturimuseo .content ul {
	text-align: center;
	margin: 18px 13px 16px;
	padding: 0px;
}

#maitolaiturimuseo .content ul li {
	display: inline;
	margin: 5px 7px 5px 0px;
} 

/*--------------------- #KUVAGALLERIA  ---------------------------------------------*/

#kuvagalleria ul {
	padding-left: 80px;
	position:relative;
	margin-bottom: 18px;
}

#kuvagalleria ul li {
	position:relative;
	float: left;
	margin-right: 9px;
	margin-bottom: 8px;
} 

#kuvagalleria li.vuosiluku {
	position: absolute;
	left: 1px;
	top: -1px;
	color: #8c1308;
	font-size: 24px;
	float:none;
	font-weight: bold;
}

#kuvagalleria ul li:nth-child(3n+3) {
	-webkit-transform: rotate(2deg);
    -moz-transform: rotate(2deg);
    -o-transform: rotate(2deg);
    transform: rotate(2deg);
} 

#kuvagalleria ul li:nth-child(7) {
	-webkit-transform: rotate(-1deg);
    -moz-transform: rotate(-1deg);
    -o-transform: rotate(-1deg);
    transform: rotate(-1deg);
} 

#kuvagalleria ul li:nth-child(3n+3):hover, #kuvagalleria ul li:nth-child(7):hover {
	-webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
	-moz-transition: all 0.2s linear;
	-webkit-transition: all 0.2s linear;
	-0-transition: all 0.2s linear;
	transition: all 0.2s linear;
} 

#kuvagalleria ul li img, #maitolaiturimuseo .content ul img {
	background: #FFF;
	padding: 4px;
	-moz-border-radius: 1px;
	-webkit-border-radius: 1px;
	border-radius: 1px;
	-moz-box-shadow: 1px 1px 2px rgba(0,0,0,0.3);
	-webkit-box-shadow: 1px 1px 2px rgba(0,0,0,0.3);
	box-shadow: 1px 1px 2px rgba(0,0,0,0.3);
} 

#kuvagalleria ul li img:hover, #maitolaiturimuseo .content ul img:hover  {
	-moz-box-shadow: 1px 2px 4px rgba(0,0,0,0.7);
	-webkit-box-shadow: 1px 2px 4px rgba(0,0,0,0.7);
	box-shadow: 1px 2px 4px rgba(0,0,0,0.7);
	-moz-transition: all 0.2s linear;
	-webkit-transition: all 0.2s linear;
	-0-transition: all 0.2s linear;
	transition: all 0.2s linear;
} 

xx#kuvagalleria ul li span {
	position:absolute;
	display: block;
	left: -4px;
	top: -6px;
	height: 126px;
	width: 180px;
	background: url(../img/kuvaraami.png) no-repeat;
} 

/*--------------------- #FOOTER  ---------------------------------------------*/

#footer {
	margin-top: 58px;
	background: url(../img/lauta-bgr.jpg);
} 

#footer hr {
	background: url(../img/hr-bgr.jpg) repeat-x;
	height: 58px;
	-moz-box-shadow: 2px 2px 3px rgba(0,0,0,0.4);
	-webkit-box-shadow: 2px 2px 3px rgba(0,0,0,0.4);
	box-shadow: 2px 2px 3px rgba(0,0,0,0.4);
}

#footer .main-content {
	margin-top: 25px;
}

#footer .main-content h2 {
	background: url(../img/footer-h2-bgr.png) no-repeat;
	height: 104px;
	width: 486px;
	position: absolute;
	left: 308px;
	top: -125px;
	text-indent: -9999px;
}

#english #footer .main-content h2 {
	background: url(../img/footer-h2-bgr-eng.png);
}

#footer .box  {
	width: 222px;
} 

#footer .box:hover, #footer #palaute:hover   {
	-moz-box-shadow: 4px 4px 7px rgba(0,0,0,0.8);
	-webkit-box-shadow: 4px 4px 7px rgba(0,0,0,0.8);
	box-shadow: 4px 4px 15px rgba(0,0,0,0.9);
} 

#footer .box p, #footer .box ul  {
	padding: 15px 15px 10px;
} 

#footer #sivusto ul  {
	padding: 15px 15px 15px;
}

#sivusto-wrap {
	float: left;
	width: 222px;
	margin-left: 0px;
} 

#facebook {
	margin-top: 20px;
	-webkit-transform: rotate(1deg);
    -moz-transform: rotate(1deg);
    -o-transform: rotate(1deg);
    transform: rotate(1deg);
} 

#web-design {
	margin-top: 20px;
	width: 222px;
	font-size: 15px;
	text-align: center;
} 

#paikka-aukiolo { 
	margin-left: 27px;
	margin-bottom: 20px;
	padding-bottom: 20px;
} 

#yhteys { 
	margin-left: 27px;
} 

#yhteys img {
	position: static;
	margin-top: -33px;
	margin-bottom: -7px;
	margin-left: 40px;
	-moz-box-shadow: 1px 2px 3px rgba(0,0,0,0.4);
	-webkit-box-shadow: 1px 2px 3px rgba(0,0,0,0.4);
	box-shadow: 1px 2px 3px rgba(0,0,0,0.4);
	-webkit-transform: rotate(2deg);
	-moz-transform: rotate(2deg);
	-o-transform: rotate(2deg);
	transform: rotate(2deg);
} 

#palaute {
	margin-left: 27px;
	margin-bottom: 15px;
	width: 222px;
	float: left;
	border: 4px solid #6b7204;
	position: relative;
	background: url(../img/body-bgr.jpg);
	-moz-box-shadow: 4px 4px 5px rgba(0,0,0,0.4);
	-webkit-box-shadow: 4px 4px 5px rgba(0,0,0,0.4);
	box-shadow: 4px 4px 5px rgba(0,0,0,0.4);
} 

/*--------------------- FORM  ---------------------------------------------*/

form {
	text-align: center;
	font-size: 16px;
	padding-top: 150px;
	background: url(../img/form-bgr.png) no-repeat 22px 1px;
}

form .nimikentta {
	width: 167px;
	height: 23px;
	border-width: 0;
	margin-bottom: 20px;
	background: url(../img/alaviiva.png) no-repeat center bottom;
}

form .tekstikentta {
	height: 130px;
	width: 175px;
	margin-top: 8px;
	overflow: auto;
	background: url(../img/box-bgr.jpg);
}

form .painike {
	height: 16px;
	width: 79px;
	border: 0px;
	text-indent: -9999px;
	text-transform: capitalize;
	cursor: pointer;
	margin-top: 10px;
	margin-bottom: 13px;
	background: url(../img/submit-bgr.png) no-repeat;
}

#english form .painike {
	background: url(../img/submit-bgr-eng.png) no-repeat;
	height: 13px;
	width: 50px;
}

form label {
	text-indent: -9999px;
	display: none;
}

/*--------------------- TYPOGRAPHY  ---------------------------------------------*/

@font-face {
    font-family: 'OldNewspaperTypesRegular';
    src: url('../fonts/oldnewspapertypes-webfont.eot');
    src: url('../fonts/oldnewspapertypes-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/oldnewspapertypes-webfont.woff') format('woff'),
         url('../fonts/oldnewspapertypes-webfont.ttf') format('truetype'),
         url('../fonts/oldnewspapertypes-webfont.svg#OldNewspaperTypesRegular') format('svg');
    font-weight: normal;
    font-style: normal;
}

.content h2, #kuvagalleria .main-content h2 {
	font-size: 29px;
	color: #8c1308;
	text-transform: uppercase;
	text-align: center;
} 

#nayttelyt h2, #laituri-info h2 {
	font-size: 26px;
	color: #8c1308;
	text-transform: uppercase;
	text-align: center;
	margin-bottom: 15px;
} 

#kuvagalleria .main-content h2 {
	margin-top: 22px;
	margin-bottom: 6px;
} 

#maitolaiturimuseo .content h2 {
	margin-top: 14px;
	margin-bottom: 12px;	
} 

.content h3 {
	font-size: 22px;
	color: #8c1308;
	text-transform: uppercase;
	text-align: center;
	margin-bottom: 7px;
} 

#ajankohtaista .content h3 {
	font-size: 17px;
	color: #000;
	margin-top: 7px;
	margin-bottom: 5px;
} 

#paikka-info h3, #maitolaituri-info h3   {
	font-size: 24px;
	text-align: center;
	margin-bottom: -10px;
	padding-top: 10px;
	background: url(../img/box-h3-bgr.png) no-repeat 50% 0px;
	margin-top: -10px;
} 

#footer h3   {
	font-size: 20px;
	text-transform:uppercase;
	text-align: center;
	margin-bottom: -10px;
	padding-top: 10px;
	background: url(../img/box-h3-bgr.png) no-repeat 50% 0px;
	margin-top: 5px;
} 

#footer #paikka-aukiolo :nth-child(4) {
	background: url(none);
} 

#footer #palaute h3   {
	color: #8c1308;
	position: absolute;
	left: 58px;
	top: 95px;
	background: url(none);
} 

#maitolaituri-info h3  {
	margin-bottom: 7px;
} 

p, h2, h3, strong, li.vuosiluku, form, ul {
	text-shadow: 0 0 1px #716F6F;	
}

.content p {
	line-height: 22px;
	font-size:17px;
} 

#alku .content p {
	padding: 15px 15px 19px;
	font-size:18px;
	background: url(../img/naula-bgr.png) no-repeat 37px bottom;
}

#english #alku .content p {
	padding: 15px 15px 2px 13px;
	font-size:17px;
	background: url(../img/naula-bgr.png) no-repeat 37px bottom;
	margin: 0px;
}

#kiitos  #alku .content p, #virhe  #alku .content p, #english #alku .content p  {
	background: url(none);
}

#maitolaiturimuseo .content p {
	padding-right: 15px;
	padding-left: 15px;
} 

#paikka-info p, #footer #paikka-aukiolo p  {
	padding: 14px 15px 0px;
	margin-bottom: 0em;
}

#nayttely-info p {
	padding: 15px 15px 0px;
	padding-top: 10px;
	background: url(../img/box-h3-bgr.png) no-repeat 50% 0px;
} 

#maitolaituri-info p {
	padding: 1px 15px 0px;
}

#kuvagalleria .main-content p {
	line-height: 22px;
	font-size:17px;
	text-align: center;
	margin-bottom: 20px;
}

#footer p {
	margin-bottom: 0.4em;

}

#virhe  #alku .content ul {
	margin: -12px 15px 15px;
}

#virhe  #alku .content ul li {
	background: url(../img/list-bullet.png) no-repeat;
	margin-bottom: 15px;
	padding-left: 25px;
}

strong  {
	font-weight: bold;
}

#alku .content :nth-child(1):first-letter  {
	color: #8c1308;
	float: left;
	margin-right: 2px;
	font-size: 47px;
	line-height: 40px;
}

#ajankohtaista .content :nth-child(3):first-letter, #maitolaiturimuseo .content :nth-child(2):first-letter  {
	float: left;
	margin-top: 3px;	
	margin-right: 2px;
	font-size: 53px;
	line-height: 40px;
}

::selection {
	background: #8c1308;
	color: #FFF;
}
	
::-moz-selection {
	background: #8c1308;
	color: #FFF;
}

/*--------------------- LINKS  ---------------------------------------------*/

a:link, a:visited {
	color: #990000;
	-moz-transition: all 0.2s linear;
	-webkit-transition: all 0.2s linear;
	-o-transition: all 0.2s linear;
	transition: all 0.2s linear;
}

a:hover {
	color: #545A03;
	text-decoration: underline;
}

#main-nav a:link, #main-nav a:visited, .sub-nav a:link, .sub-nav a:visited {
	font-size: 21px;
	color: #FFF;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.3);
	-moz-transition: all 0.2s ease-out;
	-webkit-transition: all 0.2s ease-out;
	-o-transition: all 0.2s ease-out;
	transition: all 0.2s ease-out;
}

#main-nav a:hover, .sub-nav a:hover {
	color: #8c1308;
	text-decoration: none;
}

#eng-link {
	position: absolute;
	left: 4px;
	top: 185px;
	background: url(../img/eng-link-bgr.png) no-repeat;
	display: block;
	height: 25px;
	width: 45px;
	text-indent: -9999px;
	z-index: 3;
}

/*---------------------  CSS ANIMATIONS - THANKS: Animate.css - http://daneden.me/animate  ---------*/

.animated   {
	-webkit-animation-fill-mode: both;
	-moz-animation-fill-mode: both;
	-ms-animation-fill-mode: both;
	-o-animation-fill-mode: both;
	animation-fill-mode: both;
	-webkit-animation-duration: 5s;
	-moz-animation-duration: 5s;
	-ms-animation-duration: 5s;
	-o-animation-duration: 5s;
	animation-duration: 5s;
}

.animated.hinge {
	-webkit-animation-duration: 5s;
	-moz-animation-duration: 5s;
	-ms-animation-duration: 5s;
	-o-animation-duration: 5s;
	animation-duration: 5s;
}

@-webkit-keyframes swing {
	20%, 40%, 60%, 80%, 100% { -webkit-transform-origin: top center; }
	20% { -webkit-transform: rotate(40deg); }	
	40% { -webkit-transform: rotate(-25deg); }
	60% { -webkit-transform: rotate(15deg); }	
	80% { -webkit-transform: rotate(-10deg); }	
	100% { -webkit-transform: rotate(1deg); }
}

@-moz-keyframes swing {
	20% { -moz-transform: rotate(40deg); }	
	40% { -moz-transform: rotate(-25deg); }
	60% { -moz-transform: rotate(15deg); }	
	80% { -moz-transform: rotate(-10deg); }	
	100% { -moz-transform: rotate(1deg); }
}

@-ms-keyframes swing {
	20% { -ms-transform: rotate(40deg); }	
	40% { -ms-transform: rotate(-25deg); }
	60% { -ms-transform: rotate(15deg); }	
	80% { -ms-transform: rotate(-10deg); }	
	100% { -ms-transform: rotate(1deg); }
}

@-o-keyframes swing {
	20% { -o-transform: rotate(40deg); }	
	40% { -o-transform: rotate(-25deg); }
	60% { -o-transform: rotate(15deg); }	
	80% { -o-transform: rotate(-10deg); }	
	100% { -o-transform: rotate(1deg); }
}

@keyframes swing {
	20% { transform: rotate(40deg); }	
	40% { transform: rotate(-25deg); }
	60% { transform: rotate(15deg); }	
	80% { transform: rotate(-10deg); }	
	100% { transform: rotate(1deg); }
}

.swing  {
	-webkit-transform-origin: top center;
	-moz-transform-origin: top center;
	-ms-transform-origin: top center;
	-o-transform-origin: top center;
	transform-origin: top center;
	-webkit-animation-name: swing;
	-moz-animation-name: swing;
	-ms-animation-name: swing;
	-o-animation-name: swing;
	animation-name: swing;
}

.animated2:hover   {
	-webkit-animation-fill-mode: both;
	-moz-animation-fill-mode: both;
	-ms-animation-fill-mode: both;
	-o-animation-fill-mode: both;
	animation-fill-mode: both;
	-webkit-animation-duration: 2.5s;
	-moz-animation-duration: 2.5s;
	-ms-animation-duration: 2.5s;
	-o-animation-duration: 2.5s;
	animation-duration: 2.5s;
}

.animated2.hinge {
	-webkit-animation-duration: 2.5s;
	-moz-animation-duration: 2.5s;
	-ms-animation-duration: 2.5s;
	-o-animation-duration: 2.5s;
	animation-duration: 2.5s;
}

@-webkit-keyframes swing2 {
	20%, 40%, 60%, 80%, 100% { -webkit-transform-origin: top center; }
	20% { -webkit-transform: rotate(15deg); }	
	40% { -webkit-transform: rotate(-10deg); }
	60% { -webkit-transform: rotate(5deg); }	
	80% { -webkit-transform: rotate(-5deg); }	
	100% { -webkit-transform: rotate(0deg); }
}

@-moz-keyframes swing2 {
	20% { -moz-transform: rotate(15deg); }	
	40% { -moz-transform: rotate(-10deg); }
	60% { -moz-transform: rotate(5deg); }	
	80% { -moz-transform: rotate(-5deg); }	
	100% { -moz-transform: rotate(0deg); }
}

@-ms-keyframes swing2 {
	20% { -ms-transform: rotate(15deg); }	
	40% { -ms-transform: rotate(-10deg); }
	60% { -ms-transform: rotate(5deg); }	
	80% { -ms-transform: rotate(-5deg); }	
	100% { -ms-transform: rotate(0deg); }
}

@-o-keyframes swing2 {
	20% { -o-transform: rotate(15deg); }	
	40% { -o-transform: rotate(-10deg); }
	60% { -o-transform: rotate(5deg); }	
	80% { -o-transform: rotate(-5deg); }	
	100% { -o-transform: rotate(0deg); }
}

@keyframes swing2 {
	20% { transform: rotate(15deg); }	
	40% { transform: rotate(-10deg); }
	60% { transform: rotate(5deg); }	
	80% { transform: rotate(-5deg); }	
	100% { transform: rotate(0deg); }
}

.swing2:hover  {
	-webkit-transform-origin: top center;
	-moz-transform-origin: top center;
	-ms-transform-origin: top center;
	-o-transform-origin: top center;
	transform-origin: top center;
	-webkit-animation-name: swing;
	-moz-animation-name: swing;
	-ms-animation-name: swing;
	-o-animation-name: swing;
	animation-name: swing;
}

/*---------------------  @MEDIA PRINT  ---------------------------------------------*/

@media print {
	
body:before {
	-webkit-box-shadow: 0px 0px 0px rgba(0,0,0,.0);
	-moz-box-shadow: 0px 0px 0px rgba(0,0,0,.0);
	box-shadow: 0px 0px 0px rgba(0,0,0,.0); }

#header{ display: none; }

#alku .aside img { display: none; }

#main-nav, .sub-nav  { display: none; }

#kuvagalleria { display: none; }

#footer { display: none; }

#main-content { margin-left: 40px; }

#content { width: 850px; }

#sivu #content { width: 850px; }

a.nakymaton:link, a.nakymaton:visited, a.nakymaton:hover { display: none; }

}
