/* CSS Document */

/* base font and settings */

body {
	font-family: Georgia, serif;
	color: #707070;
	margin:0;
	padding:0;
}

h1 {
	font-size: 3em;
	color: #3B3B3B;
	font-weight: lighter;
}

h2 {
	font-size: 2.25em;
	color: #3B3B3B;
	font-weight: lighter;
}

h3 {
	font-size: 1.75em;
	font-weight: lighter;
}

h4 {
	font-size: 1.5em;
	font-weight: lighter;
}

p {
	font-size: 1.35em;
	line-height: 1.5;
}

a {
	text-decoration: none;
	/*color: #878787;*/
	color: darkgray;
}

input {
	padding: 4px;
	width: 40%;
	font-family: Georgia, serif;
	font-size: 1em;
	line-height: 1.5;
}

textarea {
	padding: 4px;
	width: 100%;
	height: 7em;
	font-family: Georgia, serif;
	font-size: 1em;
	line-height: 1.5;
}

.container {
	/*padding: 10px;*/
	width: 75%;
	max-width: 1600px;
	margin-left: auto;
	margin-right: auto;
}

.flexcontainer {
	max-width: 1600px;
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-start;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.flexbox {
	background-color: #DBDBDB;
	width: 28.25%;
	/*margin-right: 2.25%;
	margin-left: 2.25%;*/
	display: inline-block;
	box-sizing: border-box;
	text-align: left;
	margin-bottom: 2em;
	/*max-height: 600px;*/
	
	align-self: stretch;
}

.flexbox-sub {
	padding: 1em;
}

.button {
	padding: 0.5em;
	width: 125px;
	text-align: center;
	/*background-color: #707070;*/
	background-color: #878787;
	color: white;
}

.button:hover {
	background-color: gray;
}



.clearfix::after {
  content: "";
  clear: both;
  display: table;
}


/* == MAIN PAGE == */


#logo img {
	padding-top: 10px;
	width: 232px;
	height: auto;
}

/* header */
header {
	padding-top: 1em;
}

header nav {
	display: inline;
	float: right;
}

header ul li {
	display: inline;
	font-size: 2.25em;
	padding-left: 0.875em;
}

#mobile-headernav {
	display: none;
}

/* banner, splash, cta */
.splash {
	background-image: url("img/Rollei_3.5F_(2215349696).jpg");
	background-repeat: no-repeat;
	height: 550px;
	background-position: right 70%;
	background-size: 55%;
	position:relative;
	border-top: thin solid black;
	border-bottom: thin solid black;
	margin-top:1.5em;
	margin-bottom:2em;
}

.splash h1 {
	padding-top: 350px;
	padding-left: 2em;
	padding-bottom: 2em;
	width: 460px;
	vertical-align: text-bottom;
}

/* ARTICLE SPECIFIC SPLASHES */

#splash-a01 {
	background-image: url("img/articles/01/06-DSC_1367-1.jpg");
	background-position: center 67.5%;
	background-size:110%;
}

#splash-a02 {
	background-image: url("img/articles/02/DSC_1688.jpg");
	background-position: center 67.5%;
	background-size:110%;
}

#mobile-cta {
	display:none;
}


#about {
	width: 50%;
	margin-top:3em;
	margin-bottom: 3em;
	margin-left: auto;
	margin-right: auto;
}

#category {
	margin-top:1em;
	margin-bottom: 3em;
	display:block;
	text-align: center;
	border-top: thin solid black;
	border-bottom: thin solid black;
}

#articleheader {
	display:block;
	text-align: center;
	border-bottom: thin solid black;
	margin-bottom:3em;
}

/* articles */
.flexbox p {
	font-size: 1em;
}

.flexbox img {
	width:100%;
	height: auto;
}

.flexbox .button {
	margin-right: auto;
	margin-left: auto;
	display: block;
	margin-top: -1em;
	margin-bottom: 1.5em;
}

.articleinfo {
	font-style: oblique;
}


/* see more */

#seemore {
	text-align: center;
	margin-bottom:2em;
	margin-left: auto;
	margin-right: auto;
	padding-bottom: 2em;
}

#seemore .button {
	display:inline-block;
	margin-left: 1em;
	margin-right: 1em;
}

/*contact form*/
#contactform {
	background-color: #DBDBDB;
	border-top: thin solid black;
	border-bottom: thin solid black;
	padding-left: 2%;
	padding-right: 2%;
	padding-bottom: 4em;
	margin-bottom: 8em;
}

#contactform * {
	display:block;
	margin-left: 0;
	margin-bottom: 1em;
	font-family: Georgia, serif;
	color: #707070;
}

#contactform h4 {
	width: 50%;
}

#contactform a {
	padding: 0.5em;
	width: 125px;
	text-align: center;
	/*background-color: #707070;*/
	background-color: #878787;
	color: white;
	display:block;
	float:left;
	/*margin-left: 1em;*/
}

/*sub form */
#subform {
	background-color: #DBDBDB;
	border-top: thin solid black;
	border-bottom: thin solid black;
	padding-left: 2%;
	padding-right: 2%;
	padding-bottom: 2em;
}

#subform h4 {
	width: 50%;
}

#subform input {
	float: left;
}

#subform a {
	padding: 0.5em;
	width: 125px;
	text-align: center;
	/*background-color: #707070;*/
	background-color: #878787;
	color: white;
	display:block;
	float:left;
	margin-left: 1em;
}

/* footer */
footer {
	padding-top: 2em;
	padding-bottom: 1.5em;
	text-align: center;
}

/* social media */
#social-media {
	display: flex;
	justify-content: space-around;
	margin-bottom: 2em;
}

#social-media * {
	display: inline;
}

#social-media ul {
	
	list-style-position: inside;
	padding-left: 0;
}

#social-media ul li {
	display: inline;
}

#social-media a {
	padding-left:0.5em;
	padding-right:0.5em;
	display: inline;
}

/* social media sharing buttons for articles */

#social-media-share {
	display: flex;
	justify-content:  flex-start;
	/*margin-bottom: 2em;*/
}

#social-media-share * {
	display: inline;
}

#social-media-share ul {
	
	list-style-position: inside;
	padding-left: 0;
}

#social-media-share ul li {
	display: inline;
}

#social-media-share a {
	padding-left:0.5em;
	padding-right:0.5em;
	display: inline;
}

#footernav {
	display:none;
}


/* == FAQ PAGE == */

.faq {
	background-color: #DBDBDB;
	border-top: thin solid black;
	border-bottom: thin solid black;
	padding: 2%;
	margin-bottom: 3em;
}

.faq span {
	font-style: oblique;
	font-weight: bold;
}

.faq p {
	
}


/* == ARTICLE == */

.articlebox {
	/* width: 28.25%; */
	width: 56.5%;
	/*margin-right: 2.25%;
	margin-left: 2.25%;*/
	display: inline-block;
	box-sizing: border-box;
	text-align: left;
	margin-top:-2em;
	margin-bottom: 2em;

}

.articlebar {
	float: right;
	width:30%;
}

.articlebar .flexbox {
	width:100%;
}

.articlespacer {
	padding-top:1em;
}

/*#articles .flexcontainer .flexbox {
	flex-direction: column;
}*/

figure {
	margin:0;
	text-align: center;
}

figure img {
	max-width: 100%;
}

figcaption {
	margin:0;
	text-align: center;
	font-size: 0.9em;
}


/* color swatches */
.swatch {
	width: 42px;
	height: 42px;
	float: left;
	margin: 5px;
}

.no1 {
	background-color: #DBDBDB;
}

.no2 {
	background-color: #707070;
}

.no3 {
	background-color: #878787;
}

.no4 {
	background-color: #3B3B3B;
}

.clearfix::after {
	content: "";
 	clear: both;
 	display: table;
}


/* MEDIA QUERIES (real) */


/* TODO FINISH TABLET SIZING */

/* tablet */
@media screen and (max-width:1400px) {
	.flexbox {
		width:47.5%;
	}
	
	#about {
		width:77.5%;
	}
	
	/* header */
	
	
	#logo img {
		margin-left: auto;
		margin-right: auto;
		display: block;
	}
	
	header nav {
		float:none;
		text-align: center;
	}
	
	header ul li {
		margin-left: 0.25em;
		margin-right: 0.25em;
		padding-left: 0;
	}
	
	/* banner, splash, cta */
	.splash {
		background-size:52.5%;
		background-position: 125%;
	}
	
	/* == article page == */
	.articlebox {
		width:100%;
	}
	
	.articlebar {
		float: none;
		width: 100%;
		display: flex;
		justify-content: space-between;
	}
	
	.articlebar .flexbox {
		width:47.5%;
	}
}

/* mobile */
@media screen and (max-width:1000px) {
	
	
	/* containers */
	
	.container {
		width:100%;
	}
	
	.flexcontainer {
		width:77.5%;
	}
	
	.flexbox {
		width:100%;
	}
	
	.articlebar {
		display: block;
	}
	
	.articlebar .flexbox {
		width:100%;
	}
	
	#about {
		width:77.5%;
	}
	
	/* header */
	#headernav {
		display: none;
	}
	
	#logo img {
		margin-left: auto;
		margin-right: auto;
		display: block;
	}
	
	#mobile-headernav {
		float:none;
		display: block;
		margin-top: 1em;
		margin-left: auto;
		margin-right: auto;
	}
	
	#mobile-headernav a, img {
		display: block;
		margin-left: auto;
		margin-right: auto;
	}
	
	/* banner, splash, cta */
	.splash  {
		height: 330px;
		background-position: center 65%;
		background-size:55%;
	}
	
	#cta {
		display:none;
	}
	
	#mobile-cta {
		display:block;
		text-align: center;
		border-bottom: thin solid black;
	}
	
	/* see more */
	#seemore .button {
		display:block;
		margin-left: auto;
		margin-right: auto;
		margin-bottom: 1em;
	}
	
	/* form */
	#subform {
		margin-left: auto;
		margin-right: auto;
		text-align: center;
		display: block;
	}
	
	#subform h4 {
		width:77.5%;
		margin-left: auto;
		margin-right: auto;
	}
	
	#subform input {
		width:77.5%;
		margin-left: auto;
		margin-right: auto;
		display: block;
		float:none;
	}
	
	#subform a {
		display:block;
		margin-top:1em;
		margin-bottom: 1em;
		margin-left: auto;
		margin-right: auto;
		float:none;
	}
	
	#contactform {
		margin-left: auto;
		margin-right: auto;
		text-align: center;
		display: block;
	}
	
	#contactform h4 {
		width:77.5%;
		margin-left: auto;
		margin-right: auto;
	}
	
	#contactform input {
		width:100%;
		margin-left: auto;
		margin-right: auto;
		display: block;
		float:none;
	}
	
	#contactform a {
		display:block;
		margin-top:1em;
		margin-bottom: 1em;
		margin-left: auto;
		margin-right: auto;
		float:none;
	}
	
	/* footer */
	#footernav {
		display: block;
		background-color: #DBDBDB;
		border-top: thin solid black;
		padding-top: 2em;
		padding-bottom: 2em;
		margin-bottom: -2em;
	}
	
	#footernav ul {
		list-style-position: inside;
		padding-left: 0;
	}
	
	#footernav ul li {
	list-style: none;
	font-size: 2.25em;

	}
	
	
}

/* extra small screen fix */
@media screen and (max-width:500px) {
	.splash {
		height:200px;
	}
	
}






