html, body
{
	height: 100%;
}

body {
	background: #000;
	font-family: Arial, Helvetica, sans-serif;
	margin:	0;
	background: url(img/wood.jpg) repeat-x;
}

/*
 * Main content
 */
.main {
	width: 960px;
	margin: auto;
}
.main h2 {
	color: #bbb;
}
.main a {
	color: #eee;
	text-decoration: none;
}
.main a:hover {
	text-decoration: underline;
}
.main a:visited {
	color: #ccc;
	text-decoration: underline;
}

.icon
{
	padding: 0.5em;
	height: 1em;
	color: rgba(255,255,255,0.6);
	font-weight: normal;
	background-size: 100%;
	background-position: 50% 50%;
	background-repeat: no-repeat;
	margin-right: 0.5em;
}

.arrow { background-image: url(img/arrow.svg);}

.zip
{
	padding: 0em 0.25em;
	height: 1.25em;
	width: 2em;
	background-size: 50%;
	background-position: 50% 50%;
	background-repeat: no-repeat;
	background-image: url(img/zip.svg);
	float: right;
      filter: url(filters.svg#grayscale); /* Firefox 3.5+ */
      filter: gray; /* IE5+ */
      -webkit-filter: grayscale(1); /* Webkit Nightlies & Chrome Canary */
      -webkit-transition: all .1s ease-in-out;
}

.zip:hover
{
      filter: none;
      -webkit-filter: grayscale(0);
	   transform:					scale(2.0,2.0);
	   z-index: 1000;
}

a.tooltip {
  position: relative;
  text-decoration: none;
}
a.tooltip:after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 0%;
  background: #ffcb66;
  padding: 5px 15px;
  color: black;
  -webkit-border-radius: 10px;
  -moz-border-radius : 10px;
  border-radius : 10px;
  white-space: nowrap;
  opacity: 0;
  -webkit-transition: all 0.4s ease;
  -moz-transition : all 0.4s ease;
  transition : all 0.4s ease;
}
a.tooltip:before {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-top: 20px solid #ffcb66;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  -webkit-transition: all 0.4s ease;
  -moz-transition : all 0.4s ease;
  transition : all 0.4s ease;
  opacity: 0;
  left: 0%;
  bottom: 90%;
}

a.tooltip:hover:after {
  bottom: 100%;
}
a.tooltip:hover:before {
  bottom: 70%;
}
a.tooltip:hover:after, a:hover:before {
  opacity: 1;
}


/*
 * Path
 */
.path {
	color: #777;
	font-weight: normal;
	letter-spacing: 1px;
	background-color: rgba(75,100,128,0.5);
}
.path a {
	color: #aaa;
}
.path a:last-of-type {
	color: #fff;
}
.path a:hover {
	color: #fff;
	text-decoration: none;
}

/*
 * Galleries list
 */
.gallery_list {
	color: #333;
	border: 2px solid #444;
	padding: 15px;
	margin-top: 20px;
	background-color: rgba(0,0,0,0.25);
	box-shadow:					0.1em 0.1em 0.4em rgba(0,0,0,0.75);
	border:						1px solid rgba(0,0,0,0.5);
}
.gallery_list h3 {
	margin: 0 0 10px 0;
	color: #bbb;
}
.gallery_list .thumb {
	height: 140px;
	width: 250px;
	margin: 16px 28px;
	float: left;
	position: relative;
	/* trick to center the thumb */
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover; /* CSS3 to the rescue, fill the square */
	
	box-shadow:					0.1em 0.1em 0.4em rgba(0,0,0,0.75);
	border-radius:				1em;
	border:						1px solid rgba(0,0,0,0.5);
      filter: url(filters.svg#grayscale); /* Firefox 3.5+ */
      filter: gray; /* IE5+ */
      -webkit-filter: grayscale(0.0); /* Webkit Nightlies & Chrome Canary */
      -webkit-transition: all .15s ease-in-out;	
	  
}

.gallery_list .thumb:hover
{
      filter: none;
      -webkit-filter: grayscale(0);
	  transform:					scale(1.5,1.5);
	  z-index: 1000;
}


.gallery_list .thumb .text {
	position: absolute;
	bottom: 0;
	width: 100%;
	padding: 3px 0;
	background: rgba(0, 0, 0, 0.6);
	text-align: center;
}


.galleria-stage
{
	background-color: rgba(128,192,255,0.1);
	background: url(img/tail-spin.svg) 50% 50% no-repeat !important;
	background-size: 400% 400%;
	top: 0 !important;
	bottom: 0 !important;
	left: 0 !important;
	right: 0 !important;
}

.loader
{
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.8);
	position: absolute;
	top: 0;
	left: 0;
	z-index: 10000;
	visibility: hidden;
}

.loader img
{
	height: 25%;
    position: absolute;
    margin: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}


/*
 * Footer
 */
.footer {
	margin: 15px 0;
	font-size: 0.9em;
	text-align: center;
	color: #333;
}
.footer span.white {
    color: #777;
}

.footer span.whitebig {
    color: #ff8000;
	font-size: 1.5em;
	font-weight: bold;
}

.footer p.grey {
    color: #555;
}
.footer p.darkgrey {
    color: #333;
}
.footer p.darkgrey a {
    color: #444;
}
.footer a {
	color: inherit;
}
