/*	Theme Name: Steel Valley Capital
	Theme URI: http://www.steelvalleycapital.com
	Description: A custom Wordpress theme developed for Steel Valley Capital
	Author: Steel Valley Capital
	Author URI: http://www.steelvalleycapital.com
*/


/* PAGE ELEMENTS
==================================================================================================== */

body {
	font-family: 'Droid Serif', Georgia, Times, serif;
	color: #555;
	background: #231f20;
	font-size: 1.0625em;
	font-smoothing: antialiased;
	-moz-font-smoothing: grayscale;
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
}

body.home {
	background: url(img/valley-background.jpg) top center no-repeat fixed;
	background-size: cover;
}

body.noscroll {
	overflow: hidden;
}


/* TYPOGRAPHY
==================================================================================================== */

h1 {
	padding: 0px 0px 12px 0px;
	color: #555;
	font-size: 2.5em;
	line-height: 1.2;
}

h2 {
	padding: 12px 0px 12px 0px;
	color: #000;
	font-size: 1.5em;
	font-weight: 700;
	line-height: 1.2;
}

h3 {
	padding: 0px 0px 24px 0px;
	color: #000;
	font-size: 1.25em;
	line-height: 1.7;
	font-style: italic;
}

h4 {

}

a, a:visited {
	color: #f7941e;
	text-decoration: none;
	transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
}

a:hover {
	text-decoration:underline;
}

#content h3 {
	color:444;
}

#content p {
	margin: 0px 0px 24px 0px;
	color: #555;
	line-height: 1.7;
}

#content ul {
	margin: 0px 0px 24px 24px;
	padding: 0px;
	list-style-type: none;
	line-height: 1.7;
}

#content ul li {
	background: url(img/list-marker.svg) 0px 10px no-repeat;
	background-size: 6px 6px;
    margin: 0px 0px 6px 0px;
    padding-left: 18px;
}

#content ul li ul {
	margin: 6px 0px 12px 0px;
}

#content hr {
	border-top: 0px;
	border-left: 0px;
	border-right: 0px;
	border-bottom: 8px solid #f7941e;
    margin: 12px 0px 36px 0px;
    max-width: 100px;
}

#content blockquote {
	background: #fff;
	font-size: 1.0625em;
	margin: 0px 0px 24px 0px;
	padding: 24px;
	quotes: "“" "”";
}

#content blockquote:before {
	color: #f7941e;
	content: open-quote;
	font-size: 4em;
	line-height: 0.1em;
	margin-right: 5px;
	vertical-align: -0.4em;
}

#content blockquote p {
	display: inline;
}

#content .button {
	display: inline-block;
	padding: 12px 24px;
	border: 2px solid #666;
	color: #666;
	position: relative;
}

#content .button:hover {
	text-decoration: none;
	background: #f7941e;
	border-color: #f7941e;
	color: #fff;
	padding: 12px 38px 12px 18px;
}

#content .button::after {
	content: ">";
	margin: 0px 0px 0px 5px;
	position: absolute;
	top: 10px;
	font-weight: 700;
	right: 20px;
	font-size: 120%;
	display: none;
}

#content .button:hover::after {
	display: block;
}

#content p.footnote {
	font-size: 75%;
	margin: 0px 0px 12px 0px;
}

::selection {
	background: #f7941e;
	color: #fff;
}
::-moz-selection {
	background: #f7941e;
	color: #fff;
}


/* TYPOGRAPHY (LANDSCAPE TABLET)
================================================== */

@media only screen and (min-width: 960px) and (max-width: 1159px) {

	h1 {
		font-size: 2.25em;
	}

	h2 {
		font-size: 1.375em;
	}

	h3 {
		font-size: 1.1875em;
	}

}


/* TYPOGRAPHY (TABLET)
================================================== */

@media only screen and (min-width: 768px) and (max-width: 959px) {

	h1 {
		font-size: 2em;
	}

	h2 {
		font-size: 1.3125em;
	}

	h3 {
		font-size: 1.1875em;
	}

}


/* TYPOGRAPHY (MOBILE)
================================================== */

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

	h1 {
		font-size: 1.875em;
	}

	h2 {
		font-size: 1.3125em;
	}

	h3 {
		font-size: 1.125em;
	}

}




/* HEADER / NAV ELEMENTS
==================================================================================================== */

#header-wrap {
	width: 100%;
	background: #fff;
	padding: 20px 0px 0px 0px;
	position: fixed;
	z-index: 99;
}

#header-wrap.home {
	background-image: none;
}

#header {

}

#header .logo a {
	display: block;
}

#header .logo a img {
	max-width: 95%;
	vertical-align: top;
	transition: all .3s ease-in-out;
	-moz-transition: all .3s ease-in-out;
	-webkit-transition: all .3s ease-in-out;
}

#nav ul {
	text-align: right;
	font-size: 0;
	padding: 30px 0px 0px 0px;
}

#nav ul li {
	display: inline-block;
	padding: 0px 0px 35px 40px;
	font-size: 20px;
	border-bottom: 8px solid #f7941e;
}

#nav ul li a {
	display: block;
	color: #000;
	font-size: 20px;
	transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
}

#nav ul li a:hover {
	color: #f7941e;
	text-decoration: none;
}

#nav ul li:first-of-type {
	padding-left: 0px;
}

#mobile-button {
	width: 40px;
	height: 40px;
	position: absolute;
	top: 20px;
	right: 30px;
	cursor: pointer;
	z-index: 99;
	display: none;
}

#mobile-button .bar {
	position: absolute;
	width: 36px;
	height: 4px;
	background: #f7941e;
	transition: all .3s ease-out;
    -moz-transition: all .3s ease-out;
    -webkit-transition: all .3s ease-out;
}

#mobile-button.opened .bar {
	background: #f7941e;
}

#mobile-button .top {
	top: 8px;
	left: 2px;
}

#mobile-button .middle {
	top: 18px;
	left: 2px;
}

#mobile-button .bottom {
	top: 28px;
	left: 2px;
}

#mobile-button.opened .top {
	top: 17px;
	transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
}

#mobile-button.opened .middle {
	width: 0px;
	left: 20px;
}

#mobile-button.opened .bottom {
	top: 17px;
	transform: rotate(-45deg);
	-webkit-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
}

#mobile-nav {
	position: fixed;
	background: #333;
	color: #fff;
	top: 0;
	right: 0;
	bottom: 0;
	width: 0;
	overflow-y: scroll;
	-webkit-overflow-scrolling: touch;
	z-index: 98;
	transition: all .3s ease-out;
    -moz-transition: all .3s ease-out;
    -webkit-transition: all .3s ease-out;
}

#mobile-nav.visible {
	width: 100%;
}

#mobile-nav ul {
	position: absolute;
	width: 100%;
	top: 50%;
	list-style: none;
	text-align: center;
	margin: 0px;
	padding: 0px;
	opacity: 0;
	transition: all .3s ease-out;
    -moz-transition: all .3s ease-out;
    -webkit-transition: all .3s ease-out;
    transition-delay: .3s;
    -moz-transition-delay: .3s;
    -webkit-transition-delay: .3s;
	transform: translateY(-40%);
	-moz-transform: translateY(-40%);
	-webkit-transform: translateY(-40%);
}

#mobile-nav.visible ul {
	transform: translateY(-50%);
	-moz-transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
	opacity: 1.0;
}

#mobile-nav ul li {
	padding: 0px;
	margin: 0px;
}

#mobile-nav ul li a {
	font-size: 30px;
	text-decoraiton: none;
	text-decoration: none;
	display: block;
	color: #fff;
	padding: 10px 0px;
}


/* HEADER/NAV ELEMENTS (LAPTOP)
================================================== */

@media only screen and (min-width: 1200px) and (max-width: 1439px) {

	#header .logo a {
		margin-top: 5px;
	}

}


/* HEADER/NAV ELEMENTS (LANDSCAPE TABLET)
================================================== */

@media only screen and (min-width: 960px) and (max-width: 1159px) {

	#header .logo a {
		margin-top: 10px;
	}

	#header .logo a img {
		max-width: 100%;
	}

	#nav ul li a {
		font-size: 18px;
	}

}


/* HEADER/NAV ELEMENTS (TABLET)
================================================== */

@media only screen and (min-width: 768px) and (max-width: 959px) {

	#header-wrap {
		padding: 20px 0px;
		position: relative;
	}

	#header.container .six.columns {
		width: 360px;
	}

	#nav {
		display: none;
	}

	#mobile-button {
		display: block;
		top: 5px;
		right: 0px;
	}

}


/* HEADER / NAV ELEMENTS (MOBILE)
================================================== */

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

	#header-wrap {
		padding: 20px 0px;
		position: relative;
	}

	#header .logo a img {
		max-width: 240px;
		max-width: auto;
	}

	#nav {
		display: none;
	}

	#mobile-button {
		display: block;
		top: 0px;
		right: 0px;
	}

}


/* HEADER / NAV ELEMENTS (LANDSCAPE MOBILE)
================================================== */

@media only screen and (min-width: 480px) and (max-width: 767px) {

	#header .logo a img {
		max-width: 300px;
	}

	#mobile-button {
		display: block;
		top: 3px;
		right: 0px;
	}

}




/* FOOTER ELEMENTS
==================================================================================================== */

#footer-wrap {
	background: #231f20;
	color: #fff;
	text-align: center;
	border-top: 8px solid #fff;
	padding: 20px 0px;
}

#footer .address, #footer .copyright {
	padding: 0px 0px 10px 0px;
}

#footer .menu {
	padding: 5px 0px 0px 0px;
}






/* FOOTER ELEMENTS (MOBILE)
================================================== */

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

	#footer-wrap {
		font-size: .875em;
	}

}




/* HOMEPAGE ELEMENTS
==================================================================================================== */

#home h1 {
	color: #fff;
}

#home h1 .attribution {
	display: block;
	font-size: 60%;
	color: #f7941e;
	font-style: italic;
	padding: 15px 0px 0px 0px;
}

.home-quote {
	opacity: 0;
	margin-left: -50px;
	transition: all 1s ease-in-out;
    -moz-transition: all 1s ease-in-out;
    -webkit-transition: all 1s ease-in-out;
}

.home-quote.loaded {
	margin-left: 0px;
}




/* HOMEPAGE ELEMENTS (LANDSCAPE TABLET)
================================================== */

@media only screen and (min-width: 960px) and (max-width: 1159px) {



}


/* HOMEPAGE ELEMENTS (TABLET)
================================================== */

@media only screen and (min-width: 768px) and (max-width: 959px) {

	#footer-wrap.home {
		position: fixed;
		bottom: 0px;
		left: 0px;
		width: 100%;
	}

	#home {
		padding-top: 20vh;
	}

}


/* HOMEPAGE ELEMENTS (MOBILE)
================================================== */

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

	#footer-wrap.home {
		position: fixed;
		bottom: 0px;
		left: 0px;
		width: 100%;
	}

	#home {
		padding-top: 10vh;
	}

	#home h1 {
		font-size: 1.5em;
	}

}


/* HOMEPAGE ELEMENTS (LANDSCAPE MOBILE)
================================================== */

@media only screen and (min-width: 480px) and (max-width: 767px) {



}




/* CONTENT ELEMENTS
==================================================================================================== */

#content-wrap {
	padding: 200px 0px 80px 0px;
	background: #f5f5f5;
}

#content {
	min-height: 480px;
}

.quote {
	background: #fff;
	padding: 20px;
	margin: 0px 0px 36px 0px;
}

.quote h2 {
	font-weight: normal;
	margin: 0px;
	padding: 0px;
	line-height: 1.4;
}

.quote .attribution {
	display: block;
	font-size: 75%;
	color: #f7941e;
	font-style: italic;
	padding: 10px 0px 0px 0px;
}

.featured-image {
	float: right;
	width: 20%;
	margin: 0px 0px 24px 30px;
}

.featured-image img {
	max-width: 100%;
	vertical-align: top;
}

.featured-image .text {
	padding: 20px;
	font-size: 80%;
	background: #fff;
}

.featured-image .text h2 {
	padding-top: 0px;
}

#content .featured-image .text ul {
	margin: 0px;
}

.date {
	margin: 0px 0px 36px 0px;
	font-size: .9375em;
}

.articles {
	padding: 24px 0px 0px 0px;
}

.article {
	padding: 0px 0px 36px 0px;
	margin: 0px 0px 36px 0px;
	border-bottom: 4px solid #fff;
}

.article:last-of-type {
	border-bottom: none;
}

.article h2 {
	margin: 0px 0px 6px 0px;
	padding: 0px;
}

.article h2 a {
	color: #000;
}

.article h2 a:hover {
	color: #f7941e;
	text-decoration: none;
	transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
}

.article .date {
	color: #000;
	margin: 0px 0px 18px 0px;
	padding: 0px;
}

#content .article p {
	margin: 0px 0px 18px 0px;
}

#comments-wrap {
	padding: 30px 0px 60px 0px;
	background: #fff;
}

#comments-wrap p {
	line-height: 1.5;
}

.comments-title {
	font-size: 1.25em;
	margin: 0px 0px 24px 0px;
}

.comment-wrap {
	padding: 0px 0px 36px 0px;
}

li.comment:before {
	display: block;
	content: " ";
	height: 150px;
	margin-top: -150px;
	visibility: hidden;
}

.comment-author {
	color: #000;
	font-size: 1.0625em;
	padding: 0px 0px 6px 0px;
}

.comment-date {
	font-size: .8125em;
	padding: 0px 0px 24px 0px;
}

.comment-content {
	padding: 0px 0px 18px 0px;
}

.required {
	color: #f7941e;
}

.comment-form p {
	margin: 0px 0px 20px 0px;
}

.comment-form label {
	display: block;
	padding: 0px 0px 5px 0px;
	color: #000;
	font-size: .875em;
}

.comment-form .comment-form-url {
	display: none;
}

.comment .children {
	margin: 0px 0px 0px 48px;
}

.comment .comment-reply-link {
	font-size: .9375em;
}

#respond {
	border-top: 1px solid #ccc;
	padding: 24px 0px 0px 0px;
	margin: 12px 0px 0px 0px;
}

.pdf {
	margin: 12px 0px 24px 0px;
}

.pdf a {
	display: block;
	background: url(img/pdf-icon.svg) top left no-repeat;
	background-size: 25px 32px;
	min-height: 24px;
	vertical-align: middle;
	padding: 8px 0px 0px 38px;
}

.pdf a img {
	vertical-align: top;
	max-width: 100%;
	height: auto;
}


/* CONTENT ELEMENTS (LAPTOP)
================================================== */

@media only screen and (min-width: 1200px) and (max-width: 1439px) {

	#content-wrap {
		padding: 180px 0px 60px 0px;
	}

	.featured-image {
		width: 25%;
	}

}


/* CONTENT ELEMENTS (LANDSCAPE TABLET)
================================================== */

@media only screen and (min-width: 960px) and (max-width: 1159px) {

	#content-wrap {
		padding: 180px 0px 60px 0px;
	}

	.featured-image {
		width: 33%;
	}

}


/* CONTENT ELEMENTS (TABLET)
================================================== */

@media only screen and (min-width: 768px) and (max-width: 959px) {

	#content-wrap {
		padding: 60px 0px 60px 0px;
	}

	li.comment:before {
		height: 30px;
		margin-top: -30px;
	}

	.featured-image {
		width: 45%;
	}

}


/* CONTENT ELEMENTS (MOBILE)
================================================== */

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

	#content-wrap {
		padding: 50px 0px 50px 0px;
	}

	.comment .children {
		margin: 0px 0px 0px 24px;
	}

	li.comment:before {
		height: 30px;
		margin-top: -30px;
	}

	.featured-image {
		width: 100%;
		margin: 0px 0px 24px 0px;
	}

}


/* CONTENT ELEMENTS (LANDSCAPE MOBILE)
================================================== */

@media only screen and (min-width: 480px) and (max-width: 767px) {

	.featured-image {
		width: 45%;
		margin: 0px 0px 24px 30px;
	}

}




/* FORM ELEMENTS
==================================================================================================== */

input, textarea {

}

input[type="text"], textarea, input[type="file"], input[type="password"], input[type="number"] {
	border: 1px solid #ccc;
	padding: 6px;
	font-size: 1em;
	color: #555;
	width: 60%;
	font-family: 'Droid Serif', Georgia, Times, serif;
	background: #fff;
	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
}

.ie9 input[type="text"] {
	line-height:normal;
}

input[type="text"]:focus, input[type="password"]:focus, textarea:focus {
	border: 1px solid #000;
}

textarea {
	width: 60%;
	height: 10em;
}

input[type="submit"], input[type="button"] {
	background: #f7941e;
	color: #fff;
	padding: 8px 35px;
	border: 0px;
	font-size: 1em;
	font-family: 'Droid Serif', Georgia, Times, serif;
}

input[type="submit"]:active, input[type="button"]:active {

}

/* FORM ELEMENTS (TABLET)
================================================== */

@media only screen and (min-width: 768px) and (max-width: 959px) {

	input[type="text"], textarea, input[type="file"], input[type="password"], input[type="number"] {
		width: 98%;
	}

	textarea {
		width: 98%;
	}

}


/* FORM ELEMENTS (MOBILE)
================================================== */

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

	input[type="text"], textarea, input[type="file"], input[type="password"], input[type="number"] {
		width: 95%;
	}

	textarea {
		width: 95%;
	}

}
