.app_pane [data-zd-type], .app_view [data-zd-type] {
    display: none;
}

section.main_panes.apps_nav_bar {
    margin-top: 44px;
    padding: 10px;
    position: absolute;
    top: 42px;
    bottom: 0;
    right: 0;
    left: 60px;
    overflow: auto;
}

    section.main_panes.apps_nav_bar > header {
        position: fixed;
        border-style: solid;
    }

        section.main_panes.apps_nav_bar > header .app-warning-icon {
            margin-top: 8px;
            margin-right: 8px;
        }

        section.main_panes.apps_nav_bar > header .logo {
            float: left;
            margin: 8px 10px;
        }

        section.main_panes.apps_nav_bar > header h3 {
            height: 20px;
            padding: 9px 0 10px 15px;
            font-size: 13px;
            color: #333;
            margin: 0;
            line-height: 22px;
        }

#alert.visible + #wrapper section.main_panes.apps_nav_bar > header {
    top: 94px;
}

section.main_panes.apps_nav_bar > footer {
    position: static;
    background: none;
    border: none;
    height: auto;
}

section.main_panes.apps_nav_bar .pane {
    border: none;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
}

section.main_panes .with_apps_pane {
    right: 370px;
}

#branding_header .apps_group {
    position: relative;
    margin-right: 5px;
}

    #branding_header .apps_group > .btn:last-of-type {
        border-top-right-radius: 4px;
        border-bottom-right-radius: 4px;
    }

    #branding_header .apps_group .btn img {
        opacity: 1;
    }

    #branding_header .apps_group.btn-group .btn.reload_apps {
        width: 20px;
        height: 20px;
        background: url(../images/top_bar_reload.png) no-repeat;
    }

@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 1.5dppx) {
    #branding_header .apps_group.btn-group .btn.reload_apps {
        background-image: url(/agent/assets/icons/apps/top_bar_reload_2x-e3cf31b122f50b1e87319fddc2c6f0c3.png);
        background-size: 34px 34px;
    }
}

.ticket .apps, .user .apps {
    background-color: #f8f8f8;
    bottom: 50px;
    border-left: 1px solid #d5d5d5;
    overflow-x: hidden;
    overflow-y: auto;
    padding-top: 4px;
    position: absolute;
    right: 0;
    top: 86px;
    width: 369px;
}

    .ticket .apps:not(.is_active), .user .apps:not(.is_active) {
        right: -369px;
    }

    .ticket .apps header, .user .apps header {
        height: auto;
        outline: none;
        border-top: none;
        background-color: #fff;
    }

        .ticket .apps header h3, .user .apps header h3 {
            font-size: 14px;
            line-height: 30px;
        }

    .ticket .apps .app_loader, .user .apps .app_loader {
        background: transparent url(/agent/assets/icons/spinners/loading_2x_ff-e93736549f833458ede55c6288f48bc4.gif) no-repeat;
        background-size: 25px 25px;
        display: none;
        float: right;
        height: 25px;
        margin-left: 5px;
        width: 25px;
    }

    .ticket .apps .box, .user .apps .box {
        background: #FFF;
        border: 1px #d5d5d5 solid;
        float: left;
        margin: 0 0 10px 8px;
        padding: 10px 15px 20px;
        width: 320px;
        border-radius: 5px;
    }

    .ticket .apps hr, .user .apps hr {
        border-top: 1px dotted #CCC;
    }

    .ticket .apps .empty, .user .apps .empty {
        margin-top: 55px;
        text-align: center;
        font-weight: bold;
    }

        .ticket .apps .empty img, .user .apps .empty img {
            width: 55px;
            height: 55px;
        }

        .ticket .apps .empty a, .user .apps .empty a {
            color: #aaa;
            padding: 10px 40px;
            font-size: 14px;
        }

        .ticket .apps .empty p, .user .apps .empty p {
            margin: 45px 65px 30px;
            color: #ccc;
            font-size: 14px;
        }

.user .apps {
    bottom: 0;
}

a.apps_nav_bar.app_view {
    background-image: none;
    display: block;
    margin: 6px 0;
    text-align: center;
}

    a.apps_nav_bar.app_view img {
        height: 35px;
        max-width: 85%;
    }

.apps.popover {
    margin-top: 45px;
    text-align: left;
    height: 0;
    width: 0;
    display: block;
}

    .apps.popover .popover-inner {
        overflow: auto;
        background-color: #FFF;
    }

        .apps.popover .popover-inner > header {
            height: 37px;
            border-bottom: 1px solid #E2E2E2;
            margin-bottom: 0;
            background-color: #F7F7F7;
        }

            .apps.popover .popover-inner > header h3 {
                padding: 12px 10px;
                font-size: 12px;
                font-weight: bold;
                line-height: 15px;
            }

            .apps.popover .popover-inner > header .logo {
                margin: 5px 10px;
            }

        .apps.popover .popover-inner > footer {
            padding: 0 10px 10px 10px;
        }

    .apps.popover [data-main] {
        background-color: #fff;
        padding: 10px;
    }

.apps [data-main] header {
    height: auto;
    background-color: #fff;
    outline: none;
    border-top: none;
}

    .apps [data-main] header h1 {
        font-size: 30px;
        line-height: 36px;
        height: auto;
        padding: 0;
    }

.apps header {
    border-bottom: 1px dotted #CCC;
    margin-bottom: 12px;
}

    .apps header .app-warning-icon {
        cursor: pointer;
        float: right;
        margin-left: 2px;
        padding: 5px;
    }

    .apps header img {
        background-color: transparent;
        background-repeat: no-repeat;
        background-size: 25px 25px;
        float: right;
        height: 25px;
        width: 25px;
    }

.apps footer {
    background: none;
    border: 0;
    padding-top: 10px;
}

.apps .action_buttons {
    position: relative;
    margin: 0 0 5px 10px;
}

    .apps .action_buttons .action_button_container:hover + .action_button_container .count {
        display: none;
    }

    .apps .action_buttons .action_button {
        float: right;
        opacity: 0.4;
        height: 22px;
        padding: 0 5px;
        margin-right: 5px;
        font-weight: normal;
    }

        .apps .action_buttons .action_button.no_pointer {
            cursor: default;
        }

        .apps .action_buttons .action_button .action_label {
            display: none;
            position: absolute;
            right: 30px;
            height: 22px;
            padding-right: 5px;
        }

        .apps .action_buttons .action_button:hover {
            opacity: 1;
        }

            .apps .action_buttons .action_button:hover .action_label {
                display: block;
            }

            .apps .action_buttons .action_button:hover .count {
                display: none;
            }

    .apps .action_buttons.has_background_apps .action_button span {
        right: 55px;
    }

.apps .spinner {
    background: transparent no-repeat center;
    display: block;
    margin: 15px auto;
}

    .apps .spinner.dotted {
        background-image: url(/agent/assets/icons/spinners/dotted_bar-8bfc80636ba5c9ff9b7e2900b78e568b.gif);
        height: 11px;
    }

    .apps .spinner.lotus {
        background-image: url(/agent/assets/icons/spinners/spinner_lotus_green-5ce336410d730a88c642923be5a5c57a.gif);
        height: 60px;
    }

.apps select {
    border: 1px solid #d3d3d3;
}
