/**** Transitions ****/

.masonry,
.masonry .masonry-brick {
  -webkit-transition-duration: 0.7s;
     -moz-transition-duration: 0.7s;
      -ms-transition-duration: 0.7s;
       -o-transition-duration: 0.7s;
          transition-duration: 0.7s;
}

.masonry {
  -webkit-transition-property: width, height;
     -moz-transition-property: width, height;
      -ms-transition-property: width, height;
       -o-transition-property: width, height;
          transition-property: width, height;
}

.masonry .masonry-brick {
  -webkit-transition-property: left, right, top;
     -moz-transition-property: left, right, top;
      -ms-transition-property: left, right, top;
       -o-transition-property: left, right, top;
          transition-property: left, right, top;
}


/*
 * HTML5 ✰ Boilerplate
 * ==|== normalize ==========================================================
 */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }


/* =============================================================================
   Base
   ========================================================================== */

html { font-size: 100%; overflow-y: scroll; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }

body { margin: 0; font-size: 1em; line-height: 1.4; }

body, button, input, select, textarea { font-family: Times, serif; color: #222; }

/* =============================================================================
   Links
   ========================================================================== */

a { color: #00e; }
a:hover { color: #06e; }
a:focus { outline: thin dotted; }

/* Improve readability when focused and hovered in all browsers: h5bp.com/h */
a:hover, a:active { outline: 0; }


/* =============================================================================
   Typography
   ========================================================================== */

b, strong { font-weight: bold; }

blockquote { margin: 1em 40px; }

/* Redeclare monospace font family: h5bp.com/j */
pre, code, kbd, samp { font-family: monospace, serif; _font-family: 'courier new', monospace; font-size: 1em; }

/* Improve readability of pre-formatted text in all browsers */
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }

q { quotes: none; }
q:before, q:after { content: ""; content: none; }

h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
}

/* =============================================================================
   Lists
   ========================================================================== */

ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
dd { margin: 0 0 0 40px; }
nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }


/* =============================================================================
   Embedded content
   ========================================================================== */

img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }



/* =============================================================================
   Forms
   ========================================================================== */

label { cursor: pointer; }

button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }
button:focus, input:focus, select:focus, textarea:focus { outline:none; }
button, input { line-height: normal; }
button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; *overflow: visible; }

/* Colors for form validation */
#home .LV_invalid { float:right;font-size:12px;color:#ff0000;line-height:28px;margin-right:10px; }
.LV_invalid { display:block;font-size:12px;color:#ff0000;line-height:12px; }
.LV_invalid_field { }
input:invalid, textarea:invalid { background-color: #CCC; }
.LV_valid { display:none; }
.input-prompt { position: absolute;font-size:14px;font-style: italic;color: #70d5e1;margin: 0.4em 0 0 0.5em;}
input[type=text], textarea { width:164px;font-size:13px;font-style: italic;color:#000;line-height:16px;border:none;padding:5px 8px;background:#FFF;margin-bottom:5px;border-radius:8px;-moz-border-radius:8px;-webkit-border-radius:8px;-o-border-radius:8px; }
textarea { height:70px; }
input[type="submit"], a.download_link { padding:4px 10px;color:#FFF;font-style:italic;border:none;background:#70d5e1;border-radius:8px;-moz-border-radius:8px;-webkit-border-radius:8px;-o-border-radius:8px; }
input[type="submit"]:hover, a.download_link:hover { color:#FFF;background:#b7e8ed; }

/* =============================================================================
   Let's start it
   ========================================================================== */

body { 
  font: 13px 'Times', serif;
  background: #e1f4f4;
  color: #333;
  line-height: 1.6em;
}

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

a:hover {
  color: #D31;
}

a:active {
  background: hsla( 0, 100%, 100%, 0.5 );
}

p { margin-top: 0; }

h1, h2 {
  font-weight: 100;
  line-height: 1.2em;
  margin-bottom: 0.6em;
}

h1 {
  font-size: 36px; font-style:italic;
}

h2 {
  font-size: 24px;
}

h3 {
  font-size: 17px;
  font-weight: bold;
}

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

strong { font-weight: bold; }

header { position:relative; height:140px; padding-left:40px; }

#side { width:290px; background:url(../images/blue-opaic.png); margin-left:25px; padding:20px;
-webkit-border-bottom-right-radius: 10px;
-webkit-border-bottom-left-radius: 10px;
-moz-border-radius-bottomright: 10px;
-moz-border-radius-bottomleft: 10px;
border-bottom-right-radius: 10px;
border-bottom-left-radius: 10px;
-o-border-bottom-right-radius: 10px;
-o-border-bottom-left-radius: 10px;  }

h1 {
  font-weight: normal;
  font-size:32px; 
  font-style:italic;
  margin-bottom: 0.8em;
  padding-top: 10px;
  line-height:28px;
}

h1 a { color: #000; }
h1 a:hover { color: #000; }

.facebook_outer { position:absolute; right:35px; top:0px; width:145px; height:60px; background:#38a6ba; opacity:.8;-webkit-border-bottom-right-radius: 10px;
-webkit-border-bottom-left-radius: 10px;
-moz-border-radius-bottomright: 10px;
-moz-border-radius-bottomleft: 10px;
border-bottom-right-radius: 10px;
border-bottom-left-radius: 10px;
-o-border-bottom-right-radius: 10px;
-o-border-bottom-left-radius: 10px; }

.facebook { z-index:99;position:absolute; right:45px; top:20px; width:128px; height:31px; }
.facebook2 { z-index:99;position:absolute; right:45px; top:20px; width:128px; height:31px; }

/**** #site-nav ****/

#home #site-nav { position:relative; width: 280px; padding:  0 0px;left:0px; }
#home #site-nav h2 { font-size: 17px; font-weight: normal; margin-bottom: 0.3em; }
#home #accordion div.title, #home #accordion div.title a { font-size: 14px; font-weight:400;line-height:17px; color:#FFF;font-style:italic;text-transform: uppercase;cursor: pointer; }
#home #accordion div.selected { color:#FFF; }
#home #accordion div.text p { line-height:14px; }
#home #accordion form p { margin-bottom:1px; }
#home #accordion div.text a.blue_button_link { padding:4px 10px;color:#FFF;font-style:italic;border:none;background:#70d5e1;border-radius:8px;-moz-border-radius:8px;-webkit-border-radius:8px;-o-border-radius:8px; }
#home #accordion #contact_drop { padding-top:10px;color:#FFF; }

#site-nav {
  position: absolute;
  left:40px;
  width: 180px;
  padding:  0 0px;
}

#site-nav h2 {
  font-size: 17px;
  font-weight: normal;
  margin-bottom: 0.3em;
}

#accordion div.title, #accordion div.title a { font-size: 14px; font-weight:400;line-height:17px; color:#000;font-style:italic;text-transform: uppercase;cursor: pointer; }
#accordion div.selected { color:#666; }
#accordion div.text p { line-height:14px; }
#accordion form p { margin-bottom:1px; }
#accordion div.text a.blue_button_link { padding:4px 10px;color:#FFF;font-style:italic;border:none;background:#70d5e1;border-radius:8px;-moz-border-radius:8px;-webkit-border-radius:8px;-o-border-radius:8px; }

/*
#site-nav ul {
  list-style: none;
  padding-left: 0;
  font-size: 12px;
  margin-bottom: 1.2em;
}

#site-nav li {
  border-radius: 4px;
}

#site-nav li a {
  display: block;
  padding: 3px 5px;
}

#site-nav li.current {
  background: #D31;
}

#site-nav li.current a { color: white; }
#site-nav li.current a:hover { color: #222; }

#site-nav li ul { 
  margin-bottom: 0;
}

#site-nav li li {
  font-size: 11px;
  line-height: 1.4em;
}

#site-nav li li a {
  padding-left: 15px;
}

#site-nav li.selected li a {
  padding: 3px;
  background: none;
}

#site-nav li.selected li a:hover {
  color: #D31;
}
*/

#logo_small { position:absolute; top:610px; left:40px; width:78px; height:42px; }

/**** Content ****/

#content {
  padding: 10px 10px 10px 280px;
  /*border:1px solid blue;*/
}

/* screens smaller than 640 */
@media screen and (max-width: 640px) {

  #site-nav {
    width: auto;
    position: relative;
    left: auto;
    top: auto;
    padding-top: 0px;
    height: auto;
    margin-bottom: 20px;
  }
  
  #content {
    padding-left: 10px;
  }

}

.copy h2 {
  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;
  border-radius: 5px;
}

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;
}

#site-footer {
  height:118px;
  clear: both;
  margin: 20px 40px;
  padding-top: 10px;
  background:url(../images/hibiscus.png) repeat-x left center;
}

.license-copy {
  font-size: 85%;
}

.demos #copy,
.tests #copy,
.docs #content {
  max-width: 640px;
}

.docs #content h2 {
  border-top: 2px solid #DCA;
  padding-top: 10px;
}

.docs #content h2:target { 
  background: #D31;
  color: white;
  padding: 10px 5px 5px;
}

/**** Docs ****/



.options dl dt { font-weight: normal; }

.options dl dt,
.options dl dd {
  float: left;
  padding: 0 1.2em;;
  background: #161616;
  line-height: 32px;
  height: 32px;
  margin: 0;
}

.options dl.header dt,
.options dl.header dd {
  color: white;
  background: #444;
}

.options dl .option-type {
  font-size: 13px;
  color: #AAA;
  font-style: italic;
}

.options dl dd {
  margin-left: 1px;
}

/**** Demos ****/
/*#container_mask { width:725px; height:465px; overflow:scroll;border-radius: 5px; }*/
#container {
  padding: 5px;
  margin: 0 0px 20px 0;
  border-radius: 5px;
  clear: both;
  min-height:400px;
}

.centered { margin: 0 auto; }

.box {
  margin: 2px;
  /* padding: 5px; */
  background: #FDFAF8;
  font-size: 11px;
  line-height: 1.4em;
  float: left;
  /* border-radius: 5px; */
}

.box h2 {
  font-size: 14px;
  font-weight: 200;
}

.box img,
#tumblelog img {
  display: block;
  width: 100%;
}

.rtl .box {
  float: right;
  text-align: right; 
  direction: rtl;
}


.col1 { width: 80px; }
.col2 { width: 180px; }
.col3 { width: 228px; }
.col4 { width: 380px; }
.col5 { width: 480px; }

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

/**** Gutters ****/

.has-gutters .box {
  margin: 5px 0;
}

.has-gutters .col1 { width: 90px; }
.has-gutters .col2 { width: 230px; }
.has-gutters .col3 { width: 370px; }
.has-gutters .col4 { width: 550px; }

/**** 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;
}

/* Homepage */

.homepage .item {
  width: 200px;
  float: left;
  padding: 10px;
  margin: 3px;
  background: #FDFAF8;
  font-weight: 300;
  border-radius: 5px;
}

.homepage .big-text,
.homepage .link {
  font-size: 24px;
  line-height: 1.2em;
}

.homepage .link {
  padding: 0;
}

.homepage .link a {
  display: block;
  padding: 10px;
  width: 200px;
  background: #D31;
  color: white;
  border-radius: 5px;
}

.homepage .link a:hover {
  background: #A2C;
}

.homepage .col2 {
  width: 200px;
}

.homepage .example {
  padding: 0;
  width: 200px;
  background: transparent;
}

.homepage .example a { display: block; }

.homepage .example img {
  display: block;
  width: 100%;
}

.homepage .example a:hover { 
  background: #D31;
  color: white;
}

.homepage .loading {
  background: black;
  color: #FAF8E2;
}

.homepage .loading img {
  float: left; 
  padding-right: 5px;
  width: 54px;
}

/* mini example */

.homepage .mini div {
  float: left;
  background: #DCA;
  margin: 3px;
  color: #FDFAF8;
  font-weight: bold;
  font-size: 32px;
  line-height: 46px;
  text-align: center;
  border-radius: 3px;
}

.homepage .mini .w1 { width: 44px; }
.homepage .mini .h1 { height: 44px; }
.homepage .mini .w2 { width: 94px; }
.homepage .mini .h2 { height: 94px; }

/* Tumblelog example */

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

#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 { 
  text-align: center;
  z-index: 100;
  position: fixed;
  left: 45%;
  bottom: 40px;
  width: 200px;
  padding: 10px;
  background: #000; 
  opacity: 0.8;
  color: #FFF;
  border-radius: 10px;
}

/**** Fluid ****/

#container.fluid  {
  padding: 5px 0;
}

.fluid .box {
  margin: 5px 1%;
  padding: 5px 1%;
}

.fluid .box.col1 { width: 16%; }
.fluid .box.col2 { width: 36%; }
.fluid .box.col3 { width: 56%; }

/**** Corner stamp ****/

.corner-stamp {
  width: 280px;
  height: 340px;
  padding: 10px;
  margin: 10px;
  float: right;
  background: red;
  color: white;
  border-radius: 5px;
}

/**** Pygments ****/

code .s1,
code .s { color: #78BD55; } /* string */
code .mi, /* integer */
code .cp, /* doctype */
code .kc { color: #5298D4; } /*boolean*/
code .k { color: #E39B79; } /* keyword */
code .kd, /* storage */
code .na { color: #A9D866; } /* markup attribute */
code .p  { color: #EDB; } /* punctuation */
code .o  { color: #F63; }   /* operator */
code .nb { color: #AA97AC;} /* support */

/* comment */
code .c,
code .c1 { color: #666; font-style: italic; }

code .nt { color: #A0C8FC; } /* Markup open tag */

code .nf { color: #9EA8B8; } /* css id */
code .nc { color: #A78352; }  /* CSS class */
code .m  { color: #DE8E50; } /* CSS value */
code .nd { color: #9FAD7E; } /* CSS pseudo selector */

/**** Clearfix ****/
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }
