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

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

.palm-header-button {
    font-weight: bold;
    -webkit-border-image: url(../images/header-button.png) 0 20 40 20 repeat repeat;
    border-width: 0px 20px;
    margin: 4px 0px 0px -12px;
    height: 40px;
    line-height: 40px;
    display: inline-block;
    font-size: 16px;

	max-width: 70%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.palm-header-button.selected {
    -webkit-border-image: url(../images/header-button.png) 40 20 0 20 repeat repeat;
}

/* 
 * Albums View Styles 
 */

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

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

.albums-view-row.all-images .album-thumbnails {
	margin-top: -2px;
}

.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;
	font-size: 16px;
}              
.fp-image-list .album-thumbnails {
	height: 80px;
	width: 140px;
	float: right;
	position: relative;
	top: 0px;
}

.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-image: url(../images/thumbnails-overlay-set0-show1.png);
}
.angle-set-0.show-thumb-2 .album-thumbnails-overlay {
	background-image: url(../images/thumbnails-overlay-set0-show2.png);
}
.angle-set-0.show-thumb-3 .album-thumbnails-overlay {
	background-image: url(../images/thumbnails-overlay-set0-show3.png);
}

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

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

.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);	
}

 /*Styles for Thumbnail View*/ 

.fp-image-thumbnail .thumbnail-grid .palm-list .row {
	border: none;
	background: none;
	padding: 0px;
	margin: 15px 6px;
}
.fp-image-thumbnail .thumbnail-grid .single-item-hidden {
	display: none;
}

.fp-image-thumbnail .thumbnail-grid .single-item {
	display: inline-block;
	position: relative;
	margin-right: 8px;
}

.fp-image-thumbnail .thumbnail-grid .single-item .image-overlay {
	width: 102px;
	height: 102px;
	background: url(../images/fp-image-thumbnail/image-overlay.png) center top no-repeat;
	position: absolute;
	z-index: 20;
	overflow: hidden;
}

.fp-image-thumbnail .thumbnail-grid .single-item .image-overlay.selected {
	background-position: center bottom;
}

.fp-image-thumbnail .thumbnail-grid .single-item .image-mask {
	width: 90px;
	height: 90px;
	overflow: hidden;
	z-index: 10;	
}
.fp-image-thumbnail .thumbnail-grid .single-item  .image-mask .image-src {
	left: 6px;
	top: 5px;
	width: 90px;
	height: 90px;
	background-position: center center;
	background-repeat: no-repeat;
	overflow: hidden;
	position: absolute;
	-webkit-background-size: auto;
	-webkit-border-radius: 3px;
	z-index: 5;
}

.fp-image-thumbnail .thumbnail-grid .single-item .image-mask .image-src.portrait {
	-webkit-background-size: 100% auto;
}

.fp-image-thumbnail .thumbnail-grid .single-item  .image-mask .image-src.landscape {
	-webkit-background-size: auto 100%;
}


.fp-image-thumbnail .thumbnail-grid .single-item img {
    /* intentionally left blank */
}

.fp-image-thumbnail .thumbnail-grid .single-item .image-name {
	font-size: 14px;
	/*display: none;*/
	height: 23px;
	width: 100px;
	text-align: center;
	color: #77787b;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
/* Styles for Full Image View */
.fp-image-full {
	width: 100%;
	height: 100%;
	background-color: black;
}

.fp-image-full .palm-button {
	text-align: left;
}

.fp-image-full .palm-button .palm-filepicker-attach-icon {
	width: 20px;
	height: 20px;
	background: url(../images/fp-image-full/attach-icon.png) no-repeat;
	display: inline;
	float: right;
	margin-top: 8px;
}

.fp-image-full .scrolling-contents {
	background-color: black;
}

/*Common App Specific Styles*/

.photo-wallpaper {                                                
	position: fixed;      
	width: 100%;
	height: 480px;
	top: 0;
	left: 0;    
	z-index: -100;
	background: #000 url(../images/background.png) no-repeat;
}

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

/*Page Fades*/

.photos-fade-bottom {
	height: 38px;
	width: 100%;
	background: url(../images/bottom-page-fade.png) repeat-x;
	position: fixed;
	bottom: 0px;
	left: 0px;
	z-index: 999;        	
	-webkit-palm-mouse-target: ignore;
}

.photos-fade-top {
	height: 38px;
	width: 100%;
	background: url(../images/top-page-fade.png) repeat-x;
	position: fixed;
	top: 0px;
	left: 0px;
	z-index: 999;       
	-webkit-palm-mouse-target: ignore;
}

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

.large-photos-icon {
  width: 128px;
  height: 128px;
  background: url(../images/empty-photo-library.png) bottom center no-repeat;
  margin: 0 auto;
}
 
.palm-row .icon.photobucket {
	width: 60px;
	background: url(../images/list-icon-photobucket.png) center center no-repeat;
}

.palm-row .icon.facebook {
	width: 60px;
	background: url(../images/list-icon-facebook.png) center center no-repeat;
}

/*Overriding Framework Style for Popup Placement and Size for Landscape*/
.fullscreen-scene .palm-popup-container .palm-popup-content .palm-row .icon {
	width: 40px;
	padding-left: 15px;
}

.fullscreen-scene .palm-popup-container .palm-popup-content .palm-row.accounts-entry .title {
	padding-left: 0px;
}

.fullscreen-scene .palm-popup-container .palm-popup-content {
	width: 280px;
}

.fullscreen-scene .palm-popup-container .palm-popup-content .palm-popup-icon.right {
	float: left;
	margin-right: 0px;
	margin-left: 14px;
	height: 52px;
}

.domain-text {
	font-size: 18px;
	padding-top: 5px;
	display: block;
}
.login-text {
  	font-size: 14px;
	color: #999;
	display: block;
}

.add-account-button-label {
    text-align: left;
}

.account-list.icon {
	width: 32px;
	height: 50px;
	float: left;
}

.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);
}
.icon.facebook,
.palm-popup-icon.right.facebook {
	background-image: url(../images/list-icon-facebook.png);
}
.icon.photobucket,
.palm-popup-icon.right.photobucket {
	background-image: url(../images/list-icon-photobucket.png);
}

.palm-page-header .icon.facebook {
	background-image: url(../images/list-icon-facebook.png);
}
.palm-page-header .icon.photobucket {
	background-image: url(../images/list-icon-photobucket.png);
}

/*
 * Feedback Pill Specific Styles
 */
 
.feedback {
    position: fixed;
    width: 100%;
    z-index: 55;
    left: 0;
    bottom: 2px;
    -webkit-box-sizing: border-box;
    padding: 0 47px;
}
 
.feedback-pill-background {
  width: 100%;
  height: 50px;
  border-width: 0px 25px 0 25px;
  -webkit-border-image: url(../images/feedback-pill.png) 0 25 0 25 repeat repeat;
  -webkit-box-sizing: border-box;
}

.feedback-pill-background.frame1 {
  -webkit-border-image: url(../images/feedback-pill-1.png) 0 25 0 25 repeat repeat;
}
.feedback-pill-background.frame2 {
  -webkit-border-image: url(../images/feedback-pill-2.png) 0 25 0 25 repeat repeat;
}
.feedback-pill-background.frame3 {
  -webkit-border-image: url(../images/feedback-pill-3.png) 0 25 0 25 repeat repeat;
}
.feedback-pill-background.frame4 {
  -webkit-border-image: url(../images/feedback-pill-4.png) 0 25 0 25 repeat repeat;
}
.feedback-pill-background.frame5 {
  -webkit-border-image: url(../images/feedback-pill-5.png) 0 25 0 25 repeat repeat;
}
.feedback-pill-background.frame6 {
  -webkit-border-image: url(../images/feedback-pill-6.png) 0 25 0 25 repeat repeat;
}
.feedback-pill-background.frame7 {
  -webkit-border-image: url(../images/feedback-pill-7.png) 0 25 0 25 repeat repeat;
}
.feedback-pill-background.frame8 {
  -webkit-border-image: url(../images/feedback-pill-8.png) 0 25 0 25 repeat repeat;
}
.feedback-pill-background.frame9 {
  -webkit-border-image: url(../images/feedback-pill-9.png) 0 25 0 25 repeat repeat;
}

.feedback-pill-content {
	position: relative;
	margin: 0px 0px 0px 15px;
	padding-right: 10px;
}

.feedback-pill-content .feedback-filename {
	color: white;
	font-size: 16px;
	line-height: 50px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.feedback-spinner {
	margin-top: 8px;
	margin-right: -22px;
	float: right;
}

.feedback-pill-content .checkmark.feedback-checkmark {
	height: 50px;
	margin-right: -22px;
	margin-left: 5px;
}

.feedback-pill-content .palm-account-icon {
	height: 50px;
	float: left;
	margin-left: -22px;
	margin-right: 5px;
}

.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-comment-header.multi-line {
	-webkit-border-image: url(../images/photos-header-gray.png) 35 24 13 24 repeat stretch;
}
                                           
.palm-page-header.album-header.multi-line,
.palm-page-header.photo-header.multi-line {
	-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 {
	margin: -24px -4px;
	position: relative;
	font-weight: normal;
	color: #FFF;
}                        

.comment-header-wrapper {
	margin: -35px -24px -13px -24px;
	position: relative;
	font-weight: normal; 
	color: #FFF;
	min-height: 52px;
	padding: 13px 16px 5px;
}

.comment-header-wrapper {
	padding: 0px 0px 0px 2px;
}

.photo-header-wrapper .album-name {
	font-size: 16px;
	font-weight: bold;
	line-height: 50px;
}

.photo-header-wrapper .photo-count {
	float: right;
	margin-top: 12px;
	margin-right: -5px;
	-webkit-border-image: url(../images/number-bubble.png) 12 12 11 11 stretch stretch;
	-webkit-box-sizing: border-box;
	border-width: 12px 12px 11px 11px;
}

.photo-header-wrapper .photo-count .photo-count-wrapper {
	margin: -10px -3px -7px;
	color: #FFF;
	font-size: 15px;
	text-align: center;
}

.photo-header-wrapper .album-description {
	clear: both;
	font-size: 14px;
	margin: 4px 0px 12px;
}

.comment-header-wrapper .media-photo {
	padding: 10px 0 0 4px;
}

.fold-button {
	display: block;
}

.comment-header-wrapper .media-photo {
	min-height: 90px;
}

.comment-header-wrapper .album-cont {
	position: relative;
	display: inline-block;	
	min-height: 90px;
	float: left;
}

.comment-header-wrapper .thumb-border {
	position: absolute;
	top: 0px;
	left: 0px;
	-webkit-border-image: url(../images/photo-frame.png) 10 10 10 10 round round;
	border-width: 10px;
	padding: 0;
	margin: 0;
	width: 68px;
	height: 68px;
}           

.comment-header-wrapper .album-cover {
	overflow: hidden;
	position: absolute;
	background-repeat: no-repeat;
	background-position: center center;
	-webkit-background-size: auto;
	top:3px;
	left: 4px;
	width: 80px;
	height: 80px;
}

.comment-header-wrapper .album-desc {
	margin:0 10px 0 95px;
	font-size: 16px;
}                     

.avatar-container {
	position: relative;
	width: 53px;
}

.avatar-location {
	position: absolute;
	top: 3px;
	right: 6px;
}

.avatar-overlay {
	position: absolute;
	top: 0px;
	right: 2px;
	width: 42px;
	height: 42px;                             
	background: url(../images/photo-frame.png) left top no-repeat;
}


/* Accordion */
.photo-accordion {
	position: absolute;
	top:0px;
	left: 0px;
	width: 320px;
/*	-webkit-transition-property: opacity;
	-webkit-transition-duration: 1s;
	-webkit-transition-timing-function: linear;
*/	
}

.photo-accordion.selected .fold {
	height: 480px;
}

.photo-accordion.selected .fold-button {
	opacity: 0;
}

.photo-accordion .fold {
	background: #000 url(../images/accordion.png) center center no-repeat;
	-webkit-background-size: 100%;
	width: 100%;
	height: 48px;
	display: block;
/*
	-webkit-transition-property: height;
	-webkit-transition-duration: 1s;
	-webkit-transition-timing-function: linear;
	*/
}

.photo-accordion .fold-button {
	-webkit-box-sizing: border-box;
	-webkit-border-image: url(../images/accordion-button-press.png) 13 13 13 13 round round;
	-webkit-border-image: url(../images/accordion-button.png) 13 13 13 13 round round;
	border-width: 13px 13px;
	font-size: 12px;
	margin: 0px auto;
	padding: 2px 5px;
	bottom: 10px;
	right: 20px;
	display: inline-block;
	position: absolute;
/*	-webkit-transition-property: opacity;
	-webkit-transition-duration: .5s;
*/	opacity: 1;
	
}

.photo-accordion .fold-button.selected {
	-webkit-border-image: url(../images/accordion-button-press.png) 13 13 13 13 round round;
}

.photo-accordion .fold-button div {
	margin: -13px -13px -15px;
	font-weight: bold;
	text-transform: uppercase;	
	line-height: 13px;
	padding: 6px 5px;
	color: #666;
}

.photo-accordion.hide {
	display:none;
}

.detail-comments {
	position: relative;
	min-height: 48px;
	width: 100%;
}

.photo-comment-list {
/*	z-index: 10;*/
	position: absolute;
	top:0px;
	left: 0px;
	width: 100%;
	opacity: 1;
	padding-top: 5px;
	padding-bottom: 70px;
	background-color: #e4e4e2;
}

.photo-comment-list.preview {
	top: 48px;
}

.photo-comment-list.shift {
	-webkit-transition-property: top;
	-webkit-transition-duration: 1s;
	-webkit-transition-timing-function: linear;
	top: 480px;
}

/* Messaging chatview style fixed text field  Start*/

.photo-comment #comment-text-container {
	position: fixed;
	bottom:0px;
	left:0px;
	width: 320px;
/*	z-index: 50;*/
}

.photo-comment #comment-text-container #messageTextWidget {
	margin-top: 5px;
}

.photo-comment #comment-text-container textarea {
	height:24px;
}

.photo-comment #comment-text-container.palm-row .icon.right {
	height: 61px;
}

.photo-comment .stuck.sendButton {
	background: url(../images/msg-send-airplane-press.png) top left no-repeat;	
	background: url(../images/msg-send-airplane.png) top left no-repeat;
	width: 48px;
	padding: 0;
	margin: 0px;
	height: 48px;
	position: absolute;
	bottom: 6px;
	right:6px;
}
.photo-comment .stuck.sendButton.selected {
	background: url(../images/msg-send-airplane-press.png) top left no-repeat;	
}
.photo-comment .stuck.attachButton {
	background: url(../images/fb-btn-like-press.png) top left no-repeat;
	background: url(../images/fb-btn-like.png) top left no-repeat;
	width: 48px;
	padding: 0;
	margin: 0px;
	height: 48px;
	position: absolute;
	bottom: 6px;
	right:6px;
}
.photo-comment .stuck.attachButton.selected {
	background: url(../images/fb-btn-like-press.png) top left no-repeat;
}
/*.photo-comment #ActionButton > div {
  display:none;
}  
*//*#ActionButton.empty > #AttachButton {
  display:block;
}
*/

.photo-comment #ActionButton > #SendButton {
  display:block;
}

.photo-comment #ActionButton.invisible {
  visibility: hidden;
}	  
		
.photo-comment .comment-text-widget {
	overflow: hidden; 
	max-height: 220px; /*HACK: We need a different way to limit the max height so that this is compatible across devices with different screen sizes*/
}

/* Messaging chatview style fixed text field  Stop*/
