﻿
@media all {
    .ym-navigation {
        background: none repeat scroll 0 0 #4D4D4D;
        line-height: 1em;
        position: relative;
        width: 100%;
    }

    #sideBar:not( .mm-menu ) {
        display: none;
    }

    #sidebarLabels {
        display: none;
    }


    .sidebarArea {
        background: #fff;
        background: -webkit-linear-gradient(180deg, transparent, #404040, transparent); /* For Safari 5.1 to 6.0 */
        background: -o-linear-gradient(180deg, transparent, #404040, transparent); /* For Opera 11.1 to 12.0 */
        background: -moz-linear-gradient(180deg, transparent, #404040, transparent); /* For Firefox 3.6 to 15 */
        background: linear-gradient(180deg, transparent, #404040, transparent); /* Standard syntax */
    }

        .sidebarArea:hover {
            background: -webkit-linear-gradient(180deg, transparent, #0062A2, transparent); /* For Safari 5.1 to 6.0 */
            background: -o-linear-gradient(180deg, transparent, #0062A2, transparent); /* For Opera 11.1 to 12.0 */
            background: -moz-linear-gradient(180deg, transparent, #0062A2, transparent); /* For Firefox 3.6 to 15 */
            background: linear-gradient(180deg, transparent, #0062A2, transparent); /* Standard syntax */
        }

    .sidebarArea {
        height: 50%;
        width: 15px;
        float: left;
        position: absolute;
    }

        .sidebarArea .sidebarLabel {
            font-size: 60%;
            width: 10em;
            -webkit-transform: rotate(-90deg);
            -moz-transform: rotate(-90deg);
            -ms-transform: rotate(-90deg);
            -o-transform: rotate(-90deg);
            transform: rotate(-90deg);
            /* also accepts left, right, top, bottom coordinates; not required, but a good idea for styling */
            -webkit-transform-origin: 50% 250%;
            -moz-transform-origin: 50% 250%;
            -ms-transform-origin: 50% 250%;
            -o-transform-origin: 50% 250%;
            transform-origin: 50% 250%;
            /* Should be unset in IE9+ I think. */
            filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
        }
        .sidebarLabel:hover{
            background-color: #0062A2 !important;
            color: #fff !important;
        }

    #sideBarButton {
        text-align: center;
        font-size: 20pt;
    }


    #mm-blocker {
        background-color: #333;
        filter: alpha(opacity=70);
        opacity: 0.7;
        filter: blur(4px);
        -o-filter: blur(4px);
        -ms-filter: blur(4px);
        -moz-filter: blur(4px);
        -webkit-filter: blur(4px);
        z-index: 100;
    }

    .mm-title {
        font-size: 200%;
        color: #ccc !important;
    }

    .mm-panels {
        top: 4em !important;
    }

    .mm-btn {
        background-color: #4D4D4D !important;
    }

    .mm-prev::before {
        border: 0px;
    }


    .mm-prev::after {
        color: #ccc !important;
        font-family: ip-eresearch-002 !important;
        font-style: normal !important;
        font-weight: normal !important;
        font-variant: normal !important;
        text-transform: none !important;
        line-height: 1;
        font-size: 180%;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        content: "\e000";
    }

    .mm-close::after {
        color: #ccc !important;
        font-family: ip-eresearch-002 !important;
        font-style: normal !important;
        font-weight: normal !important;
        font-variant: normal !important;
        text-transform: none !important;
        line-height: 1;
        font-size: 250%;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        content: "9" !important;
    }

    .mm-navbar-top {
        height: 50px;
        background-color: #4D4D4D !important;
        padding-top: 1em !important;
    }

    .mm-navbar-top-1 {
        top: 0px;
        background-color: #4D4D4D !important;
    }

    .mm-hasnavbar-top-1 .mm-panel {
        top: 70px;
    }

    .mm-hasnavbar-top-1 .mm-indexer {
        top: 80px;
    }

    .mm-hasnavbar-top-1 .mm-fixeddivider {
        top: 70px;
    }

    .mm-navbar-top-2 {
        top: 70px;
    }

    .mm-hasnavbar-top-2 .mm-panel {
        top: 110px;
    }

    .mm-hasnavbar-top-2 .mm-indexer {
        top: 120px;
    }

    .mm-hasnavbar-top-2 .mm-fixeddivider {
        top: 110px;
    }

    .mm-navbar-top-3 {
        top: 110px;
    }

    .mm-hasnavbar-top-3 .mm-panel {
        top: 150px;
    }

    .mm-hasnavbar-top-3 .mm-indexer {
        top: 160px;
    }

    .mm-hasnavbar-top-3 .mm-fixeddivider {
        top: 150px;
    }

    .mm-navbar-top-4 {
        top: 150px;
    }

    .mm-hasnavbar-top-4 .mm-panel {
        top: 190px;
    }

    .mm-hasnavbar-top-4 .mm-indexer {
        top: 200px;
    }

    .mm-hasnavbar-top-4 .mm-fixeddivider {
        top: 190px;
    }

    .mm-listview :hover {
        background-color: #0062A2;
        color: #fff !important;
    }

    .sideBarBranch:hover {
        background-color: #0062A2;
        color: #fff !important;
    }

    .ym-navigation span, .ym-navigation a {
        text-decoration: none;
        transition: all 0.5s linear 0s;
    }

    .ym-navigation ul {
        display: block;
        float: left;
        margin: 0;
        padding: 0.1em 0.5em;
    }

        .ym-navigation ul li ul {
            margin: 0;
            padding: 0;
        }

    ul.ym-top-menu-right {
        display: block;
        float: right;
        margin: 0;
        padding: 0.1em 0.5em;
    }

    .mobi-nav {
        background-color: #4D4D4D;
    }

        .mobi-nav li {
            float: left;
            list-style: none outside none;
        }

            .mobi-nav li span {
                color: #CCCCCC;
                cursor: pointer;
                display: block;
                font-size: 180%;
                font-weight: 200;
                margin: 0;
                padding: 14px 20px;
                text-decoration: none;
            }

            .mobi-nav li a {
                color: #CCCCCC;
                display: block;
                text-decoration: none;
            }

            .mobi-nav li:hover span, .active {
                background-color: #000000;
                color: #FFFFFF;
            }

            .mobi-nav li.active span, .mobi-nav li.active a {
                background-color: #000000;
                color: #FFFFFF;
            }

            .mobi-nav li:hover a {
                background-color: rgba(0, 0, 0, 0);
                color: #FFFFFF;
            }

            .mobi-nav li ul li {
                float: none;
                margin: 0;
                padding: 0;
            }

                .mobi-nav li ul li span:hover {
                    background-color: #ccc;
                    color: #FFFFFF;
                }

                .mobi-nav li ul li a:hover {
                    background-color: rgba(0, 0, 0, 0);
                    color: #FFFFFF;
                }

    .submenu li:hover.active span a {
        color: #0062A2;
        background-color: #ccc;
    }

    .submenu li.sfHover.active span a {
        color: #0062A2;
        background-color: #ccc;
    }

    .submenu li.active span, .submenu li.active a {
        background-color: #000000;
        color: #0062A2;
    }
}

@media only screen and (min-width: 1000px) {
    .mobinav {
        position: fixed;
        top: 0px;
        z-index: 10000;
        width: 100%;
        -webkit-box-shadow: 0 0 12px 6px rgba(0,0,0,.5);
        -moz-box-shadow: 0 0 12px 6px rgba(0,0,0,.5);
        box-shadow: 0 0 12px 6px rgba(0,0,0,.5);
    }

    .mobi-nav li ul {
        background-color: #000;
        display: none;
        position: absolute;
    }

        .mobi-nav li ul li span:hover {
            background-color: #ccc;
            color: #FFFFFF;
        }

    .mobi-nav li:hover ul {
        display: block;
        z-index: 999;
    }
}


#toggle, .toggle {
    display: none;
}

.clearfix:before, .clearfix:after {
    content: "";
    display: table;
}

.clearfix:after {
    clear: both;
}

@media only screen and (max-width: 1000px) {
    #nav {
        display: none;
        left: 0;
        opacity: 0;
        width: 100%;
    }

        #nav ul {
            float: none;
            padding: 0;
        }

    .mobi-nav > li {
        display: block;
        margin: 0;
        width: 100%;
    }

        .mobi-nav > li > a {
            box-sizing: border-box;
            display: block;
            text-decoration: none;
            width: 100%;
        }

    .toggle {
        cursor: pointer;
        display: block;
        position: relative;
    }

    #toggle:checked ~ #nav {
        display: block;
        opacity: 1;
    }
}

.toggle {
    z-index: 2;
}

@media only screen and (max-width: 1000px) {

    .mobi-nav li ul {
        background-color: #4D4D4D;
        display: block;
        z-index: 999;
    }



    .mobi-nav {
        background: none repeat scroll 0 0 #4D4D4D;
    }

        .mobi-nav, .mobi-nav > li, .mobi-nav > li > a {
            display: block;
            height: auto;
        }

            .mobi-nav > li > span {
                padding: 15px;
                transition: all 0.5s linear 0s;
            }

                .mobi-nav > li > span:hover, .mobi-nav > li > span:focus {
                    background: none repeat scroll 0 0 #000000;
                }

            .mobi-nav > li > ul {
            }

            .mobi-nav li:hover ul {
                position: relative;
                top: auto;
            }

    .toggle:before {
        color: #FFFFFF;
        content: "≡";
        display: inline-block;
        float: right;
        font-size: 200%;
        font-weight: 200;
        margin-right: 0.6em;
    }

    .toggle:after {
        background: none repeat scroll 0 0 #4D4D4D;
        box-sizing: border-box;
        color: #FFFFFF;
        content: "Menu";
        display: block;
        font-size: 120%;
        margin: 0;
        padding: 10px 50px;
        text-align: center;
        transition: all 0.5s linear 0s;
        width: 100%;
    }

    .toggle:hover:after {
        background: none repeat scroll 0 0 #000000;
    }

    #toggle:checked + .toggle:after {
        content: "Close Menu";
    }
}
