h1, h2, h3, h4, h5, h6 {
	text-transform: none !important;
}

/* Ta bort detaljinfo i butiken */
.show_details_button, 
.button-mini-delimiter {
	display: none !important;
}

/*          - - -                       Header                  - - -           */

@media only screen and (min-width: 989px) {
	#header_meta .container {
		display: flex;
		justify-content: space-between;
	}
	#header_meta .phone-info {
		align-self: center;
		display: flex;
		flex-grow: 1;
	}
	#header_meta .phone-info > div {
		display: flex;
		flex-grow: 1;
	}
	#header_meta .phone-info .free-delivery {
		flex-grow: 1;
		text-align: center;
	}
	#header_meta .social_bookmarks {
		min-width: 190px;
	}
	#header_meta .link-group {
		min-width: 180px;
		text-align: right;
	}
}

.flags a {
	text-decoration: none;
}

/*          - - -                   Navigation                  - - -           */

.main_menu .avia-menu-text {
	text-transform: uppercase;
}

/* Table, text color should be readable */
.main_color table caption, 
.main_color tr:nth-child(even), 
.main_color .pricing-table>li:nth-child(even), 
#top .main_color  .avia-data-table.avia_pricing_minimal td {
	color: #444;
}

/*          - - -           Formgivare och författare           - - -           */
#formgivare-grid .no_margin.av_one_fifth,
#forfattare-grid .no_margin.av_one_fifth {
	padding: 17px;
}

/* Remove border around each */
#forfattare-grid .inner-entry, 
#formgivare-grid .inner-entry {
	box-shadow: none;
}

/* Image inline with content */
#forfattare-grid .grid-content, 
#formgivare-grid .grid-content {
	padding: 10px 0 0 0;
}

/* Hide "prev" and "next" links */
.single-portfolio .avia-post-nav { 
	display: none !important; 
}


/*          - - -                   Butiken                     - - -           */

.template-shop .page-thumb {
	margin: 1rem 0 1.5rem 0;
}

.template-shop h1 {
	font-weight: 300;
	margin-top: 0.8em;
}

.term-description {
	font-size: 1rem;
}

.category-tool-section {
	display: flex;
	flex-direction: row-reverse;
	justify-content: space-between;
}

ul.products {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
	column-gap: 20px;
	row-gap: 30px;
}

ul.products .product {
	display: flex;
	flex-direction: column;
	width: 100% !important;
}

.inner_product {
	display: flex;
	flex-direction: column;
	flex: 1;
	justify-content: space-between;
}

/* Six columns (also related fix in functions.php) */
.woocommerce .shop_columns_5 .products .product,
.home .products .product,
#top.single-product .upsells .product,
#products .products .product {
	margin: 0 0 2rem 0;
}

/* Initially hidden */
.is-hidden {
	display: none !important;
}

#top.woocommerce .up-sells.products .product:nth-child(5n) {
	margin-right: 0 !important;
}

#top.woocommerce .up-sells.products .product h2 {
	font-size: 0.85rem;
	font-weight: normal;
	margin: 0;
	padding-top: 0;
}

.products {
	font-size: 0;
	position: relative;
}

.products .product h2 {
	font-size: 0.85rem;
	font-weight: normal;
	margin: 0;
	padding-top: 0;
}

.products .product-author {
	color: #000;
	font-size: 11px;
	line-height: 130%;
	margin: 2px 0 4px 0;
}


/* Hidden authors used to enable search */
.products .product-author-hidden {
	display: none;
}

#top .inner_product_header {
	border-top: none;
	min-height: 0;
}

#top .avia_cart_buttons .button {
	float: none;
	width: 100%;
}

#top .products .avia_cart_buttons {
	opacity: 0.7;
}

.main_color .sale .avia_cart_buttons {
	background-color: #ca551a;
}

.avia_cart_buttons {
	padding: 0;
}

#top .main_color .avia_cart_buttons a {
	padding: 10px;
}

#top .main_color .sale .avia_cart_buttons a,
#top #wrap_all .main_color .sale .avia_cart_buttons a del {
	color: #fff;
	font-weight: bold;
}

#top .products .avia_cart_buttons:hover,
#top .products .avia_cart_buttons:active {
	background-color: #559482;
	opacity: 1;
}

#top .products .avia_cart_buttons a del {
	font-size: 11px;
	font-weight: 600;
	line-height: 1;
}

#top .products .avia_cart_buttons:hover a,
#top .products .avia_cart_buttons:active a,
#top .products .avia_cart_buttons:hover a del,
#top .products .avia_cart_buttons:active a del {
	color: #fff;
}

#top .products .avia_cart_buttons [data-av_icon] {
	display: none;
}

/* Fullwidth buy button */
#top .products .avia_cart_buttons .add_to_cart_button {
	width: 100%;
}

/* Cart bug fix not being clickable on small screens*/
@media only screen and (max-width: 767px) {
	.responsive #top .cart_dropdown {
		z-index: 1;
	}
}

/* Removing small arrow at bottom of product image and authors/designers */
.products .product .avia-arrow,
#forfattare-grid .avia-arrow,
#formgivare-grid .avia-arrow {
	display: none;
}

.products .inner_product_header {
	padding: 3px 3px 10px 3px !important;
}

.products .price {
	position: absolute;
		bottom: 0;
}

/* Hiding the 'Order by' and 'Product count' selects for product listing */
.product-sorting .sort-param-count {
	display: none;
}

.skeleton-container {
	position: relative;
	margin-top: -58px;
}

.skeleton-order {
	background-color: #eee; 
	margin-top: 22px;
	margin-bottom: 32px;
	height: 34px;
	width: 160px;
}

.skeleton-container::after {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	transform: translateX(-100%);
	transition-timing-function: linear;
	background-image: linear-gradient(
		100deg,
		rgba(255, 255, 255, 0) 5%,
		rgba(255, 255, 255, 0.2) 10%,
		rgba(255, 255, 255, 0.6) 15%,
		rgba(255, 255, 255, 0) 30%,
		rgba(255, 255, 255, 0.6) 40%,
		rgba(255, 255, 255, 0.9) 60%,
		rgba(255, 255, 255, 0) 70%
	);
	animation: 4s linear infinite shimmer;
	content: '';
}

.skeleton-product {
	background-color: #eee; 
	height: 17vw; 
	display: inline-block !important;
}

.skeleton-filter {
	margin-top: -18px;
	margin-bottom: 16px;
	line-height: 0.5rem;
	width: 100%;
}

.skeleton-filter .product-filter-tags {
	background-color: #eee;
	display: inline-block;
	height: 25px;
	width: 80px;
	margin-right: 12px;
}


@keyframes shimmer {
	100% {
		transform: translateX(100%);
	}
}


/* Product filter */
.filter-search-container {
	display: flex;
	justify-content: space-between;
}

.product-search {
	flex: 1;
}

@media only screen and (max-width: 699px) {
	.product-search {
		max-width: none;
	}
}

.product-search {
	padding-top: 10px;
}

#top .product-search input {
	font-size: 0.85rem;
}

.product-filter-list {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	margin-bottom: 12px;
	margin-left: 0;
}

.product-filter-list li {
	flex: 1;
	list-style: none;
	margin: 0 8px 0 0;
}

.product-filter-list li:last-child {
	margin-right: 0;
}

.product-filter-list li a {
	display: block;
	text-align: center;
	width: 100% !important;
}

#top .product-filter-list a.button {
	background-color: #fff;
	border: 1px solid #569482;
	color: #333;
}

#top .product-filter-list a.active,
#top .product-filter-list a.button:hover {
	background-color: #569482;
	border: 1px solid #569482;
	color: #fff;
}

.product-filter-overlay {
	background-color: rgba(255,255,255,0.8);
	float: none;
	height: 100%;
	min-height: 300px;
	padding-top: 100px !important;
	text-align: center;
	position: relative;
		top: 0;
	width: 100% !important;
	z-index: 1000;
}

.product-filter-overlay .av-siteloader-cell {
	vertical-align: top;
}

.main_color .product-filter-button {
	min-width: 0;
	padding: 11px 10px;
}

#top .product-filter-button.active,
#top .product-filter-button:hover {
	background-color: #559482;
}

.product-filter-button::before {
	background-color: #fff;
	border: 1px solid #eee;
	border-radius: 2px;
	color: #494;
	/*content: " ";*/
	display: inline-block;
	font-size: 0.75rem;
	height: 0.8rem;
	line-height: 1.1;   
	margin: 0 .5rem -4px 0;
	width: 0.8rem;
}

.product-filter-button.active::before {
	/* content: "\2713 "; */
}

/* Filter and search on small screens */
@media only screen and (max-width: 699px) {
	.filter-search-container {
		flex-direction: column;
	}

	.skeleton-container {
		margin-top: 0;
	}

	.skeleton-product { 
		height: 40vw; 
	}
}

.product-filter-tags {
	margin-left: 0;
	margin-top: 13px;
	flex: 1;
	flex-grow: 3;
}

.product-filter-tags li {
	display: inline-block;
	list-style: none;
	margin: 0 0.8em 0 0;
}

.product-filter-tags a {
	border-radius: 3px;
	background-color: #eee;
	color: #444;
	display: inline-block;
	font-size: 1rem;
	margin-bottom: 5px;
	padding: 0.2rem 0.7rem;
}

.product-filter-tags a:focus {
	text-decoration: none;
}

.product-filter-tags a:hover {
	color: #000;
}

.product-filter-tags a.active,
.product-filter-tags a.active:hover {
	background-color: #559482;
	color: #fff;
	text-decoration: none;
}

.woocommerce-tabs .tabs,
.product_meta {
	display: none;
}

/* Drop down shopping cart - Replace "Sub total" with "Total" */
.dropdown_widget_cart .total::before {
	content: 'Totalt: ';
}

/* Drop down shopping cart - Replace "Sub total" with "Total" */
.dropdown_widget_cart .total strong {
	display: none;
}

.woocommerce-cart .cart_totals,
.woocommerce-cart .wc-proceed-to-checkout {
	float: right;
}

.woocommerce-checkout .woocommerce-additional-fields {
	clear: both;
}

body.woocommerce-cart #main .checkout-button {
	background-color: #569482;
}

body.woocommerce-cart #main .checkout-button:hover {
	background-color: #000;
}

.woocommerce-cart .wc-backward {
	display: inline-block;
	margin-bottom: 20px;
}

/* Overriding removed amount handling in cart */
@media only screen and (max-width: 990px) {
	.responsive .shop_table .product-quantity {
		display: block;
	}

	.responsive .shop_table .quantity {
		width: auto;
	}

	#top .shop_table .quantity input.plus,
	#top .shop_table .quantity input.minus {
		display: none;
	}
}

#top .up-sells .woocommerce-Price-amount.amount {
	display: none;
}



/* - - - -       Single product page       - - - - */

/* Remove prev next product arrows */
.single-product .avia-post-nav {
	display: none;
}

.single-product-author,
.single-product-designer {
	margin-bottom: 0.5em;
}

.single-product-designer {
	margin-top: 0;
}

#top.single-product .single-product-summary .woocommerce-Price-amount,
#top.single-product .single-product-summary .amount {
	font-size: 18px;
}

.single-product .cart {
	margin-top: 10px;
}

/* Reduce space to header (orig 50px) */
.single-product .template-shop {
	padding-top: 15px;
}

.single-product .return-to-shop {
	padding-bottom: 20px;
}

/* Hiding related products, should be done in functions.php */
.single-product .related {
	display: none;
}

.single-product-school-link {
	clear: both;
	padding-top: 0.5em;
}


/* On sale symbol */
#top .main_color .onsale {
	background-color: transparent;
	/* Röd stjärna: background-image: url("//novellix.se/wp-content/uploads/2017/11/julstjarna.png"); */
	/* background-image: url("//novellix.se/wp-content/uploads/2017/04/hjarta_gult-e1491249242620.png");  */
	/* Rött hjärta: background-image: url("//novellix.se/wp-content/uploads/2017/01/hjarta-e1485894406619.png"); */
	background-repeat: no-repeat;
	background-size: contain;
	border-radius: 0;
	height: 38px;
	line-height: 24px;
	font-size: 0;
	display: none;
}

div.novellix-upsell-message {
	border: 1px solid #ccc;
	clear: both;
	margin: 2em 0;
	padding: 0.8em;
}

.novellix-upsell-message .add_to_cart_inline {
	border: 0 !important;
	padding: 0 !important;
}
.novellix-upsell-message ul.columns-6 {
	display: flex !important;
}

/* Temporary styling for greeting cards during christmas 2020 */
.three-products {
	display: grid;
	column-gap: 5%;
	margin-right: 0;
	grid-template-columns: 1fr 1fr 1fr; 
	overflow-y: scroll;
}

.three-products img {
	max-width: 100%;
}

.three-products .added_to_cart.wc-forward {
	display: none !important;
}

body .three-products .button {
	background-color: #fff;
	border: 1px solid #444;
	color: #000;
	display: block;
	width: 100%;
}


/*          - - -                   Start page                          - - -           */

/* Less padding between first and second product rows */
#product-news .template-page,
#product-xmas .template-page {
	padding-bottom: 10px;
}

/* Blog posts, hiding categories, comment count and date */
.home .slide-entry-wrap .blog-categories,
.home .slide-entry-wrap .slide-meta,
.home .slide-entry-wrap .av-vertical-delimiter,
.post-entry .av-vertical-delimiter,
.post-entry .post-meta-infos {
	display: none !important;
}

/* Remove space over special heading */
.home .av-special-heading {
	margin-top: 0;
}

/* Fix for header in color section when using a background */
.home .avia-section[style*=background-image] .av-special-heading-tag {
	background-color: transparent;
}

.home .avia-section[style*=background-image] .special-heading-inner-border {
	border: none;
}


@media only screen and (max-width: 1024px) {
	ul.products {
		grid-template-columns: 1fr 1fr 1fr 1fr;
	}
	.woocommerce .shop_columns_5 .products .product {
		margin: 0 0 20px 0 !important;
	}
}

@media only screen and (max-width: 699px) {
	/* Banner/slider */
	.avia-slideshow li img {
		max-width: none;
	}
	.category-tool-section {
		display: block;
	}

	.product-filter-list {
		display: grid;
		grid-gap: 5px;
		grid-template-columns: 1fr 1fr 1fr;
	}
	.template-shop {
		padding-top: 0.7em;
	}
	.product-filter-list a,
	.product-filter-list li {
		margin-right: 0;
	}
	/* Three columns on start page, shop, author, designer and related products on single product page */
	ul.products {
		grid-template-columns: 1fr 1fr;
	}

	/* Don't show next/prev product slide */
	.home .template-shop .avia-slideshow-arrows {
		display: none !important;
	}

	#formgivare-grid .no_margin.av_one_fifth,
	#forfattare-grid .no_margin.av_one_fifth {
		padding: 0;
	}

	#formgivare-grid .grid-content,
	#forfattare-grid .grid-content {
		padding: 5px;
	}
}



/*          - - -                   Checkout / Kassan                           - - -           */

.woocommerce-checkout .col-1,
.woocommerce-checkout .col-2 {
	clear: both;
	float: none !important;
	width: 100% !important;
}

.woocommerce-checkout .woocommerce-shipping-fields {
	margin-top: 30px;
}

/* Hiding address row nr 2 */
#billing_address_2_field,
#shipping_address_2_field {
	display: none !important;
}

/* Shop to different address */
#ship-to-different-address {
	margin-bottom: 1rem;
}

#ship-to-different-address::before {
	content: "Leveransadress";
	display: block;
	margin-bottom: 1rem;
}

#ship-to-different-address label {
	font-size: 1rem;
	font-weight: normal;
	margin: 1em 0;
}

/* Ordernotering/order comment headline */
#top label[for="order_comments"] {
	font-size: 20px;
	margin-top: 20px;
}

.woocommerce-checkout .ship-to-different-address-checkbox::before {
	content: "Ja";
}

.woocommerce-checkout form.checkout {
	max-width: 600px;
	margin: 0 auto;
}

/* Input colors */
.woocommerce-checkout .form-row input.input-text {
	border-bottom: 1px solid #aaa !important;
} 

.woocommerce-checkout .form-row input.input-text, 
.woocommerce-checkout .form-row textarea, 
.woocommerce-checkout .select2-results,
.woocommerce-checkout .select2-chosen {
	color: #000 !important;
	font-size:  1rem !important;
}

/* Payex text input for invoice */
#top .payment_method_payex_factoring input[type="text"] {
	background-color: #fff;
	color: #000;
}


/* Custom fix for Novelltävlingens instagram overlay */
.page-id-25388 .av_two_third {
	z-index: 2;
}
ul.products li.product a > img {
    display: none;
}
ul.products li.product a:hover > img {
    display: block;
}
ul.products li.product a:hover > img + .thumbnail_container img {
	display: none !important;
}