/**** Base styles ****/

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

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

html {
  overflow-y: scroll;
}

body { 
  font: 11px Arial, Helvetica, sans-serif;
  background: #f1f1f1;
  color: #222;
  height:100%; width:100%;
}

#page { position:absolute; left:120px; height:auto; width:500px; top:0;}
#footer { position:fixed; left:120px; height:10px; width:471px; bottom:0; padding:10px; color:#fff; z-index:100; background-color:#000; text-align:center; font-size:11px; !important	 }
#footer a { color:#fff; text-decoration:underline;}
#header { width:479px; height: 480px; position: relative; float:left; background-color:#fff; border-left:1px solid #000;  border-right:1px solid #000;  border-bottom:1px solid #000; padding:5px; opacity:0.9;}
#subheader { width:479px; height: 250px; position: relative; float:left; background-color:#fff; border-left:1px solid #000;  border-right:1px solid #000;  border-bottom:1px solid #000; padding:5px; opacity:0.9;}


#logo_main { position:absolute; left:10px; top:70px;}
#sublogo_main { position:absolute; left:10px; top:40px;}

#menu { position:absolute; left:0px; top:230px;}
#menu ul { list-style:none; width:490px; text-indent:10px; position:relative; float: left; margin-bottom:5px;}
#menu ul li { position:relative; float:left;}
#menu ul li a{ float:left; width:100%; height:auto; font-size:48px; text-transform:lowercase; font-weight:normal; color:#000; display:block; letter-spacing:-3px;}
#menu ul li a.active { color:#fff; background-color:#000;}
#menu ul li a:hover{ color:#fff; background-color:#000;}
#menu ul li:hover {}
#menu ul li ul li a{ color:#000; font-size:16px; letter-spacing:0; width:auto; padding-right:10px;}

#submenu { position:absolute; left:0px; top:130px;}
#submenu ul { list-style:none; width:490px; text-indent:10px; position:relative; float: left; margin-bottom:5px;}
#submenu ul li { position:relative; float:left;}
#submenu ul li a{  color:#000; font-size:17px; letter-spacing:0; width:100%; position:relative; float:left; font-weight:bold;}
#submenu ul li a.active { color:#fff; background-color:#000;}
#submenu ul li a:hover{ color:#fff; background-color:#000;}
#submenu ul li:hover {}
#submenu ul li ul li a{ color:#000; font-size:12px; letter-spacing:0; width:auto; padding-right:10px; font-weight:normal;}

#meta { position:absolute; left:0px; bottom:5px;}
#meta ul { list-style:none; width:490px; text-indent:10px; position:relative; float: left; margin-bottom:5px;}
#meta ul li { position:relative; float:left;}
#meta ul li a{ color:#000; font-size:16px; letter-spacing:0; width:auto; padding-right:10px; position:relative; float:left; font-weight:normal;}
#meta ul li a:hover{ color:#fff; background-color:#000;}
#meta ul li a.active{ color:#fff; background-color:#000;}

.opacity { opacity:0.3; background-color:#fff; }

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

a:hover {
  color: #666;
}

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





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

}





/**** Demos ****/

#container {
  padding: 5px;
  margin-bottom: 35px;
  clear: both; width:502px; margin-left:-10px; background:none;
}

.centered { margin: 0 auto; }

.box {
  margin: 5px;
  padding: 10px; width:135px;
  background: #fff;
  font-size: 11px;
  color:#000;
  float: left;
  border:1px solid #000;
}

.box h1 { font-weight:bold; margin-bottom:15px;
}

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

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



.col1 { width: 135px; }
.col2 { width: 302px; }
.col3 { width: 469px; }
.col4 { width: 380px; }
.col5 { width: 480px; }

.col1 img { max-width: 133px; border:1px solid #000; margin-bottom:15px; }
.col2 img { max-width: 300px; border:1px solid #000; margin-bottom:15px;  }
.col3 img { max-width: 467px; border:1px solid #000; margin-bottom:15px; }
.col4 img { max-width: 380px; }
.col5 img { max-width: 480px; }

.highlight { background-color:#000; color:#fff; border:1px solid #fff;}

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

/**** Transitions ****/

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

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

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


/* disable transitions on container */
.transitions-enabled.infinite-scroll.masonry {
  -webkit-transition-property: none;
     -moz-transition-property: none;
       -o-transition-property: none;
          transition-property: none;
}

/**** 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: 10px;
  background: #D8D5D2;
  font-weight: 300;
  -webkit-border-radius: 5px;
     -moz-border-radius: 5px;
          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: #D26;
  color: white;
  -webkit-border-radius: 5px;
     -moz-border-radius: 5px;
          border-radius: 5px;
}

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

.homepage .col2 {
  width: 440px;
}

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

.homepage .example a { display: block; }

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

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

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

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

/* mini example */

.homepage .mini div {
  float: left;
  background: white;
  margin: 3px;
  color: #D8D5D2;
  font-weight: bold;
  font-size: 32px;
  line-height: 46px;
  text-align: center;
  -webkit-border-radius: 3px;
     -moz-border-radius: 3px;
          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;
  -webkit-border-radius: 10px;
     -moz-border-radius: 10px;
          border-radius: 10px;
}

/**** Fluid ****/

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

/* right margin value is 0.1% less than calculated,
  to allow for rounding errors in Firefox */
.fluid .box {
  margin: 5px 0.9% 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;
  -webkit-border-radius: 5px;
     -moz-border-radius: 5px;
          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; }

#slidecounter{
			float:left;
			color:#4F4F4F;
			font:50px "Helvetica Neue", Arial, sans-serif;
			font-weight:bold;
			margin:18px 20px;	
		}
		#slidecaption{
			overflow: hidden;
			float:left;
			color:#FFF;
			font:26px "Helvetica Neue", Arial, sans-serif;
			font-weight:bold;
			margin:33px 0;
		}
		/*Supersized Stamp*/
		.stamp{
			float: right;
			margin: 25px 20px 0 0;
		}
		/*Supersize Plugin Styles*/
		#navigation{
			background: url('images/navbg.gif') no-repeat;
			float: right;
			margin:22px 20px 0 0;
			position:fixed; right:0px; top:100px;
			z-index:100000;
		}
		#loading {
			position: absolute;
			top: 49.5%; 
			left: 49.5%;
			z-index: 3;
			width: 24px; 
			height: 24px;
			text-indent: -999em;
			background-image: url(images/progress.gif);
		}
		#supersize{
			position:fixed;
		}
		#supersize img, #supersize a{
			height:100%;
			width:100%;
			position:absolute;
			z-index: 1000;
		}
		#supersize .prevslide, #supersize .prevslide img{
			z-index: 1;
		}
		#supersize .activeslide, #supersize .activeslide img{
			z-index: 2;
		}
 
#maincontent {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 50;
  width:100%;
}

#bg { position: fixed; top: 0; left: 0; }
.bgwidth { width: 100%; }
.bgheight { height: 100%; }
.formlyAlerts { display:none !important;}