/*!
Theme Name: Kadence Theme Child
Theme URI: https://www.kadencewp.com/kadence-theme/
Template: kadence
Author: Digiteam Oy
Author URI: https://digiteam.fi
Description: Kadence Child created by Digiteam.
Version: 1.0.0
License: GNU General Public License v3.0 (or later)
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: kadence-child
*/

/* Theme customization starts here
-------------------------------------------------------------- */

/* HEADER */
#secondary-menu li a {
    text-decoration: underline;
}
#secondary-menu li a:hover {
    color: var(--global-palette2);
}
.mobile-navigation .drawer-sub-toggle {
    border-left: 0 !important;
}
.mobile-navigation ul li ul li {
    font-size: 14px;
}
.header-navigation[class*=header-navigation-style-underline] .header-menu-container>ul>li>a:after {
    height: 4px !important;
    background: var(--global-palette1) !important;
}


/* FOOTER */


/* YLEINEN */

.hero-content-area {
    position: absolute;
    width: 823px;
    top: 70px;
    left: -150px;
}
.hero-empty-area {
    position: absolute;
    width: 823px;
    top: 35px;
    left: -150px;
}
.cta-yhteystiedot .nimi .kt-svg-icon-list-single {
    display: none !important;
}
.linkki-listaus .kb-svg-icon-wrap {
    order: 1 !important;
    margin-left: 15px !important;
}
.referenssit-slider .splide__pagination__page {
    width: 13px !important;
    height: 13px !important;
}
.referenssit-slider .splide__arrow {
    border-radius: 90px !important;
    height: 37px !important;
    width: 37px !important;  
}
.referenssit-slider .splide__arrow--prev {
    left: -65px !important;
}
.referenssit-slider .splide__arrow--next {
    right: -65px !important;
}
.referenssit-slider .splide__pagination, .referenssit-slider ul.splide__pagination.splide__pagination {
    bottom: -40px !important;
}
.referenssit-slider .kt-blocks-post-readmore:after {
    content: "";
    display: inline-block;
    width: 13px;
    height: 13px;
    margin-left: 15px;
    background-image: url(/wp-content/uploads/nuoli-tumma.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    vertical-align: middle;
}
.referenssit-slider .kt-blocks-post-readmore:hover {
    text-decoration: underline;
}
.referenssit-slider .kt-blocks-post-readmore:hover::after{
    background-image: url(/wp-content/uploads/nuoli-vihrea.svg);
}
.sisalto-kuvablokki {
    position: relative;
    z-index: 10 !important;
    width: 661px;
    top: 40px;
}
.sisalto-tekstiblokki  {
    position: relative;
}
.refe-list .entry-title {
    text-decoration: underline;
}
.refe-list a.post-more-link {
    font-weight: 600;
    letter-spacing: unset;
    text-transform: none;
    font-size: 1.063rem;
    line-height: 1.563rem;
}

@media (max-width: 1200px) {
    .hero-content-area {
        width: auto;
    }
    .referenssit-slider .splide__arrow--prev,
    .referenssit-slider .splide__arrow--next {
        display: none;
    }
    .sisalto-kuvablokki {
        z-index: 1 !important;
        top: 70px;
    }
    .sisalto-tekstiblokki {
        z-index: 20 !important;
    }
}
@media (max-width: 767px) {
    .hero-content-area {
        position: relative;
        top: 0px;
        left: 0px;
    }
    .referenssit-slider .kb-splide .splide__slide {
        width: calc(80% + 0px) !important;
    }
    .sisalto-kuvablokki {
        width: auto;
        top: 0;
    }
    .referenssi-karuselli-rivi .kt-row-column-wrap {
        padding-right: 0 !important;
    }
}