/* ==================================================================
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
  --------------------------------------------------------------------------------- */

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

.amazon_logo {width:61px; height:18px; background-position: -49px -10px}
.ctaTxt {width:52px; height:8px; background-position: -0px -0px}
.header {width:285px; height:8px; background-position: -54px -0px}
.txt {width:199px; height:52px; background-position: -112px -10px}
.txt_terms {width:47px; height:8px; background-position: -0px -10px}

.f1_img{width: 209px; height: 118px; background: url("f1_img.jpg") no-repeat;}


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

#amex-logo {
	top: 0;
	left: 235px;
	width: 41px;
	height:36px;
	background-image:url(blueBox.svg);
    background-repeat: no-repeat;
}

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

#banner{ 
	display: block; 
    position: relative; 
	width: 300px; 
	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,  #eef1f4 0%, #ffffff 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top,  #eef1f4 0%,#ffffff 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom,  #eef1f4 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);
}

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

#amazon_logo{
    bottom: 2px;
    left: -2px;
}

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

#header {
	  top: 8px;
	  left:7px;
}

#txt {
	top:152px;
	left:51px;
}


#footer {
	top: 203px;
	left: 13px;
	width: 274px;
	height: 38px;
}

#txt_terms {
	bottom: 0;
	left: 113px;
}

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

#f1_play_button_holder {
	top: 23px;
	left: 45px;
	width: 209px;
	height: 118px;
}

#f1_play_button {
	top:6px;
	left:6px;
}


.play_btn {
  width:23px;
  height:23px;
  border-radius: 35px;
  background-color:#000000;
  background-color: rgba(0,0,0,0.7);
  filter: alpha(opacity=70); /* For IE8 and earlier */
  background-image: url(playBtn_optim.svg);
  background-size: 10px 10px;
  background-repeat: no-repeat;
  background-position: 8px center;
  border-style: solid;
  border-color: #FFFFFF;
  border-width: 1px;
  position: absolute;
  top:70px;
  left:134px;
}

#video_holder {
	background : #000;
	top: 25px;
	left: 0;
	width: 300px;
	height: 167px;
	overflow: hidden;
}

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


#btn_close_video {
	top: 30px;
	right: 8px;
}

#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: 72px;
    height: 20px;
    bottom: 21px;
    left: 113px;

    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 {
	top:6px;
	left:10px;
}

/* ==================================================================
MEDIA QUERIES
===================================================================*/

/* CSS for serving the retina image to devices with a high "device-pixel-ratio": */

/*@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
    .sprite {
        background-image: url(sprite_recline_300x250_2x.png);
        background-size: 402px 128px;
    }
}*/
