/*
 *  Copyright (c) 2017-2022 CXO Projects GmbH - All Rights Reserved
 *  Unauthorized copying of this file, via any medium is strictly prohibited
 *  Proprietary and confidential
 */

/* nirvana & fitness-gym theme fix */
.form-group input[type="text"],
.form-group input[type="email"],
.input-group input[type="text"],
.input-group input[type="email"] {
	border: 1px solid var(--bs-gray-400);
	height: calc(1.5em + 0.75rem + 2px);
	font-size: 1rem;
	padding: 0.375rem 0.75rem;
}

input[type="reset"].btn-outline-danger {
	color: var(--bs-danger);
	border-color: var(--bs-danger);
}

input[type="reset"].btn-outline-danger:hover {
	color: var(--bs-white);
	border-color: var(--bs-danger);
	background-color: var(--bs-danger);
}
.modal-content {
			background-color: #fff;
		}

#customerRegistrationModal #agb {
	margin: 2rem;
}

.nirvana-menu-left #firsttimeregistrationform input[type="submit"].btn,
.nirvana-menu-left #firsttimeregistrationform input[type="reset"].btn {
	padding-left: 1.25rem;
	padding-right: 1.25rem;
	font-size: var(--bs-btn-font-size);
}

.boxed-layout #main-content input[type="submit"].btn,
.boxed-layout #main-content input[type="reset"].btn {
	padding: 0.75rem 1.75rem;
	font-size: var(--bs-btn-font-size);
}

.boxed-layout #main-content #newsletter-btn-double-opt-in input[type="checkbox"] {
	margin-top: 0;
}

#customerRegistrationModal #agb .tos-border {
	margin-left: -0.5rem !important;
	padding-left: 2rem !important;
	padding-right: 1rem !important;
}

.nirvana-menu-left #firsttimeregistrationform #formsubmit {
	border-color: var(--ci-main);
	color: var(--ci-main);
}

.nirvana-menu-left #firsttimeregistrationform #formsubmit:hover {
	color: #fff;
}

.tribe-theme-fitness-wellness #firsttimeregistrationform input[type="reset"] {
	padding: 1em 1.8em;
	font-size: 14px;
	font-weight: normal;
}

/* nirvana & fitness-gym theme fix */

.customer-registration--box-row {
	outline: 1px solid var(--ci-main);
	margin: 1rem;
	padding-top: 1vw;
	padding-bottom: 1vw;
	min-height: 10rem;
}

.container-xxl {
	max-width: 1700px;
}

.height-v33 {
	height: 33vh;
}

.height-v15 {
	height: 15vh;
}

.height-v20 {
	height: 20vh;
}

.height-v60 {
	height: 60vh;
}

#language_select {
	position: absolute;
	right: 5vw;
	z-index: 10;
}

#language_select img {
	display: inline-block;
}

#language_select img:hover {
	border-bottom: 2px solid var(--ci-main);
}

input.form-control:valid {
	border-bottom: 2px solid var(--bs-success);
}

input.form-control:invalid {
	border-bottom: 2px solid var(--bs-danger);
}

.custom-control-input:checked ~ .custom-control-label::before {
	border-color: var(--ci-main);
	background-color: var(--ci-main);
}

/* notice overlay*/
#noticebackground {
	display: none;
	align-content: center;
	justify-content: center;
	z-index: 100;
	width: 70vw;
	height: 20vw;
	position: fixed;
	border: 2px solid var(--ci-main);
	margin: auto;
	left: 15vw;
	top: 45vh;
	align-items: center;
	background: rgba(255, 255, 255, 1);
	padding: 10vw;
	color: #202326;
}

#registrationfinished {
	font-size: 3em;
	display: none;
	text-align: center;
}

#submittimer {
	position: absolute;
	display: none;
	background-color: var(--ci-main);
	height: 5px;
	left: 0;
	bottom: 0;
	width: 100%;
}

div.date div {
	background: var(--ci-main) !important;
}

.closefloatright {
	float: right;
	margin-right: 0.5em;
}

.submittimer-shrink {
	transition: width 15s linear;
	width: 0;
}

.inputhint {
	font-size: 0.8em;
	color: #999;
}

/* notice overlay*/
#newsletter-under18 {
	display: none;
}

/* agb markup */
#agb li {
	text-align: justify;
	hyphens: auto;
}

#agb h5 {
	margin-top: 1rem;
}

#agb ol {
	list-style-position: outside;
	margin-left: -1rem;
}

#agb > ol {
	counter-reset: major-items;
}

#agb ol ol {
	counter-reset: minor-item;
	padding-left: 0.2em;
}

#agb ol ol h6 {
	display: inline;
}

#agb ol ol li {
	margin-left: 1em;
}

#agb ol > li {
	counter-increment: major-item;
}

#agb ol ol > li {
	counter-increment: minor-item;
	display: block;
}

#agb ol ol > li:before {
	content: counters(major-item, ".") ". " counters(minor-item, "");
	margin-left: -20px;
}

#agb .current-counter-major-item:before {
	content: counters(major-item, ".");
}

.tos-border {
	padding-left: 2rem;
	padding-right: 1rem;
	margin-left: -1rem !important;
	border: 1px solid #000;
}

#agb table {
	width: 100%;
}

#agb table td {
	width: 50%;
	padding-bottom: 0.4rem;
}

/* /agb markup */

.contentblur,
.contentblur_overlay {
	filter: blur(2px) grayscale(100%);
}

#firsttimeregistrationnotice {
	font-size: 4.5em;
	font-weight: bold;
}

#firsttimeregistrationnotice span {
	display: block;
	left: 0;
	width: 70vw;
	text-align: center;
	top: 10vh;
	animation: topToBottom 7.5s linear infinite 0s; /* 10s for 4 * animation delay of span:nth-child(2) */
	opacity: 0;
	overflow: hidden;
	position: absolute;
}

#firsttimeregistrationnotice span:nth-child(2) {
	animation-delay: 2.5s;
}

#firsttimeregistrationnotice span:nth-child(3) {
	animation-delay: 5s;
}

/*#firsttimeregistrationnotice span:nth-child(4) {*/
/*    animation-delay: 7.5s;*/
/*}*/

@keyframes topToBottom {
	/* 20, 25, 40, 45*/
	0% {
		opacity: 0;
	}
	15% {
		opacity: 0;
		transform: translateY(-50px) rotateX(40deg);
	}
	20% {
		opacity: 1;
		transform: translateY(0px) rotateX(0deg);
	}
	40% {
		opacity: 1;
		transform: translateY(0px);
	}
	50% {
		opacity: 0;
		transform: translateY(50px) rotateX(-40deg);
	}
	100% {
		opacity: 0;
	}
}

.btn-wiggle {
	animation: wiggle 2s linear none;
}

@keyframes wiggle {
	0%,
	7% {
		transform: rotateZ(0);
	}
	15% {
		transform: rotateZ(-15deg);
	}
	20% {
		transform: rotateZ(10deg);
	}
	25% {
		transform: rotateZ(-10deg);
	}
	30% {
		transform: rotateZ(6deg);
	}
	35% {
		transform: rotateZ(-4deg);
	}
	40%,
	100% {
		transform: rotateZ(0);
	}
}

/* end agb markup */

.tos-container {
	display: flex;
	margin: 0 auto;
}

@media (max-width: 640px) {
	.tos-container {
		flex-direction: column;
	}

	.tos-container button {
		margin: 0.5rem 0;
		width: 100%;
	}
}

@media (min-width: 641px) {
	.tos-container {
		margin: 0.5rem auto;
	}

	.tos-container button {
		margin: 0 0.5rem;
		flex: 1;
	}
}

@media (min-width: 641px) and (max-width: 960px) {
	.tos-container {
		flex-direction: column;
	}
}
