/*
Theme Name: Vlakec
Author: Medijski Guruji
Version: 2.0.4
*/

@font-face {
	font-family: 'Graphik-Regular';
	src: url('assets/fonts/Graphik-Regular.woff2') format('woff2'),
		url('assets/fonts/Graphik-Regular.woff') format('woff'),
		url('assets/fonts/Graphik-Regular.ttf') format('ttf');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Graphik-Light';
	src: url('assets/fonts/Graphik-Light.woff2') format('woff2'),
		url('assets/fonts/Graphik-Light.woff') format('woff'),
		url('assets/fonts/Graphik-Light.ttf') format('ttf');
	font-weight: 300;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Graphik-Semibold';
	src: url('assets/fonts/Graphik-Semibold.woff2') format('woff2'),
		url('assets/fonts/Graphik-Semibold.woff') format('woff'),
		url('assets/fonts/Graphik-Semibold.ttf') format('ttf');
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}

html,
body {
	overscroll-behavior: none;
}

html {
	height: 100%;
	overflow: hidden;
}

body {
	margin: 0;
	font-family: 'Graphik-Regular', sans-serif;
	background: #F7F7F7;
	height: 100%;
	min-height: 100dvh;
}

header {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	position: relative;
	background: #E62D36;
	color: white;
	padding: 10px 15px;
	height: 36px;
}

.site-title {
	justify-content: center;
	margin: 0;
	font-size: 20px;
	display: flex;
	gap: 15px;
}

.header-icon {
	width: 24px;
	height: 24px;
	object-fit: contain;
	justify-self: end;
}

.hamburger {
	width: 30px;
	height: 36px;
	position: relative;
	display: inline-block;
	border: none;
	background: transparent;
	cursor: pointer;
	justify-self: start;
}

.hamburger span {
	position: absolute;
	left: 0;
	width: 100%;
	height: 3px;
	background: white;
	border-radius: 2px;
	transition: all 0.4s ease;
}

.hamburger span:nth-child(1) {
	top: 6px;
}

.hamburger span:nth-child(2) {
	top: 16px;
}

.hamburger span:nth-child(3) {
	top: 26px;
}

.hamburger.active span:nth-child(1) {
	transform: rotate(45deg);
	top: 16px;
}

.hamburger.active span:nth-child(2) {
	opacity: 0;
}

.hamburger.active span:nth-child(3) {
	transform: rotate(-45deg);
	top: 16px;
}

.mobile-nav {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.5s ease;
	background: #E62D36;
	border-bottom-left-radius: 30px;
	border-bottom-right-radius: 30px;
	z-index: 5001;
	box-shadow: 0px 20px 28.7px 0px #00000026;
	position: absolute;
	width: 100%;
}


.mobile-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.mobile-nav li {
	transform: translateY(-20px);
	opacity: 0;
	transition: transform 0.3s ease, opacity 0.3s ease;
	display: flex;
	justify-content: center;
}

.mobile-nav li:first-of-type {
	border-top: 1px solid white;
}

.mobile-nav li a {
	display: block;
	padding: 1rem;
	color: white;
	text-decoration: none;
	font-family: 'Graphik-Light', sans-serif;
	font-size: 24px;
}

.mobile-nav li a:focus {
	outline: 2px dashed #fff;
}

.mobile-nav.open {
	max-height: 500px;
}

.mobile-nav.open li {
	transform: translateY(0);
	opacity: 1;
}

.mobile-nav.open li:nth-child(1) {
	transition-delay: 0.1s;
}

.mobile-nav.open li:nth-child(2) {
	transition-delay: 0.2s;
}

.mobile-nav.open li:nth-child(3) {
	transition-delay: 0.3s;
}

.mobile-nav.open li:nth-child(4) {
	transition-delay: 0.4s;
}

.desktop-nav {
	display: none;
}

.desktop-nav ul {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 20px;
}

.desktop-nav a {
	color: white;
	text-decoration: none;
}

.header-icon-mobile {
	display: block;
}

.header-icon-desktop {
	display: none;
}

@media (min-width: 1023px) {
	.hamburger {
		display: none;
	}

	.mobile-nav {
		display: none;
	}

	.desktop-nav {
		display: block;
		position: absolute;
		right: 50px;
		top: 50%;
		transform: translateY(-50%);
	}

	header {
		grid-template-columns: auto 1fr auto;
	}

	.header-icon-desktop {
		display: block;
	}

	.header-icon-mobile {
		display: none;
	}
}

#wrapper {
	height: calc(100vh - 56px);
	width: 100%;
	display: flex;
	overflow: hidden;
}

main {
	width: 50%;
	height: 100%;
}

aside {
	width: 50%;
	height: 100%;
	overflow: hidden;
}

aside a.pot-po-mariboru {
	color: #272324;
	text-decoration: none;
}

aside h2 {
	padding: 0 50px;
	margin-bottom: 10px;
}

aside ul#seznam {
	overflow-y: auto;
	max-height: calc(100% - 50px);
	-webkit-overflow-scrolling: touch;
	list-style-type: none;
	padding: 0 40px;
	margin-top: -20px;
}

aside ul#seznam button.tocka {
	font-family: 'Graphik-Regular', sans-serif;
	display: grid;
	grid-template-columns: 120px 1fr;
	grid-gap: 1rem;
	grid-auto-rows: auto;
	background: #FFF;
	border-radius: 12px;
	padding: 20px;
	box-shadow: 0px 10px 10px 0px #0000000D;
	margin-top: 30px;
	border: 1px solid #F5DBE1;
	text-decoration: none;
	z-index: 1;
	position: relative;
	width: 100%;
	cursor: pointer;
}

aside ul#seznam button.tocka.open {
	box-shadow: unset;
}

aside ul#seznam li:first-of-type {
	margin: 0;
}

aside ul#seznam li .vsebina {
	grid-column: 1 / -1;
}

aside ul#seznam li div.thumb {
	display: block;
	width: 120px;
	height: 120px;
	position: relative;
}

div.thumb img {
	border-radius: 12px;
}

.menu-order {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	position: absolute;
	top: 10px;
	right: -19px;
}

.menu-order-zacetek,
.menu-order-violet {
	background-color: #6C4796;
}

.menu-order-red {
	background-color: #e62d36;
}

.menu-order-green {
	background-color: #50b68d;
}

.title-wrapper {
	display: flex;
	flex-direction: column;
	padding: 10px 15px 5px 15px;
	align-items: baseline;
}

.title {
	text-decoration: none;
	text-align: left;
}

.title h3 {
	margin: 0;
	color: #272324;
	font-size: 22px;
}

.preberi-vec {
	margin-top: auto;
}

.preberi-vec {
	color: #272324;
	text-transform: uppercase;
}

.preberi-vec span {
	display: inline-block;
	padding-right: 25px;
	background: url('images/preberivec.svg') no-repeat right center;
	background-size: 16px 16px;
}

.vsebina {
	position: relative;
	max-width: 100%;
	background: #fefefe;
	border-bottom-left-radius: 12px;
	border-bottom-right-radius: 12px;
}

.vsebina a {
	color: #000;
}

.vsebina-desktop {
	overflow: hidden;
	height: 0;
	transition: height 0.3s ease;
	margin-top: -10px;
	padding-top: 10px;
}

.vsebina-inner {
	max-width: 430px;
	margin: -20px auto 0 auto;
	padding-top: 40px;
	padding-bottom: 10px;
}

.vsebina-inner p {
	font-size: 18px;
	line-height: 24px;
}

.vsebina-mobile {
	display: none;
	background: transparent;
	position: absolute;
	max-width: 100%;
	bottom: 20px;
	height: 78vh;
	z-index: 1000;
	margin: 40px auto 0 auto;
	border-radius: unset;
	opacity: 0;
	transition: opacity 0.3s ease;
	pointer-events: none;
}

.vsebina-mobile.open {
	opacity: 1;
	pointer-events: auto;
	display: block;
}

.vsebina-mobile .glide {
	margin-bottom: 0;
}

.vsebina-mobile .glide__slide img {
	width: 100%;
	height: auto;
}

.vsebina-mobile .vsebina-blok {
	display: flex;
	background: #FFF;
	padding-top: 30px;
}

.vsebina-mobile .menu-order {
	position: unset;
	flex-shrink: 0;
	width: 41px;
	height: 41px;
	margin: 0 10px;
}

.vsebina-mobile .vsebina-tekst {
	flex: 1;
	margin-right: 10px;
}

.vsebina-mobile .vsebina-tekst p {
	line-height: 22px;
}

.vsebina-mobile .vsebina-tekst h3 {
	margin-top: 10px;
}

.vsebina-mobile .glide__slide img {
	border-top-left-radius: 40px;
	border-top-right-radius: 40px;
}

.vsebina-zapri-mobile {
	display: inline-block;
	background: url('images/puscicadol.svg') no-repeat right center;
	background-size: 60px 60px;
	position: absolute;
	width: 60px;
	height: 60px;
	right: 25px;
	top: -25px;
	cursor: pointer;
	border: none;
}

.vsebina-strani {
	z-index: 5000;
}

@media (min-width: 768px) {
	.vsebina-strani {
		left: 50%;
		width: 50%;
		height: calc(100% - 56px);
		bottom: 0;
	}

	.vsebina-strani .vsebina-blok {
		height: calc(100% - 60px);
		padding: 30px;
	}

	.vsebina-strani .vsebina-zapri-strani {
		background: url('images/puscicagor.svg') no-repeat right center;
		background-size: 40px 40px;
		width: 40px;
		height: 40px;
		top: 50%;
		right: 55px;
	}
}

.vsebina-zapri-strani {
	display: inline-block;
	background: url('images/puscicadol.svg') no-repeat right center;
	background-size: 60px 60px;
	position: absolute;
	width: 60px;
	height: 60px;
	right: 25px;
	top: -25px;
	cursor: pointer;
	border: none;
}

.vsebina-zapri {
	display: inline-block;
	background: url('images/puscicagor.svg') no-repeat right center;
	background-size: 52px 52px;
	position: absolute;
	width: 52px;
	height: 52px;
	right: 70px;
	top: 70%;
	border: none;
	cursor: pointer;
}

.glide {
	margin-bottom: 30px;
}

.glide__bullets {
	display: flex;
	justify-content: center;
	gap: 0.5rem;
	margin-top: -1.5rem;
	position: relative;
}

.glide__bullets .glide__bullet {
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background-color: #D9D9D9;
	border: none;
	cursor: pointer;
	transition: background-color 0.3s;
}

.glide__bullets .glide__bullet:hover {
	background-color: #999;
}

.glide__bullets .glide__bullet.glide__bullet--active {
	background-color: #333;
}

.custom-marker {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 50px;
	height: 61px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	cursor: pointer;
}

.custom-marker:focus {
	outline: 2px solid yellow;
	outline-offset: 2px;
}

.marker-title {
	color: white;
	font-family: 'Graphik-Semibold', sans-serif;
	font-size: 18px;
	pointer-events: none;
}

.custom-marker-title {
	background-color: rgba(255, 255, 255, .9);
	color: #000;
	font-family: 'Graphik-Regular', sans-serif;
	font-size: 14px;
	pointer-events: none;
	text-wrap: nowrap;
	height: fit-content;
	padding: 5px;
	border-radius: 5px;
	margin-left: 5px;
}

.leaflet-marker-icon {
	display: flex;
	align-items: center;
	width: unset !important;
}

.info {
	padding: 6px 8px;
	font: 14px/16px 'Graphik-Regular', sans-serif;
	background: rgba(255,255,255,0.8);
	box-shadow: 0 0 15px rgba(0,0,0,0.2);
	border-radius: 5px;
}

.info ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.info ul li {
	display: flex;
	align-items: center;
	margin: 5px 0;
}

.info ul li img {
	width: 20px;
}

.info ul li span {
	margin-left: 5px;
	text-transform: uppercase;
	font-weight: bold;
}

@media (max-width: 1080px) {
	.title h3 {
		font-size: 18px;
	}

	.preberi-vec span {
		font-size: 14px;
		background-size: 14px 14px;
	}
}

@media (min-width: 901px) {
	#move {
		pointer-events: none;
	}
}

@media (max-width: 900px) {
	aside h2 {
		padding: 0 30px;
	}

	aside ul#seznam {
		padding: 0 20px;
	}

	aside ul#seznam button.tocka {
		margin-top: 20px;
		grid-template-columns: 90px 1fr;
	}

	aside ul#seznam li div.thumb {
		width: 90px;
		height: 90px;
	}

	.thumb img {
		width: 90px;
		height: 90px;
	}

	.title h3 {
		font-size: 16px;
	}

	.title-wrapper {
		padding: 10px 10px 5px 10px;
	}

	.preberi-vec span {
		font-size: 10px;
		background-size: 10px 10px;
	}

	.menu-order {
		width: 30px;
		height: 30px;
		top: 10px;
		right: -13px;
	}
}

@media (max-width: 767px) {
	body {
		overflow: hidden;
	}

	main {
		width: 100%;
	}

	aside {
		width: 100%;
		position: absolute;
		z-index: 1001;
		background: #FFF;
		height: 50px;
		bottom: 0;
		border-top-left-radius: 30px;
		border-top-right-radius: 30px;
		transition: height 0.8s ease-in-out;
		box-shadow: 0px -10px 25px 0px #0000001A;
		overflow: hidden;
	}

	aside h2 {
		cursor: pointer;
		margin: 0;
		padding: 20px 50px 10px 50px;
		text-align: center;
	}

	aside.moved {
		height: 80dvh;
		background: rgba(255, 255, 255, 0.8);
	}

	.vsebina-blok {
		height: calc(100% - 300px);
	}

	.vsebina-strani .vsebina-blok {
		height: 100%;
		padding: 30px;
	}

	.vsebina-tekst {
		overflow: auto;
		min-height: 0;
		padding-bottom: 50px;
	}

	.leaflet-bottom {
		bottom: 50px;
	}
}

.vsebina-desktop .glide__slide img {
	border-radius: 15px;
}

.glide__arrow {
	cursor: pointer;
	padding: 0;
	background-color: transparent;
	border: 0;
	outline: 0;
}

.slider__arrow {
	position: absolute;
	top: 50%;
	z-index: 1;
	width: 24px;
	height: 24px;
	margin-top: -9px;
	border-radius: 50%;
	background-color: #D9D9D9;
	-webkit-transition: all .2s ease-in-out;
	transition: all .2s ease-in-out;
	-webkit-box-shadow: 0 .5rem 4rem 0 rgba(0,0,0,.5);
	box-shadow: 0 .5rem 4rem 0 rgba(0,0,0,.5);
}

.slider__arrow:hover {
	background-color: #999;
}

.slider__arrow--prev {
	left: 1.5rem;
}

.slider__arrow--next {
	right: 1.5rem;
}

.slider__arrow svg {
	margin-top: 3px;
}

.wp-block-button__link {
	background: #e62d36;
	color: #fff !important;
	border-radius: 5px;
	margin-top: 20px;
}

.vsebina-strani .vsebina-tekst {
	font-family: 'Graphik-Light';
	font-size: 16px;
	overflow: auto;
}

@media (min-width: 768px) {
	.vsebina-strani .vsebina-tekst {
		box-shadow: 0px 4px 25px 0px #00000040;
		border-radius: 40px;
		padding: 30px 40px 40px 40px;
	}

	.vsebina-strani .vsebina-tekst h3 {
		margin-bottom: 10px;
	}
}

@media (max-width: 767px) {
	.vsebina-kontakt {
		width: 100%;
	}
}

.vsebina-strani .vsebina-tekst h3 {
	color: #E62D36;
	font-family: 'Graphik-Light';
	font-size: 30px;
}

.vsebina-strani .vsebina-tekst h4 {
	color: #E62D36;
	font-family: 'Graphik-Light';
	font-size: 26px;
	margin-bottom: 10px;
}

.vsebina-strani .vsebina-tekst h4 span {
	font-size: 12px;
}

.vsebina-strani .vsebina-tekst strong {
	font-family: 'Graphik-Semibold';
}

.vsebina-strani .vsebina-tekst {
	width: 100%;
}

.vsebina-strani .vsebina-tekst .wp-block-table {
	margin-left: 20px;
	margin-right: 10px;
	max-width: 400px;
}

.vsebina-strani .vsebina-tekst .wp-block-image {
	max-width: 400px;
}

.vsebina-strani .vsebina-tekst p {
	max-width: 400px;
}

.vsebina-strani .vsebina-tekst .wp-block-table td {
	border: none;
	border-bottom: 1px solid;
}

.vsebina-strani .vsebina-tekst .wp-block-table:nth-of-type(3) td {
	border: none;
}

.vsebina-strani .vsebina-tekst .wp-block-table td:nth-child(1) {
	padding-left: 0;
}

.vsebina-strani .vsebina-tekst .wp-block-table td:nth-child(2) {
	text-align: right;
	padding-right: 0;
}

.vsebina-kontakt p {
	margin-left: 20px;
}

.vsebina-kontakt p:nth-of-type(1) {
	margin-bottom: 20px;
}

.nakup a {
	padding: 10px 15px;
	border-radius: 15px;
	background: #fff;
	color: #e62d36 !important;
}

#menu-mobilni-meni .nakup a {
	margin-top: 5px;
}

.otgs-development-site-front-end {
	display: none !important;
}

.cookieadmin_reject_btn,
.cookieadmin_save_btn,
#cookieadmin_wrapper,
.cookieadmin_showmore {
	display: none;
}

@media (max-width: 767px) {
	.cookieadmin_re_consent {
		bottom: 65px;
		left: 10px;
	}
}

.cookieadmin_preference_details {
	color: #fff;
}

#cookieadmin_preference {
	color: #000;
	font-size: 14px;
	height: unset;
}

#cookieadmin_notice {
	font-size: 14px;
}

@media (max-width: 480px) {
	.cookieadmin_consent_inside .cookieadmin_btn {
		width: unset;
		margin: 2px 5px;
	}
}