﻿#NavAux {
    letter-spacing: -4px;
    text-align: right;
}

#NavAux div {
    background: #8bc900;
    margin-left: 1px;
    padding: 25px 15px;
    height: 66px;
    letter-spacing: 0;
    display: inline-block;
    vertical-align: top;
}

    #NavAux div:hover {
        background: #689600;
    }

    #NavAux div div {
        background: transparent;
        float: none;
        margin-left: 0;
        padding: 0 !important;
        height: auto;
    }

#Cart {
    display: inline-block;
    float: right;
    font-size: .9em;
    position: relative;
}

    #Cart:before {
        color: #fff;
        content: "\f07a";
        font-family: FontAwesome;
        font-size: 14px;
        left: 12px;
        position: absolute;
        top: 15px;
    }

    #Cart .carticon {
        width: 20px;
    }

    #Cart .cartlink {
        color: #fff;
        font-size: .9em;
    }

    #Cart .cartprice {
        color: #fff;
        float: left;
        padding-top: 5px;
    }

    #Cart .cartsep {
        color: #fff;
    }

    #Cart:hover {
        background-image: none !important;
    }

        #Cart:hover .cartsep {
            color: #fff;
        }

#NavAux #Cart {
    padding: 13px 10px 37px;
}

#Language {
    display: inline-block;
}

    #Language .language {
        border: 1px transparent solid;
        color: #fff;
        display: inline-block;
        font-size: 1em;
        text-decoration: none;
        margin: 0 0 0 5px;
    }

    #Language .languageselected {
        border: 1px #999 solid;
    }

#Login {
    display: inline-block;
}

    #Login .user-actions, #Login .user-actions a, #Login .user-actions a:link, #Login .user-actions a:visited, #Login .user-actions a:active {
        color: #fff !important;
        font-size: 1em;
        padding: 0 !important;
        text-decoration: none;
        text-transform: none;
        cursor: pointer;
    }

    #Login .operation-pending, #UserBookmarks .operation-pending {
        display: block;
        height: 40px;
        background-image: url("../Content/Images/ajax-loader.gif");
        background-position: center;
        background-repeat: no-repeat;
    }

    #Login .current-group {
        background-color: #f1f1f1;
    }

@media (max-width: 399px) {
    #Login .dropdown-menu-right {
        left: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    #Login .dropdown-menu-right a {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

    #Login li.dropdown-header {
        white-space: normal;
    }

#Logo {
    padding: 5px 0;
    height: 66px;
    background-repeat: no-repeat;
    /*background-size: cover;*/
}

    #Logo .logoimg {
        border: none;
    }

#User {
    display: inline-block;
}

    #User .welcome, #User .welcome a, #User .welcome a:link, #User .welcome a:visited, #User .welcome a:active {
        color: #fff;
        text-decoration: none;
        cursor: pointer;
    }

/*#UserBookmarks {
    display: inline-block;
}

    #UserBookmarks > span {
        color: #fff;
        text-decoration: none;
        padding-left: 2px;
        padding-right: 2px;
        cursor: pointer;
    }*/

#UserNotifications {
    display: inline-block;
    position: relative;
}

    #UserNotifications kbd {
        position: absolute;
        right: 7px;
        bottom: 40px;
        font-size: 70%;
        background-color: #224b77;
        box-shadow: none;
        padding: 1px 3px;
    }

    #UserNotifications > span a {
        color: #fff;
        text-decoration: none;
        padding-left: 2px;
        padding-right: 2px;
    }

@media (max-width:767px) {
    #NavAux {
        text-align: left;
    }

    #Logo {
        float: left;
        padding: 10px 20px;
    }

        #Logo .logoimg {
            max-height: 70px;
            max-width: 200px;
        }

        #Logo .logopagetitle {
            display: none;
        }

    #NavAux {
        border-top: 1px #eee solid;
        padding: 0 15px;
        margin-bottom: 10px;
    }

        #NavAux div, #NavAux div:hover {
            /*background: transparent;*/
            /*float: left;*/
            height: auto;
            padding: 7px 12px !important;
        }

            #NavAux div:hover div {
                padding: 0 !important;
            }

    #Search {
        display: none;
    }
}

@media (min-width:768px) {
    #User .welcome .user-name, #Login .user-actions .group-name {
        max-width: 130px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    #User .welcome > *, #Login .user-actions > * {
        display: inline-block;
        vertical-align: middle;
    }
}

@media (max-width:991px) {
    #NavAux #Cart {
        padding: 7px 10px 10px;
    }

        #NavAux #Cart:before {
            top: 8px;
        }

        #NavAux #Cart .cartprice {
            display: none;
        }

        #UserNotifications kbd {
            right: 4px;
            bottom: 17px;
            font-size: 80%;
        }
}

@media (min-width:768px) and (max-width:991px) {
    #NavAux div {
        font-size: 10px;
        height: 36px;
        padding: 10px;
    }
}

@media (max-width:767px) {
    #UserNotifications kbd {
        font-size: 60%;
        right: 6px;
        bottom: 14px;
    }
}

#Login:empty, #Logo:empty, #User:empty, #Cart, #Language, #UserBookmarks:empty, #UserNotifications:empty {
    display: none !important;
}

#Logo h1 {
    margin: 0;
}

#UserBookmarks div:hover {
    background-color: inherit;
}

#UserBookmarks div.css-treeview a[disabled],
#UserBookmarks div.css-treeview a[disabled]:hover {
    color: #888;
    cursor: default;
    text-decoration: none;
}

#UserBookmarks div.css-treeview ul,
#UserBookmarks div.css-treeview li {
    padding: 0;
    margin: 0 0 6px;
    list-style: none;
}

#UserBookmarks div.css-treeview > ul {
    margin-left: 20px;
    margin-right: 20px;
}

    #UserBookmarks div.css-treeview > ul ul {
        margin-left: 20px;
    }

#UserBookmarks div.css-treeview li > a {
    margin-left: 38px;
}

#UserBookmarks div.css-treeview input {
    position: absolute;
    opacity: 0;
}

#UserBookmarks div.css-treeview {
    -moz-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    font-size: 15px;
}

@media (min-width: 768px) {
    #UserBookmarks div.css-treeview {
        width: 24em;
    }
}

    #UserBookmarks div.css-treeview input + label + ul {
        margin: 0 0 0 22px;
    }

    #UserBookmarks div.css-treeview input ~ ul {
        display: none;
    }

    #UserBookmarks div.css-treeview label {
        background: url("../Content/Images/tree-icons.png") no-repeat;
        cursor: pointer;
        background-position: 0 -30px;
        height: 16px;
        width: 16px;
        position: absolute;
        margin-top: 4px;
    }

    #UserBookmarks div.css-treeview input:disabled + label {
        cursor: default;
        opacity: .6;
    }

    #UserBookmarks div.css-treeview input:checked:not(:disabled) ~ ul {
        display: block;
    }

    #UserBookmarks div.css-treeview label,
    #UserBookmarks div.css-treeview a {
        display: inline-block;
        vertical-align: middle;
    }

    #UserBookmarks div.css-treeview input:checked + label {
        background-position: 0 -16px;
        margin-top: 6px;
    }

/* webkit adjacent element selector bugfix */
@media screen and (-webkit-min-device-pixel-ratio:0) {
    #UserBookmarks div.css-treeview {
        -webkit-animation: webkit-adjacent-element-selector-bugfix infinite 1s;
    }

    @-webkit-keyframes webkit-adjacent-element-selector-bugfix {
        from {
            padding: 0;
        }

        to {
            padding: 0;
        }
    }
}

#UserBookmarks div.css-treeview .tree-node-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    margin-top: 5px;
    margin-left: 16px;
}

#UserBookmarks div.css-treeview .bookmarks-tree-node .tree-node-icon {
    background-image: url("../Content/Images/folder.png");
}

#UserBookmarks div.css-treeview .customer-folder .tree-node-icon {
    background-image: url("../Content/Images/customer_folder.png");
}

#UserBookmarks div.css-treeview .bookmarks-tree-node.saved-res-search .tree-node-icon {
    background-image: url("../Content/Images/saved_search.png");
}

#UserBookmarks div.css-treeview .bookmarks-tree-node.saved-proj-search .tree-node-icon {
    background-image: url("../Content/Images/saved_search.png");
}

#UserBookmarks div.css-treeview .personal-folder .tree-node-icon {
    background-image: url("../Content/Images/personal_folder.png");
}

#UserBookmarks div.css-treeview .project-folder .tree-node-icon {
    background-image: url("../Content/Images/project_folder.png");
}

#UserBookmarks div.css-treeview .community-folder .tree-node-icon {
    background-image: url("../Content/Images/community_folder.png");
}

/*@media (max-width: 399px) {
    #UserBookmarks div.css-treeview {
        width: 285px;
    }
}*/
