/*
	 CSS-Tricks Example
	 by Chris Coyier
	 http://css-tricks.com
*/

* { margin: 0; padding: 0; }
body { 
	font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
   	font-weight: 300; 
}

article, aside, figure, footer, header, hgroup,
menu, nav, section { display: block; }

h1 { font-weight: 300; font-size: 40px; margin: 0 0 10px 0; }

#page-wrap { width: 960px; margin: 100px auto; position: relative;  }

#learninz {
	position: absolute;
	top: 0; right: 0; width: 320px;
}

body style, pre { margin: 0 0 20px 0; display: block; background: #333; padding: 16px; color: white; white-space: pre; }
style, code { font: 12px Monaco, MonoSpace; }
figure img { width: 300px; display: block; }
figure:nth-child(4) { clear: both; }


 figure { 
  display: block; 
  position: relative; 
  float: left; 
  overflow: hidden; 
  margin:0;
}
figcaption { 
  position: absolute; 
  background: rgba(0,0,0,0.75); 
  color: white; 
  padding: 10px 20px; 
  opacity: 0;
  -webkit-transition: all 0.9s ease;
  -moz-transition:    all 0.9s ease;
  -o-transition:      all 0.9s ease;
}
figure:hover figcaption {
  opacity: 1;
}
figure:before { 
  content: ">"; 
  position: absolute; 
  font-weight: 0; 
  background: transparent;
  color: #fff;
  width: 20px;
  height: 20px;
  -webkit-border-radius: 12px;
  -moz-border-radius:    12px;
  border-radius:50%;
  text-align: center;
  font-size: 15px;
  line-height: 24px;
  -moz-transition: all 0.6s ease;
  opacity: 0.77;    
}
figure:hover:before {
  opacity: 0;
}

.cap-left:before {  bottom: 10px; left: 10px; }
.cap-left figcaption { bottom: 0; left: -30%; }
.cap-left:hover figcaption { left: 0; }

.cap-right:before { bottom: 10px; right: 10px; }
.cap-right figcaption { bottom: 0; right: -30%; }
.cap-right:hover figcaption { right: 0; }

.cap-top:before { top: 10px; left: 10px; }
.cap-top figcaption { left: 0; top: -30%; }
.cap-top:hover figcaption { top: 0; }

.cap-bot:before { bottom: 10px; left: 10px; }
.cap-bot figcaption { left: 0; bottom: -30%;}
.cap-bot:hover figcaption { bottom: 0; }