body.wp-admin .update-nag
{
    display: none;
}

.team-admin-header {
    margin-top: 20px;
}

.team-admin-header  h1
{
    color: #43425d;
    font-weight: normal;
    margin-left: 10px;
    margin-right: 10px;
    display: inline-block;
}

.team-admin-header .button,
.team-admin-header button
{
    margin-left: 4px;
    margin-top: 4px;
}

.team-admin-container
{
    display: table;
    font-family: calluna_sans, "Helvetica Neue", Helvetica, Arial, sans-serif;
    width: calc(100% - 80px);
}

.team-admin {
    color: #555;
    font-family: arial, sans-serif;
    background-color: #fff;
    width: 100%;
    min-height: 100vh;
    border-radius: 4px;
    display: table-row;
}

.team-admin a {
    text-decoration: none;
    color: #555;
    outline: none;
}

.team-admin .button,
.team-admin button,
.team-admin-header .button,
.team-admin-header button {
    color: #fff;
    background-color: #3b86ff;
    border-radius: 4px;
    box-shadow: none;
    height: auto;
    border: 0;
    padding: 6px 12px;
    line-height: 26px;
    margin-bottom: 4px;
    text-align: center;
    min-width: 120px;
    display: inline-block;
}

.team-admin .button:hover,
.team-admin button:hover,
.team-admin-header .button:hover,
.team-admin-header button:hover {
    color: #fff;
    background-color: #1c70ff;
}

.team-admin .team-navigation
{
    display: table-cell;
    width: 200px;
    padding: 30px 0;
    border-right: 1px #ddd solid;
    vertical-align: top;
}

.team-admin .team-navigation h3
{
    font-weight: normal;
    font-size: 14px;
}

.team-admin .team-navigation h3,
.team-admin .team-navigation .button
{
    margin-left: 30px;
}

.team-admin .team-navigation .button
{
    width: calc(90% - 30px);
}

.team-admin .team-navigation hr
{
    background-color: #ddd;
    width: 95%;
    margin-left: auto;
    margin-right: auto;
}

.team-admin .team-navigation a.nav-link {
    color: #0073aa;
    text-decoration: none;
    font-weight: bold;
    padding: 8px 30px;
    display: block;
}

.team-admin .team-navigation a.nav-link.active {
    background-color: #dedede;
}

.team-admin .team-admin-content
{
    display: table-cell;
    vertical-align: top;
    width: calc(100% - 280px);
    padding: 20px 30px;
}


.team-admin .clear {
    clear: both;
}

.team-admin .float-left {
    float: left;
}

.team-admin .float-right {
    float: right;
}

.team-admin h1 {
    color: #aaa;
    font-size: 20px;
}

.team-admin input[type="text"] {
    font-size: 14px;
    padding: 18px 12px;
    border-radius: 4px;
    border: 1px solid #eee;
    min-width: 300px;
    margin-bottom: 10px;
    box-shadow: none;
}


.team-admin input[type="text"]::placeholder,
.team-admin textarea::placeholder {
    color: #ccc;
}


.team-admin textarea {
    border: 1px solid #eee;
    min-width: 600px;
    margin-bottom: 10px;
    box-shadow: none;
    min-height: 400px;
    font-size: 14px;
    padding: 20px 12px;
    border-radius: 4px;
    line-height: 24px;
}


/*
.team-admin button {
    font-weight: bold;
    color: #fff;
    font-size: 12px;
    background-color: #aaa;
    border-radius: 4px;
    border: none;
    padding: 8px 12px;
}

.team-admin button.blue {
    background-color: #08f;
}

.team-admin button.orange {
    background-color: #f80;
}
*/

.team-admin .panel_group-details
{
    float: left;
    margin-left: 30px;
    max-width: 80%;
}

.team-admin h2
{
    font-size: 24px;
    line-height: 24px;
    font-weight: normal;
}

.team-admin .panel_search
{
    position: relative;
    float: right;
    padding-left: 10px;
    margin-top: 20px;
    margin-right: 30px;
}

.team-admin .panel_search::before {
    content: "";
    display: inline-block;
    width: 25px;
    height: 16px;
    background-position: 0;
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url('/app/plugins/serenity-team/images/icon_magnifying-glass.svg');
}

.team-admin .panel_search .field_searchterms
{
    background: transparent;
    border-width: 0 0 1px 0;
    border-radius: 0;
}

.team-admin ul.list_people {
    margin: 40px 0;
}

.team-admin ul.list_people li.person {
    display: inline-block;
    width: 150px;
    min-width: 150px;
    margin-bottom: 20px;
    text-align: center;
    vertical-align: top;
    position: relative;
    padding: 40px 20px;
    margin-right: 20px;
    cursor: pointer;
    transition: background-color 1s, padding 0.3s;
    border-radius: 4px;
}

.team-admin ul.list_people li.person:hover {
    background-color: #f0f0f5;
    padding: 30px 20px 50px 20px;
}

.team.admin ul.list_people li.person .panel_photo,
.team.admin ul.list_people li.person .panel_details {
    float: left;
}

.team.admin ul.list_people li.person .panel_details {
    margin-left: 20px;
}

.team-admin ul.list_people li.person .panel_photo img
{
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.team-admin ul.list_people li.person .name
{
    font-weight: bold;
    font-size: 16px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.team-admin ul.list_people li.person .position
{
    font-size: 14px;
    color: #555;
}

.team-admin ul.list_people li.person .bio {
    font-size: 12px;
    display: none;
}

.team-admin ul.list_people li.person .groups {
    font-size: 14px;
    color: #aaa;
    display: none;
}

.team-admin ul.list_people li.person .panel_person-buttons
{
    position: absolute;
    top: 10px;
    right: 10px;
}

.team-admin ul.list_people li.person .panel_person-buttons .button_remove-person,
.team-admin ul.list_people li.person .panel_person-buttons .button_edit-person {
    width: 15px;
    height: 15px;
    background-repeat: no-repeat;
    background-size: contain;
    display: inline-block;
    margin-right: 4px;
}

.team-admin ul.list_people li.person .panel_person-buttons .button_remove-person
{
    background-image: url('/app/plugins/serenity-team/images/icon_x.svg');
}

.team-admin ul.list_people li.person .panel_person-buttons .button_edit-person
{
    background-image: url('/app/plugins/serenity-team/images/icon_pencil.svg');
}

.team-admin #form_person {
    margin-bottom: 40px;
}

.team-admin #form_person label,
.team-admin #form_person legend
{
    float: left;
    width: 100px;
    color: #0073aa;
    font-weight: bold;
    margin-right: 20px;
    padding: 20px 0;
}

.team-admin #form_person input,
.team-admin #form_person textarea,
.team-admin #form_person .list_select-groups
{
    float: left;
}

.team-admin #form_person .list_select-groups li
{
    margin-bottom: 20px;
}

.team-admin #form_person .list_select-groups input
{
    float: none;
}

.team-admin #form_person .list_select-groups label
{
    width: 200px;
    color: #23282d;
    font-weight: normal;
    float: none;
}

.team-admin #form_person .button_select-photo {
    background-position: 95% 15px;
    background-repeat: no-repeat;
    background-image: url('/app/plugins/serenity-team/images/icon_pencil.svg');
}

.team-admin #form_person .selected-photo-container {
    display: none;
    width: 100px;
    height: 100px;
    margin-top: 20px;
    margin-bottom: 20px;
    position: relative;
    cursor: pointer;
    float: left;
}


.team-admin #form_person .selected-photo-container.active {
    display: block;
}

.team-admin #form_person .selected-photo {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    position: absolute;
    border-radius: 50%;
    transition: opacity 0.5s;
}

.team-admin #form_person .selected-photo-container:hover .selected-photo
{
    opacity: 0.1;
}

.team-admin #form_person .selected-photo-container .edit-icon {
    content: "";
    position: absolute;
    display: none;
    width: 100%;
    height: 100%;
    background-size: 20px 20px;
    background-position: center center;
    background-repeat: no-repeat;
    background-image: url('/app/plugins/serenity-team/images/icon_pencil.svg');
}


.team-admin #form_person .selected-photo-container:hover .edit-icon {
    display: block;
}

.team-admin ul.list_people li.person.to-delete,
.team-admin ul.list_people li.person.to-delete:hover {
    background-color: #ff6184;
}

.team-admin ul.list_people li.person.to-delete a,
.team-admin ul.list_people li.person.to-delete .position {
    color: #fff;
}

.popup-message
{
    color: #fff;
    border-radius: 4px;
    background-color: #556;
    padding: 20px;
    position: fixed;
    width: calc(300px - 40px);
    min-height: calc(100px - 40px);
    right: calc(50% - 125px);
    bottom: calc(50% - 50px);
    opacity: 1;
    transition: opacity 0.5s, bottom 0.5s, height 0.5s, width 0.5s;
    box-shadow: 2px 2px 2px #ccc;
    text-align: center;
}

body.wp-admin .popup-message
{
    right: calc(50% - 150px - 80px); /* 160px is wp-admin menu */
}

.popup-message.hidden-message
{
    opacity: 0;
    bottom: calc(50% - 100px);
    height: 0;
}

body.wp-admin .popup-message .button_cancel-delete,
body.wp-admin .popup-message .button_cancel-delete:hover
{
    background-color: #ccc;
}

.popup-message .button_close-popup-message,
body.wp-admin .popup-message button
{
    color: #fff;
    background-color: #6eca7f;
    display: inline-block;
    margin-top: 10px;
    box-shadow: none;
    border-radius: 4px;
    border: none;
    transition: background-color 0.3s, border-radius 0.3s;
    margin-left: 2px;
    margin-right: 2px;
}

.popup-message .button_close-popup-message:hover,
body.wp-admin .popup-message button:hover
{
    color: #fff;
    background-color: #22ca50;
    border-radius: 6px;
}

body.wp-admin .popup-message button.dull
{
    background-color: #ccc;
}

body.wp-admin .popup-message .button_confirm-delete-person,
body.wp-admin .popup-message .button_confirm-delete-person:hover,
body.wp-admin .team-admin .button_delete-group,
body.wp-admin .popup-message .button_confirm-delete-group,
body.wp-admin .popup-message .button_confirm-delete-group:hover
{
    background-color: #ff6184;
}