.box-sizing (@type: border-box) {
    -webkit-box-sizing: @type;
    -moz-box-sizing: @type;
    box-sizing: @type;
}

graphs-profile {

    .header {
        width: 100%;
        height: 130px;
        padding: 16px 0;
        background: url(#host.module#images/background.jpg) no-repeat;
        background-size: 100% auto;

        .box-sizing("content-box");

        .picture {
            position: relative;
            width: 100px;
            height: 100px;
            border-radius: 90px;
            margin: auto;
            background-size: auto 100% !important;
            background-repeat: no-repeat;
            background-position: center center;
            border: 6px solid @gray-light;

            &.portrait {
                background-size: 100% auto;
            }

            .change-picture {
                position: absolute;
                bottom: -12px;
                right: -12px;
                width: 44px;
                height: 44px;
                background: white;
                border-radius: 22px;
            }
        }
    }

    form {
        padding: 16px 15px;

        paper-button {
            width: 100%;
            margin: 30px 0 !important;
        }

        paper-textarea textarea {
            margin-left: 0 !important;
        }
    }

    .footer {
        bottom: 0;
        position: absolute;
        width: 100%;
        padding: 0 15px 56px;

        paper-button {
            margin: 0;
            width: 100%;
        }

        @media (max-height: 500px) {
            position: relative;
            padding: 0px 15px 0px;
        }
    }
}
