/*
Theme Name: millerrupp
Theme URI: http://millerrupp.com
Author: Josh Meyer
Author URI: http://photricity.com
Text Domain: millerrupp
*/

/* GENERAL */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
	display: block;
}

body {
	margin: 0;
	font: 1.3em/1.5 'Abel', sans-serif;
	color: #000;
	background-color: #edf1f2;
	word-wrap: break-word;
}

.margin {
	padding: 0 5% 3em 5%;
	overflow: hidden;
}

#header {
	padding-top: 8em;
	background: url(images/header-bg.jpg) no-repeat center top;
	background-size: cover;
	text-align: right;
	overflow: hidden;
}

.home #header {
	padding-top: 12em;
}

#main-title {
	margin: 0;
	font-size: 2.5em;
	color: #2e3b3d;
	text-align: left;
}

.home #main-title,
.search #main-title {
	display: none;
}

#slogan {
	font-size: 2.5em;
	color: #2e3b3d;
}

#sub-slogan {
	float: right;
	max-width: 27em;
	margin: 0;
	font-size: 1.5em;
	color: #2e3b3d;
}

#header-decor {
	position: absolute;
	bottom: -.04em;
	left: 0;
	width: 100%;
	height: 100%;
	fill: #fff;
}

body.home #header-decor {
	fill: #2e3b3d;
}

#features {
	padding-top: 4em;
	background-color: #2e3b3d;
	overflow: hidden;
	text-align: center;
	color: #fff;
}

#features a {
	color: #fff;
}

.feature-icon {
	margin: 0 auto 1em auto;
	width: 7em;
	height: 3.36em;
	fill: #fff;
	transition: fill .3s ease-in-out;
}

.feature-icon:hover {
	fill: #e79545;
}

#features-decor {
	position: absolute;
	bottom: -.04em;
	left: 0;
	width: 100%;
	height: 100%;
	fill: #fff;
}

#content {
	padding-top: 4em;
	background-color: #fff;
	overflow: hidden;
}

#content-decor {
	position: absolute;
	bottom: -.04em;
	left: 0;
	width: 100%;
	height: 100%;
	fill: #edf1f2;
}

#footer {
	padding: 3em 5%;
	background-color: #edf1f2;
	overflow: hidden;
}

.decor-container {
	position: relative;
	height: 0;
	padding-bottom: 2.04%;
	clear: both;
}





/* TYPOGRAPHY */
h1,
h2 {
	margin: 0 0 .5em 0;
	font-size: 2em;
	font-weight: normal;
	line-height: 1.3;
}

h3,
h4,
h5,
h6 {
	margin: 0 0 .3em 0;
	font-weight: normal;
}

h3 {
	font-size: 1.5em;
}

h4 {
	font-size: 1em;
}

h5,
h6 {
	font-size: .83em;
	text-transform: uppercase;
}

p {
	margin: 0 0 1em 0;
}

b,
strong {
	font-weight: bold;
}

em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 0 1em 0;
	padding: 0 1.7em;
}

abbr[title],
acronym[title] {
	border-bottom: 1px dotted;
}

del {
	text-decoration: line-through;
}

dfn {
	font-style: italic;
}

small,
.small {
	font-size: 80%;
}

big,
.big {
	font-size: 120%;
}

sub,
sup {
	position: relative;
	vertical-align: baseline;
	font-size: 75%;
	line-height: 0;
}

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

code,
kbd,
pre,
samp {
	font-family: monospace;
	font-size: 1em;
}

pre {
	overflow: auto;
}

hr {
	clear: both;
	height: 1px;
	background: #ccc;
	border: 0;
}

.center {
	text-align: center;
}
.text-right {
	text-align: right;
}

ul,
ol,
li {
	margin: 0;
	padding: 0;
	list-style: none;
}

article.post ul li,
article.page ul li {
	margin-left: 1.2em;
	list-style: disc outside none;
}

article.post .post-content > ul,
article.page .post-content > ul {
	margin-bottom: 1em;
}

article.post ul ul li,
article.page ul ul li {
	list-style: disc outside none;
}

article.post ol ul li,
article.page ol ul li {
	list-style: disc outside none;
}

article.post ol li,
article.page ol li,
article.post ol ol ol li,
article.page ol ol ol li {
	margin-left: 1.4em;
	list-style: decimal outside none;
}

article.post .post-content > ol,
article.page .post-content > ol {
	margin-bottom: 1em;
}

article.post ol ol li,
article.page ol ol li {
	list-style: lower-alpha outside none;
}

/* use highlight class to make text orange */
.highlight {
	color: #e79545;
}

::selection {
	background: #01a1be;
	color: #fff;
}





/* LINKS */
a {
	color: #01a1be;
	text-decoration: none;
	transition: color .3s ease-in-out;
}

a:hover,
a:active,
a:focus {
	color: #e79545;
	outline: 0;
	text-decoration: none;
}





/* POSTS */
article.post,
article.page,
article.attachment {
	margin-bottom: 2em;
	overflow: hidden;
}

.post-info {
	clear: both;
	font-size: .8em;
	text-transform: uppercase;
	line-height: 1.4;
}

.pagination {
	padding: 1em 0;
	overflow: hidden;
	font-weight: 400;
}

.page-numbers li {
	display: inline-block;
	float: left;
	text-align: center;
	padding: .3em;
}

.page-numbers a,
.page-numbers .current {
	display: block;
	padding: 0 .4em;
}





/* IMAGES */
img {
	max-width: 100%;
	height: auto;
	border: 0;
}

svg:not(:root) {
	overflow: hidden;
}

.size-thumbnail {
	max-width: 45%;
}

.alignnone {
	max-width: 100%;
	margin: .2em .8em .8em 0;
}

.aligncenter {
	max-width: 100%;
	margin: .2em auto;
}

.alignright {
	float: right;
	max-width: 48%;
	margin: .2em 0 .8em .8em;
}

.alignleft,
.attachment-post-thumbnail {
	float: left;
	max-width: 48%;
	margin: .2em .8em .8em 0;
}

.auto-columns .attachment-post-thumbnail {
	float: none;
	max-width: 100%;
}

a img .alignright {
	float: right;
	margin: .2em 0 .8em .8em;
}

a img .alignnone {
	margin: .2em .8em .8em 0;
}

a img .alignleft {
	float: left;
	margin: .2em .8em .8em 0;
}

a img .aligncenter {
	display: block;
	margin: 0 auto;
}

.wp-caption {
	padding: .2em 0 .4em;
	text-align: center;
	font-size: 80%;
}

.wp-caption .alignnone {
	margin: .2em .8em .8em 0;
}

.wp-caption .alignleft {
	margin: .2em .8em .8em 0;
}

.wp-caption .alignright {
	margin: .2em 0 .8em .8em;
}

.wp-caption img {
	max-width: 98.5%;
	margin: 0;
	padding: 0;
}

.wp-caption .wp-caption-text {
	margin: 0;
	padding: 0 .1em .2em;
}

.gallery-caption {
	text-align: center;
}

@media (max-width: 740px) {
	.alignleft,
	.alignright,
	a img .alignleft,
	a img .alignright {
		display: block;
		float: none;
		max-width: 100%;
		margin: .2em 0 .4em 0;
	}

	.alignnone {
		margin: 0 .4em .4em 0;
	}
}





/* LAYOUT */
.one-third {
	width: 31.33%;
	float: left;
	margin-right: 2%;
	margin-bottom: 30px;
	overflow: visible;
}
.one-half {
	width: 48%;
	float: left;
	margin-right: 2%;
	margin-bottom: 30px;
	overflow: visible;
}
.two-thirds {
	width: 64.66%;
	float: left;
	margin-right: 2%;
	margin-bottom: 30px;
	overflow: visible;
}

/* AUTOMATIC TEXT COLUMNS (wrap text with class "auto-columns") */
.auto-columns {
	-webkit-column-count: 3;
	-webkit-column-gap: 1em;
	-moz-column-count: 3;
	-moz-column-gap: 1em;
	column-count: 3;
	column-gap: 1em;
	margin-bottom: 1.5em;
}

@media (max-width: 950px) {
	.one-third,
	.one-half,
	.two-thirds {
		width: 100%;
		float: none;
		margin-right: 0;
		clear: both;
	}
	.auto-columns {
		-webkit-column-count: 2;
		-moz-column-count: 2;
		column-count: 2;
	}

	.post-date {
		padding: .08em .13em .13em .13em;
	}

	body {
		font-size: 1.2em;
		background-size: 1024px;
	}

	#header {
		padding-top: 9em;
	}
}

@media (max-width: 650px) {
	.auto-columns {
		-webkit-column-count: 1;
		-moz-column-count: 1;
		column-count: 1;
	}

	body {
		font-size: 1.1em;
	}
}





/* MISC */
embed,
iframe,
object,
video {
	max-width: 100%;
	margin-bottom: 1.5em;
}

p > embed,
p > iframe,
p > object,
span > embed,
span > iframe,
span > object {
	margin-bottom: 0;
}

[hidden],
template {
	display: none;
}


/* RESPONSIVE VIDEO (place each embed in div with class "responsive-video") */
.responsive-video {
	position: relative;
	height: 0;
	margin-bottom: 15px;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
}

.responsive-video iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}


#facebook,
#twitter,
#linkedin {
	width: 1.9em;
	height: 1.9em;
	display: inline-block;
	fill: #01a1be;
	margin: 0 .2em;
	transition: fill .3s ease-in-out;
}

#facebook:hover,
#twitter:hover,
#linkedin:hover {
	fill: #e79545;
}

#photricity {
	color: #b5c7cc;
	line-height: 1.3;
}

#photricity a {
	color: #b5c7cc;
}

#photricity-icon {
	width: 1.1em;
	height: 1.1em;
	vertical-align: middle;
}

#photricity-circle {
	fill: #b5c7cc;
}

#photricity-mark {
	fill: #edf1f2;
}

.miller {
	color: #01a1be;
}

.rupp {
	color: #000;
}

.testimony {
	max-width: 46em;
	margin: 0 auto;
}

.quote-author {
	display: block;
	text-align: right;
}






/* NAVIGATION */
#nav {
	position: fixed;
	top: 0;
	z-index: 999;
	padding: 0 5%;
	width: 90%;
	height: 5em;
	background: rgba(17,29,31,.85);
	overflow: visible;
}

#logo {
	display: block;
	float: left;
	overflow: hidden;
	width: 4.25em;
	height: 100%;
}

.menu {
	padding-left: 1em;
	margin-top: 1.2em;
	overflow: hidden;
}

.menu li a {
	display: block;
	float: left;
	padding: .2em;
	margin: 0 .4em;
	text-transform: lowercase;
	font-size: 1.3em;
}

.mobile-nav {
	display: none;
}

@media (max-width: 1155px) {
	.menu {
		display: none;
		position: fixed;
		top: 5em;
		left: 0;
		bottom: 0;
		z-index: 999;
		padding: .4em 5% .4em 5%;
		margin: 0;
		width: 95%;
		background: rgba(17,29,31,.85);
		overflow-y: scroll;
		overflow-x: hidden;
	}

	.mobile-nav {
		float: right;
		width: 2em;
		height: 2em;
		margin-top: 1.5em;
		fill: #01a1be;
		transition: fill .3s ease-in-out;
	}

	.mobile-nav:hover {
		fill: #e79545;
	}

	#nav:not(:target) .mobile-nav:first-of-type,
	#nav:target .mobile-nav:last-of-type {
		display: block;
	}

	#nav:target ul.menu {
		display: block;
	}

	.menu li a {
		clear: both;
		padding: 0;
		margin: .2em 0 .2em 0;
		width: 100%;
	}
}





/* FORMS */
button,
input,
optgroup,
select,
textarea {
	margin: 0 0 .2em 0;
	color: inherit;
	font: inherit;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
}

button[disabled],
html input[disabled] {
	cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	padding: 0;
	border: 0;
}

input {
	line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	padding: 0;
}

input[type="search"] {
	-webkit-appearance: textfield;
	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;
	box-sizing: content-box;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

fieldset {
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

textarea {
	overflow: auto;
}

input,
textarea {
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	max-width: 100%;
	padding: .3em .5em;
	color: #fff;
	background: #2e3b3d;
	border-radius: 1em;
	border: 0;
}

input:hover,
input:focus,
textarea:hover,
textarea:focus {
	outline: 0;
}

.button,
.more-link,
.comment-reply-link,
input[type="submit"],
input[type="reset"] {
	padding: .3em 1em .4em 1em;
	background: #01a1be;
	color: #fff;
	border-radius: 1em;
	border: 0;
	transition: background .2s ease-in-out;
}

.button:hover,
.button:active,
.button:focus,
.more-link:hover,
.comment-reply-link:hover,
.comment-reply-link:active,
input[type="submit"]:hover,
input[type="reset"]:hover {
	background: #e79545;
	color: #fff;
}

textarea {
	display: block;
	width: 25em;
	min-height: 5em;
	overflow: auto;
}

input[type="image"] {
	width: auto;
	height: auto;
}

input[type="radio"],
input[type="checkbox"] {
	width: auto;
	height: auto;
	background: none;
}

input[type="file"] {
	border: 0;
}

.screen-reader-text,
.assistive-text,
.form-allowed-tags,
.search-submit {
	display: none;
}