/*
	Theme Name: Torkild Sköld
	Theme URI: http://underscores.me/
	Author: Webbmekanikern
	Author URI: http://www.webbmekanikern.se/
	Description: Made for Torkild Sköld AB
	Version: 2.1.2
	License: GNU General Public License v2 or later
	License URI: http://www.gnu.org/licenses/gpl-2.0.html
	Text Domain: wm-torkild-skold
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Asides
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
html {
	font-family: sans-serif;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust:     100%;
	-webkit-overflow-scrolling: touch;
}

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.67em 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 40px;
}

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
--------------------------------------------------------------*/
@font-face {
  font-family: 'Fontello';
  src: url('fonts/fontello.eot?1175712');
  src: url('fonts/fontello.eot?1175712#iefix') format('embedded-opentype'),
       url('fonts/fontello.woff2?1175712') format('woff2'),
       url('fonts/fontello.woff?1175712') format('woff'),
       url('fonts/fontello.ttf?1175712') format('truetype');
  font-weight: normal;
  font-style: normal;
}

body,
button,
input,
select,
textarea {
	color: #404040;
	/*font-family: sans-serif;
	font-size: 16px;
	line-height: 1.5;*/
	font: 18px/1.5em 'Lora', serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0;
}

h1,
h2,
h3 {
	font-family: 'Oswald', sans-serif;
	font-weight: 300;
}

h1 {
	font-size: 2.5em;
	line-height: 1.1em;
	margin-bottom: 20px;
	clear: left;
}

h2,
h3 {
	font-size: 2em;
	line-height: 1.2em;
	margin-bottom: 10px;
}

p,
.padding-bottom {
	margin: 0 0 25px;
}

h1 a,
h1 b,
h1 strong,
h2 a,
h2 b,
h2 strong,
h3 b,
h3 strong,
h4 b,
h4 strong,
h5 b,
h5 strong,
h6 b,
h6 strong {
	font-weight: inherit;
	text-decoration: none;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	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;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	text-decoration: none;
}

mark {
	background: #fff9c0;
}

big {
	font-size: 125%;
}

small,
.small {
	font-size: 0.8em;
}

p.small {
	margin-top: 1em;
	line-height: 1.5em;
}

@media all and (max-width: 800px) {
	h1 {
		font-size: 2em;
		line-height: 1.2em;
	}
	
	h2 {
		font-size: 1.75em;
	}
}

/*--------------------------------------------------------------
# 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: #222; /* Fallback for when there is no custom background color defined. */
}

.site {
	background: #fff;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
}

blockquote,
q {
	quotes: "" "";
}

hr {
	background-color: #eee;
	border: 0;
	height: 1px;
	margin: 0 0 25px;
}

ul,
ol {
	margin: 0 0 25px 1.5em;
	padding: 0;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

.no-bullets {
	list-style-type: none;
	margin-left: 0;
	padding-left: 0;
}

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%;
}

.goto:after,
a.button:after {
	content: ' \00bb';
	font-family: 'Lora';
	vertical-align: top;
}

.gray {
	color: #aaa !important;
}

ul.oneliner {
	list-style-type: none;
	margin-left: 0;
}

ul.oneliner li {
	display: inline-block;
}

ul.oneliner li:before {
	content: '\2022\00a0';
}

ul.no-bullets li:before,
ul.oneliner li:first-child:before {
	content: none;
}

ul.no-bullets li {
	margin-right: 0.5em;
	margin-bottom: 0.5em;
}

ul.no-bullets li:last-child {
	margin-right: 0;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	display: inline-block;
	border: none;
	border-radius: 3px;
	background: #000;
	color: #fff;
	padding: 0.5em 1em;
	text-decoration: none;
	/*font-weight: normal;*/
	transition: 150ms;
	white-space: nowrap;
}

.button:before {
	font-family: 'Fontello';
	font-weight: normal;
	padding-right: 0.5em;
}

.facebook.button {
	background: #3b5998;
}

.facebook.button:before {
	content: '\F09A';
}

.instagram.button {
	background: #c13584;
}

.instagram.button:before {
	content: '\F16D';
}

.button:hover,
button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	opacity: 0.65;
}

.button:disabled:hover,
button:disabled:hover,
input[type="button"]:disabled:hover,
input[type="reset"]:disabled:hover,
input[type="submit"]:disabled:hover {
	opacity: 1;
}

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 {
	border-color: #aaa #bbb #bbb;
	box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5), inset 0 2px 5px rgba(0, 0, 0, 0.15);
}

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 {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
}

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;
}

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"] {
	padding: 3px;
}

textarea {
	padding-left: 3px;
	width: 100%;
}

.wpcf7-text {
	width: 100%;
}

.select2-container .select2-choice {
	padding: 3px 3px 3px 8px;
}

/*--------------------------------------------------------------
# Main
--------------------------------------------------------------*/
.content-wrapper {
	width: 100%;
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 50px;
	padding-right: 50px;
}

.wrapper {
	overflow: hidden;
}

.column-wrapper {
	overflow: hidden;
	margin-left: -25px;
	margin-right: -25px;
}

.column-wrapper .column {
	float: left;
	width: 50%;
	padding: 0 25px;
}

.column-wrapper-right .column {
	float: right;
}

@media all and (max-width: 800px) {
	.column-wrapper .column {
		float: none;
		width: 100%;
	}
}

@media all and (max-width: 500px) {
	.content-wrapper {
		padding-left: 25px;
		padding-right: 25px;
	}
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.site-header {
	position: relative;
	height: 200px;
	background-position: center center;
	/*background-position: center -7.8vw;*/
	background-repeat: no-repeat;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

/*.single-product .site-header {
	
}*/

.home .site-header {
	height: 100vh;
	/*background-position: center top;*/
}

.site-content {
	position: relative;
	padding-top: 40px;
}

.site-header-content {
	width: 100%;
	height: 100%;
	padding-left: 40px;
	padding-top: 30px;
}

.site-title {
	margin: 0;
}

.bubble-headline {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 100%;
	margin: 0;
	text-align: center;
	line-height: 1.9em;
	overflow: hidden;
}

.bubble-headline a {
	display: block;
	max-width: 6.4em;
	margin: 0 auto;
	background: #fff;
	background: rgba(255, 255, 255, 0.65);
	font-weight: inherit;
	text-decoration: none;
	color: #404040;
	cursor: pointer;
	-webkit-border-top-left-radius: 1.4em;
	-webkit-border-top-right-radius: 1.4em;
	-moz-border-radius-topleft: 1.4em;
	-moz-border-radius-topright: 1.4em;
	border-top-left-radius: 1.4em;
	border-top-right-radius: 1.4em;
}

.bubble-headline a:after {
	content: '\00bb';
	display: block;
	font-family: 'Lora';
	line-height: 1em;
	margin-top: -15px;
	-ms-transform: rotate(90deg);
	-webkit-transform: rotate(90deg);
	transform: rotate(90deg);
}

.bubble-headline a:hover {
	background: rgba(255, 255, 255, 0.9);
	opacity: 1;
}

@media all and (max-width: 1000px) {
	.bubble-headline {
		font-size: 1.5em;
	}
}

/*--------------------------------------------------------------
## Quotes
--------------------------------------------------------------*/
.site-header .quote {
	position: absolute;
	left: 0;
	right: 0;
	top: 50%;
	display: block;
	margin: -1.1em auto 0;
	/*padding: 50px;*/
	max-width: 400px;
	text-align: left;
	/*font-style: italic;*/
	font-size: 1.75em;
	line-height: 1.1em;
}

.site-header .quote p {
	margin-bottom: 0;
}

.site-header .quote .content {
	text-indent: -0.5em;
}

.site-header .quote .content:before {
	content: '\201C';
}

.site-header .quote .content:after {
	content: '\201D';
}

.site-header .quote.top,
.site-header .quote.bottom {
	margin-top: 0;
}

.site-header .quote.left {
	left: 10%;
	right: auto;
	text-align: left;
}

.site-header .quote.right {
	right: 10%;
	left: auto;
	text-align: right;
}

.site-header .quote.top {
	top: 200px;
	bottom: auto;
}

.site-header .quote.bottom {
	top: auto;
	bottom: 10%;
}

.site-header .quote.white {
	color: #fff;
	text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.site-header .quote .author {
	font-size: 18px;
}

.site-header .quote .author:before {
	content: '\2014\00a0';
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
	/*color: #4b4;*/
	color: #000;
	text-decoration: underline;
	font-weight: bold;
	transition: 150ms;
}

a:hover {
	/*color: #34903A;*/
	opacity: 0.65;
}

a:hover,
a:active {
	outline: 0;
}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.main-navigation {
	font: 300 1.5em/1.2em 'Oswald', sans-serif;
	text-transform: uppercase;
	clear: both;
	display: block;
	position: absolute;
	top: 45px;
	right: 65px;
}

.main-navigation ul {
	display: block;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation li {
	float: left;
	position: relative;
	margin-left: 1em;
}

.main-navigation a {
	display: block;
	text-decoration: none;
	color: #fff;
	font-weight: 300;
	transition: none;
}

.main-navigation a:hover {
	padding-bottom: 2px;
	border-bottom: 2px solid #fff;
	opacity: 1;
}

.menu-black .main-navigation a {
	color: #404040;
}

.menu-black .main-navigation a:hover {
	border-color: #404040;
}

.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 .current_page_item > a,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_ancestor > a,
.main-navigation .current-menu-ancestor > a {
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
	margin: 0 0 1.5em;
	overflow: hidden;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	float: left;
	width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

.menu-toggle {
	position: absolute;
	top: 0;
	right: 0;
	display: none;
	width: 96px;
	height: 96px;
	text-align: center;
	cursor: pointer;
}

.menu-toggle:after {
	content: '\E808';
	font: normal 36px/96px 'Fontello';
}

.site-branding .black-logo {
	display: none;
}

@media all and (max-width: 1150px) {
	.main-navigation {
		font-size: 1.2em;
		line-height: 1.2em;
	}
}

@media all and (max-width: 1000px) {
	.site-header-content {
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		height: 96px;
		/*background: #fff !important;*/
		background: rgba(255, 255, 255, 0.65) !important;
		padding: 0;
		z-index: 999;
		transition: background 200ms;
	}
	
	.site-branding {
		width: 50%;
	}
	
	.site-branding a {
		display: block;
		padding: 15px;
	}
	
	.site-branding img {
		display: block;
		max-height: 66px;
	}
	
	.site-branding .white-logo {
		display: none;
	}
	
	.site-branding .black-logo {
		display: block;
	}
	
	.main-navigation {
		position: static;
		/*font-size: 1.5em;
		line-height: 1.2em;*/
		text-align: right;
		
	}
	
	.main-navigation .menu {
		position: absolute;
		left: -100%;
		width: 100%;
		/*position: static;
		top: 0;
		bottom: 0;
		left: 0;
		right: 96px;*/
		height: 100vh;
		background: rgba(255, 255, 255, 0.85);
		/*background: rgba(34, 34, 34, 0.85);*/
		/*background: #222;*/
		transition: 200ms;
		overflow: hidden;
		-webkit-transform: translate(0, 0);
    transform: translate(0, 0);
	}
	
	.main-navigation .menu li {
		display: block;
		float: none;
		margin-left: 0;
	}
	
	.main-navigation .menu a {
		padding: 0.5em 1em;
		color: inherit;
	}
	
	.main-navigation .menu a:hover {
		border-bottom: none;
	}
	
	.menu-toggle {
		display: inline-block;
	}
	
	.menu-toggled .site-header-content {
		background: rgba(255, 255, 255, 0.85) !important;
	}
	
	.menu-toggled .main-navigation .menu {
		-webkit-transform: translate(100%, 0);
    transform: translate(100%, 0);
	}
	
	.site-header .quote {
		display: none;
	}
}

/*--------------------------------------------------------------
# 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-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,
.alignright,
.aligncenter {
	margin-bottom: 25px;
}

.alignleft {
	display: block;
	float: left;
	max-width: 47.73%;
	margin-right: 50px;
}

.alignright {
	display: block;
	float: right;
	max-width: 47.73%;
	margin-left: 50px;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

@media all and (max-width: 650px) {
	.alignleft,
	.alignright {
		float: none;
		max-width: none;
		width: 100%;
		margin-left: 0;
		margin-right: 0;
	}
}

/*--------------------------------------------------------------
# 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
--------------------------------------------------------------*/
.widget {
	margin: 0 0 1.5em;
}

/* Make sure select elements fit in widgets. */
.widget select {
	max-width: 100%;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Pagination
--------------------------------------------------------------*/
.pagination {
	margin-top: 50px;
	border-top: 1px solid #eee;
	padding-top: 50px;
	padding-bottom: 50px;
	text-align: center;
}

.pagination .page-numbers {
	display: inline-block;
	width: 45px;
	margin-bottom: 5px;
	padding: 0.5em;
	background: #eee;
	text-decoration: none;
	font-weight: inherit;
}

.pagination .current {
	background: #ddd;
	cursor: default;
}

.pagination .dots {
	cursor: default;
}

/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.latest-posts {
	/*border-top: 1px solid #eee;*/
	padding: 40px 0;
}

.posts {
	list-style-type: none;
}

.posts a {
	display: block;
	overflow: hidden;
	font-weight: normal;
	color: inherit;
	text-decoration: none;
}

.posts .image {
	float: left;
	max-width: 268px;
	margin-right: 10px;
}

.posts .image img {
	display: block;
	width: 100%;
}

.posts h3 {
	margin-bottom: 0;
	font-family: inherit;
	font-weight: bold;
	font-size: 1em;
	line-height: 1.5em;
}

.posts .goto {
	color: #000;
	font-weight: bold;
	text-decoration: underline;
}

.sticky {
	display: block;
}

.hentry {
	margin: 0 0 1.5em;
}

.byline,
.updated:not(.published) {
	display: none;
}

.single .byline,
.group-blog .byline {
	display: inline;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

.entry-meta {
	margin-bottom: -10px;
	color: #aaa;
}

.single-post .entry-meta {
	margin-bottom: 0;
}

article.type-post {
	overflow: hidden;
	margin-top: 50px;
	border-top: 1px solid #eee;
	padding-top: 50px;
}

.single-post article.type-post {
	margin-top: 0;
	border-top: none;
	padding-top: 0;
}

article.type-post .image {
	float: left;
	width: 33.3333%;
}

article.type-post .image img {
	display: block;
	width: 100%;
}

article.type-post .content {
	float: left;
	width: 66.6666%;
	padding-left: 50px;
}

article.type-post .image a,
.video-image {
	display: block;
	position: relative;
}

article.format-video .image a:after,
.video-image:after {
	content: '\e805';
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	margin-top: -0.5em;
	font: normal 60px/1em 'Fontello';
	color: #fff;
	text-align: center;
	opacity: 0.85;
}

.video {
	width: 100%;
	margin-top: 25px;
}

.lecture-review-wrapper {
	margin-top: calc(1.5em - 5px);
}

.lecture-review-wrapper .lecture-reviews {
	column-count: 1;
}


@media all and (max-width: 800px) {
	.posts .column {
		margin-bottom: 25px;
	}
}

@media all and (max-width: 650px) {
	article.type-post .image,
	article.type-post .content {
		float: none;
		width: 100%;
		padding-left: 0;
	}
	
	article.type-post .image {
		margin-bottom: 10px;
	}
}

@media all and (max-width: 580px) {
	.posts .image {
		float: none;
		max-width: none;
		margin-right: 0;
		margin-bottom: 10px;
	}
}

/*--------------------------------------------------------------
## Side menu
--------------------------------------------------------------*/
.side-menu {
	display: table;
	table-layout: fixed;
	width: 100%;
	margin-bottom: 20px;
	text-align: center;
}

.side-menu ul {
	display: table-row;
	margin-left: 0;
	padding-left: 0;
	list-style-type: none;
}

.side-menu li {
	display: table-cell;
}

.side-menu a {
	display: block;
	padding: 0.5em 1em;
	background: #eee;
	font-weight: inherit;
	text-decoration: none;
}

.side-menu .parent {
	font-weight: bold;
	text-transform: uppercase;
}

.side-menu .current-menu-item a {
	background: #ddd;
}

@media all and (max-width: 1000px) {
	.site-menu,
	.side-menu ul,
	.side-menu li {
		display: block;
	}
}

/*--------------------------------------------------------------
## Asides
--------------------------------------------------------------*/
.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
	display: none;
}

/*--------------------------------------------------------------
## 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%;
}

.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;
}

/*--------------------------------------------------------------
# Footer 
--------------------------------------------------------------*/
.site-footer {
	background: #eee;
}

.site-footer .banner {
	height: 400px;
	background-position: center top;
	background-repeat: no-repeat;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

.site-footer .content {
	padding-top: 50px;
	padding-bottom: 50px;
}

.site-footer .site-info {
	padding: 15px 0;
	font-size: 0.75em;
	text-align: center;
	background: #222;
	color: #fff;
}

.site-footer .site-info p {
	margin: 0;
}

.site-footer .site-info a {
	color: #fff;
}

/*--------------------------------------------------------------
# WooCommerce
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Product List
--------------------------------------------------------------*/
.products {
	display: block;
	margin: -5px -5px 20px;
	padding: 0;
	list-style-type: none;
	overflow: hidden;
}

.products li {
	display: block;
	float: left;
	width: 25%;
	padding: 5px;
}

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

.products.two-columns li,
.column-wrapper .products li {
	width: 50%;
}

.products a {
	position: relative;
	display: block;
	overflow: hidden;
}

.products img {
	display: block;
	width: 100%;
}

.products h2,
.products h3,
.products h4,
.products .read-more {
	position: absolute;
	margin: 0;
	padding: 5px 10px;
	background: #000;
	color: #fff;
	font-family: 'Oswald', sans-serif;
	font-weight: 300;
	text-transform: uppercase;
}

.products h2,
.products h3,
.products h4 {
	font-size: 1em;
	top: 0;
	left: 0;
}

.products .read-more {
	bottom: 0;
	right: 0;
}

@media all and (max-width: 800px) {
	.products li {
		width: 50% !important;
	}
}

@media all and (max-width: 500px) {
	.products li {
		float: none;
		width: 100% !important;
	}
}

/*--------------------------------------------------------------
## Quantity Input
--------------------------------------------------------------*/
label.quantity {
	display: inline-block;
	color: #aaa;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 0 0.5em;
}

label.quantity:after {
	content: 'st';
}

label.quantity .qty {
	padding: 0.5em 0;
	text-align: right;
	border: none;
}

label.quantity .qty:focus {
	outline: none;
}

label.quantity .qty::-webkit-inner-spin-button, 
label.quantity .qty::-webkit-outer-spin-button { 
  -webkit-appearance: none; 
  margin: 0; 
}

/*--------------------------------------------------------------
## Add-to-cart Button
--------------------------------------------------------------*/
.button.alt {
	font-weight: bold;
}

/*--------------------------------------------------------------
## Go to checkout Button
--------------------------------------------------------------*/
.site-header .checkout-button {
	position: absolute;
	bottom: 25px;
	right: 65px;
	z-index: 99;
	background: #fff;
	color: #000;
	font-size: 1.2em;
	-webkit-animation: pulsate 2s ease-out;
	-webkit-animation-iteration-count: infinite; 
}

@media all and (max-width: 1000px) {
	.site-header .checkout-button {
		position: fixed;
		top: 0;
		right: 96px;
		bottom: auto;
		display: block;
		width: 96px;
		height: 96px;
		padding: 0;
		color: inherit;
		background: none;
		text-align: center;
		z-index: 1000;
	}
	
	.site-header .checkout-button:after {
		content: '\e807';
		font: normal 36px/96px 'Fontello';
	}
	
	.site-header .checkout-button span {
		display: none;
	}

	label.quantity {
		padding: 0 0.2em;
	}
}

@-webkit-keyframes pulsate {
    50% {-webkit-transform: scale(1, 1);}
    60% {-webkit-transform: scale(1.05, 1.05);}
    70% {-webkit-transform: scale(1, 1);}
}

/*--------------------------------------------------------------
## Single Product
--------------------------------------------------------------*/
.product .price {
	display: block;
	margin-bottom: 25px;
	font-weight: bold;
}

/*.product-type-variable p.price {
	display: none;
}*/

.product.sale .price ins {
	color: #008000;
}

.product.sale .price del {
	display: block;
	font-weight: normal;
}

.product-description {
	margin-top: 2em;
}

.product-description .aligncenter {
	width: 100%;
}

.product-image-wrapper {
	margin-bottom: 2em;
}

/*.product .column-wrapper .column:first-child {
	width: 38.2%;
}

.product .column-wrapper .column:last-child {
	width: 61.8%;
}*/

.out-of-stock {
	color: #D00;
	font-weight: bold;
}

.map,
.map img {
	display: block;
	text-decoration: none;
	border: none;
}

@media all and (max-width: 800px) {
	.product .map {
		margin-top: 25px;
	}
}

/*--------------------------------------------------------------
## Single Variable Product
--------------------------------------------------------------*/
table.variations .label {
	vertical-align: top;
}

table.variations .label:before {
	content: 'Välj ';
}

table.variations .label:after {
	content: ':';
}

/*--------------------------------------------------------------
## Nearby Products
--------------------------------------------------------------*/
.nearby-products {
	border-top: 1px solid #eee;
	padding: 40px 0 50px;
	clear: both;
}

/*.nearby-products .products {
	margin-bottom: 0;
}*/

/*--------------------------------------------------------------
## Messages
--------------------------------------------------------------*/
.woocommerce-error {
	margin: 0;
	padding: 0;
	list-style-type: none;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error li {
	position: relative;
	margin-bottom: 25px;
	padding: 1em 2em 1em 3.5em;
	color: #fff;
	border-radius: 3px;
}

.woocommerce-message {
	background: #44B749;
}

.woocommerce-info {
	background: #D1B84E;
}

.woocommerce-error li {
	background: #D1504E;
}

.woocommerce-message a,
.woocommerce-info a,
.woocommerce-error a {
	color: inherit;
}

.woocommerce-message:before,
.woocommerce-info:before,
.woocommerce-error li:before {
	content: '\e802';
	font-family: 'Fontello';
	font-size: 30px;
	position: absolute;
	left: 20px;
	top: 50%;
	line-height: 30px;
	margin-top: -15px;
}

.woocommerce-error li:before {
	content: '\e803';
}

.woocommerce-info:before {
	content: '\e804';
}

/*--------------------------------------------------------------
## Checkout
--------------------------------------------------------------*/
.shop_table tbody tr {
	border-bottom: 1px solid #eee;
}

.shop_table tbody td {
	padding: 5px 0;
}

.shop_table th {
	vertical-align: top;
}

.shop_table .product-name {
	text-align: left;
}

.shop_table .product-total,
.shop_table .cart-subtotal,
.shop_table .order-total,
.shop_table .product-quantity,
.shop_table tfoot {
	text-align: right;
}

.shop_table .order-total strong {
	display: block;
}

.shop_table .includes_tax {
	white-space: nowrap;
}

.shop_table .variation {
	margin: 0;
	font-size: 0.8em;
	line-height: 1.5em;
	overflow: hidden;
}

.shop_table .variation dt,
.shop_table .variation dd {
	float: left;
	margin: 0;
}

.shop_table .variation dt {
	clear: left;
	margin-right: 0.25em;
}

.shop_table .variation p {
	margin: 0;
}

.shop_table input.qty {
	width: 45px;
	padding: 0.25em 0;
}

.shop_table .cart-subtotal th,
.shop_table .cart-subtotal td {
	padding-top: 5px;
}

form.checkout h3 {
	margin-top: 25px;
	font-size: 1.5em;
	line-height: 1.5em;
}

.woocommerce-billing-fields .form-row {
	float: left;
	width: 50%;
	margin-bottom: 10px;
}

.woocommerce-billing-fields .form-row-wide,
.woocommerce-billing-fields .form-row.notes {
	float: none;
	width: 100%;
}

.woocommerce-billing-fields .form-row-first {
	padding-right: 10px;
}

.woocommerce-billing-fields .form-row-last {
	padding-left: 10px;
}

.form-row .input-text {
	width: 100%;
}

.form-row label {
	display: block;
	clear: both;
	font-weight: bold;
	/*font-size: 0.8em;
	text-transform: uppercase;*/
}

.form-row label .required {
	display: none;
}

.woocommerce-billing-fields .validate-required label:after {
	content: none;
}

.woocommerce-checkout-payment ul {
	margin: 0 0 25px;
	padding: 0;
	list-style-type: none;
}

.wc_payment_method {
	margin-bottom: 0.5em;
	border-radius: 3px;
	overflow: hidden;
}

.checkboxes {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

.woocommerce-checkout input[type="checkbox"] + label,
.woocommerce-checkout input[type="radio"] + label,
.woocommerce-checkout input[type="radio"] + span,
.checkboxes input + span {
	position: relative;
	padding-left: 1.75em;
	cursor: pointer;
}

.woocommerce-checkout-payment .wc_payment_method {
	position: relative;
}

.woocommerce-checkout-payment .input-radio {
	position: absolute;
	top: 0.65em;
	left: 0.65em;
	z-index: 9;
}

@media screen { @media (min-width: 0px) {
	.woocommerce-checkout input[type="checkbox"] + span {
		position: relative;
		padding-left: 1.75em;
		cursor: pointer;
	}

	.woocommerce-checkout input[type="checkbox"],
	.woocommerce-checkout input[type="radio"],
	.checkboxes input {
		display: none;
	}

	.woocommerce-checkout input[type="checkbox"] + label:before,
	.woocommerce-checkout input[type="radio"] + label:before,
	.woocommerce-checkout input[type="checkbox"] + span:before,
	.woocommerce-checkout input[type="radio"] + span:before,
	.checkboxes input + span:before {
		position: absolute;
		left: 0.5em;
		content: '\E801';
		font-family: 'Fontello';
		font-weight: normal;
	}

	.woocommerce-checkout input:checked + label:before,
	.woocommerce-checkout input:checked + span:before,
	.checkboxes input:checked + span:before {
		content: '\E800';
	}
} }

.woocommerce-checkout input:checked + label,
.woocommerce-checkout input:checked + span,
.checkboxes input:checked + span {
	font-weight: bold;
}

.wc_payment_method > label {
	display: block;
	padding: 0.25em 0.5em;
	background: #f7f7f7;
}

.wc_payment_method > label:hover,
.wc_payment_method input:checked + label {
	background: #eee;
}

.woocommerce-checkout-payment label img {
	display: none;
}

.woocommerce-checkout-payment .payment_box {
	margin-top: -0.25em;
	padding: 0 0.5em 0.25em 1.75em;
	background: #eee;
}

.woocommerce-checkout-payment .payment_box p:last-child {
	margin-bottom: 0;
}

.woocommerce-checkout-payment fieldset {
	margin: 0;
	padding: 0;
	border: none;
}

.woocommerce-checkout .place-order > p {
	margin-bottom: 0;
}

.woocommerce-checkout .place-order .button {
	display: block;
	width: 100%;
	margin-top: 25px;
}

@media all and (max-width: 600px) {
	.woocommerce-billing-fields .form-row {
		float: none;
		width: 100%;
		padding-left: 0;
		padding-right: 0;
	}
}

/*--------------------------------------------------------------
# Newsletter
--------------------------------------------------------------*/
.newsletter-section {
	background: #222;
	color: #fff;
	text-align: center;
	padding: 40px 0 50px;
}

.newsletter-section .wysija-paragraph,
.newsletter-section .wysija-submit {
	display: inline-block;
	margin: 0;
}

.newsletter-section .wysija-submit {
	background: transparent;
	border: 1px solid #fff;
}

.newsletter-section .wysija-input {
	width: 240px;
	padding: 0.5em 1em;
	border: 1px solid #fff;
}

.newsletter-section .formError {
	display: none;
}

@media all and (max-width: 500px) {
	.newsletter-section .wysija-paragraph,
	.newsletter-section .wysija-input,
	.newsletter-section .wysija-submit {
		display: block;
		width: 100%;
	}
	
	.newsletter-section .wysija-paragraph {
		margin-bottom: 10px;
	}
}

/*--------------------------------------------------------------
# Lecture reviews
--------------------------------------------------------------*/
.lecture-reviews {
	-webkit-column-count: 2;
	-moz-column-count: 2;
	column-count: 2;
	-webkit-column-gap: 1.5em;
	-moz-column-gap: 1.5em;
	column-gap: 1.5em;
}

.lecture-reviews blockquote {
	position: relative;
	display: inline-block;
	width: 100%;
	margin: 0 0 1.5em;
	padding: 1em 1em 1em 2.5em;
	background: #eee;
}

.lecture-reviews blockquote:before {
	content: '\201C';
	position: absolute;
	top: 0.1em;
	left: 0.1em;
	font-size: 4em;
	line-height: 1em;
	color: #ccc;
}

.lecture-reviews .content {
	font-style: italic;
}

.lecture-reviews .content p {
	margin-bottom: 0.5em;
}

.lecture-reviews footer {
	font-family: 'Oswald';
	font-weight: 300;
	font-size: 0.8em;
	text-transform: uppercase;
	color: #aaa;
	cursor: default;
}

/*.lecture-reviews footer:before {
	content: '\2014\00a0';
}*/

.lecture-reviews cite {
	font-style: normal;
}

@media all and (max-width: 900px) {
	.lecture-reviews {
		-webkit-column-count: auto;
		-moz-column-count: auto;
		column-count: auto;
	}
}

.woocommerce-terms-and-conditions-wrapper .form-row {
	margin-bottom: 0;
}

@media only screen and (min-width : 769px) {
    .bco-two-column-checkout #bco-wrapper {
        display: inline-block;
		width: 100%;
    }

	.bco-two-column-checkout #bco-order-review {
        position: -webkit-sticky;
		position: sticky;
		top: 32px;
    }
}

.billmate-invoice-cta {
	position: relative;
	padding: 32px 16px;
	padding-left: 80px;
	background-color: #eff0f7;
	border-radius: 16px;
}

.billmate-invoice-cta::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 16px;
	bottom: 0;

	background: #404040 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='24' width='24' viewBox='0 0 16 16'%3E%3Cg fill='%23ffffff' class='nc-icon-wrapper'%3E%3Ccircle data-color='color-2' cx='8' cy='2.5' r='1.5'/%3E%3Cpath d='M8,15c-.553,0-1-.447-1-1V7c0-.553,.447-1,1-1s1,.447,1,1v7c0,.553-.447,1-1,1Z' fill='%23ffffff'/%3E%3C/g%3E%3C/svg%3E") no-repeat center center;
	width: 48px;
	height: 48px;
	border-radius: 50%;

	transform: translateY(-50%);
}

#bco-wrapper {
	display: flex;
	gap: 50px;
}

#bco-order-review,
#bco-iframe {
	flex: 1;
}

#bco-order-review .woocommerce-checkout-review-order-table {
	position: sticky !important;
	top: 50px;
}

@media all and (max-width: 900px) {
	#bco-wrapper {
		flex-direction: column;
		gap: 0;
	}
}