@card-width: 250px;
@card-height: @card-width;

flippy {
	&.fancy {
		float: left;
		margin: 0 10px 10px 0;
		position: relative;
		font-size: .8em;
		cursor: pointer;
		width: @card-width;
		height: @card-height;

		img {
			height: 100%;
			width: 100%;
		}

		flippy-front {
			float: none;
			position: absolute;
			top: 0;
			left: 0;
			z-index: 900;
			width: inherit;
			height: inherit;
			border: 1px solid #ccc;
			background: white;
			text-align: center;
			box-shadow: 0 1px 5px rgba(0,0,0,0.9);

			&.flipped {
				border-color: #eee;
				/*background: #333;*/
				box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
			}
		}

		flippy-back {
			float: none;
			position: absolute;
			top: 0;
			left: 0;
			z-index: 800;
			width: inherit;
			height: inherit;
			border: 1px solid #ccc;
			background: white;
			text-align: center;
			box-shadow: 0 1px 5px rgba(0,0,0,0.9);

			&.flipped {
				/*background: #80868d;*/
				box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
			}
		}
	}
}