﻿body {
    background-color: #ebeeef;
}

.upload-form-div {
    background-color: white;
    box-shadow: 0 1px 3px 0 rgba(0,0,0,.1), 0 1px 2px 0 rgba(0,0,0,.06);
}

.upload-form-div form {
    padding: 0px 50px 50px 50px;
}

.upload-form-header {
    margin-bottom: 20px;
    overflow: hidden;
    color: #343a40;
    height: 250px;
    background-position: left;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: whitesmoke;
}

.upload-form-header-overlay {
    text-align: center;
}

.upload-form-div input {
    border: 1px solid #ced4da;
    border-radius: 0px;
    font-family: 'Open Sans', sans-serif;
}

.upload-form-div input:focus {
    border: 1px solid #1861ac;
    box-shadow: none;
}

.upload-button {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
    margin-bottom: 0;
}

.upload-button:hover {
    color: #fff;
    background-color: #0069d9;
    border-color: #0062cc;
    margin-bottom: 0;
}

.upload-button-div label {
    width: 400px;
}

.upload-button-div {
    padding-top: 10px;
    padding-bottom: 10px;
}

.instruction-div {
    padding: 10px 50px 0 50px;
}

.top-row {
    margin-top: 20px;
}

.upload-label {
    padding-right: 0;
    padding-left: 0;
}

#upload-success-alert {
    background-color: #28a745;
}

#upload-error-alert {
    background-color: #dc3545;
}

#upload-error-alert, #upload-success-alert {
    visibility: hidden;
    min-width: 250px;
    color: #fff;
    text-align: center;
    border-radius: 2px;
    padding: 16px;
    position: fixed;
    z-index: 1;
    top: 30px;
    right: 30px;
    font-size: 17px;
    cursor: pointer;
    width: auto;
    margin-left: -125px;
}

#upload-error-alert.show, #upload-success-alert.show {
    visibility: visible;
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 1s;
}

#upload-error-alert.hide, #upload-success-alert.hide {
    visibility: visible;
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadeout 0.25s;
}


@-webkit-keyframes fadein {
    from {
        right: 0;
        opacity: 0;
    }

    to {
        right: 30px;
        opacity: 1;
    }
}

@keyframes fadein {
    from {
        right: 0;
        opacity: 0;
    }

    to {
        right: 30px;
        opacity: 1;
    }
}

@-webkit-keyframes fadeout {
    from {
        right: 30px;
        opacity: 1;
    }

    to {
        right: 0;
        opacity: 0;
    }
}

@keyframes fadeout {
    from {
        right: 30px;
        opacity: 1;
    }

    to {
        right: 0;
        opacity: 0;
    }
}

#upload-error-alert-close, #upload-success-alert-close {
    position: absolute;
    top: 2px;
    right: 2px;
}

.submit-upload-button {
    text-align: right;
}

.submit-upload-button button {
    width: 200px
}

.upload-row {
    margin-left: 0;
    margin-right: 0;
}