/*
Theme Name: Sireeni WordPress
Theme URI: http://underscores.me/
Author: Provianet Oy
Author URI: http://www.provianet.fi
Description: Sireeni / Responsiivinen Wordpress-teema
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sireeni
Tags:

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

Sireeni WordPress is based on Underscores http://underscores.me/, (C) 2012-2015 Automattic, Inc.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
        ## Links
        ## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
    ## Posts and pages
        ## Asides
        ## Comments
# Infinite scroll
# Media
        ## Captions
        ## Galleries
--------------------------------------------------------------*/

/*@import url(https://fonts.googleapis.com/css?family=Lato:400,300,700);*/
@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,300,600,700,800);

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
h1, h2,h3, h4, h5, h6, p{
    margin: 25px 0px;
}
.textcontent h1{
    text-transform: uppercase;
    font-weight: bold;
    font-size: 30px;
    color: #2c75b6 !important;
}

@media (max-width:767px){
    ul.bxslider,
    .bx-wrapper{
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    .bx-wrapper .bx-next{
        right: 10px !important;
    }
}
#primary-menu li a{
    font-family: 'Open Sans', sans-serif;
}
.row-margin-large{
    margin-top: 50px;
}
.row-margin{
    margin-top: 30px !important;
}
.row-margin-not-mobile{
    margin-top: 30px;
}
.row-padding{
    padding-top: 30px;
}
.row-margin-small{
    margin-top: 20px;
}
.haku{
    height: 51px;
    width: 51px;
    position: absolute;
    top:85px;
    right:5%;
    cursor:pointer;
}
.hakubox{
    display: none;
}
.hakubox .search-form{
    position: initial;
    width: 300px;
    margin:0 auto;
}
.hakubox .search-form input{
    width: 300px;
}
p + ul{
    margin: 0px;
    margin-bottom: 30px;
    padding: 0px;
    padding-left: 20px;
    list-style: initial;
}
html {
    font-family: 'Open Sans', sans-serif;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust:     100%;
    height: 100%;
    font-size: 16px;
}

body {
    margin: 0;
    height: 100%;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
    display: block;
}

audio,
canvas,
progress,
video {
    display: inline-block;
    vertical-align: baseline;
}

audio:not([controls]) {
    display: none;
    height: 0;
}

[hidden],
template {
    display: none;
}

a {
    background-color: transparent;
}

a:active,
a:hover {
    outline: 0;
}

abbr[title] {
    border-bottom: 1px dotted;
}

b,
strong {
    font-weight: bold;
}

dfn {
    font-style: italic;
}

h1 {
    font-size: 40px;
    margin: 0.67em 0;
}

mark {
    background: #ff0;
    color: #000;
}

small {
    font-size: 80%;
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup {
    top: -0.5em;
}

sub {
    bottom: -0.25em;
}

img {
    border: 0;
}

svg:not(:root) {
    overflow: hidden;
}

figure {
    margin: 1em 40px;
}

hr {
    box-sizing: content-box;
    height: 0;
}

pre {
    overflow: auto;
}

code,
kbd,
pre,
samp {
    font-family: monospace, monospace;
    font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
    color: inherit;
    font: inherit;
    margin: 0;
}

button {
    overflow: visible;
}

button,
select {
    text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
    -webkit-appearance: button;
    cursor: pointer;
}

button[disabled],
html input[disabled] {
    cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

input {
    line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
    box-sizing: border-box;
    padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

input[type="search"] {
    -webkit-appearance: textfield;
    box-sizing: content-box;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

fieldset {
    border: 1px solid #c0c0c0;
    margin: 0 2px;
    padding: 0.35em 0.625em 0.75em;
}

legend {
    border: 0;
    padding: 0;
}

textarea {
    overflow: auto;
}

optgroup {
    font-weight: bold;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

td,
th {
    padding: 0;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
textarea {
    color: #404040;
    font-size: 16px;
    font-size: 1rem;
    line-height: 1.5;
}

h1,
h2,
h4,
h5,
h6 {
    clear: both;

    font-weight: bold;
}
h3{
    clear: both;

    font-weight: 800 !important;
}

p {
    margin-bottom: 1.5em;
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
}

dfn,
cite,
em,
i {
    font-style: italic;
}

blockquote {
    margin: 0 1.5em;
}

address {
    margin: 0 0 1.5em;
}

pre {
    background: #eee;
    font-family: "Courier 10 Pitch", Courier, monospace;
    font-size: 15px;
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1.6em;
    max-width: 100%;
    overflow: auto;
    padding: 1.6em;
}

code,
kbd,
tt,
var {
    font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
    font-size: 15px;
    font-size: 0.9375rem;
}

abbr,
acronym {
    border-bottom: 1px dotted #666;
    cursor: help;
}

mark,
ins {
    background: #fff9c0;
    text-decoration: none;
}

big {
    font-size: 125%;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
    box-sizing: border-box;
}

*,
*:before,
*:after { /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
    box-sizing: inherit;
}

body {
    background: #fff; /* Fallback for when there is no custom background color defined. */
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: "";
}

blockquote,
q {
    quotes: "" "";
}

hr {
    background-color: #ccc;
    border: 0;
    height: 1px;
    margin-bottom: 1.5em;
}

ul,
ol {
    margin: 0 0 1.5em 3em;
}

ul {
    list-style: disc;
}

ol {
    list-style: decimal;
}

li > ul,
li > ol {
    margin-bottom: 0;
    margin-left: 1.5em;
}

dt {
    font-weight: bold;
}

dd {
    margin: 0 1.5em 1.5em;
}

img {
    height: auto; /* Make sure images are scaled correctly. */
    max-width: 100%; /* Adhere to container width. */
}

table {
    margin: 0 0 1.5em;
    width: 100%;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    border: 1px solid;
    border-color: #ccc #ccc #bbb;
    border-radius: 3px;
    background: #e6e6e6;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 15px 17px rgba(255, 255, 255, 0.5), inset 0 -5px 12px rgba(0, 0, 0, 0.05);
    color: rgba(0, 0, 0, .8);
    font-size: 12px;
    font-size: 0.75rem;
    line-height: 1;
    padding: .6em 1em .4em;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
    border-color: #ccc #bbb #aaa;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 15px 17px rgba(255, 255, 255, 0.8), inset 0 -5px 12px rgba(0, 0, 0, 0.02);
}

button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
    border-color: #aaa #bbb #bbb;
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5), inset 0 2px 5px rgba(0, 0, 0, 0.15);
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea {
    color: #666;
    border: 1px solid #ccc;
    border-radius: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus {
    color: #111;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"] {
    padding: 3px;
    padding-left: 12px;
}

textarea {
    padding-left: 3px;
    width: 100%;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
    color: royalblue;
}

a:visited {
    color: purple;
}

a:hover,
a:focus,
a:active {
    color: midnightblue;
}

a:focus {
    outline: thin dotted;
}

a:hover,
a:active {
    outline: 0;
}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.main-navigation {
    clear: both;
    display: block;
    float: left;
    width: 100%;
}

.main-navigation ul {
    display: none;
    list-style: none;
    margin: 0;
    padding-left: 0;
}

.main-navigation li {
    float: left;
    position: relative;
}

.main-navigation a {
    display: block;
    text-decoration: none;
}

.main-navigation ul ul {
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
    float: left;
    position: absolute;
    top: 1.5em;
    left: -999em;
    z-index: 99999;
}

.main-navigation ul ul ul {
    left: -999em;
    top: 0;
}

.main-navigation ul ul a {
    width: 200px;
}

.main-navigation ul ul li {

}

.main-navigation li:hover > a,
.main-navigation li.focus > a {
}

.main-navigation ul ul :hover > a,
.main-navigation ul ul .focus > a {
}

.main-navigation ul ul a:hover,
.main-navigation ul ul a.focus {
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
    left: auto;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
    left: 100%;
}

.main-navigation .current_page_item > a,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_ancestor > a {
}

.menuwrap .menu-item > a{
    text-transform: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
    display: block;
}

@media screen and (min-width: 37.5em) {
    .menu-toggle {
        display: none;
    }
    .main-navigation ul {
        display: block;
    }
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
    margin: 0 0 1.5em;
    overflow: hidden;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
    float: left;
    width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
    float: right;
    text-align: right;
    width: 50%;
}
.sub-menu > li > a{
    font-weight: normal;
}
.sub-menu > li{
    border:none !important;
    padding-bottom: 0px !important;
    padding-top: 0px !important;
}
.sub-menu > .menu-item-has-children > .sub-menu > li{
    margin-left: 50px !important;
}
@media (max-width:768px){
    .sub-menu > .menu-item-has-children > .sub-menu > li{
        margin-left: 0px !important;
    }
}
ul.sub-menu{
    margin-left: 0px !important;
}
ul.sub-menu > li > ul.sub-menu{
    padding-left: 0px !important;
}
#responsive-menu .responsive-menu li li li a{
    text-transform: capitalize !important;
}
#responsive-menu .responsive-menu li li li li a{
    text-transform: capitalize !important;
}
#menu-mobiili > li > a,
#menu-mobiili > li > .sub-menu > li > a
{
    font-weight: bold;
}
#menu-mobiili .current-sub-menu{
    background-color: #ededed;
}
#responsive-menu .appendLink {
    background-color: transparent !important;
}
.menu-grey-bg{
    background-color: #ededed;
}
.jokukuva{
    height: 130px;
    margin: 0 auto;
    width: 100%;
    text-align: center;
    object-fit: cover;
}
.jokukuva-mobiili{
    height: 120px;
    margin: 0 auto;
    width: 100%;
    text-align: center;
    object-fit: cover;
}
._image-source{
    cursor: pointer;
}
._image-target{
    margin:0 auto;
}
.bx-wrapper{
    margin-bottom: 0px !important;
    /*max-width: 750px !important;*/
}
.slider-nav > .bx-wrapper{
    margin-top: 10px !important;
    -moz-box-shadow: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    border: 0px;
}
.slider-nav > .bx-wrapper img{
    margin:0px auto;
}
@media (max-width:767px){
    .nav-slider > .bx-wrapper{
        margin-top: 10px !important;
    }
}
.nav-slider > .bx-wrapper{
    -moz-box-shadow: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    border: 0px;
}
.nav-slider > .bx-wrapper img{
    margin:0px auto;
}
.nav-slider > .bx-wrapper > .bx-viewport{
    height:390px !important;
}
.nav-slider > .bx-wrapper > .bx-controls > .bx-controls-direction > .bx-next{
    right: initial !important;
    top:100% !important;
    left: 45% !important;
    transform: rotate(90deg);
}
.nav-slider > .bx-wrapper > .bx-controls > .bx-controls-direction > .bx-prev{
    right: initial !important;
    top:0px !important;
    left: 45% !important;
    transform: rotate(90deg);
}
.bx-default-pager{
    display: none;
}
@media (min-width:768px){
    .bxslider{
        min-height: 200px;
        /* min-height: 200px; */
    }
}
/*.product_categories{
    border-top: none;
    border-bottom: 1px solid #c0c5c2;
}
.product_categories:last-of-type{
    border-bottom: none;
}
.product_categories > li{
    padding-top: 15px !important;
    padding-bottom: 15px !important;
    font-weight: bold;
    border-bottom: 1px solid #797979 !important;
    border-top: none;
}
.product_categories > li:last-of-type{
    border-bottom: none !important;
}
.alamenuwrap > .widget-area > ul.product_categories > li{
    border: none;
}
.alamenuwrap ul.product_categories li,
.alamenuwrap ul.product_categories li:last-of-type{
    border: none;
    padding-top:0px;
    padding-bottom:0px;
}
.products_list > li{
    margin-left: 50px;
}
.products_list > li > a{
    font-weight: normal;
}
ul.children > li{
    padding-left: 10px;
}
ul.children > li > a{
    font-weight: normal;
}*/
/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.screen-reader-text:hover,
.screen-reader-text:active,
.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000; /* Above WP toolbar. */
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
    display: inline;
    float: left;
    margin-right: 1.5em;
}

.alignright {
    display: inline;
    float: right;
    margin-left: 1.5em;
}

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

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
    content: "";
    display: table;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
    clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
    margin: 0 0 1.5em;
}

/* Make sure select elements fit in widgets. */
.widget select {
    max-width: 100%;
}

/* Search widget. */
.widget_search .search-submit {
    display: none;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {
    display: block;
}

.hentry {
    margin: 0 0 1.5em;
}

.byline,
.updated:not(.published) {
    display: none;
}

.single .byline,
.group-blog .byline {
    display: inline;
}

.page-content,
.entry-content,
.entry-summary {
    margin: 1.5em 0 0;
}

.page-links {
    clear: both;
    margin: 0 0 1.5em;
}

/*--------------------------------------------------------------
## Asides
--------------------------------------------------------------*/
.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
    display: none;
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
    word-wrap: break-word;
}

.bypostauthor {
    display: block;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
    display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
    display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
    border: none;
    margin-bottom: 0;
    margin-top: 0;
    padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
    max-width: 100%;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
    margin-bottom: 1.5em;
    max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
    display: block;
    margin: 0 auto;
}

.wp-caption-text {
    text-align: center;
}

.wp-caption .wp-caption-text {
    margin: 0.8075em 0;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
    margin-bottom: 1.5em;
}

.gallery-item {
    display: inline-block;
    text-align: center;
    vertical-align: top;
    width: 100%;
}

.gallery-columns-2 .gallery-item {
    max-width: 50%;
}

.gallery-columns-3 .gallery-item {
    max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
    max-width: 25%;
}

.gallery-columns-5 .gallery-item {
    max-width: 20%;
}

.gallery-columns-6 .gallery-item {
    max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
    max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
    max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
    max-width: 11.11%;
}

.gallery-caption {
    display: block;
}

body{
    font-family: 'Open Sans', sans-serif !important;
    overflow-x: hidden;
}

input{
      font-family: 'Open Sans', sans-serif;
}

.normalheader{
    margin-bottom: 20px;
}

.bgwrap{
    background-color: #def0f5;
    padding-top: 30px;
    padding-bottom: 30px;
    margin-left: 0;
    margin-right: 0;
}
@media(max-width:767px){
    .bgwrap{
        padding-bottom: 0px;
    }
}

.headerwrap.bgwrap{
    padding: 0;
    padding-bottom: 0px;
}

@media (min-width: 768px){
    .bgwrap {
        /*background: url('img/bgc.jpg') repeat-x;*/
    }
}

.menuwrap{
    text-align: left;
}

.secondarylogo{
    text-align: center;
    margin: auto;
    margin-bottom: 20px!important;
    margin-top: 30px!important;

}
.secondarylogo a > img{

    margin: 0 auto;
}
.ingressi{
    background-color: #ededed;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 50px;
    padding-right:50px;
    margin-top: 1.5em;
    margin-bottom: 1.5em;
}
.ingressi > h1{
    margin-top: 0px !important;

}
.ingressi > p:last-of-type{
    margin-bottom: 0px;
}
@media (max-width:768px){
    .ingressi{
        padding-left: 5px;
        padding-right:5px;
    }
}
.search-submit{
    display: none;
}
.search-form{
    position: absolute;
    right: 3%;
    top:-3px;
    width:200px;
}
@media (max-width:991px){
    .search-form{
        position: absolute;
        right: 3%;
        top:0px;
        width:150px;
    }
}
.container-no-padding{
    padding-left: 0px !important;
    padding-right: 0px !important;
    overflow: hidden;
}
.container-no-padding img{
    margin: 0 auto;
}
.menu-menu-container{
    position: relative;
}
.no-pointer{
    cursor: default;
}
#menu-tuotteet .current-sub-menu,
#menu-tuotteet .current-sub-menu > a,
#menu-tuotteet .current-sub-menu > .sub-menu,
#menu-tuotteet .current-sub-menu > .sub-menu > li > a,
#menu-tuotteet-1 .current-sub-menu,
#menu-tuotteet-1 .current-sub-menu > a,
#menu-tuotteet-1 .current-sub-menu > .sub-menu,
#menu-tuotteet-1 .current-sub-menu > .sub-menu > li > a
{
    color: #cc0000 !important;
}
.current-item > a{
    font-weight: bold !important;
}
.fullwidth{
  width: 100%;
}
.formiwrap{
  position: absolute;
  margin: 0 auto;
  left: 0;
  right: 0;
  bottom: 0;
  padding-bottom: 0;
  width: 100%;
}
@media(max-width:768px){
    padding: 20px;
}
.itseform{
  min-height: 220px;
  display: none;
  background-color: #b8b7b7;
  padding-top:20px;
  padding-bottom:20px;
  padding-left: 30%;
  padding-right:30%;
  /*padding: 20px;*/
  /*position: absolute;*/
  bottom: 60px;
}
@media(max-width:768px){
    .itseform{
        padding-left: 10%;
        padding-right:10%;
    }
}
.itseform p{
  margin-bottom: 3px;
}


.ajax-loader{
  display: none;
}

.itseform label{
  color:#101010;
  font-weight: bold;
}

.itseform input, .itseform textarea{
  border: none;

  border-radius: 0;
}

.rotate {
  /*background: #acb7c1;*/
  color: #FFF;
  display: inline-block;
  padding: 5px 10px;
  width: 100%;
  display: inline-block;
  text-align: center;
  font-size: 22px;
  font-weight: bold;
  cursor: default !important;
/*margin-top:50px;*/

  background-color: #cc9933;

}
.rotate:hover, .sulje:hover{cursor: pointer;}
textarea{
  padding-bottom: 0;
}

.sulje{
  /*float:right;*/
  margin-left: 5px;
  display: inline-block;

}

.sulje a i{
  color:#FFF;
}

.sulje a:hover i{
  color:#FFF;
  text-decoration: none;
}

.menuwrap ul,.secondarymenuwrap ul{
    list-style-type: none;
    display: inline-block;
    margin: 0;
    padding: 0;
}

.menuwrap ul li:not(first-of-type),.secondarymenuwrap ul li{
    display: inline-block;
}
.menuwrap ul li > a{
    font-size: 16px !important;
    text-transform: uppercase !important;
    transition: all 0.3s ease 0s;
}

.carouselwrapper{
    margin-bottom: 0px;
}

.boxheader{
    /*text-align: center;
    margin: 0;
    font-size: 24px;
    line-height: 24px;
    padding: 5px 0;*/
    /*text-align: center;*/
    margin: 0px;
    padding-top: 20px;
    padding-bottom: 20px;
    font-weight: bold;
    font-size: 22px !important;
    line-height: 28px;
    background-color: transparent !important;
    /*padding: 5px 0;/*
    background-color: transparent !important;
    /*color: #2a476c !important;*/
}
.boxlinkwrap{
    /*margin-bottom:10px;*/
}
.newswrap .newsblock:not(:first-of-type){
    padding-top: 30px;
}
.newsblock{

    /*padding: 10px;*/
    padding-left:15px;
    /*padding-top: 30px;*/
}


/*.wysiwyg,*/ .formwrap{
    padding: 10px;
}




.footerwrap{
  width: 100%;
font-family: 'Open Sans', sans-serif;
/*font-weight: bold;*/
font-size: 16px;

    display: -webkit-flex;
    -webkit-align-items: center;
    -webkit-justify-content: center;
    display: flex;
    align-items: center;
    justify-content: center;
      display: block;
}


.bread{
    padding: 15px 0;
    border-bottom: 1px solid #4bb3e3;
}

.alacontent{
    /*padding-top: 15px;*/
}

.alamenuwrap > .widget-area{
  background-color: #eeeeef;
}

.alamenuwrap ul{
    padding: 0;
    margin: 0;
    list-style-type: none;
}

.alamenuwrap ul li{
    padding:15px 0;
    border-top: 1px solid #c0c5c2;
}

.alamenuwrap ul li:last-of-type{
  border-bottom: 1px solid #c0c5c2;
}

.alamenuwrap ul li a{
    padding: 0 15px;
    display: inline-block;
    text-transform: none;
}

.gallerywrap{
    margin-top: 75px;
}

.galleriaitem{
    margin-bottom: 15px;
    display:block;
    margin:auto;
    max-width: 300px;
}

.nosto h2{
 margin-top: 0;
}

input{
    width: 100%;
}

input[type="submit"], input[type="submit"]:hover{
    width: 100%;
    /*background: transparent;*/
    background-color: #fff;
    color:#020202 !important;
    background-image: none;
    border-color: transparent;
    box-shadow: none;
    padding: 30px 0;
    margin: 0;
    height: 33px;
    font-size: 34px;
    font-weight: 300;
    line-height: 0px;
}

input[type="submit"]:hover{
  color: #FFF;
}
.saitin-logo{
        margin-top: 10px !important;
}
@media(max-width:400px){
    .saitin-logo{
        margin: 0px !important;
        margin-top: 10px !important;
        margin-right: 20px !important;
        max-width: 70%;
    }
}
@media(max-width:767px){
    .personheader{
        text-align: center;
    }
    .tuotewrapper{
        max-width: 360px;
        margin: 0px auto;
    }
    .row-margin-not-mobile{
        margin-top: 0px;
    }
    .navbar-toggle{
        /*display: none;*/
    }
    button.navbar-toggle{
        background-color: white !important;
        border-color:  #4bb3e3 !important;
        border-radius: 5px;
        border: 2px solid;
        margin-top: 12px;
        padding: 5px 5px;
    }
    .navbar-toggle span.icon-bar{
        background-color: #4bb3e3 !important;
        width: 30px;
        height: 3px;
        margin-bottom: 6px;
    }
    .icon-bar:last-of-type{
        margin-bottom: 0px !important;
    }
    .menuwrap ul li:first-of-type{
        border-top: 1px solid #4bb3e3;
    }
    .navbar-collapse {
        border-top: 0px solid transparent;
        -webkit-box-shadow: inset 0 0px 0 rgba(255,255,255,.1);
        box-shadow: inset 0 0px 0 rgba(255,255,255,.1);
    }
    .menuwrap ul li{
        display: block !important;
        border-bottom: 1px solid #4bb3e3;
    }
    .alamenuwrap{
        display: none;
    }
}
/*#click-menu{
    left:30px !important;
    top: 80px !important;
    right: initial !important;
}*/
#click-menu{
    z-index: 99 !important;
}
#responsive-menu .appendLink{
    border-left: 0px !important;
}
@media (max-width:380px){
    #click-menu{
        left:0px !important;
        top: 80px !important;
        right: initial !important;
    }
    .haku{
        right: 5px !important;
    }
}
#responsive-menu{
    top:54px !important;
    box-shadow: 0px 0px 0px #fff !important;
}
#responsive-menu.admin-bar-showing {
    padding-top: 0px !important;
}
.wpcf7-not-valid-tip{
  display: none!important;
}

.wpcf7-not-valid{
  background: pink;
}

.wpcf7-validation-errors{
  display: none!important;
}

.screen-reader-response ul{
  list-style-type: none;
  padding: 0;
  margin: 0;
}



.personinfo{
    list-style-type: none;
    margin: 0;
    padding: 0;
}

aside ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.sidebarwrap{
    margin-top: 30px;
}

.navbar-brand{
  min-height:50px!important;
  height:auto!important;
}

.metaslider .caption-wrap {
    position: absolute!important;
    bottom: -100%!important;
    margin-bottom: -100%!important;
    left: 0!important;
    background: #f2973b!important;
    color: #FFFFFF!important;
    opacity: 1!important;
    margin: 0!important;
    display: block!important;
    width: 100%!important;
    line-height: 1.4em!important;
    top: 0!important;
    bottom: 0!important;
    margin: auto!important;
    display: -webkit-flex!important;
    -webkit-align-items: center!important;
    -webkit-justify-content: center!important;
    display: flex!important;
    align-items: center!important;
    justify-content: center!important;

    margin-top:0!important;
    text-align: center;

}

.caption{
    font-size: 42px;
    font-weight: bold;
    line-height: 48px;
}

.caption ul.captionlist li{
    list-style-type: disc!important;

}

.caption ul li, .caption>a ,.caption h1, .caption p{
    color:#FFFFFF!important;
}

.caption h1{
    font-size: 18px;
    margin: 0;
    margin-bottom: 5px;
}

.caption ul li, .caption a, .caption p{
    font-size: 14px;
    margin: 0;
    margin-bottom: 5px;
}



.facewrap h3{
    font-size: 22px;
    margin-top: 30px;
    margin-bottom: 30px;
    font-weight: bold;

}

.karusellikuva .slides {


}

#footer{
  padding-top: 10px;
  padding-bottom: 30px;
  line-height: 26px;
}

.latestnews{
    margin: 0;
    padding: 0;
    list-style-type: none;
}

/*.latestnews li:first-of-type{

    border-top: 1px solid #2c75b6;
    /*border-bottom: 1px solid #3a3a3a;*/
}
/*.latestnews li{
    border-bottom: 1px solid #2c75b6;*/
}
.latestnews li > a{
    color: #1d1d1b;
}
.latestnews li{
    padding: 10px 0px;
}


.tarina{
  padding:20px 0;
  border-bottom: 1px solid #c0c5c2;
  display: block;
  position: relative;
  float: left;
}

.vasenwrap{
  padding-top: 15px;
}

.viiva{
  border-bottom: 1px solid #c0c5c2;
  padding: 20px 0;
  margin-bottom: 75px;
  display: none;
}


.mobile ul li{
    text-align: left;
    display: block;
    padding: 15px 0;
    padding-left: 30px;
}

.mobile ul li a{
    font-size: 18px;
}

.navbar-default .navbar-collapse, .navbar-default .navbar-form{
    border: 0!important;
}

.navbar-default{
    background-image: none!important;
    border: none!important;
    box-shadow: none!important;
    background-color: #000;
}

.navbar-brand{
    width: 80%;
}

.logo{
    text-align: center;
}

.mobile ul{
        /* padding-top: 30px; */
    /*display: inherit;*/
    /*position: absolute;*/
    width: 100%;
    z-index: 2;
    background-color: white;
    left: 0px;

}

.metaslider .caption {
  padding: 5px 10px;
  word-wrap: break-word;
  width: 100%!important;
}

.ezcol {
  width:100%;
}

.ezcol img{
  margin: auto;
  width: 100%;
}

.hideme{
  display: none;
}

  .fullwidthmobile{
    width: 100%!important;
  }

  .ezcol.ezcol-one-third,.ezcol.ezcol-two-third{
    width: 100%!important;
  }

  .menu li{
    margin-left: 0;
  }

.slides li img{
  /*visibility: hidden!important;*/
  height: 200px;

}

.contentwrapper, .contentwrap{
/*  margin-bottom: 50px; */
}

.contentwrapper, .nostowrappi, .formiwrap{
  position: relative;
}
.navbar-toggle{
  background-color: #acacac;
}

ul{
  list-style-type: none;

}

.colul{
  margin: 20px 0;
  padding: 0;
}

#footer{
  font-size: 16px;
}

.metaslider .flexslider{
    margin: 0px !important;
}

.menu, #footer{
    font-family: 'Open Sans', sans-serif;
}
body.custom-background {
    background-size: cover;
}

p{
    font-size: 16px!important;
    line-height: 22px!important;
}
@media(min-width:768px){
    h1{
        font-size: 40px !important;
        font-weight: 300;
    }
}

@media(max-width:767px){
    .custom-background{
        background-image: none !important;
    }
    h1 {
        font-size: 32px !important;
        font-weight: 300;
    }
    p{
        font-size: 15px!important;
        line-height: 22px!important;
    }
}
h2,h3,h4{
    font-size: 20px!important;
    line-height: 26px!important;
    font-weight: 400;
}
h4{
    color: #020202 !important;
    font-weight: 400;
}
.postdate_line,
.posttext_line,
.posttitle_line{
    display: block;
    padding-bottom: 15px;
}
.posttitle_line{
    font-size: 22px;
    font-weight: 800;
}
.postlink_line{
    font-weight: 600;
    color: #89a0b6;
}
@media (min-width: 768px) {

    .rivi{
        padding: 20px 0;
        border-top: 1px solid #1d1d1d;
    }

  .secondarylogo{
      text-align: center;
      margin: auto;
      margin-bottom: 45px!important;
      margin-top: 45px!important;
      /*background: url(img/bg.jpg) no-repeat center center;
      background-size: cover;*/
  }


  .slides li img{
  visibility: visible!important;
  height: auto;

}

  .caption h1{
    font-size: 18px;
    margin: 12px 0;

}

.caption ul li, .caption a, .caption p{
    font-size: 14px;
    margin: 12px 0;

}

  .viiva{
  border-bottom: 1px solid #c0c5c2;
  padding: 20px 0;
  margin-bottom: 75px;
  display: block;
}


  .hideme{
  display: none;
}

  .metaslider .caption-wrap {
    position: absolute!important;
    bottom: 0!important;
    left: 0!important;
    background: #f2973b!important;
    color: #FFFFFF!important;
    opacity: .9!important;
    margin: 0!important;
    display: block!important;
    width: 40%!important;
    line-height: 1.4em!important;
    top: 0!important;
    bottom: 0!important;
    margin: auto!important;
    display: -webkit-flex!important;
    -webkit-align-items: center!important;
    -webkit-justify-content: left!important;
    display: flex!important;
    align-items: center!important;
    justify-content: left!important;
    padding-left: 0;
    margin-top:6px!important;

}

  .footerwrap{

}


  .logo{
        text-align: left;
    }
    .menuwrap ul li,.secondarymenuwrap ul li{
        display: inline-block;
        margin-left: 8px;

    }
    .table-row {
        display: table;
        table-layout: fixed;
        width: 100%;
    }



    .table-row [class^="col-"] {
        display: table-cell;
        float: none;
        vertical-align: middle;
    }

        .tarina [class^="col-"] {
        display: table-cell;
        float: none;
        vertical-align: middle;
    }
}

@media(min-width: 992px){

  .ezcol.ezcol-one-third{
   width: 30.666%!important;
  }

    .ezcol.ezcol-two-third {
    width: 65.334%!important;
}
    .fullwidthmobile{
    width: auto!important;
  }
  .hideme{
  display: inline-block;
}

.ezcol-two-third {
  width: 65.334%!important;
}



.ezcol-one-third {
  width: 30.666%!important;
}
  .caption h1{
    font-size: 28px;
}

.caption ul li, .caption>a, .caption p{
    font-size: 20px;
}

    .menuwrap ul li:not(first-of-type),.secondarymenuwrap ul li:not(:first-of-type){
        display: inline-block;
    }

    .menuwrap ul li a,.secondarymenuwrap ul li a{
      font-size: 14px;
    }


.metaslider .caption-wrap {
    position: absolute!important;
    bottom: 0!important;
    left: 0!important;
    background: #f2973b!important;
    color: #FFFFFF!important;
    opacity: .9!important;
    margin: 0!important;
    display: block!important;
    width: 40%!important;
    line-height: 1.4em!important;
    top: 0!important;
    bottom: 0!important;
    margin: auto!important;
    display: -webkit-flex!important;
    -webkit-align-items: center!important;
    -webkit-justify-content: left!important;
    display: flex!important;
    align-items: center!important;
    justify-content: left!important;
    padding-left: 0;
    margin-top:8px!important;

}

}

@media(min-width: 1200px){

  #footer{
    padding-top: 10px;
    padding-bottom: 30px;
    line-height: 26px;
}

.metaslider .caption-wrap {
    position: absolute!important;
    bottom: 0!important;
    left: 0!important;
    background: #f2973b!important;
    color: #FFFFFF!important;
    opacity: .9!important;
    margin: 0!important;
    display: block!important;
    width: 40%!important;
    line-height: 1.4em!important;
    top: 0!important;
    bottom: 0!important;
    margin: auto!important;
    display: -webkit-flex!important;
    -webkit-align-items: center!important;
    -webkit-justify-content: left!important;
    display: flex!important;
    align-items: center!important;
    justify-content: left!important;
    padding-left: 100px;
    text-align: left;
    margin-top:10px!important;

}

    .menuwrap ul li:not(:first-of-type)/*,.secondarymenuwrap ul li:not(:first-of-type)*/{
        display: inline-block;
        margin-left: 30px;

    }
       .menuwrap ul li a,.secondarymenuwrap ul li a{
      font-size: 16px;
    }
}
.footerkuva{
    display: inline-block;
    float:right;
    margin-top:20px;
    margin-left: 20px;
}
@media (max-width:1199px){
    .footerkuva{
        display: block;
        float: none;
        margin: auto;
        margin-top:20px;
        margin-bottom: 20px;
    }
}
.somekuva{
    margin-bottom: 20px;
}
@media(max-width:991px){
    .personinfo
    {
        margin: auto;
        text-align: center;
        margin-bottom: 30px !important;
    }
    .facewrap > .img-responsive,
    .facewrap + h3,
    .personinfo
    {
        margin: auto;
        text-align: center;
    }
}
@media (max-width:767px){
    .nostowrap, .newswrap, .boxheader{
        text-align: center !important;
    }
    .facewrap > .img-responsive,
    .facewrap + h3,
    .personinfo
    {
        margin: auto;
        text-align: center;
    }

}
.redball{
    background-color: #cc0000;
    display: inline-block;
    height:10px;
    width: 10px;
    border-radius: 5px;
    margin-left: 10px;
    margin-right: 5px;
    margin-bottom: 1px;
}
.redball:last-of-type{
    display: none !important;
}
.hiddenoverflow{
    overflow: hidden;
}
.ala-ingressi{
    width: 60%;
    margin: 0 auto;
}
.container-fluid{
    /*background-color: #fff;*/
}
.wrap-to-middle,
.center{
    text-align: center;
    margin: 0 auto;
}
.wrap-to-middle img{
    margin: 0 auto;
}

.solution-wrapper{
    text-align: center;
    cursor: pointer;
}
.solution-wrapper-fp,
.solution-wrapper{
    background-color: white;
    padding-bottom: 20px;
}
.solution-wrapper img,
.solution-wrapper-fp img{
    padding: 10px;
    margin: 0 auto;
}
.solutions{
    /*min-height: 750px;*/
}
.popup{
    display: none;
    /*position: absolute;
    height: 720px;
    z-index: 2;*/
    background-color: #e7f1fb;
    margin-bottom: 30px;
}
.close-popup{
    position: absolute;
    right:0px;
    cursor: pointer;
    z-index: 3;
}
.close-popup-yhteys,
.close-popup-kommentti{
    display: block;
    float: right;
    margin-bottom: 20px;
    margin-top: 20px;
    cursor: pointer;
    margin-right: 15px;
}
a.vierailuohje{
    cursor: pointer;
}
.vierailuohjeet{
    display: none;
}
.info-row{
    display: none;
}
.bx-wrapper {
    -moz-box-shadow: 0 0 0px #fff !important;
    -webkit-box-shadow: 0 0 0px #fff !important;
    box-shadow: 0 0 0px #fff !important;
    border: 0px solid #fff !important;
}
#seuraava {
    border-right:3px solid #abb8c2;
    border-bottom:3px solid #abb8c2;
    width:30px;
    height:30px;
    transform: rotate(-45deg);

    position: absolute;
    top: 30%;
    right:10%;

    z-index: 3;
    cursor:pointer;
}
#edellinen {
    border-right:3px solid #abb8c2;
    border-bottom:3px solid #abb8c2;
    width:30px;
    height:30px;
    transform: rotate(135deg);

    position: absolute;
    top: 30%;
    left:10%;

    z-index: 3;
    cursor:pointer;
}
@media(max-width:1600px){
    #edellinen {
        left:5%;
    }
    #seuraava {
        right:5%;
    }
}
@media(max-width:1199px){
    #edellinen {
        left:0px;
    }
    #seuraava {
        right:0px;
    }
}
@media (max-width:1100px){
    #edellinen {
        left:-20px;
    }
    #seuraava {
        right:-20px;
    }
}
@media (max-width:767px){
    #seuraava{
        width: 30px;
        height: 30px;
        right: -15px;
        top: 35%;
    }
    #edellinen{
        width: 30px;
        height: 30px;
        left: -15px;
        top: 35%;
    }
}
@media (max-width:450px){
    #seuraava{
        width: 20px;
        height: 20px;
        right: -15px;
    }
    #edellinen{
        width: 20px;
        height: 20px;
        left: -15px;
    }
}
.rela{
    position: relative;
}
.bx-next,
.bx-prev{
    display: none;
}
.leima{
    max-width: 35%;
    position: absolute;
    top: 200px;
}
.leimateksti{
    max-width: 64%;
    padding-right: 10px;
    float: right;
}
.inline{
    display: inline-block;
}
.myynti{
    background-color: #acb7c1;
    padding:10px 30px;
    color: #fff;

    font-weight: 800;
    font-size: 22px;

    position: absolute;
    top: -50px;
    right:15px;
}
li.menu-item > a{
    font-size: 20px !important;
    line-height: 35px;
}

.popup .center{
    width: 80%;
}
@media(max-width:767px){
    .navbar-brand{
        width: 100%;
    }
    .navbar-brand img{
        margin:0 auto;
    }
    .myynti{
        width: 100%;
        right: 0px;
        overflow: hidden;
        text-align: center;
    }
    .popup .center{
        width: 80%;
    }
}
@media(max-width:465px){
    .navbar-brand img{
        max-width: 180px;
        margin-top: 7px;
    }
}
@media(max-width:400px){
    .popup .center{
        width: 100%;
        margin-top: 80px;
    }
}
.footer-height{
    min-height: 660px;
}
.solution-wrapper a h1{
    padding:10px;
}
.bottom-margin{
    margin-bottom: 30px;
}
.bottom-margin-large{
    margin-bottom: 50px;
}
.footer a{
    color: white !important;
}
#footer p{
    margin-bottom: 10px;
    display: inline-block;
}
@media (max-width:767px){
    .footer{
        padding-left: 15px;
        padding-right: 15px;
    }
    .ala-ingressi{
        width: 100%;
        padding-left: 30px;
        padding-right: 30px;
    }
    .mobiili-paddy{
        padding-left: 30px;
        padding-right: 30px;
    }
}
.desktop-paddy{
    padding-left: 30px;
    padding-right: 30px;
}
.myynti > a{
    color: white !important;
}

.oma-table{
    display: table;
    min-height: 120px;
    width: 100%;

    margin-bottom: 20px;
}
@media(max-width:991px){
    .oma-table{
        min-height: 0px;
    }
}
.oma-row{
    display: table-row;
}
.asiakaslist .cont{
    display: table-cell;

    vertical-align: middle;
}
.asiakaslist img{
    margin: 0 auto;
    /*min-height: 150px;*/
}
.asiakaslist div p:last-of-type{
    margin-bottom: 0px;
}
.asiakas,
.alkuunhidden{
    display: none;
}
.luelisaa{
    /*color: #89a0b6;
    font-weight: bold;*/
    cursor: pointer;
}
.keskitetty{
    text-align: center;
}

.tekstia + h1,
.tekstia + h2,
.tekstia + h3,
.tekstia + h4,
.tekstia + h5,
.tekstia + h6{
    margin-top: 0px;
}
.isokuva{
    margin-bottom: 30px;
}
.no-padding{
    padding: 0px;
}

.oma-ingressi h1{
    margin-top: 0px;
    font-weight: normal;
    font-size: 36px !important;
}
.oma-ingressi p{
    font-weight: normal;
    font-size: 20px !important;
}
@media(min-width:768px){
    .oma-ingressi p{
        padding: 0px 150px;
    }
}
.nostowrap .boxheader,
.nostowrap .wysiwyg,
.tapahtumatwrap,
.newsblock,
.loppulinkkiwrap{
    padding-left: 15px;
    padding-right: 15px;
}
.nostowrap .wysiwyg p{
    margin: 0px;
    padding-bottom: 20px;
}

.kat_otsikko{
    text-align: center;
    font-size: 36px;
    font-weight: 300;
}

.kat p:first-of-type{
    margin-bottom: 0px;
}
.kat a{
    font-weight: bold;
    font-size: 24px;
}

.itseform textarea,
.itseform input[type="text"],
.itseform input[type="email"],
.itseform input[type="tel"]{
    margin-bottom: 10px;
    padding: 5px 10px;
}
.itseform h1{
    margin-top: 10px;
    margin-bottom: 30px;
    text-align: center;
    font-size: 24px !important;
    font-weight: 300;
    color: #101010;
}

.personinfo h6{
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: normal;
}
.personheader,
.personinfo h3{
    font-size: 22px !important;
    font-weight: bold;
    margin-bottom: 0px;
}
.personinfo p{
    margin: 0px !important;
}

.post_date{
    display: block;
    font-size: 20px;
    font-weight: bold;
}
.posttitle_link{
    display: block;
}
.posttitle{
    font-size: 20px;
    font-weight: bold;
}
.tapahtumatwrap .post_date:not(:first-of-type){
    padding-top: 30px;
}
.loppulinkki{
    display: block;
    padding: 30px 0px;
    color: #e4022d !important;
    font-size: 20px;
    font-weight: bold;
}
.red{
    color: #e4022d !important;
    padding-left: 3px;
}

@media(max-width:767px){
    .postcontent,
    .newsblock a div,
    .posttitle,
    .post_date{
        font-size: 15px !important;
    }
}

.postcontent,
.newsblock a div{
    font-size: 20px;
    font-weight: 300;
}
.blokki{
    display: block;
}

.tapahtumatwrap .blokki:not(:first-of-type){
    padding-top: 30px;
}
.no-bottom-padding,
.no-bottom-padding p{
    padding-bottom: 0px !important;
}

.jokutausta{
    width: 100%;
    min-height: 200px;
    margin-bottom: 10px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.tapahtumanotsikko{
    text-transform: uppercase;
    font-weight: bold;
}

@media(min-width:768px){
    h1.tapahtumanotsikko{
        padding: 0px 70px;
    }
}
.sulkemis-ikoni{
    position: absolute;
    top: 0px;
    right: 15px;
    cursor: pointer;
}
@media(max-width:767px){
    .sulkemis-ikoni{
        position: relative;
        display: block;
        float: right;
    }
}

.tapahtumainfo{
    display: none;
    background-color: #191919;
}
.tapahtumainfo .row{
    display: none;
}

h1.article-title{
    font-size: 36px !important;
    font-weight: 300;
}

h1.uutiset-title{
    margin-top: 23px;
    font-size: 22px !important;
    font-weight: bold;
    text-transform: uppercase;
    color: #2c75b6;
}

.autoglymlogo{
    position: absolute;
    right: 15px;
    top: 20px;
}

.custom.tparrows{
    background: transparent !important;
    border: 2px solid #838383;
    color: #838383;
}
.custom.tparrows:before{
    color: #838383;
}

#footer p{
    margin-top: 0px;
}
@media(min-width:768px){
    .somelinkit{
        display: inline-block;
        float: right;
        margin-top: -10px;
        margin-left: 20px;
    }
}
@media(max-width:991px){
    #footer p{
        max-width: 575px;
    }
}
@media(max-width:767px){
    #footer p{
        max-width: 1000px;
        width: 100%;
        text-align: center !important;
        font-size: 16px !important;
        font-weight: normal !important;
        margin-bottom: 20px;
    }
    #footer{
        text-align: center;
    }
    .somelinkit{
        display: inline-block;
    }
    .navbar-brand{
        width: 60%;
    }
    .menuwrap ul li{
        margin-left: 0px !important;
    }
    .navbar{
        margin-bottom: 5px;
    }
    .bgwrap{
        padding-top: 0px;
    }
}

@media(min-width:768px){
    .holderi + h3,
    .holderi + h4,
    .holderi + h5,
    .holderi + h6,
    .holderi + p{
        margin-top: 75px;
    }
}
@media(max-width:767px){
    .personinfo{
        margin-bottom: 30px;
    }

    .boxlinkwrap + .boxheader{
        text-align: left !important;
        padding-left: 0px !important;
    }
    .boxlinkwrap + .boxheader + .wysiwyg{
        padding-left: 0px !important;
    }
    .boxlinkwrap + .boxheader + .wysiwyg p{
        text-align: left !important;
    }
    .boxlinkwrap + .boxheader + .wysiwyg + p{
        text-align: left !important;
        margin-top: 0px;
    }
}

.navbar-default .navbar-collapse{
    position: absolute;
    width: 100%;
    height: 350px;
    z-index: 10;
    background-color: transparent !important;
}

.nosto-bg{
  background-color: rgba(255, 255, 255, 0.5)!important;
  margin: 20px;
}

.linkki{
  margin-top: 0;
  padding-bottom: 25px;
}

.footer p{
  color: #fff;
}

.menuwrap .menu-item > a:hover{
  font-weight: bold !important;
  text-decoration: none !important;
}

.menuwrap .menu-item > a:focus{
  font-weight: bold !important;
  text-decoration: none !important;
}

.navbar-brand{
  display: none;
}

.headerkuva{
  margin-top: 45px;
}

li.menu-item:first-of-type{
  margin-left: 0 !important;
}

.nostowrappi{
  padding-top: 350px;
  padding-bottom: 150px;
}

.oma-ingressi-etusivu{
  padding-top: 100px;
}

.oma-ingressi-etusivu h1{
  color: #000;
}

.menuwrap-footer .menu-paavalikko-container{
  padding-top: 30px;
  color: #fff;
}

@media (min-width:1200px){
  .menuwrap-footer ul li:not(:first-of-type){
      display: inline-block;
      margin-left: 30px;
  }
  .secondarymenuwrap ul li:not(:first-of-type){
    margin-left: 30px;
  }
}

.secondarymenuwrap{
  padding-top: 20px;
}

.secondarymenuwrap ul li > a{
  color: #fff;
  text-transform: uppercase;
  font-size: 16px !important;
  transition: all 0.3s ease 0s;
}

.secondarymenuwrap ul li > a:hover{
  font-weight: bold;
  text-decoration: none;
}

.secondarymenuwrap ul li > a:focus{
  font-weight: bold;
  text-decoration: none;
}

.somelinkit{
  padding-top: 20px;
}

.oikeateksti h2{
  text-transform: uppercase;
  font-weight: bold;
  font-size: 30px !important;
}

.blogiheader{
  padding-top: 0 !important;
}

h3.article-title{
  color: #000;
}

.wp-caption{
  margin: 0;
}

.wp-caption-text{
  text-align: left;
  font-style: italic;
}

hr.blogi-aiheet{
  border: 0;
  height: 1px;
  background: #4bb3e3;
  margin-top: 15px;
  margin-bottom: 10px;
}

.uutisetjaaiheet h3{
  margin-bottom: 10px;
  text-transform: uppercase;
  font-size: 16px !important;
  font-weight: bold !important;
}

@media (max-width:767px){
  .oma-ingressi-etusivu{
    padding-top: 0 !important;
  }
  .nostowrappi{
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
  .nosto-bg{
    margin: 0;
  }
  .some-linkit-wrap{
    text-align: center !important;
  }
  .somelinkit{
    margin-right: 20px;
  }
}

.news2{
  padding-bottom: 10px;
}

p.blog-date-jp{
  margin-bottom: 0px;
}

h3.blog-title-jp{
  margin-top: 15px;
}

h3.blog-title-jp a{
  margin-top: 5px;
  color: #000 !important;
  transition: all 0.3s ease 0s;
}

h3.blog-title-jp a:hover{
  margin-top: 5px;
  color: #2c75b6 !important;
  text-decoration: none;
}

h3.blog-title-jp a:focus{
  margin-top: 5px;
  color: #2c75b6 !important;
  text-decoration: none;
}

p.blog-excerpt-jp{
  margin-bottom: 40px;
}

#categories-2 h1{
  border-top: 1px solid #4bb3e3;
  padding-top: 25px;
}

.page-header{
  padding-bottom: 9px;
  margin: 40px 0 20px;
  border-bottom: 1px solid #4bb3e3;
}

li.cat-item{
  padding-bottom: 15px;
}

#recent-posts-2 ul li{
  padding-bottom: 15px;
}

h1.widget-title{
  margin-bottom: 30px;
  text-transform: uppercase;
  font-size: 16px !important;
  font-weight: bold !important;
}

h1.entry-title a{
  color: #000;
  font-size: 20px;
  font-weight: bold;
}

span.post-date{
 float: left;
 width: 100%;
 margin-bottom: 15px;
 color: #2c75b6;
}
