/*
Theme Name: Haggman Kahvila Konditoria
Author: Mainonnan Tyomaa & Mikko Hopia
Author URI: http://www.tyomaa.com
Description: Haggman sivupohja
Version: 1.0
*/

/* Reset */

html, body, div, h1, h2, h3, h4, h5, h6, ul, ol, dl, li, dt, dd, p, blockquote, pre, form, fieldset, table, th, td { margin: 0; padding: 0; }

img { border: 0; }
    
ol, ul, dl { list-style: none; }

@-ms-viewport       { width: device-width; }
@-webkit-viewport   { width: device-width; }
@-moz-viewport      { width: device-width; }
@-ms-viewport       { width:device-width; zoom:1; min-zoom:1; max-zoom:1; user-zoom:fixed; }
@-o-viewport        { width: device-width; }
@viewport           { width: device-width; }

/* ---------------------------------- */

/* HTML5 */

article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, mark, time {  
	display:block;
}

/* ---------------------------------- */

/* Global */

body {
	font: 100% Arial, sans-serif;
}

p {
	margin-bottom: 20px;
}

p.ingres-center {
	font-size: 1.5em; /* 24 / !6 */
	font-style: italic;
	font-weight: 100;
	padding: 0 20%;
	text-align: center;
}

p.breadcrump, nav.woocommerce-breadcrumb {
	margin-bottom: 20px;
	padding-top: 35px;
}

div.lounaslista p {
	margin-bottom: 10px !important;
}

div.lounaslista {
	padding-bottom: 10px;
}

p.breadcrump a {
	color: #3f2b1b;
}

section.content ul {
	list-style: disc;
	margin-bottom: 20px;
	padding-left: 20px;
}

section.content ul.product-categories, section.content ul.products, section.content ul.product-categories-noimg, section.content ul.tabs, div.col-2-wide-right ul, div.gform_body ul {
	list-style: none;
	margin-bottom: 0;
	padding-left: 0;
}

a {
	color: #0f7a4f;
	text-decoration: none;
}

a:hover {
}

div.col-2-wide-right a:hover {
	font-style: italic;
	font-weight: bold;
}

section.content h1 {
	color: #3f2b1b;
	font-size: 1.56em; /* 25 / 16 */
	font-weight: 900;
	letter-spacing: 1px;
	line-height: 1.2em;
	text-transform: uppercase;
}

h1.center { 
	padding: 25px 0 17px 0;
	text-align: center; 
}

div.col-2-wide-right h1, div.col-2.bg-color h1 {
	border-top: 2px #1d1d1b solid;
	border-bottom: 1px #1d1d1b solid;
	margin-bottom: 30px;
	padding: 10px 0;
}

div.col-2 h1 {
	margin-bottom: 10px;
}

h1.phone {
	/*background: url(img/sprites.png) 0 -150px no-repeat;*/
	background: url(img/puh_mail_ikonit.svg) -53px -29px no-repeat;
	line-height: 36px !important;
	margin-bottom: 10px !important;
	padding-left: 48px;
}

h1.email {
	background: url(img/puh_mail_ikonit.svg) -53px -79px no-repeat;
	font-size: 1rem !important;
	font-weight: normal !important;
	letter-spacing: normal !important;
	line-height: 36px !important;
	margin-bottom: 30px !important;
	padding-left: 48px;
	text-transform: none !important;
}
.kuva-email{
	height: 36px;
	
}
img.email-2{
	width: auto !important; 
	padding-top: 12px;
}
img.contact-email{
	width: auto !important;
  display: inline-block !important;
  margin-left: 7px;
  position: absolute;
  top: 4px;
}
.acf-field[data-width]pink{
	background: rgba(255, 0, 129, 0.35) !important;
}
div.contact p span{
	position: relative;
}
h1.oiva {
	background: url(img/oiva.svg) no-repeat;
	background-size: contain;
	font-size: 1rem !important;
	font-weight: normal !important;
	letter-spacing: normal !important;
	line-height: 36px !important;
	margin-bottom: 30px !important;
	padding-left: 48px;
	text-transform: none !important;
}

h1.lines {
	border-top: 2px #1d1d1b solid;
	border-bottom: 1px #1d1d1b solid;
	margin-bottom: 20px !important;
	padding: 10px 0;
	text-transform: none !important;
}

h1.lines.contact {
  margin-bottom: 0 !important;
}

h1.margin {
	margin-bottom: 30px;
}

h1.toimitusehdot {
	border-bottom: 1px #8e8e8d solid;
	color: #000 !important;
	font-style: italic;
	font-weight: 500 !important;
	margin-bottom: 20px;
	text-transform: none !important;
}

div.col-2-wide-right p, div.col-2-wide-right ul {
	line-height: 1.2;
	margin-bottom: 10px;
}

h2 {

}

h2.rolling {
	background: url(img/bg_rolling.png) center bottom no-repeat;
	font-size: 0.9375em; /* 15 / 16 */
	font-weight: 100;
	letter-spacing: 1px;
	margin-bottom: 20px;
	padding-bottom: 13px;
	text-transform: uppercase;
}

h2.thin {
	font-size: 1.5625em; /* 25 / 16 */
	font-weight: 100;
	letter-spacing: 2px;
	margin: 20px 0;
	text-align: center;
	text-transform: uppercase;
}

h3 {
}

h4 {
	font-style: italic;
}

img.center {
	display: block;
	margin: 0 auto;
}

div.wrap {
	clear: both;
	margin: 0 auto;
	position: relative;
	width: 1000px;
}

div.wrap.center {
	text-align: center;
}

div.light-brown {
	background: #eee9d2;
	clear: left;
	color: #3f2b1b;
	padding: 72px 0 55px 0;
}

div.light-brown.smallpad {
	padding: 30px 0;
}

div.first-top {
	padding-top: 150px;
}

div.bg-leipomo {
	background: url(img/bg_leipomo.jpg) no-repeat;
	background-size: cover;
	padding: 192px 0 55px 0;
}

div.bg-juhlavinkit {
	background: #EEE9D2 url(img/bg_kakku.jpg) center 100px no-repeat;
	background-size: 100% auto;
	padding: 192px 0 55px 0;
	width: 100%;
}

div.bg-munkit {
	background: url(img/bg_munkit.jpg) center center no-repeat;
	background-size: cover;
	margin-top: 50px;
	padding: 0 0 150px 0;
	width: 100%;
}

div.bg-munkit h1 {
	color: #fff;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

div.breads {
	background: url(img/bg_leivat.jpg) center center no-repeat;
	background-size: cover;
	padding: 80px 0;
}

div.breads div.wrap, div.wrap.white {
	background: #fff;
	padding: 2%;
}

div.wrap.basic {
	min-height: 300px;
	padding-top: 140px;
}

div.wrap.padding {
	padding: 80px 0;
}

/* ---------------------------------- */

/* Header */

div.header-wrap {
	background: #fff;
	box-shadow: 0 4px 10px -2px rgba(0, 0, 0, 0.3);
	height: 120px;
	position: fixed;
	width: 100%;
	z-index: 10;
}

header {
	margin: 0 auto;
	width: 1000px;
}

header h1 {
	float: left;
	margin: 0;
	padding: 54px 0 0 0;
}

header h1 a {
	background: url(img/sprites.png) no-repeat;
	display: block;
	height: 48px;
	overflow: hidden;
	text-indent: -9999px;
	width: 256px;
}

div.top-menu {
	float: right;
	padding-top: 13px;
}

div.top-menu ul li {
	float: left;
	line-height: 36px;
}

li.cart-item-num {
	color: #fff;
}

li.cart-item-num a {
	background: #000;
	border-radius: 17px;
	color: #fff;
	display: block;
	margin-left: 4px;
	min-width: 14px;
	padding: 0 10px;
	text-align: center;
}

li.cart a { 
	background: url(img/sprites.png) 0 -50px no-repeat; 
	display: block;
	height: 36px;
	margin-left: 20px;
	overflow: hidden;
	text-indent: -9999px;
	width: 36px;
}

li.cart a:hover { background-position: 0 -97px; }

li.account a { 
	background: url(img/sprites.png) -50px -50px no-repeat; 
	display: block;
	height: 36px;
	margin-left: 35px;
	overflow: hidden;
	text-indent: -9999px;
	width: 36px;
}

li.register {
	color: #000;
	font-size: 0.875em; /* 14 / 16 */
	font-style: italic;
	font-weight: 600;
	margin-left: 20px;
}

li.register a {
	color: #000;
}

ul.some {
	float: right;
	margin-top: -4px;
}

ul.some-footer {
	display: none;
	margin-top: 10px;
	text-align: center;
}

ul.some li, ul.some-footer li {
	display: inline-block;
	margin-right: 10px;
}

ul.some li a, ul.some-footer li a {
	display: block;
	height: 34px;
	overflow: hidden;
	text-indent: -9999px;
	width: 34px;
}

li.fb a { background: url(img/facebook_normi.svg) no-repeat; }
li.fb a:hover { background: url(img/facebook_hover.svg) no-repeat; }
li.ig a { background: url(img/instagram_normi.svg) no-repeat; }
li.ig a:hover { background: url(img/instagram_hover.svg) no-repeat; }

/* ---------------------------------- */
div.round-text{
	background: #fff;
  border-bottom: 3px #fff solid;
  right: 17px;
  opacity: 0.83;
  padding: 15px 10px 12px 10px;
  position: absolute;
  /* text-align: center; */
  width: 140px;
	height: 140px;
  display: block;
  border-radius: 50%;
  z-index: 1000;
  display: block;
  top: 154px;
  /* Rotate div */
  -ms-transform: rotate(9deg); /* IE 9 */
  -webkit-transform: rotate(9deg); /* Chrome, Safari, Opera */
  transform: rotate(9deg);
  z-index: 0;
}
div.round-text div{
	color: #3f2b1b;
  text-align: center;
  font-size: 19px;
  width: 100%;
  min-height: 140px;
  display: block;
  align-items: center;
	justify-content: center;
  text-align: center;
  line-height: 1.2;
  padding-top: 15px;
  color: #3f2b1b;
  
  
}
div.round-text div span{
	display: block;
}
span.dec{
	font-size: 30px;
	color: #3f2b1b;
	display: inline-block !important;
}
div.round-text div span{
	color: #3f2b1b;
}
div.round-text span.price{
	display: inline-block !important;
	font-size: 40px;
	font-weight: bold;
	width: 100%;
	color: #3f2b1b;
	
}
/* ---------------------------------- */
/* Main menu */

ul#main-navi {
	border-bottom: 1px #8e8e8d solid;
	border-top: 2px #1d1d1b solid;
	clear: right;
	float: right;
	font-size: 0.9375em; /* 15 / 16 */
	font-weight: 900;
	letter-spacing: 1px;
	margin-top: 10px;
	position: relative;
	text-transform: uppercase;
}

ul#main-navi li {
	float: left;
	position: relative;
}

ul#main-navi li a {
	color: #372819;
	display: block;
	padding: 0 16px;
	line-height: 30px;
	transition: .2s;
}

ul#main-navi a:hover, ul#main-navi > li.selected a {
	background: #402b1b;
	color: #fff;
}

ul#main-navi ul {
	background: #fff;
	display: none;
	font-style: italic;
	font-weight: 100;
	opacity: 0.9;
	padding: 15px;
	position: absolute;
	text-transform: none;
	top: 30px;
	/* width: 155px; */
	width: 200px;
	z-index: 11;
}

ul#main-navi ul li {
	float: none;
	margin-bottom: 5px;
	z-index: 11;
}

ul#main-navi ul li a {
	letter-spacing: normal;
	line-height: normal;
	padding: 0;
}

ul#main-navi ul a:hover {
	background: none;
	color: #372819;
	font-weight: 700;
}

ul#main-navi li.selected ul a {
	background: none;
	color: #372819;
}

ul#main-navi li:hover > ul {
	display: block;
}

nav {
	position: relative;
}

a.mobile-navi {
	display: none;
	position: absolute;
	right: 0;
	top: 55px;
}

/* ---------------------------------- */

/* Search */

/*form.search {
	float: right;
	position: relative;
}

form.search input[type=text] {
	background: #402b1b;
	border: none;
	border-radius: 2px;
	color: #fff;
	font-size: 0.875em; 
	font-style: italic;
	margin-top: 26px;
	padding: 7px 35px 7px 10px;
	width: 133px;
}

form.search input[type=image] {
	position: absolute;
	right: 10px;
	top: 33px;
}*/

form.search {
	padding: 17px 0 0 0;
}

form.search input[type=text] {
	background: url(img/search.png) 2px 4px no-repeat;
	border: 1px #7f7f7e solid;
	font-family: "brandon-grotesque", sans-serif;
	font-size: 0.875em;
	font-style: italic;
	font-weight: 600;
	float: right;
	padding: 2px 5px 2px 25px;
	width: 125px;
}

/* ---------------------------------- */

/* Carousel */

div.carousel-wrap {
	background: url(img/bg_carousel.jpg) center center no-repeat;
	background-size: cover;
	color: #fff;
	min-height: 600px;
	padding-top: 120px;
}

div.carousel-wrap.cafe {
	background: url(img/bg_kahvila.jpg) center center no-repeat;
	background-size: cover;
	min-height: 600px;
}

div.carousel-wrap.herkut {
	background: url(img/bg_herkut.jpg) center center no-repeat;
	background-size: cover;
	min-height: 600px;
}

div.carousel-content {
	margin: 0 auto;
	padding-top: 89px;
	position: relative;
	width: 1000px;
}

div.carousel-wide-content {
	left: 0;
	position: absolute;
	top: 0;
	width: 10000px;
}

div.carousel-mask {
	margin: 0 auto;
	min-height: 360px;
	overflow: hidden;
	position: relative;
	width: 1000px;
}

div.carousel-item {
	float: left;
	width: 1000px;
}

div.carousel-item.only-text {
	background: #402b1b;
	color: #fff;
	float: left;
	min-height: 240px;
	opacity: 0.9;
	padding: 60px;
	width: 880px;
	-webkit-font-smoothing: antialiased; 
	-moz-osx-font-smoothing: grayscale;
}

div.carousel-item.text-img {
	/*background: #402b1b;*/
	background: url(img/bg_transbrown.png);
	color: #fff;
	float: left;
	min-height: 360px;
	/*opacity: 0.9;*/
	width: 1000px;
	-webkit-font-smoothing: antialiased; 
	-moz-osx-font-smoothing: grayscale;
}

div.carousel-item-left {
	background: url(img/bg_textonly.png) bottom center no-repeat;
	/*border-bottom: 1px #fff solid;*/
	border-top: 2px #fff solid;
	font-size: 1.3em; /* 42 / 16 */
	font-weight: 900;
	float: left;
	letter-spacing: 2px;
	line-height: 60px;
	margin-right: 3%;
	padding: 34px 0;
	text-align: center;
	text-transform: uppercase;
	width: 47%;
}

div.carousel-item.text-img div.carousel-item-left {
	background: none;
	border-top: none;
	font-size: 1.5em; /* 24 / 16 */
	font-style: italic;
	font-weight: normal;
	letter-spacing: normal;
	line-height: 1.2em;
	margin-right: 0;
	padding: 5%;
	text-align: center;
	text-transform: none;
	width: 40%;
}

div.carousel-item.text-img div.carousel-item-left p {
	background: url(img/bg_textonly.png) bottom center no-repeat;
	/*border-bottom: 1px #9a8e87 solid;*/
	border-top: 2px #fff solid;	
	padding: 30px 0;
}

div.carousel-item.text-img div.carousel-item-left h1 {
	background: url(img/bg_textonly.png) bottom center no-repeat;
	border-top: 2px #fff solid;
	font-size: 1.5em; /* 24 / 16 */
	font-style: normal;
	font-weight: 900;
	letter-spacing: 2px;
	line-height: 60px;
	margin-bottom: 20px;
	padding: 34px 0;
	text-align: center;
	text-transform: uppercase;
}

div.carousel-item-right {
	float: left;
	font-size: 1.125em; /* 18 / 14 */
	/*margin-left: 3%;*/
	width: 50%;
	position: relative;
}

div.carousel-item-right em {
	font-weight: 100;
	font-size: 	1.33em; /* 24 / 18 */
}

div.carousel-item-right img {
	height: auto;
	width: 100%;
}

div.carousel-item-right a {
	color: #fff;
	text-decoration: underline;
}

div.carousel-item-right p {
	margin-bottom: 20px;
}

div.carousel-item-right.textonly {
	background: #EEE9D2;
	color: #3F2B1B;
	min-height: 290px;
	padding: 5%;
	width: 40%;
}

div.carousel-item-right.nopad {
	background: #EEE9D2;
	color: #3F2B1B;
	min-height: 290px;
}

div.carousel-item-right.textonly p {
	line-height: 1.2;
}

div.carousel-item-right.textonly a {
	color: #3F2B1B;
}

div.carousel-item-right.textonly strong {
	font-weight: 700;
}

div.carousel-navi {
	clear: both;
	padding-top: 19px;
	text-align: center;
}

div.carousel-navi a {
	background: url(img/sprites.png) -150px -50px no-repeat;
	display:inline-block;	
	height: 20px;
	margin-right: 2px;
	outline: none;
	overflow: hidden;
	text-indent: -9999px;
	width: 20px;
}

div.carousel-navi a:hover, div.carousel-navi a.selected { background-position: -100px -50px; }

a.prev {
	background: url(img/sprites.png) -200px -50px no-repeat;
	display: block;
	height: 54px;
	left: -75px;
	outline: none;
	overflow: hidden;
	position: absolute;
	text-indent: -9999px;
	top: 235px;
	width: 54px;
}

a.next {
	background: url(img/sprites.png) -300px -50px no-repeat;
	display: block;
	height: 54px;
	outline: none;
	overflow: hidden;
	position: absolute;
	right: -75px;
	text-indent: -9999px;
	top: 235px;
	width: 54px;
}

a.down {
	background: url(img/sprites.png) -400px -50px no-repeat;
	display: inline-block;
	height: 54px;
	outline: none;
	overflow: hidden;
	text-indent: -9999px;
	width: 54px;
}

div.checkselection {
	font-size: 1.125em; /* 18 / 16 */
	font-style: italic;
	font-weight: 500;
	margin-top: 64px;
}

/* ---------------------------------- */

/* Product categories */

div.product-top {
	clear: both;
	height: 68px;
}

ul.product-categories li {
	float: left;
	font-size: 0.9375em; /* 15 / 16 */
	font-weight: 700;
	line-height: 1.2em;
	margin-bottom: 28px;
	margin-right: 25px;
	position: relative;
	text-transform: uppercase;
}

ul.product-categories a {
	color: #3f2b1b;
}

ul.product-categories li span {
	background: #fff;
	border-bottom: 3px #fff solid;
	left: 20px;
	opacity: 0.83;
	padding: 15px 10px 12px 10px;
	position: absolute;
	text-align: center;
	top: 55px;	
	width: 172px;
}

ul.product-categories li span.two-lines { top: 47px; }

ul.product-categories a:hover span { border-bottom: 3px #3f2b1b solid; }

ul.product-categories img {
	display: block;
}

ul.product-categories-noimg li {
	float: left;
	font-size: 0.9375em; /* 15 / 16 */
	font-weight: 700;
	line-height: 1.2em;
	margin-bottom: 28px;
	margin-right: 0;
	position: relative;
	text-transform: uppercase;
	width: 25%;
}

ul.product-categories-noimg li:nth-child(4n + 5) { clear: left; }

ul.product-categories-noimg a {
	color: #3f2b1b;
}

ul.product-categories-noimg li span {
	background: #fff;
	border-bottom: 3px #fff solid;
	display: inline-block;
	max-width: 193px;
	opacity: 0.83;
	padding: 15px 10px 12px 10px;
	text-align: center;
	width: 90%;
}

ul.product-categories-noimg li span.two-lines { padding: 6px 10px 3px 10px; }

ul.product-categories-noimg a:hover span { border-bottom: 3px #3f2b1b solid; }

span.rajoitus, a.rajoitus { color: #3F2B1B; display: block; font-size: 0.9375em; /* 15 / 16 */ font-weight: 100; line-height: 26px; margin-bottom: 6px; outline: none; padding-left: 34px; text-transform: uppercase; }
span.maidoton, a.maidoton { background: url(img/maidoton.png) no-repeat; }
span.laktoositon, a.laktoositon { background: url(img/laktoositon.png) no-repeat; }
span.vahalaktoosinen, a.vahalaktoosinen { background: url(img/vahalaktoosinen.png) no-repeat; }
span.munaton, a.munaton { background: url(img/munaton.png) no-repeat; }
span.gluteeniton, a.gluteeniton { background: url(img/gluteeniton.png) no-repeat; }

a.rajoitus:hover, a.rajoitus.selected { background-position: 0 -75px; }
div.product-page a.rajoitus:hover { background-position: 0 0; }
div.product-page a.rajoitus.selected:hover { background-position: 0 -75px; }

h1.product_title a {
	display: inline-block;
	float: right;
	margin-left: 5px;
	padding-left: 20px;
}

p.tarkenna {
	letter-spacing: 1px;
	text-transform: uppercase;
}

/* ---------------------------------- */

/* News */

article {
	border-bottom: 1px #858376 solid;
	padding: 20px 0 0 0;
}

article:nth-child(2) { padding-top: 0; }
article:last-child { border-bottom: none; }

article h2 {
	font-size: 1em;
	font-style: italic;
	float: left;
	line-height: 1em;
	margin-bottom: 10px;
	width: 70%;
}

article p {
	clear: both;
	line-height: 1em;
}

article p.date {
	clear: none;
	color: #000;
	float: right;
	font-size: 0.81em; /* 13 / 16 */
	line-height: 1em;
	margin-bottom: 0;
	padding-top: 4px;
}

article a { color: #3f2b1b; }

p.read-more {
	color: #0f7a4f;
	font-size: 0.625em; /* 10 / 16 */
	font-weight: 900;
	letter-spacing: 1px;
	margin-bottom: 10px;
	margin-top: -10px;
	text-align: right;
	text-transform: uppercase;
}

p.read-more a {
	color: #0f7a4f;
}

/* ---------------------------------- */

/* Content */

div.col-2-wide {
	float: left;
	width: 100%;
}

div.col-2-wide-left {
	float: left;
	width: 770px;
}

div.col-2-wide-right {
	color: #3f2b1b;
	float: left;
	padding: 34px 20px;
	width: 190px;
}

div.col-2-wide-right.bg-color {
	background: #eee9d2;	
	min-height: 469px;
}

div.col-2-wide-right.bg-color a {
	color: #3f2b1b;
}

div.col-2-wide-right ul {
	font-style: italic;
}

div.col-2-wide-right ul li {
	margin-bottom: 4px;	
}

div.col-2 {
	float: left;
	width: 50%;
}

div.col-2.first {
	padding-right: 3%;
	width: 47%;
}

div.col-2.second {
	padding-top: 40px;
}

div.col-2 img {
	display: block;
	height: auto;
	width: 100%;
}

img.noscale {
	height: auto;
	width: auto !important;
}

div.col-2.bg-color {
	background: #eee9d2;	
	min-height: 386px;
	padding: 34px 2%;
	width: 46%;
}

div.col-3 {
	float: left;
	width: 33%;
}

div.col-4 {
	float: left;
	width: 25%;
}

/* ---------------------------------- */

/* Kahvilan sivu */

div.cafe-info {
	background: #fff;
	margin-top: 20px;
	margin-bottom: 40px;
	padding: 20px 28px 5px 28px;
}

div.cafe-info h2 {
	font-size: 1.565em; /* 25 / 16 */
	font-style: italic;
}

div.map {
	border: 1px #7b7059 solid;
	margin-bottom: 40px;
	padding: 7px;
}

div#map {
	height: 253px;
}

a.facebook {
	background: url(img/sprites.png) 0 -200px no-repeat;
	display: inline-block;
	height: 34px;
	float: right;
	overflow: hidden;
	text-indent: -9999px;
	width: 34px;
}

a.instagram {
	background: url(img/sprites.png) -50px -200px no-repeat;
	display: inline-block;
	height: 34px;
	float: right;
	margin-left: 15px;
	overflow: hidden;
	text-indent: -9999px;
	width: 34px;
}

h1.lines span.txt {
	float: left;
}

h1.lines.follow {
	line-height: 34px;
	margin-top: 40px;
	padding: 8px 0;
}

div.facebook-feed {
	border: 1px #7b7059 solid;
	margin-bottom: 40px;
	padding: 7px;
}

div#facebook-feed {
	background: #fff;
	height: 300px;
}

.fb_iframe_widget, .fb_iframe_widget span, .fb_iframe_widget iframe[style]  {width: 100% !important;}

div.gallery-wrap {
	clear: both;
	height: 159px;
	overflow: hidden;
	position: relative;
	width: 100%;
	z-index: 1;
}

div.gallery {
	height: 159px;
	left: 0;
	position: absolute;
	top: 0;
	width: 99999px;
	z-index: 1;
}

div.gallery img {
	display: block;
	float: left;
}

div.gallery img:hover {
	opacity: 0.8;
}

div.gallery-navi {
	left: 0;
	position: absolute;
	top: 0;
	z-index: 2;
}

div.gallery-navi a {
	left: 14px;
	position: absolute;
	top: 63px;
}

div.gallery-navi a.prev-gal {
	
}

div.gallery-navi a.next-gal {
	left: 954px;
}

div.fb-item {
	
}

div.fb-item p.date {
	background: url(img/fb_date.png) no-repeat;
	font-size: 0.875em;
	font-weight: 600;
	letter-spacing: 1px;
	line-height: 24px;
	margin-bottom: 2px;
	padding-left: 35px;
}

div.fb-item a.more {
  color: #0F7A4F;
  font-size: 0.625em;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ---------------------------------- */

/* Leipomon sivu */

div.img-txt {
	margin-bottom: 23px;
	/*max-width: 466px;*/
	text-align: left;
}

div.bg-leipomo div.col-2 {
	width: 48% !important;
}

div.bg-leipomo div.col-2:nth-child(2n + 5), div.bg-leipomo div.col-2:nth-child(3) {
	clear: both;
	margin-right: 4%;
	width: 48% !important;
}

/*div.bg-leipomo div.col-2:nth-child(2n + 4) {
	padding-right: 0;
	width: 50%;
}*/

/*div.bg-leipomo div.col-2:nth-child(2n + 4) div.img-txt {
	float: right;
}*/

div.img-txt img {
	height: auto;
	width: 100%;
}

div.img-txt div.caption {
	background: #fff;
	padding: 17px 22px;
}

div.img-txt div.caption h3 {
	font-size: 1.1em;
	font-style: italic;
	margin-bottom: 5px;
}

div.img-txt div.caption p {
	line-height: 1.2;
	margin-bottom: 0;
}

/* ---------------------------------- */

/* Juhlavinkit */

div.banner {
	background: #eee9d2;
	margin-bottom: 30px;
}

div.banner-content {
	padding: 15px 20px;
	text-align: center;
}

div.banner h2 {
	color: #3F2B1B;
	font-size: 1.56em;
	font-weight: 900;
	letter-spacing: 1px;
	line-height: 1.2em;
	text-transform: uppercase;
}

div.banner p {
	margin-bottom: 10px;
}

a.btn {
	background: #fff;
	border: 1px #a29a8c solid;
	color: #000;
	font-size: 1.0625em; /* 17 * 16 */
	font-style: italic;
	font-weight: 500;
	padding: 0 20px;
}

span.btn {
	background: #fff;
	border: 1px #a29a8c solid;
	color: #000;
	display: block;
	font-size: 1.0625em; /* 17 * 16 */
	font-style: italic;
	font-weight: 500;
	margin: 0 auto;
	padding: 0 20px;
	text-align: center;
	width: 70px;
}

a.btn:hover {
	color: #0f7a4f;
	font-weight: 500 !important;
}

section.content table {
	border-bottom: 2px #483a23 solid;
	border-collapse: collapse;
	margin-bottom: 20px;
	text-align: center;
	width: 100%;
}

section.content table tr td, section.content table tr th {
	border-top: 1px #483a23 solid;
}

section.content table tr th {
	text-transform: uppercase;	
}

section.content table tr.order-total td, section.content table tr.order-total th {
	border-top: 2px #483a23 solid;
}

section.content table tr.order-total th {
	font-weight: bold;
}

section.content table th {
	font-weight: 100;
	padding: 2px;
	text-align: left;
	vertical-align: top;
}

/*section.content table tr:nth-child(odd) td {
	padding: 2px;
}*/

div.wc-proceed-to-checkout {
	text-align: right;
}

img.border {
	border: 1px solid #3F2B1B;
	margin-bottom: 20px;
	padding: 5px;
	width: 95% !important;
}

div.products-bottom {
	background: #fff;
	bottom: -565px;
	box-shadow: 0px 4px 10px 2px rgba(0, 0, 0, 0.3);
	cursor: pointer;
	left: 0;
	position: fixed;
	width: 100%;
	z-index: 100;
}

h1.btndown span {
	background: url(img/nuoliylos.png) center right no-repeat;
	padding-right: 50px;
}

/* ---------------------------------- */

/* Ota yhtett� */

div.contact {
	border-bottom: 1px solid #1D1D1B;
	padding-top: 12px;
}

div.breads.contact {
	padding-top: 220px;
}

div.contact h2 {
	font-size: 1em;
	letter-spacing: 1px;
	text-transform: uppercase;
}

div.contact p {
	margin-bottom: 10px;
}

div.contact:first-child {
	border-top: 1px solid #1D1D1B;
}

form.rekry label.gfield_label {
	display: none;
}

form.contact .gfield_description,
li#field_5_16 label,
li#field_6_17 label {
	display: none;
}

form.contact input[type=text], form.rekry input[type=text], form.rekry select {
	border: none;
	border-bottom: 1px solid #1D1D1B;
	color: #3F2B1B;
	font-family: "brandon-grotesque", sans-serif;
	font-size: 1em;
	margin-bottom: 10px;
	width: 100%;
}

form.rekry select { 
	border: 1px solid #1D1D1B;
}

form.contact input.nimi {
	margin-top: 20px;
}

form.contact label {
	display: block;
	font-style: italic;
	font-weight: bold;
}

form.contact li.gchoice label {
	display: inline-block;
}

form.contact textarea, form.rekry textarea {
	border: 1px solid #1D1D1B;
	font-family: "brandon-grotesque", sans-serif;
	font-size: 1em;
	height: 221px;
	margin-bottom: 10px;
	width: 100%;
}

form.contact input[type=submit], form.rekry input[type=submit] {
	background: #1D1D1B;
	border: none;
	color: #fff;
	float: right;
	font-family: "brandon-grotesque", sans-serif;
	font-size: 1em;
	font-style: italic;
	font-weight: bold;
	margin-right: 28px;
	padding: 0 30px;
}

li.gform_validation_container {
	display: none;
}

form.contact li.gfield {
	clear: left;
	float: left;
	margin-right: 3%;
	width: 47%;
}

form.rekry li.gfield {
	width: 50%;
}

div.gform_footer {
	width: 100%;
}

form.rekry div.gform_footer {
	width: 50%;
}

form.contact li.viesti {
	clear: none;
	float: left;
	margin-top: -165px;
}

form.contact li#field_6_5 {
	margin-top: 0;
}

div.validation_message {
	color: red;
}

li.gfield_error {
	border: 1px red solid;
	padding: 2%;
	width: 42%;
}

form.contact li#field_1_6 {
	margin-bottom: 20px;
}

form.contact li#field_1_5 label, form.rekry li#field_2_19 label {
	display: block;
}
	
/* ---------------------------------- */

/* Kauppa / Woocommerce */

input.button, button, .woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt {
	background: #0f7a4f !important;
	color: #fff !important;
	font-style: italic;
	font-weight: 600 !important;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

button.single_add_to_cart_button {
	background: #fff !important;
	color: #000 !important;
}

ul.products li {
	background: #f1eddb;
	float: left;
	margin: 0 2% 2% 0;
	padding-bottom: 20px;
	width: 23%;
}

ul.products li:nth-child(4n+5) { clear: left; }

ul.products li a {
	color: #3F2B1B;
}

ul.products li a:hover img { opacity: 0.7; }

ul.products img {
	aspect-ratio: 230/180;
	display: block;
	height: auto;
	object-fit: cover;
	object-position: center center;
	transition: 0.5s;
	width: 100%;
}

ul.products div.products-img-wrap {
	background: #000;
}

ul.products img.woocommerce-placeholder {
	height: 179px;
}

ul.products li h3 {
	line-height: 1;
	margin: 10px 20px 0 20px;
	min-height: 37px;
	text-transform: lowercase;
	/*text-transform: capitalize;*/
}

ul.products li h3:first-letter { text-transform: uppercase; }

ul.products li h3, ul.products span.price, ul.products form {
	font-style: italic;
	text-align: center;
}


ul.products form {
	text-align: center;
}

ul.products div.quantity {
	margin-left: 40px;
}

ul.products input[type=number] {
	margin-bottom: 10px;
}

ul.products span.price, span.price {
	display: block;
	font-style: italic;
	font-weight: bold;
	padding-bottom: 10px;
	text-align: center;
}

a.add_to_cart_button {
	background: #fff;
	border: 1px #3F2B1B solid;
	color: #3F2B1B;
	font-style: italic;
	font-weight: bold;
	display: block;
	margin: 18px auto;
	text-align: center;
	width: 150px;
}

div.related.products {
	display: none;
}

section.related.products {
  clear: both;
  padding-top: 40px;
}

div#reviews, li.reviews_tab, div.product_meta {
	display: none;
}

li.description_tab a, li.ravintosisalto_tab a {
	position: relative;
}

span.tab-plus {
	border: 1px solid #402B1C;
	border-radius: 20px;
	height: 20px;
	line-height: 20px;
	position: absolute;
	right: 0;
	text-align: center;
	top: 3px;
	width: 20px;
}

div.images {
	float: left;
	position: relative;
	width: 50%;
}

div.summary, div.woocommerce-tabs {
	display: none;	
	float: left;
	width: 50%;
}

div.images img {
	height: auto;
	width: 90%;
}

div.images img.attachment-shop_thumbnail {
	height: auto;
	width: 20%;
}

button.single_add_to_cart_button {
	border: 1px solid #402b1c !important;
	background: #fff;
	border: none;
	color: #402b1c;
	font-family: "brandon-grotesque",sans-serif;
	font-size: 1em;
	font-style: italic;
	font-weight: 500;
	padding: 0 10px;
}

div.quantity {
	float: left;
	width: 150px;
}

div.quantity input {
	font-family: "brandon-grotesque",sans-serif;
	font-size: 1em;
	padding: 0 2;
	width: 80%;
}

div.woocommerce-tabs {
	float: right;
	margin-top: 20px;
}

section.content div.woocommerce-tabs table {
	border-bottom: none;
	width: 100%;
}

section.content div.woocommerce-tabs th {
	background: none;
	color: #483A23;
	font-weight: bold;
	padding-left: 0;
	text-align: left;
}

section.content div.woocommerce-tabs th:first-child {
	width: 150px;
}

section.content div.woocommerce-tabs td {
	border: none;
	text-align: left;
	vertical-align: top;
}

ul.tabs {
	border-bottom: 1px #402b1c solid;
}

ul.tabs a {
	border-top: 1px #402b1c solid;
	color: #402b1c;
	display: block;
	font-weight: 100;
	outline: none;
	padding: 2px 0;
	text-transform: uppercase;
}

li.description_tab div.panel {
	display: none !important;
}

li.description_tab div.show-tab {
	display: block !important;
}

div.panel h2 {
	display: none;
}

mark.count {
	display: none;
}

p.woocommerce-result-count {
	display: none;
}

form.woocommerce-ordering {
	display: none;
}

p.out-of-stock {
	display: none;
}

div.woocommerce-message {
	background: #0f7a4f;
	box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.6);
	color: #fff;
	left: 0;
	padding: 10px 20px;
	position: absolute;
	text-align: center;
	top: 0;
	/*width: 200px;*/
}

ul.woocommerce-error {
	background: #EEE9D2;
	color: red;
	margin-top: 20px;
	padding: 10px;
	/*width: 200px;*/
}

div.woocommerce-message a {
	color: #fff;
	display: block;
}

div.social {
	border-bottom: 1px #402B1C solid;
	border-top: 1px #402B1C solid;
	clear: both;
	float: left;
	margin-top: 10px;
	padding: 2px 0;
	width: 90%;
}

div.fb-button {
	float: left;
	margin-right: 20px;
	width: 80px;
}

div.pin-button {
	float: left;
	padding-top: 5px;
	width: 100px;
}

input.qty {
	border: 1px solid #402B1C;
	text-align: center;
	width: 40px !important;
	-webkit-appearance: none; 
  -moz-appearance: textfield;
}

a.plusqty, a.minusqty {
	background: #fff;
	border: 1px #402B1C solid;
	border-radius: 10px;
	color: #402B1C;
	display: inline-block;
	font-style: normal !important;
	height: 20px;
	line-height: 20px;
	text-align: center;
	width: 20px;
}

a.plusqty { margin-left: 5px; }
a.minusqty { margin-right: 5px; }

table.variations td {
	padding: 2px;
	text-align: left;
}

table.variations td select {
	border: 1px #ccc solid;
  font-family: "brandon-grotesque",sans-serif;
  font-size: 1em;
}

li.additional_information_tab {
	display: none;
}

h3.addon-name {
	float: left;
	font-weight: 100;
	text-transform: uppercase;
	/* width: 40%; */
	width: 170px;
}

div.product-addon {
	margin: 0 !important;
}

select.addon-select {
	border: 1px solid #1D1D1B;
	font-family: "brandon-grotesque",sans-serif;
	font-size: 1em;
	width: 60%;
}

textarea.addon-custom-textarea {
	border: 1px solid #1D1D1B;
	font-family: "brandon-grotesque",sans-serif;
	font-size: 1em;
	height: 50px;
	padding: 1%;
	width: 57%;
}

div.lisuke-selitteet {
	display: none;
	height: 90%;
	/*left: 0;
	position: absolute;
	top: 0;*/
	width: 90%;
}

div.lisuke-selite {
	float: left;
	height: 49%;
	margin-bottom: 1%;
	margin-right: 1%;
	text-align: center;
	width: 49%;
}

/*div.lisuke-selite:last-child {
	width: 32.3%;
	margin-right: 0;
}*/

div.lisuke-otsikko {
	background: #402b1c;
	color: #fff;
	font-style: italic;
}

div.lisuke-kuva {
	height: 100%;
	width: 100%;
}

div.lisuke-kuva img {
	display: block;
	height: 100%;
	max-height: 100%;
	width: 100%;
}

h3.addon-name abbr { display: none; } /* pakollinen t�hti */

dl.product-addon-totals dt { 
	display: inline-block;
	float: left;
	font-weight: 100;
	text-transform: uppercase;
	width: 40% !important;
}

/* kategoriasivulta piilotetaan kakun valinnat */
li.product div.product-addon {
	display: none;
}

li.product div#product-addons-total {
	display: none;
}

li.product h2 {
	line-height: 1.2;
	min-height: 86px;
	padding: 10px;
  text-align: center;
}

/* koristeista piilotetaan raaka-aineet yms */
div.product-cat-koristeet ul.tabs {
	display: none;
}

/* fantasiakakku */
li.post-11465 a {
	display: inline-block;
	/*padding-bottom: 103px;*/
}

.woocommerce form.login, .woocommerce form.register {
	background: #f0ecdc;
  border: none !important;
  padding: 20px;
  margin: 2em 0;
  min-height: 245px;
  text-align: left;
  border-radius: 0 !important;
}

input.input-text {
	font-size: 1em;
	padding: 5px 10px;
}

.woocommerce .cart-collaterals, .woocommerce-page .cart-collaterals {
	background: #f0ecdc;
	margin-bottom: 50px;
	padding: 5% !important;
	width: 90% !important;
}

button#email_cart {
  margin-left: 10px;
}

.woocommerce-info {
  border-top-color: #f0ecdc !important;
}

.woocommerce-error, .woocommerce .woocommerce-info, .woocommerce .woocommerce-message {
  padding: 1em 2em 1em 3.5em!important;
  margin: 0 0 2em!important;
  position: relative;
  background-color: #f0ecdc !important;
  color: #515151;
  border-top: 3px solid #f0ecdc;
  list-style: none!important;
  width: auto;
}

.woocommerce-info:before {
  color: #0f7a4f !important;
}

.woocommerce-checkout #payment {
  background: #eee9d2 !important;
  border-radius: 0;
  margin-bottom: 30px;
}

.woocommerce-checkout #payment div.payment_box {
  background-color: #fff !important;
}

.woocommerce-checkout #payment div.payment_box:after {
  display: none !important;
}

form.woocommerce-shipping-calculator {
	display: none;
}

td.product-remove {
	width: 50px;
}

.woocommerce td.product-remove a.remove {
	color: #000 !important;
	font-weight: 300;
	width: auto;
}

.woocommerce td.product-remove a.remove:hover {
	background: none;
	color: red !important;
}

div#wpefield_delivery_date_field {
	background: #F0ECDC;
	padding: 0 2%;
}

div#wpefield_delivery_date_field label {
	font-weight: bold;
}

span.onsale {
	display: none;
}

h3#ship-to-different-address {
	display: block !important;
}

p#orddd_locations_field {
	display: none !important;
}

.woocommerce ul#shipping_method,
p.woocommerce-shipping-destination {
	text-align: left;
}

form.woocommerce-cart-form div.pickup-location-field {
	display: none;
}

td.product-thumbnail img {
	max-width: 100px;
}

p#e_deliverydate_field > label {
	margin-right: 10px;
}

ul.woocommerce-shipping-methods div.pickup-location-field > em {
	display: none;
}

section.up-sells {
	clear: both;
}

/*h3#ship-to-different-address + div.shipping_address {
	display: block !important;
}*/

ul.products .wc-pao-addons-container {
	display: none;
}

/* ---------------------------------- */

/* Footer */

div.footer-wrap {
	padding-top: 10px;
}

footer {
	border-top: 2px #1d1d1b solid;
	border-bottom: 1px #1d1d1b solid;
	clear: both;
	font-size: 0.81em; /* 13 / 16 */
	line-height: 33px;
	margin-top: 65px;
	margin-bottom: 150px;
}

footer p {
	float: left;
	margin-bottom: 0;
	text-align: center;
	width: 100%;
	position: relative;
}
footer p img.email{
    position: absolute;
    top: 10px;
    margin-left: 5px;
}

footer strong {
	font-style: italic;
	letter-spacing: 0.5px;
}

footer form.search input[type=text] {
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
	font-size: 1em;
	margin-top: 0;
}

footer form.search input[type=image] {
	top: 6px;
}

p.ehdot a {
	color: #3F2B1B;
}

p.ehdot a:hover {
	font-weight: bold;
}

/* ---------------------------------- */

/* Form */

form {
	
}

label {
	
}

input, select, textarea {

}

input, select {
	
}

textarea {
}

div.popup input[type=submit] {

}

/* ---------------------------------- */

/* Misc */

.clear {
	clear: both;
	height: 1px;
}

div.message {
	background: #E5FAFF;
	border: 1px #D6D6D6 solid;
	display: none;
	font-style: italic;
	margin: 10px 0 0 0;
	padding: 10px 20px;
}

div.important {
	display: none;
}

div#popup-bg {
	background: #000;
	display: none;
	left: 0;
	position: absolute;
	top: 0;
	z-index: 19;
}

a img {
	border: 0;
}

.mobile {
	display: none;
}

.show-mobile { display: none; }
.hide-mobile { display: block; }

@media only screen and (max-width : 1170px) {
	
	a.prev, a.next {
		display: none;
	}
	
}

@media only screen and (max-width : 1040px) {
		
	div.wrap {
		width: 96%;
	}
	
	div.bg-juhlavinkit {
		background: #f1eddb url(img/bg_kakku.jpg) center 100px no-repeat;
		background-size: auto auto;
	}
	
	/* ---------------------------------- */
	
	/* Header */
	
	div.header-wrap {
		height: 120px;
	}
	
	header {
		width: 96%;
	}

	/* ---------------------------------- */

	/* Main menu */
	
	ul#main-navi li a {
		padding: 0 10px;
	}
	
	/* ---------------------------------- */

	/* Carousel */
	
	/*div.carousel-wrap {
		min-height: 600px;
	}
	
	div.carousel-wrap.cafe {
		min-height: 770px;
	}*/
	
	div.carousel-content {
		/*padding-top: 210px;*/
		width: 96%;
	}
	
	div.carousel-mask {
		/*min-height: 360px;*/
		min-height: 520px;
		width: 100%;
	}
	
	div.carousel-item img, div.carousel-item-right img {
		display: block;
		height: auto;
		width: 100%;
	}
	
	/* ---------------------------------- */

	/* Content */
	
	div.col-2-wide {
		float: left;
		width: 100%;
	}
	
	div.col-2-wide-left {
		clear: both;
		width: 100%;
	}
	
	div.col-2-wide-right {
		clear: both;
		padding: 34px 2%;
		width: 96%;
	}
	
	div.col-2-wide-right.bg-color {	
		margin-bottom: 20px;
		min-height: auto;
	}
	
	div.products-bottom {
		bottom: auto;
		left: auto;
		position: relative;
	}
	
	/* ---------------------------------- */

	/* Product categories */
	
	ul.product-categories li {
		margin-bottom: 3%;
		margin-right: 3%;
		width: 31%;
	}
	
	ul.product-categories li:nth-child(3n) { margin-right: 0; }
	
	ul.product-categories li span {
		bottom: 5%;
		left: 5%;
		top: auto;	
		width: 80%;
	}
	
	ul.product-categories li span.two-lines { bottom: 5%; top: auto; }
	
	ul.product-categories img {
		height: auto;
		width: 100%;
	}
	
	ul.product-categories-noimg li {
		margin-bottom: 3%;
		margin-right: 3%;
		width: 31%;
	}
	
	article h2 {
		margin-bottom: 0;
		width: 100%;
	}

	article p.date {
		clear: left;
		float: left;
		margin-bottom: 10px;
	}
	
	/*div.gallery img {
		clear: left;
		float: none;
		height: auto;
		width: 100%;
	}*/

}
@media only screen and (max-width : 1000px){
	/* ---------------------------------- */

	/* Etusivun slideshow */
	div.round-text{
		width: 30%;
		height: 37%;
	}
	div.round-text div{
		font-size: 15px;
	}
	div.round-text span.price{
		font-size: 32px;
	}
	div.round-text div span{
		font-size: 23px;
	}
}
@media only screen and (max-width : 950px) {
	
	header h1 a {
		background: url(img/logo.png) left center no-repeat;
		background-size: contain;
		height: 48px;
		width: 150px;
	}

}

/* logo nousee yl�s */
@media only screen and (max-width : 820px) {
	/* ---------------------------------- */

	/* Etusivun slideshow */
	div.round-text{
		width: 140px;
		height: 140px;
		top: 27px;
	}
	/* ---------------------------------- */
	header h1 {
		padding: 10px 0 0 0;
	}
	
	/* ---------------------------------- */

	/* Carousel */
	
	div.carousel-wrap {
		min-height: 580px;
	}
	
	div.carousel-content {
		padding-top: 40px;
	}
	
	div.carousel-item-left {
		float: none;
		margin-bottom: 10px;
		padding: 10px 0;
		width: 90% !important;
	}
	
	div.carousel-item-left h1 {
		font-size: 1.11em; /* 20 / 18 */
		line-height: 1.4;
	}

	
	div.carousel-item-right {
		/*display: none;*/
		float: none;
		width: 100%  !important;
	}
	
	div.carousel-item-right.textonly {
		width: 90% !important;	
	}
	
	div.carousel-item-right p {
		line-height: 1;
		margin-bottom: 10px;
	}
	
	div.carousel-item-right em {
		font-size: 	1em; /* 18 / 18 */
	}

}


/* etusivun uutisen menee alekkain */
@media only screen and (max-width : 700px) {
	
	div.col-2 {
		clear: both;
		float: none;
		width: 100%;
	}
	
	div.col-2.first {
		padding-right: 0;
		width: 100%;
	}
	
	div.col-2.second {
		padding-top: 0;
	}
	
	div.bg-leipomo div.col-2 {
		width: 100% !important;
	}
	
	div.bg-leipomo div.col-2:nth-child(2n + 5), div.bg-leipomo div.col-2:nth-child(3) {
		margin-right: 0;
		width: 100% !important;
	}
	
	div.col-2.bg-color {
		background: #eee9d2;	
		min-height: auto;
		padding: 34px 2%;
		width: 96%;
	}
	
	div.col-3 {
		clear: both;
		width: 100%;
	}
	
	div.col-4 {
		clear: both;
		width: 100%;
	}
	
	ul.products li {
		margin: 0 2% 2% 0;
		width: 48%;
	}
	
	div.img-txt {
		max-width: 100%;
	}
	
	div.img-txt img {
		width: 100%;
	}
	
	div.header-wrap {
		margin-bottom: -120px;
		position: relative;
	}
	
	div.wrap.basic {
		padding-top: 100px;
	}

}

/* p��valikon piilotus */
@media only screen and (max-width : 666px) {
	ul#main-navi {
		display: none;
		background: #372819;
		border-bottom: none;
		border-top: none;
		clear: right;
		float: none;
		left: 0;
		margin-top: 10px;
		padding: 20px 5%;
		position: absolute;
		top: 93px;
		width: 90%;
	}
	
	ul#main-navi li {
		float: none;
	}
	
	ul#main-navi li a {
		border-bottom: 1px solid #fff;
		color: #fff;
		display: block;
		padding: 0 0;
		line-height: 30px;
	}
	
	ul#main-navi ul {
		background: #372819;
		display: block;
		font-style: italic;
		font-weight: 100;
		opacity: 0.9;
		padding: 10px 10px 15px;
		position: relative;
		text-transform: none;
		top: auto;
		width: 155px;
		z-index: 11;
	}
	
	ul#main-navi ul li a {
		border-bottom: none;
	}
	
	ul#main-navi a:hover, ul#main-navi li.selected a {
		background: #372819;
		color: #fff !important;
	}
	
	ul#main-navi li.selected ul a {
		background: none;
		color: #fff;
	}
	
	a.mobile-navi {
		display: block;
	}
}

@media only screen and (max-width : 650px) {
	ul.some {
		display: none;
	}

	ul.some-footer {
		display: block;
	}
	div.round-text{
		top: 10%;
	}
}

/* 650 */

/* p��valikko kahdella rivill� */
@media only screen and (max-width : 633px) {

	/*div.header-wrap {
		height: 140px;
	}*/
	
	p.ingres-center {
		padding: 0 2%;
	}
	
	footer p {
		line-height: 2;
		text-align: center;
		width: 100%;
	}
	
	footer form.search input[type=text] {
		font-size: 1em;
		margin-top: 2px;
	}

	form.search {
		visibility: hidden;
	}

	li.product h2 {
		min-height: 0;
	}
}
@media only screen and (max-width : 535px){
	div.round-text {
    	top: 10px !important;
	}
}
/* liity / kirjaudu h�vi�� */
@media only screen and (max-width : 480px) {
	div.round-text {
	    top: 60px !important;
	    right: 20px;
	    width: 120px;
	    height: 120px;
	}
	div.round-text div {
	    font-size: 13px;
	}
	div.round-text span.price {
	    font-size: 26px;
	}
	div.round-text div span, span.dec {
	    font-size: 19px;
	}
	li.register { 
		/*display: none;*/
		background: url('img/sprites.png') -50px -50px no-repeat;
		color: #fff;
		width: 50px;
	}
	
	li.register a {
		display: block;
		text-indent: -9999px;
	}
	
	li.cart a { 
		margin-left: 4px;
	}
	
	ul#main-navi {
		font-size: 0.8em;
	}
	
	/* ---------------------------------- */

	/* Product categories */
	
	ul.product-categories li {
		margin-bottom: 3%;
		margin-right: 2%;
		width: 48%;
	}
	
	ul.product-categories li:nth-child(3n) { margin-right: 2%; }
	
	ul.product-categories li span {
		bottom: 5%;
		left: 0;
		top: auto;	
		width: 88.5%;
	}
	
	ul.product-categories li span.two-lines { bottom: 5%; top: auto; }
	
	ul.product-categories img {
		height: auto;
		width: 100%;
	}
	
	ul.product-categories-noimg li {
		margin-bottom: 3%;
		margin-right: 0;
		width: 100%;
	}
	
	ul.product-categories-noimg li span {
		display: block;
		margin: 0 auto;
		max-width: none;
		width: 90%;
	}
	
	.mobile {
		display: inline-block;	
	}
	
	ul.products li {
		margin: 0 0 2% 0;
		width: 100%;
	}
	
	div.images, div.symmary {
		width: 100%;
	}
	
	div.images img {
		width: 100%;
	}
	
	div.social {
		margin-bottom: 20px;
		width: 100%;
	}
	
	div.summary, div.woocommerce-tabs {
		float: none;
		width: 100%;
	}
	
	div.carousel-item.text-img div.carousel-item-left h1 {
		font-size: 1.1em;
		line-height: 50px;
	}
	
	div.col-2-wide.bg-color {
		text-align: center;
	}
	
	.show-mobile { display: block; }
	.hide-mobile { display: none; }
	
	div.carousel-navi {
		padding-bottom: 15px;
	}
	
	div.carousel-mask {
		min-height: 640px;
	}
	
	div.col-2 h1 { 
		text-align: center;
	}
	
	h1.btndown span {
		background: none;
		padding-right: 0;
	}
	
	div.carousel-item-right.textonly p {
		font-size: 0.6em;
		line-height: 1.2;
	}
}