:root{
	--svetloModra: #6dabe5;
	--modra: #3f82d1;
	--siva: #EDF1F5;
}

body {
	font-family: 'Saira', sans-serif !important;
	font-weight:400;
}

* {
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;         /* Opera/IE 8+ */
}

h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #2c7ed6;
}

a, .alink {
	text-decoration: none !important;
  }

div.pagebuilder-button-primary{
	background-color: var(--modra) !important;
	border: 1px solid var(--modra) !important;
}

.navigation, .breadcrumbs, .page-header .header.panel, .header.content, .footer.content, .page-wrapper > .widget, .page-wrapper > .page-bottom, .block.category.event, .top-container, .page-main {
	max-width: 1366px !important;
}

/***********************/
/******** header *******/
/***********************/

.page-header{
	border-bottom: 2px solid var(--modra) !important;
}

.header.content {
    padding: 10px 0 0 0 !important;
}

.logo{
	width: 150px;
	float: left;
}

.language{
  display: block;
  width: 70px;
  float: left;
  padding-top: 20px;
}

.label.switcher-label{
	display: none;
}

ul, li, li .lin.authorization-link::marker{
	list-style-type: none;
}

ul > li{
	margin: 0;
}

.actions.dropdown.options.switcher-options{
	display: inline-flex;
	margin-top: 5px;
}

.view-bs_hr.switcher-option, .view-bs.switcher-option{
	border-left: 1px solid #999;
	padding: 5px;
}

#switcher-language-trigger {
    display: inline-flex;
    align-items: center;
}

.switcher-dropdown {
    padding-left: 10px;
    margin-top: 0;
    margin-bottom: 0;
}

.headerPodatki{
	width: calc(95% - 400px);
  	float: left;
 	margin-left: 20px;
}

.headerPodatki .pagebuilder-column, .cartSearch{
	padding-top: 33px;
}

.headerPodatki .pagebuilder-column img{
	margin-top: -px;
}

.headerPodatki .pagebuilder-column .headerText{
	margin-top: 16px;
}

.headerButton .pagebuilder-button-primary{
	margin-top: 6px;
}

.headerButton div{
	border-radius: 50px;
	padding: 4px 15px;
}

.headerButton span{
	font-size: 12px;
}

.headerKontakt{
	font-weight: 600;
}

.link.authorization-link{
	width: auto;
	float: left;
}

.cartSearch{
	float: right;
 	display: flex;
	width: 150px;
}

#search{
	border-radius: 50px;
	width: 400px;
	height: 50px;
}

.searchPlace{
	display: none;
}

/************************************/
/************ KOŠARICA **************/
/************************************/

.minicart-wrapper .action.showcart .counter.qty{
	background-color: var(--modra);
	margin: 0 0 0 -10px;
	padding: 0 9px;
	border-radius: 50px;
}

.block-title .qty{
	display: none;
}

.product-item-details .product-item-name{
	min-height: auto;
}

.minicart-items-wrapper {
    order: 2;
	border: none;
	padding: 10px 0 0 10px;
	height: 80vh !important;
}

.subtotal {
    order: 3;
}

.block-content > .actions {
    bottom: 0;
  	position: fixed;
}

.minicart-wrapper .action.showcart::before, 
.minicart-wrapper .action.showcart:hover::before {
	color: var(--modra) !important;
	margin-top: 5px !important;
}

.minicart-wrapper .block-minicart {
    right: -380px; 
    min-width: 380px;
    height: 100vh;
    top: -5px;
    position: fixed;
    transition: right 0.15s;
    animation: slideIn 0.5s forwards;
	z-index: 103;
}

@keyframes slideIn {
    0% {
        right: -380px;
    }
    100% {
        right: 0;
    }
}

.block-content {
	display: flex;
	flex-direction: column;
}

 .block-minicart .block-content {
	width: 380px !important;
	height: calc(100vh - 58px);
}

.minicart-wrapper .block-minicart .block-title {
	display: block;
	background: var(--modra);
	color: #fff;
	padding: 10px;
	font-size: 20px;
	text-transform: uppercase;
	top: 0;
    position: absolute;
    width: 100%;
    left: 0;
}

.minicart-wrapper .block-minicart .item.product.product-item{
	margin-bottom: 10px;
	padding: 5px
}

.block-title strong span{
	margin-left: 10px;
}

.minicart-wrapper .action.close{
	right: 12px;
	color: white;
	font-size: 25px;
	top: 7px;
}

.minicart-wrapper .action.close::before{
	font-size: 40px;
	font-weight: 800;
	line-height: 30px;
}

.minicart-items .product-item-name a{
	color: var(--modra)
}

.minicart-wrapper .product .actions{
	margin: -20px 53px 0;
}

.block-minicart .subtotal{
	bottom: 100px;
  	position: absolute;
	background-color: white;
	right: 0;
}

.block-minicart .block-content > .actions{
	width: 360px;
}

.actions .secondary{
	margin-left: 10px;
}

.actions .secondary a.action.viewcart span{
	color: white !important;
	background-color: var(--svetloModra);
	width: 370px;
	padding: 7px 0;
	display: block;
	position: fixed;
	bottom: 72px;
	margin-left: -20px;
}

.block-minicart .block-content > .actions > .primary {
	margin: 0 0px 15px -9px;
}

.product-item-pricing{
	margin-top: -5px;
}

/************************/
/*** search animacija ***/
/************************/

.searchPlace {
    position: fixed;
    background: var(--modra);
    left: 0px;
    right: 0px;
    top: 125.5px; 
    margin-top: 0;
    overflow: hidden;
    z-index: 102;
    width: 100%;
    transition: opacity 0.2s ease, transform 0.2s ease;
    animation: blueShift 0.3s forwards, slideDown 0.3s forwards;
}

@keyframes blueShift {
    0% {
        background: linear-gradient(to bottom, rgba(0, 0, 0, 1), rgba(0, 0, 255, 0));
    }
    100% {
        background: linear-gradient(to bottom, rgba(0, 0, 0, 1), rgba(63, 130, 209, 0.9));
    }
}

@keyframes slideDown {
    0% {
        top: 125.5px; 
        margin-top: 0;
        height: 0;
        opacity: 0;
        transform: scaleY(0); 
    }
    40% {
        top: 0;  
        margin-top: 0;
        height: 50vh;
        opacity: 0.7;
        transform: scaleY(0.5); 
    }
    60% {
        top: 0; 
        height: 75vh; 
        opacity: 0.85;
        transform: scaleY(0.75); 
    }
    100% {
        top: 0;
        height: 100vh; 
        opacity: 1;
        transform: scaleY(1); 
    }
}

/************************/

.block-search{
	top: 30%;
	left: 40%;
	position: absolute !important;
}

.block-search .action.search{
	padding: 10px  0 !important;
	right: -200px !important;
}

.block-search .action.search::before {
	color: white !important;
    line-height: 31.1px !important;
    overflow: visible !important;
    font-size: 37.8px !important;
}

.search-autocomplete ul li {
	background: transparent !important;
	color: white;
	border: none !important;
	margin: 10px;
	font-size: 20px;
}

.search-autocomplete ul li:hover{
	color: var(--modra);
}

/***********************/
/***** navigation ******/
/***********************/

.navigation .level0.has-active > .level-top, .navigation .level0.active > .level-top{
	border: none !important;
	color: var(--modra) !important;
	font-weight: 500 !important;
}

.level0.submenu.ui-menu.ui-widget.ui-widget-content.ui-front:first-of-type{
	width: 100vh;
	z-index: 12;
}

.nav-sections {
	position: sticky;
	top: 0;
	margin-bottom: 0 !important;
	z-index: 102;
}

.sections.nav-sections, .navigation{
	background-color: #fff !important;
}

.navigation span{
	font-weight: 400;
	text-transform: uppercase;
}

.navigation a:hover{
	color: var(--modra) !important;
}

.navigation .level0 > .level-top{
	padding: 0 12px 0 0 !important;
}

.navigation ul li ul li {
	float: left !important;
	width: 100% !important;
}

/***********************/
/******* footer  *******/
/***********************/

.footer.content{
	max-width: 100% !important;
	padding-top: 45px;
}

.footer.content p, .footer.content div, .footer.content a{
	color: white;
}

.footer.content .pagebuilder-column div div{
	text-transform: uppercase;
	font-weight: 600;
	margin-bottom: 10px;
}

.footer{
	background-color: var(--modra);
}

.copyright {    
	color: white;
    background-color: var(--svetloModra);    
    text-align: center;
    font-weight: 500;    
    padding: 10px 0;
	width: 100%;
	display: block;
} 

/*****************************/
/********** HOME PAGE ********/
/*****************************/

.action.tocompare{
	display: none !important;
}

.pagebuilder-slide-wrapper .pagebuilder-overlay{
	padding:0;
}

.pagebuilder-slide-wrapper a, .pagebuilder-slide-wrapper a img{
	width:100%;
	display:block;
}

/*.produktiRow .slick-prev::before{
	margin-left: -80px;
}

.produktiRow .slick-next::before{
	margin-left: 40px;
}*/

.slick-next:not(.primary), .slick-next:focus, .slick-prev:not(.primary){
	border-radius: 50px;
	background: rgba(230, 230, 230, 0.6);
}

.slick-prev::before, .slick-next::before{
	color: rgb(117, 117, 117);
}

.slick-slide.slick-active .product-item-name{
	min-height: 40px;
}

.katalogiNarocila .pagebuilder-column{
	padding: 15px;
}

.katalogiNarocilaText, .katalogiNarocilaText h2{
	color: white ;
	text-align: right !important;
}

.katalogiNarocilaButton{
	top: 180px;
    position: relative;
}

.katalogiNarocilaButton .pagebuilder-button-primary{
	background-color:  white;
	border: 1px solid white;
	color: var(--modra)
}

.katalogiNarocilaButton .pagebuilder-button-primary:hover{
	background-color: rgb(231, 231, 231);
	border: 1px solid rgb(231, 231, 231);
	color: var(--modra)
}

.znamkeOcal .pagebuilder-column{
	padding: 20px;
}

.product-item .price-box {
	width: auto;
	float: left;
}

/***********************/
/******* CATALOG *******/
/***********************/

.breadcrumbs{
	background-color: var(--siva);
	padding: 15px 22px !important;
}

.page-products .category-image, .modes{
	display: none !important;
}

#maincontent{
	padding: 0;
}

.page-products .column.main{
	width:100% !important;
	background-color: var(--siva);
	padding: 0 !important;
}

.page-layout-1column .block.widget .products-grid .product-item, .page-products .products-grid .product-item, .subcategory_item {
    margin-left: 1% !important;
    width: calc(13.2% - 2%) !important;
    margin-bottom: 20px !important;
    background-color: white;
}

.page-products.page-layout-1column .products-grid .product-item {
	width: 12.5%;
}

.page-products .product-item-info {
    padding: 10px;
    flex-grow: 1; 
}

.page-products .product-item-info{
	padding: 10px;
}

.page-products .product.name.product-item-name, .page-products .product.name.product-item-name a{
	text-align: center;
	color: var(--modra) !important;
}

.grid .product-item-name a {
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	min-height: 60px;
}

.price-container.price-final_price.tax.weee, .normal-price{
	display: block;
	text-align: center;
}

.slick-slide .product-item{
	border: 2px solid #edf1f5;
	padding: 5px 12px !important;
	width: 90% !important;
}

.slick-slide  .product-item:hover{
	border: 2px solid var(--modra)
}

/*******************************/
/******* CATALOG FILTRI ********/
/*******************************/

.catalog-category-view .sidebar.sidebar-main, .sidebar.sidebar-main{
	display: none;
}

.toolbar.toolbar-products{
	background-color: white;
	margin: 20px 15px;
	padding: 10px 5px;
}

.categoryImage{
	min-height: 175px;
	display: block;
}

.subcategoryItem{
	float: left;
	margin: 10px;
	width: 11%;
	background-color: white;
}

.subcategoryItem .categoryName{
	text-align: center;
	min-height: 40px;
	display: block;
}

.product-item-inner{
	text-align: center;
	min-height: 10px;
}

.subcategoryItem {
    position: relative;
    overflow: hidden; 
}

.subcategoryItem:hover {
    box-shadow: 0 0 10px var(--modra);
    transition: box-shadow 0.5s ease;
}

.pages .action{
	border: 1px solid var(--modra);
}

.cms-index-index .callforprice-container, .product-item-actions, .product-item .label{
	display: none;
}

/*******************************/
/********** PRODUKTI ***********/
/*******************************/

.catalog-product-view .columns{
	background: #EDF1F5;
    padding: 22px !important;
}

.catalog-product-view  .product{
	padding: 0;
}

.price-container.price-final_price.tax.weee{
	text-align: left !important;
}

.base{
	font-size: 20px;
}

.product-info-main .stock.available{
	display: block;
}

.product.attribute.sku{
	margin-top: 5px;
}

.product.attribute.sku div, .product.attribute.sku strong{
	color: var(--modra);
}

.products-grid .product-item {
    width: 100% !important;
}

.sidebar .product-items .product-item-info .product-item-photo{
	position: inherit !important;
}

.sidebar .block-title.title, .sidebar .block-actions{
	display: none !important;
}

.product-item-info.related-available, .sidebar .item.product.product-item{
	background-color: white;
}

.sidebar .product-items .product-item-details{
	margin: 10px !important;
}

.sidebar .grid .product-item-name a {
	min-height: auto !important;
}

.grid .product-item-name a {
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	min-height: 60px;
}

.swatch-option.text{
	line-height: 12px;
}

.field.choice.related{
	display: none;
}

/*********************/
/*** registracija ****/
/*********************/

.fieldset.create.info, .fieldset.create.account, .form.create .fieldset.address {
	background: #f2f2f2;
	padding: 30px 30px 40px;
}

.form.create.account, .form.search.advanced, .form.form-orders-search {
	width: 75% !important;
	margin: 0 auto;
}

.column:not(.sidebar-main) form .actions-toolbar, .column:not(.sidebar-additional) form .actions-toolbar, .login-container .fieldset::after {
	margin-left: 0 !important;
}

/***********************/
/****** podstrani ******/
/***********************/

.podstranProdukti{
	background-color: #EDF1F5;;
}

.podstranProdukti h2 {
	color: #333333 ;
}

.podstranProdukti .block.widget .product-item-info{
	padding: 10px;
}

.podstranProdukti .product.description.product-item-description{
	display: none;
}

/*********************/
/****** mobilci ******/
/*********************/

@media(max-width:768px){

	.headerPodatki{
		display: none;
	}

	.nav-sections{ 
		top:0;
	}

	.navigation .parent .level-top:after {
        top: -20px;
    }

	.navigation a span{
		margin-left: 10px !important;
	}

    .nav-sections .navigation ul li ul li:first-child {
        text-transform: lowercase;
    }

    .nav-sections {
        position: fixed;
    }

	.nav-toggle{
		top: 40px;
	}

	.nav-sections-item-content{
		margin-top: auto;
	}

	.navigation .level0 {
		border: none !important;
		margin: 15px 0;
	}

	.ui-menu-item.all-category, .nav-sections-item-title{
		display: none;
	}
	
	.logo{
		margin-left: 50px;
		width: 125px;
	}

	.language{
		padding-top: 16px;
		width: 50px;
		margin-right: 5px;
	}

	.cartSearch {
		padding-top: 20px;
		float: right;
		width: 125px;
	}

	.cartSearch button{
		margin-top: -8px !important;
	}

	#search{
		width: 280px;
	}

	.block-search{
		top: 20%;
		left: 0;
	}

	.block-search .control{
		border: none;
		display: inline;
	}

	.block-search input {
		position: relative !important;
		left: 155px;
        margin-left: -140px;
	}

	.block-search{
		position: relative !important;
	}

	.block-search .label:before{
		margin: 20px 20px 0 0;
	}

	.close-search{
		font-size: 30px;
	}

	.minicart-wrapper .block-minicart {
		width: 100% !important;
	}

	.minicart-wrapper .block-title span{
		margin-left: 20px;
	}

	.minicart-wrapper .product .actions{
		margin: -30px 0 0 150px;
	}

	.minicart-wrapper .action.close {
		top: 15px;
	}	

	.minicart-wrapper .block-minicart .item.product.product-item {
		padding: 2px 0 0 0 ;
	}

	.minicart-items-wrapper {
		border: none;
		margin: 0;
		padding: 0;
		height: calc(100vh - 230px) !important;
		overflow-y: auto !important;
		padding: 20px 20px 56px 20px;
		margin-top: -10px !important;
	}

	.block-minicart .subtotal{
		position: fixed;
		background-color: white;
		width: 100%;
		z-index: 10;
		right: 20px;
	}

	.actions .secondary a.action.viewcart span{
		width: 90% !important;
		right: 20px;
	}

	.block-minicart .block-content > .actions{
		width: 90%;
		right: 10px;
	}

	.block-minicart .block-content > .actions > .primary .action.primary{
		position: absolute;
		bottom: 0px;
	}

	.minicart-items {
		max-height: calc(100vh - 230px); 
		overflow-y: auto;
		scrollbar-width: thin; 
	}
	
	.minicart-items::-webkit-scrollbar {
		width: 10px; 
	}
	
	.minicart-items::-webkit-scrollbar-thumb {
		background: #ccc; 
		border-radius: 10px; 
	}
	
	.minicart-items::-webkit-scrollbar-track {
		background: transparent; 
	}

	/**************************/
	/******** footer **********/
	/**************************/

	.footer.content .pagebuilder-column, .footer.content .pagebuilder-column p{
		text-align: center !important;
	}

	.footer.content .pagebuilder-column {
		margin-bottom: 7px;
	}

	/**************************/
	/*********** home  ********/
	/**************************/

	.pagebuilder-slide-wrapper a img{
		width: 100% !important;
		height: auto !important;
	}

	.brands .pagebuilder-column-line img{
		width: 100% !important;
		height: 100% !important;
		padding: 10px;
	}

	.slick-slide {
        padding: 5px !important;
    }

	.slick-slide.slick-current.slick-active .product-item:first-child{
		margin-left: 15px;
	}

	.slick-next.slick-arrow, .slick-prev.slick-arrow{
		display: none !important;
	}

	.produktiRow h2{
		margin-left: 10px;
	}

	.katalogiNarocilaText{
		margin: 0 10px;
	}

	.slick-slide.slick-active .product-item-name{
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.katalogiNarocilaButton {
		top: auto;
	}	

	/**************************/
	/*** filtri in produkti ***/
	/**************************/

	body.catalog-category-view .page-title-wrapper{
		margin-left: 10px;
	}

	body.catalog-category-view .subcategoryItem {
		width: 44%;
	}

	body.catalog-category-view .item.product.product-item{
		width: 44% !important;
        margin: 0 5px;
	}

	body.catalog-category-view .item.product.product-item:nth-child(odd) {
		margin-left: 20px !important;
	}

	body.catalog-category-view .product {
		padding: 0;
	}

	body.catalog-category-view .page-products .product-item-info {
		padding: 15px;
	}

	.item.product.product-item .product-item-info, .product-item .product-item-info {
		width: 100%;
	}

	.categoryImage {
		min-height: 197px;
	}

	.subcategoryItem .categoryName a {
		text-overflow: ellipsis;
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
		min-height: 40px;
	}

	.page-products .column.main{
		padding: 10px 2px 10px 13px !important;
	}

}