*:focus-visible {
	outline: 0;
}

.bg-dark [class^="si-"]::before, .bg-dark [class*=" si-"]::before {
	font-size: 18px;
	color: var(--secondary-color);
}
header {
	background: var(--header-background);
}
/*
.nav-tree ul li.parent span {
	position: absolute;
	top: 0;
	right: 0;
	left: auto;
	bottom: 0;
	height: 100%;
	z-index: 1;
	display: inline-block;
	width: var(--toggle-width,46px);
	height: 24px;
	transform: rotate(90deg);
	background-image: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 1792 1792' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23000000' d='M1363 877l-742 742q-19 19-45 19t-45-19l-166-166q-19-19-19-45t19-45l531-531-531-531q-19-19-19-45t19-45l166-166q19-19 45-19t45 19l742 742q19 19 19 45t-19 45z'/%3E%3C/svg%3E");
	background-position: 50% 50%;
	background-size: 12px 12px
	background-color: #ffffff;
	background-repeat: no-repeat;
	cursor: pointer;
	transition: transform var(--speed);
}
*/
@media (max-width:991px) {
	header {
		position: sticky;
		top: -40px;
	}
	.toggle-alt {
		display: none;
	}
	#nav-alter.collapse:not(.show) {
		display: block;
		order: 1;
		width: 100%;
		padding: 8px .5rem;
	}
	#nav-alter a.bi {
		font-size: 1rem !important;
		display: flex;
		align-items: center;
	}
	#nav-alter a.bi::before {
		font-size: 22px !important;
		margin-right: .5rem;
	}
	.header-main {
		order: 2;
	}
	.nav-tree ul li.parent.open > span {
		transform: rotate(-90deg);
	}
}

@media (min-width:992px) {
	header .container {
		flex-wrap: nowrap !important;
	}
	.nav-tree {
		flex: 1 1 auto !important;
	}
	.nav-tree .nav-root {
		display: inline-flex !important;
		justify-content: space-between !important;;
	}
	.nav-tree ul {
		width: auto !important;
	}
	/*
	.nav-tree ul li.parent span {
		top: 50%;
		transform: translateY(-50%) rotate(90deg);
		background-image: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 1792 1792' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23ffffff' d='M1363 877l-742 742q-19 19-45 19t-45-19l-166-166q-19-19-19-45t19-45l531-531-531-531q-19-19-19-45t19-45l166-166q19-19 45-19t45 19l742 742q19 19 19 45t-19 45z'/%3E%3C/svg%3E");
	}
	.nav-tree ul ul li.parent span {
		transform: rotate(0);
		background-image: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 1792 1792' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23444444' d='M1363 877l-742 742q-19 19-45 19t-45-19l-166-166q-19-19-19-45t19-45l531-531-531-531q-19-19-19-45t19-45l166-166q19-19 45-19t45 19l742 742q19 19 19 45t-19 45z'/%3E%3C/svg%3E");
	}
	.nav-tree ul ul li.parent:hover > span {
		background-image: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 1792 1792' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23ffffff' d='M1363 877l-742 742q-19 19-45 19t-45-19l-166-166q-19-19-19-45t19-45l531-531-531-531q-19-19-19-45t19-45l166-166q19-19 45-19t45 19l742 742q19 19 19 45t-19 45z'/%3E%3C/svg%3E");
	}
	*/
}

.bg-dark {
	background-color: var(--primary-darker-color) !important;
}

.text-secondary {
	color: var(--secondary-color) !important
}
.btn-lang-select, .btn-lang-select:hover, .btn-lang-select:focus {
	color: #ffffff;
	font-size: 1rem;
	font-weight: bold;
	border: none;
	box-shadow: none;
}
.btn-lang-select:focus {
	border-color: var(--secondary-color);
}

/**
 * SVG ICONS
 */
.si:before {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 43px;
	height: 43px;
	color: #000000;
	font-size: 32px;
}
.bg-dark .si:before {
	color: #ffffff;
}
.si.si-start,
.si.si-end {
	position: relative;
	line-height: 1.5;
}
.si.si-start:before,
.si.si-end:before {
	position: absolute;
	width: 32px;
	height: auto;
	line-height: 1.2;
}
.si.si-start {
	padding-left: 32px;
}
.si.si-end {
	padding-right: 32px;
}
.si.si-start:before {
	left: 0;
}
.si.si-end:before {
	right: 0;
}
.si-burger {
	display: inline-flex;
	width: 42px;
	height: 42px;
	background: none;
	align-items: center;
	justify-content: center;
}
.si-burger span {
	position: relative;
	display: inline-block;
	width: 23px;
	border-bottom: 2px solid var(--header-color,#000000);;
}
.si-burger span::before,
.si-burger span::after {
	content: '';
	position: absolute;
	width: 100%;
	border-bottom: 2px solid var(--header-color,#000000);;
	transform: translateY(-7px);
}
.si-burger span::after {
	transform: translateY(7px);
}
[class^="si-"]::before, [class*=" si-"]::before,
header [class^="bi-"]::before, header [class*=" bi-"]::before {
	line-height: initial;
	font-size: 24px;
}
label[class^="si-"]::before, label[class*=" si-"]::before,
label[class^="bi-"]::before, label[class*=" bi-"]::before,
.page-link [class^="bi-"]::before, .page-link [class*=" bi-"]::before {
	line-height: initial;
	font-size: 16px;
}

@media (min-width:992px) {
	.si-burger {
		display: none;
	}
}

header {
	position: absolute;
	top: 0px; left: 0;
	right: 0;
	z-index: 1020;
	display: flex;
	flex-flow: row wrap;
	color: var(--header-color,#000000);
	background: var(--header-bg-color,#ffffff);
}
header a, header a:hover, header a:focus, header .btn-link, 
header .btn-link:hover, header .btn-link:focus {
	color: var(--header-color,#000000);
}
header .container {
	display: flex;
	flex-flow: row wrap;
	align-items: center;
	justify-content: space-between;
}

.toggle.close, .toggle.close:hover, .toggle.close:focus {
	display: inline-block;
	float: none!important;
	width: var(--toggle-width,46px);
	height: var(--toggle-height,46px);
	margin-left: auto;
	padding: 0;
	text-align: center;
}
.toggle.close [class^="bi-"]::before, .toggle.close [class*=" bi-"]::before,
.toggle.close [class^="si-"]::before, .toggle.close [class*=" si-"]::before {
	font-size: 42px !important;
	line-height: var(--toggle-height,46px) !important;
}

.toggle-wrap .collapsing,
.toggle-wrap .collapse {
	position: absolute;
	top: 100%;
	z-index: 9100;
	padding: 1rem;
}
.toggle-wrap .collapsing ul,
.toggle-wrap .collapse ul {
	display: block;
	list-style: none;
	margin: 0;
	padding: 0;
	min-width: 200px;
}


.brand {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	height: auto;
}
.brand img {
	display: block;
	max-height: 52px;
}

@media (max-width:991px){
	header .container,
	header .container-fluid {
		padding: 4px;
	}
	.nav-root a,
	.nav-root a .caption {
		font-weight: 400;
	}
	.nav-root > li > a {
		font-weight: 700;
	}
	.nav-root ul {
		width: 100%;
	}
	.nav-root ul li {
		display: block;
	}
	.nav-root ul a {
		display: block;
		font-size: .875rem;
	}
}
@media (min-width:992px){
	header {
		position: sticky;
		top: -102px;
		position: absolute;
		top: 0;
	}
	.toggle-main,
	.toggle-alt,
	.toggle-search {
		display: none;
	}
/*
	nav.alter,
	nav.alter.collapse:not(.show) {
		display: block;
		order: 1;
		flex: 1 0 100%;
		background: var(--primary-color);
	}
	.form-search,
	.form-search.collapse:not(.show) {
		display: inline-flex;
		order: initial;
		width: auto;
		max-width: 240px;
	}
	nav.alter > .container, nav.alter > .container-fluid {
		padding-top: 7px;
		padding-bottom: 7px;
	}
	nav.alter, nav.alter a, nav.alter a:hover, nav.alter a:focus {
		color: #ffffff;
	}

	.header-main {
		order: 2;
	}
	nav.main {
		order: 3;
	}
*/
	.brand {
		height: auto;
		margin-left: 0;
		padding: 1rem 0;
	}
	header .brand img {
		max-width: none;
		width: auto;
	}

}
@media (min-width: 992px) {
	.brand img {
		max-height: 80px;
	}
	main {
		padding: 0 0;
	}
}
@media (min-width: 1200px) {
	.brand img {
		max-height: 100px;
	}
}

/*
.header-phones,
.header-social,
.footer-phones,
.footer-social {
	--icon-size: 36px;
	position: relative;
	display: inline-flex;
	margin-top: 2rem;
}
.header-phones li, .header-phones a, .header-phones a:hover,
.header-social li, .header-social a, .header-social a:hover,
.footer-phones li, .footer-phones a, .footer-phones a:hover,
.footer-social li, .footer-social a, .footer-social a:hover {
	display: inline-flex;
}
.header-phones .phone
.footer-phones .phone {
	font-weight: bold;
	line-height: 1;
}
.header-social li,
.footer-social li {
	margin: 0 .5rem;
}
.header-social .bi-facebook::before,
.header-social .bi-facebook:hover::before,
.footer-social .bi-facebook::before,
.footer-social .bi-facebook:hover::before {
	display: inline-flex;
	flex-flow: column nowrap;
	justify-content: center;
	align-items: center;
	width: var(--icon-size);
	height: var(--icon-size);
	font-size: calc(var(--icon-size) + 2px);
	line-height: var(--icon-size);
	color: #5c76b8;
	border-radius: calc(var(--icon-size) / 2);
	background: #ffffff;
}
.header-social .bi-facebook:hover::before,
.footer-social .bi-facebook:hover::before {
	color: #ffffff;
	background: none;
}
.header-social .bi-instagram::before,
.header-social .bi-instagram:hover::before,
.footer-social .bi-instagram::before,
.footer-social .bi-instagram:hover::before {
	display: inline-block;
	width: var(--icon-size);
	height: var(--icon-size);
	font-size: calc(var(--icon-size) * 0.75);
	line-height: var(--icon-size);
	text-align: center;
	color: #ffffff;
	border-radius: calc(var(--icon-size) / 2);
	background: #d6249f;
	background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%);
}
.header-social .bi-instagram:hover::before,
.footer-social .bi-instagram:hover::before {
	color: #072d4f;
	background: #ffffff;
}
*/
.form-search input::placeholder {
	color: var(--secondary-color);
	font-weight: 700;
}
/*
.nav-tree .nav-body .header-phones {
	position: relative;
	left: 50%;
	transform: translateX(-50%);
	display: inline-flex;
    flex-flow: column nowrap;
    flex-direction: column;
    justify-content: center;
    align-items: center;
	width: auto;
	margin: 1rem auto;
    list-style: none;
    margin: 1rem auto;
	margin-top: 2rem;
    padding: 1rem 2rem;
	padding-left: 50px;
	border-radius: .5rem;
	background: var(--primary-color);
}
.nav-tree .nav-body .header-phones::before {
	content: '\F5C1';
	position: absolute;
	left: 1rem;
	top: 50%;
	transform: translateY(-50%);
	display: inline-block;
	width: 40px;
	height: 40px;
	font-family: var(--icons-font);
	font-size: 24px;
	line-height: 40px;
}
*/
.nav-pages a, .nav-pages a:hover, .nav-pages a:focus,
.header-phones a, .header-phones a:hover, .header-phones a:focus {
	display: inline-block;
	padding: .5rem;
	font-size: .875rem;
	font-weight: 700;
	text-transform: uppercase;
}

@media (min-width: 992px) {
	.header-phones,
	.header-social {
		display: inline-flex;
		flex-flow: column nowrap;
		justify-content: center;
		align-items: center;
		list-style: none;
		margin: 1rem auto;
		padding: 0;
	}
	.header-phones {
		padding-left: 40px;
	}
	.header-phones::before {
		content: '\F5C1';
		position: absolute;
		top: 50%;
		left: 0;
		transform: translateY(-50%);
		display: inline-block;
		width: 40px;
		height: 40px;
		font-family: var(--icons-font);
		font-size: 24px;
		line-height: 40px;
		text-align: center;
	}
	.nav-tree .nav-body .header-phones {
		display: none;
	}
}

.lang-wrap {
	display: inline-flex;
	justify-content: center;
}
/*
#toggleLang {
	display: none;
}
#langbar {
	position: static;
	display: block;
	padding: 0;
	border: 0;
	background: none;
	min-width: 0;
}
#langbar a, #langbar a:hover {
	display: inline-flex;
	align-items: center;
	padding: .5rem 1rem;
	font-weight: bold;
	font-size: .75rem;
	text-transform: uppercase;
}
#langbar a:hover {
	color: var(--secondary-color);
	background: none;
}
*/
@media (min-width: 1200px) {
	.header-phones,
	.header-social {
		flex-direction: row;
	}
	.header-phones {
		flex-direction: column;
	}
	.header-phones .phone,
	.header-phones .phone:hover,
	.header-phones .phone:focus {
		padding-left: 0;
		font-size: 1rem;
	}
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6, .caption {
	font-family: var(--header-font);
	font-weight: 900;
}
.h1, h1 {
	font-size: calc(1rem + 1.5vw);
	margin-top: 2rem;
	margin-bottom: 1.5vw;
}
.h2, h2, main .caption, footer .caption {
	font-size: calc(1rem + 1.2vw);
	font-weight: 700;
}
h1, .h1, h2, .h2, h3, .h3 {
	letter-spacing: -1px;
}
h2, .h2 {
	color: var(--primary-color);
}
h3, .h3 {
	color: var(--secondary-light-color);
}
.page-home h1 {
	margin-top: 2rem;
}
.page-home h1 + h2 {
	color: var(--secondary-color);
	font-weight: bold;
}
@media (min-width: 992px) {
	main .caption, footer .caption {
		font-size: 1.25rem;
	}
	.page-home h1 {
		margin-top: 2rem;
	}
	.home-titles {
		display: flex;
		align-items: end;
	}
	.page-home h1 + h2 {
		margin-left: 3rem;
		margin-bottom: 1.5vw;
	}
}

.text-sm {
	font-size: .875rem;
}

.contact-logo img {
	display: block;
	margin: 0 auto 1rem;
	max-height: 120px;
}
.toggle {
	display: flex;
	max-width: var(--toggle-width);
}
a, a:hover,
.btn-link, .btn-link:hover, .btn-link:focus {
	text-decoration: none;
	color: var(--primary-color);
}
a.btn:hover, a.btn:focus {
	text-decoration: none;
}
a:hover, a:focus,
.btn-link:hover, .btn-link:focus {
	color: #000000;
}
header a:hover, header a:focus {
	text-decoration: none;
}
.dropdown {
	display: inline-block;
}
.dropdown .dropdown-toggle,
.dropdown .dropdown-toggle:hover
.dropdown .dropdown-toggle:focus {
	display: flex;
	box-shadow: 0 0 0 transparent;
	background: transparent;
	padding: 8px;
	color: var(--primary-color);
}
.dropdown .dropdown-toggle::after {
	display: none;
}
header .dropdown .dropdown-toggle,
header .dropdown .dropdown-toggle:hover
header .dropdown .dropdown-toggle:focus {
	color: var(--header-color,#000000);
}
.btn-primary,
.bg-primary,
.page-item.active .page-link {
	background: var(--primary-color)!important;
	border-color: var(--primary-color)!important;
}

.btn-secondary,
.btn-outline-secondary.active,
.btn-outline-secondary:hover,
.bg-secondary {
	background-color: var(--secondary-darker-color)!important;
	border-color: var(--secondary-darker-color)!important;
}
.btn-check:active + .btn-outline-secondary,
.btn-check:checked + .btn-outline-secondary,
.btn-outline-secondary.active,
.btn-outline-secondary.dropdown-toggle.show,
.btn-outline-secondary:active {
	color: #ffffff;
	background-color: var(--secondary-darker-color)!important;
	border-color: var(--secondary-darker-color)!important;
}
.btn-floating {
	display: flex;
	align-items: center;
	height: 100%;
}
.btn-floating.text-center {
	justify-content: center;
}

.text-secondary {
	color: var(--secondary-darker-color)!important;
}

.list-inline {
	display: inline-flex;
	list-style: none;
	margin: 0;
	padding: 0;
}

.bg-dark,
.bg-dark a,
.bg-dark a:hover {
	color: #ffffff;
	background-color: var(--secondary-darker-color)!important;
}
.bg-dark a:hover {
	color: var(--secondary-color)!important;
}

/**
 * Nav-Tree
 */
@media (max-width:991px) {
	.nav-tree {
		position: fixed;
		top: 0; bottom: 0;
		left: 0; right: 0;
		z-index: 9900;
		width: 100vw;
		transition: all .3s;
	}
	/** Flip from top */
	.nav-tree.flip-left {
		-webkit-transform: perspective(300px) rotateY(90deg);
		transform: perspective(300px) rotateY(90deg);
		-webkit-transform-origin: left;
		transform-origin: left;
	}
}
@media (min-width:992px) {
	.nav-tree .nav-body {
		text-align: center !important;
	}
	.toggle-main {
		display: none;
	}

/**
	.nav-tree.flip-left {
		display: none;
	}
	.nav-tree.flip-left {
		-webkit-transform: none;
		transform: none;
		opacity: 1;
	}
**/
}

.swiper-slide-caption {
	position: absolute;
	left: 50%;
	bottom: 1rem;
	z-index: 20;
	padding: 1rem;
	width: calc(100vw - 2rem);
	color: #ffffff;
	background: var(--primary-alpha50-color);
	text-align: center;
	transform: translateX(-50%);
}
.swiper-slide-caption .btn {
	margin-top: 1rem;
}
.swiper-slide {
	background: var(--bg-img) 50% 50% / cover no-repeat;
}
@media (min-width: 680px) {
	.swiper-slide {
		background-image: var(--bg-lg-img);
	}
}
