a:hover { 
	color: #d71f2a !important; 
	text-decoration: none !important;
}
body { 
    font-family: 'Work Sans', sans-serif; 
    font-size: 1.4rem;
    overflow-y: scroll !important;
}
.breadcrumbs .items { font-size: 1.4rem !important; }
.logo { margin: -8px auto 12px 0; }
.logo img { width: 250px; height: auto; }
.header.content { padding: 20px 20px 0; }
@media (max-width: 768px) {
	.header.content { 
		padding: 10px 15px 0px 15px; 
	} 
}
 
/* Fixes gallery bug with bootstrap installed  */
.gallery-placeholder { width: 100%; }







a.product-item-link > span > i.fa { font-size: 1.8rem; }
.price-container .price { font-size: 1.8rem; }

.filter-options-content .item {
    line-height: 1.4em;
    margin: 0;
}
.page-layout-2columns-left .sidebar-main { width: 20%; }
.page-layout-2columns-left .column.main { width: 80%; }

button.am-filter-go { padding: 5px 0px; }




/* Table formatting from old version */
table.sb-compare td { padding: 3px; width: 95px; text-align: center; }
table.sb-compare td.sb-td-desc { width: 130px; font-weight: bold; text-align: left; }
table.sb-compare td.sb-td-brand { text-align: center; font-weight: bold; }
table.sb-compare td.sb-td-green { background-color: #bbffbb; }
table.sb-compare img { margin-left: auto; margin-right: auto; padding: 0px !important; }
td.powercord_prodspecth, #product-attribute-specs-table > tbody > tr > th { 
	font-weight: 600; 
	background-color: #f2f2f2; 
	border: 1px solid #D2D2D2; 
	padding: 2px; 
	width: 20% !important; 
}
td.powercord_prodspectd, #product-attribute-specs-table > tbody > tr > td { 
	border: 1px solid #D2D2D2; 
	padding: 2px; 
}
table.product-v2-attribute td { padding: 5px; }


/* Formatting mer informasjon tab on product page  */
.additional-attributes-wrapper table { width: 100% !important; }





/* Table formatting end */

/* Layered navigation color boxes */
.swatch-option {
    border: 1px solid #dadada;
    cursor: pointer;
    float: left;
    height: 30px;
    margin: 0 10px 5px 0;
    max-width: 100%;
    width: 30px;
    overflow: hidden;
    padding: 0px 0px;
    position: relative;
    text-align: center;
    text-overflow: ellipsis;
    margin-right: 4px;
}
 
 




/* Formatting category view product boxes  */
.item.product.product-item {
  border-style: solid;
  border-width: thin;
  border-color: #ddd;
  padding: 10px;
}
li.item.product.product-item:hover, .item.product.product-item.mgz-grid-item:hover { 
  box-shadow: 3px 3px 4px 0 rgba(0, 0, 0, 0.3); 
}
span[data-price-type="oldPrice"], span.old-price { 
  text-decoration: line-through; 
}
span.price-label { 
  display:none; 
}


.product-item .price-box {
	display: inline-block;
	/* margin: 10px 0 25px; */
	margin: 20px 0 25px;
  margin-bottom: 0;
}
.product-item-name {
    height: 50px;
    /* overflow: hidden; */
}

.page-products .products-grid .product-item-inner:before {
	top:0;
}

.amstockstatus-category {
    display: none;
}
.amstockstatus-category._show {
    display: inline-block;
    margin: 0;
    position: absolute;
    right: 0;
    bottom: 35px;
    border-style: solid;
    border-width: thin;
    padding: 5px;
    font-size: 1.1em;
    border-color: #000;
    background-color: #eee;
    z-index: 99999;
}
span.cart-icon img {
    width: 23px !important;
    /* margin-top: 5px; */
    margin-top: 13px;
}
span.cart-icon {
    display: inline-block;
    float: right;
}

span.cart-icon span {
    font-size: 18px;
    position: relative;
    top: 5px;
}
span.cart-icon .green {
    color: #008000;
}
span.cart-icon .red {
    color: #ec1d25;
}
span.cart-icon .yellow {
    color: #fedd00;
}
span.cart-icon .yellow img {
  width: 25px !important;
    background-color: #ffd300;
    border-radius: 100%;
}
.product-item .price-box .price {
    font-size: 2.3rem;
    font-weight: normal;
    font-family: helvetica;
}
span.compare-icon {
    display: inline-block;
    padding-left: 10px;
}
span.compare-icon img {
    width: 25px;
}

/* My Account page */



#my-orders-table > thead > tr > th.col.id { width: 10%; }
#my-orders-table > thead > tr > th.col.date { width: 10%; }
#my-orders-table > thead > tr > th.col.shipping { width: 30%; }
#my-orders-table > thead > tr > th.col.total { width: 10%; }
#my-orders-table > tbody > tr > td.col.total { 
	text-align: right;
	padding-right: 15px;
}
#my-orders-table > thead > tr > th.col.status { width: 20%; }
#my-orders-table > thead > tr > th.col.actions { width: 20%; }
#my-orders-table { table-layout: fixed; }
#account-nav > ul > li { padding-bottom: 5px; }
.account .table-wrapper { overflow-x: unset; }
#account-nav > ul {
	display: -ms-flexbox;
    display: inline-grid;
    padding-left: 10px;
}

#my-orders-table > tbody td { padding-bottom: 0px; }
#my-orders-table > thead > tr > th.col.name { width: 40%; }
#my-orders-table > thead > tr > th.col.sku { width: 10%; }
#my-orders-table > thead > tr > th.col.price { width: 15%; }
#my-orders-table > thead > tr > th.col.qty { width: 10%; }
#my-orders-table > thead > tr > th.col.subtotal { width: 15%; }
#my-orders-table > tbody > tr > td.col.name > strong { font-size: 1.5rem; }
#my-orders-table > tbody > tr > td.col.sku { 
  font-size: 1.5rem;
  padding-top: 16px;
}
#my-orders-table > tbody > tr > td.col.price > span { font-size: 1.5rem; }
#my-orders-table > tbody > tr > td.col.price > span.price-excluding-tax { display: none; }
#my-orders-table > tbody > tr > td.col.qty > ul span { 
  font-size: 1.5rem;
  padding-top: 16px;
}
#my-orders-table > tbody > tr > td.col.qty { padding-top: 16px; }
#my-orders-table > tbody > tr > td.col.qty > ul span:nth-child(1) { 
  display: none;
  padding-top: 16px;
}
#my-orders-table > tbody > tr > td.col.qty > ul span:after { content: ""; }

#my-orders-table > tbody > tr > td.col.qty > ul> li:nth-child(2) { display: none; }
#my-orders-table > tbody > tr > td.col.subtotal > span { font-size: 1.5rem; }
#my-orders-table > tbody > tr > td.col.subtotal > span.price-excluding-tax { display: none; }


.order-details-items.shipments a.action.print { display: none; }
table.table-order-items.shipment > thead > tr > th.col.name { width: 70%; }
table.table-order-items.shipment > thead > tr > th.col.sku { width: 10%; }
table.table-order-items.shipment > thead > tr > th.col.qty { width: 20%; }
.order-items-shipment td.col.name > strong { font-size: 1.5rem; }
.order-items-shipment td.col.sku  { font-size: 1.5rem; }
.order-items-shipment td.col.qty  { font-size: 1.5rem; }
table.table-order-items.shipment { table-layout: fixed; }
table.table-order-items.shipment > tbody td { padding-bottom: 0px; }














 
/* Removing beige background color from ordre page subtotals */
.mark, mark { background-color: unset; }
 
 




/* Account icon and dropdown in header */
ul.account.wrapper {
    float: right;
    margin: 0;
    padding-left: 15px;
    list-style: none none;
    line-height: 33px;
}
ul.account.wrapper .account-icon img {
    width: 20px;
}
ul.account.wrapper li.link.authorization-link {
    margin-bottom: 0;
    line-height: 33px;
}
ul.account.wrapper > li > span > span > a {
  background-color: #ffffff;
  border-style: solid;
  border-width: 1px;
  border-color: #ffffff;
  color:#000;
}

ul.account.wrapper > li > span > span > a:hover {
  background-color: #f5f5f5;
  border-color: #ccc;
  color:#d71f2a;
}

ul.account.wrapper > li > span > span {
  padding: 0px;
  line-height: 30px;
}

.minicart-wrapper .action.showcart:before {
    line-height: 33px;
    font-size: 28px;
}







/* For Product compare and add to cart button*/
@media (min-width: 640px) {
  .product-item-actions .actions-primary {
    display: inline-block;
    width: 74%;
  }
  .product-item-actions .actions-secondary {
    display: inline-block;
    width: 26%;
    text-align: right;
  }
  .product-item-actions .actions-secondary > .action {
    background: #fcb800 !important;
    color: #000000 !important;
    border: 1px solid transparent !important;
    font-weight: normal;
    border-radius: 3px;
    line-height: 34px !important;
  }
  .product-item-actions .actions-secondary > .action:hover {
    background: #ffc107 !important;
    color: #000000 !important;
    border: 1px solid #333 !important;
  }
  
  .product-item .tocompare:before {
    font-size: 2.6rem !important;
    width: 2.6rem !important;
}
  
  

.products-grid .product-item-inner .product-item-actions {
    margin: 0px;
  }  
  
  
  .products-list .product-item-name {
      display: inline-block;
      font-size: 18px;
      width: 70%;
  }
  .products-list .product-item-name a {
      font-weight: 600;
  }
  .products-list .product-item-details {
    position: relative;
  }
  .products-list .price-box {
    position: absolute;
    right: 15%;
    top: 0;
    margin: 5px 0;
  }
  .products-list span.cart-icon {
    position: absolute;
    right: 3%;
    top: -3px;
  }
  .products-list span.cart-icon img {
    margin-top: 0;
  }
  .products-list .product-item-actions {
    float: right;
    width: 30%;
  }
  .products-list .product-item-description {
    float: left;
    width: 67%;
    margin-top: 0;
    margin-right: 15px;
  }
  .products-list .product-item-inner {
    margin-top: 30px;
    display: inline-block;
  }
  .products-list .amstockstatus-category._show {
    top: 10%;
    bottom: auto;
  }
}
    .box-tocart {
      width: 100%;
      display: inline-block;
    }
    .box-tocart .field.qty {
      float: left;
      margin-right: 20px;
    }
    .box-tocart .actions {
      width: 73%;
      float: left;
      margin-top: 7px;
    }

@media (min-width: 768px) {
    .page-products .product.data.items > .item.title > .switch {
        height: 29px;
    }
    .catalog-product-view .product.data.items > .item.title > .switch {
        height: 30px;
    }
    .product.data.items > .item.content {
        margin-top: 29px;
    }

}

/* For Homepage product grid */
@media (min-width: 1200px) {
	.mgz-grid-col-xl-5 > div {
      width: 19% !important;
  }
  .mgz-product-items .mgz-grid-item .product-item-info {
    border: 0;
  }
  .page-products .products-grid .product-item {
    margin-left: 1% !important;
  }
  .redirect-item-h strong.product-item-name {
      height: 96.5px;
  }
}


/* mini cart subtotal block */
/*
.mpquickcart .block-items {
  height: 70%;
}
.mpquickcart .block-footer {
  height: 17%;
}
.mpquickcart .block-footer .cart-totals {
  position: absolute;
  bottom: 15px;
  width: 100%;
}
@media (max-width: 600px) {
  .mpquickcart .block-footer .cart-totals {
    bottom: 40px;
  }
}
 

*/


/* mobile breadcrumbs */
@media only screen and (max-width: 767px) {
  body .breadcrumbs {
    display: block;
  }
  .checkout-klarna-index .logo {
    margin: 0 0 10px 40px;
    margin-bottom: 13px;
    margin-top: 4px;
  }
  .checkout-klarna-index .page-title-wrapper {
    display: none;
  }
  .checkout-klarna-index .modal-content {
    background-color: transparent;
  }
  .checkout-klarna-index .modal-custom .action-close {
    margin: 5px;
  }
  .checkout-klarna-index .modal-custom .action-close:focus {
    outline: 0;
  }
  .checkout-klarna-index .modal-header > button.action-close:before {
    font-size: 18px;
  }
  .checkout-klarna-index .opc-block-summary .items-in-cart > .title:after {
    font-size: 20px;
  }
  .checkout-klarna-index .checkout-payment-method {
    background: #f5f5f5;
    margin: 0 0;
    padding: 22px 30px;
  }
  .checkout-klarna-index .opc-block-summary {
    margin-bottom: 0;
  }
  .checkout-klarna-index .abs-discount-code .form-discount, .checkout-klarna-index .checkout-payment-method .payment-option-content .form-discount {
    display: block;
  }

}
	.block.related .related-available .product-item-name {
		margin-left: 0;
	}
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
	.mp_social_share_inline_under_cart {
		display: none !important;
	}  

}

@media (min-width: 481px) and (max-width: 767px) {
  
	.block.related .related-available .product-item-name {
		margin-left: 0;
	}
	.mp_social_share_inline_under_cart {
		display: none !important;
	}  
}


@media (min-width: 320px) and (max-width: 639px) {
	.product-item-name {
		min-height: 50px;
	}
	.block.related .related-available .product-item-name {
		margin-left: 0;
	}
	.block.related .product-item .price-box {
		position: absolute;
		top: 90px;
	}
	.block-blog-related {
		width: 100% !important;
	}
	/*.block-blog-related .product-item .price-box {
		position: relative;
		top: 40px;
	}*/
	.catalog-product-view .product-item-info {
		width: 100%;
	}
  /*.related-content-container .products-grid .product-item-inner {
    bottom: 40px !important;
  }*/
  .related-content-container .products-grid span.cart-icon {
    bottom: 0;
    position: absolute;
    right: 0;
  }
  .related-content-container .product-item-info {
    width: 100% !important;
  }
}
@media (min-width: 640px)  and (max-width: 767px) {
	.page-products .block.related .products-grid .product-item, 
	.page-layout-1column .block.related .products-grid .product-item, 
	.page-layout-3columns .block.related .products-grid .product-item, 
	.page-products.page-layout-1column .block.related .products-grid .product-item, 
	.page-products.page-layout-3columns .block.related .products-grid .product-item {
		width: calc((100% - 3%) / 3);
	}
  .related-content-container .item.product.product-item {
    width: calc((100% - 3%) / 3) !important;
  }
  .block-blog-related {
    width: 100% !important;
  }
}

@media (min-width: 1025px) and (max-width: 1280px) {
  .abs-visually-hidden-desktop-s, .mgz-grid.mgz-product-items.mgz-carousel .product-item-info:not(:hover):not(.active) .product-item-inner {
      border: 0;
      clip: rect(0, 0, 0, 0);
      height: 1px;
      margin: -1px;
      overflow: hidden;
      padding: 0;
      position: absolute;
      width: 1px;
  }
  .abs-visually-hidden-desktop-s, .mgz-grid.mgz-product-items.mgz-carousel .product-item-info .product-item-inner {
    position: absolute;
    width: 100%;
    bottom: 110px;
    z-index: 9999;
  }
  .mgz-product-items .mgz-grid-item .product-item-info {
    border: 0;
  }
}

@media (max-width: 1024px){
  .abs-visually-hidden-desktop-s, .products-grid .product-item-info:not(:hover):not(.active) .product-item-inner {
    width: 100%;
    clip: unset;
    overflow: visible;
    height: auto;
    position: relative;
    bottom: 0;
    margin: 0 !important;
  }
  .mgz-product-items .mgz-grid-item .product-item-info:hover {
    border-color: #fff;
  }
  /*.mgz-product-items .mgz-grid-item .product-item-info .product-item-inner  {
    bottom: -77px;
    position: relative;
  }*/
  .products-grid .product-item-info:hover .product-item-inner, .products-grid .product-item-info.active .product-item-inner {
    position: relative;
  }
  .catalog-product-view .products-grid .product-item-info {
    width: 100%;
  }
  /*.catalog-product-view .products-grid .product-item-inner {
    position: absolute !important;
    bottom: 30px !important; 
  }*/
  .related-content-container .products-grid .product-item-info {
    position: relative;
  }
  /*.related-content-container .products-grid .product-item-inner {
    position: absolute !important;
    bottom: 30px !important; 
  }*/

  .catalog-product-view .products-grid .product-item-info .product-item-details {
    position: relative;
    z-index: 1;
  }

}
@media (min-width: 639px) and (max-width: 1024px) {
  /*.catalog-product-view .products-grid .product-item-inner {
    position: absolute !important;
    bottom: 30px !important; 
  }*/
  /*.related-content-container .products-grid .product-item-inner {
    position: absolute !important;
    bottom: 30px !important; 
  }*/
}

@media (min-width: 1025px){
  .products-grid .product-item-inner {
    bottom: 110px;
  }
}

/*header compare*/
.compare.wrapper a.action.compare:before {
  content: '\e61e';
  font-size: 34px !important;
  -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 16px;
    color: inherit;
    font-family: 'icons-blank-theme';
    vertical-align: middle;
    display: inline-block;
    font-weight: normal;
    overflow: hidden;
    speak: none;
    text-align: center;
}
.compare.wrapper .counter.qty:before,.compare.wrapper .counter.qty:after {
  display: none;
}
.compare.wrapper .counter.qty {
  position: absolute;
    background-color: #d71f2a;
    color: #fff;
    width: 20px;
    height: 20px;
    text-align: center;
    line-height: 20px;
    border-radius: 100%;
    top: 15px;
    margin-left: -15px;
    font-size: 10px;
}

.minicart-wrapper .action.showcart:before {
  display: none;
}
.minicart-wrapper .action.showcart > img {
    width: 20px;
    margin-top: 10px;
}
.minicart-wrapper .action.showcart .counter.qty {
  position: absolute;
    background-color: #d71f2a;
    color: #fff;
    width: 20px;
    height: 20px;
    text-align: center;
    line-height: 20px;
    border-radius: 100%;
    top: -7px;
    margin-left: -10px;
    font-size: 10px;
}

/*Smoke granade popup - cart/checkout*/
.smoke-grenade-modal .modal-inner-wrap {
    width: 40%;
}
.smoke-grenade-modal .modal-footer {
  display: none;
}
.smoke-grenade-modal .checkout-grenade-popup-action {
  padding: 10px;
}
.smoke-grenade-modal .checkout-grenade-popup-action .actions{
  margin-top: 15px;
}


/* related/upsell/crossell product item grid */
@media (min-width: 1025px) {
  .page-layout-1column .products-grid .product-item {
    width: calc((100% - 5%)/6);
    margin-left: 1% !important;
  }
  .page-layout-1column .products-grid .product-item-info {
    width: 100%;
  }
  .page-layout-1column .products-grid .product-item-info .product-item-name {
    margin-left: 0;
  }
  .page-layout-1column .products-grid .action.primary {
    width: 100%;
  }
  .catalog-product-view .product-item-actions .actions-primary + .actions-secondary > .action {
    margin-left: 5px;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
	.page-layout-1column .products-grid .product-item {
	    width: calc((100% - 4%)/5);
	    margin-left: 1% !important;
	  }
}

/* one step checkout shipping radio button*/

.table-checkout-shipping-method tbody td {
    padding-bottom: 0px !important;
}

#checkout-shipping-method-load .table-checkout-shipping-method {
  min-width: 100%;
  table-layout: fixed;
}
.table-checkout-shipping-method tbody td:first-child {
    width: 5% !important;
    float: left;
    display: inline;
}
#checkout-shipping-method-load .table-checkout-shipping-method tr.row {
    display: block;
    width: 100%;
    margin: 0;
    float: left;
}
.table-checkout-shipping-method tbody td.col.col-price {
    width: 13%;
    float: left;
    display: inline;
	padding-left: 5px;
	padding-right: 0px;
}
.table-checkout-shipping-method tbody td:nth-child(3) {
    width: 45%;
    display: inline;
    float: left;
}
.table-checkout-shipping-method tbody td:nth-child(4) {
    display: inline;
    float: left;
    width: 37%;
}

/* customer account create page */
@media (min-width: 768px) {
  .customer-account-create .fieldset > .field:before, .customer-account-create .fieldset > .field:after {
      content: '';
      display: table;
  }
  .customer-account-create .fieldset > .field:after {
      clear: both;
  }
  .customer-account-create .fieldset > .field:not(.choice) > .control {
      width: 74.2%;
      float: left;
  }
  .customer-account-create .fieldset > .field > .label {
      margin: 0;
  }
  .customer-account-create .fieldset > .field:not(.choice) > .label {
      padding: 6px 15px 0 0;
      text-align: right;
      width: 25.8%;
      box-sizing: border-box;
      float: left;
  }
  .customer-account-create div.admin__field.field.field-identifikasjon > label {
      width: auto !important;
  }
  .catalog-product-view.page-layout-1column .products-grid .product-item {
    margin-left: 0 !important;
  }
}

/* prisjakt script */
	.prisjakt_productpage {
		position: absolute;
		z-index: 2;
		width: auto;
		float: right;
	} 
@media (min-width: 768px) { .prisjakt_productpage { right: 42%; }.product-options-wrapper .fieldset-bundle-options .field .control {width: 100%;} .fotoplex-media .prisjakt_productpage {right: 0;} }
@media (max-width: 767px) { .prisjakt_productpage { right: 10%;width: 50px; }.fotoplex-media .prisjakt_productpage {right: 0;width: 70px;}  }


/* product grid 5 columns -> */

@media (min-width: 640px) {
  .page-products .products-grid .product-item {
    width: calc((100% - 4%)/4);
  }
}

@media (min-width: 768px) {
  .page-products .products-grid .product-item {
    width: calc((100% - 4%) / 4);
    margin-left: 1% !important;
  }
}

@media (min-width: 1024px) {
  .page-products .products-grid .product-item {
    width: calc((100% - 6%)/5);
  }
  .page-products .products-grid .product-item {
    margin-left: 1%;
  }
  .page-products .products-grid .product-item:nth-child(5n + 1) {
    margin-left: 0;
  }
}

@media (min-width: 1400px) {
  .prisjakt_productpage {
    right: 45%;
  }
}