* {
	padding: 0px;
	margin: 0px;
	border: none;
}

body {
	padding: 10px;
	font-size: 13px;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: 100;
	letter-spacing: 0.2em;
	color: #666;
	background-color: #e9e9e9;
}

#container {
	margin: 0 auto;
}

.item {
	border: 1px solid #dedede;
	background-color: #ffffff;
	border-radius: 2px;
	padding: 10px;
	margin: 3px;
	float: left;
	width: 260px;
	min-height: 100px;
	background-image: url(../img/wait.gif);
	background-position: center center;
	background-repeat: no-repeat;
}

.item:hover {
	border: 1px solid #cccccc;
}

.item a {
	width: 100%;
	display: block;
	line-height: 0;
}

.item img {
	opacity: 0;
    -moz-transition: opacity .5s ease-out;
    -webkit-transition: opacity .5s ease-out;
    -o-transition: opacity .5s ease-out;
    transition: opacity .5s ease-out;
}

img.loaded {
	opacity: 1;
}

#fullscreen {
	display: none;
	position: fixed;
	z-index: 11;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #000;
	background-color: rgba(0,0,0,0.8);
	text-align: center;
	cursor: pointer;
}

#fullscreen img {
	position: relative;
	z-index: 21;
	max-width: 100vw;
	max-height: 100vh;
	margin: 0;
	max-width: calc(100vw - 20px);
	max-height: calc(100vh - 20px);
	margin: calc(20px / 2);
	box-shadow: 0 0 0 1px rgba(0,0,0,.2), 0 1px 12px rgba(0,0,0,.4);
	border-radius: 4px;
}

.loader {
	position: absolute;
	z-index: 20;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}

.sk-cube-grid {
	position: relative;
	top: 50%;
	left: 50%;
	width: 40px;
	height: 40px;
	margin-top: -20px;
	margin-left: -20px;
}

.sk-cube-grid .sk-cube {
  width: 33%;
  height: 33%;
  background-color: #e9e9e9;
  float: left;
  -webkit-animation: sk-cubeGridScaleDelay 1.3s infinite ease-in-out;
          animation: sk-cubeGridScaleDelay 1.3s infinite ease-in-out; 
}
.sk-cube-grid .sk-cube1 {
  -webkit-animation-delay: 0.2s;
          animation-delay: 0.2s; }
.sk-cube-grid .sk-cube2 {
  -webkit-animation-delay: 0.3s;
          animation-delay: 0.3s; }
.sk-cube-grid .sk-cube3 {
  -webkit-animation-delay: 0.4s;
          animation-delay: 0.4s; }
.sk-cube-grid .sk-cube4 {
  -webkit-animation-delay: 0.1s;
          animation-delay: 0.1s; }
.sk-cube-grid .sk-cube5 {
  -webkit-animation-delay: 0.2s;
          animation-delay: 0.2s; }
.sk-cube-grid .sk-cube6 {
  -webkit-animation-delay: 0.3s;
          animation-delay: 0.3s; }
.sk-cube-grid .sk-cube7 {
  -webkit-animation-delay: 0s;
          animation-delay: 0s; }
.sk-cube-grid .sk-cube8 {
  -webkit-animation-delay: 0.1s;
          animation-delay: 0.1s; }
.sk-cube-grid .sk-cube9 {
  -webkit-animation-delay: 0.2s;
          animation-delay: 0.2s; }

@-webkit-keyframes sk-cubeGridScaleDelay {
  0%, 70%, 100% {
    -webkit-transform: scale3D(1, 1, 1);
            transform: scale3D(1, 1, 1);
  } 35% {
    -webkit-transform: scale3D(0, 0, 1);
            transform: scale3D(0, 0, 1); 
  }
}

@keyframes sk-cubeGridScaleDelay {
  0%, 70%, 100% {
    -webkit-transform: scale3D(1, 1, 1);
            transform: scale3D(1, 1, 1);
  } 35% {
    -webkit-transform: scale3D(0, 0, 1);
            transform: scale3D(0, 0, 1);
  } 
}