/**************************** 

   CSS for Definitions Studio

   The CSS, XHTML, and design
   may not be reproduced 
   without written permission 
   from George Petrescu!

*****************************/

a {
color: #A2C;
text-decoration: none;
font-weight: bold;
}

a:hover {
color: #D26;
}

#nav {
list-style: none;
margin-bottom: 10px;
border-bottom: 1px solid #BBB;
line-height: 40px;
padding-left: 0;
}

.nav:after {
content: '';
clear: both;
display: block;
visibility: hidden;
height: 0;
}

#nav li {
float: left;
margin-right: 8px;
}

#nav li a {
padding: 6px 10px;
border-radius: 5px;
}

#nav li a:hover {
}

#nav li.selected a {
background: #C8C5C2;
color: #FFF;
}

h1, h2 {
font-weight:100;
}

h1 {
font-size: 36px;
}

h1, h2, h3, p, ul, ol, pre, dl {
margin-bottom: 1.0em;
}

.copy h2 {
border-top: 2px solid #FFF;
padding-top: 10px;
clear: both;
}

a img {
border: none;
}

pre, code {
font-family: Monaco, monospace;
font-size: 12px;
background: #111;
color: #F5F5F5;
}

p code {
padding: 1px 3px;
}

pre {
padding: 10px;	
}

pre .string { color: #3C3;}
pre .constant { color: #66F;}
pre .property { color: #A00;}
pre .keyword { color: #E66;}
pre .storage { color: #FC8;}
pre .comment { color: #888;}
pre .class { color: #A85;}
pre .prop { color: #CB8; }
pre .value { color: #FFA; }
pre .id { color: #9AB;}
pre .support {color: #A9A;}

ul, ol { 
padding-left: 1.3em;
}

.hidden { 
display: none;
}

.copy {
width: 600px;
line-height: 1.55em;
}

blockquote {
margin: 0;
font: italic 18px Georgia, serif;
}

dt {
font-weight: bold;
font-size: 14px;
}

dd + dt {
margin-top: 0.5em;
}

dd {
margin-left: 1.0em;
}

button {
-webkit-appearance: push-button;
}

#footer {
clear: both;
margin: 20px 0;
border-top: 1px solid #BBB;
padding-top: 10px;
line-height: 30px;
}

.box {    
width: 182px;
padding: 0px;
margin-bottom: 20px;
font-size: 12px;
line-height: 14px;
float: left;
color: #000000;
font-size: 12px;
line-height: 14px;
z-index: 5;
overflow:hidden;
}

.box p {
color: #258dc8;
font-size: 10px;
line-height: 14px;
margin-top: 0;
margin-bottom: 2px;
margin-left: 2px;
margin-right: 0;
padding-top: 0;
padding-bottom: 0;
padding-left: 0;
padding-right: 0;
text-transform: uppercase;
}

.box p.details {
color: #424242;
font-size: 12px;
line-height: 14px;
margin-top: 0;
margin-bottom: 2px;
margin-left: 1;
margin-right: 0;
padding-top: 0;
padding-bottom: 0;
padding-left: 0;
padding-right: 0;
text-align: justify;
}

.box h3 {
color: #444;
font-size: 11px;
font-style: normal;
margin-top: 5px;
margin-bottom: 0;
margin-left: 5px;
margin-right: 0;
padding-top: 0;
padding-bottom: 0;
padding-left: 0;
padding-right: 0;
text-transform: uppercase;
}

.box h3 a {
color: #444;
text-decoration: none;
}

.box h3 a:hover {
color: #000;
text-decoration: none;
}

/**** Masonry CSS ****/

.wrap {
margin-left: auto; 
margin-right: auto;
width: 1000px;	
border: 0px solid #456;
padding: 0px;
margin-bottom: 20px;
cursor: default;
background: url(none);
overflow: hidden;
}

.wrap:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}

.col1 {
width: 182px;
height: 130px;
overflow: hidden;
}

.col1 img {
max-width: 180px;
max-height: 105px;
border: 0px solid #cecece;
overflow: hidden;
}

.col1 img:hover {
max-width: 180px;
max-height: 105px;
border: 0px solid #ffdd00;
}


.col1 a.zoom {
display:block;
width: 180px;
height: 105px;
background-position: 0 0;
background-repeat: no-repeat;
border: 1px solid #cecece;
overflow: hidden;
}

.col2 { width: 180px; }
.col3 { width: 280px; }
.col4 { width: 380px; }
.col5 { width: 480px; }

.col2 img { max-width: 180px; }
.col3 img { max-width: 280px; }
.col4 img { max-width: 380px; }
.col5 img { max-width: 480px; }

/**** Primer comparison ****/

#comparison {
overflow: auto;
}

#comparison .example {
width: 420px;
float: left;
margin-right: 20px;
}

#comparison .box h5 {
float: left;
margin-bottom: 0;
font-size: 30px;
margin-right: 4px;
line-height: 28px;
font-weight: bold;
color: #FFF;
}

/* Magazine page */

#tumblelog {
background: #FFF;
padding: 1.0em;
}

#tumblelog:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}

#tumblelog .story {
margin: 10px;
border-top: 4px solid #DCB;
padding-top: 10px;
background: #FFF;
float: left;
}

#tumblelog h1, #tumblelog h2, #tumblelog h3 { font-weight: bold;}

#tumblelog .col1 { width: 220px;}
#tumblelog .col2 { width: 460px;}
#tumblelog .col3 { width: 700px;}

#tumblelog .col1 img,
#tumblelog .col2 img,
#tumblelog .col3 img {
max-width: none;
}

/* Infinite Scroll loader */
#infscr-loading { 
z-index: 5000;
position: fixed;
left: 40%;
bottom: 40px;
width: 200px;
height: 100px;
padding: 10px;
background: #000; 
opacity: 0.8;
color: #FFF;
}

.box.black,
#filtering-nav .black {
background-color: transparent;
color: #FFF;
}

.box.red,
#filtering-nav .red {
background-color: transparent;
color: #FFF;
}

#filtering-nav .all { background-color: #FFF;}

#filtering-nav {
padding: 0;
margin: 0;
}

#filtering-nav li {
list-style: none;
float: left;
}

#filtering-nav li a  {
display: block;
padding: 0;
margin-right: 0;
background-image: -webkit-gradient(linear, 0 top, 0 bottom, 
from(hsla(0,0%,100%,.4)),
color-stop(50%, hsla(0,0%,100%,.0)), 
color-stop(50%, hsla(0,0%,0%,.0)), 
to(hsla(0,0%,0%,.1)) 
);
}
