#aiq-popup-modal,
#aiq-popup-modal-2 {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	margin: auto;
	background-color: rgba(0,0,0,0.7);
	display: none;
}

#aiq-popup-modal {
	z-index: 9998;
}

#aiq-popup-modal-2 {
	z-index: 9999;
}

#aiq-popup-modal > div,
#aiq-popup-modal-2 > div {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	margin: auto;
	max-height: 90vh;
	max-width: 95%;
	width: 800px;
	height: fit-content;
	min-height: 250px;
	border-radius: 5px;
}

#aiq-popup-modal > div {
	background-color: white;
}

#aiq-popup-modal > div > #aiq-popup-content,
#aiq-popup-modal > div > #aiq-popup-content-2 {
	padding: 40px 60px;
	display: flex;
	flex-direction: column;
	gap: 20px;
	align-content: center;
	justify-content: center;
	align-items: center;
	max-height: 90vh;
	overflow: auto;
}

#aiq-popup-modal > div > #aiq-popup-close-button,
#aiq-popup-modal-2 > div > #aiq-popup-close-button-2 {
	position: absolute;
	top: -40px;
	right: -40px;
	font-size: 24px;
	cursor: pointer;
	color: grey;
	padding: 8px 20px;
	-webkit-touch-callout: none; /* iOS Safari */
	-webkit-user-select: none; /* Safari */
	-khtml-user-select: none; /* Konqueror HTML */
	-moz-user-select: none; /* Old versions of Firefox */
	-ms-user-select: none; /* Internet Explorer/Edge */
	user-select: none; /* Non-prefixed version, currently
							supported by Chrome, Edge, Opera and Firefox */
}

.aiq-popup-loading-image {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	margin: auto;
	width: 60px;
}

.aiq-form, .aiq-form .aiq-form-group, .aiq-form .aiq-form-field {
	width: 100%;
	display: flex;
	flex-direction: column;
}

.aiq-form {
	gap: 40px;
	align-items: center;
}

.aiq-form .aiq-form-group {
	gap: 15px;
}

.aiq-form .aiq-form-field {
	gap: 5px;
}

.aiq-form .aiq-form-field.required > label:before {
	content: '* ';
	color: red;
}

.aiq-form .aiq-form-field > label {
	font-weight: 600;
	color: #333;
}

.aiq-form .aiq-form-field > div > span {
	padding-left: 20px;
}

#aiq-profile .woocommerce-billing-fields__field-wrapper {
	p.form-row {
		display: flex;
		flex-direction: row;
		flex-wrap: nowrap;
		align-content: center;
		justify-content: flex-start;
		align-items: center;
		gap: 20px;
	}
	
	p.form-row label {
		width: 200px;
		position: static !Important;
	}
	
	p.form-row .woocommerce-input-wrapper {
		display: block;
		width: 400px;
		position: relative;
	}
	
	p.form-row .woocommerce-input-wrapper:before {
		content: ':';
		position: absolute;
		left: -10px;
		top: 7px;
	}
}

.aiq_product-wrapper {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-content: flex-start;
	justify-content: center;
	align-items: flex-start;
	gap: 60px;
	text-align: center;
}

.aiq_product-wrapper .aiq-product {
	width: 300px;
	height: 350px;
	border: 2px solid #c4e2fa;
	border-radius: 10px;
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	align-content: center;
	justify-content: center;
	align-items: center;
	
	img { width: 80px; }
	h3 { font-size: 1.1em;margin-top: 20px; }
	a { margin-top: 20px;padding: 10px 25px; }
	
}

/* Trees */
#aiq-tree-view ul {
 	padding-left: 8px;
	margin: 10px 25px;
	list-style: none;
	border-left: 1px dashed #ccc;
}

#aiq-tree-view li {
	position: relative;
	margin: 4px 0;
	padding-left: 28px;
	cursor: pointer;
}
#aiq-tree-view li::before {
	content: "";
	position: absolute;
	top: 18px;
	left: -9px;
	width: 30px;
	height: 1px;
	background: #ccc;
}

/* node box */
#aiq-tree-view > ul {
	border-left: 0;
}
 
#aiq-tree-view .node {
	display: inline-block;
	padding: 5px 25px;
	border: 1px solid #bbb;
	border-radius: 6px;
	background: #f8f9fa;
	margin-left: -7px;
}

/* expand/collapse icons */
#aiq-tree-view .toggle {
	position: absolute;
	left: -15px;
	top: 12px;
	width: 12px;
	height: 12px;
	border: 1px solid #666;
	border-radius: 2px;
	font-size: 10px;
	line-height: 10px;
	text-align: center;
	background: #fff;
	cursor: pointer;
	user-select: none;
}

#aiq-tree-view .collapsed > ul { display: none; }

#aiq-tree-view .nodes.one_pax > .node:after,
#aiq-tree-view .nodes.one_btl > .node:after,
#aiq-tree-view .nodes.one_box > .node:after,
#aiq-tree-view .nodes.two_box > .node:after {
	content: '';
	display: inline-block;
	background-size: 14px 14px;
	background-repeat: no-repeat;
	background-position: center center;
	width: 14px;
	height: 14px;
	margin-left: 5px;
}

#aiq-tree-view .nodes.one_pax > .node:after {
	background-image: url('/wp-content/plugins/aiq-custom-plugin/assets/img/pax.png');
}

#aiq-tree-view .nodes.one_btl > .node:after {
	background-image: url('/wp-content/plugins/aiq-custom-plugin/assets/img/bottle.png');
}

#aiq-tree-view .nodes.one_box > .node:after {
	background-image: url('/wp-content/plugins/aiq-custom-plugin/assets/img/box.png');
}

#aiq-tree-view .nodes.two_box > .node:after {
	background-image: url('/wp-content/plugins/aiq-custom-plugin/assets/img/2box.png');
}
/* End Trees */