
/*CREATE PROJECT SELECT*/

.project-select-with-control {

}

.project-select-with-control .base-select-with-control {
    border: 1px solid #7A66FF;
    border-radius: 8px;
    background: linear-gradient(180deg, #3C3563 0%, #2D2E47 100%);
    color: #fff;
    width: 100%;
}

.project-select-with-control .base-select.base-select-with-control .base-select-header .header-icon svg path {
    fill: #fff !important;
}

.project-select-with-control .base-select.base-select-with-control .base-select-list  {
    background: linear-gradient(180deg, #3C3563 0%, #2D2E47 100%);
    box-shadow: 0 2px 16px 0 rgba(0,0,0,0.5);
    border-radius: 0 0 8px 8px;
}

.project-select-with-control .base-select.base-select-with-control .base-select-list .base-select-list-element .item a {
    color: #fff;
    outline: none;
    pointer-events: fill;
    text-decoration: none;
}

.project-select-with-control .base-select.base-select-with-control .base-select-list .base-select-list-element .item a:focus,
.project-select-with-control .base-select.base-select-with-control .base-select-list .base-select-list-element .item a:hover,
.project-select-with-control .base-select.base-select-with-control .base-select-list .base-select-list-element .item a:active {
    outline: none;
    border: 0;
}

.project-select-with-control .base-select.base-select-with-control .base-select-list .base-select-list-element .item:hover,
.project-select-with-control .base-select.base-select-with-control .base-select-list .base-select-list-element .item.selected {
    background-color: #7A66FF;
}

.project-select-with-control .base-select.base-select-with-control .base-select-buttons{
    justify-content: center;
    border: none;
}

.projects-select {
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    width: 100%;
    position: relative;
    background: linear-gradient(180deg, #3C3563 0%, #2D2E47 100%);
    box-shadow: 0 2px 16px 0 rgba(0,0,0,0.5);
    /*border: 1px solid #7A66FF;*/
    border-radius: 8px;
    transition: width .1s;

    .projects-search-container {
        padding: 8px 12px;
        display: none;
        .base-search-element {
            width: 100%;
            height: 28px;

            .search-icon {
                width: 16px;
                height: 16px;
                left: 6px;
            }

            input {
                padding-left: 30px;
            }

        }
    }

    &.show-search-input {
        .projects-search-container {
            display: flex;
        }
    }

    &.active {

        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        box-shadow: none;

        .project-select-element {
            background: #fff;
            border-bottom-left-radius: 0;
            border-bottom-right-radius: 0;
            border-bottom-color: transparent;

            .projects-select-label {
                color: #4e4b5a;
                padding-left: 12px;
            }

            svg {
                transform: rotate(180deg);
            }

            .base-button-element.primary-button {
                visibility: hidden;
            }
        }

        .project-select-abbreviation-element {
            display: flex;
        }

        .projects-select-arrow-down {
            display: none;
        }
    }
}

.projects-select .projects-container {
    position: absolute;
    z-index: 1;
    width: inherit;
    line-height: normal;
    outline: none;
    max-height: 420px;
	top: 100%;
	cursor: default;
    background: #fff;
    box-shadow: inherit;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    border: 1px solid #7A66FF;
    border-top: none;
    border-bottom: none;
}

.projects-select .projects-container .your-projects-container {
    overflow: auto;
    max-height: 186px;
	padding-bottom: 0px;
	border-bottom: 2px solid rgba(82, 82, 115, .24);
}

.projects-select .projects-container .current-project-container {
    height: 74px;
    line-height: 74px;
    border-bottom: 1px solid #d7e1e8;
    position: relative;
}

.projects-select .projects-container .project-item {

}

.projects-select .projects-container .project-item a {
    display: block;
    cursor: pointer;
    transition: all 0.16s linear;
    border-radius: 4px;
    padding: 10px 12px;
}

.projects-select .projects-container .project-item:hover {
    background-color: #ecf1fe;
}

.projects-select .projects-container .project-name {
    display: inline-block;
    vertical-align: middle;
    font-family: var(--default-font-family);
	font-weight: 400;
    font-size: 13px;
    color: #4e4b5a;
}

.projects-select .projects-container .project-initials,
.projects-select .project-select-abbreviation-element {
    border-radius: 3px;
    font-size: 13px;
    display: inline-block;
    color: #FFFFFF;
    font-family: var(--default-font-family);
    width: 18px;
    height: 18px;
    text-align: center;
    line-height: 18px;
	background-color: rgb(105, 85, 175);
	margin-right: 8px;
}

.projects-select .project-select-abbreviation-element {
    width: 30px;
    height: 18px;
    display: none;
    align-items: center;
    justify-content: center;
    margin-left: 12px;
    margin-right: 0;
    font-size: 12px;
}

.projects-select .projects-container .new-project-button {
    width: 100%;
}

.projects-select .projects-container .edit-project-button {
    padding-left: 0;
    cursor: default;
}

.projects-select .projects-container .edit-project-button a {
    font-size: 12px;
    font-weight: 500;
    text-decoration: underline;
	color: #6e52f0;
}

.projects-select .project-select-element {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 9px 0;
    display: flex;
    align-items: center;
    border: 1px solid #7A66FF;
    border-radius: 8px;
}

.projects-select .project-select-element:focus{
    outline: none;
}

.projects-select .current-project-name {
    margin-left: 10px;
    padding-bottom: 4px;
    width: 60%;
}

.projects-select .current-project-initials,
.projects-select .current-project-name {
    display: inline-block;
    vertical-align: middle;
    line-height: normal;
}

.projects-select .current-project-initials .project-initials {
    font-size: 18px;
    font-weight: 700;
    line-height: 32px;
    height: 32px;
    width: 32px;
    margin: 0px;
	color: #ffffff;
	background: #525273;
}

.projects-select .your-projects {
	color: rgba(82, 82, 115, 0.64);
    font-size: 13px;
    font-weight: 400;
    font-family: var(--default-font-family);
}

.projects-select .arrow-up {
    width: 18px;
    height: 18px;
    line-height: normal;
    position: absolute;
    top: 20px;
    right: 12px;
	cursor: pointer;
}

.projects-select .projects-select-arrow-down {
    width: 18px;
    height: 18px;
    line-height: normal;
    display: flex;
    align-items: center;
    margin-left: 10px;
}

.projects-select .current-project-name .project-name {
	color: #525273;
	padding-bottom: 2px;
	font-size: 16px;
	font-weight: 500;
}

.projects-select .projects-list {
	padding: 8px 0px 16px 0;
}

.projects-select .your-projects, .projects-list {
    padding-left: 8px;
}

.projects-select .projects-select-label {
    padding-left: 10px;
    padding-right: 10px;
    vertical-align: middle;
    font-family: var(--default-font-family);
    width: 100%;
}

.projects-select .project-item:hover .project-name {
	font-weight: 500;
}

.projects-container-list {
    max-height: 320px;
    padding-bottom: 0px;
}

.projects-container-bottom {
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    padding: 0 12px;

    .primary-button {
        width: 100%;
        padding: 0;
    }
}

.projects-container-bottom .primary-button a {
    color: #FFFFFF;
    font-family: var(--default-font-family);
    text-decoration: none;
    padding: 7px 0;
    font-weight: 500;
    font-size: 12px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;

    span:first-child {
        width: 23%;
        text-align: center;
    }

    span:nth-child(2) {
        flex-grow: 1;
    }
}

.projects-select .project-select-element svg path {
    fill: #fff !important;
}


.projects-select .project-select-element .primary-button {
    height: 16px;
    width: 16px;
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin-right: 9px;
    font-weight: 400;
}

.projects-select .lavender-mist-button:hover {
    background: var(--mainly-red);
    opacity: .8;
}