/*************************************************************/
/***********************  Version 15.0  **********************/
/*************************************************************/

#modal-background {
	height: calc(100% + 72px); /* 72 = navbar (100) - footer (28)*/
}

html, body {
	height: 100%;
}

section {
	width: 100%;
}

section h1 {
	font-family: "Quicksand Reg",sans-serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-weight: 100;
	font-size: 22px;
	color: #14226f;
	text-align: center;
	margin: -4px 10px 14px 10px;
}

.index-container {
	width: 100%;
	text-align: center;
	padding-top: 35px;
	margin-bottom: 30px;
	box-shadow: 0 0 40px 0px rgba(0,0,0,0.1);
}

.index-container a, .index-container a:visited {
	color: #7f7e7e;
}

.horiz-center, .horiz-center-sticky {
	box-sizing: border-box;
	display: inline-block;
	margin: 0 17px 34px 17px;
	background: white;
	cursor: pointer;
	box-shadow: 2px 2px 5px rgba(51,51,51,0.2);
	vertical-align: top;
	text-align: center;
	-webkit-transition: opacity 150ms ease-in-out;
	-moz-transition: opacity 150ms ease-in-out;
	-o-transition: opacity 150ms ease-in-out;
	transition: opacity 150ms ease-in-out;
	padding: 6px 6px 0 6px;
}

.horiz-center > img, .horiz-center-sticky > img {
	width: 100%;
	height: auto;
}

h2 {
	font-family: "Quicksand Light", sans-serif;
	font-size: 16px;
	font-weight: 100;
	margin: 4px 3px 8px 3px;
}

.horiz-center-sticky > h2 {
	font-size: 18px;
}

.horiz-center {
	width: 29%;
	max-width: 558px;
}

.horiz-center-sticky {
	max-width: 768px;
}

.blog-article-container {
	max-width: 755px;
	width: 100%;
	margin: 0 auto;
	box-sizing: border-box;
}

article {
	font-family: "Gotham VLight", sans-serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	padding: 35px 35px 22px 35px;
	margin-bottom: 30px;
	font-weight: normal;
	background: #f7f7f7;
	box-shadow: 0 0 40px 0px rgba(0,0,0,0.1);
}

article h1 {
	margin-bottom: 9px;
}

article h2 {
	font-family: "Quicksand Reg",sans-serif;
	margin-top: 25px;
	font-size: 17px;
	line-height: 22px;
	font-weight: 100;
}

article p {
	line-height: 24px;
}

article ul, article ol {
	width: 90%;
	color: #14226f;
}

article ul li, article ol li {
	margin-top: 10px;
	font-size: 15px;
}

article a {
	color: #14226f;
}

article a:hover {
	opacity: 0.7;
}

.blog-image-container, .blog-2tile-image-container {
	width: 100%;
	padding: 2px 0;
}

.blog-2tile-image-container {
	display: inline-block;
	max-width: 269px;
}

.blog-2tile-image-container div {
	margin: 0 6px;
}

.blog-image {
	max-width: 508px;
	margin: 11px auto 16px auto;
	padding: 6px;
	border: solid #14226f 1px;
}

.blog-image > img {
	width: 100%;
	height: auto;
	vertical-align: text-bottom;
}

.blog-image-title {
	font-size: 17px;
	margin-top: 5px;
	font-style: italic;
}

.blog-image-description {
	max-width: 508px;
	margin: -15px auto 15px auto;
	padding-top: 5px;
	font-weight: 900;
	font-size: 12px;
	line-height: 16px;
	color: #14226f;
}


/*** Comments and sharing ***/

.blog-comments-style {
	padding: 0 10px 10px 10px;
	font-size: 15px;
}

.blog-comments-style p {
	font-weight: 100;
}

#blog-comments-form textarea {
	width: 100%;
	height: 80px;
	box-sizing: border-box;
	padding: 4px;
	margin-top: -8px;
	font-size: 15px;
	border: solid #dedede 1px
}

#guestname {
	max-width: 250px;
	margin-left: 5px;
}

#blog-comments {
	clear: both;
	margin: 5px 5px 12px 5px;
}

.blog-comment-postedby {
	padding: 23px 0 2px 1px;
}

.blog-comment-message {
	font-size: 15px;
	color: #777;
	line-height: 140%;
	padding: 0 3px;
}


/*** Index list and tags ***/

#blog-extras {
	display:flex;
	font-family: "Quicksand Light", sans-serif;
	font-size: 14px;
	max-width: 721px;
	padding-top: 4px;
	visibility: hidden;
}

#blog-extras h4 {
	margin: 0;
}

.extra {
	box-sizing: border-box;
	flex: 1;
	margin: 0 0px 30px 0px;
};

#main-archive {
	min-width:262px;
}

.archive-category {
	padding: 10px 5px 0px 4px;
	cursor: pointer
}

.archive-category span {
	font-family: "Times New Roman", Times, serif;
	color: #14226f;
	font-size: 1em;
	margin-right: 2px;
}

.archive-index {
	padding: 0 0 0 25px;
	color: #14226f;
	overflow-y: hidden;
}

.archive-index div {
	padding: 7px 2px 5px 2px;
	border-bottom: solid 1px #ddd;
}

.archive-index a, #main-archive .archive-index a:visited {
	color: #14226f;
}

.tag {
	display:inline-block;
	text-align: center;
	color: #14226f;
	cursor: pointer;
	padding: 4px 5px;
	margin: 14px 5px 0px 5px;
	font-size: 15px;
	box-shadow: 0 0 5px 0px rgba(0,0,0,0.2)
}

footer {
	position: absolute;
	bottom: 0;
	width: 100%;
	border-top: solid #14226f 1px;
	visibility: visible;
}


/*** Media queries ***/

@media screen and (max-width: 1287px) {
	.blog-comments-style {
		margin-bottom: 15px;
	}

	#blog-extras {
		padding-left: 6px;
		padding-right: 6px;
	}
}

@media screen and (max-width: 1024px) {
	.horiz-center, .horiz-center-sticky {
		margin: 0 13px 30px 13px;
	}
}

@media screen and (max-width: 902px) {
	.horiz-center {
		width: 44%;
		margin-bottom: 24px;
		margin-left: 10px;
		margin-right: 10px;
	}
}

@media screen and (max-width: 619px) {
	#wrapper {
		padding: 15px 0 23px 0;
	}

	#content-main {
		margin-top: -25px;
		margin-bottom: 1px;
	}

	#content-index {
		margin-top: -25px;
		margin-bottom: 5px;
	}

	.index-container {
		margin-top: 11px;
		margin-bottom: 15px;
		padding-top: 0px;
		box-shadow: none;
	}

	.horiz-center, .horiz-center-sticky {
		max-width: 100%;
		width: 92%;
		margin-left: 0px;
		margin-right: 0px;
		box-shadow: 0 0 15px 1px rgba(0,0,0,0.15);
	}

	.horiz-center-sticky > h2 {
		font-size: 16px;
	}

	section h1 {
		margin-top: 1px;
		margin-bottom: 11px;
		font-size: 19px;
	}

	.blog-article-container {
		margin-top: 0;
	}

	article {
		padding: 0px 16px;
		box-shadow: none;background:#f7f7f7;
	}

	.blog-image {
		margin: 0px auto 6px auto;
	}

	.blog-image-description {
		margin: -6px auto 3px auto;
	}

	.blog-comments-style {
		padding: 0 17px 10px 17px;
		margin-top: -10px;
	}

	.blog-comments-style {
		margin-bottom: 25px;
	}

	#blog-extras {
		flex-direction: column;
	}

	#main-archive {
		width: 100%;
		max-width: 352px;
	}

	.archive-index div {
		padding-top: 9px;
		padding-bottom: 7px;
	}
}
