
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: url(frame3.jpg) no-repeat; */
	background-color: #2486ec;
	display: block;
	height: 90px;/*100%;*/
	left: 0px;
	overflow: hidden;
	position: absolute;
	top: 0px;
	width: 728px;/*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;
}

#logo {
	background: url(PGR_DIRECT_fff_116x26.svg) no-repeat;
	height: 26px;
	opacity: 0;
	position: absolute;
	right: 26px;
	top: 12px;
	width: 116px;
	z-index: 30;
	transform: scale(1.1);
	transition: all 1s ease-in;
}
#logo.in {
	opacity: 1;
}
#logo.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;
}
.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_728x90.svg) no-repeat;
	height: 112px;
	left: 3px;
	opacity: 0;
	top: -11.2px;
	width: 750px;
	z-index: 10; 
}
#baseballDiamond.in {
	opacity: 1;
}
#baseballDiamond.out {
	opacity: 0;
}
#blueBand {
	background-color: #2486ec;
  	height: 90px;
  	left: 653px;
	opacity: 1;
  	position: absolute;
	top: 0px;
	width: 75px;
	z-index: 10;
  /* outline: red 1px solid; */
}
#blueBand.in {
	opacity: 1;
}
#blueBand.out {
	opacity: 0;
}
#savings {
	background: url(savings.svg) no-repeat;
	height: 22px;
	left: 629px;
	opacity: 1;
	position: absolute;
	top: 34px;
	width: 122px;
	z-index: 11; 
	transform: scale(.65) rotate(90deg); 
}
#savings.in {
	opacity: 1;
}
#savings.out {
	opacity: 0;
}
#baseball {
	background: url(baseball_10x10.svg) no-repeat;
	height: 44.4px;
	left: 247px;
	opacity: 0;
	top: 22px;
	width: 44.4px;
	z-index: 20; 
}
#baseball.in {
	opacity: 1;
}
#baseball.slide1 {
	left: 145px;
	opacity: 1;
}
#baseball.slide2 {
	left: 740px;
	opacity: 1;
}
#bat {
	background: url(bat_728x90.svg) no-repeat;
	height: 84px;
	left: 128px;
	top: 6px;
	width: 40px;
	z-index: 10; 
	transform: scale(.9);
}
#bat.in {
	opacity: 1; 
	transform-origin: 28px 10px;
}
#bat.swing1 {
	opacity: 1;
	/* top: 5px; */
	transform: scale(.9) rotate(-55deg); 
	transform-origin: 28px 10px;
	transition: all .3s ease-in-out; 
}
#bat.swing2 {
	opacity: 1;
	/* top: 5px; */
	transform: scale(.9) rotate(0deg); 
	transform-origin: 28px 10px;
	transition: all .5s ease-in-out; 
}
#bat.out {
	opacity: 0;
}

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

.lights {
	height: 100%;
	position: relative;
	width: 100%;
	z-index: 20;
  
  }
  .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: 35px; */      /* row width = height of ad / number of lights high */
	width: 10px; 
  }

  .lights .row-1,
  .lights .row-3 {
	height: 123.5%;
	top: -10.47px;
	/* outline: red 1px solid; */
  }
  .lights .row-1 {
	flex-direction: column-reverse;
	height: 123.5%;
	left: 3px;
  }
  .lights .row-3 {
	flex-direction: column;
	height: 123.5%;
	right: 170px;
  }
  
  .lights .row-2,
  .lights .row-4 {
	height: 10px; 						   /* ad height / number of lights high */
	left: 22.5px;                          /* match width of vert row */
	width: calc(100% - 10px * 21.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 7px 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.svg) no-repeat;
	height: 53.25px;
	left: 15px;
	opacity: 0;
	position: absolute;
	top: 20px;
	width: 532.5px;
	z-index: 10; 
}
#grandSlamSavings.in {
	opacity: 1;
	transition: all 1.2s ease-in;
}
#grandSlamSavings.out {
	opacity: 0;
}

#rectangle1 {
	background: #0a3360;
  	height: 90px;
  	left: 561px;
	opacity: 0;
  	position: absolute;
	top: 0px;
	width: 166px;
	z-index: 5;
  	outline: #000 1px solid;
}
#rectangle1.in {
	opacity: 1;
  	position: absolute;
}
#rectangle2 {
	background: #fff;
  	height: 58px;
  	left: 16px;
	opacity: 0;
  	position: absolute;
	top: 16px;
	width: 529px;
	z-index: 10;
  /* outline: red 1px solid; */
}
#rectangle2.in {
	opacity: 1;
  	position: absolute;
}
#scoreboard {   
	background: url(scoreboard_728x90.svg) no-repeat;
	height: 90px;
	opacity: 0;
	width: 392px;
	z-index: 10;
}
#scoreboard.in {
	opacity: 1;
}
#compare {   
	background: url(compare_728x90.svg) no-repeat;
	height: 50px;
	left: 380px;
	opacity: 0;
	top: 15px;
	width: 150px;
	z-index: 10;
}
#compare.in {
	opacity: 1;
}
#stars_left {   
	background: url(stars_left.svg) no-repeat;
	height: 62px;
	opacity: 0;
	right: 311px;
	top: 32px;
	width: 54px;
	z-index: 11;
	transform: scale(.78);
	transition: all 1.2s ease-in;
}
#stars_left.in {
	opacity: 1;
}
#stars_left_blue {   
	background: url(stars_left_blue.svg) no-repeat;
	height: 62px;
	opacity: 0;
	right: 311px;
	top: 32px;
	width: 54px;
	z-index: 10;
}
#stars_left_blue.in {
	opacity: .1;
	transform: scale(0);
}
#stars_left_blue.scale {	
	opacity: .9;
	transform: scale(.78) rotate(360deg);
	transition: all .5s ease-in;
}
#stars_right {   
	background: url(stars_right.svg) no-repeat;
	height: 62px;
	right: 180px;
	opacity: 0;
	top: 32px;
	width: 54px;
	z-index: 11;
	transform: scale(.78); 
	transition: all 1.2s ease-in;
}
#stars_right.in {
	opacity: 1;
}
#stars_right_blue {   
	background: url(stars_right_blue.svg) no-repeat;
	height: 62px;
	right: 180px;
	opacity: 0;
	top: 32px;
	width: 54px;
	z-index: 10;
}
#stars_right_blue.in {
	opacity: .1;
	transform: scale(0);
}
#stars_right_blue.scale {	
	opacity: .9;
	transform: scale(.78) rotate(-360deg);
	transition: all .5s ease-in;
}

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

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

#cta {
	bottom: 8px;
	height: 36px;
	right: 17px;
	width: 134px;
	z-index: 110;
	transform: scale(.9);
	transition: all 1s ease-in;
}

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


/* --  IE10+ CSS styles go here  =============================================  --  */ 

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {

	#baseball.slide1 {
		left: 130px;
	}

	#stars_left, #stars_left_blue, #stars_right, #stars_right_blue {   
		top: 24px;
	}

}

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