#profiles-list{
    display: flex;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    justify-content: center;
}

#profiles-list .child-profile{
    text-align: center;
    position: relative;
    margin: 35px 25px;
    padding: 25px 5px;
    cursor: pointer;
    width: 10em;
    border-radius: 10px;
    transition: background-color 0.3s ease 0s;
}

#profiles-list .child-profile:hover{
    background-color: rgb(40, 35, 28);
}

#profiles-list .child-profile .name {
    margin-top: 25px;
    font-size: 18px;
    font-weight: bold;
    line-height: 24px;
    color: rgb(255, 255, 255);
    border-radius: 50px;
    transition: background-color 0.5s ease 0s;
    max-width: 100%;
    display: block;

}

#profiles-list .child-profile .age {
    color: rgb(187, 187, 187);
    font-size: 11px;
    line-height: 2em;
    display: block;
}

#profiles-list .child-profile .avatar {
    margin: 0 auto;
    width: 96px;
    height: 96px;
    border-radius: 10rem;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

#profiles-list .avatar .avatar-inner {
    display: flex;
    width: 90px;
    height: 90px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10rem;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    font-size: 36px;
    color: rgb(255, 255, 255);
}

#profiles-list .avatar.blue {
    background: linear-gradient(rgb(0, 128, 153) 0%, rgb(74, 225, 255) 100%);
}

#profiles-list .avatar.blue .avatar-inner, #profiles-list .avatar.blue .avatar-inner svg {
    color: rgb(74, 225, 255);
    fill: rgb(74, 225, 255);
}

#profiles-list .avatar.green {
    background: linear-gradient(rgb(0, 157, 99) 0%, rgb(53, 255, 180) 100%);
}

#profiles-list .avatar.green .avatar-inner, #profiles-list .avatar.green .avatar-inner svg {
    color: rgb(53, 255, 180);
    fill: rgb(53, 255, 180);
}

#profiles-list .avatar.gray {
    background: linear-gradient(rgb(62, 62, 62) 0%, rgb(130, 130, 130) 100%);
}

#profiles-list .avatar.gray .avatar-inner, #profiles-list .avatar.gray .avatar-inner svg {
    color: rgb(255, 255, 255);
    fill: rgb(255, 255, 255);
}


/* add new child form */
#add-child-form {
}

#add-child-form > span{
    padding: 10px 0px;
    display: block;
    text-align: right;
    font-size: 12px;
    font-weight: 500;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: normal;
    color: rgb(125, 126, 128);
    transition: all 300ms ease 0s;    
}

#add-child-form  > input , #add-child-form  > select{
    width: 100%;
    direction: rtl;
    padding: 8px;
    border-radius: 3px;
    background-color: rgb(36, 36, 36);
    font-size: 11px;
    height: 40px;
    color: rgb(255, 255, 255);
    border: 0px solid rgb(212, 212, 212);
    width: 100%;
}

#add-child-form .action-buttons{
    margin-top: 15px;
}

#add-child-form .back-btn , #add-child-form .add-new-child-btn{
    background: rgba(255, 255, 255, 0.1);
    color: rgb(255, 255, 255);
    padding: 8px 25px;
    font-size: 14px;
    border: 0px;
    border-radius: 10rem;
}

@media only screen and (max-width: 768px) {
    #add-child-form .back-btn , #add-child-form .add-new-child-btn{
      text-align: center;
      width: 100%;
      margin-bottom: 15px;
    }
  }

#add-child-form .add-new-child-btn{
    background: rgb(255, 255, 255);
    color: rgb(0, 0, 0);
}

