/*
Theme Name: LJG
Theme URI: 
Author: Mediascope Oy
Author URI: 
Description: 
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: ljg
Tags:

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

LJG is based on Underscores http://underscores.me/, (C) 2012-2016 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal http://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/
@import url('fonts/MyFontsWebfontsKit.css');

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
html {
    font-family: sans-serif;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust:     100%;
}

body {
    margin: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
    display: block;
}

audio,
canvas,
progress,
video {
    display: inline-block;
    vertical-align: baseline;
}

audio:not([controls]) {
    display: none;
    height: 0;
}

[hidden],
template {
    display: none;
}

a {
    background-color: transparent;
}

a:active,
a:hover {
    outline: 0;
}

abbr[title] {
    border-bottom: 1px dotted;
}

b,
strong {
    font-weight: bold;
}

dfn {
    font-style: italic;
}

h1 {
    font-size: 2em;
    margin: 0.67em 0;
}

mark {
    background: #ff0;
    color: #000;
}

small {
    font-size: 80%;
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup {
    top: -0.5em;
}

sub {
    bottom: -0.25em;
}

img {
    border: 0;
}

svg:not(:root) {
    overflow: hidden;
}

figure {
    margin: 1em 40px;
}

hr {
    box-sizing: content-box;
    height: 0;
}

pre {
    overflow: auto;
}

code,
kbd,
pre,
samp {
    font-family: monospace, monospace;
    font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
    color: inherit;
    font: inherit;
    margin: 0;
}

button {
    overflow: visible;
}

button,
select {
    text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
    -webkit-appearance: button;
    cursor: pointer;
}

button[disabled],
html input[disabled] {
    cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

input {
    line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
    box-sizing: border-box;
    padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

fieldset {
    border: 1px solid #c0c0c0;
    margin: 0 2px;
    padding: 0.35em 0.625em 0.75em;
}

legend {
    border: 0;
    padding: 0;
}

textarea {
    overflow: auto;
}

optgroup {
    font-weight: bold;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

td,
th {
    padding: 0;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
textarea {
    color: #404040;
    font-family: sans-serif;
    font-size: 16px;
    font-size: 1rem;
    line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    clear: both;
}

p {
    margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
    font-style: italic;
}

blockquote {
    margin: 0 1.5em;
}

address {
    margin: 0 0 1.5em;
}

pre {
    background: #eee;
    font-family: "Courier 10 Pitch", Courier, monospace;
    font-size: 15px;
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1.6em;
    max-width: 100%;
    overflow: auto;
    padding: 1.6em;
}

code,
kbd,
tt,
var {
    font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
    font-size: 15px;
    font-size: 0.9375rem;
}

abbr,
acronym {
    border-bottom: 1px dotted #666;
    cursor: help;
}

mark,
ins {
    background: #fff9c0;
    text-decoration: none;
}

big {
    font-size: 125%;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
    box-sizing: border-box;
}

*,
*:before,
*:after { /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
    box-sizing: inherit;
}

body {
    background: #EBEBEB; /* Fallback for when there is no custom background color defined. */
    min-width:320px;
    margin:0 auto;
}
body.page-template-template_contact { background: #FFF; }


blockquote:before,
blockquote:after,
q:before,
q:after {
    content: "";
}

blockquote,
q {
    quotes: "" "";
}

hr {
    background-color: #ccc;
    border: 0;
    height: 1px;
    margin-bottom: 1.5em;
}

ul,
ol {
    margin: 0 0 1.5em 3em;
}

ul {
    list-style: disc;
}

ol {
    list-style: decimal;
}

li > ul,
li > ol {
    margin-bottom: 0;
    margin-left: 1.5em;
}

dt {
    font-weight: bold;
}

dd {
    margin: 0 1.5em 1.5em;
}

img {
    height: auto; /* Make sure images are scaled correctly. */
    max-width: 100%; /* Adhere to container width. */
}

figure {
    margin: 1em 0; /* Extra wide images within figure tags don't overflow the content area. */
}

table {
    margin: 0 0 1.5em;
    width: 100%;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    border: 1px solid;
    border-color: #ccc #ccc #bbb;
    border-radius: 3px;
    background: #e6e6e6;
    color: rgba(0, 0, 0, .8);
    font-size: 12px;
    font-size: 0.75rem;
    line-height: 1;
    padding: .6em 1em .4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
    border-color: #ccc #bbb #aaa;
}

button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
    border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
    color: #666;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 3px;
}

select {
    border: 1px solid #ccc;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
    color: #111;
}

textarea {
    width: 100%;
}

label { font-size:20px; font-weight:400; margin:5px 0; }
.content-area textarea { border-radius:0; border:1px solid #95989A; resize:none; width:100%; max-width:610px; }
.content-area input[type=text], .content-area input[type=email] { border-radius:0; border:1px solid #95989A; width:100%; max-width:612px; height:41px; font-size:16px; box-sizing:border-box; margin-bottom:5px; padding:0 10px; }

.content-area form { margin-bottom:40px; }
.content-area form p { margin:0; }

.content-area input[type=submit] { display:inline-block; width:auto; padding:5px 25px; max-width:100%; height:50px; color:#000; background:#FAE133; font-size:25px; line-height:40px; text-transform:uppercase; border-radius:0; border:none; margin-top:30px; }
.content-area input[type=submit]:hover { text-decoration:none; color:#fff; }

@media all and (max-width:767px) {
    label { font-size:16px; }
    .content-area input[type=submit] { font-size:18px; line-height:40px; }
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/

#masthead { background:#f4df3e; height:89px; border-bottom:1px solid #95989A; position:relative; }
#masthead-container { position:relative; max-width:1920px; margin:0 auto; }
.site-branding { padding:0; position:absolute; top:30px; left:45px; z-index:9; }
a#site-logo { display:block; width:284px; height:119px; background:url(img/logo.png) no-repeat top left; background-size:100% auto; text-indent:-9000pt; }

@media all and (max-width:767px) {
    #masthead { height:auto; border:none; }
    .site-branding { position:relative; top:0; left:0; right:0; margin:0 auto; width:243px; padding-top:24px; }
    #masthead-container:before { content:" "; display:block; position:absolute; top:72px; left:0; width:100%; height:1px; background:#fff; }
    a#site-logo { display:block; width:100%; height:105px; }
}


/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
    color: #D5BA2D;
}

a:visited {
    color: #D5BA2D;
}

a:hover,
a:focus,
a:active {
    color: #D5BA2D;
}

a:focus {
    outline: thin dotted;
}

a:hover,
a:active {
    outline: 0;
}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.main-navigation {
    clear: both;
    display: block;
    float: right;
}

.main-navigation ul {
    display: none;
    list-style: none;
    margin: 0;
    padding-left: 0;
    padding-right:60px;
}

.main-navigation li {
    float: left;
    position: relative;
    margin-left:30px;
}

.main-navigation a {
    display: block;
    text-decoration: none;
    color:#000000;
    font-size:20px;
    line-height:88px;
}

.main-navigation a:hover {}

.main-navigation ul ul {
    float: left;
    position: absolute;
    top: 5.5em;
    left: -999em;
    padding: 0 0 20px;
    z-index: 99999;
}

.main-navigation ul ul ul {
    left: -999em;
    top: 0;
}

.main-navigation ul ul a {
    width: 150px;
    font-size: 18px;
    line-height: 26px;
}

.main-navigation ul ul li {
    padding-left: 0;
    padding-top: 15px;
}

.main-navigation .sub-menu {
    background-color: #f4df3e;
}

.main-navigation .sub-menu li {
    margin-left: 0px;
    padding-left: 12px;
}

.main-navigation li:hover > a,
.main-navigation li.focus > a {
}

.main-navigation ul ul :hover > a,
.main-navigation ul ul .focus > a {
}

.main-navigation ul ul a:hover,
.main-navigation ul ul a.focus {
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
    left: -1rem;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
    left: 100%;
}

@media all and (max-width:1080px) {
    .main-navigation li {
        margin-left:20px;
    }
    .main-navigation a {
        font-size:16px;
    }
}
@media all and (max-width:960px) {
    .main-navigation ul { padding-right:25px; }
    .main-navigation li { margin-left:10px;	}
    .main-navigation a { font-size:18px; }
}
@media all and (max-width:767px) {

    .main-navigation { display: block; position: relative; float:none; top: 0; right: 0; z-index: 10; padding:20px 30px 45px!important; box-sizing:border-box; }
    .main-navigation ul { padding-right:0px; }
    .main-navigation li { float:none; width:100%;  padding:0px; margin:0; }
    .main-navigation a { font-size:17px; border-bottom:1px solid #000000; height:43px; line-height:43px; display:block; position:relative; color:#000000; }
    .main-navigation a:after { content:" "; display:block; position:absolute; right:16px; top:14px; width:9px; height:20px; background: url(img/arrow.png) no-repeat top left; background-size:100% auto; }
    .main-navigation ul li:hover > ul,
    .main-navigation ul li.focus > ul {
        left: -999em;
    }
}



.main-navigation .current_page_item > a,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_ancestor > a,
.main-navigation .current-menu-ancestor > a {
    color:#000000;
}

.main-navigation .current_page_item ul > a,
.main-navigation .current-menu-item ul a { 
    color:#000000;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
    display: block;
}

/*@media screen and (min-width: 37.5em) {}*/
.menu-toggle {
    display: none;
}
.main-navigation ul {
    display: block;
}


.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
    margin: 0 0 1.5em;
    overflow: hidden;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
    float: left;
    width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
    float: right;
    text-align: right;
    width: 50%;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000; /* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
    outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
    display: inline;
    float: left;
    margin-right: 1.5em;
}

.alignright {
    display: inline;
    float: right;
    margin-left: 1.5em;
}

.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
    content: "";
    display: table;
    table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
    clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
    margin: 0 0 1.5em;
}

/* Make sure select elements fit in widgets. */
.widget select {
    max-width: 100%;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/

h1, h2, a.btn, .fp-top a, .content-area input[type="submit"] { font-family: Gin-Regular!important; font-weight: normal!important; font-style: normal!important; }

h1 { color:#fff; text-align:center; font-size:50px; line-height:60px; text-transform:uppercase; }
.container-fluid.top h1 { margin:0; }

h2 {}
.tip h2 { color:#000; text-transform:uppercase; margin:0 0 40px 0; font-size:40px; line-height:48px; }
.tip-0 h2 { color:#fff; }
.product h2 { color:#000; text-transform:uppercase; margin:0 0 30px 0; font-size:40px; line-height:48px; }
.product.prod-0 h2 { text-align:right; }

h3 {}

p { font-size:20px; line-height:30px; margin-bottom:30px; color:#000; }
.page-template-template_story .site-main p { text-align:center; color:#fff; }
.container-fluid.top p { font-size:20px; line-height:30px; text-align:center; max-width:920px; margin:40px auto 0; color:#fff; }
.tip-0 p { color:#fff; }
.product p.ingred { font-size:15px; line-height:20px; }
.product p.ingred span { font-size:20px; line-height:30px; }
.product.prod-0 p { text-align:right; }


a.btn, .fp-top a { display:inline-block; width:214px; padding:5px; height:50px; color:#000; background:#FAE133; font-size:25px; line-height:36px; text-transform:uppercase; border-radius:0; }
a.btn.wide { width:340px; }
a.btn:hover, .fp-top a:hover { text-decoration:none; color:#fff; }
.page-template-template_story a.btn { margin-top:30px; }


@media (min-width:768px) {
    span#avainlippu {  display:block; position:absolute; top:110px; right:25px; width:40px; height:70px; background:url(img/avainlippu.png) no-repeat top left; background-size:100% auto; }
}
@media (min-width:1400px) {
    span#avainlippu {  top:133px; right:47px; width:60px; height:90px; }
}

.page-template-template_story #primary { background-size:cover; background-position: center center; }
.page-template-template_story .site-main { background:rgba(0,0,0,0.72); }

.fp-top { background:url(img/musta_haive_tausta.jpg) no-repeat top center; background-size:cover; padding-bottom:285px; position: relative; }
.fp-top .container-fluid { max-width:1700px; margin:0 auto; }
.fp-top .container-fluid .image { padding:0; }
.fp-top .container-fluid .content { padding-top:13%; }
.fp-top h2 { text-align:center; color:#FAE133; font-size:35px; margin:0 0 60px; }
.fp-top p { text-align:center; color:#FFF; font-size:20px; line-height:30px; margin:50px 0; }

@media all and (max-width:1400px) {
    .fp-top .container-fluid .content { padding-top:6%; }
}

.link-boxes {
    max-width:1800px;
    margin:0 auto;
    padding:0 2%;
    margin-top:-180px;
    box-sizing:content-box;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
}
.link-box {
    display:block;
    position:relative;
    box-sizing:border-box;
    max-width: 33%;
    flex: 0 0 33%;
    padding: 0 1rem 2rem 1rem;
    aspect-ratio: 1 / 1;
}
.link-box-3,
.link-box-6 {
    max-width: 30%;
    flex: 0 0 30%;
    margin: 0 0 0 auto;
}
@media (max-width:991px) {
    .link-box {
        max-width: 50%;
        flex: 0 0 50%;
    }
    .link-box-1 {order: 1;}
    .link-box-2 {order: 2;}
    .link-box-3 {order: 5;}
    .link-box-4 {order: 3;}
    .link-box-5 {order: 4;}
    .link-box-6 {order: 6;}
}
@media (max-width:767px) {
    .link-box {
        max-width: 100%;
        flex: 0 0 100%;
    }
}
.link-box img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    box-shadow: 0px 0px 10px 3px rgb(0 0 0 / 75%);
    -webkit-box-shadow: 0px 0px 10px 3px rgb(0 0 0 / 16%);
    -moz-box-shadow: 0px 0px 10px 3px rgba(0,0,0,0.75);
}

.link-box img { display:block; }
.link-box a {
    display:block;
    position:absolute;
    bottom:10%;
    left:0;
    right:0;
    margin:0 auto;
    box-shadow: 0px 0px 10px 3px rgb(0 0 0 / 75%);
    -webkit-box-shadow: 0px 0px 10px 3px rgb(0 0 0 / 16%);
    -moz-box-shadow: 0px 0px 10px 3px rgba(0,0,0,0.75);
}
/*.link-box-4 a, .link-box-5 a  { bottom:50%; } */

.container-fluid.top { padding:140px 15px; background:url(img/musta_haive_tausta.jpg) no-repeat top center; background-size:cover; }
.container.basic { padding:100px 15px; }
.container .contact-form { margin-top: 4rem; }

.tip { padding:110px 0 80px; }
.tip .row { max-width:1460px; margin:0 auto;}
.tip-0 { background:url(img/musta_haive_tausta.jpg) no-repeat top center; background-size:cover; }
.tip .col-xs-12 { padding:0 20px; }

#map-canvas { display:block; width:100%; height:680px; background:#eee; margin-top:35px; }

#prod-leaf-left { display:none; }
#prod-leaf-right { display:none; }
#tips-leaf-left { display:none; }
#tips-leaf-right { display:none; }

img.kasivoide-img {
    max-width: 450px!important;
    max-height: unset!important;
    right: -520px!important;
}

@media all and (min-width:1900px) {
    #tips-leaf-left { display:block; position:absolute; left:0; top:750px; }
    #tips-leaf-right { display:block; position:absolute; right:0; top:200px; }
}
@media all and (min-width:1500px) {
    #prod-leaf-left { display:block; position:absolute; left:0; top:1060px; }
    #prod-leaf-right { display:block; position:absolute; right:0; top:720px; }
    #saippuat .product .content .p-img, #jalat .product .content .p-img {top:-60px;}
    #saippuat .product.last .content .p-img {max-width: 350px;}
    #jalat .product.first .content .p-img {min-width: 300px;}
    .product .content .p-img{top:-50px;}
    .container-fluid.products{
        padding-bottom:30px;}
}

.tab-navigation { padding:35px 20px; text-align:center; }
.tab-navigation a { margin:10px 16px; }

.product-tab { display:none; }
.product .content { margin:0 auto; max-width:570px; padding:80px 0 70px 0; border-bottom:1px solid #000; position:relative; }
.product.last .content { border-bottom:0; }
.product .content .p-img { position:absolute; top:0; left:-440px; z-index:5; }
.product.prod-0 .content .p-img { left:auto; right:-440px; }

.footer-content { 
    padding: 3rem 1rem 1rem 1rem;
    background: #f4df3e;
}
.footer-content p { text-align:center; font-size:20px; color:#000000; margin:0 0 25px;}
.footer-content p a {color: inherit;}
.footer-content p a:hover { text-decoration: none;}


@media all and (max-width:1500px) {
    .product .content { padding-left:350px; max-width: 920px; }
    .product .content .p-img { left:20px; max-width:300px; max-height:550px; top:20px; }
    .product.prod-0 .content { padding-left:0px; padding-right:350px; }
    .product.prod-0 .content .p-img { right:20px; }
    #jalat .product.first .content .p-img {min-width: 253px;}
    #saippuat .product img.p-img{top:0;}
    img.kasivoide-img {
        right: -91px!important;
    }
}

@media all and (max-width:1500px) {
    h1 { font-size:45px; line-height:50px; }
    .fp-top h2 { font-size:30px; margin:0 0 40px; }
    .fp-top p { font-size:18px; line-height:26px; margin:40px 0; }
}

@media all and (max-width:960px) {

    h1 { font-size:40px; line-height:45px; }
    .product h2 { font-size: 35px; line-height: 40px; }
    p { font-size:18px; line-height:24px;  }
    .container-fluid.top p {  font-size: 18px; line-height: 24px; }

    .tab-navigation a { margin:10px; }

    .product .content { padding-left:200px; max-width: 920px; }
    .product .content .p-img { left:0px; max-width:175px; top:80px; }
    .product.prod-0 .content { padding-left:0px; padding-right:200px; }
    .product.prod-0 .content .p-img { right:0px; }
    #jalat .product.first .content .p-img {min-width: unset;}
    #map-canvas { height:500px; }
    img.kasivoide-img {
        max-width: 280px!important;
        right: -55px!important;
    }

}

@media all and (max-width:767px) {

    h1 { font-size:25px; line-height:30px; }
    h2 { font-size: 23px!important; line-height: 28px!important; }
    p { font-size:16px; line-height:22px; margin-bottom:20px; }

    .product p.ingred { font-size:12px; line-height:18px; }
    .product p.ingred span { font-size:16px; line-height:22px; }

    a.btn, .fp-top a { width:150px; padding:5px; height:35px; font-size:15px; line-height:24px; }
    a.btn.wide { width:240px; }

    .container-fluid.top { padding:70px 15px; }
    .container.basic { padding:60px 15px;}

    .fp-top { padding-bottom:20px; }
    .fp-top .container-fluid { overflow:hidden; }
    .fp-top .container-fluid .image img { display:block; max-width:none; width:110%; margin-left:-10%; }

    .fp-top h2 { font-size:20px; margin:0 0 10px; }
    .fp-top p { font-size:13px; line-height:16px; margin:20px 0; }

    .link-boxes { margin-top:0px; padding:0; }
    .link-box { width:100%; padding:0; }
    .link-box img { width:100%; }
    .link-box a { bottom:6%; }
    /* .link-box-4 a, .link-box-5 a  { bottom:46%; } */

    .tip { padding:70px 0 50px; }

    .tab-navigation { padding:30px 0 0; }

    /*.product .content { padding-left:120px; padding-top:60px; padding-bottom:30px; }
    .product .content .p-img { left:0px; max-width:100px; top:180px; }
    .product.prod-0 .content { padding-left:0px; padding-right:120px; }
    .product.prod-0 .content .p-img { right:0; }*/

    .product .content, .product.prod-0 .content { padding:60px 0 30px 0; }
    .product .content .p-img, .product.prod-0 .content .p-img { position: relative; display: block; float: right; max-width:100px; top: 0; left:0; right:0; margin:0 0 0 20px;}

    .product.prod-0 p, .product.prod-0 h2 { text-align:left; }

    .footer-content p { font-size:15px; margin:0 0 15px; }

    img.kasivoide-img {
        max-width: 200px!important;
        margin-left: 0px!important;
        margin-right: -30px!important;
    }
    .product .content {
        overflow: hidden;
    }

}


/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {
    display: block;
}

.hentry {
    margin: 0 0 1.5em;
}

.byline,
.updated:not(.published) {
    display: none;
}

.single .byline,
.group-blog .byline {
    display: inline;
}

.page-content,
.entry-content,
.entry-summary {
    margin: 1.5em 0 0;
}

.page-links {
    clear: both;
    margin: 0 0 1.5em;
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
    word-wrap: break-word;
}

.bypostauthor {
    display: block;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
    display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
    display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
    border: none;
    margin-bottom: 0;
    margin-top: 0;
    padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
    max-width: 100%;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
    margin-bottom: 1.5em;
    max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption .wp-caption-text {
    margin: 0.8075em 0;
}

.wp-caption-text {
    text-align: center;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
    margin-bottom: 1.5em;
}

.gallery-item {
    display: inline-block;
    text-align: center;
    vertical-align: top;
    width: 100%;
}

.gallery-columns-2 .gallery-item {
    max-width: 50%;
}

.gallery-columns-3 .gallery-item {
    max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
    max-width: 25%;
}

.gallery-columns-5 .gallery-item {
    max-width: 20%;
}

.gallery-columns-6 .gallery-item {
    max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
    max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
    max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
    max-width: 11.11%;
}

.gallery-caption {
    display: block;
}

/*--------------------------------------------------------------
## Campaign page
--------------------------------------------------------------*/

body.page-template-page-kilpailu {
    overflow-x: hidden;
}

body.page-template-page-kilpailu .step-2 {
    display: none;
}

body.page-template-page-kilpailu .step-2 .kiitos-container {
    background-color: #f7f7f7;
    padding: 4rem;
    margin: 3rem 0;
}

body.page-template-page-kilpailu .container.basic {
    position: relative;
}

body.page-template-page-kilpailu #content {
    background-image: url(/wp-content/themes/ljg/img/campaignbg.jpg);
    background-size: cover;
    font-family: 'Arvo', sans-serif;
}

body.page-template-page-kilpailu .formContainer {
    background-color: #f7f7f7;
    padding: 4rem 10rem;
    margin: 3rem 0;
}

body.page-template-page-kilpailu h1 {
    text-align: left;
    color: black;
}

body.page-template-page-kilpailu form p:nth-of-type(1),
body.page-template-page-kilpailu form p:nth-of-type(2) {
    width: 50%;
    float: left;
}

body.page-template-page-kilpailu form p:nth-of-type(1) label {
    width: 95% !important;
}

body.page-template-page-kilpailu form p:nth-of-type(2) label {
    width: 100% !important;
}

body.page-template-page-kilpailu form label {
    width: 100%;
    font-family: 'Arvo', sans-serif;
    color: #333333;
}

body.page-template-page-kilpailu form input {

    max-width: none !important;
    border-top: 0 !important;
    border-right: 0 !important;
    border-bottom: 3px solid #999da2 !important;
    border-left: 0 !important;
    width: 100%;
    height: 64px !important;
    padding: 1rem !important;
    margin-top: .75rem !important;
    font-family: 'Arvo', sans-serif;
    font-size: 18px;
    transition: all 0.3s ease-in-out;

    -webkit-box-shadow: 3px 3px 13px 0 rgba(26,35,47,0.1), -3px -3px 13px 0 rgba(26,35,47,0.1);
    box-shadow: 3px 3px 13px 0 rgba(26,35,47,0.1), -3px -3px 13px 0 rgba(26,35,47,0.1);
}

body.page-template-page-kilpailu form input:focus,
body.page-template-page-kilpailu form input:active {
    outline: none;
    border-bottom: 3px solid transparent !important;
}

body.page-template-page-kilpailu span.formfooter {
    max-width: 90%;
    display: block;
    font-size: 16px;
    line-height: 1.4;
    font-family: 'Arvo', sans-serif;
    margin-bottom: 1.5rem;
}

body.page-template-page-kilpailu input[type="checkbox"] {
    box-shadow: none;
    opacity: 1;
    height: 40px !important;
    width: 40px !important;
    position: relative;
    top: 0;
    left: 0;
    font-weight: bold;
    margin: 1rem 1rem 1rem 0 !important;
    z-index: 10;
}

body.page-template-page-kilpailu input[type="checkbox"]:hover {
    cursor: pointer;
}

body.page-template-page-kilpailu input[type="checkbox"] + label {
    font-size: 16px;
    line-height: 110%;
    font-weight: bold;
    padding-left: 50px;
    height: 40px;
    display: table-cell;
    vertical-align: middle;
    cursor: pointer;
}

body.page-template-page-kilpailu input[type="checkbox"]:before {
    content: "";
    background: white;
    color: #333333;
    display: inline-block;
    text-align: center;
    font-size: 30px;
    line-height: 40px;
    border-bottom: 3px solid #999da2;
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    z-index: 100;
}

body.page-template-page-kilpailu input[type="checkbox"]:checked:before {
    content: '\00d7';
}

body.page-template-page-kilpailu input[type="submit"] {
    border: 0 !important;
    color: white;
    background: black;
    text-transform: uppercase;
    font-family: 'Arvo',sans-serif !important;
    font-size: 2rem;
    height: auto !important;
    padding: 1rem 3rem .75rem 3rem !important;
    border-radius: 3px;
    margin-top: 2rem !important;
    transition: opacity 0.3s ease-in-out;

}

body.page-template-page-kilpailu input[type="submit"]:disabled {
    opacity: 0.5;
}

body.page-template-page-kilpailu a {
    color: black;
    text-decoration: underline;
    font-size: 16px;
}

body.page-template-page-kilpailu #campaignRules {
    position: absolute;
    top: 100px;
    background: #f7f7f7;
    padding: 5rem 5rem;
    opacity: 0;
    transition: all 0.3s ease-in-out;
    z-index: -1;
}

body.page-template-page-kilpailu #campaignRules .close {
    float: right;
    text-transform: uppercase;
    color: black;
    opacity: 1;
}

body.page-template-page-kilpailu #campaignRules strong {
    display: block;
    margin-bottom: 1rem;
}

body.page-template-page-kilpailu #campaignRules.visible {
    z-index: 10;
    opacity: 1;
}

@media screen and (max-width: 640px) {

    body.page-template-page-kilpailu .formContainer {
        padding: 3rem;
    }

    body.page-template-page-kilpailu form p:nth-of-type(1),
    body.page-template-page-kilpailu form p:nth-of-type(2) {
        width: 100%;
    }

    body.page-template-page-kilpailu form p:nth-of-type(1) label {
        width: 100% !important;
    }

    body.page-template-page-kilpailu #campaignRules {
        top: 0;
    }

}

@media screen and (max-width: 993px) {
    .container {
        width: auto;
    }
    body.page-template-page-kilpailu .formContainer {
        padding: 4rem;
    }
}







/* Sitruuna kilpailu */
body.page-template-page-kilpailu #content {
    background-image: url('/wp-content/uploads/2018/09/campaing_sitruuna.jpg');
    background-size: cover;
    font-family: 'futura-pt-condensed', 'Arvo', sans-serif;
}
body.page-template-page-kilpailu .narrow {
    width: 70% !important;
    margin: 80px auto 400px !important;
    float: none;
}
body.page-template-page-kilpailu .row .col-xs-12.narrow h1 {
    font-size: 70px !important;
    color: #fff;
    text-align: center;
    font-family: 'FuturaCondMedium', 'Arvo', sans-serif !important;
    text-transform: none;
    letter-spacing: -3px;
    line-height: 70px;
}
body.page-template-page-kilpailu .col-xs-12.narrow p {
    color: #fff;
    font-family: 'FuturaCondMedium', 'Arvo', sans-serif !important;
    margin: 0 auto;
    text-align: center;
    max-width: 85%;
    font-size: 2.25em;
}
.rules .ljg-logo {
    margin: 0 0 50px 0;
}
body.page-template-page-kilpailu .formContainer h1 {
    font-size: 50px !important;
    color: #000;
    text-align: left;
    font-family: 'FuturaCondMedium', 'Arvo', sans-serif !important;
    text-transform: none;
    letter-spacing: -3px;
}
body.page-template-page-kilpailu .step-2 .kiitos-container,
body.page-template-page-kilpailu .kiitos-container {
    background: 0;
}
body.page-template-page-kilpailu .kiitos-container p {
    text-align: left;
}
body.page-template-page-kilpailu .kiitos-container a {
    color: #fff;
    font-size: inherit;
}

body.page-template-page-kilpailu h1 {
    text-transform: none !important;
}




@media screen and (max-width: 640px) {

    body.page-template-page-kilpailu .formContainer {
        padding: 3rem;
    }

    body.page-template-page-kilpailu form p:nth-of-type(1),
    body.page-template-page-kilpailu form p:nth-of-type(2) {
        width: 100%;
    }

    body.page-template-page-kilpailu form p:nth-of-type(1) label {
        width: 100% !important;
    }
    body.page-template-page-kilpailu #campaignRules {
        top: 0;
    }

    body.page-template-page-kilpailu .narrow {
        width: 95% !important;
        margin: 80px auto 100px !important;
        float: none;
    }
    body.page-template-page-kilpailu .row .col-xs-12.narrow h1 {
        font-size: 50px !important;
        color: #fff;
        text-align: center;
        font-family: 'FuturaCondMedium', 'Arvo', sans-serif !important;
        text-transform: none;
        letter-spacing: -3px;
        line-height: 70px;
    }
    body.page-template-page-kilpailu .formContainer h1 {
        font-size: 50px !important;
        color: #000;
        text-align: left;
        font-family: 'FuturaCondMedium', 'Arvo', sans-serif !important;
        text-transform: none;
        letter-spacing: -3px;
        line-height: 50px;
    }
    .ljg-logo {
        margin: 20px;
    }
}

@media screen and (max-width: 993px) {
    .container {
        width: auto;
    }
    body.page-template-page-kilpailu .formContainer {
        padding: 4rem;
    }

    body.page-template-page-kilpailu .narrow {
        width: 95% !important;
        margin: 80px auto 100px !important;
        float: none;
    }
    body.page-template-page-kilpailu .row .col-xs-12.narrow h1 {
        font-size: 50px !important;
        color: #fff;
        text-align: center;
        font-family: 'FuturaCondMedium', 'Arvo', sans-serif !important;
        text-transform: none;
        letter-spacing: -3px;
        line-height: 70px;
    }
    .ljg-logo {
        margin: 20px;
    }
}







/***
*
*
*
*
*
*
*********************

    Jopo kilpailu

*********************
*
*
*
*
*
*
***/
body.page-template-page-kilpailu-jopo #content {
    background-image: url('/wp-content/themes/ljg/jopo/background.jpg');
    background-repeat: repeat;
    font-family: 'futura-pt-condensed', 'Arvo', sans-serif;
}
body.page-template-page-kilpailu-jopo .narrow {
    width: 70% !important;
    margin: 80px auto 400px !important;
    float: none;
}
body.page-template-page-kilpailu-jopo .header {
    padding: 50px;
    background-image: url("/wp-content/themes/ljg/jopo/jopo.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-color: #fff118;
    background-position: bottom center;

    width: 100%;
    height: 841px;

    display: flex;
    position: relative;
}
body.page-template-page-kilpailu-jopo .header .item {
    display: inline-flex;
}
body.page-template-page-kilpailu-jopo .header .ljg-logo {
    width: 100%;
    max-height: 91px;
    background-image: url('https://www.ljg.fi/wp-content/themes/ljg/img/logo.png');
    background-repeat: no-repeat;
    background-size: contain;
    display: block;
}
body.page-template-page-kilpailu-jopo .header h1 {
    padding: 20px;
    background: #000;
    max-width: 500px;
    width: 50%;
    font-size: 400%;
    text-align: left;

    position: absolute;
    right: 50px;
    top: 30px;
}
body.page-template-page-kilpailu-jopo .formContainer {
    padding: 40px;
    background: #fff;
    margin: 40px auto;
}






body.page-template-page-kilpailu-jopo form p:nth-of-type(1),
body.page-template-page-kilpailu-jopo form p:nth-of-type(2) {
    width: 50%;
    float: left;
}

body.page-template-page-kilpailu-jopo form p:nth-of-type(1) label {
    width: 95% !important;
}

body.page-template-page-kilpailu-jopo form p:nth-of-type(2) label {
    width: 100% !important;
}

body.page-template-page-kilpailu-jopo form label {
    width: 100%;
    font-family: 'Arvo', sans-serif;
    color: #333333;
}

body.page-template-page-kilpailu-jopo form input {

    max-width: none !important;
    border-top: 0 !important;
    border-right: 0 !important;
    border-bottom: 3px solid #999da2 !important;
    border-left: 0 !important;
    width: 100%;
    height: 64px !important;
    padding: 1rem !important;
    margin-top: .75rem !important;
    font-family: 'Arvo', sans-serif;
    font-size: 18px;
    transition: all 0.3s ease-in-out;

    -webkit-box-shadow: 3px 3px 13px 0 rgba(26,35,47,0.1), -3px -3px 13px 0 rgba(26,35,47,0.1);
    box-shadow: 3px 3px 13px 0 rgba(26,35,47,0.1), -3px -3px 13px 0 rgba(26,35,47,0.1);
}

body.page-template-page-kilpailu-jopo form input:focus,
body.page-template-page-kilpailu-jopo form input:active {
    outline: none;
    border-bottom: 3px solid transparent !important;
}

body.page-template-page-kilpailu-jopo span.formfooter {
    max-width: 90%;
    display: block;
    font-size: 16px;
    line-height: 1.4;
    font-family: 'Arvo', sans-serif;
    margin-bottom: 1.5rem;
}

body.page-template-page-kilpailu-jopo input[type="checkbox"] {
    box-shadow: none;
    opacity: 1;
    height: 40px !important;
    width: 40px !important;
    position: relative;
    top: 0;
    left: 0;
    font-weight: bold;
    margin: 1rem 1rem 1rem 0 !important;
    z-index: 10;
}

body.page-template-page-kilpailu-jopo input[type="checkbox"]:hover {
    cursor: pointer;
}

body.page-template-page-kilpailu-jopo input[type="checkbox"] + label {
    font-size: 16px;
    line-height: 110%;
    font-weight: bold;
    padding-left: 50px;
    height: 40px;
    display: table-cell;
    vertical-align: middle;
    cursor: pointer;
}

body.page-template-page-kilpailu-jopo input[type="checkbox"]:before {
    content: "";
    background: white;
    color: #333333;
    display: inline-block;
    text-align: center;
    font-size: 30px;
    line-height: 40px;
    border-bottom: 3px solid #999da2;
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    z-index: 100;
}

body.page-template-page-kilpailu-jopo input[type="checkbox"]:checked:before {
    content: '\00d7';
}

body.page-template-page-kilpailu-jopo input[type="submit"] {
    border: 0 !important;
    color: white;
    background: black;
    text-transform: uppercase;
    font-family: 'Arvo',sans-serif !important;
    font-size: 2rem;
    height: auto !important;
    padding: 1rem 3rem .75rem 3rem !important;
    border-radius: 3px;
    margin-top: 2rem !important;
    transition: opacity 0.3s ease-in-out;

}

body.page-template-page-kilpailu-jopo input[type="submit"]:disabled {
    opacity: 0.5;
}



body.page-template-page-kilpailu-jopo #campaignRules {
    position: absolute;
    top: 100px;
    background: #f7f7f7;
    padding: 5rem 5rem;
    opacity: 0;
    transition: all 0.3s ease-in-out;
    z-index: -1;
}

body.page-template-page-kilpailu-jopo #campaignRules .close {
    float: right;
    text-transform: uppercase;
    color: black;
    opacity: 1;
}

body.page-template-page-kilpailu-jopo #campaignRules strong {
    display: block;
    margin-bottom: 1rem;
}

body.page-template-page-kilpailu-jopo #campaignRules.visible {
    z-index: 10;
    opacity: 1;

    max-width: 1155px;
}


body.page-template-page-kilpailu-jopo .step-2 {
     display: none;
}

body.page-template-page-kilpailu-jopo .step-2 .kiitos-container {
    background-color: #fff;
    padding: 4rem;
    margin: 3rem 0;
}
body.page-template-page-kilpailu-jopo .step-2 .kiitos-container .thakns {
    background: #fff;
    padding: 100px;
    margin: 20px auto;
}
body.page-template-page-kilpailu-jopo .step-2 .header h1 {
    padding: 40px;
    text-align: center;
}
body.page-template-page-kilpailu-jopo .step-2 .kiitos-container .thakns p a {
    color: #000;
    text-decoration: underline;
}

@media screen and (max-width: 1024px) {
    body.page-template-page-kilpailu-jopo .header {
        padding: 20px;
        height: 700px;
    }
    body.page-template-page-kilpailu-jopo .header .ljg-logo {
        width: 100%;
        display: block;
    }
    body.page-template-page-kilpailu-jopo .header h1 {
        font-size: 300%;
        top: 20px;
        right: 20px;
    }
}
@media screen and (max-width: 800px) {
    body.page-template-page-kilpailu-jopo .header {
        padding: 20px;
        height: 600px;
    }
    body.page-template-page-kilpailu-jopo .step-2 .kiitos-container .thakns {
        background: #fff;
        padding: 40px;
        margin: 20px auto;
    }
}
@media screen and (max-width: 640px) {
    body.page-template-page-kilpailu-jopo .header .ljg-logo {
        text-align: center;
    }
    body.page-template-page-kilpailu-jopo .header {
        height: 500px;
    }
    body.page-template-page-kilpailu-jopo .header h1 {
        font-size: 250%;
        top: 140px;
        max-width: 100%;
        width: 90%;
        left: 20px;
    }
}

body.page-template-page-kilpailu-jopo .row .col-xs-12.narrow h1 {
    font-size: 40px !important;
    color: #fff;
    text-align: center;
    font-family: 'FuturaCondMedium', 'Arvo', sans-serif !important;
    text-transform: none;
    letter-spacing: -3px;
    line-height: 70px;

    background: #000;
    padding: 20px;
}
body.page-template-page-kilpailu-jopo .col-xs-12.narrow p {
    color: #fff;
    font-family: 'FuturaCondMedium', 'Arvo', sans-serif !important;
    margin: 0 auto;
    text-align: center;
    max-width: 85%;
    font-size: 2.25em;
}
.rules .ljg-logo {
    margin: 0 0 50px 0;
    max-width: 250px;
}
body.page-template-page-kilpailu-jopo .formContainer h1 {
    font-size: 50px !important;
    color: #000;
    text-align: left;
    font-family: 'FuturaCondMedium', 'Arvo', sans-serif !important;
    text-transform: none;
    letter-spacing: -3px;
}
body.page-template-page-kilpailu-jopo .step-2 .kiitos-container,
body.page-template-page-kilpailu-jopo .kiitos-container {
    background: 0;
}
body.page-template-page-kilpailu-jopo .kiitos-container p {
    text-align: left;
}
body.page-template-page-kilpailu-jopo .kiitos-container a {
    color: #fff;
    font-size: inherit;
}

body.page-template-page-kilpailu-jopo h1 {
    text-transform: none !important;
}





@media screen and (max-width: 640px) {

    body.page-template-page-kilpailu-jopo .formContainer {
        padding: 3rem;
    }

    body.page-template-page-kilpailu-jopo form p:nth-of-type(1),
    body.page-template-page-kilpailu-jopo form p:nth-of-type(2) {
        width: 100%;
    }

    body.page-template-page-kilpailu-jopo form p:nth-of-type(1) label {
        width: 100% !important;
    }
    body.page-template-page-kilpailu-jopo #campaignRules {
        top: 0;
    }

    body.page-template-page-kilpailu-jopo .narrow {
        width: 95% !important;
        margin: 80px auto 100px !important;
        float: none;
    }
    body.page-template-page-kilpailu-jopo .row .col-xs-12.narrow h1 {
        font-size: 50px !important;
        color: #fff;
        text-align: center;
        font-family: 'FuturaCondMedium', 'Arvo', sans-serif !important;
        text-transform: none;
        letter-spacing: -3px;
        line-height: 70px;
    }
    body.page-template-page-kilpailu-jopo .formContainer h1 {
        font-size: 50px !important;
        color: #000;
        text-align: left;
        font-family: 'FuturaCondMedium', 'Arvo', sans-serif !important;
        text-transform: none;
        letter-spacing: -3px;
        line-height: 50px;
    }
    .ljg-logo {
        margin: 20px;
    }
}



@media screen and (max-width: 993px) {
    .container {
        width: auto;
    }
    body.page-template-page-kilpailu-jopo .formContainer {
        padding: 4rem;
    }

    body.page-template-page-kilpailu-jopo .narrow {
        width: 95% !important;
        margin: 80px auto 100px !important;
        float: none;
    }
    body.page-template-page-kilpailu-jopo .row .col-xs-12.narrow h1 {
        font-size: 50px !important;
        color: #fff;
        text-align: center;
        font-family: 'FuturaCondMedium', 'Arvo', sans-serif !important;
        text-transform: none;
        letter-spacing: -3px;
        line-height: 70px;
    }
    .ljg-logo {
        margin: 20px;
    }
}

/* 70v- Campaign page*/

 

@media (min-width:992px) {
    .campaign-menu .main-navigation {
        margin-right: 120px;
    }
    .campaign-menu a#site-logo {
        height: 105px;
        width: 250px;
    }
    .campaign-menu span#anniversary-img{  
        display:block; 
        position:absolute; 
        top:0px; 
        right:0px; 
        width:200px; 
        height:200px; 
        background:url(img/LJG_70v_juhlalogo.png) 
        no-repeat top left; 
        background-size:100% auto; 
        z-index: 5; }
}

@media (min-width:768px) and (max-width:991px) {
    .campaign-menu .main-navigation {
        margin-right: 35px;
    }
    .campaign-menu a#site-logo {
        height: 85px;
        width: 200px;
    }
    .campaign-menu span#anniversary-img{
        display:block; 
        position:absolute; 
        top:15px; 
        right:0px; 
        width:60px; 
        height:60px;
        background:url(img/LJG_70v_juhlalogo.png) 
        no-repeat top left; 
        background-size:100% auto; 
        z-index: 5; }
}

@media (min-width:768px) {
    .campaign-page .fp-top {
        padding-top: 8rem;
    }
}

.campaign-page {
    font-family: brix-slab-condensed, serif;
    font-weight: 900;
    font-style: normal;
}

.campaign-page h1 {
    font-family: brix-slab-condensed, serif !important;
    color: #FFD70D !important;
}

.campaign-page h2, h3 {
    font-family: brix-slab-condensed, serif !important;
}
.campaign-page p{
    font-size: 1.75rem;
    margin: 0 auto 16px;
}


@media (min-width:1200px) {
    .campaign-page .container-fluid {
        max-width: 1240px;
    } 
} 

.campaign-wrapper {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.campaign-content {
    background-color: #CDC49C;
    margin-top: 2rem;
    padding: 1rem 0; 
    border-radius: 20px;
}

.campaign-content p {
    color: black;
    padding-left: 0.75rem; 
    padding-right: 0.75rem;
}

.campaign-logo {
    width: 70%;
    margin: auto;
    display: flex;
}

.campaign-image-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.campaign-image-wrapper a {
    position: absolute;
    height: unset;
    width: unset;
    padding: 0.5rem 2.5rem;
    font-size: 2rem;
    font-family: brix-slab-condensed, serif !important;
}

span#music {
    width: 250px;
    height: 120px;
    background:url(img/klassikkolaulu.png) 
    no-repeat top left; 
    background-size:100% auto; 
    display: block;
}

.logos-wrapper {
    bottom: 150px;
    left: 1rem;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: unset;
    flex-direction: row-reverse;
    max-width: 1240px;
    margin: auto
}
@media (max-width:992px) {
    .logos-wrapper {
        position: relative;
        width: 100%;
        bottom: unset;
        left: unset;
        margin-top: 3rem;
    }

}

.logos-wrapper span#music, span#avainlippu{
    position: relative !important;
    top: unset;
    right: unset;
    margin: 0 2rem;
}

.logos-wrapper span#avainlippu{
    background:url(img/tehtysuomessa.png) ;
    background-size: cover;
    width: 150px;
    height: 120px;
}


/* Competition form*/
.gform_wrapper {
    color: white;
}
.gform_wrapper h3.gform_title {
    color: #FFD70D;
    font-weight: uppercase;
    font-size: 2.5rem !important;
    text-transform: uppercase;
}

.gform_wrapper span, label, p {
    font-size: 1.75rem !important;
}

.gform_fields {
    display: flex !important;
    flex-wrap: wrap;
}

.gform_fields input {
    width: 100% !important;
    background-color: #CDC49C;
    color: black;
    max-width: unset !important;
}

.gform_fields textarea {
    background-color: #CDC49C;
    color: black;
    max-width: unset;
}

.gform_fields label {
    font-size: 1rem;
}

#field_1_1, #field_1_4, #field_1_6, #field_1_5 {
    width: 100%;
    max-width: unset !important;
}

#field_1_5 label:after {
    content: '*';
    color: #790000;
    margin-left: 4px;
}

#field_1_5 .gfield_label_before_complex:after {
    content: ' ';
}
#field_1_5 .gfield_label_before_complex .gfield_required {
    display: none;
}

#field_1_2, #field_1_3 {
    width: 50%;
    max-width: unset;
}

.ginput_container_consent {
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
}

.ginput_container_consent #input_1_6_1 {
    width: 20px !important;
    height: 20px;
    margin-left: 1rem;
    margin-right: auto;
    background-color: #CDC49C;
}

.ginput_complex  span {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}
.ginput_complex input {
    max-width: unset !important;
}

.gfield_consent_label a {
    background-color: transparent;
    color: white;
    text-decoration: underline;
    font-size: 1.75rem;
    text-transform: lowercase !important;
    font-family: brix-slab-condensed, serif !important;
    padding: unset;
    width: auto;
    height: unset;
}

.gform_footer .gform_button {
    padding: 0.5rem 2.5rem;
    width: 100% !important;
    background-color: #FFD70D !important;
}

.gform_footer input[type=submit] {
    font-family: brix-slab-condensed, serif !important;
    font-size:  1.5rem !important;
}

.gform_confirmation_message {
    color: white;
    font-size: 1.75rem;
    text-align: center;
}

.responsibility-content .col-md-4{
    flex: 0 0 100%;
    width: 100%;
}
.responsibility-content ul {
    padding-left: 2rem;
    margin-left: 0;
}

.responsibility-content li {
    font-size: 14px;
    margin-bottom: 15px;
}

@media (max-width:768px) {
    .responsibility-content {
        margin-bottom: 2rem;
    }
}