/*
Theme Name: Likefi 2018
Theme URI: http://like.fi
Description: This theme is property of Otava Group.
Author: Otava Group
Author URI: http://otavakonserni.fi
Version: 2.0
*/

/* Thank you http://necolas.github.com/normalize.css/2.0.1/normalize.css */

/*! normalize.css v2.0.1 | MIT License | git.io/normalize */

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section,
summary,
time {
    display: block;
    position: relative;
}

audio,
canvas,
video {
    display: inline-block
}

audio:not([controls]) {
    display: none;
    height: 0
}

[hidden] {
    display: none
}

html {
    font-family: 'futura-pt', sans-serif;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%
}

body {
    margin: 0;
}

a:focus {
    outline: thin dotted
}

a:active,
a:hover {
    outline: 0
}

abbr[title] {
    border-bottom: 1px dotted
}

b,
strong {
    font-weight: bold
}

dfn {
    font-style: italic
}

mark {
    background: #ff0;
    color: #000
}

code,
kbd,
pre,
samp {
    font-family: monospace, serif;
    font-size: 1em
}

pre {
    white-space: pre;
    white-space: pre-wrap;
    word-wrap: break-word
}

q {
    quotes: "\201C" "\201D" "\2018" "\2019"
}

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;
    max-width: 100%;
}

svg:not(:root) {
    overflow: hidden
}

figure {
    margin: 0 0 1rem 0;
}

fieldset {
    border: 1px solid #c0c0c0;
    margin: 0 2px;
    padding: .35em .625em .75em
}

legend {
    border: 0;
    padding: 0
}

button,
input,
select,
textarea {
    font-family: inherit;
    font-size: 100%;
    margin: 0
}

button,
input {
    line-height: normal
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
    -webkit-appearance: button;
    cursor: pointer
}

button[disabled],
input[disabled] {
    cursor: default
}

input[type="checkbox"],
input[type="radio"] {
    box-sizing: border-box;
    padding: 0
}

input[type="search"] {
    -webkit-appearance: textfield;
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
    box-sizing: content-box
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none
}

button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

textarea {
    overflow: auto;
    vertical-align: top;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

body {
    background-color: #fff;
    font-size: 1.1rem;
    font-family: 'futura-pt', sans-serif;
}

img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
}

#wrapper {
    margin: 0 auto;
    width: 100%;
}



#main {
    clear: both;
    margin: 0 auto;
    width: 100%;
    max-width: 1024px;
}

#main_content {
    clear: both;
}

.text-center {
    text-align: center;
    margin: 0 auto;
}

section {
    padding-top: 2em;
    padding-bottom: 1em;
}

/*Fonts*/

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #000;
    clear: both;
    font-family: 'futura-pt-condensed', sans-serif;
}

h1 {
    font-size: 2em;
    margin-bottom: 0.8em;
}

h1.pagetitle {
    text-transform: uppercase;
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
    text-decoration: none;
    color: #000
}

nav a {
    text-decoration: none;
    color: #fff;
}

a {
    color: #000;
}

h1 a:hover,
h2 a:hover,
h3 a:hover,
h4 a:hover,
h5 a:hover,
h6 a:hover {
    text-decoration: none;
    color: #a00000;
}

a:hover {
    color: #a00000;
}

nav a:hover {
    color: #fff;
}

.widget h3 {
    display: none;
}

.book h1 {
    margin-top: 0;
    letter-spacing: 1px;
    text-transform: uppercase;
}

h2.authorname {
    font-family: 'futura-pt', sans-serif;
    margin-bottom: 1%;
    font-size: 1em;
    font-weight: 300;
}

p {
    color: #000;
    line-height: 1.5rem;
    font-size: 1.1rem;
}

p.moreinfo {
    font-size: 0.75rem;
}

.date h2,
.media h2 {
    font-size: 16px;
    font-size: 1rem;
    margin: 0;
}

time {
    font-size: 12px;
    font-size: 0.75rem;
    margin: 0 0 3% 0;
}

span.uutuudet {
    float: left;
    clear: both;
    width: 100%;
    font-size: 28px;
    font-size: 1.75rem;
    margin: 2% 0;
    font-family: 'futura-pt', sans-serif;
    color: #a00000;
}

/*Main content*/

#content iframe {
    width: 100%;
}

nav ul {
    margin: 2% 0;
    padding: 0;
    letter-spacing: 1px;
}

nav ul#menu-liken-katalogi {
    font-family: sans-serif;
}

ul#menu-kirjakategoriat li {
    font-family: sans-serif;
    display: inline;
}

nav ul li {
    list-style: none;
    display: inline-block;
}



/* HEADER  */

#header_wrapper {
    margin: 0 auto;
    width: 100%;
    max-width: 1400px;
}

header.page_header {
    clear: both;
    background: #000;
}

.mainos {
    max-width: 1024px;
    margin: 0 auto;
}

nav ul li a {
    padding: 8px 8px;
    margin: 0;
    line-height: 2.1rem;
    color: #fff;
    font-family: 'futura-pt-condensed', sans-serif;
    line-height: 3rem;
    text-transform: uppercase;
    font-weight: 300;
}

nav ul li a:hover {
    color: #a00000;
}

#menu-paanavi .current-menu-item {
    text-decoration: none;
}

.logo {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
}

.logo img {
    max-width: 230px;
}

.navrow {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
}


header button {
    display: none;
}

.navrow .some-link {
    padding-right: 0;
}


h1.header-leadtext {
    font-family: futura-pt, sans-serif;
    font-style: normal;
    font-weight: 300;
    font-size: 1.3rem;
    color: #a00000;
    text-align: center;
    text-transform: uppercase;
    padding-top: 1.5rem;
}

/* FOOTER  */

footer {
    background: #000;
}

footer .main {
    clear: both;
    margin: 0 auto;
    width: 100%;
    max-width: 1024px;
}

footer h3, footer p, footer a {
    color: #fff;
}

footer h3 {
    font-weight: bold;
    font-family: futura-pt-condensed, sans-serif;
}

.footertop {
    padding: 5rem 0 0;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    margin: 0 1rem;
}

.footer-logo {
    width: 150px;
    margin-bottom: 1rem;
}

.footer-button {
    width: 50px;
    padding: 0;
    background: none;
    border: 0;
    line-height: 0;
    margin: 0;
    font-size: 0;
}

.footer-button img {
    width: 50px;
}

.footercols {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin: 0 1rem;
    padding-bottom: 4rem;
}

.footercols .col1  {
    width: 60%;
}

.some-container {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    padding-top: 0.5em;
}

.some-link img {
    max-width: 40px;
}

.some-link {
    padding-right: 0.5em;
}



/* SEARCH  */

#search label {
    display: none;
}

#search div {
    position: relative;
}

input[type="submit"]#searchsubmit {
    width: 35px;
    background: url('assets/images/icon-search.svg');
    background-repeat: no-repeat;
    border-color: white;
    border: none;
    padding: 2px;
    border-left: 1px solid #000;
    border-radius: 0 !important;
    position: absolute;
    top: 0;
    right: 0;
}

#searchform input[type="text"] {
    padding-right: 2px;
    padding-top: 2px;
    padding-bottom: 2px;
    padding-left: 14px;
    border: 1px solid #000;
    border-radius: 0 !important;
}

#searchform input[type="text"]:focus {
    outline: -webkit-focus-ring-color auto 4px;
    outline-offset: -1px;
}

.searchpage {
    width: 190px;
}

/* Search.php */

.search_book h2,
.search-author h2,
.search-news h2,
.search_book h1,
.search-author h1,
.search-news h1 {
    margin-bottom: 0;
    margin-top: 0;
}

/* Etusivu */

.social-feed-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding-top: 3rem;
}

.social-feed {
    width: 31.3333333333%;
}

.main_content.homepage {
    padding-top: 1em;
}

.front-like-books {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

/* Slick */

.slick-prev:before,
.slick-next:before {
    color: black;
}

.slick-slide img {
    display: block;
    max-height: 384px;
    margin: 0 auto;
    padding-bottom: 0.5em;
}

.slick-slide img:focus {
    outline: none;
}

.front-slider a,
.slick-slide a {
    text-decoration: none;
}

.front-slider h2,
.front-slider p,
.slick-slide h2,
.slick-slide p {
    margin: 0.2em;
    font-weight: normal;
    text-decoration: none;
}

.front-slider h2.nimi,
.slick-slide h2.nimi {
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
}

.slick-prev,
.slick-next {
    z-index: 9999;
    width: 40px;
    height: 40px;
}

section.front-slider {
    padding-bottom: 0;
}

.slick-current:focus,
.slick-active:focus {
    outline: none;
}

.slick-next:before {
    content: url('assets/images/icon-nuoli-oikea.svg');
    opacity: 1;
}

.slick-prev:before {
    content: url('assets/images/icon-nuoli-vasen.svg');
    opacity: 1;
}

/* custom slick dots */

.slick-dots li button {
    width: 8px;
    height: 8px;
    padding: -1px;
}

.slick-dots li button:before {
    font-size: 0px;
    line-height: 0px;
    position: absolute;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    content: '';
    text-align: center;
    display: block;
    padding: 1px;
    outline: none;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #000;
    border-radius: 50%;
    cursor: pointer;
    opacity: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.slick-dots li.slick-active button:before {
    color: black;
    opacity: 1;
    background-color: #000;
}

/* Default Page */

main.page article {
    padding-right: 1rem;
}

/* Kirjat */

.book-top {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: center;
}

.books h1.pagetitle {
    text-transform: uppercase;
}

/* Dropdown Button */

.books .dropdown button {
    color: #000;
    padding: 2px 16px;
    border: 1px #000000 solid;
    cursor: pointer;
    font-size: 1.1rem;
}

.books .dropbtn img {
    width: 20px;
    height: 20px;
    padding-left: 130px;
}

/* Dropdown button on hover & focus */

.dropdown button:hover,
.dropdown button:focus {
    color: #fff;
    background-color: #000;
    outline: none;
}

/* The container <div> - needed to position the dropdown content */

.book .dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown Content (Hidden by Default) */

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 200px;
    box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

/* Links inside the dropdown */

nav#likekategories ul li a,
nav#likekuukausi ul li a {
    color: #000;
    font-family: 'futura-pt', sans-serif;
    line-height: 2rem;
    padding: 0 16px;
    text-decoration: none;
    display: block;
}

nav#likekategories ul li a:hover,
nav#likekuukausi ul li a:hover {
    color: #a00000;
}

/* Change color of dropdown links on hover */

.dropdown-content a:hover,
.dropdown-content2 a:hover {
    background-color: #f1f1f1;
}

/* Show the dropdown menu (use JS to add this class to the .dropdown-content container when the user clicks on the dropdown button) */

.show {
    display: block;
}

.like-books {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    text-align: center;
}

.like-book {
    width: 31.3333333%;
    margin-bottom: 1.5em;
}
.like-book.front {
    width:48%;
}
.like-book.front .like-book-cover {
    height: 300px;
}

.like-book .like-category {
    background: black;
    color: white;
    display: inline-block;
    padding: 2px;
}

.like-book .like-book-cover {
    width: 100%;
    height: 200px;
    background-position: center;
    background-size: cover;
}

.like-book .read-more {
    text-decoration: underline;
}

img.tulossa-list-200 {
    max-height: 300px;
}

.sivutus {
    display: flex;
    justify-content: space-between;
}

.sivutus ul li {
    float: left;
    list-style: none;
    margin-bottom: 1rem;
}

.edellinen,
.seuraava {
    width: 25px;
    height: 25px;
    margin-top: 0.8rem;
}

.edellinen {
    margin-left: 1rem;
}

.seuraava {
    margin-right: 1rem;
}

.not-allowed {
    cursor: not-allowed;
}

.prev.page-numbers,
.next.page-numbers {
    display: none;
}

.page-numbers {
    margin: 0 0.25rem;
    padding: 15px;
    color: #fff;
    background-color: #000;
    text-decoration: none;
    font-family: 'futura-pt-condensed', sans-serif;
}

#paging ul {
    padding-left: 0;
}

.like-books article h2,
.like-books article p,
.front-like-books article h2,
.front-like-books article p {
    margin: 0.2em;
    font-weight: normal;
    color: #000;
}

.front-like-books article h2,
.like-books article h2 {
    text-transform: uppercase;
}

.like-books article h2 a:hover,
.like-books article a:hover {
    color: #a00000;
}

.like-books article h2.nimi {
    font-weight: bold;
}

article.front a {
    text-decoration: none;
}

/* Lue myös nämä */

.tiedote-uutinen-katalogi {
    width: 200px;
    height: 30px;
    background: #000;
    color: #fff;
    margin: 10px auto;
    text-align: center;
}

.tiedote-uutinen-katalogi a {
    text-decoration: none;
    font-weight: bold;
    color: #fff;
    line-height: 30px;
}

/* Kirjailijat */

.alphabets {
    display: flex;
    flex-wrap: wrap;
    padding-left: 0;
}

/* Single kirjailija */

.kirjailijan-kuvat-container {
    position: relative;
    width: 105px;
    height: 160px;
}

.kirjailijan-kuvat-container img {
    width: 100%;
    height: 100%;
}

.alphabets li {
    list-style: none;
    padding: 10px;
    font-size: 18px;
    color: #000;
    border: 1px solid #000;
    margin: 0 0.25rem 0.5rem;
    width: 15px;
    line-height: 15px;
    text-align: center;
}

.alphabets li:hover {
    background: #000;
    color: #fff;
}

.alphabets li a {
    color: #000;
    text-decoration: none;
}

.alphabets li a:hover {
    color: #fff;
}

.authorlist dt {
    padding: 0;
}

.authorlist dd {
    width: 100%;
    margin: 0;
}

.authorlist dt a {
    font-weight: bold;
    font-size: 20px;
    text-decoration: none;
    color: #000;
}

.authorlist dd a {
    color: black;
    text-decoration: none;
}

/* Like Kustannus */

.likelaiset article {
    margin-bottom: 2rem;
}

.likelaiset div {
    margin-left: 1rem;
}

.likelaiset div h3 {
    margin-top: 0;
}

/* Yhteys & Info */

.yhteys-content {
    margin: 0 1rem;
    padding: 0;
    padding-top: 20px;
}

.yhteys-content h1 {
    text-transform: uppercase;
}

.icon-social-media {
    float: left;
    width: 2rem;
    margin-right: 1rem;
}

.info-container {
    margin-top: 0.5rem;
    margin-bottom: 2rem;
}

.henkilot {
    display: flex;
    flex-wrap: wrap;
    padding: 1rem;
}

.henkilot h2 {
    width: 100%;
}

.henkilot article {
    width: 31.333333%;
    margin: 0 5px;
}

.henkilot article img {
    display: block;
    width: 100%;
    height: 100%;
}

.henkilot article .image-container {
    position: relative;
    height: 320px;
    width: 300px;
}

.henkilot article .image-container .social-media {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.5rem 0;
    height: 20px;
    display: flex;
    justify-content: center;
}

.henkilot article p {
    margin: 0;
    text-align: center;
}

.henkilot article p.nimi {
    font-weight: bold;
}

.henkilot article .info-ruutu {
    visibility: hidden;
    background: rgba(0, 0, 0, 0.41);
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.5rem;
}

.henkilot article .info-ruutu p {
    color: white;
}

.henkilot article .info-ruutu:hover,
.henkilot article img:hover+.info-ruutu {
    visibility: visible;
}

.henkilot .social-media .icon-facebook,
.henkilot .social-media .icon-instagram,
.henkilot .social-media .icon-twitter,
.henkilot .social-media .icon-linkedin {
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    /*cursor:pointer;*/
    margin: 0 0.125rem;
}

.henkilot .social-media .icon-facebook {
    background-image: url('assets/images/icon-facebook-white.png');
}

.henkilot .social-media .icon-instagram {
    background-image: url('assets/images/icon-instagram-white.png');
}

.henkilot .social-media .icon-twitter {
    background-image: url('assets/images/icon-twitter-white.png');
}

.henkilot .social-media .icon-linkedin {
    background-image: url('assets/images/icon-linkedin-white.png');
}

.henkilot .social-media .icon-facebook:hover {
    background-image: url('assets/images/icon-facebook-red.png');
}

.henkilot .social-media .icon-instagram:hover {
    background-image: url('assets/images/icon-instagram-red.png');
}

.henkilot .social-media .icon-twitter:hover {
    background-image: url('assets/images/icon-twitter-red.png');
}

.henkilot .social-media .icon-linkedin:hover {
    background-image: url('assets/images/icon-linkedin-red.png');
}

/* Single */

/* Single book*/

.single-like-book header figure {
    margin: 1rem 0;
}

.single-like-book,
.single-like-author,
.promotion-container,
.like-kustannus-container,
.likelaiset article,
.ruudut {
    display: flex;
}

.single-like-book header,
.single-like-author header,
.like-kustannus-info {
    width: 40%;
}

.single-like-book .content,
.single-like-author .content,
.likelaiset {
    width: 60%;
    padding: 0 2rem;
}

.single-like-author .content p {
    margin-top: 0;
}

.promotion-container,
.ruudut {
    flex-wrap: wrap;
}

.promotion-container figure,
.ruudut article {
    width: 33.3333333333%
}

.promotion-container figure a {
    padding-bottom: 1rem;
}

div#social {
    padding-top: 2.5rem;
}

#buy,
#load {
    background-color: #000;
    text-align: center;
    padding: 0.5rem;
}

#buy a,
#load a {
    color: #fff;
    font-family: 'futura-pt-condensed', sans-serif;
    font-size: 18px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
}

#movefrom {
    padding: 2rem;
}

#download_wrapper {
    padding: 0 0 2rem 0;
}

#buy_wrapper {
    margin-top: 2rem;
}

div#movefrom p {
    margin-top: 0.1rem;
    margin-bottom: 0.1rem;
}

#load a img {
    padding-right: 20px;
    max-height: 1.1rem;
}

#grey-box {
    background-color: #DFDFDF;
}

/* KATSO MYÖS NÄMÄ  book-single -sivujen alalaidassa  */

h1.katso-myos {
    text-align: center;
    text-transform: uppercase;
}

/* Single article */

#ajankohtaista dd {
    margin-left: 0;
    margin-bottom: 1rem;
}

#ajankohtaista dt time {
    margin-bottom: 0;
}

main.news article,
main.news #side_content {
    padding-right: 1rem;
}

.single-news img {
    padding-top: 2rem;
}


#cataloguelist .pagetitle {
    width: 100%;
}

#cataloguelist .yksi a {
    text-decoration: none;
    text-transform: uppercase;
    font-family: futura-pt-condensed;
    font-size: 1.17em;
}

/* MEDIA QUERIES */

@media(max-width:1024px) {
    header.main {
        margin: 0 1rem;
    }
    .ruudut article {
        width: 50%;
    }
    .ruudut {
        padding: 0 1rem;
    }
    .yhteys h1 {
        margin-left: 1rem;
    }
    .like-books {
        margin: 0 1rem;
    }
    .like-book {
        width: 50%;
    }
    main.news,
    main.page,
    main.author,
    main.book,
    main.authors,
    main.books {
        margin: 0 1rem;
    }
    .like-kustannus-container {
        flex-direction: column;
        margin: 0 1rem;
    }
    .like-kustannus h1 {
        margin-left: 1rem;
    }
    .like-kustannus-info {
        width: 100%;
    }
    .likelaiset {
        width: 100%;
    }
    .social-feed-container {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    .social-feed {
        margin-bottom: 1rem;
        width: calc(100% - 2rem);
    }
    .feed-twitter,
    .feed-facebook,
    .feed-instagram {
        margin-right: 1rem;
        margin-left: 1rem;
    }
    .front-like-books {
        margin: 0 1rem 0 1rem;
        justify-content: center;
    }
    .like-book.front {
        width: 90%;
    }
    .henkilot article {
        width: 48%;
    }
}

/* Medium screens */

@media all and (max-width: 800px) {
    .navigation {
        /* When on medium sized screens, we center it by evenly distributing empty space around items */
        justify-content: space-around;
    }
    .book .dropbtn img {
        padding-left: 100px;
    }
}

@media(max-width:640px) {
    h1 {
        font-size: 1.5rem;
    }
    .page-numbers {
        padding: 5px;
    }
    .edellinen,
    .seuraava {
        width: 20px;
        height: 20px;
        margin-top: 16px;
    }
    .edellinen {
        margin-left: 0.5rem;
    }
    .seuraava {
        margin-right: 0.5rem;
    }
    .ruudut article {
        width: 100%;
    }
    .likelaiset article {
        display: block;
    }
    .likelaiset div {
        margin-left: 0;
    }
    .single-like-book,
    .single-like-author {
        flex-direction: column;
    }
    .like-book {
        width: 100%;
    }
    .single-like-book .content,
    .single-like-book header,
    .single-like-author .content,
    .single-like-author header {
        width: 100%;
        padding: 0;
    }
    .single-like-book .content,
    .single-like-author .content {
        margin-top: 3rem;
    }
    .authorlist dd {
        width: 100%;
    }
    .book-top {
        display: flex;
        flex-flow: column;
        justify-content: center;
    }

    .navrow {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding-bottom: 0.5em;
        z-index: 1;
        background: #000;
        margin-top: -1px;
    }
}

/* Small screens */

@media all and (max-width: 890px) {
    .wrapper {
        display: flex;
        flex-direction: column;
    }
    .separator {
        display: block;
        width: 45%;
    }
    .hide {
        display: none;
    }
    header button {
        display: inline-flex;
        justify-content: center;
        background: #000;
        border: none;
        margin-top: 0.5em;
    }
    header button:focus {
        outline: none;
    }
    header .navrow .logo {
        margin-top: 0.6em;
    }
    header button img:focus {
        outline: none;
    }
    nav ul li {
        display: block;
        text-align: center;
    }
    .navrow.show {
        display: inline-flex;
        background: #000;
    }

    .navrow .mobiiliflag {
        display: inline-flex;
        padding-top: 5px;
    }

    .logo {
        order: 2;
        justify-content: center;
        text-align: center;
    }

    .logo img {
        margin-top: 1.5em;
    }


    .mobiilisearch {
        display: inline;
        margin: 0 auto;
    }
    .footertop {
        flex-direction: column;
        align-items: center;
    }

    .footercols {
        text-align: center;
    }
    .footercols .col1, .footercols .col2 {
        width: 100%;
    }
    .some-container {
        justify-content: center;
    }
}

.uutiset-image-container {
    position: relative;
    height: 400px;
}

.uutiset-image-container img {
    width: 100%;
    height: 100%;
    display: block;
}

/* Cookie popup */
.cli-modal-content {
    padding-top: 36px;
}
#cookie-law-info-bar {
    box-sizing: border-box;
}
.cli-bar-btn_container .wt-cli-element {
    margin: 5px 5px 5px 5px;
}
.cli_settings_button {
    border: 0 !important;
    text-decoration: underline !important;
    cursor: pointer;
}
.cli-bar-btn_container .cli-plugin-main-link {
    text-decoration: underline !important;
}
.cli-tab-footer .cli-btn.cli_setting_save_button {
    background-color: black;
}

@media screen and (max-width: 460px) {
    .cli-bar-btn_container {
        display: flex;
        flex-direction: column;
        justify-content: left;
        align-items: center;
        width: 100%;
    }
    #cookie-law-info-bar a:not(#cookie_action_close_header) {
        margin-left: 0 !important;
        padding-left: 0 !important;
        margin-right: 0 !important;
    }

    #cookie-law-info-bar a#cookie_action_close_header {
        margin-left: 0 !important;
    }

    #cookie-law-info-bar a.cli-plugin-main-link {
        margin-right: 0 !important;
    }
}

/*
* GF Käsikirjoituspankki
 */

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

    .page-id-57448 #main_content {
        max-width: 730px;
        margin-left: auto;
        margin-right: auto;
    }

    .kirjailijaksi-lomake .gfield {
        display: flex;
        padding-right: 0 !important;
    }

    .kirjailijaksi-lomake .gfield .gfield_label {
        width: 30%;
    }

    .kirjailijaksi-lomake .gfield .ginput_container_text, .kirjailijaksi-lomake .gfield .ginput_container_email, .kirjailijaksi-lomake .gfield .ginput_container_phone, .kirjailijaksi-lomake .gfield .ginput_container_textarea, .kirjailijaksi-lomake .gfield .ginput_container_fileupload {
        width: 70% !important;
    }

}

.kirjailijaksi-lomake .gform_button {
    font-size: 1.1rem !important;
}

.kirjailijaksi-lomake .gform_button {
    background-color: #000000;
    color: #ffffff;
    text-transform: uppercase;
    font-size: 1.1rem;
    font-family: 'futura-pt', sans-serif;
    font-weight: bold;
    width: 100% !important;
    padding: 6px 0;
    border: 2px solid black;
}

.kirjailijaksi-lomake .gform_button_select_files {
    background-color: #000000;
    color: #ffffff;
    text-transform: uppercase;
    font-size: 1.1rem;
    font-family: 'futura-pt', sans-serif;
    font-weight: bold;
    padding: 6px 0;
    border: 2px solid black;
    min-width: 215px;
}

.kirjailijaksi-lomake .gfield input, .kirjailijaksi-lomake .gfield textarea {
    border-radius: 0 !important;
    border: 1px solid #929292;
    padding: 0.6rem 0.8rem !important;
}

.kirjailijaksi-lomake .gfield_label {
    font-size: 18px !important;
}

.kirjailijaksi-lomake .gfield_required_asterisk {
    color: #000000;
}

.kirjailijaksi-lomake .gform_fileupload_multifile .gform_drop_area {
    border: 1px dashed #929292 !important;
    border-radius: 0 !important;
    background: #ffffff !important;
}

.kirjailijaksi-lomake .gform_drop_instructions {
    color: #000000 !important;
}

.kirjailijaksi-lomake .gfield .ginput_container_text input, .kirjailijaksi-lomake .gfield .ginput_container_email input, .kirjailijaksi-lomake .gfield .ginput_container_phone input {
    width: 100% !important;
}

.comingsoon {
    text-transform: uppercase;
    color: #ed3338;
    font-size: x-large;
}
