﻿﻿input[type=file] {
    display: none;
    cursor: pointer;
}

input[type=file] + label {
    margin-top: .5rem;
    font-size: .8rem;
    font-weight: 700;
    color: #de771c;
    border: solid 2px #de771c;
    border-radius: .5rem;
    padding: .3rem;
    display: inline-block;
}

    input[type=file]:focus + label,
    input[type=file] + label:hover {
        background-color: #de771c;
        color: #FFF;
    }

input[type=file] + label {
    cursor: pointer; /* "hand" cursor */
}

.contact-card {
    cursor: pointer;
    margin: 0.5rem;
    width: 5rem;
}

    .contact-card:hover .user-photo {
        transform: scale(1.18);
        filter: blur(.0px)
    }

.contact-card-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 18px;
    line-height: 1.2;
}

.contact-disabled {
    cursor: not-allowed;
    opacity: .5;
}

.contact-information-text {
    color: blue;
    font-size: 15px;
    opacity: 1;
}

.user-photo {
    position: relative;
    background-repeat: no-repeat;
    background-position: 50%;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    width: 5rem;
    height: 5rem;
    background-size: cover;
    margin-top: .2rem;
    margin-right: .2rem;
    background-color: #e5e5e8;
    transition: transform .2s;    
}

.household-contacts-container {
    display: flex;
    flex-flow: wrap;
    justify-content: space-around;
    max-height: 425px;
    overflow-y: auto;
}

.field-icon {
    margin-top: .5rem;
    margin-left: -1.3rem;
}

.error-message {
    color: #FF0000;
}

.change-user-picture-container {
    padding: .4rem;
}

.change-user-picture {
    position: relative;
    width: 5rem;
    height: 5rem;
    color: lightgray;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    -webkit-transform: translate3d(0,0,0);
}

.change-user-picture-banner {
    position: absolute;
    background-color: rgba(0, 0, 0, .5);
    width: 5rem;
    height: 1rem;
    z-index: 100;
    bottom: 0;
    font-size: 12px;
    cursor: pointer;
    
}

.change-user-picture:hover > .change-user-picture-banner {
    color: white;
    background-color: rgba(0, 0, 0, .9);
}

.test {
    width: auto;
    flex: 1;
}

@media (max-width: 736px) {
    .user-content-row {
        display: block;
    }

    .change-user-picture-container {
        padding: 0;
    }

    .user-photo {
        display: block;
        margin: 0 auto;
    }
}
