#main .content { margin-bottom:30px; }

.content .hero { text-align:center; }
.content .hero h1 { margin-bottom:13px; }
.content .hero .intro { margin-bottom:30px; padding:0 20px; text-align:center; }
.content .hero .intro.wider { padding:0; }

.content .border-top { border-top:1px solid #ced0d5; }
.content .border-bottom { border-bottom:1px solid #ced0d5; }
.content .hero .small { color:#666; }

/* download button */
.download-button { display:inline-block; margin-bottom:10px; padding:15px 18px 15px 15px; color:#fff; font-size:18px; text-shadow:0 -1px 0 rgba(0,0,0,.20);
	background-color:#1d88d9;
	background:-webkit-gradient(linear, left top, left bottom, from(#4cb1eb), to(#1d88d9));
	background:-moz-linear-gradient(top, #4cb1eb, #1d88d9);
	-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.75), 0 1px 3px rgba(0,0,0,0.3);
	   -moz-box-shadow:inset 0 1px 0 rgba(255,255,255,.75), 0 1px 3px rgba(0,0,0,0.3);
	        box-shadow:inset 0 1px 0 rgba(255,255,255,.75), 0 1px 3px rgba(0,0,0,0.3);
}
.download-button .arrow { padding-right:32px;
	background:url(download_arrow.png)/*tpa=http://images.apple.com/v/itunes/home/b/images/download_arrow.png*/ 100% 50% no-repeat;
	_background:url(download_arrow.gif)/*tpa=http://images.apple.com/v/itunes/home/b/images/download_arrow.gif*/ 100% 50% no-repeat;
}
.download-button:hover { text-decoration: none;
	background-color:#1a7cc7;
	background:-webkit-gradient(linear, left top, left bottom, from(#49aae3), to(#1a7cc7));
	background:-moz-linear-gradient(top, #49aae3, #1a7cc7);
}
.download-button:hover .arrow { _background:url(download_arrow_hover.gif)/*tpa=http://images.apple.com/v/itunes/home/b/images/download_arrow_hover.gif*/ 100% 50% no-repeat; }
.download-button:active {
	background-color:#1a7cc7;
	background:-webkit-gradient(linear, left top, left bottom, from(#49aae3), to(#1a7cc7));
	background:-moz-linear-gradient(top, #49aae3, #1a7cc7);
	-webkit-box-shadow:inset 0 1px 4px rgba(0,0,0,0.5);
	   -moz-box-shadow:inset 0 1px 4px rgba(0,0,0,0.5);
	        box-shadow:inset 0 1px 4px rgba(0,0,0,0.5);
}

/* galleries */
.content .gallery { position:relative; z-index:1; overflow:hidden; -webkit-user-select:none; -webkit-transform:translateZ(0); text-align:left; }
.content .gallery .gallery-view,
.content .gallery .gallery-content,
.content .gallery figure { width:100%; }
.content .gallery .gallery-content,
.content .gallery figure { display:none; }
.content .gallery .gallery-view .gallery-content,
.content .gallery .gallery-view figure { display:block; }
.content .gallery .gallery-content { float:left; display:inline; margin:0; -webkit-transform:translateZ(0); }
.content .gallery .dot-nav { padding-top:13px; }

/* paddle arrow nav */
.content .paddle-nav li { width:100%; position:absolute; top:0; left:0; z-index:1003; _display:none; }
.content .paddle-nav li .arrow { position:absolute; display:block; top:0; height:420px; width:107px; padding:0 20px; -moz-opacity:0; opacity:0; filter:alpha(opacity=0); outline:none; z-index:1; cursor:pointer; *background-image:url(blank.gif)/*tpa=http://images.apple.com/global/elements/blank.gif*/;
	-webkit-transition:.25s opacity ease-out; -moz-transition:.25s opacity ease-out; transition:.25s opacity ease-out;
}
.content .paddle-nav li .arrow:hover { -moz-opacity:1; opacity:1; filter:alpha(opacity=100); }
.content .paddle-nav li .arrow.disabled { display:none; }
.content .paddle-nav li .arrow b { display:block; width:40px; height:80px; margin-top:170px; text-indent:-9999px; overflow:hidden; behavior:url(ie7pngfix.htc)/*tpa=http://images.apple.com/global/scripts/lib/ie7pngfix.htc*/; }

.content .paddle-nav li .arrow.prev { left:0; }
.content .paddle-nav li .arrow.prev b { float:left; background:url(paddle_prev.png)/*tpa=http://images.apple.com/global/elements/arrows/paddle_prev.png*/ no-repeat; }

.content .paddle-nav li .arrow.next { right:0; }
.content .paddle-nav li .arrow.next b { float:right; background:url(paddle_next.png)/*tpa=http://images.apple.com/global/elements/arrows/paddle_next.png*/ no-repeat; }

@media only screen and (max-device-width:768px) {
	.content .paddle-nav { display:none; } /* don't show the paddles on iOS, swipe instead */
}

.hero { padding-top:50px; }
.hero .gallery { width:1120px; margin-top:30px; margin-bottom:30px; _margin:30px -112px; }
.hero .gallery .gallery-view { position:relative; z-index:2; width:8000px; -webkit-transform:translateZ(0); }
.hero .gallery .gallery-view .gallery-content { width:1120px; height:420px; position:relative; z-index:2; margin-right:180px; }
.hero .gallery .gallery-view .gallery-content img { -webkit-transform:translateZ(0); }
.hero .gallery .gallery-view .gallery-content .column { padding-top:95px; }
.hero .gallery .gallery-view .gallery-content .column p { color:#666; }
.hero .gallery .gallery-view .gallery-content .column.first { width:270px; padding-left:95px; }
.hero .gallery .gallery-view .gallery-content .column.last { width:270px; padding-right:88px; }
.hero .gallery .gallery-view .hero-gallery-redesigned-player img.right { margin:0 -40px 0; }
.hero .gallery .gallery-view .hero-gallery-remodeled-store img.left { margin:0 0 0 -6px; }
.hero .gallery .gallery-view .hero-gallery-icloud img.left { margin:0 0 0 -108px; }
.hero .gallery .gallery-view .hero-gallery-itunes-match img.right { margin:0 -40px 0; }
.hero .gallery-divider { position:absolute; z-index:1010; top:322px; left:0; width:1120px; height:98px; pointer-events:none;
	*background:url(hero_divider.png)/*tpa=http://images.apple.com/v/itunes/home/b/images/hero_divider.png*/ 0 100% repeat-x; _behavior:url(iepngfix.htc)/*tpa=http://images.apple.com/global/scripts/lib/iepngfix.htc*/;
	-webkit-box-shadow:inset 0 -6px 6px -6px rgba(0, 0, 0, 0.6), inset 0 -35px 74px -36px rgba(0, 0, 0, 0.1);
	-moz-box-shadow:inset 0 -6px 6px -6px rgba(0, 0, 0, 0.6), inset 0 -35px 74px -36px rgba(0, 0, 0, 0.1);
	box-shadow:inset 0 -6px 6px -6px rgba(0, 0, 0, 0.6), inset 0 -35px 74px -36px rgba(0, 0, 0, 0.1);
}

.whatis { padding-top:24px; }
.whatis img.left { margin:0 0 0 -50px; }
.whatis .column.last { width:333px; padding:40px 20px 0 0; }

.giftcards { width:auto; padding-left:75px; padding-right:75px; }
.giftcards .column.first { width:530px; padding-top:95px; }
.giftcards .column.first ul li{ float:left; margin-right:40px; }
.giftcards .column.last { width:440px; }
.giftcards #ambient-giftcards { position:relative; width:431px; height:350px; overflow:hidden;
	-webkit-perspective:800;
	-webkit-perspective-origin:52% -50%;
}
.giftcards .card,
.giftcards #giftcards-fallback { display:none; }

.giftcards .card { position:absolute; top:66px; right:15px;
  -webkit-transform-style:preserve-3d;
  -webkit-transform:translate3d(9px, 20px, -95px);
  -webkit-transition:all 1.2s ease-in-out;
}
.giftcards #card-mac-apps	{ -webkit-transition:all .9s 0.3s ease-in-out; }
.giftcards #card-books		{ -webkit-transition:all 1.0s 0.2s ease-in-out; }
.giftcards #card-ios-apps	{ -webkit-transition:all 1.1s 0.1s ease-in-out; }
.giftcards #card-music		{ -webkit-transition:all 1.2s 0s ease-in-out; }

.giftcards .ambient-gift-cards-prepped .card { display:block; }
.giftcards .ambient-giftcards-complete #card-books		{ -webkit-transform:translate3d(-51px, 20px, -30px) rotateY(-24deg); }
.giftcards .ambient-giftcards-complete #card-ios-apps	{ -webkit-transform:translate3d(-111px, 20px, 10px) rotateY(-30deg); }
.giftcards .ambient-giftcards-complete #card-music		{ -webkit-transform:translate3d(-191px, 20px, 30px) rotateY(-42deg); }

.giftcards .ambient-giftcards-fallback #giftcards-fallback { display:block; margin:66px 0 0 0; }
