/* 
Theme Name: Ottobre
Theme URI: http://www.ottobre.fi/
Description: Ottobre theme
Version: 1.0
Author: Ottobre
Author URI: http://www.ottobre.fi/
*/

/* 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; }
article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, mark, time { display:block; }
table { border-spacing: 0; border-collapse: collapse; }

/* Fonts
font-family: 'Source Sans Pro', sans-serif; 300 / 700
font-family: 'Source Serif Pro', serif; 400 / 700
font-family: 'Lora', serif; 400
*/

/* Global */
* {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body, html {
  height: 100%;
  font-size: 18px;
  /*font-family: "Trebuchet MS", "Trebuchet", sans-serif;*/
  font-family: 'Source Sans Pro', serif;
  /*font-weight: 100;*/
  font-weight: 300;
  color: #000;
  margin: 0;
}

h1 {
  font-size: 26px;
  /*font-style: italic;*/
  margin-bottom: 20px;
}

body.checkout h1,
body.checkout_2 h1,
body.checkout_suc h1 {
  margin-bottom: 50px;
}

h2 {
	font-size: 22px;
	font-weight: 700;
	letter-spacing: 0.5px;
	margin-bottom: 18px;
}

body.checkout h2.subscriber,
body.checkout_2 h2.subscriber {
  margin-bottom: 40px;
}

div.description h2 {
	font-size: 18px;
	font-weight: bold;
	letter-spacing: normal;
}

h2.black {
  color: #000 !important;
}

h3 {
	font-size: 18px;
	font-weight: normal;
	margin-bottom: 18px;
}

h4 {
	font-size: 16px;
	margin-bottom: 0;
}

p {
  font-size: 16px;
  line-height: 1.4; 
  margin-bottom: 20px;
}

p.ingres,
div.content.center h1 + p {
	/*color: #a8a8a8;*/
  /*color: #5f5f5f;*/
  color: #000;
}

p.ingres a {
  color: #999 !important;
}

p.ingres.renewal { color: #f00 !important; }

div.content ul {
	font-size: 16px;
  line-height: 19px;
  list-style: disc; 
  margin-bottom: 20px;
  padding-left: 20px;
}

div#magazine-choices ul {
  list-style: none;
  padding-left: 0;
}

div.content div.gform_wrapper ul { padding-left: 0; }

div.content ul li { margin-bottom: 10px; }

a {
  color: #000;
}

a.btn {
  background: #b4cf13;
  color: #fff;
  display: inline-block;
  padding: 10px;
  text-decoration: none;
}

a.btn:hover { opacity: 0.8; }

a.btn-home-fr,
a.btn-home-nl { font-size: 13px; }

a.btn.e-issue {
  background: #fff;
  border: 2px solid #ff9999;
  box-sizing: border-box;
  color: #ff9999;
  display: inline-block;
  padding: 8px 10px;
}

a.btn.btn-white {
  background: #fff;
  border: 2px solid #000;
  box-sizing: border-box;
  color: #000;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
  width: 100%;
}

a.btn.btn-dark {
  background: #000;
  border: 2px solid #000;
  box-sizing: border-box;
  color: #fff !important;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
  width: 100%;
}

span.sold-out {
  border: 1px solid #ec6446;
  box-sizing: border-box;
  color: #ec6446;
  display: inline-block;
  padding: 8px 10px;
}

div.col_1-2 ul {
	list-style: disc;
	margin-bottom: 20px;
	padding-left: 20px;
}

div.col_1-2 ul.iti__country-list {
  list-style: none;
  padding-left: 0;
}

strong {
	font-weight: 900;
}

/* Buttons */
a.button,
input.button {
  display: inline-block;
  background: #fff;
  padding: 12px 10px 13px 10px;
  color: #606060;
  text-decoration: none;
  font-weight: bold;
  box-sizing: border-box;
  cursor: pointer;
}

input.button {
  max-width: 400px;
  text-transform: uppercase;
  width: 100%;
}
/*a.button:hover { background-color: #e3f9ff !important; }*/

a.button.gray { background: #5f5f5f; color: #fff !important; }
a.button.dark-gray, input.button.dark-gray { background: #383838; border: none; color: #fff !important; padding: 12px 10px 13px 10px !important; font-size: 16px !important; }
a.button.dark-gray-border { box-sizing: border-box; border: 2px solid #383838; background: #fff; color: #383838 !important; font-size: 16px; }
/*a.button.gray:hover { background-color: #808080; }*/

a.button.blue { background: #87ceeb; color: #fff !important; }
a.button.blue2 { background: #0ebfe9; color: #fff !important; }
/*a.button.blue:hover { background: #70b9eb; }*/

a.button.yellow { background: #ffcc00; color: #fff !important; }
/*a.button.yellow:hover { background: #f4a000; }*/

a.button.red { background: #F54D70; color: #fff !important; }
/*a.button.red:hover { background: #ff8397; }*/

a.button.pink { background: #ffcccc; color: #fff !important; }
/*a.button.pink:hover { background: #ff8397; }*/

a.button.lime { background: #bee554; color: #fff !important; }

a.button.fb-blue { background: #3b5998; color: #fff !important; }

a.button.teal { background: #009999; color: #fff !important; }

a.button:hover,
input.button:hover {
	opacity: 0.8; 
}

a.button.block { display: block; }
a.button.center { text-align: center; }

a.button.arrow {
  padding-right: 40px;
  background-image: url(img/ui/arrow-right-small.png);
  background-repeat: no-repeat;
  background-position: center right;
}

a.button.upper {
  text-transform: uppercase;
}

a.button2{
	display: block;
  padding: 12px 10px 13px 10px;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  box-sizing: border-box;
  cursor: pointer;
  text-transform: uppercase;
  margin: 0 auto;
  width: 65%;
  margin-top: 30px;
}
a.button2.green{ background: #b4cf13;}
a.button2.green:hover{ opacity: 0.8; }
a.button2.blue{ background: #63d1f4;}
a.button2.blue:hover{ background: rgba(101, 212, 245, 0.68);}
a.button2.grey{ background: #999999;}
a.button2.grey:hover{ background: rgba(153, 153, 153, 0.7);}

div.col_1-3 a.button2{	
	width: 100%;
}

a.button span.arrow {
  position: relative;
  width: 22px;
  height: 18px;
  display: inline-block;
  top: 4px;
  margin-left: 3px;
  background: url(img/ui/button-arrow.png) no-repeat;
}

div.very-imporant {
  display: none;
}

/* Colors */

nav#sub-menu { background-color: #ebebeb; }

/* Color 1 */
body.color-1 div.content h1,
body.color-1 h2,
body.color-1 div.content a,
nav#main-menu ul li:nth-child(5n+2) a:hover, 
nav#main-menu ul li:nth-child(5n+2).current a { 
  /*color: #f54c6e; */
  color: #ecd5ca;
}
/*body.color-1 nav#sub-menu { background-color: #ffb6c1; }*/
body.color-1 nav#sub-menu { background-color: #ecd5ca; }
/*body.color-1 nav#sub-menu ul li:hover { background-color: #ff8397; }
body.color-1 nav#sub-menu ul li.current { background-color: #f54d70; }*/

/* Color 2 */
body.color-2 div.content h1,
body.color-2 h2,
body.color-2 div.content a,
nav#main-menu ul li:nth-child(5n+3) a:hover, 
nav#main-menu ul li:nth-child(5n+3).current a { 
  color: #ffdab9; 
}
body.color-2 nav#sub-menu { background-color: #ffdab9; }

/* Color 3 */
body.color-3 div.content h1,
body.color-3 h2,
body.color-3 div.content a,
nav#main-menu ul li:nth-child(5n+4) a:hover, 
nav#main-menu ul li:nth-child(5n+4).current a { 
  color: #63d1f4;
}
body.color-3 nav#sub-menu { background-color: #63d1f4; }
/*body.color-3 nav#sub-menu ul li:hover { background-color: #34c6f5; }
body.color-3 nav#sub-menu ul li.current { background-color: #01b8f2; }*/
body.color-3 div.content h1 {
  color: #000;
  font-family: 'Lora', serif;
  font-weight: 400;
}

/* Color 4 */
body.color-4 div.content h1,
body.color-4 h2,
body.color-4 div.content a,
nav#main-menu ul li:nth-child(5n+5) a:hover, 
nav#main-menu ul li:nth-child(5n+5).current a { 
  color: #ffc125; 
}
body.color-4 nav#sub-menu { background-color: #ffc125; }
/*body.color-4 nav#sub-menu ul li:hover { background-color: #ffba2c; }
body.color-4 nav#sub-menu ul li.current { background-color: #ffb00f; }*/
body.color-3 div.content h1,
body.color-4 div.content h1,
body.color-5 div.content h1,
div.content.center h1,
body.color-1 div.content h1 {
  color: #000 !important;
  font-family: 'Lora', serif;
  font-weight: 400;
}

/* Color 5 */
body.color-5 div.content h1,
body.color-5 h2,
body.color-5 div.content a,
nav#main-menu ul li:nth-child(5n+6) a:hover, 
nav#main-menu ul li:nth-child(5n+6).current a { color: #000; }
body.color-5 nav#sub-menu, body.parent-pageid-308 nav#sub-menu { background-color: #ecd5ca; }
body.page-myottobre div.content a { color: #000; }

/* Color 6 */
body.color-6 nav#sub-menu { background-color: #b4cf13; }

body.color-3 nav#sub-menu ul li.current a,
body.color-3 nav#sub-menu ul li a:hover { border-bottom: 2px solid #000; }
body.color-4 nav#sub-menu ul li.current a,
body.color-4 nav#sub-menu ul li a:hover { border-bottom: 2px solid #000; }
body.color-5 nav#sub-menu ul li.current a,
body.color-5 nav#sub-menu ul li a:hover { border-bottom: 2px solid #000; }
body.color-6 nav#sub-menu ul li.current a,
body.color-6 nav#sub-menu ul li a:hover { border-bottom: 2px solid #000; }
body.color-1 nav#sub-menu ul li.current a,
body.color-1 nav#sub-menu ul li a:hover { background: none; border-bottom: 2px solid #000; }

body.page-osallistumislomake nav#sub-menu li:first-child a,
body.page-saannot nav#sub-menu li:first-child a,
body.page-entry-form nav#sub-menu li:first-child a,
body.page-rules nav#sub-menu li:first-child a,
body.page-formulaire nav#sub-menu li:first-child a,
body.page-reglement nav#sub-menu li:first-child a,
body.page-teilnahmeformular nav#sub-menu li:first-child a,
body.page-regeln nav#sub-menu li:first-child a,
body.page-formulario nav#sub-menu li:first-child a,
body.page-normas nav#sub-menu li:first-child a,
body.page-deltagarblankett nav#sub-menu li:first-child a,
body.page-regler nav#sub-menu li:first-child a,
body.page-deelnameformulier nav#sub-menu li:first-child a,
body.page-regels nav#sub-menu li:first-child a {
  border-bottom: none !important;
}

body.page-jalleenmyyjille nav#sub-menu,
body.page-jalleenmyyjaksi nav#sub-menu,
body.page-kiitos-hakemuksestasi nav#sub-menu,
body.page-voor-retailers nav#sub-menu,
body.page-dank nav#sub-menu,
body.page-ik-wil-retailer-worden nav#sub-menu,
body.page-forretailers nav#sub-menu,
body.page-become-retailer nav#sub-menu,
body.page-thank-you nav#sub-menu,
body.page-pour-revendeurs nav#sub-menu,
body.page-je-souhaite-devenir-revendeur nav#sub-menu,
body.page-remercions nav#sub-menu,
body.page-danke nav#sub-menu,
body.page-ich-mochte-gerne-einzelhander nav#sub-menu,
body.page-fuer-einzelhaendler nav#sub-menu,
body.page-para-minoristas nav#sub-menu,
body.page-me-gustaria-vender-las-revistas nav#sub-menu,
body.page-gracias nav#sub-menu,
body.page-for-aterforsaljare nav#sub-menu,
body.page-jag-vill-bli-aterforsaljare nav#sub-menu,
body.page-tack nav#sub-menu {
  display: none;
}

body.page-myottobre div.content.center h1,
body.page-osallistumislomake div.content.center h1:first-child,
body.page-saannot div.content.center h1:first-child,
body.page-teilnahmeformular div.content.center h1:first-child,
body.page-regeln div.content.center h1:first-child,
body.page-deltagarblankett div.content.center h1:first-child,
body.page-entry-form div.content.center h1:first-child,
body.page-rules div.content.center h1:first-child,
body.page-reglement div.content.center h1:first-child,
body.page-formulaire div.content.center h1:first-child,
body.page-formulario div.content.center h1:first-child,
body.page-normas div.content.center h1:first-child,
body.page-regels div.content.center h1:first-child,
body.page-deelnameformulier div.content.center h1:first-child,
body.page-regler div.content.center h1:first-child,
body.page-myottobre-tarinat div.content.center h1:first-child,
body.single-post div.content.center h1:first-child,
body.page-myottobre-verhalen div.content.center h1:first-child,
body.page-les-histoires-myottobre div.content.center h1:first-child,
body.page-myottobre-geschichten div.content.center h1:first-child,
body.page-las-historias-myottobre div.content.center h1:first-child,
body.page-myottobre-historier div.content.center h1:first-child,
body.page-myottobre-stories div.content.center h1:first-child  {
  background: url(img/myOTTOBRE-logo.svg) center center no-repeat;
  background-size: contain;
  height: 84px;
  margin-left: auto;
  margin-right: auto;
  text-indent: -9999px;
  text-transform: none !important;
  width: 200px;
}

/* Hide empty list element */
nav#main-menu li:nth-child(3),
nav#mobile-menu > ul > li:nth-child(3),
nav#main-menu li:nth-child(1),
nav#mobile-menu > ul > li:nth-child(1),
nav#mobile-menu > ul > li:nth-child(6) > ul {
  display: none;
}

/* Header */
div.shipping-banner {
  background: #ebebeb;
  color: #000;
  font-size: 14px;
  font-weight: 700;
  padding: 10px;
  text-align: center;
}

div.shipping-banner-es {
  background: #005960;
  color: #fff;
}

div.shipping-banner-es a {
  color: #fff;
}

header {
  position: relative;
  /*width: 940px;*/
  margin: 0 auto;
  width: 100%;
}

header.sub-menu-wrap {
	width: 100%;
}

header h1 {
  position: absolute;
  top: 23px;
  left: 0;
  margin: 0;
  padding: 0;
  width: 200px;
  height: 41px;
  z-index: 202;
}
h1.title-2{
	color: #b4cf13;
	margin-bottom: 20px;
}

header h1 a {
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  background: url(img/ui/ottobre-logo.png) no-repeat;
  background-size: contain;
  text-indent: -9999px;
  overflow: hidden;
}

/* Menus */
nav#lang-menu {
  position: absolute;
  top: 23px;
  right: 170px;
  /*right: 0;*/
  border: solid 1px #d0d0d0;
  padding: 2px 9px 3px 7px;
  color: #606060;
  font-size: 14px;
  cursor: pointer;
  box-sizing: border-box;
  background: #fff;
  width: 160px;
  z-index: 320;
}

body.shop nav#lang-menu { right: 170px; }

nav#lang-menu div.current-lang {
  background: url(img/nuoli_pieni.svg) no-repeat center right;
  background-size: 12px;
}

nav#lang-menu.open div.current-lang {
  background-image: url(img/nuoli_pieni_ylos.svg);
}

nav#lang-menu ul {
  display: none;
}

nav#lang-menu ul li {
  margin: 6px 2px;
}

nav#lang-menu ul li.current {
  display: none;
}

nav#lang-menu ul li a {
  color: #606060;
  text-decoration: none;
}

nav#lang-menu ul li a:hover {
  text-decoration: underline;
}

nav#main-menu {
  position: relative;
  /*padding-top: 80px;*/
  padding-top: 120px;
  margin-bottom: 20px;
  text-align: center;
  width: 100%;
}

nav#main-menu ul {
  width: 100%;
  text-align: center;
  padding-left: 0;
}

nav#main-menu ul li {
  display: inline-block;
  margin: 0 30px;
  min-width: 110px;
  vertical-align: top;
}

nav#main-menu ul li a {
  text-transform: uppercase;
  color: #000;
  font-size: 16px;
  text-decoration: none;
  font-weight: 300;
  letter-spacing: 1px;
  padding-bottom: 6px;
}

nav#main-menu ul li.current a {
  font-weight: 600;
}

nav#main-menu ul ul {
  display: none;
}

nav#main-menu ul li:nth-child(1) a:hover, 
nav#main-menu ul li:nth-child(1).current a {
  border-bottom: 2px solid #ffc125;
  color: #000;
}

nav#main-menu ul li:nth-child(5n+8) a:hover, 
nav#main-menu ul li:nth-child(5n+8).current a {
  border-bottom: 2px solid #ecd5ca;
  color: #000;
}

nav#main-menu ul li:nth-child(5n+7) a:hover, 
nav#main-menu ul li:nth-child(5n+7).current a {
  border-bottom: 2px solid #b4cf13;
  color: #000;
}

nav#main-menu ul li:nth-child(5n+6) a:hover, 
nav#main-menu ul li:nth-child(5n+6).current a {
  border-bottom: 2px solid #ecd5ca;
  color: #000;
}

nav#main-menu ul li:nth-child(5n+5) a:hover, 
nav#main-menu ul li:nth-child(5n+5).current a {
  border-bottom: 2px solid #ffc125;
  color: #000;
}

nav#main-menu ul li:nth-child(5n+4) a:hover, 
nav#main-menu ul li:nth-child(5n+4).current a {
  border-bottom: 2px solid #63d1f4;
  color: #000;
}

nav#main-menu ul li:nth-child(2) a:hover, 
nav#main-menu ul li:nth-child(2).current a {
  border-bottom: 2px solid #ecd5ca;
  color: #000;
}

nav#main-menu ul li:nth-child(6) a {
  background: url(img/myOTTOBRE-logo.svg) center bottom no-repeat;
  background-size: contain;
  display: block;
  height: 28px;
  overflow: hidden;
  position: relative;
  text-indent: -9999px;
  width: 80px;
  z-index: 2;
}

nav#main-menu ul li:nth-child(6) a:hover,
nav#main-menu ul li:nth-child(6).current a {
  border: none;
  z-index: 2;
}

nav#main-menu ul li:nth-child(6):hover a:after,
nav#main-menu ul li:nth-child(6).current a:after,
body.single-post nav#main-menu ul li:nth-child(6) a:after {
  background: #ecd5ca;
  bottom: 2px;
  content: '';
  height: 2px;
  left: 0;
  position: absolute;
  width: 80px;
  z-index: 1;
}

nav#sub-menu {
  margin-bottom: 6px;
  height: 65px;
  box-sizing: border-box;
}

body.page-myottobre-tarinat nav#sub-menu,
body.single-post nav#sub-menu,
body.page-myottobre-verhalen nav#sub-menu,
body.page-les-histoires-myottobre nav#sub-menu,
body.page-myottobre-geschichten nav#sub-menu,
body.page-las-historias-myottobre nav#sub-menu,
body.page-myottobre-historier nav#sub-menu,
body.page-myottobre-stories nav#sub-menu,
body.page-saannot nav#sub-menu,
body.page-rules nav#sub-menu,
body.page-regels nav#sub-menu,
body.page-reglement nav#sub-menu,
body.page-regeln nav#sub-menu,
body.page-normas nav#sub-menu,
body.page-regler nav#sub-menu {
  display: none;
}

nav#sub-menu ul {
  text-align: center;
  height: 100%;
}

nav#sub-menu ul li {
  display: inline-block;
  padding: 22px 35px 0 35px;
}

nav#sub-menu ul li a {
  display: block;
  width: 100%;
  color: #000;
  font-weight: 300;
  font-size: 16px;
  padding-bottom: 6px;
  text-decoration: none;
  box-sizing: border-box;
}

nav#sub-menu-2 {
  margin-bottom: 6px;
  box-sizing: border-box;
  margin-bottom: 50px;
}

nav#sub-menu-2 ul {
  text-align: center;
  height: 100%;
}

nav#sub-menu-2 ul li {
  height: 100%;
  display: inline-block;
  margin: 0 10px 10px 0;
}

nav#sub-menu-2 ul li a {
	background-color: #95e0ff;
  display: block;
  width: 100%;
  height: 100%;
  color: #fff;
  font-weight: bold;
  font-size: 16px;
  text-decoration: none;
  box-sizing: border-box;
  padding: 12px 15px;
}

nav#sub-menu-2 ul li a:hover, nav#sub-menu-2 ul li.current a {
	background-color: #1294ca;
}

nav#mobile-menu {
  display: none;
  position: absolute;
  top: 80px;
  left: 0;
  width: 100%;
  z-index: 310;
}

nav#mobile-menu div.mobile-menu-open {  
  border: solid 1px #d0d0d0;
  padding: 10px 15px;
  box-sizing: border-box;
  color: #606060;
  background: url(img/ui/hamburger.png) no-repeat center right 18px;
  cursor: pointer;
  font-weight: bold;
}

nav#mobile-menu ul {
  display: none;
  position: absolute;
  top: 40px;
  left: 0;
  width: 100%;
  box-sizing: border-box;
  background: #fff;
  border: solid 1px #d0d0d0;
  border-top: 0;
  padding-bottom: 13px;
}

nav#mobile-menu ul li {
  margin: 5px 15px;
}

nav#mobile-menu ul li a {
  text-decoration: none;
  text-transform: uppercase;
  color: #000;
}

nav#mobile-menu ul li a:hover {
  text-decoration: underline;
}

nav#breadcrumbs {
  margin-bottom: 20px;
}

nav#breadcrumbs ul li {
  display: inline-block;
  margin: 0;
}

nav#breadcrumbs ul li a {
  text-decoration: none;
  font-weight: normal;
  color: #000;
  font-size: 12px;
  letter-spacing: -0.005em;
}

nav#breadcrumbs ul li a:hover {
  text-decoration: underline;
}

nav#breadcrumbs ul li:after {
  content: "\003E";
  display: inline-block;
  margin-left: 4px;
  margin-right: 4px;
}

nav#breadcrumbs ul li.back:before {
  content: "\003C";
  display: inline-block;
  margin-right: 2px;
  color: #606060;
}

nav#breadcrumbs ul li.back:after {
  content: "\007C";
  display: inline-block;
  font-size: 14px;
  margin-right: 3px;
  margin-left: 3px;
}

nav#breadcrumbs ul li.back a, nav#breadcrumbs ul li.back, nav#breadcrumbs ul li.back1, nav#breadcrumbs ul li.back1 a{
	color: #606060 !important; 
}

nav#breadcrumbs ul li a {
  text-transform: uppercase;
}

nav#breadcrumbs ul li:last-child a {
  text-transform: none;
}

nav#breadcrumbs ul li.current:after {
  content: "";
  display: inline-block;
}

/*nav#breadcrumbs ul li.current a {
  font-weight: bold;
}*/

nav#breadcrumbs ul li.current_before a {
  text-transform: none;
  color: #606060 !important; 
}
nav#breadcrumbs ul li.current_before:after{
  content: "\003E";
  display: inline-block;
  margin-left: 2px;
  margin-top: 4px;
  color: #606060 !important; 
  font-weight: 100;
}

nav#site-map {
  width: 920px;
  /*width: 100%;*/
	color: #a8a8a8;
  margin: 68px auto 0 auto;
}

nav#site-map ul {
	padding: 0;
}

nav#site-map > ul > li {
  box-sizing: border-box;
  float: left;
  max-width: 184px;
  padding: 0 55px 0 0;
  box-sizing: border-box;
  line-height: 1.25;
}

nav#site-map > ul > li:last-child { width: 23.2%; padding: 0; }
nav#site-map > ul > li:last-child strong{ width: 100%; padding: 0; }

nav#site-map ul li {
  margin-bottom: 4px;
}

nav#site-map ul li a {
  text-decoration: none;
  font-size: 16px;
  color: rgb(168, 168, 168);
  font-weight: 100;
   line-height: 1;
  /*white-space: nowrap;*/
}

nav#site-map > ul > li > a {
  display: block;
  text-transform: uppercase;
  font-weight: 300;
  font-size: 18px;
  margin-bottom: 4px;
}

nav#site-map > ul > li:last-child > a { font-weight: normal; text-transform: none; }

nav#site-map ul li.current a, nav#site-map ul li a:hover {
  color: #000;
}

nav#site-map img {
	box-shadow: 2px 2px 18px rgba(0, 0, 0, 0.3);
	float: left;
	margin-right: 12px;
}

a.btn-checkout-top {
  padding-left: 40px;
  padding-right: 40px; 
  position: absolute;
  right: 0;
  top: 18px;
}

a.btn-checkout-bot {
  left: 0;
  padding-left: 40px;
  padding-right: 40px; 
  position: absolute;
  top: 40px;
}

header.checkout {
  height: 240px;
}

/* Cart */
div#cart {
  display: none;
  position: absolute;
  top: 23px;
  right: 0;
  /*border: solid 1px #d0d0d0;*/
  padding: 2px 6px 3px 6px;
  color: #000;
  font-size: 14px;
  cursor: pointer;
  box-sizing: border-box;
  background: #fff;
  z-index: 330;
}

/*body.shop div#cart {
  display: block;
}*/

div#cart {
  display: block;
}

div#cart.open {
  padding-bottom: 9px;
}

div#cart div.cart-connect-container {
  width: 100%;
  background: #fff;
  box-sizing: border-box;
  position: absolute;
  top: 27px;
  right: 0;
  height: 3px;
  z-index: 101;
}

div#cart div.items-in-cart {
  display: inline-block;
  padding: 0 10px 0 29px;
  background: url(img/ostoskori.svg) no-repeat center left;
}

div#cart div.cart-total {
  display: inline-block;
  padding: 0 25px 0 10px;
  background: url(img/nuoli_pieni.svg) no-repeat center right;
  background-size: 12px;
}

div#cart.open div.cart-total {
  background-image: url(img/nuoli_pieni_ylos.svg);
  background-size: 12px;
}

div#cart div.cart-open {
  display: none;
  position: absolute;
  top: 28px;
  right: -1px;
  border: solid 1px #d0d0d0;
  width: 380px;
  box-sizing: border-box;
  padding: 20px 40px 30px 40px;
  background: #fff;
  z-index: 350;
}

div#cart div.cart-no-items {
  padding: 10px 0 20px 0;
  border-bottom: solid 1px #d0d0d0;
}

div#cart div.cart-items {
  border-bottom: solid 2px #0d0d0d;
  max-height: 250px;
  overflow: auto;
}

div#cart div.cart-open-top {
  border-bottom: solid 1px #d0d0d0;
  margin-bottom: 15px;
  padding-bottom: 20px;
  text-align: center;
  text-transform: uppercase;
}

div#cart div.cart-items div.cart-item {
  border-bottom: solid 1px #d0d0d0; 
  clear: both;
  margin: 0 0 15px 0;
  padding-bottom: 15px;
}

div#cart div.cart-item-img {
  float: left;
  width: 85px;
}

div#cart div.cart-item-img img {
  display: block;
}

div#cart div.cart-items div.cart-item div.cart-item-name {
  float: left;
  font-weight: 600;
  width: 60%;
}

div#cart div.cart-items div.cart-item div.cart-item-price {
 font-weight: normal;
}

div#cart div.cart-open div.cart-open-total {
  border-bottom: solid 1px #d0d0d0;
  padding: 5px 0 15px 0;
  margin: 8px 0 20px 0;
}

div#cart div.cart-open div.cart-open-total div.cart-total-text {
  float: left;
  text-align: left;
  width: 50%;
}

div#cart div.cart-open div.cart-open-total div.cart-total-price {
  float: left;
  font-weight: 600;
  text-align: right;
  width: 50%;
}

div#cart div.cart-open a.button {
  width: 100%;
  text-align: center;
}

div#cart a.cart-open-close {
  background: url(img/ruksi_keskikoko.svg) center center no-repeat;
  background-size: contain;
  height: 20px;
  overflow: hidden;
  position: absolute;
  right: 20px;
  text-indent: -9999px;
  top: 20px;
  width: 20px;
}

header div.message {
  background: #fff;
  border: solid 1px #d0d0d0;
  box-sizing: border-box;
  color: #000;
  display: none;
  font-size: 14px;
  font-weight: bold;
  padding: 20px 40px 30px 40px;
  position: absolute;
  right: -1px;
  text-align: center;
  top: 57px;
  width: 380px;
  z-index: 330;
}

header div.message a.button {
  display: block;
}

span.original-price {
  color: #000;
  text-decoration: line-through;
}

span.sale-price {
  color: #ec6446;
}

.ui-widget {
  font-family: 'Source Sans Pro', serif !important;
}

div.free-issue {
  border-bottom: 2px solid #636363;
  padding: 20px 0;
  text-align: left;
}

div.content div.free-issue p {
  width: 100%;
}

/* Search */

div.search-bg {
  background: rgba(255, 255, 255, 0.8);
  display: none;
  height: 100vh;
  position: absolute;
  top: 200px;
  width: 100%;
  z-index: 301;
}

a.top-search-link {
  background: url(img/etsi_v2.svg) center center no-repeat;
  background-size: contain;
  display: block;
  height: 20px;
  overflow: hidden;
  position: absolute;
  right: 100px;
  text-indent: -9999px;
  top: 25px;
  width: 20px;
  z-index: 301;
}

div.search {
  background: #fff;
  border-bottom: 1px solid #d0d0d0;
  border-top: 1px solid #d0d0d0;
  display: none;
  height: 110px;
  left: 0;
  position: absolute;
  top: 162px;
  width: 100%;
  z-index: 301;
}

body.shop div.search {
  top: 200px;
}

div.search form {
  margin: 0 auto;
  max-width: 80%;
  padding-top: 37px;
  width: 800px;
}

div.search input[type=text] {
  box-sizing: border-box;
  border: none;
  font-family: 'Lora', serif;
  font-size: 26px;
  font-weight: 400;
  outline: none;
  padding: 0;
  text-align: center;
  width: 100%;
}

div.search input[type=submit] {
  display: none;
}

a.search-close {
  background: url(img/rasti_v2.svg) center center no-repeat;
  background-size: contain;
  display: block;
  height: 20px;
  overflow: hidden;
  position: absolute;
  right: 10%;
  text-indent: -9999px;
  top: 45px;
  width: 20px;
}

div.search-magazines {
  padding-top: 50px;
}

p.search-result-count {
  text-transform: uppercase;
}

/* CHECKOUT */

body.checkout h1, body.checkout_2 h1, body.checkout_suc h1 {
  margin-bottom: 15px;
}

div.checkout-navi {
  clear: both;
  padding-top: 100px;
}

div.checkout-navi-end {
  padding-top: 0;
}

.toimitus-lisaa {
  font-size: 16px;
}

header div.checkout-navi h1 {
  color: #000 !important;
  font-family: 'Lora', serif;
  font-weight: 400;
  position: relative;
  top: auto;
  left: auto;
  width: auto;
  height: auto;
  text-align: center;
}

p.checkout-breadcrumb {
  background: #ebebeb;
  box-sizing: border-box;
  min-height: 30px;
  padding: 17px 35px 17px 35px;
}

p.checkout-breadcrumb span.cb-circle {
  background: #fff;
  border-radius: 30px;
  box-sizing: border-box;
  color: #000;
  display: inline-block;
  height: 30px;
  line-height: 28px;
  padding-left: 2px;
  text-align: center;
  width: 30px;
}

p.checkout-breadcrumb span.cb-circle.cb-circle-selected {
  background: #000;
  color: #fff;
}

p.checkout-breadcrumb,
p.checkout-text {
  font-size: 16px;
  text-align: center;
  width: 100% !important;
}

p.checkout-text { 
  margin-bottom: 80px !important;
}

p.checkout-breadcrumb span.rsa {
  padding: 0 20px;
}

p.checkout-breadcrumb a {
  color: #000 !important;
  text-decoration: none;
}

div.col_1_online_payment h2 {
  color: #000;
  font-size: 20px;
}

form#checkoutform,
form#checkoutform p {
  font-size: 16px;
}

form#checkoutform textarea,
form#checkoutform input {
  font-family: "Trebuchet MS", "Trebuchet", sans-serif;
  font-size: 1rem;
  width: 100%;
}

form#checkoutform div.col_1-2:first-child {
  padding-right: 10px;
}

form#checkoutform div.col_1-2:last-child {
  padding-left: 10px;
}

form#checkoutform .ui-selectmenu-button span.ui-selectmenu-text {
  padding: 7px 10px;
}

form#checkoutform h2.gift-subscription {
  margin-top: 60px;
}

form#checkoutform div.checkout-info-box {
  background: #eee; 
  margin: 20px 0 50px 0; 
  padding: 10px;
}

form#checkoutform div.checkout-info-box a {
  color: #000;
}

table.checkout {
  border-bottom: 1px solid #d0d0d0;
  border-collapse: collapse;
  width: 100%;
}

table.checkout h2 {
  margin-bottom: 0;
}

table.checkout a {
  color: #000 !important;
  font-size: 16px;
}

table.checkout td {
  padding: 0 0 25px 0;
}

table.checkout td:last-child {
  text-align: right;
}

div.checkout-details {
  border-bottom: 1px solid #d0d0d0;
  font-size: 16px;
  padding: 25px 0 5px 0;
}

div.content div.checkout-details p {
  font-size: 16px;
  width: 100%;
}

div.checkout-details h3 {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 0;
}

body.checkout .ui-selectmenu-button {
  margin-bottom: 20px;
}

/*body.checkout img.payment-logo {
  left: 280px;
  position: absolute;
  top: -13px;
}*/

body.checkout label.floatkassa span {
  display: inline-block;
  line-height: 50px;
  padding-right: 10px;
  vertical-align: top;
}

body.checkout label.floatkassa span input.chkrad {
  margin-top: 15px !important;
}

body.checkout label.label-paypal span {
  line-height: 25px;
}

body.checkout label.label-paypal span input.chkrad {
  margin-top: 4px !important;
}

body.checkout label.label-creditcard span {
  line-height: 35px;
}

body.checkout label.label-creditcard span input.chkrad {
  margin-top: 8px !important;
}

body.checkout label.floatkassa {
  clear: both;
  position: relative;
}

body.checkout label.floatkassa-noclear {
  clear: none;
}

body.checkout input.continue {
  display: block;
  margin: 0 auto 20px auto;
}

h2.tilausvahvistuksen-tiedot {
  border-top: 1px solid #d0d0d0;
  margin-top: 20px;
  margin-bottom: 50px;
  padding-top: 20px;
  text-transform: uppercase;
}

h3.tilausvahvistuksen-tiedot {
  border-bottom: 1px solid #d0d0d0;
  font-weight: bold;
  padding-bottom: 20px;
}

img.tilausvahvistus-kuva {
  display: block;
  float: right;
  width: 80%;
}

div.payment-logo {
  padding-left: 30px;
}

/* Content */
div.wrap {
  position: relative;
  width: 1180px;
  margin: 0 auto;
}

div.top-border {
	border-top: 1px solid #999;
	margin-top: 40px;
	padding-top: 20px;
}

div.magazine-wrap {
	margin-top: 20px;
}

div.wrap.description {
	padding: 50px 0;
}

div.col_1-2 span.not-active {
  color: #9b9b9b;
  text-decoration: line-through;
}

div.col-title {
  font-size: 22px;
  margin-bottom: 20px;
  font-weight: bold;
}

div.col-row {
  margin-bottom: 55px;
}

div.col-row.border-bottom {
  padding-bottom: 30px;
  border-bottom: solid 1px #ccc;
  margin-bottom: 35px;
}

div.col-row.border-top {
  border-top: solid 1px #ccc;
  padding-top: 30px;
}

div.col_1-2 {
  float: left;
  width: 50%;
  box-sizing: border-box;
}

div.col_1-2.col_1-2-centered {
  float: none;
  margin: 0 auto;
}

div.col_1-2.first {
  padding-right: 1%;
}

div.col_1-2.last {
  padding-left: 1%;
}

div.col-2-left-align {
  border-right: 1px solid #d0d0d0;
  padding-right: 100px;
  text-align: left;
}

div.col-2-left-align-2 {
  padding-left: 100px;
  text-align: left;
}

div.col_1-2.right {
  padding-left: 90px;
}

div.service-form div.col_1-2:nth-child(2n+3) {
  clear: both;
}

div.col_1-3 {
  float: left;
  width: 32%;
  box-sizing: border-box;
  margin: 0 1%;
}

div.col_1-3.first { margin-left: 0; }
div.col_1-3.last { margin-right: 0; }

div.col_1-3.first.slim { padding: 0 6% 0 0; }
div.col_1-3.slim { padding: 0 3%; }
div.col_1-3.last.slim { padding: 0 0 0 6%; }

div.col_1-3.slim h2 {
  margin-bottom: 20px;
  font-size: 20px;
}

div.col_1-3.slim p {
  margin-top: 5px;
}

div.bgcolor-wrap {
  display: flex;
}

div.col_1-3.bgcolor {
  color: #fff;
  flex: 1;
  padding: 35px 35px 15px 35px !important;
}

div.col_1-3.bgcolor h2,
div.col_1-3.bgcolor a {
  color: #fff !important;
}

div.col_1-3.bgcolor.gray h2,
div.col_1-3.bgcolor.gray a {
  color: #000 !important;
}

div.col_1-3.bgcolor.gray a.button2 {
  color: #fff !important;
}

div.col_2_wide_left {
  margin: 0 auto;
  width: 65%;
}

div.col_2_wide_left_404 {
  float: left;
  text-align: right;
  width: 50%;
}

div.col_2_wide_left_customer_service {
  clear: left;
  float: left;
  margin-left: 0;
  width: 50%;
}

div.col_2_wide_left.col_2_wide_left_measurement {
  float: left;
  margin-right: 1%;
  width: 65%;
}

div.col_2_narrow_right {
	float: left;
	width: 33%;
}

div.col_2_narrow_right img {
  height: auto;
  max-width: 100%;
}

div.col_1_online_payment {
  margin: 0 auto;
  max-width: 100%;
  padding-left: 0;
}

div.content div.col_1_online_payment p {
  width: 100%;
}

div.col_table {
  display: table;
  width: 100%;
}

div.col_table div.col_3-4 {
	display: table-cell;
	vertical-align: top;
	width: 73.4%;
}

div.col_table div.col_1-4 {
	display: table-cell;
	vertical-align: top;
	width: 25%;
	border-left: solid 1px #ccc;
	padding-left: 1.6%;
}

div.content {
  margin-bottom: 50px;
}

div.content.content-measurement {
  margin-left: auto;
  margin-right: auto;
  max-width: 800px;
}

div.content.content-measurement h2 {
  color: #000;
  font-size: 32px;
}

div.content.content-measurement p {
  width: 100%;
}

div.content-measurement-text {
  margin-left: auto;
  margin-right: auto;
  max-width: 675px;
  padding-top: 40px;
}

div.content-measurement-text h3 {
  font-size: 28px;
  font-weight: 600;
}

div.center { text-align: center; }

div.content p {
  width: 50%;
  margin: 0 auto 20px auto;
}

body.page-myottobre-tarinat div.content p {
  width: 65%;
}

body.checkout div.content p,
body.checkout_2 div.content p { 
  margin-bottom: 50px;
}

div.content p#center {
  width: 37%;
  margin: 0 auto;
}

div.content.left p {
  width: 100%;
  margin-bottom: 20px;
}

div.content.blog {
  margin: 0 auto;
  width: 50%;
}

div.content.blog p {
  width: 100%;
}

article {
  margin-bottom: 50px;
}

div#landing-blocks {
  position: relative;
  width: 100%;
}

div#landing-blocks div.landing-block {
  position: relative;
  float: left;
  width: 50%;
  min-height: 300px;
  padding: 0 10px 20px 0;
  box-sizing: border-box;
}

div#landing-blocks div.landing-block:nth-child(2n) {
  padding: 0 0 20px 10px;
}

div#landing-blocks div.landing-block a.landing-block-text {
  display: block;
  width: 100%;
  min-height: 300px;
  height: 100%;
  text-align: center;
  box-sizing: border-box;
  padding: 48px 80px 0 80px;
  text-decoration: none;
}

div#landing-blocks div.landing-block a.landing-block-text h1 {
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.6);
  position: relative;
  text-transform: uppercase;
  margin-bottom: 25px;
  z-index: 2;
  font-style: normal;
}

div#landing-blocks div.landing-block a.landing-block-text p {
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.6);
  position: relative;
  font-weight: bold;
  font-size: 18px;
  line-height: 22px;
  z-index: 2;
}

div#landing-blocks div.landing-block a.landing-block-text.pink { background-color: #ffcccc; color: #fff !important; }
div#landing-blocks div.landing-block a.landing-block-text.babyblue { background-color: #bfefff; color: #33b1fc !important; }
div#landing-blocks div.landing-block a.landing-block-text.greenblue { background-color: #006666; color: #fff !important; }
div#landing-blocks div.landing-block a.landing-block-text.blue { background-color: #63d1f4; color: #fff !important; }
div#landing-blocks div.landing-block a.landing-block-text.orange { background-color: #ff9900; color: #fff !important; }
div#landing-blocks div.landing-block a.landing-block-text.yellow { background-color: #fbf333; color: #000 !important; }
div#landing-blocks div.landing-block a.landing-block-text.blue2 { background-color: #009999; color: #fff !important; }


div#landing-blocks div.landing-block a.landing-block-text div.hover {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: rgba(255, 255, 255, 0.3);
}

/* Front magazine */
div.magazine {
  text-align: center;
}

div.magazine a {
	display: block;
  text-decoration: none;
}

div.magazine a:hover, div.magazine a:hover div.text {
  color: #000 !important;
  text-decoration: underline;
}

div.magazine div.image {
  display: inline-block;
  box-shadow: 2px 2px 18px rgba(0, 0, 0, 0.3);
  line-height: 0;
  margin-bottom: 24px;
}

div.magazine div.text {
  font-size: 18px;
  color: #606060;
  font-weight: bold;
}

div.order-magazine {
  /*background: #ffdab9;*/
  background: #f0f0f0;
  padding: 13px;
  box-sizing: border-box;
}

div.order-magazine div.dashed-line {
  /*border: dashed 3px #fff;*/
  padding: 19px;
  box-sizing: border-box;
  text-align: center;
}

div.order-magazine div.dashed-line h1 {
  color: #606060;
  margin-bottom: 30px;
  margin-top: 10px;
}

div.order-magazine div.dashed-line a.button {
  width: 100%;
  margin-bottom: 13px;
}

div.gray-box {
  background: #ebebeb;
  color: #000;
  margin-bottom: 35px;
  padding: 30px 100px;
  text-align: center;
}

div.gray-box p {
  font-family: 'Lora', serif;
  font-size: 1.375rem; /* 22 / 16 */
  font-weight: 400;
  margin-bottom: 0;
  line-height: 1.4;
}

/* Front hover boxes */
div.front-hover-box {
  /*width: 380px;*/
  width: 100%;
  height: 330px;
  display: table;
}

div.front-hover-box a {
  display: table-cell;
  width: 100%;
  height: 100%;
  text-align: center;
  vertical-align: middle;
  box-sizing: border-box;
  padding: 50px;
  text-decoration: none;
  font-size: 22px;
  font-weight: bold;
}

div.front-hover-box.dark a { color: #fff; letter-spacing: 0.5px; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
div.front-hover-box.light a { color: #606060; letter-spacing: 0.5px; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
div.front-hover-box.black a { color: #000; letter-spacing: 0.5px; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

div.front-hover-box a:hover { background: url(img/ui/overlay-white.png); }

/* Slideshow */
div#slideshow {
  position: relative;
  margin-bottom: 53px;
  width: 1180px;
  height: 450px;
}

div#slideshow div.slideshow-images {
  display: none;
}

div#slideshow div.slideshow-content {
  position: relative;
  width: 100%;
  height: 100%;
}

div#slideshow div.slideshow-content img.current-img, div#slideshow div.slideshow-content img.current-tmp {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  max-width: 100%;
  height: auto;
}

div#slideshow div.slideshow-content div.current-img {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 450px;
}

div#slideshow div.slideshow-content div.buttons-container {
  position: absolute;
  top: 208px;
  left: 109px;
  z-index: 2;
}

div#slideshow div.slideshow-content div.buttons-container a {
  display: block;
  float: left;
  clear: left;
  margin-bottom: 10px;
}

div#slideshow div.slideshow-navi {
  position: absolute;
  bottom: 15px;
  left: 0;
  right: 0; 
  margin-left: auto;
  margin-right: auto;
  z-index: 2;
  text-align: center
}

div#slideshow div.slideshow-navi a {
  display: inline-block;
  width: 13px;
  height: 13px;
  background: url(img/ui/slideshow-navi-icon.png) no-repeat;
  margin: 0 5px;
}

div#slideshow div.slideshow-navi a.current {
  background-image: url(img/ui/slideshow-navi-icon-current.png);
}

a.content-link.no-link {
  cursor: default;
}

/* Magazines */
div#magazine-choices-selected {
  display: none;
  position: relative;
  margin-bottom: 2px;
  height: auto;
  color: #606060;
  font-size: 16px;
  text-align: left;
}

div#magazine-choices-selected:before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  height: 100%;
}

div#magazine-choices-selected div.title {
  float: left;
  padding-top: 3px;
  margin-right: 15px;
}

div#magazine-choices-selected ul {
	list-style: none;
	margin-bottom: 0;
	padding-left: 0;
  position: relative;
  display: inline-block;
  vertical-align: middle;
  /*width: 700px;*/
}

div#magazine-choices-selected ul li {
  position: relative;
  float: left;
  margin-right: 8px;
  border: solid 1px #d0d0d0;
  font-size: 16px;
  padding: 4px 25px 4px 7px;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

div#magazine-choices-selected ul li div.delete-choice {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 10px;
  height: 10px;
  background: url(img/ruksi_pieni.svg) no-repeat;
  cursor: pointer;
}

div#magazine-choices-selected div#magazine-choices-deleteall {
  /*position: absolute;
  top: 0;
  right: 0;*/
  display: inline-block;
  border: solid 1px #d0d0d0;
  font-size: 16px;
  padding: 4px 25px 4px 7px;
  letter-spacing: -0.01em;
  position: relative;
  line-height: 19px;
  vertical-align: middle;
  margin-bottom: 8px;
}

div#magazine-choices-selected div#magazine-choices-deleteall div.delete-all {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 10px;
  height: 10px;
  background: url(img/ruksi_pieni.svg) no-repeat;
  cursor: pointer;
}

div.content p.single-ingres {
  margin-bottom: 50px;
}

div#magazine-choices {
  position: relative;
  margin-bottom: 55px;
  z-index: 300;
}

div#magazine-choices div.magazine-choices-item {
  position: relative;
  float: left;
  border: solid 1px #d0d0d0;
  padding: 15px 20px;
  color: #606060;
  font-size: 16px;
  cursor: pointer;
  box-sizing: border-box;
  width: 220px;
  margin-right: 15px;
  background: #fff;
  text-align: left;
}

div#magazine-choices div.magazine-choices-item div.title {
  background: url(img/nuoli_pieni.svg) no-repeat center right;
  background-size: 12px;
}

div#magazine-choices div.magazine-choices-item.open div.title {
  background-image: url(img/nuoli_pieni_ylos.svg);
  background-size: 12px;
}

div#magazine-choices div.magazine-choices-item div.magazine-choice-items {
  display: none;
  position: absolute;
  left: -1px;
  top: 48px;
  background: #fff;
  padding: 20px;
  border: solid 1px #d0d0d0;
  border-top: none;
  width: 220px;
  box-sizing: border-box;
}

div#magazine-choices div.magazine-choices-item div.magazine-choice-items ul {
  margin-bottom: 16px;
  padding-left: 0;
}

div#magazine-choices div.magazine-choices-item div.magazine-choice-items ul li {
  margin-bottom: 6px;
  background: url(img/laatikko.svg) no-repeat center left;
  padding-left: 27px;
}

div#magazine-choices div.magazine-choices-item div.magazine-choice-items ul li.selected {
  font-weight: bold;
  background-image: url(img/pieniruksi_laatikossa.svg);
}

div#magazine-choices div.magazine-choices-item.year ul li {
  /*display: inline-block;
  width: 36%;
  margin-right: 10%;*/
  box-sizing: border-box;
}

div#magazine-choices div.magazine-choices-item.year ul li:nth-child(2n) {
  margin-right: 0;
}

div#magazine-choices div.magazine-choices-item div.magazine-choice-items div.magazine-choices-close {
  width: 100%;
  cursor: pointer;
  background: #5f5f5f;
  font-weight: bold;
  color: #fff;
  text-align: center;
  padding: 15px 5px;
  box-sizing: border-box;
  font-size: 16px;
}

div#magazine-choices div.magazine-choices-item div.magazine-choice-items div.magazine-choices-close:hover {
  background: #808080;
}

div#magazine-years {
	clear: left;
  margin-bottom: 5px;
  margin-top: 70px;
}

div#magazine-years div.title {
  font-size: 22px;
  letter-spacing: 1px;
  margin-bottom: 18px;
}

div#magazine-years div.magazine-items {
  padding: 0 20px;
  margin-bottom: 25px;
}

div#magazine-years div.magazine-items div.magazine-item {
  float: left;
  width: 33.33%;
  text-align: center;
  line-height: 1em;
  /*margin-bottom: 60px;*/
  min-height: 470px;
}

div.subscription div.magazine-items div.magazine-item {
  margin-bottom: 60px;
}

/*body.single div#magazine-years div.magazine-items div.magazine-item:nth-child(6n + 2) {
  clear: left;
}*/

body.index div#magazine-years div.magazine-items div.magazine-item:nth-child(3n + 1) {
  clear: left;
}

div#magazine-years div.magazine-items div.magazine-item div.image {
  margin-bottom: 10px;
  height: 300px;
}

div#magazine-years div.magazine-items div.magazine-item-single div.image {
  height: 289px;
}

div#magazine-years div.magazine-items div.magazine-item div.image img {
  max-height: 289px;
  max-width: 100%;
  width: auto;
}

div.subscription div.magazine-items div.magazine-item div.image img {
  display: block;
  margin: 0 auto !important;
}

div.price {
  font-weight: bold;
  margin-bottom: 21px;
  /*min-height: 37px;*/
}

div.price-empty {
  margin-bottom: 0;
  /*min-height: 36px;*/
}

div#magazine-years div.magazine-items div.magazine-item span.sold-out {
  margin: 6px 0;
  padding: 4px 10px;
}

div#magazine-years div.magazine-items div.magazine-item div.icons {
  margin-bottom: 20px;
}

div.product-name-wrap {
  /*min-height: 110px;*/
}

div.product-name-wrap a {
  color: #000 !important;
  text-decoration: none;
}

div.icons ul {
	padding: 0;
  text-align: center;
}

div.icons ul li {
  position: relative;
  display: inline-block;
  width: 28px;
  height: 28px;
  margin: 0 3px;
}

div.icons ul li a {
  position: absolute;
  text-indent: -9999px;
  overflow: hidden;
  display: block;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

div.icons ul li.browse a { background-image: url(img/Selaa_lehtea.svg); }
div.icons ul li.all-models a { background-image: url(img/Kaikki_mallit_PDF.svg); }

a.also-e-magazine {
  border: solid 1px #d0d0d0;
  box-sizing: border-box;
  color: #606060 !important;
  display: inline-block;
  margin-bottom: 10px;
  padding: 8px 10px;
  text-decoration: none;
}

div#magazine-years div.magazine-items div.magazine-item a.also-e-magazine {
  padding: 4px 10px;
}


div#no-magazines-with-current-choices {
  display: none;
}

div#magazine-years div.magazine-items {
  padding: 0;
}

div.subscription div.magazine-item {
	box-sizing: border-box;
	padding: 0 2%;
}

div.subscription div.magazine-item.first { padding: 0 5% 0 0; }
div.subscription div.magazine-item.last { padding: 0 0 0 5%; }

div.subscription div.magazine-item.kids-4, div.subscription div.magazine-item.woman-2 {
	padding-top: 29px;
}

div#magazine-years div.magazine-items div.magazine-item.kids-4 div.image, div#magazine-years div.magazine-items div.magazine-item.woman-2 div.image {
  margin-bottom: -19px;
}

div.subscription-info {
	font-family: 'American Typewriter', 'Courier New';
	margin-bottom: 20px;
	line-height: 1.2;
	letter-spacing: -0.08em;
	font-size: 17px;
}

div.subscription div.price {
	font-size: 22px;
	margin-bottom: 20px !important;
}

div.subscription div.issue-plus {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

div.subscription div.issue {
  font-weight: 700;
	margin-bottom: 5px;
}

div.subscription div.sub-description {
  margin-bottom: 20px;
  min-height: 73px;
}

div#magazine-information select.tilaajalahja + span,
div#magazine-information select.tilaajalahja {
  display: none;
}

div.olen_uusitilaaja {
  display: none;
  margin-bottom: 20px;
}

/* Banner link */

a.banner {
	color: #fff;
	display: block;
	margin-bottom: 20px;
	padding: 12px;
	text-align: center;
	text-decoration: none;
}

a.banner div.banner-wrap {
	padding: 20px;
}

a.banner div.banner-wrap p {
	margin-bottom: 0;
}

a.banner.green { background: #bee554; }

a.banner.green div.banner-wrap { border: 3px dashed #a2bc13; }

a.banner.green:hover { background: #A2BC13; }
a.banner.green:hover div.banner-wrap { border: 3px dashed #bee554; }

a.haluatko-maksaa {
	margin-top: 80px;
}

/* Patterns */

div#magazine-years div.pattern-items {
  padding: 0;
  margin-bottom: 25px;
}

div#magazine-years div.pattern-items div.pattern-item {
  float: left;
  width: 20%;
  text-align: center;
  line-height: 1em;
  margin-bottom: 40px;
}

div.pattern-item span {
  display: block;
  min-height: 55px;
}

div.pattern-item.de:lang(fi),
div.pattern-item.se:lang(fi),
div.pattern-item.nl:lang(fi),
div.pattern-item.en:lang(fi),
div.pattern-item.fr:lang(fi),
div.pattern-item.es:lang(fi) {
  display: none;
}

div#magazine-years div.pattern-items div.pattern-item div.image {
  margin-bottom: 10px;
  height: 220px;
}

div#magazine-years div.pattern-items div.pattern-item div.image img {
  max-height: 220px;
  width: auto;
}

/* Single magazine */
div#magazine-big div.image {
  margin-bottom: 16px;
  position: relative;
}
div#magazine-big div.image1 {
  
  margin-bottom: 16px;
}
div#magazine-big div.image1 img {
  max-width: 100%;
  height: auto;
  margin-left: 40px;
  display: block;
}
div#magazine-big div.image img {
  max-width: 430px;
  height: auto;
  /*margin: 0 auto;*/
  display: block;
  margin-left: 145px;
}

div#magazine-big div.image-subscription img {
  margin-left: 0;
}

div#magazine-big div.links {
  /*text-align: center;*/
  padding-left: 145px;
}

div#magazine-big div.links ul {
  margin: 0;
  padding-left: 0;
}

div#magazine-big div.links ul.small_img {
	margin-left: 20px;
}
div#magazine-big div.links ul li {
  display: inline-block;
  margin-right: 37px;
  margin-bottom: 10px;
  height: 28px;
}
div#magazine-big div.links ul li.link {
  display: inline-block;
  height: 28px;
  padding-right: 0;
  margin-right: 0;
}
div#magazine-big div.links ul li.link a{
	
	height: 100%;
  display: block;
  padding-right: 20px;
  background-repeat: no-repeat;
  background-position: center right;
  padding-top: 3px;
  box-sizing: border-box;
  font-size: 16px;
  letter-spacing: -0.02em;
}
div#magazine-big div.links ul li a {
  height: 100%;
  display: block;
  padding-left: 36px;
  background-repeat: no-repeat;
  background-position: center left;
  padding-top: 3px;
  box-sizing: border-box;
  font-size: 16px;
  letter-spacing: -0.02em;
}

div#magazine-big div.links ul li.browse a { background-image: url(img/selaalehtea_02.svg); background-size: 24px; }
div#magazine-big div.links ul li.all-models a { background-image: url(img/Kaikkimallit_02.svg); background-size: 24px; }
div#magazine-big div.links ul li.watch-video a { background-image: url(img/katso_video.svg); background-size: 24px; }

div#magazine-information div.issue {
  font-size: 22px;
  line-height: 25px;
  font-weight: bold;
  letter-spacing: 1px;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

div#magazine-information div.product-number {
  font-size: 15px;
  line-height: 23px;
  color: #606060;
}

div#magazine-information div.price {
  font-size: 22px;
  line-height: 25px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 15px;
  letter-spacing: -0.02em;
}

div#magazine-information div.todays-exchange-rate {
  margin-bottom: 27px;
}

div#magazine-information div.todays-exchange-rate a {
  color: #999;
}

div#magazine-information p.choose-language2-text {
  margin-top: 8px;
  margin-bottom: 10px;
  font-style: italic;
  color: #999;
}

div#magazine-information div.amount {
  margin: 0 0 30px 0;
  padding-top: 10px;
}


div#magazine-information div.amount div.title {
  display: inline-block;
  margin-right: 32px;
}

div#magazine-information a.minus, 
div#magazine-information a.plus,
table.cart a.minus,
table.cart a.plus {
  display: inline-block;
  width: 45px;
  height: 45px;
  border: solid 1px #d0d0d0;
  box-sizing: border-box;
  text-align: center;
  font-size: 24px;
  line-height: 40px;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;  
}

select.language-v2,
table.cart select.tilausjakso, 
table.cart select.tilaajalahja {
  background: #fff url(img/nuoli_pieni.svg) center right 20px no-repeat;
  background-size: 13px;
  border: solid 1px #d0d0d0;
  box-sizing: border-box;
  display: inline-block;
  font-family: 'Source Sans Pro', serif;
  font-size: 18px;
  line-height: 40px;
  margin-bottom: 10px;
  padding: 2px 20px;
  width: 100%;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  -webkit-border-radius: 0px;
}

select.error {
  border-color: #ec6446 !important;
  color: #ec6446 !important;
}

table.cart select.tilausjakso, 
table.cart select.tilaajalahja {
  background: #fff url(img/nuoli_pieni.svg) center right 10px no-repeat;
  background-size: 10px;
  font-size: 14px;
  line-height: 1.4;
  padding: 3px 10px;
  width: 300px;
}

table.cart input.inputbtn-update {
  border: solid 1px #d0d0d0;
  box-sizing: border-box;
  display: inline-block;
  font-family: 'Source Sans Pro', serif;
  font-size: 14px;
  line-height: 1.4;
  padding: 3px 10px;
}

div#magazine-information input#amount,
table.cart input#amount {
  display: inline-block;
  border: none;
  background: none;
  font-size: 18px;
  font-family: 'Source Sans Pro', sans-serif;
  width: 50px;
  height: 45px;
  text-align: center;
  box-sizing: border-box;
}

div#magazine-information input#amount:hover, div#magazine-information input#amount:focus {
  border: dashed 1px #d0d0d0;
}

div#magazine-information a.button {
  width: 100%;
  text-align: center;
  margin-bottom: 23px;
}

div#magazine-information a.button.add-to-cart-subscription {
  margin-top: 18px;
}

div#magazine-information div#about-magazine {
  margin-top: 38px;
  border-top: solid 1px #d0d0d0;
  margin-bottom: 50px;
}

div#magazine-information div#about-magazine div#about-magazine-items div.about-magazine-item {
  border-bottom: solid 1px #999;
}

div#magazine-information div#about-magazine div#about-magazine-items div.about-magazine-item div.title {
  font-weight: 600;
  text-transform: uppercase;
  padding: 13px 0 14px 0;
  background: url(img/ui/arrow-down.png) no-repeat;
  background-position: center right 20px;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;  
}

div#magazine-information div#about-magazine div#about-magazine-items div.about-magazine-item.open div.title {
  background-image: url(img/ui/arrow-up.png);
}

div#magazine-information div#about-magazine div#about-magazine-items div.about-magazine-item div.text {
  display: none;
}

div#magazine-information div#about-magazine nav#about-magazine-tabs ul li {
  display: inline-block;
  padding: 3px 21px;
  box-sizing: border-box;
  border-right: solid 1px #000;
}

div#magazine-information div#about-magazine nav#about-magazine-tabs ul li:first-of-type { padding-left: 0; }
div#magazine-information div#about-magazine nav#about-magazine-tabs ul li:last-of-type { padding-right: 0; border-right: none; }

div#magazine-information div#about-magazine nav#about-magazine-tabs ul li a {
  text-transform: uppercase;
  color: #b0b0b0;
  font-weight: bold;
  text-decoration: none;
}

div#magazine-information div#about-magazine nav#about-magazine-tabs ul li.current a {
  color: #000;
}

div#magazine-information div#about-magazine nav#about-magazine-tabs ul li a:hover {
  border-bottom: solid 1px;
}

div#magazine-information div#about-magazine div#about-magazine-items div.about-magazine-item {
  display: none;
  margin-bottom: 50px;
}

div#about-magazine-items > a {
  background: url(img/nuoli_pieni.svg) no-repeat center right 10px;
  background-size: 12px;
  border-bottom: solid 1px #d0d0d0;
  display: block;
  line-height: 50px;
  text-decoration: none;
  text-transform: uppercase;
  transition-duration: 0.5s;
}

div#about-magazine-items > a:hover {
  color: rgba(0, 0, 0, 0.5);
}

div#about-magazine-items > a.open {
  background: url(img/nuoli_pieni_ylos.svg) no-repeat center right 10px;
  background-size: 12px;
  border-bottom: none;
}

div.single-tuotekuvaus {
  border-bottom: solid 1px #d0d0d0;
  display: none;
}

a.single-2-thumb {
  display: inline-block;
  margin-right: 15px;
}

div.single-2-thumb-wrap {
  padding-left: 145px;
}

div#magazine-big div.image a.single-2-thumb img {
  display: block;
  height: 120px;
  margin-left: 0;
  margin-top: 20px;
  max-width: 100%;
  width: auto;
}

div.single-2-popup {
  background: rgba(0, 0, 0, 0.7);
  height: 100vh;
  left: 0;
  position: absolute;
  text-align: center;
  top: 0;
  width: 100%;
  z-index: 999;
}

div.single-2-popup img {
  height: 90vh;
  position: fixed;
  top: 5vh;
  width: auto;
}

a.single-2-cover-prev {
  background: url(img/nuoli_iso_vasemmalle.svg) center center no-repeat;
  background-size: contain;
  color: #d0d0d0;
  height: 25px;
  left: 110px;
  overflow: hidden;
  position: absolute;
  text-decoration: none;
  text-indent: -9999px;
  top: 276px;
  width: 25px;
}

a.single-2-cover-next {
  background: url(img/nuoli_iso_oikealle.svg) center center no-repeat;
  background-size: contain;
  color: #d0d0d0;
  font-size: 60px;
  height: 25px;
  overflow: hidden;
  position: absolute;
  right: -20px;
  text-decoration: none;
  text-indent: -9999px;
  top: 276px;
  width: 25px;
}

a.single-2-cover-prev-popup {
  background: url(img/nuoli_iso_vasemmalle_valkoinen.svg) center center no-repeat;
  background-size: contain;
  height: 50px;
  left: 10%;
  overflow: hidden;
  position: fixed;
  text-decoration: none;
  text-indent: -9999px;
  top: 50%;
  width: 50px;
}

a.single-2-cover-next-popup {
  background: url(img/nuoli_iso_oikealle_valkoinen.svg) center center no-repeat;
  background-size: contain;
  height: 50px;
  position: fixed;
  right: 10%;
  text-decoration: none;
  text-indent: -9999px;
  top: 50%;
  width: 50px;
}

a.single-2-cover-close-popup {
  background: url(img/ruksi_iso_valkoinen.svg) center center no-repeat;
  background-size: contain;
  height: 50px;
  position: fixed;
  right: 10%;
  text-decoration: none;
  text-indent: -9999px;
  top: 5vh;
  width: 50px;
}

/* Other issues slider */
div#other-issues {
  position: relative;
  margin-top: 42px;
  height: 280px;
}

div#other-issues a.prev, div#other-issues a.next {
  position: absolute;
  top: 77px;
  left: -45px;
  height: 32px;
  width: 45px;
  display: block;
  background: url(img/nuoli_iso_vasemmalle.svg) no-repeat left center;
  cursor: pointer;
  display: none;
  opacity: 0.7;
}

div#other-issues a.prev:hover, 
div#other-issues a.next:hover {
  opacity: 1;
}

div#other-issues a.next { display: block; left: auto; right: -45px; background: url(img/nuoli_iso_oikealle.svg) no-repeat right center; }

div#other-issues div.items-container {
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  height: 100%;
}

div#other-issues div.items-container div.items {
  position: absolute;
  left: 0px;
}

div#other-issues div.items-container div.items div.item {
  position: relative;
  display: inline-block;
  /*margin-right: 15px;
  margin-left: -4px;*/
  margin-right: 15px;
  text-align: center;
  line-height: 1em;
}

div#other-issues div.items-container div.items div.item div.image {
  font-size: 1rem;
  margin-bottom: 9px;
  text-transform: uppercase;
}

div#other-issues div.items-container div.items div.item div.image img {
  max-width: 140px;
  height: auto;
}

div#other-issues div.items-container div.items div.item div.price {
  font-weight: bold;
}

div#other-issues div.items-container div.items div.item div.buttons {
  text-align: center;
}

div#other-issues div.items-container div.items div.item div.buttons ul {
  padding-left: 0;
}

div#other-issues div.items-container div.items div.item div.buttons ul li {
  display: inline-block;
  vertical-align: top;
  width: 28px;
  height: 28px;
  position: relative;
  margin: 0 4px;
  margin-bottom: 10px;
}

div#other-issues div.items-container div.items div.item div.buttons ul li a {
  position: absolute;
  top: 0;
  left: 0;
  text-indent: -9999px;
  overflow: hidden;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

div#other-issues div.items-container div.items div.item div.buttons ul li.browse a { background-image: url(img/Selaa_lehtea.svg); }
div#other-issues div.items-container div.items div.item div.buttons ul li.all-models a { background-image: url(img/Kaikki_mallit_PDF.svg); }

div#other-issues.thin {
  width: 880px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 30px;
}

div#other-issues.thin div.items-container div.items div.item div.image img {
  max-width: 130px; 
}

/* Tilaajapalvelu */

div.service-form {
	border: 3px dashed #a2bc13;
	float: left;
	margin-bottom: 40px;
	width: 100%;
}

div.service-form-wrap {
  box-sizing: border-box;
	float: left;
	padding: 40px;
  width: 100%;
}

a.psst {
	background: #ffcccc;
	color: #fff;
	display: block;
	font-weight: bold;
	max-width: 86%;
	margin-bottom: 40px;
	padding: 2%;
	position: relative;
	text-decoration: none;
}

a.psst:hover {
	opacity: 0.9;
}

a.psst p {
	font-size: 20px;
	line-height: 1.2;
	position: relative;
	z-index: 2;
}

div.psst-wrap {
	border: 3px dashed #a2bc13;
	padding: 40px;
}

p.kirjelintu {
	padding-top: 40px;
}

div.service-form-row {
	clear: left;
	float: left;
	margin-bottom: 4px;
}

a.faq-info {
  display: block;
  width: 280px;
  height: 265px;
  margin-bottom: 30px;
  padding: 27px 80px 27px 34px;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  box-sizing: border-box;
}

a.faq-info p {
  margin-top: 0;
  font-size: 20px;
  line-height: 20px;
}

input.chkrad {
	clear: left;
	float: left;
	margin-right: 10px;
	margin-bottom: 0 !important;
	padding: 0 !important;
	width: auto !important;
}

label {
	display: block;
	margin-bottom: 4px;
}

/*label.label-paypal {
  padding-left: 30px;
}*/

label.chkrad {
	float: left;
	margin-bottom: 0;
}

img.kysymyslintu {
	bottom: 0;
	position: absolute;
	right: 25px;
	z-index: 1;
}

img.image {
	margin: 0 auto !important;
}

div.content ul.gform_fields, div.content ul.gfield_checkbox {
  list-style: none;
}

div.content ul.gform_fields li {
  margin-bottom: 0px;
}

ul.gform_fields p.data {
  font-weight: bold;
}

div.validation_error {
  background: #ffb6c1;
  color: #fff;
  margin-bottom: 20px;
  padding: 20px;
}

div.validation_message {
  color: #ffb6c1;
  margin-top: -15px;
  margin-bottom: 20px;
}

div.gform_wrapper li.gfield_error input {
  border: 1px solid #ffb6c1;
}

div.gform_wrapper {
  /*border: 3px dashed #a2bc13;*/
  box-sizing: border-box;
  margin: 0 auto 20px auto;
  /*padding: 20px;*/
  text-align: left;
  width: 50%;
}

form.serviceform input, 
form.serviceform select,
div.gform_wrapper input, 
div.gform_wrapper select {
	border: 1px solid #d0d0d0;
  box-sizing: border-box;
  font-size: 16px;
  margin-bottom: 20px;
  padding: 10px;
  width: 90%;
}

span.gfield_required {
  /*color: #b4cf13;*/
  color: #000;
}

li#field_8_8,
li#field_8_10,
li#field_8_14,
li#field_8_15,
li#field_8_16,
li#field_8_17,
li#field_8_22,
li#field_8_23,
li#field_8_24,
li#field_8_25 {
  box-sizing: border-box;
  display: inline-block;
  width: 50%;
}

li#field_8_8,
li#field_8_14,
li#field_8_16,
li#field_8_22,
li#field_8_24 {
  padding-right: 10px;
}

li#field_8_9,
li#field_8_15,
li#field_8_17,
li#field_8_23,
li#field_8_25 {
  padding-left: 10px;
}

li#field_8_31 span.gfield_required,
li#field_9_31 span.gfield_required,
li#field_10_31 span.gfield_required,
li#field_11_31 span.gfield_required,
li#field_12_31 span.gfield_required,
li#field_13_31 span.gfield_required,
li#field_14_31 span.gfield_required {
  display: none;
}

div#gform_wrapper_8 input[type=submit] {
  background: #000;
  width: 300px;
}

div.gform_wrapper input {
  width: 100%;
}

form.serviceform p {
  width: 100% !important;
}

div.gform_wrapper input[type=checkbox], div.gform_wrapper input[type=radio], form.serviceform input[type=radio], form.serviceform input[type=checkbox] {
  width: auto;
}

form.serviceform textarea, 
div.gform_wrapper textarea {
	border: 1px solid #d0d0d0;
  box-sizing: border-box;
	font-size: 16px;
	margin-bottom: 20px;
	padding: 10px;
	width: 95%;
}

li.gfield_html {
  padding-bottom: 20px;
  padding-top: 20px;
}

form.serviceform div.col_1_online_payment textarea {
  width: 90%;
}

ul.gfield_checkbox label, label.gfield_checkbox {
  display: inline-block;
  vertical-align: top;
}

label.gfield_checkbox img {
  margin-top: 5px;
  margin-bottom: 15px;
}

input.align-right { float: right; }
input.align-left { float: left; }

div.gform_wrapper h2 {
  margin-top: 20px;
}

div.content div.gform_wrapper p {
  margin-bottom: 20px;
  width: 100%;
}

input.newsletter {
	border: 1px solid #d0d0d0;
	font-size: 16px;
	margin-bottom: 10px;
	padding: 10px;
	max-width: 300px;
}

input[type=submit].green, input[type=button].green, div.gform_wrapper input[type=submit], div.gform_wrapper input[type=button] {
	background: #b4cf13;
	border: none;
	color: #fff;
	cursor: pointer;
	font-size: 16px;
	font-family: 'Source Sans Pro', sans-serif;
  font-weight: 700;
	max-width: 350px;
	padding: 10px 40px;
	text-transform: uppercase;
}

div.gform_wrapper input[type=submit] {
  max-width: none;
  width: auto;
}

input[type=reset].green, input[type=button].green-border {
  background: #fff;
  border: 2px #b4cf13 solid;
  color: #b4cf13;
  cursor: pointer;
  font-size: 16px;
  font-family: "Trebuchet MS", "Trebuchet", sans-serif;
  max-width: 200px;
  outline: none;
  padding: 10px 40px;
  text-transform: uppercase;
}

input[type=reset].green:hover, input[type=button].green-border:hover {
  opacity: 0.8;
}

input[type=submit].green:hover, input[type=button].green:hover {
	background: #bee554;
}

input[type=submit].lightblue, input[type=button].lightblue {
  background: #87ceeb;
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  font-family: "Trebuchet MS", "Trebuchet", sans-serif;
  padding: 10px 40px;
  text-transform: uppercase;
  width: auto;
}

div#gform_wrapper_8 input[type=submit],
div#gform_wrapper_9 input[type=submit],
div#gform_wrapper_10 input[type=submit],
div#gform_wrapper_11 input[type=submit],
div#gform_wrapper_12 input[type=submit],
div#gform_wrapper_13 input[type=submit],
div#gform_wrapper_14 input[type=submit] {
  background: #000;
}

input.proceed {
  min-width: 300px;
}

div.laskutustiedot {
  background: #e5f5bb;
  box-sizing: border-box;
  margin-bottom: 20px;
  padding: 20px;
  width: 90%;
}

div.laskutustiedot h4 {
  text-transform: uppercase;
  margin-bottom: 20px;
}

div.laskutustiedot p {
  max-width: none;
  width: 100% !important;
}

div.content p.blue-info {
  background: #d0f1fc;
  box-sizing: border-box;
  color: #999;
  padding: 20px;
  width: 100%;
}

form.serviceform h4 {
  clear: both;
  margin-bottom: 20px;
}

form.serviceform h4.gift-subscription {
  margin-top: 20px;
}

div#lahjatilaus,
div#toimitusosoite {
  display: none;
}

form.serviceform h4 em {
  font-weight: normal;
  text-transform: none;
}

span.required {
  color: #a2bc13;
}

div.important { display: none; }

select.voimaantulo {
  display: inline-block;
  margin-right: 5px;
  padding: 4px;
  width: auto !important;
  top: -9px;
  position: relative;
}

div.service-form-row.high {
  height: 32px;
}

a.info {
	border: 1px solid #000;
	border-radius: 20px;
  color: #000 !important;
	display: inline-block;
	font-size: 14px;
	height: 20px;
	line-height: 20px;
	text-align: center;
	text-decoration: none;
	width: 20px;	
}

div.info {
	background: #fff;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
	font-size: 12px;
	font-weight: normal;
	left: 0;
	padding: 10px;
	position: absolute;
	top: 0;
	width: 200px;
}

div.maksajan_tiedot, div.asia_tarkennus_1, div.asia_tilaus, div.asia_palaute {
	display: none;
}

div.asia_tarkennus_1,
div.maksajan_tiedot {
  clear: both;
  padding-top: 50px;
}

/* MyOTTOBRE */

li#field_15_18 label.gfield_label,
li#field_17_18 label.gfield_label,
li#field_18_18 label.gfield_label,
li#field_19_18 label.gfield_label,
li#field_20_18 label.gfield_label,
li#field_21_18 label.gfield_label,
li#field_22_18 label.gfield_label {
  display: none;
}

div.myottobre_wrapper textarea {
  width: 100%;
}

div.myottobre_wrapper div.gfield_description {
  margin-bottom: 20px;
  margin-top: -18px;
}

div.myottobre_wrapper label#label_15_18_2,
div.myottobre_wrapper label#label_17_18_2,
div.myottobre_wrapper label#label_18_18_2,
div.myottobre_wrapper label#label_19_18_2,
div.myottobre_wrapper label#label_20_18_2,
div.myottobre_wrapper label#label_21_18_2,
div.myottobre_wrapper label#label_22_18_2,
div.myottobre_wrapper label#label_20_18_1 {
  width: 95%;
}

div.myottobre_wrapper input[type=submit] {
  background: #000;
}

body.single h1 + h2 {
  margin-top: 80px;
}

body.single div.col_2_wide_left img {
  display: block;
  height: auto;
  width: 100%;
}

body.single div.single-prev-next {
  padding-top: 50px;
}

body.single div.single-prev-next a {
  position: relative;
  text-decoration: none;
}

body.single span.small-text {
  display: block;
  font-size: 12px;
  padding-bottom: 5px;
  padding-top: 30px;
}

body.single span.small-text-prev {
  background: url(img/nuoli_edellinen.svg) top left no-repeat;
  background-size: 40px;
}

body.single span.small-text-next {
  background: url(img/nuoli_seuraava.svg) top right no-repeat;
  background-size: 40px;
}

body.single span.link-text {
  display: block;
  font-size: 20px;
  font-weight: 700;
}

body.single span.link-text span {
  font-weight: normal;
}

body.single span.link-text span.small-text {
  text-transform: uppercase;
}

body.single div.single-prev-next > div {
  float: left;
  width: 50%;
}

body.single div.single-prev-next > div.single-next {
  text-align: right;
}

body.single div.single-prev-next > div.single-next:first-child {
  width: 100%;
}

body.single div.single-other-stories {
  border-top: 1px solid #d0d0d0;
  margin-top: 50px;
  padding-top: 50px;
}

body.single div.single-other-stories h2 {
  margin-bottom: 50px;
  text-align: center;
}

a.btn.btn-all-stories {
  display: inline-block;
  padding: 10px 50px;
  width: auto;
}

div.content.myottobre-stories {
  text-align: center;
}

a.myottobre-story {
  box-sizing: border-box;
  display: inline-block;
  margin: 0 15px 50px 15px;
  text-align: left;
  text-decoration: none;
  vertical-align: top;
  width: calc(33.33% - 30px);
}

a.myottobre-story img {
  height: auto;
  margin-bottom: 10px;
  max-width: 100%;
}

a.myottobre-story h3 {
  font-size: 22px;
  font-weight: 700;
}

/* /MyOTTOBRE */

/* Share buttons */

div#social-share {
  position: relative;
  border-bottom: solid 1px #999;
  text-align: right;
  padding-bottom: 16px;
  margin-bottom: 28px;
  width: 100%;
}

div#social-share div.title {
  display: inline-block;
  margin-right: 15px;
}

div#social-share ul {
  position: relative;
  display: inline-block;
}

div#social-share ul li {
  position: relative;
  top: 4px;
  display: inline-block;
  width: 23px;
  height: 23px;
  margin-left: 4px;
}

div#social-share ul li a {
  position: absolute;
  display: block;
  text-indent: 9999px;
  overflow: hidden;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

div#social-share ul li.pinterest a { background-image: url(img/ui/pinterest-icon-gray.png); }
div#social-share ul li.facebook a { background-image: url(img/ui/facebook-icon-gray.png); }
div#social-share ul li.twitter a { background-image: url(img/ui/twitter-icon-gray.png); }

/* FAQ */

h2.faq {
	color: #B4CF13;
}

div.faq-wrap {
	margin-bottom: 8px;
}

div.faq-wrap + h2 {
	margin-top: 40px;
}

h2.faq {
  margin-left: 20px;
}

div.faq-title h3 {
	background: #e8f1b8 url(img/nuoli_pieni.svg) right 20px center no-repeat;
  background-size: 12px;
	font-size: 18px;
	font-weight: 600;
	margin: 0;
	padding: 10px 20px;
	color: #000 !important;
}

div.gray div.faq-title h3 { background-color: #f0f0f0; } 

div.faq-title h3.arrow-up { background: #e8f1b8 url(img/nuoli_pieni_ylos.svg) right 20px center no-repeat; background-size: 12px; }

div.faq-title a {
	display: block;
	text-decoration: none;
}

div.faq-title h3 a:hover {
	opacity: 0.8;
}

div.faq-title h3 span {
	float: right;
}

div.faq-answer {
	background: #e8f1b8;
	display: none;
	padding: 10px 20px;
}

div.gray div.faq-answer { background-color: #f0f0f0; } 

/* Boxes */
a.front-order-magazine-box,
a.front-browse-magazines-box {
  display: block;
  width: 100%;
  text-align: center;
  height: 150px;
  background: red;
  line-height: 150px;
  color: #fff;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 22px;
  letter-spacing: 0.03em;
  cursor: pointer;
}

/*a.front-order-magazine-box { background: #b4cf13; font-weight: 600; letter-spacing: 0.5px; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
a.front-browse-magazines-box { background: #ff9999; font-weight: 600; letter-spacing: 0.5px; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }*/

a.front-order-magazine-box { background: #fff; border: 2px solid #000; color: #000; font-weight: 600; letter-spacing: 0.5px; }
a.front-browse-magazines-box { background: #fff; border: 2px solid #000; color: #000; font-weight: 600; letter-spacing: 0.5px; }

a.front-order-magazine-box:hover,
a.front-browse-magazines-box:hover {
  opacity: 0.7;
} 

/* Footer */

footer {
  position: relative;
  color: #999;
  font-size: 16px;
  overflow: hidden;
  padding-top: 60px;
}

footer p {
  font-size: 16px;
}

footer strong {
  font-weight: 300;
}

footer div.foo-bg {
	background: #383838;
}

footer div.wrap {
  height: 400px;
}

body.checkout footer div.wrap,
body.checkout_2 footer div.wrap {
  height: 300px;
}

footer div#ottilia {
  position: absolute;
  bottom: 0;
  right: -251px;
  width: 663px;
  height: 457px;
  background: url(img/ui/ottilia.png) no-repeat 100% 100%;
}

footer div#footer-contact {
  position: absolute;
  top: 30px;
  left: 0;
}

footer div#footer-payment-options {
  position: absolute;
  top: 180px;
  left: 0;
  right: 0;
  margin: 0 auto;
  text-align: center;
  width: 320px;
}

footer div#leverage-from-eu {
  position: absolute;
  top: 325px;
  left: 0;
}

footer div#footer-social {
  position: absolute;
  top: 30px;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  width: 320px;
  text-align: center;
  /*border-bottom: solid 1px #999;*/
  padding-bottom: 20px;
}

footer div#footer-social div.title {
  font-weight: 300;
  margin-bottom: 20px;
}

footer div#footer-social ul {
  padding-left: 0;
}

footer div#footer-social ul li {
  position: relative;
  display: inline-block;
  width: 30px;
  height: 30px;
  margin: 0 10px;
}

footer div#footer-social ul li a {
  position: absolute;
  left: 0;
  text-indent: -9999px;
  overflow: hidden;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;  
}

footer div#footer-social ul li.facebook a { background: #999 url(img/Facebook.svg) center center no-repeat; background-size: contain; }
footer div#footer-social ul li.instagram a { background-image: url(img/ui/instagram-logo.png); }
footer div#footer-social ul li.youtube a { background: #999 url(img/Youtube.svg) center center no-repeat; background-size: contain; }
footer div#footer-social ul li.twitter a { background: #999 url(img/twitter.svg) center center no-repeat; background-size: contain; }
footer div#footer-social ul li.etsy a { background-image: url(img/ui/etsy-logo.png); }

div.some-icons {
  padding-top: 50px;
  text-align: center;
}

div.some-icons ul {
  padding-left: 0;
}

div.some-icons ul li {
  position: relative;
  display: inline-block;
  width: 30px;
  height: 30px;
  margin: 0 15px;
}

div.some-icons ul li a {
  position: absolute;
  left: 0;
  text-indent: -9999px;
  overflow: hidden;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;  
}

div.some-icons ul li.facebook a { background: url(img/Facebook.svg) center center no-repeat; background-size: contain; }
div.some-icons ul li.instagram a { background-image: url(img/instagram.svg); }
div.some-icons ul li.youtube a { background: url(img/Youtube.svg) center center no-repeat; background-size: contain; }
div.some-icons ul li.twitter a { background: url(img/twitter.svg) center center no-repeat; background-size: contain; }
div.some-icons ul li.etsy a { background-image: url(img/ui/etsy-logo.png); }

div.some-icons ul li a:hover {
  opacity: 0.8;
}

footer div#footer-newsletter {
  position: absolute;
  top: 120px;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  width: 300px;
  text-align: center;
}

footer div#footer-newsletter div.title {
  font-weight: bold;
  margin-bottom: 12px;
}

footer div#footer-newsletter div.form {
  position: relative;
  margin: 0 auto;
  width: 172px;
}

footer div#footer-newsletter div.form input[type=text] {
  display: inline-block;
  position: absolute;
  top: 0;
  left: 0;
  font-size: 10px;
  padding: 4px 17px;
  text-align: center;
  height: 26px;
  box-sizing: border-box;
  border: none;
  width: 140px;
}

footer div#footer-newsletter div.form input[type=submit] {
  display: inline-block;
  position: absolute;
  top: 0;
  right: 0;
  border: none;
  height: 26px;
  width: 26px;
  box-sizing: border-box;
  padding: 0;
  background: #d0d0d0 url(img/ui/arrow-right-bold.png) no-repeat center center;
  cursor: pointer;
}

footer div#footer-newsletter div.form input[type=submit]:hover {
  background-color: #b8b8b8;
}

footer nav#footer-menu {
  position: absolute;
  top: 175px;
  left: 0;
}

footer nav#footer-menu ul {
  padding-left: 0;
}

footer nav#footer-menu ul li {
  display: block;
  margin-bottom: 6px;
}

footer nav#footer-menu ul li a {
  color: #999;
  text-decoration: underline;
  font-weight: 300;
}

footer nav#footer-menu ul li a:hover {
  text-decoration: underline;
}

footer div#footer-copyright {
  position: absolute;
  bottom: 25px;
  left: 0;
  text-align: center;
  width: 100%;
  font-size: 14px;
}

footer a {
  color: #999;
}

footer p.maksutavat {
  margin-top: 40px;
}

footer div.some-title {
  margin-top: 40px;
}

div.footer-border-top {
  border-top: 1px solid #d0d0d0;
  font-size: 16px;
  padding: 40px 0;
  text-align: right;
}

/* Tables */

table.measurements {
	margin-bottom: 100px;
	width: 100%;
}

table.measurements th {
  background: #000;
  color: #fff;
	padding: 7px 10px;
	text-align: left;
}

table.measurements td {
	padding: 7px 10px;
}

/*table.measurements td:first-child {
	border-right: 2px #999 solid;
}*/

table.measurements tr:nth-child(odd) td {
	background: #ebebeb;
}

table.measurements + p {
  margin-bottom: 100px;
}

table.measurements + p + p {
  margin-bottom: 60px;
}

/* Misc */
div.clear {
  clear: both;
  height: 1px;
}

.ui-loader { 
  display: none; 
}

.ui-selectmenu-button {
  margin-bottom: 7px;
  box-sizing: border-box;
}

select.tilaajalahja + .ui-selectmenu-button {
  margin-bottom: 29px;
}

table.cart select.tilaajalahja + .ui-selectmenu-button {
  margin-bottom: 7px;
}

ul.ui-menu {
  max-height: 250px;
}

.ui-selectmenu-button span.ui-icon {
  top: 26px !important;
  right: 21px !important;
  background: url("img/nuoli_pieni.svg") no-repeat; 
  width: 13px; 
  height: 9px;
}

.ui-selectmenu-button.ui-corner-top span.ui-icon {
  background-image: url("img/nuoli_pieni_ylos.svg");
}

.ui-selectmenu-button.ui-corner-top {
  border-bottom: none !important;
}

.ui-menu-item {
  padding: 0 20px 12px 20px !important;
  color: #000 !important;
  font-size: 16px;
}

.ui-menu-item:first-child {
  display: none !important;
}

.ui-menu-item.ui-state-focus {
  border: none !important;
  margin: 0 !important;
}

.ui-menu {
  border-top: none !important;
  padding-bottom: 7px !important;
}

.ui-input-text {
  display: inline-block;
  width: auto;
}

/* Browse pop up */

div.browse-pop-up-bg {
  background: rgba(0, 0, 0, 0.8);
  display: none;
  left: 0;
  position: absolute;
  top: 0;
  z-index: 399;
  width: 100%;
}

div.browse-pop-up {
  background: #fff;
  box-sizing: border-box;
  display: none;
  left: 0;
  max-width: 1220px;
  padding: 10px 10px 60px 10px;
  position: absolute;
  top: 0;
  width: 90%;
  z-index: 400;
}

div.cover-wrap {
  float: left;
  width: 100%;
}

div.cover {
  float: left;
  width: 50%;
}

div.table-of-content {
  box-sizing: border-box;
  float: left;
  padding: 200px 40px 40px 40px;
  width: 50%;
}

a.popup-title {
  display: block;
  font-size: 1.8rem;
  margin-bottom: 20px;
  text-decoration: none;
  text-transform: uppercase;
}

a.popup-title:hover { text-decoration: underline; }

a.popup-title-link {
  display: block;
  font-size: 1.8rem;
  margin-bottom: 20px;
  text-decoration: none;
}

a.popup-title-link:hover { text-decoration: underline; }

div.browse-pop-up img {
  display: block;
  width: 100%;
}

div.browse-pop-up iframe {
  float: left;
  height: 788px;
  margin-bottom: 20px;
  width: 100%;
}

button.browse {
  background: none;
  border: none;
  cursor: pointer;
  display: block;
  height: 84px;
  outline: none;
  position: absolute;
  text-indent: -9999px;
  top: 40%;
  transition-duration: 0.5s;
  width: 76px;
}

button.browse-next {
  background-image: url(img/ui/arrow_right.png);
  background-position: center center;
  background-repeat: no-repeat;
  right: 20px;
}

button.browse-prev {
  background-image: url(img/ui/arrow_left.png);
  background-position: center center;
  background-repeat: no-repeat;
  left: 20px;
}

img.browse-img {
  margin: 0 auto 20px auto;
}

img.browse-img.cover {
  /*height: 788px;*/
  height: auto;
  margin: 0 auto 20px auto;
  width: 100%;
}

img.preload, div.next-img, div.prev-img { display: none; }

div.next-img, div.prev-img {
  display: block;
  float: left;
  height: 100px;
  overflow: hidden;
  width: 150px;
}

a.browse-thumb {
  border: 2px #fff solid;
  box-sizing: border-box;
  display: block;
  float: left;
  max-width: 116px;
  overflow: hidden;
  position: relative;
  transition-duration: 0.5s;
  width: 120px;
}

a.browse-thumb.browse-video {
  width: 102px !important;
}

div.video-thumb-play {
  background: url(img/ui/play.png) no-repeat;
  background-size: contain;
  height: 22px;
  left: 34px;
  position: absolute;
  top: 26px;
  width: 30px;
}

a.browse-thumb:hover, a.browse-thumb.selected {
  border: 2px #ff9999 solid;
}

a.browse-thumb img {
  height: auto;
  width: 100%;
}

a.thumb-0 {
  height: 77px !important;
  width: 63px !important;
}

a.thumb-0 img {
  height: 77px !important;
  width: 59px !important;
}

div.next-img img, div.prev-img img {
  height: auto;
  width: 100px;
}

div.browse-pop-up div.caption {
  bottom: 10px;
  box-sizing: border-box;
  font-weight: bold;
  padding: 0 10px;
  position: absolute;
  left: 0;
  text-align: right;
  width: 100%;
}

div.browse-pop-up div.caption a.btn {
  margin-left: 20px;
  padding-left: 20px;
  padding-right: 20px;
}

a.close-popup {
  background: #fff;
  border-radius: 40px;
  color: #000;
  font-size: 3rem;
  height: 40px;
  line-height: 40px;
  position: absolute;
  right: -14px;
  text-decoration: none;
  text-align: center;
  top: -16px;
  width: 40px;
}

/* Misc */

.mobile-br { display: inline; }

/* Ksenia */

p.text_bold{
	color: #b4cf13;
	font-size: 16px;
	font-weight: bold;
	margin-top: 20px;
}

a.footer_link{
	text-decoration: underline !important;
}

div.contact{
	width: 430px;
}

div.col_1-2 img.image{
	margin-bottom: 23px !important;
}

div.col_1-2.kan_tar_1{
	text-align: center;
}

div.col_1-2.kan_tar_2{
	text-align: center;
	width: 540px  ;
}

.shop_text{
	width: 500px !important;
}

nav#breadcrumbs ul li.back2{
	text-transform: none !important;
}

div.other-issues{	
	width: 1170px;
	height: 280px !important;
	padding-right: 5px;
	padding-left: 5px;
}

div.wrap-one{  
	padding-left: 125px;
  padding-right: 80px;
  position: relative;
	width: 1160px;
	margin: 0 auto;
}

div.wrap-two{	  
	padding-left: 125px;
  padding-right: 80px;
  position: relative;
	width: 1160px;
	margin: 0 auto;
}

nav#about-magazine-tabs ul.tabs{	
	padding-left: 0px;
}

div#jaa{	
	margin-right: 0px !important;
}

ul.social{
	padding-left: 20px;
}

p.img_text{
  font-size: 18px;
  float: left;
	margin: 0;
  width: 70px;
}

/* Ksenia end */

/* Cookies */

div.evaste {
  background: #cbe383;
  bottom: 0;
  box-sizing: border-box;
  color: #000;
  display: none;
  font-size: 1.125rem;
  left: 0;
  padding: 30px 50px;
  position: fixed;
  text-align: center;
  width: 100%;
}

button.close {
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
  padding: 0;
  position: absolute;
  right: 20px;
  top: 30px;
}

/* Shop */

span.ui-selectmenu-button {
  outline: none;
}

table.cart {
  border-collapse: collapse;
  margin: 100px 0 20px 0;
  text-align: left;
  width: 100%;
}

table.cart-small {
  border-collapse: collapse;
  margin: 0;
  text-align: left;
  width: 100%;
}

table.cart-small tr:first-child td {
  vertical-align: bottom;
}

table#carttable {
  border-bottom: 2px solid #636363;
  margin-bottom: 0;
}

table#carttable td:first-child {
  padding-left: 0;
}

table#carttotaltable {
  float: right;
  font-size: 16px;
  margin-top: 0;
  max-width: 40%;
}

table.carttotaltable-small {
  border-top: 2px solid #252525;
  font-size: 16px;
  max-width: 100% !important;
}

table.carttotaltable-small tr.sale {
  color: #ff9999;
}

table.cart td,
table.cart-small td {
  border-top: 1px solid #d0d0d0;
  padding: 25px 20px;
  vertical-align: middle;
}

table.cart-small td { 
  font-size: 16px;
  padding-left: 0;
  padding-right: 20px;
  vertical-align: top;
}

table#carttotaltable td {
  padding-left: 0;
  padding-right: 0;
  vertical-align: top;
}

table#carttotaltable tr:first-child td {
  border-top: none;
}

table#carttotaltable td:first-child {
  width: 30%;
}

table#carttotaltable input.button {
  max-width: 100%;
}

a.toimitus-lisaa {
  display: block;
  margin: 15px 0;
}

div.toimitus-lisaa {
  display: none;
}

table.cart-small td:last-child {
  padding-right: 0;
  text-align: right;
  white-space: nowrap;
}

table.cart-small tr:first-child td {
  border-bottom: 1px solid #d0d0d0;
  border-top: none;
  padding-top: 0;
}

table.cart-small a {
  color: #000 !important;
}

table#carttotaltable tr.total {
  border-top: 2px solid #252525;
}

table.cart h2 {
  color: #000;
  font-size: 18px;
  font-weight: bold;
  letter-spacing: normal;
  margin-bottom: 10px;
}

table.cart h2 span.price {
  font-size: 20px;
}

table.cart-small h2 {
  margin-bottom: 0;
}

table.cart td#cartsum {
  text-align: right;
}

td.cartimg img {
  display: block;
  height: auto;
  max-width: 118px;
}

div.cart-item-name a,
td.cartdesc a {
  text-decoration: none;
}

input.cart-del-btn {
  background: url(img/ruksi_pieni.svg) center center no-repeat;
  background-size: contain;
  border: none;
  cursor: pointer;
  height: 14px;
  outline: none;
  overflow: hidden;
  text-indent: -9999px;
  width: 14px;
}

table.cart a {
  color: #000 !important;
}

table.cart div.cart-subscription,
body.cart li.ui-menu-item {
  font-size: 14px;
}

table.cart div.cart-subscription label {
  display: inline-block;
  width: 100px;
}

table.cart .ui-selectmenu-button {
  display: inline-block !important;
  vertical-align: middle;
  width: 100px !important;
}

table.cart select.tilaajalahja + .ui-selectmenu-button {
  width: 300px !important;
}

table.cart .ui-selectmenu-button span.ui-selectmenu-text {
  padding: 3px 10px;
}

table.cart .ui-selectmenu-button span.ui-icon {
  margin-top: -15px;
  right: 10px !important;
}

div#carttotal {
  margin-left: 5%;
  width: 45%;
}

table.cart-small td.cartimg img {
  height: auto;
  width: 100px;
}

/* Instagram feed */

div.instagram-feed {
  text-align: center;
}

div.instagram-feed p {
  font-size: 22px;
  font-weight: 600;
  padding: 50px 0 20px 0;
}

div.sbi_info {
  display: none;
}

/* Alert message */

div.alert-message {
  background: #ecd5ca;
  margin-bottom: 30px;
  padding: 50px 0;
  text-align: center;
}

div.alert-message div.wrap > div {
  margin: 0 auto;
  max-width: 68%;
}

div.alert-message h2 {
  font-family: 'Lora', serif;
  font-size: 30px;
  font-weight: 100;
}

div.alert-message p {
  font-size: 22px;
}

/* Season Favourites */

div.season-favourites {
  text-align: center;
}

div.season-favourites h2 {
  font-family: 'Lora', serif;
  font-size: 30px;
  font-weight: 100;
}

div.season-favourites div.image img {
  max-height: 289px;
  max-width: 100%;
  width: auto;
}

div.season-favourites div.col_1-3 {
  padding-top: 40px;
}

div.season-favourites div.issue {
  padding-bottom: 10px;
}

/* Single gray bg */

div.gray-bg {
  background-color: #ebebeb;
  box-sizing: border-box;
  padding: 0 0 20px 0;
}

div.gray-bg h3 {
  font-family: 'Lora', serif;
  font-size: 22px;
  font-weight: 400;
  height: 20px;
  padding-top: 40px;
}

div#magazine-years div.magazine-items div.magazine-item-single div.gray-bg div.image {
  height: 180px;
}

div#magazine-years div.magazine-items div.magazine-item div.gray-bg div.image img {
  max-height: 180px;
}

/* Single issue LAB start */

div.single-lab {
  display: none;
  padding-top: 50px;
  text-align: center;
}

div.single-lab h2 {
  color: #000 !important;
  font-family: 'Lora', serif;
  font-weight: 400;
  font-size: 26px;
}

div.single-lab div#magazine-years div.pattern-items div.pattern-item {
  float: none;
  display: inline-block;
  vertical-align: top;
}

div.ill-tut-spinner {
  animation: spinner 2s infinite linear;
  border: 2px solid #000;
  border-left-color: #fff;
  border-radius: 50%;
  height: 20px;
  margin: 0 auto 20px auto;
  width: 20px;
}

@keyframes spinner {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Single issue LAB end */

/* Black Friday */

div.black-friday {
  background-image: url(../../../../subscription/img/banneri_kuvitus_2000px.jpg);
  background-position: center right;
  background-repeat: no-repeat;
  background-size: cover;
  color: #fff;
  margin-bottom: 45px;
  padding: 45px 20px;
  -webkit-font-smoothing: antialiased; 
  -moz-osx-font-smoothing: grayscale;
}

div.black-friday img {
  display: block;
  height: 75px;
  margin: 0 auto 20px auto;
  max-width: 100%;
  width: auto;
}

div.black-friday p {
  margin-bottom: 0;
}

div.black-friday h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 0;
}

div.black-friday.center {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 14vw;
}

div.black-friday-content.lang-fi {
  color: #000;
}

div.black-friday-content p {
  margin: 0 auto;
  max-width: 520px;
}

div.shipping-banner.black-friday-pink {
  background-color: #f34da0;
  color: #fff;
}

/* Black friday end */

/* Media queries */
@media only screen and (max-width : 1280px) {
  header, div.wrap {
    /*width: 640px;*/
    width: 95%;
  }
    
  header h1 {
    top: 25px;
  }
  
  /*header nav#lang-menu {
    top: 27px;
    right: 0;
    width: 170px;
  }
  
  header div#cart {
    top: 58px;
    right: 0;
    width: 170px;
  }*/
  
  header div#cart div.items-in-cart {
    /*padding-left: 23px;
    padding-right: 40px;*/
  }
  
  /*header nav#main-menu {
    padding-top: 80px;
  }*/
  
  header nav#main-menu ul li {
    min-width: 0;
    /*margin-left: 27px;
    margin-right: 27px; */
  }
  
  /*header nav#sub-menu ul li a {
	  font-size: 14px;
  }*/
  
  div.col_1-2.right {
    /*padding-left: 40px;*/
  }
  div.col_1-2.righ-one {
    padding-left: 7px;
  }
  
  div.col_2_wide_left {
		float: none;
		margin-right: 0;
		width: 100%;
	}

  div.col_2_wide_left.col_2_wide_left_measurement { 
    float: none;
    margin-right: 0;
    width: 100%;
  }
	
	div.col_2_narrow_right {
		float: none;
		width: 100%;
	}
  
  div#slideshow {
    /*width: 640px;
    height: 245px;
    */
    margin: 0 auto;
    width: 100%;
  }
  
  div#slideshow div.slideshow-content div.buttons-container {
    top: 120px;
    left: 30px;
  }
  
  div#landing-blocks div.landing-block {
    margin-bottom: 20px;
    min-height: 300px;
  }

  div#landing-blocks div.landing-block:nth-child(2n+3) {
    clear: left;
  }

	h3.contact, p.contact{
	  
    margin-left: 20px !important;
    padding-left: 5px !important;
  }
  div#landing-blocks div.landing-block a.landing-block-text {
    padding: 70px 40px 0 40px;
  }

  div.content p,
  body.page-myottobre-tarinat div.content p {
    width: 90%;
  }
  
  div.magazine div.image img {
    max-width: 100%;
    height: auto;
  }
  
  div.order-magazine div.dashed-line h1 {
    font-size: 20px;
    margin-top: 0px;
    margin-bottom: 30px;
  }
  
  div.front-hover-box {
    max-width: 100%;
    background-position: center center !important;
    background-size: cover !important;
  }
  
  div.front-hover-box a.front-hover-box-content {
    padding: 10px;
  }
  
  /*nav#site-map {
    width: 100%;
  }*/
  
  /*nav#site-map ul li {
    padding: 0;
  }*/
  
  div#magazine-choices-selected ul {
    width: 420px;
  }
  
  div#magazine-years div.magazine-items div.magazine-item, div#magazine-years div.pattern-items div.pattern-item {
    /*width: 25%;*/
  }

  /*div#magazine-years div.magazine-items div.magazine-item:nth-child(5), div#magazine-years div.pattern-items div.pattern-item:nth-child(5) {
    clear: left;
  }*/
  
  div#about-magazine {
    position: relative;
    /*left: -360px;
    width: 640px;*/
  }
  
  div#other-issues {
    position: relative;
    height: auto;
  }
  
  div#other-issues div.items-container div.items {
    position: relative;
    left: auto;
    height: auto;
  }
  
  div#other-issues div.items-container div.items div.item {
    margin-bottom: 30px;
  }
  
  /*div#other-issues.thin {
    width: 580px;
    margin-bottom: 0px;
  }*/
  
  /*div#other-issues.thin div.items-container div.items div.item {
    display: none;
  }*/
  
  /*div#other-issues.thin div.items-container div.items div.item:nth-child(-n+4) {
    display: inline-block;
  }
  
  div#other-issues.thin div.items-container div.items div.item:nth-child(4) {
    margin-right: 0;
  }*/
  
  a.front-order-magazine-box,
  a.front-browse-magazines-box {
    font-size: 18px;
    height: 100px;
    line-height: 100px;
  }
  
  footer div#ottilia {
    right: -350px;
  }
  
  /*footer div#footer-social {
    left: 25%;
  }
  
  footer div#footer-payment-options {
    left: 25%;
  }*/

  div.col_2_wide_left_404 {
    text-align: center;
  }

  div.col_2_narrow_right_404 {
    float: none;
    margin: 0 auto;
    text-align: center;
    width: 100%;
  }

  div.evaste a {
    display: block;
  }

  div.magazine-item:nth-child(9) {
    clear: both;
  }

  a.single-2-cover-prev,
  a.single-2-cover-next {
    display: none;
  }

  a.single-2-thumb {
    margin-right: 5px;
  }

  a.single-2-cover-prev-popup {
    left: 10px;
  }

  a.single-2-cover-next-popup {
    right: 10px;
  }

  a.single-2-cover-close-popup {
    right: 10px;
  }
}

/* /1280 */

@media only screen and (max-width : 1040px) {
  img.browse-img {
    height: auto !important;
    max-width: 100%;
  }

  div.table-of-content {
    padding-top: 40px;
  }

  a.popup-title,
  a.popup-title-link {
    font-size: 1.2rem;
  }

  div#magazine-big div.image img {
    margin-left: 0;
  }

  div#magazine-big div.links {
    padding-left: 0;
  }

  a.search-close { 
    right: 2%;
  }

  div.single-2-thumb-wrap {
    padding-left: 0;
  }
}

/* 1040 */

@media only screen and (max-width : 1000px) {
  div#magazine-years div.magazine-items div.magazine-item, div#magazine-years div.pattern-items div.pattern-item {
    width: 33%;
  }

  div#magazine-years div.magazine-items div.magazine-item:nth-child(4), div#magazine-years div.pattern-items div.pattern-item:nth-child(4) {
    clear: left;
  }

  div#magazine-years div.magazine-items div.magazine-item:nth-child(5), div#magazine-years div.pattern-items div.pattern-item:nth-child(5) {
    clear: none;
  }

  footer div#ottilia {
    background-size: contain;
    height: 250px;
    right: -100px;
  }

  div#other-issues.thin {
    width: 580px;
    margin-bottom: 0px;
  }
}

/* 1000 */

@media only screen and (max-width : 950px) {
  nav#main-menu ul li {
    margin: 0 15px;
  }

  nav#site-map {
    width: 750px;
  }

  nav#site-map img {
    /*display: none;*/
    width: 85px;
  }

  nav#site-map > ul > li {
    padding: 0 20px 0 0;
  }

  div.single-2-popup img {
    height: 70vh;
    top: 15vh;
  }
}
/* 950 */

@media only screen and (max-width : 900px) {
  label.gfield_checkbox {
    max-width: 80%;
  }

  div.col-2-left-align {
    padding-right: 50px;
  }

  div.col-2-left-align-2 {
    padding-left: 50px;
  }

  table.cart td {
    padding: 15px;
    vertical-align: top;
  }

  table.cart td.cartimg {
    padding-right: 0;
    max-width: 50px;
    min-width: 50px;
  }

  td.cartimg img {
    width: 100%;
  }

  table.cart {
    margin-top: 40px;
  }

  table.cart, 
  table.cart h2, 
  div#magazine-information input#amount, 
  table.cart input#amount {
    font-size: 16px;
  }

  table.cart input#amount {
    height: 25px;
    width: 25px;
  }

  div#magazine-information a.minus, div#magazine-information a.plus, table.cart a.minus, table.cart a.plus {
    font-size: 16px;
    height: 25px;
    line-height: 25px;
    width: 25px;
  }

  table.cart div.cart-subscription label {
    display: block;
    width: 100%;
  }

  table#carttotaltable {
    float: none;
    max-width: 100%;
    width: 100%;
  }

  div.alert-message div.wrap > div {
    max-width: 100%;
  }
}

/* 900 */

@media only screen and (max-width : 800px) {
  div#magazine-years div.magazine-items div.magazine-item, div#magazine-years div.pattern-items div.pattern-item {
    width: 33%;
  }
  
  /*nav#site-map > ul > li {
  	width: 33.33%;
  	margin-bottom: 30px;
	}*/

  footer div#ottilia {
    height: 200px;
    right: -100px;
  }

  nav#site-map {
    width: 100%;
  }

  nav#main-menu ul li {
    margin: 0 10px;
  }

  div#slideshow,
  div#slideshow div.slideshow-content div.current-img {
    height: 300px;
  }

  div.front-hover-box {
    height: 240px;
  }

  div#landing-blocks div.landing-block,
  div#landing-blocks div.landing-block:nth-child(2n) {
    padding-bottom: 0;
  }

  div#landing-blocks div.landing-block a.landing-block-text {
    min-height: 310px;
    padding-top: 40px;
  }

  nav#site-map > ul > li {
    max-width: 20%;
  }

  nav#site-map img {
    height: auto;
    margin-right: 5%;
    width: 45%;
  }

  p.img_text {
    width: 50%;
  }

  div.content {
    margin-bottom: 20px;
  }

  nav#site-map {
    margin-top: 0;
  }

  footer {
    padding-top: 20px;
  }

  div.col_1-3.bgcolor {
    padding: 15px 15px 15px 15px !important;
  }

  div.magazine-item:nth-child(7),
  div.magazine-item:nth-child(13) {
    clear: both;
  }

  div.magazine-item:nth-child(9) {
    clear: none;
  }

  div#magazine-years div.magazine-items div.magazine-item div.image {
    height: 240px;
  }

  div.col_1_online_payment div.col_1-2 {
    float: none;
    width: 100%;
  }

  form#checkoutform div.col_1-2:first-child {
    padding-right: 0;
  }

  form#checkoutform div.col_1-2:last-child {
    padding-left: 0;
  }

  p.checkout-text {
    margin-bottom: 20px !important;
  }

  div#carttotal {
    margin-left: 0;
    margin-top: 20px;
    width: 100%;
  }

  div.col_1_online_payment h2 {
    font-size: 18px;
  }

  p.checkout-breadcrumb span.rsa {
    padding: 0 5px;
  }

  p.checkout-breadcrumb {
    padding: 17px 5px 17px 5px;
  }
}

/* /800 TABLET END */

@media only screen and (max-width : 700px) {
  a.button {
    padding-top: 12px;
    padding-bottom: 12px;
    font-size: 14px;
  }
  
  header, div.wrap {
    width: 95%;
  }

  header div.wrap {
    width: 100%;
  }

  header {
    height: 250px;
  }
    
  header h1 {
    position: relative;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
  }
  
  header nav#lang-menu {
    left: calc(50% - 75px);
    top: 80px;
  }
  
  header div#cart {
    right: 0;
    top: 80px;
  }

  a.top-search-link { 
    top: 80px;
  }
  
  header nav#main-menu {
    display: none;
  }

  nav#mobile-menu ul ul {
    display: block;
    padding-left: 10px;
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    box-sizing: border-box;
    border: none;
    padding-bottom: 0;
    text-transform: none;
  }

  nav#mobile-menu ul ul a {
    text-transform: none;
  }
  
  header nav#sub-menu {
    display: none;
  }
  
  header nav#mobile-menu {
    display: block;
  }
  
  header nav#breadcrumbs {
    margin: 0;
    position: absolute;
    top: 160px;
  }
  
  div#slideshow {
    /*width: 480px;
    height: 184px;*/
    height: 300px;
  }

  div#slideshow div.slideshow-content div.current-img {
    height: 300px;
  }
  
  div#slideshow div.slideshow-content div.buttons-container {
    top: 90px;
    left: 20px;
  }
  
  div.content p,
  body.page-myottobre-tarinat div.content p {
    width: 60%;
  }
  
  div.col_1-3 {
    float: none;
    margin: 0;
    width: 100%;
    margin-bottom: 30px;
  }
  
  div.col_1-2.right {
    padding-left: 20px;
  }
  
  div#landing-blocks {
    margin-bottom: 30px;
  }
  
  div#landing-blocks div.landing-block {
    float: none;
    width: 100%;
    height: auto;
    min-height: 0;
    padding-right: 0;
    padding-bottom: 0;
  }
  
  div#landing-blocks div.landing-block:nth-child(2n) {
    padding-left: 0;
    padding-bottom: 0;
  }
  
  div#landing-blocks div.landing-block a.landing-block-text {
    min-height: 0;
    padding: 40px 30px 40px 30px;
  }
  
  div.front-hover-box {
    width: 100%;
    background-size: cover;
  }
  
  nav#site-map {
    width: 88%;
    margin-top: 0px;
    margin-bottom: 30px;
  }
  
  nav#site-map > ul > li {
    width: 50%;
    padding-right: 0;
    /*height: 180px;*/
    text-align: center;
  }

  nav#site-map > ul > li:last-child {
    width: 100%;
  }
    
  div#magazine-choices-selected ul {
    width: 260px;
  }
  
  div#magazine-choices div.magazine-choices-item {
    width: 152px;
    margin-right: 12px;
  }
  
  div#magazine-choices div.magazine-choices-item div.magazine-choice-items {
    width: 152px;
  }
  
  div#magazine-choices div.magazine-choices-item:nth-child(3) {
    margin-right: 0;
  }
  
  div#magazine-years div.magazine-items, div#magazine-years div.pattern-items {
    padding: 0;
  }

  div#magazine-information div.amount {
    margin-bottom: 20px;
  }
  
  div#magazine-information div.amount div.title {
    margin-right: 22px;
  }
  
  div#magazine-information a.button {
    margin-bottom: 10px;
  }
  
  /*div#about-magazine {
    left: -260px;
    width: 480px;
  }*/
  
  .ui-selectmenu-button span.ui-selectmenu-text {
    padding-top: 12px !important;
    padding-right: 40px !important;
    font-size: 14px;
  }
  
  .ui-menu .ui-menu-item {
    font-size: 14px;
  }
  
  footer,
  footer div.wrap {
    height: auto;
  }
  
  footer div.foo-bg {
    padding: 20px;
  }
  
  footer div#footer-contact,
  footer div#footer-social,
  footer div#footer-payment-options,
  footer nav#footer-menu,
  footer div#leverage-from-eu,
  footer div#footer-copyright {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    text-align: center;
    width: 100%;
    margin-bottom: 30px;
  }

  footer div#ottilia {
    display: none;
  }

  .mobile-br { display: block; }
}

/* /700 */

@media only screen and (max-width : 680px) {

  div#other-issues.thin {
    width: 100%;
  }

  div#other-issues a.next, div#other-issues a.prev {
    background-color: white;
    background-position: 16px center;
    border-radius: 32px;
    padding: 10px;
    width: 32px;
  }

  div#other-issues a.next {
    right: 0;
    z-index: 99;
  }

  div#other-issues a.prev {
    background-position: 12px center;
    left: 0;
    z-index: 99;
  }
  
  form.serviceform input.chkrad {
    box-sizing: border-box;
    width: 10% !important;
  }

  form.serviceform label.chkrad {
    box-sizing: border-box;
    width: 80% !important;
  }

  div.gform_wrapper {
    width: 100%;
  }

  div#magazine-big div.image img {
    max-width: 100%;
  }

  /* Force table to not be like tables anymore */
  table#carttable, table#carttable thead, table#carttable tbody, table#carttable th, table#carttable td, table#carttable tr { 
    display: block; 
  }
  
  /* Hide table headers (but not display: none;, for accessibility) */
  table#carttable thead tr { 
    position: absolute;
    top: -9999px;
    left: -9999px;
  }
  
  table#carttable tr { 
    border-top: 1px solid #d0d0d0; 
    margin-bottom: 10px;
  }
  
  table#carttable td { 
    /* Behave  like a "row" */
    border: none;
    display: inline-block;
    margin-right: 2%;
    padding-right: 0;
    position: relative;
    padding-left: 0% !important; 
    text-align: left;
  }

  table#carttable td:first-child {
    width: 10%;
  }

  table#carttable td:nth-child(2) {
    width: 35%;
  }

  table#carttable td:nth-child(3) {
    width: 20%;
  }

  table#carttable td:nth-child(4) {
    width: 10%;
  }

  table#carttable td:nth-child(5) {
    margin-right: 0;
    text-align: right;
    width: 10%;
  }

  p.checkout-breadcrumb {
    text-align: center;
  }

  p.checkout-breadcrumb span {
    display: block;
    transform: rotate(90deg);
  }
}

/* 680 */

@media only screen and (max-width : 520px) {
  /*header, div.wrap {
    width: 320px;
  }*/
  
  /*header {
    height: 290px;
  }*/
  
  /*header h1 {
    width: 100%;
    height: 53px;
  }*/
  
  header h1 a {
	  background-position: center center;
    background-size: contain;
  }
  
  header nav#lang-menu {
    /*top: 130px;
    left: calc(50% - 75px);
    width: 150px;*/
  }
  
  header div#cart {
    top: 80px;
    right: 0;
    width: 49%;
  }
  
  header div#cart div.items-in-cart {
    /*padding-left: 10px;
    padding-right: 30px;*/
  }
  
  /*header nav#mobile-menu {
    top: 115px;
  }*/
  
  header nav#breadcrumbs {
    top: 135px;
  }

  /*header + div.wrap,
  header + script + div.wrap {
    margin-top: 40px;
  }*/

  body.home header + div.wrap {
    margin-top: 0;
  }
  
  div.col_1-2, div.col_1-2.right {
    float: none;
    width: 100%;
    padding: 0;
  }
  
  div.content p,
  body.page-myottobre-tarinat div.content p {
    width: 85%;
  }
  
  /*div#slideshow {
    width: 320px;
    height: 123px;
  }*/
  
  /*div#slideshow div.slideshow-content div.buttons-container {
    display: none !important;
  }
  
  div#slideshow div.slideshow-navi {
    display: none;
  }*/
  
  div#magazine-choices-selected div.title {
    display: block;
    float: none;
  }
  
  div#magazine-choices-selected ul {
    display: block;
    width: 100%;
    float: none;
    margin: 20px 0;
  }
  
  div#magazine-choices {
    margin-top: 10px;
  }
  
  div#magazine-choices div.magazine-choices-item {
    width: 320px;
    margin-bottom: 10px;
  }
  
  div#magazine-choices div.magazine-choices-item div.magazine-choice-items {
    z-index: 999;
    width: 320px;
  }
  
  div#magazine-choices div.magazine-choices-item.year ul li {
    width: 17%;
    margin-right: 9%;
  }
  
  div#magazine-choices div.magazine-choices-item.year ul li:nth-child(2n) { margin-right: 9%; }
  div#magazine-choices div.magazine-choices-item.year ul li:nth-child(4n) { margin-right: 0; }
  
  div#magazine-years div.magazine-items div.magazine-item, div#magazine-years div.pattern-items div.pattern-item {
    width: 100%;
  }
  
  div#magazine-big {
    margin-bottom: 20px;
  }
  
  div#magazine-big div.image {
    text-align: center;
  }
  
  div#magazine-big div.image img {
    margin: 0 auto;
    max-width: 72%;
  }
  
  div#magazine-big div.links ul {
    text-align: center;
  }
  
  div#magazine-big div.links ul li {
    display: inline-block;
    width: auto;
    margin-left: 8px;
    margin-right: 8px;
    height: 60px;
  }
  
  div#magazine-big div.links ul li a {
    background-position: center top;
    padding-right: 0;
    padding-top: 30px;
  }
  
  div#magazine-information {
    text-align: center;
  }
  
  div#about-magazine {
    left: auto;
    width: 100%;
  }
  
  div#magazine-information div#about-magazine nav#about-magazine-tabs ul li {
    width: 100%;
    display: block;
    border-right: none;
    margin-bottom: 5px;
    padding: 0;
  }
  
  /*div#other-issues div.items-container div.items div.item {
    margin-right: 35px;
  }
  
  div#other-issues div.items-container div.items div.item:nth-child(2n) {
    margin-right: 0;
  }*/

  nav#site-map > ul > li {
  	width: 100%;
	}
	
	footer div#footer-payment-options img {
    max-width: 100%;
    height: auto;
	}

  form.serviceform input, form.serviceform textarea {
    width: 100%;
  }

  form.serviceform p {
    width: 100%;
  }

  label.gfield_checkbox {
    max-width: 80%;
  }

  input[type=reset].green, input[type=button].green-border {
    max-width: none;
    margin-bottom: 20px;
    width: 100%;
  }

  input[type=submit].green, input[type=button].green, div.gform_wrapper input[type=submit], div.gform_wrapper input[type=button] {
    max-width: none;
    width: 100%;
  }

  div.laskutustiedot {
    width: 100%;
  }

  div.col_1-2.first {
    margin-bottom: 20px;
    padding-right: 0;
  }

  div.col_1-3 {
    margin-bottom: 20px;
  }

  div.gray-box {
    margin-bottom: 20px;
  }

  div.col-row.border-bottom {
    margin-bottom: 20px;
    padding-bottom: 20px;
  }

  div.col_1-2.last {
    padding-left: 0;
  }

  nav#site-map img {
    display: inline;
  }

  div.gray-box {
    padding: 20px;
  }

  div.gray-box p {
    font-size: 1rem; 
  }

  div#slideshow,
  div#slideshow div.slideshow-content div.current-img {
    height: 140px;
  }

  nav#site-map > ul > li {
    margin-bottom: 20px;
    max-width: none;
  }

  div.col-row {
    margin-bottom: 20px;
  }

  p.img_text {
    text-align: left;
    width: 150px;
  }

  nav#site-map img {
    width: 100px;
  }

  footer {
    padding-top: 20px;
  }

  div.some-icons {
    padding-top: 20px;
  }

  div#other-issues {
    margin-top: 20px;
  }

  div#slideshow div.slideshow-navi {
    bottom: 5px;
  }

  div.table-of-content {
    padding: 10px;
  }

  a.popup-title,
  a.popup-title-link {
    font-size: 1rem;
  }

  button.browse {
    bottom: -100px;
    top: auto;
  }

  div.bgcolor-wrap {
    display: block;
  }

  div.evaste {
    font-size: 0.8rem;
    padding: 10px;
  }

  button.close {
    bottom: 10px;
    top: auto;
  }

  /*body.shop nav#lang-menu {
    left: 0;
    right: auto;
    width: 49%;
  }*/

  body.shop nav#lang-menu,
  header nav#lang-menu {
    left: 0;
    right: auto;
    width: 49%;
  }

  div#magazine-years div.magazine-items div.magazine-item div.image {
    height: auto;
  }

  /*table.cart td {
    padding: 0 5px;
  }*/

  td.cartimg img {
    height: auto;
    max-width: 50px;
  }

  input[type=submit].lightblue, input[type=button].lightblue {
    margin-bottom: 10px;
    padding: 10px;
  }

  div.col_1_online_payment {
    padding-left: 0;
  }

  div.col-2-left-align {
    border-bottom: 1px solid #d0d0d0;
    border-right: none;
    margin-bottom: 20px;
    padding-right: 0;
  }

  div.col-2-left-align-2 {
    padding-left: 0;
  }

  table#carttable tr {
    position: relative;
  }
  
  table#carttable td:first-child {
    width: 28%;
  }

  table#carttable td:nth-child(2) {
    margin-right: 0;
    width: 50%;
  }

  table#carttable td:nth-child(3) {
    width: 28%;
  }

  table#carttable td:nth-child(4) {
    margin-right: 0;
    width: 50%;
  }

  table#carttable td:nth-child(5) {
    margin-right: 10px;
    position: absolute;
    right: 0;
    text-align: right;
    top: 0;
    width: 10%;
  }

  table.cart td.cartimg {
    max-width: 48%;
  }

  td.cartimg img {
    max-width: 100px;
  }

  table.cart select.tilaajalahja + .ui-selectmenu-button {
    max-width: 100%;
  }

  input.chkrad {
    margin-right: 0;
    margin-left: 0;
  }

  input.button {
    max-width: 100%;
  }

  header.checkout {
    height: 500px;
  }

  a.btn-checkout-top {
    right: 15%;
    top: 90px;
  }

  p.checkout-breadcrumb span.cb-circle {
    transform: none;
  }

  body.checkout label.floatkassa {
    clear: both;
  }

  body.checkout label.floatkassa span {
    display: block;
  }

  /*img.payment-logo { display: none; }*/

  div.payment-logo {
    padding-left: 40px;
  }

  a.btn-checkout-bot {
    display: none;
  }

  a.top-search-link {
    right: 0;
  }

  div.alert-message h2 {
    font-size: 20px;
  }

  div.alert-message p {
    font-size: 16px;
  }

  div.myottobre_wrapper label#label_15_18_2,
  div.myottobre_wrapper label#label_15_18_1,
  div.myottobre_wrapper label#label_17_18_2,
  div.myottobre_wrapper label#label_17_18_1,
  div.myottobre_wrapper label#label_18_18_2,
  div.myottobre_wrapper label#label_18_18_1,
  div.myottobre_wrapper label#label_19_18_2,
  div.myottobre_wrapper label#label_19_18_1,
  div.myottobre_wrapper label#label_20_18_2,
  div.myottobre_wrapper label#label_20_18_1,
  div.myottobre_wrapper label#label_21_18_2,
  div.myottobre_wrapper label#label_21_18_1,
  div.myottobre_wrapper label#label_22_18_2,
  div.myottobre_wrapper label#label_22_18_1,
  div.myottobre_wrapper label#label_20_18_1 {
    width: 90%;
  }

  a.myottobre-story {
    display: block;
    margin: 0 0 30px 0;
    width: 100%;
  }

  table.measurements {
    font-size: 10px;
  }

  table.measurements td,
  table.measurements th {
    padding: 2px;
  }
}

/* 520 MOBILE END */

@media only screen and (max-width : 400px) {
  div#cart div.cart-open {
    padding: 20px 20px 30px 20px;
    width: 96vw;
  }
}

/* 400 */