.nbdesigner_background_modal_header {
    text-align: center;
    padding-bottom: 5px
}
.nbdesigner_background_modal_header > span {
    font-weight: 700;
    float: left;
    margin-top: 5px
}
.nbdesigner_background_modal_header input {
    display: inline-block;
    max-width: 200px;
    height: 30px;
    border-radius: 0
}
.nbdesigner_background_modal_header button.dropdown-toggle,
.nbdesigner_background_modal_header button.dropdown-toggle:focus {
    height: 30px;
    border-radius: 0;
    background: #394264;
    border: none
}
.nbdesigner_background_modal_header .open button.dropdown-toggle {
    background: #394264
}
.nbdesigner_background_modal_header ul.dropdown-menu {
    border-radius: 0;
    border: none;
    margin-top: 5px;
    text-align: left
}
.nbdesigner_background_modal_header ul.dropdown-menu li a:hover {
    background: #394264
}
#nbdesigner_background_container {
    max-height: 350px;
    position: relative;
    overflow: hidden
}
@media screen and (-ms-high-contrast: active),
(-ms-high-contrast: none) {
    #nbdesigner_background_container .nbdesigner_thumb {
        max-width: 100px;
        margin-left: 10px;
        margin-bottom: 10px;
        width: 100px;
        height: 100px
    }
    #nbdesigner_background_container .nbdesigner_upload_image {
        max-width: 100px;
        max-height: 100px;
        height: auto
    }
}
@media (max-width: 767px) {
    #nbdesigner_background_container {
        max-height: 300px
    }
    .nbdesigner_background_modal_header input {
        margin-bottom: 10px
    }
    .nbdesigner_background_modal_header .btn-group {
        vertical-align: top
    }
}
.nbd-sidebar #tab-background .nbd-items{
    padding: 13px 10px;
}
.nbd-sidebar #tab-background .nbd-items .nbd-title-item{
    text-align: left;
}
.nbd-sidebar #tab-background .nbd-items .current_background{
    width: 100px;
    height: 100px;
}
.nbd-button.upload-background{
    background: #7dadf8;
    display: block;
    font-weight: 600;
    font-size: 11px;
}
.nbd-button.upload-background.highlight{
    box-shadow: 1px 1px 6px 2px #888888;
}
.nbd-text-color-picker.active{
    z-index: 9;
}
.nbd-sidebar #tab-background .nbd-items.colors-items{
    position: relative;
}
.nbd-sidebar #tab-background .nbd-items.colors-items ul li.color-palette-add{
    border: 2px solid #fff;
}
.nbd-sidebar #tab-background .nbd-items.colors-items ul li.color-palette-add:after{
    top: -2px;
    left: -2px;
    color : #fff;
    text-shadow: none;
    
}
.nbd-sidebar #tab-background .nbd-items.colors-items ul li{
    margin-right: 5px;
    margin-bottom: 5px;
}