/* Layout */

.footer {
    color: #a1a1a1;
    background: #212121;
}

.footer a {
    text-decoration: none;
}

.footer a:hover {
    color: #ce4141;
    text-decoration: underline;
}

.footer-top > div {
    width: 1280px;
    margin: 0 auto;
    padding: 40px 60px 0 60px;
}

.footer-bottom {
    color: #7e7e7e;
    background: #333;
}

.footer-bottom > div {
    width: 1280px;
    padding: 20px 60px;
    margin: 0 auto;
}

@media (max-width: 1320px) {

    /* Layout */

    .footer-top > div {
        width: auto;
        height: 100%;
        margin: 0;
        padding: 40px 20px 0 20px;
    }

    .footer-bottom > div {
        width: auto;
        height: 100%;
        padding: 20px;
        margin: 0;
    }
}

/* Main footer */

.footer-main > div {
    display: table;
    table-layout: fixed;
    width: 100%;
}

.footer-main-left,
.footer-main-center,
.footer-main-right {
    display: table-cell;
    vertical-align: top;
}

.footer-main-left {
    width: 30%;
    padding-right: 10px;
}

.footer-main-center {
    width: 20%;
    padding: 0 10px;
}

.footer-main-right {
    width: 50%;
    padding-left: 10px;
}

@media (max-width: 1320px) {

    .footer-main > div {
        display: block;
    }

    .footer-main-left,
    .footer-main-center,
    .footer-main-right {
        display: inline-block;
    }

    .footer-main-left {
        width: 50%;
        padding: 0 10px 0 0;
    }

    .footer-main-center {
        width: 50%;
        padding: 0 0 0 10px;
    }

    .footer-main-right {
        width: 100%;
        padding: 40px 0 0 0;
    }
}

@media (max-width: 680px) {

    .footer-main-left,
    .footer-main-center,
    .footer-main-right {
        display: block;
        width: 100%;
    }

    .footer-main-left {
        padding: 0;
    }

    .footer-main-center {
        padding: 40px 0 0 0;
    }

    .footer-main-right {
        padding: 40px 0 0 0;
    }
}

/* Title */

.footer-title {
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    line-height: 1;
    color: #fff;
}

/* Contacts */

.footer-address {
    margin-top: 20px;
    padding-left: 36px;
    background: url('../images/footer/map-marker-ver-47A3DF74F190D96A356E2B4C3858CBB4.png') left top no-repeat;
}

.footer-phone {
    margin-top: 20px;
    padding-left: 36px;
    background: url('../images/footer/phone-ver-50461D0AA7112102C48D3E2F18CE5375.png') left top no-repeat;
}

.footer-email {
    margin-top: 20px;
    padding-left: 36px;
    background: url('../images/footer/envelope-ver-A64444784DC6A19B6F198C5EAD09D946.png') left top no-repeat;
}

/* Links */

.footer-links {
    margin-top: 20px;
}

/* Form */

.footer-form {
    margin-top: 5px;
}

.footer-form-content > div {
    display: table;
    table-layout: fixed;
    width: 100%;
}

.footer-form-content-left,
.footer-form-content-right {
    display: table-cell;
    vertical-align: top;
    width: 50%;
}

.footer-form-content-left {
    padding-right: 10px;
}

.footer-form-content-right {
    padding-left: 10px;
}

.footer-form .primary-button {
    font-size: 14px;
    width: 100%;
    height: 50px;
    padding: 0 20px;
    margin-top: 15px;
    line-height: 50px;
}

@media (max-width: 680px) {

    .footer-form-content > div {
        display: block;
    }

    .footer-form-content-left,
    .footer-form-content-right {
        display: block;
        width: 100%;
        padding: 0;
    }
}

/* Copyright footer */

.footer-copyright {
    display: table;
    table-layout: fixed;
    width: 100%;
    height: 100%;
}

.footer-copyright > div {
    display: table-cell;
    vertical-align: middle;
}

/* Copyright label */

.footer-copyright-label strong {
    font-weight: normal;
    color: #ce4141;
}