/*
Theme Name: PensiVerkkosivut2015
Theme URI: 
Author: Provianet Oy
Author URI: 
Description: Theme for Pensi website
Version: 1.0
*/

@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,600,700,800);
@import url(https://fonts.googleapis.com/css?family=Ubuntu:400,300,500,700);
@import url(https://fonts.googleapis.com/css?family=Open+Sans+Condensed:300,700);
@import url(https://fonts.googleapis.com/css?family=Roboto:400,100,300,500,700);

body{
    border-radius: 0px;
    line-height: 1.4;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    color:#000;
}
.languagelist > ul{
    padding-left: 0px;
    margin-left: 30px;
    margin-top: 15px;
}
.languagelist ul li{
    float: left;
    list-style: none;
    margin-right: 15px;
    -webkit-box-shadow: 1px 1px 5px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 1px 1px 5px 0px rgba(0,0,0,0.75);
    box-shadow: 1px 1px 5px 0px rgba(0,0,0,0.75);
}
.languagelist ul li > a,
.languagelist ul li > a > img,
.languagelist ul li > img{
    
    width: 30px;
    height: 22px;
}
.languagelist{
    z-index: 999999;
}
.kuvio{
    position: absolute;
    top: 20px;
    right: 0px;
    width: 590px;
    height:75px;
}
@media (max-width:767px){
    .kuvio{
        display: none;
    }
    .languagelist{
        /*width: 60% !important;*/
    }
}
@media (max-width:520px){
    .languagelist{
        width: 100% !important;
        border-radius: 0px !important;
    }
    .languagelist > ul{
        margin-left: 10px;
        margin-top: 15px;
    }
}
.secondary-navigation{
    height: 45px;
    padding-bottom: 10px;
    padding-top: 10px;
}
.secondary-navigation  ul{
    list-style:none;
    margin:0;
    padding:0;
    text-align:center;
}
.secondary-navigation  ul > li{
    display:inline;
    margin-right: 30px;
}
.secondary-navigation  ul > li:last-of-type{
    margin-right: 0px;
}
.secondary-navigation  ul > li > a{
    font-size: 18px;
    font-family: 'Open Sans Condensed', sans-serif;
    text-transform: uppercase;
    color: #1d1d1b;
    font-weight: bold;
}
.sidenav{
    padding-right: 25px;
}
.main-nav{
    border-radius: 0px;
}
.navbar{
    /*background-image: url("images/tausta.jpg");
    background-repeat: repeat-x;*/
}
.navbar-header{
    margin-top: 5px;
}
.maksuehdot{
    margin-top: 50px;
}
@media (max-width:550px){
    .col-oma-xs{
        width: 100% !important;
    }
}
.navbar-default .navbar-nav>li>a{
    font-size: 20px;
    font-weight: bold;
    color: #3a7477;
    margin-top: 50px;
    font-family: 'Ubuntu', sans-serif;
}
h1 h2 p{
    font-family: 'Ubuntu', sans-serif;
    color: black;
}
h1{
    font-family: 'Ubuntu', sans-serif;
    color: #3a7477;
    margin-top: 20px;
    font-size: 30px;
    font-weight: 200;
    border-bottom: 1px solid #ff0000;
    text-transform: uppercase;
}
h2{
    font-family: "Ubuntu", sans-serif !important;
    text-transform: uppercase;
    font-size: 20px;
    font-weight: bold;
}
h3{
    font-family: "Ubuntu", sans-serif !important;
    font-size: 20px;
    /*font-weight: bold;*/
    margin-bottom: 0px;
}
h4{
    font-family: "Ubuntu", sans-serif !important;
    font-size: 20px;
    font-weight: 400;
    /*margin:0px;*/
    margin-bottom: 20px;
    margin-top: 20px;
    color: #3c3c3b;
}
p{
    margin-bottom: 20px;
    margin-top: 20px;
}
.article-date{
    margin-bottom: 0px;
    font-size: 14px;
}
p.article-date+h3{
    font-weight: bold;
}
p.article-date+h3,
p.article-date+h3+p{
    margin-top:0px;
}
p.article-date+h3+p+a{
    display: inline;
}
#post-excerpt{
    display: inline;
}
.header-image-padding{
    padding-left: 15px;
    padding-right: 15px;
}
@media (max-width:767px){
    .header-image-padding{
        padding-left: 0px;
        padding-right: 0px;
    }
}
.breadcrumbs{
    font-size: 16px;
    font-weight: 400;
    font-family: "Roboto", sans-serif;
    text-transform: uppercase;
    border-bottom: 1px solid #c0c5c2;
    padding-top: 15px;
    padding-bottom: 15px;
}
.breadcrumbs span{
    color:#4a4a49;
}
.breadcrumbs a{
    color:#4a4a49;
}
.sidenav{
    padding: 0px;
    padding-right: 15px;
}
.sidenav h3{
    padding-left: 40px;
}
.sidenav ul{
    width: 100%;
    /*padding: 0px;*/
}
.sidenav ul > li{
    list-style: none;
    width: 100%;
    border-top: 1px solid #c0c5c2;
    padding-top: 15px;
    padding-bottom: 15px;
}
.sidenav ul > li:last-of-type{
    border-bottom: 1px solid #c0c5c2;
}
.sidenav ul > li > a{
    font-size: 18px;
    font-weight: bold;
    font-family: "Open Sans Condensed", sans-serif;
    color: #000000;
}
.tp-caption.Newspaper-Title, .Newspaper-Title{
    font-family: 'Ubuntu', sans-serif;
    font-weight: 100;
}
.wysiwyg-div{
    padding-top: 60px;
}
.row .wysiwyg-div>h2,
.row .wysiwyg-div>h1
{
    margin-top: -40px;
}
.persephone .tp-bullet:hover, .persephone .tp-bullet.selected {
    /*background-color: #b5d72b;
    border:1px solid white;*/
}
.persephone .tp-bullet{
    /*width: 20px;
    height: 20px;
    border:1px solid #b5d72b;
    background-color: white;*/
}
.etusivu-karuselli{
    position:relative;
    /*border-bottom: 1px solid #b5d72b;
    border-left: 1px solid #b5d72b;
    border-right: 1px solid #b5d72b;*/
}
.contacts > h4{
    font-family: "Roboto", sans-serif;
    font-size: 16px;
    font-weight: bold;
}
@media (min-width:768px){
    .c-right > p{
        margin-top: 105px;
    }
    .contacts > h4{
        margin-top: 65px;
    }
}
@media (max-width:767px){
    .contacts{
        text-align: center;
    }
}
.ingressi{
    background-color: #62908d;
    color: #fff;
    padding-bottom: 10px;
    padding-top: 10px;
}
.lue-lisaa{
    color: #ff0000;
}
.exptext,
.exptext + a{
    display: inline;
}
.kokemuskuva{
    padding-left: 15px;
    padding-right: 15px;
}
.otayhteytta p{
    margin:auto;
    text-align: center;
    font-weight: bold;
    font-size: 24px;
    font-family: "Roboto", sans-serif;
    padding-top: 6px;
    position: relative;
}
.yhteysformi p{
    margin: initial;
    text-align: left;
    cursor: default;
    font-size: 18px;
    padding-top: 5px;
    padding-bottom:5px; 
}
.footer-icon{
    position: absolute;
    right: 20px;
    top:10px;
}
.footer-vasen > div > h5{
    font-weight: bold;
}
.footer-vasen > div > h5,
.footer-vasen > div > p{
    margin:0px;
}
.f-o-palsta{
    padding-top: 15px;
}
@media(max-width:991px){
    .footer-vasen,
    .footer-vasen > div > h5,
    .footer-vasen > div > p,
    .fb-cont{
        text-align: center !important;
    }
    .fb-cont{
        margin-top: 20px;
    }
    .footer-vasen{
        margin-bottom: 20px;
    }
}
@media(max-width:1014px){
    .secondary-navigation ul > li > a{
        font-size: 16px;
    }
}
@media(max-width:929px){
    .secondary-navigation ul > li > a{
        font-size: 15px;
    }
}
@media(max-width:887px){
    .secondary-navigation ul > li > a{
        font-size: 14px;
    }
}
@media(max-width:844px){
    .secondary-navigation ul > li{
        margin-right: 20px;
    }
}
@media(max-width:785px){
    .secondary-navigation ul > li{
        margin-right: 15px;
    }
}
.fb-link{
    font-weight: 500;
    font-family: "Roboto", sans-serif;
    font-size: 18px;
}
.fb-cont{
    padding-top: 2px;
}
.fb-cont img{
    display: inline;
    margin-right: 10px;
}
p{
    font-family: "Roboto", sans-serif;
}
input{
    border:0px;
}
submit{
    border:0px;
}
select{
    border:0px;
}
.tp-bullet{
    width: 20px;
    height: 20px;
    border-radius: 10px;
    border: 2px solid white;
    background-color: transparent;
}
.tp-bullet.selected, .tp-bullet:hover, .persephone.tparrows:hover{
    background-color: #ff0000 !important;
}
.tparrows:before{
    /*color:#b5d72b !important*/
}
.tp-rightarrow{
    /*transform: matrix(0.7, 0, 0, 2, -80, -25);*/
}
.tp-leftarrow{
    /*transform: matrix(0.7, 0, 0, 2, 30, -25);*/
}
.persephone.tparrows{
    background: transparent;
    border: 2px solid #f5f5f5;
}
.top-margin{
    margin-top: 20px;
}
.nav-stacked a{
    color:black;
}
.nav-stacked>li{
    border-bottom:1px #b5d72b solid;
}
.nav-stacked>li>a:hover{
    color:#e30613 !important;
    background-color: white;
}
.nav-stacked>li>a:focus{
    background-color: white;
}
.sub-menu{
    list-style-type: none;
}
.sub-menu>li{
    margin-bottom: 15px;
    margin-left: 20px;
}
.sub-menu>li>a:hover{
    color:#e30613 !important;
    text-decoration: none;
}
.sub-menu>li>a:focus{
    background-color: white;
    text-decoration: none;
}

@media (min-width:767px){
    .current-menu-item{
        /*background-color: #b5d72b;*/
        color:#e30613;
    }
    .oikeareuna{
        text-align: right;
        float:right;
    }
    .lisakuva{
        display: block;
    }
}
@media (max-width:766px){
    .oikeareuna{
        padding-top: 15px;
        text-align: center;
        margin: 0 auto;
    }
}
#responsive-menu{
    padding-top: 0px !important;
    top:150px !important;
}
#responsive-menu-title{
    display:none;
}
.current-menu-item > a{
    color:#e30613 !important;
}
.nav-stacked>li.current-menu-item{
     background-color: white;
     color: black;
}
.nav-stacked>li.current-menu-item>a{
     font-weight: bold;
}
.sub-menu>li.current-menu-item{
    /*background-color: white;
    color: black;
    font-weight: bold;*/
}
.navbar-nav>li.current-menu-item>a:hover{
    color:#e30613 !important;
}
.current-page-item{
    background-color: #b5d72b;
    color:black;
    font-weight: bold;
}
.contact-header{
    font-weight: bold;
    font-size: 18px;
    margin: 0px;
    padding-top: 10px;
    padding-left: 10px;
    padding-bottom: 10px;
    text-transform: uppercase;
    border-right:1px #b5d72b solid;
    border-left:1px #b5d72b solid;
    height:58px;
}
.contact-header-ru{
    height: 103px !important;
}
.ajax-loader{
    display: none;
}
a{
    cursor: pointer;
    color:#890f88;
}
.contact-header-eng{
    font-size: 14px;
}
@media (min-width:1200px){
    .lomake-container{
        display: none;
        margin: 0px;
        margin-left: -15px;
        padding: 0px;
        min-height: 250px;
        background-color: black;
    }
    /*.header-height{
        height:280px;
    }*/
}
@media (max-width:1199px){
    /*.header-height{
        height:220px !important;
    }*/
    
    .contact-header{
        padding-bottom: 10px;
        height:54px;
    }
    .contact-header-ru{
        height: 86px !important;
    }
    .contact-header-eng{
        font-size: 12px !important;
    }
    .lomake-container{
        display: none;
        margin: 0px;
        margin-left: -15px;
        padding: 0px;
        max-height: 210px;
        background-color: black;
    }
    
    .contact-header{
        font-size: 16px;
    }
}
@media (max-width:991px){
    .contact-header-eng{
        font-size: 14px;
    }
    .otayhteytta,
    .yhteysformi{
        max-width: 500px;
    }
    .otayhteytta{
        margin:0 auto;   
    }
    .contact-header{
        padding-bottom: 20px;
    }
    .lomake-container{
        display: none;
        margin: 0px;
        margin-left: -15px;
        padding: 0px;
        max-height: 210px;
        background-color: black;
    }
    
}
.tp-revslider-slidesli{
    background-color: rgba(0, 0, 0, 1) !important;;
}
.lomake-container-etusivu{
    display: none;
    position: absolute;
    top:0;
    right:15%;
    margin: 0px;
    padding: 0px;
    min-height: 200px;
    max-width:250px;
    background-color: black;
}
.lomake-container-mobiili{
    display: none;
    margin-top: 50px;
    margin-right: 20px;
    margin-left: 20px;
    padding: 0px;
    background-color: black;
}
/*.lomake-container-mobiili h2{
    margin-bottom: 20px;
}*/
.main-nav{
    background-color:white;
    border:0px;
    padding-top: 10px;
    padding-bottom: 10px;
    border-bottom:4px #3b615e solid;
    margin-bottom: 0px;
    height: 150px;
    -webkit-box-shadow: 0px 3px 2px 0px rgba(184,178,176,1);
    -moz-box-shadow: 0px 3px 2px 0px rgba(184,178,176,1);
    box-shadow: 0px 3px 2px 0px rgba(184,178,176,1);
}
.fb-icon-relative{
    position:relative;
}
.fb-icon{
    position:absolute;
    top:6px;
    right: 5%;
    height:19px;
    width: 19px;
    z-index:999;
    /*background: url(images/FB.png);*/
}
.language_switch{
    /*display: none !important;*/
    position:absolute;
    top:5px;
    right: 10%;
    height:19px;
    width:150px;
    z-index:9999;
    /*background: url(images/FB.png);*/
}
.language-relative{
    position: relative;
}
.languagelist{
    position: absolute;
    top: 0px;
    left: 0px;
    border-bottom-right-radius: 5px;
    width: 450px;
    height:55px;
    background-color: #688f95;
}
@media (max-width:399px){
    .language_switch{
        position:absolute;
        top:5px;
        right: 15%;
        height:19px;
        width:150px;
        z-index:9999;
    }
    .navbar-header{
        /*margin-top: 25px;*/
    }
    #click-menu.admin-bar-showing{
        /*margin-top: 60px !important;*/
    }
    #responsive-menu{
        top:150px !important;
    }
}
.language_switch li{
    display:inline-block;
    margin-right:10px;
   text-transform: uppercase;
    color:black;
    font-size: 14px;
}
.language_switch li>a{
    text-transform: uppercase;
    color:black;
    font-size: 14px;
}
.fb-icon img{
    height:19px;
    width: 19px;
}
.navbar-nav{
    margin-top:40px;
}
.navbar-nav>li{
    /*border-right:1px #b5d72b solid;
    border-top:1px #b5d72b solid;
    border-bottom:1px #b5d72b solid;*/
}
#menu-paavalikko:first-child{
    /*border-left: 1px #b5d72b solid;*/
}
#menu-paavalikko-ruotsi:first-child{
    /*border-left: 1px #b5d72b solid;*/
}
#menu-paavalikko-venaja:first-child{
    /*border-left: 1px #b5d72b solid;*/
}
#menu-paavalikko-englanti:first-child{
    /*border-left: 1px #b5d72b solid;*/
}
.navbar-nav>li>a{
    color:black;
    padding:5px 15px;
    text-transform: uppercase;
}
#menu-paavalikko-englanti>li>a{
    font-size: 14px;
}
.navbar-nav>li>a:hover{
    color:#e30613 !important;
}
.navbar-nav>li>a:active{
    /*color:#00 !important;*/
}
.navbar-default .navbar-nav>li>a:focus, .navbar-default .navbar-nav>li>a:hover{
    color: #3a7477;
}
.brand-img{
    margin:0px;
    margin-top: 60px;
    padding:0px;
    display: inline-block;
    /*max-width: 200px;*/
}
@media (max-width:767px){
    .brand-img{
        margin-left:10px;
    }    
}
@media(max-width:380px){
    .brand-img{
        max-width: 200px;
    }
}
.kampanja{
    /*border:1px #b5d72b solid;*/
    padding: 0px;
    padding-bottom: 10px;
}
@media(max-width:767px){
    .kampanja{
        margin-top:40px;
    }
}
.kampanja-text{
    margin-left: 15px;
    margin-right: 15px;
}
.kampanja-text h3{
    font-weight: bold;
    margin-bottom: 10px;
}
/*.kampanja-text a{
    color:red;
}*/
.ingressikuva{
    margin-top: 20px;
}
@media (max-width:767px){
    .ingressikuva{
        margin-top: 0px;
    }
}
.ingressiteksti h3{
    margin-bottom: 0px;
}
.ingressiteksti p{
    margin-top: 5px;
}
p>a{
    color:#890f88;
}
.kokemukset-kuvanavi{
    margin-left: 15px;
    margin-right: 15px;
    /*max-width: 250px;
    min-width: 200px;*/
    margin-bottom: 30px !important;
    padding:0px;
    background-color: rgb(255, 255, 255);
    box-shadow: 0px 3px 10px 0px rgba(0, 0, 0, 0.3);
}
@media (max-width:1200px){
    
    #menu-paavalikko-englanti>li>a{
        font-size: 13px;
    }
}
#responsive-menu .appendLink{
    border-left: 0px !important;
}
@media (max-width:991px){
    .kuvio{
        display: none;
    }
    .navbar-nav>li>a{
        padding:5px 5px;
    }
    .navbar-default .navbar-nav>li>a{
        font-size: 18px;
    }
}
@media (max-width:767px){
    .sub-menu{
        background: #eae8e7;
        padding-left: 20px;
        
    }
    .sub-menu>li{
        margin-bottom: 0px;
    }
    .sub-menu>li>a{
        border-top: 1px solid white !important;
    }
    .sub-menu>li.current_page_item > a{
        background: #eee !important;
    }
    .sub-menu .appendLink{
        background: #eee !important;
        border-top: 1px solid white !important;
        border-bottom: 1px solid white !important;
    }
    .sub-menu>li>a:focus{
        background: #eee !important;
    }
    .sub-menu>li.current-menu-item>a{
        background: #eee !important;
    }
    #responsive-menu .responsive-menu li.current-menu-item > a{
        font-weight: bold;
    }
}
@media (max-width:480px){
    h1{
        font-size: 33px;
    }
    #responsive-menu{
        font-size: 14px !important;
    }
    #responsive-menu .responsive-menu li li a{
        padding-left: 0px !important;
        width:100% !important;
    }
    .breadcrumbs{
        font-size: 12px;
    }
    table{
        font-size: 13px !important;
    }
}

.kokemukset-kuvanavi-text{
    margin-top: 5px;
    margin-bottom: 5px;
}
.kokemukset-kuvanavi-text>a{
    color: black;
    text-decoration: none;
}
.kokemukset-kuvanavi-text>a:hover{
    color:#b5d72b !important;
    text-decoration: none;
}
.fullwidthImg{
    width:100%;
}
.fullwidthDiv{
    width: 100%;
    margin-left:0px;
    margin-right: 0px;
    padding-left: 0px;
    padding-right: 0px;
    overflow:hidden;
}
.fullheight{
}
.own-footer{
    font-size: 14px;
    background-color: #25423f;
    color:white;
    margin-top: 40px;
    padding-top: 30px;
    padding-bottom: 20px;
}
.own-footer a{
    color:white;
}
.own-footer ul{
    padding-left: 0px;
}
.own-footer ul>li{
    list-style-type: none;
}
.keskitetty{
    text-align: center;
    margin:0 auto;
}
.paikkakuntalogo{
    margin-top:20px;
    max-width: 290px;
}
.hinnasto-taulukko>table{
    width: 100%;
}
.hinnasto-div{
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px #b5d72b solid;
}
.leikkaavat-laakarit-div{
    padding-top: 30px;
    padding-bottom: 30px;
    border-top: 1px #b5d72b solid;
}
.leikkaavat-laakarit-div h2{
    margin-top: 0px;
}
.laakarit-header{
    margin-bottom: 20px;
}
td{
    border:none !important;
    padding-left: 0px !important;
}
.footerheight{
    min-height: 750px;
}
@media (max-width:768px){
    .footerheight{
        min-height: 250px;
    }
}

/*input[type=checkbox] {
    display: none;
}
input[type="checkbox"] + span {
    display:inline-block;
    width:19px;
    height:19px;
    margin:-1px 4px 0 0;
    vertical-align:middle;
    background-color: whitesmoke;
    cursor:pointer;
    padding-left: 20px;
    font-size: 16px;
    font-weight: normal;
}
input[type=checkbox]:checked + span {
    background-color: red;

}*/
label{
    font-size: 16px;
    font-weight: normal;
}
#responsive-menu .appendLink{
    border-bottom:0px !important;
    border-top: 1px #b5d72b solid;
}
.prettycheckbox label, .prettyradio label{
    display: none;
}

.has-pretty-child{
    height: 40px;
    position: relative;
    margin-bottom: 10px;
}

.prettycheckbox>a, .prettyradio>a{    
    position:absolute;
    top:10px;
    left: 0px;
}
.list-item-2{
    position:relative;
    float:left;
    clear:both;
    margin-left: 0px !important;
    margin-top: 20px !important;
    margin-bottom: 40px !important;
}
.list-item-label{
    position:absolute;
    top:-3px;
    left: 50px;
    min-width:250px;
    width:100%;
}
.acf-map {
	width: 100%;
	height: 400px;
	margin-top: 20px;
}

/* fixes potential theme css conflict */
.acf-map img {
   max-width: inherit !important;
}
.gmnoprint,
.gm-style-cc{
    /*display: none;*/
}
.otayhteytta{
    width: 100%;
    height: 50px;
    background-color: #70a1a9;
    color: white;
    cursor:pointer;
    position: relative;
}
.yhteysformi{
    z-index: 999999;
    display: none;
    position: absolute;
    min-height:450px;
    /*width: calc(100% - 30px);*/
    width: 100%;
    bottom:50px;
    /*left:15px;*/
    background-color: #eae8e7;
}
.wpcf7-form{
    color:black;
    font-weight: bold;
    padding-left:15px;
    padding-right: 15px;
    font-family: "Roboto", sans-serif;
    font-size: 18px;
}
.wpcf7 input, 
textarea,
select{
    max-width: 100%;
    /*min-width: 100%;*/
    min-height: 30px;
    padding-left: 5px;
    font-family: "Roboto", sans-serif;
    font-size: 16px;
    font-weight: 400;
}
select,
textarea,
input[type="text"]{
    min-width: 100%;
}
input[type="submit"]{
    width: 45% !important;
    float:right;
    height:40px;
    margin-bottom: 20px;
    font-weight: bold;
    color: white;
    background-color: #25423f;
}
input[type="submit"]:hover{
    opacity: 0.8;
}
.tyhjenna{
    font-weight: 400;
    font-size: 16px;
    cursor: pointer;
    margin: 0 auto;
    padding-top: 10px;
    display: inline-block;
}
.article_date{
    margin-top: 0px;
    margin-bottom: 0px;
}
.article_date + a{
    font-size: 15px !important;
    font-weight: normal !important;
    font-family: "Roboto", sans-serif !important;
}
.main_article_date{
    margin-top: 30px;
    margin-bottom: 0px;
    display: block;
}
.main_article_date + h2{
    margin-top: 0px;
    font-size: 18px;
    font-family: "Roboto", sans-serif;
}
.rev_slider .tp-caption{
    font-family: "Ubuntu", sans-serif;
}

.ads{
    margin-top: 0px !important;
}
.menu-tyhjae-container{
    display: none;
}

.yt_kuva{
    float: right;
    margin-top: -3px;
    margin-right: 15px;
}
@media(max-width:340px){
    .yt_kuva{
        margin-right: 0px;
    }
}