
.main-header {
    z-index: 400;
    width: 100%;
    padding: 0;
    font-size: .9rem;
    position: fixed;
    top: 0;

    -webkit-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
        background: rgba(0,0,0,.6);
}

.main-header.scrolling {
    background: rgba(0,0,0,.6);
}

body.personalarea .main-header
{
	background: rgba(0,0,0,.6);
	top: 0px;
    bottom: auto;
    right: auto;
}

body.personalarea header .inner {
    height: 4.375rem;
}

body.personalarea .main-header .logo {
    padding: .9375rem 0 0;
}

body.personalarea .main-header .logo a {
    display: inline-block;
    max-width: 120px;
}

body.personalarea .main-header .main-menu {
    padding: .8125rem 0 0;
}

.inner {
    display: block;
    max-width: 73.25rem;
    width: 90%;
    position: relative;
    margin: 0 auto;
}

header.scrolling .inner {
    height: 4.375rem;
}

.inner:after, .inner:before {
    display: table;
    content: " ";
}

.main-header > .inner {
    height: 6.25rem;
    -webkit-transition: all .5s ease;
    transition: all .5s ease;
}

/*.main-header > .inner:after {
    position: absolute;
    bottom: 0;
    display: block;
    width: 100%;
    height: 1px;
    background: rgba(255,255,255,.15);
    content: "";
    -webkit-transition: all .5s ease;
    transition: all .5s ease;
}

header.scrolling > .inner:after {
    position: absolute;
    bottom: 0;
    display: block;
    width: 100%;
    height: 0;
    background: rgba(255,255,255,.15);
    content: "";
    -webkit-transition: all .5s ease;
    transition: all .5s ease;
}*/

.main-header .logo {
    float: left;
    margin: 0;
    padding: 25px 0 0;
    -webkit-transition: all .5s ease;
    transition: all .5s ease;
}

.main-header.scrolling .logo {
    padding: 0 0 0;
}

.main-header .logo a {
    display: inline-block;
    max-width: 158px;
}

.main-header.scrolling .logo a {
    display: inline-block;
    max-width: 120px;
}
.main-header .main-menu {
    display: block;
    overflow: hidden;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 0;
    background: rgba(0,0,0,.85);
    font-size: 1em;
    -webkit-transition-timing-function: ease;
    transition-timing-function: ease;
    -webkit-transition-duration: .5s;
    transition-duration: .5s;
    -webkit-transition-property: height;
    transition-property: height;
}

.main-header .main-menu {
    display: inline-block;
    float: right;
    padding: 1.875rem 0 0;
    width: auto;
    height: auto;
    background: 0 0;
    -webkit-transition: all .5s ease;
    transition: all .5s ease;
}

.main-header.scrolling .main-menu {
    padding: .8125rem 0 0;
}

.main-header .main-menu:after, .main-header .main-menu:before {
    display: table;
    content: " ";
}

.main-header .main-menu:after {
    clear: both;
}

.main-header .main-menu ul {
    display: block;
    margin: 0;
    padding: 0;
    overflow: hidden;
    list-style-type: none;
    width: auto;
}

.main-header .main-menu ul li {
    position: relative;
    padding: 0;
    display: inline-block;
    margin: 0 1rem 0 0;
}

.main-header .main-menu a {
    display: inline-block;
    padding: .625rem 0.5rem;
    border-radius: 5px;
    color: #fff;
    letter-spacing: 0.5px;
    text-decoration: none;
    font-weight: 300;
    font-size: 1em;
    -webkit-transition: background .3s;
    transition: background .3s;
    white-space: nowrap;
}

.main-header .main-menu a:before{
    content: "";
    position: absolute;
    bottom: 0;
    left: 5%;
    height: 1px;
    width: 90%;
    border-radius: 2px;
    visibility: hidden;
    background-color: #1e91e1;
    transform: scaleX(0);
    transition: all 300ms cubic-bezier(0.325, -0.075, 0, 1.65);
}
.main-header .main-menu a:hover{
    color:rgba(255,255,255,1);
    background-color: transparent;
}
.main-header .main-menu a:hover:before, .main-header .main-menu a:focus:before, .main-header .main-menu a.active:before{
    content: "";
    position: absolute;
    bottom: 0;
    left: 5%;
    height: 1px;
    width: 90%;
    border-radius: 2px;
    visibility: visible;
    background-color: #1e91e1;
    transform: scaleX(1);
}

@media screen and (min-width: 768px) and (max-width: 891px){
    .main-header .main-menu ul li {
        display: inline-block;
        margin: 0;
    }

    .main-header .main-menu a {
        display: block;
       /* padding: 1.25rem;*/
         padding: 1.25rem 0.5rem;
		font-size: 0.875em;
        -webkit-transition: background .3s;
        transition: background .3s;
        white-space: nowrap;
    }
}

