.tiptip {
    position: relative;
    z-index: 3;
    top: -25px;
    left: -10px;

    display: none;

    padding: 0 7px;

    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    white-space: nowrap;
    text-transform: none;

    color: #453f4d;
    border: 1px solid #d1d8de;
    border-radius: 2px;
    background: #eaf1f7;

    font-size: 14px;
    font-weight: normal;
    line-height: 18px;
}

.success {
    margin-top: 36px;

    text-align: center;

    font-weight: bold;
}
.danger {
    margin-top: 36px;

    text-align: center;

    font-weight: bold;
}

.add_event_to_cal .tiptip,
.add_child .tiptip {
    top: -35px;
}

.tiptip:before {
    position: absolute;
    bottom: -5px;
    left: 13px;

    display: block;

    width: 11px;
    height: 5px;

    content: '';

    background: url(../../images/bef.png) no-repeat;
}

.profile-name {
    margin-bottom: 5px;

    text-transform: uppercase;

    color: #453f4d;

    font-size: 18px;
}

.profile-name > span {
    display: inline;

    margin-right: 10px;

    vertical-align: middle;
    word-wrap: break-word;

    font-weight: 700;
}

.profile-info_contacts {
    display: block;

    color: #5fafd2;
}

.user-profile-edit__password-change {
    padding-right: 1.2em;

    background: url(../../svg/arrow_blue_right.svg) right no-repeat;
    background-size: contain;
}

.profile-content {
    margin-bottom: 0;

    font-size: 14px;
}

.profile-content tr td {
    padding-right: 12px;
    padding-bottom: 5px;
}

.profile-content tr td:first-child{
    color: #82868a;
}

.edit {
    position: relative;

    display: inline-block;

    width: 25px;
    height: 25px;

    cursor: pointer;
    vertical-align: middle;

    background: url('/assets/website/svg/edit_profile.svg') center no-repeat;
    background-size: cover;
}

.profile {
    font-size: 14px;
}

.profile .events-count, .profile .empty {
    font-size: 16px;
    font-weight: 700;
}

.profile .kid:last-of-type {
    margin-bottom: 0;
}

.profile .empty {
    color: #bec2c4;
}

.profile-section {
    position: relative;

    padding-bottom: 2em;
}

.change-avatar-button {
    width: 100%;
    margin: 10px 0;

    cursor: pointer;
    text-align: center;
}

.change-avatar-button:hover {
    background: #3ccbf7;
}

.user_photo {
    position: relative;

    margin-bottom: 0;
}

.user_photo .thumbnail {
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;

    -ms-border-radius: 5px;
    -o-border-radius: 5px;
}

.profile-edit-form {
    float: right;

    width: 100%;
}

.profile-edit-form .form-row {
    margin: 5px 0;
}

.profile .form-footer {
    margin-top: 0;
}

.profile .calendar-label {
    top: 15px;
    right: 15px;
}

@media only screen and (min-width : 480px) {
    .profile-info {
        float: right;

        width: 57.9%;
    }

    .profile .user_photo {
        float: left;

        width: 38.6%;
        margin-bottom: 0;
    }

    .profile .user_photo .thumbnail {
        width: 100%;
    }

    .profile-edit-form {
        width: 55%;
    }
}

/* Small Devices, Tablets */
@media only screen and (min-width : 720px) {
    .profile {
        font-size: 20px;
    }

    .profile-info {
        float: right;

        width: 57.9%;
    }

    .profile-name {
        margin-bottom: 10px;

        font-size: 28px;
    }

    .profile-name > span {
        margin-right: 2px;
    }

    .profile-info_contacts {

    }

    .profile-content {
        margin-bottom: 10px;

        font-size: 20px;
    }

    .profile-content tr td {
        padding-right: 10px;
        padding-bottom: 6px;
    }

    .profile .user_photo {
        float: left;

        width: 38.6%;
        margin-bottom: 0;
    }

    .profile .user_photo .thumbnail {
        width: 100%;
    }

    .edit {
        width: 30px;
        height: 30px;
    }

    .edit:hover {
        background: url('/assets/website/svg/edit_profile_halo.svg') center no-repeat;
        background-size: cover;
    }

    .profile .events-count, .profile .empty {
        font-size: 24px;
    }

    .change-avatar-button {
        margin: 10px 0;

        line-height: 50px;
    }

    .user_photo {
        margin-bottom: 50px;
    }

    .user_photo .thumbnail {
        width: 35%;
    }

    .profile-edit-form {
        width: 55%;
    }

    .profile-edit-form .form-label {
        width: 40%;

        font-size: 20px;
    }

    .profile-edit-form .form-input {
        width: 58%;
    }

    .profile-edit-form .form-row {
        margin: 0.5em 0;
    }

    .profile .calendar-label {
        top: 20px;
    }
}

/* Large Devices, Wide Screens */
@media only screen and (min-width : 1020px) {
    .profile {
        font-size: 14px;
    }

    .profile-info {
        width: 300px;
    }

    .profile-name {
        margin-bottom: 8px;

        font-size: 28px;
    }

    .profile-name > span {
        margin-right: 2px;
    }

    .profile-info_contacts {

    }

    .profile-content {
        margin-bottom: 10px;

        font-size: 14px;
    }

    .profile-content tr td {
        padding-right: 10px;
        padding-bottom: 6px;
    }

    .profile .user_photo {
        width: 220px;
    }

    .edit {
        width: 20px;
        height: 25px;
    }

    .edit:hover .tiptip {
        display: inline-block;
    }

    .profile .events-count, .profile .empty {
        font-size: 18px;
    }

    .change-avatar-button {
        margin: 10px 0;

        line-height: 34px;
    }

    .user_photo {
        float: left;

        width: 220px;
        margin-bottom: 35px;
    }

    .user_photo .thumbnail {
        width: 100%;
    }

    .profile-edit-form .form-row {
        margin: 15px 0;
    }

    .profile-edit-form .form-label {
        font-size: 14px;
    }

    .profile .calendar-label {
        top: 10px;
    }
}
