/*
Theme Name: Pesuainepalvelu2016
Theme URI: 
Author: Provianet Oy
Author URI: 
Description: Theme for Tampereen Pesuainepalvelu website
Version: 1.0
*/

@import url(https://fonts.googleapis.com/css?family=Roboto+Condensed:400,700,300);

@media(min-width:991px){
    .navbar-default.main-nav{
        /*height: 100px;*/
    }
}
@media(max-width:990px){
    .navbar-default.main-nav{
        /*height: 150px;*/
    }
}
@media(max-width:767px){
    .navbar-default.main-nav{
        /*height: 145px;*/
    }
}

@media(max-width:767px){
    .navbar-default.main-nav{
        /*height: 145px;*/
    }
}

@media(max-width:1200px){
	ul#menu-paavalikko {
		padding-left: 10px;
	}
	
    ul#menu-paavalikko li.menu-item > a {
		padding-left: 5px !important;
		padding-right: 5px !important;
		
		font-size: 15px !important;
	}
	
	.kysy-lisaa{
		right: -18px !important;
		top: -80px;
		
		padding: 15px 20px;
		font-size: 18px;
		
		color: #f6f6f6;
		background-color: #2ccd6c;
	}
}


.ankkuri-offset{
    padding-top: 160px;
    margin-top: -160px;
}
.tuotteet-header-yla-piilo{
    display: none;
}
.fix-menu{
    position: fixed;
    margin: 0 auto;
    left: 0;
    right: 0;
    top: 0;
    background-color: #f6f6f6;
    z-index: 200;
}
/* OMAT UTILITY CLASSES */
.rotate {
    /* Safari */
    -webkit-transform: rotate(-90deg);
    /* Firefox */
    -moz-transform: rotate(-90deg);
    /* IE */
    -ms-transform: rotate(-90deg);
    /* Opera */
    -o-transform: rotate(-90deg);
    /* Internet Explorer */
    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
}
@media(min-width:992px){
    .footer-height{
        min-height: 650px;
    }
}
.rela{
    position:relative;
}
.no-padding{
    padding: 0px;
}
.bottom-margin{
    margin-bottom: 20px;
}
.bottom-margin-large{
    margin-bottom: 40px;
}
.light{
    font-weight: 100;
}
.keskitetty{
    text-align: center;
    margin: 0 auto;
}
.no-bottom-margin{
    margin-bottom: 0px !important;
}
/* iphone autorecognize phonenumber hack */
@media(max-width:1000px){
    a[href^="tel"]{
        color:inherit !important;
        text-decoration:none !important;
    }
}
/* END OF UTILITY CLASSES */

body{
    font-family: "Roboto Condensed",sans-serif !important;
    font-size: 18px;
    
    background-color: #f6f6f6;
}
a:hover{
    text-decoration: none;
}
#responsive-menu{
    top: 144px !important;
}

@media(max-width:767px){
    .brand-img{
        margin-left: 20px;
    }
    .otsake h1 > span{
        font-size:50px !important;
    }
}

h2{
    text-transform: uppercase;
    font-weight: bold;
    font-size: 16px;
    margin-top: 20px;
    margin-bottom: 5px;
}
h4{
    text-transform: uppercase;
    font-weight: bold;
    font-size: 18px;
    margin-top: 0px;
    margin-bottom: 20px;
}

body .navbar-default{
    background-color: #f6f6f6;
    border: 0px;
    border-radius: 0px;
    
    margin-bottom: 0px;
    
    border-bottom: 1px solid #cbcbcb;
    
    -webkit-box-shadow: 0px 1px 5px 0px rgba(203,203,203,1);
    -moz-box-shadow: 0px 1px 5px 0px rgba(203,203,203,1);
    box-shadow: 0px 1px 5px 0px rgba(203,203,203,1);
}
.brand-img{
    padding: 15px 0px;
}

@media(max-width:991px){
    #menu-paavalikko{
        padding-top: 0px !important;
    }
}
@media(min-width:1200px){
    #menu-paavalikko{
        margin-left: 50px;
    }
}
#menu-paavalikko{
    padding-top: 25px;
}
body .nav>li>a {
    padding-left: 10px;
    padding-right: 10px;
}
body .navbar-default ul li>a{
    color: #626262;
    font-size: 18px;
    text-transform: uppercase;
}
body .navbar-default ul li>a:hover{
    color: #101010;
}
body .navbar-default ul li.current-menu-item>a{
    text-decoration: underline;
    color: #101010;
}

@media(max-width:991px){
    .valt-keskus{
        padding: 0px !important;
    }
}
.valt-keskus{
    position: absolute;
    right: 0px;
    top: 20px;
    padding-right: 20px;
}
.valt-keskus span{
    display: block;
    text-align: center;
    margin-bottom: 0px;
}
.valt-keskus .teksti{
    font-size: 18px;
    color: #626262;
}
.valt-keskus .osoite{
    font-size: 20px;
    font-weight: bold;
    color: #324ded;
    line-height: 20px;
}
.xs-yhteys{
    text-align: center;
    padding: 10px 0px;
}
.xs-yhteys .osoite{
    font-weight: bold;
    color: #324ded;
    margin-left: 10px;
}
.xs-yhteys .teksti{
    font-size: 18px;
    color: #626262;
}

.kysy-lisaa-mobiili{
    padding: 20px;
    
    text-align: center;
    color: #f6f6f6;
    background-color: #2ccd6c;
}
.kysy-lisaa-mobiili p{
    display: inline-block;
}
.kysy-lisaa-mobiili p,
.kysy-lisaa-mobiili a{
    color: #f6f6f6;
    
    margin-bottom: 0px;
}
.kysy-lisaa{
    position: absolute;
    right: 50px;
    top: -80px;
    
    padding: 15px 20px;
    font-size: 18px;
    
    color: #f6f6f6;
    background-color: #2ccd6c;
}
.text-block .kysy-lisaa a{
    text-decoration: none !important;
}
.text-block .kysy-lisaa a p{
    margin-bottom: 10px;;
}
.text-block .kysy-lisaa a p:last-of-type{
    margin-bottom: 0px;
}
.text-block{
    padding-top: 60px;
    padding-bottom: 60px;
    background-size: cover;
    background-repeat: no-repeat;
}
.text-block.otsake{
    padding-top: 80px;
    padding-bottom: 80px;
}
.alasivu-otsake h1{
    font-weight: 300;
    text-transform: uppercase;
}
.text-block h1{
    margin-top: 10px;
}
.text-block h1,
.text-block p{
    color: #f6f6f6;
}
.text-block p:not(:last-of-type){
    margin-bottom: 30px;
}
.text-block .container a{
    color: inherit;
    font-weight: bold;
    text-decoration: underline;
}

.table-responsive {
	display: block;
}

.single-tuote-header{
    text-transform: none;
    margin: 40px 0px;
    
    font-weight: bold;
    font-size: 24px;
}
.tuotetiedotspan + h1{
    font-size: 20px;
    margin-bottom: 30px;
    text-transform: uppercase;
    font-weight: bold;
}
@media(min-width:768px){
    .tuotetiedotspan + h1,
    .tuotetiedotspan + h2,
    .tuotetiedotspan + h3,
    .tuotetiedotspan + h4,
    .tuotetiedotspan + h5,
    .tuotetiedotspan + h6{
        margin-top: 0px;
    }
}
.tuotetiedot p{
    margin-bottom: 30px;
}

/* Tuotekuvan zoom */

.tuotekuvacursor {
	cursor: zoom-in;
}

/*.tuotetiedot ul {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-bottom: 30px;
} */

.tuotetiedot li { 
    padding-left: 0px; 
}

/*.tuotetiedot li:before {
    content: "-"; Insert content that looks like bullets
    padding-right: 8px;
} */

.tuote-header{
    text-align: center;
    color: #324ded;
    padding: 15px;
    font-size: 20px;
}
.oma-table,
.oma-table2{
    display: table;
    width: 100%;
    margin-bottom: 15px;
}
.oma-table2{
    border-collapse: collapse;
}
.oma-row,
.oma-row2{
    display: table-row;
}
.oma-cell,
.oma-cell2{
    display: table-cell;
}
.oma-row:after{
    height:calc(100% - 15px);
}
.ratkaisu:after{
    height:100%;
}
.oma-row:after,
.kaikki-tuotteet:after,
.ratkaisu:after,
.nappi:after,
.category-link:after,
.lisatiedot:after,
.kelluke:after,
.kysy-lisaa-a:after{
    content: '\A';
    position: absolute;
    width: 100%; 
    top:0; left:0;
    background:rgba(0,0,0,0.4);
    opacity: 0;
    transition: all 0.7s;
    -webkit-transition: all 0.7s;
    cursor: pointer;
}
.kaikki-tuotteet:after{
    min-height: 88px;
}
.nappi:after{
    min-height: 42px;
}
.category-link:after,
.lisatiedot:after,
.kelluke:after,
.kysy-lisaa-a:after{
    height: 100%;
}
.oma-row:hover:after,
.kaikki-tuotteet:hover:after,
.ratkaisu:hover:after,
.nappi:hover:after,
.category-link:hover:after,
.lisatiedot:hover:after,
.kelluke:hover:after,
.kysy-lisaa-a:hover:after{
    opacity: 1;
}
.header-row .oma-cell2{
    color: #7f7f7f;
    font-size: 16px;
}
.tuote-row{
    border-top: 1px solid #7f7f7f;
}
.tuote-row .oma-cell2{
    padding: 20px 0px;
    
}
.oma-cell2{
    vertical-align: top;
}
.oma-cell2.nimi{
    font-size: 20px;
    font-weight: bold;
    width: 220px;
    padding-right: 30px;
}
.oma-cell2.kuvaus{
    padding-right: 30px;
    font-size: 16px;
}
.oma-cell2 .lisatiedot{
    background-color: #0031bf;
    color: white;
    padding-top: 20px;
    padding-bottom: 20px;
    font-size: 16px;
    font-weight: bold;
    display: block;
    text-align: center;
}
.oma-cell2.pakkauskoko{
    width: 200px;
    padding-right: 30px;
    font-size: 16px;
}
.oma-cell2.lisatietocell{
    width: 180px;
    text-align: right;
}
@media(max-width:991px){
    .oma-cell2.nimi{
        width: 180px;
    }
    .oma-cell2.pakkauskoko{
        width: 150px;
    }
    .oma-cell2.lisatietocell{
        width: 100px;
    }
}

.hovertext{
    z-index: 10;
    position: relative;
    /*color: white;*/
}
.whitetxt{
    transition: all 0.7s;
    -webkit-transition: all 0.7s;
    color: white !important;
}
.whitetxt p{
    position: relative;
    z-index: 99;
}
.ikoni-kentta,
.ikoni-tekstikentta{
    display: table-cell;
    
    text-align: center;
    vertical-align: middle;
}
.ikoni-kentta{
    width: 90px;
    min-width: 90px;
    padding: 15px;
}
.ikoni-tekstikentta{
    font-size: 20px;
}
.ikoni-kentta img{
    margin: 0 auto;
}
.kaikki-tuotteet a,
.kaikki-tuotteet a:hover{
    color: #f6f6f6;
}
.kaikki-tuotteet{
    background-color: #f3a824;
    color: #f6f6f6;
    
    padding: 30px;
    text-align: center;
    
    margin-bottom: 30px;
    font-size: 20px;
}
@media(max-width:767px){
    .kaikki-tuotteet{
        margin-bottom: 0px !important;
    }
}
.ratkaisu{
    text-align: center;
    
    background-repeat: no-repeat;
    background-size: cover;
    
    font-size: 20px;
    margin-bottom: 15px;
    line-height: 90px;
}
.rivi{
    height: 90px;
}

.sivun-otsikko{
    font-weight: 100;
    font-size: 40px;
    
    text-transform: uppercase;
    
    color: #324ded;
    padding: 45px 0px;
    margin: 0px;
}

.child-cats{
    margin: 0px;
    padding: 0px;
}
.child-cats li{
    display: inline-block;
    background-color: #d2d2d2;
    
    color: #2e2e2e;
    padding: 10px 20px;
    
}
.child-cats li{
    margin-bottom: 10px;
}
.child-cats li:not(:last-of-type){
    margin-right: 20px;
}
.child-cats li > a{
    color: #2e2e2e;
}
.toimialatausta{
    background-size: cover;
    background-repeat: no-repeat;
    
    background-position: center;
}
.toimialaotsikko{
    font-size: 32px;
    color: #f6f6f6;
    font-weight: 900;
    
    padding: 95px 0px;
    margin: 0px;
}

.text-container{
    padding: 60px 15px;
}

@media(min-width:768px){
    .text-content h1:first-of-type,
    .text-content h2:first-of-type,
    .text-content h3:first-of-type,
    .text-content h4:first-of-type,
    .text-content h5:first-of-type,
    .text-content h6:first-of-type,
    .text-content img:first-of-type{
        margin-top: 0px;
    }
}
.text-content h2{
    font-size: 24px;
    font-weight: 900;
}
.text-content p{
    margin-bottom: 30px;
    margin-top: 30px;
}

.text-content .wpcf7 p > span{
    display: block;
}
.text-content .wpcf7 input[type="text"],
.text-content .wpcf7 input[type="tel"],
.text-content .wpcf7 input[type="email"],
.text-content .wpcf7 textarea{
    width: 100%;
    max-width: 100%;
    padding: 5px 10px;
}
.text-content .wpcf7 input[type="submit"]{
    border: 1px solid #333;
    padding: 5px 10px;
}

@media(max-width:991px){
    .kartta{
        padding: 0px;
        margin-top: 30px;
    }
}
@media(max-width:767px){
    .yhteyscontent{
        padding: 30px 15px !important;
    }
}
.yhteyscontent{
    background-color: #e1e6f3;
    
    padding: 30px;
    height: 400px; /* height 400 koska kartan korkeus on 400 ja leiskassa halutaan kummatkin palstat samankorkuisiksi */ 
}
.yhteyscontent h1{
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 25px;
    margin-top: 0px;
}
.yhteyscontent p{
    margin-bottom: 25px;
}
.edustaja p:not(:last-of-type){
    margin-bottom: 20px;
}

@media (max-width:767px){
    .tuotteet-header h1{
        margin-bottom: 15px;
        display: block !important;
    }
    .tuotteet-header h3{
        margin-top: 0px;
        margin-bottom: 15px;
        margin-left: 0px !important;
        display: block !important;
    }
}
.tuotteet-header h1{
    color: #324ded;
    
    font-size: 24px;
    text-transform: uppercase;
    margin: 30px 0px;
    
    display: inline-block;
}
.tuotteet-header h1 a,
.tuotteet-header h3 a{
    color: #324ded;
}
.tuotteet-header h3{
    display: inline-block;
    font-size: 18px;
    
    color: #324ded;
    margin-left: 50px;
}
.tuotteet-header h3 + h3{
    margin-left: 10px;
}
.tuotteet-header hr{
    border-top: 1px solid #2e2e2e;
    margin-bottom: 40px;
}
.tuote-kategoria{
    margin-bottom: 30px;
}
.tuote-kategoria a span{
    display: block;
    padding-top: 10px;
    font-size: 18px;
    color: #2e2e2e;
}
.tuote-kategoria a:hover{
    text-decoration: underline;
}

.kelluke{
    background-color: #f3a824;
    color: #f6f6f6;
    
    position: fixed;
    right: -65px;
    top: 45%;
    padding: 15px 30px;
    
    font-size: 18px;
    font-weight: 900;
    
    cursor: pointer;
}

.pre-footer{
    background-color: #142582;
    color: #f6f1e4;
    min-height: 10px;
}
.footer{
    border-top: 2px solid #182984;
    background-color: #0d1751;
    color: #a6a9ba;
    
    padding: 15px 0px;
    
    text-align: right;
    font-size: 16px;
}
.flogo{
    margin-top: 30px;
    margin-bottom: 30px;
}
.pre-footer .container{
    padding-top: 30px;
    padding-bottom: 30px;
}
.pre-footer p{
    font-size: 18px;
    margin-bottom: 20px;
}
.pre-footer p:first-of-type{
    margin-top: 30px;
}
.flogo + p:first-of-type{
    margin-top: 0px !important;
}
.flomake{
    float: right;
    max-width: 80%;
    
    padding: 30px;
    
    background-color: #0d1751;
}
@media(max-width:767px){
    .flomake{
        float: none;
        
        max-width: 100%;
    }    
}
.flomake h1{
    font-size: 22px;
    font-weight: 900;
    
    color: #f3a824;
    
    margin-top: 0px;
}
.flomake p,
.flomake form{
    margin-bottom: 0px;
}
.flomake input[type="text"],
.flomake input[type="tel"],
.flomake input[type="email"],
.flomake textarea{
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
    
    font-style: italic;
}
.flomake input,
.flomake textarea{
    
    background-color: #0d1751;
    color:#f6f1e4;
    
    border: 1px solid #f6f1e4;
    
    padding: 5px 10px;
    
}

.acf-map {
	width: 100%;
	height: 400px;
	border: #ccc solid 1px;
	/*margin: 20px 0;*/
}

/* fixes potential theme css conflict */
.acf-map img {
   max-width: inherit !important;
}

.nappi-a,
.nappi{
    max-width: 300px;
}
.nappi-a{
    display: block;
}
.nappi{
    font-size: 16px;
    display: block;
    padding: 10px 30px;
    cursor: pointer;
    margin-top: 20px;
    text-align: center;

    position: relative;
}
@media(max-width:767px){
    .iso{
        max-width: 100%;
    }
}
.sininen{
    background-color: #0031bf;
    color: white;
}
.oranssi{
    background-color: #efae3c;
    color: white;
}
.harmaa{
    background-color: #d2d2d2;
    color: #2e2e2e;
}

.row-margin{
    margin-top: 30px;
    margin-bottom: 30px;
}
@media(min-width:650px){
    .lel{
        min-height: 105px;
    }
}

@media(max-width:576px){
    .oma-cell2.nimi{
        padding: 5px;
    }
	.oma-cell2.kuvaus{
        padding: 5px;
    }
	.oma-cell2.kuvaus img{
        margin-right: 5px;
    }
	.oma-cell2 .lisatiedot{
        padding: 10px;
    }
	.oma-row2.tuote-row{
        display: grid;
    }
	.oma-cell2.lisatietocell{
        padding-bottom: 5px;
		padding-top: 5px;
    }
}

/* 23082017 */

body.page-id-20 div.text-content p,
body.page-template-page-toimialat div.text-content p {
	margin-top: -6px !important;
	padding: 0px !important;
}

.tuotteet-header-yla {
	padding-left: 0px;
	padding-right: 0px;
}

/* YOUTUBE-VIDEOT */

.ytvideo {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
	margin-bottom: 20px;
}
.ytvideo iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* RECAPTCHA */

.grecaptcha-badge {
	display: none;
}
