/* ==================================================================
CSS BASE RESET
===================================================================*/

html {
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body { margin: 0; padding: 0; overflow:hidden; }

div {
  position: absolute;
  pointer-events: none;
}

#f1_play_button_holder, #backgroundExit, #btn_close_video, #cta { 
  pointer-events: auto;
  cursor: pointer;
}


/* ---------------------------------------------------------------------------------
   TEXTUREPACKER Sprite
  --------------------------------------------------------------------------------- */
.spriteJPG {display:inline-block; overflow:hidden; background-repeat: no-repeat;background-image:url(sprite_bg.jpg);}

.bg {width:529px; height:250px; background-position: -0px -0px}
.f1_img {width:445px; height:250px; background-position: -531px -0px}


.sprite {display:inline-block; overflow:hidden; background-repeat: no-repeat;background-image:url(sprite_970x250.png);}

.amazon_logo {width:94px; height:29px; background-position: -124px -0px}
.ctaTxt {width:62px; height:9px; background-position: -60px -0px}
.header {width:225px; height:29px; background-position: -220px -0px}
.txt {width:481px; height:56px; background-position: -0px -31px}
.txt_terms {width:58px; height:10px; background-position: -0px -0px}


/* ---------------------------------------------------------------------------------
  Logos
  --------------------------------------------------------------------------------- */

#amex-logo {
	bottom: 13px;
	right: 16px;
	width: 52px;
	height:46px;
	background-image:url(blueBox.svg);
}

#amazon_logo{
    top: 58px;
    left: 316px;
}

/* ---------------------------------------------------------------------------------
  Content
  --------------------------------------------------------------------------------- */

#banner {
    display: block;
    position: relative;
    width: 970px;
    height: 250px;
    overflow: hidden;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#e4edf5+0,ffffff+100 */
    background: #e4edf5;
    /* Old browsers */
    background: -moz-linear-gradient(top, #e4edf5 0%, #ffffff 100%);
    /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #e4edf5 0%, #ffffff 100%);
    /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #e4edf5 0%, #ffffff 100%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
}

#backgroundExit {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0);
}

#bg{
    right: 0;
}

#banner_border{
  left: 0;
  top: 0;
  width: 968px;
  height: 248px;
  border: 1px solid grey;
}

#frame1 {
	top: 0;
	left: 0;
	width: 970px;
	height: 250px;
}

#header {
	  top: 46px;
	  left: 627px;
}

#txt {
	top:119px;
	left:468px;
}


#footer {
	bottom: 3px;
	right: 0;
	width: 504px;
	height: 100px;
}

#txt_terms {
	bottom: 20px;
	left: 112px;
}

/* ---------------------------------------------------------------------------------logo
  VIDEO
  --------------------------------------------------------------------------------- */

#f1_play_button_holder {
	top: 0px;
	left: 0px;
	width: 445px;
	height: 250px;
}

#f1_play_button {
	top:10px;
	left:12px;
}


.play_btn {
  width:42px;
  height:42px;
  border-radius: 30px;
  background-color:#000000;
  background-color: rgba(0,0,0,0.2);
  filter: alpha(opacity=20); /* For IE8 and earlier */
  background-image: url("playBtn_optim.svg");
  background-size: 18px 18px;
  background-repeat: no-repeat;
  background-position: 14px center;
  border-style: solid;
  border-color: #FFFFFF;
  border-width: 1.2px;
  position: absolute;
  top:20px;
  left:14px;
  /*cursor: pointer;*/
}

#video_holder {
	background : #000;
	top: 0px;
	left: 0;
	width: 445px;
	height: 250px;
	overflow: hidden;
}

#video1{
	background : #000;
	width: 100%;
	top:0;
	left:0;
	pointer-events: auto;
}


#btn_close_video {
  top: 8px;
  left: 432px;
}

#btn_close_video:after, #btn_close_video:before {
  content: "";
  width: 20px;
  height: 20px;
  border-top: 2px solid #FFFFFF;
  top: 7px;
  right: -8px;
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  position:absolute;
}

#btn_close_video::before {
  right: 6px;
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
    position:absolute;
}

/* ---------------------------------------------------------------------------------
  CTA
  --------------------------------------------------------------------------------- */
#cta {
    width: 92px;
    height: 26px;
    bottom: 16px;
    left: 469px;

    background-color: #006E8F;
    background-repeat: no-repeat;
    /*background-image: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0));*/

    background-image: rgba(0,155,186,0);
    background-image: -webkit-gradient(left top, right bottom, color-stop(0%, rgba(0,155,186,0)), color-stop(53%, rgba(255,255,255,0.5)), color-stop(100%, rgba(0,155,186,0)));
    background-image: linear-gradient(135deg, rgba(0,155,186,0) 0%, rgba(255,255,255,0.5) 53%, rgba(0,155,186,0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#009bba', endColorstr='#009bba', GradientType=1 );

    background-position: -100px 0;
    text-decoration: none;
    border: 0;
}

#ctaTxt {
	position: relative;
    top: 3px;
    left: 15px;
}
