header nav {
    /*    width: calc(100% - 160px);*/
    width: 100%;
    float: left;
    margin: 0;
}

ul.sub-menu.sub-menu-1 {
    position: relative;
    -webkit-box-shadow: 0px 1px 4px -1px rgba(0, 0, 0, 0.32);
    -moz-box-shadow: 0px 1px 4px -1px rgba(0, 0, 0, 0.32);
    box-shadow: 0px 1px 4px -1px rgba(0, 0, 0, 0.32);
    /*    top: 53px;*/
}

ul.sub-menu.sub-menu-1:before {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 6px 10px 6px;
    border-color: transparent transparent #4175d6 transparent;
    left: 0;
    right: 0;
    margin: 0 auto;

}

.home .header {
    background: transparent;
}

.home .header .container {
    width: 93%;
    padding: 20px 0 0;
}

.header .container {
    width: 93%;
    padding: 10px 0 0;
}

.home .header.fadeInDown {
    background: rgb(65, 117, 214);
    display: block;
    animation-name: fadeInDown;
}

.home .header.slideInUp {
    animation-name: slideInUp;
    background: transparent;
    display: block;
}

.header.fadeInDown,
.header.slideInUp {
    background: rgb(65, 117, 214);
    transition: none;
    animation-name: none;
}

.header.fadeInDown .container {
    padding: 10px 0 0;
}

.header {
    background: rgb(65, 117, 214);
    width: 100%;
    position: fixed;
    min-height: 65px;
    top: 0;
    z-index: 999;
    padding: 0 0 0;
    margin: 0 auto;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

#navigate #head-mobile a.req {
    color: #fff;
    float: left;
    margin: -8px 0 0;
    text-decoration: none;
}

.logo {
    width: 200px;
    float: left;
    padding: 12px 0;
    position: relative;
}


/*
.logo:after {
    content: "";
    display: block;
    position: absolute;
    background: rgba(255,255,255,0.7);
    width: 1px;
    height: 100%;
    right: 3px;
    top: 0;
}
*/

.logo img {
    max-width: 100%;
}

header {
    width: calc(100% - 200px);
    float: right;
    padding: 0 0;
}

nav {
    position: relative;
    width: 100%;
    margin: 0 auto;
}

#navigate ul {
    padding: 0 0 0 25px;
    /*
    width: 50%;
    float: left;
*/
    text-align: right;
}

#navigate ul ul {
    padding: 0;
}

#navigate ul li:nth-child(1),
#navigate ul li:nth-child(2),
#navigate ul li:nth-child(3) {
    float: left;
}

#navigate ul ul li:nth-child(1),
#navigate ul ul li:nth-child(2),
#navigate ul ul li:nth-child(3) {
    float: none;
}

#navigate ul ul li:nth-child(3) {
    background: #4175d6;
    margin: 0;
    padding: 0;
}

#navigate ul ul li:nth-child(3) a {
    padding: 17px 27px;
}

#navigate ul ul li:nth-child(3) a:hover {
    background: #00afec;
}

#navigate ul li:nth-child(3) {
    background: #3db513;
    margin: 15px 12px 0;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

#navigate ul li:nth-child(3):hover {
    background: #34a00e;
}

#navigate ul li:nth-child(3) a {
    padding: 10px 15px;
}

#navigate ul li:nth-child(3) a:hover {
    color: #fff;
}

#navigate,
#navigate ul,
#navigate ul li,
#navigate ul li a,
#navigate #head-mobile {
    border: 0;
    list-style: none;
    line-height: 1;
    display: block;
    position: relative;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

#navigate:after,
#navigate > ul:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

#navigate #head-mobile {
    display: none;
}

#navigate {
    font-weight: normal;
}

#navigate {
    text-align: right;
}

#navigate > ul > li {
    /*    float: left;*/
    display: inline-block;
    font-family: 'MontserratRegular';
}

#navigate > ul > li > a {
    padding: 24px 12px 25px;
    text-decoration: none;
    color: #fff;
    font-weight: 400;
}

#navigate > ul > li:hover > a,
#navigate ul li.active a {
    color: #faa819;
}

#navigate > ul > li:hover,
#navigate ul li.active:hover,
#navigate ul li.active,
#navigate ul li.has-sub.active:hover {
    /*    background: rgba(255, 255, 255, 0.20) none repeat scroll 0 0;*/
    -webkit-transition: background .3s ease;
    -ms-transition: background .3s ease;
    transition: background .3s ease;
    color: #e5b86f;
}


/* first main menu plus & minus */


/*

#navigate > ul > li.has-sub > a {
    padding-right: 30px;
}


#navigate > ul > li.has-sub > a:after {
    position: absolute;
    top: 22px;
    right: 11px;
    width: 8px;
    height: 2px;
    display: block;
    background: #ddd;
    content: '';
}

#navigate > ul > li.has-sub > a:before {
    position: absolute;
    top: 19px;
    right: 14px;
    display: block;
    width: 2px;
    height: 8px;
    background: #ddd;
    content: '';
    -webkit-transition: all .25s ease;
    -ms-transition: all .25s ease;
    transition: all .25s ease;
}
*/


/* first main menu plus & minus */

#navigate > ul > li.has-sub:hover > a:before {
    top: 23px;
    height: 0;
}

#navigate ul ul {
    position: absolute;
    left: -9999px;
}

#navigate ul ul li {
    height: 0;
    -webkit-transition: all .25s ease;
    -ms-transition: all .25s ease;
    background: #4175d6;
    transition: all .25s ease;
}

#navigate ul ul li:hover {
    background: #00afec;
}

#navigate li:hover > ul {
    left: auto;
    right: -88px;
}

#navigate li:hover > ul > li {
    height: 48px;
}

#navigate ul ul ul {
    margin-left: 100%;
    top: 0;
}

#navigate ul ul li a {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 17px 27px;
    width: 250px;
    text-decoration: none;
    color: #ddd;
    font-weight: 300;
    text-align: left;
}

#navigate ul ul li:last-child > a,
#navigate ul ul li.last-item > a {
    border-bottom: 0;
}

#navigate ul ul li:hover > a,
#navigate ul ul li a:hover {
    color: #fff;
}


/* second main menu plus & minus */


/*

#navigate ul ul li.has-sub > a:after {
    position: absolute;
    top: 16px;
    right: 11px;
    width: 8px;
    height: 2px;
    display: block;
    background: #ddd;
    content: '';
}

#navigate ul ul li.has-sub > a:before {
    position: absolute;
    top: 13px;
    right: 14px;
    display: block;
    width: 2px;
    height: 8px;
    background: #ddd;
    content: '';
    -webkit-transition: all .25s ease;
    -ms-transition: all .25s ease;
    transition: all .25s ease;
}
*/


/* second main menu plus & minus */

#navigate ul ul > li.has-sub:hover > a:before {
    top: 17px;
    height: 0;
}

#navigate ul ul li.has-sub:hover,
#navigate ul li.has-sub ul li.has-sub ul li:hover {
    background: #363636;
}

#navigate ul ul ul li.active a {
    border-left: 1px solid #333;
}

#navigate > ul > li.has-sub > ul > li.active > a,
#navigate > ul ul > li.has-sub > ul > li.active> a {
    border-top: 1px solid #fff;
}

@media screen and (min-width: 1025px) and (max-width: 1170px) {
    #navigate ul {
        padding: 0 0 0 15px;
    }
}

@media screen and (max-width:1024px) {
    #navigate ul ul li:nth-child(3) a {
            padding-left: 8%;
    }
    ul.sub-menu.sub-menu-1 {
        box-shadow: none;
    }
    #navigate ul li:nth-child(3) {
        display: none;
    }
    #navigate ul ul li:nth-child(3),
    .hire {
        display: block;
    }
    ul.sub-menu.sub-menu-1:before {
        display: none;
    }
    #navigate li:hover > ul {
        right: 0;
    }
    .header.fadeInDown .container {
        padding: 5px 0 0;
    }
    .logo {
        margin: 0 0 0 5%;
        padding: 10px 0;
        width: 155px;
    }
    .hire {
        position: absolute;
        top: -62px;
        padding: 0 0 0;
        right: 15%;
    }
    .hire a {
        padding: 10px 15px;
    }
    header {
        text-align: left;
        border-radius: 0;
        top: 65px;
        width: 100%;
        position: fixed;
    }
    .header .container,
    .home .header .container {
        width: 100%;
        padding: 5px 0 0;
    }
    #navigate ul {
        padding: 0 0 0 0;
    }
    .header .top {
        width: 70%;
        max-width: 70%;
        float: left;
    }
    nav {
        width: 100%;
    }
    #navigate {
        width: 100%;
    }
    #navigate ul {
        width: 100%;
        background: #4175d6;
        display: none;
    }
    #navigate ul li {
        width: 100%;
        border-top: 1px solid rgba(255, 255, 255, 0.26);
    }
    #navigate ul li:hover {
        background: #00afec;
    }
    #navigate > ul > li > a {
        padding: 18px 5% 18px;
        color: #fff;
        font-size: 1em;
    }
    #navigate > ul > li:hover > a,
    #navigate ul li.active a {
        color: #fff;
    }
    #navigate ul ul li,
    #navigate li:hover > ul > li {
        height: auto;
    }
    #navigate ul li a,
    #navigate ul ul li a {
        width: 100%;
        border-bottom: 0;
    }
    #navigate > ul > li {
        float: none;
        text-align: left;
    }
    #navigate ul ul li a {
        padding-left: 8%;
    }
    #navigate ul ul li {
        background: #4175d6!important;
    }
    #navigate ul ul li:hover {
        background: #00afec!important;
    }
    #navigate ul ul ul li a {
        padding-left: 35px;
    }
    #navigate ul ul li a {
        color: #ddd;
        background: none;
    }
    #navigate ul ul li:hover > a,
    #navigate ul ul li.active > a {
        color: #fff;
    }
    #navigate ul ul,
    #navigate ul ul ul {
        position: relative;
        left: 0;
        width: 100%;
        margin: 0;
        text-align: left;
    }
    #navigate > ul > li.has-sub > a:after,
    #navigate > ul > li.has-sub > a:before,
    #navigate ul ul > li.has-sub > a:after,
    #navigate ul ul > li.has-sub > a:before {
        display: none
    }
    #navigate #head-mobile {
        display: block;
        padding: 23px;
        color: #ddd;
    }
    .button {
        width: 21px;
        height: 18px;
        position: absolute;
        right: 5%;
        top: -40px;
        cursor: pointer;
        z-index: 12399994;
    }
    .button:after {
        position: absolute;
        top: 6px;
        right: 0;
        display: block;
        height: 4px;
        width: 20px;
        border-top: 2px solid #fff;
        border-bottom: 2px solid #fff;
        content: '';
    }
    .button:before {
        -webkit-transition: all .3s ease;
        -ms-transition: all .3s ease;
        transition: all .3s ease;
        position: absolute;
        top: 0;
        right: 0;
        display: block;
        height: 2px;
        width: 20px;
        background: #fff;
        content: '';
    }
    .button.menu-opened:after {
        -webkit-transition: all .3s ease;
        -ms-transition: all .3s ease;
        transition: all .3s ease;
        top: 6px;
        border: 0;
        height: 2px;
        width: 19px;
        background: #fff;
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        -o-transform: rotate(45deg);
        transform: rotate(45deg);
    }
    .button.menu-opened:before {
        top: 6px;
        background: #fff;
        width: 19px;
        -webkit-transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
        -o-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }
    #navigate .submenu-button {
        position: absolute;
        z-index: 99;
        right: 0;
        top: 5px;
        display: block;
        height: 46px;
        width: 46px;
        cursor: pointer;
    }
    #navigate .submenu-button.submenu-opened {
        background: none;
    }
    #navigate ul ul .submenu-button {
        height: 46px;
        width: 46px;
        top: 10px;
        right: 6px;
    }
    #navigate .submenu-button:after {
        position: absolute;
        top: 22px;
        right: 19px;
        width: 8px;
        height: 2px;
        display: block;
        background: #ddd;
        content: '';
    }
    #navigate ul ul .submenu-button:after {
        top: 15px;
        right: 13px;
    }
    #navigate .submenu-button.submenu-opened:after {
        background: #fff
    }
    #navigate .submenu-button:before {
        position: absolute;
        top: 19px;
        right: 22px;
        display: block;
        width: 2px;
        height: 8px;
        background: #ddd;
        content: '';
    }
    #navigate ul ul .submenu-button:before {
        top: 12px;
        right: 16px;
    }
    #navigate .submenu-button.submenu-opened:before {
        display: none;
    }
    #navigate ul ul ul li.active a {
        border-left: none;
    }
    #navigate > ul > li.has-sub > ul > li.active > a,
    #navigate > ul ul > li.has-sub > ul > li.active > a {
        border-top: none;
    }
    .header.bg_change #navigate ul {
        padding: 0;
    }
}