/* Tartu Kolimine – Naviku lisad (1.0.6) */

:root {
	--navik-tk-yellow: #f5a700;
	--navik-tk-navy: #00214d;
	--navik-tk-text: #1b1b1b;
	--navik-tk-bg-light: #f7f8f8;
	--navik-tk-white: #ffffff;
	--navik-tk-border: #d0d5da;
	--navik-tk-input-border: #6b7480;
	--navik-tk-error: #b00020;
	--navik-tk-font-head: "Prompt", sans-serif;
	--navik-tk-font-body: "Roboto Slab", serif;
}

html.navik-tk-consent-open {
	scroll-padding-bottom: calc(var(--navik-tk-consent-height, 0px) + 28px);
}

html.navik-tk-consent-open body {
	padding-bottom: calc(var(--navik-tk-consent-height, 0px) + 28px);
}

/* Telefonilingid sisus */
a.navik-tk-tel {
	text-decoration: underline;
	text-underline-offset: 3px;
}

a.navik-tk-tel:focus-visible {
	outline: 3px solid var(--navik-tk-navy);
	outline-offset: 2px;
}

/* Mobiilne kõneriba */
.navik-tk-callbar {
	display: none;
}

@media (max-width: 767px) {
	body.navik-tk-has-callbar {
		padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px));
	}

	.navik-tk-callbar {
		display: block;
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 900;
		background-color: var(--navik-tk-yellow);
		border-top: 1px solid var(--navik-tk-navy);
		padding-bottom: env(safe-area-inset-bottom, 0px);
		box-sizing: border-box;
	}

	/* reCAPTCHA märk jääb kõneriba kohale nähtavaks; Google'i sisestiil vajab !important. */
	body.navik-tk-has-callbar .grecaptcha-badge {
		bottom: calc(71px + env(safe-area-inset-bottom, 0px)) !important;
	}

	body .navik-tk-callbar a.navik-tk-callbar__link,
	body .navik-tk-callbar a.navik-tk-callbar__link:link,
	body .navik-tk-callbar a.navik-tk-callbar__link:visited {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 10px;
		min-height: 56px;
		padding: 0 16px;
		color: #00214d;
		font-family: var(--navik-tk-font-head);
		font-weight: 600;
		font-size: 16px;
		line-height: 1.2;
		text-decoration: none;
		border-radius: 0;
		box-shadow: none;
		box-sizing: border-box;
	}

	body .navik-tk-callbar a.navik-tk-callbar__link:hover,
	body .navik-tk-callbar a.navik-tk-callbar__link:focus,
	body .navik-tk-callbar a.navik-tk-callbar__link:focus-visible,
	body .navik-tk-callbar a.navik-tk-callbar__link:active {
		color: #00214d;
		text-decoration: underline;
	}

	body .navik-tk-callbar a.navik-tk-callbar__link span,
	body .navik-tk-callbar a.navik-tk-callbar__link .navik-tk-callbar__icon {
		color: #00214d;
	}

	body .navik-tk-callbar a.navik-tk-callbar__link:focus-visible {
		outline: 3px solid var(--navik-tk-navy);
		outline-offset: -3px;
	}

	.navik-tk-callbar__icon {
		flex-shrink: 0;
	}
}

/* KKK plokk */
.navik-tk-kkk {
	max-width: 900px;
	margin: 40px auto;
	padding: 0 20px;
	box-sizing: border-box;
	color: var(--navik-tk-text);
	font-family: var(--navik-tk-font-body);
}

.navik-tk-kkk__title {
	margin: 0 0 20px;
	font-family: var(--navik-tk-font-head);
	font-weight: 600;
	font-size: 28px;
	line-height: 1.25;
	color: var(--navik-tk-navy);
}

.navik-tk-kkk__list {
	border-top: 1px solid var(--navik-tk-border);
}

.navik-tk-kkk__item {
	border-bottom: 1px solid var(--navik-tk-border);
	border-radius: 0;
	box-shadow: none;
}

.navik-tk-kkk__summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 48px;
	padding: 12px 4px;
	cursor: pointer;
	list-style: none;
	box-sizing: border-box;
}

.navik-tk-kkk__summary::-webkit-details-marker {
	display: none;
}

.navik-tk-kkk__summary::after {
	content: "+";
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	flex-shrink: 0;
	box-sizing: border-box;
	background-color: var(--navik-tk-yellow);
	color: var(--navik-tk-navy);
	border: 1px solid var(--navik-tk-navy);
	font-family: var(--navik-tk-font-head);
	font-size: 20px;
	font-weight: 700;
	line-height: 1;
}

.navik-tk-kkk__item[open] > .navik-tk-kkk__summary::after {
	content: "\2212";
}

.navik-tk-kkk__summary:focus-visible {
	outline: 3px solid var(--navik-tk-navy);
	outline-offset: 2px;
}

.navik-tk-kkk__question {
	margin: 0;
	font-family: var(--navik-tk-font-head);
	font-weight: 500;
	font-size: 18px;
	line-height: 1.35;
	color: var(--navik-tk-navy);
}

.navik-tk-kkk__answer {
	padding: 0 4px 16px;
	color: var(--navik-tk-text);
	font-family: var(--navik-tk-font-body);
	font-size: 15px;
	line-height: 1.65;
}

.navik-tk-kkk__answer > p:first-child {
	margin-top: 0;
}

.navik-tk-kkk__answer > p:last-child {
	margin-bottom: 0;
}

.navik-tk-kkk__answer a {
	color: var(--navik-tk-navy);
	text-decoration: underline;
}

.navik-tk-kkk__answer a:focus-visible {
	outline: 3px solid var(--navik-tk-navy);
	outline-offset: 2px;
}

/* Küpsiste riba */
.navik-tk-consent[hidden] {
	display: none;
}

.navik-tk-consent {
	position: fixed;
	left: 20px;
	bottom: 20px;
	z-index: 950;
	width: calc(100% - 40px);
	max-width: 460px;
	padding: 18px 20px;
	box-sizing: border-box;
	background-color: var(--navik-tk-bg-light);
	color: var(--navik-tk-text);
	border: 1px solid var(--navik-tk-border);
	border-top: 4px solid var(--navik-tk-yellow);
	border-radius: 0;
	box-shadow: none;
	font-family: var(--navik-tk-font-body);
	font-size: 14px;
	line-height: 1.5;
}

.navik-tk-consent__title {
	margin: 0 0 8px;
	font-family: var(--navik-tk-font-head);
	font-weight: 600;
	font-size: 17px;
	line-height: 1.3;
	color: var(--navik-tk-navy);
}

.navik-tk-consent__text {
	margin: 0 0 10px;
	color: var(--navik-tk-text);
}

.navik-tk-consent__details {
	margin: 0 0 12px;
	border-top: 1px solid var(--navik-tk-border);
	padding-top: 8px;
}

.navik-tk-consent__summary {
	cursor: pointer;
	font-family: var(--navik-tk-font-head);
	font-weight: 500;
	font-size: 13px;
	color: var(--navik-tk-navy);
}

.navik-tk-consent__summary:focus-visible {
	outline: 3px solid var(--navik-tk-navy);
	outline-offset: 2px;
}

.navik-tk-consent__list {
	margin: 8px 0 0;
	padding-left: 18px;
	font-size: 13px;
	line-height: 1.45;
}

.navik-tk-consent__list li + li {
	margin-top: 4px;
}

.navik-tk-consent__actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin: 0 0 10px;
}

.navik-tk-consent__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 44px;
	padding: 10px 14px;
	box-sizing: border-box;
	background-color: var(--navik-tk-yellow);
	color: var(--navik-tk-navy);
	border: 1px solid var(--navik-tk-navy);
	border-radius: 0;
	box-shadow: none;
	font-family: var(--navik-tk-font-head);
	font-weight: 600;
	font-size: 15px;
	line-height: 1.2;
	cursor: pointer;
	text-align: center;
}

.navik-tk-consent__btn:hover {
	background-color: var(--navik-tk-navy);
	color: var(--navik-tk-white);
}

.navik-tk-consent__btn:focus-visible {
	outline: 3px solid var(--navik-tk-navy);
	outline-offset: 2px;
}

.navik-tk-consent__status[hidden] {
	display: none;
}

.navik-tk-consent__status {
	margin: 0 0 10px;
	color: var(--navik-tk-error);
	font-family: var(--navik-tk-font-head);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
}

.navik-tk-consent__meta {
	margin: 0;
	font-size: 13px;
}

.navik-tk-consent__link {
	color: var(--navik-tk-navy);
	text-decoration: underline;
}

.navik-tk-consent__link:focus-visible {
	outline: 3px solid var(--navik-tk-navy);
	outline-offset: 2px;
}

@media (max-width: 767px) {
	html.navik-tk-consent-open {
		scroll-padding-bottom: calc(var(--navik-tk-consent-height, 0px) + 16px + env(safe-area-inset-bottom, 0px));
	}

	html.navik-tk-consent-open body {
		padding-bottom: calc(var(--navik-tk-consent-height, 0px) + env(safe-area-inset-bottom, 0px));
	}

	html.navik-tk-consent-open:has(body.navik-tk-has-callbar) {
		scroll-padding-bottom: calc(56px + var(--navik-tk-consent-height, 0px) + 16px + env(safe-area-inset-bottom, 0px));
	}

	html.navik-tk-consent-open body.navik-tk-has-callbar {
		padding-bottom: calc(56px + var(--navik-tk-consent-height, 0px) + env(safe-area-inset-bottom, 0px));
	}

	.navik-tk-consent {
		left: 0;
		right: 0;
		bottom: 0;
		width: 100%;
		max-width: none;
		max-height: 55vh;
		overflow-y: auto;
		padding: 14px 16px;
		border-left: 0;
		border-right: 0;
	}

	body.navik-tk-has-callbar .navik-tk-consent {
		bottom: calc(56px + env(safe-area-inset-bottom, 0px));
	}
}

/* Jaluse küpsiste seadete riba */
.navik-tk-footer-consent {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px 12px;
	padding: 12px 20px;
	background-color: var(--navik-tk-bg-light);
	border-top: 1px solid var(--navik-tk-border);
	color: var(--navik-tk-text);
	font-family: var(--navik-tk-font-body);
	font-size: 14px;
	line-height: 1.4;
}

.navik-tk-footer-consent__btn {
	appearance: none;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	padding: 6px 4px;
	min-height: 36px;
	color: var(--navik-tk-navy);
	font-family: var(--navik-tk-font-head);
	font-weight: 500;
	font-size: 14px;
	text-decoration: underline;
	cursor: pointer;
}

.navik-tk-footer-consent__link {
	display: inline-flex;
	align-items: center;
	padding: 6px 4px;
	min-height: 36px;
	color: var(--navik-tk-navy);
	font-family: var(--navik-tk-font-head);
	font-weight: 500;
	font-size: 14px;
	text-decoration: underline;
}

.navik-tk-footer-consent__btn:focus-visible,
.navik-tk-footer-consent__link:focus-visible {
	outline: 3px solid var(--navik-tk-navy);
	outline-offset: 2px;
}

/* Contact Form 7 päringuvorm (.navik-tk-vorm) */
.navik-tk-vorm {
	display: grid;
	grid-template-columns: 1fr;
	gap: 14px;
	width: 100%;
	box-sizing: border-box;
	color: var(--navik-tk-text);
	font-family: var(--navik-tk-font-body);
}

.navik-tk-vorm .nv,
.navik-tk-vorm .nv-pool,
.navik-tk-vorm .nv-tais {
	grid-column: 1 / -1;
	min-width: 0;
}

@media (min-width: 768px) {
	.navik-tk-vorm {
		grid-template-columns: repeat(6, minmax(0, 1fr));
		gap: 16px 20px;
	}

	.navik-tk-vorm .nv {
		grid-column: span 2;
	}

	.navik-tk-vorm .nv-pool {
		grid-column: span 3;
	}

	.navik-tk-vorm .nv-tais {
		grid-column: span 6;
	}
}

.navik-tk-vorm p {
	margin: 0;
}

.navik-tk-vorm br {
	display: none;
}

.navik-tk-vorm .wpcf7-form-control-wrap {
	display: block;
	width: 100%;
}

.navik-tk-vorm label {
	display: block;
	margin: 0 0 6px;
	font-family: var(--navik-tk-font-head);
	font-weight: 500;
	font-size: 14px;
	line-height: 1.35;
	color: var(--navik-tk-navy);
}

.navik-tk-vorm input[type="text"],
.navik-tk-vorm input[type="email"],
.navik-tk-vorm input[type="tel"],
.navik-tk-vorm input[type="date"],
.navik-tk-vorm select,
.navik-tk-vorm textarea {
	display: block;
	width: 100%;
	max-width: 100%;
	min-height: 48px;
	margin: 0;
	padding: 10px 12px;
	box-sizing: border-box;
	background-color: var(--navik-tk-white);
	color: var(--navik-tk-text);
	border: 1px solid var(--navik-tk-input-border);
	border-radius: 0;
	box-shadow: none;
	font-family: var(--navik-tk-font-body);
	font-size: 16px;
	line-height: 1.4;
}

.navik-tk-vorm textarea {
	min-height: 112px;
	resize: vertical;
}

.navik-tk-vorm input[type="text"]:focus-visible,
.navik-tk-vorm input[type="email"]:focus-visible,
.navik-tk-vorm input[type="tel"]:focus-visible,
.navik-tk-vorm input[type="date"]:focus-visible,
.navik-tk-vorm select:focus-visible,
.navik-tk-vorm textarea:focus-visible,
.navik-tk-vorm input[type="checkbox"]:focus-visible,
.navik-tk-vorm input[type="submit"]:focus-visible,
.navik-tk-vorm button[type="submit"]:focus-visible,
.navik-tk-vorm a:focus-visible {
	outline: 3px solid var(--navik-tk-navy);
	outline-offset: 2px;
}

.navik-tk-vorm fieldset {
	border: 0;
	margin: 0;
	padding: 0;
}

.navik-tk-vorm legend {
	padding: 0;
	margin: 0 0 8px;
	font-family: var(--navik-tk-font-head);
	font-weight: 500;
	font-size: 14px;
	line-height: 1.35;
	color: var(--navik-tk-navy);
}

.navik-tk-vorm .wpcf7-checkbox {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.navik-tk-vorm .wpcf7-list-item {
	display: block;
	margin: 0;
}

.navik-tk-vorm .wpcf7-list-item label {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	min-height: 36px;
	font-family: var(--navik-tk-font-body);
	font-weight: 400;
	font-size: 15px;
	color: var(--navik-tk-text);
	cursor: pointer;
}

.navik-tk-vorm .wpcf7-list-item input[type="checkbox"] {
	width: 20px;
	height: 20px;
	min-height: 20px;
	margin: 0;
	flex-shrink: 0;
	accent-color: var(--navik-tk-navy);
}

.navik-tk-vorm input[type="submit"],
.navik-tk-vorm button[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 48px;
	padding: 12px 20px;
	box-sizing: border-box;
	background-color: var(--navik-tk-yellow);
	color: var(--navik-tk-navy);
	border: 1px solid var(--navik-tk-navy);
	border-radius: 0;
	box-shadow: none;
	font-family: var(--navik-tk-font-head);
	font-weight: 700;
	font-size: 16px;
	line-height: 1.2;
	cursor: pointer;
}

.navik-tk-vorm input[type="submit"]:hover,
.navik-tk-vorm button[type="submit"]:hover {
	background-color: var(--navik-tk-navy);
	color: var(--navik-tk-white);
}

.navik-tk-vorm .wpcf7-not-valid-tip {
	display: block;
	margin-top: 4px;
	color: var(--navik-tk-error);
	font-family: var(--navik-tk-font-head);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.35;
}

.navik-tk-vorm a {
	color: var(--navik-tk-navy);
	text-decoration: underline;
}

/* Kontaktilehe (ID 26) pesastatud polstrite parandus mobiilis (ainult vormi sektsioon) */
@media (max-width: 767px) {
	.page-id-26 #Content .section:has(.navik-tk-vorm) {
		padding-left: 12px !important;
		padding-right: 12px !important;
	}

	.page-id-26 #Content .section:has(.navik-tk-vorm) .section_wrapper:has(.navik-tk-vorm) {
		width: 100% !important;
		max-width: 100% !important;
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	.page-id-26 #Content .section:has(.navik-tk-vorm) .column:has(.navik-tk-vorm) {
		width: 100% !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
	}

	.page-id-26 #Content .section:has(.navik-tk-vorm) .column_attr:has(.navik-tk-vorm),
	.page-id-26 #Content .section:has(.navik-tk-vorm) .mcb-column-inner:has(.navik-tk-vorm) {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}
}

/* BeTheme 29 ja WPBakery 9 uuenduse järel senise välimuse hoidmine */
.button_align.align_center > .button_size_4 {
	transform: scale(1.2);
}

/* WPBakery 9 kirjutab oranži nupu värvi reasiseselt (seetõttu !important).
   Tunnus on onmouseleave, sest style-atribuut muutub hiirega üle minnes. */
.vc_btn3.vc_btn3-style-flat[onmouseleave*="backgroundColor='#F7BE68'" i] {
	width: 65%;
	background-color: #f5a700 !important;
	color: #fff !important;
}

.vc_btn3.vc_btn3-style-flat[onmouseleave*="backgroundColor='#F7BE68'" i]:hover,
.vc_btn3.vc_btn3-style-flat[onmouseleave*="backgroundColor='#F7BE68'" i]:focus {
	background-color: #f5b14b !important;
	color: #f7f7f7 !important;
}

/* Hinnakirja vahelehed (192): WPBakery 9-s on vahelehe nimi H4 sees ja valge paneel hallikas */
.page-id-192 .vc_tta.vc_general .vc_tta-tabs-list .vc_tta-panel-title {
	margin: 0;
	padding: 0;
	font: inherit;
	letter-spacing: inherit;
	text-transform: inherit;
	color: inherit;
}

.page-id-192 .vc_tta-color-custom.vc_tta-style-classic .vc_tta-tab a {
	border-color: #f7f7f7;
}

.page-id-192 .vc_tta-color-custom.vc_tta-style-classic .vc_tta-tab.vc_active a,
.page-id-192 .vc_tta-color-custom.vc_tta-style-classic.vc_tta-tabs .vc_tta-panels,
.page-id-192 .vc_tta-color-custom.vc_tta-style-classic.vc_tta-tabs .vc_tta-panels::before,
.page-id-192 .vc_tta-color-custom.vc_tta-style-classic.vc_tta-tabs .vc_tta-panels::after {
	border-color: #f0f0f0;
}

.page-id-192 .vc_tta.vc_general.vc_tta-color-custom.vc_tta-style-classic.vc_tta-tabs .vc_tta-panels .vc_tta-panel-body {
	background-color: transparent;
	border-color: transparent;
}

/* WPBakery 9 tõi mobiilivaate piiri 768 px pealt 640 px peale. Vahemikus 640-767 px läksid veerud nii kitsaks,
   et pealkirjad ja nuppude tekst ei mahtunud ära: veerud jäävad üksteise alla nagu varem. */
@media (min-width: 640px) and (max-width: 767.98px) {
	.page-id-192 .vc_column_container.vc_col-sm-4,
	.page-id-192 .vc_column_container.vc_col-sm-6,
	.page-id-192 .vc_column_container.vc_col-sm-12,
	.page-id-323 .vc_column_container.vc_col-sm-4,
	.page-id-323 .vc_column_container.vc_col-sm-12 {
		float: none;
		width: 100%;
	}

	.page-id-192 .vc_tta.vc_general.vc_tta-tabs .vc_tta-tabs-container {
		display: none;
	}

	.page-id-192 .vc_tta.vc_general.vc_tta-tabs .vc_tta-panel-heading {
		display: block;
	}

	.page-id-192 .vc_tta.vc_general.vc_tta-style-classic.vc_tta-tabs .vc_tta-panels {
		border: 0;
		background-color: transparent;
	}

	.page-id-192 .vc_tta.vc_general.vc_tta-style-classic.vc_tta-tabs .vc_tta-panel {
		margin: 0;
	}
}

/* Kitsamal kui 768 px ekraanil on hinnakirja paneelid üksteise all */
@media (max-width: 767.98px) {
	.page-id-192 .vc_tta.vc_tta-color-custom .vc_tta-panel .vc_tta-panel-heading,
	.page-id-192 .vc_tta.vc_tta-color-custom .vc_tta-panel.vc_active .vc_tta-panel-heading,
	.page-id-192 .vc_tta.vc_general.vc_tta-color-custom.vc_tta-style-classic.vc_tta-tabs .vc_tta-panels .vc_tta-panel-body {
		border-color: #f7f7f7;
		background-color: #fff;
	}

	.page-id-192 .vc_tta.vc_tta-color-custom .vc_tta-panel .vc_tta-panel-heading:hover,
	.page-id-192 .vc_tta.vc_tta-color-custom .vc_tta-panel .vc_tta-panel-heading:focus {
		background-color: #f7f7f7;
	}

	.page-id-192 .vc_tta.vc_tta-gap-0 .vc_tta-panel:not(:first-child) .vc_tta-panel-heading,
	.page-id-192 .vc_tta.vc_tta-gap-0 .vc_tta-panel.vc_active + .vc_tta-panel .vc_tta-panel-heading {
		margin-top: 1px;
	}

	.page-id-192 .vc_tta.vc_tta-gap-0 .vc_tta-panel:not(:last-child):not(.vc_active) .vc_tta-panel-heading {
		margin-bottom: 1px;
	}

	.page-id-192 .vc_tta.vc_general .vc_tta-panels .vc_tta-panel-title {
		font-weight: 500;
	}
}

@media (min-width: 480px) and (max-width: 767.98px) {
	.page-id-192 .vc_tta.vc_general .vc_tta-panels .vc_tta-panel-title {
		font-size: 15px;
	}
}

/* Liikumise vähendamine */
@media (prefers-reduced-motion: reduce) {
	.navik-tk-callbar *,
	.navik-tk-kkk *,
	.navik-tk-consent *,
	.navik-tk-footer-consent *,
	.navik-tk-vorm * {
		transition: none !important;
		animation: none !important;
	}
}

/* Printimine */
@media print {
	html.navik-tk-consent-open body,
	html.navik-tk-consent-open body.navik-tk-has-callbar,
	body.navik-tk-has-callbar {
		padding-bottom: 0 !important;
	}

	.navik-tk-callbar,
	.navik-tk-consent,
	.navik-tk-footer-consent {
		display: none !important;
	}
}

/* Turvaline partner märgis (EVUL) */
.navik-tk-evul {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px 0;
	min-height: 120px;
	box-sizing: content-box;
}

.navik-tk-evul.navik-tk-evul--tyhi {
	display: none;
}

.navik-tk-evul #ssb-evul-stamp {
	width: 120px;
	height: 120px;
	min-width: 120px;
	min-height: 120px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.navik-tk-evul #ssb-evul-stamp a:focus-visible {
	outline: 3px solid var(--navik-tk-navy);
	outline-offset: 2px;
}
