@font-face {
    font-family: 'Lato';
    src: url('../../nextgen_admin/static/Lato-Regular.ttf') format('truetype')
}

#ngg_page_content .ngg_page_content_main {
    min-height: 0;
}

#gallery_selection {
    display: flex;
    align-items: center;
    justify-content: left;
    padding: 20px 20px 25px !important;
    background: #f7f7f7;
    flex-wrap: wrap;
}

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

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

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

#upload_images_content {
    padding: 0px;
}

/* 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;
    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 #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 input#import_gallery_title {
    width: 250px;
    font-size: 13px;
    color: #aaa;
}

#ngg_page_content #gallery_create {
    background: black;
    margin-left: 2px;
}

.toast-close {
    opacity: 1 !important;
    color: white;
    margin-left: 10px;
}

/* This button will appear at lower resolutions despite the hidden class */
#ngg_page_content #gallery_create.hidden {
    display: none !important;
}

#ngg_page_content #gallery_create:hover {
    cursor: pointer;
}

/* Uppy specific styling and tweaks */
#ngg_page_content button.uppy-StatusBar-actionBtn,
#ngg_page_content button.uppy-DashboardContent-back,
#ngg_page_content button.uppy-DashboardContent-addMore,
#ngg_page_content button.uppy-Dashboard-browse {
    background: black;
}

#ngg_page_content button.uppy-DashboardContent-addMore svg {
    height: 22px;
    width: 18px;
    margin-top: 7px;
    margin-right: 0;
}

#ngg_page_content .uppy-size--md span.uppy-DashboardContent-addMoreCaption {
    margin-left: 8px;
}

#ngg_page_content span.uppy-DashboardContent-addMoreCaption {
    float: right;
}

#ngg_page_content .uppy-Dashboard-Item-progressIndicator:hover {
    background: none !important;
}

#ngg_page_content .uppy-StatusBar-actions button {
    padding-right: 0;
}

#ngg_page_content button.uppy-StatusBar-actionBtn--retry {
    margin-right: 6px;
    padding-left: 27px !important;
}

#ngg_page_content .uppy-StatusBar-actionBtn--retry svg {
    top: 12px;
}

#ngg_page_content button.uppy-StatusBar-actionCircleBtn:hover {
    background: none !important;
}

#ngg_page_content button.uppy-StatusBar-actionCircleBtn {
    padding: 0 !important;
}

#ngg_page_content button.uppy-StatusBar-actionCircleBtn svg {
    vertical-align: middle;
}

#ngg_page_content button.uppy-DashboardContent-addMore svg,
#ngg_page_content button.uppy-StatusBar-actions svg {
    line-height: initial;
}

#ngg_page_content button.uppy-Dashboard-Item-action--remove {
    background: none !important;
    padding: 0 !important;
    width: auto !important;
    margin: 0;
}

#ngg_page_content button.uppy-Dashboard-Item-action--remove svg {
    color: #1f1f1f !important;
}

#ngg_page_content div.uppy-Dashboard-AddFiles-title {
    max-width: 600px;
}

#ngg-create-gallery-default-text {
}

#ngg-create-gallery-waiting-text {
}

@media screen and (max-width: 1200px) {
    #gallery_selection {
        justify-content: center;
    }
    #ngg_page_content #gallery_name {
        flex-grow: 1;
    }
    #gallery_create {
        margin-top: 5px;
    }
}

@media screen and (max-width: 782px) {
    #ngg_page_content div.uppy-DashboardContent-title {
    }
    #ngg_page_content button.uppy-DashboardContent-addMore,
    #ngg_page_content button.uppy-DashboardContent-back {
        width: auto !important;
        margin: 0;
    }
}

/* Media Queries */

@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) {
    .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;
    }
    .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;
    }
}