#header:after,
#footer:after {
    content: " ";
    display: block;
    clear: both;
}

#nav ul,
.social-networks,
.footer-wrap .box ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

#header *, #footer * {
    box-sizing: border-box;
}

.center-block {
    margin: 0 auto;
}

.logo {
    float: left;
    width: 135px;
    height: 27px;
    margin: 13px 0 10px;
}

.logo a {
    display: block;
}

.logo img {
    width: 100%;
}

#nav {
    float: right;
}

#nav ul {
    font-weight: 300;
    font-size: 0;
    line-height: 0;
    letter-spacing: -4px;
    width: 400px;
}

#nav ul a {
    font-weight: 300;
    color: #f6f7f8;
    text-decoration: none;
    padding: 18px 13px;
    display: block;
    -webkit-transition: all .2s linear;
    transition: all .2s linear;
}

#nav ul a:hover {
    background: #f24c24;
    color: #f9f9f9;
}

#nav li {
    position: relative;
    font-size: 15px;
    line-height: 17px;
    letter-spacing: 0;
    display: inline-block;
    vertical-align: top;
}

#nav li:after {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    margin: 0;
    width: 2px;
    content: "";
    background: #e2dedf;
}

#nav li.active a {
    background: #f24c24;
    color: #f9f9f9;
}

.nav-opener {
    display: none;
    float: right;
    width: 27px;
    height: 22px;
    position: relative;
    border-radius: 3px;
}

.nav-opener:before,
.nav-opener:after,
.nav-opener span {
    background: #fff;
    border-radius: 4px;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    margin-top: -2px;
    -webkit-transition: all .2s linear;
    transition: all .2s linear;
}

.nav-opener:before,
.nav-opener:after {
    content: "";
    top: 2px;
}

.nav-opener:after {
    top: 20px;
}

#header {
    text-align: right;
    background: #162334;
    padding: 0 0 0 24px;
    box-shadow: 0 1px 3px 0 #a3a2a2;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 30;
}

#footer {
    text-align: right;
    background: #162334;
    color: #f9f9f9;
    font-size: 11px;
    line-height: 13px;
    padding: 0 25px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 21;
}

#footer .copyright {
    float: left;
    margin: 11px 0 14px;
}

#footer .copyright a {
    color: #f9f9f9;
    text-decoration: none;
}

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

#footer .contact-us {
    letter-spacing: 1px;
    float: right;
    font-size: 13px;
    color: #f9f9f9;
    margin: 11px 0 13px 11px;
    position: relative;
}

#footer .contact-us:hover {
    color: #fff;
}

#footer .contact-us:after {
    position: absolute;
    top: 4px;
    bottom: 0;
    left: -11px;
    content: "";
    width: 1px;
    margin: -15px 0;
    background: #fff;
}

#footer .btn-demo-holder {
    left: 0;
    position: absolute;
    right: 0;
    text-align: center;
    top: -16px;
}

#footer .btn-demo {
    display: inline-block;
    vertical-align: top;
    text-align: center;
    min-width: 200px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 16px;
    line-height: 18px;
    color: #fff;
    padding: 7px 10px;
    border-radius: 8px;
    background: #f24c24;
    -webkit-transition: all .2s linear;
    transition: all .2s linear;
}

#footer .btn-demo:hover {
    text-decoration: none;
    background: #ff795a;
}

#footer .footer-drop {
    display: none;
}

#footer #googleTranslate {
    position: absolute;
    right: 25px;
    bottom: 50px;
}

.footer-wrap {
    text-align: left;
    font-size: 12px;
    line-height: 14px;
    color: #f9f9f9;
    padding: 7px 3px 6px;
    overflow: hidden;
}

.footer-wrap .box {
    width: 106px;
    float: left;
    margin: 0 0 0 15px;
}

.footer-wrap .box:first-child {
    margin: 0;
}

.footer-wrap .box h1 {
    font-size: 13px;
    line-height: 15px;
    margin: 0 0 4px;
    color: #f9f9f9;
    text-transform: uppercase;
}

.footer-wrap .box ul li {
    margin: 0 0 5px;
}

.footer-wrap .box ul a {
    color: #f9f9f9;
}

.touchdevice .footer-drop {
    display: block !important;
    height: auto !important;
}

.social-networks {
    font-size: 0;
    line-height: 0;
    letter-spacing: -4px;
    overflow: hidden;
    padding: 9px 15px;
}

.social-networks li {
    font-size: 17px;
    line-height: 20px;
    letter-spacing: 0;
    display: inline-block;
    vertical-align: top;
    margin: 0 0 0 18px;
}

.social-networks li:first-child {
    margin: 0;
}

.social-networks a {
    display: block;
    text-indent: 9999px;
    overflow: hidden;
    width: 21px;
    height: 21px;
    background: url(../img/sprite.png) no-repeat -201px -3px;
}

.social-networks a:hover {
    opacity: .8;
}

.social-networks .facebook {
    width: 22px;
    background-position: -235px -3px;
}

.social-networks .linkedin {
    background-position: -273px -3px;
}

.accessibility {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.accessibility:focus {
    position: static;
    width: auto;
    height: auto;
}

@media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi) {
    .social-networks a {
        background: url("../img/sprite-2x.png") no-repeat -1px -83px;
        background-size: 182px 375px;
    }

    .social-networks .facebook {
        background-position: -41px -83px;
    }

    .social-networks .linkedin {
        background-position: -82px -83px;
    }
}

@media only screen and (max-width: 1024px) {
    #nav ul a {
        padding: 18px 14px;
    }

    #footer {
        position: relative !important;
    }

    #footer .footer-drop {
        display: block !important;
        height: auto !important;
    }
}

@media only screen and (max-width: 767px) {
    #footer #googleTranslate {
        bottom: 30px;
    }

    #header {
        padding: 16px 10px 9px 8px;
    }

    .logo {
        margin: 0;
    }

    .nav-opener {
        display: block;
        margin: 0 auto;
    }

    .nav-drop {
        overflow: hidden;
        position: absolute;
        top: 46px;
        left: 0;
        z-index: 500;
        width: 100%;
        max-height: 0;
    }

    .nav-active .nav-drop {
        max-height: 4000px;
    }

    .nav-drop > ul {
        -webkit-transition: all .25s linear;
        transition: all .25s linear;
        -webkit-transform: translateY(-100%);
        -ms-transform: translateY(-100%);
        transform: translateY(-100%);
        background: #162334;
    }

    .nav-active .nav-drop > ul {
        -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
        transform: translateY(0);
    }

    #nav ul {
        float: none;
        width: 100%;
    }

    #nav li {
        float: none;
        display: block;
        text-align: center;
        margin: 0;
        border: none;
        border-bottom: 1px solid #e8eaec;
        font-size: 22px;
        line-height: 24px;
    }

    #nav li:after {
        display: none;
    }

    #nav ul ul li {
        border: none;
    }

    #nav li > a {
        padding: 24px 20px;
        border-radius: 0;
        line-height: 20px;
        position: relative;
        color: #fff;
        text-transform: uppercase;
    }

    #footer {
        padding: 10px;
        overflow: hidden;
    }

    #footer .btn-demo {
        display: none;
    }

    #footer .copyright {
        margin: 0 0 11px;
    }

    #footer .contact-us {
        padding: 0;
        margin: 0 0 11px;
        border-left: none;
    }

    #footer .contact-us:after {
        display: none;
    }

    #footer .social-networks {
        width: 100%;
        padding: 0;
    }

    #footer .center-block {
        overflow: hidden;
    }

    #footer .footer-drop {
        display: block !important;
        height: auto !important;
    }

    #footer .footer-wrap {
        padding: 10px 0;
    }

    #footer .footer-wrap .box {
        width: 33.33%;
        margin: 0 0 10px;
        padding: 0 5px;
    }
}

.content.padded {
    padding: 53px 0 0;
}

#wrapper {
    width: 100%;
    overflow: hidden;
    float: left;
}