﻿
.image-container {
    /*max-width: 960px;
    margin: 30px auto;
    padding: 20px 0;*/
    width: 100%
}


.avatar-upload {
    position: relative;
    /*max-width: 305px;*/
}

    .avatar-upload .avatar-edit {
        position: absolute;
        right: 12px;
        z-index: 2;
        top: 10px;
    }

        .avatar-upload .avatar-edit input {
            display: none;
        }

        .avatar-upload .avatar-edit label,
        .avatar-upload .avatar-edit label:after {
            display: inline-block;
            width: 34px;
            height: 34px;
            margin-bottom: 0;
            border-radius: 100%;
            background: #f1f1f1;
            border: 1px solid Transparent;
            box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.12);
            cursor: pointer;
            font-weight: normal;
            transition: all .2s ease-in-out;
        }

            .avatar-upload .avatar-edit label:hover {
                background: #f1f1f1;
                border-color: #d6d6d6;
            }

            .avatar-upload .avatar-edit label:after {
                content: "\F4CB"; /* CSS Unicode escape sequence */
                font-family: "bootstrap-icons";
                color: #757575; /* Light grey color */
                position: absolute;
                top: 45%;
                left: 50%;
                transform: translate(-50%, -50%); /* Centering the icon */
                text-align: center;
                display: flex;
                justify-content: center;
                align-items: center;
            }

    .avatar-upload .avatar-preview-square {
        /*width: 292px;
        height: 192px;*/
        position: relative;
        border-radius: 8px;
        border: 6px solid #F8F8F8;
        box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.1);
        overflow: hidden;
    }

        .avatar-upload .avatar-preview-square > div {
            width: 100%;
            height: 100%;
            background-size: cover;
            background-repeat: no-repeat;
            background-position: center;
        }
