/*
Theme Name: Fancy Lab
Theme URI: http://www.inbrackets.dev/themes/fancy-lab-theme
Author: inbrackets
Author URI: http://www.inbrackets.dev
Description: Fancy Lab is a compatible WooCommerce theme made with WordPress. It is the best theme for you to sell anything online, beautifuly designed and fully responsive.
Version: 1.0
Text-domain: fancy-lab
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: e-commerce, custom-menu, custom-logo, featured-images, footer-widgets, theme-options, translation-ready, blog, right-sidebar, sticky-post, threaded-comments
*/

@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@300;400&family=Rajdhani:wght@400;500;600;700&family=Roboto:wght@100;300&display=swap');

body{
    /* font-family: 'Roboto Condensed', sans-serif; */
    font-family: 'HelveticaNeue','Helvetica Neue',Helvetica,Arial,sans-serif;
    font-weight: 500;
    color: #827c78;
    overflow-x: hidden; 
}

.bg-red{
    background-color: red;
}

.bg-blue{
    background-color: blue;
}

@font-face {
    font-family: 'riftregular';
    src: url('inc/fonts/fort_foundry_-_rift-regular-webfont.woff2') format('woff2'),
         url('inc/fonts/fort_foundry_-_rift-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

.content-area{
    min-height: 500px;
    padding: 0px;    
}

.page-template-template-home-php .content-area{
    padding: 0;
}

/* Home Page Template */

/* Header - Main Menu */
body #page > header{
    background-color: #fff;
    border-bottom: 1px solid #eee;    
}

header .search{
    padding: 0.7rem 0;
    background-color: #0000000a;
}

header .top-bar{
    padding: 0 0 0 0;
    border-bottom: 1px solid #bcafa8;
    margin-bottom: -1px;
}

header p.site-title{
    font-size: 1.5rem;
    line-height: 1.5rem;
    color: #827c78;
    font-weight: 600;
    margin: 0;
}

header p.site-title~span {
    color: #827c78;
}

header .brand{
    padding-bottom: 15px;
    word-break: break-word;
    -ms-word-wrap: break-word;
}

header img.brand{
    width: 100%;
    max-width: 290px;
    display: block;
    margin: 0px auto;
    padding-top: 15px;
    height: auto;
}

header .secondary-menu a {
    display: block;
    float: right;
}

h1.rmshop {
	font-family: 'HelveticaNeue','Helvetica Neue',Helvetica,Arial,sans-serif;
    font-size: 0.9rem;
    letter-spacing: 1px;
    font-weight: 300!important;
    color: #333;
    display: block;
    position: absolute;
    top: -55px;
    left: 10px;
}

.hopeful_logo {
    width: 100px; 
    height: auto; 
    margin-top: 18px;
}

.account-icon {
    background: url('img/my-account.svg');
    background-repeat: no-repeat;
    background-position-x: 5px;
    width: 46px;
    height: 36px;
    display: block;
}
.logout-icon {
    background: url('img/logout.svg');
    background-repeat: no-repeat;
    background-position-y: 4px;
    width: 46px;
    height: 36px;
    display: block;
}
.loggInn a{
    color: #8b8682;
    font-weight: 300;
    font-size: 14px;
}

.account a{
    color: #827c78;
    font-size: 13px;
}
.account{
    font-weight: 300;
}

.account ul li {
    float: left!important;
}

.account ul li a{
    padding: 0 1rem 0 0 !important;
}

.main-menu{
    padding: 0;
}

.main-menu ul{  
    padding: 0; 
    margin: 0; 
    font-size: 18px; 
    font-weight: 500; 
    border-radius: 0;    
}

.main-menu ul li{ 
    display: inline;  
    margin: 0 5px 0 0;
}

.main-menu ul li:last-child{ 
    margin: 0; 
}

.main-menu > ul li a,
.navbar-light .navbar-nav .nav-link{
    font-family: 'HelveticaNeue','Helvetica Neue',Helvetica,Arial,sans-serif;
    color: #827c78!important; 
    text-decoration: none;
    padding: 7px 15px 10px 40px;
    display: block;
    text-transform: uppercase;
}

.main-menu ul li a.nav-link:first-child{ 
    padding-left: 0 !important;
}

.main-menu ul li ul{
    background-color: #fff;
    width: 100%;
}

.main-menu ul li ul li{
    margin: 0;
}

.main-menu ul li ul li a{
    font-family: 'HelveticaNeue','Helvetica Neue',Helvetica,Arial,sans-serif;
    padding: 0.5rem;
    color: inherit;
    text-transform: unset;
}
.home main .section-title h2{
    font-family: 'riftregular';
    font-size: 1.5rem;
    font-weight: 300!important;
    letter-spacing: 3px;    
    position: relative;
    display: block;
    background: #fff;
    padding: 20px;
    margin: 0 auto; 
    text-align: center;
    border-bottom: 1px solid #aaa;
    text-transform: uppercase;   
}
.main-menu .mega-menu-item h2 {
    font-family: 'riftregular';
    color: #827c78!important; 
    font-size: 19px;
    letter-spacing: 0.1rem;
}

.main-menu .navbar-nav .active>.nav-link{ 
    color: #CA2424; 
}

.main-menu .dropdown-item:focus, 
.main-menu .dropdown-item:hover {
    color: #827c78;
    background-color: #fff;
}

.main-menu .dropdown:hover>.dropdown-menu, 
.main-menu .dropup:hover>.dropdown-menu  {
  display: block;
}

.main-menu .dropdown-item.active, 
.main-menu .dropdown-item:active {
    background-color: #d2335b;
}

.main-menu .navbar-toggler{
    border: none;
    padding-right: 0;    
}

.main-menu .dropdown-toggle::after {
    vertical-align: -0.27em;
}

.veggieburger {
    padding-left: 5px;
    padding-top: 25px;
    width: 32px;
    height: auto;
}

.main-menu-wrapper {
    background-color: #fff;
    transition: 0.5s;
}


/* toggler change nirav */
.dropdown-toggle::after {
    display: inline-block;
    margin-left: initial;
    vertical-align: 10px;
    content: "";
    border-top: initial;
    border-right: initial;
    border-bottom: 0;
    border-left: initial;
}
.dropdown-toggle::after {
    background-image: url('img/down-arrow.png');
    height: 20px;
    width: 23px;
}

.mega-indicator::after {
    content: url('img/arrow-down.png')!important;
    height: 20px;
    width: 20px;
}

.main-menu .navbar-toggler-icon {
    background-image: url('img/hamburger-menu.svg');
}

.main-menu ul li .dropdown-menu .dropdown > a::after{
    display: inline-block;
    margin-left: 0.355em;
    vertical-align: 0.2em;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
    transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
}

.main-menu .dropdown-menu li { 
    display: block;
    margin: 0px;
    padding: 0px;
}

.main-menu .dropdown-menu .dropdown-menu { 
    top: -1px;
    left: 100%;
}

.border-secondary {
    border-color: #aaa!important;
}

.secondary-menu {
    text-align: right;
    background-color: #fff;
    width: 100%;
    display: block;
    color: #aaa;
    padding-right: 10px;
    padding-bottom: 5px;
}

.secondary-menu a {
    color: #9b908a;
    font-size: 0.8rem;
    font-weight: 400;
    padding-right: 10px;
    margin-right: 10px;
    border-right: 1px solid #9b908a
}

.secondary-menu a:hover {
    color: #9b908a;
} 

/* Search Form */

.search-form {
    position: relative;
    display: block;
}
.search-form button{
    position: absolute;
    right: 6px;
    top: 3px;
    background-image: url('img/search.png');
    height: 35px;
    width: 33px;
    background-repeat: no-repeat;
    background-color: transparent;
    border: none;
}

.search-form input[type="search"]{
    background-color: #fff;
    border: 1px solid #aaa!important;
    font-weight: 500;
    font-size: 110%;
    padding: 0.3rem 1rem;
    margin-right: 0.3rem;
}
.search-form input[type="search"]::placeholder {
    color:#aaa;
}

/* sidebar shop */

.sidebar-shop .filter-title h4 {
    font-family: 'riftregular' !important;
    font-size: 1.3rem;
}

/* Cart */
.cart .cart-icon{
    background: url('img/cart.svg');
    background-repeat: no-repeat;
    height: 36px;
    width: 35px;
    display: inline-block;
    vertical-align: bottom;
}

.cart .items{
    background: #74a284;
    font-size: 13px;
    font-weight: 300;
    color: #fff;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-block;
    text-align: center;
    position: absolute;
}

/* buttons */

.btn-secondary, .wp-block-button__link{
    background-color: #f2f2f2;
    font-family: 'riftregular';
    border-radius: 5px;
    color: #827c78!important;
}
.btn-secondary a,.btn-secondary a:hover{
    background-color: #f2f2f2;
    font-size: 20px;
    color: #666;
}

.btn-secondary:hover {
    background-color: #f2f2f2;
    color: #666;
}

/* make horizontal scroll on some items */

.category-scroll-wrapper {
    overflow-x: auto; /* Enables horizontal scrolling */
    white-space: nowrap; /* Prevents items from wrapping */
    padding-bottom: 10px; /* Optional: Adds space below to avoid scrollbar hiding content */
}

.category-scroll-wrapper::-webkit-scrollbar {
    height: 8px; /* Makes scrollbar smaller */
}

.category-scroll-wrapper::-webkit-scrollbar-thumb {
    background: #ccc; /* Scrollbar color */
    border-radius: 4px;
}

.flex-nowrap {
    display: flex;
    flex-wrap: nowrap; /* Prevents items from wrapping */
}

/* butikkmelding */

.butikkmelding h2 {
    margin-top: 29px;
    font-family: 'riftregular';
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 3px;   
}

.butikkmelding .wp-block-columns {
    margin-bottom: 0px;
}

.butikkmelding .countdown-section {
    padding: 10px 7px;
}


.banner-link,
.banner-link:hover,
.banner-link:focus,
.banner-link:active {
    color: inherit !important;
    text-decoration: none !important;
}

/* Front page categories - forside kategorier */

.forsidekategorier h2 {
    font-family: 'riftregular';
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 3px;    
}

.forsidekategorier .kategorier-felt {
    overflow-y: hidden; 
    overflow-x: hidden; 
}

.forsidekategorier article .image-wrapper {
    width: 10vw;
    height: 10vw;
    background-color: #f4f3ec;
}

.forsidekategorier img {
    mix-blend-mode: multiply;
    padding: 20px;
}

.forsidekategorier span {
    position: absolute;
    padding-right: 10px;
    display: block;
    width: 100%;
    bottom: -30px;
    text-align: center;
    font-weight: 300;
}

/* Front page posts - Forsideannonser */

.imgBox { /* now a container for the image */
    display: inline-block; /* shrink wrap to image */
    overflow: hidden; /* hide the excess */
    width: 100%;
}

.imgBox img {
    display: block; /* no whitespace */
    transition: .3s ease-in-out;
}

.imgBox:hover img {
    transform: scale(1.1);
}

.annonser h3{
    font-family: 'HelveticaNeue','Helvetica Neue',Helvetica,Arial,sans-serif;
    font-weight: 600;
    font-size: 1rem;
}

.annonser article {
    color: #333;
    font-weight: 300;
}

.annonser .annonse-link{
    transition: 0.7s;
}

.annonser .annonse-link:hover{
    box-shadow: 4px 4px 5px 0px rgba(0,0,0,0.2);
    -webkit-box-shadow: 4px 4px 5px 0px rgba(0,0,0,0.2);
    -moz-box-shadow: 4px 4px 5px 0px rgba(0,0,0,0.2);
}

.annonse-link {
    position: relative;
    color: #827c78;
}

.annonser a {
    color: inherit;
}

.annonser .annonsetekst:hover{
    color: unset!important;
}


.annonse-link a {
    color: inherit; /* Makes all links inherit the same color */
    text-decoration: none; /* Optional: removes underline */
}

/* Frontend Product Lists */
.home main .section-title{
    position: relative;
    margin-bottom: 20px;
    padding: 70px 0px
}


.home main .section-title h2, .related.products{
    font-family: 'riftregular';
    font-size: 1.5rem;
    font-weight: 300!important;
    letter-spacing: 3px;    
    display: block;
    clear: both;
    background: #fff;
    padding: 20px;
    margin: 0 auto; 
    text-align: center;
    border-bottom: 1px solid #aaa;
}

.home section.lab-blog{
    padding: 40px 0;
}

.home .woocommerce ul.products {
    border-top: none;
}

.home .woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 0.8rem!important;
    text-align: center;
    letter-spacing: 0.06rem;
    font-weight: 500;
    color: #827c78;
    margin: 0;
    padding: 20px 10px 7px 10px;
    padding-top: 20px;
    display: table;    
}

.home .popular-products .woocommerce ul.products li.product .button,
.home .new-arrivals .woocommerce ul.products li.product .button {
    font-family: 'riftregular';
    background-color: #74a284;
    font-weight: unset;
    color: #333;
    width: 100%;
    padding: 13px 10px;
    text-align: center;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.1rem;
    transition: 0.5s;
}

.home .popular-products .woocommerce ul.products li.product .button:hover,
.home .new-arrivals .woocommerce ul.products li.product .button:hover {
    font-family: 'riftregular';
    background-color: #90b69e;
}

.home .woocommerce ul.products li.product .button {
    margin-top: 0;
    display: none;
}

.deal-of-the-week {
    background: #f7f7f7;
    padding: 60px 0;
}

.deal-of-the-week .row{
    padding: 30px 0;
}

.deal-of-the-week .discount{
    background: #ff6891;
    color: #fff;
    padding: 0.5rem;
    display: inline-block;
    margin: 20px 0;  
    position: relative;  
}

.deal-of-the-week .discount:before{
    content: '';
    position: absolute;
    top: 6%;
    left: 0;
    height: 1px;
    width: 100%;
    border: 1px dashed #ffc8d8;    
}

.deal-of-the-week .discount:after{
    content: '';
    position: absolute;
    bottom: 5%;
    left: 0;
    height: 1px;
    width: 100%;
    border: 1px dashed #ffc8d8;    
}

.deal-of-the-week .section-title{
    font-family: 'riftregular';
    margin: 0 !important;
}

.deal-of-the-week h2{
    background: #f8f8f8 !important;   
}

.deal-of-the-week h3{
    margin: 0 0 20px 0;
    padding: 0;    
}

.deal-of-the-week h3 a{
    font-size: 2rem;
    font-weight: 700;
    color: #000;  
    transition: 0.5s;  
}

.deal-of-the-week h3 a:hover{
    color: #777;    
}

.deal-of-the-week p{
    color: #aeaeae;
    font-size: 1.2rem;    
}

.deal-of-the-week .prices .regular{
    font-size: 1.4rem;
    font-weight: 600;
    opacity: 0.4;
    text-decoration: line-through;    
}

.deal-of-the-week .prices .sale{
    font-size: 2rem;
    font-weight: 700;    
}

.deal-of-the-week a.add-to-cart{
    background-color: #D2335B;
    color: #fff;
    text-decoration: none;
    line-height: 1;
    padding: 0.618em 1em;
    font-weight: 700;
    border-radius: 3px;
    display: inline-block; 
    margin-top: 10px;      
}

/* styling main page */

.video-banner-spacer {
    min-height: 90vh;
}

.bilde-banner-tittel {
    font-size: 2rem;
    position: absolute; 
    top: 0px; 
    padding: 60px 20px; 
    z-index: 100; 
    width: 100%; 
    text-align: center; 
    color: #fff; 
    text-shadow: 2px 2px 2px rgba(0,0,0,0.35); 
    background: linear-gradient(0deg, rgba(255,255,255,0) 0%, rgba(0,0,0,0.6446779395351891) 100%);
}

.underbanner {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: left center;
    min-height: 600px;
    padding-top: 50px;
    text-align: center;
}

.underbanner img {
    max-width: 300px;
    height: auto;
    margin-bottom: 20px;
}

.underbanner p {
    max-width: 500px;
    padding: 0px 20px;
    display: block;
    margin: 10px auto;
}

.underbanner .btn {
    margin-top: 20px;
}

/* våre merkevarer */

.merkevare .annonsetekst h3 {

}

/* Footer - Footer Menu */
.footer-widgets{
    padding: 135px 0;
    background: rgb(197, 185, 172);
    color: #fff;    
}

footer a{
	color:#fff;
	text-decoration: underline;
}
footer a:hover{
	color: #fff;
	text-decoration: underline;
}

footer h2 {
    font-family: 'riftregular';
}

.footer-widgets h4{
    font-family: 'riftregular';
    font-size: 1.7rem;
    letter-spacing: 1px;
    font-weight: 200!important;
}

.footer-widgets p{
    margin-bottom: 0.5rem;
}

.footer-widgets strong{
    color: #fff;
}

.footer-widgets ul li a{ 
    color: #fff; 
}

.copyright{
    background-color: rgb(130, 124, 120);
    color: #fff;
    padding: 70px 0;
}

.copyright p{
    margin: 0;
}

.sosial {
    width: 40px;
    opacity: 0.8;
    transition: 0.5s;
}
.sosial:hover {
    opacity: 1;
}

.footer-menu ul, .footer-widgets ul{ 
    list-style: none; 
    padding: 0; 
    margin: 0; 
    font-size: 16px;
}

.footer-menu ul li{ 
    display: inline;  
    margin: 0 10px 0 0;
	text-transform: uppercase;
}

.footer-menu ul li:last-child{ 
    margin: 0; 
}

.footer-menu ul li a{ 
    color: #fff; 
    text-decoration: none;
}

.footer-menu ul li a:hover{ 
     color: rgb(197, 185, 172);
}

.footer-menu ul li.current-menu-item a{ 
    color: rgb(197, 185, 172); 
}

/* gravityforms footer styling */



/* WooCommerce */

.product-leverandor, .product-brand {
    font-size: 0.8em;
    color: #b9b9b9!important;
    font-weight: 500;
    letter-spacing: 0.06rem;
    margin-top: 5px;
    display: block!important;
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
}

.product-single-leverandor {
    display: block!important;
}

.single-product .product_meta {
    margin-bottom: 20px;
}

.woocommerce-Tabs-panel a {
    color: #fff;
    text-decoration: underline;
}

.woocommerce-Tabs-panel b {
    display: block;
}

.woocommerce-message {
    outline: none !important;
    box-shadow: none !important;
}

/* If the outline appears specifically when focused or clicked */
.woocommerce-message:focus,
.woocommerce-message:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

/* Grid System */
.woocommerce .col2-set .col-1,
.woocommerce .col2-set .col-2{
    flex: 0 0 50%;
    max-width: 50%;
}


/* Shop */

.shop-content{
    padding: 3rem 0;
}

.shop-content .row{
    margin-left: 0;
    margin-right: 0;
}

.post-type-archive-product .content-area, 
.product-template-default .content-area,
.tax-product_cat .content-area{
    padding: 0;
}

.woocommerce .woocommerce-breadcrumb a, .woocommerce-result-count {
    font-weight: 400;
}

.woocommerce ul.products.columns-1 li.product:first-child, 
.woocommerce-page ul.products.columns-1 li.product:first-child {
    margin-top: 20px;
}

.woocommerce .products ul, .woocommerce ul.products {
    border-top: none;
}

.woocommerce ul.products li.product a img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 1em 1em 0;
    box-shadow: none;
    float: left;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title{
	font-family: 'HelveticaNeue','Helvetica Neue',Helvetica,Arial,sans-serif;
    margin: 20px auto!important;
    font-size: 0.8rem!important;
    text-align: center;
    letter-spacing: 0.06rem;
    font-weight: 500;
    color: #827c78;
    padding: 20px 10px 7px 10px;
    padding-top: 20px;
    display: table;  
}

.post-type-archive-product .woocommerce-loop-product__title{
    margin-bottom: 0.5rem !important;
}

.woocommerce ul.products li.product .button {
    margin-top: 0;
}

.woocommerce ul.products li.product p{
    color: #827c78;
    text-align: center;
    font-weight: 600;
}

.woocommerce ul.products li.product .price{
    font-family: 'Roboto', sans-serif;
    color: #333;
    font-weight: 100; 
    text-align: center;
    margin-bottom: 30px;   
}

.woocommerce ul.products li.product .price ins {
    /* font-size: 140%;*/
}

.woocommerce ul.products li.product .onsale{
    top: 16px;
    left: 0;
    right: 0;
    transform: rotate(90deg);
    border-radius: 0;   
    width: 83px;
    padding: 0;
    background-color: #D2335B;
    margin: 0;
    font-weight: 400;
}


.woocommerce .onsale-procentage {
	font-family: 'HelveticaNeue','Helvetica Neue',Helvetica,Arial,sans-serif;
	position: absolute;
	color: #fff;
	top: 14px;
    left: 14px;
    right: 0;
    border-radius: 50%;   
    width: 40px;
	height: 40px;
    padding: 0;
    background-color: #D2335B;
    margin: 0;
    font-weight: 500;
	font-size: 13px;
	padding-top: 10px;
	padding-left: 4px;
	z-index: 200;
}


.woocommerce nav.woocommerce-pagination ul li a, 
.woocommerce nav.woocommerce-pagination ul li span{
    color: #000;
}

.woocommerce nav.woocommerce-pagination ul li a, 
.woocommerce nav.woocommerce-pagination ul li span {
    padding: 12px;
}
/* adding a frame around the product by nirav */
.woocommerce ul.products li.product {
    border: 1px solid #ddd;
    box-sizing: border-box;
    padding: 10px;
}
.woocommerce ul.products li.product:hover {
    border: 1px solid #ccc;
    box-sizing: border-box;
    padding: 10px;
}

/* custom made product accordion menu bootstrap 5 */

#productCatAccordion .accordion {
    --bs-accordion-border-color: transparent;
    --bs-accordion-border-width: 0;
}

/* Accordion Item and Header */
#productCatAccordion .accordion-item {
    border: none;
    margin-bottom: 0;
    background-color: transparent;
    box-shadow: none;
}

/* Accordion Button (The Toggle) */
#productCatAccordion .accordion-button {
    background-color: transparent;
    color: #495057;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 0;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e9ecef; /* Subtle separator */
}

#productCatAccordion .accordion-button:not(.collapsed) {
    color: #000;
    background-color: transparent;
    box-shadow: none;
}

#productCatAccordion .accordion-button:hover {
    background-color: transparent;
}

#productCatAccordion .accordion-button:focus {
    box-shadow: none;
}

/* Accordion Body and Links */
#productCatAccordion .accordion-body {
    padding: 0.5rem 0 1rem 1rem; /* Indent for nesting */
}

#productCatAccordion .accordion-body a {
    color: #6c757d;
    font-size: 0.9rem;
    text-decoration: none;
    display: block;
    padding: 0.5rem 0;
}

#productCatAccordion .accordion-body a:hover {
    color: #6c757d;
}

#productCatAccordion .accordion-body a.fw-bold {
    color: #000;
    font-weight: 700 !important;
}

/* Nested Accordions */
#productCatAccordion .accordion-body .accordion {
    border-top: none;
    margin-top: 0;
    padding-top: 0;
}

/* Styling for non-accordion links (items without children) */
#productCatAccordion .d-block {
    padding: 0.1rem 0;
    background-color: transparent;
    margin-bottom: 0;
    border-bottom: 1px solid #e9ecef; /* Subtle separator */
    box-shadow: none;
    color: #495057;
    text-decoration: none;
}

#productCatAccordion .d-block a {
    color: inherit;
    text-decoration: none;
}
/* getting rid of description on archive pages */

body.archive .woocommerce-product-details__short-description, body.archive h2.woocommerce-loop-product__title ~ p { 
    display: none;
}

/* custom badge - by nirav */

.yith-wcbm-badge {
    position: absolute;
    box-sizing: border-box;
    text-align: center;
    z-index: 10;
    font-family: "Open Sans", sans-serif;
    font-size: 13px;
}
.yith-wcbm-badge-187 {
    color: #ffffff;
    background-color: #99b3d0;
    width: unset;
    height: unset;
    padding: 5px 12px;
    line-height: 20px;
    bottom: -30px;
    right: 0;
}

/* wishlist styling - by nirav */
.fa-heart:before, .fa-heart-o:before {
	color: #333;
}

/* Single Product */
.woocommerce div.product .product_title {
    font-family: 'riftregular';
    color: #000;
    letter-spacing: 4px;
    font-size: 1.9rem;
    margin-bottom: 30px;
}
.woocommerce-product-details__short-description p {
    font-size: 1.1rem;
    font-weight: 400;
    padding: 20px 0px;
}

.single .woocommerce-Price-amount {
    font-size: 1.2rem;
    font-weight: 200;
}

.woocommerce #respond input#submit.alt, 
.woocommerce a.button.alt, 
.woocommerce button.button.alt, 
.woocommerce input.button.alt,
.woocommerce ul.products li.product .button {
    font-family: 'riftregular';
    background-color: #74a284;
    font-weight: unset;
    color: #fff;
    width: 100%;
    padding: 13px 10px;
    text-align: center;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.1rem;
    transition: 0.5s;
}
.woocommerce button.button.alt{
    width: 320px;
    display: block;
    clear: both;
    margin-top: 20px;
}

.woocommerce #respond input#submit.alt:hover, 
.woocommerce a.button.alt:hover, 
.woocommerce button.button.alt:hover, 
.woocommerce input.button.alt:hover,
.woocommerce ul.products li.product .button:hover {
    font-family: 'riftregular';
    background-color: #90b69e;
}

.product_meta > span{
    display: block;
}

.woocommerce div.product p.price del, 
.woocommerce div.product span.price del,
.woocommerce ul.products li.product .price del .woocommerce-Price-amount{
    color: #000;
    font-size: 20px;
    font-weight: 500;
}

.woocommerce div.product p.price ins, 
.woocommerce div.product span.price ins, 
.woocommerce-Price-amount {
    font-family: 'Barlow', sans-serif;
    color: #333;
    font-weight: 400;
    text-transform: uppercase;
    font-size: 18px;
    letter-spacing: -0.04rem;
}

.woocommerce span.onsale{
    top: 19px;
    left: 35px;
    transform: rotate(90deg);
    border-radius: 0;   
    width: 84px;
    padding: 0;
    background-color: #D2335B;
    margin: 0;
    font-weight: 400;
}

.woocommerce div.product .woocommerce-tabs ul.tabs{
    padding: 0;

}

.woocommerce div.product .woocommerce-tabs ul.tabs li{
    border-radius: 0;
    margin: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li::after, 
.woocommerce div.product .woocommerce-tabs ul.tabs li::before{
    content: none;
}

.woocommerce #respond input#submit, 
.woocommerce a.button, 
.woocommerce button.button, 
.woocommerce input.button{
    background-color: #8fb69d;
    color: #fff;
}

.woocommerce #respond input#submit:hover, 
.woocommerce a.button:hover, 
.woocommerce button.button:hover, 
.woocommerce input.button:hover{
    background-color: #72a283;
    color: #fff;
}

/* Styling single product tabs */
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after,
.woocommerce div.product .woocommerce-tabs ul.tabs::before {
    display:none;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li{
    border-radius:0;
    padding: 0px;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover {
    background-color: #8fb69d;
    color: #fff!important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a:hover{
    background: #827c78;
    color:#fff;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li{
    background:transparent;
    border:0;
    float: left;
    text-align: center;

}
.woocommerce div.product .woocommerce-tabs ul.tabs li a{
    font-family: 'riftregular';
    font-weight: 200;
    font-size: 20px!important;
    display: inline-block;
    padding: 10px 100px;

}
.woocommerce div.product .woocommerce-tabs ul.tabs {
    padding:0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs
{
    border-bottom:0px solid #999
}
.woocommerce div.product .woocommerce-tabs .panel {
    background-color: #827c78;
    color: #fff;
    margin-top: -26px;
    padding: 30px;
}
.woocommerce div.product .woocommerce-tabs .panel h2 {
    font-size: 1.5rem;
}

/* messages */
.woocommerce-error, .woocommerce-info, .woocommerce-message {
    border: none;
    border: 1px solid #eee;
    background-color: #fff;
}
.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button {
    font-family: 'riftregular';
    font-weight: 200;
    letter-spacing: 2px;
}
.woocommerce-message::before {
    color: #74a284;
}



/* Cart */

.woocommerce-cart table.cart td.actions .coupon .input-text{
    width: 150px;
}
.woocommerce-cart table.cart img {
    width: 150px;
}
.woocommerce a.remove{
    background-color: #fff;
    color: #da7575!important;
}
.woocommerce a.remove:hover {
    background-color: #fff;
    color: red!important;
}
.woocommerce .cart_totals h2 {
    font-family: 'riftregular';
}
.woocommerce .woocommerce-cart-form__cart-item .product-name a {
    font-size: 17px!important;
    font-weight: 500;
    color: #827c78;
}
.woocommerce .woocommerce-cart-form__cart-item .product-name a:hover{
    text-decoration: underline;
}

/* Checkout */
.woocommerce form .form-row {
    display: block;
}
.woocommerce-checkout #customer_details{
    margin-bottom: 20px;
}
.woocommerce table.shop_table{
    border-collapse: collapse;
}
.woocommerce table.shop_table thead{
    font-family: 'riftregular';
    letter-spacing: 2px;
    background-color: #fff;
    color: inherit;
}


/* My Account */
.woocommerce-MyAccount-navigation a{
    color: #000000;    
}

.woocommerce-MyAccount-navigation .is-active{
    font-weight: 700;
    background-color: #000000;   
}

.woocommerce-MyAccount-navigation .is-active a{
    color: #fff;    
}

.woocommerce-MyAccount-navigation ul{
    list-style: none;
    padding: 0;
    border: 1px solid #f3f3f3;
}

.woocommerce-MyAccount-navigation ul li{
    border-bottom: 1px solid #f3f3f3;
    padding: 0.3rem 0.7rem;
}

.woocommerce-MyAccount-navigation ul li:last-child{
    border-bottom: 0;
}

.woocommerce table.my_account_orders {
    font-size: inherit;
}

/* Store Notice */
.woocommerce-store-notice, p.demo_store {
    background-color: #750000;
}


/* Blog and Archive Pages */
.blog article, 
.archive article{
    margin-bottom: 3rem;        
}

.blog article .title, 
.archive article .title{
    font-weight: 600;        
}

.blog article .meta, 
.archive article .meta{
    font-weight: 700;
    margin: 1rem 0;    
}

.archive-title{
    font-size: 2rem;
    font-weight: 700;
    border-bottom: 1px solid #efefef;
    padding: 0 0 0.7rem 0;
    margin-bottom: 1rem;
}

.archive-title span{
    color: #b58e8e;
    font-weight: normal;
}

.blog .post-thumbnail,
.archive .post-thumbnail{
    margin: 1rem 0;
}

.nav-links{
    font-weight: 700;
}

.nav-links span,
.nav-links a{
    padding: 0.4rem;
}


/* Single */
.single header h1{
    font-weight: 700;
}

.single .post-thumbnail{
    margin: 1rem 0;
}

.comments-area{
    border-top: 1px solid #eee;
    padding: 1rem 0 2rem;
    margin-top: 2rem;    
}

.comment-form label{
    display: block;
}

.comment-form input[type="submit"]{
    background-color: #D2335B;
    color: #fff;
    border-radius: 5px;
    text-transform: uppercase;
    padding: 0.8em;
    display: inline-block;   
}


/* Search */
.search .content-area .search-form{
    margin: 0 0 1rem;
}


/* Comments */

#comments ol,
#comments ul{
    list-style: none;
    padding: 0;
}

#comments .depth-1{
    padding: 2rem 0;
}

#comments .nav-links a{
    padding: 0;
}

#comments .bypostauthor{
    background-color: #bf95941a;
}

.entry-pings,
.entry-comments {
    color: #444;
    padding: 20px 45px 40px 45px;
    border: 1px solid #ccc;
    overflow: hidden;
    background: #fff;
    -webkit-box-shadow: 0px 0px 8px rgba(0,0,0,0.3);
    -moz-box-shadow: 0px 0px 8px rgba(0,0,0,0.3);
    box-shadow: 0px 0px 8px rgba(0,0,0,0.3);
    border-left: 4px solid #444;
}

.entry-comments h3{
    font-size: 30px;
    margin-bottom: 30px;
}

.comment-respond h3,
.entry-pings h3{
    font-size: 20px;
    margin-bottom: 30px;
}

.comment-respond {
    margin: 1.5rem 0;
}

.comment-header {
    color: #adaeb3;
    font-size: 14px;
    margin-bottom: 20px;
}

.comment-header cite a {
    border: none;
    font-style: normal;
    font-size: 16px;
    font-weight: bold;
}

.comment-header .comment-meta a {
    border: none;
    color: #adaeb3;
}

li.comment {
    background-color: #fff;
    border-right: none;
}

.comment-content {
    clear: both;
    overflow: hidden;
}

.comment-list li {
    font-size: 14px;
    padding: 20px 30px 20px 25px;
}

.comment-list .children {
    margin-top: 40px;
    border: 1px solid #cccccc40;
    margin-left: 1rem;
}

.comment-list li li {
    background-color: #f5f5f6;
}

.comment-list li li li {
    background-color: #fff;
}

.comment-respond input[type="email"],
.comment-respond input[type="text"],
.comment-respond input[type="url"] {
    width: 50%;
}

.comment-respond label {
    display: block;
    margin-right: 12px;
}

.entry-comments .comment-author {
    margin-bottom: 0;
    position: relative;
}

.entry-comments .comment-author img {
    border-radius: 50%;
    border: 5px solid #fff;
    left: -80px;
    top: -5px;
    position: absolute;
    width: 60px;
}

.entry-pings .reply {
    display: none;
}

.bypostauthor {
}

.form-allowed-tags {
    background-color: #f5f5f5;
    font-size: 16px;
    padding: 24px;
}

.comment-reply-link{
    cursor: pointer;
    background-color: #444;
    border: none;
    border-radius: 3px;
    color: #fff;
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 1px;
    padding: 4px 10px 4px;
    text-transform: uppercase;
    width: auto;
}

.comment-reply-link:hover{
    color: #fff;
}

.comment-notes{
    display:none;   
}


/* WooCommerce Widgets */
.woocommerce .shop-content .widget-wrapper{
    margin: 0 0 2rem;
    border-bottom: 1px solid #eee;
    padding: 0 1em 2em 0;    
}

.woocommerce .shop-content .widget-wrapper h4{
    padding: 0 0 0.7rem 0;
        font-family: 'riftregular';
    letter-spacing: 2px;
}

.woocommerce .shop-content .widget-wrapper > ul{
    list-style: none;
    padding: 0;
    margin: 0;
}

.woocommerce .shop-content .widget-wrapper > ul li ul{
    list-style: none;
}

.woocommerce .shop-content .widget-wrapper ul li span,
.woocommerce .shop-content .widget-wrapper ul li ul li span{
    float: right;
}

.woocommerce .shop-content .widget-wrapper > ul a{
    color: inherit;
    font-size: 1rem;
    font-weight: 400;
    line-height: 2rem;
}

.woocommerce .shop-content .widget-wrapper > ul a:hover{
    text-decoration: underline;
}

.woocommerce .shop-content .widget-wrapper > ul li.current-cat a{
    font-weight: 600!important;
}

/* styling product filter */
.woocommerce .widget_price_filter .ui-slider .ui-slider-handle {
    background-color:  #333;
    width: 10px;
    height: 10px;
    top: -4px;
}
.woocommerce .widget_price_filter .ui-slider .ui-slider-range {
    background-color: #333;
}
.woocommerce .widget_price_filter .price_slider_wrapper .ui-widget-content {
    background-color: #eee;
}
.woocommerce .widget_price_filter .ui-slider-horizontal {
    height: 3px;
}

/* General */

embed, iframe, object {
    max-width: 100%;
}

button, input, optgroup, select, textarea {
    background-color: #fff;
    padding: 5px 15px;
    border: 1px solid #e2e2e2;  
    max-width: 100%;  
}

a{
    color: #6d9f7f;
    text-decoration: none;
    transition: 0.4s;
}

a:hover {
    color: #8fb69d;
    text-decoration: underline;
}

p, ul li a, .nav-links a, .nav-links span{
    font-size: 0.9rem;
    letter-spacing: 0.04rem;
}

b, strong {
    font-weight: 600;
}

h1 {
    font-family: 'riftregular';
}

.has-large-font-size{
    font-family: 'riftregular';
}

.has-x-large-font-size {
    font-family: 'riftregular';
    font-size: 2.7rem!important;
    line-height: 3rem;
    letter-spacing: 0.5rem    ;
}

.size-auto, 
.size-full,
.size-large,
.size-medium,
.size-thumbnail {
    max-width: 100%;
    height: auto;
}

.wp-block-separator {
    border: 1px solid #eee;
}

/**Mega Menu by nirav **/
.navbar .container {
    position: relative;
}
.navbar-nav, .navbar .collapse, .navbar-nav li {
  position: static;
}
.menu-item-has-children, .menu-item-has-children .dropdown-menu {
  left: auto;
}
.menu-item-has-children .dropdown-menu {
  width: auto !important;
}
.mega-menu-wrapper ul.sub-menu {
    margin-left: 21px;
} 
.mega-menu-wrapper ul.sub-menu li.menu-item a{
    font-size: 14px;
}
#menu-handholdt-menu .dropdown-toggle {
    display: none!important;
}

/*styling gallery wp block */

.blocks-gallery-grid .blocks-gallery-image, .blocks-gallery-grid .blocks-gallery-item, .wp-block-gallery .blocks-gallery-image, .wp-block-gallery .blocks-gallery-item {
  flex-grow: inherit;
}


/* trying the modal menu for mobile instead of collapse */
.modal .modal-dialog-aside{
    width: 100%;
    max-width:100%; height: 100%; margin:0;
    transform: translate(0); transition: transform .2s;
}
.modal .modal-dialog-aside .modal-content{  height: inherit; border:0; border-radius: 0;}
.modal .modal-dialog-aside .modal-content .modal-body{ overflow-y: auto }
.modal.fixed-left .modal-dialog-aside{ margin-left:auto;  transform: translateX(100%); }
.modal.fixed-right .modal-dialog-aside{ margin-right:auto; transform: translateX(-100%); }

.modal.show .modal-dialog-aside{ transform: translateX(0);  }

#profile li {
    list-style: none;
}

#profile li a{
        color: #827c78;
}

#profile li a:hover{
        color: #333;
}

/* Ensure Bootstrap modal stays above fixed header/menu */
.modal-dialog{
  z-index: 1065 !important;
}

.modal-backdrop.show{
  display: none!important;
}

/* Media Queries */

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    /* max mega menu styling */
    #mega-menu-wrap-fancy_lab_main_menu #mega-menu-fancy_lab_main_menu li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-row {
        width: 1200px;
    }
    .container {
        max-width: 1500px;
    }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 1200px) {
    #mega-menu-wrap-fancy_lab_main_menu #mega-menu-fancy_lab_main_menu > li.mega-menu-item > a.mega-menu-link {
        padding: 0px 10px 0px 10px!important;
        font-size: 16px!important;
    }
     header img.brand{
     margin-left: 5px;
    }

    .video-banner-spacer {
        min-height: 60vh;
    }
    .hopeful_logo {
        width: 60px; 
        height: auto; 
        margin-top: -15px;
    }

    .underbanner {
        background-repeat: no-repeat;
        background-size: cover;
        background-position: left -150px center;
        min-height: 400px;
        padding-top: 50px;
        text-align: center;
    }


}


@media all and (max-width: 768px){
    .woocommerce ul.products[class*="columns-"] li.product, 
    .woocommerce-page ul.products[class*="columns-"] li.product {
        width: 100%;
    }

    .slides li{
        background-color: rgb(190, 178, 168);
        position: relative;
    }
    .slide-image {
        width: 100%;
    }

    .slide-content {
        font-weight: 700;
        width: 100%;
        display: block;
        clear: both;
        text-align: center;
        text-shadow: 1px 1px 2px rgba(45, 45, 45, 1);
    }
}

@media all and (max-width: 950px) {

    .forsidekategorier .kategorier-felt {
        overflow-y: hidden; 
        overflow-x: auto; 
    }

    .forsidekategorier article .image-wrapper {
        width: 150px;
        height: 150px;
    }

    .forsidekategorier span {
    }

}

@media all and (max-width: 767px) {

    .woocommerce .col2-set .col-1,
    .woocommerce .col2-set .col-2{
        flex: 0 0 100%;
        max-width: 100%;
    }

    .footer-widgets .col-12{
        margin-bottom: 25px;
    } 

    .footer-widgets .col-12:last-child{
        margin-bottom: 0;
    } 

    .copyright-text{
        margin-bottom: 10px;
    }        

    .brand{
        margin-bottom: 15px;
    }

    .main-menu{
        border-top: 2px solid #f2f2f2;
        padding: 10px; 
        margin-top: 10px;       
    }

    .main-menu ul li{   
        margin: 0;
    } 

    .main-menu .dropdown-menu{
        display: block;
        margin-left: 1rem;
    }

    .main-menu ul li .dropdown-menu .dropdown > a::before{
        display: inline-block;
        margin-right: .255em;
        vertical-align: .255em;
        content: "";
        border-top: .3em solid;
        border-right: .3em solid transparent;
        border-bottom: 0;
        border-left: .3em solid transparent;
        transform: rotate(-90deg);
        -webkit-transform: rotate(-90deg);
        -moz-transform: rotate(-90deg);
        -ms-transform: rotate(-90deg);
        -o-transform: rotate(-90deg);
    }

    .main-menu ul li .dropdown-menu .dropdown > a::after{
        display: none;
    }

    .main-menu .dropdown-menu .dropdown-menu{
        margin-left: 0;
    }

    .main-menu .dropdown-menu .dropdown-menu a{
        padding-left: 1rem;
    }

    .main-menu ul li a,
    .navbar-light .navbar-nav .nav-link{ 
        padding: 10px 0;
    }

    .search input[type="search"]{
        width: 75px;
    }     

    .search-form input[type="search"]{
        width: 45%;
    }
    .content-area {
        padding-top: 0px;
    }

    .slider-details-container{
        margin: 0 25px; 
        max-width: 400px;       
    }

    .slide-content h1 {
        font-size: 2.5em;
        font-weight: 600;
    }

    .slider-details-container .subtitle {
        font-size: 1em;
    }

    .slider-details-container a {
        padding: 0.5em;
    }
    .megarad {
        width: 100%!important;
    }

    h1.rmshop {
        font-family: 'HelveticaNeue','Helvetica Neue',Helvetica,Arial,sans-serif;
        font-size: 1rem;
        letter-spacing: 1px;
        font-weight: 300!important;
        color: #333;
        display: block;
        position: absolute;
        top: -40px;
        left: 10px;
    }

    .video-banner-spacer {
        min-height: 400px
    }

    .sticky-bar {
        position: fixed;
        top: 0px;
        width: 100%;
        transition: 0.5s;
        z-index: 1050;
    }

    .content-area-sticky {
        margin-top: 92px;
    }
}

@media all and (max-width: 575px)  {

    .second-column {
        padding-top: 34px;
    }

    .bilde-banner-tittel {
        font-size: 1.5rem;
        position: absolute;
        padding: 30px 10px; 
        top: 0px; 
        background: linear-gradient(0deg, rgba(255,255,255,0) 0%, rgba(0,0,0,0.3) 100%);
    }
    .slider-details-container{
        font-family: 'riftregular';
        max-width: 300px;        
    }

    .slider-details-container a {
        padding: 0.7em;
        font-size: 1em;
    }

    .flexslider img{
        height: 500px !important;
        object-fit: cover;
        object-position: center;
    }

    .underbanner {
        background-repeat: no-repeat;
        background-size: cover;
        background-position: left -150px center;
        min-height: 400px;
        padding-top: 50px;
        text-align: center;
    }

}

@media all and (max-width: 500px){
    .woocommerce ul.products li.product a img {
        width: 100%;
    }
}