html, main, body {
    background-color: #1E1E1E;
}

/* Not part of the upload form per se, but because the progress bar itself is the main (and only) feedback for the whole uploading process I thought this is close enough to define "progress bar-related rules" here. */

/* TODO: Add more style to the progress bar. */

.progressbar-wrapper {
    margin-bottom: 2rem;
    text-align: center;
}

progress:not([value]) {
   display: none;
}

progress[value] {
  width: 60%;
  height: 20px;
}

input[type="file"]:active,input[type="file"]:focus,
.box__file:active, .box__file:focus{
    outline-style: none;
}

a {
    color: inherit;
    text-decoration: none;
}

main {
    margin-top: 3.7rem;
}

.panel-wrapper {
    padding-left: 2rem;
    padding-right: 2rem;

}

.upload-main-panel {
    background-color: white;
    border-radius: 1rem;
    padding-bottom: 3rem;
    padding-top: 1.5rem;
    margin: 1rem;

}

/*MOBILE ONLY CODE*/
@media screen and (max-width: 1080px) {

    .panel-wrapper {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .upload-main-panel {

        padding-bottom: 1.5rem;
        padding-top: .5rem;

    }
}

/*DESKTOP ONLY CODE*/

@media screen and (min-width: 1080px) {

    .upload-main-panel {
        margin: 2.5rem 13rem;
    }

}

.upload-main-title {
    font-family: "Helvetica Neue", sans-serif;
    font-size: 1.3rem;
    color: #3A3A3A;
    padding-top: 1rem;
    display: inline-block;
    float: left;
    padding-bottom: .4rem;

}

.upload-main-hor-bar {
    display: inline-block;
    float: left;
    width: 100%;
    height: 1px;
    background-color: #E5E5E5;

}

.upload-drop-area {

    height: auto;
    margin-top: 1rem;
    box-sizing: border-box;

    border: dashed #BABABA 3px;
    border-radius: .7rem;
    display: inline-block;
    float: left;
    width: 100% !important;

}

.upload-drop-area:hover {
    background-color: #F9F9F9;
}

.cloud-wrapper {

    box-sizing: border-box;
    width: 100%;
    height: auto;
    position: relative;

}

.upload-cloud-img {
    margin: 0 auto;
    display: block;
    max-width: 186px;
    padding: 1rem;
}


.upload-spinning-locker {
    position: absolute;
    top: 3.9rem;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    max-width: 59.8px;
    opacity: .8;
    width: 100%;
}

.upload-locker {
    position: absolute;
    top: 4.9rem;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    max-width: 21.5px;
    opacity: 0.6;
    width: 100%;
}

.upload-drop-area-description {
    font-family: Quicksand, sans-serif;
    font-size: 1rem;
    text-align: center;
    padding-bottom: 1rem;
    padding-left: .5rem;
    padding-right: .5rem;
    color: #727272;
}

.upload-icon-copy {
    color: #727272;

}

.upload-form-icon {
    font-size: 1rem;
    margin-right: .4rem;
    padding: .5rem;
    display: block;
}

.upload-form-icon:hover {
    cursor: pointer;
    color: #355FF2;
}

.upload-file-actions .upload-form-icon {
    margin-left: 0.5rem;

}

/*MOBILE ONLY CODE*/
@media screen and (max-width: 1080px) {

    .upload-file-actions .upload-form-icon {
        margin: 0 auto;
        display: inline-block;
        width: 100%;
        text-align: center;
        margin-left: -.5rem;

    }

    .upload-form-actions {
        font-size: .9rem;
        display: block;
        margin: 0 auto;
    }

}

.flaticon-envelope, .flaticon-link {
    margin-left: -1rem;
}

.files-area {
    box-sizing: border-box;

    padding-top: .5rem;
}

.files-area-button {
    font-family: "Helvetica Neue", sans-serif;
    font-size: .8rem;
    box-sizing: border-box;
    /*border: solid 1px hotpink;*/
    text-align: center;
    margin: auto 0;
    display: block;

}

.upload-panel-icon {
    max-width: 16px;
    max-height: 16px;
}

/* TABLE =========================================== */

.upload-table {

    border-collapse: collapse; /*ALERT*/
    font-family: "Helvetica Neue", sans-serif;
    font-size: .7rem;
    margin-top: 2rem;

    width: 100%;

}

/* File Listing Table =========================================== */

.file-name {
    font-size: 0.7rem;
    display: inline-block;
    width: 85%;
    overflow-wrap: break-word;
    box-sizing: border-box;
    font-weight: bolder;
    margin-bottom: .4rem;
}

.upload-panel-icon {
    margin-right: 0.2rem;
    margin-left: .5rem;
}

/*DESKTOP ONLY CODE*/

@media screen and (min-width: 1080px) {

    .file-name {
        font-size: 0.9rem !important;

    }
}

@media screen and (device-aspect-ratio: 40/71) {
    .file-name {
        font-size: 0.7rem;

    }
}

/*MOBILE ONLY CODE*/
@media screen and (max-width: 1080px) {

    .file-name {
        width: 70%;

    }

    th {
        text-align: center !important;
    }

    td {
        padding-left: 0 !important;
        padding-right: 0 !important;
        padding-top: .3rem;
        padding-bottom: .3rem;
    }

}

thead {
    text-align: center;
    background-color: white;
}

th {
    border: 1px solid #E8E8E8;

    padding: .5rem;
    text-align: left;
}

tr {
    width: 100%;

}

td {

    padding: .75rem;
    border: 1px solid #E8E8E8;

    text-align: left;
    width: 25%;
}

tr:hover {
    background-color: #F9F9F9;
}

tr:nth-of-type(even) {
    background-color: #F4F4F4;
}


.option-link:hover {
    color: #355FF2;
}

/* Footer =========================================== */

footer {
    margin-top: 0 !important;
}

.footer-countable-logo {
    max-width:64px;
    opacity:.5;
    margin-top:-3rem;
}



/* ALERTS LIST =========================================== */

.alerts-list {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 30%;
    /*border: solid 1px hotpink;*/
    box-sizing: border-box;
    padding: .5rem;
    z-index: 999;
}


/*MOBILE ONLY CODE*/
@media screen and (max-width: 1080px) {
    .alerts-list {
         position: fixed;
          left: 50%;
          transform: translateX(-50%);
        width:100%;
    }
}
