#wrapper-footer {
    background-color: #1e1f1f;
    position: relative;
    overflow: hidden;
    clear: both;
}

#footer {
    background-color: #1e1f1f;
    line-height: 1;
    padding: 24px 1em 0;
    max-width: 1240px;
    margin: 0 auto;
    position: static;
    overflow: hidden;
}

#footer h1,
#footer h1 a {
    color: #898989;
    font-size: 19px;
    margin-bottom: 20px;
}

#footer h2,
#footer h2 a {
    color: #fff;
    font-size: 16px;
    margin: 0 0 10px;
    text-decoration: none;
}

#footer h2 a:hover {
    text-decoration: underline;
}

#footer p {
    font-size: 16px;
    line-height: 1;
}

#FooterBlock {
    color: #fff;
    position: static;
}

#FooterBlock .navitem-group {
    float: left;
    width: 50%;
}

#FooterBlock #NavFooterZ.navitem-group {
    width: 100%;
}

#FooterBlock #NavFooterLogo {
    clear: both;
    margin: 16px 0 !important;
    width: 100%;
}

#NavFooterLogo .image,
#NavFooterLogo img {
    display: block;
    width: 231px;
}

#NavFooter2 {
    margin-top: 52px;
}

#NavFooter3 {
    margin-bottom: 26px;
}

#NavFooter4 {
    clear: both;
}

#NavFooter4 .navitem:last-child strong {
    color: #f4c44f;
}

#NavFooterZ h2 a {
    color: #555;
    font-size: 14px;
}

#footer p {
    margin-bottom: 10px;
}

#email a,
#copyright,
#designedby a {
    color: #555657;
}

#email,
#copyright,
#designedby {
    display: none;
    margin-bottom: 2px;
    line-height: 22px;
    font-size: 12px;
}

@media (min-width:320px) {
    #NavFooterZ > div {
        float: left;
        margin-right: 1em;
        position: relative;
    }

    #NavFooterZ > div:after {
        background: #555;
        content: '';
        height: 1em;
        position: absolute;
        right: -0.5em;
        top: 2px;
        width: 1px;
    }

    #NavFooterZ > div:last-child:after {
        display: none;
    }

}

@media (min-width:400px) {
    #FooterBlock .navitem-group {
        width: 33%;
    }

    #NavFooter3 {
        margin-top: 52px;
    }

    #NavFooterZ {
        clear: both;
        margin-bottom: 8px;
        width: 100%;
    }

}

@media (min-width:480px) {
    html {
        position: relative;
        min-height: 100%;
    }
    
    body {
        padding-bottom: 480px;
    }

    #FooterBlock {
        overflow: hidden;
    }

    #wrapper-footer {
        position: absolute;
        width: 100%;
        bottom: 0;
        height: 480px;
    }
}

@media (min-width:768px) {
    body {
        padding-bottom: 320px;
    }

    #wrapper-footer {
        height: 320px;
    }

    #FooterBlock #NavFooter1,
    #FooterBlock #NavFooter2,
    #FooterBlock #NavFooter3,
    #FooterBlock #NavFooter4,
    #FooterBlock #NavFooterLogo {
        box-sizing: border-box;
        float: left;
        width: 25%;
        margin: 0 0 50px 0;
    }

    #FooterBlock #NavFooter2,
    #FooterBlock #NavFooter3 {
        margin-top: 52px;
    }

    #NavFooter4 {
        clear: none;
    }

    #NavFooter2,
    #NavFooter3 {
        margin-top: 52px;
    }

    #NavFooter3 {
        clear: none;
    }

    #FooterBlock {
        overflow: hidden;
    }

    #FooterBlock #NavFooterLogo {
        margin: 0 0 16px !important;
    }

    #footer #email,
    #copyright,
    #designedby {
        border-right: 1px solid #555657;
        float: left;
        margin-right: 10px;
        padding-right: 10px;
    }

    #designedby {
        border-right: none;
    }

}