/*
Theme Name: Espak tellimiskeskkond
Description: Espak e-poe kujundus
Author: Starkup.ee
Template: flatsome
Version: 3.0
*/


/* Fonts */
@font-face {
    font-family: 'DIN';
    src: url('/wp-content/themes/espak-tellimiskeskkond/assets/fonts/DINLight.eot') format('embedded-opentype');
    src: url('/wp-content/themes/espak-tellimiskeskkond/assets/fonts/DINLight.eot?#iefix') format('embedded-opentype'),
        url('/wp-content/themes/espak-tellimiskeskkond/assets/fonts/DINLight.woff2') format('woff2'),
        url('/wp-content/themes/espak-tellimiskeskkond/assets/fonts/DINLight.woff') format('woff'),
        url('/wp-content/themes/espak-tellimiskeskkond/assets/fonts/DINLight.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/*
@font-face {
    font-family: 'DIN';
    src: url('/wp-content/themes/espak-tellimiskeskkond/assets/fonts/DINBold.eot') format('embedded-opentype');
    src: url('/wp-content/themes/espak-tellimiskeskkond/assets/fonts/DINBold.eot?#iefix') format('embedded-opentype'),
        url('/wp-content/themes/espak-tellimiskeskkond/assets/fonts/DINBold.woff2') format('woff2'),
        url('/wp-content/themes/espak-tellimiskeskkond/assets/fonts/DINBold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}
*/
@font-face {
    font-family: 'DIN';
    src: url('/wp-content/themes/espak-tellimiskeskkond/assets/fonts/DINBold2.eot') format('embedded-opentype');
    src: url('/wp-content/themes/espak-tellimiskeskkond/assets/fonts/DINBold2.eot?#iefix') format('embedded-opentype'),
        url('/wp-content/themes/espak-tellimiskeskkond/assets/fonts/DINBold2.woff') format('woff'),
        url('/wp-content/themes/espak-tellimiskeskkond/assets/fonts/DINBold2.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DIN';
    src: url('/wp-content/themes/espak-tellimiskeskkond/assets/fonts/DINMedium.eot') format('embedded-opentype');
    src: url('/wp-content/themes/espak-tellimiskeskkond/assets/fonts/DINMedium.eot?#iefix') format('embedded-opentype'),
        url('/wp-content/themes/espak-tellimiskeskkond/assets/fonts/DINMedium.woff2') format('woff2'),
        url('/wp-content/themes/espak-tellimiskeskkond/assets/fonts/DINMedium.woff') format('woff'),
        url('/wp-content/themes/espak-tellimiskeskkond/assets/fonts/DINMedium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DIN';
    src: url('/wp-content/themes/espak-tellimiskeskkond/assets/fonts/DINBlack.eot') format('embedded-opentype');
    src: url('/wp-content/themes/espak-tellimiskeskkond/assets/fonts/DINBlack.eot?#iefix') format('embedded-opentype'),
        url('/wp-content/themes/espak-tellimiskeskkond/assets/fonts/DINBlack.woff2') format('woff2'),
        url('/wp-content/themes/espak-tellimiskeskkond/assets/fonts/DINBlack.woff') format('woff'),
        url('/wp-content/themes/espak-tellimiskeskkond/assets/fonts/DINBlack.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DIN';
    src: url('/wp-content/themes/espak-tellimiskeskkond/assets/fonts/DIN.eot') format('embedded-opentype');
    src: url('/wp-content/themes/espak-tellimiskeskkond/assets/fonts/DIN.eot?#iefix') format('embedded-opentype'),
        url('/wp-content/themes/espak-tellimiskeskkond/assets/fonts/DIN.woff2') format('woff2'),
        url('/wp-content/themes/espak-tellimiskeskkond/assets/fonts/DIN.woff') format('woff'),
        url('/wp-content/themes/espak-tellimiskeskkond/assets/fonts/DIN.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

h1, h2, h3, h4, h5, h6, .nav > li > a {
	font-family: 'DIN', sans-serif !important;
	font-weight: 600 !important;
}

input {font-weight: 600;}

.page-id-44006 #header #menu-item-881 .nav-dropdown, .page-id-44006 #header #menu-item-881.has-dropdown:after, .page-id-44006 .starkup-overlay {display: none !important;}

.woocommerce-additional-fields, .payment_method_banklinkmaksekeskusother, .payment_method_banklinkmaksekeskuspaylater {display: none;}

#header #wide-nav {
    background-color: orange;
}
.nav-dropdown {
    padding: 0;
    border: none !important;
    box-shadow: none !important; 
    min-width: 445px;
}

.starkup-menu .nav-dropdown {margin-left: 15px !important;}

.starkup-submenu {
	list-style: none;
	margin-bottom: 0 !important;
}

.starkup-submenu-icon {
	position: absolute;
    right: 22px;
}

.starkup-submenu ul {
    margin: 0;
    list-style: none;
}

.starkup-submenu>li {
	margin: 4px 0 !important;
	background-color: rgb(247,247,247);
	background: linear-gradient(90deg, rgba(247,247,247,1) 0%, rgba(255,255,255,1) 65%, rgba(216,216,224,1) 100%);
	transition: background 0.5s ease;
	padding: 9.5px 0;
	/* height: 55px; */
    padding-left: 20px;
}
.starkup-submenu>li:first-of-type {margin-top: 0 !important;}
.starkup-submenu>li:last-of-type {margin-bottom: 0 !important;}

/*
.starkup-submenu>li:nth-child(2) .starkup-submenu-lvl2 .img img {
	height: 230px;
    width: auto;
}
*/

.starkup-submenu>li:hover {
	background: rgb(247,247,247);
	background: linear-gradient(90deg, rgba(247,247,247,1) 0%, rgba(247,247,247,1) 65%, rgba(247,247,247,1) 100%);	
}

.starkup-submenu>li>a {
    font-family: 'din' !important;
	font-weight: 600 !important;    
    font-size: 1.4em;
    /* padding-left: 20px; */
    margin-right: 45px;
}

.starkup-submenu .starkup-submenu-lvl2 {
	position: absolute;
	left: -3000px;
	top: 0;
	height: 100%;
	background-color: rgb(247,247,247);
	background: linear-gradient(90deg, rgba(247,247,247,1) 0%, rgba(255,255,255,1) 65%, rgba(216,216,224,1) 100%);
	z-index: 999;
    width: 58.5vw;
}

.starkup-submenu .starkup-submenu-lvl2>.col {height: 100%;} 

@media screen and (min-width: 1400px) {
	.starkup-submenu .starkup-submenu-lvl2 {
		max-width: 915px !important;
	}
	.page-id-44006 .starkup-submenu .starkup-submenu-lvl2 {
		max-width: 800px !important;
	}
}

@media screen and (min-width: 950px) and (max-width: 1070px) {
	.starkup-submenu>li>a {
	    font-size: 1.2em;
	}
}
@media screen and (min-width: 850px) and (max-width: 949px) {
	.starkup-submenu>li>a {
	    font-size: 1em;
	}
}


.starkup-submenu>li>.row>.col>.col-inner {
	padding: 12px 30px 0;
}

.starkup-submenu-lvl2 {border-left: 4px solid #fff;}

.starkup-submenu-lvl2 h3 {
	font-size: 1.4em;
    padding-bottom: 20px;
}

.starkup-submenu-lvl2 li {margin-left: 0 !important;}
.starkup-submenu-lvl2 li a {
	font-size: 1.3em;
    color: #01285f;
    padding-left: 0;
}

@media screen and (min-width: 850px) and (max-width: 1070px) {
	.starkup-submenu-lvl2 li a {
	    font-size: 1em;
	}
}

.starkup-submenu-lvl2 li a:hover {color: #ff9b00;}

/* Algolia search for mobile screen */
@media screen and (max-width: 850px) {
    #masthead {
        height: 156px;
    }
    .header-inner.flex-row.container {
        height: 95px;
    }
    .flex-col.hide-for-medium.flex-left.flex-grow {
        display: block !important;
        position: absolute;
        width: 100%;
        top: 100px;
    }
    .header-main li.html.custom.html_topbar_right {
        display: block !important;
    }
    .aa-DetachedSearchButtonIcon {
        width: 10px;
    } 
    .aa-DetachedSearchButtonIcon>.aa-SubmitIcon {
        left: 94%;
        top: 50%;
    }
}

/* Hide submenu for mobile to speed up site */
@media screen and (max-width: 850px) {
	.menu-item .sub-menu {display: none;}
}

/* Mobile menu adjust */
.mobile-sidebar-levels-2 .nav-slide>li>ul.children>li:not(.nav-slide-header)>a, .mobile-sidebar-levels-2 .nav-slide>li>.sub-menu>li:not(.nav-slide-header)>a {
    font-size: .7em;
}

/* Home menu padding */
.home-menu .ux-menu-callout>.col>.col-inner {padding-left: 0 !important;}

/* Terms numbering */
ol {
  counter-reset: item
}
ol li {
  display: block
}
ol li:before {
  content: counters(item, ".") ". ";
  counter-increment: item
}

/* E-store addons */
#billing_address_1_field {width: 100%;}

#eabi_postoffice_pickup_location {width: 100% !important;}

.widget_shopping_cart {padding-top: 15px !important;}

/* Hide address in cart */
.woocommerce-shipping-destination {
	display: none;
}

/* Product listing set active category first */
.widget_product_categories ul.product-categories {
	display: flex;
    flex-flow: row wrap;
}

.widget_product_categories ul.product-categories li {
	flex-basis: 100%;
}

/*
.widget_product_categories ul.product-categories li.active {
	order: -1;
}
*/

/* Overlay for menu */
.starkup-overlay {
	position: absolute;
    top: 220px;
    left: 1000px;
    width: 100vw;
    height: 100%;
    background-color: #fff;
    filter:alpha(opacity=0);
    -moz-opacity:0;
    -khtml-opacity: 0;
    opacity: 0;
    z-index: 29;
    transition: opacity 200ms ease-in-out;
    display: none;
}


/* LHV payment logo size in checkout */
.payment_method_lhv_hire_purchase img {max-width: 90px;}

@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}

#masthead.nav-dark .form-flat input:not([type="submit"]) {
    background-color: rgba(255,255,255,0.8) !important;
    color: #01285f !important;
}

/* .single_add_to_cart_button, .add-to-cart-button {display: none !important;} */

@media only screen and (max-width: 850px) {
	/* Price box for mobile */
	.archive .price-wrapper {
		position: absolute;
	    bottom: 0;
	    right: 0;
	    padding-bottom: 0 !important;
	}
	
	/* Store only products button fix */
	.product-small .add-to-cart-button {
		max-width: 65%;
	}
}

.header:not(.transparent) .header-nav.nav > li > a {
    color: #011b46;
}

/* Hide stock */
.product-info p.stock {display: none;}


/* Cart icon auto width */
.cart-icon strong {
    width: auto;
    padding: 0 8px;
}
/* Input field larger for decimals */
.quantity input[type="number"] {
    max-width: 4.5em !important;
    width: 4.5em !important;
}


/* Footer bg color */
#footer {    background-color: rgb(73, 73, 73);}

/* Hide uncategorized category */
.cat-item-3648 {display: none !important;}

/* Adjust related products title */
h3.product-section-title {
	margin-left: 0;
	margin-right: 0;
}


/* Price wrapper in flex */
.flex-price-wrapper {
    display: flex;
    width: 280px;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;
    font-family: 'din', "Open Sans", sans-serif;    
    padding-bottom: 30px;
}
.flex-price-wrapper>div {
    border: 3px solid #000;
	display: flex;
	align-items: center;
	justify-content: center;    
}
.flex-price-wrapper>.no-bottom-border {
    border-bottom: none;
}
.flex-price-wrapper>.no-right-border {
    border-right: none;
}
.flex-price-wrapper>.col1 {
    width: 200px;
	height: 55px;
}
.flex-price-wrapper>.col2 {
    width: 80px;
	height: 55px;
}
.flex-price-wrapper>.reg-price {	
    font-size: 2.5em;
    font-weight: 700;
    padding-bottom: 2px; 
}
.flex-price-wrapper>.unit {
	font-weight: 600;
}
.flex-price-wrapper>.sale-price {
    font-size: 48px;
    font-weight: 700;
    background-color: #e2001a;
    color: #fff;
    padding-bottom: 2px;
    border-top: none; 
}
.flex-price-wrapper>.sale-price.is_collrate, .flex-price-wrapper>.reg-price.is_unit {
	width: 200px;
}
.flex-price-wrapper>.sale-price:not(.is_collrate), .flex-price-wrapper>.reg-price:not(.is_unit) {
	width: 100%;
	border-right: 3px solid #000;
    border-top: none;
}
.flex-price-wrapper>.addition {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	font-weight: 700;
    border-top: none;
}
.flex-price-wrapper>.loyal-cust {
	font-weight: 600;
	height: 35px;
    border-top: none;
}
.flex-price-wrapper>.discount-percent {
    font-weight: 700;
    background-color: #e2001a;
    color: #fff;
    font-size: 20px;
	height: 35px;
    border-top: none;
}
.flex-price-wrapper>.break-col {
	flex-basis: 100%;
    width: 0;
    border-top: none;
}


/* Stock status */
p.listing-stock {
	margin-top: 15px;
}
p.listing-stock-in {
	font-weight: 700;
	color: #2eae2e;
}
p.listing-stock-in.onbackorder {
    color: #ee8400;
}

/* Single product stock */
p.single-stock {
	font-weight: 700;
	color: #ee8400;
}


/* Woocommerce pagination */
.woocommerce-pagination ul.links li.current a {
    background-color: var(--fs-color-primary);
    border-color: var(--fs-color-primary);
    color: #fff;
}


/* "LEIUNURK" category color */
#shop-sidebar .widget_product_categories > ul.product-categories .cat-item-4289 a {
    color: #e2001a;
    font-weight: 600;
}

/* Hide coupon label before it is edited via js */
.coupon-custom > th {
    opacity: 0;
}
.coupon-custom > th.opacity-1 {
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

.hidden {
    display: none !important;
}


.header:not(.transparent) .header-nav.nav > li > a {
    color: #fff !important;
}


/* Accessibility */
.wpa-visible-ltr#skiplinks a:last-of-type {
    position: relative;
    width: fit-content;
}
.fontsize .flex-price-wrapper>.col1.loyal-cust.no-right-border {
    width: 100%;
    border-right: 3px solid #000;
}