.upload-panel-wrapper-shade {
    position: absolute;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    top: 0px;
    left: 0px;
    z-index: 1000;
    transition: all .3s;
}


#upload-done {
    position: relative;
    padding: 1vh 5vw 0 5vw;
    width: 60vw;
    margin: 14vh auto;
    text-align: center;
    height: 70vh;
    display: none;
}
#upload-done .message{
    margin-top: 23vh;
}
#upload-done .first-row {
    font-size: 5vh;
    margin-bottom: 1vh;
}

#upload-done .second-row {
    font-size: 5vh;
}

#create-collection-panel
{
    position: relative;
    width: 838px;
    text-align: center;
}

@media (min-width: 1600px) {
    #create-collection-panel {
        width: 1200px;
    }
}

#create-collection-panel .import-search-wrapper {
    /*margin-top: 15px;*/
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: row;
    position: relative;
    justify-content: center;
}

ul.sources-list {
    list-style-type: none;
    padding: 0;
    margin: .5em 0;
}

.sources-list li {
    padding: .2em 1em;
}

.sources-list li:not(.active-item):hover {
    background-color: #f5f5f5;
    cursor: pointer;
}

.sources-list li.add-collection {
    border-bottom: 1px solid #ccc;
}

.sources-list li.all-collections {
    border-bottom: 1px solid #ccc;
}

.sources-wrapper {
    display: none;
    position: absolute;
    left: 0;
    bottom: 100%;
    background-color: white;
    box-shadow: 0 0 1px black;
    border-radius: 5px;
    box-shadow: 0 6px 12px rgba(0,0,0,.175);
    margin-bottom: 2px;
    text-align: left;
    z-index: 2;
}

.green-button {
    margin-bottom: 1px;
    border: 2px solid #acb4c4;
    border-radius: 3px;
    padding: 0 17px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    color: #303a43;
    background-color: white;
    text-shadow: none;
    position: relative;
    height: 49px;
    margin-left: 15px;
    text-transform: uppercase;
}

.uploads-menu li {
    line-height: 23px;
    cursor: pointer;
    white-space: nowrap;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden !important;
    max-width: 14em;
}

.uploads-menu li.inactive {
    cursor: default !important;
    color: #ccc;
}

#create-collection-panel .import-search-wrapper #choose-import-source {
    position: relative;
    height: 49px;
    width: 49px;
    border: 2px solid #acb4c4;
    border-right: none;
    border-radius: 3px 0 0 3px;
    background-color: inherit;
    padding: 0 12px;
    font-size: 29px;
    outline: none;
    cursor: pointer;
    color: #acb4c4;
}

#create-collection-panel .import-search-wrapper #choose-import-source:hover {
    background-color: #fff;
}

#create-collection-panel .import-search-wrapper #import-search {
    border: 2px solid #acb4c4;
    outline: none;
    border-radius: 0 3px 3px 0;
    font-size: 15px;
    flex-grow: 1;
    height: 43px;
    padding-left: 22px;
}

#create-collection-panel .import-search-wrapper #import-search::-webkit-input-placeholder {
   font-style: italic;
   color: #acb4c4;
}
#create-collection-panel .import-search-wrapper #import-search:-moz-placeholder {
   font-style: italic;
   color: #acb4c4;
}
#create-collection-panel .import-search-wrapper #import-search::-moz-placeholder {
   font-style: italic;
   color: #acb4c4;
}
#create-collection-panel .import-search-wrapper #import-search:-ms-input-placeholder {
   font-style: italic;
   color: #acb4c4;
}


#create-collection-panel .import-search-wrapper #import-search:focus {
    outline: 1;
}

#create-collection-panel h1 { margin-bottom: 0; position: relative; }

.upload-panel-wrapper {
    position: relative;
    /*height: 353px;*/
    height: 379px;
    display: flex;
    flex-direction: column;
}

.upload-panel {
    border: 2px dashed #acb4c4;
    min-height: 48px;
    position: relative;
    border-radius: 3px;
    flex-grow: 1;
    z-index: 1;
}
.upload-panel.dragged {
    border-color: #0f0 !important;
 }
.upload-files { opacity: 1; height: 100%; width: 100%; top: 0; left: 0; position: absolute; }
.drop-formats { width: 100%; font-size: 1.7vh; margin-bottom: 1.5vh; }
.staged-files {
    display: none;
    margin: 0 0 15px;
    overflow: hidden;
    list-style-type: none;
    padding: 0;
    text-align: left;
    overflow-y: auto;
}

.staged-files li {
    position: relative;
    margin-bottom: 18px;
    height: 67px;
    border: 2px solid #acb4c4;
    border-radius: 3px;
    display: flex;
}

.staged-files li.uploading {
    height: 82px;
}

.staged-files li > div {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.staged-files li > div:first-child {
    margin-left: 17px;
}

.staged-files li > div:last-child {
    flex-grow: 1;
    padding-right: 30px;
    margin-left: 12px;
}

li.uploading .upload-line {
    display: block;
}

.upload-line {
    display: none;
    position: relative;
    height: 5px;
    background-color: #acb4c4;
    width: 100%;
    border-radius: 2px;
    margin-bottom: 8px;
}

.upload-line .progress-line {
    height: 100%;
    width: 0%;
    background-color: #0fe1ab;
}

li.uploading .file-name {
    margin-bottom: 8px;
}

.file-name {
    font-size: 16px;
    margin-bottom: 3px;
}

.file-size {
    font-size: 13px;
    color: #acb4c4;
}

.file-type {
    height: 37px;
}

li.uploading .staged {
    display: none;
}

.staged {
    height: 34px;
    cursor: pointer;
    position: absolute;
    right: 20px;
    opacity: .5;
    z-index: 1;
}

li.uploading .cancel-upload {
    display: inline;
}

.cancel-upload {
    display: none;
    background-image: url(/static/img/close.svg);
    opacity: .6;
    top: 10px;
    right: 30px;
    position: absolute;
    height: 16px;
    width: 16px;
    background-size: cover;
    border: 2px solid #acb4c4;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1;
}

li.uploading .upload-speed {
    display: inline;
}

.upload-speed {
    color: #acb4c4;
    top: 56px;
    right: 30px;
    position: absolute;
    font-size: 13px;
    display: none;
}



.uploaded-staged {
    background-size: cover;
    height: 2vh; width: 2vh; float: left;
    background-image: url(/static/img/uploaded.png);
    margin-right: 0.5vw;
    cursor: pointer;
}

input#collection-name {
    border: 1px solid #777;
    width: 28em;
    padding: 5px;
}

input#stackOverflowInputId {
    border: 1px solid #777;
    width: 100%;
    padding: 5px;
}

.UploadProgressMessage {
    width: 100%;
    padding: 5px;
}

.UploadProgressMessagePart {
    padding: 5px;
}

.prepared-collection-name {
    height: 1em;
    font-weight: bold;
}

.details {
    margin-top: 1.5em;
    font-size: 1em;
    height: 2em;
}

.upload-cats-wrapper {
    height: 1em;
    float: left;
    left: 50%;
    position: relative;
    transform: translateX(-50%);
}

.upload-cat-wrapper {
    position: relative;
}
.upload-cat { text-align: center; cursor: pointer; }
.upload-cat-wrapper:not(.add-collection):after {
    width: 0;
    height: 0;
    border: 3.5px solid transparent;
    border-left: 3.5px solid #646f82;
    content: "";
    position: absolute;
    top: 4px;
    right: .2em;
    margin: 6px 0 0;
}

.create-collection-wrapper {
    display: none;
    position: absolute;
}

#create-collection-panel .progress {
    margin-bottom: 15px;
    display: none;
}

#create-collection-panel .progress .finished {
    display: none;
}


.upload-cat-wrapper.opened .uploads-wrapper {

    display: block;
}

.uploads-wrapper {
    display: none;
    top: -.5em;
    left: 100%;
    position: absolute;
    background: #fff;
    padding: 1em 0;
    min-width: 13em;
    z-index: 100;
    box-shadow: 0 0 1px rgba(76,86,103,.25), 0 2px 18px rgba(31,37,50,.32);
    max-height: 40vh;
}

.uploads-menu {
    list-style: none;
    position: relative;
    z-index: 200;
    max-height: 30vh;
    overflow-y: auto;
    padding-right: 0;
    padding-left: 0;
}

.add-collection .uploads-menu { margin: 0; }

.uploads-menu li {
    line-height: 23px;
    cursor: pointer;
    white-space: nowrap;
    padding: 0 1em;
}

.uploads-menu li[data-slug="0"] {
    border-bottom: 1px solid #ccc;
}

.add-collection .uploads-menu li {
    padding: 8px 9px;
}

input#col-name-check-avail {
    margin-top: 0.7em;
}

.uploads-menu li:hover {
    background-color: #eee;
}

.uploads-menu li.active-item {
    background-color: #ccf;
}



.existing-sources {
    display: flex;
    position: absolute;
    right: 100%;
}

.existing-sources .source {
    margin-right: 1em;
}

.collection-create-success {
    display: none;
    color: #1bb71b;
    white-space: nowrap;
}

.collection-create-failed {
    display: none;
    color: #f00;
    white-space: nowrap;
}

#create-collection-panel .collection-name-wrapper {
    display: flex;
    justify-content: center;
    padding: 13px;
}

#create-collection-panel .submit-here {
    color: #303a43;
    font-size: 46px;
    font-weight: bold;
    margin-top: 14px;
}

#create-collection-panel .submit-messy {
    color: #acb4c4;
    margin-top: 13px;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 31px;
}

#create-collection-panel .closebtn {
    right: 28px;
    top: 28px;
}
#create-collection-panel .drop-here {
    color: #acb4c4;
    position: absolute;
}

#create-collection-panel .drop-here .browse {
    color: #0fe1ab;
    cursor: pointer;
}

#create-collection-panel > .panel-inner {
    padding: 52px 50px;
}

.panel-inner.invalid-file {
    display: none;
    position: absolute;
    top: 160%;
    z-index: 1;
    box-shadow: 0px 3px 37px -4px rgba(0,0,0,.4);
    height: 59px;
    width: 223px;
    padding: 35px 7px;
}

.invalid-file>div:first-child {
    font-weight: 700;
    font-size: 13px;
    color: #303a43;
    margin-bottom: 7px;
}

.invalid-file>div:last-child {
    color: #acb4c4;
    font-size: 14px;
}

.invalid-file:after {
    height: 13px;
    width: 13px;
    background-color: white;
    position: absolute;
    content: " ";
    top: -7px;
    transform: rotate(45deg);
}




#create-collection-panel .collection-name {
    position: relative;
    height: 1em;
}

#create-collection-panel .collection-name-wrapper {
}


.overwrite-warning-wrapper {
    position: absolute;
    min-width: 50%;
    text-align: center;
    display: none;
    background-color: rgba(255, 255, 255, 0.9);
}

.warnings {
    position: relative;
    margin: 1em auto;
    width: 90%;
    max-height: 55vh;
    overflow: hidden;
    overflow-y: auto;
}

.warning-wrapper {
    padding: 0.5em 1em;
    overflow: hidden;
}

.warning-wrapper .checkbox { float: left; margin-top: 1.3em; }

.warning-wrapper .image {
    float: left;
    width: 4em;
    height: 4em;
    -webkit-transition: all .1s ease-in-out;
    -moz-transition: all .1s ease-in-out;
    -o-transition: all .1s ease-in-out;
    transition: all .1s ease-in-out;
    margin-left: 2em;
}

.warning-wrapper .image:hover {
    -webkit-transform: scale(1.5);
    -moz-transform: scale(1.5);
    -o-transform: scale(1.5);
    transform: scale(1.5);
}

.warning-wrapper .image a {
    display: block;
    background-size: contain;
    background-position: center center;
    height: 100%;
    width: 100%;
}

.warning-wrapper .filename { float: left; margin-left: 2em; margin-top: 1.3em; }
.warning-wrapper .size { float: left; margin-left: 2em; margin-top: 1.3em;}

.interrupt-import {
    color: #292b2c;
    background-color: white;
    border: 1px solid #ccc !important;
    text-align: center;
    white-space: nowrap;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 2px;
    padding-bottom: 1px;
    font-size: 1rem;
    border-radius: .25rem;
    -webkit-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    overflow: visible;
    box-sizing: inherit;
}
/*.interrupt-import:hover {
    background-color: #f2d0f7;
}*/