footer {
    background-color: #212121;
	min-height: 400px;
	font-family: Roboto;
}

footer a {
	color: #ffffff;
}

footer a:hover {
	color: #E94141;
	text-decoration: none;
}

.footer-container {
	width: 80%;
	margin: 0 auto;
}

.footer-firstline {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 40px;
}

.footer-block {
	color: #ffffff;
	/*width: 20%;*/
	height: 200px;
}

.footer-block-map {
	width: 30%;
}

.footer-icons {
	color: gray;
	padding-right: 5px;
}

.address {
	margin-bottom: 0px;
}

.timetable {
	font-size: 10px;
}

.footer-menu ul {
	margin: 0;
	padding: 0px 0px 0px 25px;
}

.footer-menu li {
	list-style-type: square;
	color: #E94141;
}

.footer-payments {
	display: flex;
    justify-content: space-between;
}

.payment-system {
	padding: 0px 5px;
}

.payment-system img {
  height: auto;
  width: 100%;
  /* еще больше контроля с max-width */
  max-width: 57px;
}

.footer-map iframe {
	height: 200px;
	width: 100%;
}

.footer-secondline {
	margin: 30px 0px;
	display: flex;
}

.social-link {
	padding: 0px 10px;
	text-align: center;
}

.footer-secondline a:first-child {
	padding: 0px 10px 0px 0px;
}

.copyright {
	margin: 30px 0px;
	display: flex;
	flex-direction: column;
}

.client-copyright {
	color: #ffffff;
}

.client-copyright p {
	color: #ffffff;
	margin-bottom: 5px;
}

.copyright-kais p {
	margin-top: 0px;
}

/* FOOTER MEDIA*/

@media only screen and (max-width : 858px) {
	.footer-secondline a:first-child {
	padding: 0px 10px 0px 10px;
	}

	.footer-secondline {
    justify-content: center;
	}
}


@media only screen and (min-width : 577px) and (max-width : 767px) {
	.footer-firstline {
    padding-top: 40px;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    height: 100%;
    justify-content: center;
}

.footer-block {
    width: 33.3%;
	height: auto;
	margin-bottom: 20px;
}

.footer-container {
    width: 90%;
}

.footer-map {
    display: flex;
    justify-content: center;
}

.footer-block-map {
    width: 90%;
}
}

@media only screen and (min-width : 768px) and (max-width : 991px) {
	.footer-container {
	width: 90%;
	}
	
	.footer-block {
    /*width: 20%;*/
}

}

@media only screen and (max-width : 640px) {
	.footer-secondline {
    flex-direction: column;
	}
	
	.copyright {
    align-items: center;
	}
}

@media only screen and (max-width : 576px) {
	
	.footer-container {
	width: 100%;
	}

	.footer-firstline {
		display: flex;
		flex-direction: column;
		align-items: center;
		padding-top: 40px;
	}
	
	.footer-block {
	height: auto;
	width: auto;
	margin-bottom: 20px;
	}
	
	.footer-block-map {
	width: auto;
	}
	
	.footer-menu ul {
    margin: 0px 0px 0px -42px;
    padding: 0px;
	}
	
	
}