﻿.img-upload-btn {
    position: relative;
    overflow: hidden;
    padding-top: 95%;
}

    .img-upload-btn input[type=file] {
        position: absolute;
        top: 0;
        right: 0;
        min-width: 100%;
        min-height: 100%;
        font-size: 100px;
        text-align: right;
        filter: alpha(opacity=0);
        opacity: 0;
        outline: none;
        background: white;
        cursor: inherit;
        display: block;
    }

    .img-upload-btn i {
        position: absolute;
        height: 16px;
        width: 16px;
        top: 50%;
        left: 50%;
        margin-top: -8px;
        margin-left: -8px;
    }

.img-upload-btn {
    overflow: hidden;
    display: table-cell;
    cursor: pointer;
    background-color: white !important;
}

.btn-default {
    background-color: white !important;
}

.img-upload-btn img {
    position: absolute;
    cursor: pointer;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    object-fit: cover;
}
