@font-face
{
	font-family:'eesti';
	src: url(./fonts/GT-Eesti-Display-Light.woff2) format('woff2');
}

:root
{
	--color-FLEX-logo-start: #000;
	--color-FLEX-logo-end: #000;

	--form-font: var(--font-family);
}

.js-loading *,
.js-loading *:before,
.js-loading *:after
{
	animation-play-state: paused !important;
}

body
{
	grid-template-rows: 283px minmax(399px, 1fr) 90px;
}
form
{
	position: relative;
}

@keyframes kf-FLEX-type
{
	0%
	{
		font-weight: normal;
	}
	30%
	{
		letter-spacing: 0px;
		margin-left: 0;
		font-weight:900;
		-webkit-text-stroke: 1px var(--color-FLEX-logo-start);
	}
	55%
	{
		letter-spacing: 0px;
		margin-left: 0;
		font-weight:900;
		-webkit-text-stroke: 1px var(--color-FLEX-logo-start);
	}
	100%
	{
		font-weight:normal;
		letter-spacing: 46px;
		margin-left: 24px;
	}
}
@keyframes kf-FLEX-move
{
	100%
	{
		bottom: 0;
	}
}
@keyframes kf-FLEX-text-color
{
	100%
	{
		color: var(--color-FLEX-logo-end);
	}
}
@keyframes kf-FLEX-logo-color
{
	100%
	{
		background: var(--color-FLEX-logo-end);
	}
}
#Page_Footer
{
	animation: kf-FLEX-move 500ms ease-out 2500ms forwards;
	bottom: 45%;
	height: 90px;
	position: absolute;
	width: 100%;
	z-index: 5;
}
#Page_Footer::before
{
	animation:
		kf-FLEX-type 1500ms ease-in-out forwards 200ms,
		kf-FLEX-text-color 1.5s ease-in-out 2s forwards;
	color: var(--color-FLEX-logo-start);
	content: "FLEX";
	font-family:sans-serif;
	font-size: 14px;
	left: 50%;
	letter-spacing: 46px;
	line-height: 16px;
	margin-left: 24px;
	position: absolute;
	top: 51px;
	transform: translateX(-50%);
}
#Page_Footer::after
{
	animation: kf-FLEX-logo-color 1.5s ease-in-out 2s forwards;
	background: var(--color-FLEX-logo-start);
	content: "";
	height: 100%;
	position: absolute;
	width: 100%;
	-webkit-mask: url(/_assets/images/ui/login/TVC_footer_200324_1425.png) 50% 0 no-repeat;
}

body:not(.Register) .register-only,
body.Register .login-only
{
	max-height: 0;
	max-width: 0;
	overflow: hidden;
	position: absolute;
    visibility: hidden;
}
button.login-only.register::before
{
    content: "register...";
}
button.forgot::before
{
	content: "forgot your login?";
}
button.register-only.cancel::before
{
    content: "cancel";
}
button.register-only.register::before
{
	content: "register";
}
button.login::before
{
	content: "login";
}

:root
{
	--help-delay-start: 4500ms;
}
.help-registration
{
	bottom: 50%;
	right: 50%;
	--help-title: "Registering for Site Access";
}

.browser-IE
{
	background: #C00;
	box-sizing: border-box;
	color: #FFF;
	font-size: 30px;
	left: 50%;
	min-width: 800px;
	text-align: center;
	transform: translateX(-50%);
	padding: 20px;
	position: absolute;
}
.browser-IE::before
{
	content: "Use of this site requires a modern web browser, such as\A Chrome, Firefox, MS Edge, or Safari.\A Internet Explorer is not supported.";
	white-space: pre-wrap;
}

/* ---------------- LOGIN STYLE ---------------------- */
body {
	margin: 0;
	padding: 0;
	font-family: var(--form-font);
	background: #F0E9D9;
	overflow: hidden;
}

form {
	display: grid;
	position: absolute;
	padding: 120px 20px 50px 20px;
	left:7%;
	top: 30%;
	background: none;
	background-image: url(/_customers/images/ui/Dreyers/DreyersLogo.png);
	background-repeat: no-repeat;
	background-size: 200px;
	background-position-x: center;
	width: 350px;
	z-index: 3;

	animation: 1s formAni ease 6s both;
}

@keyframes formAni {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

form div {
	font-size: 10px;
	text-align: left;
	grid-area: 6 / 1 / 9 / 2;
	margin-top: 30px;
	color: #333;
	font-style: normal;
	padding:10px;
}

input {
	padding: 10px 20px;
	color: #333;
	background: #fff;
	border: none;
	font-size: 18px;
	outline: none;
	margin-top: 10px;
	width: 350px;
	height: 40px;
}

input[name="email"] {
	grid-area: 2 / 1 / 3 / 2;
}

input[name="password"] {
	grid-area: 3 / 1 / 4 / 2;	
}

input[name="code"] {
	grid-area: 4 / 1 / 5 / 2;
}

input[name="code"]::placeholder {
	color: #ccc;
}

::placeholder {
	color: #888888;
	font-family: var(--form-font);
	font-size: 14px;
	font-weight: 400;
}

button
{
	border: none;
	color: #fff;
	cursor:pointer;
	font-family: var(--form-font);
	font-weight: 600;
	font-size: 18px;
	letter-spacing: .5px;
	text-transform: uppercase;
	outline: none;
	display: block;
	margin-top: 10px;
	height: 40px;
	width: 170px;
}

button.login-only.login {
	background: #AE0C0C;
	color: #fff;	
	cursor: pointer;
	grid-area: 4 / 1 / 6 / 2;
}

button.login-only.login:hover {
	background: #ca2d06;
	transition: 0.3s;
}

button.login-only.register {
	background: #8CC63F;
	margin-left: 180px;
	cursor: pointer;
	display: block;
	grid-area: 4 / 1 / 6 / 2;
}

button.login-only.register:hover {
	background: #0ba57c;
	transition: 0.3s;
}

button.login-only.forgot {
	background: none;
	color: #333;
	width: 50%;
	text-align: left;
	font-weight: 400;
	line-height: 55px;
	cursor: pointer;
	font-size: 14px;
	grid-area: 5 / 1 / 8 / 2;
	margin-top: 15px;
	height: 20px;
}

button.login-only.forgot:hover {
	color: #f87d01;
	font-weight: 400;
	transition: 0.3s;
}

button.register-only.register {
	background:#8CC63F;
	color: #fff;
	grid-area: 5 / 1 / 7 / 2;
}

button.register-only.register:hover {
	background: #15BEF0;
	color: #fff;
	transition: 0.3s;
}

button.register-only.cancel {
	background: #000000;
	margin-left: 180px;
	grid-area: 5 / 1 / 7 / 2;
}

button.register-only.cancel:hover {
	background: #383838;
	transition: 0.3s;
}

.topLine	{
	height: 80px;
	background: #fff;
	background-image: url(/_customers/images/ui/Dreyers/topLine.png);
	top:0;
	position: relative;

	animation: slide-in-left 2s cubic-bezier(0.250, 0.460, 0.450, 0.940) 8s both;
}

@keyframes slide-in-left {
	0% {
	  transform: translateX(-1000px);
	  opacity: 0;
	}
	100% {
	  transform: translateX(0);
	  opacity: 1;
	}
  }

.botLine {
	background: #E7AB43;
	height: 100px;
	width: 100%;
	position: fixed;
	bottom: 0;
	border-top: solid 2px #3F1A12;

	animation: slide-in-right 2s cubic-bezier(0.250, 0.460, 0.450, 0.940) 8s both;
}

@keyframes slide-in-right {
	0% {
	  transform: translateX(1000px);
	  opacity: 0;
	}
	100% {
	  transform: translateX(0);
	  opacity: 1;
	}
  }
  

.hrLine {
	width: 1px;
	height: 500px;
	position: absolute;
	background: #fff;
	top: 50%;
	left: 40%;
	transform: translate(-50%, -50%);
	animation: 1s hrLine ease 9s both ;
}

@keyframes hrLine {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

@media only screen and (max-width: 1200px) {
	.hrLine {
		display: none;
	}
}

@media only screen and (max-width: 900px) {
	.pic-ctn {
		display: none;
	}
}

.frontLogo img {
	top: 50%;
  	left: 50%;
  	transform: translate(-50%, -50%);
	position: absolute;
	width: 30%;
	animation: fade-in 4s cubic-bezier(0.390, 0.575, 0.565, 1.000) 3s both;
}

@keyframes fade-in {
	0% {
	  opacity: 0;
	}
	80% {
	  opacity: 1;
	}
	100% {
		opacity: 0;
	  }
  }
  
  

/* image slide style ----------------------------------------- */
.pic-ctn {
	width: 500px;
	height: auto;
	position: absolute;	
	right: 20%;
	top: 25%;
	animation: 2s imageSlider 7s ease both;
  }

  @keyframes imageSlider {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
  }
  
  @keyframes display {
	0% {
	  transform: translateX(200px);
	  opacity: 0;
	}
	10% {
	  transform: translateX(0);
	  opacity: 1;
	}
	20% {
	  transform: translateX(0);
	  opacity: 1;
	}
	30% {
	  transform: translateX(-200px);
	  opacity: 0;
	}
	100% {
	  transform: translateX(-200px);
	  opacity: 0;
	}
  }
  
  .pic-ctn > img {
	position: absolute;
	top: 0;
	left: calc(50% - 100px);
	opacity: 0;
	animation: display 10s infinite;
	width: 80%;
  }
  
  img:nth-child(2) {
	animation-delay: 2s;
  }
  img:nth-child(3) {
	animation-delay: 4s;
  }
  img:nth-child(4) {
	animation-delay: 6s;
  }
  img:nth-child(5) {
	animation-delay: 8s;
  }
  img:nth-child(6) {
	animation-delay: 10s;
  }
  img:nth-child(7) {
	animation-delay: 12s;
  }
  img:nth-child(8) {
	animation-delay: 14s;
  }
  img:nth-child(9) {
	animation-delay: 16s;
  }
  img:nth-child(10) {
	animation-delay: 18s;
  }
 
/* image slide style end */
