/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Jejjcop Web Solutions AB
 Author URI:   https://www.jejjcop.se
 Template:     generatepress
 Version:      0.1
*/

/* Size on logo sticky */

.sticky-enabled .main-navigation.is_stuck .navigation-branding img {
    height: 120px;
}

.main-navigation {
    position: relative;
}

/* Background Video */

.background-video {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 0.8;
}

.background-video-content {
    position: relative;
    z-index: 1;
}

video[poster] {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

/* Menu shadow */
:not(.header-wrap)>.site-header,
#mobile-header.is_stuck,
#sticky-navigation {
    box-shadow: 0px 1px 3px 2px rgba(0, 0, 0, 0.43);
}

/* Hide overflow */
html, body {
    overflow-x: hidden;
}

/* Animated underline */
.underline mark {
    background-repeat: no-repeat;
    background-image: linear-gradient(180deg, #EBBF52 0%, #EBBF52 100%);
    background-size: 0% 18%;
    background-position: 0 89%;
    transition: background-size .8s ease-in-out;
    margin: 0 -3px;
    padding: 0 3px;
    font-style: normal;
    will-change: background-size;
}

.underline:is(.animate-underline) mark {
    background-size: 100% 18% !important;
    transition-delay: .4s !important;
}

/*--- Desktop only CSS ---*/
@media(min-width: 769px) {

	/* Grid same height */

.gb-grid-wrapper.my-grid .gb-grid-column > .gb-container > .gb-inside-container, .gb-grid-column > .gb-container > .gb-inside-container > .gb-container{
    height:100%;
}
	
	/* Site logo padding */
.site-logo {
    padding: 0px 0 0 0;
	}
    
    /* Logo in the middle */
    .inside-header>.site-branding,
    .inside-header>.navigation-branding,
    .inside-header>.site-logo,
    .site-branding-container,
    #site-navigation .navigation-branding .site-logo,
    #sticky-navigation .navigation-branding {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        z-index: 1000;
    }

    #site-navigation {
        /*margin-left: 50px !important;*/
        display: flex;
    }

    .site-header .main-navigation:not(#sticky-navigation) .inside-navigation {
        margin: unset;
    }

    #site-navigation,
    #primary-menu,
    .main-navigation .inside-navigation {
        flex: 1;
    }

    /* Change nth-child(#) to first item to right */
    .main-navigation ul li:nth-child(4) {
        margin-left: auto;
    }
}

/* --- Mobile only CSS -- */
@media (max-width: 768px) {
    
    .main-navigation .main-nav {
        max-height: 0;
        overflow: hidden;
        transition: max-height 500ms ease-out;

    }

    .main-navigation.toggled .main-nav {
        max-height: 1000px;
        transition: max-height 500ms ease-in;
    }

    .main-navigation .main-nav>ul {
        display: block !important;
    }

    .has-inline-mobile-toggle #site-navigation.toggled {
        margin-top: 0;
    }

    .main-navigation .menu-item-has-children .dropdown-menu-toggle {
        float: right;
    }

    .main-navigation .main-nav {
        flex-basis: 100%;
        order: 3;
    }
}


.white-text .label
{
	color:#fff !important;
}




/* Customize the checkout page (below) */
.page-id-2033
{
	background-color:#fff;
	color:#000;
}
.page-id-2033 .gb-container-27a085cd
{
	background-color:#fff;
}
.page-id-2033 .site.grid-container
{
	background-color:#fff;
}
.page-id-2033 h1.gb-headline
{
	color:#000;
}
.page-id-2033 .woocommerce-order-overview
{
	display:table;
	margin-left:auto !important;
	margin-right:auto !important;
}
.page-id-2033 .woocommerce-notice
{
	text-align:center;
}


/* Customize the product page (below) */
.woocommerce ul.products li.product .price, .woocommerce div.product p.price
{
	color:#fff !important;
}


.berocket_cart_notice {
display: block!important;
}


#mobile-header .menu-bar-item.wc-menu-item
{
	margin-right:30px;
}

#volymrabatt-table table
{
	border:0px !important;
}
#volymrabatt-table td
{
	border:0px !important;
}
@media(min-width: 769px) 
{
	#volymrabatt-table
	{
		float:left;
		width:50%;
	}
}


#trp_ald_popup_text
{
	color:#000 !important;
}

.volymrabatt-title-cart-page
{
	vertical-align:bottom;
	text-align:left;
}
.reco-badge-cart-page
{
	text-align:left;
}
.reco-badge-cart-page img
{
	margin-left:-25px;
}

@media(min-width: 769px) 
{
	.single-product #volymrabatt-table
	{
		width:100%;
	}
}

