/* Copyright 2009 Palm, Inc.  All rights reserved. */

/* @override http://172.16.110.131:8888/com.palm.app.photos/stylesheets/photos.css */

/*
 * Slideshow View styles
 */

#slide_frame img {
	display: block;
	margin: auto;
	max-height: 100%;
	max-width: 100%;
}

#slide_frame img.letterbox {
	position: fixed;
	top: 50%;
	bottom: 50%;
}

.slideshow-overlay #header_album {
	float: right;
  margin-top: 4px;
  margin-right: -12px;
  max-width: 40%;	
}

#slideshow_button {
	-webkit-border-image: url(../images/photos-header.png) 24 24 24 24 stretch stretch;     
	border-width: 24px;
	position: fixed;
	bottom: 0px;
	z-index: 56;
	color: white;
}

/* 
 * Albums View Styles 
 */

.albums-view-row {
	padding: 0px;
	height: 85px; 
}

.albums-view-row.photo-roll {
	height: 90px;
	background: url(../images/list-separator-dark-thick.png) bottom left repeat-x;
}

.albums-view-row .title.album-name-title {
	padding: 0px 0px 0px 10px;
	position: absolute;
	clip: rect(0px auto 81px 0px);
}

.albums-view-row .album-name {
	height: 85px;
	display: table-cell;
	vertical-align: middle;
	word-wrap: break-word;	
	padding-right: 150px;
}

.album-count-container {
	height: 26px;
	border-width: 0px 11px;
	-webkit-border-image: url(../images/album-count-9tile.png) 0 11 0 11 repeat repeat;
	-webkit-box-sizing: border-box;
	position: absolute;
	z-index: 3;
	right: 108px;
	text-align: center;
	margin-top: 5px;
}

.album-count-wrapper {	
	font-size: 16px;
	margin: 0px -2px;
}

.fp-image-list .album-thumbnails {
	height: 80px;
	width: 140px;
	float: right;
	position: relative;
	top: 0px;
	opacity: .00;
}

.fp-image-list .album-thumbnails.show {
	opacity: 1.00;
	-webkit-transition-property: opacity;
	-webkit-transition-duration: 0.5s;
	-webkit-transition-timing-function: ease-in;
}

.album-thumbnails-overlay {
	height: 79px;
	width: 120px;
	background: url(../images/thumbnails-overlay-set1-show3.png) center center no-repeat;
	position: absolute;
	right: 9px;
	z-index: 2;
	margin-top: 5px;
}

.angle-set-0.show-thumb-1 .album-thumbnails-overlay {
	background: url(../images/thumbnails-overlay-set0-show1.png) center center no-repeat;
}
.angle-set-0.show-thumb-2 .album-thumbnails-overlay {
	background: url(../images/thumbnails-overlay-set0-show2.png) center center no-repeat;
}
.angle-set-0.show-thumb-3 .album-thumbnails-overlay {
	background: url(../images/thumbnails-overlay-set0-show3.png) center center no-repeat;
}

.angle-set-1.show-thumb-1 .album-thumbnails-overlay,
.angle-set-3.show-thumb-1 .album-thumbnails-overlay {
	background: url(../images/thumbnails-overlay-set1-show1.png) center center no-repeat;
}
.angle-set-1.show-thumb-2 .album-thumbnails-overlay,
.angle-set-3.show-thumb-2 .album-thumbnails-overlay {
	background: url(../images/thumbnails-overlay-set1-show2.png) center center no-repeat;
}
.angle-set-1.show-thumb-3 .album-thumbnails-overlay,
.angle-set-3.show-thumb-3 .album-thumbnails-overlay {
	background: url(../images/thumbnails-overlay-set1-show3.png) center center no-repeat;
}

.angle-set-2.show-thumb-1 .album-thumbnails-overlay {
	background: url(../images/thumbnails-overlay-set2-show1.png) center center no-repeat;
}
.angle-set-2.show-thumb-2 .album-thumbnails-overlay {
	background: url(../images/thumbnails-overlay-set2-show2.png) center center no-repeat;
}
.angle-set-2.show-thumb-3 .album-thumbnails-overlay {
	background: url(../images/thumbnails-overlay-set2-show3.png) center center no-repeat;
}

.album-thumbnails img { 
	width: 63px;
	height: 63px;
	z-index: 1;
	padding: 2px 0px 0px 3px;
	position: absolute;
	margin-top: 10px;
}

.album-thumbnails img:nth-child(2) {
	right: 10px;
}
.album-thumbnails img:nth-child(3) {
	right: 50px;
}
.album-thumbnails img:nth-child(4) {
	right: 70px;
}

.angle-set-0.show-thumb-2 img:nth-child(3),
.angle-set-0.show-thumb-3 img:nth-child(3) {
	margin: 5px 0px 0px 0px;
	right: 37px;
}
.angle-set-0.show-thumb-3 img:nth-child(4) {
	right: 60px;
	margin-top: 12px;
	-webkit-transform: rotate(8deg);
}

.angle-set-1.show-thumb-2 img:nth-child(3),
.angle-set-1.show-thumb-3 img:nth-child(3),
.angle-set-3.show-thumb-2 img:nth-child(3),
.angle-set-3.show-thumb-3 img:nth-child(3) {
	margin: 15px 0px 0px 0px;
	right: 37px;
}
.angle-set-1.show-thumb-3 img:nth-child(4),
.angle-set-3.show-thumb-3 img:nth-child(4) {
	right: 64px;
	margin-top: 6px;
}

.angle-set-2 img {
	right: 10px;
	margin-top: 8px;
}
.angle-set-2.show-thumb-2 img:nth-child(3),
.angle-set-2.show-thumb-3 img:nth-child(3) {
	margin: 14px 0px 0px 0px;
	right: 38px;
}
.angle-set-2.show-thumb-3 img:nth-child(4) {
	right: 61px;
	margin-top: 10px;
	-webkit-transform: rotate(-8deg);	
}

/*Album List View Specific Styles*/

.fp-image-list .palm-header {
	background: url(../images/palm-header.png) no-repeat;
	margin-top: 0px;
}

.scrim {
	width: 320px;
	height: 480px;
	background: url(../images/background-scrim.png) center center no-repeat;
	z-index: -1;
	position: fixed;
	margin-top: -23px;
	top: 0;
}

/*Overriding filter field to get black styles*/

.text-entry-filter .text-box {
	width: 290px;
	height: 29px;
	border-width: 14px;
	-webkit-border-image: url(../images/filter-textbox-black-glass.png) 14 14 14 14 stretch stretch;
	-webkit-box-sizing: border-box;
	margin: 10px 15px 0px 15px;
	background: none;
} 

.text-entry-filter textarea {
	background: none;
	color: white;
}

/* Empty Library Styles */
#no-albums-div, .thumbs-scene, #no-thumbs-div, .home-scene, .full-scene, .crop-scene, .slideshow-scene {
	height: 100%;
}

#no-albums-div {
	width: 100%;
	position:fixed;
}

.full-scene, .crop-scene, .slideshow-scene {
	background: black;
}

.large-photos-icon {
  width: 128px;
  height: 128px;
  background: url(../images/empty-photo-library.png) bottom center no-repeat;
  margin: 0 auto;
}
 
.domain-text {
	font-size: 18px;
	padding-top: 5px;
	display: block;
}
.login-text {
  	font-size: 14px;
	color: #999;
	display: block;
}

.button.icon {
	width: 32px;
	height: 32px;
	margin: 10px 8px 10px 12px;
	background: url(../images/icon-local.png) center center no-repeat;
	float: left;
}

.palm-page-header .icon,
.palm-page-header.multi-line .icon {
	background-image: url(../images/header-icon-photos.png);
}

.palm-account-icon.system { background: url(../images/header-icon-prefs.png) center center no-repeat;}
.palm-account-icon.wallpaper { background: url(../images/list-icon-wallpaper.png) center center no-repeat;}
.palm-account-icon.contact { background: url(../images/list-icon-contact.png) center center no-repeat;}

.palm-page-header.photo-header.multi-line {
	top: 28px;
	-webkit-border-image: url(../images/photos-header.png) 24 24 24 24 stretch stretch;     
	border-width: 24px;
}

.photo-header {
	position: fixed;
	width: 100%;
	z-index: 56;
	top: 0px;
	left: 0px;
}

.photo-header-wrapper .album-name {
	font-size: 16px;              
	padding-right: 15px;
	font-weight: bold;
}

.no-account {
	color: #888;
}

.no-fade-dock { /* this class looks to only be generated by the dock-slideshow-model.js file, can't find any other way way to make this adjustment without !important */
	bottom: 28px !important;
}