@import url(https://fonts.googleapis.com/css?family=Open+Sans:300,300italic,600,600italic,700&subset=latin,greek,greek-ext);

body {
	color: #000;
	background: #f8f8f8 url("../img/bg-header.jpg") 50% 0 repeat-x;
	font-family: "Open Sans", Calibri, "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: 300;
	padding-top: 0;
}

th, td, input {
	font-family: "Open Sans", Calibri, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

body.index {
	background: #f8f8f8 url("../img/index-bg-header.jpg") 50% 0 repeat-x;
}

b, strong {
	font-weight: 600;
}

h1, h2, h3, h4, h5, h6 {
	color: #333;
	margin: 15px 0;
	font-weight: 300;
	line-height: 1.5em;
}

h5, h6 {
	font-weight: 600;
}

img.margined {
	margin: 20px 0 20px 20px;
}

.add-background #main {
	min-height: 250px;
	background: url("../img/bg-logo.png") 0 70px no-repeat;
}

#main > .row > .span9 { min-height: 400px; }

.filefield-icon { margin-right: 10px; }

.table-striped tbody tr:nth-child(odd) td,
.table-striped tbody tr:nth-child(odd) th {
  background-color: #f4f4f4;
}

.btn-custom {
	font-weight: bold;
	font-size: 15px;
	background-color: hsl(14, 100%, 42%) !important;
	background-repeat: repeat-x;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ff3b00", endColorstr="#d63100");
	background-image: -khtml-gradient(linear, left top, left bottom, from(#ff3b00), to(#d63100));
	background-image: -moz-linear-gradient(top, #ff3b00, #d63100);
	background-image: -ms-linear-gradient(top, #ff3b00, #d63100);
	background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ff3b00), color-stop(100%, #d63100));
	background-image: -webkit-linear-gradient(top, #ff3b00, #d63100);
	background-image: -o-linear-gradient(top, #ff3b00, #d63100);
	background-image: linear-gradient(#ff3b00, #d63100);
	border-color: #d63100 #d63100 hsl(14, 100%, 40%);
	color: #fff !important;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.13);
	-webkit-font-smoothing: antialiased;
	padding-right: 34px;
	padding-right: 24px \9;
	padding-left: 34px;
	padding-left: 24px \9;
	/* IE7-8 doesn't have border-radius, so don't indent the padding */
	margin-bottom: 0;
	-webkit-border-radius: 25px;
	-moz-border-radius: 25px;
	border-radius: 25px;
	position: relative;
}

.orange {
	color: #d93f2f;
}

.white {
	background: #fff;
}

.small {
	font-size: 11px;
}

.tab {
	padding: 0 15px;
}

#header {
	height: 174px;
	margin-bottom: 40px;
	border-top: 6px solid #d93f2f;
	background: #333 url("../img/bg-header.jpg") 50% -6px repeat-x;
}

.index #header {
	height: 519px;
	border-top: 6px solid #d93f2f;
	background: #333 url("../img/index-bg-header.jpg") 50% -6px repeat-x;
}

#more-header {
	position: absolute;
	right: 0; top: 0;
	width: 526px; height: 170px;
	background: url("../img/index-map.png") 50px 20% no-repeat;
	opacity: 0.6;
}

	#logo {
		margin-top: 10px;
	}
	
	#logo h1 {
		color: #fff;
		margin: 0;
		font-size: 30px;
		font-weight: 700;
		line-height: 1.1em;
	}
	
	#logo h1 a {
		color: #fff;
	}
	
	#logo h1 a:hover {
		text-decoration: none;
	}
	
	#logo h2 {
		margin: 0;
		color: #898989;
		font-size: 16px;
		line-height: 1em;
	}
	
	#index-hero {
		margin: 90px 0 0 15px;
	}
	
	#index-hero h2 {
		margin: 0;
		z-index: 2;
		color: #fff;
		font-size: 58px;
		font-weight: 700;
		position: relative;
		line-height: 1.1em;
		margin-bottom: 40px;
		text-shadow: 2px 2px #000000;
	}
	
	#index-hero h3 {
		margin: 0;
		z-index: 2;
		color: #fff;
		font-size: 20px;
		line-height: 1em;
		position: relative;
		margin-bottom: 20px;
		text-shadow: 1px 1px #000000;
	}
	
	#index-hero .byline {
		font-size: 26px;
		font-weight: bold;
		font-style: italic;
		color: #fff;
		z-index: 2;
		position: relative;
		text-shadow: 2px 2px #000000;
	}
	
	#index-img {
		z-index: 1;
		position: absolute;
		top: 92px; right: 10px;
		width: 480px; height: 320px;
	}

	#index-img:after {
		z-index: 2;
		content: "";
		position: absolute;
		top: -35px; right: -35px;
		width: 547px; height: 409px;
		background: url("../img/big-board-mask.png") top left no-repeat;
	}
	
	#index-map {
		right: 0;
		z-index: 1;
		top: 100px;
		width: 526px;
		height: 329px;
		position: absolute;
		background: url("../img/index-map.png") top left no-repeat;
	}
	
	#header-title h2 {
		color: #666;
		margin: 20px 0 0 0;
		font-size: 40px;
		font-weight: 700;
		line-height: 1.1em;
		padding: 10px 0;
	}
	
	#header-title a {
		color: #666;
	}
	
	#header-user-box {
		position: absolute;
		right: 0; top: 10px;
		z-index: 50;
	}
	
	#menu {
		position: absolute;
		font-weight: bold;
		top: 126px;
		left: -13px;
	}
	
	.index #menu {
		top: 470px;
		left: 15px;
		right: auto;
	}
	
	.flexslider {
		z-index: 1;
	}
	
	.info h3 {
		font-size: 15px;
		margin-bottom: 5px;
	}
	
	.info p {
		font-size: 13px;
	}
	
	.white-block > div {
		color: #666;
		background: #fff;
		margin-top: 40px;
		margin-bottom: 40px;
		box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.08);
	}
	
	.white-block h3 {
		font-size: 16px;
	}
	
	.board {
		color: #eee;
		font-size: 13px;
		margin-top: 40px;
		margin-bottom: 20px;
		margin-left: -10px;
	}
	
	.board h3 {
		color: #eee;
		font-size: 16px;
		margin: 0;
	}
	
	.board > div {
		float: left;
		height: 170px;
		padding-top: 40px;
		box-sizing:border-box;
		-moz-box-sizing:border-box;
		-webkit-box-sizing:border-box;
	}
	
	.board .left {
		width: 78%;
		padding-left: 75px;
		padding-right: 20px;
		background: url("../img/board.png") top left no-repeat;
	}
	
	.board .right {
		width: 22%;
		text-align: right;
		padding-top: 60px;
		padding-right: 75px;
		background: url("../img/board.png") top right no-repeat;
	}
	
	.border-top {
		border-top: 5px solid #d93f2f;
		padding: 10px 30px 20px 30px;
	}
	
	.rotate {
		position: absolute;
		top: 50px; left: -130px;
		/* Safari */
		-webkit-transform: rotate(-90deg);
		/* Firefox */
		-moz-transform: rotate(-90deg);
		/* IE */
		-ms-transform: rotate(-90deg);
		/* Opera */
		-o-transform: rotate(-90deg);
		/* Internet Explorer */
		filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);		white-space: nowrap;
		font-size: 36px;
		font-weight: bold;
		color: #A2A2A2;
		width: 200px;
	}
	
	.news {
		font-size: 13px;
	}
	
	.news li {
		margin-bottom: 20px;
	}
	
	.news .date {
		text-align: center;
		border-left: 3px solid #eaeaea;
		padding: 0 10px;
		color: #000;
		float: left;
		font-weight: bold;
		font-size: 22px;
	}
	
	.news .date span {
		font-size: 13px;
		display: block;
	}
	
	.news h4 {
		font-size: 13px;
		margin: 20px 0 0 50px;
	}
	
	.news h4 a {
		color: #666;
	}
	
	.news h4 a:hover {
		color: #F43D2B;
		text-decoration: none;
	}
	
	.news .summary {
		color: #666;
	}
	
	.breadcrumb {
		background: #fff;
		margin-top: -20px;
		box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.08);
	}
	
	.breadcrumb a {
		color: #999;
	}
	
	.sidebar_cnt {
		margin: 10px 0;
		background: #ededed;
		border-top: 1px solid #ddd;
		border-bottom: 1px solid #ddd;
		padding: 10px;
	}
	
	#treeDiv {
		border-top: 1px solid #ddd;
		margin-top: 10px;
	}
	
	.well {
		background: #ededed;
	}
	
	.well.white {
		background: #fff;
	}
	
	div.jp-audio {
		border: 1px solid #E3E3E3 !important;
		background: #ededed !important;
	}
	
	table.valignmiddle th, table.valignmiddle td {
		vertical-align: middle;
	}
	
	.jCountdownContainer {
		margin: 0 auto;
	}
	
ul.toc, ul.filters {
	margin: 0; padding: 0;
	margin-bottom: 20px;
	font-weight: 300;
}

ul.toc {
	margin-bottom: 20px;
}

ul.toc li, ul.filters li {
	color: #333;
	display: inline;
	list-style-type: none;
	margin-right: 5px;
	font-size: 77%;
}

ul.filters li.label {
	color: #fff;
}

ul.toc li a, ul.filters li a {
	color: #999;
}

ul.toc li a:hover, ul.filters li a:hover {
	color: #f60;
}

ul.filters li.label {
	margin-right: 5px;
}

ul.filters li {
	margin-right: 15px;
}

a.remove {
	width: 9px;
	overflow: hidden;
	position: absolute;
	margin: 4px 0 0 2px;
	background: url("../img/remove.gif") no-repeat;
	padding: 9px 0 0 0;
	height: 0px !important; 
	height /**/:9px; /* for IE5/Win only */
}

a.remove:hover {
	background-position: 0 -9px;
}

#footer {
	color: #ccc;
	height: 240px;
	font-size: 13px;
	padding: 25px 0;
	margin-top: 40px;
	background: #f8f8f8 url("../img/bg-footer.jpg") 50% 0 repeat-x;
	position: relative;
	z-index: 100;
}

#footer h4 {
	color: #999;
}

#footer p {
	margin: 0;
	font-size: 11px;
}

#footer a {
	color: #fff;
	font-weight: 600;
}

#footer ul li {
	padding: 10px;
	border-bottom: 1px solid #555;
}

#footer ul li:last-child {
	border-bottom: none;
}

.board-small {
	width: 357px;
	height: 202px;
	margin: 0 auto 10px auto;
	position: relative;
	background: url("../img/board-small.png") top left no-repeat;
}

.board-small span {
	display: block;
	margin: 0 auto;
	text-indent: -9999px;
	width: 107px; height: 41px;
	background: url("../img/board-login.png") top left no-repeat;
}

.board-small .btn {
	padding-right: 24px;
	padding-right: 14px \9;
	padding-left: 24px;
	padding-left: 14px \9;
}

.board-small img {
	position: absolute;
	top: 52px; left: 71px;
}

.board-small div:after {
	content: "";
	position: absolute;
	top: 49px; left: 68px;
	width: 96px; height: 96px;
	background: url("../img/board-mask.png") top left no-repeat;
}

.board-small p {
	color: #fff;
	position: absolute;
	top: 65px; left: 165px;
	text-align: center;
	font-weight: 600;
	width: 130px;
}

.board-small a {
	color: #fff;
}

.boxed {
	float: left;
	text-align: center;
	background: #f4f4f4;
	border: 3px solid #fff;
	box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.08);
}

.boxed:hover {
	text-decoration: none;
	box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.4);
}

.boxed.last {
	margin: 2% 0 0 0;
}

.box-3 {
	width: 25%;
	padding: 40px 3%;
	margin: 2% 2% 0 0;
	min-height: 200px;
}

.box-5 {
	width: 16%;
	padding: 1%;
	margin: 2% 1.1% 0 0;
	min-height: 270px;
}

.box-6 {
	width: 13%;
	padding: 1%;
	margin: 2% 1% 0 0;
	min-height: 310px;
}

.box-6.button {
	min-height: 130px;
	cursor: pointer;
}

.box-5.button {
	min-height: 140px;
	cursor: pointer;
}

.box-6.button h3 {
	margin-bottom: 0;
}

.boxed h3 {
	font-size: 15px;
}

.boxed p {
	font-size: 13px;
}

.boxed.active {
	border: 3px solid #3fd92f;
	box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.4);
}

.boxed.disabled {
	cursor: default;
	opacity: 0.4;
}

.boxed.ok {
	position: relative;
}

.boxed.ok:before {
	content: "";
	position: absolute;
	top: 5px; right: 5px;
	width: 26px; height: 22px;
	background: url("../img/ok.png") top left no-repeat;
}

.more {
	padding-right: 16px;
	background: url("../img/more.png") 100% 8px no-repeat;
}

.alert {
	font-weight: 600;
}

.terms {
	margin: 20px 60px;
}

.terms li {
	margin-bottom: 10px;
}

.buttons {
	min-height: 30px;
	margin-top: 40px;
	text-align: right;
}

.indent { margin-left: 20px; }
td.indent { padding-left: 20px; }
td.indent2 { padding-left: 40px; }

.tabs-left > .nav-tabs.levels > li > a, .tabs-right > .nav-tabs.levels > li > a {
    min-width: 34px;
}

.nav-tabs.levels > .active > a, .nav-tabs.levels > .active > a:hover {
	background: #f8f8f8;
}

.levels a span {
	padding: 5px 8px;
	color: #fff;
	background: #a2a2a2;
	font-weight: bold;
}

.levels a:hover span {
	background: #303030;
}

.levels li.active a span {
	background: #f43d2b;
}

.bordered-bottom {
	font-weight: 600;
	font-size: 18px;
	position: relative;
	border-bottom: 1px solid #ddd;
	padding-bottom: 5px;
}

.bordered-bottom:after {
	content: "";
	position: absolute;
	bottom: -3px; left: 0;
	width: 100px; height: 5px;
	background: #ccc;
	opacity:0.4;
}

.muted { color: #000; opacity: 0.5 !important; }

#map-wrap {
	position: relative;
	width: 100%;
	margin: 0;
	border: 1px solid #DFDFDF;
	background: #EFEFEF;
	height: 500px;
	margin-bottom: 20px;
	overflow: hidden;
}
#map-wrap img { cursor: pointer; }
#hand {  font-size: 18px;  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.9); }
#items-wrap {  /*background: url("../img/literature/education/urban/urban-background.png") 0 0 no-repeat;*/  margin: 0;  overflow: hidden;  position: relative;  width: 100%; }
#items-wrap .index {  padding:10px; }
#map {  display: block;  height: 700px;  margin: 0;  min-height: 30px; }
#map .overlay {  font-size: 15px;  font-weight: bold;  text-align: center;  background: white;  opacity:0.96;  width: 120px;  padding: 5px;  -webkit-border-radius: 4px;  -moz-border-radius: 4px;  border-radius: 4px;  -webkit-box-shadow: 1px 3px 7px rgba(0, 0, 0, 0.2);  -moz-box-shadow: 1px 3px 7px rgba(0, 0, 0, 0.2);  box-shadow: 1px 3px 7px rgba(0, 0, 0, 0.2);  }
#map .overlay2 { color:white; font-size: 14px;  font-weight: normal;  text-align: center;  opacity:1;  width: 270px;  padding: 5px;  }
#map .overlay a {  color: #333;  display: block; }
#map img { max-width:none; }

#form-search { position:relative; padding-bottom: 5px;}
#form-help { position:absolute; top:10px; left:7.3em; }
#form-search h4 { float: none; margin: 10px 0 5px 0; border-bottom:1px solid #ddd; }
#form-search ul { margin-bottom: 0; }
.dropdown-form { width:250px; padding: 20px; }
.dropdown-toggle span {
	display: inline-block;
	color: #fff;
	border: 1px solid #3873BB;
	margin-left: 5px;
	margin-right: 5px;
	background: #4e8ad2;
	width: 15px;
	text-align: center;
	padding: 1px 0;
	-moz-border-radius: 3px;
	border-radius: 3px;
}
.dropdown-toggle span.disabled {
	border: 1px solid #CCCCCC;
	background: #EEEEEE;
	opacity: 0.4;
}

#toolbar { padding:7px; }
	#toolbar .btn { padding: 4px 12px; }
	td.actions {text-align: center;}
	td.actions .btn { padding: 4px 12px; }
	td.actions .btn.dropdown-toggle { padding: 4px 8px; font-size: 12px; }

#pagination div { text-align: center; }

div.divider {
    background-color: #E5E5E5;
    border-bottom: 1px solid #FFFFFF;
    height: 1px;
    margin: 9px 1px;
    overflow: hidden;
}

.preview > div {
	min-height: 240px;
}
.preview table div {
	min-height: 240px;
}
.preview table td {
	vertical-align: middle;
}

.popover h3 { display: none; }

.desaturate a {  color: #333; }
.desaturate a:hover {  color: #005580; }

.nav-list.desaturate > .active > a,
.nav-list.desaturate > .active > a:hover {
  background-color: #333333;
}

.btn-group:first-child > .dropdown-toggle {
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
	border-right-width: 0;
}

.btn-group:first-child > .dropdown-toggle.single {
    border-bottom-right-radius: 4px;
    border-top-right-radius: 4px;
	border-right-width: 1px;
}

a.remove-filter {
	color: #fff;
	cursor: pointer;
}

a.remove-filter:hover {
	text-decoration: none;
}

.results td {
	vertical-align: middle;
}

.accordion-heading .accordion-toggle {
	padding-left: 8px;
	color: #333;
}

.accordion-toggle:hover {
	color: #333;
	text-decoration: none;
}

.collapse-inner {
	background: #ededed;
	padding: 19px;
}

td.check {
	text-align: center;
	width: 10%;
}

.db_level {
    background: none repeat scroll 0 0 #333;
    color: #FFFFFF;
    font-weight: bold;
    padding: 5px 8px;
}

.answers {
	margin: 10px 0 20px 30px;
}

.simple_question h4, .fill_question h4, .true_false h4 {
	width: 30px;
	color: #fff;
	font-weight: 600;
	background: #333;
	text-align: center;
	margin-top: 0;
}

.text p {
	line-height: 30px;
	margin-bottom: 20px;
}

.text li {
	line-height: 30px;
}

.text small p {
	line-height: 1.3em;
}

#results p { text-align: center; }
#results p.result_percent { line-height: 1.4em; font-size: 48px;}

.masonry-container {
	margin: 0 auto;
}

.brick {
	width: 220px;
	margin: 10px;
	float: left;
}

.brick-table {
	cellspacing: 0;
	cellpadding: 0;
	border: 1px solid #eee;
  -webkit-box-shadow: 1px 2px 4px rgba(0,0,0,.065);
     -moz-box-shadow: 1px 2px 4px rgba(0,0,0,.065);
          box-shadow: 1px 2px 4px rgba(0,0,0,.065);
}

.brick-image {
	width: 200px;
	height: 200px;
	vertical-align: middle;
	padding: 5px 10px 0;
}

.brick-text {
	font-weight: bold;
	padding-bottom: 5px;
}

.brick-text, .brick-image {
	background: #f5f5f5;
	text-align: center;
}

.high-contrast a {
	color: #d4ee04;
	background-color: #000;
	position: absolute;
	top: 30px; right: 8px;
	padding: 4px 8px;
}

.high-contrast a:hover {
	color: #fff;
	text-decoration: none;
}

.browse:after {
 	content: '';
	display: block;
	width: 100%;
	height: 100%;
	position: absolute;
	left: 0;
	top: 0;
	opacity: 0.2;
	-webkit-transition: all ease-in-out 0.5s;
	-moz-transition: all ease-in-out 0.5s;
	-ms-transition: all ease-in-out 0.5s;
	-o-transition: all ease-in-out 0.5s;
	transition: all ease-in-out 0.5s;
	background: url("../img/zoom_in.png") 50% 50% no-repeat, url("../img/mask.png") 50% 50% no-repeat;
	background-size: auto, cover;
}

.browse:hover:after {
	opacity: 0.5;
}

.locked {
	padding: 20px 20px 20px 55px;
	background-image: url("../img/lock_s.png");
	background-repeat: no-repeat;
	background-position: 5px 5px;
}

/* Sidenav for Docs
-------------------------------------------------- */

.bs-docs-sidenav {
  width: 228px;
  margin: 25px 0 0;
  padding: 0;
  background-color: #fff;
  -webkit-border-radius: 6px;
     -moz-border-radius: 6px;
          border-radius: 6px;
  -webkit-box-shadow: 0 1px 4px rgba(0,0,0,.065);
     -moz-box-shadow: 0 1px 4px rgba(0,0,0,.065);
          box-shadow: 0 1px 4px rgba(0,0,0,.065);
}
.bs-docs-sidenav > li > a {
  display: block;
  width: 190px \9;
  margin: 0 0 -1px;
  padding: 8px 14px;
  border: 1px solid #e5e5e5;
}
.bs-docs-sidenav > li > ul {
  border-left: 1px solid #e5e5e5;
  border-right: 1px solid #e5e5e5;
}
.bs-docs-sidenav > li:first-child > a {
  -webkit-border-radius: 6px 6px 0 0;
     -moz-border-radius: 6px 6px 0 0;
          border-radius: 6px 6px 0 0;
}
.bs-docs-sidenav > li:last-child > a {
  -webkit-border-radius: 0 0 6px 6px;
     -moz-border-radius: 0 0 6px 6px;
          border-radius: 0 0 6px 6px;
}
.bs-docs-sidenav > .active > a {
  position: relative;
  z-index: 2;
  padding: 9px 15px;
  border: 0;
  text-shadow: 0 1px 0 rgba(0,0,0,.15);
  -webkit-box-shadow: inset 1px 0 0 rgba(0,0,0,.1), inset -1px 0 0 rgba(0,0,0,.1);
     -moz-box-shadow: inset 1px 0 0 rgba(0,0,0,.1), inset -1px 0 0 rgba(0,0,0,.1);
          box-shadow: inset 1px 0 0 rgba(0,0,0,.1), inset -1px 0 0 rgba(0,0,0,.1);
}
/* Chevrons */
.bs-docs-sidenav .icon-chevron-right {
  float: right;
  margin-top: 2px;
  margin-right: -6px;
  opacity: .25;
}
.bs-docs-sidenav > li > a:hover {
  background-color: #f5f5f5;
}
.bs-docs-sidenav a:hover .icon-chevron-right {
  opacity: .5;
}
.bs-docs-sidenav .active .icon-chevron-right,
.bs-docs-sidenav .active a:hover .icon-chevron-right {
  
  opacity: 1;
}
.bs-docs-sidenav.affix {
  top: 40px;
}
.bs-docs-sidenav.affix-bottom {
  position: absolute;
  top: auto;
  bottom: 270px;
}

/* Responsive
-------------------------------------------------- */

/* Desktop large
------------------------- */
@media (min-width: 1200px) {
  .bs-docs-container {
    max-width: 970px;
  }
  .bs-docs-sidenav {
    width: 268px;
  }
  .bs-docs-sidenav > li > a {
    width: 230px \9; /* Override the previous IE8-9 hack */
  }
}

/* Desktop
------------------------- */
@media (max-width: 980px) {
  /* Unfloat brand */
  body > .navbar-fixed-top .brand {
    float: left;
    margin-left: 0;
    padding-left: 10px;
    padding-right: 10px;
  }

  /* Inline-block quick links for more spacing */
  .quick-links li {
    display: inline-block;
    margin: 5px;
  }

  /* When affixed, space properly */
  .bs-docs-sidenav {
    top: 0;
    width: 218px;
    margin-top: 30px;
    margin-right: 0;
  }
}

/* Tablet to desktop
------------------------- */
@media (min-width: 768px) and (max-width: 979px) {
  /* Remove any padding from the body */
  body {
    padding-top: 0;
  }
  /* Widen masthead and social buttons to fill body padding */
  .jumbotron {
    margin-top: -20px; /* Offset bottom margin on .navbar */
  }
  /* Adjust sidenav width */
  .bs-docs-sidenav {
    width: 166px;
    margin-top: 20px;
  }
  .bs-docs-sidenav.affix {
    top: 0;
  }
}

/* Tablet
------------------------- */
@media (max-width: 767px) {
  /* Remove any padding from the body */
  body {
    padding-top: 0;
  }

  /* Widen masthead and social buttons to fill body padding */
  .jumbotron {
    padding: 40px 20px;
    margin-top:   -20px; /* Offset bottom margin on .navbar */
    margin-right: -20px;
    margin-left:  -20px;
  }
  .masthead h1 {
    font-size: 90px;
  }
  .masthead p,
  .masthead .btn {
    font-size: 24px;
  }
  .marketing .span4 {
    margin-bottom: 40px;
  }
  .bs-docs-social {
    margin: 0 -20px;
  }

  /* Space out the show-grid examples */
  .show-grid [class*="span"] {
    margin-bottom: 5px;
  }

  /* Sidenav */
  .bs-docs-sidenav {
    width: auto;
    margin-bottom: 20px;
  }
  .bs-docs-sidenav.affix {
    position: static;
    width: auto;
    top: 0;
  }

  /* Unfloat the back to top link in footer */
  .footer {
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 20px;
    padding-right: 20px;
  }
  .footer p {
    margin-bottom: 9px;
  }
}

/* Landscape phones
------------------------- */
@media (max-width: 480px) {
  /* Remove padding above jumbotron */
  body {
    padding-top: 0;
  }

  /* Change up some type stuff */
  h2 small {
    display: block;
  }

  /* Downsize the jumbotrons */
  .jumbotron h1 {
    font-size: 45px;
  }
  .jumbotron p,
  .jumbotron .btn {
    font-size: 18px;
  }
  .jumbotron .btn {
    display: block;
    margin: 0 auto;
  }

  /* center align subhead text like the masthead */
  .subhead h1,
  .subhead p {
    text-align: center;
  }

  /* Marketing on home */
  .marketing h1 {
    font-size: 30px;
  }
  .marketing-byline {
    font-size: 18px;
  }

  /* center example sites */
  .example-sites {
    margin-left: 0;
  }
  .example-sites > li {
    float: none;
    display: block;
    max-width: 280px;
    margin: 0 auto 18px;
    text-align: center;
  }
  .example-sites .thumbnail > img {
    max-width: 270px;
  }

  /* Do our best to make tables work in narrow viewports */
  table code {
    white-space: normal;
    word-wrap: break-word;
    word-break: break-all;
  }

  /* Examples: dropdowns */
  .bs-docs-example-submenus > .pull-left {
    float: none;
    clear: both;
  }
  .bs-docs-example-submenus > .pull-left,
  .bs-docs-example-submenus > .pull-left + .pull-left {
    margin-left: 0;
  }
  .bs-docs-example-submenus p {
    margin-bottom: 0;
  }
  .bs-docs-example-submenus .dropup > .dropdown-menu,
  .bs-docs-example-submenus .dropdown > .dropdown-menu {
    margin-bottom: 10px;
    float: none;
    max-width: 180px;
  }

  /* Examples: modal */
  .modal-example .modal {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
  }

  /* Tighten up footer */
  .footer {
    padding-top: 20px;
    padding-bottom: 20px;
  }
}
