body		{background:#999;margin:0}
#container	{margin:0px auto;position:relative;background:#FFF}
#header		{ background: url('../images/clouds-seamless.jpg'); }
#footer		{clear:both;min-height:25px;background:#FFF}
#byline		{text-align:center;font-size:9px;padding:3px}
#byline a	{text-decoration:none;color:#666}
#byline a:hover	{text-decoration:underline}

#header h1	{ 
	font-size: 4em;
	color: white;
	text-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
	text-align: center;
	line-height: 2em;
	margin: 0;
}
#header {
	background-repeat: repeat-x;
	animation: slideby 120s linear infinite;
	height: auto;
}
@keyframes slideby {
  from { background-position: 0px 100%; }
  to { background-position: -2288px 100%; }
}


body {
	font: 1em/1.67 'Open Sans', Arial, Sans-serif;
	margin: 0;
	background: #e9e9e9;
}

.wrapper {
    width: 95%;
    margin: 3em auto;
}

.wrapper:after {
	content: "";
	display: table;
	clear:both;
}

.masonry {
    margin: 1.5em 0;
    padding: 0;
    -moz-column-gap: 1.5em;
    -webkit-column-gap: 1.5em;
    column-gap: 1.5em;
    font-size: .85em;
}

.item {
    display: inline-block;
    background: #fff;
    padding: 1em;
    margin: 0 0 1.5em;
    width: 100%;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-shadow: 2px 2px 4px 0 #ccc;
}

.item img {
	width: 100%;
}

.cover	{
	position: fixed;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.8); 
	top: 0px;
	left: 0px;
	display: none;
}

#login	{
	width: 300px;
	padding: 15px;
	position: absolute;
	border: 1px solid gray;
	border-radius: 10px;
	-webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0px auto;
	background: #f6f6f6;  
	display: none;
}

#cancelme	{
	background: #666;
	color: white;
	font-size: 1.4em;
	width: 1.4em;
	text-align: center;
	position: absolute;
	display: inline-block;
	top: -15px;
	right: -10px;
	padding: 0px 3px;
	border-radius: 5px;
	cursor: pointer;
}

@media screen and (max-width: 320px), (-webkit-min-device-pixel-ratio: 2) and (max-width: 640px), (min-resolution: 192dpi) {
    .masonry {
        -moz-column-count: 1;
        -webkit-column-count: 1;
        column-count: 1;
    }
}

@media only screen and (min-width: 400px) {
    .masonry {
        -moz-column-count: 2;
        -webkit-column-count: 2;
        column-count: 2;
    }
}

@media only screen and (min-width: 700px) {
    .masonry {
        -moz-column-count: 3;
        -webkit-column-count: 3;
        column-count: 3;
    }
}

@media only screen and (min-width: 900px) {
    .masonry {
        -moz-column-count: 4;
        -webkit-column-count: 4;
        column-count: 4;
    }
}

@media only screen and (min-width: 1100px) {
    .masonry {
        -moz-column-count: 5;
        -webkit-column-count: 5;
        column-count: 5;
    }
}

@media only screen and (min-width: 1280px) {
    .wrapper {
        width: 1260px;
    }
}
