/*!
 * iTunesAlbums.css
 */

body {
	overflow-x: hidden;
	overflow-y: scroll;
	padding-top: 0px;
	background-color: #F9F8F9;
	-webkit-overflow-scrolling: touch;
}

.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
		padding-right: 11px;
		padding-left: 11px;
}

.container {
	padding-right: 30px;
	padding-left: 30px;
}

.navbar {
	margin-bottom:0px;
}

/* list-header
================================= */
.list-header {
	padding-top: 6px;
	padding-right: 20px;
	padding-bottom: 8px;
	padding-left: 20px;
	border-bottom: 2px solid #ADACAD;
	background-color: #FDFDFD;
}
.list-header h3 {
	margin:0;
	font-size: 20px;
}

.list-header-fixed-top {
	position: fixed;
	top: 51px;
	right: 0;
	left: 0;
	z-index: 1030;
}

/* list-content
================================= */
.list-content {
	background-color: #F9F8F9;
}

.album-row {
	padding-top: 0px;
	padding-right: 5px;
	padding-left: 5px;
}

.album-container {
	margin:auto;
	padding-top: 20px;
	
	/* fixed width for extra small devices) */
	width:136px;
}

/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) {
	.album-container {
		width:100%;
	}
}

.img-album-container {
	position:relative;
	/* fixed height for extra small devices) */
	height: 117px;
}

/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) {
	.img-album-container {
		height:132px;
	}
}

/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) {
	.img-album-container {
		height:112px;
	}
}

/* Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
	.img-album-container {
		height:141px;
	}
}

.img-album {
	position: absolute;
	bottom:0px;
	display: inline-block;
	margin-right:7%;
	margin-left:7%;
	border: 1px solid #777777;
	background-color: #F7F6F8;
	box-shadow: 0 3px 7px #888;
	cursor:pointer;
	
	-webkit-transition: -webkit-transform 0.25s ease-out;
	transition: transform 0.25s ease-out; 
}
/* Extra small devices (phones, less than 768px) */
/* No media query since this is the default in Bootstrap */
.img-album {
	width:117px;
}

/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) {
	.img-album {
		width:132px;
	}
}

/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) {
	.img-album {
		width:112px;
	}
}

/* Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
	.img-album {
		width:141px;
	}
}

.img-album.selected {
	-webkit-transform:scale(1.16);
	transform:scale(1.16);
}

.album-name{
	overflow: hidden;
	margin-top:5px;
	margin-right:7%;
	margin-bottom: 0;
	margin-bottom: 0;
	margin-left:7%;
	padding-bottom: 1px;
	text-overflow: ellipsis;
	white-space : nowrap;
	line-height: 1;
	font-weight:bold;
	transition: all 0.25s ease-out;	
	/* prevent safari transition flickering */
	-webkit-backface-visibility: hidden;
	-webkit-perspective: 1000;
}

.album-name.selected{
	margin-right:0;
	margin-left:0;
}

.artist-name {
	position: relative;
	z-index: 5;
	overflow: hidden;
	margin-top: 0;
	margin-right:7%;
	margin-bottom: 10px;
	margin-left:7%;
	text-overflow: ellipsis;
	white-space : nowrap;
	line-height: 1;
	opacity: 1;
	transition: all 0.25s ease-out;
	/* prevent safari transition flickering */
	-webkit-backface-visibility: hidden;
	-webkit-perspective: 1000;
}

.artist-name.selected {
	margin-right:0;
	margin-left:0;
	opacity: 0;
}
/* album-plate
================================= */

/* z-index
 1: .album-plate-container
 0: .album-plate-container-alt

 2: .album-plate-arrow-cover
 1: .album-plate-arrow
 0: .album-plate

 0: .album-plate-content
-1: .album-plate-img
*/


.album-plate-container,
.album-plate-container-alt {
	position:relative;
	z-index: 1;
	margin-right:-20px;
	margin-left:-20px;
}

.album-plate-container-alt {
	z-index: 0;
}

.album-plate {
	position: relative;
	z-index:0;
	display: block;
	overflow:hidden;
	max-height:0px;
	border-right: 1px solid #ccc;
	border-bottom: 0px solid #ccc; 
	border-left: 1px solid #ccc;
	background-color: #8BBB7A;
	
	box-shadow: inset 0px 5px 6px -6px rgba(0, 0, 0, .8);
	text-align: left;
	white-space: normal;
	
	transition: max-height 0.25s ease-out, 0.25s border-bottom ease-out 0.01s;

	-webkit-transform: translate3d(0, 0, 0);
	-webkit-backface-visibility: hidden;
	-webkit-perspective: 1000;
}

.album-plate.open {
	display: block;
	max-height: 336px;
	border-right: 1px solid #aaa;
	border-bottom: 1px solid #aaa;
	border-left: 1px solid #aaa;
	transition: background-color 0.25s ease-out, max-height 0.25s ease-out, 0.25s border-bottom ease-out 0.01s;
}

.close-button{
	float:left;
	margin-top: 8px;
	margin-left: 5px;
	font-size: 18px;
}

/* album-plate-arrow
================================= */

.album-plate-arrow,
.album-plate-arrow-alt{
	position: relative;
	top: -9px; left: 124px;
	z-index: 1;
	margin-bottom: -20px;
	width: 20px;
	height: 20px;
	background-color: #8BBB7A;
	box-shadow: inset 4px 4px 8px -6px rgba(0, 0, 0, .8);
	content: '';
	
	opacity: 1;
	transition: top 0.25s ease-out, opacity 0.01s ease-out;
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
}

.album-plate-arrow.open,
.album-plate-arrow-alt.open{
	opacity: 1;
	transition: background-color 0.25s ease-out, top 0.25s ease-out, opacity 0.01s ease-out;
}

.album-plate-arrow.duck,
.album-plate-arrow-alt.duck{
	top:6px;
	box-shadow: inset 4px 4px 8px -6px rgba(0, 0, 0, .0);
	opacity: 0;
	transition: background-color 0.25s ease-out, top 0.25s ease-out, box-shadow 0.25s ease-out, opacity 0.01s ease-out 0.25s;
}

.album-plate-arrow-cover{
	position: absolute;
	bottom: -12px; left: 124px;
	z-index: 2;
	width:22px;
	height:22px;
	border-top: 0px solid #aaa;
	border-left: 0px solid #aaa;
	background-color:#F9F8F9;
	content: '';
	opacity: 1;
	
	transition: opacity 0.00s ease-out, top 0.25s ease-out, border 0.25s ease-out 0.01s;
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
}

.album-plate-arrow-cover.open{
	border-top: 1px solid #aaa;
	border-left: 1px solid #aaa;
	opacity: 0;

	transition: top 0.25s ease-out, border 0.01s ease-out, opacity 0.25s ease-out 0.25s;
}

/* album-plate-content
================================= */

.album-plate-content {
	z-index: 0;
	margin-top: 26px;
	width: 100%;
}

.album-plate-left-text {
	overflow-x: hidden;
	margin-left: 42px;
	padding-right: 42px;
	min-width:268px;
	height:300px;
}

.two-column {
	-webkit-column-count: 2;
	-moz-column-count: 2;
	column-count: 2;
}

.album-plate-img-wrap {
	float: right;
	box-shadow: inset 16px 16px 25px #8BBB7A;
	text-align: right;
	transition: box-shadow 0.25s ease-out;
}

.album-plate-img {
	position: relative;
	z-index: -1;
	display: block;
	max-width: 300px;
	width: 100%;
	opacity: 0.7;
}

.album-plate .first-color {
	color: #533C31;
}

.album-plate .second-color {
	color: #3F4149;
}

.album-plate .ap-album-name {
	margin-bottom: 0;
	font-size: 20px;
	line-height: 1.3;
}
.album-plate .ap-artist-name {
	margin-bottom: 0;
	font-size: 15px;
	line-height: 1.3;
}

.album-plate .ap-track-name {
	margin-bottom: 0;
	padding-bottom: 10px;
	font-size: 13px;
}

.album-plate .ap-album-review p {
	font-size: 14px;
	line-height: 1.8;
}
