@font-face {
	font-family: BGFlameWeb-Light;
	src: url('https://cdn.flashtalking.com/102687/assets/BGFlameWeb-Light.woff');
}

*{
	margin:0;
	padding:0;
	font-family: 'BGFlameWeb-Light';
}

#container {
	position: relative;
	width:118px;
	height:598px;
	overflow: hidden;
	border: 1px solid #cccccc;
}

.hidden {
	display: none;
}
.invisible-initial {
	opacity:0;
}
.invisible {
	opacity:1;
	-webkit-animation: fadeout 1s forwards 2s ease-out;
	animation: fadeout 1s forwards 2s ease-out;
}
.visible {
	opacity:0;
	-webkit-animation: fadein 1s forwards 1.1s ease-in;
	animation: fadein 1s forwards 1.1s ease-in;
}
.frame {
	position: absolute;
	left: 0;
	top: 0;
}

.end-frame {
	position: absolute;
	left: 0%;
	top: 0;
	width:100%;
	height:100%
}

#copy5 {
	height: calc(100% - 120px);
}

#end-copy {
	color: #0099ff;
    font-size: 20px;
    max-width: 90%;
    margin: auto;
}

strong {
	color: #ff7a00;
	font-weight: 500;
}

.small {
	font-size: 14px;
	margin-top: 4px;
}

#cta {
	position: absolute;
	bottom: 90px;
	text-align: center;
	width: 100%;
	opacity:0;

	-webkit-transition: opacity 500ms ease-out 1s;
	-moz-transition:    opacity 500ms ease-out 1s;
	transition:         opacity 500ms ease-out 1s;
}
#cta_btn {
	display: inline-block;
	padding: 6px 18px;
	font-size: 10px;
	font-weight: 500;
	border-radius: 20px;
	color: #003c6f;
	background-color: #b4e100;
	border: none;
	max-width: 52%;
	cursor: pointer;
	outline: none;
}

#terms {
	position: absolute;
	bottom: 246px;
    font-size: 9px;
    color: #353f48;
	width: 90%;
	padding: 0 5%;
	text-align: center;
}

.ribbon {
	width: 200%;
	background-color: #ff7a00;
	text-align: center;
	position: absolute;
	transform: translate(-50%,-50%) rotate(-32deg);
	left: 46px;
	top: 34px;
	font-size: 11px;
	color: #FFFFFF;
	padding: 4px;
	font-weight: 500;
}

#ribbon1 {
	font-size: 13px;
}

#ribbon-mask {
	width:120px;
	height:600px;
	position: absolute;

	-webkit-transition: left 500ms ease-out 1s;
	-moz-transition:    left 500ms ease-out 1s;
	transition:         left 500ms ease-out 1s;
}

.ribbon-mask-on {
	top:0;
	left:120px;
}
.ribbon-mask-off {
	top:0;
	left:0;
}

#wilbur {
	position: absolute;
    left: 0;
	bottom: -140px;
}

#wilbur-mask {
	position: absolute;
    left: 0;
	bottom: -20px;
}

.wilbur-showing {
    bottom: -140px;
	-webkit-animation: show 0.5s forwards 0.4s ease-in;
	animation: show 0.5s forwards 0.4s ease-in;
}

.wilbur-terms {
	bottom: 172px !important;
}

.wilbur-copy5 {
	height: calc(100% - 152px) !important;
}

.outer {
	display: table;
    position: absolute;
    height: 40%;
    width: 100%;
    bottom: 54px;
    left: 0;
}

#copy5 .outer {
	display: table;
    position: absolute;
    height: 100%;
    width: 100%;
    bottom: 0;
    left: 0;
}

.middle {
  display: table-cell;
  vertical-align: middle;
}

.inner {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.copy {
	font-size: 16px;
	color: #0099ff;
	margin: auto;
	max-width: 90%;
}

#logo {
	position: absolute;
	bottom: 0px;
	right: 0px;
}

.copy-in {
	position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
	opacity:0;

	-webkit-animation: fadein 1s forwards 0s ease-in;
	animation: fadein 1s forwards 0s ease-in;
}

.copy-in-initial {
	position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
	opacity:0;

	-webkit-animation: fadein 1s forwards 0.8s ease-in;
	animation: fadein 1s forwards 0.8s ease-in;
}

.copy-out {
	position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
	opacity:1;

	-webkit-animation: fadeout 1s forwards 1.8s ease-out;
	animation: fadeout 1s forwards 1.8s ease-out;
}

#panel {
	position: absolute;
	left:0;
}

.panel0 {
	top: -280px;
}
.panel1 {
	top: -280px;
	-webkit-animation: slide1 0.7s forwards 0s ease-in;
	animation: slide1 0.7s forwards 0s ease-in;
}
.panel2 {
	top: 90px;
	-webkit-animation: slide2 0.5s forwards 2s ease-in;
	animation: slide2 0.5s forwards 2s ease-in;
}

@-webkit-keyframes slide1 {
    from {top: -280px;}
    to {top: 90px;}
}
@keyframes slide1 {
    from {top: -280px;}
    to {top: 90px;}
}

@-webkit-keyframes slide2 {
    from {top: 90px;}
    to {top: -280px;}
}
@keyframes slide2 {
    from {top: 90px;}
    to {top: -280px;}
}

@-webkit-keyframes fadein {
    from {opacity: 0;}
    to {opacity: 1;}
}
@keyframes fadein {
    from {opacity: 0;}
    to {opacity: 1;}
}

@-webkit-keyframes fadeout {
    from {opacity: 1;}
    to {opacity: 0;}
}
@keyframes fadeout {
    from {opacity: 1;}
    to {opacity: 0;}
}

@-webkit-keyframes show {
    from {bottom: -140px;}
    to {bottom: 60px;}
}
@keyframes show {
    from {bottom: -140px;}
    to {bottom: 60px;}
}
