﻿.wrapperemployee {
    display: flex;
    flex-wrap: wrap; /* Allow items to wrap to the next row */
    gap: 2px;
}
.employee-box {
    background-color: var(--backcolor);
    width: 240px;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 3px;
    position: relative;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.employee-name {
    margin: 0;
    color: black; /* You can choose any color */
    font-size: 14px; /* Adjust the size as needed */
}

.action-button {
    position: absolute;
    top: 3px;
    right: 3px;
    background-color: lightgrey; /* Button background color */
    color: black; /* Button text color */
    border: none;
    border-radius: 4px;
    padding: 4px 8px;
    cursor: pointer; /* Pointer cursor for clickability */
    font-size: 8px; /* Adjust button text size as needed */
    width:21px;
    height:21px;
}

    .action-button:hover {
        background-color: #0056b3; /* Hover effect color */
        color: lightgrey;
    }

.mxemployeebox {
    color: #000;
    border: 1px solid var(--bordercolor);
    padding: 2px;
    font-size: 80%;
    margin: 2px;
    min-height: 30px;
    max-width: 260px;
}

    .mxemployeebox:hover {
        background-color: aliceblue;
        color: #000;
        border: 1px solid var(--bordercolor);
    }

#mxemployeelabel {
    position: absolute;
    top: 2px;
    left: 2px;
    height: 26px;
    padding-left: 2px;
    padding-right: 2px;
    background-color: dimgrey;
    border: 0px solid black;
    text-align: left;
    color: black;
    font-size: 85%;
    font-weight: 500;
    max-width: 230px;
    max-height: 30px;
}

#mxemployeeicon {
    position: absolute;
    right: -10px;
    top: -20px;
}
