.sticky-bottom {
	position: -webkit-sticky;
	position: sticky;
	bottom: 0;
	z-index: 1020;
}

.adminDetails-uploadArea {
	border: solid 1px #ccc;
	text-align: center;
	vertical-align: middle;
	min-height: 100px;
}

.adminDetails-uploadArea:hover {
	cursor: pointer;
}

.adminDetails-uploadFile {
	display: none;
}

.adminDetails-photo img {
	border: solid 1px #ccc;
	max-width: 200px;
	max-height: 200px;
	margin: 5px;
	border-radius: 5px;
}

.adminDetails-photo {
	position: relative;
	display: inline-block;
	vertical-align: top;
}

.adminDetails-photo-remove {
	cursor: pointer;
	font-size: 1.5em;
	position: absolute;
	right: 0;
	top: 0;
	filter: drop-shadow(0px 0px 5px #fff);
}

input.error {
	outline: solid 1px red;
	color: initial;
}

.error {
	color: red;
}

.productThumbnails {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-content: flex-start;
}

img.productThumbnail {
	max-width: 100%;
	max-height: 100px;
	margin: 5px auto;
	border-radius: 5px;
	filter: drop-shadow(0px 0px 1px #000);
	cursor: pointer;
}

img.productThumbnail.current {
	outline: solid 1px #000;
	filter: none;
}

.img-fluid {
	max-height: 100vh;
}

.img-square {
	position: relative;
	overflow: hidden;
	padding-bottom: 100%;
}

.img-square img {
	position:absolute;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.productEnlarged {
	position: relative;
}

.productEnlarged img {
	position: absolute;
	left: 0;
	right: 0;
	margin: auto;
	max-width: 100%;
	border-radius: 5px;
	filter: drop-shadow(0px 0px 1px #000);
	width: fit-content;
}

.categoryProduct, .subCategory {
	text-align: center;
}

.categoryProduct a, .subCategory a {
	text-decoration: none;
	color: inherit;
}

.categoryProduct .productPhoto, .subCategory .subCategoryPhoto {
	position:relative;
	overflow:hidden;
	padding-bottom:100%;
}

.categoryProduct .productPhoto img, .subCategory .subCategoryPhoto img {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.navbar-brand a.logo {
	text-decoration: none;
	color: inherit;
	font-weight: bold;
}

#adminList .list-group-item .row div {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.ribbon {
	position: absolute;
	right: -5px; top: -5px;
	z-index: 1;
	overflow: hidden;
	width: 75px; height: 75px; 
	text-align: right;
}

.ribbon span {
	font-size: 12px;
	color: #fff; 
	text-transform: uppercase; 
	text-align: center;
	font-weight: bold; line-height: 20px;
	transform: rotate(45deg);
	width: 100px; display: block;
	background: #79A70A;
	background: linear-gradient(#9BC90D 0%, #79A70A 100%);
	box-shadow: 0 3px 10px -5px rgba(0, 0, 0, 1);
	position: absolute;
	top: 19px; right: -21px;
}

.ribbon span::before {
	content: '';
	position: absolute; 
	left: 0px; top: 100%;
	z-index: -1;
	border-left: 3px solid #79A70A;
	border-right: 3px solid transparent;
	border-bottom: 3px solid transparent;
	border-top: 3px solid #79A70A;
}

.ribbon span::after {
	content: '';
	position: absolute; 
	right: 0%; top: 100%;
	z-index: -1;
	border-right: 3px solid #79A70A;
	border-left: 3px solid transparent;
	border-bottom: 3px solid transparent;
	border-top: 3px solid #79A70A;
}

.ribbon.red span {background: linear-gradient(#F70505 0%, #8F0808 100%);}
.ribbon.red span::before {border-left-color: #8F0808; border-top-color: #8F0808;}
.ribbon.red span::after {border-right-color: #8F0808; border-top-color: #8F0808;}
.ribbon.blue span {background: linear-gradient(#2989d8 0%, #1e5799 100%);}
.ribbon.blue span::before {border-left-color: #1e5799; border-top-color: #1e5799;}
.ribbon.blue span::after {border-right-color: #1e5799; border-top-color: #1e5799;}