
html, body {  
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	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-color: #2486ec;
	display: block;
	height: 600px;/*100%;*/
	margin: auto;        /* just to center ad */
	overflow: hidden;
	position: absolute;
	width: 300px;/*100%;*/
}
#ad:after {
	border: black 1px solid;
	content: '';
	display: block;
	height: 100%;
	pointer-events: none;
	position: absolute;
	width: 100%;
	z-index: 20;
}
a {
	cursor: pointer;
}

/* --  common animations  --------------------------------------------------------  */
/* global animation timing */
[class*="fade"], [class*="zoom"], [class*="slide"]{
	transition: all .5s ease-in-out;
}
.fadein:not(.out),
body .fadeout.out {
	opacity: 0;
}
.fadein.in,
.fadeout {
	opacity: 1;
}
.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;
}
.center > * {
	position: static;
	margin: auto;
}*/

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

#baseballDiamond {
	background: url(baseball_diamond_300x600.svg) no-repeat;
	height: 620px;
	left: -9px;
	opacity: 0;
	top: -27px;
	width: 320px;
	z-index: 10; 
	transform: scale(.99); 
}
#baseballDiamond.in {
	opacity: 1;
}
#baseballDiamond.out {
	opacity: 0;
}
#blueBand {
	background-color: #2486ec;
  	height: 34px;
  	left: 0px;
	opacity: 1;
  	position: absolute;
	top: 0px;
	width: 300px;
	z-index: 10;
  /* outline: red 1px solid; */
}
#blueBand.in {
	opacity: 1;
}
#blueBand.out {
	opacity: 0;
}
#savings {
	background: url(savings.svg) no-repeat;
	height: 24.2px;
	left: 90px;
	opacity: 0;
	position: absolute;
	top: 7px;
	width: 134.2px;
	z-index: 11; 
}
#savings.in {
	opacity: 1;
}
#savings.out {
	opacity: 0;
}

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

#baseball {
	background: url(baseball_10x10.svg) no-repeat;
	height: 46.8px;
	left: 127px;
	opacity: 0;
	top: 274px;
	width: 46.8px;
	z-index: 10; 
}
#baseball.in {
	opacity: 1;
}
#baseball.slide1 {
	opacity: 1;
	top: 370px; 
}
#baseball.slide2 {
	left: 80px;
	opacity: 1;
	top: -40px;
}
#baseball1 {
	background: url(baseball_10x10.svg) no-repeat;
	height: 40.8px;
	left: 130px;
	opacity: 0;
	top: -2.5px;
	width: 40.8px;
	z-index: 20; 
}
#baseball1.in {
	opacity: 1;
	top: -15px;
	transform: scale(0) rotate(0deg);
}
#baseball1.scale {	
	opacity: 1;
	transform: scale(1) rotate(360deg);
	transition: all .9s ease-in-out;
}
#baseball2 {
	background: url(baseball2.svg) no-repeat;
	bottom: -200px;
	height: 400px;
	left: -50px;
	opacity: 0;
	width: 400px;
	z-index: 20; 
	border-radius: 50%;
}
#baseball2.in {
	opacity: 1;
	transform: scale(0) rotate(0deg);
}
#baseball2.scale {	
	opacity: 1;
	transform: scale(1) rotate(-360deg);
	transition: all .9s ease-in-out;
}
#bat {
	background: url(bat_300x600.svg) no-repeat;
	bottom: 141px;
	height: 60px;
	left: 80px;
	width: 130px;
	z-index: 10;  
}
#bat.in {
	opacity: 1; 
	transform-origin: 13px 13px;
}
#bat.swing1 {
	opacity: 1;
	transform: rotate(-55deg); 
	transform-origin: 13px 13px;
	transition: all .3s ease-in-out; 
}
#bat.swing2 {
	opacity: 1;
	transform: rotate(0deg); 
	transform-origin: 13px 13px;
	transition: all .4s ease-in-out; 
}
#bat.out {
	opacity: 0;
}

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

.lights {
	position: relative;
	width: 100%;
	height: 100%;
	z-index: 10;
  }
  .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: 101.41%;
	top: -4.2px;
	/* outline: red 1px solid; */
  }
  .lights .row-1 {
	flex-direction: column-reverse;
	height: 101.41%;
	left: 3px;
  }
  .lights .row-3 {
	flex-direction: column;
	height: 101.41%;
	right: 3px;
  }

  .lights .row-2,
  .lights .row-4 {
	height: 10px;  						   /* ad height / number of lights high */
	left: 20px;                            /* match width of vert row */
	width: calc(100% - 10px * 4);          /* (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, 
#grandSlamSavings1t, #grandSlamSavings1b, 
#grandSlamSavings2t, #grandSlamSavings2b {
	background: url(grandSlamSavings.svg) no-repeat;
	height: 86.4px;
	left: 81.2px;
	opacity: 0;
	position: absolute;
	width: 137.6px;
	z-index: 10; 
	/* transform: scale(1.6); */
	transition: all 1s ease-in;
}
#grandSlamSavings.in {
	bottom: 258px;
	opacity: 1;
}
#grandSlamSavings1t.in {
	opacity: .55; 
	top: 148px;
}
#grandSlamSavings1b.in {
	bottom: 148px;
	opacity: .55;
}
#grandSlamSavings2t.in {
	opacity: .2; 
	top: 41px;
}
#grandSlamSavings2b.in {
	bottom: 41px;
	opacity: .2;
}

#rectangle {
	background: #fff;
  	height: 568px;
  	left: 16px;
	opacity: 0;
  	position: absolute;
	top: 16px;
	width: 268px;
	z-index: 5;
  /* outline: red 1px solid; */
}
#rectangle.in {
	opacity: 1;
  	position: absolute;
}
#scoreboard {   
	background: url(scoreboard_300x600.svg) no-repeat;
	opacity: 0;
	z-index: 10;
}
#scoreboard.in {
	opacity: 1;
}
#stars_left_top {   
	background: url(stars_left_top.svg) no-repeat;
	height: 68.2px;
	left: 63px;
	opacity: 0;
	top: 15px;
	width: 59.4px;
	z-index: 11;
	/* transform: scale(1.1); */
	transition: all 1.2s ease-in;
}
#stars_left_top.in {
	opacity: 1;
}
#stars_left_top_blue {   
	background: url(stars_left_top_blue.svg) no-repeat;
	height: 68.2px;
	left: 63px;
	opacity: 0;
	top: 15px;
	width: 59.4px;
	z-index: 10;
}
#stars_left_top_blue.in {
	opacity: .1;
	transform: scale(0);
}
#stars_left_top_blue.scale {	
	opacity: .9;
	transform: scale(1) rotate(360deg);
	transition: all .6s ease-in;
}
#stars_right_top {   
	background: url(stars_right_top.svg) no-repeat;
	height: 68.2px;
	opacity: 0;
	right: 61px;
	top: 15px;
	width: 59.4px;
	z-index: 11;
	transition: all 1.2s ease-in;
}
#stars_right_top.in {
	opacity: 1;
}
#stars_right_top_blue {   
	background: url(stars_right_top_blue.svg) no-repeat;
	height: 68.2px;
	opacity: 0;
	right: 61px;
	top: 15px;
	width: 59.4px;
	z-index: 10;
}
#stars_right_top_blue.in {
	opacity: .1;
	transform: scale(0);
}
#stars_right_top_blue.scale {	
	opacity: .9;
	transform: scale(1) rotate(360deg);
	transition: all .6s ease-in;
}
#stars_left_bottom {   
	background: url(stars_left_bottom.svg) no-repeat;
	height: 62px;
	left: 27px;
	opacity: 0;
	top: 340px;
	width: 54px;
	z-index: 11;
	transition: all 1.2s ease-in;
}
#stars_left_bottom.in {
	opacity: 1;
}
#stars_left_bottom_blue {   
	background: url(stars_left_bottom_blue.svg) no-repeat;
	height: 62px;
	left: 27px;
	opacity: 0;
	top: 340px;
	width: 54px;
	z-index: 10;
}
#stars_left_bottom_blue.in {
	opacity: 0;
	transform: scale(0);
}
#stars_left_bottom_blue.scale {	
	opacity: .9;
	transform: scale(1) rotate(-360deg);
	transition: all .6s ease-in;
}
#stars_right_bottom {   
	background: url(stars_right_bottom.svg) no-repeat;
	height: 62px;
	opacity: 0;
	right: 27px;
	top: 338px;
	width: 54px;
	z-index: 11;
	transition: all 1.2s ease-in;
}
#stars_right_bottom.in {
	opacity: 1;
}
#stars_right_bottom_blue {   
	background: url(stars_right_bottom_blue.svg) no-repeat;
	height: 62px;
	opacity: 0;
	right: 27px;
	top: 338px;
	width: 54px;
	z-index: 10;
}
#stars_right_bottom_blue.in {
	opacity: 0;
	transform: scale(0);
}
#stars_right_bottom_blue.scale {	
	opacity: .9;
	transform: scale(1) rotate(-360deg);
	transition: all .6s ease-in;
}


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

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

#cta {
	bottom: 100px;
	height: 36px;
	left: 83px;
	width: 134px;
	z-index: 110;
	transform: scale(1);
}

.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 */
}
