@media (min-width: 34em) {
    .location-upload.lg-modal--large .lg-modal__panel {
        padding: 3.125em;
    }
}

.location-upload .am-drop-content {
    width: 100%;
    height: 25.75em;
    position: relative;
}

/* --------------------------------------------- \\
    $Dropzone
\\ --------------------------------------------- */

.location-upload .dropzone {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    overflow: hidden;
    overflow-y: auto;
    width: 100%;
    height: 25.75em;
    border: 1px dashed #d0d0d0;
    border-radius: 0.1875em;
    padding: 1.5em 1.2em 1.25em;
    position: absolute;
    top: 0;
    left: 0;
}
@supports (display: grid) {
    .location-upload .dropzone.dz-started {
        display: grid;
        grid-template-columns: repeat(auto-fill, 7.5em);
        grid-column-gap: 2em;
        -webkit-box-pack: center;
            -ms-flex-pack: center;
                justify-content: center;
        padding: 1.5em 2em 1em;
    }
}

/* --------------------------------------------- \\
    $Initial-Message
\\ --------------------------------------------- */

.location-upload .dz-message {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    width: 100%;
    height: 100%;
    margin-top: 0;
    margin-bottom: 0;
}

.location-upload .dz-message .fa {
    color: #d0d0d0;
    font-size: 6em;
}

.location-upload .am-dzc-message {
    color: #b2b2b2;
    font-size: 0.75em;
}

.location-upload .am-dzc-drag-here {
    display: block;
    font-size: 1.6667em;
    font-weight: 700;
    line-height: 1.3;
}

.location-upload .am-dzc-button {
    font-family: inherit;
    color: #009dff;
    font-style: italic;
    text-decoration: underline;
}

/* --------------------------------------------- \\
    $Thumbnails
\\ --------------------------------------------- */

.location-upload .dropzone .dz-preview {
    height: 7.5em;
    margin-bottom: 3.75em;
}
@supports (display: grid) {
    .location-upload .dropzone .dz-preview {
        margin-right: 0;
        margin-left: 0;
    }
}

/* - - - - - - - - - - - - - - - - - - - - - - - \\
    $Image
\\ - - - - - - - - - - - - - - - - - - - - - - - */

.location-upload .dropzone .dz-preview .dz-image {
    border-radius: 0;
}

.location-upload .dropzone .dz-preview .dz-image {
    width: 7.5em;
    height: 7.5em;
}
.location-upload .dropzone .dz-preview.dz-error .dz-image {
    outline: 3px solid #ee2a2a;
    outline-offset: -3px;
}

.location-upload .dropzone .dz-preview .dz-image img {
    width: 7.5em;
    height: 7.5em;
    -webkit-filter: none;
            filter: none;
    -webkit-transform: none;
            transform: none;
}

/* - - - - - - - - - - - - - - - - - - - - - - - \\
    $Details
\\ - - - - - - - - - - - - - - - - - - - - - - - */

.location-upload .dropzone .dz-preview .dz-details {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    opacity: 1;
    padding: 0.5em 0 0;
    font-size: 0.75em;
    text-align: left;
    top: 12px;
    bottom: -1.2em;
    -webkit-transform: translateY(100%);
            transform: translateY(100%);
}
.location-upload .dropzone .dz-preview.dz-image-preview .dz-details {
    -webkit-transition: none;
    transition: none;
}

.location-upload .dropzone .dz-preview .dz-details .dz-size {
    -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
            order: 2;
    margin-bottom: 0;
    font-size: 1em;
}

.location-upload .dropzone .dz-preview .dz-details .dz-size strong {
    font-weight: 400;
}

.location-upload .dropzone .dz-preview .dz-details .dz-filename:hover {
    overflow: hidden;
    text-overflow: ellipsis;
}

.location-upload .dropzone .dz-preview .dz-details .dz-filename span,
.location-upload .dropzone .dz-preview .dz-details .dz-size span {
    border: 0;
    padding: 0;
    background-color: transparent;
}

/* - - - - - - - - - - - - - - - - - - - - - - - \\
    $Progress-Bar
\\ - - - - - - - - - - - - - - - - - - - - - - - */

.location-upload .dropzone .dz-preview .dz-progress {
    width: 100%;
    height: 0.375em;
    margin-top: auto;
    margin-left: auto;
    border-top: 1px solid #fff;
    border-radius: 0;
    background-color: #eee;
    top: auto;
    bottom: 0;
    left: 0;
}

.location-upload .dropzone .dz-preview .dz-progress .dz-upload {
    background: #009dff;
    background: -webkit-gradient(linear, left top, right top, from(#009fdf), to(#47c7fa)) no-repeat;
    background: linear-gradient(to right, #009fdf, #47c7fa) no-repeat;
}

/* - - - - - - - - - - - - - - - - - - - - - - - \\
    $Error-Message
\\ - - - - - - - - - - - - - - - - - - - - - - - */

.location-upload .dropzone .dz-preview .dz-error-message {
    padding: 0.6em 1em;
    background: #ee2a2a;
    color: #fff;
    z-index: 0;
    -webkit-transform: translateY(-6px);
            transform: translateY(-6px);
    -webkit-transition: opacity 300ms ease, -webkit-transform 300ms ease;
    transition: opacity 300ms ease, -webkit-transform 300ms ease;
    transition: transform 300ms ease, opacity 300ms ease;
    transition: transform 300ms ease, opacity 300ms ease, -webkit-transform 300ms ease;
}
.location-upload .dropzone .dz-preview.dz-error:hover .dz-error-message {
    opacity: 0;
}
.location-upload
    .dropzone
    .dz-preview.dz-error
    .dz-image:hover
    ~ .dz-error-message {
    opacity: 1;
    -webkit-transform: translateY(15px);
            transform: translateY(15px);
    z-index: 1000;
}

.location-upload .dropzone .dz-preview .dz-error-message::after {
    border-bottom-color: #ee2a2a;
}

/* - - - - - - - - - - - - - - - - - - - - - - - \\
    $Success-Mark
\\ - - - - - - - - - - - - - - - - - - - - - - - */

.location-upload .dropzone .dz-preview .dz-success-mark {
    opacity: 0;
    margin-top: -1.6875em;
    margin-left: -1.6875em;
    border: 1px solid #fff;
    border-radius: 50%;
    background-color: #fff;
    top: 50%;
    left: 50%;
}
.location-upload .dropzone .dz-preview.dz-success .dz-success-mark {
    opacity: 1;
    margin-top: 0;
    margin-left: 0;
    top: -4%;
    left: 86%;
    -webkit-transition: all 1ms linear 3s;
    transition: all 1ms linear 3s;
}
.location-upload .dropzone .dz-preview.dz-success .dz-success-mark {
    width: 1.25em;
    height: 1.25em;
    -webkit-transition: all 1ms linear 3s;
    transition: all 1ms linear 3s;
}

.location-upload .dropzone .dz-preview.dz-success .dz-success-mark svg {
    width: 1.25em;
    height: 1.25em;
    -webkit-transition: all 1ms linear 3s;
    transition: all 1ms linear 3s;
}

.location-upload .dropzone .dz-preview.dz-success .dz-success-mark svg g {
    stroke-width: 0;
}

.location-upload .dropzone .dz-preview.dz-success .dz-success-mark svg g path {
    fill: #54a41d;
    fill-opacity: 1;
}

/* - - - - - - - - - - - - - - - - - - - - - - - \\
    $Error-Mark
\\ - - - - - - - - - - - - - - - - - - - - - - - */
.location-upload .dropzone .dz-preview .dz-error-mark {
    opacity: 0;
    margin-top: -1.6875em;
    margin-left: -1.6875em;
    border: 1px solid #fff;
    border-radius: 50%;
    background-color: #fff;
    top: 50%;
    left: 50%;
    width: 1.25em;
    height: 1.25em;
    -webkit-transition: all 1ms linear 3s;
    transition: all 1ms linear 3s;
}
.location-upload .dropzone .dz-preview.dz-error .dz-error-mark {
    opacity: 1;
    margin-top: 0;
    margin-left: 0;
    top: -4%;
    left: 86%;
    -webkit-animation: passing-through 3s cubic-bezier(0.77, 0, 0.175, 1);
            animation: passing-through 3s cubic-bezier(0.77, 0, 0.175, 1);
    -webkit-transition: all 1ms linear 3s;
    transition: all 1ms linear 3s;
}
.location-upload .dropzone .dz-preview.dz-error .dz-error-mark svg {
    width: 1.25em;
    height: 1.25em;
    -webkit-transition: all 1ms linear 3s;
    transition: all 1ms linear 3s;
}
.location-upload .dropzone .dz-preview.dz-error .dz-error-mark svg g {
    stroke-width: 0;
}
.location-upload .dropzone .dz-preview.dz-error .dz-error-mark svg g path {
    fill: #ee2a2a;
    fill-opacity: 1;
}
