*:focus-visible {
	outline: 0;
}
html, body {
	font-size: 17px;
}
.btn {
	border: 1px solid #000000;
	border-radius: 0;
}
.btn:hover, .btn:focus {
	color: #ffffff;
	background: #000000;
}
.btn-check:focus + .btn, .btn:focus {
	box-shadow: 0 0 0 transparent;
}
.btn-outline-primary {
	color: #000000;
}
.btn-outline-primary:hover {
	color: #ffffff;
	background-color: #000000;
	border-color: #000000;
}
#toggleLang {
	margin-right: .5rem;
	color: #ffffff;
}
/**
 * SVG ICONS
 */
.si:before {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 43px;
	height: 43px;
	color: var(--primary-darker-color);
	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 span {
		width: 32px;
		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(-10px);
	}
	.si-burger span::after {
		transform: translateY(10px);
	}
}

.logo.logo-ondark {
	display: none;
}
.logo:not(.logo-ondark) {
	display: inline-block;
}
.is-stuck .logo.logo-ondark {
	display: inline-block;
}
.is-stuck .logo:not(.logo-ondark) {
	display: none;
}

header {
	position: fixed;
	top: 0px; left: 0;
	right: 0;
	z-index: 1020;
	display: flex;
	flex-flow: row wrap;
	color: var(--header-color,#000000);
	background: none;
}
header.is-stuck {
	background: var(--primary-alpha70-color);
}
.brand {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto;
	width: auto;
	height: auto;
}
.brand img {
	display: block;
	max-height: 60px;
}

@media (min-width:992px) {
	header .brand img {
		height: 90px;
	}
	.logo:not(.logo-ondark) {
		height: 180px;
		max-height: none;
	}
	.nav-flat .nav-body {
		column-count: 3;
	}
}


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 {
	position: relative;
	display: flex;
	flex-flow: row no-wrap;
	align-items: center;
	justify-content: center;
}
@media (max-width:991px){
	header .container,
	header .container-fluid {
		padding: .5rem 0;
	}
}
@media (min-width:992px){
	header {
		position: fixed;
		transition: transform .3s;
	}
	header.is-stuck {
		position: fixed;
		
	}
}
.header-phones,
.header-social {
	--icon-size: 36px;
	position: relative;
	display: none;
}
.header-phones li, .header-phones a, .header-phones a:hover,
.header-social li, .header-social a, .header-social a:hover {
	display: inline-block;
	/*
	height: 24px!important;
	*/
}
.header-phones li:last-child .phone {
	letter-spacing: 1.6px;
}
.header-phones .phone {
	font-weight: bold;
	line-height: 1;
}
.header-social li {
	margin: 0 .5rem;
}
.header-social .bi-facebook::before,
.header-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 {
	color: #ffffff;
	background: none;
}
.header-social .bi-instagram::before,
.header-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%);
	box-shadow: 0px 3px 10px rgba(0,0,0,.25);
}
.header-social .bi-instagram:hover::before {
	color: #072d4f;
	background: #ffffff;
}
.form-search input::placeholder {
	color: var(--secondary-color);
	font-weight: 700;
}
@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;
	}

	#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: .25rem;
		border: 1px solid transparent;
		color: #ffffff;
		font-weight: bold;
		font-size: .875rem;
		text-transform: uppercase;
	}
	#langbar a:hover {
		background: none;
		border-color: #ffffff;
	}
}
@media (min-width: 1200px) {
	.header-phones,
	.header-social {
		flex-direction: row;
	}
	.header-phones {
		flex-direction: column;
	}
	.header-phones .phone {
		font-size: 1.125rem;
	}
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6, .caption {
	font-family: var(--header-font);
	color: #000000;
	line-height: 1.1;
}
.h1, h1 {
	font-size: calc(1.5rem + 1.5vw);
	margin-bottom: 2rem;
	margin-top: 3rem;
}
.h2, h2, main .caption, footer .caption {
	font-size: calc(1rem + 1.2vw);
	font-weight: 400;
	margin-bottom: .5rem;
}

.page-home h1 {
	margin-top: 2rem;
}
.page-home h1 + h2 {
	color: var(--secondary-color);
	font-weight: bold;
}
@media (min-width: 992px) {
	.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: 200px;
}
.toggle {
	display: flex;
	padding: 8px;
	max-width: var(--toggle-width);
}
.toggle.toggle-main {
	position: absolute;
	left: 1rem;
}
a, a:hover, a:focus,
.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 {
	text-decoration: underline;
}
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-primary:hover, .btn-primary:focus {
	background-color: var(--primary-dark-color)!important;
	border-color: var(--primary-dark-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;
}
@media (min-width: 992px) {
	.brand {
		margin: .5rem 1rem .5rem 0;
	}
	main {
		padding: 0 0 3rem;
	}
	.page-typical main{
		
	}
	.page-home main {
		padding-top: 0;
		padding-bottom: 0;
	}
}
@media (min-width: 1200px) {
	.brand img {
		max-height: 80px;
	}
}

.bg-dark,
.bg-dark a,
.bg-dark a:hover {
	color: #ffffff;
	background-color: var(--primary-darker-color)!important;
}
.bg-dark a:hover {
	color: var(--secondary-color)!important;
}

/**
 * Nav-Tree
 */
.nav-tree ul li.parent.open > span {
	transform: rotate(-90deg);
}
.nav-tree .nav-root {
	overflow: hidden;
}
@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) {
/**
	.toggle-main {
		display: none;
	}


	.nav-tree.flip-left {
		display: none;
	}
	.nav-tree.flip-left {
		-webkit-transform: none;
		transform: none;
		opacity: 1;
	}
**/
}
