.b24-widget-button-wrapper {
    right: 40px !important;
    bottom: 40px !important;
}

footer {
	padding: 60px 0;
	background: var(--primary-color); 
	color: var(--sec-white-color)
}

footer a {
    color: var(--sec-white-color)
}

.footer_left {
	float: left;
	width: 50%;
	padding-right: 12px;
	box-sizing: border-box;
}

footer .logo {
	float: left;
	width: 34%;
}

footer .logo img {
	width: 100%;
	max-width: 164px;
}

.footer_menu_main_link {
	margin-bottom: 15px;
	display: block;
	height: 50px;
	font-size: 32px;
	font-weight: 700;
}

.footer_menu {
	float: left;
	width: 66%;
	font-size: 17px;
	font-weight: 700;
}

.footer_menu_left {
	float: left;
	width: 55%;
}

.footer_menu_right {
	float: right;
	width: 45%;
}

.footer_menu li {
	margin-bottom: 27px;
}

.footer_right {
	float: left;
	width: 50%;
	padding-left: 12px;
	box-sizing: border-box;
}

.footer_address {
	float: left;
	margin-top: 65px;
	width: 66%;
	padding-right: 12px;
	box-sizing: border-box;
}

.footer_address_office {
	margin-bottom: 22px;
}

.footer_address_name {
	margin-bottom: 8px;
    font-size: 17px;
    font-weight: 700;
}

.footer_address_text {
    font-size: 16px;
}

.footer_contacts {
	float: left;
	margin-top: 65px;
	width: 34%;
	font-weight: 700;
}

.footer_contacts .contacts_phone {
	margin-bottom: 20px;
	padding-left: 0;
}

.footer_contacts .contacts_mail {
	margin-bottom: 20px;
	padding-left: 0;
}

.footer_social {
	display: flex;
	justify-content: space-between;
}
.footer_social .vk, .footer_social .rutube {
	margin-right: 0;
}

.footer_other {
	margin-top: 24px;
}

.footer_rating {
	float: left;
	width: calc(17% - 3px);
	min-height: 1px;
}

.footer_docs {
	float: left;
	display: flex;
	width: calc(83% + 3px);
	min-height: 50px;
	gap: 16px 8px;
	flex-wrap: wrap;
	align-items: center;
}

.footer_docs_item {
	position: relative;
}

.footer_docs_item:not(:last-child) {
	margin-right: 16px;
}

.footer_docs_item:not(:last-child)::after {
	position: absolute;
	right: -12px;
	content:"|";
}

.footer_privacy-policy {
	margin-left: 34%;
}

.footer_site-created {
	float: right;
	width: 34%;
}

.btn_top {
	position:fixed;
	bottom:44px;
	left:50%;
	margin-left:-28px;
	display:none;
	width: 56px;
	height: 56px;
	padding-top: 30px;
	box-sizing: border-box;
	background-color: var(--primary-color);
	box-shadow: 0px 2px 4px 0px rgba(26, 72, 106, 0.06), 0px 2px 36px 0px rgba(15, 56, 86, 0.20);
	border: 2px solid var(--primary-color);
	border-radius: 50%;
	z-index: 4;
	background-size: 28px auto;
	background-position: center;
	background-repeat: no-repeat;
	background-image: var(--ic-up-arrow-white);
	color: var(--sec-white-color);
	font-size: 14px;
	line-height: 1;
	text-align: center;
}

.btn_top:hover {
	background-color: var(--sec-white-color);
	background-image: var(--ic-up-arrow);
	color: var(--primary-color);
	text-decoration: none;
}

.btn_open_booklets {
	position: fixed;
	right: 0;
	top: 50vh;
	margin-top: -190px;
	display: inline-block;
	transform-origin: right bottom;
	transform: rotate(-90deg);
	padding: 8px 24px 8px 60px;
	background-color: var(--primary-color);
	background-image: var(--ic-buklet-download);
	background-position: left 24px center;
	background-repeat: no-repeat;
	background-size: 24px;
	border: 2px solid var(--primary-color);
	border-radius: 30px 30px 0 0;
	box-shadow: 0 2px 4px 0 rgba(26, 72, 106, 0.06), 0 2px 36px 0 rgba(15, 56, 86, 0.20);
	font-size: 20px;
	color: var(--sec-white-color);
	font-weight: 700;
    z-index: 6;
}

.btn_open_booklets:hover {
    text-decoration: none;
	background-color: var(--sec-white-color);
	background-image: var(--ic-buklet-download-white);
	color: var(--primary-color);
}


.privacy_policy_wrap {
	position: fixed;
	bottom: 50px;
	width: 1296px;
	left: calc(50% - 648px);
	display: flex;
	justify-content: space-around;
	align-items: center;
	gap: 30px;
	padding: 20px 30px;
	box-shadow: 0 -4px 10px #00000030;
	background-color: var(--sec-white-color);
	border-radius: 20px;
	box-sizing: border-box;
    z-index: 1000002;
}

.privacy_policy_wrap p {
	max-width: 1100px;
	font-size: 20px;
}

.privacy_policy_btn {
	display: block;
    padding: 14px 24px 10px 24px;
    border-radius: 30px;
    border: 2px solid var(--primary-color);
    background: var(--primary-color);
    font-size: 20px;
    line-height: 1.2;
    font-weight: 700;
    color: var(--sec-white-color);
	box-sizing: border-box;
	text-align: center;
}

.privacy_policy_btn:hover {
	text-decoration: none;
	background: var(--sec-white-color);
	color: var(--primary-color);
}

@media (max-width: 1296px) {
    .privacy_policy_wrap {
		width: auto;
		left: 60px;
		right: 60px;
	}
}

@media (max-width: 1160px) {
	footer .logo {
		float: none;
		position: absolute;
		top: -30px;
		right: 60px;
		width: 64px;
	}

	.footer_menu {
		float: none;
		width: 100%;
	}

	.footer_privacy-policy {
		margin-left:0 ;
	}

	.footer_address {
		width: 55%;
	}

	.footer_contacts {
		width: 45%;
	}

	.footer_rating {
		width: 180px;
		min-height: 0;
	}

	.footer_docs {
		width: auto;
	}

	.footer_docs.with_rating {
		width: calc(100% - 180px);
	}
}

@media (max-width: 860px) {
    .footer_menu_left, .footer_menu_right, .footer_address, .footer_contacts, .footer_site-created {
    	float: none;
        width: 100%;
    }

    .footer_contacts {
		margin-top: 32px;
	}

	.footer_rating {
		float: none;
		width: 100%;
		margin-bottom: 20px;
	}

	.footer_docs {
		float: none;
		width: 100%;
	}

}

@media (max-width: 700px) {
	.btn_top {
		bottom: 50px;
		left: 40px;
		margin-left: 0;
	}

	.b24-widget-button-wrapper {
		bottom: 46px !important;
	}

	.btn_open_booklets {
		left: 0;
		top: auto;
		bottom: 0;
		margin-top: 0;
		transform-origin: unset;
		transform: none;
		border-radius: 0;
	}
}

@media (max-width: 660px) {
	.btn_top {
		left:20px;
	}

	.b24-widget-button-wrapper {
		right: 16px !important;
	}

    .privacy_policy_wrap {
		display: block;
		padding: 20px;
		left: 0;
		right: 0;
		bottom: 0;
		border-radius: 0;
	}

	.privacy_policy_btn {
		width: 100%;
		margin-top: 20px;
	}

}

@media (max-width: 480px) {
    .footer_left, .footer_right  {
		float: none;
		width: 100%;
		padding: 0;
	}

	.footer_address {
		margin-top: 40px;
	}

	.footer_site-created {
		margin-top: 16px;
	}

	.footer_docs {
		flex-direction: column;
		align-items: start;
	}

	.footer_docs_item:not(:last-child)::after {
	    display: none;
	}

}
