/* Bar. */

.bar {
	margin-right: 16px;
}

.bar_burger {
	display: flex;
	flex-direction: column;
	justify-content: space-between;

	width: 21px;
	height: 8px;
	cursor: pointer;
}

.bar_burger span {
	width: 100%;
	height: 2px;
	background-color: var(--primary);
}

.bar_burger span:last-child {
	max-width: 14px;
}

.bar_wrapper {
	width:80vw;
	--inner: 20px;

	overflow: hidden;
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;

	max-height: calc(100vh);
	background-color: var(--bg);
	z-index: 99;
}

.bar_net {
	flex-direction: column;
	align-items: stretch;
	overflow-y: scroll;
	width: 100%;
	height: 100%;
	max-height: 100vh;
	padding-bottom: 20px;
}

.bar_center {
	flex-grow: 1;
}

.bar_top {
	position: sticky;
	top: 0;

	background-color: var(--bg);
	z-index: 99;
}

.bar_top_net {
	width: 100%;
	min-height: 55px;
	padding: 0 var(--inner);
	border-bottom: 1px solid #EEEEEE;
}

.bar_logo {
	max-width: 165px;
	width: 40%;
}

.bar_back {
	display: none;
	align-items: center;

	min-height: 55px;
	padding: 0 var(--inner) 0 calc(var(--inner) + 20px);
	background-image: url("data:image/svg+xml,%3Csvg width='10' height='17' viewBox='0 0 10 17' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 2L2 8.5L8 15' stroke='%230093CD' stroke-width='2' stroke-linecap='square'/%3E%3C/svg%3E%0A");
	background-position: var(--inner) center;
	background-repeat: no-repeat;
	background-size: 13px;
	border-bottom: 1px solid #EEEEEE;
}

.bar_section {
	padding: 28px var(--inner);
}

.bar_section:not(:last-child) {
	border-bottom: 20px solid #F7F7F7;
}

.bar_section:last-child {
	padding-bottom: 60px;
}

.bar_section_net {
	margin-bottom: 32px;
}

.bar_sing {
	--color: var(--primary);

	grid-gap: 30px;

	font-size: 15px;
	font-weight: 500;
}

.bar_close {
	width: 15px;
	height: 15px;
}

.bar_nav {
	margin-bottom: 20px;
	padding-bottom: 20px;
	border-bottom: 1px solid #eee;
}

.bar_nav ul {
	display: grid;
	grid-gap: 32px;
}

.bar_nav a {
	display: flex;
	align-items: center;
	grid-gap: 16px;

	width: 100%;
}

.bar_nav img {
	width: 23px;
	height: 23px;
	object-fit: contain;
	object-position: center;
}

.bar_nav span {
	color: var(--orange-700);;
	font-weight: 700;
	font-size: large;

}

.bar_info {
	display: grid;
	grid-gap: 26px;
}

.bar_info p span {
	color: var(--gray);
}

.bar .header_bar_lang a:not(.active) {
	color: #666666;
}

/* Bar. */
.bar_nav_mobile {
	display: grid;
	justify-content: space-between;
}
.bar_nav_mobile a {
	text-shadow: 3px 0px 3px rgba(0, 0, 0, 0.2);
	display: flex;
	justify-content: space-between;
	height: 30px;
	align-items: flex-end;
}
@keyframes spinOneTime {
	0% {
		transform: rotateY(0deg);
	}
	33.333% {
		transform: rotateY(360deg);
	}
	100% {
		transform: rotateY(360deg);
	}
}

/*
   Перший елемент (спін від 0 до 1 секунди кожного 3-секундного циклу).
   Немає затримки.
*/
.spin-first {
	display: inline-block;
	animation: spinOneTime 6s linear infinite;
	/* без delay, стартує відразу на початку циклу (t=0s) */
}

/*
   Другий елемент (спін від 1 до 2 секунди).
   Затримка 1s, щоб почав крутитися тільки коли перший закінчить.
*/
.spin-second {
	display: inline-block;
	animation: spinOneTime 6s linear infinite;
	animation-delay: 2s;
}

/*
   Третій елемент (спін від 2 до 3 секунди).
   Затримка 2s, щоб почав крутитися тільки коли другий закінчить.
*/
.spin-third {
	display: inline-block;
	animation: spinOneTime 6s linear infinite;
	animation-delay: 4s;
}
 	@media only screen and (min-width: 1031px) {

		/* Bar. */

		.bar,.bar_nav_mobile,
		.bar_wrapper {
			display: none !important;
		}

		/* Bar. */

	}

	@media only screen and (max-width: 360px) {

		/* Bar. */

		.bar {
			margin-right: 0;
		}

		/* Bar. */

	}
