/*
Theme Name: Astra Child
Template: astra
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* Adjust padding of primary container */
#primary {
  margin: 1.2em 0;
}

/* Adjust padding of main container */
.ast-container {
  max-width: 1406px;
  padding-left: 40px;
  padding-right: 40px;
}

/* Adjust padding of main container */
.ast-page-builder-template .site-content > .ast-container {
  max-width: 1406px;
  padding-left: 40px;
  padding-right: 40px;
}

/* Responsive adjustments of primary and main container */
@media only screen and (max-width: 920px) {
  #primary {
    margin: 0.1em 0;
  }
  .ast-container {
    padding-left: 20px;
    padding-right: 20px;
  }
  .ast-page-builder-template .site-content > .ast-container {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* Adjust padding in Elementor */
.elementor-column-gap-default > .elementor-column > .elementor-element-populated {
  padding: 15px 0 10px 0;
}

/* Images on infocenter page */
.info-center-images-data .elementor-widget-container {
  height: 230px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
  box-shadow: 0px 5px 10px 2px #cfcfcf;
}

/* Images on infocenter page, title */
.info-center-images-data h2 {
  padding: 5px 20px 5px 20px;
  background-color: #e40046;
  border-radius: 5px;
  color: #ffffff;
}

/* Make arrows in main menu larger */
#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item-has-children > a.mega-menu-link > span.mega-indicator {
	font-size: 20px !important;
}

/* Hide category description in main menu */
.mega-menu-description {
  display: none !important;
}

/* Set background color of top menu */
#ast-hf-menu-2 {
  background-color: transparent;
}

/* Responsive adjustments, top menu */
@media only screen and (max-width: 920px) {
  .ast-header-break-point .main-header-bar-navigation {
    line-height: 2;
  }
  .ast-header-break-point .main-header-menu {
    border-top-width: 0;
  }
  .ast-builder-menu-2 .main-header-menu, .ast-header-break-point .ast-builder-menu-2 .main-header-menu {
    margin-top: 15px;
    margin-bottom: 5px;
  }
  .ast-header-break-point .ast-icon.icon-arrow svg {
    height: .35em;
  }  
  .ast-header-break-point .main-header-bar-navigation .menu-item-has-children > .ast-menu-toggle {
    line-height: 17px;
  }
  .sub-menu .ast-menu-toggle {
    line-height: 30px !important;
  }
}

/* Responsive adjustments, top menu */
@media only screen and (max-width: 544px) {
  .site-header-above-section-left {
    display: none;
  }
  .ast-header-break-point .main-navigation ul .menu-item .menu-link {
    padding: 0 12px;
  }
}

/* Responsive adjustments, top menu */
@media only screen and (max-width: 375px) {
  .ast-header-break-point .main-navigation ul .menu-item .menu-link {
    padding: 0 12px 0 0;
  }
  .menu-link .fas {
    display: none;
  }
}

/* Adjust column gap on WooCommerce category pages */
.woocommerce ul.products, .woocommerce-page ul.products {
  column-gap: 45px;
}

/* Adjust images on WooCommerce category pages */
.product-category img {
  border-radius: 5px;
  box-shadow: 0px 5px 10px 2px #cfcfcf !important;
  height: 270px !important;
  object-fit: cover;
}

/* Adjust images on WooCommerce product pages */
.woocommerce ul.products li.product .woocommerce-loop-product__link img {
	max-height: 200px;
	object-fit: scale-down;
}

/* Adjust certification logos on WooCommerce category pages */
#certification img {
  width: auto;
  display: inline;
}

/* Adjust height if not Facet filter is shown on WooCommerce category pages */
.sh_no_archive_filter {
  width: 100%;
  height: 50px;
}

/* No space under description on WooCommerce category pages */
.ast-archive-description {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

/* Extra space under breadcrumbs on WooCommerce category pages */
#ast-breadcrumbs-yoast {
  margin-bottom: 40px;
}

/* Hide arrow when using collapsomatic */
.collapseomatic {
  background-image: none;
  background-repeat: no-repeat;
  padding: 0;
}

/* Don't move text to the left when using collapsomatic */
.collapseomatic_content {
  margin-left: 0;
}

/* Adjust paragraph text on WooCommerce category pages */
.ast-archive-description p {
  margin-bottom: 1.75em;
}

/* Hide default filter in WooCommerce on product- and category pages */
.woocommerce-result-count {
  display: none;
}

/* Adjust layout of WooCommerce ordering select box */
.woocommerce .woocommerce-ordering {
  float: left;
  margin-top: 10px;
}

/* Adjust layout of WooCommerce ordering select box */
.woocommerce .woocommerce-ordering select {
  background-color: #ffffff;
  border: 1px solid #e7e7e7;
  border-radius: 3px;
}

/* Responsive adjustments, WooCommerce category pages */
@media only screen and (max-width: 767px) {
  .woocommerce-page ul.products:not(.elementor-grid), .woocommerce.tablet-columns-3 ul.products:not(.elementor-grid) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Responsive adjustments, WooCommerce category pages */
@media only screen and (max-width: 544px) {
  .woocommerce-page ul.products:not(.elementor-grid), .woocommerce.tablet-columns-3 ul.products:not(.elementor-grid) {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}

/* Set max height of images, WooCommerce product pages */
.woocommerce div.product div.images img {
  max-height: 400px;
  object-fit: scale-down;
}

/* Adjust space around variation options, WooCommerce product pages */
.woocommerce div.product form.cart .variations {
  margin: 1.4em 0 1.4em 0;
}

/* Hide reset option of variations, WooCommerce product pages */
.reset_variations {
  display: none !important;
}

/* New border color, select box variation options, WooCommerce product pages */
.woocommerce div.product form.cart .variations select {
  border: 1px solid #e40046;
}

/* Hide first variation option, WooCommerce product pages */
.woocommerce div.product form.cart .variations select option:first-child {
  display: none;
}

/* Adjust margin under variation price, WooCommerce product pages */
.woocommerce-variation-price {
  margin-bottom: 0.8em;
}

/* Adjust layout of accordions, WooCommerce product pages */
.collapseomatic.product-table {
  border-bottom: 1px solid #e5e4e3;
  width: 100%;
  display: inline-block;
  padding: 20px 0 20px 0;
}

/* Adjust width of the right content in WooCommerce on product pages */
@media only screen and (min-width: 922px) {
  .woocommerce-page .ast-woocommerce-container div.product div.summary {
    width: 40% !important;
    margin-top: -20px;
  }
}

#search-container-mobile {
  display: none;
}

.sh_searchform {
  width: 330px;
  margin-left: auto;
  margin-right: auto;
}

.sh_searchbar {
	background: #fafafa !important;
	border: none !important;
	padding: 20px 0;
}

.sh_searchbar input {
	border: 1px solid #9DB0AC;
	font-family: inherit !important;
	font-size: 14px;
	width: 100% !important;	
	margin: 0;
	color: #333 !important;
	padding: 0px 15px !important;
  height: 40px !important;
}

@media only screen and (max-width: 920px) {
	#search-container-mobile {
		display: inline;
	}
  #search-container {
		display: none;
	}
  .sh_searchform {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px 0 20px;
  }
}

.sh_archive_filter {
	padding: 10px 0;
	margin: 30px 0 0 0;
	border-top: 1px solid #eee;
	border-bottom: 1px solid #eee;
	height: 70px;
}

.sh_archive_filter ul {
	list-style-type: none;
  margin: 0;
  padding: 0;
}

.sh_archive_filter ul li {
	float: left;
	display: block;
}

.sh_sort {
	margin-bottom: 10px;
}

.sh_sort_counts {
	padding: 10px;
	margin-bottom: 10px;
	border: 3px solid #f7f7f7;
}

.sh_sort_sort {
	margin-bottom: 10px;
}

.facetwp-pager {
	text-align: center;
}

.facetwp-pager a {
	background: #f7f7f7;
	height: 28px;
	width: 28px;
	text-align: center;
	line-height: 28px;
}

.facetwp-pager a.active {
	background: #e40046 !important;
	color: #fff;
}

/* Single Product */
.single_add_to_cart_button {
	background: #e40046 !important;
	color: #fff !important;
}

.sh_files {
  max-width: 500px;
	padding: 0 0 60px 0;
}

.sh_files a {
	margin: 0 20px 20px 0;
}

#sh_files_variations {
  max-width: 500px;
	padding: 0 0 60px 0;
}

.related.products .products li {
	border: none !important;
}

.summary-container .price span {
	font-size: 23px !important;
	color: #333;
	float: right;
}

.summary-container p.price  {
	border-top: 1px solid #eee;
	display: block !important;
	padding: 10px 0 0 0 !important;
	height: 40px !important;
}

/* Accordions generelt */
.sh_accordion_table {
	border: 0;
	width: 100%;
	color: #666;
	font-size: 13px;
}

.panel-body, .panel-title a {
	font-size: 13px;
	color: #666 !important;
}

.sh_accordion_table tr td {
  border: 0;
  padding: 6px 0px;
}

.sh_accordion_table tr:hover  {
  background: #fafafa;
}

.sh_accordion_table tr td:first-child {
  font-weight: 700;
}

.sh_accordion_table td:nth-child(2) {
	text-align: right;
}

/* Accordion sertifikater */
#sertifisering td {
	font-weight: 400 !important;
}

/* Accordions fargeattributter */
#fargeattributter .sh_fargeboks {
	float:right;
	border:1px solid #eee;
	height:18px;
	width:18px;
	margin-right: 1px;
	-moz-border-radius: 9px;
	-webkit-border-radius: 9px;
	border-radius: 9px;
}

.color_variations {
	margin-bottom: 14px;
}

.color_variations td:nth-child(1) {
	width: 15px;
}

.color_variations td:nth-child(2) {
	text-align: left !important;
	padding-left: 10px;
}

/* Accordions garantivilkår */
#garantivilkar td:nth-child(2) {
	text-align: left;
}

/* Accordions montering/fundament */
#montering_fundament .monteringsanvisning {
	font-weight: 400 !important;
	font-style: italic;
}

#montering_fundament ul {
	padding: 0;
	list-style: none;
}

#montering_fundament ul li a {
	color: #e40046;
}

#montering_fundament ul li a:hover {
	text-decoration: underline;
}

#montering_fundament .pris del {
	display: none;
}

#montering_fundament .pris ins {
	text-decoration: none !important;
}

/* Funksjoner, produktside */
.sh_funksjoner .fusion-image-wrapper.funktekst {
	float: left;
	padding: 15px;
}

.sh_funksjoner .fusion-image-wrapper.funkbilde {
	float: left;
	padding-top: 10px;
	padding-left: 10px;
}

.sh_funksjoner img {
	border: none !important;
	padding-right: 5px !important;
	margin: 0 !important;
}

.sh_funksjoner h3 {
	border: 1px solid #efefef;
	background: #fbfaf9;
	text-align: center;
	width: 100%;
	padding: 7px 0;
	text-transform: uppercase;
	font-weight: 400;
	margin-bottom: 0 !important;
	margin-top: 30px !important;
}

.sh_funksjoner h4 {
	font-size: 14px;
	margin-bottom: 0 !important;
	color: #829995;
}

.sh_funksjoner p {
	margin-bottom: 0 !important;
	padding-bottom: 0 !important;
	font-size: 11px;
}

.sh_funksjoner .funktekst {
	text-align: left !important;
}

.sh_funksjoner li {
	border-right: 1px solid #eee;
	border-bottom: 1px solid #eee;
}

.sh_funksjoner li:nth-child(3n-6) {  /* or 4n+1 */
  border-right: none !important;  
}

@media only screen and ( min-width: 900px ) {
	.sh_funksjoner .funkbilde {
		width: 40%;
	}
	.sh_funksjoner .funktekst {
		width: 60%;
	}
}

.sh_video_link {
	background-color:rgba(255, 89, 95, 1);
	color:#fff;
	cursor:pointer;
	display:block;
	height:24px;
	opacity:0.8;
	text-align:center;
	line-height: 24px;
	top:50%;
	width:24px;
	z-index:1000;
	padding: 0 0 0 3px;
	position: absolute;
	top: 5px;
	left:10px;
	-moz-border-radius: 12px;
	-webkit-border-radius: 12px;
	border-radius: 12px;
}

.sh_video_link:hover {
	background-color:rgba(255, 89, 95, 0.85);
	color:#fff;
	cursor:pointer;
}

/* Yotube responsive embed */
.embed-container { 
	position: relative; 
	padding-bottom: 56.25%; 
	height: 0; 
	overflow: hidden; 
	max-width: 100%;
}

.embed-container iframe, 
.embed-container object, 
.embed-container embed { 
	position: absolute; 
	top: 0; 
	left: 0; 
	width: 100%; 
	height: 100%;
}

/* Vedlegg / Filer */
.zoom_img img {
	-moz-transition:-moz-transform 0.2s ease-in; 
	-webkit-transition:-webkit-transform 0.2s ease-in; 
	-o-transition:-o-transform 0.2s ease-in;
}

.zoom_img img:hover {
	-moz-transform:scale(1.15); 
	-webkit-transform:scale(1.15);
	-o-transform:scale(1.15);
}

/* Lenke til produsentens produktside */
.sh_woo_produktlenke {
	margin: 30px 0 20px 0 !important;
	text-align: center;
}

.sh_woo_produktlenke a {
	color: #fff;
	padding: 7px 15px 10px 15px;
	background: #e40046;
	margin-bottom: 7px;
	margin-right: 5px;
	display: inline-block;
}

.sh_woo_produktlenke a h3 {
	font-size: 15px;
	margin: 0 0 0px 0;
}

.sh_woo_produktlenke a:hover {
	background: rgba(255, 89, 95, 0.90);
	color: #fff;
}

/* Kataloger */
.eael-infobox {
	min-height: 500px;
}

.infobox-button {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
}

/* Avancerat produktsök (8746), Svanen (32267), Tillgänglighetsanpassat (29757) – FacetWP */
.page-id-8746 .ast-full-width {
  width: 30%;
}

.page-id-32267 .ast-full-width {
  width: 30%;
}

.page-id-29757 .ast-full-width {
  width: 30%;
}

.sh_avansert_sok_ul {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin: 0;
  list-style: none;
}

@media only screen and (max-width: 767px) {
	.page-id-8746 .ast-full-width {
    width: 100%;
  }
  .page-id-32267 .ast-full-width {
    width: 100%;
  }
  .page-id-29757 .ast-full-width {
    width: 100%;
  }
  .sh_avansert_sok_ul {
    display: flex;
    flex-direction: column;
  }
}

.page-id-8746 select {
  background-position-y: center;
}

.page-id-32267 select {
  background-position-y: center;
}

.page-id-29757 select {
  background-position-y: center;
}

.page-id-8746 .product-title {
  font-size: 16px;
}

.page-id-32267 .product-title {
  font-size: 16px;
}

.page-id-29757 .product-title {
  font-size: 16px;
}

.page-id-8746 .sku {
  font-size: 14.4px;
}

.page-id-32267 .sku {
  font-size: 14.4px;
}

.page-id-29757 .sku {
  font-size: 14.4px;
}

.page-id-8746 .price {
  font-size: 14.4px;
}

.page-id-32267 .price {
  font-size: 14.4px;
}

.page-id-29757 .price {
  font-size: 14.4px;
}

.sh_avansert_sok_product_image img {
  max-height: 200px;
	object-fit: scale-down;
}

.sh_avansert_sok {
	background: #f9f9f9;
	margin-left: 10px !important;
	margin-right: 10px !important;
}

.sh_avansert_sok select, .sh_avansert_sok input {
	width: 100% !important;
}

.sh_avansert_sok .noUi-connect{
	background:#e40046 !important;
}

.sh_vis-alt {
	padding: 0 10px 0 0;
}

.sh_vis-alt a {
	position: relative;
	top: -45px;
}

.facetwp-sort-select {
  width: 100%;
}

.facetwp-autocomplete-update {
	padding: 9px 0 !important;
	border: none;
	color: #fff;
	background: #e40046;
	font-family: inherit;
	font-weight: 700;
	border-radius: 2px;
}

.facetwp-autocomplete-update:hover {
	color: #f9f9f9;
	background: #000;
}

.facetwp-autocomplete {
	-moz-appearance:none;
  -webkit-appearance:none;
	padding: 10px 0 !important;
	background: #fff !important;
	border: 1px solid #eee;
	color: #ccc;
}

/* Archive */
.archive .product-buttons {
	display: none;
}

.archive .product .fusion-content-sep {
	display: none;
}

.archive .product-title a {
	color: #e40046 !important;
	font-size: 18px;
}

.archive .product-title a:hover {
	color: #666 !important;
}

.archive .fusion-price-rating {
	border-top: 1px solid #eee;
	border-bottom: 1px solid #eee;
	padding: 10px 0;
}

.archive .fusion-price-rating span {
	color: #333 !important;
}

.archive .product {
	border: none !important;
}

.product-details-container .fusion-price-rating {
	justify-content: left !important;
}

.single-product .products .product .featured-image {
	max-height: 150px !important;
	padding: 0 15px !important;
	display: block;
	overflow: hidden;
}

.single-product .products .product .add_to_cart_button {
	display: none;
}

.sh_vis-alt {
	padding: 15px 0 0 0 !important;
	margin: 20px 0 0 0;
	display: block;
}

.archive .product .featured-image img {
	max-height: 300px !important;
	padding: 0 15px !important;
}

.archive .fusion-price-rating .price {
	display: block !important;
	width: 100% !important;
	text-align: right;
}

.archive .fusion-price-rating .price span {
	font-size: 22px !important;
}

.archive .sh_sku {
	color: #999;
	margin: 0 0 5px 0;
	font-size: 12px;
}

.sove-category-text-left {
	float: left;
	display: inline;
	max-width: 570px;
	margin-top: 10px;
	padding-right: 30px;
}

.sove-category-text-right {
	float: left;
	display: inline;
	max-width: 570px;
	margin-top: 10px;
	padding-left: 30px;
}

@media only screen and (max-width: 1109px) and (min-width: 801px) {
	.sove-category-text-left {
		max-width: 50%;
	}
	.sove-category-text-right {
		max-width: 50%;
	}
}

@media only screen and (max-width: 800px) {
	.sove-category-text-left {
		max-width: 100%;
		padding: 0;
	}
	.sove-category-text-right {
		max-width: 100%;
		margin: 0;
		padding: 0;
	}
}

.product_list_widget {
	padding: 0 !important;
	margin: 0 !important;
}

#woocommerce-variation-files {
	display: none;
}

#woocommerce-variation-info-url {
	display: none;
}

/* Display cart in top menu */
.wpmenucart-contents {
  font-size: 11px;
  color: #2b2b2b;
}

#wpmenucartli {
  margin-left: 10px;
}

#wpmenucartli :hover {
  color: #6b6b6b;
}

.wpmenucart-icon-shopping-cart-0 {
  font-size: 13px;
}

.cartcontents::after {
  content: " i önskelista"
}

@media only screen and (max-width: 920px) {
  .wpmenucart-contents {
    font-size: 10px;
  }
  #wpmenucartli {
    margin-left: 10px;
    margin-top: -4px;
  }
}

@media only screen and (max-width: 544px) {
  .cartcontents::after {
    content: ""
  }
}

/* On sale settings */
.ast-full-width .onsale {
  display: block;
  position: absolute;
  top: unset !important;
  left: unset !important;
  height: 60px;
  width: 60px;
  z-index: 98;
  background-color: #e40046 !important;
  color: #fff;
  font-size: 18px !important;
  line-height: 3.2em !important;
  text-align: center;
  border-radius: 50%;
  padding: 0 5px;
  pointer-events: none;
}

.single-product .onsale {
  background-color: #e40046 !important;
  color: #fff;
  height: 90px;
  width: 90px;
  font-size: 24px !important;
  line-height: 3.7em !important;
  top: 10px !important;
  left: 10px !important;
}

.archive .onsale {
  background-color: #e40046 !important;
  color: #fff;
  height: 70px;
  width: 70px;
  font-size: 20px !important;
  line-height: 3.3em !important;
  top: 8px !important;
  left: 24px !important;
}

.ast-full-width .onsale .price-reduced {
  display: block;
  font-size: 11px !important;
}

.single-product .onsale .price-reduced {
  display: block;
  font-size: 16px !important;
}

.archive .onsale .price-reduced {
  display: block;
  font-size: 12px !important;
}

/* Hide title above newsletter form */
.page-id-2521 .gform_title {
  display: none;
}

.page-id-2521 .gform_required_legend {
  display: none;
}

/* Add padding to footer */
.ast-builder-grid-row-container-inner {
  padding: 0 40px 0 40px;
}

/* Responsive adjustments of footer */
@media only screen and (max-width: 920px) {
  .ast-builder-grid-row-container-inner {
    padding: 0 20px 0 20px;
  }
}
