/*
Theme Name: 	Lone Star Pace
Author:         Derek Ashauer
Author URI:     http://www.ashwebstudio.com
*/
@import url(https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400italic,700,700italic|Lora:400,400italic,700);
/* Resets */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed,  figure, figcaption, footer, header, hgroup,  menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; font-size: 100%; vertical-align: baseline; }
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; }
body { line-height: 120%; }
blockquote, q { quotes: none; }
blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; }
table { border-collapse: collapse; border-spacing: 0; }
input { vertical-align: middle; }
input[type="submit"] { cursor: pointer; }

/* WordPress required styles */
.alignright { float: right; margin: 0 0 10px 15px; }
.alignleft { float: left; margin: 0 15px 10px 0; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption { border: 1px solid #ddd; text-align: center; background-color: #f3f3f3; padding-top: 4px; margin-top: 10px; margin-bottom: 10px; -moz-border-radius: 3px; -khtml-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; }
.wp-caption img { margin: 0; padding: 0; border: 0 none; }
.wp-caption-dd { font-size: 11px; line-height: 17px; padding: 0 4px 5px; margin: 0; }

/* ----------------------------------- */
/* COMMON
/* ----------------------------------- */
body { background: #FFF; text-align: center; }
p, div, li, h1, h2, h3, h4, td, th, input, select, textarea { font: normal 18px/1.48 "Source Sans Pro", sans-serif; color: #000; }
p, h1, h2, h3, h4, section ul, section ol, section table { margin-bottom: 15px; }
h1, h2, h3 { line-height: 1.1; }
a img, :link img, :visited img { border: none }
a { color: #1c6435; text-decoration: underline; }
a:hover { color: #449560; }
div.clear { clear: both; overflow: hidden; height: 1px; }
input { vertical-align: middle; }
.cf:before, .cf:after { content: " "; display: table; }
.cf:after { clear: both; }
.cf { *zoom: 1; }
.gfield { margin-left: 0 !important; }

#wrapper { position: relative; width: 100%; }
.container { width: 100%; max-width: 1060px; margin: 0 auto; text-align: left; }

.button { border: none; background: #1c6435; color: #FFF; padding: 7px 25px; display: inline-block; text-decoration: none; cursor: pointer; border-radius: 10px; white-space: nowrap; }
.button:hover { background: #449560; color: #FFF; }


/* ----------------------------------- */
/* HEADER
/* ----------------------------------- */

#header { padding: 25px 0; }

#header .logo { float: left; margin: 0 0 0 0; }
.logo img { max-height: 80px; width: auto; }

#notice { float: right; font-size: 15px; padding: 0 0 10px 0; margin: 5px 0 15px 0; }
#notice a { text-decoration: none; font-weight: bold; }

#header nav { float: right; margin: 30px 0 0 0; }
#header nav li { float: left; list-style: none; margin: 0 10px 0 0; padding: 0 10px 0 0; border-right: 1px solid #CCC; position: relative; font-family: "Lora", serif; font-size: 18px; font-weight: bold; }
#header nav li:last-child { border: none; }
#header nav li a { text-decoration: none; color: #153157; }
#header nav li a:hover { color: #1c6435; }

#header nav li { position: relative; }
#header nav li .sub-menu { left: -9999em; position: absolute; top: 35px; z-index: 100; background: #1c6435; padding: 7px 20px 15px 20px; }
#header nav li:hover .sub-menu { left: 0; }
#header nav li .sub-menu li { float: none; border: none; background: none; margin: 0; padding: 0; }
#header nav li .sub-menu li:before { display: none; }
#header nav li .sub-menu a { color: #FFF; background: none; padding: 0; white-space: nowrap; height: auto; line-height: 1.4; margin: 3px 0 0 0; font-size: 15px; text-transform: none; }
#header nav li .sub-menu a:hover { color: #CCC; }
.sub-menu:before { content:""; position:absolute; top:-10px; left:20px; bottom:auto; left:auto; border-width:0 10px 10px; border-color:#1c6435 transparent; z-index: 50; border-style:solid; display:block; width:0; }

#mobile-menu { display: none; }


/* ----------------------------------- */
/* HOME
/* ----------------------------------- */
#banner { background: #153157; max-height: 415px; overflow: hidden; position: relative; }
#slideshow { position: absolute; right: 0; top: 0; width: 50%; }
#slideshow li { list-style: none; height: 415px; background-size: cover; background-position: center center; }

#banner #welcome { width: 40%; max-width: 480px; padding: 100px 0 90px 0; position: relative; z-index: 50; }
#banner h1 { font-family: "Lora", serif; line-height: 1.4; font-size: 36px; color: #FFF; font-style: italic; border-bottom: 1px solid #475d7b; padding-bottom: 10px; margin-bottom: 10px; }
#banner a { color: #cae1ed; text-decoration: none; text-transform: uppercase; }
#banner a:hover { color: #FFF; }

#intros { background: #f8f8f2; padding: 60px 0; }
#intros .container { max-width: 760px; }
#intros h1 { font-family: "Lora", serif; font-size: 36px; color: #000; text-align: center; }
#intros p.tagline { font-size: 24px; color: #153157; font-family: "Lora", serif; }
#intros p.sub-tagline { font-size: 18px; }
#intros ul { margin-top: 40px; }
#intros li { list-style: none; width: 30%; float: left; margin: 0 0 0 5%; }
#intros li:first-child { margin-left: 0; }
#intros li img { width: 100%; height: auto; margin: 0 0 10px 0; }
#intros li h2 { font-family: "Lora", serif; font-size: 22px; font-weight: 700; color: #000; margin: 0 0 7px 0; }
#intros li h2 a { color: #000; }
#intros li p { font-size: 16px; }
#intros a { text-decoration: none; }

#sectors ul { height: 240px; }
#sectors li { height: 240px; position: relative; background-size: cover; }
#sectors li:before { content: " "; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,.3); }
#sectors li a { position: absolute; bottom: 40px; left: 40px; font-size: 30px; font-family: "Lora", serif; font-weight: bold; color: #FFF; text-decoration: none; padding-right: 40px; text-align: left; line-height: 1.1; }

#bottom { background: #f8f8f2; padding: 100px 0 60px 0; }
#bottom #col1, #bottom #col2 { width: 45%; float: left; }
#bottom #col2 { float: right; }
#bottom h2 { font-family: "Lora", serif; font-size: 30px; font-style: italic; color: #000; line-height: 1.2; }
#bottom #col2 ol { margin-bottom: 25px; }
#bottom #col2 li { list-style: none; border-top: 1px solid #e9e9e4; padding-top: 15px; margin-top: 15px; }
#bottom #col2 li:first-child { border: none; padding: 0; margin: 0; }
#bottom #col2 li span { display: block; font-size: 16px; }
#bottom #col2 li a { font-family: "Lora", serif; font-size: 20px; color: #153157; text-decoration: none; font-style: italic; }
#bottom #col2 p a { text-decoration: none; }

/* ----------------------------------- */
/* SUB PAGES
/* ----------------------------------- */
#page-header { padding: 35px 0; background: #153157; }
#page-header h1 { font-size: 46px; color: #FFF; font-family: "Lora", serif; font-style: italic; float: left; margin: 0; }
#page-header #tagline { text-align: right; font-size: 15px; font-family: "Lora", serif; color: #FFF; margin: 15px 0 0 0; }
#page-header #tagline span { display: block; margin: 0 0 5px 0; }
#page-header #tagline a.button { font-size: 14px; text-transform: uppercase; padding: 5px 15px; }

#main { background: #f8f8f2; padding: 50px 0; }
#main section { max-width: 760px; margin: 0 auto; }
#main section ul ul { margin: 0 0 5px 0; }
#main section li { margin-left: 25px; }
#main section h2 { font-size: 24px; color: #000; font-family: "Lora", serif; clear: both; margin-top: 40px; }
#main section h3 { font-size: 20px; color: #000; margin: 0 0 5px 0; }
#main section img { max-width: 100%; height: auto; }
#main section p.highlight { font-size: 23px; color: #1c6435; }
#main section img.wp-post-image { margin: 0 0 40px 0; }

#main article { margin: 0 0 50px 0; }
#main p.post-data { font-style: italic; margin-top: -8px; }

#main section #downloads li { margin: 0 0 10px 0; list-style: none; }
#main section #downloads li span.header { font-weight: bold; display: block; color: #000; }
#main section #downloads li a { font-size: 14px; }

#main section #projects li { list-style: none; width: 30%; float: left; margin: 0 0 25px 5%; text-align: center; }
#main section #projects li:nth-child(3n+1) { margin-left: 0; clear: left; }
#main section #projects li span { display: block; }
#main section #projects li span.name { color: #000; }
#main section #projects li span.value { font-size: 14px; }

#main aside { float: right; width: 30%; }
#main aside #submenu { background: #FFF; padding: 10px 0; margin: 0 0 50px 0; }
#main aside #submenu li { list-style: none; margin: 10px 30px; padding-bottom: 10px; border-bottom: 1px solid #e3e3e3; font-weight: 100; }
#main aside #submenu li:last-child { border: none; padding: 0; }
#main aside #submenu li a { text-decoration: none; color: #000; }
#main aside #submenu li a:hover { color: #1c6435; }
#main aside #submenu li.current_page_item { position: relative; font-weight: bold; }
#main aside #submenu li.current_page_item:before { content: "\f054"; font-family: "FontAwesome"; position: absolute; top: 0; left: -43px; background: #1c6435; width: 25px; height: 25px; text-align: center; line-height: 25px; color: #FFF; border-radius: 50%; font-size: 11px; }

#main aside #buttons li { border: 1px solid #dcdcc6; background-position: left center; background-repeat: no-repeat; padding: 15px 15px 15px 110px; font-size: 18px; font-family: "Lora", serif; margin: 0 0 10px 0; list-style: none; line-height: 1.1; }
#main aside #buttons li a { text-decoration: none; color: #000; }
#main aside #buttons li span { color: #1c6435; font-size: 14px; font-family: "Source Sans Pro", sans-serif; text-transform: uppercase; display: block; margin: 5px 0 0 0; }
#main aside #buttons li:hover { border-color: #1c6435; }

#main section #capital-providers li { list-style: none; margin: 0 0 15px 0; padding: 0 0 15px 0; border-bottom: 1px solid rgba(0,0,0,.1); display: flex; justify-content: space-between; align-items: center; }
.provider-image { width: 40%; text-align: center; }
.provider-info { width: 50%; text-align: center; }
.provider-info p { font-style: italic; }

/* ----------------------------------- */
/* FOOTER
/* ----------------------------------- */
#footer { padding: 25px 0; }
#footer .logo { float: left; }
#footer #copyright { clear: both; font-size: 12px; color: #c8c8c8; }
#footer #copyright a { color: #c8c8c8; text-decoration: none; }
#footer ul { float: right; width: 50%; }
#footer li { list-style: none; color: #153157; font-family: "Lora", serif; margin-left: 350px; }
#footer ul li:first-child { width: 350px; float: left; margin: 0; }
#footer ul li i { color: #1c6435; }

/* ----------------------------------- */
/* MOBILE
/* ----------------------------------- */

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

	.container { padding-left: 5%; padding-right: 5%; width: 90%; }

	#mobile-menu { float: right; display: block; font-size: 30px; }
	#header nav ul { display: none; }
	#header nav.open ul { display: block; float: none; clear: both; }
	#header nav.open ul { overflow-y: scroll; position: fixed; z-index: 999; top: 0; right: -230px; margin: 0; background: #153157; width: 230px; height: 100%; float: none; }
	#header nav.open li { display: block; float: none; font-size: 16px; text-align: center; margin: 0; padding: 0; text-align: left; border-bottom: 1px solid #3e5d87; }
	#header nav.open li:before { display: none; }
	#header nav.open li a { color: #FFF; padding: 15px 20px; height: auto; font-size: 20px; display: block; }
	#header nav.open li .sub-menu { position: static; background: #29466e; display: none; padding: 10px 0 20px 0; margin: 0; }
	#header nav.open li .sub-menu.active { display: block; }
	#header nav.open li .sub-menu li { border: none; padding: 2px 20px; }
	#header nav.open li .sub-menu li a { font-weight: normal; font-size: 15px; padding: 5px 0; }
	#header nav.open li .sub-menu li a:hover { color: #c3ddea; }
	#header nav.open li.current_page_item a { border: none; }
	.sub-menu:before { display: none; }

	#banner #welcome { padding-top: 100px; }


}
@media screen and (max-width: 650px) {

	#header { padding: 10px 0; position: relative; }
	#header.container { text-align: center; }
	#header .logo img { max-width: 250px; height: auto; }
	#notice { display: none; float: none; clear: both; border-top: 1px solid #f0f0f0; padding-top: 10px; margin-top: 10px; }
	#mobile-menu { position: absolute; right: 10px; top: 25px; }

	#banner #welcome { width: 100%; max-width: 100%; text-align: center; }
	#slideshow { display: none; }

	#intros li { width: 100%; float: none; margin: 0 0 40px 0; }

	#bottom #col1, #bottom #col2 { float: none; width: 100%; margin: 0 0 40px 0; }

	#footer .logo { float: none; }
	#footer ul { float: none; width: auto; }
	#footer li { margin-left: 0; }
	#footer ul li:first-child { width: auto; float: none; }

	#page-header .container { text-align: center; }
	#page-header h1 { float: none; margin: 0 0 10px 0; font-size: 24px; }
	#page-header #tagline { display: none; }


	#main section, #main aside { width: 100%; float: none; clear: both; }

	#main section #projects li { width: 100%; margin-left: 0; float: none; }

}
