.er-file-upload{
    height: 100%;
}
.er-upload-photo{
    height: 75px;
    width: 75px;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(0, 0, 0, .8);
}
.er-upload-image{
    width: 100%;
    max-width: 50%;
    box-shadow: 0 0 5px rgba(0, 0, 0, .2);
    margin: auto;
    /* Checkerboard background for transparent images */
    background-image: linear-gradient(to right, rgba(215, 215, 215, 0.8), rgba(215, 215, 215, 0.8)), linear-gradient(to right, black 50%, white 50%), linear-gradient(to bottom, black 50%, white 50%);
    background-blend-mode: normal, difference, normal;
    background-size: 2em 2em;
}

/* Prevent text shifting on <label> click */
input[type=file]{
    margin: 0 !important;
}
.er-fileinput-button {
    position: relative;
    overflow: hidden;
    color: #333;
    background-color: #fff;
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid #adadad;
    border-radius: 4px;
}
.er-fileinput-button:hover{
    color: #333;
    background-color: #e6e6e6;
    border-color: #adadad;
}
.er-file-instructions{
    margin-top: 20px;
}
.er-fileinput-button input {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    opacity: 0;
    -ms-filter: 'alpha(opacity=0)';
    direction: ltr;
    cursor: pointer;
    filter: alpha(opacity=0);
}

.er-fileinput-button label {
    margin-bottom: 0; /* Counteracts bootstrap styling */
}

/* Fixes for IE < 8 */
@media screen\9 {
    .fileinput-button input {
        filter: alpha(opacity=0);
        font-size: 100%;
        height: 100%;
    }
}
.er-dropzone {
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 15px;
    margin-left: 5%;
    margin-right: 5%;
    height: auto;
    text-align: center;
    border: 1px solid #ddd;
    background-color: #f5f5f5;
    margin-top: 10px;
    margin-bottom: 10px;
    -moz-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
    -ms-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
}
.er-dropzone-large{
    height: 210px;
}
.er-dropzone-auto{
    height: auto;
}

.er-dropzone.in {
    border: 1px solid #D3D6EC;
    background-color: #E8ECF8;
}
.er-dropzone.hover {
    background-color: #CED7F5;
}
.er-dropzone.fade {
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -ms-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
    opacity: 1;
}
.er-progress {
    margin-left: 5%;
    margin-right: 5%;
    height: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
    overflow: hidden;
    background-color: #FAFAFA;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,.1);
    box-shadow: inset 0 1px 2px rgba(0,0,0,.1);
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.er-file-description{
    margin-top: 20px;
    font-weight: normal;
}
.er-file-description-expanded{
    margin: 40px;
}
.er-file-error{
    font-weight: bold;
    color: #ff3f3f;
}
.er-progress-bar {
    float: left;
    width: 0;
    height: 100%;
    font-size: 12px;
    line-height: 20px;
    color: #fff;
    text-align: center;
    background-color: #428bca;
    -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15);
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15);
    -webkit-transition: width .6s ease;
    -o-transition: width .6s ease;
    transition: width .6s ease;

    -webkit-animation: er-progress-bar-stripes 2s linear infinite;
    -o-animation: er-progress-bar-stripes 2s linear infinite;
    animation: er-progress-bar-stripes 2s linear infinite;

    background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
    background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
    background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
    -webkit-background-size: 40px 40px;
    background-size: 40px 40px;
}
@-webkit-keyframes er-progress-bar-stripes {
    from {
        background-position: 40px 0
    }

    to {
        background-position: 0 0
    }
}

@-o-keyframes er-progress-bar-stripes {
    from {
        background-position: 40px 0
    }

    to {
        background-position: 0 0
    }
}

@keyframes er-progress-bar-stripes {
    from {
        background-position: 40px 0
    }

    to {
        background-position: 0 0
    }
}

.sponsor-form {
    margin-top: 10px;
}

.er-remove-file-zone{
    position: absolute;
    bottom: 30px;
    left: 35px;
}