@import "pagination.css";

/* dnn_products */

html {
	scroll-behavior: smooth;
}

#product-list {
	position: relative;
}

#new-list-title {
	color: black;
	background-color: transparent;
	border: none;
	padding-left: 1rem;
}

/* .form-control:focus */
#new-list-title:focus {
	box-shadow: none;
}

#product-lists .bookmark-list {
	transition: opacity 0.4s linear;
}

#product-lists .product-wrapper {
	margin-bottom: 70px;
	transition: opacity 0.4s linear;
	scroll-margin-top: 170px;
}

#product-lists .list-date {
	border: 1px solid black;
	font-weight: normal;
	padding-right: 1.75em;
	padding-left: 1.75em;
}

#product-lists .list-header {
	background-color: rgb(73, 187, 189);
	color: white;
	cursor: pointer;
}
#product-lists .list-header.collapsed {
	background-color: rgb(237, 236, 235);
	color: black;
}
#product-lists .list-header.new {
	background-color: rgb(255, 79, 138);
}

#product-lists .list-header h3 {
	margin: 0 0 0 1rem;
}

#product-lists .list-header.collapsed i.fa-times {
	display: none;
}

#product-lists .list-header:not(.collapsed) i.fa-ellipsis-v {
	display: none;
}

#product-lists .list-count {
	display: inline-block;
	margin-left: 1em;
	font-weight: normal;
}

.tx-dnn-products .bookmarks .far.fa-heart {
	color: rgb(216, 216, 215);
}

.tx-dnn-products .bookmarks .fas.fa-heart {
	color: rgb(255, 20, 147);
}

.tx-dnn-products .bookmarks .dropdown-item.custom-checkbox {
	padding-left: 2rem;
}

.tx-dnn-products .bookmarks .dropdown-toggle::after {
	display: none;
}

.tx-dnn-products .bookmarks .dropdown-item.new {
	min-width: 250px;
}

.tx-dnn-products .bookmarks .dropdown-item.new .template {
	display: none;
}


.tx-dnn-products .bookmarks .add-bookmark {
	color: #49bbbd;
}

.tx-dnn-products .bookmarks .add-bookmark i {
	position: absolute;
	left: 0;
	margin: 0.2rem .5rem;
}


#filters {
	position: absolute;
	left: 0;
	top: 0;
	min-width: 175px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

#filters .badge {
	font-size: 100%;
	font-weight: normal;
	margin: 0.1em 0;
	transition: opacity .4s linear;
}

@media all and (max-width: 1500px) {
	#filters {
		position: relative;
		left: 0;
		top: 0;
		min-width: 175px;
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		align-items: flex-start;
	}

	#filters .badge {
		margin: 0.25em 0.25em 0 0;
	}
}

#filters .badge i {
    padding-left: 0.5em;
	cursor: pointer;
	color: rgba(255, 255, 255, 0.4);
}

#filters .badge i:hover {
	color: rgba(255, 255, 255, 1);
}

#filters .badge.suppliers {
	background-color: #aa6f83;
}

#filters .badge.categories {
	background-color: #6281b0;
}

#filters .badge.keywords {
	background-color: #55a3b3;
}

.ajax-message {
	left: 0;
	top: 0;
	z-index: 100;
	width: 100%;
	height: 100%;
	pointer-events: none;
}

.ajax-message .message {
	transition: opacity .6s linear;
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	align-items: center;
	justify-content: center;
}

.ajax-message .success {
	background-color: white;
	color: rgb(255, 79, 138);
	border: 3px solid rgb(255, 79, 138);
	font-weight: bold;
}

.ajax-message .error {
	background-color: rgb(255, 79, 138);
	color: white;
	border: 3px solid rgb(255, 79, 138);
	font-weight: bold;
}

.tx-dnn-products .fadeout {
	opacity: 0;
}

.tx-dnn-products .top-border {
	border-top: 2px solid #d8d8d7;
}

.tx-dnn-products input:invalid {
	border: 1px solid rgb(220, 0, 0);
	background-color: rgb(255, 230, 230);
}
