/*-----------------panel nav-----------------------------------------------------*/
#mainnav .panel-content h2, #mainnav .panel-content h2 a {
    font-family: 'Droid Serif', Arial, Helvetica, sans-serif;
    font-weight: normal;
}

ul.panelnav > li a.category, #mainnav .panel-content ul li, #mainnav .panel-content ul li a {
    font-family: 'Roboto',Arial, Helvetica, sans-serif;
    font-weight: 300;
    color: #333333;
}

@media (prefers-reduced-motion) {
    .desktop #nav {
        display: block;
        bottom: 0;
        height: 4rem;
        /*width: 100%;*/
        width: 100%;
        right: 0;
        /*-webkit-transition: all .5s ease;
        -moz-transition: all .5s ease;
        -ms-transition: all .5s ease;
        transition: all .5s ease;*/
        z-index: 20500;
        /* left: 50%; */
        /* margin-left: -33.333rem; */
        border-bottom: solid 0.278rem rgba(0,0,0,0.1);
        box-sizing: border-box;
    }
}
.desktop #nav {
    display: block;
    bottom: 0;
    height: 4rem;
    /*width: 100%;*/
    width: 100%;
    right: 0;
    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    -ms-transition: all .5s ease;
    transition: all .5s ease;
    z-index: 20500;
    /* left: 50%; */
    /* margin-left: -33.333rem; */
    border-bottom: solid 0.278rem rgba(0,0,0,0.1);
    box-sizing: border-box;
}
.desktop #nav:hover {
}

.desktop.scroll #nav {
    /* top: 0; */
}

.translate-active.desktop #nav, .translate-active.desktop #nav.fixed {
    top: 2.778rem;
}

.home.translate-active.desktop #nav {
    top: auto;
}

#nav {
    display: none;
    /* position: absolute; */
    bottom: 0;
    width: 100%;
    z-index: 2500;
}

.desktop #nav.fixed, .home.translate-active.desktop #nav.fixed {
    position: fixed;
    top: 0;
}

body.desktop #nav .inner-content {
    position: relative;
    height: 100%;
    width: 71.111rem;
    /* padding: 0; */
}


.desktop #mainnav {
    position: absolute;
    /* width: 44.444rem; */
    height: 4rem;
    margin: 0rem auto;
    padding: 0rem;
    /* top: 1.944rem; */
    right: 0;
    z-index: 10000;
	width: 100%;
}

@media only screen and (max-width:1350px) {
    body.desktop #nav .inner-content {
        width: 100%;
        padding: 0;
    }

    .desktop #mainnav {
        right: 1%;
    }
}

.desktop #mainnav ul.panelnav {
    position: relative;
    margin: 0 auto;
    padding: 0 0 0 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    list-style-type: none;
	display: flex;
	justify-content: space-around;
}

    .desktop #mainnav ul.panelnav > li {
        /* float: left; */
        color: #fff;
        text-decoration: none;
        position: relative;
        width: 13.889rem;
        padding: 0;
    }

        .desktop #mainnav ul.panelnav > li + li {
            border-left: solid 0.056rem rgba(0,0,0,0.15);
        }

    .desktop #mainnav ul.panelnav li.menuitem0 {
        width: 5.889rem;
    }

    .desktop #mainnav ul.panelnav li.menuitem2 {
        /* width: 10.278rem; */
    }

    .desktop #mainnav ul.panelnav li.menuitem3 {
        /* width: 12.778rem; */
    }

    .desktop #mainnav ul.panelnav li.menuitem4 {
        width: 7.333rem;
    }

    .desktop #mainnav ul.panelnav li.menuitem5 {
        width: 8.278rem;
    }

    .desktop #mainnav ul.panelnav li a.category {
        position: relative;
        float: left;
        color: #fff;
        width: 100%;
        /* height: 2.778rem; */
        padding: 0;
        text-align: center;
        text-decoration: none;
        font-size: 1.222rem;
        line-height: 4rem;
        text-align: center;
        background: none;
        z-index: 1020;
    }

        .desktop #mainnav ul.panelnav li a.category strong {
            display: block;
            font-family: 'Roboto',Arial, Helvetica, sans-serif;
            font-weight: 700;
            color: #4f4c46;
        }

    .desktop #mainnav ul.panelnav li.menuitem4 a.category {
    }

    .desktop #mainnav ul.panelnav li.menuitem5 a.category {
    }

.desktop #mainnav ul li div.navpanel {
    position: absolute;
    overflow: hidden;
    top: 4rem;
    margin: 0;
    padding: 0;
    z-index: 1000;
    /* box-sizing: border-box; */
}

.desktop #mainnav ul li div.item1panel {
    left: -0.889rem;
    width: 41.5rem;
}

.desktop #mainnav ul li:hover div.item1panel {
    left: -0.889rem;
    height: 17.056rem;
}

.desktop #mainnav ul li div.item2panel {
    right: -26.778rem;
    width: 41.5rem;
}

.desktop #mainnav ul li:hover div.item2panel {
    right: -26.778rem;
    height: 14.222rem;
}

.desktop #mainnav ul li div.item3panel {
     right: -1.278rem;
    width: 16.5rem;
}

.desktop #mainnav ul li:hover div.item3panel {
    right: -1.278rem;
    height: 13.944rem;
}

.desktop #mainnav ul li div.item4panel {
    right: -12.389rem;
    width: 43.833rem;
}

.desktop #mainnav ul li:hover div.item4panel {
    right: -12.389rem;
    height: 13.389rem;
}

.desktop #mainnav ul li div.item5panel {
    right: -1.333rem;
    width: 32.222rem;
}

.desktop #mainnav ul li:hover div.item5panel {
    right: -1.333rem;
    height: 15.056rem;
}

.desktop #mainnav ul li div.navpanel .panelxy {
    margin: -22.222rem 1% 0 1%;
}

.desktop #mainnav ul li:hover div.item1panel .panelxy div:first-child {
    /* width: 13.111rem; */
}

.desktop #mainnav ul li:hover div.navpanel .panelxy {
    margin: -0.333rem 1% 0 1%;
}

.desktop #mainnav .panel-content {
    position: relative;
    display: block;
    padding: 0;
    width: 100%;
    height: 100%;
}

.desktop #mainnav .panelxy {
    float: left;
    display: block;
    width: 98%;
    height: 100%;
    padding: 0;
    background-color: rgba(255,255,255,.93);
    border-bottom-width: 0.333rem;
    border-bottom-style: solid;
    -webkit-box-shadow: inset 0rem 1rem 1.111rem -0.833rem rgba(83,102,112,0.32), 0rem 0rem 0.556rem 0rem rgba(0,0,0,0.2);
    -moz-box-shadow: inset 0rem 1rem 1.111rem -0.833rem rgba(83,102,112,0.32), 0rem 0rem 0.556rem 0rem rgba(0,0,0,0.2);
    box-shadow: inset 0rem 1rem 1.111rem -0.833rem rgba(83,102,112,0.32), 0rem 0rem 0.556rem 0rem rgba(0,0,0,0.2);
    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    -ms-transition: all .5s ease;
    transition: all .5s ease;
}

    .desktop #mainnav .panelxy div {
        position: relative;
        float: left;
        width: 11.111rem;
        height: 100%;
        padding: 0 1.111rem 0 1.111rem;
        margin: 0;
    }

        .desktop #mainnav .panelxy div > *:first-child {
            padding-top: 1.389rem;
        }

.desktop #mainnav .item3panel .panelxy div {
    /* width: 11.667rem; */
}

.desktop #mainnav .item4panel .panelxy div {
    /* width: 15.556rem; */
}

    .desktop #mainnav .item4panel .panelxy div:first-child {
    }

    .desktop #mainnav .item4panel .panelxy div:nth-child(3) ul {
        /* padding-top: 2.778rem; */
    }

.desktop .item5panel .panelxy div {
    /* width: 11.889rem; */
}

    .desktop .item5panel .panelxy div:first-of-type {
        /* width: 10.611rem; */
    }

.desktop #mainnav .panelxy div:before {
    position: absolute;
    display: block;
    content: "";
    left: -0.278rem;
    bottom: 0;
    width: 0.056rem;
    height: 80%;
    background: -moz-linear-gradient(top, rgba(255,255,255,0) 29%, rgba(207,207,207,1) 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(29%,rgba(255,255,255,0)), color-stop(100%,rgba(207,207,207,1)));
    background: -webkit-linear-gradient(top, rgba(255,255,255,0) 29%,rgba(207,207,207,1) 100%);
    background: -o-linear-gradient(top, rgba(255,255,255,0) 29%,rgba(207,207,207,1) 100%);
    background: -ms-linear-gradient(top, rgba(255,255,255,0) 29%,rgba(207,207,207,1) 100%);
    background: linear-gradient(to bottom, rgba(255,255,255,0) 29%,rgba(207,207,207,1) 100%);
}

.ie9 .desktop #mainnav .panelxy div:before {
    background-image: url(images/divider_navpanel.png);
    background-repeat: no-repeat;
    background-position: bottom right;
}

.desktop #mainnav .panelxy div:first-of-type:before {
    /*position: absolute;
	display: block;
	content: "";
	width: 2.556rem;
	height: 0.944rem;
	top: 0.333rem;*/
    background: transparent !important;
    /*background-image: url(images/panel-arrow.png) !important;
	background-repeat: no-repeat;*/
}
/*
.desktop .item1panel .panelxy div:first-of-type:before {
	left: 6.778rem;
}
.desktop .item2panel .panelxy div:first-of-type:before {
	left: 15.889rem;
}
.desktop .item3panel .panelxy div:first-of-type:before {
	left: 15.889rem;
}
.desktop .item4panel .panelxy div:first-of-type:before {
	left: 33.667rem;
}*/
.desktop #mainnav .panelxy div.clearfloat:before {
    display: none;
}

.desktop #mainnav .panelxy div.clear:before {
    background: transparent !important;
}

.desktop #mainnav .panel-content h2, .desktop #mainnav .panel-content h2 a {
    font-size: 1.056rem;
    line-height: 1.333rem;
    padding: 0rem 0rem 0rem 1.111rem;
    margin: 0.556rem 0rem 0rem 0rem;
    text-decoration: none;
    /* border-radius: 0 0.444rem 0 0; */
}

.desktop #mainnav .panel-content div h2:first-of-type {
    margin-top: 0;
}

.desktop #mainnav .panel-content h2 a {
    padding-left: 0;
    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    -ms-transition: all .5s ease;
    transition: all .5s ease;
    -webkit-appearance: none
}

.desktop #mainnav .panel-content h2:hover a {
    padding-left: 0.278rem;
}

.desktop #mainnav .panel-content h2 a:hover {
    color: #fff;
}

.desktop #mainnav .panel-content ul {
    margin: 0.667rem 0rem 0rem 1.111rem;
    padding: 0rem 0rem 0rem 0rem;
    list-style-type: none;
}

    .desktop #mainnav .panel-content ul li {
        margin: 0.167rem 0rem 0rem 0rem;
        padding: 0.167rem 0.278rem 0.167rem 0rem;
        -webkit-transition: all .3s ease;
        -moz-transition: all .3s ease;
        -ms-transition: all .3s ease;
        transition: all .3s ease;
    }

        .desktop #mainnav .panel-content ul li a {
            display: block;
            font-size: 0.778rem;
            line-height: 1rem;
            text-decoration: none;
        }

        .desktop #mainnav .panel-content ul li:hover {
            padding: 0.167rem 0rem 0.167rem 0.278rem;
        }

@media only screen and (max-width:1045px) {
    .desktop #nav {
        right: 0;
        margin: 0;
    }
}

/*-----------MAIN NAV MOBILE -----------------------------*/
body.mobile #nav {
    display: block;
    max-height: 4.278rem;
    padding-top: 0;
    margin: 0;
    overflow: hidden;
    position: relative;
    top: 0;
    /* background-color: #fff; */
    -webkit-box-shadow: 0rem 0rem 1.111rem 0rem rgba(84,102,112,0.31);
    -moz-box-shadow: 0rem 0rem 1.111rem 0rem rgba(84,102,112,0.31);
    box-shadow: 0rem 0rem 1.111rem 0rem rgba(84,102,112,0.31);
    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    -ms-transition: all .5s ease;
    transition: all .5s ease;
}

body.mobile #nav-container {
    padding: 0.611rem 0;
}

body.mobile.opennav #nav {
    background-color: #fff;
    display: block;
    max-height: 277.778rem;
    height: auto;
    /* overflow: visible; */
}

body.mobile #nav .inner-content {
    width: 100%;
    padding: 0;
    /* height: 3.611rem; */
    min-height: 4.278rem;
}

.opennav.openob #nav {
    max-height: 0;
}

body.mobile .menubutton > h2 {
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    display: block;
    float: left;
    font-size: 1.167rem;
    line-height: 1.833rem;
    margin: 0;
    padding: 0rem;
    text-transform: uppercase;
    font-weight: normal;
    padding-left: 1.944rem;
}

.menubutton {
    display: none;
    float: left;
    width: 5.556rem;
    height: 1.889rem;
    margin: 0;
    padding: 0.444rem 0.556rem;
    background: transparent;
    cursor: pointer;
    color: #fff;
    text-decoration: none;
    font-size: 0.889rem;
    line-height: 1.222rem;
    position: absolute;
    top: 0.889rem;
    right: 0.278rem;
}

    .menubutton i {
        display: block;
        position: relative;
    }

        .menubutton i:before {
            position: absolute;
            top: 0.111rem;
            left: 0;
            height: 100%;
            width: 100%;
            font-size: 1.5rem;
        }

.mobile .menubutton {
    display: block;
}

.mobile #mainnav {
    max-height: 0rem;
    padding: 0;
    margin: 0rem 0 0 0;
    -moz-transition: max-height 1s ease-in;
    -ms-transition: max-height 1s ease-in;
    transition: max-height 1s ease-in;
}

.mobile.opennav #mainnav {
    max-height: 277.778rem;
}

body.mobile ul.panelnav {
    display: block;
    margin: 0;
    padding: 0;
}

    body.mobile ul.panelnav > li {
        position: relative;
        line-height: 0;
        max-height: 2.556rem;
        overflow: hidden;
        padding: 0;
        background: rgba(255,255,255,1);
        border-bottom: 0.056rem solid #DADADA;
    }

        body.mobile ul.panelnav > li.active {
            max-height: 277.778rem;
            background-color: #f0f0f0;
            -webkit-transition: max-height 3s ease;
            -moz-transition: max-height 3s ease;
            -ms-transition: max-height 3s ease;
            transition: max-height 3s ease;
        }

            body.mobile ul.panelnav > li.active a.category {
                color: #fff;
            }

            body.mobile ul.panelnav > li.active:hover a.category {
                color: #fff;
            }

        body.mobile ul.panelnav > li a.category {
            display: block;
            padding: 0.667rem 0 0.5rem 0.889rem;
            line-height: 1.389rem;
            font-size: 1.111rem;
            text-overflow: ellipsis;
            white-space: nowrap;
            overflow: hidden;
            background-color: #fff;
            text-decoration: none;
        }

            body.mobile ul.panelnav > li a.category strong {
                font-weight: normal;
            }

body.mobile .navpanel {
    display: block;
    width: 95%;
    padding: 0 0 0 5%;
    height: auto;
}

body.mobile .panelxy div {
    float: left;
    padding: 0.556rem 2% 2% 0%;
    width: 29%;
}

body.mobile .panel-content {
    position: relative;
    display: block;
    padding: 0;
    width: 100%;
    height: 100%;
}

    body.mobile .panel-content h2, body.mobile .panel-content h2 a {
        font-size: 1.111rem;
        line-height: 1.222rem;
        padding: 0.556rem 0rem 0.111rem 0rem;
        margin: 0.111rem 0rem 0.111rem 0rem;
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
        text-decoration: none;
        /* text-transform: uppercase; */
    }

        body.mobile .panel-content h2 a {
            display: block;
            padding: 0 !important;
        }

        body.mobile .panel-content h2 + ul {
            margin: 0.556rem 0rem 0rem 0rem;
        }

    body.mobile .panel-content ul {
        margin: 0rem 0rem 0rem 0rem;
        padding: 0rem 0rem 0rem 0rem;
        list-style-type: none;
    }

        body.mobile .panel-content ul li {
            font-size: 0.611rem;
            line-height: 0.778rem;
            margin: 0.167rem 0rem 0rem 0rem;
            padding: 0.222rem 0.278rem 0.222rem 0rem;
            font-family: 'Roboto',Arial, Helvetica, sans-serif;
            font-weight: 300;
            -webkit-transition: all .3s ease;
            -moz-transition: all .3s ease;
            -ms-transition: all .3s ease;
            transition: all .3s ease;
        }

            body.mobile .panel-content ul li a {
                display: block;
                font-size: 0.778rem;
                line-height: 0.889rem;
                text-decoration: none;
            }

    body.mobile .panel-content a:hover {
        color: #4f4c46;
    }

#login-button {
    display: none;
    position: absolute;
    /* visibility: hidden; */
    opacity: 0;
    border: 0.056rem solid #686260;
    top: 1rem;
    right: 7.944rem;
    /* height: 2.222rem; */
    margin: 0;
    padding: 0rem 0.833rem;
    background-color: rgba(256,256,256,.4);
    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    -ms-transition: all .5s ease;
    transition: all .5s ease;
    z-index: 3000;
    cursor: pointer;
}

body.home.mobile #login-button {
    opacity: 1;
    display: block;
}

body.openob #login-button {
    background: #686260;
    cursor: pointer;
}

    body.openob #login-button h3, body.openob #login-button h3:before, .openob #login-button {
        color: #fff;
    }

#login-button h3 {
    position: relative;
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
    padding: .25rem 0 .25rem 1.556rem;
    color: #686260;
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    font-weight: normal;
    text-transform: uppercase;
}


    #login-button h3:before {
        font-family: 'fontAwesome';
        content: "\f023";
        position: absolute;
        font-size: 1.278rem;
        line-height: 1;
        /* margin: 0 0.333rem 0 0; */
        top: .3rem;
        left: 0rem;
        color: #686260;
    }

    #login-button h3, #login-button h3:before {
        -webkit-transition: all .5s ease;
        -moz-transition: all .5s ease;
        -ms-transition: all .5s ease;
        transition: all .5s ease;
    }

/*body.mobile #login-button h3, body.mobile #login-button h3:before {
    line-height: 2.222rem;
}*/


@media only screen and (max-width:1250px) {

    .desktop #mainnav ul.panelnav > li {
        /* width: 7rem; */
    }

    .desktop #mainnav ul.panelnav li.menuitem3 {
        /* width: 11.778rem; */
    }

    .desktop #mainnav {
        /* width: 45.611rem; */
    }
}

@media only screen and (max-width:1016px) {

    .mobile #homenavxy {
        width: 80%;
        margin: -1.111rem auto 0 auto;
    }
}

@media only screen and (max-width:1000px) {
    #topnavxy, #headerxy {
        position: relative;
    }

    body.home #headerxy {
        height: auto;
    }

    body.desktop #headerxy {
        height: 7.5rem;
        top: 0;
    }

    body.mobile #headerxy {
        /* position: relative; */
        height: auto;
        top: 0;
        min-height: 9.111rem;
    }

    #subpageContainer {
        padding-top: 1.111rem;
    }
}

@media only screen and (max-width:790px) {
    body.mobile #headerxy {
        min-height: 8.333rem;
    }

    .mobile #homenavxy {
        width: 95%;
    }
}

@media only screen and (max-width:640px) {
    body.mobile #nav {
        /*max-height: 2.5rem;*/
    }

        body.mobile #nav > h2 {
            line-height: 2.5rem;
        }

    div.menubutton {
        /* width: 2.167rem; */
        height: 1.667rem;
        padding: 0.333rem 0.556rem;
    }

    .menubutton span {
        display: block;
        background: #FFF;
        height: 0.167rem;
        margin-top: 0.278rem;
        border-radius: 0.278rem;
        -moz-border-radius: 0.278rem;
    }

    body.mobile .navpanel {
        width: 100%;
        padding: 0;
    }

    body.mobile .panelxy div {
        float: none;
        padding: 0;
        width: 100%;
        border-top: 0.056rem solid #cccacb;
    }

    body.mobile .item4panel .panelxy > div + div + div {
        border-top: 0;
    }

    body.mobile .panel-content ul li {
        font-size: 0.889rem;
        line-height: 1.056rem;
        margin: 0rem;
        padding: 0rem;
        border-top: 0.056rem solid #cecece;
    }

        body.mobile .panel-content ul li a, body.mobile .panel-content h2 a {
            margin: 0rem 0rem 0rem 0rem;
            padding: 0.556rem 1.667rem;
            font-size: 0.889rem;
            line-height: 1.056rem;
            text-overflow: ellipsis;
            white-space: nowrap;
            overflow: hidden;
        }

            body.mobile .panel-content ul li a:hover {
                background: rgba(255,255,255,.75);
            }

    body.mobile .panel-content h2 {
        color: #4a4a4a;
        padding: 0.556rem 0rem 0.111rem 0.889rem;
        margin: 0.111rem 0rem 0.111rem 0rem;
    }

    body.mobile .menubutton {
        width: 1.333rem;
    }

        body.mobile .menubutton > h2 {
            display: none;
        }

    body.mobile #login-button {
        right: 2.889rem;
    }
}

@media only screen and (max-width:484px) {
    body.mobile #login-button {
        padding: 0 0.444rem;
        height: 1.667rem;
        top: 1.111rem;
        /* right: 37%; */
    }

    #login-button h3 {
        font-size: 0.889rem;
        padding-left: 1.111rem;
    }

    body.mobile #login-button h3, body.mobile #login-button h3:before {
        /* line-height: 2; */
    }

    #login-button h3:before {
        font-size: 1rem;
    }
}

@media only screen and (max-width:360px) {
    body.mobile .menubutton {
        /* top: 3.333rem; */
    }
}
