﻿@media screen and (min-width: 980px) {

	.footer {
		flex: 0 0 auto;
	}
	
	.footer .container {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
	}
	
	.footer .footer-bottom .container {
		justify-content: center;
		align-items: center;
	}
	
	.footer .col {
		width: 25%;
		display: inline-block;
		vertical-align: top;
		margin-right: 100px;
	}
	
	.footer .col:last-child {
		margin-left: auto;
		margin-right: 0;
	}
	
}


@media screen and (max-width: 979px) {
	
	.footer {
		text-align: center;
	}
	
	.footer .col {
		width: 100%;
		margin: 0 0 40px;
	}
	
	.footer .col:last-child {
		margin: 0;
	}
	
}


/* ПОДВАЛ */

.footer {
	width: 100%;
}

.footer.light {
	color: #000;
}

.footer.dark {
	color: #fff;
}

.footer .footer-top {
	font-size: 15px;
	padding: 45px 0 20px;
}

.footer.light .footer-top {
	background-color: #fff;
}

.footer.dark .footer-top {
	background-color: #2a2a2a;
}

.footer.light a {
    color: #000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.footer.dark a {
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer.light a:hover {
    border-color: rgba(0, 0, 0, 0.6);
}

.footer.dark a:hover {
    border-color: rgba(255, 255, 255, 0.6);
}

.footer .footer-top ul {
	display: block;
	margin: 0 0 30px;
}

.footer .footer-top ul li {
	display: block;
    margin: 0 0 15px;
}

.footer .footer-top ul li.name {
    font-size: 11px;
    letter-spacing: 0.075em;
    text-transform: uppercase;
	margin-bottom: 25px;
}

.footer.light .footer-top ul li.name {
    color: rgba(0, 0, 0, 0.5);
}

.footer.dark .footer-top ul li.name {
    color: rgba(255, 255, 255, 0.5);
}

.footer .footer-top ul li .explanation,
.footer .footer-top small {
	display: block;
	font-size: 12px;
	line-height: 1.3;
	margin-bottom: 4px;
}

.footer.light .footer-top ul li .explanation,
.footer.light .footer-top small {
    color: rgba(0, 0, 0, 0.63);
}

.footer.dark .footer-top ul li .explanation,
.footer.dark .footer-top small {
    color: rgba(255, 255, 255, 0.63);
}

.footer .footer-top .social-groups {
    margin-bottom: 30px;
}

.footer .footer-bottom {
	font-size: 14px;
    padding: 20px 0;
}

.footer.light .footer-bottom {
	background-color: #f8f8f8;
}

.footer.dark .footer-bottom {
	background-color: #222;
}