/*
Theme Name: Huono Äiti
Theme URI: http://www.huonoaiti.fi/
Description: Theme for Huono Äiti
Author: Crop
Author URI: http://www.crop-agency.com/
Version: 1.0
Text Domain: huono-aiti
*/


/* Reset */

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font-weight: 300;
    vertical-align: baseline;
}
html, body {
    height: 100%;
    width: 100%;
    -webkit-text-size-adjust: 100%;
    font-family: 'PT Serif', serif;
}
*, *:before, *:after {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
input {
    border: none;
}
a {
    text-decoration: none;
}

/** GENERAL STYLES **/


/* Layout */

.pagewidth {
    max-width: 1230px;
    margin: 0 auto;
    padding: 0 15px;
}
.column-container {
    font-size: 0px;
}
.col {
    display: block;
    margin-bottom: 25px;
    width: 100%;
}

/* General block */

.block {
    padding: 60px 0;
    overflow: hidden;
}
.block.disable-top-margin {
    padding-top: 0;
}
.block.disable-bottom-margin {
    padding-bottom: 0;
}
.block.center-content {
    text-align: center;
}
.block.narrow .pagewidth {
    max-width: 1120px;
}
.block.fluid .pagewidth {
    max-width: 1920px;
    padding: 0;
}
.block.latest-articles .pagewidth {
    max-width: 1950px;
}

.for-mobile,
.block.for-mobile {
    display: block;
}
.for-desktop,
.block.for-desktop {
    display: none;
}

/* Background colors */
.white-bg {
    background-color: #fff;
}
.light-grey-bg {
    background-color: #efefef;
}


/* Fonts */

h1, h2 {
    font-size: 48px;
    line-height: 52px;
    font-weight: 700;
    font-family: 'Source Sans Pro', sans-serif;
    margin: 0 0 30px 0;
    color: #333;
}
.latest-articles h2,
.related-articles h2 {
    font-size: 60px;
    line-height: 70px;
    font-weight: 700;
    font-family: 'Source Sans Pro', sans-serif;
    margin: 0 0 30px 0;
    color: #333;
}
h3 {
    font-size: 30px;
    line-height: 32px;
    font-weight: 700;
    font-family: 'Source Sans Pro', sans-serif;
    margin: 0 0 15px 0;
    color: #333;
}
/*h1, h2, h3 {
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}*/
h4 {
    font-size: 18px;
    line-height: 22px;
    font-weight: 700;
    font-family: 'Source Sans Pro', sans-serif;
    margin: 0 0 15px 0;
    color: #262626;
}
h5 {
    font-size: 14px;
    line-height: 16px;
    margin: 0 0 5px 0;
    font-weight: 400;
    font-family: 'Source Sans Pro', sans-serif;
    color: #ff1fa9;
    text-transform: uppercase;
}
h6 {
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    font-family: 'PT Serif', serif;
    margin: 0 0 20px 0;
    color: #262626;
}
p {
    font-size: 18px;
    line-height: 30px;
    font-weight: 400;
    font-family: 'PT Serif', serif;
    margin: 0 0 30px 0;
    color: #262626;
}
strong, b {
    font-weight: 700;
}
em {
    font-weight: inherit;
}
a {
    color: #ff1fa9;
    font-weight: inherit;
}
.content a:hover {
    text-decoration: underline;
}
img {
    /*vertical-align: top;*/
    max-width: 100%;
    height: auto;
}
hr {
    border: none;
    height: 1px;
    color: #ff1fa9;
    background-color: #ff1fa9;
    margin: 50px auto;
    max-width: 200px;
}
blockquote p {
    font-size: 48px;
    line-height: 52px;
    font-weight: 700;
    font-family: 'Source Sans Pro', sans-serif;
    color: #ff1fa9;
}

/* List style */

ul, ol {
    margin: 0 0 30px 0;
}
ul li, ol li {
    font-size: 18px;
    line-height: 30px;
    font-weight: 400;
    font-family: 'PT Serif', serif;
    margin: 0 0 10px 20px;
    color: #4c4c4c;
}

/** COMMON ELEMENTS **/


/* Vertical align element */

.table {
    display: table;
    width: 100%;
    height: 100%;
}
.middle {
    display: table-cell;
    vertical-align: middle;
}

/* Animation */
.animate {
    transition: all 1s ease;
}

/* Shadows */
img.shadow {
    -webkit-box-shadow: 0px 0px 15px 2px rgba(0,0,0,0.15);
    -moz-box-shadow: 0px 0px 15px 2px rgba(0,0,0,0.15);
    box-shadow: 0px 0px 15px 2px rgba(0,0,0,0.15);
    margin: 10px 0;
}

/* Button element */

.button {
    font-size: 16px;
    line-height: 30px;
    font-weight: 400;
    font-family: 'Source Sans Pro', sans-serif;
    text-transform: uppercase;
    color: #262626;
    display: inline-block;
    background-color: transparent;
    padding: 12px 48px;
    border: 2px solid #e5e5e5;
    border-radius: 0;
    vertical-align: top;
    margin: 0;
}
.button:hover {
    color: #ff1fa9;
}
.button.load-more {
    margin: 60px 0 20px 0;
}
.button.load-more.comments {
    margin: 10px 0 0;
}

/* Category list element */

.category-list {
    list-style: none;
    padding: 0;
    margin: 0 0 5px 0;
}
.category-list .item {
    display: inline-block;
    margin: 0 20px 15px 0;
}
.category-title {
    margin: 0 0 10px 0;
    font-weight: bold;
}

/* Article card element */

.article-card .image-wrap {
    margin: 15px 0 22px 0;
    overflow: hidden;
}
.article-card .image-wrap img {
    width: 100%;
    transition: all 0.4s ease;
}
.article-card .article-description {
    display: block;
    padding: 15px 20px 40px 0;
}
.article-card .article-description p {
    font-size: 16px;
    line-height: 24px;
    font-family: 'PT Serif', serif;
    color: #262626;
    margin: 0 0 15px 0;
}
.article-card .article-description .author-and-date, .author-and-date {
    font-size: 12px;
    line-height: 14px;
    font-family: 'Source Sans Pro', sans-serif;
    margin: 0;
    text-transform: uppercase;
}
.article-card:hover h3 {
    color: #ff1fa9;
}
.article-card:hover .image-wrap img {
    transform: scale(1.05);
    transition: all 0.8s ease;
}

/* Category label element */

.label {
    position: relative;
    display: inline-block;
}
.label span {
    position: relative;
    display: block;
    font-size: 14px;
    line-height: 14px;
    font-weight: 600;
    font-family: 'Source Sans Pro', sans-serif;
    padding: 8px 10px;
    text-transform: uppercase;
    text-align: center;
    color: #fff;
    z-index: 100;
    -webkit-transform: translateZ(0px);
}
.label:hover {
    color: #fff;
}
.label .bgcolor {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 10;
    transition: opacity 0.2s;
    background-color: #ccc;
}
.label:hover .bgcolor {
    opacity: 0.7;
}

/* Post info element */

.post-date p, .post-category p {
    font-size: 16px;
    line-height: 20px;
    font-weight: 400;
    font-family: 'Source Sans Pro', sans-serif;
    margin: 0 0 25px 0;
    color: #262626;
    text-transform: uppercase;
}

/* Sharing icon element */
.addthis_tool {
    margin-top: 10px;
}
a.at-share-btn {
    margin: 0 10px 0 0 !important;
    -webkit-transform: none !important;
    transform: none !important;
    -webkit-transition: none !important;
    transition: none !important;
    outline: 0 !important;
}
.at-icon-wrapper {
    width: 25px !important;
    height: 25px !important;
}
.at-icon {
    width: 25px !important;
    height: 25px !important;
}
.at_flat_counter {
    margin: 0 8px 0 -7px !important;
}

/* Post wrapper element */
.related-articles-wrapper {
    margin: 0 0 30px 0;
}
.related-articles-wrapper h3 {
    font-size: 28px;
    line-height 32px;
    font-weight: 600;
    color: #ff1fa9;
    padding: 0 0 15px 0;
    margin: 0 0 15px 0;
    border-bottom: 2px solid #ff1fa9;
}
.related-articles-wrapper ul {
    list-style: none;
/*    background-image: url(images/right-side-bar-bg.png); */
    background-repeat: no-repeat;
    background-position: bottom left;
    padding-bottom: 10px;
    border-bottom: 2px solid #ff1fa9;
    margin: 0;
}
.related-articles-wrapper li.item {
    border-bottom: 2px solid #efefef;
    padding: 12px 0 15px 0;
    margin: 0;
}
.related-articles-wrapper li.item:first-child {
    padding-top: 0px;
}
.related-articles-wrapper li.item:last-child {
    border-bottom: none;
}
.related-articles-wrapper li.item .link {
    font-size: 18px;
    line-height: 28px;
    font-weight: 600;
    font-family: 'Source Sans Pro', sans-serif;
    color: #888;
}
.related-articles-wrapper li.item .link:hover {
    color: #ff1fa9;
}

/* Author Bio */
.author-bio img {
    float: left;
    padding: 3px 20px 0 0;
}
.author-bio h3 {
    font-size: 28px;
    line-height 32px;
    font-weight: 600;
    color: #ff1fa9;
    padding: 0 0 15px 0;
    margin: 0 0 15px 0;
    border-bottom: 2px solid #ff1fa9;
}
.author-bio p {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 16px;
    line-height: 24px;
    -webkit-font-smoothing: antialiased;
}

/* Author All Posts */
.author-all-posts {
    margin: 0 0 30px 0;
    padding: 20px 0 0;
    clear: both;
}
.author-all-posts .title {
    cursor: pointer;
}
.author-all-posts .title:before {
    font-family: FontAwesome;
    content: "\f067";
    margin: 0 5px 0 0;
    font-size: 12px;
}
.author-all-posts .title.close:before {
    font-family: FontAwesome;
    content: "\f068";
    margin: 0 5px 0 0;
    font-size: 12px;
}
.author-all-posts h3 {
    font-size: 28px;
    line-height 32px;
    font-weight: 600;
    color: #ff1fa9;
    padding: 0 0 15px 0;
    margin: 0 0 15px 0;
    border-bottom: 2px solid #ff1fa9;
}
.author-all-posts h4,
.author-all-posts h5 {
    margin: 0;
    padding: 0 0 15px 0;
    font-weight: 600;
}
.author-all-posts ul {
    display: none;
    margin: 0;
    padding: 0 0 10px 0;
}
.author-all-posts li {
    list-style: none;
    margin: 0 0 10px 0;
}
.author-all-posts a {
    display: block;
    font-family: 'Source Sans Pro', serif;
    font-size: 16px;
    line-height: 20px;
}

/* Share your story element */

.submit-story {
    /*border-top: 2px solid #efefef;
    border-bottom: 2px solid #efefef;
    padding: 25px 0 25px 115px;
    margin: 0 0 30px 0;
    background-image: url('images/submit-story-icon.png');
    background-position: left center;
    background-repeat: no-repeat;*/
}
.submit-story h2 {
    margin: 0 0 15px 0;
}
/*.submit-story p {
    margin: 0;
}*/

/* Category menu */

.category-menu {
    border-top: 2px solid #efefef;
    padding: 50px 0 0;
    margin: 60px 0 0;
}

/* Styles in content */

.content h2 {
    font-size: 24px;
    line-height: 30px;
}
.content p {
    -webkit-font-smoothing: antialiased;
}

/* Spinner */

.fa.fa-spinner {
    display: block;
    text-align: center;
    font-size: 40px;
    color: #333;
    margin: 50px 0 0;
}

/* Text styles */

.align-center {
    text-align: center;
}
.uppercase {
    text-transform: uppercase;
}
.white-text {
    color: #fff;
}
.grey-text {
    color: #888;
}
.pink-text {
    color: #ff1fa9;
}

/* Caption box */
.wp-caption {
    max-width: 100%;
}
.wp-caption img {
    margin: 0 0 5px 0;
}
.wp-caption-text {
    font-size: 14px;
    line-height: 28px;
    margin: 0 0 15px 0;
}

/* Image align */

.alignleft {
    display: block;
    margin: 0 0 35px 0;
}
.aligncenter {
    display: block;
    margin: 15px auto;
}
.alignright {
    display: block;
    margin: 0 0 35px 0;
}

/** BLOCK STYLE **/

/* Multiple columns block */
.block.multiple-columns a.col:hover {
    opacity: 0.8;
}
.block.multiple-columns .col:last-child {
    margin-bottom: 0;
}

/* Mosaic block */
.block.mosaic .col {
    display: block;
    margin-bottom: 2px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.block.mosaic .mosaic-background {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: -1;
    background-size: cover;
}
.block.mosaic .mosaic-background video {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    min-width: 100%;
    min-height: 100%;
}
.block.mosaic .mosaic-background img {
    display: none;
}
.block.mosaic .mosaic-content {
    text-align: center;
    padding: 30px 0;
    background-color: rgba(0, 0, 0, 0.1);
    background-blend-mode: darken;
}
.block.mosaic .mosaic-content:hover {
    background-color: rgba(0, 0, 0, 0.25);
    transition: all 0.4s ease;
}
.block.mosaic .mosaic-header {
    color: #fff;
    font-weight: 600;
    /*-webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;*/
    text-shadow: 0px 0px 8px rgba(0, 0, 0, 0.6);
}
.block.mosaic .one-column .mosaic-header {
    text-shadow: 0px 0px 12px rgba(0, 0, 0, 0.6);
}
.block.mosaic .one-column .mosaic-header, .block.mosaic .two-columns .mosaic-header {
    font-size: 42px;
    line-height: 46px;
    margin: 0 0 15px 0;
}
.block.mosaic .three-columns .mosaic-header {
    font-size: 30px;
    line-height: 34px;
    margin: 0 0 10px 0;
}
.block.mosaic .mosaic-content .label {
    margin-bottom: 25px;
}
.block.mosaic .mosaic-content .label span {
    padding: 12px 23px;
}
.block.mosaic .title-box-content {
    display: block;
    padding: 0 45px;
}
.block.mosaic .title-box-content .author-and-date {
    font-size: 14px;
    color: #fff;
}

/* Latest articles block */

.block.latest-articles .filter-bar {
    border-bottom: 2px solid #efefef;
    padding: 0 0 20px 0;
    margin: 45px 0 40px 0;
}
.block.latest-articles .category-list {
    text-align: center;
}

/* Related articles block */
.block.related-articles .column-container {
    margin: 0 -10px;
}
.block.related-articles .col {
    padding: 0 10px;
}

/* Latest blogs block */
.block.latest-blogs {
    border-top: 8px solid #ff1fa9;
    border-bottom: 8px solid #ff1fa9;
}
.block.latest-blogs .article-card .article-description {
    padding: 0 20px 40px 0;
}

/* Logo Wall block */
.block.logo-wall {
    padding: 20px 0;
    text-align: center;
}
.block.logo-wall ul,
.block.logo-wall li {
    margin: 0;
    padding: 0;
    font-size: 0;
}
.block.logo-wall li.logo {
    display: inline-block;
    width: 120px;
    height: 120px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    margin: 10px 25px;
}

/* Newsletter block */
.block.newsletter {
    padding: 45px 0;
}
.block.newsletter .nf-form-title h3 {
    font-size: 48px;
    line-height: 52px;
    font-weight: 700;
    font-family: 'Source Sans Pro', sans-serif;
    margin: 0 0 10px 0;
    color: #000;
}
.block.newsletter .nf-response-msg h3 {
    position: relative;
    top: 75px;
}
.block.newsletter p {
    font-size: 14px;
    font-weight: 400;
    font-family: 'PT Serif', serif;
    line-height: 20px;
    color: #666;
    margin: 15px 0;
}
.block.newsletter input[type="email"],
.pum-container input[type="email"] {
    display: inline-block;
    width: 80% !important;
    max-width: 100%;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 18px;
    line-height: 28px;
    padding: 15px 25px;
    margin: 0;
    color: #666;
    border: none;
    outline: none;
    vertical-align: top;
}
.block.newsletter input[type="button"],
.pum-container input[type="button"]{
    display: inline-block;
    width: 80% !important;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 14px;
    line-height: 18px;
    font-weight: 700;
    padding: 19px 25px;
    color: #262626;
    background-color: #fff;
    border: 1px solid #fff;
    border-radius: 0;
    vertical-align: top;
    margin: 0;
    text-transform: none;
    cursor: pointer;
}
.block.newsletter input[type="button"]:hover,
.pum-container input[type="button"]:hover {
    color: #ff1fa9;
    background-color: #fff;
}
.block.newsletter .nf-error .ninja-forms-field,
.pum-container .nf-error .ninja-forms-field {
    border: none !important;
}
.block.newsletter .nf-error-msg {
    margin: 0;
}

/* 404 block */

.block.error404 {
    padding: 180px 0;
}

/* Advanced content */
.block.advanced-content .pagewidth {
    max-width: none;
}

/** PAGES STYLE **/

/* Single page */
.block.page-navigation {
    position: relative;
    background-color: #ff1fa9;
    padding: 30px 0 25px 0;
    min-height: 110px;
    overflow: visible;
}
.block.page-navigation h4 {
    color: #fff;
    text-transform: uppercase;
    font-weight: 600;
}
.block.page-navigation .some-links {
    margin: 0;
}
.block.page-navigation .some-links li {
    display: inline-block;
    margin: 0 30px 0 0;
}
.block.page-navigation .some-links li a {
    color: #fff;
    font-size: 25px;
}

/* Article page  */

.block.article .article-heading-text {
    max-width: 920px;
    text-align: center;
    margin: 0 auto;
}
.block.article .article-heading-text h1 {
    /*-webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;*/
}
.block.article .article-background-image {
    max-width: 1200px;
    margin: 45px auto 60px;
}
.block.article .more-articles {
    margin-bottom: 30px;
}
.block.article .more-articles h2 {
    font-size: 28px;
    font-weight: 600;
    color: #ff1fa9;
    padding: 0 0 15px 0;
    margin: 0;
    border-bottom: 2px solid #ff1fa9
}
.block.article .more-articles .article-card {
    display: flex;
    padding-top: 20px;
    margin-bottom: 0;
}
.block.article .content .more-articles .article-card .image-wrap {
    margin: 0 15px 10px 0;
    flex: 0 0 50%;
}
.block.article .more-articles .article-card .article-description {
    padding: 10px 0 0;
}
.block.article .more-articles .article-description h3 {
    font-size: 18px;
    line-height: 22px;
    font-weight: 600;
}
.block.article .more-articles .article-description .excerpt-author {
    display: none;
}
.block.article .content .more-articles .article-card a:hover {
    text-decoration: none;
}

/* Common */

.block .left-sidebar {
    margin: 0;
}
.block .left-sidebar .mobile-fixed {
    position: fixed;
    background-color: #fff;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    padding: 0 15px 10px 15px;
    z-index: 9999;
}
.block .left-sidebar .post-share h5, .block .left-sidebar .post-date h5, .block .left-sidebar .post-category {
    display: none;
}
.block .left-sidebar .frontpage-link {
    display: none;
}
.block .left-sidebar .instagram-link {
    position: fixed;
    left: auto;
    right: 0;
    bottom: 0;
    margin: 0;
    padding: 0 15px 10px 15px;
    z-index: 10000;
}
.block .left-sidebar .instagram-link h5.instagram-text,
.block .left-sidebar .instagram-link p.instagram-logo {
    margin: 0;
    display: inline-block;
    vertical-align: middle;
}
.block .left-sidebar .instagram-link p.instagram-logo {
    color: #ff1fa9;
    margin: 0 0 0 5px;
    font-size: 20px;
}

/** ARTICLE COMMENT SECTION **/

/* Comment area */

.comment-respond {
    background-color: #efefef;
    padding: 35px 25px;
}
.comment-reply-title {
    font-size: 18px;
    line-height: 22px;
    font-weight: 600;
    font-family: 'Source Sans Pro', sans-serif;
    margin: 0 0 15px 0;
    color: #252525;
    text-transform: uppercase;
    text-align: center;
}
.comment-reply-title>a {
    font-size: 14px;
    line-height: 18px;
    font-family: 'Source Sans Pro';
    color: #666;
    text-transform: ;
}
.comment-reply-title #cancel-comment-reply-link {
    display: block;
    margin-top: 5px;
    font-size: 14px;
    line-height: 18px;
    color: #252525;
    font-family: 'Source Sans Pro';
    font-weight: 600;
    text-decoration: underline;
    text-transform: initial;
}
.comment-notes {
    font-size: 14px;
    line-height: 18px;
    font-family: 'PT Serif', serif;
    margin: 0 0 30px 0;
    color: #252525;
    text-align: center;
}
.comments-area {
    margin: 40px 0 0;
    font-size: 14px;
}
.comment-form {
    font-size: 0;
    margin: 0 -6px;
}
.comment-form>p {
    padding: 0 6px;
}
.comment-form-comment {
    margin: 0 0 5px 0;
}
.comment-form-author, .comment-form-email {
    display: inline-block;
    width: 100%;
}
.comment-form-author {
    margin: 0 0 13px 0;
}
.form-submit {
    margin: 10px 0 0 0;
}

/* Attachments */
.comment-form-attachment {
    font-size: 14px;
    line-height: 18px;
    font-family: 'PT Serif', serif;
    margin: 0 0 10px 0;
    color: #252525;
}
.comment-form-attachment .attachmentRules {
    display: none;
}
.comment-form-attachment #attachment {
    margin: 0 0 10px 0;
}
.attachmentFile p{
    margin: 0 0 10px 0;
}

/* Respond common elements */

.comments-title {
    font-size: 18px;
    line-height: 22px;
    font-weight: 600;
    font-family: 'PT Serif', serif;
    margin: 35px 0 30px;
    color: #252525;
}
.comment-list {
    margin: 0;
}
.comment-list, .comment .children {
    list-style: none;
}
.comment-list li {
    margin: 0 0 20px 0;
    line-height: 18px;
}
.comment-author, .comment-meta a {
    font-size: 14px;
    line-height: 18px;
    font-weight: 600;
    font-family: 'Source Sans Pro', sans-serif;
    color: #666;
    margin: 0 0 10px 0px;
}
.comment-meta a {
    color: #bbb;
}
.comment-body {
    position: relative;
}
.comment-body>p {
    font-size: 16px;
    line-height: 20px;
    font-family: 'PT Serif', serif;
    margin: 0 0 10px 0;
    color: #252525;
}
.comment-body br {
    display: none;
}
.comment-author .fn {
    font-style: normal;
}
.comment-author .fn, .comment-author .says {
    font-weight: 600;
}
.comment-meta {
    position: absolute;
    top: 0;
    right: 0;
    line-height: 0;
}
.comment-awaiting-moderation {
    font-size: 14px;
    line-height: 18px;
    font-weight: 600;
    font-style: italic;
    font-family: 'Source Sans Pro', sans-serif;
    color: #06a8b2;
    margin: 0 0 10px 0;
}
.comment-reply-link {
    font-size: 14px;
    line-height: 18px;
    font-weight: 600;
    font-family: 'Source Sans Pro', sans-serif;
    cursor: pointer;
}
.reply {
    line-height: 0;
}

/* Respons nested comment elemnts */

.comment .children {
    margin: 25px 0 0 0;
    padding: 10px 0 10px 20px;
    border-left: 6px solid #efefef;
}
.comment-list .children li {
    margin-bottom: 0;
}
.comments-pagination h2 {
    display: none;
}
.comments-pagination .page-numbers {
    margin-right: 5px;
}

/* All forms */

input[type="text"], 
input[type="email"], 
input[type="password"] {
    display: block;
    width: 100%;
    font-family: 'PT Serif', serif;
    font-size: 15px;
    line-height: 20px;
    font-weight: 300;
    color: #666;
    background-color: #fff;
    padding: 6px 10px;
    margin: 0;
    border: 1px solid #bcbcbc;
    border-radius: 0;
    outline: none;
    box-sizing: border-box;
    -webkit-appearance: none;
}
textarea {
    width: 100%;
    font-family: 'PT Serif', serif;
    font-size: 15px;
    line-height: 20px;
    font-weight: 300;
    color: #666;
    background-color: #fff;
    border: 1px solid #bcbcbc;
    border-radius: 0;
    padding: 6px 10px;
    margin: 0;
    outline: none;
    box-sizing: border-box;
    -webkit-appearance: none;
}
input[type="submit"], 
input[type="button"] {
    display: block;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 15px;
    line-height: 15px;
    font-weight: 600;
    padding: 15px 35px;
    text-transform: uppercase;
    text-align: center;
    border: 1px solid #ff1fa9;
    color: #fff;
    background-color: #ff1fa9;
    cursor: pointer;
    -webkit-appearance: none;
    border-radius: 0;
}
input[type="submit"]:hover, 
input[type="button"]:hover {
    color: #ff1fa9;
    background-color: #fff;
}
/* password protected form */
.post-password-form label {
    display: block;
}
.post-password-form input[type="password"] {
    max-width: 400px;
    margin: 10px 0 20px 0;
}


/** Ninja forms **/

.newsletter .ninja-form-container,
.pum-container .ninja-form-container {
    display: inline-block;
    max-width: 800px;
}
.newsletter .nf-form-cont,
.pum-container .nf-form-cont {
    margin: 0;
}
.newsletter .nf-field-container,
.pum-container .nf-field-container {
    margin: 0 0 15px 0 !important;
}
.newsletter .nf-field-label,
.pum-container .nf-field-label {
    display: none;
}
.newsletter .nf-multi-cell .nf-cell,
.pum-container .nf-multi-cell .nf-cell {
    float: none !important;
    display: inline-block !important;
    width: 100% !important;
    padding: 0 !important;
    vertical-align: top;
}
/* fix line-height for hidden fields */
.newsletter .nf-multi-cell .nf-cell:only-child,
.pum-container .nf-multi-cell .nf-cell:only-child {
    display: block !important;
}

.nf-field-container {
    margin: 0 0 10px 0 !important;
}
.nf-form-fields-required, 
.nf-error-required-error, 
.nf-error-invalid-email {
    display: none !important;
}
.nf-error .ninja-forms-field {
    border: 1px solid #ff1fa9 !important;
}
.nf-error-msg {
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    font-family: 'PT Serif', serif;
    margin: 20px 0 0;
    color: #ff1fa9 !important;
}

/* File upload */

.nf-form-cont .nf-fu-progress {
    margin: 0 0 10px 0;
}
.nf-form-cont .nf-fu-progress-bar {
    background-color: #ff1fa9;
}
.nf-form-cont .files_uploaded p, 
.nf-form-cont .files_uploaded a {
    font-size: 14px;
    line-height: 18px;
    font-weight: 600;
    font-family: 'Source Sans Pro', sans-serif;
    margin: 0;
}
.nf-form-cont .files_uploaded a.delete::before {
    display: inline-block;
    content: " ";
    padding: 0 5px;
    color: #414141;
}

/** FOOTER **/

footer {
    text-align: center;
}
.block.footer {
    padding: 35px 0 5px 0;
    background-color: #ff1fa9;
}
.block.footer h4 {
    font-size: 24px;
    line-height: 28px;
    font-weight: 400;
    color: #fff;
    margin: 0 0 32px 0;
}
.block.footer h4::after {
    display: block;
    content: " ";
    width: 200px;
    height: 1px;
    margin: 45px auto 60px auto;
    background-color: #fff;
}
.block.footer .footer-menu {
    list-style: none;
    margin: 0 auto;
}
.block.footer .footer-menu li {
    display: inline-block;
    margin: 0 30px 15px 0;
    line-height: 18px;
}
.block.footer .footer-menu li:last-child {
    margin-right: 0;
}
.block.footer .footer-menu li a {
    font-size: 16px;
    line-height: 20px;
    font-weight: 300;
    font-family: 'Source Sans Pro', sans-serif;
    color: #fff;
    text-transform: uppercase;
}
.block.footer .footer-menu li a:hover {
    border-bottom: 1px solid #fff;
}
.block.copyright {
    padding: 15px 0;
}
.block.copyright p {
    font-size: 14px;
    line-height: 18px;
    font-family: "Source Sans Pro", sans-serif;
    color: #272727;
    margin: 0;
    text-transform: uppercase;
}
/* Search section */
#search {
    display: none;
    background-color: #efefef;
    padding: 60px 0;
    min-height: 400px;
}
#search.show {
    display: block;
}
#search .pagewidth {
    max-width: 800px;
    margin: 0 auto;
}
#search .search-close {
    margin-bottom: 60px;
}
#search .search-close a.close {
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 15px;
    padding: 0 0 0 22px;
    text-transform: uppercase;
    background: url(./images/close-icon.svg) no-repeat;
    background-size: 15px 20px;
}
#search .search-form {
    position: relative;
    margin: 0 0 50px;
    border-bottom: 1px solid #666;
}
#search .screen-reader-text {
    display: none;
}
#search .search-form .search-field {
    font-family: "Source Sans Pro", sans-serif;
    font-size: 30px;
    line-height: normal;
    font-weight: 300;
    background-color: transparent;
    color: #666;
    padding: 0 40px 10px 0;
    outline: none;
    border: none;
    width: 100%;
    -webkit-appearance: textfield;
}
#search .search-form .search-field::-ms-clear {
    display: none;
}
#search .search-form .search-submit {
    position: absolute;
    background: url(images/search-icon.svg) no-repeat;
    background-size: contain;
    top: 5px;
    right: 0;
    font-size: 0;
    padding: 0;
    width: 25px;
    height: 25px;
    border: none;
}
#search .search-form .search-submit:focus {
    outline: none;
}
#search .search-results .item {
    margin: 5px 0 60px;
    font-size: 0;
}
#search .search-results .item > div {
    display: block;
}
#search .item .article-description {
    padding: 0;
}
#search .item .details .label {
    margin: 0 0 10px;
}
#search a.button.load-more.search {
    display: none;
}

/* Instagram load more button */

/*.ff-btn {
    font-size: 16px !important;
    line-height: 30px !important;
    font-weight: 400 !important;
    font-family: 'Source Sans Pro', sans-serif !important;
    text-transform: uppercase !important;
    color: #262626 !important;
    display: inline-block !important;
    background-color: transparent !important;
    padding: 12px 48px 12px 48px !important;
    border: 2px solid #e5e5e5 !important;
    border-radius: 0 !important;
    vertical-align: top !important;
    margin: 40px 0 0 !important;
}
.ff-btn:hover {
    color: #ff1fa9 !important;
}*

/* Juicer icon */
h2.juicer {
    text-align: center;
    margin: 20px 0 50px 0;
}
h2.juicer span {
    display: none;
}
h2.juicer::before {
    font-family: "FontAwesome";
    font-size: 100px;
    font-weight: normal; 
    content: "\f16d";
}

/* Popup Maker */
.pum-theme-newsletter .pum-container p {
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    font-family: 'PT Serif', serif;
    color: #666;
    margin: 0 0 20px 0;
}
.pum-theme-newsletter .pum-container p img {
    /*display: none;*/
}
.pum-theme-newsletter .pum-container input[type="email"],
.pum-theme-newsletter .pum-container input[type="button"] {
    width: 100% !important;
}
.pum-theme-newsletter .pum-container .nf-error-msg {
    margin: 5px 0 20px 0;
}
.pum-theme-newsletter .pum-container .pum-content + .pum-close {
    margin: 0;
}

/* Cookie consent */
.pum-theme-cookie-consent .pum-content {
    display: block;
    max-width: 1140px !important;
    margin: 5px auto;
}
.pum-theme-cookie-consent p {
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    font-family: 'PT Serif', serif;
    color: #fff;
}
.pum-theme-cookie-consent a {
    color: #fff;
    border-bottom: 1px solid #fff;
}
.pum-theme-cookie-consent .button {
    float: right;
    text-transform:  uppercase;
    color: #ff1fa9;
    background-color: #fff;
    border-color: #fff;
    padding: 5px 20px;
    margin: 0 0 5px 0;
}
.pum-theme-cookie-consent .button:hover {
    color: #fff;
    background-color: #ff1fa9;
}

/* Ruokamainos */
.pum-theme-ruokamainos .pum-container {
    max-width: 90%;
}
.pum-theme-ruokamainos h2 {
    font-family: 'Anton', sans-serif;
    font-size: 34px;
    line-height: 40px;
    font-weight: 400;
    color: #ff1fa9;
    text-align: center;
    padding: 0 20px;
    margin: 0 0 10px 0;
}
.pum-theme-ruokamainos h4 {
    font-family: 'Anton', sans-serif;
    font-size: 16px;
    line-height: 22px;
    font-weight: 400;
    color: #262626;
    text-align: center;
    padding: 0 20px;
}
.pum-theme-ruokamainos .pum-content + .pum-close {
    border-radius: 50% !important;
}

/* Newsletter 10 v*/
.pum-theme-newsletter-hero-image .pum-container {
    max-width: 90%;
}
.pum-theme-newsletter-hero-image .nf-form-cont {
    text-align: center;
    margin: 0 20px;
}
.pum-theme-newsletter-hero-image .nf-form-cont .nf-form-wrap {
    display: inline-block;
    max-width: 600px;
}
.pum-theme-newsletter-hero-image p {
    margin: 0;
}
.pum-theme-newsletter-hero-image h3 {
    color: #fff;
    margin: 20px 0 40px;
}
.pum-theme-newsletter-hero-image .nf-form-cont h6 {
    margin: 0 0 10px;
}
.pum-theme-newsletter-hero-image .pum-container input[type="email"],
.pum-theme-newsletter-hero-image .pum-container input[type="button"] {
    width: 100% !important;
}
.pum-theme-newsletter-hero-image .pum-content + .pum-close {
    border-radius: 50% !important;
}
.pum-theme-newsletter-hero-image .pum-container .nf-error-msg {
    margin: 0 0 30px;
}

/* Grand One layout */

.grand-one .block.page .column-container {
    max-width: 933.33px;
}
.grand-one h1 {
    text-align: center;
}
.grand-one h3 {
    text-align: center;
    position: relative;
    margin: 30px 0 30px 0;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}
.grand-one h3:after {
    content: "";
    display: block;
    margin: 25px auto;
    background: #ff1fa9;
    width: 200px;
    max-width: 100%;
    height: 1px;
}
.grand-one p {
    margin: 0 0 20px 0;
}
.grand-one p img {
    display: block;
    margin: 0 auto 20px;
}
.grand-one p em {
    font-style: normal;
    background-color: rgba(217, 46, 119, 0.2);
}

@media screen and (min-width: 963px) {
    .grand-one p img {
        display: inline;
        margin: 30px 0 20px 0;
        vertical-align: top;
    }
    .grand-one p img:nth-child(2n) {
        margin-left: 35px;
    }
}

/* Block article links */
.article-links {
    text-align: center;
    padding: 0;
}
.article-links hr {
    background-color: #cdcdcd;
}
.article-links a img {
    filter: gray;
    -webkit-filter: grayscale(1);
    filter: grayscale(1);
    opacity: 0.4;
}
.article-links a:hover img {
  -webkit-filter: grayscale(0);
  filter: none;
  opacity: 1;
}

/* Cookiebot */
#CybotCookiebotDialog {
    border: 18px solid #fff !important;
    box-shadow: #ff1fa9 0px 0px 0px 6px !important;
    border-radius: 0px !important;
}
#CybotCookiebotDialogBodyUnderlay {
    opacity: 0.9 !important;
}
a#CybotCookiebotDialogBodyButtonAccept,
a#CybotCookiebotDialogBodyLevelButtonAccept,
a#CybotCookiebotDialogBodyLevelButtonLevelOptinAllowAll,
a#CybotCookiebotDialogBodyLevelButtonLevelOptinAllowallSelection,
a#CybotCookiebotDialogBodyLevelButtonLevelOptinDeclineAll {
    background-color: #ff1fa9 !important;
    border: 1px solid #ff1fa9 !important;
    padding: 8px 12px !important;
    width: auto !important;
    margin-bottom: 10px !important;;
}
a#CybotCookiebotDialogBodyLevelButtonLevelOptinAllowAll {
    background-color: #4eba6f !important;
    border: 1px solid #4eba6f !important;
}
#CybotCookiebotDialog li {
    color: inherit;
    font-family: inherit;
    line-height: inherit;
    font-size: inherit;
}


/* Pop media */
.teads-inread,
.bb_iawr {
    margin-bottom: 30px !important;
}

/* Media queries */

@media screen and (min-width: 500px) {
    /* Latest articles block */
    .block.latest-articles .column-container {
        margin: 0 -10px;
    }
    .block.latest-articles .col {
        width: 50%;
        padding: 0 10px;
        vertical-align: top;
        display: inline-block;
    }
    #search .search-results .item > div {
        display: inline-block;
        vertical-align: top;
    }
    #search .search-form .search-field {
        font-size: 48px;
    }
    #search .search-form .search-submit {
        top: 30px;
    }
    #search .item {
        padding: 0;
    }
    #search .item .image-wrap {
        width: 33%;
        margin: 0;
    }
    #search .item .details {
        width: 67%;
        padding-left: 40px;
    }
}

/* Popup Maker hack, to override negative top postion */
@media screen and (max-width: 800px) {

    .pum-theme-newsletter {
        overflow-y: scroll !important;
    }
    .pum-theme-newsletter .pum-container {
        top: 100px !important;
        position: absolute !important;
    }
}

@media screen and (min-width: 800px) {

    /* Common */
    .col {
        display: inline-block;
        vertical-align: top;
        margin-bottom: 0;
    }
    .related-articles-wrapper {
        margin: 0;
    }
    /* Image align */
    .alignleft {
        float: left;
        clear: both;
        margin: 0 20px 15px 0;
    }
    .alignright {
        float: right;
        clear: both;
        margin: 0 0 15px 20px;
    }
    .for-mobile,
    .block.for-mobile {
        display: none;
    }
    .for-desktop,
    .block.for-desktop {
        display: block;
    } 
    
    /** BLOCKS **/
    
    /* Block multiple columns */
    .block.multiple-columns.cols-1 .column-container {
        margin: 0;
    }
    .block.multiple-columns.cols-1 .column-container .col {
        display: block;
        max-width: 825px;
        margin: 0 auto;
    }
    .block.multiple-columns.cols-2 .column-container {
        margin: 0 -45px;
    }
    .block.multiple-columns.cols-2 .column-container .col {
        width: 50%;
        padding: 0 45px
    }
    .block.multiple-columns.cols-3 .column-container {
        margin: 0 -33px;
    }
    .block.multiple-columns.cols-3 .column-container .col {
        width: 33.33%;
        padding: 0 33px
    }
    .block.multiple-columns.cols-4 .column-container {
        margin: 0 -25px;
    }
    .block.multiple-columns.cols-4 .column-container .col {
        width: 25%;
        padding: 0 25px
    }
    .block.multiple-columns.cols-5 .column-container {
        margin: 0 -17px;
    }
    .block.multiple-columns.cols-5 .column-container .col {
        width: 20%;
        padding: 0 17px
    }
    
    /* Newsletter */
    .block.newsletter .ninja-form-container {
        padding: 0 110px;
        background-image: url('images/champagne.png');
        background-position: left 45px;
        background-repeat: no-repeat;
        min-height: 185px;
    }
    .block.logo-wall li.logo {
        width: 170px;
        height: 170px;
        margin: 20px 30px;
    }
    
    /** Ninja forms **/
    .block.newsletter .nf-multi-cell .nf-cell,
    .pum-theme-newsletter .pum-container .nf-multi-cell .nf-cell,
    .pum-theme-newsletter-hero-image .pum-container .nf-multi-cell .nf-cell {
        width: auto !important;
    }
    .block.newsletter input[type="email"] {
        width: 300px !important;
    }
    .block.newsletter input[type="button"],
    .pum-theme-newsletter .pum-container input[type="button"],
    .pum-theme-newsletter-hero-image .pum-container input[type="button"] {
        background-image: url('images/btn-newsletter-bg.png');
        background-repeat: no-repeat;
        background-position: left center;
        width: auto !important;
    }
    
    /** PAGES STYLE  **/

    /* Single page */
    .block.page-navigation h4 {
        float: left;
    }
    .block.page-navigation .some-links {
        float: right;
    }
    .block.page-navigation .some-links li {
        margin: 0 0 0 30px;
    }
    .block.page-navigation .some-links li a {
        color: #fff;
        font-size: 32px;
    }
    
    /* Article page */
    .block.article .article-heading-text h1 {
        -webkit-hyphens: none;
        -moz-hyphens: none;
        -ms-hyphens: none;
        hyphens: none
    }
    .block.article .left-sidebar {
        width: 18%;
        padding: 0 15px 0 0;
        margin-top: 5px;
    }
    .block.article .main-content {
        width: 57%;
        padding: 0 50px 0 0;
    }
    .block.article .right-sidebar {
        width: 25%;
    }
   
    /* Common */
    .block .left-sidebar .mobile-fixed {
        position: static;
        background-color: transparent;
        padding: 0;
    }
    .block .left-sidebar .instagram-link {
        position: static;
        background-color: transparent;
        padding: 0;
    }
    .block .left-sidebar .instagram-link h5.instagram-text {
        display: block;
        margin: 25px 0 0;
    }
    .block .left-sidebar .instagram-link p.instagram-logo {
        display: block;
        font-size: 25px;
        margin: 10px 0 0;
    }
    .block .left-sidebar .post-share h5, .block .left-sidebar .post-date h5, .block .left-sidebar .post-category {
        display: block;
    }
    .block .left-sidebar .frontpage-link {
        display: block;
        font-family: 'Source Sans Pro', sans-serif;
        margin: 25px 0 0;
    }
    .block .left-sidebar .frontpage-link span.arrow {
        position: relative;
        top: 4px;
        font-size: 36px;
        line-height: 18px;
        font-weight: 300;
        color: #ff1fa9;
        padding: 0 5px 0 0;
    }
    .block .left-sidebar .frontpage-link a {
        font-size: 18px;
        line-height: 18px;
        font-weight: 400;
    }
    .block .left-sidebar .frontpage-link a:hover {
        border-bottom: 1px solid #ff1fa9;
    }
    /* Popup content */
    .pum-theme-newsletter .pum-container p img {
        /*display: block;*/
    }
}

@media screen and (min-width: 800px) and (max-width:980px) {
    .left-sidebar #browsispotLeftRail {
        display: none !important;
    } 
}

@media screen and (min-width: 900px) {
    /* Latest article block */
    .block.latest-articles .col {
        width: 33.33%;
    }
    /* Test read more 3 articles */
    .block.article .more-articles {
        margin-bottom: 0;
    }
    .block.article .more-articles .column-container {
        margin: 0 -10px;
    }
    .block.article .more-articles .col {
        width: 33.33%;
        padding: 0 10px;
        margin-bottom: 15px;
    }
    .block.article .more-articles .article-card {
        display: inline-block;
        padding-top: 0;
    }
    .block.article .content .more-articles .article-card .image-wrap {
        margin: 20px 0 10px 0;
    }
    .block.article .more-articles .article-card .article-description {
        padding: 10px 0 0;
    }
    /* Related article */
    .block.related-articles .col {
        width: 33.33%;
    }
    /* Mosaic block */
    .block.mosaic .column-container {
        margin: 0 -2px;
    }
    .block.mosaic .col {
        display: inline-block;
        vertical-align: top;
        padding: 0 1px;
    }
    .block.mosaic .col.one-column {
        width: 100%;
    }
    .block.mosaic .col.two-columns {
        width: 50%;
    }
    .block.mosaic .col.three-columns {
        width: 33.33%;
    }
    .block.mosaic .mosaic-background {
        position: relative;
        background-image: none !important;
        left: 1px;
        right: 1px;
    }
    .block.mosaic .mosaic-background video {
        left: 0;
        transform: none;
    }
    .block.mosaic .mosaic-background img {
        display: inline;
    }
    .block.mosaic .mosaic-content {
        position: absolute;
        padding: 0;
        top: 0;
        bottom: 0;
        left: 1px;
        right: 1px;
    }
    .block.mosaic .title-box-content {
        padding: 0 30px;
        margin: 0 auto;
    }
    .block.mosaic .mosaic-header {
        -webkit-hyphens: none;
        -moz-hyphens: none;
        -ms-hyphens: none;
        hyphens: none;
    }
    .block.mosaic .one-column .title-box-content {
        max-width: 1100px;
    }
    .block.mosaic .two-columns .title-box-content {
        max-width: 500px;
    }
    .block.mosaic .three-columns .title-box-content {
        max-width: 400px;
    }
    .block.mosaic .one-column .mosaic-header {
        font-size: 64px;
        line-height: 68px;
        margin: 0 0 23px 0;
    }

    /* Article comment */
    .comment-form-author, .comment-form-email {
        width: 50%;
    }
}
@media screen and (min-width: 1200px) {
    /* Latest article block */
    .block.latest-articles .col {
        width: 25%;
    }
}
@media screen and (min-width: 1600px) {
    /* Latest article block */
    .block.latest-articles .col {
        width: 20%;
    }
    /* Mosaic block */
    .block.mosaic img {
        width: 100%;
    }
}
