/*
Theme Name: Talkoolava
Theme URI:
Description:
Author: Mekanismi
Author URI:
Version: 1.1

License:
License URI:

*/


/* HTML5 fixes */
div,article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section {
    display: block;
}
:root{
    --otsikon-vari: #0078BA;
}
*{
  margin:0;
  padding:0;
}

html,body{

}

body {
    color: #000;
    font: 17px/1.6 'Open Sans', sans-serif;
    background: #fff;
    background: -moz-radial-gradient(center, ellipse cover,  rgba(255,255,255,1) 0%, rgba(161,219,255,1) 100%);
    background: -webkit-radial-gradient(center, ellipse cover,  rgba(255,255,255,1) 0%,rgba(161,219,255,1) 100%);
    background: radial-gradient(ellipse at center,  rgba(255,255,255,1) 0%,rgba(161,219,255,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#a1dbff',GradientType=1 );
}
h1,h2,h3,h4,.slogan {
    font-family: 'Open Sans', sans-serif;
    font-weight: bold;
    line-height: 1.3;
    margin:0 0 20px;
    /*color:#0078BA;*/
    color: var(--otsikon-vari);
    letter-spacing: -0.03em;
}
h1 {
    color: rgb(231,98,29);
    font-size: 3em; /* 28/16 */
    line-height: 1;
}
h2 {
    font-size: 2em;
    margin-bottom: 25px;
}

h3 {
    font-size: 1.5em;
    color:#0078BA;
    margin-top: 20px;
}
h4{
    font-size: 1.15em;
    margin-top: 20px;
}
.slogan{
    font-size: 1.3em;
    margin: 0;
    font-style: italic;
    float: left;
    margin-left: 30px;
    text-align: center;
}
.medium .slogan, .small .slogan{
    width: auto;
}
.small .slogan{
    margin-left: 0;
}
p{
margin-bottom:10px;
}

a{
    color:#0078BA;
    border: none;
    outline: none;
    cursor: pointer;
}

a:hover{
    color:rgb(231,98,29);
}
.columns{
    /*border:1px #ccc dotted;*/
}
a img{
    border:none;
}
#content ul, .reveal ul{
    margin:10px 0 25px 10px;
    list-style: none;
}
#content li, .reveal li{
    margin-left:15px;
}
#content ul li:before, .reveal li:before{
    content: '';
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #0078BA;
    float: left;
    margin-left: -18px;
    display: block;
    margin-top: 10px;
}

li a{
    text-decoration: none;
}
.clear{
    clear:both;
}
.left, .alignleft {float:left;}
.right, .alignright  {float:right;}

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


/* foundation tweak -> */
.row.full {
  width: 100%;
  max-width: 100%;
}

.text-right{
    text-align: right;
}
.text-left{
    text-align: left;
}
.text-center{
    text-align: center;
}
@media screen and (max-width: 768px){
    .full-768{
        width: 100%;
    }
}
@media screen and (max-width: 560px){
    .xsmall-12{
        width: 100%;
    }
    .xsmall-6{
        width: 50%;
    }
}

/* <- foundation tweak */

.medium .posteja-5 .columns:last-child{
    width: 100%;
}

.padding-right-0{
    padding-right: 0;
}
.padding-left-0{
    padding-left: 0;
}
.wrap{
    max-width:1200px;
    margin:0 auto;
}
.wrap-500{ max-width:500px;} .wrap-600{ max-width:600px;} .wrap-700{ max-width:700px;} .wrap-800{ max-width:800px;} .wrap-900{ max-width:900px;} .wrap-1000{ max-width:1000px;} .wrap-1100{ max-width:1100px;} .wrap-1200{ max-width:1200px;} .wrap-1300{ max-width:1300px;} .wrap-1400{ max-width:1400px;} .wrap-40pros{ max-width:40%;} .wrap-50pros{ max-width:50%;} .wrap-60pros{ max-width:60%;} .wrap-70pros{ max-width:70%;} .wrap-80pros{ max-width:80%;} .wrap-90pros{ max-width:90%;}

.short-wrap{
    margin-top:-20px;
}


.payment-providers-wrapper {
    text-align: center;
}
.payment-provider-form {
    display: inline-block;
    margin: 2px 2px 10px 2px;
}
.payment-provider-form .payment-provider-button {
    width: 200px;
    height: 200px;
    padding: 10px;
    background-color: #fff;
}
.payment-provider-form .payment-provider-button:hover {
    background-color: #94cbf0;
    cursor: pointer;
}
.payment-provider-form .payment-provider-name {
    text-align: center;
}

img{
    max-width:100%;
    height:auto;
}

blockquote{
    border: 1px solid #ccc;
    text-align: center;
    padding: 40px 20px;
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #ccc;
    font-style: italic;
    font-size: 1.4em;
    margin: 50px 0;
}
blockquote *{
    margin: 0;
    font-style: italic;
}

#header{
    background: url() no-repeat 50% 100%;
    background-size: cover;
    margin-bottom: 5%;
    height: 500px;
    height: 70vh;
    width: 100%;
    position: absolute;
    opacity: 0;
    border-bottom: 10px solid #fff;
    -webkit-transition: opacity 0.5s;
    -moz-transition: opacity 0.5s;
    -o-transition: opacity 0.5s;
    transition: opacity 0.5s;
}
.ready #header{
    opacity: 1;
}
.otsikko {
    position: relative;
    margin: 80px auto;
    max-width: 800px;
    transform: translateY(-300px);
    margin-top: 80px;
    width: 100%;
    text-align: center;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}
.ready .otsikko {
    transform: translateY(0);
    float: none;
}
.otsikko h1 {
    text-align: center;
    color: #fff;
    margin-top: 8%;
    margin: 0 auto;
    font-size: 3.5em;
    padding: 15px 60px;
    letter-spacing: -2px;
    text-shadow: 3px 3px 5px rgba(0,0,0, 0.3);
    background: rgba(8, 163, 240, 0.8);
    box-shadow: 0 0 0 10px rgba(8, 163, 240, 0.4);
    display: inline-block;
}


/* oma slider */

#slider ul{
    list-style: none;
    margin: 0;
    position: relative;
    height: 490px;
}
#slider li{
    position: absolute;
    display: block;
    width: 100%;
    margin: 0;
    z-index: 1;
    overflow: hidden;
    padding: 10% 0;
    height: 100%;
    background-size: cover;
    border-left: 1px solid #fff;
    border-right: 1px solid #fff;
    opacity: 0;
    -webkit-transition: opacity 1.5s;
    -o-transition: opacity 1.5s;
    transition: opacity 1.5s;
}
#slider li.show{
    opacity: 1;
}
#slider li.active{
    z-index: 2;
}
#slider li .txt-box{
    width: 60%;
    margin: 0 auto;
    padding: 30px 60px;
    background: rgba(255,255,255,.7);
    opacity: 0;
}
#slider li.show .txt-box{
    -webkit-transition: opacity 1s 1.5s;
    -o-transition: opacity 1s 1.5s;
    transition: opacity 1s 1.5s;
    opacity: 1;

}
#slider li.active .txt-box{
}

.row.padding{
    padding: 40px 0;
}

#top, #content{
    position: relative;
}
.laskurinappi a.nappi {
    margin-bottom: 30px;
    margin-top: -20px;
    font-size: 1.5em;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.45);
}
#top .laskurinappi a.nappi {
    margin: 20px 0;
    box-shadow: none;
}
.box{
    padding: 7% 8%;
    background: rgba(255,255,255,.9);
    margin-bottom: 40px;
    /*font-size: 1em;*/
    position: relative;
}
.box h1, .box h2, .box h3{
    text-align: center;
    min-height: 55px;
}
.box.eka h2, .box.eka h3 {
    text-align: left;
}
.box .cont.napilla{
    padding-bottom: 60px;
}
.box .bottom{
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    text-align: center;
}
.box#id209{
    box-shadow: inset 0 0 0 1px #565f64, inset 0 0 0 4px #fff;
    background: rgba(236, 92, 18, 0.9);
    color: #fff;
}
.box#id209 h3{
    color: #fff !important;
}
.box#id209 .button{
    box-shadow: 0 0 0 2px #fff;
}
.home .posteja-5 .columns:nth-child(2) .box{
    background: rgba(0, 120, 186, 0.9);
    color: #fff;
    box-shadow: 0 0 0 3px rgba(255,255,255,.7), 0 0 0 10px rgba(255,255,255,.7);
}
.home .posteja-5 .columns:nth-child(2) .box h3{
    color: #fff;
}
.reveal{
    width: 900px;
    max-width: 100%;
    padding: 3%;
}
#content ul li {
    list-style: none;
    margin-bottom: 7px;
    line-height: 1.3;
}
#content ul li:before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #0078BA;
    float: left;
    margin-left: -20px;
    display: block;
    margin-top: 9px;
}


#top{
    background: #fff;
}
#top .padding{
    padding-top: 6px;
    padding-bottom: 6px;
}

#content{
    transform: translateY(620px);
    -webkit-transition: transform .5s;
    -o-transition: transform .5s;
    transition: transform .5s;
}
.ready #content{
    transform: translateY(0);
}

@media screen and (max-width: 700px){
    .ready #header .otsikko {
        margin: 10% auto;
    }
    .ready #content {

    }
    .otsikko h1 {
      font-size: 2.7em;
    }
}
@media screen and (max-width: 500px){
    .otsikko h1 {
      font-size: 2.3em;
    }
    .ready #content {

    }
}

.separator{
    clear: both;
    height: 1px;
    background: rgba(255,255,255,.15);
    box-shadow: 0 -1px 1px 1px rgba(0,0,0,.2), 0 1px 1px rgba(255,255,255,.1);
}
.logo{
    float: left;
}

#menu-top{
    display:block;
    padding:10px 0;
    margin-bottom:5px;
    min-width: 45%;
}

#menu-top .menu{
    margin:0 auto;
    text-align:center;
}
#menu-top .menu li{
    list-style: none;
    padding:0 0 0 3px;
    margin:0;
    display:inline-block;
}
#menu-top .menu li li{
    font-size: 1em;
}
#menu-top .menu li:first-child{
    border:none;
}
#menu-top .menu li a, #menu-top .menu li .menu-label{
    display:inline-block;
    color: #fff;
    text-decoration:none;
    margin:0;
    padding:2px 12px;
    cursor: pointer;
    -webkit-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}
#menu-top .menu li a:hover{
    background:#0078BA;
    color:#fff;
}
#menu-top .menu li.current-menu-item a{
    background:#0078BA;
    color:#fff;
}

#menu-top .menu li > ul {
    display: none;
}

.section{
    padding: 40px 0;
}


.kuva2 {
    background: url() no-repeat 50% 70%;
    background-size: cover;
    padding-bottom: 30%;
    margin: -12% 0;
    border-top: 10px solid #fff;
    border-bottom: 10px solid #fff;
}
.latka {
    background: rgba(8, 163, 240, 0.9);
    width: 6em;
    height: 6em;
    position: absolute;
    z-index: 55;
    border-radius: 50%;
    opacity: 1;
    top: 30px;
    right: 10%;
    color: #fff;
    font-size: 1.5em;
    font-weight: bold;
    padding: 1.5em 0 0 0;
    text-align: center;
    -ms-transform: rotate(-15deg);
    -webkit-transform: rotate(-15deg);
    transform: rotate(-15deg);
    -webkit-box-shadow: inset 0px 0px 0px 2px #FFF, 0px 0px 0px 3px #08a4f0;
    -moz-box-shadow: inset 0px 0px 0px 2px #FFF, 0px 0px 0px 3px #08a4f0;
    box-shadow: inset 0px 0px 0px 2px #FFF, 0px 0px 0px 3px #08a4f0;
    -webkit-transition: all 0.2s 0.5s;
    -moz-transition: all 0.2s 0.5s;
    -o-transition: all 0.2s 0.5s;
    transition: all 0.2s 0.5s;
}
#footer{
    background-size: cover;
    background: rgba(46, 125, 169, 0.6);
}
#footer, #footer a{
    color: #fff;
}
#footer a{
    background-image: linear-gradient(to right, #fff, #fff 2px, rgba(255,255,255,0) 2px, rgba(255,255,255,0) 4px );
    background-size: 4px 1px;
    background-repeat: repeat-x;
    background-position: 0 100%;
    text-decoration: none;
    transition: all .3s;
}
#footer a:hover{
    background-size: 2px 1px;
}
#footer ul{
    /*list-style: none;*/
    margin-left: 25px;
}
#footer li{
    /*list-style: none;*/
    margin-left: 10px;
}

#copy{
    background: rgba(19, 65, 87, .6);
    font-size: .85em;
    padding: 5px 0;
}
#copy, #copy a{
    color: rgba(255,255,255,.5);
    text-decoration: none;
}
#copy a:hover{
    color: rgba(255,255,255,1);
    text-decoration: none;
}

/* wp muokkaa-nappi */
p.muokkaa{
    text-align:right;
    position: absolute;
    right: 10px;
}
p.muokkaa a{
    text-decoration:none !important;
    background:none !important;
}
p.muokkaa a:after{
    display:none;
}
p.muokkaa a:before{
    content: '\f464' !important;
    font: 400 22px/24px dashicons;
    background: #cfcfcf;
    color:#000;
    border-radius:24px;
    -moz-border-radius:24px;
    -webkit-border-radius:24px;
}
p.muokkaa a:hover:before{
    background:#0078BA;
    color:#fff;
}
a.nappi, .button, input[type="submit"], button:not(.close-button),.frm_style_formidable-style.with_frm_style .frm_submit button{
    font-size: 1.15em;
    line-height: 1;
    background: #08A4F0;
    padding: 0.5em 1.5em;
    color: #fff;
    display: inline-block;
    text-decoration: none;
    border: none;
    border-radius: 0;
    box-shadow: 0 0 0 1px #fff, 0 0 0 3px #08A4F0;
    -webkit-transition: background 0.3s;
    -moz-transition: background 0.3s;
    -o-transition: background 0.3s;
    transition: background 0.3s;
}
a.nappi:hover, .button:hover, input[type="submit"]:hover, button:not(.close-button):hover,.frm_style_formidable-style.with_frm_style .frm_submit button:hover{
    text-decoration: none;
    background: #0078BA;
    color: #fff;
}

.button.large{
    font-size: 1.3em;
}
.button.omalava{
    float: right;
    height: 60px;
    font-size: 1.45em;
    font-weight: bold;
    line-height: 57px;
    padding: 0 20px;
    background: rgb(231,98,29);
    margin: 0;
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}
.page-id-86 .button.large{
    background: rgb(231,98,29);
    font-size: 1.4em;
    box-shadow: 0 0 0 1px #fff, 0 0 0 3px #0078BA;
    padding: 0.5em 1.2em;
    margin-bottom: 30px;
}
.page-id-86 .button.large:hover{
    background: rgb(188, 76, 20);
}
.box#id230 .button{
    background: rgb(231,98,29);
}
.button.omalava:hover, .box#id230 .button:hover{
    background: #0078BA;
}
.button.omalava span{
    font-weight: 300;
}
.button.omalava:after{
    content: '\e109';
    font-family: meka-icons;
    margin-left: 5px;
    font-size: 1.2em;
    font-weight: 400;
    vertical-align: bottom;
}

#laskuri .medium-4 label{
    text-align: right;
    display: block;
}

#laskuri .info{
    font-size: 0.85em;
    color: #656565;
    max-width: 400px;
}

.huom, .messages.error {
    background: rgb(252,18,18);
    color: #fff;
    padding: 3px;
    margin-bottom: 20px;
}
.hidden, #tulokset{
    display: none;
}
#tilauslomake {
    display: none;
    padding: 20px 50px 30px;
    box-shadow: inset 0 0 0 2px #fff, inset 0 0 0 3px #0078BA;
    border:5px solid #08A4F0;
    margin-top: 30px;
    font-size: inherit;
}
.rekisteriseloste {
    display: block;
    text-align: right;
    text-decoration: underline;
}
.huom {
    display: none;
    text-align: center;
}
.error:not(.radio) input, .error.radio, .error select {
    -webkit-box-shadow: 0px 0px 0px 1px rgb(252,18,18);
    -moz-box-shadow: 0px 0px 0px 1px rgb(252,18,18);
    box-shadow: 0px 0px 0px 1px rgb(252,18,18);
}
.tulokset{
    padding: 1px 50px 30px;
    box-shadow: inset 0 0 0 2px #fff, inset 0 0 0 3px #0078BA;
    border:5px solid #08A4F0;
    margin-top: 30px;
}
.tulokset .row {
    margin-bottom: 7px;
}
.yhteensa {
    border-top: 1px dotted #FFA500;
    padding-top: 5px;
}
.yhteensa, .yhteensa_alv {
    font-weight: bold;
}
[type='text'], [type='password'], [type='date'], [type='datetime'], [type='datetime-local'], [type='month'], [type='week'], [type='email'], [type='number'], [type='search'], [type='tel'], [type='time'], [type='url'], [type='color'], textarea, select {
    width: 100%;
    max-width: 400px;
}
.prefix input{
    width: 60%;
    max-width: 300px;
}
.prefix.lyhyt input{
    max-width: 100px;
}
.prefix span{
    margin-left: 5px;
}
textarea { overflow: auto; }
input, textarea, select{
    padding:3px 8px;
    font:inherit;
    background: rgba(255,255,255,.2);
    border: 1px solid rgba(0,0,0,.2);
    border-radius: 3px;
    /*box-shadow: inset -1px -1px 0px rgba(255,255,255,.2), inset 1px 1px 0px rgba(0,0,0,.2);*/
}
#content input[type=checkbox],
#content input[type=radio] {
    vertical-align: top;
    margin-top: 5px;
    width: 1em;
    height: 1em;

}
#content input[type=checkbox]:focus,
#content input[type=radio]:focus {
    background: none;
    box-shadow: none;
    border:0;

}
/*#content .frm_radio label {
    text-align: left;
    margin-left: 30px;
    line-height: 1.5;
    margin-bottom: 8px;
    clear: right;
    display: inline-block;
}*/

#laskuri .row{
    padding-bottom: 5px;
}

/* FORMIDABLE FORMS */
/* .frm_forms input*/

#content .frm_forms{
    max-width: 550px;
    margin: 0 auto;
}
.frm_forms input[type=submit], .frm_forms button[type=submit]{
    display: inline-block;
    cursor: pointer;
}
.frm_forms label, .frm_forms input[type=text], .frm_forms input[type=number], .frm_forms input[type=email], .frm_forms input[type=tel], .frm_forms input[type=url], .frm_forms select, .frm_forms textarea {
    display: inline-block;
}

.frm_forms .frm_required{
    display: inline-block;
    width: 10px;
    margin-top: -5px;
    color: #C70501 !important;
    font-weight: inherit !important;
    vertical-align: text-bottom;
}

.frm_blank_field input, .frm_blank_field textarea, .frm_blank_field select{
    border: 1px solid #C70501 !important;
}
.frm_error, .frm_error_style, .frm_message {
    color: #C70501;
    text-align: center;
}
.frm_error_style, .frm_message {
    background: rgba(255,255,255,.5) !important;
}
.frm_message {
    border: none !important;
    font-size: 1.4em !important;
    margin: 5px 0 5px !important;
    color: #6cc523;
}
.frm_form_field {
    margin-bottom: 10px;
}
.frm_submit {
    font-size: 1.2em;
    text-align: center;
    margin-top: 20px;
}
#content form#form_cbpcb .frm_top_container.frm_third{
    grid-column: span 12 / span 12;
}
@media screen and (min-width: 1050px){
    .frm_top_container{
/*        max-width: 522px;*/
    }
}
@media screen and (min-width: 700px){
  #content form#form_cbpcb .frm_top_container:not(.frm12){
    /*grid-column: span 6 / span 6;*/
  }
}
@media screen and (min-width: 820px){
    #content form#form_cbpcb .frm_top_container.frm_third{
        grid-column: span 4 / span 4;
    }
    #content form#form_cbpcb .frm_top_container.frm_two_thirds{
        grid-column: span 8 / span 4;
    }
    #content form#form_cbpcb .frm_top_container.frm_fourth{
        grid-column: span 3 / span 3;
    }
}
@media screen and (max-width: 819px){
    #content form#form_cbpcb .frm_top_container.frm_fourth{
        grid-column: span 6 / span 6;
    }
}
@media screen and (max-width: 819px){
    #content form#form_cbpcb .frm_top_container.frm_two_thirds{
        grid-column: span 12 / span 12;
    }
}
/*@media screen and (min-width: 970px){
  #content form#form_cbpcb .frm_top_container:not(.frm12){
    grid-column: span 6 / span 6;
  }
}*/
#content form#form_cbpcb .frm_top_container.frm_first,
.home form#form_cbpcb .frm_top_container.frm_first{
  grid-column-start: 1;
}

input[readonly] {
    background-color: #e6e6e6;
    cursor: default;
}
#tilauslomake h2 {
    margin-bottom: 0;
}
.lyhyt input,
.lyhyt select {
    max-width: 200px !important;
}
.check-container {
    position: relative;
    background: #fff;
    border: 1px solid #D0D3D5;
    box-shadow: inset 0 0 2px #D0D3D5;
    border-radius: 3px;
    display: inline-block;
    width: 30px;
    height: 30px;
    margin-right: 15px;
    margin-top: -5px;
    margin-bottom: 5px;
}
.check-container.checked:after {
    font-family: 'meka-icons';
    content: '\e16a';
    position: absolute;
    color: #46a4f0;
    left: 0;
    top: 0;
    font-size: 1.2em;
    text-align: center;
    width: 30px;
    height: 30px;
    line-height: 30px;
}
.check-container input[type=checkbox] {
    width: 30px;
    height: 30px;
    opacity: 0;
    position: relative;
    z-index: 4;
    cursor: pointer;
    margin: 0;
    vertical-align: top;
}
.check-container + label {
    max-width: 80%;
    vertical-align: text-top;
    display: inline;
    margin-right: 10px;
    margin-bottom: 0;
    line-height: 1;
}

table.tiedot{
    margin: 20px auto;
}
table.tiedot th{
    text-align: right;
   color: var(--otsikon-vari);
   font-weight: 700;
}
table.tiedot .hinnat th{
   color: #000;
   font-weight: 400;
}
table.tiedot .hinta td{
   font-weight: 700;
}

table.tiedot th,
table.tiedot td{
   padding: 2px 10px;
}
table.tiedot .hinta_alv_0 th,
table.tiedot .hinta_alv_0 td{
padding-top:15px;
}
table.tiedot .hinta th,
table.tiedot .hinta td{
border-top: 1px solid #ccc;
}

@media screen and (max-width: 630px){
   table.tiedot th,
   table.tiedot td{
    display: block;
    text-align: left;
    padding: 0;
    line-height: 1.4;
   }
   table.tiedot td{
    padding-bottom: 10px;
   }
}

div.krumo-root {
    position: relative;
}

/*lomakkeen otsikko*/
#footer h4{
    margin-bottom: 20px;
}
@media screen and (min-width: 769px){
    #footer h4{
        padding-left: 29%;
        text-align: left !important;
        width: 71%;
    }
}

#mobilebuttons{
    padding: 0;
    display: none;
    position: fixed;
    bottom: 0;
    border-top: 1px solid #fff;
    font-size: 15px;
    width: 100%;
    z-index: 999;
    background: rgba(51, 121, 187,.9);
}
#mobilebuttons .columns{
}
#mobilebuttons a{
    color:#fff;
    text-align: center;
    display: block;
    padding: 5px 0;
    text-decoration: none;
    background: none;
    height: 50px;
    font-size: 14px;
    line-height: 40px;
}
#mobilebuttons a:before{
    content: '';
    font-family: 'meka-icons';
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    font-size: 30px;
    vertical-align: middle;
    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
#mobilebuttons .mobile-Puhelin a:before{
    content: '\e15e';
}
#mobilebuttons .mobile-Email a:before{
    content: '\e162';
    font-size: 35px;
}
#mobilebuttons .mobile-Map a:before{
    content: '\e139';
}
#mobilebuttons .columns + .columns {
    border-left: 1px solid #fff;
}


a.mobilemenu{
    display: none;
    font-size: 13px;
    height: 2.2em;
    line-height: 2.2em;
    float: right;
}

a.mobilemenu span.teksti{
    float: left;
    text-decoration: none;
    color: #2e2e2e;
    font-size: 1.5em;
    padding-left: 10px;
    padding-right: 10px;
}
a.mobilemenu span.ikoni{
    position: relative;
    float: right;
    width: 3.5em;
    height: 3px;
    margin-top: 1em;
    background-color: #2e2e2e;
    -webkit-transition: -webkit-transform .5s;
    transition: transform .5s;

}

a.mobilemenu span.ikoni:before,
a.mobilemenu span.ikoni:after{
    content: '';
    display: block;
    width: 3.5em;
    height: 3px;
    background-color: #2e2e2e;
    position: absolute;
    transition: all .3s;
}
a.mobilemenu span.ikoni:before{
    top: -1em;
}
a.mobilemenu span.ikoni:after{
    bottom: -1em;
}
a.mobilemenu:hover{
    border-color: #ca0e04;
}


a.mobilemenu.open span.ikoni{
    background: transparent;
    -webkit-transform: rotateY(180deg);
    transform: rotateY(180deg);
}
a.mobilemenu.open span.ikoni:after{
    -webkit-transform: translate3d(0,1em,0) rotate(45deg);
    transform: translateY(-1em) rotate(45deg);
}
a.mobilemenu.open span.ikoni:before{
    -webkit-transform: translate3d(0,-1em,0) rotate(-45deg);
    transform: translateY(1em) rotate(-45deg);
}

@media screen and (max-width: 1024px){

}

@media screen and (max-width: 800px){

}
@media screen and (min-width: 769px){
    div.menu-paavalikko-container{
        display: block !important;
    }
    #menu-top .sub-menu{
        display: none !important;
    }
}
@media screen and (max-width: 768px){
    .logo{
        float: none;
    }
    #mobilebuttons{
        display: block;
    }
    #menu-top div.menu-paavalikko-container{
    /*display: none;*/
    max-height: 0;
    overflow: hidden;
    margin-top: 30px;
    transition: all .5s;
    }
    #menu-top.open div.menu-paavalikko-container{
        max-height: 1000px;
        margin-top: 160px;
    }
    a.mobilemenu{
    display: block;
    }
    #menu-top .menu li {
        display: block;
        text-align: left;
        padding-left: 15px;
        margin-bottom: 2px;
    }
    #menu-top .menu li a, #menu-top .menu li .menu-label{
        padding-left: 10px;
        display: block;
    }
    #menu-top .menu li a:after{
        margin: 0;
    }
    #menu-top .menu ul{
        display: block;
        margin: 0;
        margin-left: 10px;
    }
    #menu-top ul.menu .plussa{
        font-size: 1.5em;
        color: #333;
        float: right;
        display: inline-block;
        background: #ddd;
        width: 40px;
        line-height: 35px;
        margin-top: -3px;
        text-align: center;
        cursor: pointer;
        font-family: 'dashicons';
    }
    #menu-top ul.menu .plussa:before{
        content: "\f347";
    }
    #menu-top ul.menu .plussa.open:before{
        content: "\f343";
    }
    #menu-top ul.menu .plussa:hover{
        background: #fff;
    }
}
@media screen and (max-width: 640px){
    #laskuri .medium-4 label {
        text-align: left;
    }
}

@media screen and (max-width: 560px){
    #top *{
        float: none;
        text-align: center;
    }
    .tulokset {
        padding: 1px 20px 30px;
    }
    #tilauslomake {
        padding: 20px 20px 30px;
    }
}

@media screen and (max-width: 480px){
    .otsikko h1 {
        font-size: 2.5em;
        padding: 15px 40px;
    }
    h1{
        font-size: 1.75em;
    }
    h2{
        font-size: 1.5em;
    }
    h3{
        font-size: 1.3em;
    }
    p {
        /*font-size: 18px;*/
    }
    .grid-padding-x > .cell {
        padding-right: 1.2rem;
        padding-left: 1.2rem;
    }
}
@media screen and (max-width: 450px){
    p{
        font-size: 0.9em;
    }
    #content > .grid-container > .grid-padding-x > .cell {
        padding-right: 0;
        padding-left: 0;
    }
}

@media screen and (max-width: 320px){
    body{
        font-size: 14px;
    }
    p{
        font-size: 1em;
    }
}
