/**********************************************************************/
/**********************************************************************/
.footer {
	padding-top: 130px;
	padding-bottom: 100px;
	background-color: #C5DCEB;
}

/**********************************************************************/
.footer__menu {
	margin: auto auto 0 0;
}
.footer__menu .menu__list {
	display: flex;
	flex-wrap: wrap;
	padding: 0;
	list-style: none;
}
.footer__menu .menu__list .menu-item {
	margin: 0 35px 10px 0;
}
.footer__menu .menu__list .menu-item:last-child {
	margin-right: 0;
}
.footer__menu .menu__list .menu-item span {
	display: none;
}
.footer__menu .menu__list .menu-item a {
	display: block;
	font-family: "Montserrat", sans-serif;
	font-weight: 400;
	font-size: 20px;
	line-height: 30px;
	color: #2C4080;
	transition: opacity 0.3s;
}
.footer__menu .menu__list .menu-item.current-menu-item a,
.footer__menu .menu__list .menu-item.current-page-ancestor a {
	font-weight: 700;
}
.footer__menu .menu__list .menu-item a:hover {
	opacity: 0.6;
}

/**********************************************************************/
.footer__socials {
	display: flex;
	justify-content: flex-end;
}
.footer__socials a {
	display: flex;
	flex-direction: column;
	margin: 0 0 20px 20px;
	transition: opacity 0.3s;
}
.footer__socials a:hover {
	opacity: 0.6;
}
.footer__socials a img {
	width: 30px;
}

/**********************************************************************/
.footer__contacts {
	display: flex;
	justify-content: flex-end;
	margin-bottom: 10px;
}
.footer__contacts a {
	display: block;
	margin-left: 20px;
	font-family: "Montserrat", sans-serif;
	font-weight: 400;
	font-size: 20px;
	line-height: 30px;
	color: #2C4080;
	transition: opacity 0.3s;
}
.footer__contacts a:hover {
	opacity: 0.6;
}
.footer__contacts a.footer__tel {
	font-weight: 500;
}

/**********************************************************************/
.footer__scroll {
	position: fixed;
	bottom: 50px;
	right: 30px;
	display: flex;
	flex-direction: column;
	width: 50px;
	height: 50px;
	border-radius: 25px;
	background-color: #3F7C94;
	opacity: 0;
	pointer-events: none;
	cursor: pointer;
	z-index: 100;
	transition: opacity 0.3s;
}
.footer__scroll.show {
	opacity: 1;
	pointer-events: initial;
}
.footer__scroll:hover {
	opacity: 0.6;
}
.footer__scroll img {
	width: 24px;
	transform: rotate(90deg);
	margin: auto;
}




/**********************************************************************/
/*********************         RESPONSIVE         *********************/
/**********************************************************************/
@media screen and (max-width: 1440px) {
	/******************************************************************/
	/******************************************************************/
	.footer {
		padding-top: 80px;
		padding-bottom: 40px;
	}

	/******************************************************************/
	.footer__menu .menu__list .menu-item {
		margin-right: 25px;
	}
	.footer__menu .menu__list .menu-item a {
		font-size: 15px;
		line-height: 20px;
	}

	/******************************************************************/
	.footer__socials a {
		margin: 0 0 15px 15px;
	}
	.footer__socials a img {
		width: 25px;
	}

	/******************************************************************/
	.footer__contacts a {
		font-size: 15px;
		line-height: 20px;
	}
}


@media screen and (max-width: 767px) {
	/******************************************************************/
	/******************************************************************/
	.footer {
		padding-bottom: 60px;
	}

	/******************************************************************/
	.footer__menu {
		margin: 0 auto 40px;
	}
	.footer__menu .menu__list {
		flex-direction: column;
	}
	.footer__menu .menu__list .menu-item {
		margin: 0 auto 4px;
	}
	.footer__menu .menu__list .menu-item a {
		padding: 4px 0;
	}

	/******************************************************************/
	.footer__socials {
		justify-content: center;
	}
	.footer__socials a {
		margin: 0 6px;
	}

	/******************************************************************/
	.footer__contacts {
		flex-direction: column;
		justify-content: center;
		margin-bottom: 30px;
		order: -1;
	}
	.footer__contacts a {
		margin: 0 auto 10px;
	}
	
	/******************************************************************/
	.footer__scroll {
		bottom: 10px;
		right: 10px;
		width: 40px;
		height: 40px;
		border-radius: 20px;
	}
	.footer__scroll img {
		width: 20px;
	}
}