/* generals */
.p-panel-content, .p-dialog-content, .p-dialog-footer {
    background: transparent;
    border-width: 0;
}

.p-panel-content {
    padding: 0;
}

.p-multiselect, .p-dropdown {
    border-radius: 0;
}

.p-button {
    padding: 0 6px 0 6px;
}

/* UsersList and Single user*/
.users-panel {
    overflow: auto;
    background-color: rgb(0, 169, 157);
    width: 240px;
    height: calc(100vh - 110px);
}

.users-header {
    width: calc(100% - 4px);
    height: 40px;
    margin: 2px;
    display: flex;
    align-items: center;
}

.users-header-div-label {
    width: 100px;
    height: 30px;
    display: flex;
    align-items: center;
    background-color: transparent;
    border: 0px solid transparent;
    border-radius: 0px;
    box-shadow: rgb(3, 140, 127) 0px 0px 0px 0px;
    font-family: "Avenir Next";
    font-size: 19px;
    color: rgb(255, 255, 255);
    margin: 10px;
    flex-grow: 1;
}

.users-header-label {
    width: 100%;
    margin: 10px;
    text-align: left;
}

.users-header-div-button, .single-user-div-button {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

.users-header-div-button {
    margin-right: 18px;
}

.users-header-button, .single-user-button {
    cursor: pointer;
    background-color: transparent;
    border: 0px solid rgb(255, 255, 255);
    border-radius: 0px;
    box-shadow: rgb(255, 255, 255) 0px 0px 0px 0px;
    font-family: "Avenir Next";
    font-size: 19px;
    color: rgb(255, 255, 255);
}

.single-user-div-edit-button {
    margin-right: 5px;
}

.users-header-button > span, .single-user-button > span{
    width: 30px;
}

.users-single-user-div {
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    margin: 5px 10px;
    display: flex;
    flex-flow: column;
}

.single-user-div {
    width: 100%;
    height: 44px;
    background-color: rgb(99, 206, 193);
    display: flex;
    align-items: center;
}

.sigle-user-div-label {
    flex-grow: 1;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.single-user-username {
    margin: 0px 0px 0px 15px;
    text-align: left;
    width: 100%;
    height: 30px;
    align-items: center;
    background-color: rgb(99, 206, 193);
    border: 0px solid transparent;
    border-radius: 0px;
    box-shadow: rgb(3, 140, 127) 0px 0px 0px 0px;
    font-family: "Avenir Next";
    font-size: 19px;
    color: rgb(77, 77, 77);
}

/* Dialog */
.user-dialog {
    background-color: #333333;
}

.p-dialog-header {
    display: flex;
    align-items: center;
    width: 100%;
    user-select: none;
    background-color: rgb(26, 26, 26);
    height: 50px;
    min-height: 50px;
    justify-content: flex-start;
    font-family: "Avenir Next";
    font-size: 19px;
    color: rgb(255, 255, 255);
    touch-action: none;
    padding: 0px 0px 0px 18px;
}

.p-dialog-header-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    border: 0px;
    background-color: transparent;
    position: absolute;
    right: 15px;
    top: 9px;
    color: white;
}

.user-dialog-div {
    width: 600px;
    margin-left: 5%;
}

.user-dialog-div-input {
    display: flex;
    align-items: center;
    width: 500px;
    flex-flow: row;
    height: 44px;
    margin: 5px 0px 5px 15px;
}

.user-dialog-first-div {
    margin: 30px 0px 5px 15px;
}

.user-dialog-multiselect-div, .user-dialog-dropdown-div {
    margin: 10px 0px 10px 15px;
}

.user-dialog-label {
    margin-right: 50px;
    display: block;
    width: 200px;
    font-family: "Avenir Next";
    font-size: 19px;
    color: rgb(255, 255, 255);
    position: static;
}

.user-dialog-correct-input-div {
    width: 100%;
    box-sizing: border-box;
    font-family: "Avenir Next";
    font-size: 19px;
    color: rgb(77, 77, 77);
    background-color: rgb(255, 255, 255);
    border: 0px solid rgb(0, 169, 157);
    box-shadow: rgb(3, 140, 127) 0px 0px 0px 0px;
    padding: 10px;
}

.user-dialog-correct-input-div:disabled, .p-disabled {
    width: 100%;
    box-sizing: border-box;
    font-family: "Avenir Next";
    font-size: 19px;
    color: rgb(0, 169, 157);
    background-color: transparent;
    border: 0px solid rgb(0, 169, 157);
    border-radius: 0px;
    box-shadow: rgb(3, 140, 127) 0px 0px 0px 0px;
    padding: 10px 10px 10px 0px;
    outline: none;
}

.p-dropdown-items {
    border-radius: 0px;
    background-color: rgb(230, 230, 230);
    width: 325px;
    overflow: auto;
}

.p-dropdown-item {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    height: 30px;
    background-color: rgb(230, 230, 230);
    border: 0px solid rgb(255, 255, 255);
    border-radius: 0px;
    box-shadow: rgb(255, 255, 255) 0px 0px 0px 0px;
    font-family: "Avenir Next";
    font-size: 19px;
    color: black;
    flex-flow: column;
}

.p-dropdown-item:hover {
    background-color: rgb(0, 169, 157);
    color: white;
}

.p-highlight  {
    background-color: rgb(0, 169, 157);
    color: black;
}

.user-dialog-small-error {
    margin-left: 15px;
}

.p-dialog-footer {
    display: flex;
    justify-content: flex-end;
}

.p-dialog-footer > div {
    display: flex;
}

.p-dialog-footer > div > button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100px;
    cursor: pointer;
    height: 50px;
    background-color: rgb(0, 169, 157);
    border: 1px solid rgb(255, 255, 255);
    border-radius: 0px;
    box-shadow: rgb(255, 255, 255) 0px 0px 0px 0px;
    padding: 10px;
    font-family: "Avenir Next";
    font-size: 19px;
    color: rgb(255, 255, 255);
    flex-flow: column;
}



.user-dialog-separator {
    height: 90px;
}

.p-error {
    color: #e24c4c;
}

.p-invalid {
    border-color: #e24c4c;
    border-width: 2px;
    background-color: #f9bbd5;
}

.user-dialog-label-error {
    margin-right: 50px;
    margin-left: 190px;
    display: block;
    width: auto;
    font-family: "Avenir Next";
    font-size: 19px;
    color: #e24c4c;
    position: static;
}

.p-password {
    width: 100%;
    display: inline-block;
}

.p-password svg {
    margin-left: -25px;
}

.p-multiselect-items {
    padding: 0.75rem 0;
}

.p-multiselect-item{ 
    margin-left: 3%;
    margin-right: 3%;
    width: 94%;
    background-color: rgb(230, 230, 230);
}

.p-checkbox {
    margin-right: 0.5rem;
}

.p-checkbox .p-checkbox-box {
    border: 2px solid #d1d5db;
    background: transparent;
    width: 22px;
    height: 22px;
    color: #4b5563;
    border-radius: 6px;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

/*.p-checkbox:not(.p-checkbox-disabled) .p-checkbox-box:hover {*/
.p-checkbox-box:hover {
    border-color: #00a99d;
}

.p-multiselect-panel {    
    background-color: rgb(230, 230, 230);
    color: #4b5563;
    border: 0 none;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
}

.p-multiselect-panel .p-multiselect-header {
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid rgb(204, 205, 209);
    color: #374151;
    background-color: rgb(230, 230, 230);
    margin: 0;
}

.p-multiselect-panel .p-multiselect-items .p-multiselect-item.p-highlight, .p-multiselect-item:hover {
    color: white;
    background: #00a99d;
}

.p-multiselect-label {
    padding: 0.75rem 0.75rem;
}

.p-multiselect.p-multiselect-chip .p-multiselect-token {
    padding: 0 0.5rem;
    margin-right: 0.5rem;
    background: #e5e7eb;
    color: #4b5563;
    border-radius: 16px;
}

.user-dialog-disabled-combo > .p-dropdown-trigger, .user-dialog-disabled-combo .p-multiselect-trigger {
    visibility: hidden;
}

.user-dialog-disabled-combo .p-multiselect.p-multiselect-chip .p-multiselect-token {
    background: transparent;
    padding: 0;
}

.user-dialog-disabled-combo .p-multiselect-token-label {
    color: rgb(0, 169, 157);
}

.user-dialog-multiselect, .user-dialog-dropdown {
    width: 325px;
    min-width: 325px;
    max-width: 325px;
    flex-grow: 1;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.p-inputtext:enabled:focus,
.p-inputwrapper-focus {
    box-shadow: 0 0 0 0 #dffaf7 !important;
}

.user-dialog .p-dialog-content {
    overflow: hidden;
}

@media (max-width: 768px) {
    .user-dialog-div {
        width: 425px !important;
        margin-left: 0% !important;
    }

    .user-dialog-div-input {
        width: 95%  !important;
        margin: 5px 0px 5px 10px !important;
    }

    .user-dialog-label {
        margin-right: 20px !important;
        width: 150px !important;
    }
    .user-dialog-first-div {
        margin: 30px 0px 5px 10px !important;
    }
    .user-dialog-multiselect, .user-dialog-dropdown {
        width: 65% !important;
        min-width: 65%  !important;
        max-width: 65%  !important;
    }
    .p-dropdown-items {
        width: 100% !important;
    }
    .user-dialog-correct-input-div {
        width: 80% !important;
    }
    .panel-dialog {
        background-color: #333333; 
    }
}