@import url("https://use.typekit.net/jvl6ifv.css");

:root
{
	--color-FLEX-logo-start: #333;
	--color-FLEX-logo-end: #000;

	--form-font: "brandon-grotesque", sans-serif;
    --color: #441d1f;
}
@font-face
{
	font-family: "brandon-grotesque", sans-serif;
	src: url(./fonts/BrandonGrotesque-Regular.otf) format('otf');
}

.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;
}
/* ------------------- FORM STYLE START HERE! -------------- */
body {
    padding: 0;
    margin: 0;
    overflow: hidden;    
}

form {
	display: grid;
	padding: 80px 20px 50px 20px;
    background: url(/_customers/images/ui/TiffanyCo/tiffco-logo-2.svg) #ffffffd0;
    background-repeat: no-repeat;
    background-size: 250px;
    background-position: center 20px;
	
	position: fixed;
	top: 0px;
	left: 0;
    right: 0;
	bottom: 0;
	margin: auto;
	min-height: 240px;
	max-height: 300px;
	height: min-content;
	min-width: 350px;
	width: fit-content;

	color: #000;
	border-radius: 2px;
	/* border: 1px solid rgba(255, 255, 255, 0.09);
	background: rgba(255, 255, 255, 0.09); */
	font-family: var(--font-kelson-normal);
	
	z-index: 3;
	animation: formAni 0.4s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
	animation-delay: calc(var(--animation-delay) + 5s);
    /* display: none; */
}

@keyframes formAni {
	0% {
		opacity: 0;
		transform: scaleY(0.4);
    	transform-origin: 0% 100%;
	}
	100% {
		opacity: 1;
		transform: scaleY(1);
    	transform-origin: 0% 100%;
	}
}

form div {
	font-size: 12px;
	text-align: left;
	grid-area: 6 / 1 / 9 / 2;
	margin-top: 40px;
	color: #333;
	font-style: normal;
	padding:10px;
	letter-spacing: 1px;
}

input {
	padding: 10px 20px;
	color: #333;
	background: #fff;
	border-bottom: 1px solid #ccc;
    border-left: none ;
    border-right: none;
    border-top: none;
	font-size: 16px;
    font-style: italic;
	outline: none;
	margin-top: 10px;
	width: 350px;
	height: 40px;
    border-radius: 0px;
}

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: 200;
}

button
{
	border: none;
	color: #fff;
	cursor:pointer;
	font-family: var(--font-kelson-bold);
	font-weight: 600;
	font-size: 16px;
	letter-spacing: .5px;
	text-transform: uppercase;
	outline: none;
	display: block;
	margin-top: 10px;
	height: 40px;
	width: 175px;
    border-radius: 0px;
}

button.login-only.login {
	background: #81D8D0;
    border-radius: 0;
	color: #fff;	
	cursor: pointer;
    display: block;
	grid-area: 4 / 1 / 6 / 2;
}

button.login-only.login:hover {
	transition: 0.3s;
	opacity: .8;
}

button.login-only.register {
	background: #000;
    border-radius: 0;
    opacity: .5;
	margin-left: 175px;
	cursor: pointer;
	display: block;
	grid-area: 4 / 1 / 6 / 2;
}

button.login-only.register:hover {
	background: #333;
	opacity: 1;
	transition: 0.3s;
}

button.login-only.forgot {
	background: none;
	color: var(--theme-color);
	width: 50%;
	text-align: left;
	font-weight: 400;
	line-height: 65px;
	cursor: pointer;
	font-size: 12px;
	grid-area: 5 / 1 / 8 / 2;
	margin-top: 15px;
	height: 20px;
}

button.login-only.forgot:hover {
	color: #000000;
	font-weight: 400;
	transition: 0.3s;
}

button.register-only.register {
	background:#8CC63F;
	border-radius: 0;
	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: #136BBC;
	margin-left: 175px;
	grid-area: 5 / 1 / 7 / 2;
	border-radius: 0;
}

button.register-only.cancel:hover {
	background: #383838;
	transition: 0.3s;
}

/* ---------------------- FORM END -------------- */
:root {
    --animation-delay: 3s;
}

.bodyBg {
    width: 100%;
    height: 100vh;
    position: absolute;
    top: 0;
	background: #FEF4E8;
    /* background: url(/_customers/images/ui/TiffanyCo/frontBG.jpg) #FEF4E8;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom -300px center 0px; */
    animation: frontAni 1s ease 7s both;
    z-index: 1;
}

@keyframes frontAni {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}
.bg-foot {
    width: 100%;
    height: 100px;
    position: absolute;
    z-index: 2;
    background: #000;
    bottom: 0;
	display: none;
}

.frontBox {
    width: 100%;
    height: 100vh;
}

.frontBox-2-logo {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    width: 500px;
    height: 200px;
    animation: 4s frontLogo cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
    animation-delay: 3s;
    z-index: 2;
}

@keyframes frontLogo {
    0% {
      transform: scale(2);
      filter: blur(20px) opacity(0);
    }
    50% {
      transform: scale(1);
      filter: blur(0) opacity(1);
    }
    90% {
        transform: scale(1);
        filter: blur(0) opacity(1);
    }
    100% {
        transform: scale(1);
        filter: blur(0) opacity(0);
    }
}

 
/*  -------------------------------------- ANIME BG ------------------------------  */
.backBoxContainer {
    width: 100%;
    height: 100vh;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    animation: backBoxMain 1s ease-in both;
    animation-delay: var(--animation-delay);
    position: absolute;
    top: 0;    
    /* gap: 1px;  */
}

@keyframes backBoxMain {
    0%      {  opacity: 0;   }
    100%    {  opacity: 1;   }
}

.backBox {
    width: 400px;
    min-height: 333px;
    background: #fff;
    overflow: hidden;
}

@keyframes slider {
	0% { left: 0; }
	25% { left: 0; opacity: .5;}
	28% { left: -100%; }
	50% { left: -100%; }
	53% { left: -200%; }
    75% { left: -200%; }
    78% { left: -300%; }
	95% { left: -300%; }
	100% { left: 0;    }
}

.backBox figure  {
    width: 400%;
    position: relative;
    margin: 0;
    overflow: hidden;
	animation: slider ease-in-out infinite;     
}

.backBox figure img {
	width: 25%;
	height : 100%;
    height: fit-content;
	float: left;
}

.backBox:nth-child(1) figure {
    animation-delay: calc(var(--animation-delay) + 0.2s);
    animation-duration: 40s;
}
.backBox:nth-child(2) figure {
    animation-delay: calc(var(--animation-delay) + 0.4s);
    animation-duration: 45s;
}
.backBox:nth-child(3) figure {
    animation-delay: calc(var(--animation-delay) + 0.6s);
    animation-duration: 50s;
}
.backBox:nth-child(4) figure {
    animation-delay: calc(var(--animation-delay) + 0.8s);
    animation-duration: 55s;
}
.backBox:nth-child(5) figure {
    animation-delay: calc(var(--animation-delay) + 1s);
    animation-duration: 40s;
}
.backBox:nth-child(6) figure {
    animation-delay: calc(var(--animation-delay) + 1.2s);
    animation-duration: 45s;
}
.backBox:nth-child(7) figure {
    animation-delay: calc(var(--animation-delay) + 1.4s);
    animation-duration: 50s;
}
.backBox:nth-child(8) figure {
    animation-delay: calc(var(--animation-delay) + 0.6s);
    animation-duration: 55s;
}
.backBox:nth-child(9) figure {
    animation-delay: calc(var(--animation-delay) + 1.8s);
    animation-duration: 40s;
}
.backBox:nth-child(10) figure {
    animation-delay: calc(var(--animation-delay) + 2s);
    animation-duration: 45s;
}
.backBox:nth-child(11) figure {
    animation-delay: calc(var(--animation-delay) + 2.2s);
    animation-duration: 50s;
}
.backBox:nth-child(12) figure {
    animation-delay: calc(var(--animation-delay) + 2.4s);
    animation-duration: 55s;
}





