/*
Theme Name: Krajina Klas
Theme URI: https://iodata.work/krajinaklas
Author: IO Data
Author URI: https://iodata.work/
Description: Built on a solidly designed foundation.
Requires at least: 5.9
Tested up to: 6.0
Requires PHP: 5.6
Version: 1.8
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: iodata
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments

Twenty Twenty-Two WordPress Theme, (C) 2021 WordPress.org
Twenty Twenty-Two is distributed under the terms of the GNU GPL.
*/

/*
 * Font smoothing.
 * This is a niche setting that will not be available via Global Styles.
 * https://github.com/WordPress/gutenberg/issues/35934
 */

body {
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
	font-weight: 300;
}

.wp-site-blocks>*+* {
	margin-block-start: 0px
}

/*
 * Text and navigation link styles.
 * Necessary until the following issue is resolved in Gutenberg:
 * https://github.com/WordPress/gutenberg/issues/27075
 */

a {
	text-decoration-thickness: 1px;
	text-underline-offset: 0.25ch;
}

a:hover,
a:focus {
	text-decoration-style: dashed;
}

a:active {
	text-decoration: none;
}

.wp-block-navigation .wp-block-navigation-item a:hover,
.wp-block-navigation .wp-block-navigation-item a:focus {
	text-decoration: underline;
	text-decoration-style: solid;
}

/*
 * Search and File Block button styles.
 * Necessary until the following issues are resolved in Gutenberg:
 * https://github.com/WordPress/gutenberg/issues/36444
 * https://github.com/WordPress/gutenberg/issues/27760
 */

.wp-block-search__button,
.wp-block-file .wp-block-file__button {
	background-color: var(--wp--preset--color--primary);
	border-radius: 0;
	border: none;
	color: var(--wp--preset--color--background);
	font-size: var(--wp--preset--font-size--medium);
	padding: calc(.667em + 2px) calc(1.333em + 2px);
}

/* width */
::-webkit-scrollbar {
  width: 2px;
}
::-webkit-scrollbar:horizontal {
  height: 2px;
}
/* Track */
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey; 
  background: transparent;
  border-radius: 10px;
}
 
/* Handle */
::-webkit-scrollbar-thumb {
  background: var(--wp--preset--color--primary); 
  border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: transparent; 
}
/*
 * Button hover styles.
 * Necessary until the following issue is resolved in Gutenberg:
 * https://github.com/WordPress/gutenberg/issues/27075
 */

.wp-block-search__button:hover,
.wp-block-file .wp-block-file__button:hover,
.wp-block-button__link:hover {
	opacity: 0.90;
}

/*
 * Alignment styles.
 * These rules are temporary, and should not be relied on or
 * modified too heavily by themes or plugins that build on
 * Twenty Twenty-Two. These are meant to be a precursor to
 * a global solution provided by the Block Editor.
 *
 * Relevant issues:
 * https://github.com/WordPress/gutenberg/issues/35607
 * https://github.com/WordPress/gutenberg/issues/35884
 */

.wp-site-blocks,
body>.is-root-container,
.edit-post-visual-editor__post-title-wrapper,
.wp-block-group.alignfull,
.wp-block-group.has-background,
.wp-block-cover.alignfull,
.is-root-container .wp-block[data-align="full"]>.wp-block-group,
.is-root-container .wp-block[data-align="full"]>.wp-block-cover {
	padding-left: var(--wp--custom--spacing--outer);
	padding-right: var(--wp--custom--spacing--outer);
}

.wp-site-blocks .alignfull,
.wp-site-blocks>.wp-block-group.has-background,
.wp-site-blocks>.wp-block-cover,
.wp-site-blocks>.wp-block-template-part>.wp-block-group.has-background,
.wp-site-blocks>.wp-block-template-part>.wp-block-cover,
body>.is-root-container>.wp-block-cover,
body>.is-root-container>.wp-block-template-part>.wp-block-group.has-background,
body>.is-root-container>.wp-block-template-part>.wp-block-cover,
.is-root-container .wp-block[data-align="full"] {
	margin-left: calc(-1 * var(--wp--custom--spacing--outer)) !important;
	margin-right: calc(-1 * var(--wp--custom--spacing--outer)) !important;
	width: unset;
}

/* Blocks inside columns don't have negative margins. */
.wp-site-blocks .wp-block-columns .wp-block-column .alignfull,
.is-root-container .wp-block-columns .wp-block-column .wp-block[data-align="full"],
/* We also want to avoid stacking negative margins. */
.wp-site-blocks .alignfull:not(.wp-block-group) .alignfull,
.is-root-container .wp-block[data-align="full"]>*:not(.wp-block-group) .wp-block[data-align="full"] {
	margin-left: auto !important;
	margin-right: auto !important;
	width: inherit;
}

/*
 * Responsive menu container padding.
 * This ensures the responsive container inherits the same
 * spacing defined above. This behavior may be built into
 * the Block Editor in the future.
 */

.wp-block-navigation__responsive-container.is-menu-open {
	padding-top: var(--wp--custom--spacing--outer);
	padding-bottom: var(--wp--custom--spacing--large);
	padding-right: var(--wp--custom--spacing--outer);
	padding-left: var(--wp--custom--spacing--outer);
}





.wp-block-invenit-io-parallax {
	aspect-ratio: 1;
	background-attachment: local;
	text-align: center;
}

.wp-block-invenit-io-parallax .io-parallax-frm {
	position: absolute;
	top: 50%;
	transform: translate3d(-50%, -50%, 0);
	max-width: 650px;
	min-width: 90%;
	left: 50%;
}

header button {

	color: white !important
}

header .wp-block-site-tagline {
	text-transform: uppercase;
	display: none;
}

@media only screen and (min-width: 768px) {
	.wp-block-invenit-io-parallax .io-parallax-frm {
		min-width: 650px;
	}

	.wp-block-invenit-io-parallax {
		aspect-ratio: 16/9;
	}

	header .wp-block-site-tagline {
		display: inherit;
	}
}





.wp-block-invenit-io-parallax.header .io-parallax-frm h5 {
	margin: 0;
	font-family: var(--wp--preset--font-family--source-tt-norms-pro);
	font-weight: 500;
	font-size: var(--wp--preset--font-size--large);
}

.wp-block-invenit-io-parallax .io-parallax-frm h5 {
	display: inline;
	padding: 0.5em 0em;
	background-color: rgba(216, 102, 0, 0.75);
	box-shadow: 1em 0 0 rgba(216, 102, 0, 0.75), -1em 0 0 rgba(216, 102, 0, 0.75);
	color: white;
	font-family: var(--wp--preset--font-family--source-tt-norms-pro);
	font-weight: 500;
	font-size: var(--wp--preset--font-size--xx-large);
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
	box-decoration-break: clone;
	line-height: 2.3;
}

footer.footer a {
	color: white
}

footer.footer hr {
	margin: 24px 0
}

footer.footer nav {
	text-transform: uppercase;
}

footer.footer nav {
	gap: 8px
}

footer.footer nav li::after {
	content: " ÷ ";
	display: inline-block;
	padding-left: 8px;
}

footer.footer nav li:last-child:after {
	content: "";
}

header .wp-block-navigation {
	color: white;
	text-transform: uppercase;
}



.lang.wp-block-navigation-link {
	flex-direction: row !important;
	gap: 8px
}

.wp-block-navigation:not(.has-background) .wp-block-navigation__responsive-container.is-menu-open {
	background: var(--wp--preset--color--primary);
	background-image: url(./assets/images/logo.png);
	background-repeat: no-repeat;
	background-position: center bottom;
	background-size: auto 70vh;
	color: white;
	font-weight: 500;
	text-transform: uppercase;
}

.wp-block-navigation:not(.has-background) .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
	max-width: 220px;
	text-align: right;
}

.wp-block-navigation:not(.has-background) .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container li {
	padding-top: 24px;
}

.io-parallax-description a {
	font-size: 8pt;
	color: white
}

header img {
	width: 176px;
	height: auto
}

header button.always-shown {
	background: transparent url(./assets/images/menu.svg) no-repeat center center !important;
	background-size: 16px !important;
}

header button.always-shown svg {
	opacity: 0;
}

header .wp-block-button__link {
	color: transparent;
	width: 24px;
	height: 24px;
	overflow: hidden;
	display: block;
	background: transparent url(./assets/images/shop.svg) no-repeat 16px 4px !important;
	background-size: 24px !important;
}

header .wp-block-button__link:hover {
	color: transparent !important;
}

.wp-block-query.jobs li {
	position: relative;
	cursor: pointer;
}

.wp-block-query.jobs li .wp-block-post-content {
	overflow: hidden;
	max-height: 1px;
	transition: all 1.5s;
	border-top: 1px solid transparent;
}

.wp-block-query.jobs li.open .wp-block-post-content {
	max-height: 1000px;
	padding-top: 16px;
	margin-top: 24px;
	border-color: black;
}

.wp-block-query.jobs .wp-block-post {
	border: 2px solid black;
	padding: 16px;
	;
}

.wp-block-query.jobs .wp-block-post-title {
	margin: 0 42px 0 0;
	padding: 0;
}

.wp-block-query.jobs li .wp-block-post-title::after {
	content: " ";
	position: absolute;
	top: 24px;
	right: 16px;
	display: block;
	width: 24px;
	height: 24px;
	background: url(./assets/images/arrow.svg);
	transition: all 1.5s;
}

.wp-block-query.jobs li.open .wp-block-post-title::after {
	transform: rotate(180deg);
}

.wp-block-query.jobs .wp-block-post-excerpt p {
	margin: 0%;
	padding: 0;
}

footer.wp-block-template-part {
	text-align: center !important;
}



.wp-site-blocks>footer.wp-block-template-part footer img {
	max-width: 140px
}

h2 {
	text-transform: uppercase;

}


.page-template-page-no-separators .wp-container-18>*+* {
	margin-block-start: 0;
}


@media (max-width: 600px) {
	.io-carousel-nav {
		display: none
	}

	.wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__content {
		padding: 24px 0;
	}

	header nav {
		position: absolute !important;
		left: 22px !important;
		margin-top: 7px !important;
	}
}

.bod-block-popup-wrap button.bod-block-title-closer {
	color: white !important;
	font-size: 14pt !important;
	cursor: pointer;
}

.bod-modal-title {
	padding: 34px 16px;
}

.bod-modal-content {
	padding: 0px 16px 34px 16px;
}

.mobile-logo {
	position: absolute;
	top: 14px
}

@media (min-width: 600px) {
	.bod-modal-title {
		padding: 34px 64px;
	}

	.bod-modal-content {
		padding: 0px 64px 64px 64px;
	}

	.mobile-logo {
		display: none;
	}
}

header {
	position: fixed;
	z-index: 1;
	top: 0;
	left: 0;
	right: 0;
}

body {
	padding-top: 68px
}

.wp-block-navigation-item__content {
	text-align: center !important
}

.is-layout-flow.wp-block-post-template {
	margin-left: 0 !important
}