#gallery_selection {
    background-color: #fff;
    padding: 7px;
}

#gallery_selection label {
    font-weight: 600;
    position: relative;
    top: -1px;
}

#gallery_selection .plupload_buttons a {
    margin-right: 6px;
    text-align: center;
    font-size: 11px;
}

#gallery_name {
    width: auto;
    min-width: 200px;
}

#gallery_name.error {
    border: solid 1px red;
}

#upload_images_content {
    padding: 0px;
}

#upload_images_content .plupload_container {
    padding: 0px;
}

.plupload_header {
    display: none;
}

.plupload_buttons {
    display: inline;
    margin-left: 20px;
}

.plupload_droptext {
    font-size: 16px;
    color: silver;
}

/* Gritter customizations */

#gritter-notice-wrapper {
    background: rgba(56, 70, 82, .9);
    border: 1px solid #2a343d;
    margin: 10px 5px 0 0;
    border-radius: 3px;
    bottom: 20px;
    top: auto;
}

.gritter-top, 
.gritter-item,
.gritter-bottom {
    background: none;
}

.gritter-item {
    padding: 2px 11px 0 11px;
}

.gritter-title {
    text-shadow: none;
}

#gritter-notice-wrapper a {
    color: #b8d433;
    text-decoration: none;
    padding-top: 5px;
    display: block;
}

.gritter-close {
    width: auto;
    height: auto;
    background: none;
    display: block !important;
    top: 10px;
    right: 10px;
}

.gritter-close:after {
    content: 'X';
    font-weight: bold;
    font-size: 13px;
}

/* For Redesign */

.gallery_page_ngg_addgallery #ngg_page_content .ngg_page_content_menu {
    width: 25%;
}

.gallery_page_ngg_addgallery #ngg_page_content .ngg_page_content_main {
    width: 75%;
}

#ngg_page_content .plupload_container {
    padding: 0 !important;
    border: 1px solid rgba(159, 187, 26, 0.13) !important;
}

#ngg_page_content .plupload_wrapper {
    font-family: Lato, sans-serif;
    font-size: 13px;
    font-weight: 300;
    letter-spacing: .5px;
}

#ngg_page_content .plupload_filelist_header, 
#ngg_page_content .plupload_filelist_footer,
#ngg_page_content .plupload_file_status span {
    background: #f7f7f7 !important;
    color: #999 !important;
}

#ngg_page_content .plupload_filelist_header {
    border-bottom: 1px solid #f7f7f7 !important;
    display: none;
}

#ngg_page_content .plupload_filelist_footer {
    border-top: 1px solid #f7f7f7 !important;
}

#ngg_page_content .plupload_scroll .plupload_filelist {
    background: #fff !important;
    height: auto;
    overflow-y: hidden;
}

#ngg_page_content .plupload_filelist li {
    border: none;
    background: #fff;
    margin: 0;
    padding: 20px;
}

#ngg_page_content .plupload_filelist li:nth-of-type(2n) {
    background: white;
}

#ngg_page_content #gallery_selection {
    padding: 20px 20px 25px !important;
    background: #f7f7f7;
}

#ngg_page_content #gallery_id,
#ngg_page_content #gallery_name {
    min-width: 200px !important;
    font-size: 13px !important;
    font-family: Lato, sans-serif;
    font-weight: 400;
    color: black !important;
    vertical-align: middle;
}

#ngg_page_content #gallery_name::placeholder {
    color: black !important;
}

#ngg_page_content input#import_gallery_title {
    width: 250px;
    font-size: 13px;
    color: #aaa;
}

@media (max-width: 1380px) {
    .gallery_page_ngg_addgallery #ngg_page_content .ngg_page_content_menu,
    .gallery_page_ngg_addgallery #ngg_page_content .ngg_page_content_main  {
        width: 100%;
    }
}

@media (max-width: 1140px) {
    .plupload_buttons {
        display: block;
        margin: 10px 0 0 75px;
    }
    .gallery_page_ngg_addgallery #ngg_page_content button,
    .gallery_page_ngg_addgallery #ngg_page_content .button-primary,
    .gallery_page_ngg_addgallery #ngg_page_content .button-secondary {
        width: 201px !important;
    }
}

@media (max-width: 800px) {
    .gallery_page_ngg_addgallery #ngg_page_content .ngg_page_content_menu,
    .gallery_page_ngg_addgallery #ngg_page_content .ngg_page_content_main  {
        width: 100%;
    }
    .gallery_page_ngg_addgallery #ngg_page_content .ngg_page_content_main input, 
    .gallery_page_ngg_addgallery #ngg_page_content .ngg_page_content_main select {
        width: 100% !important;
        max-width: 100%;
        margin: 5px 0;
        box-sizing: border-box;
    }
    .gallery_page_ngg_addgallery #ngg_page_content input[type=checkbox] {
        width: 16px !important;
    }
    .plupload_buttons {
        margin-left: 0;
    }
    .gallery_page_ngg_addgallery #ngg_page_content button,
    .gallery_page_ngg_addgallery #ngg_page_content .button-primary,
    .gallery_page_ngg_addgallery #ngg_page_content .button-secondary {
        width: 100% !important;
        margin: 4px 0;
        display: block;
        text-align: center;
    }
    #ngg-importML-gallery-selection {
        display: block !important;
    }
}