.centerBox {
	width: 500px;
	/*height: 100vh;
	position: absolute;
	top:-30%;
	bottom: 0;
	left: 0;
	right: 0;*/
	margin: auto;
}

.formBox, .priceBox {
	background-color: white;
	border-radius: 8px;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

h1 {
	margin-top: 0px;
	font-weight: 100;
}

a {
	transition: 0.2s;
}

a:link {
	color: rgb(68 81 94);
}

a:visited {
	color: rgb(68 81 94);
}

a:hover {
	color: rgb(121 140 159);
}

a:active {
	color: orange;
}

.logoBox {
	margin: 40px auto 20px auto;
	width: 412px;
	height: 70px;
	background: url('logo.png') no-repeat;
	background-size: contain;
}

.formContainer {
	padding: 30px;
	text-align: center;
}

.formPage {
	display: none;
}
.formPage h2{
	margin: 0;
}

#alertBox, .hasAlert {
	background-color: #FFECEC;
}
#alertBox {
	padding: 20px 0;
	margin-top: 10px;
	display: none;
	border-radius: 6px;
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
select,
textarea {
	width: calc(100% - 30px);
	height: 32px;
	margin-bottom: 10px;
	margin-top: 10px;
	font-family: 'Open Sans';
	font-size: 14px;
	border-color: rgb(198 202 206);
	border-radius: 5px;
	border: 1px solid rgb(198 202 206);
	padding: 8px 15px 0 15px;
	/*-moz-appearance: none !important;*/
}

.iti {
	width: 100%;
	padding: 0;
	height: 40px;
}
.iti input {
	width: 100%;
	height: 40px;
	padding-top: 8px;
}
.iti button > div {
	padding-top: 8px;
}

#user_country {
	width: 100%;
	height: 42px;
}

input[type="checkbox"] {
	height: 30px;
	width: 50px;
	margin-right: 10px;
	cursor: pointer;
}

textarea {
	height: 50px;
	padding-top: 10px;
}

#mainButton {
	background-color: rgb(68 81 94);
	color: white;
	width: 100%;
	height: 40px;
	border-radius: 5px;
	margin: 20px 0 10px 0;
	font-family: 'Open Sans';
	font-size: 15px;
	cursor: pointer;
}

#mainButton:hover {
	background-color: rgb(121 140 159);
	transition: 0.7s;
}

.resendEmail {
	color: white;
	background-color: transparent;
	width: 200px;
	height: 40px;
	border: 3px solid white;
	border-radius: 0.5em;
	font-size: 18px;
	cursor: pointer;
}

.resendEmail:hover {
	color: black;
	background-color: white;
}

input:hover, input[type="radio"] + label:hover {
	background-color: rgb(245 246 247);
	transition: 0.7s;
}

body {
	background-color: rgb(245 246 247);
	color: rgb(85 87 89);
	font-family: 'Open Sans';
	font-size: 15px;
	/*height: 100vh;*/
	margin: 0px;
	overflow-y: scroll; /* force scrollbar so it doesn't pop when the page gets taller */

	background-position: center bottom -40px;
	background-repeat: repeat-x;
	background-size: 500px;

	transition: opacity 500ms linear;

}


#loginForm {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-gap: 0 8px;
}
#loginForm p {
	margin-top: 0;
}
.doubleInput {
	grid-column: span 2;
}

.textHolder {
	position: relative;
}
input[type="text"] + label,
input[type="password"] + label,
input[type="email"] + label,
input[type="tel"] + label,
.iti + label,
select + label
 {
	position: absolute;
	left: 10px;
	top: 10px;
	font-size: 75%;
	pointer-events: none;
	user-select: none;
	color: black;
}
.iti + label {
	top: 0;
}

.loadingWait {
	position: fixed;
	top: 35%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 350px;
	height: 220px;
	padding: 100%;
	background-image: linear-gradient(60deg, rgb(145, 24, 149) 0%, rgb(22, 35, 219) 100%);
	z-index: 10;
	text-align: center;
	font-weight: bold;
	font-size: 150%;
	perspective: 1000px;
	opacity: 0;
	transition: opacity 500ms linear;
	pointer-events: none;
	user-select: none;
}

.loadingWait p {
	text-shadow: 1px 1px 6px #282884;
	color: #fff;
}

.radioBox {
	display: grid;
	grid-gap: 5px;
	justify-content: center;
	justify-items: center;
	margin-bottom: 10px;
}
.radioBox label {
	align-content: center;
	user-select: none;
}
.radioBox.grid1 {
	grid-template-columns: repeat(1, 1fr);
}
.radioBox.grid2 {
	grid-template-columns: repeat(2, 1fr);
}
.radioBox.grid3 {
	grid-template-columns: repeat(3, 1fr);
}
.radioBox.grid4 {
	grid-template-columns: repeat(4, 1fr);
}
.radioBox.grid5 {
	grid-template-columns: repeat(5, 1fr);
}
input[type="radio"] {
	display: none;
}
input[type="radio"] + label {
	border: 1px solid #009cff;
	border-radius: 6px;
	width: 100%;
	padding: 6px 0;
	cursor: pointer;
}
input[type="radio"]:checked + label {
	background-color: #e2eeff;
}
input[type="radio"]:disabled + label {
	background-color: #a8c7f1;
	border: 1px solid #696969;
	cursor: not-allowed;
}

.optionValues {
	display: flex;
	margin-bottom: 4px;
	user-select: none;
}
.optionTitle {
	width: 50%;
	text-align: left;
}
.optionValue {
	width: 25%;
	text-align: right;
}
.optionPrice {
	width: 25%;
	text-align: right;
}
.noOptions {
	color: #888;
}
.hiddenField {
	display: none;
}

.yesNoBox {
	display: flex;
	justify-content: left;
	margin-bottom: 10px;
}
.yesNoBox > label {
	width: 100%;
	text-align: left;
	align-content: center;
}

#portal,
#api {
	display: none;
	cursor: pointer;
}

label {
	cursor: pointer;
}

.agreeDiv {
	display: flex;
	font-size: .9em;

}

.agreeDiv input {
	height: 30px;
	width: 50px;

}

.waves {
	position:fixed;
	bottom: 0;
	width: 100%;
	height:15vh;
	margin-bottom:-7px;
	min-height:100px;
	max-height:150px;
	z-index: 20;
	pointer-events: none;
	opacity: 0;
	transition: opacity 500ms linear;
}

.parallax > use {
	animation: move-forever 25s cubic-bezier(.55,.5,.45,.5)     infinite;
  }
  .parallax > use:nth-child(1) {
	animation-delay: -2s;
	animation-duration: 7s;
  }
  .parallax > use:nth-child(2) {
	animation-delay: -3s;
	animation-duration: 10s;
  }
  .parallax > use:nth-child(3) {
	animation-delay: -4s;
	animation-duration: 13s;
  }
  .parallax > use:nth-child(4) {
	animation-delay: -5s;
	animation-duration: 20s;
  }
  @keyframes move-forever {
	0% {
	 transform: translate3d(-90px,0,0);
	}
	100% { 
	  transform: translate3d(85px,0,0);
	}
  }
  
  
  /*fin*/
.fin{
  animation: rotateLeftRight 4s ease-in-out infinite;
}  
  /* Define the keyframes for the rotation animation */
@keyframes rotateLeftRight {
  0% {
    transform: rotateY(0deg);
  }
  5% {
    transform: rotateY(0deg);
  }
  30% {
    transform: rotateY(-35deg);
  }
  35% {
    transform: rotateY(-35deg);
  }
  50% {
    transform: rotateY(0deg);
  }
  55% {
    transform: rotateY(0deg);
  } 
  70% {
    transform: rotateY(35deg);
  }
  75% {
    transform: rotateY(35deg);
  }
  100% {
    transform: rotateY(0deg);
  }
}

/* browser is set to dark mode */
@media (prefers-color-scheme: dark) {
    body{
        background-color: #333;
    }
	.logoBox{
		background-image: url('logo-white.png');
	}
	.formBox, .priceBox{
		background-color: #111;
		color: #eee;
	}
	input{
		background-color: #333;
		color: #eee;
	}
	input[type="text"] + label, input[type="password"] + label, input[type="email"] + label, input[type="tel"] + label, .iti + label, select + label {
		color: #aeb4f9;
	}
	input:hover, input[type="radio"] + label:hover {
		background-color: rgb(87, 87, 87);
	}
	a:link, a:visited {
		color: #aeb4f9;
	}
	a:hover {
		color: #7278bb;
	}
	#alertBox, .hasAlert {
		background-color: #3a0000;
	}
	input[type="radio"] + label {
		background-color: #222;
	}
	input[type="radio"]:checked + label {
		background-color: #003e96;
	}
	input[type="radio"]:disabled + label {
		background-color: #052e68;
		border: 1px solid #3a3a3a;
	}
	.rangeButton, input[type="range"] {
		background-color: #052e68;
		color: #eee;
	}
}
  
