/*
 Theme Name: Hello Child
 Template: hello-biz
 Version: 1.0.0
*/

.motokuva {
    position: relative;
    overflow: hidden;
}

.motokuva::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 148px;
    height: 100%;
    background: #fff;
    z-index: 5;
    pointer-events: none;

    clip-path: polygon(
        0% 0%,
        0% 100%,
        23.1% 100%,
        23.8% 87.6%,
        100% 87.6%,
        3.4% 73.0%,
        71.4% 62.4%,
        59.2% 52.1%,
        4.1% 43.9%,
        42.9% 37.3%,
        19.7% 17.1%,
        4.1% 14.6%,
        15.0% 12.7%
    );

    -webkit-clip-path: polygon(
        0% 0%,
        0% 100%,
        23.1% 100%,
        23.8% 87.6%,
        100% 87.6%,
        3.4% 73.0%,
        71.4% 62.4%,
        59.2% 52.1%,
        4.1% 43.9%,
        42.9% 37.3%,
        19.7% 17.1%,
        4.1% 14.6%,
        15.0% 12.7%
    );
}
.ehp-flex-footer__group--text a {
    white-space: nowrap;
}
.ehp-flex-footer__group--text p {
    white-space: nowrap;
}
.yritys-facta{
list-style:none !important;
padding:0 !important;
margin:0 !important;
}

.yritys-facta li{
position:relative !important;
padding-left:28px !important;
margin-bottom:10px !important;
}

.yritys-facta li::before{
content:"✔" !important;
position:absolute !important;
left:0 !important;
top:0 !important;
color:#0f5a63 !important;
}
.language-switcher a{
text-decoration:none !important;
color:inherit;
font-weight:400;
margin:0 4px;
}

.language-switcher a.active{
font-weight:700;
}
p{
font-family:"Asap", sans-serif !important;
font-size:18px !important;
}
.yritys-tiedot{
border:1px solid #ddd;
border-bottom:none;
max-width:700px;
}

.tieto-rivi{
display:flex;
border-bottom:1px solid #ddd;
}

.tieto-otsikko{
width:230px;
padding:10px;
font-weight:700;
border-right:1px solid #ddd;
background:#f9f9f9;
}

.tieto-arvo{
flex:1;
padding:10px;
}

/* mobiili */

@media (max-width:768px){

.tieto-rivi{
flex-direction:column;
}

.tieto-otsikko{
width:100%;
border-right:none;
border-bottom:1px solid #ddd;
}

}
.elementor-element-756d30c .elementor-icon-box-content{
    text-align: center !important;
}

.elementor-element-756d30c .yritys-tiedot{
    margin: 0 auto 20px auto !important;
    text-align: left !important;
}

.elementor-element-756d30c h4{
    text-align: center !important;
    margin-top: 20px !important;
    margin-bottom: 10px !important;
}
/* =========================
   MOBIILI OTSIKOT
   ========================= */
@media (max-width: 768px){

    h1{
        font-size: 28px !important;
        line-height: 1.2;
    }

    h2{
        font-size: 24px !important;
        line-height: 1.3;
    }

    h3{
        font-size: 20px !important;
        line-height: 1.3;
    }

    h4{
        font-size: 18px !important;
        line-height: 1.4;
    }

    h5{
        font-size: 16px !important;
    }

    h6{
        font-size: 14px !important;
    }

}
/* Tablet-koko: palvelusivun H1- ja H2-otsikoiden rivitys */
@media (min-width: 1201px) and (max-width: 1500px) {

    h1.elementor-heading-title {
        font-size: 38px !important;
    }

    h2.elementor-heading-title {
        font-size: 28px !important;
    }
}
/* Tablet-koko: palvelusivun H1- ja H2-otsikoiden rivitys */
@media (min-width: 768px) and (max-width: 1200px) {

    h1.elementor-heading-title {
        font-size: 34px !important;
        line-height: 1.05 !important;
        max-width: 100%;
        overflow-wrap: normal;
        word-break: normal;
        hyphens: none;
    }

    h2.elementor-heading-title {
        font-size: 24px !important;
        line-height: 1.1 !important;
        max-width: 100%;
        overflow-wrap: normal;
        word-break: normal;
        hyphens: none;
    }
}