/*
Theme Name: Poesia & Tutkijaliitto
Author: La&La
Author URI: http://lala.fi
Description: Poesian ja Tutkijaliiton WordPress-teema
Version: 1.0.0
License: GNU General Public License v2 or later 
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ptl
Tags:


Poesia & Tutkijaliitto is based on Underscores http://underscores.me/, (C) 2012-2016 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Global elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
# Media queries	
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
html {
	font-family: sans-serif;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust:     100%;
}

body {
	margin: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
	display: block;
}

audio,
canvas,
progress,
video {
	display: inline-block;
	vertical-align: baseline;
}

audio:not([controls]) {
	display: none;
	height: 0;
}

[hidden],
template {
	display: none;
}

a {
	background-color: transparent;
}

a:active,
a:hover {
	outline: 0;
}

abbr[title] {
	border-bottom: 1px dotted;
}

b,
strong {
	font-weight: bold;
}

dfn {
	font-style: italic;
}

h1 {
	font-size: 2em;
	margin: 0 0 25px 0;
}

mark {
	background: #ff0;
	color: #000;
}

small {
	font-size: 80%;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

img {
	border: 0;
}

svg:not(:root) {
	overflow: hidden;
}

figure {
	margin: 1em 0;
}

hr {
	box-sizing: content-box;
	height: 0;
}

pre {
	overflow: auto;
}

code,
kbd,
pre,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
	color: inherit;
	font: inherit;
	margin: 0;
}

button {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
}

button[disabled],
html input[disabled] {
	cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

input {
	line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

fieldset {
	border: 1px solid #c0c0c0;
	margin: 0 2px;
	padding: 0.35em 0.625em 0.75em;
}

legend {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
}

optgroup {
	font-weight: bold;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

td,
th {
	padding: 0;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/

html {
	font-size: 18px;
	height: 100%;
}

body,
button,
input,
select,
textarea {
	color: #666;
	font-family: 'Cantarell', sans-serif;
	line-height: 1.411;
	letter-spacing: 0.005em;
	font-size: 17px;
	font-size: 0.944rem;
}

h1,
h2,
h3,
h4 {
	clear: both;
	font-family: 'Lato', sans-serif;
	font-weight: 700;
	color: #1d2441;
}

h1 {
	font-size: 23px;
	font-size: 1.277rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	text-align: center;
}

h1:after {
	content: "";
	width: 90px;
	border-bottom: #f1b520 solid 2px;
	display: block;
	margin: 10px auto;
}

h2 {
	letter-spacing: 0.08em;
	font-size: 21px;
	font-size: 1.166rem;
	line-height: 1.524;
}

h3 {
	letter-spacing: 0.1em;
	text-transform: uppercase;
	margin: 1rem 0;
	font-size: 15px;
	font-size: 0.833rem;
	line-height: 1.6;
}

h4 {
	font-size: 14px;
	font-size: 0.777rem;
	line-height: 1.222;
	letter-spacing: 0.075em;
	text-transform: uppercase;
}

h5, th {
	font-family: 'Cantarell', sans-serif;
	font-size: 16px;
	font-size: 0.888rem;
	font-weight: 400;
	line-height: 1.375;
	letter-spacing: 0.025em;
}

p {
	margin-bottom: 1.5em;
	margin-top: 0;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
}

blockquote,
q {
	quotes: "" "";
}

blockquote {
	margin: 0 1.5em;
	font-family: 'Noto Serif', serif;
	overflow: hidden;
}

blockquote:before {
	content: "\0201D";
	display: block;
	color: #f1b520;
	font-size: 10rem;
	line-height: 1;
	font-family: Georgia, 'Times New Roman', serif;
	margin-bottom: -5rem;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 0.9375rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
	font-size: 15px;
	font-size: 0.9375rem;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

small {
	font-size: 16px;
	font-size: 0.888rem;
}

th {
	text-align: left;
}

/* Icons */

@font-face {
  font-family: 'poesia-icon';
  src: url('icons/poesia-icon.eot?81022270');
  src: url('icons/poesia-icon.eot?81022270#iefix') format('embedded-opentype'),
       url('icons/poesia-icon.woff2?81022270') format('woff2'),
       url('icons/poesia-icon.woff?81022270') format('woff'),
       url('icons/poesia-icon.ttf?81022270') format('truetype'),
       url('icons/poesia-icon.svg?81022270#poesia-icon') format('svg');
  font-weight: normal;
  font-style: normal;
}
/* Chrome hack: SVG is rendered more smooth in Windozze. 100% magic, uncomment if you need it. */
/* Note, that will break hinting! In other OS-es font will be not as sharp as it could be */
/*
@media screen and (-webkit-min-device-pixel-ratio:0) {
  @font-face {
    font-family: 'poesia-icon';
    src: url('icons/poesia-icon.svg?81022270#poesia-icon') format('svg');
  }
}
*/
 
 [class^="icon-"]:before, [class*=" icon-"]:before, .social a:before,
 .woocommerce-error:before, .woocommerce-info:before, .woocommerce-message:before {
  font-family: "poesia-icon";
  font-style: normal;
  font-weight: normal;
  speak: none;
 
  display: inline-block;
  text-decoration: inherit;
  width: 1em;
  margin-right: .2em;
  text-align: center;
  /* opacity: .8; */
 
  /* For safety - reset parent styles, that can break glyph codes*/
  font-variant: normal;
  text-transform: none;
 
  /* fix buttons height, for twitter bootstrap */
  line-height: 1em;
 
  /* Animation center compensation - margins should be symmetric */
  /* remove if not needed */
  margin-left: .2em;
 
  /* you can be more comfortable with increased icons size */
  /* font-size: 120%; */
 
  /* Font smoothing. That was taken from TWBS */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
 
  /* Uncomment for 3D effect */
  /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
}
 
.icon-basket:before { content: '\e800'; } 
.icon-search:before { content: '\e801'; } 
.icon-ok-circled:before, .woocommerce-message:before,  .woocommerce-info:before { content: '\e802'; } 
.icon-cancel:before, .woocommerce-error:before { content: '\e803'; } 
.icon-arrows-cw:before { content: '\e804'; } 
.icon-twitter:before, .social a[href*="twitter.com"]:before { content: '\f099'; } 
.icon-facebook:before, .social a[href*="facebook.com"]:before { content: '\f09a'; } 
.icon-mail-alt:before { content: '\f0e0'; }
.icon-youtube-play:before, .social a[href*="youtube.com"]:before { content: '\f16a'; }
.icon-instagram:before, .social a[href*="instagram.com"]:before { content: '\f16d'; }
.icon-cc-visa:before { content: '\f1f0'; }
.icon-cc-paypal:before { content: '\f1f4'; }
.icon-cart-plus:before { content: '\f217'; }
.icon-cart-arrow-down:before { content: '\f218'; }

/*--------------------------------------------------------------
# Global elements
--------------------------------------------------------------*/
html {
	box-sizing: border-box;
}

*,
*:before,
*:after { /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	box-sizing: inherit;
}

body {
	background: #fff; /* Fallback for when there is no custom background color defined. */
	height: 100%;
	min-height: 100%;
}

#page {
	min-height: 100%;
    position: relative;
}


.site-header, .site-footer {
	background: url(img/bg.png) repeat #f1b520;
	position: relative;
}

.site-content, .content-wrapper {
	max-width: 960px;
	margin: 0 auto;
	position: relative;
	clear: both;
}

.site-content {
	padding-bottom: 340px;
	position: static;
}

.mobile {
	display: none;
}

.shopping-cart {
	position: absolute;
	top: -20px;
	right: 0;
	color: #fff;
}

.shopping-cart a {
	color: #fff;
}

.icon-basket {
	font-size: 130%;
}

.breadcrumb-bg {
	background: #fff;
	overflow: auto;
	padding: 16px 0 26px 0;
	clear: both;

}

#breadcrumb {
	float: left;
	font-family: 'Lato', sans-serif;
	font-weight: 700; 
	font-size: 11px;
	letter-spacing: 0.075em;
	text-transform: uppercase;
	margin-top: 10px;
}

#breadcrumb a {
	color: #a9b7bb;
}

#breadcrumb a:hover {
	color: inherit;
}

#searchform {
	float: right;
}


.site-footer {
	position: absolute;
	width: 100%;
	height: 340px;
	bottom: 0;
	left: 0;
}

.site-footer .content-wrapper {
	color: #1d2441;
	display: -webkit-box;
	display: -ms-flexbox; 
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: space-between;
	-ms-justify-content: space-between;
	justify-content: space-between;
	-webkit-align-items: center;
	-ms-align-items: center;
	align-items: center;
	padding: 33px 0;
}

.site-info {
	max-width: 450px;
	display: -webkit-box;
	display: -ms-flexbox; 
	display: -webkit-flex;
	display: flex;
	font-size: 14px;
	font-size: 0.8rem;
	font-weight: 700;
	-webkit-justify-content: space-between;
	-ms-justify-content: space-between;
	justify-content: space-between;
	-webkit-align-items: center;
	-ms-align-items: center;
	align-items: center;
	font-family: 'Lato', sans-serif;
	letter-spacing: 0.05em;
}

.site-info .logo {
	display: block;
	margin-right: 50px;
	max-width: 56px;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: bold;
}

dd {
	margin: 0 1.5em 1.5em;
}

img {
	height: auto; /* Make sure images are scaled correctly. */
	max-width: 100%; /* Adhere to container width. */
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.button {
	border: none;
	background: url(img/bg.png) repeat #f1b520;
	color: #fff;
	font-size: 15px;
    font-size: 0.833rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
	line-height: 1;
	padding: .8em 1em .8em;
	border-radius: 9px;
	display: inline-block;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
.button:hover {
	background: #1d2441;
	cursor: pointer;
	color: #fff;
}

button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active,
.button:active {
	background: #000;
	color: #fff;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea,
input#search:focus {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
	outline: none;
}

select {
	border: 1px solid #ccc;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

textarea {
	width: 100%;
}

.searchform .icon-search {
	margin-right: -1.5em;
	color: #f1b520;
}

.searchform input#search {
	background: transparent;
	width: 248px;
	padding-left: 30px;
}

.breadcrumb-bg input#search {
	border-color: #fff;
	border-top-color:#d0dddd;
	padding-right: 30px;
	padding-left: 3px;
}

.breadcrumb-bg input#search:focus {
	border-color:#f1b520;
}

.breadcrumb-bg #searchform .icon-search {
	margin-right: -244px;
}

label {
	font-size: 16px;
	font-size: 0.9rem;
	line-height: 2;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
	color: #7d929a;
	text-decoration: none;
}

a:hover,
a:focus,
a:active {
	color: #1d2441;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

.post-edit-link {
	margin: 20px 0;
	display: block;
}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/

.main-navigation {
	clear: both;
	display: block;
	max-width: 960px;
	margin: 0 auto;
	font-size: 15px;
	font-size: 0.833rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-family: 'Lato', sans-serif;
	font-weight: 700;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
	justify-content: space-between;
	align-items: center;
	margin: 24px 0;
}

.main-navigation li {
	float: left;
	position: relative;
	line-height:1;
}

.main-navigation a {
	display: block;
	text-decoration: none;
	color: #fff;
	padding: 8px;
}

.main-navigation img {
	display: none;
}

.main-navigation a[rel="home"] {
	width: 72px;
	height: 93px;
	background-image: url(img/poesialogo.png);
	background-size: 136px 93px;
	background-position: left top;
	padding: 0;
}

.main-navigation a[rel="home"]:hover {
	background-position: right top;
}

.home .main-navigation a[rel="home"]:hover {
	background-position: left top;
}


.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 1.5em;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul ul li {

}

.main-navigation li:hover > a,
.main-navigation li.focus > a {
}

.main-navigation ul ul :hover > a,
.main-navigation ul ul .focus > a {
}

.main-navigation ul ul a:hover,
.main-navigation ul ul a.focus {
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	left: 100%;
}

.main-navigation a:hover {
	color: #1d2441;
}

.main-navigation .current_page_item > a,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_ancestor > a,
.main-navigation .current-menu-ancestor > a,
.home .main-navigation a[rel="home"] {
	background-color: #1d2441;
	border-radius: 9px;
}



/* Social */

.social ul {
	margin: 0;
	padding: 0;
}

.social li {
	display: inline-block;
	margin: 10px 5px 0 0;
}

.social a {
	text-decoration: none;
	color: #fff;
}

.social a .menu-text {
    position: absolute;
    top: -9999em;
    left: -9999em;
}

.social li.text-link {
    display: block;
    margin-top: 0;
}

.social .text-link a {
    color: inherit;
    font-weight: 700;
}

.social .text-link a .menu-text {
    position: static;
}


/* Small menu. */
.menu-toggle {
	display: block;
}

button.menu-toggle {
	height: 20px;
	width: 25px;
    padding: 0;
	border-radius: 0;
    border-top: 3px solid;
	border-bottom: 3px solid;
	background: none;
	position: absolute;
	right: 15px;
	top: 55px;
}

button.menu-toggle:focus {
	outline: none;
}

button.menu-toggle:before {
	content: "";
	width: 25px;
	border-top: 3px solid;
	display: block;
}

.site-header .mobile {
	max-width: 54px;
	margin: 15px;
}

.main-navigation.toggled {
	padding: 0;
}

.main-navigation.toggled ul {
    background-color: #1d2441;
    margin: 0;
    display: -webkit-box;
	display: -ms-flexbox; 
	display: -webkit-flex;
	display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    webkit-justify-content: space-between;
	-ms-justify-content: space-between;
	justify-content: space-between;
    padding: 23px;
    font-size: 12px;
    font-size: 0.7rem;
}

.main-navigation.toggled ul:before {
    content: "";
    width: 0; 
	height: 0; 
	border-left: 11px solid transparent;
	border-right: 11px solid transparent;
	border-bottom: 11px solid #1d2441;
	display: block;
	position: absolute;
	top: 100px;
	right: 15px;
}

.main-navigation.toggled li:first-of-type {
	display: none;
}

.main-navigation.toggled li {
    margin: 0;
    padding: 0;
    float: none;
    display: block;
}


/* Back to top */

.backtotop-wrapper {
	background: #fff;
	padding: 88px 0;
}

.backtotop {
  width: 0; 
  height: 0; 
  border-left: 25px solid transparent;
  border-right: 25px solid transparent;
  
  border-bottom: 25px solid #f1b520;
  display: block;
  margin: 0 auto;
}

/* Posts/archive nav */


.site-content .current-menu-item a, .category .news-link a, .blog .news-link a, .post-type-archive-event .events-link a {
	padding-bottom: 7px;
	border-bottom: #f1b520 solid 2px;
	color: inherit;
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
	margin: 46px -28px 72px -28px;
	overflow: hidden;
	font-size: 12px;
	font-size: 0.666rem;
	font-family: 'Lato', sans-serif;
	letter-spacing: 0.075em;
	text-transform: uppercase;
}



.posts-navigation a,
.post-navigation a {
	color: #a9b7bb;
	vertical-align: -4px;
}

.posts-navigation a:hover,
.post-navigation a:hover {
	color: #7d929a;
}


.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	float: left;
	width: 30%;
}

.post-navigation .nav-previous a:before,
.posts-navigation .nav-previous a:before,
.woocommerce-pagination .prev:before  {
	content: "";
	display: block;
	float: left;	
	width: 0; 
	height: 0; 
	border-top: 12px solid transparent;
	border-bottom: 12px solid transparent; 
	border-right:12px solid #a9b7bb;
}

.post-navigation .nav-previous a:before,
.posts-navigation .nav-previous a:before  {
	margin-right: 15px;
	margin-bottom: 70px; /* to keep multiple lines in order */
}

.post-navigation .nav-previous a:hover:before,
.posts-navigation .nav-previous a:hover:before,
.woocommerce-pagination .next:hover:before  {
	border-right-color: #7d929a;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 30%;
}

.post-navigation .nav-next a:before,
.posts-navigation .nav-next a:before,
.woocommerce-pagination .next:after {
	content: "";
	display: block;
	float: right;	
	width: 0; 
	height: 0; 
	border-top: 12px solid transparent;
	border-bottom: 12px solid transparent;
	border-left: 12px solid #a9b7bb;
}

.post-navigation .nav-next a:before,
.posts-navigation .nav-next a:before {
	margin-left: 15px;
	margin-bottom: 70px; /* to keep multiple lines in order */
}

.post-navigation .nav-next a:hover:after,
.posts-navigation .nav-next a:hover:after,
.woocommerce-pagination .next:hover:after  {
	border-left-color: #7d929a;
}


/* Share buttons */

.share a {
	font-size: 22px;
	font-size: 1.222rem;
	vertical-align: middle;
	color: #fff;
	background: #f1b520;
	border-radius: 15px;
	margin-right: 15px;
	width: 30px;
	height: 30px;
	display: inline-block;
}
.share a:hover {
	background:#000;
}


/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
	outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	content: "";
	display: table;
	table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/


/* Make sure select elements fit in widgets. */
.widget select {
	max-width: 100%;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {
	display: block;
}

.hentry {
	margin: 0 auto;
	max-width: 720px;
}

.byline,
.updated:not(.published) {
	display: none;
}

.single .byline,
.group-blog .byline {
	display: inline;
}

.entry-footer {
	margin: 0;
}

.entry-footer div {
	margin-bottom: 1rem;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

.three-columns {
	display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  flex-wrap: -webkit-wrap;
  flex-wrap: -moz-wrap;
  flex-wrap: -ms-wrap;
  flex-wrap: wrap;
  justify-content: -webkit-space-between;
   justify-content: -moz-space-between;
    justify-content: -ms-space-between;
     justify-content: space-between;
  margin: 64px 0 0 0;
}

.three-columns h3 {
	margin-top: 0;
}

.post-excerpt {
    break-inside: avoid;
    page-break-inside: avoid;
    -webkit-column-break-inside: avoid;
    padding-bottom: 52px;
    max-width: 288px;
    margin-bottom:1.6em;
}

.post-excerpt h3 {
	margin-bottom:0.8em;
}

.news-area .post-excerpt {
    padding-bottom: 10px;
}

.post-excerpt p {
	margin: 0;
}

.custom-area p {
	margin-bottom:1em;
}

.entry-meta {
	font-family: 'Cantarell', sans-serif;
	font-size: 16px;
	font-size: 0.888rem;
	font-weight: 400;
	line-height: 1.375;
	letter-spacing: 0.025em;
	text-align: center;
	margin: 25px 0;
}

/* viertue mart meta data */
.product-main-content .hidden {
	display: none;
}

/* Search */

.search .entry-meta {
	text-align: left;
	margin-top: 0px;
}

.search .product {
	max-width: 720px;
	margin: 0 auto;
}

.search .hentry.ptl_author {
	max-width: 720px;
}

/* Home */

.banner {
	margin-bottom: 45px;
}

.banner:empty {
	margin-bottom: 0;
}

.news-area {
	/* margin-top: 72px; */
}

.news-area h1 {
	margin-bottom: 40px;
}

.news-area > div {
	width: 30%;
	float: left;
}

.events {
	margin: 0 5%;
}

.slick-slider.products {
	margin: 0 -24px;
	padding: 0;
}

.slick-nav {
	font-size: 0;
    line-height: 0;
    position: absolute;
    top: 35%;
    display: block;
    margin-top: -20px;
    padding: 0;
    cursor: pointer;
    color: transparent;
    border: none;
    outline: none;
    background: transparent;
    width: 0; 
  	height: 0; 
}

.slick-prev {
  border-top: 20px solid transparent;
  border-bottom: 20px solid transparent; 
  border-right:20px solid #f1b520;
  left: -11px;
}

.slick-next {
  border-top: 20px solid transparent;
  border-bottom: 20px solid transparent;
  border-left:20px solid #f1b520;
  right: -11px;
}

/* event archive page */
.post-type-archive-event #main > h2, .post-type-archive-event #main > p {
	text-align: center;
}

.post-type-archive-event #main > p {
	margin-top: 50px;	
	margin-bottom: 50px;
}

/*--------------------------------------------------------------
## Authors
--------------------------------------------------------------*/

.hentry.ptl_author {
	max-width: 100%;
}


.author-image {
	float: left;
	width: 52.5%;
}

.image-margin {
	margin-right: 48px;
}

.author-image img {
	display: block;
}

.author-content {
	float: right;
	width: 47.5%;
}

.single-ptl_author .author-content h1 {
	margin-bottom: 22px;
}

.single-ptl_author .author-content h3 {
	margin-top: 72px;
	margin-bottom: 18px;
}

.books-list {
	list-style: none;
	margin: 0 0 72px 0;
	padding: 0;
}

ul.books-list li {
	 margin-bottom:0.7em;
}

.post-type-archive-ptl_author .three-columns {
	display: block;
	-webkit-columns: 3 288px;
  -moz-columns: 3 288px;
  columns: 3 288px;
  -webkit-column-gap: 48px;
  -moz-column-gap: 48px;
  column-gap: 48px;
  list-style: none;
  margin: 0;
  padding: 0;
}

/*--------------------------------------------------------------
## Products
--------------------------------------------------------------*/

/* Single product */

.left {
	float: left;
}

.right {
	float: right;
}

.narrow-column {
	width: 25.83%
}

.images {
	float: left;
	width: 25.83%
}

.images img {
	display: block;
	margin-bottom: 72px;
	    -moz-box-shadow:    1px 1px 1px 1px #ccc;
	-webkit-box-shadow: 1px 1px 1px 1px #ccc;
    box-shadow:         1px 1px 1px 1px #ccc;
}

.medium-column {
	width: 48.33%;
}

.medium-column > * {
	max-width: 368px;
	margin-left: 48px;
	margin-right: 48px;
}

.product-main-content p:last-of-type {
	margin-bottom: 0;
}

.wide-column {
	width: 69.16%;
}

h1.simple-title  {
	text-align: left;
	margin-top: 0;
	margin-bottom: 0;
}

h1.simple-title:after {
	display: none;
}

.single-product h1 {
	margin-bottom: 0.1em;
	overflow-wrap: break-word;
word-wrap: break-word;
-ms-word-break: break-all;
word-break: break-word;
}

.single-product h2 {
	margin-top: 0;
	margin-bottom: 22px;
}

.single-product h3 {
	margin-bottom: 30px;
}

.product-details p {
	font-size:0.9em;
	color:#7d929a;
}

.price {
	font-size: 23px;
    font-size: 1.277rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: 'Lato', sans-serif;
	font-weight: 700; 
	color: #1d2441;
	margin-top: 77px;
}

.price del {
	 color:#bcc;
}

.price ins {
	background-color:#fff;
}

.onsale {
	 display: none;
}


.single-product .quantity {
	display: none;
}

.single-product .cart button {
	margin-bottom: 15px;
}

.product-section {
	clear: both;
	border-top: 1px solid #f1b520;
	margin-top: 48px;
	padding-top: 38px;
}

.product-section:first-of-type {
	border: none;
	margin-top: 0;
	padding-top: 0;
}

.quote p, .quote blockquote {
	margin: 0;
}

.wide-column.quote blockquote {
	 margin-left:4rem;
}

.wide-column.quote blockquote p {
	margin-bottom:1rem;
}

.wide-column.quote blockquote p:last-of-type {
	margin-bottom:0;
}

.wide-column.quote blockquote:before {
	margin-bottom:-4rem;
}

.author h3 {
	margin-bottom: 0.5em;
}

.author .more-link {
	display:none;
}

.reviews blockquote:before {
	display: none;
}

.reviews .quote {
	margin-bottom: 30px;
}

.woocommerce-message {
	margin-bottom: 2em;
	border-top: 1px solid #f1b520;
	padding-bottom: 1em;
}

/* Products lists */


.products ul, ul.products {
    margin: 0 -24px 1em -24px;
    padding: 0;
    list-style: none;
    clear: both;
}

ul.products li {
    margin: 22px;
    padding: 0;
    position: relative;
    width: 156px;
}

ul.products {
	display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  flex-wrap: -webkit-wrap;
  flex-wrap: -moz-wrap;
  flex-wrap: -ms-wrap;
  flex-wrap: wrap;
  justify-content: -webkit-center;
  justify-content: -mozcenter;
  justify-content: -ms-center;
  justify-content: center;
}

.home ul.products {
	display: block;
}


ul.products li a img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 0 1em;
    -moz-box-shadow:    1px 1px 1px 1px #ccc;
	-webkit-box-shadow: 1px 1px 1px 1px #ccc;
    box-shadow:         1px 1px 1px 1px #ccc;
}

.products .icon-basket {
	/*float: right;
	background: url(img/bg.png) repeat #f1b520;
	color: #fff;
	border-radius: 9px;
	padding:1px;
	margin: 0 0 3px 3px;
	width: 36px;
	height: 36px;*/
	display: none;
}

.products h4 {
	clear: none;
	margin-bottom: 15px;
}

.products h5 {
	margin-top: 0px;
	font-size:1rem;
	overflow-wrap: break-word;
	word-wrap: break-word;
	-ms-word-break: break-all;
	word-break: break-word;
}

.menu {
	list-style: none;
	margin: 0 0 15px 0;
	padding-left: 0;
	color: #1d2441;
}

.menu li {
	display: inline-block;
}

.cat-menu {
	font-size: 23px;
	font-size: 1.277rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	text-align: center;
	font-family: 'Lato', sans-serif;
	font-weight: 700;
}

.cat-menu li {
	margin: 0 24px;
	line-height: 2.5em;
}

.genre-menu  {
	font-size: 22px;
	font-size: 1.222rem;
	line-height: 1.454;
	letter-spacing: 0.04em;
}

.genre-menu li {
	margin: 0 48px 0 0;
}

.product-category-description p {
	margin-top: 40px;
	margin-bottom: 40px;
	text-align: center;	
}

.woocommerce-info {
	margin: 3em 0;
}

.woocommerce-pagination {
	clear: both;
	text-align: center;
}

.woocommerce-pagination ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.woocommerce-pagination li {
	list-style: none;
	display: inline;
	margin: 0 0.5em;
}

.woocommerce-pagination .next, .woocommerce-pagination .prev {
	font-size: 0rem;
	color: #fff;
}

.woocommerce-pagination .next:after, .woocommerce-pagination .prev:before  {
	float: none;
	display: inline-block;
	vertical-align:bottom;
}

/*--------------------------------------------------------------
## Cart
--------------------------------------------------------------*/

.product-thumbnail {
	max-width: 70px;
}

#add_payment_method table.cart td, #add_payment_method table.cart th, .woocommerce-cart table.cart td, .woocommerce-cart table.cart th, .woocommerce-checkout table.cart td, .woocommerce-checkout table.cart th {
    vertical-align: middle;
}
.woocommerce table.shop_table th {
    padding: 9px 12px;
}
th {
    text-align: left;
}

.woocommerce table.shop_table td {
    border-top: 1px solid #f1b520;
    padding: 6px 12px;
    vertical-align: middle;
}

.woocommerce .quantity .qty {
    width: 3.631em;
    text-align: center;
}

.woocommerce #content table.cart td.actions .coupon, .woocommerce table.cart td.actions .coupon, .woocommerce-page #content table.cart td.actions .coupon, .woocommerce-page table.cart td.actions .coupon {
    float: left;
}

#add_payment_method table.cart td.actions .coupon .input-text, .woocommerce-cart table.cart td.actions .coupon .input-text, .woocommerce-checkout table.cart td.actions .coupon .input-text {
    float: left;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border: 1px solid #d3ced2;
    padding: 6px 6px 5px;
    margin: 0 4px 0 0;
    outline: 0;
    line-height: 1;
}

.woocommerce #content table.cart td.actions .input-text, .woocommerce table.cart td.actions .input-text, .woocommerce-page #content table.cart td.actions .input-text, .woocommerce-page table.cart td.actions .input-text {
    width: 100px;
}

.woocommerce #content table.cart td.actions .coupon label, .woocommerce table.cart td.actions .coupon label, .woocommerce-page #content table.cart td.actions .coupon label, .woocommerce-page table.cart td.actions .coupon label {
    display: none;
}

.woocommerce #respond input#submit.disabled, .woocommerce #respond input#submit:disabled, .woocommerce #respond input#submit:disabled[disabled], .woocommerce a.button.disabled, .woocommerce a.button:disabled, .woocommerce a.button:disabled[disabled], .woocommerce button.button.disabled, .woocommerce button.button:disabled, .woocommerce button.button:disabled[disabled], .woocommerce input.button.disabled, .woocommerce input.button:disabled, .woocommerce input.button:disabled[disabled] {
    color: #fff;
    cursor: not-allowed;
    opacity: .5;
}

.woocommerce #content table.cart td.actions, .woocommerce table.cart td.actions, .woocommerce-page #content table.cart td.actions, .woocommerce-page table.cart td.actions {
    text-align: right;
    padding-top: 30px;
}

.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button {
    position: relative;
    overflow: visible;
    left: auto;
    white-space: nowrap;
    display: inline-block;
}

.cart_totals h2 {
	text-align: center;
	margin-top: 40px;
}

.cart_totals table {
	max-width: 400px;
	margin: 40px auto;
}

.wc-proceed-to-checkout {
	text-align: center;
}

.woocommerce .col2-set, .woocommerce-page .col2-set {
    width: 100%;
}

.woocommerce .col2-set .col-1, .woocommerce-page .col2-set .col-1 {
    float: left;
    width: 48%;
    margin-bottom: 40px;
}

.woocommerce .col2-set .col-2, .woocommerce-page .col2-set .col-2 {
    float: right;
    width: 48%;
}

.woocommerce form .form-row {
    padding: 3px;
    margin: 0 0 6px;
}

.woocommerce form .form-row-first, .woocommerce form .form-row-last, .woocommerce-page form .form-row-first, .woocommerce-page form .form-row-last {
    float: left;
    width: 47%;
    overflow: visible;
}

.woocommerce form .form-row-last, .woocommerce-page form .form-row-last {
    float: right;
}

.woocommerce form .form-row label {
    line-height: 2;
}
.woocommerce form .form-row label, .woocommerce-page form .form-row label {
    display: block;
}

.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea {
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    outline: 0;
    line-height: 1;
    padding: 5px;
}

.checkout h3 {
	margin-top: 40px;
}

.woocommerce .cart-collaterals .shipping_calculator:after, .woocommerce form .form-row-wide, .woocommerce form .form-row:after, .woocommerce ul.cart_list li:after, .woocommerce ul.product_list_widget li:after, .woocommerce-page .cart-collaterals .shipping_calculator:after, .woocommerce-page form .form-row-wide, .woocommerce-page form .form-row:after, .woocommerce-page ul.cart_list li:after, .woocommerce-page ul.product_list_widget li:after {
    clear: both;
}

.woocommerce-error, .woocommerce-info, .woocommerce-message {
    padding: 1em 2em 1em 3.5em!important;
    margin: 0 0 2em!important;
    position: relative;
    background-color:  #f7f6f7;
    color: #515151;
    list-style: none!important;
    width: auto;
    word-wrap: break-word;
    border-top: 1px solid #f1b520;
}

.woocommerce-error {
	background-color: #fbdedf;
}

#add_payment_method #payment, .woocommerce-cart #payment, .woocommerce-checkout #payment {
    background: #ebe9eb;
    border-radius: 5px;
}

#add_payment_method #payment ul.payment_methods, .woocommerce-cart #payment ul.payment_methods, .woocommerce-checkout #payment ul.payment_methods {
    text-align: left;
    padding: 1em;
    border-bottom: 1px solid #d3ced2;
    margin: 0;
    list-style: none;
}

#add_payment_method #payment div.form-row, .woocommerce-cart #payment div.form-row, .woocommerce-checkout #payment div.form-row {
    padding: 1em;
    text-align: right;
}

.woocommerce-error:before, .woocommerce-info:before, .woocommerce-message:before {
    display: inline-block;
    position: absolute;
    top: 1.1em;
    left: 1.5em;
}

a.remove {
	font-size: 36px;
	font-size: 2rem;
}

.select2-container .select2-choice {
    padding: 6px;
}

.select2-drop-active, .select2-container-active .select2-choice, .select2-container-active .select2-choices {
    border: 1px solid #ccc;
}


/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
	padding: 0;
	margin: 24px 0;
}

.gallery-columns-2 .gallery-item:nth-child(odd) {
	text-align: left;
}

.gallery-columns-2 .gallery-item:nth-child(even) {
	text-align: right;
}

.gallery-columns-2 .gallery-item img {
	width: 95%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Media queries
--------------------------------------------------------------*/

@media screen and (min-width: 1024px) {
	.menu-toggle {
		display: none;
	}
	.main-navigation ul {
		display: -webkit-box;
		display: -ms-flexbox; 
		display: -webkit-flex;
		display: flex;
	}
}

@media screen and (max-width: 1045px) {
	.shop-window-wrapper {
		max-width: 720px;
		margin: 0 auto;
	}

	.site-main .comment-navigation,
	.site-main .posts-navigation,
	.site-main .post-navigation {
		margin: 46px 0 72px 0;
	}

}

@media screen and (max-width: 1023px) {
	.site-content, .breadcrumb-bg, .site-footer, .main-navigation {
		padding-left: 15px;
		padding-right: 15px;
	}

	.backtotop-wrapper {
		margin: 0 -15px;
	}

	.shopping-cart {
		top: 15px;
		right: 15px;
	}


	.site-content, .content-wrapper {
    	position: static;
 }
	.mobile {
		display: block;
	}
}



@media screen and (max-width: 815px) {

	input#search {
		width: 50px;
	}

	#searchform .icon-search {
		margin-right: -50px;
	}

	.shop-window-wrapper {
		max-width: 464px;
	}
	.post-excerpt {
		width: 345px;
		width: 100%;

	}
	.news-area > div {
		width: 100%;
		float: left;
		max-width: 345px;
	}

	.news-area .events {
		float: right;
		margin-right: 0;
	}

	.news-area .custom-area {
		clear: both;
		float: none;
		max-width: 345px;
	}

	.product-section {
		margin-top: 40px;
		padding-top: 40px;
	}

	.images, .medium-column, .narrow-column {
		width: 46.74%;
	}

	.images img {
    	margin-bottom: 40px;
	}

	.medium-column > * {
		margin-left: 6.5%;
		margin-right: 0;
	}

	.medium-column > .product-main-content {
		margin-bottom: 40px;
	}

	.product-section .narrow-column.right {
		float: none;
		clear: both;
		width: 100%;
		clear: both;
		border-top: 1px solid #f1b520;
		margin-top: 40px;
		padding-top: 40px;

	}

	.wide-column, .reviews .narrow-column {
		width: 100%;
		float: none;
	}

	.price {
		margin-top: 40px;
	}

	.reviews .quote {
		margin: 0 0 30px 0;
	}

	.reviews .left p {
		margin-bottom: 5px;
	}
	
	.author img {
		max-width: 248px;
	}



}



@media screen and (max-width: 767px) {

	html {
		font-size: 16px;
	}

	.news-area > div, .news-area .events {
		width: auto;
		float: none;
		max-width: 345px;
		margin: 0 auto;
		margin-bottom: 40px;
	}

	.catalogue-link.right, .genre-menu {
		float: none;
		text-align: center;
		font-size: 1rem;
	}

	.genre-menu li {
		margin: 0 5px;
	}

	ul.products li {
		width: 121px;
	}

}

@media screen and (max-width: 564px) {
	.shop-window-wrapper {
		max-width: 208px;
	}
	.images, .medium-column, .narrow-column, .author-image, .author-content, 
	.woocommerce .col2-set .col-1, .woocommerce-page .col2-set .col-1,
	.woocommerce .col2-set .col-2, .woocommerce-page .col2-set .col-2  {
		width: 100%;
		float: none;
	}

	.medium-column > * {
		margin: 0;
	}

	.image-margin {
		margin: 0 0 40px 0;
	}

	.site-footer .content-wrapper {
		display: block;
	}

	.social {
		margin: 20px 0 0 0;
		text-align: center;
	}

	.site-info {
    	max-width: 100%;
 	}

 	.site-footer {
		height: 410px;
	}

	.site-content {
		padding-bottom: 410px;
	}


}

@media screen and (max-width: 400px) {
.main-navigation.toggled ul {
    display: block;
}
}
