﻿/*#region Common*/

.nodata {
    margin-top: 20px;
    text-align: center;
}

.pfs-buttons {
    border-left: solid 1px;
    margin-left: 10px;
    padding-left: 10px;
    cursor: pointer;
}

.has-items {
    margin-right: 10px;
}

    .has-items i {
        color: orange;
    }

.not-empty {
    /*margin-left: 10px;*/
}

/*#endregion*/

/*#region Project*/

.p-container-mobile {
    margin: 10px;
    border: solid 1px #831CEF;
    padding: 5px;
    border-radius: 10px;
    font-family: 'Poppins500';
    text-transform: uppercase;
    font-size: 14px;
    cursor: pointer;
}

.project-mobile {
    padding: 5px;
    border-bottom: solid 1px #ccc;
    cursor: pointer;
    font-size: 13px;
}

.p-container-mobile .project-mobile:last-child{
    padding: 5px;
    cursor: pointer;
    border-bottom: none;
}

.p-container {
    display: flex;
    font-family: 'Poppins500';
    font-size: 14px;
    text-transform: uppercase;
    /*width: calc(100vw - 10px);*/
    overflow-x: scroll;
    /*margin: 10px;*/
    margin-bottom: -5px;
}

    .p-container::-webkit-scrollbar {
        width: 5px;
        height: 10px;
    }

    .p-container::-webkit-scrollbar-track {
        background: transparent;
    }

    .p-container::-webkit-scrollbar-thumb {
        background-color: #fff;
        border: 1px solid #ddd;
    }

.project {
    min-width: fit-content;
    min-width: -moz-fit-content;
    height: 60px;
    padding: 10px;
    border-radius: 15px 15px 0px 0px;
    border: solid 2px #831CEF;
    cursor: pointer;
}

.project-name {
    /*width: 100px;*/
    height: 21px;
    display: inline-block;
    white-space: nowrap;
    /*overflow: hidden;*/
    text-overflow: ellipsis;
}

.project-name-selected {
    /*min-width: 100px;*/
}

.project-add {
    font-size: 22px;
    color: #C1C8CD;
    align-self: center;
    padding: 5px;
    cursor: pointer;
}

/*#endregion*/

/*#region Flow*/

.f-container {
    display: flex;
    font-family: 'Poppins500';
    font-size: 14px;
    text-transform: uppercase;
    /*width: calc(100vw - 10px);*/
    margin-top: 10px;
    overflow-x: scroll;
    /*margin: 10px 10px 0 10px;*/
    /*padding: 0 10px 0 10px;*/
    margin-bottom: -4px;
}

    .f-container::-webkit-scrollbar {
        width: 5px;
        height: 10px;
    }

    .f-container::-webkit-scrollbar-track {
        background: transparent;
    }

    .f-container::-webkit-scrollbar-thumb {
        background-color: #fff;
        border: 1px solid #ddd;
    }

.flow {
    min-width: fit-content;
    min-width: -moz-fit-content;
    height: 60px;
    padding: 10px;
    border-radius: 15px 15px 0px 0px;
    border: solid 2px #831CEF;
    cursor: pointer;
}

.flow-name {
    /*width: 100px;*/
    height: 21px;
    display: inline-block;
    white-space: nowrap;
    /*overflow: hidden;*/
    text-overflow: ellipsis;
}

.flow-name-selected {
    /*min-width: 100px;*/
}

.flow-add {
    font-size: 22px;
    color: #C1C8CD;
    align-self: center;
    padding-left: 5px;
    cursor: pointer;
    min-width: fit-content;
}

.f-avatar-container {
    display: inline-block;
    margin-left: 10px;
}

.f-avatar-outer {
    width: fit-content;
    width: -moz-fit-content;
    margin: auto;
    display: inline-block;
}

.f-avatar-container .f-avatar-outer .f-avatar {
    border-radius: 50%;
    cursor: pointer;
    width: 20px;
    margin-right: 5px;
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
    display: inline-block;
}

/*#endregion*/

/*#region Step*/

.s-container {
    display: flex;
    font-family: 'Poppins500';
    font-size: 14px;
    text-transform: uppercase;
    /*width: fit-content;
    width: -moz-fit-content;*/
    padding: 10px 0px;
    gap: 10px;
    /*width: 100vw;*/
    flex-wrap: wrap;
    overflow: auto;
    /*height: calc(100vh - 260px);*/
}

.s-outer {
    min-width: 320px;
    width: 320px;
}

@media (max-width: 500px) {
    .s-outer {
        width: 100%;
    }
    .s-container {
        /*height: calc(100vh - 440px);*/
    }
}

.s-header {
    padding: 10px;
    border: solid 2px #aaa;
    border-radius: 15px 15px 0 0;
    height: 65px;
    background-color: #fff; /* #efefef;*/
    color: #000;
    position: relative;
    /*z-index: 2;*/
}

.step-name {
    width: 100%;
    height: 21px;
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.s-body {
    padding: 0 10px;
    border: solid 2px #aaa;
    min-height: 45px;
    border-radius: 0 0 5px 5px;
    background-color: #fff; /*#efefef;*/
    padding-top: 10px;
    height: 370px;
    overflow-y: auto;
    resize: vertical;
    margin-top: -1px;
}

    .s-body::-webkit-scrollbar {
        width: 5px;
        height: 5px;
    }

    .s-body::-webkit-scrollbar-track {
        background: transparent;
    }

    .s-body::-webkit-scrollbar-thumb {
        background-color: #ccc;
        border: 1px solid transparent;
    }

    .s-body-height-long {
        /*height: 1000px;*/
    }

    .s-body-height-short {
        /*height: 500px;*/
    }

@media (max-width: 500px) {
    .s-body-height-long {
        /*height: 405px;*/
    }

    .s-body-height-short {
        /*height: 405px;*/
    }
}

.s-body-item {
    text-transform: none;
    background-color: #fff;
    padding: 5px;
    margin-bottom: 10px;
    border-radius: 5px;
}

.s-body-item-separator {
    padding: 0 5px;
    margin-bottom: 10px;
    text-align: center;
    color: #888;
}

.new-item {
    background-color: #F3E9FE !important;
    /*animation: fadein .10s, fadeout 10s;*/
}

@keyframes fadein {
    from {
        /*border: solid 1px #fff;*/
        background-color: #ffffff;
        opacity: 0;
    }

    to {
        /*border: solid 1px #fff;*/
        background-color: #F3E9FE;
        opacity: 1;
    }
}

@keyframes fadeout {
    from {
        /*border: solid 1px #fff;*/
        background-color: #F3E9FE;
    }

    to {
        /*border: solid 1px #fff;*/
        background-color: #ffffff;
    }
}

.s-avatar-container {
    width: calc(100% - 50px);
    display: flex;
    padding-right: 0;
    justify-content: flex-start;
    box-sizing: border-box;
    overflow: hidden;
    padding-left: 2px;
}

    .s-avatar-container .s-avatar-outer {
        margin: 0 calc(((75% / 25) - 20px) + 5%);
    }

        .s-avatar-container .s-avatar-outer:last-child {
            margin-right: 0;
        }

        .s-avatar-container .s-avatar-outer .s-avatar {
            border-radius: 50%;
            cursor: pointer;
            width: 20px;
            filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.1));
        }

.step-add {
    border: solid 2px #aaa;
    border-radius: 15px 15px 0 0;
    min-width: 75px;
    padding-top: 16px;
    height: 65px;
}

.item-add {
    font-size: 20px;
    color: #831CEF;
    cursor: pointer;
    text-align: center;
}

.i-avatar-container {
    display: inline-block;
}

.i-avatar-outer {
    width: fit-content;
    width: -moz-fit-content;
    margin: auto;
    display: inline-block;
}

.i-avatar-container .i-avatar-outer .i-avatar {
    border-radius: 50%;
    cursor: pointer;
    width: 20px;
    margin-right: 5px;
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
    display: inline-block;
}



/*#endregion*/

/*#region Step Filter*/

.s-filter-container {
    display: flex;
    gap: 10px;
    margin-left: 10px;
    flex-wrap: wrap;
}

.s-search-container {
}

.s-button-container {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 8px;
}

    .s-button-container a {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        width: 101px;
        height: 36px;
        background: #FFFFFF;
        border: 1px solid #C1C8CD;
        border-radius: 20px;
        color: #C1C8CD;
        /*margin-top: 8px;*/
        gap: 5px;
        font-family: Poppins500;
    }

    .s-button-container span span {
        display: block;
        text-align: center;
        font-family: 'Poppins500';
        font-size: 10px;
        color: #555; /*#831CEF*/
    }

    .s-button-container span a {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        width: 101px;
        height: 36px;
        background: #FFFFFF;
        border: 1px solid #C1C8CD;
        border-radius: 20px;
        color: #C1C8CD;
        /*margin-top: 0px;*/
        gap: 5px;
        font-family: Poppins500;
    }

.s-input-date input[type=date] {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    height: 36px;
    background: #FFFFFF;
    border: 1px solid #C1C8CD;
    /*margin-top: 8px;*/
    width: 135px;
    border-radius: 15px;
    /*padding-left: 10px;
    padding-right: 10px;*/
    font-family: 'Poppins400';
    margin-right: 10px;
    color: #888;
    font-size: 14px;
    padding: 0 75px;
}

.x-bg-mine {
}

.x-bg-mygroup {
}

.x-bg-idea {
    /*background: repeating-linear-gradient( -55deg, #fff, #fff 10px, #e1eef2 10px, #e1eef2 20px );*/
}

.x-bg-root {
    background: repeating-linear-gradient( -55deg, #fff, #fff 10px, #ebe8fc 10px, #ebe8fc 20px );
}

.x-bg-template {
    background: repeating-linear-gradient( -55deg, #fff, #fff 10px, #ffffdd 10px, #ffffdd 20px );
}

/*@media (max-width: 500px) {
    .s-filter-container {
        flex-direction: column;
    }
}*/
/*#endregion*/
