*,
*:after,
*::before {
    box-sizing: border-box;
}

.gn-menu-main,
.gn-menu-main ul {
    margin: 0;
    padding: 0;
    background: rgb(0,99,121);
    color: #fff;
    list-style: none;
    text-transform: none;
    font-weight: 300;
    line-height: 60px;
}

.gn-menu-main {
    position: fixed;
    z-index: 999;
    left: 0;
    width: 100%;
    height: 60px;
    font-size: 13px;
}
.gn-menu-main.gn-menu-primary { top: 0; border-bottom: solid 1px #c6d0da; }
.gn-menu-main.gn-menu-primary, .gn-menu-main.gn-menu-primary ul { background: rgb(0,77,100); }
.gn-menu-main.gn-menu-secondary { top: 60px; }

.gn-menu-main.gn-menu-primary > a {
    float: right;
}
.gn-menu-main.gn-menu-primary > a > img {
    margin: 2px 25px 0 0;
    vertical-align: inherit;
}

.gn-menu-main a {
    display: block;
    height: 100%;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
}
.gn-menu-main a:focus,
.gn-menu-main a:visited {
    color: #fff !important;
    text-decoration: none;
}

/*.no-touch .gn-menu-main a:hover,*/
.no-touch .gn-menu li.gn-search-item:hover,
.no-touch .gn-menu li.gn-search-item:hover a {
    background: rgb(0,99,121);
    color: white;
}

.gn-menu-main > li {
    display: block;
    float: left;
    height: 100%;
    border-right: 1px solid #c6d0da;
    background: rgb(0,99,121);
    text-align: center;
}
.gn-menu-main.gn-menu-primary > li {
    background: rgb(0,77,100);
}
.gn-menu-main > li.sections {
    background: rgba(255,255,255,.15);
}
.gn-menu-main > li:hover {
    color: white;
    background-color: rgba(0,166,216,.7);
}
.gn-menu-main > li:hover > a,
.gn-menu-main > li > a:focus {
    color: white;
    text-decoration: none;
}

.gn-menu-main li.gn-trigger {
    position: relative;
    width: 60px;
    user-select: none;
}

/*.gn-menu-main:not(.gn-menu-primary) > li:last-child*/
.gn-menu-main:not(.gn-menu-primary) > li:nth-last-child(-n+3) {
    float: right;
    border-right: none;
    border-left: 1px solid #c6d0da;
}

.gn-menu-main > li > a {
    padding: 0 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
}

.gn-menu-main > li:not(.gn-trigger):not(.logo) > a {
    vertical-align: middle;
    display: table-cell;
    height: 60px;
    line-height: 15px;
    max-width: 180px;
    min-width: 167px;
}

.gn-menu-main:after {
    display: table;
    clear: both;
    content: '';
}

/* WRAPPER */

.gn-menu-wrapper {
    position: fixed;
    /*top: 60px;*/
    top: 120px;
    bottom: 0;
    left: 0;
    overflow: hidden;
    width: 60px; /* will be transitioned to 340px */
    border-top: 1px solid #c6d0da;
    background: rgb(0,99,121);
    transform: translateX(-60px); /* will be transitioned to 0px */
    -webkit-transform: translateX(-60px);
    -moz-transform: translateX(-60px);
    -ms-transform: translateX(-60px);
    -o-transform: translateX(-60px);
    transition: transform 0.3s, width 0.3s;
    -webkit-transition: -webkit-transform 0.3s, width 0.3s;
    -moz-transition: -moz-transform 0.3s, width 0.3s;
    -ms-transition: -ms-transform 0.3s, width 0.3s;
    -o-transition: -o-transform 0.3s, width 0.3s;
}

.gn-scroller {
    position: absolute;
    overflow-y: scroll;
    width: 370px;
    min-height: 300px;
    height: 100%;
}

.gn-menu {
    border-bottom: 1px solid #c6d0da;
    text-align: left;
    font-size: 18px;
}
.gn-menu li.disabled {
    opacity: .5;
}
.gn-menu li.disabled a {
    cursor: default;
}

.gn-menu li:not(:first-child),
.gn-menu li li {
    box-shadow: inset 0 1px #c6d0da;
}
.gn-menu li:not(.disabled):hover > a {
    transition: 0.2s;
    -webkit-transition: 0.2s;
    -moz-transition: 0.2s;
    -ms-transition: 0.2s;
    -o-transition: 0.2s;
    box-shadow: inset 0 1px #444;
    background-color: rgba(0,166,216,.7);
    color: #fff;
}

.gn-submenu li {
    overflow: hidden;
    height: 0;
    transition: height 0.3s;
    -webkit-transition: height 0.3s;
    -moz-transition: height 0.3s;
    -ms-transition: height 0.3s;
    -o-transition: height 0.3s;
}

.gn-submenu li a {
    color: #c1c9d1;
    padding-left: 60px;
}

input.gn-search {
    position: relative;
    z-index: 10;
    padding-left: 60px;
    outline: none;
    border: none;
    background: transparent;
    color: #fff;
    font-weight: 300;
    cursor: pointer;
}

/* placeholder */

.gn-search::-webkit-input-placeholder,
.gn-search:-moz-placeholder,
.gn-search::-moz-placeholder,
.gn-search:-ms-input-placeholder {
    color: #fff;
}

.gn-search:focus::-webkit-input-placeholder,
.no-touch .gn-menu li.gn-search-item:hover .gn-search:focus::-webkit-input-placeholder {
    color: transparent;
}

input.gn-search:focus {
    cursor: text;
}

.no-touch .gn-menu li.gn-search-item:hover input.gn-search {
    color: rgba(0,166,216,.7);
}

/* placeholder */

.no-touch .gn-menu li.gn-search-item:hover .gn-search::-webkit-input-placeholder { color: rgba(0,166,216,.7); }
.no-touch .gn-menu li.gn-search-item:hover .gn-search:-moz-placeholder { color: rgba(0,166,216,.7); }
.no-touch .gn-menu li.gn-search-item:hover .gn-search::-moz-placeholder { color: rgba(0,166,216,.7); }
.no-touch .gn-menu li.gn-search-item:hover .gn-search:-ms-input-placeholder { color: rgba(0,166,216,.7); }

.gn-menu-main a.gn-icon-search {
    position: absolute;
    top: 0;
    left: 0;
    height: 60px;
}

.gn-icon::before {
    display: inline-block;
    width: 60px;
    text-align: center;
    text-transform: none;
    font-weight: normal;
    font-style: normal;
    font-variant: normal;
    line-height: 1;
    speak: none;
    -webkit-font-smoothing: antialiased;
}

.gn-menu .gn-icon::before {
    content: " ";
    height: 24px;
    position: relative;
    top: 5px;
}

.gn-icon span {
    width: 0;
    height: 0;
    display: block;
    overflow: hidden;
}
.gn-icon-profile::before { background: url('../img/png/user_white_24px.png') no-repeat center center; }
.gn-icon-requests::before { background: url('../img/png/requests_white_24px.png') no-repeat center center; }
.gn-icon-help::before { background: url('../img/png/help_white_24px.png') no-repeat center center; }
.gn-icon-webmaster::before { background: url('../img/png/pin_white_24px.png') no-repeat center center; }

.gn-icon-menu .glyphicon {
    font-size: 30px;
    margin-left: -15px;
    vertical-align: -10px;
}

.gn-menu-wrapper.gn-open-all,
.gn-menu-wrapper.gn-open-part {
    transform: translateX(0px);
    -webkit-transform: translateX(0px);
    -moz-transform: translateX(0px);
    -ms-transform: translateX(0px);
    -o-transform: translateX(0px);
}

.gn-menu-wrapper.gn-open-all {
    width: 340px;
}

.gn-menu-wrapper.gn-open-all .gn-submenu li {
    height: 60px;
}

@media screen and (max-width: 422px) {
    .gn-menu-wrapper.gn-open-all {
        transform: translateX(0px);
        -webkit-transform: translateX(0px);
        -moz-transform: translateX(0px);
        -ms-transform: translateX(0px);
        -o-transform: translateX(0px);
        width: 100%;
    }
    .gn-menu-wrapper.gn-open-all .gn-scroller {
        width: 130%;
    }
}
@media screen and (max-width: 1400px) {
    .gn-menu-main { font-size: 11px; }
    .gn-menu { font-size: 16px; }
}
@media screen and (max-width: 1200px) {
    .gn-menu-main { font-size: 10px; }
    .gn-menu { font-size: 15px; }
    .gn-menu-main > li:not(.gn-trigger):not(.logo) > a { max-width: 140px; }
}
