/*
	Theme Name: Meri
	Theme URI: http://valo.metropolia.fi
	Description: Meri WordPress teema
	Version: 0.1
	Author: Valo
	Author URI: http://valo.metropolia.fi
	Tags: Meri, Valo

	License: Dunno
	License URI: http://dun.no
*/
/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
html,
body {
  min-height: 100%;
}
html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  background: #ffffff;
  overflow-y: scroll;
}
strong,
b {
  font-weight: bold;
}
i,
em,
blockquote {
  font-style: italic;
}
body {
  line-height: 1;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
img {
  -ms-interpolation-mode: bicubic;
  background: transparent;
  border: 0;
}
img,
embed,
object,
video {
  max-width: 100%;
  height: inherit;
  _width: 100%;
}
/*---------------------------------------------------
    LESS Elements 0.9
  ---------------------------------------------------
    A set of useful LESS mixins
    More info at: http://lesselements.com
  ---------------------------------------------------*/
/*
	global box-sizing
*/
*,
*:after,
*:before {
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1 {
  text-transform: inherit;
  letter-spacing: inherit;
  line-height: 1.125em;
  font-weight: inherit;
  margin: 0.97em 0 0.5em;
  font-size: 2em;
}
h2 {
  text-transform: inherit;
  letter-spacing: inherit;
  line-height: 1.77777em;
  font-weight: inherit;
  margin: 0 0 1.2em;
  font-size: 1.2em;
}
h3 {
  text-transform: inherit;
  letter-spacing: inherit;
  line-height: 1.5em;
  font-weight: inherit;
  margin: 1.7em 0 0.85em;
  font-size: 1.3em;
}
h4 {
  text-transform: inherit;
  letter-spacing: inherit;
  line-height: 1.12382em;
  font-weight: inherit;
  margin: 0 0 1.3em;
  font-size: 1.2em;
}
h5 {
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1.5em;
  font-weight: inherit;
  margin: 0 0 1.5em;
  font-size: 1em;
}
h6 {
  text-transform: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  font-weight: bold;
  margin: 0 0 1.5em;
  font-size: inherit;
}
.ie h1 {
  font-size: 4em;
}
.highlight {
  border-color: #3b5167;
  background: #ffcc99;
  color: #3b5167;
  margin-top: 3em;
  padding: 0 .2em;
}
body {
  font: 75%/1.75em "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #333333;
}
.ie body {
  font-size: 100%;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  -moz-font-feature-settings: "liga=1, kern=1";
  -ms-font-feature-settings: "liga" 1, "kern" 1;
  text-rendering: optimizeLegibility;
  margin-bottom: 1.42382em;
  font-weight: normal;
  color: #3b5167;
}
p,
ul,
ol,
dl,
blockquote,
img {
  margin-bottom: 1.5em;
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  hyphens: auto;
}
abbr {
  text-transform: lowercase;
  font-variant: small-caps;
  letter-spacing: 0.1em;
  cursor: help;
}
sub,
sup {
  vertical-align: baseline;
  position: relative;
  font-size: 65%;
  line-height: 0;
}
sub {
  bottom: -0.25em;
}
sup {
  top: -0.5em;
}
blockquote {
  margin: 1.5em 0 1.5em 1.80203em;
  color: #e77f75;
  position: relative;
}
blockquote:before {
  -webkit-font-smoothing: antialiased;
  color: #e77f75;
  font-size: 3.60406em;
  position: absolute;
  font-style: italic;
  content: "\201C";
  line-height: 1em;
  left: -0.6018em;
  top: 0;
}
ul,
ol {
  margin-left: 1.5em;
}
ul {
  list-style-type: circle;
}
ol {
  list-style-type: lower-roman;
}
pre,
code {
  font: 0.9375em/1.26562em monospace monospace;
  -webkit-font-smoothing: subpixel-antialiased;
}
pre {
  color: #333333;
  padding: 1.5em 1em;
  margin-bottom: 3em;
  line-height: 1em;
  white-space: pre;
  white-space: pre-wrap;
  word-wrap: break-word;
}
img {
  margin: 0.5em auto 1.5em auto;
  display: block;
}
a {
  text-decoration: underline;
  color: #669999;
  border: 0;
}
a:hover {
  background: transparent;
  color: #3b5167;
  border: 0;
}
a:active {
  outline: none;
}
sup a {
  text-decoration: none;
}
/*
	SELECTIONS
--------------------------------------------- */
::-moz-selection {
  background: #b3cccc;
  color: #333333;
  text-shadow: none;
}
::selection {
  background: #b3cccc;
  color: #333333;
  text-shadow: none;
}
::selection:window-inactive {
  background: #b3cccc;
  color: #333333;
}
img::selection {
  background: transparent;
}
img::-moz-selection {
  background: transparent;
}
/*
	PALETTE
--------------------------------------------- */
/*
	LAYOUT
--------------------------------------------- */
html,
body {
  background: #f5f3f1;
  width: 800px;
  margin: 0 auto;
}
header {
  position: fixed;
  top: 0;
  padding-top: 40px;
  width: 800px;
  height: 138px;
  z-index: 2;
  background: #f5f3f1 url('./img/nauha.png');
  background-repeat: repeat-x;
  background-position: center top;
  background-origin: content-box;
}
header nav {
  display: inline-block;
  height: 56px;
  width: 790px;
  margin-top: 21px;
  padding-left: 10px;
}
header nav ul {
  margin: 0;
  display: table;
  width: 100%;
}
header nav ul li {
  display: table-cell;
  vertical-align: middle;
  position: relative;
}
header nav ul li .logo {
  display: block;
  margin: 0;
  width: 112px;
  height: 56px;
}
header nav ul li .logo img {
  margin: 0;
  padding: 0;
}
header nav ul li a {
  display: block;
  color: white;
  font-family: "Trebuchet MS", "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Tahoma, sans-serif;
  font-weight: bold;
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
}
header nav ul li a:hover {
  color: white;
}
header nav ul .menu-item a:hover:after,
header nav ul .current-menu-item a:after {
  content: "";
  position: absolute;
  bottom: -10px;
  z-index: 3;
  display: block;
  width: 70%;
  height: 4px;
  background: transparent url("./img/viiva.png");
  background-repeat: no-repeat;
  background-position: top;
  background-size: 100% 4px;
}
.content {
  margin: 0 auto;
  width: 790px;
  height: 100%;
  padding: 158px 0 0 10px;
  position: relative;
}
.content .hentry {
  display: block;
  width: 575px;
  padding-right: 40px;
  border-right: 1px solid #666666;
}
.content .hentry img {
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}
.content .hentry img.rounded {
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
}
.content .hentry img.alignright {
  float: right;
  margin: 0 0 1.5em 1em;
}
.content .hentry img.alignleft {
  float: left;
  margin: 0 1em 1.5em 0;
}
.content .hentry img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.content .hentry .alignright {
  float: right;
}
.content .hentry .alignleft {
  float: left;
}
.content .hentry .aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.sidecon {
  position: absolute;
  width: 185px;
  right: 0;
  top: 178px;
}
.sidebar {
  position: fixed;
  width: 185px;
  color: #666666;
  overflow: auto;
}
.sidebar h2 {
  font-size: 1.125em;
  margin-bottom: 0.5em;
}
.sidebar .mail {
  color: #669999;
}
.qtrans_language_chooser {
  list-style: none;
  padding: 0;
  margin: 0 0 25px 0;
}
.qtrans_language_chooser li {
  display: inline-block;
  margin-right: 10px;
}
.qtrans_language_chooser li.active {
  display: none;
}
.footer {
  clear: both;
  margin: 0 auto;
  width: 800px;
  height: 600px;
}
/*
	DESKTOP ONLY
--------------------------------------------- */
@media screen and (min-width: 401px) {
  header {
    position: fixed;
    top: 0;
    margin: 0 -500%;
    padding: 40px 500% 0 500%;
    width: 800px;
    height: 138px;
    z-index: 2;
    background: #f5f3f1 url('./img/nauha.png');
    background-repeat: repeat-x;
    background-position: center top;
    padding-top: 40px;
    background-origin: content-box;
  }
  header nav {
    display: inline-block;
    height: 56px;
    width: 800px;
    margin-top: 21px;
    padding-left: 0;
  }
  header nav ul {
    margin: 0;
    display: table;
    width: 100%;
  }
  header nav ul li {
    display: table-cell;
    vertical-align: middle;
    position: relative;
  }
  header nav ul li .logo {
    display: block;
    margin: 0;
    width: 112px;
    height: 56px;
  }
  header nav ul li .logo img {
    margin: 0;
    padding: 0;
  }
  header nav ul li a {
    display: block;
    color: white;
    font-family: "Trebuchet MS", "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Tahoma, sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    position: relative;
  }
  header nav ul li a:hover {
    color: white;
  }
  header nav ul .menu-item a:hover:after,
  header nav ul .current-menu-item a:after {
    content: "";
    position: absolute;
    bottom: -10px;
    z-index: 3;
    display: block;
    width: 70%;
    height: 4px;
    background: transparent url("./img/viiva.png");
    background-repeat: no-repeat;
    background-position: top;
    background-size: 100% 4px;
  }
  .content {
    margin: 0 auto;
    width: 800px;
    height: 100%;
    padding: 158px 0 0 0;
    position: relative;
  }
  .content .hentry {
    display: block;
    width: 575px;
    padding-right: 40px;
    border-right: 1px solid #666666;
  }
  .content .hentry img {
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
  }
  .content .hentry img.rounded {
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
  }
  .content .hentry img.alignright {
    float: right;
    margin: 0 0 1.5em 1em;
  }
  .content .hentry img.alignleft {
    float: left;
    margin: 0 1em 1.5em 0;
  }
  .content .hentry img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
  .content .hentry .alignright {
    float: right;
  }
  .content .hentry .alignleft {
    float: left;
  }
  .content .hentry .aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
}
/*
	PRINT STYLES
--------------------------------------------- */
@media print {
  html {
    border: 0;
  }
  a[href]:after {
    content: " (" attr(href) ")";
  }
  a[href^="javascript:"]:after,
  a[href^="#"]:after {
    content: "";
  }
}
