/* 
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; }

/* Global */
* {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body, html {
  height: 100%;
  font-size: 100%;
  font-family: "Trebuchet MS", "Trebuchet", sans-serif;
  font-weight: 100;
  color: #000;
  margin: 0;
}

h1 {
  font-size: 22px;
  font-style: italic;
  margin-bottom: 5px;
}

h2 {
	font-size: 22px;
	font-weight: normal;
	letter-spacing: 1px;
	margin-bottom: 18px;
}

div.description h2 {
	font-size: 16px;
	font-weight: bold;
	letter-spacing: normal;
}

h3 {
	font-size: 18px;
	font-weight: normal;
	margin-bottom: 18px;
}

h4 {
	font-size: 16px;
	margin-bottom: 0;
}

p {
  font-size: 16px;
  line-height: 19px; 
  margin-bottom: 20px;
}

p.ingres {
	color: #999;
	font-style: italic;
}

p.ingres a {
  color: #999 !important;
}

div.content ul {
	font-size: 16px;
  line-height: 19px;
  list-style: disc; 
  margin-bottom: 20px;
  padding-left: 20px;
}

div.content ul li { margin-bottom: 10px; }

a {
  color: #000;
}

a.btn {
  background: #b4cf13;
  color: #fff;
  display: inline-block;
  padding: 5px 10px;
  text-decoration: none;
}

a.btn:hover { opacity: 0.8; }

div.col_1-2 ul {
	list-style: disc;
	margin-bottom: 20px;
	padding-left: 20px;
}

strong {
	font-weight: 900;
}

/* Buttons */
a.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;
}
/*a.button:hover { background-color: #e3f9ff !important; }*/

a.button.gray { background: #5f5f5f; color: #fff !important; }
/*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 {
	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: #009999;}
a.button2.green:hover{ background: rgba(0, 153, 153, 0.6);}
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;
}

/* Colors */

/* 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+1) a:hover, 
nav#main-menu ul li:nth-child(5n+1).current a { 
  color: #f54c6e; 
}
body.color-1 nav#sub-menu { background-color: #ffb6c1; }
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+2) a:hover, 
nav#main-menu ul li:nth-child(5n+2).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+3) a:hover, 
nav#main-menu ul li:nth-child(5n+3).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; }

/* 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+4) a:hover, 
nav#main-menu ul li:nth-child(5n+4).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; }

/* 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+5) a:hover, 
nav#main-menu ul li:nth-child(5n+5).current a { 
  color: #b4cf13;
}
body.color-5 nav#sub-menu { background-color: #b4cf13; }
body.color-5 nav#sub-menu ul li:hover { background-color: #bee554; }
body.color-5 nav#sub-menu ul li.current { background-color: #a2bc13; }

/* Header */
header {
  height: 100px;
  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: 202;
}

nav#lang-menu div.current-lang {
  background: url(img/ui/arrow-down-small.png) no-repeat center right;
}

nav#lang-menu.open div.current-lang {
  background-image: url(img/ui/arrow-up-small.png);
}

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;
  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 40px;
  min-width: 110px;
}

nav#main-menu ul li a {
  text-transform: uppercase;
  color: #000;
  font-size: 18px;
  text-decoration: none;
  font-weight: bold;
}

nav#sub-menu {
  margin-bottom: 6px;
  height: 50px;
  box-sizing: border-box;
}

nav#sub-menu ul {
  text-align: center;
  height: 100%;
}

nav#sub-menu ul li {
  height: 100%;
  display: inline-block;
}

nav#sub-menu ul li a {
  display: block;
  width: 100%;
  height: 100%;
  color: #fff;
  font-weight: bold;
  font-size: 18px;
  text-decoration: none;
  box-sizing: border-box;
  padding: 15px 35px 0 35px;
}

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: 200;
}

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:nth-child(-n+3) a {
  text-transform: uppercase;
}

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;
	color: #a8a8a8;
  margin: 68px auto 0 auto;
}

nav#site-map ul {
	padding: 0;
}

nav#site-map > ul > li {
  float: left;
  padding: 0 60px 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: 14px;
  color: rgb(168, 168, 168);
  font-weight: 100;
  /*white-space: nowrap;*/
}

nav#site-map > ul > li > a {
  display: block;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 16px;
  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;
}

/* Cart */
div#cart {
  display: none;
  position: absolute;
  top: 23px;
  right: 0;
  border: solid 1px #d0d0d0;
  padding: 2px 6px 3px 6px;
  color: #606060;
  font-size: 14px;
  cursor: pointer;
  box-sizing: border-box;
  background: #fff;
  z-index: 300;
}

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 37px 0 10px;
  background: url(img/ui/cart-icon.png) no-repeat center right;
}

div#cart div.cart-total {
  display: inline-block;
  padding: 0 25px 0 10px;
  background: url(img/ui/arrow-down-small.png) no-repeat center right;
}

div#cart.open div.cart-total {
  background-image: url(img/ui/arrow-up-small.png);
}

div#cart div.cart-open {
  display: none;
  position: absolute;
  top: 28px;
  right: -1px;
  border: solid 1px #d0d0d0;
  width: 250px;
  box-sizing: border-box;
  padding: 10px;
  background: #fff;
  z-index: 100;
}

div#cart div.cart-no-items {
  padding: 10px 0 20px 0;
  border-bottom: solid 1px #d0d0d0;
}

div#cart div.cart-items {
  border-bottom: solid 1px #d0d0d0;
}

div#cart div.cart-items div.cart-item {
  margin: 0 0 15px 10px;
}

div#cart div.cart-items div.cart-item div.cart-item-name {
  float: left;
  width: 60%;
}

div#cart div.cart-items div.cart-item div.cart-item-price {
  float: left;
  width: 40%;
  text-align: right;
}

div#cart div.cart-open div.cart-open-total {
  margin: 8px 0 25px 0;
}

div#cart div.cart-open div.cart-open-total div.cart-total-price {
  text-align: right;
  font-weight: 700;
}

div#cart div.cart-open a.button {
  width: 90%;
  text-align: center;
  margin: 0 5% 5px 5%;
}

/* 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-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_1-2 {
  float: left;
  width: 50%;
  box-sizing: border-box;
}

div.col_1-2.asia_tilaus {
  width: 60%;
}

div.col_1-2.first {
  padding-right: 1%;
}

div.col_1-2.last {
  padding-left: 1%;
}

div.col_1-2.right {
  padding-left: 90px;
}

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: 0;
  font-size: 20px;
}

div.col_1-3.slim p {
  margin-top: 5px;
}

div.col_2_wide_left {
  margin: 0 auto;
  width: 65%;
}

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_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.center { text-align: center; }

div.content p {
  width: 50%;
  margin: 0 auto 20px auto;
}
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 {
  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 {
  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;
}

/* 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; }
div.front-hover-box.light a { color: #606060; }
div.front-hover-box.black a { color: #000; }

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);
}

/* Magazines */
div#magazine-choices-selected {
  display: none;
  position: relative;
  margin-bottom: 2px;
  height: auto;
  color: #606060;
  font-size: 14px;
}

div#magazine-choices-selected div.title {
  float: left;
  padding-top: 3px;
  margin-right: 23px;
}

div#magazine-choices-selected ul {
	list-style: none;
	margin-bottom: 0;
	padding-left: 0;
  position: relative;
  display: inline-block;
  width: 700px;
}

div#magazine-choices-selected ul li {
  position: relative;
  float: left;
  margin-right: 8px;
  border: solid 1px #d0d0d0;
  font-size: 12px;
  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/ui/close.png) no-repeat;
  cursor: pointer;
}

div#magazine-choices-selected div#magazine-choices-deleteall {
  position: absolute;
  top: 0;
  right: 0;
  border: solid 1px #d0d0d0;
  font-size: 12px;
  padding: 4px 25px 4px 7px;
  letter-spacing: -0.01em;
}

div#magazine-choices-selected div#magazine-choices-deleteall div.delete-all {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 10px;
  height: 10px;
  background: url(img/ui/close.png) no-repeat;
  cursor: pointer;
}

div#magazine-choices {
  position: relative;
  margin-bottom: 55px;
  z-index: 999;
}

div#magazine-choices div.magazine-choices-item {
  position: relative;
  float: left;
  border: solid 1px #d0d0d0;
  padding: 2px 9px 3px 7px;
  color: #606060;
  font-size: 14px;
  cursor: pointer;
  box-sizing: border-box;
  width: 160px;
  margin-right: 15px;
  background: #fff;
}

div#magazine-choices div.magazine-choices-item div.title {
  background: url(img/ui/arrow-down-small.png) no-repeat center right;
}

div#magazine-choices div.magazine-choices-item.open div.title {
  background-image: url(img/ui/arrow-up-small.png);
}

div#magazine-choices div.magazine-choices-item div.magazine-choice-items {
  display: none;
  position: absolute;
  left: -1px;
  top: 23px;
  background: #fff;
  padding: 3px 7px 13px 7px;
  border: solid 1px #d0d0d0;
  border-top: none;
  width: 160px;
  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/ui/checkbox.png) no-repeat center right;
}

div#magazine-choices div.magazine-choices-item div.magazine-choice-items ul li.selected {
  font-weight: bold;
  background-image: url(img/ui/checkbox-checked.png);
}

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: 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;
}

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;
}

div#magazine-years div.magazine-items div.magazine-item div.image {
  margin-bottom: 10px;
  height: 289px;
}

div#magazine-years div.magazine-items div.magazine-item div.image img {
  max-height: 289px;
  width: auto;
}

div.price {
  font-weight: bold;
  margin-bottom: 13px;
}

div#magazine-years div.magazine-items div.magazine-item div.icons {
  margin-bottom: 20px;
}

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/ui/browse-icon.png); }
div.icons ul li.all-models a { background-image: url(img/ui/allmodels-icon.png); }

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 3%;
}

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 {
	margin-bottom: 5px;
}

/* 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: 50px;
}

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;
}
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: 460px;
  margin: 0 auto;
  display: block;
}

div#magazine-big div.links {
  text-align: center;
}

div#magazine-big div.links ul {
  margin: 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-right: 36px;
  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.browse a { background-image: url(img/ui/browse-icon.png); }
div#magazine-big div.links ul li.all-models a { background-image: url(img/ui/allmodels-icon.png); }

div#magazine-information div.issue {
  font-size: 22px;
  line-height: 25px;
  font-weight: bold;
  letter-spacing: 1px;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

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 {
  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;  
}

div#magazine-information input#amount {
  display: inline-block;
  border: none;
  background: none;
  font-size: 18px;
  font-family: "Trebuchet MS", "Trebuchet", 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 div#about-magazine {
  margin-top: 38px;
  border-top: solid 1px #999;
  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: 700;
  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;
}

/* Other issues slider */
div#other-issues {
  position: relative;
  margin-top: 42px;
  height: 270px;
}

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/ui/arrow-left.png) 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/ui/arrow-right.png) 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: 0.8rem;
  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/ui/browse-icon.png); }
div#other-issues div.items-container div.items div.item div.buttons ul li.all-models a { background-image: url(img/ui/allmodels-icon.png); }

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: 700;
  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.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;
  width: 60%;
}

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%;
}

form.serviceform p {
  width: 100%;
}

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: 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: "Trebuchet MS", "Trebuchet", sans-serif;
	max-width: 200px;
	padding: 10px 40px;
	text-transform: uppercase;
}

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.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 {
  margin-bottom: 20px;
  text-transform: uppercase;
}

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;
}

/* 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/ui/arrow-down-small.png) right 20px center no-repeat;
	font-size: 18px;
	font-weight: bold;
	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/ui/arrow-up-small.png) right 20px center no-repeat; }

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; }
a.front-browse-magazines-box { background: #ff9999; }

a.front-order-magazine-box:hover,
a.front-browse-magazines-box:hover {
  opacity: 0.7;
} 

/* Footer */
footer {
  position: relative;
  color: #999;
  font-size: 14px;
  overflow: hidden;
  padding-top: 60px;
}

footer div.foo-bg {
	background: #383838;
}

footer div.wrap {
  height: 400px;
}

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: bold;
  margin-bottom: 20px;
}

footer div#footer-social ul {
  padding-left: 0;
}

footer div#footer-social ul li {
  position: relative;
  display: inline-block;
  width: 32px;
  height: 32px;
  margin: 0 2px;
}

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-image: url(img/ui/facebook-logo.png); }
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-image: url(img/ui/youtube-logo.png); }
footer div#footer-social ul li.twitter a { background-image: url(img/ui/twitter-logo.png); }
footer div#footer-social ul li.etsy a { background-image: url(img/ui/etsy-logo.png); }

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: bold;
}

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: 10px;
}

/* Tables */

table.measurements {
	margin-bottom: 20px;
	width: 100%;
}

table.measurements th {
	border-bottom: 2px #999 solid;
	padding: 5px 10px;
	text-align: left;
}

table.measurements td {
	padding: 5px 10px;
}

table.measurements td:first-child {
	border-right: 2px #999 solid;
}

table.measurements tr:nth-child(odd) td {
	background: #ebebeb;
}

/* Misc */
div.clear {
  clear: both;
  height: 1px;
}

.ui-loader { 
  display: none; 
}

.ui-selectmenu-button {
  margin-bottom: 7px;
  box-sizing: border-box;
}

.ui-selectmenu-button span.ui-icon {
  top: 26px !important;
  right: 21px !important;
  background: url("img/ui/arrow-down-small.png") no-repeat; 
  width: 13px; 
  height: 9px;
}

.ui-selectmenu-button.ui-corner-top span.ui-icon {
  background-image: url("img/ui/arrow-up-small.png");
}

.ui-selectmenu-button.ui-corner-top {
  border-bottom: none !important;
}

.ui-menu-item {
  padding: 0 20px 12px 20px !important;
  color: #000 !important;
}

.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 30px 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; }

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-bottom: 20px;
}

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: 5px;
  position: absolute;
  left: 0;
  text-align: center;
  width: 100%;
}

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{
	margin: 0;
}

/* Ksenia 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;
    padding-left: 13px;
    padding-right: 13px;
  }
  
  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 {
    height: 300px;
  }
	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.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#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%;
  }*/
}

/* /1280 */

@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%;
  }

  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 20px;
  }

  nav#site-map {
    width: 750px;
  }

  nav#site-map img {
    display: none;
  }

  nav#site-map > ul > li {
    padding: 0 30px 0 0;
  }
}
/* 950 */

@media only screen and (max-width : 900px) {
  label.gfield_checkbox {
    max-width: 80%;
  }
}

/* 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: 50%;
  }
  
  nav#site-map > ul > li {
  	width: 33.33%;
  	margin-bottom: 30px;
	}

  footer div#ottilia {
    height: 200px;
    right: -100px;
  }

  nav#site-map {
    width: 100%;
  }
}

/* /800 */

@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: 180px;
  }
    
  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: 60px;
    top: 105px;
  }
  
  header nav#main-menu {
    display: 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 {
    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;
    padding-right: 0;
    padding-bottom: 10px;
  }
  
  div#landing-blocks div.landing-block:nth-child(2n) {
    padding-left: 0;
    padding-bottom: 10px;
  }
  
  div#landing-blocks div.landing-block a.landing-block-text {
    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;
  }

}

/* 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: 130px;
    right: 0;
    width: 150px;
  }
  
  header div#cart div.items-in-cart {
    padding-left: 10px;
    padding-right: 30px;
  }
  
  /*header nav#mobile-menu {
    top: 115px;
  }*/
  
  header nav#breadcrumbs {
    top: 172px;
  }
  
  div.col_1-2, div.col_1-2.right {
    float: none;
    width: 100%;
    padding: 0;
  }
  
  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 {
    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 {
    padding-right: 0;
  }

  div.col_1-2.last {
    padding-left: 0;
  }

  nav#site-map img {
    display: inline;
  }
}

/* 520 */