/*
 * jQuery FlexSlider v2.0
 * http://www.woothemes.com/flexslider/
 *
 * Copyright 2012 WooThemes
 * Free to use under the GPLv2 license.
 * http://www.gnu.org/licenses/gpl-2.0.html
 *
 * Contributing author: Tyler Smith (@mbmufffin)
 */
/* Browser Resets */
.flex-container a:active,
.flexslider a:active,
.flex-container a:focus,
.flexslider a:focus {
  outline: none;
}
.om-itemlist,
.flex-control-nav,
.flex-direction-nav {
  margin: 0;
  padding: 0;
  list-style: none;
}
/* FlexSlider Necessary Styles
*********************************/
.flexslider {
  margin: 0;
  padding: 0;
}
.flexslider .om-itemlist > li {
  display: none;
  -webkit-backface-visibility: hidden;
}
/* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .om-itemlist img {
  width: 100%;
  display: block;
}
.flex-pauseplay span {
  text-transform: capitalize;
}
/* Clearfix for the .om-itemlist element */
.om-itemlist:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}
html[xmlns] .om-itemlist {
  display: block;
}
* html .om-itemlist {
  height: 1%;
}
/* No JavaScript Fallback */
/* If you are not using another script, such as Modernizr, make sure you
 * include js that eliminates this class on page load */
.no-js .om-itemlist > li:first-child {
  display: block;
}
/* FlexSlider Default Theme
*********************************/
.flexslider {
  margin: 0 0 60px;
  background: #fff;
  border: 4px solid #fff;
  position: relative;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -o-border-radius: 4px;
  border-radius: 4px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
  -webkit-box-shadow: 0 1px 4px rgba(0,0,0,0.2);
  -moz-box-shadow: 0 1px 4px rgba(0,0,0,0.2);
  -o-box-shadow: 0 1px 4px rgba(0,0,0,0.2);
  zoom: 1;
}
.flex-viewport {
  max-height: 2000px;
  -webkit-transition: all 1s ease;
  -moz-transition: all 1s ease;
  transition: all 1s ease;
}
.loading .flex-viewport {
  max-height: 300px;
}
.flexslider .om-itemlist {
  zoom: 1;
}
.carousel li {
  margin-right: 5px;
}
/* Control Nav */
.flex-control-nav {
  width: 100%;
  position: absolute;
  bottom: -40px;
  text-align: center;
}
.flex-control-nav li {
  margin: 0 6px;
  display: inline-block;
  zoom: 1;
  *display: inline;
}
.flex-control-paging li a {
  width: 8px;
  height: 8px;
  display: block;
  background: #d5d5d5;
  background: rgba(254,254,254,0.5);
  cursor: pointer;
  text-indent: -9999px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  -o-border-radius: 20px;
  border-radius: 20px;
}
.flex-control-paging li a:hover {
  background: #333;
  background: rgba(254,254,254,0.7);
}
.flex-control-paging li a.flex-active {
  background: #000;
  background: rgba(254,254,254,0.9);
  cursor: default;
}
.flex-control-thumbs {
  margin: 5px 0 0;
  position: static;
  overflow: hidden;
}
.flex-control-thumbs li {
  width: 25%;
  float: left;
  margin: 0;
}
.flex-control-thumbs img {
  width: 100%;
  display: block;
  opacity: 0.7;
  cursor: pointer;
}
.flex-control-thumbs img:hover {
  opacity: 1;
}
.flex-control-thumbs .flex-active {
  opacity: 1;
  cursor: default;
}
@media screen and (max-width: 860px) {
  .flex-direction-nav .flex-prev {
    opacity: 1;
    left: 0;
  }
  .flex-direction-nav .flex-next {
    opacity: 1;
    right: 0;
  }
}


/* Otavamedia-footer */
.footer-om {
	background: #253032;
	font-family: "Helvetica", "Arial", sans-serif;
	padding: 40px 0 100px;
	overflow: hidden;
	text-align: left;
	clear: both;
	font-family: Helvetica, Arial, sans-serif;
	font-size: 16px;
	font-style: normal;
	font-variant: normal;
	font-weight: normal;
	margin-bottom: 0px;
	line-height: 16px;
}

.footer-om ul{
	list-style: none outside;
}

.footer-om .otavamedia-logo {
  float: left;
}
.footer-om .oba-logo {
  float: right;
  margin-bottom: 5px;
}
.footer-om .om-container {
	width: 1008px;
	margin: 0 auto;
	position: relative;
}

.footer-om p {
  color: #fff;
  font-size: 0.9em;
  margin-bottom: 25px;
  line-height: 1.4em;
}
.footer-om p a {
  text-decoration: underline;
}
.footer-om p a:hover {
  color: #5a9aa8;
}
.footer-om strong {
  font-weight: 700;
}
.footer-om a {
  color: #fff;
  text-decoration: none;
}
.footer-om a:hover {
  color: #5a9aa8;
}
.footer-om .linklist li {
  margin-bottom: 1px;
}
.footer-om .linklist li a {
  color: #fff;
  font-size: 0.9em;
}
.footer-om .linklist li a:hover {
  color: #5a9aa8;
}
.footer-om .om-full {
  width: 98%;
  padding: 0 15px 10px;
}
.footer-om .om-wrapper {
  display: inline;
  float: left;
}
.footer-om .om-wrapper .om-full {
  padding: 0;
}
.footer-om .om-first,
.footer-om .om-second,
.footer-om .om-third,
.footer-om .om-fourth,
.footer-om .om-fifth,
.footer-om .om-sixth {
  float: left;
  display: inline;
  margin-left: 15px;
  margin-right: 15px;
}
.footer-om .om-first {
  width: 210px;
}
.footer-om .om-second {
  width: 150px;
}
.footer-om .om-third {
  width: 170px;
}
.footer-om .om-fourth {
  width: 170px;
}
.footer-om .om-fifth {
  width: 150px;
}
.om-magazines {
  position: relative;
  margin: 25px auto 20px auto;
  width: 960px;
  zoom: 1;
  height: 152px;
}
.om-magazines .flex-viewport {
  overflow: hidden;
  position: relative;
}
.om-magazines .flex-viewport ul {
  zoom: 1;
}
.om-magazines .flex-viewport ul li {
  list-style: none;
  float: left;
  width: 120px;
  height: 100%;
  text-align: center;
}
.om-magazines .flex-control-nav {
  display: none;
}
.om-magazines .flex-prev,
.om-magazines .flex-next {
  z-index: 10;
  position: absolute;
  top: 30%;
  background-color: #5a9aa8;
  height: 50px;
  width: 50px;
  text-indent: -9999px;
  background-position: center center;
  background-repeat: no-repeat;
}
.om-magazines .flex-disabled {
  background-color: #afafaf;
  cursor: default;
}
.om-magazines .flex-prev {
  left: -19px;
  background-image: url("http://otavafiles.fi/o/inc/icon-carousel-left-small.png");
}
.om-magazines .flex-next {
  right: -19px;
  background-image: url("http://otavafiles.fi/o/inc/icon-carousel-right-small.png");
}

.om-magazines .over-img {
  position:absolute; 
  top: 150px;
}
.clearfix:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}

.footer-om img {
  border:0;
}

@media all and (max-width: 960px) {
.om-magazines {display:none;}
.footer-om .om-container {width:98%;}
}