@charset "UTF-8";
/* CSS Document */

*, *:before, *:after {
	-moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
}

html, body {
	width: 100%;
	margin: 0;
	padding: 0;
	background: #050c2e;
}

img {
	border: 0;
	margin: 0;
}

a:active {
	outline: none;
}

#wrapper {
	max-width: 1280px;
	margin: auto;
}

#navigation ul {
	margin: 1em auto;
	padding: 0;
	list-style: none;
	text-align: center;
}

#navigation ul li {
	display: inline-block;
	width: 32px;
	height: 32px;
	margin: 0 5px;
	padding: 0;
	background-color: rgba(255,255,255,.1);
	border-radius: 2px;
	background-repeat: no-repeat;
	background-position: center center;
}

#navigation ul li:hover {
	cursor: pointer;
}

#navigation ul li.desc {
	background-image: url(../images/layout/sort_desc.svg);
}

#navigation ul li.asc {
	background-image: url(../images/layout/sort_asc.svg);
}

#navigation ul li.random {
	background-image: url(../images/layout/sort_random.svg);
}

ul#grid {
	clear: both;
	margin: 0;
	padding: 0;
	list-style: none;
	text-align: center;
}

li.event {
	position: relative;
	z-index: 1;
	opacity: 0;
    display: none;
    margin: 0 10px 20px;
}

li.event.current {
	cursor: pointer;
	z-index: 10;
}

.artwork {
	position: relative;
	width: 100%;
	height: 100%;
	-webkit-transform-style: preserve-3d;
	   -moz-transform-style: preserve-3d;
		-ms-transform-style: preserve-3d;
            transform-style: preserve-3d;
	-webkit-transition: all .5s ease-out;
	   -moz-transition: all .5s ease-out;
  	    -ms-transition: all .5s ease-out;
  		    transition: all .5s ease-out;
}
.artwork.flipped {
	-webkit-transform: rotateY(-180deg);
       -moz-transform: rotateY(-180deg);
        -ms-transform: rotateY(-180deg);      
            transform: rotateY(-180deg);
}

.artwork img {
	display: block;
	width: 400px;
	height: 400px;
	box-shadow: 0 0 10px rgba(0,0,0,.35);
	-webkit-transition: all .2s ease-in-out;
	   -moz-transition: all .2s ease-in-out;
	    -ms-transition: all .2s ease-in-out;
	        transition: all .2s ease-in-out;
}

.artwork .face {
	position: relative;
	z-index: 2;
	-webkit-backface-visibility: hidden;
	   -moz-backface-visibility: hidden;
		-ms-backface-visibility: hidden;
			backface-visibility: hidden;
}

.artwork .back {
	display: block;
	position: absolute;
	z-index: 1;
	top: 0;
	left: 0;
	-webkit-transform: rotateY(180deg);
       -moz-transform: rotateY(180deg);
        -ms-transform: rotateY(180deg);      
            transform: rotateY(180deg);
}

li.event:hover .artwork img {
	-webkit-transform: scale(1.1);
	   -moz-transform: scale(1.1);
	    -ms-transform: scale(1.1);
			transform: scale(1.1);
}

/**
 * Social
 */

#social {
	position: relative;
	clear: both;
	margin: 0;
	padding: 1em 0 2em;
	text-align: center;
}

#sharefacebook,
#sharetwitter {
	display: inline-block;
	margin: 0 10px;
}

/**
 * Responsive
 */

@media only screen and (max-width:768px) {

	li.event {
		margin: 0 5px 10px;
	}

	.artwork img {
		display: block;
		width: 300px;
		height: 300px;
	}

}

@media only screen and (max-width:480px) {

	li.event:hover .artwork img {
		-webkit-transform: none;
		   -moz-transform: none;
		    -ms-transform: none;
				transform: none;
	}

}
