/*
Theme Name: kinuskikissa-mobiili
Theme URI: https://www.kinuskikissa.fi/
Description: A custom template for kinuskikissa.fi
Author: template code ny NagreMedia, design by Satukala
Author URI: https://www.kinuskikissa.fi/
Version: 1.0.1
Tags: 

License: commercial, all rights Sini Visa
License URI:

General comments (optional).

ruskea = #6f4528
haaleampi vpunainen = #f9ebee
kirkkaampi vpunainen = #f6d3da (leipomoissa vastaavasti v�lilehdet ecc5d8)
kirkkain (leipomoissa) vpunainen = #d781ab
beige = #f3ede8
*/

@import url('css/reset.css');

@font-face {
  font-family: 'AmaticSC';
  src: url('fonts/Amatic-Bold.eot');
  src: url('fonts/Amatic-Bold.eot?#iefix') format('embedded-opentype'),
    url('fonts/Amatic-Bold.woff') format('woff'),
    url('fonts/Amatic-Bold.ttf') format('truetype'),
    url('fonts/Amatic-Bold.svg') format('svg');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'MyriadPro';
  src: url('fonts/MyriadPro-Regular.eot');
  src: url('fonts/MyriadPro-Regular.eot?#iefix') format('embedded-opentype'),
    url('fonts/MyriadPro-Regular.woff') format('woff'),
    url('fonts/MyriadPro-Regular.ttf') format('truetype'),
    url('fonts/MyriadPro-Regular.svg') format('svg');
  font-weight: normal;
  font-style: normal;
}

html {
  cursor: url(images/kursori.png), auto;
  margin-top: 48px;
}

body {
  background-color: #f7c3dc;
  font-family: MyriadPro, calibri, sans-serif;
  font-size: 62.5%;
}
body.single-sanoma {
  background-color: #f7c3dc;
}

#galleryModalBackdrop {
  z-index: 1001;
  position: fixed;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  /* background: rgba(0,0,0,0.5); */
  background-color: #25292c;
  opacity: 0.9;
}

a,
input[type='submit'],
input[type='reset'] {
  cursor: pointer;
}

#waypoints-trigger {
  text-align: center;
  margin: 6px 0px 30px;
}

/*@media only screen and (min-width: 600px) {*/
@media only screen and (min-width: 992px) {
  body {
    background: url(images/bg/mobiilitausta2017.jpg) #f7c3dc;
    background-size: contain;
  }
  body.single-sanoma {
    background: url(images/bg/taustakuva-kinuskisanomat.jpg) #f7c3dc;
    background-size: contain;
  }
}

body.wp-admin {
  background: #f1f2f3;
}

body.wp-admin {
  height: auto;
}

input[type='submit']:disabled {
  background: grey;
}

.only-non-mobile {
  display: none !important;
}
.only-mobile {
  display: inline-block !important;
}
.only-mobile a {
  width: 30px;
  text-align: center;
}

#main-navi-container,
.menu-kategoria-container,
.menu-paavalikko-container,
.menu-kinuskileipomot-container,
.menu-kinuskiyhteiso-container {
  font-family: AmaticSC, calibri, sans-serif;
}

#page {
  position: relative;
  font-size: 1.4em;
}

#topban {
  padding-left: 25px;
}

/* general input and buttons */
.error {
  color: #b94a48;
  background-color: #f2dede;
  border-color: #eed3d7;
  padding: 10px;
  border-radius: 10px;
  display: block;
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 20px;
}

/* .error voi ylikirjoittaa wp:n omia ilmoituksia, joissa lis�ksi hidden-m��ritys. ao. m��rityksell� varmistetaan niiden pysyminen piilossa*/
.error.hidden {
  display: none !important;
}

input[type='text'],
input[type='button'],
input[type='password'],
input[type='submit'] {
  font-family: MyriadPro, calibri, sans-serif;
  font-size: 1em;
}

/* forms */
.form-table td {
  padding: 0 5px 10px 0;
}

.search-options input[type='text'],
#header input[type='text'],
#header input[type='password'],
#header-search input[type='text'],
.text-input,
.form-order input[type='text'] {
  border: 1px solid #6f4528;
  color: #d781ab;
  line-height: 20px;
  height: 25px;
  padding: 0 2px;
  border-radius: 5px;
}

.text-input {
  height: auto;
}

#decoration-resetsearch,
#receipt-resetsearch,
#leipomo-resetsearch {
  float: right;
  margin-top: 6px;
}

#receipt-text-search,
.search-options #text-search {
  width: 100%;
  font-size: 16px;
}
#header-search #text-search {
  font-size: 16px;
}

#receiptsearchsubmit,
#textsearchsubmit {
  margin-left: 0;
}

#receiptsearchsubmit {
  display: inline-block;
}

/* header search and some*/
#header-search div {
  margin-top: 6px;
}

#header-search #text-search {
  margin-right: 5px;
  min-width: 300px;
  padding-left: 6px;
  padding-top: 2px;
  margin-top: -1px;
}

#header-search input {
  float: left;
}

#header-text-search {
  display: inline;
  float: right;
  padding: 0 5px 5px;
}

input[type='submit'],
input[type='button'] {
  background: #6f4528;
  color: #fff;
  border: none;
  height: 22px;
  margin: 0px 0 0 5px;
  border-radius: 5px;
  line-height: 22px;
  padding: 0 5px 3px;
  display: block;
  text-align: center;
}

.type-leipomo input[type='submit'],
.type-leipomo input[type='button'] {
  background: #d781ab;
}

#header-sociable {
  position: absolute;
  top: 115px;
  right: 0;
  width: 100px;
}

#header-sociable div {
  float: left;
}

/* general */
.cleared,
#maincontainer {
  clear: both;
}

a:link,
a:visited {
  text-decoration: none;
  color: #d781ab;
}

a:hover {
  color: #6f4528;
}

.pull-left {
  float: left;
}

.pull-right {
  float: right;
}

.row-fluid {
  width: 100%;
  *zoom: 1;
}

.row-fluid:before,
.row-fluid:after {
  display: table;
  line-height: 0;
  content: '';
}

.row-fluid:after {
  clear: both;
}

.row-fluid [class*='span'] {
  display: block;
  float: left;
  width: 100%;
  min-height: 30px;
  margin-left: 2.7624309392265194%;
  *margin-left: 2.709239449864817%;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

#secondary.widget-area li {
  list-style: none;
}

#secondary.widget-area li h3.title {
  font-size: 1.3em;
  font-weight: bold;
  padding: 5px;
  margin-bottom: 10px;
}

/* main menu */
.home-btn {
  background: url(images/home-btn.png) no-repeat;
  width: 28px;
  height: 20px;
  display: block;
  position: absolute;
  left: 5px;
  top: 5px;
}

#navi-container {
  min-height: 30px;
  background: #fff;
}

#main-navi-container-base {
  margin-bottom: 20px;
  background: #fff;
}

.toivepuoti-link {
  background: #80caf8;
}
#main-navi-link,
#main-navi-link-mobile {
  background: #6f4528;
}

#leipomo-navi-link,
#leipomo-navi-link-mobile {
  background: #d781ab;
}
#yhteiso-navi-link,
#yhteiso-navi-link-mobile {
  background: #f6d3da;
  color: #6f4528;
}

#main-navi-container.sticky {
  position: fixed;
  top: 0;
  z-index: 3000;
  box-shadow: 0 4px 6px #b0a096;
  margin-top: -8px;
  /*opacity: 0.85;
	filter:alpha(opacity=85);*/
}

#menu-mainmenu li {
  list-style: none;
  display: inline-block;
  float: left;
}

#menu-mainmenu li a {
  color: #f9ebee;
  font-size: 1em;
  display: inline-block;
  line-height: 28px;
  padding: 0 15px;
}

#menu-mainmenu ul {
  display: none;
  width: 960px;
}

#menu-mainmenu li.current-menu-item a,
#menu-mainmenu li.current_page_parent a {
  background: #f9ebee;
  color: #000;
  -webkit-border-top-left-radius: 10px;
  -webkit-border-top-right-radius: 10px;
  -moz-border-radius-topleft: 10px;
  -moz-border-radius-topright: 10px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

#menu-mainmenu li.current-menu-item ul,
#menu-mainmenu li.current_page_parent ul {
  display: block;
}

#menu-mainmenu {
  position: absolute;
  top: 5px;
  left: 10px;
  padding-left: 35px;
}

ul.sub-menu {
  position: absolute;
  /*top:23px;
	left:0px;*/
  z-index: 11000;
}

#menu-mainmenu ul.sub-menu a {
  background: none;
}

#menu-mainmenu ul.sub-menu li.current-menu-item a {
  color: #6f4528;
  font-size: 110%;
}

ul.sub-menu li {
  z-index: 11000;
}

#main-navi #subnavi-bg {
  position: absolute;
  left: 0px;
  bottom: 0px;
  height: 2em;
  display: block;
  background: #f9ebee;
  width: 100%;
}

#main-navi:first-child {
  padding-left: 5px;
}

#menu-mainmenu ul.sub-menu li a {
  color: #d781ab;
  line-height: 2.4em;
}

/* content */

.wp-admin #content {
  margin: 0;
}

.wp-admin .attachments-browser .attachment-info .edit-attachment {
  color: #555;
  border: 1px solid #ccc;
  border-radius: 3px;
  background: #f7f7f7;
  box-shadow: 0 1px 0 #ccc;
  text-align: center;
  padding: 4px;
  margin: 2px;
  width: 8em;
}
.wp-admin .attachments-browser .attachment-info .delete-attachment {
  border: 1px solid #ccc;
  border-radius: 3px;
  background: #f7f7f7;
  box-shadow: 0 1px 0 #ccc;
  text-align: center;
  padding: 4px;
  margin: 2px;
  width: 8em;
}

.wp-admin .compat-field-media-image-filter .help {
  margin-bottom: 8px;
  padding: 4px;
}
.wp-admin .compat-field-media-image-filter h3 {
  margin: 3px 0 6px;
}
.wp-admin .compat-item .compat-field-media-image-filter {
  margin-top: 5px;
  padding-top: 5px;
}
.wp-admin .compat-item .compat-field-media-image-filter span.alignleft {
  padding-top: 0px;
}

/* layout */
#two-columns-container {
  overflow: hidden;
  padding: 20px 0;
}

.type-leipomo #two-columns-container #secondary {
  background: url(images/dotted-line-vertical-pink.png) repeat-y left top;
}

.type-leipomo #content img {
  max-height: 1200px;
}

/* home */

#featured-content #banners {
  overflow: hidden;
  padding: 10px 0;
  margin-bottom: 10px;
}

#featured-content #banners .item {
  width: 590px;
  height: 50px;
  margin: 0 auto;
  background: #ccc;
  margin-bottom: 10px;
}

#featured-right {
  width: 470px;
  float: right;
}

#featured-boxes .box,
#news-boxes .box {
  background: #f9ebee;
  float: left;
  margin-right: 10px;
  margin-bottom: 10px;
  width: 99%;
}

#kinuskileipomoiden-uusimmat-kommentit > .box {
  width: 100% !important;
}

#featured-boxes .image {
  float: left;
  margin-top: 5px;
  margin-bottom: 5px;
  margin-left: 10px;
}

#featured-user-receipts .image {
  margin-left: 0 !important;
}

#featured-user-pictures {
  background: none;
}

#featured-comments .customized-recent-comments,
#featured-comments .bwp-rc-ulist {
  background: none repeat scroll 0 0 #f3ede8;
  margin-bottom: 10px;
  margin-top: 10px;
  padding: 10px;
  border-radius: 10px;
}

#featured-forum #featured-forum-list {
  background: none repeat scroll 0 0 #f3ede8;
  margin-bottom: 10px;
  padding: 0px 10px;
  border-radius: 10px;
}

#featured-forum-content {
  margin: 10px;
}

#featured-forum h2.main-title {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

#featured-forum #featured-forum-list li {
  background: #fff;
  padding: 5px;
  background: url(images/dotted-line-hor.png) bottom left repeat-x #fff;
}

/* footer-latest */

#footer-latest {
  clear: both;
  overflow: hidden;
  margin-bottom: 10px;
  background: url(images/dotted-line-hor.png) top left repeat-x #fff;
  padding-top: 10px;
  margin-top: 10px;
  list-style: none;
}

.type-leipomo #footer-latest {
  background: url(images/dotted-line-hor-pink.png) top left repeat-x;
}

#footer-latest h2.maintitle {
  background: #6f4528;
  color: #fff;
  padding: 7px 5px 4px 5px;
  margin-bottom: 10px;
}

#footer-latest .box {
  width: 30%;
  float: left;
  background: url(images/dotted-line-vertical.png) top right repeat-y;
  min-height: 190px;
  margin-right: 10px;
}

@media only screen and (max-width: 600px) {
  #footer-latest .box {
    width: 100%;
  }

  #maincontainer {
    margin-bottom: 28px;
  }
}

.commentlist .commentmetadata {
  margin-bottom: 8px;
}

.footer-boxes-row {
  /*	float:left; */
  padding-bottom: 10px;
}

.type-leipomo #footer-latest .box {
  background: url(images/dotted-line-vertical-pink.png) top right repeat-y;
}

#footer-latest .box:last-child {
  background: none;
}

#featured-boxes .box h3,
#footer-latest .box h3 {
  background: #f6d3da;
  color: #6f4528;
  font-weight: bold;
  padding: 7px 5px 4px 5px;
  margin-right: 10px;
  margin-bottom: 10px;
}

#footer-boxes li:not(.widget) {
  padding: 3px 0;
}

#featured-boxes .box h3 {
  margin: 10px 10px 0 10px;
}

#featured-boxes .box h3 a {
  color: #6f4528;
}

#footer-latest #footerbox3.box h3,
#footer-latest #footerbox4.box h3 {
  background: #daccbf !important;
}

#footer-latest #footerbox2.box h3 {
  background: #d781ab !important;
  color: #ffffff !important;
}

#footer-latest #footerbox2.box h4 {
  background: none;
  color: inherit;
  font-weight: normal;
  padding: 0;
}

#footer-latest #footerbox4.box h3 {
  margin-right: 0 !important;
}

#footer-boxes {
  overflow: hidden;
  margin-bottom: 10px;
}

#footer-quicks h3.title {
  font-size: 1.3em;
  color: #6f4528;
  background: none;
  font-weight: bold;
}

#footer-quicks li {
  display: inline;
}

#footer-quicks div {
  padding: 10px 0;
}

#footer-quicks li a {
  background: #f6d3da;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  display: inline-block;
  padding: 2px 5px;
  margin-bottom: 5px;
  color: #6f4528;
}

#footer-quicks {
  background: url(images/dotted-line-hor.png) top left repeat-x;
  overflow: hidden;
}

.type-leipomo #footer-quicks {
  background: url(images/dotted-line-hor-pink.png) top left repeat-x;
}

#footer-quicksearch,
#footer-groups {
  width: 49%;
  float: left;
}

/* article / single */
.single .post {
  border-bottom: 10px solid #f6d3da;
  margin-bottom: 10px;
}

.single .entry-meta,
.page .entry-meta {
  background: url(images/dotted-line-hor.png) bottom left repeat-x;
  display: block;
  padding: 5px;
  margin-bottom: 5px;
}

.type-leipomo .single .entry-meta,
.type-leipomo .page .entry-meta {
  background: url(images/dotted-line-hor-pink.png) bottom left repeat-x;
}

.single .entry-meta span {
  padding-right: 20px;
  line-height: 20px;
}

.single div.entry-text h4,
.entry-content h4 {
  display: block;
  padding-bottom: 1.2em !important;
  margin-bottom: 1.2em;
}

.single div.entry-content h4 p:first-of-type {
  margin-top: 1em;
}

.single div.entry-text table td,
.single div.entry-content table td {
  padding-right: 20px;
  vertical-align: top;
}

table.taulukko1 {
  border-top: 1px solid #e6dad1;
  border-left: 1px solid #e6dad1;
  margin-bottom: 20px;
}

table.taulukko1 td,
table.taulukko1 th {
  border-bottom: 1px solid #e6dad1;
  padding: 10px;
  text-align: left;
  vertical-align: top;
  border-right: 1px solid #e6dad1;
}

table.taulukko1 th {
  background: #f9ecee;
}

.single div.entry-text h3 {
  font-size: 14px;
  margin-bottom: 10px;
}

.largeimage {
  margin-bottom: 10px;
}

.print-page .printfriendly {
  display: inline-block;
}

.tooltip.in {
  opacity: 0.9 !important;
}
.tooltip.in .tooltip-arrow {
  border-top-color: #d781ab !important;
}
.tooltip.in .tooltip-inner {
  background-color: #d781ab;
  color: white;
}

.print-page a {
  background: url(images/print.gif) left no-repeat;
  padding-left: 15px;
  width: 173px;
  height: 17px;
  display: inline-block;
}

.add-to-favorites a {
  background: url(images/btn-favorite.png) left no-repeat;
  padding-left: 18px;
}

#my-favorite-receipties-container {
  width: 100%;
  margin-bottom: 8px;
}
@media screen and (min-width: 760px) {
  #my-favorite-receipties-container {
    padding-left: 3%;
  }
}
@media screen and (max-width: 760px) {
  #my-favorite-receipties-container {
    margin-top: 10px;
  }
}

#my-favorite-receipties-container,
.article-action-links #add-to-favorite-receipties-container {
  display: inline-block;
}

#my-favorite-receipties-container #my-favorite-receipties,
.article-action-links
  #add-to-favorite-receipties-container
  #add-to-favorite-receipties {
  display: flex;
  padding: 4px;
  border: 1px solid grey;
  align-items: center;
  border-radius: 5px;
  color: white;
  background: #6f4528;
}

#my-favorite-receipties-container #my-favorite-receipties img,
.article-action-links
  #add-to-favorite-receipties-container
  #add-to-favorite-receipties
  img {
  margin-right: 6px;
  width: 26px;
  height: auto;
}
#my-favorite-receipties-container #my-favorite-receipties span,
.article-action-links
  #add-to-favorite-receipties-container
  #add-to-favorite-receipties
  span {
  padding-top: 4px;
}
/*
.row-secondary #my-favorite-receipties-container #my-favorite-receipties {
	background: #f6d3da;
    border-color: #d2acb3;
    font-family: AmaticSC, calibri, sans-serif;
    letter-spacing: 1px;
    font-size: 20px;
    text-transform: uppercase;
    color: #6f4528;
}
.row-secondary #my-favorite-receipties-container #my-favorite-receipties span {
	padding-top: 0px;
}
*/
@media screen and (min-width: 600px) {
  .article-action-links > div {
    display: inline-block;
    vertical-align: middle;
    margin-right: 30px !important;
  }
}

.single .entry-meta a,
.page .entry-meta a {
  color: #666;
}

.single .entry-header {
  overflow: hidden;
}

.single .type-leipomo .entry-header {
  margin-left: -2px;
  overflow: inherit;
}

.single .entry-content p {
  margin-bottom: 1em;
}

#excerpt {
  height: 6em;
}

.single .type-kinuski_post .entry-content .excerpt p {
  margin-bottom: 0;
}

#images-and-comments {
  background: #e5d9ce;
  margin-top: 10px;
}

.type-leipomo #images-and-comments {
  background: #fff;
}

.koontisivu-search-results {
  margin: 2% 1%;
  background: #fff;
  min-height: 100px;
  padding: 1.5%;
  clear: both;
  overflow: hidden;
}

.koontisivu-tab-content,
#images-and-comments .tab-content {
  background: #f3ede8;
}

.type-leipomo #images-and-comments .tab-content {
  background: #f9ebee;
}

#images-and-comments .tabs li a {
  background: #fff;
  color: #6f4528;
}

.type-leipomo #images-and-comments .tabs li a {
  color: #d781ab;
}

#images-and-comments .tabs a.selected {
  background: #f3ede8;
  font-size: 1.1em;
}

.type-leipomo #images-and-comments .tabs a.selected {
  background: #f9ebee;
}

#images-and-comments .block-title {
  background: #fefefe;
  padding: 5px;
  font-size: 1.2em;
}

#comments #respond h3,
#images-and-comments #respond h3 {
  margin: 10px 0;
}

.commentlist {
  min-height: 600px;
  overflow: auto;
  background: #fff;
  padding: 5px;
  border: 1px solid #6f4528;
}

.commentlist > li > div {
  padding-top: 50px;
  margin-top: -50px;
}

.type-leipomo .commentlist {
  border: 1px solid #d781ab;
}

.single .entry-text ul,
.single .entry-content ul,
.page .entry-content ul {
  list-style: disc;
  padding: 0.2em 0 1em 1.5em;
  line-height: 1.2em;
}

.single .entry-text ol,
.single .entry-content ol,
.page .entry-content ol {
  list-style: decimal;
  padding: 0.2em 0 1em 1.5em;
  line-height: 1.2em;
}

/* category */
.category h1.entry-title {
}

.category h1.entry-title a {
  font-size: 1.6em;
  color: #000;
}

.category .post {
  margin-bottom: 10px;
}

#sidebanners .item {
  width: 300px;
  height: 250px;
  background: #ccc;
  overflow: hidden;
  margin-bottom: 20px;
}

/* typography */

h1 span, h2 span, h3 span /* for dotted borders */
 {
  display: block;
}

h1,
h2,
h3,
h4 {
  color: #6f4528;
  background: url(images/dotted-line-hor.png) bottom left repeat-x;
  display: block;
  font-weight: bold;
  padding: 5px 0;
}

#content h2 {
  font-size: 16px;
  margin-bottom: 10px;
}

.type-leipomo h1,
.type-leipomo h2,
.type-leipomo h3,
.type-leipomo h4 {
  background: url(images/dotted-line-hor-pink.png) bottom left repeat-x;
}

.type-leipomo .row-secondary h1,
.type-leipomo .row-secondary h2,
.type-leipomo .row-secondary h3,
.type-leipomo .row-secondary h4 {
  color: #ffffff !important;
}

.entry-content h2,
.entry-content h3 {
  color: #d781ab;
  margin-bottom: 10px;
}

#page h2,
#page h3 {
  color: #6f4528;
}

.type-leipomo .result h4,
#featured-user-receipts .result h4,
#kinuski-videot .thumb h4 {
  max-height: 38px;
  overflow: hidden;
  min-width: 90px;
}

.type-leipomo h2.main-title {
  color: #d781ab !important;
}

.type-leipomo h4.excerpt {
  color: #000000 !important;
}

.type-leipomo #respond h3,
.type-leipomo #primary #content h2,
.type-leipomo #primary #content h3 {
  color: #d781ab;
}

div.viikon_kuva_header h3 {
  /*background-color: #f3ede8 !important;*/
}

h1.entry-title,
h3.category-title {
  margin-bottom: 2px;
  padding: 0px 0 4px 0;
  /*font-size:1.2em;*/
  font-weight: bold;
}

h2.main-title,
h2.block-title {
  font-size: 1.2em;
  font-weight: bold;
}

#primary h2.main-title,
#primary h2.block-title {
  margin-bottom: 10px;
}

h3.category-title span {
  color: #000;
  padding: 6px 2px 2px 2px;
  font-size: 13px;
  background: #f9ebee;
  font-weight: normal;
}

h3.category-title span span {
  padding: 0;
}

.single-attachment h3.category-title span {
  background: #f3ede8;
}

h1.main-title {
  padding: 0 0 5px 0;
}

h1.main-title span {
  background: url(images/dotted-line-hor.png) top left repeat-x;
  padding: 5px 0 0 0;
}

h1.entry-title span {
  font-size: 1.2em;
  color: #6f4528;
  background: #f6d3da;
  padding: 5px 4px 3px 4px;
  display: block;
}

.type-leipomo h1.entry-title span {
  color: #ffffff;
  background: #d781ab;
}

.type-yhteiso h1.entry-title span {
  color: #6f4528;
  background: #daccbf;
}

.type-leipomo .single h2.main-title a,
.page-template-page-leipomoiden-uusimmat-kommentit-php h2.main-title {
  color: #d781ab;
}

.type-leipomo .leipomo h1.entry-title span {
  background: none repeat scroll 0 0 #ffffff;
  color: #d781ab !important;
}

h1.main-title span span {
  font-size: 1.2em;
  color: #6f4528;
  background: #f6d3da;
  padding: 6px 4px 4px 4px;
  display: block;
}

.type-yhteiso h1.main-title span span {
  background: #daccbf;
}

.type-leipomo h1.main-title span span {
  background: #d781ab;
  color: #ffffff;
}

.type-inspiraatio h1.main-title span span {
  background: white;
  color: #f19c00;
  font-size: 1.6em;
}
.type-inspiraatio h1.main-title span {
  background: none;
}

.wp-admin h1.main-title span span {
  font-size: 1.1em;
}

#secondary h3.block-title,
#secondary h2.block-title,
.row-secondary h3.block-title,
.row-secondary h2.block-title {
  font-size: 1.2em;
  margin-bottom: 10px;
  margin-top: 0px;
  padding-top: 0;
}

#secondary .textwidget,
#sidebar-leipomo .widget {
  margin-bottom: 10px;
}

#primary b,
.textwidget b {
  font-weight: bold;
}
#primary i,
.textwidget i,
em {
}

.block-title span,
.block-title span span {
  display: inline-block;
  width: 100%;
  padding-right: 6px;
}

.block-title span {
  background: url(images/dotted-line-hor.png) top left repeat-x;
  padding-top: 5px;
  width: 100%;
  padding-right: 0px;
}

.block-title.bright-pink span {
  background: url(images/dotted-line-hor-pink.png) top left repeat-x;
  width: 100%;
  /*    padding-right: 2px; */
}

.block-title span span {
  padding: 2px 4px 4px 4px;
  box-sizing: border-box;
  font-family: AmaticSC, calibri, sans-serif;
  letter-spacing: 1px;
  font-size: 20px;
  text-transform: uppercase;
}

.block-title.beige span span {
  background: #f3ede8;
}

.block-title.pink span span,
.pink-bg {
  background: #f6d3da;
}

.type-leipomo .block-title.pink span span,
.bright-pink span span {
  background: #d781ab !important;
}

.type-yhteiso .block-title.beige span span,
.beige span span {
  background: #daccbf !important;
}

strong {
  font-weight: bold;
}

.entry-content p {
  line-height: 1.1em;
  margin-bottom: 1em;
}

/* utility classes */
.rounded-10 {
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
}

.rounded-bottom-10 {
  -webkit-border-radius: 0 0 10px 10px;
  -moz-border-radius: 0 0 10px 10px;
  border-radius: 0 0 10px 10px;
}

.white-bg {
  background: #fff;
}

.last-item {
  margin-right: 0 !important;
}

.bg-none {
  background: none !important;
}

.padding-10 {
  padding: 10px;
}

.padding-10-0 {
  padding: 10px 0;
}

.margin-10 {
  margin: 10px;
}

.margin-10-20 {
  margin: 10px 20px;
}

.margin-0-10 {
  margin: 0 10px;
}

.margin-10-0 {
  margin: 10px 0;
}

.padding-10-20 {
  padding: 10px 20px;
}

.box-title {
  font-size: 1.4em;
  margin: 0 0 10px 0;
}

/* custom components */
#related #receipt-search-container,
.home #receipt-search-container,
#kinuski-video-container {
  /*	background:#F9EBEE;*/
  overflow: hidden;
  padding: 0px;
}

#related #receipt-search-container #quick-results,
.home #receipt-search-container #quick-results {
  background: #fff;
  overflow: hidden;
  padding: 1.5%;
}

#related #receipt-search-container .result,
.home #receipt-search-container .result,
#kinuski-video-container .thumbs {
  background: #fff;
}

#kinuski-video-container .youtube-thumb {
  background: #fff;
  width: 100%;
  height: 90px;
}

#kinuski-video-container .thumbs,
#kinuski-video-container-all .thumbs {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  justify-content: space-between;
  -webkit-justify-content: space-between;
}

#kinuski-videot {
  background-color: #fff;
  margin: 0px;
  padding: 1.5%;
}

#kinuski-videot .thumb h4 {
  width: 100%;
}

#kinuski-video-thumbs .youtube_play_button {
  position: absolute;
  display: block;
  background: url('/wp-content/themes/kinuskikissa/images/youtube_play_btn.png');
  width: 100%;
  height: 90px;
  top: 0px;
  left: 0px;
}
#video_viewer {
  z-index: 11000;
  position: fixed;
  display: none;
  background-color: #f9ebee;
  width: 100px;
  height: 100px;
  top: 35px;
  bottom: 35px;
  left: 35px;
  right: 35px;
  margin: auto;
  padding: 10px;
}

@media screen and (max-width: 400px) {
  #video_viewer {
    left: 10px;
    right: 10px;
  }
}

#video_close_btn a {
  position: absolute;
  width: 35px;
  height: 35px;
  background-image: url('/wp-content/themes/kinuskikissa/images/kinuski_closebtn.png');
  top: -20px;
  right: -20px;
}

#video_close_btn a:hover {
  background-image: url('/wp-content/themes/kinuskikissa/images/kinuski_closebtn_hover.png');
}

#modality {
  position: fixed;
  display: none;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background-color: #000000;
  filter: alpha(opacity=70);
  opacity: 0.7;
  -moz-opacity: 0.7;
  z-index: 10000;
}

#related .block-title {
  margin-bottom: 10px;
}

#receipt-search .search-options,
#omatsuosikit_receipt-search .search-options {
  background: #f6d3da;
  overflow: hidden;
  margin: 10px 10px 10px 10px;
  padding: 10px;
}

.type-leipomo #receipt-search .search-options {
  background-color: #ecc5d8;
}

#receipt-search .search-options .row,
.galleryNavi .search-options .row,
#omatsuosikit_receipt-search .search-options .row {
  clear: both;
}

#receipt-search .search-box,
.galleryNavi .search-box,
#omatsuosikit_receipt-search .search-box {
  width: 115px;
  float: left;
  margin-right: 10px;
  min-height: 65px;
}

.galleryNavi .search-box {
  width: 150px;
}
.galleryNavi .search-box select {
  width: 100%;
}

#receipt-search .free-search,
.galleryNavi .free-search {
  min-width: 250px;
}

#receipt-search .free-search .container,
.galleryNavi .free-search .container {
  background: #fff;
  padding: 5px;
}

#receipt-search #ordering {
  padding: 0 10px;
}

#receipt-search-results #ordering > div:not(#post-pagination),
#private-search-results #private-ordering > div:not(#post-pagination),
#receipt-search #ordering > div:not(#post-pagination) {
  float: right;
  margin-top: -6px;
}
@media (max-width: 440px) {
  #receipt-search-results #ordering > div:not(#post-pagination),
  #private-search-results #private-ordering > div:not(#post-pagination),
  #receipt-search #ordering > div:not(#post-pagination) {
    float: left;
  }
  #receipt-search-results #ordering > #post-pagination,
  #private-search-results #private-ordering > #post-pagination,
  #receipt-search #ordering > #post-pagination {
    clear: both;
  }
}
#receipt-search .search-options select,
.galleryNavi .search-options select,
#omatsuosikit_receipt-search .search-options select {
  width: 100%;
}

#receipt-search .search-options select option,
.galleryNavi .search-options select option,
#omatsuosikit_receipt-search .search-options select option {
  width: auto;
}

#receipt-search .search-box .title,
.galleryNavi .search-box .title,
#omatsuosikit_receipt-search .search-box .title {
  display: block;
  background: #76440c;
  color: #fff;
  padding: 5px;
}

.clear-search {
  float: right !important;
  width: 65px !important;
}

.type-leipomo #receipt-search .search-box .title {
  background: #d781ab;
}

.kk-suosikki-resepti {
  background-image: url('/wp-content/themes/kinuskikissa/images/kultakehys-leipomoresepti.png');
  background-size: 100% 100% !important;
  max-width: 120px;
}

.kk-suosikki-resepti .image {
  padding: 7px 7px 0px 7px;
  height: 87px !important;
}

.kk-suosikki-resepti h4,
.kk-suosikki-resepti .author {
  padding-left: 7px;
}

.relative,
.entry-image {
  position: relative;
}

.kk-suosikki-badge {
  background-image: url('/wp-content/themes/kinuskikissa/images/palkinto-kulta.png');
  width: 140px;
  height: 206px;
  position: absolute;
  top: -15px;
  right: 0px;
}

.kk-suosikki-badge:hover {
  cursor: pointer;
}

.more {
  text-align: right;
  padding: 10px;
}

#quick-results .result:hover,
#quick-results .newest:hover,
.image-results .result:hover,
#kinuski-video-thumbs .thumb:hover {
  background: #f9ebee;
  cursor: pointer;
}

#quick-results .result div.image,
.quick-results div.image {
  height: 99px;
  overflow: hidden;
}

#quick-results .result h4 a,
.quick-results .result h4 a {
  display: block;
  color: #6f4528;
  font-weight: bold;
  word-wrap: break-word;
}

.type-leipomo #quick-results .result h4 a,
.type-leipomo .quick-results .result h4 a {
  color: #d781ab;
}

.return-to-search {
  float: right;
  margin: 10px 0;
}

.main-box {
  margin-bottom: 10px;
}

/* drop down main menu */
#menu-paavalikko,
#menu-kategoriapuu,
#menu-kinuskileipomot,
#menu-kinuskiyhteiso {
  margin: 0;
  width: 100%;
}

#menu-paavalikko,
#menu-kategoriapuu {
  background: none repeat scroll 0 0 #6f4528;
}

#menu-kinuskileipomot {
  background: none repeat scroll 0 0 #d781ab;
}

#menu-kinuskiyhteiso {
  background: none repeat scroll 0 0 #daccbf;
}

/* tabs */
ul.tabs {
  display: flex;
  margin: 10px 10px 0 5px;
  padding: 0;
}

ul.tabs li {
  white-space: nowrap;
  overflow: hidden;
  display: block;
  float: left;
  padding: 0 5px;
}

ul.tabs li a {
  display: block;
  float: left;
  padding: 5px 6px;
  border-left: 1px solid;
  border-right: 1px solid;
  border-top: 1px solid;
  color: #9c6b49;
  text-decoration: none;
  background: #f6d3da;
  font-size: 1.1em;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  outline: none;
}

.type-leipomo ul.tabs li a {
  color: #d781ab;
  background-color: #ffffff;
  font-size: 11px;
}

ul.tabs li a.selected {
  font-weight: bold;
  background-color: #f9ebee;
  border-left: none;
  border-right: none;
  border-top: none;
  border-bottom: 1px solid #f9ebee;
}

.type-leipomo .main-box ul.tabs li a.selected {
  border-left: 1px solid;
  border-right: 1px solid;
  border-top: 1px solid;
}

.koontisivu-tab-content,
.tab-content {
  clear: both;
  padding: 10px;
  background: #f9ebee;
  overflow: hidden;
  border-radius: 10px;
}

#navi-container .tab-content {
  padding: 0;
  border-radius: 0;
  overflow: inherit;
}

#main-navi-tabs ul.tabs li a.selected {
  padding-top: 6px;
}

/* big-note */
.big-note {
  background: #f6d3da;
  overflow: hidden;
  margin-bottom: 20px;
}

.big-note .exl {
  display: block;
  float: left;
  color: #fff;
  padding: 0 30px;
  font-size: 8em;
}

.big-note .text {
  margin-left: 100px;
}

/* Sivutukseen liittyv�t */
div.pagination {
  padding: 10px 0;
}

.type-leipomo div.pagination {
  padding: 10px;
}

div.pagination span {
  text-align: center;
  padding: 7px 4px 0px 3px;
  margin-right: 5px;
  display: inline-block;
  height: 20px;
  width: 20px;
  background-color: #f6d3da;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  border-radius: 30px;
  color: #76440c;
}

.type-leipomo div.pagination span {
  background-color: #ecc5d8;
}

div.pagination span.inactive {
  color: #76440c;
}

.type-leipomo div.pagination span.inactive {
  color: #000000;
}

div.pagination .current,
div.pagination span:hover {
  background-color: #76440c;
  color: #fff;
}

.type-leipomo div.pagination .current,
.type-leipomo div.pagination span:hover {
  background-color: #d781ab;
  color: #fff;
}

/*Slide-shown tyylit. TODO Janne voi kaunistella n�m�kin ja kenties voisi siirt�� agile_carousel.css:��n. Onko tuotannossa sopivaa kuvakokoa boxin taustakuvaksi? Spanit nyt rinnakkain.*/
#mainslideshow div.slide_inner {
  width: 850px;
  height: 320px;
  padding-left: 10px;
}

#mainslideshow .agile_carousel {
  margin: 10px 0;
}

#mainslideshow span.article {
  float: left;
  height: 320px;
  max-width: 380px;
  font-size: 13px;
  color: #000;
  line-height: 17px;
  padding-right: 10px;
  background: url(images/white-gradient.png) repeat-y;
}

#mainslideshow span.article h2 {
  margin-bottom: 5px;
  padding-top: 0;
  background: none !important;
  color: #000;
  font-size: 17px;
}

#mainslideshow span.image {
  float: right;
  min-width: 300px;
}

/* Kopioitu vanhasta versiosta kuvan�yt�n tyyli */
.thumbnails .attachment-thumbnail {
  border: 1px solid #dddddd;
  margin: 0 5px 5px 0;
  padding: 3px;
}

/*Olet t�ss�-osion tyylit*/
#sidebar-current-search-results {
  max-height: 300px;
  overflow-x: auto;
  border: 1px solid #6f4528;
  padding: 5px;
}

/*Ajankohtaiset poiminnat-osion tyylit*/
#current-picks-content {
  padding-bottom: 12px;
  min-width: 200px;
  min-height: 200px;
  position: relative;
  margin: auto;
  overflow: hidden;
  max-width: 300px;
}

.current-picks-image {
  width: 300px;
  height: 200px;
  background-size: 300px;
  background-position: center center;
  background-repeat: no-repeat;
}

#current-picks-content .image {
  position: absolute;
  float: left;
}

.comment_badge span {
  display: table-cell;
  vertical-align: middle;
  color: #d781ab;
  font-weight: bold;
}

.comment_badge {
  height: 45px;
  min-width: 45px;
  background-image: url('/wp-content/themes/kinuskikissa/images/apu-kissa-tausta.png');
  background-repeat: no-repeat;
  background-position: center center;
  display: table;
  margin: auto;
}

.badge_kultakinuski {
  background-image: url('/wp-content/themes/kinuskikissa/images/kultakinuski-tausta.png');
}

.badge_kultakinuski span {
  color: #6f4528;
}

.comment {
  overflow: hidden;
  padding: 0;
  margin: 0;
}

.comment p {
  margin-bottom: 1em;
}

.comment .comment-author {
  width: 15%;
  float: left;
  text-align: center;
  padding-top: 5px;
  /*word-break: break-all;*/
}

.comment .comment-author .avatar img {
  margin: 4px;
}

.comment .comment-author .comment-authors-leipomo {
  padding-bottom: 10px;
}

.comment .right-col {
  width: 80%;
  float: right;
}

#commentform #comment {
  width: 100%;
  margin-bottom: 5px;
  font-size: 16px;
}

/* ============================================================================================================================
== BUBBLE WITH A BORDER AND TRIANGLE
** ============================================================================================================================ */

/* THE SPEECH BUBBLE
------------------------------------------------------------------------------------------------------------------------------- */

.comment-author-kinuskikissa .triangle-border,
.comment-author-kinuskiemo .triangle-border {
  background: #f9ebee;
}

.comment-author-kinuskikissa .triangle-border.left:after,
.comment-author-kinuskiemo .triangle-border.left:after {
  border-color: transparent #f9ebee;
  border-width: 12px 25px 12px 0;
  bottom: auto;
  left: -25px;
  top: 13px;
}

.triangle-border {
  position: relative;
  padding: 15px;
  margin: 0 0 15px 0;
  border: 2px solid #e5d9ce;
  color: #333;
  background: #fff;
  /* css3 */
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
}

/* Variant : for left positioned triangle
------------------------------------------ */

.triangle-border.left {
  margin-left: 30px;
}

/* Variant : for right positioned triangle
------------------------------------------ */

.triangle-border.right {
  margin-right: 30px;
}

/* THE TRIANGLE
------------------------------------------------------------------------------------------------------------------------------- */

.triangle-border:before {
  content: '';
  position: absolute;
  bottom: -20px; /* value = - border-top-width - border-bottom-width */
  left: 40px; /* controls horizontal position */
  border-width: 20px 20px 0;
  border-style: solid;
  border-color: #e5d9ce transparent;
  /* reduce the damage in FF3.0 */
  display: block;
  width: 0;
}

/* creates the smaller  triangle */
.triangle-border:after {
  content: '';
  position: absolute;
  bottom: -17px; /* value = - border-top-width - border-bottom-width */
  left: 47px; /* value = (:before left) + (:before border-left) - (:after border-left) */
  border-width: 17px 17px 0;
  border-style: solid;
  border-color: #fff transparent;
  /* reduce the damage in FF3.0 */
  display: block;
  width: 0;
}

/* Variant : left
------------------------------------------ */

/* creates the larger triangle */
.triangle-border.left:before {
  top: 10px; /* controls vertical position */
  bottom: auto;
  left: -30px; /* value = - border-left-width - border-right-width */
  border-width: 15px 30px 15px 0;
  border-color: transparent #e5d9ce;
}

/* creates the smaller  triangle */
.triangle-border.left:after {
  border-color: transparent #ffffff;
  border-width: 12px 25px 12px 0;
  bottom: auto;
  left: -25px;
  top: 13px;
}

#featured-forum .box,
#featured-user-pictures .box,
#uusimmat-kommentit .box,
#kinuskigallerian-uusimmat-kommentit .box {
  background: #f3ede8;
  margin-bottom: 10px;
  padding: 2px;
}

#uusimmat-kommentit .header-row,
#kinuskigallerian-uusimmat-kommentit .header-row,
#featured-forum .header-row,
#featured-user-pictures .header-row {
  background: #daccbf;
  margin: 10px 10px 6px;
  overflow: hidden;
  padding: 7px 5px 5px 5px;
  color: #6f4528;
  font-weight: bold;
}

#kinuskigallerian-uusimmat-kommentit .box .box .header-row {
  background: transparent;
  padding: 7px 5px 5px 0px;
}
#kinuskigallerian-uusimmat-kommentit .box .box .header-row a {
  color: #6f4528;
}

#uusimmat-kommentit .header-row a {
  color: #d781ab;
}
.customized-recent-comments li {
  color: #d781ab;
}
.customized-recent-comments li:not(.more-comments) a {
  color: black;
}

#uusimmat-kommentit .box .box {
  margin-bottom: 5px;
}
#uusimmat-kommentit .box .box .header-row {
  background-color: transparent;
  margin: 0px 5px;
}

.widget_recent-comments-widget .box .header-row a {
  font-size: 16px;
}
.widget_recent-comments-widget .box ul {
  margin: 4px 0px 10px 0px;
}

#featured-user-receipts .header-row,
#kinuskileipomoiden-uusimmat-kommentit .header-row {
  background: #d781ab;
  margin: 10px 10px 0;
  overflow: hidden;
  padding: 7px 5px 5px 5px;
  color: #ffffff;
  font-weight: bold;
}
.page-template-page-leipomoiden-uusimmat-kommentit
  #kinuskileipomoiden-uusimmat-kommentit
  .header-row
  a {
  color: white;
}

#featured-user-receipts .box .box .header-row,
#kinuskileipomoiden-uusimmat-kommentit .box .box .header-row {
  padding: 7px 5px 5px 0px;
  background: transparent;
  color: #d781ab;
}

#uusimmat-kommentit li,
#kinuskigallerian-uusimmat-kommentit li,
#kinuskileipomoiden-uusimmat-kommentit li {
  padding: 2px 10px 4px 10px;
}

#kinuskileipomoiden-uusimmat-kommentit .header-row a:hover {
  color: #6f4528 !important;
}

#kinuskileipomoiden-uusimmat-kommentit .box {
  background: #f9ebee;
  margin-bottom: 10px;
  padding: 2px;
}

/* yhteis� */

#recent-forum-posts .box {
  background: #f3ede8;
  margin-top: 5px;
  padding: 10px;
  margin-bottom: 10px;
}

#recent-forum-posts .header-row {
  background: #daccbf;
  margin: 10px 0 0 0;
  overflow: hidden;
  font-weight: bold;
  padding: 2px 0px;
  color: #6f4528;
}
#recent-forum-posts .topic,
#recent-forum-posts .forum,
#recent-forum-posts .lastUpdate,
#recent-forum-posts .spTextTag {
  display: inline-block;
  padding: 5px;
}

#recent-forum-posts .spListTag .topic,
#recent-forum-posts .spListTag .forum,
#recent-forum-posts .spListTag .lastUpdate,
#recent-forum-posts .spListTag .spTextTag {
  /*background:url(images/dotted-line-vertical.png) right top repeat-y;*/
}

#spRecentPostsTag {
  clear: both;
  background: #fff;
  overflow: hidden;
}

#recent-forum-posts .spListItemTag {
  clear: both;
  margin-bottom: 5px;
  overflow: hidden;
  background: url(images/dotted-line-hor.png) repeat-x top left;
}

.type-leipomo #recent-forum-posts .spListItemTag {
  background: url(images/dotted-line-hor-pink.png) repeat-x top left;
}

#recent-forum-posts .spListTag .spListItemTag:first-child {
  background: none;
}

#recent-forum-posts .topic {
  width: 230px;
}

#recent-forum-posts .forum {
  width: 100px;
}

#recent-forum-posts {
  overflow: hidden;
}

#current-picks-content .pause_button,
#current-picks-content .play_button {
  position: absolute;
  bottom: 27px; /* 12px margin pohjalla */
  right: 15px;
  height: 30px;
  width: 30px;
  overflow: hidden;
  z-index: 100;
}

#current-picks-content .pause_button:hover,
#current-picks-content .play_button:hover {
  cursor: pointer;
}

#current-picks-content .pause_button {
  background: url(./images/pause_small.png) no-repeat;
}

#current-picks-content .play_button {
  background: url(./images/play_small.png) no-repeat;
}

/* uusimmat kommentit ja Osaatko auttaa */
.customized-recent-comments li.recentcomment,
.bwp-rc-ulist li.recentcomment {
  padding: 4px 0;
}

.widget-area li.spListItemTag {
  background: url(images/dotted-line-hor.png) repeat-x bottom left;
  padding: 6px 0;
}

.type-leipomo .widget-area li.spListItemTag {
  background: url(images/dotted-line-hor-pink.png) repeat-x bottom left;
}

.customized-recent-comments li.recentcomment a,
.bwp-rc-ulist li.recentcomment a {
  color: #000;
}

.customized-recent-comments li.recentcomment a.pink,
.bwp-rc-ulist li.recentcomment a.pink {
  color: #d781ab;
}

.customized-recent-comments li.recentcomment a strong,
.bwp-rc-ulist li.recentcomment a strong,
.widget-area li.spListItemTag a.spLinkTag {
  font-size: 1.1em !important;
  color: #d781ab !important;
  font-weight: bold;
}

ul.spListTag li:last-child {
  background: none;
}

.ajax-spinner {
  background: url(images/ajax-loader.gif);
  width: 32px;
  height: 32px;
  display: inline-block;
}

.loader {
  background: url(images/ajax-loader.gif);
  width: 32px;
  height: 32px;
  margin-left: 280px;
}

.albumit {
  background: #f3ede8;
  border-radius: 20px;
  margin: auto;
  width: 95%;
}

#featured-user-pictures .albumit {
  width: 100%;
}

.type-leipomo #primary .albumit {
  margin: 10px;
}

.widget-area .albumit {
  margin-bottom: 0 !important;
}

.albumit .in1 {
  margin: 10px 0 0 -18px;
}

.type-leipomo .albumit .in1 {
  background: #f3ede8;
  margin: 10px 0 0 0;
}

.albumit .in2 {
}

.type-leipomo .albumit .in2 {
  background: #f3ede8;
}

.albumit .in3 {
  padding: 0 0 0 40px;
}

.type-leipomo .albumit .in3 {
  background: #f3ede8;
  padding: 0;
}

.albumit .albumi {
  background: url(images/kuvakehys2.png) no-repeat;
  background-size: 100% 100%;
  width: 45%;
  min-width: 130px;
  height: 232px;
  display: block;
  float: left;
  text-align: center;
  position: relative;
  margin-left: 1.5%;
}

.galleryContentWrapper #gallery-search-results .albumit {
  background: transparent;
  width: 100%;
}

.galleryContentWrapper #gallery-search-results .albumit .albumi {
  text-align: left;
  background: none;
  background-color: white;
  margin: 0px 2px 10px 2px;
  width: 30%;
  height: 230px;
  overflow: hidden;
}
.galleryContentWrapper #gallery-search-results .albumit .albumi .content {
  width: 115px;
  margin: 10px auto 10px auto;
}
.galleryContentWrapper
  #gallery-search-results
  .albumit
  .albumi
  .content
  .albumi-avatar {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 0px;
}
.galleryContentWrapper
  #gallery-search-results
  .albumit
  .albumi
  .content
  .albumi-avatar
  .comment-avatar {
  margin: 0px 2px 0px 0px;
  border-radius: 50%;
}
.galleryContentWrapper
  #gallery-search-results
  .albumit
  .albumi
  .content
  .albumi-avatar
  .avatar-span {
  margin-top: 0px;
}

.galleryContentWrapper
  #gallery-search-results
  .albumit
  .albumi
  .content
  .att_name {
  font-weight: bold;
  padding: 4px 0px;
}
.galleryContentWrapper #gallery-search-results .albumit .albumi .comment-count {
  right: 3px;
  top: 3px;
}
.galleryContentWrapper
  #gallery-search-results
  .albumit
  .albumi
  .content
  .imgcrop {
  width: 115px;
  height: 115px;
  margin-top: 4px;
}
@media only screen and (max-width: 375px) {
  .galleryContentWrapper
    #gallery-search-results
    .albumit
    .albumi
    .content
    .imgcrop {
    width: 110px;
  }
}

.gallery-avatar img {
  border: 1px solid #f0f0f0;
  background: white;
  position: absolute;
  display: inline-block;
  width: 20px;
  height: 20px;
}
.gallery-avatar span {
  line-height: 24px;
}
.gallery-avatar.leipomo-avatar span {
  margin-left: 24px;
}

.albumit .viikon_kuva {
  background: url(images/kultakehys-leipomoresepti.png) no-repeat 50% 50% !important;
  background-position: center center important;
  background-size: 100% 100% !important;
}

.newest {
  position: relative;
}

#quick-results .comment-count,
.quick-results .comment-count,
.albumit .albumi .comment-count,
.newest .comment-count {
  position: absolute;
  width: 34px;
  height: 34px;
  background: url(images/comment-bubble-smaller.png) no-repeat top left;
  z-index: 10;
  text-align: center;
  padding-top: 7px;
  line-height: 1;
  color: #333;
}

.nosto .comment-count {
  background: url('images/comment-bubble-smaller.png') no-repeat scroll left top
    rgba(0, 0, 0, 0);
  color: #333333;
  height: 20px;
  padding-top: 7px;
  text-align: center;
  width: 34px;
  z-index: 10;
  display: inline-block;
  margin-top: -9px;
  font-weight: normal;
}

#quick-results .comment-count,
.quick-results .comment-count {
  right: 0px;
  top: 0px;
}

.albumit .albumi .comment-count {
  right: 28px;
  top: 36px;
}

#quick-results .comment-count span,
.quick-results .comment-count span,
.albumit .albumi .comment-count span,
.nosto .comment-count span {
  margin-left: -1px;
  margin-top: 1px;
  font-size: 14px;
  display: block;
}

.albumit .top-pagination,
.albumit .bottom-pagination {
  padding: 0;
  clear: both;
  margin-left: 10px;
  vertical-align: top;
}

.albumit .content {
  /*width:120px;*/
  margin: 37px auto 0 auto;
}

.albumit .content h4 {
  background: none;
  margin: 0;
  padding: 5px 0 2px;
  height: 2em;
  overflow: hidden;
}

.albumit .content h4 a {
  display: block;
  color: #6f4528;
  font-weight: bold;
  word-wrap: break-word;
}

#content article .valmistusaika {
  margin: 10px 0px;
}

.clearfix {
  zoom: 1;
}
.clearfix:before,
.clearfix:after {
  display: table;
  content: '';
}
.clearfix:after {
  clear: both;
}

small.attachmentRules {
  display: none;
}

/* general */

.imgcrop {
  height: 80px;
  width: 80px;
  overflow: hidden;
  background: white;
  position: relative;
  margin: 0 auto;
}

.albumi .imgcrop {
  height: 80px;
}

.albumi .content .title {
  display: block;
  height: 2em;
  overflow: hidden;
}

.albumi .content .user {
  display: block;
  height: 1em;
  overflow: hidden;
  margin-top: 5px;
}

.album-choice {
  margin-top: 2px;
}

.album-choice li {
  float: left;
  width: 32%;
}

.album-choice li a {
  display: block;
  height: 193px;
  position: relative;
  color: #6f4528;
  background-size: 100% 100%;
}

.album-choice li a:hover span {
  color: #d781ab;
}
.album-choice li a span {
  display: block;
  text-align: center;
  position: absolute;
  bottom: 30px;
  width: 100%;
  font-weight: bold;
}

li.more-comments {
  padding: 10px !important;
  text-align: right;
}

#Facebook_Counter {
  width: 140px;
}

#Facebook_Counter iframe {
  width: 140px !important;
}

#Facebook_Counter iframe .pluginCountButton {
  width: 60px !important;
}

.fb_iframe_widget_fluid {
  display: inline !important;
}

.browsing {
  height: 30px;
}

.browse-previous {
  float: left;
}

.browse-next {
  float: right;
}

#leipomo-asetukset .postbox-container {
  float: none;
}

#leipomo-asetukset .postbox-container-side {
  float: right;
}

#active-authors-list {
  margin-bottom: 10px;
}

#active-authors-list td {
  padding: 1px;
}

.wp-polls .Buttons {
  background: #6f4528 !important;
  color: #fff !important;
  border: none !important;
  height: 22px !important;
  margin: 0px 0 0 5px !important;
  border-radius: 5px !important;
  line-height: 22px !important;
  padding: 0 5px 3px !important;
  display: block !important;
  text-align: center !important;
}

.article-action-links {
  background: #eae8e9;
  margin: 0 0 20px;
  border-radius: 5px !important;
}

.article-action-links .action-link,
.article-action-links .pf-alignleft {
  padding: 2px;
  margin: 2px;
}

body.single-kinuski_post,
body.page-template-page-kinuskileipomo-front-php,
body.page-template-page-kinuskileipomo-link-list-php,
body.page-template-page-leipomoiden-uusimmat-kommentit-php,
body.page-template-page-kinuskileipomo-php,
body.single-leipomo {
  background: url(images/bg/leipomotausta.jpg) top left no-repeat #e6c9db;
}

body.page-template-page-add-image-php,
body.page-template-page-kinuskifoorumi-php,
body.page-template-page-kinuskigalleria-php,
body.page-template-page-kinuskigalleria-albumi-php,
body.page-template-page-yhteiso-php,
body.page-template-page-yhteiso-front-php,
body.page-id-17312,
body.single-attachment {
  background-color: #f6d3da;
}

@media only screen and (min-width: 600px) {
  body.page-template-page-add-image-php,
  body.page-template-page-kinuskifoorumi-php,
  body.page-template-page-kinuskigalleria-php,
  body.page-template-page-kinuskigalleria-albumi-php,
  body.page-template-page-yhteiso-php,
  body.page-template-page-yhteiso-front-php,
  body.page-id-17312,
  body.single-attachment {
    background: url(images/bg/tausta-mobiili.jpg) #f3ede8;
    background-size: contain;
  }
}

.single-leipomo div#page,
.single-kinuski_post div#page,
.page-template-page-kinuskileipomo-front-php div#page,
.page-template-page-leipomoiden-uusimmat-kommentit-php div#page,
.page-template-page-kinuskileipomo-php div#page {
  background: url(images/bg/taustan_tekstit.png) top left no-repeat;
}

body.page-template-page-kinuskileipomo-front-php .main-title {
  font-size: xx-large;
  font-weight: normal;
  color: #f6d3da !important;
}

span.leipomo-name {
  font-size: 1.2em;
  font-weight: bold;
}

.kinuski_post_page_leipomo-asetukset #title {
  width: 47% !important;
}

span.date-comment {
  padding: 3px 2px 0 0 !important;
  display: inline-block;
}

.type-leipomo span.date-comment {
  max-width: 53%;
}

.type-leipomo span.category,
.attachment span.category {
  max-width: 45%;
  display: inline-block !important;
}

div.leipomo-header {
  background: url('images/kinuskileipomot_header.png') no-repeat scroll 100% 0
    rgba(0, 0, 0, 0);
  height: 96px;
  background-size: 100% 100%;
  background-color: white;
}

div.leipomo-header a {
  background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
  display: block;
  width: 100%;
  height: 100px;
}

.galleryContentWrapper,
.instaContentWrapper {
  overflow: hidden;
  margin: 10px 0px;
  padding: 10px;
}
.galleryContentWrapper {
  background: #f9ebee;
}
.instaContentWrapper {
  background: #f0f0f0;
}

.galleryNavi {
  background: #f6d3da;
  overflow: hidden;
  padding: 10px;
}

.loader.flower {
  margin-left: 0px;
}

.widget_gdstarrating_star li {
  padding-bottom: 10px;
}

.widget_gdstarrating_star .gdt-starrating {
  width: 32px;
  height: 32px;
}

.widget_gdstarrating_star .permalink,
.widget_gdstarrating_star .votes-up {
  padding-left: 40px;
}

.gdt-size-40.gdthumb a.gdt-starrating,
.gdt-size-40.gdthumb div.gdt-starrating {
  background: url('images/tykkays40.png') no-repeat scroll 0 0 rgba(0, 0, 0, 0);
}

.gdt-size-32.gdthumb a.gdt-starrating,
.gdt-size-32.gdthumb div.gdt-starrating {
  background: url('images/tykkays32.png') no-repeat scroll 0 0 rgba(0, 0, 0, 0);
}

#active-authors-list td.ranking {
  padding-right: 5px;
}

#active-authors-list td.author-name {
  padding-right: 5px;
}

.type-page .entry-header h3 {
  background: #ffffff;
  color: #6f4528;
  display: block;
  font-weight: bold;
  padding-bottom: 15px;
}

.type-page .entry-header h3.category-title span {
  background: #ffffff;
}

.type-page a:link,
.type-page a:visited {
  color: #d781ab;
}

#postdivrich #resepti_title {
  font-size: 16px;
  font-family: MyriadPro, Georgia, 'Times New Roman', 'Bitstream Charter', Times,
    serif;
  font-weight: normal;
  margin-left: 10px;
  margin-bottom: 10px;
  color: #464646;
}

#leipomo-form strong {
  font-size: 14px;
}

#poststuff .prompt-text {
  color: #bbbbbb;
  font-size: 20px;
  margin: 20px 0px;
  position: absolute;
  z-index: 100;
  cursor: text;
  max-width: 100%; /* 800px; */
  white-space: normal;
}
@media screen and (max-width: 600px) and (orientation: landscape) {
  #poststuff .prompt-text {
    margin: 30px 0px;
  }
}
@media screen and (max-width: 550px) {
  #poststuff .prompt-text {
    margin: 60px 0px;
  }
}

#content-prompt-text {
  padding: 120px 10px;
}

#excerpt-prompt-text {
  padding: 8px 4px;
}

#poststuff .postarea {
  box-shadow: none !important;
}

.wp_themeSkin iframe {
  background: none repeat scroll 0 0 #ffffff !important;
}

#category-all.tabs-panel {
  max-height: 400px !important;
  height: 400px !important;
}

.row-actions span {
  padding-right: 4px;
}

#featured-user-receipts .quick-results {
  padding-left: 10px;
  overflow: hidden;
}

.latest-kinuski-post-widget-text {
  padding-bottom: 10px;
  margin: 10px;
}

.widget_latest-kinuski_post-widget #leipomot-link {
  padding-bottom: 5px;
}

div.tab-image-container {
  margin-left: 15px;
  margin-top: 3px;
  min-height: 16px;
  min-width: 100px;
}

#main-navi-container {
  height: 50px;
  float: left;
  background: #6f4528;
  display: inline-block;
  margin-left: 60px;
}

table#order_table th {
  font-weight: bold;
  padding-right: 5px;
}

table#order_table #order_product {
  width: 250px;
}

table#order_table #order_count {
  width: 20px;
}

table#order_table #order_price {
  width: 50px;
}

table#order_table td.total_price {
  font-weight: bold;
}

form#orders-form .column-id {
  width: 120px;
  padding-left: 10px;
}

form#orders-form .column-date {
  width: 100px;
  padding-left: 10px;
}

form#orders-form .column-status {
  width: 150px;
}

form#orders-form .column-title {
  width: 200px;
  padding-left: 10px;
}

.admin-tilaus .row-actions {
  width: 450px;
}

th.sortable a,
th.sorted a {
  display: inline !important;
}

.form-order .photo {
  padding-right: 10px;
}

.form-order #notices {
  float: left;
  height: 60px;
}

.form-order td.label {
  width: 125px;
  white-space: nowrap;
}

#order_table td,
#order_table th {
  border: 1px solid;
  border-color: silver;
}

#order_table td,
#order_table th {
  padding: 5px;
}

#order_table th {
  background-color: #f9ebee;
}

.form-order label {
  font-weight: bold;
}

#modify-button-span,
#pay-button-span {
  width: 150px;
}

#modify-button-span #modify-button {
  background: #f6d3da;
  color: #6f4528;
}

#order-actions {
  width: 300px;
}

#export_container {
  width: 100%;
}

#export_container .export-entry {
  float: left;
  padding-right: 10px;
  padding-bottom: 5px;
}

div.mandatory {
  padding: 10px 0;
}

.toplevel_page_tilaukset div.new-file {
  font-size: 1.3em;
}

.toplevel_page_tilaukset a.new-file-link {
  font-size: 1.6em;
}

#voting_results .col1 {
  width: 30px;
}

#voting_results .col2 {
  width: 100px;
}

#primary .ratingblock {
  font-size: 1em !important;
  width: 300px;
}

#primary .ratingstars {
  display: inline-block !important;
  width: 30px;
}

#primary .ratingheader {
  width: 260px;
  padding-top: 7px;
}

div.ratingheader {
  display: none;
}

div.ratingloaderarticle + div.ratingheader {
  display: inherit !important;
  padding-bottom: 7px;
}

.single-kinuski_post div.post-parent,
.single-kinuski_post div.entry-content {
  margin-top: 10px;
}

.gallery-largeimage {
  margin: 10px 0;
}

.littleheart {
  display: inline;
  background: url('images/pikkusydan.png') no-repeat scroll 0 center
    rgba(0, 0, 0, 0);
  padding-left: 16px;
  margin: 0px 5px;
  padding-top: 2px;
}

#wpbody-content {
  font-size: 120%;
}

#survey-popup {
  position: absolute;
  z-index: 9999;
  opacity: 0;
  display: none;
  height: auto;
  width: auto;
  background-color: #fff;
  border-radius: 10px 10px 10px 10px;
  box-shadow: 0 0 25px 5px #999;
  color: #111;
  font-size: 14px;
}

#survey-popup-title {
  background: #6f4528 none repeat scroll 0 0;
  padding: 20px 15px;
  border-radius: 10px 10px 0 0;
  color: #fff;
  font-weight: bold;
}

#survey-popup-content {
  padding-top: 25px;
  padding-left: 15px;
  width: 300px;
}

#survey-popup-buttons {
  padding: 20px 0 30px 70px;
}

#survey-popup-buttons input {
  float: left;
  max-width: 100px;
  font-weight: bold;
}

#survey-popup-button-no {
  background: #f3ede8;
  color: #6f4528;
}

#avatar_profile_box {
  display: none;
}

.newest .newest-row {
  display: -webkit-flex;
  display: flex;
}
.newest .leading {
  width: 63%;
  padding: 8px;
  vertical-align: top;
}
.leading .newest {
  padding: 5px 5px 0px 5px;
}
.leading .newest .intro {
  color: black;
}
.newest .smalls {
  width: 30%;
  padding: 8px;
}
.newest .leading .result,
.newest .smalls .result {
  width: 95% !important;
  padding: 5px 5px 0px 5px;
}

.commentPopupContainer {
  display: inline-block;
  padding: 7px 0px;
}
.commentPopupWrapper {
  background: white;
  width: 200px;
  font-size: 14px;
  padding: 10px;
}

.youtubePopupDiv,
.termsNotificationDiv {
  color: #b94a48;
  background-color: #f2dede;
  border-color: #eed3d7;
  display: block;
  font-weight: bold;
  font-size: 18px;
}
.termsNotificationDiv {
  padding: 30px 20px;
}
.termsNotificationDiv div {
  padding: 10px;
}
.youtubePopupDiv div {
  padding: 3px 0px;
}

.youtubePopupDiv .buttons,
.termsNotificationDiv .buttons {
  text-align: center;
}

.youtubePopupDiv .buttons form,
.termsNotificationDiv .buttons form {
  display: inline-block;
}

.termsNotificationDiv .buttons form input {
  border: 1px solid #6f4528;
  height: 27px;
  padding: 3px 30px 3px 30px;
}

.youtubePopupDiv .buttons form input {
  border: 1px solid #6f4528;
  height: 27px;
  padding: 3px 8px 3px 8px;
}

.youtubePopupDiv .buttons a,
.termsNotificationDiv .buttons a {
  display: inline-block;
  border: 1px solid #d781ab;
  padding: 2px 30px;
  border-radius: 6px;
  margin: 0px 0px 0px 20px;
}

.youtubePopupDiv {
  background-color: white;
}

.youtubePopupDiv .closeBtn {
  cursor: pointer;
}

.youtubePopupDiv > div {
  display: inline-block;
  vertical-align: middle;
  text-align: center;
}
.youtubePopupDiv span {
  color: black;
}

.youtubePopupDiv .kinuskilogo {
  width: 110px;
}
.youtubePopupDiv .youtube {
  width: 160px;
}

.tuotebanneriWrapper {
  background: url(images/dynaaminen-tausta-uusi.jpg) no-repeat center top
    #f6d3da;
  background-size: cover;
  width: 100%;
  height: 250px;
  padding-bottom: 8px;
}
@media (max-width: 600px) {
  .tuotebanneriWrapper {
    background-image: none;
  }
}
.tuotebanneriWrapper .banneri-title {
  display: flex;
  flex-direction: column;
}
.tuotebanneriWrapper .banneri-title span:first-child {
  font-size: 36px;
  color: #ee25a2;
  text-transform: uppercase;
  font-family: AmaticSC, calibri, sans-serif;
  letter-spacing: 1px;
  text-align: center;
  padding: 10px 2px 4px 2px;
}
@media (min-width: 600px) {
  .tuotebanneriWrapper .banneri-title span:first-child {
    font-size: 44px;
  }
}
.tuotebanneriWrapper .banneri-title span:last-child {
  font-size: 18px;
  color: #33a7ff;
  text-align: center;
}

.tuotebanneriWrapper .tuotebanneri {
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
}
.tuotebanneri .col {
  margin: 20px 0px 8px;
  width: 22%;
  font-size: 14px;
  color: #ee25a2;
}
.tuotebanneri .col {
  text-align: center;
  white-space: nowrap;
}
.tuotebanneri .tuotekuvawrapper {
  min-height: 140px;
  display: flex;
  align-items: center;
  margin-bottom: 4px;
}
@media only screen and (max-width: 1000px) {
  .tuotebanneri .col:first-child {
    display: none;
  }
}

.commentlist .wpulike .wp_ulike_is_unliked a.wp_ulike_btn {
  background-image: url(images/like.png) !important;
}
.commentlist .wpulike .wp_ulike_is_liked a.wp_ulike_btn {
  background-image: url(images/unlike.png) !important;
}
.wpulike .counter a:hover,
.wpulike .counter a:active {
  text-decoration: none;
  text-shadow: none !important;
  background-color: transparent !important;
  border-color: #d781ab !important;
}
.wp-ulike-notice.is-dismissible {
  display: none;
}

#wp-content-editor-tools .wdi_thickbox {
  display: none;
}

@media only screen and (max-width: 600px) {
  .tuotebanneri .col2 {
    display: none;
  }
  .tuotebanneri .col {
    width: 25%;
  }

  .youtubePopupDiv {
    height: 100%;
    max-height: 100%;
    padding: 0px 10px;
    overflow: scroll;
  }
  .youtubePopupDiv .closeBtn {
    margin-top: 10px;
  }
  .youtubePopupDiv > div {
    width: 96%;
    display: block;
    vertical-align: middle;
    text-align: center;
  }

  .youtubePopupDiv .videotkuva {
    display: none;
  }
  .youtubePopupDiv span {
    font-size: 18px;
  }
  .youtubePopupDiv .buttons form input {
    margin-bottom: 4px;
  }
}
@media only screen and (max-width: 600px) and (orientation: landscape) {
  .youtubePopupDiv .videotkuva {
    display: none;
  }
  .youtubePopupDiv {
    width: 100%;
  }
}

.kinuskikissa_inspiraatio {
  background: url('/wp-content/themes/kinuskikissa/images/inspiraatiokissa.png');
  width: 50px;
  height: 50px;
  margin: 0px;
  padding: 0px;
  position: absolute;
  top: 0px;
  left: 0px;
}

.wmle_container .wmle_item .wmle_post_title {
  border: 0px !important;
}

.wmle_container .wmle_item,
.wmle_container .wmle_post_title {
  padding: 0px !important;
}

.wmle_container .wmle_item .wmle_post_meta {
  padding: 5px !important;
}

.wmle_post_title a img {
  width: 100%;
  height: auto;
}

#gallery-navi {
  overflow: hidden;
}

#some-container {
  float: right;
}

#usersonline {
  color: #6f4528;
  background: white;
  text-align: right;
  padding-right: 20px;
}

/* mobiili s��d�t */
.header-main {
  left: 0;
  top: 0;
  width: 100%;
  position: fixed;
  z-index: 1000;
}

#header {
  padding-top: 10px;
}
@media only screen and (min-width: 600px) {
  #header {
    padding-top: 50px;
  }

  .type-leipomo ul.tabs li a {
    font-size: 1.1em;
  }
}

.clear-both {
  clear: both;
}

img,
embed,
object,
video {
  max-width: 100%;
  height: auto;
}

#maintitle {
  background: none;
  padding: 0;
}

#maintitle a {
  display: block;
  background: none;
  /*float: right;*/
}

#maintitle div {
  text-indent: -3000px;
  min-height: 65px;
  max-height: 145px;
}

.sf-menu,
.sf-menu * {
  margin: 0;
  padding: 0;
  list-style: none;
}
.sf-menu {
  line-height: 1;
}
.sf-menu ul {
  position: absolute;
  border: 1px solid #f6d3da;
  box-shadow: 2px 2px 5px #888888;
}
.sf-menu ul li {
  width: 100%;
  border-bottom: 1px solid white;
}
.sf-menu li:hover {
  visibility: inherit; /* fixes IE7 'sticky bug' */
}
.sf-menu li {
  float: left;
  position: relative;
  min-height: 30px;
}
.sf-menu a {
  display: inline-block;
  font-size: 20px;
  color: #f9ebee;
  padding-left: 5px;
  padding-right: 8px;
  text-decoration: none;
}

.sf-menu a,
.sf-menu a:visited {
  /* visited pseudo selector so IE6 applies text colour*/
  color: #fff;
}
#menu-kinuskiyhteiso.sf-menu a,
#menu-kinuskiyhteiso.sf-menu a:visited {
  color: #6f4528;
}
.sf-menu li li {
  background: #f9ebee;
}

.sf-menu li li a {
  color: #6f4528;
}
.sf-menu li li li {
  background: #f9ebee;
}
/*
.sf-menu li:hover, .sf-menu li.sfHover,
.sf-menu a:focus, .sf-menu a:hover, .sf-menu a:active {
	background:		#fff;

	outline:		0;
}
*/

.toivepuoti-link:hover,
#main-navi-link:hover,
/*#main-navi-link-mobile:hover,*/
#leipomo-navi-link:hover,
/*#leipomo-navi-link-mobile:hover,*/
#yhteiso-navi-link:hover
/*#yhteiso-navi-link-mobile:hover */ {
  background: white;
}

.toivepuoti-link:hover {
  color: #80caf8 !important;
}

#main-navi-link:hover {
  color: #6f4528;
}
#leipomo-navi-link:hover {
  color: #e0aab5;
}
#yhteiso-navi-link:hover {
  color: #cec4bc;
}

.comment-form textarea {
  width: 99%;
  margin: 5px 0px;
}

.sf-menu li.sfHover a {
  color: #6f4528;
}
/*** arrows **/
.sf-menu li li a.sf-with-ul {
  padding-right: 2em;
  min-width: 1px; /* trigger IE7 hasLayout so spans position accurately */
}

.sf-sub-indicator {
  position: absolute;
  display: block;
  right: 0.75em;
  top: 1.05em; /* IE6 only */
  width: 10px;
  height: 10px;
  text-indent: -999em;
  overflow: hidden;
  background: url('images/arrows-ffffff.png') no-repeat -10px -100px; /* 8-bit indexed alpha png. IE6 gets solid image only */
}

.sf-sub-indicator {
  display: none;
}

.sf-menu li li .sf-sub-indicator {
  display: block;
}

a > .sf-sub-indicator {
  /* give all except IE6 the correct values */
  top: 0.8em;
  background-position: 0 -100px; /* use translucent arrow for modern browsers*/
}

/* apply hovers to modern browsers */
a:focus > .sf-sub-indicator,
a:hover > .sf-sub-indicator,
a:active > .sf-sub-indicator,
li:hover > a > .sf-sub-indicator,
li.sfHover > a > .sf-sub-indicator {
  background-position: -10px -100px; /* arrow hovers for modern browsers*/
}

/* point right for anchors in subs */
.sf-menu ul .sf-sub-indicator {
  background-position: -10px 0;
}
.sf-menu ul a > .sf-sub-indicator {
  background-position: 0 0;
}
/* apply hovers to modern browsers */
.sf-menu ul a:focus > .sf-sub-indicator,
.sf-menu ul a:hover > .sf-sub-indicator,
.sf-menu ul a:active > .sf-sub-indicator,
.sf-menu ul li:hover > a > .sf-sub-indicator,
.sf-menu ul li.sfHover > a > .sf-sub-indicator {
  background-position: -10px 0; /* arrow hovers for modern browsers*/
}

/*** shadows for all but IE6 ***/
.sf-shadow ul {
  background: url('images/shadow.png') no-repeat bottom right;
  padding: 0 8px 9px 0;
  -moz-border-radius-bottomleft: 17px;
  -moz-border-radius-topright: 17px;
  -webkit-border-top-right-radius: 17px;
  -webkit-border-bottom-left-radius: 17px;
}
.sf-shadow ul.sf-shadow-off {
  background: transparent;
}

/* Genericons */

@font-face {
  font-family: 'Genericons';
  src: url('genericons/font/genericons-regular-webfont.eot');
  src: url('genericons/font/genericons-regular-webfont.eot?#iefix')
      format('embedded-opentype'),
    url('genericons/font/genericons-regular-webfont.woff') format('woff'),
    url('genericons/font/genericons-regular-webfont.ttf') format('truetype'),
    url('genericons/font/genericons-regular-webfont.svg#genericonsregular')
      format('svg');
  font-weight: normal;
  font-style: normal;
}

#primary-navigation,
#receipt-categories {
  width: 100%;
  min-height: 50px;
  /*background: #6f4528;*/
}

.blogi #primary-navigation,
#receipt-categories {
  background: #6f4528;
}

.leipomo #primary-navigation {
  background: #d781ab;
}

.yhteiso #primary-navigation {
  background: #f6d3da;
}

.menu-paavalikko-container,
.menu-kategoria-container {
  display: inline-block;
  background: #6f4528 none repeat scroll 0 0;
}

.toggled-on .menu-container {
  display: block;
  position: fixed;
  left: 0px;
  top: 50px;
}

/* Primary Navigation */
.primary-navigation,
#receipt-categories {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  font-size: 14px;
  text-transform: uppercase;
  margin: 0 1px 0 0px;
  padding: 0;
}

.primary-navigation .nav-menu,
#receipt-categories .nav-menu {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  display: none;
}

.primary-navigation.toggled-on .nav-menu,
#receipt-categories.toggled-on .nav-menu {
  display: block;
}

.primary-navigation li,
#receipt-categories li {
  height: 50px;
  line-height: 50px;
}

/*
.menu-kinuskiyhteiso-container > ul,
.menu-kinuskileipomot-container > ul,
.menu-kategoria-container > ul,
.menu-paavalikko-container > ul {
	width: inherit !important;
	max-height: calc(100% - 50px) !important;
	overflow: scroll !important;
}

.menu-kinuskiyhteiso-container ul li,
.menu-kinuskileipomot-container ul li,
.menu-kategoria-container ul li,
.menu-paavalikko-container ul li {
	display: block !important;
	float: none; 
    max-width: 200px;
}
*/

.primary-navigation ul li:hover > ul,
.primary-navigation ul li.focus > ul,
#receipt-categories ul li:hover > ul,
#receipt-categories ul li.focus > ul {
  left: auto;
}

.primary-navigation ul ul li:hover > ul,
.primary-navigation ul ul li.focus > ul,
#receipt-categories ul ul li:hover > ul,
#receipt-categories ul ul li.focus > ul {
  left: 100%;
}

.primary-navigation .menu-item-has-children > a,
#receipt-categories .menu-item-has-children > a {
  padding-right: 26px;
}

.primary-navigation .menu-item-has-children > a:after,
#receipt-categories .menu-item-has-children > a:after {
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  font: normal 8px/1 Genericons;
  position: absolute;
  right: 12px;
  top: 22px;
  vertical-align: text-bottom;
}

.primary-navigation li .menu-item-has-children > a,
#receipt-categories li .menu-item-has-children > a {
  padding-right: 20px;
  width: 168px;
}

.primary-navigation .menu-item-has-children li.menu-item-has-children > a:after,
#receipt-categories
  .menu-item-has-children
  li.menu-item-has-children
  > a:after {
  right: 8px;
  top: 20px;
}

.primary-navigation li,
#receipt-categories li {
  border: 0;
  display: inline-block;
  position: relative;
}

.primary-navigation a,
#receipt-categories a {
  padding: 2px 12px;
  margin-top: -4px;
  white-space: nowrap;
}

.primary-navigation ul ul,
#receipt-categories ul ul {
  background-color: #f9ebee;
  float: left;
  margin: 0;
  position: absolute;
  top: 48px;
  left: -999em;
  z-index: 99999;
}

.primary-navigation li li,
#receipt-categories li li {
  border: 0;
  display: block;
  height: auto;
  line-height: 1.0909090909;
}

.primary-navigation ul ul ul,
#receipt-categories ul ul ul {
  left: -999em;
  top: 0;
}

.primary-navigation ul ul a,
#receipt-categories ul ul a {
  padding: 18px 12px;
  white-space: normal;
  width: 176px;
}

/* Secondary Navigation */
.secondary-navigation {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 12px;
  margin: 48px 0;
}

.secondary-navigation a {
  padding: 9px 0;
}

/* menu-toggle, search-toggle ja login-toggle */
.toggled-on {
  display: block !important;
}

.header-main button,
#textsearchsubmit {
  border-style: none;
  cursor: pointer;
  font-size: 0;
  height: 50px;
  margin: 0;
  overflow: hidden;
  padding: 0;
  position: absolute;
  text-align: center;
  width: 45px;
}

.header-main button:before,
#textsearchsubmit:before {
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  font: bold 20px/1 Genericons;
  text-decoration: inherit;
  vertical-align: text-bottom;
  display: inline;
  margin-top: 16px;
}
.header-main button:before {
  color: #fff;
}

@media (max-width: 350px) {
  .header-main button:before,
  #textsearchsubmit:before {
    margin-top: 24px;
  }
  .header-main button {
    color: transparent !important;
  }
  #main-navi-container {
    margin-left: 36px !important;
  }
  #new-catmenu-toggle {
    width: 36px !important;
  }
  .header-main button,
  #textsearchsubmit {
    width: 36px !important;
  }
  .search-toggle {
    right: 36px !important;
  }
  .primary-navigation a,
  #receipt-categories a {
    padding: 2px 1.7vw;
  }
}

.ainesosatlista,
.valmistusohjelista {
  list-style: none !important;
  list-style-position: inside;
  margin: 8px 0px;
  padding: 0.2em 0 0.2em 0 !important;
}
/* .valmistusohjelista {
	margin-top: 24px;
} */
/* .ainesosatlista li, */
.valmistusohjelista li {
  margin-bottom: 8px;
}

.ainesosatlista:last-child,
.valmistusohjelista:last-child {
  margin-bottom: 0;
}

.ainesosatlista h3,
.valmistusohjelista h3 {
  margin-bottom: 4px;
}
.ainesosatlista h4,
.valmistusohjelista h4 {
  background: none !important;
  padding: 2px 0;
  margin-bottom: 0px;
  padding-bottom: 2px !important;
}

.clear-button {
  display: none;
  position: absolute;
  right: 0px;
  top: 4px;
  color: #999;
  cursor: pointer;
}
.clear-button.padded {
  right: 35px;
  top: 10px;
}
@media screen and (max-width: 440px) {
  .clear-button.padded {
    right: 55px;
  }
}

#textsearchsubmit:before {
  color: #6f4528;
}

#textsearchsubmit {
  position: absolute;
  top: 6px;
  right: 10px;
  background: 0;
  height: 25px;
}

.header-main button.categories-toggle:before {
  font: bold 30px/1 Genericons;
}
/*
.header-main.blogi button:not(.categories-toggle):before,
.header-main.blogi button:not(.categories-toggle) {
	background-color: #6f4528;
}

.header-main.leipomo button:not(.categories-toggle):before,
.header-main.leipomo button:not(.categories-toggle) {
	background-color: #D781AB;
}

.header-main.yhteiso button:not(.categories-toggle):before,
.header-main.yhteiso button:not(.categories-toggle) {
	background-color: #DACCBF;
}
.header-main button.categories-toggle:before,
.header-main button.categories-toggle {
	background-color: #6f4528;
	color: white;
}
*/

#dl-menu {
  position: absolute;
  top: 0px;
  left: 0px;
  z-index: 10;
}

.cd-accordion-menu {
  position: fixed;
  margin: 0px !important;
  top: 50px;
  left: 0px;
  z-index: 10;
  font-size: 10px;
  max-height: calc(100% - 50px) !important;
  overflow-y: auto;
}

.login-toggle {
  right: 0;
}

.menu-toggle {
  left: 0px;
}
.categories-toggle {
  left: 0px;
}

.search-toggle {
  right: 50px;
}
#main-navi-container > ul > li {
  height: 50px;
  line-height: 50px;
}
.menu-kategoria-container ul li,
.menu-paavalikko-container ul li {
  height: 50px;
  line-height: 50px;
}

.login-toggle:before {
  content: '\f427';
}

body.logged-in .login-toggle:before {
  content: '\f427';
}

.menu-toggle:before {
  content: '\f419';
}

.search-toggle:before,
#textsearchsubmit:before {
  content: '\f400';
}

.categories-toggle:before {
  content: '\f419';
}

.gallery-search-container {
  overflow: hidden;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  flex-flow: wrap;
  flex-wrap: wrap;
  justify-content: space-evenly;
}

.header-main button:focus,
.header-main button:active,
.header-main button:hover,
.header-main button {
  outline: none;
  outline-color: #6f4528;
}

.header-main button:active,
.header-main button:focus,
.header-main button:hover {
  /*background-color: #fff;
	color: #6f4528;*/
}

#kkloginform {
  position: fixed;
  width: auto;
  top: 48px;
  right: 0;
  text-align: right;
  display: none;
  background: #e2e2e2;
  box-shadow: 0 4px 6px #b0a096;
  /*opacity: 0.9;*/
  z-index: 1000;
  padding: 10px 5px;
}

#kkloginform div {
  overflow: hidden;
  color: #d781ab;
}

#kkloginform #log,
#kkloginform #pwd {
  float: right;
  margin-right: 4px;
  margin-top: 2px;
}

#kkloginform button.loginbutton {
  width: 20px;
  height: 20px;
  display: block;
  background: transparent;
  border: 0;
  margin: 0 !important;
}

#kkloginform div.loginbutton {
  margin-top: 2px;
  margin-left: 0px;
  border: 1px solid #6f4528;
  border-radius: 5px;
  background: url(images/login_tassu20.jpg) no-repeat;
  background-position: 2px 2px;
  float: right;
  width: 25px;
  height: 25px;
}

#kkloginform .loginbutton:hover,
input[type='submit']:hover,
input[type='button']:hover {
  cursor: pointer;
}

#kkloginform div.remember-me {
  clear: both;
  padding: 4px;
}

#kkloginform div.remember-me #rememberme {
  padding-left: 0;
  margin-left: 0;
  margin-top: 2px;
  margin-bottom: 2px;
}

#kkloginform a {
  display: block;
  padding: 4px;
}

#header-search,
#receipt-categories {
  position: fixed;
  width: auto;
  top: 48px;
  right: 0;
  display: none;
  background: #e2e2e2;
  box-shadow: 0 4px 6px #b0a096;
  z-index: 1000;
}

#header-search {
  text-align: right;
  height: 50px;
  /*	opacity: 0.9;*/
}

.laajennettu {
  position: absolute;
  right: 10px;
  bottom: 2px;
  color: #6f4528;
  font-size: 12px;
}

.row-main {
  display: block;
}

#sidebar-categories {
  display: none;
}

.widget_random-banner-widget {
  width: 90% !important;
  display: block;
}

.random-banner {
  padding-bottom: 12px;
  float: none;
  display: block;
  max-width: 300px;
  margin: auto;
}

/* seuraavat ei n�y mobiilissa*/
/*.widget_current-picks-widget,*/
.widget_random-banner-widget .block-title,
#news-boxes .image,
.home .customized-recent-comments li.recentcomment:nth-child(n + 7),
.home #featured-user-receipts .result:nth-child(n + 5),
.home .gallery-search-container .albumi:nth-child(n + 5),
.home #news-boxes .nosto:nth-child(n + 3),
#kinuski-video3 {
  display: none !important;
}

#sanomat-widget div.image,
#greetings-content div.image {
  padding: 10px 5px;
  max-width: 350px;
  display: inline-block;
}

#greetings-content div.text {
  padding: 10px 5px;
  color: #000;
  display: block;
}

#two-columns-container {
  zoom: 1; /* For IE 6/7 */
  padding: 5px;
  clear: both;
}

.row-main,
.row-secondary {
  float: left;
  margin: 0.1% 0 0.1% 0.1%;
  display: block;
}

.row-main {
  max-width: 650px;
  width: 100%;
}
#primary .row-secondary {
  max-width: 650px;
  min-width: 320px;
  width: 100%;
}

#primary .row-secondary {
  display: block;
}

#secondary {
  display: none;
  float: left;
}

#featured-boxes .text,
#news-boxes .text {
  float: right;
  padding: 5px 10px 5px 5px;
  /*max-height: 150px;*/
  font-size: inherit;
  font-size: 1em;
}

#news-boxes .title {
  padding-left: 10px;
}

#news-boxes .image {
  padding: 5px 10px;
}

#news-boxes .content {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
}

.single #extrainfo,
.page #extrainfo {
  overflow: hidden;
  margin-bottom: 0px;
}

.single #extrainfo .left,
.page #extrainfo .left {
  width: 100%;
  float: left;
}
.single #extrainfo .right,
.page #extrainfo .right {
  width: 100%;
  float: left;
}

.single #extrainfo .block-title {
  font-size: 1.2em;
}

.type-leipomo #extrainfo .block-title {
  color: #fff !important;
}

#main-navi-container a {
  /*font-size: 7vw;*/
  font-size: 20px;
  letter-spacing: 2px;
}

/*leipomoiden stylet*/
.page-template-page-kinuskileipomo-front .entry-content {
  display: none;
}

.page-template-page-kinuskileipomo-front
  .row-secondary
  .widget_recent-comments-widget {
  display: none; /* leipomoiden etusivulla on jo muutenkin viimeisimm�t kommentit, niin piilotetaan ne sidebarista */
}

#kinuski-videot .thumb {
  max-height: 140px;
  max-width: 120px;
}

#kinuski-videot .thumb h4 {
  max-width: 120px;
}

/* jos vain kaksi videota */
#kinuski-video-thumbs div.thumb:first-child:nth-last-child(2),
#kinuski-video-thumbs div.thumb:first-child:nth-last-child(2) ~ div.thumb {
  width: 48%;
  margin: auto;
}

/* kolme videota */
#kinuski-video-thumbs div.thumb:first-child:nth-last-child(3),
#kinuski-video-thumbs div.thumb:first-child:nth-last-child(3) ~ div.thumb {
  width: 30%;
  margin: auto;
}

/* nelj� videota */
#kinuski-video-thumbs div.thumb:first-child:nth-last-child(4),
#kinuski-video-thumbs div.thumb:first-child:nth-last-child(4) ~ div.thumb {
  width: 23%;
  margin: auto;
}

#quick-results .cols {
  overflow: hidden;
}

#receipt-search #quick-results,
#receipt-search .quick-results {
  margin: 2% 1%;
  background: #fff;
  min-height: 100px;
  padding: 1.5%;
  clear: both;
  overflow: hidden;
}

#quick-results .result,
.quick-results .result,
.image-results .result,
#kinuski-videot .thumb {
  min-width: 85px;
  width: 30%;
  overflow: hidden;
  float: left;
  margin: 1.5%;
  cursor: pointer;
  position: relative;
}
#quick-results .result,
.quick-results .result,
.image-results .result {
  min-height: 180px;
}

#featured-user-receipts .result {
  width: 35%;
  margin: 0 6%;
}

.free-text-input-div {
  width: 70%;
}
.free-text-button-div {
  /*	width: 25%;*/
}

.asmListItemLabel {
  width: auto !important;
}

#usersonline {
  display: none;
}

ul.widget_ul li {
  list-style-type: disc !important;
  margin-left: 17px;
}
ul.widget_ul_num li {
  list-style-type: decimal !important;
  margin-left: 17px;
}

.row-secondary .widget_latest-kinuski_post-widget .result {
  width: 48%;
}

#kinuski-some-linkit {
  font-size: 16px;
  vertical-align: middle;
}

#kinuski-some-linkit > div {
  vertical-align: middle;
  margin: 2px 5px;
  display: inline-block;
  width: 45%;
  font-size: 16px;
  white-space: nowrap;
}

#kinuski-some-linkit img {
  margin: 2px;
  vertical-align: middle;
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.fb_iframe_widget {
  display: inline-block;
  position: relative;
  vertical-align: middle;
  margin: 2px 0px 7px;
}

.noselect {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.widget_ratings-widget li {
  margin-bottom: 6px;
}

#main-navi .current_user {
  display: none;
}

.prevVideo {
  min-width: 110px;
}

#upload_container .form-table {
  width: 100%;
}

.kinuskikumppani-title span span {
  background: #f6d3da;
}

.single-attachment .kinuskikumppani-title span span,
.page-template-page-add-image .kinuskikumppani-title span span,
.page-template-page-yhteiso-front .kinuskikumppani-title span span,
.page-template-page-yhteiso .kinuskikumppani-title span span,
.page-template-page-kinuskigalleria .kinuskikumppani-title span span {
  background: #daccbf !important;
}

.single-leipomo .kinuskikumppani-title span span,
.single-kinuski_post .kinuskikumppani-title span span,
.page-template-page-kinuskileipomo-front .kinuskikumppani-title span span,
.page-template-page-kinuskileipomo-link-list .kinuskikumppani-title span span,
.page-template-page-kinuskileipomo .kinuskikumppani-title span span {
  background: #d781ab !important;
}

#sanoma-container {
  padding: 20px;
}
#sanoma-container .row-main,
#sanoma-container #primary .row-secondary {
  max-width: 100%;
}
#sanoma-container .widget {
  display: block;
  width: 100%;
  vertical-align: top;
}
#sanoma-container .main-title {
  padding: 5px 0;
}
#sanoma-container .row-main {
  margin-bottom: 30px;
}
#sanoma-container .sanoma-col {
  display: none;
}
#sanoma-container .sanoma-mobile {
  width: 100%;
  display: block;
  padding: 0px;
}
#sanoma-container .sanoma-col {
  width: 30%;
  padding: 0px 16px;
  vertical-align: top;
  background: url(images/dotted-line-vertical.png) top right repeat-y;
}
#sanoma-container .sanoma-col-1 {
  padding-left: 0px;
}
#sanoma-container .sanoma-col-3 {
  background: none;
  padding-right: 0px;
}

#sanoma-container .sanomat-title {
  font-size: 1.4em;
  color: black;
  background: none;
  margin-top: 8px;
}
#sanoma-container .paakirjoitus .image {
  margin-bottom: 10px;
}

#sanoma-container .loader {
  margin-left: calc(50% - 32px);
}

#sanoma-container #images-and-comments {
  max-width: 600px;
}
#sanoma-container .top-div,
#sanoma-container .top-div img {
  width: 100%;
}

.sidebar-sanoma-widget .widget:nth-child(3n + 0) {
  padding: 0px 10px;
}
.sidebar-sanoma-widget .widget:nth-child(3n + 0)::before {
  content: '2';
}
.sidebar-sanoma-widget .widget:nth-child(3n + 1) {
  padding-left: 20px;
}
.sidebar-sanoma-widget .widget:nth-child(3n + 1)::before {
  content: '3';
}
.sidebar-sanoma-widget .widget:nth-child(3n + 2) {
  padding-right: 20px;
}
.sidebar-sanoma-widget .widget:nth-child(3n + 2)::before {
  content: '1';
}
.sidebar-sanoma-widget .widget .widget-top {
  display: inline-block !important;
  width: calc(100% - 15px);
}

.slick-slider {
  max-height: 300px;
  overflow: hidden;
  height: 100%;
  margin-top: 0px;
  margin-bottom: 20px;
}
.slick-slide img {
  display: block;
  width: 100%;
  height: auto;
}
.slick-slide .carousel-image {
  width: 100%;
  height: 300px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.slick-slide .carousel-title {
  font-family: AmaticSC, calibri, sans-serif;
  font-size: 20px;
  text-transform: uppercase;
  margin-top: -40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.8);
  color: black;
  width: 100%;
  text-align: center;
  padding-top: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
.karuselli-toggle-div {
  font-family: AmaticSC, calibri, sans-serif;
  font-size: 22px;
  color: #d781ab;
  text-transform: uppercase;
  position: absolute;
  z-index: 10;
  margin-left: -20px;
  padding: 0px;
  background: white;
  width: 20px;
  padding-left: 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.karuselli-toggle-div:not(.front) {
  cursor: pointer;
}
.karuselli-toggle-div {
  height: 300px;
}
.karuselli-toggle-div.closed {
  top: 0px;
}
.karuselli-toggle-div.front {
  display: none;
}
@media screen and (min-width: 760px) {
  .karuselli-toggle-div.front {
    display: flex;
  }
  .karuselli-toggle-div.closed {
    top: 200px;
  }
  .slick-slider {
    margin-top: 30px;
    margin-bottom: 0px;
  }
}
.karuselli-toggle-div .karuselli-toggler-title {
  height: 250px;
  padding-top: 20px;
  display: block;
}
.karuselli-toggle-div .karuselli-toggler {
  font-size: 40px;
  line-height: 26px;
  display: block;
}

.avainsana {
  background: #f6d3da;
  -webkit-border-radius: 18px;
  -moz-border-radius: 18px;
  border-radius: 18px;
  display: inline-block;
  padding: 8px;
  margin-bottom: 6px;
  margin-right: 2px;
  color: #6f4528 !important;
}

@media only screen and (max-width: 760px) {
  .karuselli-toggle-div {
    margin-left: 0px;
  }
  .karuselli-toggle-div .karuselli-toggler-title {
    display: none;
  }
  .karuselli-toggle-div {
    height: 32px;
  }
}

body div.indiedays-header,
.indiedays-header {
  display: none !important;
}

.kk-banner-div {
  width: 100%;
  margin-top: 2px;
  padding-bottom: 4px;
}
.kk-banner-div img {
  width: 100% !important;
  height: auto;
}

.wp-admin.post-type-attachment form p {
  padding: 10px 3px;
}

.chat-loader {
  background: url(images/ajax-loader.gif);
  background-position: center center;
  background-size: contain;
  background-repeat: no-repeat;
  width: 20px;
  height: 20px;
  margin-left: auto;
  margin-right: auto;
}
.chat-loader.not-logged {
  background: #f6d3da;
  width: 100%;
  height: 100%;
  border-radius: 6px;
  font-size: 12px;
  text-align: center;
}
@media screen and (min-width: 768px) {
  #firechat-wrapper {
    max-width: 280px;
  }
}
.chat-loader.not-logged #firechat {
  background: white;
}
.chat-loader.not-logged #firechat p {
  margin: 10px 5%;
  text-align: center;
  max-width: 90%;
}

/* chat tyylit 
.chat-block-header {
	background-color: #6f4528 !important;
}
.chat-block-site {
	background-color: #6f4528 !important;
	width: 365px !important;
}
#chat-block-site.closed {
	width: 170px !important;
}

#chat-block-inner {
	overflow: hidden !important;
	overflow-y: hidden !important;
	-webkit-scrollbar { width: 0 !important };
	-ms-overflow-style: none !important;
	overflow: -moz-scrollbars-none !important;
}
#chat-block-inner span.name {
	color: black !important;
}
*/

.viikon-kommentoija {
  width: 220px;
  min-width: 220px;
  max-width: 220px;
  position: relative;
  background: url('images/viikon-kommentoija.png') top center no-repeat;
  min-height: 135px;
  padding-top: 50px;
  text-align: center;
  font-size: 11px;
  font-weight: bold;
  background-size: contain;
  margin-left: auto;
  margin-right: auto;
}

#mc_embed_signup_scroll .button {
  background-color: rgb(255, 182, 193) !important;
}

#mc_embed_signup_scroll .button:hover {
  background-color: rgb(139, 69, 19) !important;
}

#mc_embed_signup {
  width: 100% !important;
}

#mc_embed_signup input.email {
  border: 1px solid #6f4528;
  color: #d781ab;
  line-height: 20px;
  height: 25px;
  padding: 0 2px;
  width: 52% !important;
  border-radius: 5px;
  display: inline-block !important;
}
#mc_embed_signup input.button {
  width: 50px !important;
  min-width: 50px !important;
  background: #6f4528 !important;
  color: #fff;
  border: none;
  height: 33px;
  margin: 0px 0 0 5px;
  border-radius: 5px;
  line-height: 30px;
  padding: 3px 5px 3px;
  display: inline-block !important;
  text-align: center;
}

.mc-closeModal {
  top: 10px !important;
  right: 10px !important;
  color: #333 !important;
  font-size: 14px !important;
  z-index: 1 !important;
  text-transform: capitalize;
}

.row-secondary .widget {
  padding-bottom: 6px;
}

/*
 * Piilotetaan reseptinlis�yksest� Yoast SEO pluginin lis��m�t 'make primary category' -hommat
 */
.wpseo-is-primary-term,
.wpseo-make-primary-term {
  display: none;
}

@media screen and (max-width: 440px) {
  #header-search {
    width: 100%;
  }
  #header-text-search {
    width: 97%;
  }
  #header-text-search input[type='text'] {
    width: 85%;
  }
  #kkloginform {
    right: 0;
    left: 1px;
  }
  #decoration-resetsearch,
  #receipt-resetsearch {
    margin-top: 6px;
  }
  #receipt-search #leipomo-receipt-tab .search-box,
  #receipt-search #leipomot-tab .search-box {
    width: 100%;
    margin-bottom: 10px;
  }
  #sanoma-container .sanoma-col {
    width: 100%;
  }
}
@media screen and (max-width: 440px), screen and (max-height: 440px) {
  #chat-block-inner {
    background: rgb(255, 255, 255);
    height: calc(100% - 34px) !important; /* 24px + 2*5px padding*/
    top: 24px;
    bottom: 0px;
    left: 2px;
    right: 2px;
    /*position: fixed;*/
  }
  #send-message-area #chat-send-wrap .chat-send-wrap .chat-send {
    font-size: 16px !important;
  }
}

@media screen and (max-width: 440px) {
  .chat-block-site:not(.closed) {
    max-width: 98%;
    width: 100% !important;
    max-height: calc(100% - 50px);
    position: fixed;
    top: 50px;
    left: 0px;
    right: 0px;
    bottom: 0px;
  }
}
@media screen and (max-height: 440px) {
  .chat-block-site:not(.closed) {
    max-width: 60%;
    width: 100% !important;
    max-height: calc(100% - 50px);
    position: fixed;
    top: 50px;
    left: 39%;
    right: 0px;
    bottom: 0px;
  }
  #chat-block-site #chat-block-inner .chat-box .chat-wrap .chat-area {
    height: 160px !important;
  }
}

@media screen and (min-width: 440px) {
  #kinuski-video3 {
    display: block !important;
  }

  #quick-results .result,
  .quick-results .result,
  .image-results .result,
  #kinuski-videot .thumb {
    width: 23%;
    margin: 1%;
  }

  #featured-user-receipts .result {
    width: 21%;
    margin: 0 1.5%;
  }

  .albumit .albumi {
    margin-left: 3%;
  }

  #receipt-search .free-search,
  .galleryNavi .free-search {
    min-width: 240px;
  }

  #sanoma-container .sanoma-col {
    width: 100%;
  }
}

@media screen and (min-width: 600px) {
  ul.tabs {
    margin: 10px 0 0 5px;
  }

  #header-search #text-search {
    margin-right: 5px;
    min-width: 200px;
  }
  .only-non-mobile {
    display: inline-block !important;
  }
  .only-mobile {
    display: none !important;
  }

  #main-navi-container {
    margin-left: 60px;
  }

  #main {
    width: 100%;
    margin: 0;
  }

  #usersonline {
    display: block;
  }

  #maintitle div {
    min-height: 90px;
  }

  .random-banner {
    display: inline-block;
    width: 48%;
    margin-right: 2%;
  }

  .row-secondary .widget {
    max-width: 100%;
  }

  /* t�ss� widgetit, jotka ovat keskikokoisessa n�yt�ss� leveydelt��n vain puolikkaita*/
  .row-secondary .widget_text,
  .row-secondary .widget_latest-kinuski_post-widget,
  .row-secondary .widget_top-kinuskileipuirit-widget,
  .row-secondary .widget_current-picks-widget,
  .row-secondary .widget_gdstarrating_star,
  .single #extrainfo .right,
  .page #extrainfo .right,
  .single #extrainfo .left,
  .page #extrainfo .left {
    width: 44%;
    float: left;
    margin-right: 5%;
    margin-bottom: 10px;
  }

  .widget_current-picks-widget,
  .widget_random-banner-widget .block-title,
  #news-boxes .image,
  .home .customized-recent-comments li.recentcomment:nth-child(n + 7),
  .home #featured-user-receipts .result:nth-child(n + 5),
  .home .gallery-search-container .albumi:nth-child(n + 5),
  .home #news-boxes .nosto:nth-child(n + 3) {
    display: block !important;
  }

  #featured-boxes .text,
  #news-boxes .text {
    max-width: 73%;
  }

  #news-boxes .image {
    float: left;
    max-width: 20%;
  }

  #two-columns-container {
    padding: 10px;
  }

  #greetings-content div.image {
    /*float: left;*/
    max-width: 45%;
    min-width: 200px;
  }
  #greetings-content div.text {
    float: right;
    max-width: 45%;
    min-width: 200px;
    margin-right: 15px;
  }

  #featured-boxes .text {
    width: 450px;
  }

  .albumit .albumi {
    width: 32%;
    margin-left: 0;
  }

  #main-navi-container a {
    font-size: 24px;
  }

  .menu-toggle {
    left: 0px;
  }

  .categories-toggle {
    left: 0px;
  }

  .header-main button {
    width: 50px;
  }

  .header-main button:before {
    font: bold 30px/1 Genericons;
  }

  .header-main button.categories-toggle:before {
    font: bold 30px/1 Genericons;
  }

  #sanoma-container .sanoma-col {
    width: 46%;
  }
  #sanoma-container .row-main {
    display: table;
  }
  #sanoma-container .sanoma-col {
    display: table-cell;
  }
  #sanoma-container .sanoma-mobile {
    display: none;
  }
}

@media screen and (min-width: 760px) {
  .search-toggle {
    right: 120px;
    display: none;
  }

  #kinuski-some-linkit > div {
    font-size: 14px;
  }

  body.page-template-page-yhteiso a.laajennettu,
  body.page-template-page-yhteiso-front a.laajennettu,
  body.page-template-page-kinuskifoorumi a.laajennettu,
  body.page-template-page-kinuskigalleria a.laajennettu {
    color: #6f4528;
  }

  a.laajennettu {
    color: white;
  }

  #header-search {
    top: 0px;
    right: 50px;
    display: block;
    background-color: inherit;
    z-index: 1001;
    box-shadow: none;
  }

  #header-text-search {
    z-index: 1001;
  }
  #header-search #text-search {
    margin-right: 5px;
    min-width: 280px;
  }
  #main-navi:first-child {
    padding-left: 0px;
  }

  #secondary-content {
    margin: 0px 10px 10px 0;
  }

  #two-columns-container #primary {
    width: 65%;
    float: left;
    padding-right: 5px;
  }
  #two-columns-container #secondary {
    width: 33%;
    float: right;
    background: url(images/dotted-line-vertical.png) repeat-y left top;
    display: block;
    margin-top: 10px;
  }

  #primary .row-secondary {
    display: none;
  }
  #main {
    width: 96%;
    max-width: 980px;
    margin-left: 2%;
    margin-bottom: 20px;
  }

  #maintitle div {
    min-height: 120px;
  }

  .search-toggle {
    margin-right: 0;
  }

  /* Fixed Header */

  .masthead-fixed .site-header {
    position: fixed;
    top: 0;
  }

  .admin-bar.masthead-fixed .site-header {
    top: 32px;
  }

  .masthead-fixed .site-main {
    margin-top: 48px;
  }

  #secondary .row-secondary {
    max-width: 290px;
    min-width: 220px;
    width: 100%;
  }
  .row-secondary .widget {
    display: inline-block;
    min-width: 215px;
    padding-left: 3%;
  }

  /* piilotettu pienemmiss� n�yt�iss�, joten tuodaan se t�ll� esiin */
  #sidebar-categories {
    display: block;
  }

  div.random-banner {
    width: 100%;
    padding-left: 3%;
    float: none !important;
  }

  #two-columns-container {
    padding: 1%;
  }

  #greetings-content div.image,
  #greetings-content div.text {
    float: none;
    max-width: 100%;
  }

  /* widgetit, jotka ovat keskikokoisessa n�yt�ss� vain leveydelt��n puolikkaita, saavat olla sidebarissa leveydelt��n 100%*/
  .row-secondary .widget_text,
  .row-secondary .widget_latest-kinuski_post-widget,
  .row-secondary .widget_top-kinuskileipuirit-widget {
    width: 100%;
  }

  .single #extrainfo .right,
  .page #extrainfo .right,
  .single #extrainfo .left,
  .page #extrainfo .left {
    width: 49%;
    margin-right: 0;
  }
  .single #extrainfo .right,
  .page #extrainfo .right {
    float: right;
  }
  .single #extrainfo .left,
  .page #extrainfo .left {
    float: left;
  }

  .page-template-page-kinuskileipomo-front .entry-content {
    display: block;
  }

  .free-text-input-div {
    width: 75%;
  }
  .free-text-button-div {
    width: 20%;
  }

  .widget {
    width: 100% !important;
  }

  #sanoma-container .sanoma-col {
    width: 30%;
  }
} /* min-width: 760px */

@media screen and (min-width: 950px) {
  #kinuski-some-linkit > div {
    font-size: 16px;
  }

  #main-navi .current_user {
    display: inline-block;
    position: absolute;
    left: 50%;
  }
  #main-navi .current_user p {
    font-weight: bold;
    text-transform: capitalize;
    text-align: center;
    color: white;
    font-size: 16px;
    font-family: MyriadPro, calibri, sans-serif;
  }

  .yhteiso #main-navi .current_user p {
    color: #6f4528;
  }
}

@media only screen and (min-width: 600px) and (max-width: 800px) {
  #header {
    padding-top: 5px;
  }
}

/* Hox! �l� poista t�t� alla olevaa.
T�m� hitsattu 16px fonttikoko est�� automaattisen zoomauksen mobiilissa hakulomakkeen selecteiss� */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
  .tab-content .search-options select,
  .tab-content .search-options input,
  .tab-content .search-options select:focus,
  .tab-content .search-options input:focus,
  .galleryNavi .search-options select,
  .galleryNavi .search-options input,
  .galleryNavi .search-options select:focus,
  .galleryNavi .search-options input:focus {
    font-size: 16px;
  }
}
/* Hox! �l� poista t�t� yll� olevaa. */

.row-secondary .widget .bb-bookblock {
  width: 100%;
}

.advertising {
  text-align: center;
  padding-bottom: 10px;
}

.advertising.desktop {
  display: none;
}
.advertising.mobile {
  display: block;
  background: white;
}
@media only screen and (min-width: 600px) {
  .advertising.desktop[data-adtype='paraati'] {
    display: block;
    max-width: 100%;
    overflow: hidden;
  }
  .advertising.desktop[data-adtype='boksi-a'] {
    display: none;
  }
  .advertising.mobile {
    display: none;
  }
}
@media only screen and (min-width: 1025px) {
  #secondary .row-secondary {
    width: 300px;
    max-width: 300px;
  }
  .row-secondary .widget,
  #my-favorite-receipties-container,
  div.random-banner {
    padding-left: 0px;
  }
  .advertising.desktop[data-adtype='boksi-a'] {
    display: block;
  }
}
@media only screen and (min-width: 980px) {
  #secondary-content {
    width: 300px;
    margin: 0px 10px;
  }
}
/*

Galleria-popup -m��ritykset

*/
.hide {
  display: none;
}
.show {
  display: block !important;
}

.modal-wrapper {
  display: none;
  z-index: 1002;
  position: fixed;
  height: calc(100% - 120px);
  width: 98%;
  margin-left: auto;
  margin-right: auto;
  top: 60px;
  left: 0;
  bottom: 0;
  right: 0;
  background: white;
  border: 1px solid #d881ab;
}
.modal {
  height: 100%;
  overflow: scroll;
  position: relative;
  padding: 0px;
}
.modal #modal-content {
  padding: 6px;
}
.modal-wrapper .close-modal {
  display: none;
  position: absolute;
  top: -8px;
  z-index: 1010;
  right: -11px;
  padding: 5px;
  width: 10px;
  height: 10px;
  text-align: center;
  color: #fff;
  line-height: 12px;
  font-size: 20px;
  cursor: pointer;
  background: #d781ab;
  border: 1px solid #d781ab;
  border-radius: 20px;
}
.modal-wrapper .close-modal i {
  position: absolute;
  left: 4px;
  top: 2px;
  font-size: 15px;
}
.modal-wrapper .close-modal:hover {
  color: #000;
}
.modal h3.category-title {
  padding: 0px;
}
.modal h3.category-title > span {
  padding: 6px;
}
.modal span.date-comment {
  padding: 1px 2px 0 0 !important;
}
.modal-wrapper {
  max-width: 700px;
}

#two-columns-container #primary.gallery-content {
  width: 100%;
}

#two-columns-container #primary.gallery-content #content.row-main {
  max-width: none;
}

.page-template-page-kinuskigalleria #two-columns-container {
  padding: 5px 0px 5px 5px;
}

.galleryWrapper {
  display: inline-block;
  width: 49%;
  width: calc(50% - 5px);
  vertical-align: top;
  box-sizing: border-box;
}

@media screen and (max-width: 958px) {
  .galleryWrapper .search-box {
    margin-bottom: 4px;
  }
}

.kinuksipost-static {
  float: right;
}
@media screen and (max-width: 640px) {
  .kinuksipost-static {
    float: unset;
    display: block;
  }

  .galleryWrapper .search-box,
  .galleryWrapper .search-box select {
    min-width: 100%;
    width: 100%;
  }
  .galleryWrapper .search-box.free-search .free-text-input-div {
    width: 100%;
  }
  .galleryWrapper .search-box.free-search #galleriaHakusanaInput {
    width: 98%;
  }
}

.galleryWrapper #galleriaAlbumiSelect {
  max-width: 100%;
}

@media only screen and (max-width: 768px) {
  .modal-wrapper {
    width: 90%;
  }
}

.ifc #ifc-app-container .ifc-branding {
  display: none !important;
}

.ifc #ifc-app-container.ifc-light .ifc-chat-list .ifc-chat-list-search-group {
  height: 0px;
}

div.nsl-container.nsl-container-block.nsl-container-login-layout-below {
  max-width: none;
}
.nsl-container .nsl-button-default span {
  font-size: 14px !important;
}

h3.edit_field_title {
  background: none;
  font-size: 16px;
  font-family: MyriadPro, Georgia, 'Times New Roman', 'Bitstream Charter', Times,
    serif;
  font-weight: normal;
  margin-left: 2px;
  margin-top: 20px;
  margin-bottom: -5px;
  color: #464646;
}
h3.edit_field_title + h6 {
  color: #666;
  margin-bottom: -30px;
  margin-left: 2px;
}
#postdivrich #resepti_title {
  margin-left: 2px;
}

.galleryWrapper .galleryNavi {
  box-sizing: border-box;
}
.galleryWrapper .albumi .content .comment-avatar {
  margin: 2px 2px 0px 0px;
}
.galleryWrapper .albumi .content span.no-avatar {
  line-height: 26px;
}

@media only screen and (min-width: 959px) {
  .galleryWrapper .galleryNavi {
    height: 150px;
  }
}
@media only screen and (max-width: 958px) {
  .galleryWrapper .galleryNavi {
    height: 200px;
  }
}
@media only screen and (max-width: 640px) {
  .galleryWrapper .galleryNavi {
    height: 260px;
  }
}

#KK-boksi-a,
#KK-boksi-b {
  margin-bottom: 10px;
}
@media only screen and (max-width: 979px) {
  #KK-boksi-a,
  #KK-boksi-b {
    display: none;
  }
}
