/*
 Theme Name:   Storefront Child
 Theme URI:    http://example.com/twenty-fifteen-child/
 Description:  Storefront Child Theme
 Author:       Thomas Cardenström
 Author URI:   http://example.com
 Template:     storefront
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  storefront
*/

/* Media clearings (to start fresh) of Storefront style.css*/

@media (max-width: 66.4989378333em) {
    .col-full {
        margin-left: unset;
        margin-right: unset;
    }
}

@media (min-width: 768px) {
    .primary-navigation {
        display: none;
    }
}


/* End of media clearings */



/*Phone is the standard, desktop the exception (these days) */

.site-header {
		padding-top: 2%;
		padding-bottom: 2%; /*In order to have video directly after header */
}

.storefront-primary-navigation .col-full {
    margin-left: unset;
    display: inline-flex;
    margin-right: unset;
    flex-wrap: nowrap;
	float:right;
}

.site-branding {
    float: right;
	padding-left:20%;		
    display: inline-flex;
    flex-direction: column;
} 

.site-header .site-logo-anchor, .site-header .site-logo-link, .site-header .custom-logo-link {
    display: flex;
    margin-bottom: 0;
    justify-content: center;
}

.site-header .site-logo-anchor img, .site-header .site-logo-link img, .site-header .custom-logo-link img {
	width: 70px;
	padding-left: 20px;
}

.logo-text {
    text-wrap-mode: nowrap;
    display: block;
    text-align: right;
    color: white;
    font-size: xx-small;
    font-weight: lighter;
}

.secondary-navigation ul.menu a {
	color: white;
	font-weight: lighter;
}

.site-header-cart .cart-contents {
    display: inline-flex;
	flex-direction: row;
    flex-wrap: wrap;
}

/*Do not display a fold-out of the shopping cart*/
.widget_shopping_cart_content {
    display: none;
}

button#site-navigation-menu-toggle {
	border: none;
}


.foogallery.fg-image-viewer .fiv-ctrls, .foogallery.fg-image-viewer.fg-border-thin .fiv-inner-container {
    border-width: 0px;
}


/* To make the language selector narrower */
div#lang_sel_click {
	width: 70px;
    /*width: fit-content;*/
}



.cart-contents .woocommerce-Price-amount, .cart-contents .count {
	display: none;
}


.cart-item-count {
    font-size: small;
    margin-left: 1%;
    color: white;
}


/*
.cart-contents span.count::after {
    content: "fill";
	color: black
}*/


.handheld-navigation ul.menu li {    
	text-wrap: nowrap;
}

/*Aligns product category text to the left instead of default center */
.term-description p {
	text-align: left;
}


/* Hides the headers in the product tabs if there are any (the name of the product tab is enough) */
.woocommerce-tabs .panel h2:first-of-type {
	display:none;
}


/* Desktop */

@media(min-width: 1000px) {
	
	.site-header {
		padding-top: 0px;
		padding-bottom: 0.7%; /*In order to have video directly after header */
	}


	/*Hide the primary navigation on desktops - secondary navigation is used */
	.primary-navigation {
        display: none;
    }
	
	.site-header-cart .cart-contents {
		width: 100px;
	}


	.site-branding {
		width: 30%;
		padding-left: 0px;
	}

	.site-header .col-full {
		display: inline-flex;
		margin-left: 0px;
		margin-right: 0px;
	}

	.site-branding {
		display: inline-flex;
    	flex-direction: column;
    	align-items: flex-end;
		width: 50%;
		margin: 2%;
	}

	.site-header .site-logo-anchor img, .site-header .site-logo-link img, .site-header .custom-logo-link img {
		width: 100px;
		padding-left: 0px;
	}


	.storefront-secondary-navigation.woocommerce-active .site-header .secondary-navigation {
		width: 600px;
		margin-right: 0px;
	}


	div#lang_sel_click {
    	width: 100px;
        padding-top: 20px;
	}



	.logo-text {
		font-size: small;
	}


	.woocommerce-Price-amount, cart-contents .count {
		display: block;
	}

	.cart-item-count {
		display: none;
	}


}





/* Hide the (cart add by hook) in the secondary menu on the phone (breaking the greater than rule).
More info: Phone uses secondary menu (secondary-navigation) and desktop the primary menu */

@media(width < 1000px) {
	.secondary-navigation ~ .site-header-cart {
		display: inline-flex;
	}
}


@media (min-width: 1px) {
    .site-header-cart .cart-contents::after {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        display: inline-block;
        font-style: normal;
        font-variant: normal;
        font-weight: normal;
        line-height: 1;
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        line-height: inherit;
        vertical-align: baseline;
        content: "";
		color: white;
        height: 1em;
        float: right;
        line-height: 1.618;
    }
}


.site-header {
	display: inline-flex;
	width: 100%;
	justify-content: space-between;
}

.site-header-cart {
	font-size: small;
}


/*A cart as part on the same level as class .main-navigation should be hidden */
.main-navigation ~ .site-header-cart {
	display: none;
}

.storefront-primary-navigation {
	display: inline-flex;
   	flex-direction: column;
	padding-right: 3%;
}



.wpml-ls-legacy-list-horizontal {
	display: inline-flex;
}

/*
@media (width > 1000px) {
	.storefront-primary-navigation {
		display: none;
	}
}
*/


.content-area {
	margin-right: 2%;
    margin-left: 2%;
}

nav, .site-footer {
	padding-left: 2%;
	padding-right: 2%;
}

/* My own classes */

.divTable{
	display: table;
	width: 90%;
	border-collapse: collapse;
  	border-style: hidden;
}
.divTableRow {
	font-size: small;
	display: table-row;
}

.divTableCell {
	border: 1px solid #999999;
	display: table-cell;
	padding: 0.5%;
	width: 30%;
}


.hanger-length {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
}


@media (width > 1000px) {
	.hanger-length {
		flex-direction: row;
		align-items: unset;
	}
}

h3 {
		text-align: center;
}

@media (width > 1000px) {
	h3 {
		text-align: unset;
	}
}


.hanger-length-image {
	min-width: 40%;
	max-width: 40%;
}

.attachment-selector-group {
	display: inline-flex;
	flex-direction: column;
	vertical-align: top;
}

.attachment-type {
    margin-bottom: 3%;
	font-weight: 600;
}

.attachment-selector {
	display: inline-flex;
	justify-content:flex-start;
	/*border-bottom: 1px solid grey; */
}

.attachment-selector img {
	width: 40%;
	margin-left: 4%;
}


.button-box {
    margin-left: 10%;
}


.hentry .entry-content a.button, .add_to_cart_button, .single_add_to_cart_button.button.alt {
	background-color: green;
	padding: 10%;
	color: white;
	border-radius: 5px;
	font-weight: bold;
}

/*Override padding for some of the classes */
a.button, .button.alt, .hentry .entry-content .wc-proceed-to-checkout a.button, .single_add_to_cart_button.button.alt {
	padding: 2%;
}





.centered {
	margin-left: auto;
  	margin-right: auto;
}

.large-heading {
	font-size: x-large;
	margin-top: 2%;
	margin-bottom: 1%;
	width: 100%;     
	display: inline-flex;
    align-items: flex-end;
}

/*
.large-heading img {
	width: 10%;
}
*/

/* End of my own classes */

img {
   border-radius: 5px;
}
.video-container {
  position: relative;
}

iframe {
    width: 100%;
	height: 200px;
    /*max-width: 100%;*/
}

.page-template-template-fullwidth-php .header-widget-region ul.products.columns-3 li.product, .page-template-template-fullwidth-php .site-main ul.products.columns-3 li.product, .page-template-template-homepage-php .header-widget-region ul.products.columns-3 li.product, .page-template-template-homepage-php .site-main ul.products.columns-3 li.product, .storefront-full-width-content .header-widget-region ul.products.columns-3 li.product, .storefront-full-width-content .site-main ul.products.columns-3 li.product {
	width:100%;
}


h2.woocommerce-loop-product__title {
	word-break: break-word;
}


.storefront-product-pagination {
    display: none;
}

.storefront-sticky-add-to-cart {
    display: none;
}


p.woocommerce-shipping-destination {
    display: none;
}

/* For better visibility of alternative payment methods button */

a#klarna-checkout-select-other {
    background-color: black; 
    color: white;
	padding: 2%;
}

/* In order to have video directly after header */

.home.page:not(.page-template-template-homepage) .site-header {
	margin-bottom: 0%; 
}





