/**
Theme Name: Marian Siivouspalvelut
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: marian-siivouspalvelut
Template: astra
*/


/* HEADER */

/* Header, varjostus */
 header.site-header {
    box-shadow: 0px 24px 46px -48px rgba(0, 0, 0, .7);
}
<meta name="google-site-verification" content="q68PpIsaFkWPI_OaRethqnppodLgAHFrfip9SW73AzU" />
body #page #ast-fixed-header .main-header-bar {
    box-shadow: 0 8px 8px -12px rgba(0, 0, 0, .4);
}

/* Header, "Pyyda tarjous" -painikkeen tyylittely */
body .site-header .site-navigation .main-header-menu .tarjouspyynto-painike a {
    background-color: var(--ast-global-color-0);
    line-height: 1em;
    height: auto;
    padding: 16px 20px;
    border-radius: 40px;
    color: #ffffff;
    margin-left:12px;
    transition: background-color 0.1s ease-in 0s;
}

body .site-header .site-navigation #ast-hf-mobile-menu .tarjouspyynto-painike a {
    background-color: var(--ast-global-color-0);
    line-height: 1em;
    height: auto;
    padding: 16px 20px;
    border-radius: 40px;
    color: #ffffff;
    margin: 12px 24px;
    width: auto;
}

body .site-header .site-navigation .main-header-menu .tarjouspyynto-painike a:hover,
body .site-header .site-navigation .main-header-menu .tarjouspyynto-painike a:focus,
body .site-header .site-navigation #ast-hf-mobile-menu .tarjouspyynto-painike a:hover,
body .site-header .site-navigation #ast-hf-mobile-menu .tarjouspyynto-painike a:focus {
    background-color: var(--ast-global-color-2);
}

/* Mobiiliheader */
body header.site-header #ast-mobile-header .site-branding .site-logo-img {
    padding-right:0;
}

body header.site-header #ast-mobile-header .ast-button-wrap button.menu-toggle {
    padding: 12px 0 12px 8px;
}

body .site-header .site-navigation #ast-hf-mobile-menu .ast-menu-toggle {
    box-shadow:none;
}

body header.site-header #ast-mobile-header .ast-mobile-header-content ul.main-header-menu > li button.ast-menu-toggle .ast-icon svg {
    margin-left:2px;
}


/* BODY */

/* Otsikkofontit */
body h4,
body h5,
body h6,
body .entry-content h4,
body .entry-content h5,
body .entry-content h6{
    font-family: 'Lexend Deca',sans-serif;
}

body .entry-content h1.wp-block-heading,
body .entry-content h2.wp-block-heading,
body .entry-content h3.wp-block-heading,
body .entry-content h4.wp-block-heading,
body .entry-content h5.wp-block-heading,
body .entry-content h6.wp-block-heading {
    margin-top: 1em;
}

body .entry-content .wp-block-uagb-container h1.wp-block-heading,
body .entry-content .wp-block-uagb-container h2.wp-block-heading,
body .entry-content .wp-block-uagb-container h3.wp-block-heading,
body .entry-content .wp-block-uagb-container h4.wp-block-heading,
body .entry-content .wp-block-uagb-container h5.wp-block-heading,
body .entry-content .wp-block-uagb-container h6.wp-block-heading {
    margin-top: 0;
}

/* Ylikirjoitetaan Astran omat padding-tyylit */
body #page .ast-container,
body.ast-separate-container #page .ast-container  {
    padding-left: 24px;
    padding-right:24px;
}

body.ast-separate-container #content .ast-container #primary {
    padding:0;
}

@media (min-width: 1201px) {
    body.ast-separate-container #page .ast-article-post,
    body.ast-separate-container #page .ast-article-single,
    body.ast-separate-container #page .ast-author-box,
    body.ast-separate-container #page .ast-404-layout-1,
    body.ast-separate-container #page .no-results {
        padding: 2em;
    }
}

@media (max-width: 1200px) {
    body.ast-separate-container #page .ast-article-post,
    body.ast-separate-container #page .ast-article-single,
    body.ast-separate-container #page .ast-author-box,
    body.ast-separate-container #page .ast-404-layout-1,
    body.ast-separate-container #page .no-results {
        padding: 0;
    }
}

/* Painikkeisiin kevyt hover-animaatio */
body #page .wp-block-button .wp-block-button__link {
    transition: background-color 0.1s ease-in 0s;
}

/* Palvelumme-osio */
body #page .palvelumme .wp-block-buttons {
    margin-top: auto;
}

/* Lista ruususymboleilla */

body #page ul.lista-ruusu {
    list-style:none;
    padding-left: 0;
    margin-left:16px;
}

body #page ul.lista-ruusu li {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 12px;
}

body #page ul.lista-ruusu li:last-child {
    margin-bottom: 0;
}

body #page ul.lista-ruusu li::before {
    content:"";
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg id='_x31_870996914' xmlns='http://www.w3.org/2000/svg' version='1.1' viewBox='0 0 376.8 338.1'%3E%3C!-- Generator: Adobe Illustrator 29.3.1, SVG Export Plug-In . SVG Version: 2.1.0 Build 151) --%3E%3Cdefs%3E%3Cstyle%3E .st0 %7B fill: %23fff; fill-rule: evenodd; %7D %3C/style%3E%3C/defs%3E%3Cpath class='st0' d='M26.9,84.5c-1.4,21.5,8.6,45,20.9,60.3,10.3,12.8,12.1,18.7,5.6,35.3-9.4,24.1,10.5,61.2,26.9,70.1C13.2,268.6-21.4,215.8,14.3,168.7c6.1-8,11.2-13,6.4-21.7-9.4-17-12.1-47.2,6.2-62.5M127.5,114.7c-8.6-8.6-15.4-.9-14.1,16.7,1.1,15,0,31.9,15.8,40.4,17.2,9.3,22,5.9,34.4,33.5,8,17.9,18.8,25.8,45.4,14.8,39.4-16.2,64.5-44.6,55.1-71.1-9.4-26.6-24.8-6.8-46.2,6s-68.9,0-90.3-40.2'/%3E%3Cpath class='st0' d='M198.6,111.2c-1.4,5.8-6.6,13.4-13.4,14.8-20.6,4.2-31-15.4-18.5-32.4,8.8-11.9,25.6-15.9,38.2-15.3,40.1,2.2,63,47.3,21,44.4-15.1-1.1-27.3-11.5-27.3-11.6'/%3E%3Cpath class='st0' d='M223.8,63.8c-26.5-12.8-71.5,4.4-71.9,34.7-2.6,24.7-28.1-7.4-11.9-35.1,3.5-6,8.5-11.8,14.7-15,23.3-12.2,50.2-9.4,69.1,15.5'/%3E%3Cpath class='st0' d='M179.2,15.4c-56.6-9.9-104.5,54.2-86.2,131.6-25.8-5.7-52.8-59.5-43.1-99.2C62.7-5,138.7-11.3,179.2,15.4M109.1,183.6c14.2,7.7,29.1,22.6,32.6,40,13.1,65.9,115.7,18.6,112.4,26.5-15.3,37.6-58.8,46.1-103.2,29.3-38.6-14.6-67.6-45-69.6-83.6-1.1-21.5,9.1-22.4,27.8-12.3M204.8,15.1c37.7,1.1,61.2,46.6,61.2,69.4s13.9,26.3,30.4,30.7c16.5,4.4,24.2,80.7-36.3,109.1,99-22.2,135.9-117.3,70.4-133.3-41.7-10.2-17-52.8-34.4-73.2-10-11.6-41.9-31.3-91.2-2.7M373.1,194.5c-15.4,44.7-94.1,24.3-129.8,129.1,79.3-41.4,150.7-59,129.8-129.1M43.7,283.1c93.8-19.8,100.1,46.2,177.1,41.2-59.5,24.7-147.7,18.7-177.1-41.2'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

/* HUOMIOPALLO OIKEALLA */
body #page .wp-block-uagb-container.huomio-pallo-oikealla-wrapper {
    height:0;
}

body #page .wp-block-uagb-container.huomio-pallo-oikealla-wrapper .huomio-pallo-oikealla {
    position:relative;
    z-index:1;
    right: 20px;
    top:-24px;
}

@media (min-width: 767px) and (max-width: 921px) {
    body #page .wp-block-uagb-container.huomio-pallo-oikealla-wrapper .huomio-pallo-oikealla {
        width: 160px;
        height: 160px;
        min-height: 160px;
    }
}

@media (max-width: 766px) {
    body #page .wp-block-uagb-container.huomio-pallo-oikealla-wrapper .huomio-pallo-oikealla {
        width: 160px;
        height: 160px;
        min-height: 160px;
        top:40px;
    }
}

/* SOMEKUVAKKEET */

/* Somekuvakkeiden tekstin line-height */
body #page .wp-block-social-links.has-visible-labels .wp-block-social-link-label {
        line-height: 1.4em;
}

/* Iso somekuvake pienemmäksi mobiilissa */
@media (max-width: 766px) {
    body #page .wp-block-social-links.has-large-icon-size.has-visible-labels .wp-block-social-link-label {
        font-size: 18px;
        line-height: 1.4em;
    }
}

/* UKK-lohko */

/* Viimeisestä UKK-kysymyksestä alamarginaali pois */
body #page .wp-block-uagb-faq.uagb-faq-layout-accordion .wp-block-uagb-faq-child:last-of-type {
    margin-bottom:0;
}

/* WHATSAPP-PAINIKE */

body .wp-block-social-links.whatsapp-painike {
    position: fixed;
    margin:0;
    right:15px;
    bottom:15px;
    z-index:999;
    font-size: 30px;
}

body .wp-block-social-links.whatsapp-painike .wp-social-link-whatsapp {
    box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.25);
    -webkit-box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.25);
    -moz-box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.25);
}

/* ARTIKKELIT */

body.ast-separate-container #page .site-content .ast-single-post-featured-section + article {
    margin-top: -120px;
    border-radius: 8px;
}

@media (max-width: 921px) {
    body.ast-separate-container #page .site-content .ast-single-post-featured-section + article {
    margin-top: 0;
    border-radius: 0;
    }
}

body.single #content .ast-single-post-featured-section.post-thumb img {
    object-position: 100% 40%;
}

body.single #content .content-area nav.post-navigation .nav-links {
    gap: 12px;
    padding:0;
}

body.single #content .content-area nav.post-navigation .nav-links a {
    margin:0;
    padding:0;
}

body.single #content .content-area nav.post-navigation .nav-links a .edellinen-artikkeli-osio,
body.single #content .content-area nav.post-navigation .nav-links a .seuraava-artikkeli-osio {
    font-weight: 400;
    margin-bottom: 8px;
    font-size: 14px;
}

/* Artikkeligridi */
body #page .wp-block-uagb-loop-builder.blogitekstit-grid .uagb-loop-post .uagb-heading-text a {
    text-decoration: none;
}

body #page .wp-block-uagb-loop-builder.blogitekstit-grid .uagb-loop-pagination .wp-block-uagb-buttons-child.numero-sivutus a#uagb-pagination-links {
    padding: 12px 20px;
}

body #page .wp-block-uagb-loop-builder.blogitekstit-grid .uagb-loop-pagination .seuraava-sivutus a#uagb-pagination-links,
body #page .wp-block-uagb-loop-builder.blogitekstit-grid .uagb-loop-pagination .edellinen-sivutus a#uagb-pagination-links {
    padding-top: 16px;
    padding-bottom: 16px;
}
