/* @override http://matthiasfried.fi/wp-content/themes/mftheme/css/screen.css */

/* Typography */
body, p, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, input, button, textarea, blockquote, th, td {
  margin: 0;
  padding: 0; }

body {
  height: 100%;
  font-family: "Nobile", Arial, sans-serif;
  font-size: 87.5%;
  line-height: 1.5;
  background: #eeeeee;
  color: black; 
    }

h1, .title {
  font-size: 1.5em;
  line-height: 2;
  margin-bottom: 1em; }

h2 {
  font-size: 1.286em;
  line-height: 1.167;
  margin-bottom: 1.167em; }

h3 {
  font-size: 1.143em;
  line-height: 1.313;
  margin-bottom: 1.313em; }

h4 {
  font-size: 1em;
  line-height: 1.5;
  margin-bottom: 1.5em; }

h1, h2, h3, h4, .title {
  font-weight: bold;
  font-family: "Nobile", Arial, sans-serif; }

h1 img, h2 img, h3 img,
h4 img {
  margin: 0; }

pre, tt, code, kbd, samp, var {
  font-family: "Courier New", Courier, monospace; }

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
  text-decoration: none; }

p, pre, dt, dd, ul, ol, legend, address, label, hr, input, button, textarea, select, table, blockquote {
  margin-bottom: 1.5em; }

blockquote {
  padding: 1.5em;
  background-color: #dbdee3; }

a:link {
  color: #23559c; }

a:visited {
  color: #365889; }

a:hover {
  color: #2c6cc6;
  text-decoration: none; }

a:focus {
  text-decoration: none; }

a:focus, :focus {
  outline: 1px dotted #000; }

a:active {
  color: #102849;
  outline: none; }

fieldset, img {
  border: 0; }

img {
  vertical-align: bottom; }

ol,
ul ol {
  list-style-type: decimal; }

ul {
  list-style-type: square;
  padding-left: 1.5em; }

ul ul {
  margin-left: 1em;
  list-style-type: circle; }

ul ul ul {
  list-style-type: square; }

ol ol {
  list-style-type: lower-alpha; }

ol ol ol {
  list-style-type: lower-roman; }

legend {
  color: black;
  padding-bottom: .5em; }

table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%; }

th {
  text-align: center; }

tbody th {
  text-align: left; }

th {
  font-weight: bold; }

thead th {
  background-color: #cccccc; }

th, td, caption {
  padding: 4px 10px 4px 5px; }

tr.even td {
  background-color: #e6e6e6; }

tfoot {
  font-style: italic; }

code {
  color: #06f; }

code, pre {
  font-family: "Courier New", monospace, serif;
  font-size: 1em; }

blockquote, q, em, cite, dfn, i, cite, var, address {
  font-style: italic; }

blockquote p:before, blockquote p:after, q:before, q:after {
  content: ''; }

th, strong, dt, b {
  font-weight: bold; }

ins {
  text-decoration: none;
  border-bottom: 3px double #333; }

del {
  text-decoration: line-through; }

abbr,
acronym {
  border-bottom: 1px dotted #4d4d4d; }

dd {
  padding-left: 20px; }

li {
  margin-left: 0; }

hr {
  border-style: inset;
  border-width: 1px; }

fieldset {
  line-height: 1; }

input[type="checkbox"] {
  vertical-align: bottom;
  *vertical-align: baseline; }

input[type="radio"] {
  vertical-align: text-bottom; }

input {
  _vertical-align: text-bottom; }

button,
input[type="submit"],
input[type="reset"],
input[type="button"],
.inputButton {
  *overflow: visible;
  _width: 0;
  padding: .2em .4em; }

.no-marker {
  list-style: none;
  margin-left: 0; }

.small, .menu li, .widget ul, .widget p, .widget ol, .product .info1, .product .info2, .productlist .info1, .productlist .info2 {
  font-size: .8em;
  margin-bottom: 1.875em;
  line-height: 1.875em; }

.large {
  font-size: 1.2em;
  line-height: 2.5em;
  margin-bottom: 1.25em; }

.clear {
  clear: both; }

/* Layout */
@media screen {
  #wrapper, #footer {
    width: 790px;
    margin: 0 auto; }

  #container {
    margin: 0;
    margin-right: 0px;
    float: left;
    width: 100%; }

  #content {
    margin: 0;
    margin-right: 0px; }

  #primary, #secondary {
    float: right;
    overflow: hidden;
    width: -20px; }

  #secondary {
    clear: right; }

  #footer {
    clear: both; }

  /* Show left sidebar on pages */
  .page #container {
    float: left;
    width: 100%;
    margin: 0; }

  .page #content {
    margin: 0 0px; }

  .page #primary, .page #secondary {
    float: left;
    overflow: hidden;
    width: -20px; }

  .page #primary {
    margin: 0 0 0 -100%; }

  * html body.page #primary {
    left: 20px;
    position: relative; }

  .page #secondary {
    margin: 0;
    margin-left: 20px; }

  /* Full width template*/
  body.full, .page-template-fullwidth-php #content, .single-attachment #content, .error404 #content {
    margin: 0; }

  /* Wide template, one left sidebar */
  .page-template-wide-php #container {
    float: right;
    margin: 0 0 0px;
    width: 100%; }

  .page-template-wide-php #content {
    margin: 0 0 0 0px; }

  .page-template-wide-php #primary {
    margin: 0; }

  /* Home template */
  .home #container {
    float: left;
    width: 100%;
    margin: 0; }

  .home #content, #home-wide-widget-area {
    margin: 0;
    margin-right: 0px; }

  .home #primary, .home #secondary {
    float: left;
    overflow: auto;
    width: -20px; }

  .home #primary {
    margin: 0;
    margin-left: 20px; }

  .home #secondary {
    margin: 0;
    margin-left: 20px; }

  /* Structure the footer widget area */
  #footer-widget-area, #home-footer-widget-area {
    clear: both;
    overflow: auto; }

  #footer-widget-area .widget-area, #home-footer-widget-area .widget-area {
    float: left;
    margin-right: 20px;
    width: 250px; }

  #footer-widget-area #third, #home-footer-widget-area #third-home {
    margin-right: 0; } }

/* Main stylesheet */
body {
  background: url(img/sky.jpg);
  background-attachment: fixed; }

#wrapper {
  padding: 1.5em;
  background-color: white;
  margin-top: 1.5em;
  overflow: hidden;
  -webkit-box-shadow: 0px 0px 6px #4f4f4f;
  -moz-box-shadow: 0px 0px 6px #4f4f4f;
  box-shadow: 0px 0px 6px #4f4f4f; }

#footer {
  color: white;
  padding: 1.5em; }

#footer-widget-area, #home-footer-widget-area {
  padding-top: 1.5em; }

.skip-link {
  display: none; }

#blog-description {
  padding: 0; }

#masthead {
  background-color: #262324;
  overflow: hidden; 

  }

#logo {
  margin-top: 8px; float: left;}

#blog-title {
  display: none; }

.menu {
  background-color: #262324;
  width: 500px;
  float: right;
  list-style: none;
  overflow: hidden;
  padding: 0;
  margin: 0; }

.menu li {
  font-family: "Nobile", Arial, sans-serif;
  float: left;
  padding: 0;
  margin: 0;
  overflow: auto;
  min-height: 30px; }

.menu a, .menu span {
  display: block;
  padding: 12px;
  text-decoration: none;
  color: #f58220; }

.current, .menu .current_page_item, .menu .current_page_item a, .menu .current-page-ancestor, .menu .current-page-ancestor a, .parent-pageid-6 .menu .asennus a, .tuote .menu .lampopumput-link a {
  background: #f58220 url(img/gradient.png) repeat-x 0 100%;
  color: white;
  text-shadow: 1px 1px 1px #333333; }

.menu a:hover {
  color: #f9b982; }

.menu a:active {
  color: #c24f00; }

.vertical-menu ul {
  margin-left: 0;
  list-style: none; }

.vertical-menu li {
  padding-left: 20px; }

.vertical-menu .current_page_item {
  background: transparent url(img/bullet.gif) no-repeat 0 50%; }

.vertical-menu .current_page_item, .vertical-menu .current_page_item a {
  color: #222;
  text-decoration: none;
  font-weight: bold; }

#feature {
  clear: both;
  margin-top: 1.5em;
  background: #b3832e url(img/pumppu.jpg) no-repeat 0 0;
  position: relative;
  padding: 1.5em 0 3em 0; }

#feature, #feature-content {
  overflow: hidden; }

#feature-content {
  font-weight: bold;
  padding-left: 405px; }

.logot {
  margin: 1.5em 0; }

.widget {
  padding: 1.5em 0px;
  margin: 0 0 1.5em 0;
  background-color: white; }

.widget-area ul {
  list-style: none;
  margin-left: 0; }

.widget-area ul ul {
  list-style: square;
  margin-left: 1.3em; }

.widget_search #s {
  /* This keeps the search inputs in line */
  width: 60%; }

.widget_search label {
  display: none; }

.widget-container {
  margin: 0 0 18px 0; }

.widget-title {
  color: #222;
  font-weight: bold; }

.widget-area a:link,
.widget-area a:visited {
  text-decoration: none; }

.widget-area a:active,
.widget-area a:hover {
  text-decoration: underline; }

.widget-area .entry-meta {
  font-size: 11px; }

#wp_tag_cloud div {
  line-height: 1.6em; }

#wp-calendar {
  width: auto; }

#wp-calendar caption {
  font-weight: bold;
  color: #222;
  text-align: left;
  font-size: 14px;
  padding-bottom: 4px; }

#wp-calendar thead {
  font-size: 11px; }

#wp-calendar tbody {
  color: #aaa; }

#wp-calendar tbody td {
  padding: 3px 0 2px;
  background: #f5f5f5;
  border: 1px solid #fff;
  text-align: center; }

#wp-calendar tbody .pad {
  background: none; }

#wp-calendar tfoot #next {
  text-align: right; }

.widget_rss a.rsswidget {
  color: #000; }

.widget_rss a.rsswidget:hover {
  color: #FF4B33; }

.widget_rss .widget-title img {
  height: 11px;
  width: 11px; }

.basis_widget_recent_entries ul {
  padding-left: 0; }

#text-7 .textwidget {
  padding-top: 199px;
  background: url(img/palokka.jpg) no-repeat 0 0; }

.article, .section {
  padding: 1.5em 0px;
  border-bottom: 1px solid #999;
  overflow: hidden;
  position: relative; }

.post-edit-link {
  display: block;
  position: absolute;
  right: 0;
  top: 0; }

.article .article {
  border: none; }

.entry-title {
  margin-bottom: 0; }

.entry-meta, .entry-utility {
  font-size: 0.75em;
  line-height: 2em;
  letter-spacing: 0.05em;
  text-transform: uppercase; }

.entry-content {
  padding-top: 1.5em;
  overflow: auto; }

.entry-utility {
  padding-top: 1.5; }

.pagination, .pagination-single {
  padding-top: 1.5;
  overflow: auto;
  clear: both; }

.next, .previous {
  display: block; }

.next {
  float: right; }

.previous {
  float: left; }

.page-link {
  margin-top: 1.5;
  word-spacing: 0.5em; }

.page-link a {
  padding: 0.5em 0.75em;
  text-decoration: none; }

.product, .productlist {
  overflow: auto;
  position: relative; }
  .product .entry-side, .productlist .entry-side {
    float: left;
    width: 250px;
    margin-right: 20px;
    padding-top: 1.5em; }
  .product .entry-content, .productlist .entry-content {
    float: left;
    width: 520px;
    overflow: hidden; }
  .product .entry-utility, .productlist .entry-utility {
    clear: both; }
  .product a.ext, .productlist a.ext {
    padding: 0 0 0 20px;
    background: transparent url(../img/icon_world.gif) no-repeat center left; }
  .product a[href$='.pdf'], .productlist a[href$='.pdf'] {
    padding: 0 0 0 20px;
    background: transparent url(../img/file_acrobat.gif) no-repeat center left; }
  .product .add-info, .product .takuu, .productlist .add-info, .productlist .takuu {
    padding: 1.5em;
    border-top: 1px solid #666; }
  .product .add-info, .productlist .add-info {
    background: #eee; }
  .product .takuu, .productlist .takuu {
    margin-top: 1.5em;
    background: #f58220; }
  .product .info1, .product .info2, .productlist .info1, .productlist .info2 {
    float: left;
    width: 250px; }
  .product .info1, .productlist .info1 {
    float: left;
    margin-right: 20px; }

.page-id-12 .entry-content-1, .page-id-12 .entry-content-2 {
  width: 250px;
  float: left;
  margin-right: 20px; }
.page-id-12 h2 {
  clear: both; }

.page-template-yritys-php .entry-content, .page-template-yritys-php .entry-images {
  width: 385px;
  float: left; }
.page-template-yritys-php .entry-content {
  margin-right: 20px; }
.page-template-yritys-php .entry-images img {
  margin-bottom: 1.5em; }

.page .gform_wrapper {
  background-color: #90a7c8;
  color: black;
  padding: 20px; }

.comment-list {
  padding-top: 1.5; }

.li-comment {
  border-top: 1px solid #eee;
  padding-bottom: 1.5; }

.comment-head, .comment-meta {
  font-size: 10px;
  text-transform: uppercase; }

#content, .widget {
  background: white; }

.entry-date {
  background: url(img/ico_calendar.png) no-repeat 0 0;
  padding-left: 20px; }

.button, #feature .morelink {
  background: #eeeeee url(img/gradient.png) left top repeat-x;
  color: #181818;
  text-transform: uppercase;
  padding: 7px 10px;
  border: 1px solid #a3a3a3;
  border-bottom: 1px solid #505050;
  cursor: pointer;
  display: inline-block;
  font: 10px/1.3 "Nobile", Arial, sans-serif;
  font-weight: bold;
  border-radius: top;
  -moz-border-radius: top;
  -webkit-border-radius: top; }

.button-important {
  background: #f58220 url(img/gradient.png) left top repeat-x; }

.button:hover, #feature .morelink:hover {
  background-color: white;
  text-decoration: none; }

.button-important:hover {
  background-color: #f79d51; }

.button:focus, #feature .morelink:focus {
  outline: 0; }

.button:active, #feature .morelink:active {
  position: relative;
  top: 1px; }

.button:link, .button:visited, #feature .morelink:link, #feature .morelink:visited {
  color: #2d3133;
  text-decoration: none; }

#feature .morelink {
  float: right; }

.page-link a {
  background: #f4f4f4; }

.comment-meta, .comment-head, .comment-meta a, .comment-head a {
  color: #919191; }

.simple-section-nav .widget-title, .home h1.entry-title, .home .type-page .entry-meta, .home .type-page .entry-utility {
  display: none; }

/* Gallery listing
-------------------------------------------------------------- */
.category-gallery {
  margin-bottom: 48px; }

.category-gallery h2 {
  margin-top: 10px; }

.category-gallery .size-thumbnail img {
  border: 10px solid #f1f1f1;
  margin-bottom: 0; }

.category-gallery .gallery-thumb {
  float: left;
  margin-right: 20px;
  margin-top: -4px; }

.home #content .category-gallery .entry-content p {
  display: inline; }

.home #content .category-gallery .entry-utility {
  padding-top: 4px; }

/* Attachment pages
-------------------------------------------------------------- */
.entry-content .attachment img {
  margin-bottom: 0; }

.attachment .entry-content .entry-caption {
  font-size: 140%;
  margin-top: 24px; }

.attachment .entry-content .previous a:before {
  content: '\2190\00a0'; }

.attachment .entry-content .next a:after {
  content: '\00a0\2192'; }

.entry-caption {
  clear: both; }

/* Styles required by WP */
.alignleft {
  float: left;
  margin-right: 1em;
  margin-bottom: 1em; }

.alignright {
  float: right;
  margin-left: 1em;
  margin-bottom: 1em; }

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto; }

.wp-caption {
  border: 1px solid #ddd;
  text-align: center;
  background-color: #cacaca;
  padding-top: 4px;
  margin: 0.5em;
 /*optional rounded corners for browsers that support it 
-moz-border-radius: 3px;
-khtml-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;*/ }

.wp-caption img {
  margin: 0;
  padding: 0;
  border: 0 none; }

.wp-caption p.wp-caption-text {
  font-size: 11px;
  padding: 0 4px 5px;
  margin: 0; }

