/*
 * Version 2.7
*/
main {
	display: flex;
	align-items: center;
}

div.annotes {
	display: flex;
	align-items: center;
}

.annotes-theme-dark, .annotes-theme-dark div {
	color: white;
}

.annotes-theme-light, .annotes-theme-light div {
	color: black;
}

.annotes-theme-light, .annotes-theme-light div.with-background {
	background: white;
}

.annotes-margin-ls { /* Left Single */
	margin-left: var(--horizontal-margin-single);
}

.annotes-flexbox-r-cn-c {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
}

.annotes-flexbox-r-sb-c {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
}

.annotes-iflex-r-sb-c {
	display: inline-flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
}

.annotes-flexbox-r-sb-f {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: stretch;
}

.annotes-flexbox-rc-sb-f {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: stretch;
}
@media (orientation: portrait), (max-width: 960px) {
	.annotes-flexbox-rc-sb-f {
		flex-direction: column;
	}
}

.annotes-flexbox-r-fs-c {
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	align-items: center;
}

.annotes-flexbox-c-fs-c {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: center;
}

.annotes-flexbox-c-c-c, .annotes-flexbox-c-cn-c {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.annotes-flexbox-r-fs-f {
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	align-items: stretch;
}

.annotes-flexbox-r-fs-f-w {
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	align-items: stretch;
	flex-wrap: wrap;
}

.annotes-flexbox-rc-fs-f {
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	align-items: stretch;
}
@media (orientation: portrait), (max-width: 960px) {
	.annotes-flexbox-rc-fs-f {
		flex-direction: column;
	}
}

.annotes-flexbox-c-sb-s {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: flex-start;
}

.annotes-flexbox-c-sb-c {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
}

a.annotes {
	display: flex;
	align-items: center;
}

button.annotes {
	margin-left: var(--horizontal-margin-half);
	margin-right: var(--horizontal-margin-half);
}

.annotes-box {
	width: 100%;
	margin: var(--vertical-margin-half) var(--horizontal-margin-half);
}

.annotes-box-cta-r {
	flex-direction: row-reverse;
	justify-content: space-between;
	width: 100%;
	padding: var(--vertical-margin-half) var(--horizontal-margin-half);
	/* Should not use left and right margin as they would just overflow from the parent element that is flex.
	/* width: auto; */
	/* margin: var(--vertical-margin-half) var(--horizontal-margin-half); */
}

.annotes-pane {
	display: flex;
	width: 100%;
	background-color: white;
	border: 1px solid var(--brand-color-1-transparent);
	border-radius: var(--border-radius-tight);
}

/* .annotes-pane div {
	display: flex;
	align-items: center;
} */

.annotes-col {
	flex-direction: column;
}

.annotes-left-aligned {
	align-items: flex-start;
}

.annotes-pane-title {
	align-items: flex-start;
	width: 100%;
	padding: var(--vertical-margin-half) var(--horizontal-margin-half);
}

.annotes-pane .annotes-box {
	width: 100%;
	padding: var(--vertical-margin-half) var(--horizontal-margin-half);
}

.annotes-pane .annotes-pane-inner {
	margin: var(--vertical-margin-single) var(--horizontal-margin-single);
}

.annotes-pane ~ .annotes-pane {
	margin-top: var(--vertical-margin-single);
}

@media (orientation: portrait), (max-width: 960px) {
	.annotes-pane {
		width: calc(100vw - var(--horizontal-margin-half) * 2);
	}
}

.annotes-btn-bare {
	margin: 0;
	padding: 0;
	border: none;
	background: none;
	cursor: pointer;
}

.annotes-btn-underlined {
	margin: 0;
	padding: 0;
	border: none;
	cursor: pointer;
	text-decoration: underline;
	background: transparent;
}

.annotes-btn {
	font-size: var(--font-size-medium);
	border-radius: 3px;
	-webkit-box-shadow: none;
	box-shadow: none;
	border: 1px solid grey;
	cursor: pointer;
	min-width: 6em;
}

.annotes-btn:disabled {
	cursor: not-allowed;
	opacity: 0.5;
}

/* .annotes-btn-lc-m { */
	/* padding: var(--vertical-margin-half) var(--horizontal-margin-half); */
/* } */

.annotes-btn-lc-m:hover {
	background-color: lightgrey;
	border-color: #269abc;
}

.annotes-btn-ac-m {
	padding: var(--vertical-margin-half) var(--horizontal-margin-half);
	background-color: var(--cta-color-1);
	color: white;
}

.annotes-btn-ac-l {
	padding: var(--vertical-margin-single) var(--horizontal-margin-single);
	background-color: var(--cta-color-1);
	color: white;
	font-size: var(--font-size-large);
}

.annotes-btn-ac-m:hover, .annotes-btn-ac-l:hover {
	background-color: var(--cta-color-1-light);
}

.annotes-btn-bc1-m {
	/* padding: var(--vertical-margin-half) var(--horizontal-margin-half); */
	background-color: var(--brand-color-1);
	color: var(--brand-color-1c);
}

.annotes-btn-bc1-l {
	padding: var(--vertical-margin-single) var(--horizontal-margin-single);
	background-color: var(--brand-color-1);
	color: var(--brand-color-1c);
	font-size: var(--font-size-large);
}

.annotes-btn-bc1-m:hover, .annotes-btn-bc1-l:hover {
	background-color: var(--brand-color-1-light);
}

.annotes-svg-dimgrey img { /* #696969 */
	filter: invert(41%) sepia(1%) saturate(2032%) hue-rotate(316deg) brightness(97%) contrast(84%);
}

svg.annotes-svg-white, .annotes-svg-white img, img.annotes-svg-white {
	filter: invert(100%) sepia(0%) saturate(28%) hue-rotate(28deg) brightness(106%) contrast(106%);
}

button:hover .annotes-svg-white img {
	filter: none;
}

.annotes-svg-azure img {
	filter: invert(28%) sepia(97%) saturate(1833%) hue-rotate(198deg) brightness(103%) contrast(106%);
}

.annotes-svg-azure img {
	filter: invert(28%) sepia(97%) saturate(1833%) hue-rotate(198deg) brightness(103%) contrast(106%);
}

.annotes-svg-brand-color-1, .annotes-svg-brand-color-1 img {
	filter: var(--filter-brand-color-1);
}

.annotes-svg-icon {
	display: inline-flex;
	align-items: center;
}

.annotes-svg-icon img, .annotes-svg-icon-baseline img {
	height: 1em;
	width: 1em;
	max-width: none;
}

.annotes-svg-icon-baseline img {
	position: relative;
	top: .125em;
}

.annotes-icon-medium {
	width: var(--icon-size-medium);
	position: relative;
	/* top: var(--vertical-margin-eighth); */
}

svg.annotes-icon-medium {
	width: var(--icon-size-medium);
	height: var(--icon-size-medium);
}

svg.annotes-icon-xlarge {
	width: var(--font-size-xlarge);
	height: var(--font-size-xlarge);
}

.annotes-icon-large {
	width: var(--icon-size-large);
	position: relative;
	/* top: var(--vertical-margin-eighth); */
}

.annotes-icon-xlarge {
	width: var(--font-size-xlarge);
	position: relative;
}

.annotes-icon-xxlarge {
	width: var(--font-size-xxlarge);
	position: relative;
	/* top: var(--vertical-margin-eighth); */
}

.annotes-clickable {
	cursor: pointer;
}

.annotes-clickable-icon {
	cursor: pointer;
	box-sizing: border-box;
	border: 2px solid transparent;
}

.annotes-clickable-icon:hover, .annotes-clickable-icon:focus {
	background-color: var(--brand-color-blue-light);
	border: 2px solid var(--brand-color-blue-light);
	border-radius: 4px;
}


.annotes-main-content {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.annotes-anchor-passthrough {
	display: inherit;
	align-items: inherit;
	height: 100%;		
}

.annotes-two-lines-ellipsis {
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

/* This means the anchor element is enclused by flexbox element. */
.annotes > .annotes-anchor-passthrough {
	width: 100%;
}

.annotes-form-row {
	display: flex;
	align-items: flex-start;
}

.annotes-form-col + .annotes-form-col {
	margin-left: var(--horizontal-margin-single);
}

.annotes-form-two-col {
	width: 50%;
	position: relative;
	min-height: 1px;
	float: left;
}

.annotes-form-two-col:nth-child(2) {
	padding-left: var(--horizontal-margin-single);
}

.annotes-form-three-col {
	width: 33%;
	position: relative;
	min-height: 1px;
	float: left;
}

.annotes-form-three-col:nth-child(1) {
	padding-right: var(--horizontal-margin-half);
}

.annotes-form-three-col:nth-child(2) {
	padding-left: var(--horizontal-margin-half);
	padding-right: var(--horizontal-margin-half);
}

.annotes-form-three-col:nth-child(3) {
	padding-left: var(--horizontal-margin-half);
}

.annotes-form-four-col, .annotes-form-five-col {
	position: relative;
	min-height: 1px;
	float: left;
	padding-left: var(--horizontal-margin-half);
	padding-right: var(--horizontal-margin-half);
}

.annotes-form-four-col {
	width: 24%;
}

.annotes-form-five-col {
	width: 19%;
}

.annotes-form-four-col:nth-child(1), .annotes-form-five-col:nth-child(1) {
	padding-left: 0;
}

.annotes-form-four-col:last-child, .annotes-form-five-col:last-child {
	padding-right: 0;
}


.annotes-form-group {
	flex-direction: column;
	margin-bottom: var(--vertical-margin-single);
	align-items: flex-start;
}

.annotes-form-group:has(.annotes-float-container) {
	padding-top: 0.5em;
}

.annotes-form-group:has(.annotes-float-container) span.help-block {
	font-size: var(--font-size-small);
}

.annotes-form-group label {
	font-weight: bold;
	white-space: nowrap;
}

.annotes-form-group label span {
	font-weight: normal;
	font-style: italic;
}

html[lang=ja] .annotes-form-group label span {
	font-style: normal;
}

.annotes-form-group > div {
	width: 100%;
}

.annotes-form-group div.annotes-form-w20 {
	width: calc(var(--font-size-medium) * 20);
}

.annotes-form-bordered-box {
	border: 2px solid #ccc;
	border-radius: 4px;
	padding: .5em;
	padding-top: 1em;
	position: relative;
}

.annotes-form-bordered-box > label {
	position: absolute;
	top: -0.75em;
	z-index: 10;
	background-color: white;
}

input[type="text"].annotes-form-text-5 {
	width: calc(var(--font-size-medium) * 5);
}

input[type="text"].annotes-form-postalcode-jp {
	width: calc(var(--font-size-medium) * 6);
}

input[type="text"].annotes-form-fullname-en {
	width: calc(var(--font-size-medium) * 20);
}

input[type="text"].annotes-form-phone {
	width: calc(var(--font-size-medium) * 9);
}

input[type="email"].annotes-form-email,
input[type="text"].annotes-form-email {
	width: calc(var(--font-size-medium) * 15);
}

input[name=password].annotes-form-control,
input[name=password-confirm].annotes-form-control {
	width: calc(var(--font-size-medium) * 15);
	height: calc(var(--font-size-medium) + var(--vertical-margin-single) * 1.5);
}

div.annotes-form-radio-item {
	width: 20vw;
	height: var(--vertical-margin-triple);
	border: 1px solid grey;
	border-radius: var(--border-radius-tight);
}

.annotes-form-radio-item input {
	margin: 0;
	margin-left: var(--horizontal-margin-half);
}

.annotes-form-radio-item label {
	margin-left: var(--horizontal-margin-half);
}

.annotes-form-action-box {
	justify-content: space-between;
	width: 100%;
	padding: var(--vertical-margin-single) var(--horizontal-margin-single);
}

.annotes-form-padding-mark,
.annotes-form-validated-mark,
.annotes-form-error-mark {
	display: none;
	margin-left: var(--vertical-margin-half);
	font-size: var(--font-size-xlarge);
	font-weight: bold;
}

.annotes-form-padding-mark {
	color: white;
	display: block;
}

.annotes-form-validated-mark {
	color: forestgreen;
}
	
.annotes-form-group.has-error label,
.annotes-form-error-text,
.annotes-form-error-mark {
	color: #dd4b39;
	border-color: #dd4b39;
	box-shadow: none;
}

.annotes-form-group.has-error .annotes-form-control {
	border-color: #dd4b39;
}

.annotes-form-group.has-error .annotes-form-error-mark {
	display: block;
}

.annotes-form-group.has-error .annotes-form-padding-mark {
	display: none;
}

.annotes-form-group [data-validated=true][data-changed=true],
.annotes-form-group [data-changed=true]:not([data-invalid]):not([data-validated=false]),
.annotes-form-group select[data-changed=true],
.annotes-form-group fieldset[role=radiogroup][data-changed=true] {
	border-color: green;
}

.annotes-float-container:has([data-validated=true][data-changed=true]) {
	border-color: green;
}

.annotes-form-group [data-validated=true][data-changed=true] ~ .annotes-form-validated-mark,
.annotes-form-group [data-changed=true]:not([data-invalid]):not([data-validated=false]) ~ .annotes-form-validated-mark,
.annotes-form-group select[data-changed=true] ~ .annotes-form-validated-mark,
.annotes-form-group fieldset[role=radiogroup][data-changed=true] ~ .annotes-form-validated-mark {
	display: block;
}

.annotes-form-group [data-validated=true][data-changed=true] ~ .annotes-form-padding-mark,
.annotes-form-group [data-changed=true][data-invalid] ~ .annotes-form-validated-mark,
.annotes-form-group select[data-changed=true] ~ .annotes-form-padding-mark,
.annotes-form-group fieldset[role=radiogroup][data-changed=true] ~ .annotes-form-padding-mark {
	display: none;
}

.annotes-form-group [data-validated=true][data-changed=true]:focus,
.annotes-form-group select[data-changed=true]:focus,
.annotes-form-group fieldset[role=radiogroup][data-changed=true]:focus,
.annotes-form-group input:focus,
.annotes-form-group.has-error .annotes-form-control:focus,
.annotes-form-group select:focus {
	outline-style: none;
	border-color: var(--brand-color-1);
	box-shadow: 0 0 var(--horizontal-margin-quarter) var(--brand-color-1);
}

.annotes-form-group div.annotes-form-show-password {
	width: auto;
	position: relative;
}

.annotes-form-group span.annotes-form-show-password-mark, .annotes-form-group span.annotes-form-hide-password-mark {
	display: inline-flex;
	align-items: center;
	position: absolute;
	top: calc((var(--font-size-medium) + var(--vertical-margin-single) * 1.5) / 4);
	right: var(--horizontal-margin-half);
	color: grey;
	cursor: pointer;
	/* border: 2px solid white; */
}

.annotes-form-group span.annotes-form-show-password-mark.eye-slashed {
	background-image: linear-gradient(45deg, transparent 48%, #2c2c2c 48%, grey 52%, transparent 52%, transparent);
}

.annotes-form-group div.annotes-form-show-password:after {
	content: "";
	position: absolute;
	/* transform: rotate(300deg);  */
	color: rgb(187, 182, 182);
	top: 0;
	right: 0;
	z-index: -1;
}

.annotes-filled-circle {
	box-sizing: border-box;
	cursor: auto;
	pointer-events: none;
	width: calc(var(--font-size-medium) * 1.5);
	height: calc(var(--font-size-medium) * 1.5);
	color: rgb(255, 255, 255);
	display: flex;
	flex-direction: row;
	-webkit-box-align: center;
	align-items: center;
	-webkit-box-pack: center;
	justify-content: center;
	font-size: var(--font-size-medium);
	font-weight: bold;
	position: relative;
	background: black;
	border-radius: 50%;
	border-width: 0px;
	border-style: initial;
	border-color: initial;
	border-image: initial;
	transition: background 0.5s ease-in-out 0s, border 0.5s ease-in-out 0s;
}

/* An element with annotes-tooltip-activator must be just before an element with annotes-tooltip as a sibling. */
/* Sizes like padding, border-radius, width are just default value. They are normally overwritten by application level CSS */
/* This is to place the tooltip window at the bottom of the activator element. */
.annotes-tooltip {
	display: none;
	position: absolute;
	padding: 10px;
	border-radius: 5px;
	width: 200px;
	background-color: lightgray;
	cursor: default;
	/* display: inline-block; */
	/* top: 30px; */
	/* left: -145px; */
}

/* This is to add a small triangle arrow above tooltip window. */
.annotes-tooltip:before {
	content: "";
	position: absolute;
	top: calc(var(--font-size-small) * -1.5);
	right: 10%;
	border: var(--font-size-small) solid transparent;
	border-top: var(--font-size-small) solid lightgray;
	margin-left: calc(var(--font-size-small) * -1);
	transform: rotateZ(180deg);
}

.annotes-tooltip-activator {
	position: relative;
	cursor: pointer;
	display: inline-block;
}

/* The "top" should have a positive amount of the height of the activator element. */
.annotes-tooltip-activator:hover .annotes-tooltip {
	display: inline-block;
	/* top: 30px; */
	/* left: -145px; */
	/* top: calc(var(--header-height) * 0.5); */
	top: 95%;
	right: -15%;
	left: auto;
}

.annotes-tooltip-menu {
	padding: 0;
	box-shadow: 0 1px 6px rgba(0,0,0, .3);
	width: auto;
}

.annotes-tooltip-menu-item {
	display: flex;
	justify-content: space-between;
	padding: var(--horizontal-margin-quarter) var(--horizontal-margin-half);
	background-color: lightgrey;
	color: black;
}

.annotes-tooltip-menu-item a {
	color: black;
	white-space: nowrap
}

.annotes-tooltip-menu-separator {
	border: 1px darkgrey;
	border-style: groove;
}

/* Annotes Image Slider & Organizer START */
/* @media (min-width: 0px) { */
	.annotes-slider {
		/* width: var(--annotes-image-slider-width); */
		width: 100%;
		height: var(--annotes-image-slider-height);
		display: flex;
		flex-direction: column;	
		align-items: center;
	}

	.annotes-slider-display-area {
		margin-top: var(--vertical-margin-half);
		text-align: center;
		/* width: var(--annotes-image-slider-width); */
		/* height: calc(var(--annotes-image-slider-height) * 0.65); */
		max-height: var(--annotes-image-slider-height);
	}

	.annotes-slider-display-area img {
		display: inline-block;
		/* max-width: var(--annotes-image-slider-width); */
		max-height: var(--annotes-image-slider-height);
		width: 100%;
		height: auto;
	}

	.annotes-slider-carousel {
		/* width: var(--annotes-image-slider-width); */ /* Remmed out to show the previous/next arrows on the admin product details page */
		height: calc(var(--annotes-image-slider-height) * 0.15);
		border-style: none;
		margin-bottom: 0;
		margin-top: var(--vertical-margin-single);
	}

	.flexslider.annotes-slider-carousel {
		width: 95%;
	}

	.annotes-slider-carousel.flexslider .slides img {
		object-fit: cover;
		height: calc(var(--annotes-image-slider-height) * 0.12);
		width: calc(var(--annotes-image-slider-height) * 0.12);
	}

	.annotes-slider-thumbnail {
		border: var(--border-xthin) solid grey;
		border-radius: var(--border-radius-tight);
	}

	.annotes-slider-thumbnail.annotes-slider-selected {
		border: var(--border-xthin) solid #f3a322;
	}

	.annotes-slider-thumbnail:hover {
		cursor: pointer;
	}

	.annotes-image-organizer {
		width: 100%;
		margin-top: var(--vertical-margin-half);
		padding-left: var(--horizontal-margin-half);
		padding-right: var(--horizontal-margin-half);
	}

	div:has(> div.annotes-image-organizer) .annotes-slider {
		height: 500px;
	}

	div:has(> div.annotes-image-organizer) .annotes-slider .annotes-slider-display-area {
		height: 300px;
	}

	div:has(> div.annotes-image-organizer) .annotes-slider .annotes-slider-display-area img {
		max-width: 100%;
		max-height: 300px;
	}
/* } */

@media (orientation: portrait), (max-width: 960px) {
	.annotes-slider {
		align-items: center;
		width: 100%;
		height: auto;
	}
	.annotes-slider-display-area {
		width: 100%;
		height: auto;
		max-height: none;
	}
	.annotes-slider-display-area img {
		width: 90%
		/* max-width: 80%; */
		/* max-height: none; */
	}
	.flexslider.annotes-slider-carousel {
		width: 95%;
	}
	.annotes-slider-carousel.flexslider .slides img {
		max-height: none;
	}
}
/* Annotes Image Slider & Organizer END */

@media (orientation: portrait), (max-width: 960px) {
	.annotes-form-row {
		flex-direction: column;
	}

	.annotes-form-col + .annotes-form-col {
		margin-left: 0;
	}

	div.annotes-form-radio-item {
		width: 60vw;
	}
}

@media (orientation: landscape) and (min-width: 961px) {
	div.annotes-flex-only-for-desktop {
		display: flex;
	}
	.annotes-flex-only-for-desktop {
		display: flex;
	}
	.annotes-flex-only-for-mobile {
		display: none;
	}
	.annotes-block-only-for-desktop {
		display: block;
	}
	.annotes-block-only-for-mobile {
		display: none;
	}
	.annotes-inline-only-for-desktop {
		display: inline;
	}
	.annotes-inline-only-for-mobile {
		display: none;
	}
}

@media (orientation: portrait), (max-width: 960px) {
	div.annotes-flex-only-for-desktop {
		display: none;
	}
	.annotes-flex-only-for-desktop {
		display: none;
	}
	.annotes-flex-only-for-mobile {
		display: flex;
	}
	.annotes-block-only-for-desktop {
		display: none;
	}
	.annotes-block-only-for-mobile {
		display: block;
	}
	.annotes-inline-only-for-desktop {
		display: none;
	}
	.annotes-inline-only-for-mobile {
		display: inline;
	}
}

/* @media (min-width: 0px) { */
	.annotes-title-wrap {
		display: flex;
		position: relative;
		justify-content: center;
		overflow: hidden;
		text-overflow: ellipsis;
		text-align: center;
		width: 100%;
	}

	.annotes-title-wrap h2, .annotes-title-wrap div {
		position: relative;
		z-index: 2;
		background-color: var(--brand-color-1-pale);
		padding-left: var(--horizontal-margin-single);
		padding-right: var(--horizontal-margin-single);
	}

	.annotes-title-wrap div {
		font-size: var(--font-size-large);
		color: var(--brand-color-1-dark);
		font-weight: bold;
	}

	.annotes-title-with-line:after {
		position: absolute;
		top: 50%;
		left: 0;
		z-index: 1;
		width: 100%;
		height: var(--border-xthin);
		/* background: transparent; */
		-webkit-transform: translateY(-50%);
		transform: translateY(-50%);
		content: "";
		background-color: #404040;
		background-color: var(--brand-color-1-dark);
	}
/* } */

/**** Spinner for waiting START ***/

/* @media (min-width: 0px) { */
	.annotes-spinner-overlay {
		display: none;
		justify-content: center;
		z-index: 100000;
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100vh;
		transition: opacity 0.65s;
		pointer-events: auto;
		background-color: rgba(255, 255, 255, 0.6);
	}
	.annotes-spinner-overlay img {
		max-width: 25vw;
		width: 25vw;
		position: fixed;
		top: 25%;
		left: 37.5%;
	}
/* } */

@media (orientation: portrait), (max-width: 960px) {
	.annotes-spinner-overlay img {
		max-width: 100vw;
		width: 100vw;
		top: 12.5%;
		left: 0;
	}
}

/**** Modal Popup START ***/

/* @media (min-width: 0px) { */
	div.annotes-modal, dialog.annotes-modal {
		display: none;
		height: 100vh;
		position: fixed;
		top: 0;
		width: 100%;
		background: transparent;
		padding: 0;
		border: none;
		z-index: 100000;
	}

	.annotes-modal div.annotes-modal-bg {
		background: rgba(0,0,0,0.4);
		height: 100vh;
		position: absolute;
		width: 100%;
	}

	.annotes-modal-content{
		/* background: #fff; */
		left: 50%;
		padding: var(--vertical-margin-double) var(--horizontal-margin-double);
		position: absolute;
		top: 50%;
		transform: translate(-50%,-50%);
		width: 60%;
		max-height: 90%;
		overflow: auto;
	}

	.annotes-modal-close-icon {
		position: absolute;
		top: var(--vertical-margin-half);
		right: var(--horizontal-margin-half);
		font-size: var(--font-size-xxlarge);
		cursor: pointer;
		color: grey;
	}

	.annotes-modal-close-icon img {
		width: 2.5em;
	}

	.annotes-modal-title {
		font-weight: bold;
		margin-bottom: var(--vertical-margin-double);
	}

	.annotes-modal-title p {
		margin-top: 0;
	}
/* } */

@media (orientation: portrait), (max-width: 960px) {
	.annotes-modal-content{
		width: 98%;
		padding: var(--horizontal-margin-single) var(--vertical-margin-double);
	}
}

/**** Modal Popup END ***/

/**** Modal Form START ***/
.annotes-form-mode-add .annotes-form-for-edit {
	display: none;
}

.annotes-form-mode-edit .annotes-form-for-add {
	display: none;
}
/**** Modal Form END ***/

/*** Float Label Input Field BEGIN ***/
/* This works with CSS in annotes.css */
/* c.f. https://itnext.io/how-to-build-a-floating-label-input-field-f9b21669fe2f */
.annotes-form-group div.annotes-float-container {
	border: 2px solid #ccc;
	border-radius: 4px;
	/* width: max-content; */
	position: relative;
	/* padding: 0 calc(var(--font-size-medium) / 2); */
	padding: 0 calc(var(--font-size-medium) / 2);
	/* background-color: #f8f8f8; */
}

.annotes-form-group div.annotes-float-container.focused {
	outline-style: none;
	border-color: var(--brand-color-1);
	box-shadow: 0 0 var(--horizontal-margin-quarter) var(--brand-color-1);
}

.annotes-form-group.has-error div.annotes-float-container {
	border-color: #dd4b39;
}

.annotes-float-container input {
	border: none;
	outline: 0;
	padding: calc(var(--font-size-medium) * 0.5) 0 calc(var(--font-size-medium) * 0.25);
	width: 100%;
}

.annotes-form-group div.annotes-float-container input,
.annotes-form-group div.annotes-float-container input:focus, 
.annotes-form-group div.annotes-float-container input[data-validated=true][data-changed=true] {
	border: none;
	box-shadow: none;
}

.annotes-float-container label {
	position: absolute;
	transform-origin: top left;
	transform: translate(0, calc(var(--font-size-medium) * 0.25)) scale(1);
	font-weight: normal;
	font-size: var(--font-size-small); 
	color: darkgray;
	pointer-events: none; /* Needed when label when <label> contains another element. Not really sure why. */
	/* transition: all .1s ease-in-out; */
	transition-property: position, transform, transform-origin, font-weight, color;
	transition-duration: .1s;
	transition-timing-function: ease-in-out;
	z-index: 10;
}

.annotes-float-container label:has(+ input:not(:placeholder-shown)), .annotes-float-container.active label {
	transform: translate(0, calc(var(--font-size-medium) / -1.7)) scale(.75);
	font-weight: bold;
	color:black;
	background-color: white;
}

.annotes-float-container label:has(+ input:placeholder-shown) {
	display:none;
}

.annotes-float-container:has(input[readonly]) {
	background-color: #eee;
}

.annotes-float-container:has(input[readonly]) label {
	background-color: transparent;
}

.annotes-form-group.has-error .annotes-float-container label {
	color: #dd4b39;
	border-color: #dd4b39;
	box-shadow: none;
}

.annotes-form-group div.annotes-float-container.annotes-float-container-for-select {
	border-style: none;
}

.annotes-float-container.active select {
	border: 2px solid #ccc;
	border-radius: 4px;
	background-color: #f8f8f8;
	font-size: var(--font-size-small); 
	padding: 0 calc(var(--font-size-medium));
	position: relative;
	left: calc(-1 * var(--font-size-medium) / 2);
	padding: calc(var(--font-size-medium) * 0.5) 0 calc(var(--font-size-medium) * 0.25);
	padding-left: 0.25em;
	height: calc(var(--font-size-medium) + var(--vertical-margin-double) + 4px);
	top: -2px;
}

.annotes-float-container.active select option {
	font-size: inherit;
}

.annotes-float-container.annotes-float-container-for-radio input {
	width: auto;
}

.annotes-float-container.active.annotes-float-container-for-radio fieldset {
	border-style: none;
	padding: calc(var(--font-size-medium) * 0.25) var(--font-size-medium) calc(var(--font-size-medium) * 0.25);
	height: calc(var(--font-size-medium) + var(--vertical-margin-double));
	position: relative;
	left: calc(-1 * var(--font-size-medium) / 2);
}


.annotes-float-container.active.annotes-float-container-for-radio fieldset label {
	position: static;
	transform: none;
	font-weight: normal;
}

/*** Float Label Input Field END ***/

/*** Editable START ***/
.annotes-editable-text {
	color: darkblue;
	cursor: pointer;
}

.annotes-editable-value {
	color: darkblue;
}

input.ajax-control {
	width: auto;
	height: 30px;
	font-size: 14px;
	color: #555;
	background-image: none;
	border: 1px solid #ccc;
}

input.ajax-control:focus {
	border-color: #3c8dbc;
	box-shadow: none;
}

.annotes-editable-text input[type=number] {
	text-align: right;
	padding-right: 5px;
}

.annotes-editable-text input[data-type=hhmm] {
	text-align: center;
	padding-right: 5px;
	width: 60px;
}


/*** Editable END ***/

/*** Editable Quill START ***/
.annotes-editable-quill {
	cursor: pointer;
}

.annotes-editable-quill-content-wrapper {
	position: relative;
	height: calc(80vh - var(--vertical-margin-double) * 2);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.annotes-editable-quill-editor-pane {
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.annotes-editable-quill-editor-pane .ql-container {
	height: auto;
	flex-grow: 1;
	overflow: scroll;
}

.annotes-editable-quill-editor-pane .ql-editor h2 {
	margin-top: 1em;
}

.annotes-editable-quill-editor-pane .ql-editor h3 {
	margin-top: 0.5em;
}

.annotes-editable-quill-editor-pane .ql-editor hr + p {
	margin-top: 0;
}

.annotes-editable-quill-editor-pane .ql-editor hr {
	margin-top: 0.2em;
	margin-bottom: 0.2em;
}

.annotes-editable-quill-editor-pane .ql-editor p:first-child {
	margin-top: var(--vertical-margin-single);
}

.annotes-editable-quill-editor-pane .ql-editor ul.ql-simple-list > li::before {
	content: '';
}

.annotes-editable-quill-editor-pane .ql-editor ul.ql-simple-list {
	padding-left: 0;
}

.annotes-editable-quill-editor-pane .ql-editor ul.ql-simple-list > li {
	padding-left: 0;
}

.annotes-editable-quill-cta-pane {
	margin-top: var(--vertical-margin-single);
	/* position: sticky; Not sure why this was needed */ 
	bottom: 0;
}
/*** Editable Quill END ***/

/*** Quill Presentation Side START ***/
p.ql-align-center {
	text-align: center;
}
/*** Quill Presentation Side END ***/

/*** Quill quick fix ***/
/** https://github.com/slab/quill/issues/360 **/
.ql-snow .ql-tooltip.ql-editing {
	left: unset !important;
}

/*** Quill Presenation and Editor common ***/
.annotes-quill-content h2, .annotes-quill-content h2 strong {
	font-size: var(--font-size-large);
    color: var(--brand-color-1-dark);
}

.annotes-quill-content p {
	font-family: 'Roboto', sans-serif;
	font-family: sans-serif;
	line-height: 150%;
	margin-top: 1em;
	margin-bottom: 1em;
	max-width: 35em;
	text-align: justify;
}
/*** Quill Presenation and Editor common ***/


/*** Social Widget START ***/
/* @media (min-width: 0px) { */
	.annotes-social-share-widget ul {
		display: flex;
		padding-left: var(--horizontal-margin-single);
		padding-bottom: 0;
	}

	.annotes-social-share-widget-style-1 {
		right: 2%;
		position: fixed;
		top: calc(100vh * 0.5);
		display: none;
	}

	.annotes-social-share-widget li {
		line-break: strict;
		word-break: break-all;
		list-style: none;
		text-align: center;
		/* color: var(--brand-color-purple-light); */
		position: relative;
		margin-left: var(--horizontal-margin-double);
		overflow: hidden;
	}

	.annotes-social-share-widget li.clicked {
		overflow: visible;
	}

	.annotes-social-share-widget li:nth-child(2) {
		margin-left: 0;
	}

	.annotes-social-share-title {
		display: none;
	}

	.annotes-social-share-widget-style1 li {
		margin-top: var(--vertical-margin-single);
	}
	
	.annotes-social-share-button {
		width: var(--font-size-xxlarge);
		/* color: #a997fa; */
	}

	.annotes-copy-url-button::after {
		content: var(--text-copied-to-clipboard);
		font-size: var(--font-size-small);
		font-weight: bold;
		/* background-color: var(--brand-color-purple-light); */
		color: #555;
		padding: 3px 6px;
		border-radius: 3px;
		white-space: nowrap;
		position: absolute;
		right: calc(100vw * 0.005);
		top: var(--vertical-margin-double);
		visibility: hidden;
		opacity: 0;
		z-index: 1000;
		transition: opacity .5s ease-in, visibility .5s ease-in;
	}

	.annotes-copy-url-button.clicked::after {
		visibility: visible;
		opacity: 1;
	}

	.annotes-copy-url-button input {
		position: absolute;
		right: -5000px;
	}
/* } */

@media (orientation: portrait) {
	/* All modern mobile browsers have feature that let an user share the current opening page with other apps */
	/* And these share buttons do not work with apps but rather try to open web version of service. */
	/* Which is rarely usefull. So decided not to use social share buttons on mobile. */
	.annotes-social-share-widget {
		display: none;
		position: static;
	}

	.annotes-social-share-widget ul {
		display: flex;
		justify-content: space-around;
		width: 100%;
		padding: 0px var(--horizontal-margin-double);
	}

	.annotes-social-share-widget-style1 ul {
		justify-content: space-between;
	}

	.annotes-social-share-widget-style1 ul li {
		display: block;
	}
}
/*** Social Widget END ***/

/*** RTooltip START ***/
@-webkit-keyframes tooltipFadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}
@keyframes tooltipFadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

.annotes-rtooltip {
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	color: blue;
	border-bottom: 1px dotted;
	position: relative;
}

.annotes-rtooltip-label:before {
	content: "";
	display: flex;
	cursor: help;
	position: absolute;
	width: 100%;
	height: 100%;
	z-index: 3;
}

.annotes-rtooltip-dropdown {
	display: none;
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	z-index: 2;
	padding-top: 32px;
}

.annotes-rtooltip-dropdown-content {
	color: white;
	background-color: var(--brand-color-1-dark);
	opacity: 0.9;
	border-radius: 4px;
	padding: 8px 12px;
	width: 300px;
	text-align: left;
}

.annotes-rtooltip-open .annotes-rtooltip-dropdown {
	-webkit-animation: tooltipFadeIn 0.15s;
	animation: tooltipFadeIn 0.15s;
	display: block;
}

@media (orientation: landscape) and (min-width: 961px) {
/* @media (hover: hover) { */
	.annotes-rtooltip:hover .annotes-rtooltip-dropdown {
		-webkit-animation: tooltipFadeIn 0.15s;
		animation: tooltipFadeIn 0.15s;
		display: block;
	}
}

@media screen and (min-width:0\0) and (min-resolution: 72dpi) {
	.annotes-rtooltip:hover .annotes-rtooltip-dropdown {
		-webkit-animation: tooltipFadeIn 0.15s;
		animation: tooltipFadeIn 0.15s;
		display: block;
	}
}
/*** RTooltip END ***/

/*** Tag ***/
span.annotes-tag-button {
	background-color: white;
	color: var(--text-color-in-dark);
	border: 1px solid #3c8dbc;
	border-radius: 5px;
	display: inline-block;
	padding: 0 0.25em 0 0.25em;
	margin: 0.25em;
}

/*** Loading animation BEG ***/
span.rotate  {
  display: inline-block;
  animation: rotate-anime 1.5s ease-in-out infinite;
}

@keyframes rotate-anime {
 100%{ transform: rotate(360deg) }
}
/*** Loading animation END ***/

/*** Dropbox START ***/
.annotes-dropbox {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding-top: 1em;
	padding-bottom: 1em;
	border: 2px dashed #ccc;
	border-radius: var(--border-radius-tight);
	background-color: #F2F2F2;
}
.annotes-dropbox > div {
	font-size: var(--font-size-medium);
	font-weight: bold;
	text-align: center;
	background-color: inherit;
}
.annotes-dropbox > div > span {
	font-size: inherit;
	color: #979797;
}
.annotes-dropbox > .annotes-dropbox-image > img {
	width: 4em;
}
/*** Dropbox END ***/

/*** Search box BEGIN ***/
.annotes-search-box {
	display: flex;
	align-items: center;
	position: relative;
	width: 100%;
}

.annotes-search-box form {
	display: flex;
	align-items: center;
}

.annotes-search-box input {
	width: 100%;
    border: none;
    border-radius: 25px;
	padding-left: 1em;
	padding-right: 2.5em;
	background-color: var(--brand-color-1-pale);
}

.annotes-search-box input:focus {
	outline: none;
}

.annotes-search-box button {
	cursor: pointer;
	display: flex;
	position: absolute;
	justify-content: center;
	align-items: center;
	right: 0.3em;
	width: 1.5em;
	height: 1.5em;
	background-color: var(--brand-color-1);
	border-radius: 50%;
	border: none;
}

.annotes-search-box button > svg {
	position: absolute;
}

@media (orientation: portrait), (max-width: 960px) {
	.annotes-search-box {
		width: 94%;
	}
}
/*** Search box END ***/