
html, body {  
	font-family: Arial, Helvetica, sans-serif;
	font-size: 8px;
	box-sizing: border-box;
}
div {
	background-repeat: no-repeat;
	position: absolute;
	width: 100%;
	height: 100%;
}
*, *:before, *:after {
	box-sizing: inherit;
	margin: 0;
	padding: 0;
}
#ad {
	background: #2486ec;
	border: black 1px solid;
	height: 250px;
	margin: auto;        /* just to center ad */
	overflow: hidden;
	width: 300px;
}

/* --  =======================================================================  */

#logo, #logo1 {
	background: url(PGR_DIRECT_ffffff_338x80.svg) no-repeat;
	height: 80px;
	left: -20px;
	opacity: 0;
	position: absolute;
	top: 36px;
	width: 338px;
	z-index: 12;
	transform: scale(.3);
}
#logo.in {
	opacity: 1;
}
#logo1.in{
	left: -86px;
	opacity: 1;
	top: 0px;
	transform: scale(.33);
}
#logo.out #logo1.out {
	opacity: 0;
}

/* --  common animations  ====================================================  */
/* global animation timing */
[class*="fade"], [class*="zoom"] {
	transition: all .25s ease-in-out;
}

[class*="slide"]{
	transition: all .5s ease-in-out;
}
.fadein:not(.out),
body .fadeout.out {
	opacity: 0;
}
.fadein.in,
.fadeout {
	opacity: 1;
	/* transition: all 5s ease-in-out; */
}
.zoomin:not(.out),
body .zoomout.out {
	transform: scale(.00000000001);  /*animation bug - doesn't run if "0"*/
}
.zoomin.in,
.zoomout {
	transform: scale(1);
}
.slidein:not(.out),
body .slideout.out {
	transform: translateX(-100%);
}
.slidein.in,
.slideout {
	transform: translateX(0);
}

/* --  utilities  ============================================================  */

/* .center {
	display: flex;
	align-content: space-evenly;
	align-items: center;
	flex-wrap: wrap;
	justify-content: space-evenly;
	z-index: 200;
}
.center > * {
	position: static;
	margin: auto;
} */

/* --  content start  ========================================================  */

#baseballDiamond {
	background: url(baseball_diamond.svg) no-repeat;
	z-index: 10; 
}
#baseballDiamond.in {
	opacity: 1;
}
#baseballDiamond.out {
	opacity: 0;
}
#button {
	background: url(button1_159x161.png) no-repeat;
	bottom: -38.7px;
	height: 161px;
	left: 168.4px;
	width: 159px;
	z-index: 20; 
	transform: scale(.12); 
}
#button.in {
	opacity: 1;
}
#button.out {
	opacity: 0;
}
#buttonUnderlay {
	background: url(buttonUnderlay_30x30.png) no-repeat;
	bottom: 27.5px;
	height: 30px;
	left: 232px;
	opacity: 0;
	width: 30px;
	z-index: 10; 
	/* transition: all .3s ease-in-out; */
}
#buttonUnderlay.in {
	opacity: .45;
}
#buttonOverlay {
	background: url(buttonOverlay_30x30.png) no-repeat;
	bottom: 28px;
	height: 30px;
	left: 232.3px;
	opacity: 0;
	width: 30px;
	z-index: 30; 
	transform: scale(.7); 
	/* transition: all .3s ease-in-out; */
}
#buttonOverlay.in {
	opacity: .8;
}

/* --  baseball  =============================================================  */

#baseball {
	background: url(baseball_10x10.svg) no-repeat;
	height: 13.2px;
	left: 142px;
	opacity: 0;
	top: 162px;
	width: 13.2px;
	z-index: 10; 
}
#baseball.in {                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
	opacity: 1;
}
#baseball.slide1 {
	opacity: 1;
	top: 186px;
}
#baseball.slide2 {
	left: 56.5px;
	opacity: 1;
	top: 1.5px;
}

#baseball1 {
	background: url(baseball_10x10.svg) no-repeat;
	height: 27.36px;
	left: 135px;
	opacity: 0;
	top: -6px;
	width: 27.36px;
	z-index: 13;
}
#baseball1.in {
	opacity: .1;
	transform: scale(0) rotate(0deg);
}
#baseball1.scale {	
	opacity: 1;
	top: -2px;
	transform: scale(1) rotate(360deg);
	transition: all .9s ease-in-out;
}

#bat {
	background: url(bat_300x250.svg) no-repeat;
	bottom: 34px;
	height: 22px;
	left: 128px;
	width: 45px;
	z-index: 10; 
	transform: scale(.9);
}
#bat.in {
	opacity: 1; 
	transform-origin: 7px 7px;
}
#bat.swing1 {
	opacity: 1;
	transform: scale(.9) rotate(-55deg); 
	transform-origin: 7px 7px;
	transition: all .3s ease-in;  
}
#bat.swing2 {
	opacity: 1;
	transform: scale(.9) rotate(0deg); 
	transform-origin: 7px 7px;
	transition: all .5s ease-out; 
}
#bat.out {
	opacity: 0;
}

/* --  border lights  ========================================================  */

.lights {
	position: relative;
	width: 100%;
	height: 100%;
	z-index: 12;
}
.lights [class^="row-"] { /* properties for all four sides */ 
	position: absolute;
	display: -ms-flexbox;
	display: flex;
	flex-direction: column;
	height: 100%;
	justify-content: space-around;      
	width: 10px;		  /* row width = height of ad / number of lights high */ 
}
.lights .row-1,
.lights .row-3 {
	height: 102.9%;
	top: -3.5px;
	/* outline: red 1px solid; */
}
.lights .row-1 {
	flex-direction: column-reverse;
	left: 3px;
}
.lights .row-3 {
	flex-direction: column;
	right: 3px;
}
  
.lights .row-2,
.lights .row-4 {
	height: 10px; 
	/* height: 35px; */                    /* ad height / number of lights high */
	left: 20px;                            /* match width of vert row */
	width: calc(100% - 10px * 4);
	/* width: calc(100% - 35px * 2); */    /* (100% - vertical row width * 2) */
	/* outline: greenyellow 1px solid; */
}
.lights .row-2 {
	flex-direction: row;
	top: 3px;
}
.lights .row-4 {
	bottom: 3px;
	flex-direction: row-reverse;
}
  
.lights i {
	border-radius: 100%;
	background: #fff;     /* primary light OFF color */      
	width: 10px;			/* size of dots in row */
	height: 0;
	padding-bottom: 10px; 	/* size of dots in row */
	display: block;
	margin: auto;
	counter-increment: bulbcount;   /* optional for counting */
	position: relative;             /* optional positioning count */
}
  
.lights i:hover,
.lights i.hover,
.flash .lights i {
	box-shadow: 0px 0px 5px 3px rgba(255,255,255,.7),    /* primary light ON glow */
				0px 0px 5px rgba(255,255,255,.8) inset;  /* primary light ON bulb edge */
	background: #fff;                                     /* primary light ON core */
}
  
.lights .row-1 i:nth-child(odd),
.lights .row-2 i:nth-child(even),
.lights .row-3 i:nth-child(odd),
.lights .row-4 i:nth-child(even){
	background: rgba(255,126,0,1);     /* secondary light OFF color */
}
  
.lights .row-1 i:nth-child(odd):hover,
.lights .row-1 i:nth-child(odd).hover,
.flash .lights .row-1 i:nth-child(odd),
.lights .row-2 i:nth-child(even):hover,
.lights .row-2 i:nth-child(even).hover,
.flash .lights .row-2 i:nth-child(even),
.lights .row-3 i:nth-child(odd):hover,
.lights .row-3 i:nth-child(odd).hover,
.flash .lights .row-3 i:nth-child(odd),
.lights .row-4 i:nth-child(even):hover,
.lights .row-4 i:nth-child(even).hover,
.flash .lights .row-4 i:nth-child(even){
	box-shadow: 0px 0px 5px 3px rgba(255,126,0,.65),       /* secondary light ON glow */
				0px 0px 10px 1px rgba(255,126,0,1) inset;  /* secondary light ON bulb edge */
	background: #fff;                                      /* secondary light ON core */
}
  
.lights i:after {
	column-width: 16px;
	/* content: counter(bulbcount);   wanna count me? uncomment to see flex-order is magic! */
	font-size: .75em;
	height: 100%;
	line-height: 16px;
	position: absolute;
	text-align: center;
	width: 100%;
}
.hide {
	opacity: 0;
}


/* --  =======================================================================  */

.cascade {
	display: flex;
	align-content: space-evenly;
	align-items: left;
	/* left: 3px; */
	flex-direction: column;
	justify-content: space-evenly;
	z-index: 15;
	opacity: 1;
}
.cascade > * {
	position: static;
	margin: 17.8px 20px 0px 3px;
} 

  
/* --  =======================================================================  */

#grandSlamSavings {
	background: url(grandSlamSavings_86x54.svg) no-repeat;
	bottom: 10px;
	height: 54px;
	left: 15px;
	opacity: 0;
	width: 86px;
	z-index: 13; 
}
#grandSlamSavings1.in {
	background: url(grandSlamSavings_300x250.svg) no-repeat;
	bottom: 24px;
	height: 155.31px;
	left: 24px;
	opacity: 1;
	width: 251.1px;
	z-index: 18; 
}
#grandSlamSavings.in, #grandSlamSavings1.in {
	opacity: 1;
}
#grandSlamSavings.out, #grandSlamSavings1.out {
	opacity: 0;
}

#rectangle {
	background: #fff;
  	height: 233px;
  	left: 17px;
	opacity: 0;
  	position: absolute;
	top: 17px;
	width: 264px;
  /* outline: red 1px solid; */
  	z-index: 5; 
}
#rectangle.in {
	opacity: 1;
  	position: absolute;
}
#scoreboard {   
	background: url(scoreboard.svg) no-repeat;
	opacity: 0;
	z-index: 10;
}
#scoreboard.in {
	opacity: 1;
}
#stars_left {   
	background: url(stars_left.svg) no-repeat;
	height: 30px;
	left: 33px;
	opacity: 0;
	top: 24px;
	width: 40px;
	z-index: 11;
	transition: all 1.2s ease-in;
}
#stars_left.in {
	opacity: 1;
}
#stars_left_blue {   
	background: url(stars_left_blue.svg) no-repeat;
	height: 30px;
	left: 33px;
	opacity: 0;
	top: 24px;
	width: 40px;
	z-index: 10;
}
#stars_left_blue.in {
	opacity: .1;
	transform: scale(0);
}
#stars_left_blue.scale {	
	opacity: 1;
	transform: scale(1) rotate(-360deg);
	transition: all .5s ease-in;
}
#stars_right {   
	background: url(stars_right.svg) no-repeat;
	height: 30px;
	opacity: 0;
	right: 31.5px;
	top: 24px;
	width: 40px;
	z-index: 11;
	transition: all 1.2s ease-in;
}
#stars_right.in {
	opacity: 1;
}
#stars_right_blue {   
	background: url(stars_right_blue.svg) no-repeat;
	height: 30px;
	opacity: 0;
	right: 31.5px;
	top: 24px;
	width: 40px;
	z-index: 10;
}
#stars_right_blue.in {
	opacity: .1;
	transform: scale(0);
}
#stars_right_blue.scale {	
	opacity: 1;
	transform: scale(1) rotate(360deg);
	transition: all .5s ease-in;
}

/* --  content ends  ---------------------------------------------------------  */

/* --  CTA  ------------------------------------------------------------------  */ 

#cta {
	bottom: 10px;
	height: 36px;
	left: 83px;
	width: 134px;
	z-index: 110;
}

.cta-button-bg			{fill:#ff7e00;}
.cta-button-textgroup	{fill:#ffffff;}

#cta-button:hover .cta-button-bg 		{fill: #ff7e00;}
#cta-button:hover .cta-button-textgroup	{fill: #ffffff;}

/* hover effects for button */ 
/* #cta-button:hover {
	border-radius: 17px;
	box-shadow: 0px 0px 3px 6px rgba(255,126,0,.2),
				0px 0px 15px 15px rgba(255,126,0,1) inset;
} */

/* if you need to define click area */
#bgExitArea { 
	cursor: pointer; 
	left: 0;
	opacity: 0;
	position: absolute; 
	z-index: 100;
	/*opacity: .5;*/		/* for testing */
	/*background: red;*/	/* for testing */
}
