﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
  color: #0366d6;
}

h5 a {
	color: #444444;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

body {
  /* Margin bottom by footer height */
  margin-bottom: 60px;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px; /* Vertically center the text there */
}


/* Order Template Tables */
.template .category-title {
	padding: 3px 10px;
	background-color: rgb(80, 80, 80);
	cursor: pointer;
	color: rgb(245, 245, 245);
}
.template-category-comment {
	padding: 3px 10px;
	background-color: rgba(245, 245, 245, 1);
	font-size: 0.8rem;
	color: #333333;
}
.table .thr-borderless > th {
	border: 0 !important;
}
.flower-image-preview {
	display: none;
	width: 200px;
	height: 200px;
	position: absolute;
	background-color: black;
	padding: 1px;
	z-index: 100;
}
	.flower-image-preview .inner {
		width: 198px;
		height: 198px;
		background-position: center center;
		background-size: cover;
		background-repeat: no-repeat;
	}

svg.icon-dark {
	fill: #666666;
}
svg.icon-dark.interact:hover {
	fill: #444444;
	cursor: pointer;
}

svg.icon-light {
	fill: #f4f4f4;
}

	svg.icon-light.interact:hover {
		fill: #ffffff;
		cursor: pointer;
	}


.dialog-outer {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: rgba(200, 200, 200, 0.8);
	z-index: 100;
}
	.dialog-outer .dialog-inner {
		position: fixed;
		top: 50%;
		left: 50%;
		background-color: rgba(255, 255, 255, 1);
		padding: 80px 20px 20px 20px;
		transform: translate(-50%, -50%);
		min-height: 200px;
	}
		.dialog-outer .dialog-inner.dialog-fluid-width {
			width: 80%;
		}
		.dialog-outer .dialog-inner.dialog-fixed-width-sm {
			width: 400px;
		}
		.dialog-outer .dialog-inner .close-button {
			position: absolute;
			top: 0;
			right: 0;
			width: 30px;
			height: 30px;
			text-align: center;
			font-size: 1.6rem;
			line-height: 1.6rem;
			background-color: rgb(200, 0, 0);
			color: #ffffff;
		}
		.dialog-outer .dialog-inner .close-button:hover {
			cursor: pointer;
		}

.bulleted-comment {
	display: inline-block;
	padding: 0;
	list-style-position: inside;
	margin: 0;
}

.arrow {
	position: relative;
	float: left;
}
	.arrow.arrow-down {
		width: 0;
		height: 0;
		margin-top: 9px;
		margin-right: 5px;
	}
		.arrow.arrow-down.arrow-light {
			border-left: 6px solid transparent;
			border-right: 6px solid transparent;
			border-top: 6px solid #e4e4e4;
		}
		.arrow.arrow-down.arrow-dark {
			border-left: 6px solid transparent;
			border-right: 6px solid transparent;
			border-top: 6px solid #333333;
		}
	.arrow.arrow-right {
		width: 9px;
		height: 0;
		margin-left: 3px;
		margin-right: 5px;
		margin-top: 6px;
		border-top: 6px solid transparent;
		border-bottom: 6px solid transparent;
		border-left: 6px solid #333333;
	}
		.arrow.arrow-right.arrow-light {
			border-top: 6px solid transparent;
			border-bottom: 6px solid transparent;
			border-left: 6px solid #e4e4e4;
		}
		.arrow.arrow-right.arrow-dark {
			border-top: 6px solid transparent;
			border-bottom: 6px solid transparent;
			border-left: 6px solid #333333;
		}

.catalogue .category-title {
	background-color: #444444;
	color: #f4f4f4;
	padding-left: 5px;
	padding-right: 5px;
	margin-top: 1px;
}

	.catalogue .category-title a {
		color: #ffffff;
	}
	.catalogue .category-title .category-title-column {
		cursor: pointer;
	}

.unlock-product-link {
	display: inline-block;
	width: 20px;
	height: 20px;
}
.delete-product-link-placeholder {
	display: inline-block;
	width: 20px;
	height: 20px;
}
.lock-product-link {
	display: none;
	width: 20px;
	height: 20px;
}
.delete-product-link {
	display: none;
	width: 20px;
	height: 20px;
}

.unlock-category-link {
	display: inline-block;
	width: 16px;
	height: 16px;
}
.lock-category-link {
	display: none;
	width: 16px;
	height: 16px;
}
.delete-category-link {
	display: none;
	width: 16px;
	height: 16px;
}

.comment-wrapper {
	display: none;
}

.product-col {
	position: relative;
}

	.product-col .product-hint {
		visibility: hidden;
		min-width: 100px;
		background-color: black;
		color: #fff;
		text-align: center;
		padding: 5px 10px;
		border-radius: 6px;

		position: absolute;
		z-index: 1;
		top: -5px;
		left: 105%;
	}

	.product-col:hover .product-hint {
		visibility: visible;
	}

.template.category-wrapper,
.catalogue.category-wrapper {
	margin-top: 1px;
	background-color: rgba(180, 180, 180, 0.3);
}

.template .category-inner,
.catalogue .category-inner {
	padding: 2px;
	border-left: 1px solid rgba(150, 150, 150, 0.5);
	border-bottom: 1px solid rgba(150, 150, 150, 0.5);
	border-right: 1px solid rgba(150, 150, 150, 0.5);
}

.product-drop-target {
	padding: 0 !important;
	margin: 0 !important;
	height: 0;
	background-color: rgba(255, 255, 255, 0);
	transition: height ease 0.2s;
}
	.product-drop-target.show {
		height: 5px;
		background-color: rgba(255, 255, 255, 0.5);
	}
	.product-drop-target.dragover {
		height: 20px !important;
	}

.catalogue-category-drag-target {
	height: 0;
	transition: height ease 0.2s;
}
	.catalogue-category-drag-target.show {
		height: 4px;
	}
	.catalogue-category-drag-target.dragover {
		height: 20px !important;
	}

.flower-image-thumb {
	cursor: pointer;
}

.product-image-select-link {
	width: 24px;
	height: 24px;
}

.product-image-box {
	position: relative;
	float: left;
	width: 100px;
	height: 100px;
	background-repeat: no-repeat;
	background-size: cover;
	background-position-x: center;
	background-position-y: center;
	overflow: visible;
}
	.product-image-box.current-product-image {
		float: none;
	}
	.product-image-box .image-menu {
		display: block;
		position: absolute;
		top: 100px;
		left: 100px;
		min-width: 10px;
		min-height: 10px;
		white-space: nowrap;
		box-shadow: 1px 1px 2px #aaaaaa;
	}
.image-select-array {
	position: relative;
	height: 300px;
	overflow: auto;
}

.fob-enabled {
	background: rgb(0, 200, 10);
	color: #ffffff;
}
.fob-enable-col {
	cursor: pointer;
}

.floating-save-btn {
	position: fixed;
	top: 300px;
	right: 5px;
}

.image-tree {
	display: grid;
	grid-template-columns: 300px 1fr;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 5px;
	right: 0;
}
.image-tree.full-page {
	top: 65px;
	bottom: 70px;
	left: 5px;
}
.image-tree .folders {
	margin-right: 10px;
	border-right: 2px solid #dfdfdf;
	padding-right: 5px;
	overflow-y: auto;
}
.image-tree .images {
	overflow-y: auto;
}
.image-tree:not(.full-page) .images .button-bar {
	display: none;
}
	.image-tree .images .image-wrapper {
		width: 230px;
		height: 90px;
		padding: 5px;
		float: left;
		background-color: rgba(1, 1, 1, 0.05);
		margin: 0 5px 5px 0;
		transition: all;
	}
	.image-tree .images .image-wrapper .image {
		width: 80px;
		height: 80px;
		background-position: center center;
		background-size: cover;
		float: left;
		margin: 0 5px 5px 0;
		transition: all;
		transition-duration: 0.2s;
		/*transition-delay: 0.5s;*/
	}
	.image-tree.full-page .images .image-wrapper .image:hover {
		width: 270px;
		height: 270px;
		z-index: 200;
		position: relative;
	}
	.image-tree .images::after {
		content: '';
		display: table;
		clear: both;
	}
.image-tree .folder {
	position: relative;
}
	.image-tree .folder > .folder {
		margin-left: 15px;
		border-left: 1px solid #aaaaaa;
	}
	.image-tree .folder > .folder::after {
		content: '';
		display: table;
		position: absolute;
		top: 0;
		height: 17px;
		border-bottom: 1px solid #aaaaaa;
		width: 5px;
	}
.image-tree .folder-name.dragover {
	background-color: #444444;
	color: #fff;
}

.image-tree .folder-name {
	padding: 3px 3px 3px 10px;
	cursor: pointer;
}
	.image-tree .folder-name.selected {
		background-color: #efefef;
	}

	.image-tree .add-folder {
		margin-left: 10px;
		margin-top: 5px;
		font-size: 12px;
		height: 20px;
		width: 20px;
		text-align: center;
		cursor: pointer;
	}

	.image-tree.full-page .image-name {
		position: relative;
		cursor: pointer;
		padding-right: 15px;
	}

	.image-tree.full-page .image-name button {
		border: 0;
		background-color: rgb(220, 70, 70);
		color: #fff;
		border-radius: 3px;
		position: absolute;
		top: -5px;
		right: -4px;
	}

	.form-group.wrap input {
		width: 100%;
	}

button svg {
	width: 18px;
	height: 18px;
}

.catalogue-category {
	border-left: 1px dotted #aaaaaa;
	margin-left: 5px;
	margin-bottom: 5px;
}
.catalogue-category .category-name {
	user-select: none;
	cursor: pointer;
	position: relative;
	color: #444444;
	padding-left: 30px;
	padding-right: 5px;
	background-color: #fff;
	margin-left: -10px;
	font-weight: bold;
}
.catalogue-category .category-children {
	padding-left: 20px;
	margin-top: 3px;
}
	.catalogue-category .category-name span {
		display: block;
		position: absolute;
		left: 0;
		top: 0;
		width: 20px;
		height: 25px;
		padding-bottom: 5px;
		line-height: 20px;
		font-weight: bold;
		font-size: 20px;
		transform: rotate(90deg);
		overflow: hidden;
		transition: transform 0.3s;
	}
.category-name.collapsed span {
	transform: rotate(0deg);
}

.catalogue-product {
	display: grid;
	grid-template-columns: 25px 1fr;
	margin-left: 14px;
}
.catalogue-product div {
	padding: 0 5px;
}