/*****************************************************/
/***                                               ***/
/*** this stylesheet targets Bootstrap v4 alpha 4  ***/
/***                                               ***/
/*** the following device sizes are in use:        ***/
/***                                               ***/
/*** xs = extra small = portrait phones            ***/
/*** sm = small       = landscape phones @ 544px   ***/
/*** md = medium      = tablets          @ 768px   ***/
/*** lg = large       = desktops         @ 992px   ***/
/***                                               ***/
/*****************************************************/

/*** basics ***/
html, body {
	height: 100%;
	width: 100%;
	margin: 0;
	padding: 0;
}
body {
	webkit-tap-highlight-color: #222222;
	background-color: #eee;
}
body, h1, h2, h3, h4, h5, h6, p {
	font-family: 'Roboto Condensed', 'Helvetica Neue', Arial, sans-serif;
}
a {
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
	color: #419650;
}
a:hover, 
a:focus {
	color: #419650;
}


/*** navigation ***/
.navbar {
	background-color: white;
	background-color: rgba(255, 255, 255, 0.9);
	padding-left: 30px;
	padding-right: 30px;
}
button.navbar-toggler,
.nav-link {
	font-weight: 400;
	font-size: 14px;
	color: #888;
	line-height: 1.0;
	outline:0;
}
.navbar .nav-link {
	color: #419650;
}
.navbar .nav-link:hover,
.navbar .nav-link:focus {
	text-decoration: underline;
}

@media (max-width: 767px) {
	button.navbar-toggler {
		font-weight: 800;
		font-size: 16px;
		padding: 6px;
	}
	.nav {
		margin-right: 10px;
	}
	.nav-item {
		background-color: #ADB3B1;
		margin-bottom: 3px;
		padding: 5px 10px 5px 10px;
		 -webkit-border-radius: 3px;
		 -moz-border-radius: 3px;
		 -o-border-radius: 3px;
		 -ms-border-radius: 3px;
		 -khtml-border-radius: 3px;
		 border-radius: 3px;
	}
	.navbar .nav-link:hover,
	.navbar .nav-link:focus {
		color: #419650;
	}
}


/*** header and cover page ***/
header {
    position: relative;
	margin: 0;
	padding: 0;
	background: url('../static/img/header.jpg') top left;
	height: 100px;
}
header.cover {
	min-height: 100%;
	background-position: center;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	background-size: cover;
	-o-background-size: cover;
}
.header-content {
	padding-top: 60px;
	padding-left: 30px;
	text-align: left;
	color: white;
}
.header-content h1,
.header-content h2,
.header-content h3 {
	text-align: left;
	font-weight: 500;
	font-size: 12px;
	line-height: 1.6;
	margin: 0;
}
.header-content h1 {
	font-size: 16px;
	margin-top: 20px;
}
.header-content h3 {
	font-size: 14px;
}
.header-content span {
	display: inline;
	background-color: #334444;
	box-shadow: -6px -7px 0 0 #334444, -6px 7px 0 0 #334444, 6px -7px 0 0 #334444, 6px 7px 0 0 #334444;
	box-decoration-break: clone;
}

/** centre only if we have room **/
header.cover .header-content {
	position: absolute;
	top: 50%;
	padding: 0 50px;
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
}

@media (min-width: 768px) {
	.header-content h1 {
		font-size: 24px;
	}
	.header-content h2 {
		font-size: 18px;
	}
	.header-content h3 {
		font-size: 16px;
	}
}


/*** CARD LAYOUT ***/
.container-card {
	margin: 10px;
}
.card {
	display: inline-block;
	width: 100%;
}
.card-block  {
	padding: 10px;
}
.col-md-4 {
	padding-right: 5px;
	padding-left:  5px;
}
.card-block h2 {
	font-weight: 600;
	font-size: 22px;
	margin-top: 0;
	margin-bottom: 10px;
}
.card-block h3 {
	font-weight: 600;
	font-size: 14px;
	margin-top: 16px;
	margin-bottom: 0;
}
.card-block p,
.card-block h4,
.card-block h5,
.card-block a {
	font-weight: 400;
	font-size: 14px;
	margin: 0;
	margin-top: 2px;
	margin-bottom: 10px;
	line-height: 1.2;
}
.card-block h5 {
	margin-bottom: 0;
}
.card-block p.caption {
	font-size: 11px;
	margin-bottom: 15px;
}
p.caption {
	margin-top: -10px;
}
.card-block img {
	border-radius: .25rem;
}
.card-block .img-extra {
	margin-bottom: 16px;
}
.card-block ul {
	font-size: 11px;
	line-height: 1.0;
	padding-left: 15px;
	padding-top: 5px;
}
.card-block li {
	padding-top: 5px;
}
.card-block li a {
	font-size: 11px;
}
.card-block blockquote {
	margin-left: 30px;
	margin-right: 30px;
}
.card-hilite {
    background-color: #fff;
    border: 2px solid #419650;
}
div.hilite {
	position: absolute; 
	top: 30px; 
	right: 30px; 
	z-index: 10;
	color: #eee;
	background-color: #4B5B5A;
	border-radius: .25rem;
	padding: 5px 10px;
	font-size: 13px;
}
.hilite .fa {
	margin-left: 6px;
}
@media (max-width: 768px) {
	.suppress {
		display: none;
	}
}

/*** FOOTER ***/
#footer {
	height: 40px;
	width: 100%;
	background-color: #415150;
	color: #ddd;
	text-align: left;
}
#footer .footer-inner {
	padding-left: 30px;
	padding-right: 30px;
}
#footer p {
	margin-top: 12px;
	font-weight: 400;
	font-size: 11px;
}
#footer .nav {
	padding-top: 6px;
}
.master {
	padding-bottom: 60px;
}


/*** columns ***/
.card-columns {
	-moz-column-count: 1;
	column-count: 1;
}
@media (min-width: 992px) {
	.card-columns {
		-moz-column-count: 2;
		column-count: 2;
	}
}


/*** FAQ ***/
#faq .question {
	font-family: 'Lobster', 'Helvetica Neue', Arial, sans-serif;
	font-weight: 200;
	font-size: 16px;
	color: #666;
	margin: 0;
	margin-top: 8px;
}


/*** SIDEBAR ***/
#sidebar .card-block ul {
	padding-top: 0px;
}
#sidebar .card-block h4 {
	font-family: 'Lobster', 'Helvetica Neue', Arial, sans-serif;
	font-weight: 200;
	font-size: 16px;
	color: #666;
	margin-bottom: 5px;
}
#sidebar .card-block h5 {
	margin-bottom: 5px;
}
#flickrshow { 
	width: 100%;
	height: auto;
}
#flickrshow a { 
	display: inline; 
	position: absolute; 
	top: 0; 
	z-index: 10; 
	width: 100%; 
	height: auto;
}
#flickrshow img { 
	width: 100%; 
	height: auto;
}


/*** ME ***/
#me h2,
#me h3,
#me h4,
#me p,
#me li {
	text-align: left;
	line-height: 1.2;
	margin-bottom: 20px;
	font-weight: 400;
}
#me h1,
#me h2,
#me h4 {
	font-weight: 600;
}
#me h2 em {
	font-weight: 800;
	font-style: normal;
	text-transform: uppercase;
}
#me p,
#me li {
	margin-bottom: 0;
}

#me h1 { font-size: 1.6rem; }
#me h2 { font-size: 1.2rem; }
#me h3 { font-size: 1.0rem; }
#me h4 { font-size: 1.0rem; }
#me p  { font-size: 0.8rem; }
#me li { font-size: 0.8rem; }
@media (min-width: 544px) {
	#me h1 { font-size: 2.8rem; }
	#me h2 { font-size: 1.8rem; }
	#me h3 { font-size: 1.4rem; }
	#me h4 { font-size: 1.2rem; }
	#me p  { font-size: 1.0rem; }
	#me li { font-size: 1.0rem; }
}

#me img {
	top: 0;
	left: 0;
	width: 100%;
	margin-bottom: 20px;
}
#me div {
	margin: 0;
	padding: 0;
}
#me .container-fluid {
	margin-left: 30px;
	margin-right: 30px;
}
#me .card {
	padding: 20px;
	border: 0px;
	background-color: inherit;
}
#me .inside {
	padding: 20px;
}


#sitemap .card {
	display: inline-block;
}


/*** MISC ***/
.pipe {
	display: inline-block;
	padding-left: 8px;
	padding-right: 8px;
}
.embed-responsive {
	margin-top: 20px;
	margin-bottom: 25px;
}
iframe {
	margin-top: 20px;
	margin-bottom: 15px;
}
