header {
    position: fixed;
    padding: 0 !important;
    top: 0;
    display: block;
    width: 100%;
    z-index: 5;
}

header .white {
    background: #fff;
}

#content {
    margin: 220px 0 0;
}
.fadeIn{
    opacity: 0;
}
nav {
    display: block;
    background: rgba(35, 63, 145, 0.9);
    width: 100%;
    height: 40px;
}

nav > ul > li a {
    color: #fff !important;
    line-height: 40px;
}

nav > ul > li {
    padding: 0 13px !important;
}

nav > ul > li:hover {
    background: rgba(35, 63, 145, 0.50);
}

nav ul ul {
    padding: 10px 0 !important;
}

nav ul ul li {
    padding: 5px 10px !important;
}

nav ul ul a {
    line-height: initial;
}

nav ul ul a:hover, nav ul ul li:hover a {
    text-decoration: underline !important;
}
.email{
    text-align: right;
    font-size: 17px;
    line-height: 22px;
    padding: 0 20px;
    color: #575454;
}
.menu {
    list-style: none;
    padding: 0 0 0 10px;
}

.menu > li {
    position: relative;
    float: left;
    border-right: dotted thin #fff;
    font-size: 13px;
    line-height: 16px;
    padding: 0 15px;
    /*background:url(../images/menu-separator.gif) right 8px no-repeat;*/
}
.menu > li:last-child {
    border-right: none;
}

.menu > li:first-child {
    padding-left: 0;
}

.menu > li.last-item {
    background: none;
    padding-right: 0;
}

.menu > li > a {
    color: #1c1c1c;
    text-decoration: none;
}

.menu > li.sfHover > a, .menu > li > a:hover, .menu > li.current > a {
    text-decoration: none;
    color: #2c2c2c;
}

.menu .menu-arrow {
    /*display: none;*/
}

/***submenu***/
.menu ul {
    position: absolute;
    top: -999em;
    width: 90px;
    display: none;
    padding: 12px 10px 15px;
    background-color: rgba(0, 0, 0, 0.85);
    /*background:url(../images/submenu-tail.png) center top repeat;*/
    z-index: 999;
}

.menu li li {
    padding-left: 10px;
    padding-bottom: 7px;
    line-height: 150%;
    border-bottom: 1px dotted #fff;
    margin-bottom: 5px;
    position: relative;
}

.menu li li.last-item {
    border-bottom: none;
    padding-bottom: 0;
}

.menu li li a {
    color: #fff;
    text-decoration: none;
}

.menu li li > a:hover, .menu li li.sfHover > a {
    color: #9f9f9f;
    text-decoration: none;
}

.menu li:hover ul, .menu li.sfHover ul {
    left: 0px;
    top: 41px;
    min-width: 175px;
}

.menu li:hover li ul, .menu li.sfHover li ul {
    top: -999em;
}

/***subsubmenu***/
.menu li li:hover ul, .menu li li.sfHover ul {
    left: 101px;
    top: -12px;
}

.menu li li:hover li ul, .menu li li.sfHover li ul {
    top: -999em;
}
.c-hamburger {
    display: none;
}
.mobile{
    display: none;
}
.logo img{
    max-width: 100%;
    height:auto;
    margin: auto;
}
.logo{
    width: 33%;
    max-width: 105px;
    text-align: center;
    display: block;
    margin: auto;
}
.title{
    font-family: 'EB Garamond', serif;
    margin: 85px 20px 0;
    font-size: 26px;
    padding: 0 15px;
    display: block;
    float: right;
}
@media only screen and (max-width: 1023px) {
    .desktop-only{
        display: none !important;
    }
    header{
        position: relative;
        margin-bottom: 20px;
    }
    .mobile{
        display: block;
    }
    #content{
        margin: auto;
    }
    .m_collapse{
        width: 100%;
    }
    .menu-arrow{
        display: none;
    }
    .email{
        text-align: left;
    }
    nav {
        display: none;
        width: calc(100% - 50px);
        padding-top: 0;
        float: none;
        position: fixed;
        top: 0;
        height: 100%;
        right: 0;
    }
    nav > ul{
        padding: 10px 0;
    }
    nav > ul ul{
        background-color: transparent !important;
    }
    nav > ul ul li.last-item{
        border-bottom: dotted thin #fff;
    }
    nav > ul ul a{
        padding: 4px 0px !important;
    }
    nav > ul ul li {
        margin: 0 0 0 20px;

    }
    .menu > li > a{
        font-size: 16px;
        background-color: transparent !important;
        padding: 8px 10px !important;
        line-height: 20px;
        border-bottom: dotted thin #fff;
    }
    .c-hamburger.is-active{
        right: auto;
        left: 0;
        top: 0;
        transition: 300ms;
    }
    .c-hamburger {
        display: block;
        top: 20px;
        right: 20px;
        transition: 300ms;
        position: absolute;
        overflow: hidden;
        margin: 0;
        padding: 0;
        width: 50px;
        height: 50px;
        font-size: 0;
        text-indent: -9999px;
        appearance: none;
        box-shadow: none;
        border-radius: none;
        border: none;
        cursor: pointer;
    }

    .c-hamburger:focus {
        outline: none;
    }

    .c-hamburger span {
        display: block;
        position: absolute;
        top: 22px;
        left: 8px;
        right: 8px;
        height: 4px;
        background: white;
    }

    .c-hamburger span::before,
    .c-hamburger span::after {
        position: absolute;
        display: block;
        left: 0;
        width: 100%;
        height: 4px;
        background-color: #fff;
        content: "";
    }

    .c-hamburger span::before {
        top: -10px;
    }

    .c-hamburger span::after {
        bottom: -10px;
    }

    .c-hamburger--htra {
        position: fixed;
        background: rgba(35, 63, 145, 1.0);    }

    .c-hamburger--htra span {
        transition: transform 0.3s;
    }

    .c-hamburger--htra span::before {
        transform-origin: top left;
        transition: transform 0.3s, width 0.3s, top 0.3s;
    }

    .c-hamburger--htra span::after {
        transform-origin: bottom left;
        transition: transform 0.3s, width 0.3s, bottom 0.3s;
    }

    /* active state, i.e. menu open */
    .c-hamburger--htra.is-active {
        background: rgba(35, 63, 145, 1.0);
    }

    .c-hamburger--htra.is-active span {
        transform: rotate(180deg);
    }

    .c-hamburger--htra.is-active span::before,
    .c-hamburger--htra.is-active span::after {
        width: 50%;
    }

    .c-hamburger--htra.is-active span::before {
        top: 0;
        transform: translateX(-4px) translateY(2px) rotate(-45deg);
    }

    .c-hamburger--htra.is-active span::after {
        bottom: 0;
        transform: translateX(-4px) translateY(-2px) rotate(45deg);
    }

    .menu > li {
        float: none;
        margin-right: 0px;
        margin-bottom: 5px;
        padding: 0;
        background: none;
    }

    .menu > li > a {
        display: block;
        padding: 15px 20px;
        background-color: #ebebeb;
        color: #1c1c1c;
    }

    .menu > li.sfHover > a, .menu > li > a:hover, .menu > li.current > a {
        background-color: #606267;
        color: #fff;
    }

    .menu > li > a .menu-arrow {
        background-image: url(../images/menu-arrow-ml.png);
    }

    /***submenu***/
    .menu ul {
        position: static;
        width: auto;
        padding: 0;
    }

    .menu ul li {
        padding: 0;
        margin-bottom: 0;
    }

    .menu ul li a {
        display: block;
        padding: 12px 20px;
    }

    .menu li li > a:hover, .menu li li.sfHover > a {
        color: #1c1c1c;
    }

    .menu ul .menu-arrow {
        width: 6px;
        height: 6px;
        overflow: hidden;
        text-indent: -999em;
        font-size: 0;
        line-height: 0;
        background: url(../images/menu-arrow-ml.png) center -14px no-repeat;
        margin-left: 6px;
        vertical-align: middle;
    }

    .menu ul a:hover .menu-arrow, .menu ul li.sfHover .menu-arrow {
        background-position: center top;
    }

    /***subsubmenu***/
    .menu ul ul a:hover {
        color: #9f9f9f;
    }
}
