@import "../../../assets/css/abstracts/custom-variables.scss";

/* project list */
.project-list {
	margin: 10px 0;
}

.project-list-item {
	position: relative;
	margin-bottom: 10px;
}

.list-mixed .project-is-bookmarked.project-list-item,
.list-thumbnail .project-list-item {
	padding-right: 15px;
	margin-bottom: 25px;
}


.list-mixed .project-is-bookmarked .project-list-details,
.list-thumbnail .project-list-details {
	box-shadow: 0 0 3px rgba(0,0,0,0.1);
}

.list-mixed .project-is-bookmarked .project-list-details:hover,
.list-thumbnail .project-list-details:hover {
	border-color: $blue-500;
	box-shadow: 0 0 3px rgba(0,0,0,0.1), 0 0 0 1px #00adef;
}

.project-list-bookmark,
.project-list-bookmark:active {
	font-size: 18px;
	color: $gray-300;
}

.list-thumbnail .project-list-bookmark,
.list-thumbnail .project-list-bookmark:active {
	color: #fff;
}

.project-list-bookmark:hover {
	color: $gray-300;
}

.project-progress {
	background-color: $gray-100;
	padding: 15px;
}

.project-progress-component {
    background-color: $gray-100;
    padding: 15px;
    max-width: 150px;
}

table .project-progress-component {
	padding: 0;
}

.project-list-details:hover .project-list-body {
	background-color: $gray-100;
}
.project-list-details:hover .project-progress {
	background-color: $gray-300;
}

.project-list-img {
	display: block;
	position: relative;
	background-color: $gray-100;
	background : no-repeat;
	background-size: 100% auto;
	background-position: center;
	position: relative;
	transition: .2s ease-in-out background-size;
}

.list-mixed .project-is-bookmarked .project-list-img,
.list-thumbnail .project-list-img {
	overflow: hidden;
}

.list-mixed .project-is-bookmarked .project-list-details:hover .project-list-img,
.list-thumbnail .project-list-details:hover .project-list-img {
	background-size: 120% auto;
}

.list-thumbnail .project-list-name,
.list-mixed .project-is-bookmarked .project-list-name {
    background-color: rgba(0,0,0,0.5);
}

.project-list-details:hover {
	text-decoration: none;
}

.list-mixed .project-is-bookmarked .project-list-body,
.list-thumbnail .project-list-body {
	padding: 10px;
}

.project-list-name {
	/*color: #FFF;*/
	line-height: 1.6em;
	font-weight: normal;
	padding: 5px;
	margin: 0;
}

.list-mixed .project-is-bookmarked .project-list-name,
.list-thumbnail  .project-list-name {
	color: #fff;
	position: absolute;
	bottom: 0;
	left: 5px;
	left: 0;
	right: 0;
    text-overflow: ellipsis;
    max-height: 3.4em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.project-list .progress {
	margin: 0;
	height: 6px;
	background-color: #fff;
	border-radius: 0;
	-webkit-box-shadow: none;
	-moz-box-shadow: 	none;
	box-shadow: 		none;
}

.project-list .progress-bar {
	background-color: $green-500;
	box-shadow: none;
}

.form-control-medium {
	max-width: 120px;
}

.list-mixed .project-is-bookmarked .project-list-rag,
.list-thumbnail .project-list-rag {
	border-radius: 10px;
}


/* list-thumbnail */
.list-thumbnail .project-list-bookmark,
.list-mixed .project-is-bookmarked .project-list-bookmark {
	position: absolute;
	top: 5px;
	right: 20px;
	z-index: 2;
}

.list-mixed .project-is-bookmarked .project-list-ref,
.list-mixed .project-is-bookmarked .project-list-rag,
.list-thumbnail .project-list-ref,
.list-thumbnail .project-list-rag {

}


/* list mixed */
/* list list */
.list-mixed .project-not-bookmarked {
	clear: left;
}

.list-mixed .project-not-bookmarked .project-list-details,
.list-list .project-list-details {
	background-color: $gray-100;
	box-shadow: 0 0 3px rgba(0,0,0,0.1);
}

.list-mixed .project-not-bookmarked .project-list-details:hover,
.list-list .project-list-details:hover {
	background-color: $gray-100;
	box-shadow: 0 0 3px rgba(0,0,0,0.1), 0 0 0 1px #00adef;
}

.list-list .project-list-bookmark,
.list-mixed .project-not-bookmarked .project-list-bookmark {
	float: left;
	margin-top: 5px;
	margin-left: 5px;
}

.list-mixed .project-not-bookmarked .project-list-name,
.list-list .project-list-name {
	font-size: 15px;
}

.list-mixed .project-not-bookmarked .project-progress,
.list-mixed .project-not-bookmarked .project-list-company,
.list-mixed .project-not-bookmarked .project-list-img,
.list-list .project-progress {
	display: none;
}


.cards--list .project-list-label {
	float: right;
}

.list-mixed .project-not-bookmarked .project-list-img,
.list-list .project-list-img {
	background: none !important;
}

.list-mixed .project-not-bookmarked .project-list-item,
.list-list .project-list-item {
	margin-bottom: 10px;
}

.list-mixed .project-not-bookmarked .project-list-body,
.list-list .project-list-body {
	position: absolute;
	top: 7px;
	right: 7px;
}

.list-mixed .project-not-bookmarked .project-list-details,
.list-list .project-list-details {
	padding-left: 25px;
	padding-right: 100px;
}

.cards--grid .card .card__bookmark {
    z-index: 3;
}

.cards--list .card-content {
	min-height: 80px;
}

/* Project list component */
.project-component-list-item {
    position: relative;
    border-bottom: 1px solid $gray-200;
    padding-top: 5px;
    padding-bottom: 5px;
}


@media only screen and (min-width: 480px) {
	.list-mixed .project-list-item.project-is-bookmarked,
	.list-thumbnail .project-list-item {
		float: left;
		width: 230px;
	}
}
