@font-face {
font-family: Nunito;
font-style: normal;
font-weight: 200 900;
font-display: swap;
src: url(//www.puunkaatoanttio.fi/wp-content/plugins/puunkaatoanttio/assets/nunito-latin.woff2) format('woff2');
} #content :is(h1, h2),
.editor-styles-wrapper :is(h1, h2) {
text-transform: uppercase;
} .pa-etusivu-hero,
.pa-etusivu-palvelut,
.pa-etusivu-info,
.pa-etusivu-teksti {
font-family: Nunito, sans-serif;
color: #1c1a16;
}
.pa-etusivu-hero {
margin: 0;
}
.pa-etusivu-hero__visual {
width: 100%;
}
.pa-etusivu-hero__background {
width: 100%;
height: auto;
display: block;
}
.pa-etusivu-hero__heading {
max-width: 1140px;
margin: 0 auto;
padding: 56px 20px 24px;
text-align: center;
color: #006c0e;
}
.pa-etusivu-hero__heading h1 {
margin: 0;
font-size: clamp(27px, 2.4vw, 34px);
font-weight: 800;
line-height: 1.18;
color: inherit;
}
.pa-etusivu-hero__heading p {
margin: 0;
font-size: clamp(23px, 2.25vw, 32px);
line-height: 1.1;
color: inherit;
}
.pa-etusivu-palvelut {
max-width: 1140px;
margin: 0 auto;
padding: 30px 20px 50px;
}
.pa-etusivu-palvelut__grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 42px 48px;
align-items: start;
}
.pa-etusivu-palvelut__grid > .block-editor-inner-blocks,
.pa-etusivu-palvelut__grid > .block-editor-inner-blocks > .block-editor-block-list__layout {
display: contents;
}
.pa-etusivu-palvelu {
text-align: center;
min-width: 0;
}
.pa-etusivu-palvelu__icon {
display: block;
width: 72px;
height: 72px;
object-fit: contain;
margin: 0 auto 12px;
}
.pa-etusivu-palvelu h3 {
margin: 0 0 14px;
color: #286b25;
font-size: 20px;
font-weight: 400;
line-height: 1.3;
}
.pa-etusivu-palvelu h3 a,
.pa-etusivu-palvelu__more {
color: inherit;
text-decoration: none;
}
.pa-etusivu-palvelu p {
max-width: 290px;
margin: 0 auto;
font-size: 16px;
line-height: 1.55;
}
.pa-etusivu-palvelu__more {
display: inline-block;
color: #286b25;
font-size: 16px;
}
.pa-etusivu-palvelu h3 a:hover,
.pa-etusivu-palvelu__more:hover {
text-decoration: underline;
}
.pa-etusivu-palvelut__mascot {
text-align: center;
align-self: center;
}
.pa-etusivu-palvelut__mascot img {
display: block;
width: min(100%, 230px);
height: auto;
margin: 0 auto;
}
.pa-etusivu-teksti {
max-width: 1140px;
margin: 0 auto;
padding: 0 20px 32px;
font-size: 19px;
line-height: 1.6;
}
.pa-etusivu-teksti h2 {
margin: 0 0 12px;
color: #286b25;
font-size: 27px;
font-weight: 400;
}
.pa-etusivu-teksti p {
margin: 0 0 16px;
}
.pa-etusivu-teksti .pa-etusivu-teksti__cta {
margin-top: 28px;
font-size: 20px;
}
.pa-etusivu-info {
background: #e4e4e8;
margin: 100px 0 0;
}
.pa-etusivu-info__inner {
max-width: 1140px;
margin: 0 auto;
padding: 20px;
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
gap: 48px;
align-items: start;
}
.pa-etusivu-info__copy h2 {
margin: 0 0 14px;
color: #286b25;
font-size: 20px;
font-weight: 400;
}
.pa-etusivu-info__copy p {
margin: 0 0 28px;
font-size: 16px;
line-height: 1.5;
}
.pa-etusivu-info__copy p:last-child {
margin-bottom: 0;
}
.pa-etusivu-info__copy a {
color: #286b25;
}
.pa-etusivu-info__video {
aspect-ratio: 16 / 9;
width: 100%;
}
.pa-etusivu-info__video iframe {
width: 100%;
height: 100%;
border: 0;
}
@media (max-width: 900px) {
.pa-etusivu-palvelut__grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}
@media (max-width: 640px) {
.pa-etusivu-hero__heading { padding: 44px 18px 12px; }
.pa-etusivu-palvelut { padding: 22px 20px 38px; }
.pa-etusivu-palvelut__grid {
grid-template-columns: 1fr;
gap: 36px;
}
.pa-etusivu-palvelu p { max-width: 340px; }
.pa-etusivu-teksti { font-size: 17px; }
.pa-etusivu-info { margin-top: 64px; }
.pa-etusivu-info__inner { grid-template-columns: 1fr; gap: 24px; }
} .pa-logo {
display: flex;
justify-content: center;
width: 100%;
margin: 0 auto 32px;
padding: 0 20px;
box-sizing: border-box;
}
.pa-logo img {
display: block;
width: min(100%, var(--pa-logo-width, 120px));
height: auto;
object-fit: contain;
}
.pa-palvelut-hero {
width: 100%;
height: 400px;
margin: 0 0 80px;
overflow: hidden;
}
.pa-palvelut-hero img {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
object-position: center center;
}
.pa-palvelut-galleria {
margin-top: 100px;
padding: 10px 50px;
background: #e0e0e6;
}
.pa-palvelut-galleria__grid {
display: grid;
grid-template-columns: repeat(var(--pa-palvelut-columns, 5), minmax(0, 1fr));
gap: 6px;
}
.pa-palvelut-galleria__item,
.pa-palvelut-galleria__editor-item {
position: relative;
display: block;
min-width: 0;
aspect-ratio: 16 / 9;
overflow: hidden;
}
.pa-palvelut-galleria__item img,
.pa-palvelut-galleria__editor-item > img {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
}
.pa-palvelut-galleria__item:hover img {
transform: scale(1.03);
}
.pa-palvelut-galleria__item img {
transition: transform 160ms ease;
}
.pa-palvelut-galleria__item:focus-visible {
outline: 3px solid #286b25;
outline-offset: 3px;
}
.pa-palvelut-galleria__dialog {
width: min(96vw, 1500px);
height: min(94vh, 1100px);
max-width: none;
max-height: none;
padding: 0;
border: 0;
background: transparent;
color: #fff;
overflow: visible;
}
.pa-palvelut-galleria__dialog::backdrop {
background: rgba(0, 0, 0, .92);
}
.pa-palvelut-galleria__lightbox {
position: relative;
display: flex;
align-items: center;
justify-content: center;
width: 100%;
height: 100%;
}
.pa-palvelut-galleria .pa-palvelut-galleria__lightbox img {
display: block;
width: auto;
height: auto;
max-width: calc(100% - 110px);
max-height: calc(100% - 60px);
object-fit: contain;
}
.pa-palvelut-galleria__dialog button {
position: absolute;
z-index: 1;
width: 44px;
height: 44px;
padding: 0;
border: 0;
background: rgba(0, 0, 0, .5);
color: #fff;
cursor: pointer;
font: inherit;
font-size: 30px;
line-height: 1;
}
.pa-palvelut-galleria__dialog button:focus-visible {
outline: 2px solid #fff;
outline-offset: 2px;
}
.pa-palvelut-galleria__close { top: 8px; right: 8px; }
.pa-palvelut-galleria__previous { left: 0; top: calc(50% - 22px); }
.pa-palvelut-galleria__next { right: 0; top: calc(50% - 22px); }
.pa-palvelut-galleria__counter {
position: absolute;
bottom: 6px;
left: 50%;
transform: translateX(-50%);
font-size: 14px;
}
.pa-palvelut-galleria__editor-tools {
padding: 10px 0;
}
.pa-palvelut-galleria__editor-actions {
position: absolute;
inset: auto 0 0;
display: flex;
justify-content: center;
gap: 2px;
background: rgba(255, 255, 255, .9);
}
.pa-palvelut-galleria__empty {
margin: 0;
padding: 28px;
text-align: center;
}
@media (max-width: 900px) {
.pa-palvelut-galleria__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pa-palvelut-galleria { padding-inline: 24px; }
}
@media (max-width: 640px) {
.pa-palvelut-hero { height: 200px; margin-bottom: 48px; }
.pa-palvelut-hero img { object-position: left top; }
.pa-palvelut-galleria__grid { grid-template-columns: minmax(0, 1fr); }
.pa-palvelut-galleria { margin-top: 64px; padding-inline: 12px; }
.pa-palvelut-galleria .pa-palvelut-galleria__lightbox img { max-width: calc(100% - 60px); }
.pa-palvelut-galleria__dialog button { width: 32px; height: 40px; font-size: 24px; }
} .page-content,
.editor-styles-wrapper {
color: #1c1a16;
}
.page-content :where(h1.wp-block-heading:not(.has-text-color), h2.wp-block-heading:not(.has-text-color)),
.editor-styles-wrapper :where(h1.wp-block-heading:not(.has-text-color), h2.wp-block-heading:not(.has-text-color)) {
color: #006c0e;
}
.page-content :where(h1.wp-block-heading, h2.wp-block-heading, .pa-gutenberg-paragraph),
.page-content > p.has-text-align-center,
.editor-styles-wrapper :where(h1.wp-block-heading, h2.wp-block-heading, p.wp-block-paragraph, p[data-type="core/paragraph"], [data-type="core/paragraph"] p) {
margin-inline: auto;
text-align: center;
font-family: Nunito, sans-serif;
}
.page-content > :where(h1.wp-block-heading, h2.wp-block-heading, .pa-gutenberg-paragraph, p.has-text-align-center) {
box-sizing: border-box;
max-width: 940px;
padding-inline: 20px;
}
.page-content :where(h1.wp-block-heading),
.editor-styles-wrapper :where(h1.wp-block-heading) {
margin-block: 40px 20px;
font-size: 40px;
font-weight: 400;
line-height: 1;
}
.page-content :where(h2.wp-block-heading),
.editor-styles-wrapper :where(h2.wp-block-heading) {
margin-block: 20px;
font-size: 20px;
font-weight: 600;
line-height: 1;
}
.page-content :where(.pa-gutenberg-paragraph),
.page-content > p.has-text-align-center,
.editor-styles-wrapper :where(p.wp-block-paragraph, p[data-type="core/paragraph"], [data-type="core/paragraph"] p) {
margin-block: 0 14px;
font-size: 20px;
font-weight: 400;
line-height: 1.5;
}
.page-content :where(.pa-gutenberg-paragraph:not(.has-text-color)),
.page-content > p.has-text-align-center:not(.has-text-color),
.editor-styles-wrapper :where(p.wp-block-paragraph:not(.has-text-color), p[data-type="core/paragraph"]:not(.has-text-color), [data-type="core/paragraph"] p:not(.has-text-color)) {
color: #1c1a16;
} .page-content :is(.wp-block-paragraph, .wp-block-list) a,
.pa-etusivu-teksti p a,
.pa-article .pa-article__content :is(p, li) a,
.editor-styles-wrapper :is(p, li) a {
color: #006c0e;
font-weight: 700;
text-decoration: none;
}
.page-content :is(.wp-block-paragraph, .wp-block-list) a:hover,
.pa-etusivu-teksti p a:hover,
.pa-article .pa-article__content :is(p, li) a:hover,
.editor-styles-wrapper :is(p, li) a:hover {
color: #006c0e;
text-decoration: none;
} .page-content > ul.wp-block-list {
box-sizing: border-box;
width: 100%;
max-width: 940px;
margin: 0 auto 14px;
padding-inline: 20px;
list-style-position: inside;
font-family: Nunito, sans-serif;
font-size: 20px;
line-height: 1.5;
}
.page-content > ul.wp-block-list:not(.has-text-color) {
color: #1c1a16;
} :is(.pa-palvelut-teksti, .wp-block-group.is-style-puunkaatoanttio-palvelut-teksti) {
box-sizing: border-box;
width: 100%;
max-width: 940px;
margin-inline: auto;
padding-inline: 20px;
}
:is(.pa-palvelut-teksti, .wp-block-group.is-style-puunkaatoanttio-palvelut-teksti).is-layout-constrained > * + * {
margin-block-start: 0;
}
.pa-etusivu-teksti p.pa-gutenberg-paragraph {
font-size: inherit;
color: #1c1a16;
}
@media (max-width: 640px) {
.page-content :where(h1.wp-block-heading),
.editor-styles-wrapper :where(h1.wp-block-heading) {
margin-block-start: 32px;
font-size: 28px;
}
} .pa-footer ~ #site-footer {
display: none;
}
.pa-footer {
background: #291f1c;
color: #fff;
font-family: Nunito, sans-serif;
text-align: center;
padding: 45px 20px 35px;
}
.pa-footer__inner {
max-width: 1140px;
margin-inline: auto;
}
.pa-footer p {
margin: 0;
color: inherit;
font-size: 20px;
font-weight: 400;
line-height: 1.5;
}
.pa-footer__contact {
margin-top: 45px;
}
.pa-footer__company {
margin-top: 42px;
}
.pa-footer a {
color: inherit;
text-decoration: none;
}
#pa-site-footer p,
#pa-site-footer a,
#pa-site-footer a:hover {
color: #fff;
}
.pa-footer__contact a:hover {
text-decoration: underline;
}
.pa-footer__links {
display: flex;
flex-wrap: wrap;
justify-content: center;
align-items: center;
gap: 12px;
margin-top: 20px;
}
.pa-footer__link {
display: flex;
align-items: center;
justify-content: center;
width: 42px;
height: 45px;
}
.pa-footer__link--partner {
width: 92px;
}
.pa-footer__link--youtube {
width: 60px;
}
.pa-footer__link img {
display: block;
width: 100%;
height: 100%;
object-fit: contain;
}
.pa-footer a:focus-visible {
outline: 2px solid #fff;
outline-offset: 5px;
}
@media (max-width: 640px) {
.pa-footer {
padding: 40px 16px 36px;
}
.pa-footer__contact,
.pa-footer__company {
margin-top: 30px;
}
.pa-footer__links {
gap: 8px;
margin-top: 24px;
}
.pa-footer__link {
width: 44px;
height: 44px;
}
.pa-footer__link--partner {
width: 50px;
}
.pa-footer__link--youtube {
width: 44px;
}
.pa-footer__link img {
width: 24px;
height: 27px;
}
.pa-footer__link--partner img {
width: 50px;
}
.pa-footer__link--youtube img {
width: 35px;
}
} .pa-header ~ #site-header {
display: none;
}
.pa-header {
--pa-header-phone-height: 44px;
position: sticky;
top: 0;
z-index: 10000;
padding-top: var(--pa-header-phone-height);
font-family: Nunito, sans-serif;
}
body.admin-bar .pa-header {
top: var(--wp-admin--admin-bar--height, 32px);
}
.pa-header__phone {
position: fixed;
z-index: 101;
top: 0;
right: 0;
left: 0;
box-sizing: border-box;
min-height: var(--pa-header-phone-height);
padding: 8px 16px;
background: #2b1f1b;
color: #e0e0e6;
text-align: center;
font-size: 20px;
font-weight: 400;
line-height: 1.4;
}
body.admin-bar .pa-header__phone {
top: var(--wp-admin--admin-bar--height, 32px);
}
#pa-site-header .pa-header__phone a {
color: inherit;
text-decoration: none;
}
#pa-site-header .pa-header__phone a:hover {
text-decoration: underline;
}
.pa-header__bar {
background: #e0e0e6;
}
.pa-header__nav {
max-width: 1140px;
margin-inline: auto;
}
.pa-header__menu,
.pa-header__menu .sub-menu {
margin: 0;
padding: 0;
list-style: none;
}
.pa-header__menu {
display: flex;
flex-wrap: wrap;
justify-content: center;
}
.pa-header__menu li {
position: relative;
}
#pa-site-header .pa-header__menu a {
display: block;
padding: 16px 12px;
color: #191919;
font-size: 16px;
font-weight: 600;
line-height: 1.3;
text-decoration: none;
text-transform: uppercase;
}
#pa-site-header .pa-header__menu a:hover,
#pa-site-header .pa-header__menu a:focus-visible,
#pa-site-header .pa-header__menu .current-menu-item > a,
#pa-site-header .pa-header__menu .current-menu-ancestor > a {
color: #006c0e;
}
.pa-header__menu > li.menu-item-has-children > a::after {
content: '▾';
margin-inline-start: 6px;
font-size: 12px;
}
.pa-header__menu .sub-menu {
display: none;
position: absolute;
z-index: 2;
top: 100%;
left: 0;
min-width: 180px;
background: #e0e0e6;
box-shadow: 0 8px 18px rgb(0 0 0 / 12%);
}
.pa-header__menu .sub-menu a {
white-space: nowrap;
}
#pa-site-header .pa-header__toggle,
#pa-site-header .pa-header__submenu-toggle {
display: none;
}
#otayhteytta.pa-header__contact {
--pa-header-contact-width: 160px;
position: fixed;
z-index: 1000;
top: 32vh;
right: -8px;
display: inline-block;
box-sizing: border-box;
width: var(--pa-header-contact-width);
padding: 12px 18px;
border-radius: 10px;
background: #028333;
color: #e0e0e6;
font-family: Nunito, sans-serif;
font-size: 14px;
font-weight: 500;
line-height: 18px;
text-align: center;
text-decoration: none;
white-space: nowrap;
transform: translateY(var(--pa-header-contact-width)) rotate(90deg);
transform-origin: 100% 0;
}
#otayhteytta.pa-header__contact:hover {
background: #006c0e;
color: #fff;
}
#pa-site-header a:focus-visible,
#pa-site-header button:focus-visible {
outline: 2px solid #006c0e;
outline-offset: 3px;
}
#otayhteytta.pa-header__contact:focus-visible {
outline-color: #fff;
}
@media (min-width: 1025px) {
.pa-header__menu li:hover > .sub-menu,
.pa-header__menu li:focus-within > .sub-menu {
display: block;
}
}
@media (max-width: 1024px) {
.pa-header__bar {
min-height: 52px;
}
#pa-site-header.pa-header.is-enhanced .pa-header__toggle {
display: flex;
align-items: center;
justify-content: center;
width: 52px;
height: 52px;
margin: 0 auto;
padding: 0;
border: 0;
background: transparent;
color: #006c0e;
box-shadow: none;
appearance: none;
cursor: pointer;
}
.pa-header.is-enhanced .pa-header__toggle:hover,
.pa-header.is-enhanced .pa-header__toggle:focus {
border: 0;
background: transparent;
color: #006c0e;
box-shadow: none;
}
.pa-header__toggle svg {
display: block;
width: 40px;
height: 40px;
fill: currentColor;
}
.pa-header__toggle .pa-header__toggle-close {
display: none;
}
.pa-header__toggle[aria-expanded="true"] .pa-header__toggle-open {
display: none;
}
.pa-header__toggle[aria-expanded="true"] .pa-header__toggle-close {
display: block;
}
.pa-header.is-enhanced .pa-header__nav {
display: none;
}
.pa-header.is-enhanced .pa-header__nav.is-open {
display: block;
max-height: calc(100dvh - var(--pa-header-phone-height) - 52px - var(--pa-header-admin-offset, 0px));
overflow-y: auto;
}
.pa-header__menu {
display: block;
}
.pa-header__menu > li {
border-top: 1px solid #d3d3d9;
}
#pa-site-header .pa-header__menu a {
padding: 14px 20px;
}
.pa-header__menu > li.menu-item-has-children > a::after {
display: none;
}
.pa-header__menu li.menu-item-has-children {
display: grid;
grid-template-columns: minmax(0, 1fr) 52px;
}
.pa-header__menu li.menu-item-has-children > .sub-menu {
position: static;
grid-column: 1 / -1;
min-width: 0;
box-shadow: none;
background: #f0f0f3;
}
.pa-header:not(.is-enhanced) .pa-header__menu .sub-menu,
.pa-header__menu li.is-open > .sub-menu {
display: block;
}
#pa-site-header.pa-header.is-enhanced .pa-header__submenu-toggle {
display: flex;
align-items: center;
justify-content: center;
padding: 0;
border: 0;
background: transparent;
color: #006c0e;
font-size: 28px;
cursor: pointer;
}
.pa-header__submenu-toggle[aria-expanded="true"] span {
transform: rotate(180deg);
}
}
@media (max-width: 640px) {
.pa-header {
--pa-header-phone-height: 42px;
}
.pa-header__phone {
font-size: 18px;
}
#otayhteytta.pa-header__contact {
--pa-header-contact-width: 140px;
padding: 10px 14px;
font-size: 12px;
}
} body.pa-articles-index #content.pa-articles.site-main {
box-sizing: border-box;
width: 100%;
max-width: 1180px;
margin: 0 auto;
padding: 0 20px 85px;
font-family: Nunito, sans-serif;
}
.pa-articles__heading {
margin: 45px 0 38px;
color: #286b25;
text-align: center;
font-size: 40px;
font-weight: 400;
line-height: 1.2;
}
.pa-articles__grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 35px 30px;
}
.pa-articles__card {
min-width: 0;
}
.pa-articles__image {
display: block;
width: 100%;
aspect-ratio: 3 / 2;
overflow: hidden;
}
.pa-articles__image img {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
}
.pa-articles__title {
margin: 20px 0 0;
font-size: 25px;
font-weight: 700;
line-height: 1.18;
}
.pa-articles__title a,
.pa-articles__more {
color: #286b25;
text-decoration: none;
}
.pa-articles__title a:hover,
.pa-articles__more:hover {
text-decoration: underline;
}
.pa-articles__date {
display: block;
margin-top: 1px;
color: #aaa;
font-size: 13px;
line-height: 1.4;
}
.pa-articles__excerpt {
margin: 14px 0 0;
color: #1c1a16;
font-size: 16px;
line-height: 1.5;
}
.pa-articles__more {
display: inline-block;
margin-top: 16px;
font-size: 16px;
}
.pa-articles__pagination {
display: flex;
justify-content: center;
gap: 14px;
margin-top: 50px;
font-size: 16px;
}
.pa-articles__pagination a,
.pa-articles__pagination .current {
color: #286b25;
} body.single-post #content.pa-article.site-main {
box-sizing: border-box;
width: 100%;
max-width: 1180px;
margin: 0 auto 80px;
padding: 0 20px;
color: #1c1a16;
font-family: Nunito, sans-serif;
}
.pa-article .pa-article__header h1 {
box-sizing: border-box;
max-width: 940px;
margin: 80px auto 48px;
padding-inline: 20px;
color: #006c0e;
font-family: Nunito, sans-serif;
font-size: 40px;
font-weight: 400;
line-height: 1;
text-align: center;
}
.pa-article .pa-article__content > :where(.wp-block-heading, .pa-gutenberg-paragraph, .wp-block-list) {
box-sizing: border-box;
width: 100%;
max-width: none;
padding-inline: 0;
text-align: left;
font-family: Nunito, sans-serif;
}
.pa-article .pa-article__content > .pa-gutenberg-paragraph {
margin: 0 0 16px;
color: #1c1a16;
font-size: 16px;
line-height: 1.5;
}
.pa-article .pa-article__content h2,
.pa-article .pa-article__content h3.wp-block-heading {
max-width: 940px;
margin: 20px auto;
color: #006c0e;
font-family: Nunito, sans-serif;
font-size: 20px;
font-weight: 600;
line-height: 1;
text-align: center;
}
.pa-article .pa-article__content h2 > strong {
font: inherit;
}
.pa-article .pa-article__content > h3.wp-block-heading {
font-size: 18px;
}
.pa-article .pa-article__content > ul.wp-block-list {
margin: 0 0 16px;
padding-left: 40px;
color: #1c1a16;
list-style-position: outside;
font-size: 16px;
line-height: 1.5;
}
.pa-article .pa-article__content a {
color: #286b25;
}
.pa-article .pa-article__content .wp-block-image {
margin: 0 0 20px;
}
.pa-article .pa-article__content .wp-block-image img {
max-width: 100%;
height: auto;
}
.pa-article .pa-article__content .ub_table-of-contents {
box-sizing: border-box;
width: 100%;
margin: 0;
padding: 22px 30px;
border: 1px solid #ddd;
background: #fafafa;
color: #1c1a16;
font-size: 16px;
line-height: 1.5;
}
.pa-article .pa-article__content .ub_table-of-contents a {
color: #286b25;
}
@media (max-width: 900px) {
.pa-articles__grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}
@media (max-width: 640px) {
.pa-articles__heading {
font-size: 30px;
}
.pa-article .pa-article__header h1 {
font-size: 28px;
margin-block: 48px 32px;
}
.pa-articles__grid {
grid-template-columns: 1fr;
}
.pa-article .pa-article__content .ub_table-of-contents {
padding: 18px;
}
} .pa-ota-yhteytta {
box-sizing: border-box;
width: 100%;
margin: 0 auto;
padding: 30px 20px 55px;
color: #1c1a16;
font-family: Nunito, sans-serif;
text-align: center;
}
.pa-ota-yhteytta__inner {
width: 100%;
max-width: 1140px;
margin: 0 auto;
}
.pa-ota-yhteytta .pa-ota-yhteytta__heading {
margin: 0 0 8px;
color: #286b25;
font-size: 40px;
font-weight: 400;
line-height: 1.2;
}
.pa-ota-yhteytta .pa-ota-yhteytta__areas,
.pa-ota-yhteytta .pa-ota-yhteytta__audience {
margin: 0 auto 18px;
font-size: 20px;
line-height: 1.5;
}
.pa-ota-yhteytta .pa-ota-yhteytta__areas {
max-width: 1000px;
color: #286b25;
}
.pa-ota-yhteytta .pa-ota-yhteytta__areas > br:first-child {
display: none;
}
.pa-ota-yhteytta .pa-ota-yhteytta__callout {
margin: 40px 0 45px;
color: #286b25;
font-size: 20px;
font-weight: 400;
line-height: 1.35;
}
.pa-ota-yhteytta__contacts {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 32px;
margin: 0 auto 35px;
}
.pa-ota-yhteytta__contact {
display: flex;
flex-direction: column;
align-items: center;
min-width: 0;
color: #286b25;
font-size: 20px;
line-height: 1.25;
}
.pa-ota-yhteytta__contact img {
display: block;
width: 80px;
height: 80px;
margin: 0 auto 22px;
object-fit: contain;
}
.pa-ota-yhteytta .pa-ota-yhteytta__contact a {
color: inherit;
text-decoration: none;
}
.pa-ota-yhteytta .pa-ota-yhteytta__contact a:hover {
text-decoration: underline;
}
.pa-ota-yhteytta__address {
white-space: pre-line;
}
.pa-ota-yhteytta__form {
width: 100%;
max-width: 900px;
margin: 0 auto;
text-align: left;
}
.pa-ota-yhteytta .gform_wrapper {
margin: 0;
font-family: Nunito, sans-serif;
}
.pa-ota-yhteytta .gform_wrapper .gform_fields {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 12px 15px;
}
.pa-ota-yhteytta .gform_wrapper .gfield {
grid-column: 1 / -1;
min-width: 0;
}
.pa-ota-yhteytta .gform_wrapper .gfield.pa-ota-yhteytta__half {
grid-column: span 1;
}
.pa-ota-yhteytta .gform_wrapper .gfield_label {
display: block;
margin: 0 0 5px;
color: #1c1a16;
font-size: 16px;
font-weight: 400;
line-height: 1.35;
}
.pa-ota-yhteytta .gform_wrapper input:not([type="submit"]):not([type="hidden"]),
.pa-ota-yhteytta .gform_wrapper textarea {
box-sizing: border-box;
display: block;
width: 100%;
min-height: 40px;
padding: 8px 15px;
border: 1px solid #777d83;
border-radius: 10px;
background: #fff;
color: #1c1a16;
font-family: Nunito, sans-serif;
font-size: 16px;
line-height: 1.4;
}
.pa-ota-yhteytta .gform_wrapper textarea {
height: 95px !important;
min-height: 95px !important;
resize: vertical;
}
.pa-ota-yhteytta .gform_wrapper .gfield_required {
display: none;
}
.pa-ota-yhteytta .gform_wrapper input:focus-visible,
.pa-ota-yhteytta .gform_wrapper textarea:focus-visible {
outline: 2px solid #286b25;
outline-offset: 2px;
}
.pa-ota-yhteytta .gform_wrapper .gform_footer {
margin: 16px 0 0;
padding: 0;
}
.pa-ota-yhteytta .gform_wrapper button[type="submit"],
.pa-ota-yhteytta .gform_wrapper input[type="submit"] {
box-sizing: border-box;
display: block;
width: 100% !important;
min-height: 40px;
margin: 0;
padding: 7px 20px;
border: 0;
border-radius: 10px;
background: #39843d !important;
color: #fff !important;
cursor: pointer;
font-family: Nunito, sans-serif;
font-size: 16px;
font-weight: 400;
text-align: center;
}
.pa-ota-yhteytta .gform_wrapper button[type="submit"]:hover,
.pa-ota-yhteytta .gform_wrapper input[type="submit"]:hover {
background: #286b25 !important;
}
.pa-ota-yhteytta__missing {
color: #9b3328;
}
.pa-ota-yhteytta__form-preview {
max-width: 900px;
margin: 0 auto;
text-align: left;
}
.pa-ota-yhteytta__form-preview > p {
font-size: 14px;
text-align: left;
}
.pa-ota-yhteytta__preview-row {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 15px;
}
.pa-ota-yhteytta__preview-field {
min-height: 40px;
margin: 0 0 12px;
padding: 8px 15px;
border: 1px solid #777d83;
border-radius: 10px;
color: #777;
font-size: 16px;
}
.pa-ota-yhteytta__preview-message {
min-height: 95px;
}
.pa-ota-yhteytta__preview-button {
padding: 8px 15px;
border-radius: 10px;
background: #39843d;
color: #fff;
text-align: center;
}
@media (max-width: 640px) {
.pa-ota-yhteytta { padding: 30px 20px 45px; }
.pa-ota-yhteytta .pa-ota-yhteytta__heading { font-size: 28px; }
.pa-ota-yhteytta .pa-ota-yhteytta__areas,
.pa-ota-yhteytta .pa-ota-yhteytta__audience,
.pa-ota-yhteytta .pa-ota-yhteytta__callout { font-size: 18px; }
.pa-ota-yhteytta__contacts { grid-template-columns: 1fr; gap: 30px; }
.pa-ota-yhteytta__contact img { margin-bottom: 12px; }
.pa-ota-yhteytta .gform_wrapper .gform_fields,
.pa-ota-yhteytta__preview-row { grid-template-columns: 1fr; }
.pa-ota-yhteytta .gform_wrapper .gfield.pa-ota-yhteytta__half { grid-column: 1 / -1; }
}