/*
Theme Name:   	Storefront Child Theme
Theme URI:    	
Author:       	Magnus Holmgren
Author URI:     http://effectsoft.se
Template:     	storefront
Description:  	This is a child theme for WooThemes StoreFront theme
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:  	edialux
Tags:         	black, white, light, two-columns, left-sidebar, right-sidebar, responsive-layout, custom-background, custom-colors, custom-header, custom-menu, featured-images, full-width-template, threaded-comments, accessibility-ready
*/

/* Set font for site*/
body {
	font-family: Lato, Verdana, Arial, sans-serif;
}

a {
	color: #4C4C4E;
}
.flex-center{
	display: flex;
    align-items: center;
    justify-content: center;
}

/* The std theme color */
.std-color {
	color:#f3f3f3;
}

/* Underscored text*/
.underscore {
	text-decoration:underline;
}
.underscore:focus,
.underscore:hover {
	cursor: pointer;
}

/* Max width 768 */
.max-width-768 {
	max-width: 768px!important;
	margin-left: auto;
    margin-right: auto;
}

/* Header background color*/
.site-header, 
.secondary-navigation ul ul, 
.main-navigation ul.menu > li.menu-item-has-children:after, 
.secondary-navigation ul.menu ul, 
.storefront-handheld-footer-bar, 
.storefront-handheld-footer-bar ul li > a, 
.storefront-handheld-footer-bar ul li.search 
.site-search, button.menu-toggle, 
button.menu-toggle:hover,
#mega-menu-wrap-secondary {
    background-color: #f3f3f3!important;
}

/*Header border*/
.site-header {
    border-bottom-color: #f3f3f3 !important;
}

/* Full width in header and Homepage template*/
header > .col-full,
.page-template-template-homepage .site-content .col-full,
.page-template-template-homepage .entry-content,
.storefront-primary-navigation .col-full {
	max-width:100%!important;
}
/* Full width col*/
@media (min-width: 768px) {
	.col-full {
		max-width: 100em!important;
	}
}
/* Homepage template */
.home.page:not(.page-template-template-homepage) .site-header {
	margin-bottom: 0px;
}
/* cart in header/menu */
@media screen and (min-width: 768px) {
	.site-header-cart .widget_shopping_cart,
	.site-header-cart .widget_shopping_cart .total,
	.site-header-cart .widget_shopping_cart .buttons {
		background-color: #f3f3f3!important;
	}
}

/* Slider in frontpage */
#front-page-slider {
	width:100%!important;
    text-align:center!important;
	margin-bottom: 1em;
}
@media (min-width: 768px) {
	#front-page-slider.homepage-mobile {
		display: none;
	}
	#front-page-slider.hompage-full {
		display: block;
	}
}
@media (max-width: 767px) {
	#front-page-slider.homepage-mobile {
		display: block;
	}
	#front-page-slider.hompage-full {
		display: none;
	}
}
.soliloquy-container {
	display: inline;
}

/* Menu */
#mega-menu-secondary {
	background-color: #f3f3f3!important;
	text-align: right!important;
}
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link {
    line-height: inherit;
}
.secondary-navigation ul.menu a,
#mega-menu-secondary > li.mega-menu-item > a.mega-menu-link {
	color: #4C4C4E!important;
	padding: 1em 0.5vw!important;
}
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link {
	text-decoration: underline!important;
}
#mega-menu-wrap-secondary #mega-menu-secondary > li.mega-menu-item > a.mega-menu-link:hover {
    background: inherit;
    color: #F36F21 !important;
}

@media (min-width: 768px) {
	/* Background- and fontcolor in menu - large screen*/
	.storefront-primary-navigation {
		background-color: #ffffff;
	}
	.woocommerce-active .site-header .site-header-cart{
		width:15%!important;
	}
	.woocommerce-active .site-header #mega-menu-wrap-primary {
		width: 80%!important;
		margin-right: 5%!important;
	}
	
	#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link:hover	{
		background: #F3F3F3;
		color: #F36F21;
		font-weight: normal;
		text-decoration: none;
		border-color: #fff;
	}
	#mega-menu-wrap-secondary #mega-menu-secondary > li.mega-menu-item.mega-toggle-on > a.mega-menu-link, 
	#mega-menu-wrap-secondary #mega-menu-secondary > li.mega-menu-item.mega-current-menu-item > a.mega-menu-link,
	#mega-menu-wrap-secondary #mega-menu-secondary > li.mega-menu-item.mega-current-menu-ancestor > a.mega-menu-link
	{
		background-color: inherit!important;
	}
	
	#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link,
	#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-item li.mega-menu-item > a.mega-menu-link {
		color: #4C4C4C;
	}
	#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link:hover,
	#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-item li.mega-menu-item > a.mega-menu-link:hover,
	#mega-menu-wrap-secondary #mega-menu-secondary > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link:hover,
	#mega-menu-wrap-secondary #mega-menu-secondary > li.mega-menu-item.mega-current-menu-item > a.mega-menu-link {
		color: #F36F21!important;
	}
	
	#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-toggle-on > a.mega-menu-link,
	#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-current-menu-ancestor > a.mega-menu-link {
		background: #F3F3F3;
		color: #4C4C4C;
		font-weight: normal;
		text-decoration: none;
		border-color: #fff;
	}
	
	#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu {
		background-color: #F3F3F3;
		color: #4C4C4E;	
}

/* Left Menu */
.iksm-term__inner:hover{
	background-color: #F3F3F3!important;
}
.iksm-term__link {
	text-decoration: none!important;
}
.iksm-terms .iksm-term__text {
	color: #4C4C4E!important;
	font-weight: 400!important;
}
.iksm-term--expanded > .iksm-term__inner > .iksm-term__toggle > .iksm-term__toggle__inner {
    transform: rotate(45deg)!important;
}
.iksm-term--current > .iksm-term__inner {
    background-color: inherit!important;
}
.iksm-term--current .iksm-term__text {
    color: #F36F21!important;
}

/* Page h1*/
.entry-header {
	text-align: center;
}
/* Breadcrumbs */
.storefront-breadcrumb {
	margin-bottom: 0px!important;
}
/* Products grid*/
.wc-block-grid__product {
	border: solid thin #e0e0e0;
    margin: 2px;
    border-radius: 6px;
    padding: 2px;
}
/* Products title*/
.wc-block-grid__product-title,
.woocommerce-loop-product__title {
	white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* Product grid button */
.hentry .entry-content .wp-block-button .wp-block-button__link {
	font-size: 1.75em;
	border-radius: 3px;
}
@media (min-width: 768px) {
	/* 3 products grid*/
	.discount-products li {
		max-width: 33%!important;
	}
	/* 6 products grid*/
	.home-product-banner li {
		max-width: 16%!important;
	}
}
/* Page tillbud */
.wc-block-grid__product-onsale,
.onsale  {
	background-color: darkred;
    color: white;
}
.onsale {
	display: block;
    position: absolute;
    top: 0px;
	z-index: 999;
}

.home-product-banner .wc-block-grid__product-onsale span,
.home-product-banner .wc-block-grid__product-price span, 
.home-product-banner .wc-block-grid__product-price bdi {
	font-size: 1.33em!important;
}
.home-product-banner .wc-block-grid__product-price bdi .woocommerce-Price-currencySymbol {
	font-size: 1em!important;
}
.woocommerce-Price-currencySymbol::before{
	content: ' ';
}
/* Padding, sizing and styling for Contact Form  */
.form-control {
	border-radius: 3px;
}
.app-flo-forms textarea {
	height: 12em!important;
}

.app-flo-forms .nyhedsbrev {
	padding-top:12px;
	background-color: #f2f2f2;
}
.app-flo-forms .form-group{
	margin-bottom: 0px!important
}
.app-flo-forms hr{
	background-color: transparent!important
}
.app-flo-forms .pum-trigger {
	text-decoration: underline;
}
.no-margin {
	margin:0px!important;
}
.btn-newsletter {
	font-size: inherit!important;
	font-weight: inherit!important;
}

/***/
.app-flo-forms {
	max-width: 920px;
	margin: auto;
}

.app-flo-forms input[type=text], 
.app-flo-forms input[type=submit], 
.app-flo-forms input[type=button], 
.app-flo-forms select,
.app-flo-forms .radio-list{
    height: 2.5em!important;
}
.app-flo-forms input[type=submit]{
	width: 100%!important;
	border-radius: 3px;
}
.app-flo-forms .info-tip {
	font-size: 80%;
	font-style: italic;
	color: grey;
	margin: 0 0 5px 0;
}
.hr-full-width {
	max-width:100%!important;
	width:100%!important;
}
.app-flo-forms_10093 section.form-group-one{
	float:left!important;
	width: 75%;
}
.app-flo-forms_10093 section.form-group-submit{
	width: 25%;
}
.app-flo-forms_10093 .form-group {
	padding: 0px!important;
}
/***/
.dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input, 
.dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input:hover, 
.dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input:focus {
    background-color: #fff !important;
}

/* Color for all button/input */
a.add_to_cart_button,
.hentry .entry-content .wp-block-button .wp-block-button__link,
.button.alt,
#page button,
#page input[type=button],
#page input[type=submit] {
	background-color:#F36F21;
	color: #fff;
	border-radius: 3px;
}

/* Smooth border/outline for inputs in focus */
a:focus, 
button:focus, 
input:focus, 
textarea:focus {
    outline: none;
	box-shadow: 0 0 3pt 2pt rgba(76, 76, 78, 0.33);
}
/* But not these*/
.custom-logo-link,
attachement_tab_tab a{
	box-shadow:none!important;
}


input[type=text]:focus, input[type=number]:focus, input[type=email]:focus, input[type=tel]:focus, input[type=url]:focus, input[type=password]:focus, input[type=search]:focus, textarea:focus, .input-text:focus {
    background-color: #F3F3F3!important;
}
.dgwt-wcas-search-input:focus.
.dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input:focus{
	background-color: #fff!important;
}
/* Footer */
footer {
	background-color: #4C4C4E!important;
	color: #fff!important;
}
.footer-widgets {    
    border-bottom: 1px solid rgba(255, 255, 255, .05)!important;    
}
footer .widget {
	margin-bottom:0px!important;
}
footer .widget-title {
	padding: 0px!important;
	border-bottom: 1px solid #ffffff!important;
	color: #ffffff!important;
}
footer form {
	margin-bottom: 0px!important;
}
.site-info {
	text-align: center;
	padding-top: 0px;
}

.site-footer a {
	color: #ffffff!important;
	text-decoration-color: #666666;
}
/* Footer in handheld */
.site-footer .storefront-handheld-footer-bar a:not(.button):not(.components-button) {
	color: #ffffff;
}
.storefront-handheld-footer-bar ul li > a {
	background-color: #4C4C4E;
}
.storefront-handheld-footer-bar ul li.cart .count {
	background-color: #ffffff;
	color: #4C4C4E;
}
/* WooCommerce */
.woocommerce-page .woocommerce-products-header {
	display: none!important;
}
.storefront-sorting {
	text-align: right;
}
.price-rule-active td,
.price-rule-active .amount {
	color: #4C4C4E!important;
	font-weight: bold;
}
tr.price-rule-active {
	border: thin solid #F36F21;
}

/* Cart in menu only for logged in users */
body:not(.logged-in) #site-header-cart {
	display: none!important;
}

/* Hide price for not logged in */
body:not(.logged-in) .wc-block-grid__products .wc-block-grid__product .price{
	display:none!important;
}

/* Helpers */
.max-w-1100 {
	max-width: 1100px!important;
	margin: auto!important;
}

/*
WOOCOMMERCE BASKET
*****************************
*/
.button.alt:hover, .widget-area .widget a.button.alt:hover {
    background-color: #F36F21;
    border-color: #4C4C4E;
    color: #ffffff;
    border-style: solid;
    border-width: thin;
}

/*
WOOCOMMERCE CHECKOUT
*****************************
*/
.field-description {
    font-size: 0.66em;
    margin-top: 4px;
    opacity: 0.66;
}
#ship-to-different-address {
	font-weight: 400;
    color: #4C4C4E;
    font-size: inherit;
}
#ship-to-different-address .woocommerce-form__input-checkbox {
	position: inherit;
	width: auto;
	margin-right: inherit;
	top: inherit;
	right: inherit;
	vertical-align: bottom;
}
.woocommerce-form-row .optional,
.woocommerce .form-row .optional {
	display:none;
}

/*
WOOCOMMERCE SINGLE PAGE
*****************************
*/
/*Licenses*/
.license-s1,
.license-s2,
.license-g1,
.license-g2,
.license-f1,
.license-r1,
.license-r2 {
	padding: 2px;
	border:#F36F21 solid 1px;
	border-radius: 25%;
	background-color: #aeaeae;
}

/*Singel page product image*/
.single-product div.product .woocommerce-product-gallery img {
    border: thin solid #f3f3f3!important;
}
.single-product div.product .woocommerce-product-gallery .flex-control-nav img{
	border: thin solid #F3F3F3!important;
}
/*Single page product pfd icon */
.product-document span {
	color: #F40F02;
    font-size: 2em;
    width: unset;
    height: unset;
}
/*Tabs Active state*/
.woocommerce-tabs ul.tabs li.active a{
    background-color: #F3F3F3;
	border-color: #aeaeae;
	padding-left: 1em;
}

/*
WOOCOMMERCE MY ACCOUNT
*****************************
*/
.woocommerce-MyAccount-content p:nth-child(2),
.woocommerce-MyAccount-content p:nth-child(3) {
	max-width: 800px!important;
}

body.login div#login h1 {
    background-image: '/wp-content/uploads/cropped-mobilelogo.png';
	background-color: #F3F3F3;
	padding-bottom: 30px;
}

/*
WOOCOMMERCE LOGIN/REGISTER
*****************************
*/
.form-divider {
    margin: 0px;
    border-top: thin solid #F3F3F3;
}
.shipping {
	display:none;
}