html { -webkit-text-size-adjust: none; }

::selection {
	color: #fff;
	color: rgba(255,255,255,.85);
	background: #dbdb62;
}

::-moz-selection {
	color: #fff;
	color: rgba(255,255,255,.85);
	background: #dbdb62;
}

::-webkit-selection {
	color: #fff;
	color: rgba(255,255,255,.85);
	background: #dbdb62;
}

/* Body and structure
-------------------------------------------------- */
body {
	position: relative;
	padding-top: 60px;
	background-color: #fff;
	font-family: 'Lucida Grande', 'Lucida Sans Unicode', 'Lucida Sans', Verdana, Tahoma, sans-serif;
	font-size: 16px;
	line-height: 21px;
	-webkit-text-size-adjust: none;
}

h1 {
	font-size: 48px;
	font-weight: normal;
	line-height: 57px;
	color: #caca66;
	margin-top: 24px;
	padding: 0 20px;
}

h5 {
	font-size: 20px;
	font-weight: normal;
	line-height: 24px;
	margin-bottom: 18px;
	margin-top: 8px;
	padding: 0 20px;
}

#wordcloud { 
	padding: 0; 
	margin: 0 auto;
	text-align: center;
}

#wordcloud li { 
	list-style-type: none; 
	display: inline;
	text-shadow: 0px 0px 6px rgba(255, 255, 255, 0.85);
}

#wordcloud li.identity {
	color: #ccc;
	font-size: 42px;
	font-weight: 400;
	letter-spacing: -4px;
}

#wordcloud li.content {
	color: #999;
	font-size: 58px;
	font-weight: 500;
	letter-spacing: -6px;
}

#wordcloud li.mobile {
	color: #666;
	font-size: 80px;
	font-weight: 600;
	letter-spacing: -10px;
}

#wordcloud li.design {
	color: #333;
	font-size: 120px;
	font-weight: 900;
	letter-spacing: -14px;
}

#wordcloud li.html5 {
	color: #666;
	font-size: 80px;
	font-weight: 600;
	letter-spacing: -10px;
}

#wordcloud li.css3 {
	color: #999;
	font-size: 58px;
	font-weight: 500;
	letter-spacing: -6px;
}

#wordcloud li.jquery {
	color: #ccc;
	font-size: 42px;
	font-weight: 400;
	letter-spacing: -4px;
}

.strike {
	text-decoration: line-through;
}

.homelink {
	text-align: center;
	padding-top: 10px;
	display: block;
}

.homelink a {
	padding: 10px 120px 10px 120px;
}

.page-header {
	border: 0;
}

#overview {
	margin-bottom: 40px;
}

header {
	margin: 0 0 20px 0;
}

article {
	margin-bottom: 40px;
}

footer {
	margin: 20px 0 80px 0;
}

div .copy {
	padding: 0 20px;
	margin-bottom: 20px;
}

div .well {
	font-family: Georgia, serif;
	color: #777;
	margin: 0 20px;
}

div .well p {
	margin: 10px 16px 16px 16px;
}

div .well div.quotemark{
	position: relative;
	height: 20px;
	top: 24px;
	left: -6px;
	font-size: 46px;
	color: #ccc;
}

div .well p.quoteline {
	font-size: 22px;
	line-height: 25px;
	position: relative;
	top: -10px;
}

div .well p.authorline {
	margin-top: 10px;
	font-size: 16px;
	line-height: 19px;
}

/* Subnav stuff 
-------------------------------------------------- */
.subnav {
  width: 100%;
  height: 36px;
  background-color: #eeeeee; /* Old browsers */
  background-repeat: repeat-x; /* Repeat the gradient */
  background-image: -moz-linear-gradient(top, #f5f5f5 0%, #eeeeee 100%); /* FF3.6+ */
  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f5f5f5), color-stop(100%,#eeeeee)); /* Chrome,Safari4+ */
  background-image: -webkit-linear-gradient(top, #f5f5f5 0%,#eeeeee 100%); /* Chrome 10+,Safari 5.1+ */
  background-image: -ms-linear-gradient(top, #f5f5f5 0%,#eeeeee 100%); /* IE10+ */
  background-image: -o-linear-gradient(top, #f5f5f5 0%,#eeeeee 100%); /* Opera 11.10+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f5f5f5', endColorstr='#eeeeee',GradientType=0 ); /* IE6-9 */
  background-image: linear-gradient(top, #f5f5f5 0%,#eeeeee 100%); /* W3C */
  border: 1px solid #e5e5e5;
  -webkit-border-radius: 4px;
     -moz-border-radius: 4px;
          border-radius: 4px;
}
.subnav .nav {
  margin-bottom: 0;
}
.subnav .nav > li > a {
  margin: 0;
  padding-top:    11px;
  padding-bottom: 11px;
  border-left: 1px solid #f5f5f5;
  border-right: 1px solid #e5e5e5;
  -webkit-border-radius: 0;
     -moz-border-radius: 0;
          border-radius: 0;
}
.subnav .nav > .active > a,
.subnav .nav > .active > a:hover {
  padding-left: 13px;
  color: #777;
  background-color: #e9e9e9;
  border-right-color: #ddd;
  border-left: 0;
  -webkit-box-shadow: inset 0 3px 5px rgba(0,0,0,.05);
     -moz-box-shadow: inset 0 3px 5px rgba(0,0,0,.05);
          box-shadow: inset 0 3px 5px rgba(0,0,0,.05);
}
.subnav .nav > .active > a .caret,
.subnav .nav > .active > a:hover .caret {
  border-top-color: #777;
}
.subnav .nav > li:first-child > a,
.subnav .nav > li:first-child > a:hover {
  border-left: 0;
  padding-left: 12px;
  -webkit-border-radius: 4px 0 0 4px;
     -moz-border-radius: 4px 0 0 4px;
          border-radius: 4px 0 0 4px;
}
.subnav .nav > li:last-child > a {
  border-right: 0;
}
.subnav .dropdown-menu {
  -webkit-border-radius: 0 0 4px 4px;
     -moz-border-radius: 0 0 4px 4px;
          border-radius: 0 0 4px 4px;
}


/* Faded out hr */
hr.soften {
  height: 1px;
  margin: 24px 0;
  background-image: -webkit-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,.1), rgba(0,0,0,0));
  background-image:    -moz-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,.1), rgba(0,0,0,0));
  background-image:     -ms-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,.1), rgba(0,0,0,0));
  background-image:      -o-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,.1), rgba(0,0,0,0));
  border: 0;
}

@media (max-width: 767px) { 
/* COMPACT DESKTOP WIDTH (incl iphone) - stage 2 .container{border:4px solid green;}*/
	/* Remove any padding from the body */
	  body {
	    padding-top: 0;
	  }
	
	  /* Jumbotron buttons */
	  .jumbotron .btn {
	    margin-bottom: 10px;
	  }
	
	  /* Subnav */
	  .subnav {
	    position: static;
	    top: auto;
	    z-index: auto;
	    width: auto;
	    height: auto;
	    background: #fff; /* whole background property since we use a background-image for gradient */
	    -webkit-box-shadow: none;
	       -moz-box-shadow: none;
	            box-shadow: none;
	  }
	  .subnav .nav > li {
	    float: none;
	  }
	  .subnav .nav > li > a {
	    border: 0;
	  }
	  .subnav .nav > li + li > a {
	    border-top: 1px solid #e5e5e5;
	  }
	  .subnav .nav > li:first-child > a,
	  .subnav .nav > li:first-child > a:hover {
	      -webkit-border-radius: 4px 4px 0 0;
	         -moz-border-radius: 4px 4px 0 0;
	              border-radius: 4px 4px 0 0;
	  }
	
	  /* Popovers */
	  .large-bird {
	    display: none;
	  }
	  .popover-well .popover-wrapper {
	    margin-left: 0;
	  }
	
	  /* Space out the show-grid examples */
	  .show-grid [class*="span"] {
	    margin-bottom: 5px;
	  }
	
	  /* Unfloat the back to top link in footer */
	  .footer .pull-right {
	    float: none;
	  }
	  .footer p {
	    margin-bottom: 9px;
	  }
	  
	  div .well p {
	  	margin: 0;
	  }
	  
	  div .well p.quoteline {
	  	font-size: 18px;
	  	line-height: 22px;
	  }
	  
	  div .well p.authorline {
	  	margin-top: 10px;
	  	font-size: 14px;
	  	line-height: 18px;
	  }
	
}

@media (max-width: 480px) {
/* MAIN IPHONE WIDTH - stage 1 .container{border:4px solid red;}*/
	/* Reduce padding above jumbotron */
	body {
	  padding-top: 20px;
	  font-size: 13px;
	  line-height: 18px;
	}
	
	h1 {
		font-size: 30px;
		line-height: 36px;
		font-weight: normal;
		color: #caca66;
		margin-top: 24px;
	}
	
	h5 {
		font-size: 15px;
		font-weight: normal;
		line-height: 21px;
		margin-bottom: 18px;
		margin-top: 8px;
	}
	
	div .well div.quotemark{
		top: 18px;
		left: -6px;
	}
	
	div .well p.quoteline {
		padding-left: 16px;
	}
	
	div .well p.authorline {
		padding-left: 16px;
	}
	
	#wordcloud li.identity {
		font-size: 22px;
		font-weight: 400;
		letter-spacing: -2px;
	}
	
	#wordcloud li.content {
		font-size: 28px;
		font-weight: 500;
		letter-spacing: -2px;
	}
	
	#wordcloud li.mobile {
		font-size: 40px;
		font-weight: 600;
		letter-spacing: -4px;
	}
	
	#wordcloud li.design {
		font-size: 80px;
		font-weight: 900;
		letter-spacing: -10px;
	}
	
	#wordcloud li.html5 {
		font-size: 40px;
		font-weight: 600;
		letter-spacing: -4px;
	}
	
	#wordcloud li.css3 {
		font-size: 28px;
		font-weight: 500;
		letter-spacing: -2px;
	}
	
	#wordcloud li.jquery {
		font-size: 22px;
		font-weight: 400;
		letter-spacing: -2px;
	}
	
}

@media (max-width: 979px) {
/* IPHONE TO IPAD WIDTH - stage 4 .container{border-style:dotted;}*/
	body {
	  padding-top: 20px;
	}

	div .well div.quotemark{
		top: 18px;
		left: -6px;
	}
	
	div .well p.quoteline {
		padding-left: 16px;
	}
	
	div .well p.authorline {
		padding-left: 16px;
	}
	
}

@media (min-width: 768px) and (max-width: 979px) { 
/* IPAD WIDTH - stage 3 .container{border:4px solid blue;}*/
	div .well div.quotemark{
		top: 24px;
		left: -6px;
	}
	
	div .well p.quoteline {
		padding-left: 0px;
	}
	
	div .well p.authorline {
		padding-left: 0px;
	}
	
}

@media (min-width: 980px) {
/* ANYTHING WIDER THAN IPAD - stage 5 .container{border:4px solid pink;}*/
	.subnav-fixed {
	  position: fixed;
	  top: 0px;
	  left: 0;
	  right: 0;
	  z-index: 1020; /* 10 less than .navbar-fixed to prevent any overlap */
	  border-color: #d5d5d5;
	  border-width: 0 0 1px; /* drop the border on the fixed edges */
	  -webkit-border-radius: 0;
	     -moz-border-radius: 0;
	          border-radius: 0;
	  -webkit-box-shadow: inset 0 1px 0 #fff, 0 1px 5px rgba(0,0,0,.1);
	     -moz-box-shadow: inset 0 1px 0 #fff, 0 1px 5px rgba(0,0,0,.1);
	          box-shadow: inset 0 1px 0 #fff, 0 1px 5px rgba(0,0,0,.1);
	  filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); /* IE6-9 */
	}
	.subnav-fixed .nav {
	  width: 938px;
	  margin: 0 auto;
	  /*margin: 0 0 0 20px;*/
	  padding: 0 1px;
	}
	.subnav .nav > li:first-child > a,
	.subnav .nav > li:first-child > a:hover {
	  -webkit-border-radius: 0;
	     -moz-border-radius: 0;
	          border-radius: 0;
	}
	.homelink {
		display: none;
	}	
}

@media (min-width: 1200px) {
/* WIDEST DESKTOP - stage 6 .container{border:4px solid cyan;}*/
	/* Update subnav container */
	.subnav-fixed .nav {
	  width: 1168px; /* 2px less to account for left/right borders being removed when in fixed mode */
	  margin: 0 auto;
	}
	
	.homelink {
		display: none;
	}
}

/*@media only screen and (min-device-width : 320px) and (max-device-width : 1024px) {
     html {
        -webkit-text-size-adjust: none;
     }
}*/