*, *:before, *:after {
    -webkit-box-sizing: border-box; /* Android = 2.3, iOS = 4 */
    -moz-box-sizing: border-box; /* Firefox 1+ */
    box-sizing: border-box; /* Chrome, IE 8+, Opera, Safari 5.1 */
}

html, body {-webkit-text-size-adjust: 100%;}

html {
	min-height: 100%;
}

body {
 	background-color: #ffffff;
 	background-image: url(/assets/img/Crack.gif);
 	background-position: right bottom;
 	background-repeat: no-repeat;
	color: #000000;
	margin: 0;
	padding: 2em;
	font-size: 18px;
	font-family: 'Open Sans', sans-serif;
	font-weight: 300;
	line-height: 1.7em;
}

a {
	color: #ab232f;
	font-weight: normal;
}

a:hover {
	color: #791921;
}

a img {
	border: none;
}

abbr {
    text-decoration: none;
}

h1, h2 {
	color: #523325;
	font-size: 1.5em;
	font-weight: normal;
	margin-top: 1em;
}

h2 a {
	text-decoration: none;
}

header {
	margin-bottom: 2em;
}

header h1 {
	margin-top: 0;
	font-size: 1em;
	text-align: center;
}

header h1 img {
	width: auto;
	max-width: 90%;
	height: auto;
	margin-bottom: 0em;
}

nav {
	margin: 2em 0 0 0;
}

nav .wrapper {
	width: 100%;
	text-align: center;
}

nav ul, footer ul, aside ul {
	list-style-type:none;
	margin:0;
	padding:0;
}

nav ul {
	z-index: 1;
}

nav ul a, footer ul a {
	text-decoration: none;
}

footer ul {
	float: left;
}

footer {
	padding-top: .25em;
}

footer>ul>li {
	display: inline-block;
}


nav>.wrapper>ul {
	list-style-type: none;
}

nav>.wrapper>ul>li, footer>ul>li {
	display: inline-block;
}

nav>.wrapper>ul>li {
	position: relative;
	border-left: rgba(82,51,37,0.3) solid 1px;
}

nav>.wrapper>ul>li a {
 	display: inline-block;
	text-align: center;
	font-weight: 300;
	font-size: 1em;
	padding: 0 1.5em;
	margin-bottom: .25em;
	white-space: nowrap;
}

nav>.wrapper>ul>li:first-of-type, nav>.wrapper>ul>li ul a {
	border: none;
}

nav>.wrapper>ul>li {
	border-left: 1px solid #000;
}

nav>.wrapper>ul>li a:hover {
/* 	background: #fee; */
	color: #500;
}

nav ul li ul {
	display: none;
}

nav ul li + li ul {
	display: none;
}

nav ul li:hover ul {
	display: block;
	position: absolute;
	top: 100%;
	left: 0;
	margin: 0;
	padding: 0;
	background: #fff;
	min-width: 100%;
 	box-shadow: 1px 1px 4px #666; 
}

nav ul li:hover li {
	text-align: left;
}

nav ul li:hover li a {
	color: #ab232f;
	padding: .25em .5em;
	display: block;
	font-size: .8em;
	text-align: left;
	margin: 0;
	line-height: 1.5em;
}

nav ul li li a:hover {
	background: #eeeeee;
	color: #ab232f;
}

footer ul a {
	font-size: 1.5em;
}

footer ul a .social-link-text {
	display: none;
}

#container {
	width: 100%;
	max-width: 54em;
}

main {
	margin: 1em 0 2em 0;
	width: 100%;
	min-height: 18rem;
}

main h1, main h2 {
	border-bottom: rgba(82,51,37,0.3) solid 1px;
}

main:first-child h1 {
	margin-top: 1em;
}

main>h2:first-of-type {
	margin-top: 0;
}

p:first-of-type {
	margin-top: 0;
}

article, .row>aside:first-child {
	float: left; 
	width: 60%;
}

article {
	margin-top: 2em;
}

article:first-of-type, article.twoColumn:nth-of-type(2) {
	margin-top: 0;
}

article.oneColumn {
	width: 32.4em;
}

article h2, article h3 + p {
	margin-top: 0;
}

article h3 {
	margin-bottom: 0;
}

.row {
	width: 100%;
}

figcaption {
	text-align: center;
	font-size: .8em;
	line-height: .8em;
	margin: -.25em 0 1em 0;
}

article figure, section figure {
	margin: 0;
}

article figure.floatRight, article figure.floatLeft {
	width: 25%;
}

article figure img, img.feature, ul.twoColumn img {
	-moz-border-radius: 100%;
	border-radius: 100%;
}

article figure img {
	width: 11em;
	height: 11em;
}

article figure.floatRight img, article figure.floatLeft img {
	width: 100%;
	height: auto;
}

article aside {
	width: 100%;
}

img.circle {
	-moz-border-radius: 100%;
	border-radius: 100%;
}

.twoColumn {
	width: 50%;
	float: left;
}

.featureColumn {
	width: 100%;
}

.twoColumn:nth-child(odd) {
	padding-right: 1em;
}

.twoColumn:nth-child(even) {
	padding-left: 1em;
}

.twoColumn figure, .featureColumn figure {
	text-align: center;
}

.twoColumn img {
	width: 50%;
	height: auto;
}

.featureColumn img {
	width: 25%;
	height: auto;
}

ul.articleList {
	width: 50%;
	float: left;
	margin-left: 0;
	padding-left: 0;
	margin-top: 3em;
	box-sizing: border-box;
}

ul.articleList li {
	display: block;
	box-sizing: border-box;
	list-style: none;
	padding-bottom: 1.5em;
	margin-bottom: 1.5em;
	font-size: 1em;
	border-bottom: rgba(82,51,37,0.1) solid 1px;
}

ul.articleList li p {
	margin: 0;
	line-height: 1.25em;
}

.articleList li time {
}

.articleList li a {
	font-weight: 300;
	text-decoration: none;
}

.articleDetails {
	float: right;
	width: 50%;
	margin-top: 3em;
	box-sizing: border-box;
	text-align: right;
}

.articleDetails img {
	width: 90%;
	height: auto;
	border-radius: 0.5em;
	border: 1px solid #eee;
}

.articleDetails a {
	text-decoration: none;
	font-weight: 300;
}


.threeColumn {
	width: 33.33%;
	float: left;
	padding-right: 1em;
}

.sectionPreview img {
 	width: 80%;
}

.sectionPreview h2 {
	margin-bottom: 2em;
}

.twoColumn img.icon {
	-moz-border-radius: 0;
	border-radius: 0;
}

article.twoColumn h2, article.featureColumn h2 {
	text-align: center;
	border: none;
	font-weight: 300;
}

main>.twoColumn h2 {
	border: none;
	text-align: center;
	font-weight: 300;
}

.twoColumn h2 a, .featureColumn h2 a {
	font-weight: 300;
	text-decoration: none;
}

article section.clear, main section.clear {
	clear: both;
}

article section {
	width: 75%;
}

figure.floatRight {
	padding-left: 2em;
}

figure.floatLeft {
	padding-right: 2em;
}

aside {
	float: left;
	width: 40%;
	padding-left: 5%;
}

.row>aside:first-child {
	padding-left: 0;
}

aside img {
	width: 100%;
	height: auto;
	margin-bottom: 1em;
}

aside h2 {
	color: #ab232f;
	font-weight: bold;
	font-size: 1em;
	border-bottom: none;
	margin-bottom: 0;
}

aside h3 {
	margin-bottom: 0;
	font-size: 1em;
}

aside h3 + p {
	margin-top: 0;
}

aside h3:first-of-type {
	margin-top: 0;
}

aside p {
	margin-bottom: 0;
} 

.row aside p, .row aside li {
	font-size: 0.9em;
	line-height: 1.5em;
}

footer {
	border-top: rgba(82,51,37,0.3) solid 1px;
	font-size: 1em;
	line-height: 1.2em;
	clear: both;
}

.footerInfo p {
	text-align: center;
	font-size: .7em;
	line-height: 1.2em;
	margin: 0.1em 0 0 0;
}

form {
	background-color: #f9f9f9;
	padding: 1em;
}

form label {
	display: block;
	line-height: 1em;
	border-bottom: rgba(82,51,37,0.3) dotted 1px;
	margin-bottom: .25em;
}

form label ~ label {
	margin-top: 1em;
}

form input, form textarea {
	font-size: 1em;
	padding: 0;
	margin: 0;
	width: 100%;
}

form textarea {
	margin-top: .25em;
	height: 6em;
}

form input[type=submit] {
	padding: .5em;
	margin-top: .5em;
	border: 0 none;
	border-radius: 0%;
	-webkit-appearance: none;
	background-color: #ab232f;
	color: #fff;
}

form input[type=submit]:hover {
	background-color: #791921;
	cursor: pointer;
}

ul.errors, div.alert {
	background-color: #f9f9f9;
	padding: 1em;
}

ul.errors li {
	list-style-type: none;
}

ul.errors li, div.alert {
	color: #ab232f;
}

div.alert {
	margin-bottom: 1em;
}

p.navLink {
	margin-top: 2em;
}

.right {
	text-align: right;
}

.floatRight {
	float: right;
}

.floatLeft {
	float: left;
}

.marginTop {
    margin-top: 1rem !important;
}

.marginTop1_5 {
    margin-top: 1.5rem !important;
}

#about {
	width: 100%;
}

strong.name {
	color: #ab232f;
}

.videoContainer {
	position: relative;
	left: 12.5%;
	padding-bottom: 42.1875%;
	padding-top: 30px; 
	height: 0; 
	width: 75%;
	overflow: hidden;
}

.videoContainer + .videoContainer {
	margin-top: 1rem;
}
 
.videoContainer iframe,
.videoContainer object,
.videoContainer embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%; 
	z-index: 0;
	border: none;
}

.notes { /* This is used in development to show me what else needs to be done */
	background-color: rgba(255,255,127,0.8);
	font-size: .7em;
	line-height: 1.4em;
	margin: .25em 0;
	position: absolute;
	left: 0;
	z-index: -1;
	width: 10em;
	padding: .5em;
	
}

.notesRight {
	right: 0;
	left: inherit;
}

footer .notes {
	font-size: .75em;
}

.notes ul {
	padding: 0 1.5em;
}

del {
	background-color: rgba(255,255,127,0.8);
	color: red;
}

ins {
	background-color: rgba(255,255,127,0.8);
	text-decoration: none;
	color: green;
}

.adr p {
	margin: 0;
}

.adr {
	margin-bottom: 1em;
}

.url {
	display: block;
}
/**** Swatches ****/

	span.swatch {
		display: inline-block;
		width: .8em;
		height: .8em;
		margin-right: .25em;
		-moz-border-radius: 100%;
		border-radius: 100%;
	}
	
	span.black {
		background-color: #30343E;
	}
	
	span.bronze {
		background-color: #A79041;
	}
	
	span.red {
		background-color: #C6223F;
	}
	
	span.silver {
		background-color: #B6C2D2;
	}
	
	.swatch img {
		margin-bottom: 0;
		border: none;
	}

/**** Slider ****/

	#slider, .gallery {
	    width: 100%;
	    margin-bottom: 3em;
	    position: relative;
	}
	
	/* Slides */

	#slider li {
		width: 100%;
		list-style:none;
/*		position: absolute;*/
	}
	
	#slider input {
		display: none;
	}
	
	#slider label {
		display: block;
		position: absolute;
		right: 0;
		z-index: 20;
		overflow: hidden;
		border: rgba(82,51,37,0.1) solid 1px;
		-moz-border-radius: 100%;
		border-radius: 100%;
		cursor: pointer;
	}
	
	#slider label, #slider label img {
		height: 2.5em;
		width: 2.5em;
	}
	
	#slider li:nth-child(1) label { top: 0em; }
	#slider li:nth-child(2) label { top: 2.75em; }
	#slider li:nth-child(3) label { top: 5.5em; }
	#slider li:nth-child(4) label { top: 8.25em; }
	#slider li:nth-child(5) label { top: 11em; }
	#slider li:nth-child(6) label { top: 13.75em; }
	#slider li:nth-child(7) label { top: 16.5em; }
	#slider li:nth-child(8) label { top: 19.25em; }
	
	#slider li a img {
		opacity: 0;
		transition: visibility .5s ease-in;
		transition: opacity .5s ease-in;
		vertical-align: top;
		visibility: hidden;
		z-index: 20;
		display: none;
	}
	
	#slider img {
		margin-bottom: 0;
	}
	
	#slider li input:checked ~ a>img {
		opacity: 1;
		visibility: visible;
		z-index: 30;
		display: inline;
	}
	
    
	#slider li a img,
    .gallery li a img {
		height: auto;
		width: 85%;
	}
	
div.imageLink {
	margin-top: 3rem;
}


/**** ClearFix ****/
.clearFix:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

.clearFix {
    display: inline-block;
}

html .clearfix {
    display: block;
}

* html .clearfix {
    height: 1%;
}


/**** Customizations to Magnific Popup ****/

.mfp-figure figcaption {
	margin: 0;
}

.mfp-figure:after { box-shadow: 0 0 0 #000; }
.mfp-arrow:after, .mfp-arrow .mfp-a {
	border-top-width: 33px;
	border-bottom-width: 33px;
}
.mfp-arrow-left { left: -75px; }
.mfp-arrow-right { right: -60px; }
.mfp-arrow-left:after, .mfp-arrow-left .mfp-a { border-right-width: 33px; }
.mfp-arrow-right:after, .mfp-arrow-right .mfp-a { border-left-width: 33px; }
.mfp-arrow { top: 45%; }

.mfp-fade .mfp-content,
.mfp-fade .mfp-arrow, .mfp-fade.mfp-bg {
  opacity: 0;
  -webkit-backface-visibility: hidden;
  -webkit-transition: opacity 0.3s ease-out;
  -moz-transition: opacity 0.3s ease-out;
  -o-transition: opacity 0.3s ease-out;
  transition: opacity 0.3s ease-out;
}
.mfp-fade.mfp-ready .mfp-content,
.mfp-fade.mfp-ready .mfp-arrow {
  opacity: 1;
}
.mfp-fade.mfp-ready.mfp-bg {
  opacity: 0.8;
}
.mfp-fade.mfp-removing .mfp-content,
.mfp-fade.mfp-removing .mfp-arrow, .mfp-fade.mfp-removing.mfp-bg {
  opacity: 0;
}

/**** Media Queries ****/

@media only screen and (min-width: 860px) {
	body {
		font-size: 18px;
	}
}

@media only screen and (max-width: 1059px) {
	
	#slider label, #slider label img {
		height: 3em;
		width: 3em;
		height: 4.25vw;
		width: 4.25vw;
	}
	
	#slider li:nth-child(1) label { top: 0em; top: 0vw; }
	#slider li:nth-child(2) label { top: 2.75em; top: 4.75vw; }
	#slider li:nth-child(3) label { top: 5.5em; top: 9.5vw; }
	#slider li:nth-child(4) label { top: 8.25em; top: 14.25vw; }
	#slider li:nth-child(5) label { top: 11em; top: 19vw; }
	#slider li:nth-child(6) label { top: 13.75em; top: 23.75vw; }
	#slider li:nth-child(7) label { top: 16.5em; top: 28.5vw; }
	#slider li:nth-child(8) label { top: 19.25em; top: 33.25vw; }
}

@media only screen and (max-width: 810px) {

	body {
		font-size: 15px;
	}

	#container, article, aside, .twoColumn, .threeColumn, .row aside, .row>aside:first-child, article figure, article section {
		float: none !important;
		width: 100% !important;
	}
	
	.twoColumn:nth-child(odd), .twoColumn:nth-child(even) {
		padding-left: 0;
		padding-right: 0;
	}
	
	aside {
		padding: 0;
		text-align: center;
	}
	
	aside .threeColumn, aside .twoColumn, .row aside {
		text-align: left;
	}
	
	aside img {
		width: 60%;
	}
	
	article figure.floatRight, article figure.floatLeft {
		text-align: center;
	}
	
	article figure.floatLeft {
		padding-right: 0;
	}
	
	article figure.floatRight {
		padding-left: 0;
	}
	
	article figure.floatRight img, article figure.floatLeft img {
		width: 50%;
	}
	
	nav {
		font-size: 1em;
	}
		
	nav>.wrapper>ul>li {
		display: block;
		border-left: none;
		border-top: rgba(82,51,37,0.3) solid 1px;
		width: 60%;
		left: 20%;
	}
	
	nav>.wrapper>ul>li:first-of-type {
		border-top: rgba(82,51,37,0.3) solid 1px;
	}
	
	nav>.wrapper>ul>li:last-of-type {
		border-bottom: rgba(82,51,37,0.3) solid 1px;
	}
	
	nav>.wrapper>ul>li>a {
		display: block;
	}
	
	nav ul li:hover ul {
		display: none;
	}
	
	.twoColumn:first-of-type {
		margin-bottom: 2em;
		padding-bottom: 2em;
		border-bottom: rgba(82,51,37,0.3) solid 1px;
	}
	
	.row + .row {
		margin-top: 2em;
		padding-top: 2em;
		border-top: rgba(82,51,37,0.3) solid 1px;
	}
	
	figcaption {
		font-size: 1em;
		line-height: 1em;
	}
	
	#slider {
		width: 100%;
/*
		height: 23.5em;
		height: 60vw;
*/
		overflow: hidden;
	}
	
	#slider.twoLines {
		height: 27em;
		height: 74vw;
	}
	
	#slider li {
		text-align: left;
        padding: 0 7.5%;
	}
	
	#slider label, #slider label img {
		height: 3em;
		width: 3em;
		height: 12vw;
		width: 12vw;
	}

	#slider li a img {
/*
		width: 20em;
		width: 44vw;
*/
        width: 100%;
		margin-top: 3.5em;
		margin-top: 14vw;
	}

	#slider.twoLines li a img {
		margin-top: 7em;
		margin-top: 28vw;
	}

	#slider li:nth-child(1) label { left: 0em; left: 0vw; top: 0; }
	#slider li:nth-child(2) label { left: 3.25em; left: 13vw; top: 0; }
	#slider li:nth-child(3) label { left: 6.5em; left: 26vw; top: 0; }
	#slider li:nth-child(4) label { left: 9.75em; left: 39vw; top: 0; }
	#slider li:nth-child(5) label { left: 13em; left: 52vw; top: 0; }
	#slider li:nth-child(6) label { left: 16.25em; left: 65vw; top: 0; }
	#slider li:nth-child(7) label { left: 0em; left: 0vw; top: 3.5em; top: 13vw;}
	#slider li:nth-child(8) label { left: 3.25em; left: 13vw; top: 3.5em; top: 13vw;}
	
	.mfp-arrow:before, .mfp-arrow:after, .mfp-arrow .mfp-a, .mfp-arrow .mfp-b, .mfp-counter {
		display: none;
	}
    
    .featureColumn img {
        width: 50%;
    }
}

@media only screen and (max-width: 600px) {
	
	ul.articleList, .articleDetails, .articleDetails img {
		width: 100%;
	}
	
	.articleImageWrapper {
		max-height: 12rem;
		overflow: hidden;
	}
}

@media only screen and (min-width: 811px) and (max-width: 996px) {
	nav {
		font-size: .8em;
	}
}
