windhamdavid 5 years ago
parent
commit
29a5a2e173
4 changed files with 31 additions and 819 deletions
  1. 4 8
      card.php
  2. 6 8
      header.php
  3. 15 8
      index.php
  4. 6 795
      style.css

+ 4 - 8
card.php

@@ -3,10 +3,7 @@
  * Template Name: Card
  */
  ?>
-
-
 <!--
-	
 	     .     . .              .       .  . 
 	. . ...-..-| |-. .-. .-.-..-| .-.. ...-| 
 	 ` ` '' '`-'-' '-`-`-' ' '`-'-`-`-` '`-'-
@@ -15,19 +12,18 @@
 <html <?php language_attributes(); ?>>
 <head>
 <meta charset="<?php bloginfo( 'charset' ); ?>" />
+<meta http-equiv="X-UA-Compatible" content="IE=edge" /> 
 <title>David A. Windham</title>
 <meta name="description" content="David A. Windham - Zeken Woozer Enterprises, Un-Ltd. South Carolina USA" />
 <meta name="author" content="David Windham">
-<link rel="profile" href="http://gmpg.org/xfn/11" />
 <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo('template_directory'); ?>/card.css"/>
 <link media="only screen and (max-device-width: 480px)" href="<?php bloginfo('template_directory'); ?>/css/card-mob.css" type="text/css" rel="stylesheet" />
-<script type='text/javascript' src='http://code.jquery.com/jquery-1.5.min.js'></script><!--http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js-->
-<script type="text/javascript" src="http://davidawindham.com/wp-content/themes/daw/js/card.js"></script>
+<script type='text/javascript' src='http://code.jquery.com/jquery-1.11.0.min.js'></script><!--http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js-->
+<script type="text/javascript" src="<?php bloginfo( 'template_directory' ); ?>/js/card.js"></script>
 <!--[if lt IE 9]>
 <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo('template_directory'); ?>/css/card-ie.css"/>
 <script src="<?php bloginfo( 'template_directory' ); ?>/js/html5shiv.js" type="text/javascript"></script>
 <![endif]-->
-<script type="text/javascript">var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-1906067-6']); _gaq.push(['_trackPageview']);(function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })();</script>
 </head>
 <body>
 	<div id="wrapper" class="hfeed"> 
@@ -76,6 +72,6 @@
 		<div id="footer" role="contentinfo">
 
 		</div> 
-	</div> 
+	</div>
 </body> 
 </html>

+ 6 - 8
header.php

@@ -1,5 +1,5 @@
 <!DOCTYPE html>
-<html <?php language_attributes(); ?>>
+<html lang="en-US">
 <head>
 <meta charset="<?php bloginfo( 'charset' ); ?>" />
 <title><?php global $page, $paged;
@@ -11,10 +11,8 @@
 	if ( $paged >= 2 || $page >= 2 )
 		echo ' | ' . sprintf( __( 'Page %s', 'daw' ), max( $paged, $page ) );
 	?></title>
-<link rel="profile" href="http://gmpg.org/xfn/11" />
 <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>" />
 <?php if ( is_page_template('single.php') && get_option( 'thread_comments' ) ) wp_enqueue_script( 'comment-reply' ); wp_enqueue_script("jquery"); wp_head(); ?>
-<script type="text/javascript">var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-1906067-6']); _gaq.push(['_trackPageview']);(function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })();</script>
 </head>
 <body>
 <div id="wrapper" class="hfeed">
@@ -22,15 +20,15 @@
 		<div id="masthead">
 			<div id="branding" role="banner">
 				<div id="site-title">
-					<span><a href="<?php echo home_url( '/' ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></span>
-					</div> 
+				<span><a href="<?php echo home_url( '/' ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></span>
+				</div> 
 			</div>
 			<div id="access" role="navigation">
 				 <!-- <?php wp_nav_menu( array( 'menu' => 'main','sort_column' => 'menu_order', 'container_class' => 'menu-header' ) ); ?> -->
 				<div class="subnav">
-					<!-- <?php if($post->post_parent) $children = wp_list_pages("title_li=&child_of=".$post->post_parent."&echo=0"); else $children = wp_list_pages("title_li=&child_of=".$post->ID."&echo=0"); if ($children) { ?>
-					 <ul><?php echo $children; ?></ul>
-					  <?php } ?> -->
+				<!-- <?php if($post->post_parent) $children = wp_list_pages("title_li=&child_of=".$post->post_parent."&echo=0"); else $children = wp_list_pages("title_li=&child_of=".$post->ID."&echo=0"); if ($children) { ?>
+				<ul><?php echo $children; ?></ul>
+				<?php } ?> -->
 				</div>
 			</div>
 		</div>

+ 15 - 8
index.php

@@ -1,14 +1,21 @@
 <?php get_header(); ?>
-		<div id="container" class="one-column">
-			<div id="content" role="main">
-				<?php query_posts('showposts=1&cat=-7,-6,-8'); ?>
-<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
-				<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
-					<div class="entry-content home">
-						<a href="<?php the_permalink(); ?>"><?php the_post_thumbnail('full'); ?></a>		
+	<div id="container" class="one-column">
+		<div id="content" role="main">
+			<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
+			<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
+				<div class="entry-content">
+					<div class="date">
+						<?php the_date(); ?>
 					</div>
+					<h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'daw' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
+					<?php the_content(); ?>
+					<div id="nav-below" class="navigation">
+						<div class="nav-previous"><?php previous_post_link( '%link', '<span class="meta-nav">' . _x( '(previous)', 'Previous post link', 'daw' ) . '</span> %title' ); ?></div>
+						<div class="nav-next"><?php next_post_link( '%link', '%title <span class="meta-nav">' . _x( '(next)', 'Next post link', 'daw' ) . '</span>' ); ?></div>
+					</div><!-- #nav-below -->
 				</div>
-<?php endwhile; ?>
 			</div>
+			<?php endwhile; ?>
 		</div>
+	</div>
 <?php get_footer(); ?>

+ 6 - 795
style.css

@@ -7,9 +7,13 @@ Version: 1.0
 Tags: 
 */
 
+/*Thanks: 
+Normalize.css https://github.com/necolas/normalize.css
+HTML5 Boilerplate https://github.com/h5bp
+--------------------------------------------------- */
+
+@import url(css/normalize.css) screen;
 
-/* =Reset default browser CSS. Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
--------------------------------------------------------------- */
 
 html, body, div, span, applet, object, iframe,
 h1, h2, h3, h4, h5, h6, p, blockquote, pre,
@@ -1034,796 +1038,3 @@ body.page .edit-link {
 }
 
 
-/* =Comments
--------------------------------------------------------------- */
-#comments {
-	clear: both;
-}
-#comments .navigation {
-	padding: 0 0 18px 0;
-}
-h3#comments-title,
-h3#reply-title {
-	color: #000;
-	font-size: 20px;
-	font-weight: bold;
-	margin-bottom: 0;
-}
-h3#comments-title {
-	padding: 24px 0;
-}
-.commentlist {
-	list-style: none;
-	margin: 0;
-}
-.commentlist li.comment {
-	border-bottom: 1px solid #e7e7e7;
-	line-height: 24px;
-	margin: 0 0 24px 0;
-	padding: 0 0 0 56px;
-	position: relative;
-}
-.commentlist li:last-child {
-	border-bottom: none;
-	margin-bottom: 0;
-}
-#comments .comment-body ul,
-#comments .comment-body ol {
-	margin-bottom: 18px;
-}
-#comments .comment-body p:last-child {
-	margin-bottom: 6px;
-}
-#comments .comment-body blockquote p:last-child {
-	margin-bottom: 24px;
-}
-.commentlist ol {
-	list-style: decimal;
-}
-.commentlist .avatar {
-	position: absolute;
-	top: 4px;
-	left: 0;
-}
-.comment-author {
-}
-.comment-author cite {
-	color: #000;
-	font-style: normal;
-	font-weight: bold;
-}
-.comment-author .says {
-	font-style: italic;
-}
-.comment-meta {
-	font-size: 12px;
-	margin: 0 0 18px 0;
-}
-.comment-meta a:link,
-.comment-meta a:visited {
-	color: #888;
-	text-decoration: none;
-}
-.comment-meta a:active,
-.comment-meta a:hover {
-	color: #ff4b33;
-}
-.commentlist .even {
-}
-.commentlist .bypostauthor {
-}
-.reply {
-	font-size: 12px;
-	padding: 0 0 24px 0;
-}
-.reply a,
-a.comment-edit-link {
-	color: #888;
-}
-.reply a:hover,
-a.comment-edit-link:hover {
-	color: #ff4b33;
-}
-.commentlist .children {
-	list-style: none;
-	margin: 0;
-}
-.commentlist .children li {
-	border: none;
-	margin: 0;
-}
-.nopassword,
-.nocomments {
-	display: none;
-}
-#comments .pingback {
-	border-bottom: 1px solid #e7e7e7;
-	margin-bottom: 18px;
-	padding-bottom: 18px;
-}
-.commentlist li.comment+li.pingback {
-	margin-top: -6px;
-}
-#comments .pingback p {
-	color: #888;
-	display: block;
-	font-size: 12px;
-	line-height: 18px;
-	margin: 0;
-}
-#comments .pingback .url {
-	font-size: 13px;
-	font-style: italic;
-}
-
-/* Comments form */
-input[type=submit] {
-	color: #333;
-}
-#respond {
-	border-top: 1px solid #e7e7e7;
-	margin: 24px 0;
-	overflow: hidden;
-	position: relative;
-}
-#respond p {
-	margin: 0;
-}
-#respond .comment-notes {
-	margin-bottom: 1em;
-}
-.form-allowed-tags {
-	line-height: 1em;
-}
-.children #respond {
-	margin: 0 48px 0 0;
-}
-h3#reply-title {
-	margin: 18px 0;
-}
-#comments-list #respond {
-	margin: 0 0 18px 0;
-}
-#comments-list ul #respond {
-	margin: 0;
-}
-#cancel-comment-reply-link {
-	font-size: 12px;
-	font-weight: normal;
-	line-height: 18px;
-}
-#respond .required {
-	color: #ff4b33;
-	font-weight: bold;
-}
-#respond label {
-	color: #888;
-	font-size: 12px;
-}
-#respond input {
-	margin: 0 0 9px;
-	width: 98%;
-}
-#respond textarea {
-	width: 98%;
-}
-#respond .form-allowed-tags {
-	color: #888;
-	font-size: 12px;
-	line-height: 18px;
-}
-#respond .form-allowed-tags code {
-	font-size: 11px;
-}
-#respond .form-submit {
-	margin: 12px 0;
-}
-#respond .form-submit input {
-	font-size: 14px;
-	width: auto;
-}
-
-
-/* =Widget Areas
--------------------------------------------------------------- */
-
-.widget-area ul {
-	list-style: none;
-	margin-left: 0;
-}
-.widget-area ul ul {
-	list-style: square;
-	margin-left: 1.3em;
-}
-.widget_search #s {/* This keeps the search inputs in line */
-	width: 60%;
-}
-.widget_search label {
-	display: none;
-}
-.widget-container {
-	margin: 0 0 18px 0;
-}
-.widget-title {
-	color: #222;
-	font-weight: bold;
-}
-.widget-area a:link,
-.widget-area a:visited {
-	text-decoration: none;
-}
-.widget-area a:active,
-.widget-area a:hover {
-	text-decoration: underline;
-}
-.widget-area .entry-meta {
-	font-size: 11px;
-}
-#wp_tag_cloud div {
-	line-height: 1.6em;
-}
-#wp-calendar {
-	width: 100%;
-}
-#wp-calendar caption {
-	color: #222;
-	font-size: 14px;
-	font-weight: bold;
-	padding-bottom: 4px;
-	text-align: left;
-}
-#wp-calendar thead {
-	font-size: 11px;
-}
-#wp-calendar thead th {
-}
-#wp-calendar tbody {
-	color: #aaa;
-}
-#wp-calendar tbody td {
-	background: #f5f5f5;
-	border: 1px solid #fff;
-	padding: 3px 0 2px;
-	text-align: center;
-}
-#wp-calendar tbody .pad {
-	background: none;
-}
-#wp-calendar tfoot #next {
-	text-align: right;
-}
-.widget_rss a.rsswidget {
-	color: #000;
-}
-.widget_rss a.rsswidget:hover {
-	color: #ff4b33;
-}
-.widget_rss .widget-title img {
-	width: 11px;
-	height: 11px;
-}
-
-/* Main sidebars */
-#main .widget-area ul {
-	margin-left: 0;
-	padding: 0 20px 0 0;
-}
-#main .widget-area ul ul {
-	border: none;
-	margin-left: 1.3em;
-	padding: 0;
-}
-#primary {
-}
-#secondary {
-}
-
-/* Footer widget areas */
-#footer-widget-area {
-}
-
-
-/* =Footer
--------------------------------------------------------------- */
-
-#footer {
-	margin-bottom: 20px;
-}
-#colophon {
-
-	margin-top: 0px;
-	overflow: hidden;
-	padding: 1px 0;
-}
-#site-info {
-	font-weight: bold;
-}
-#site-info a {
-	color: #000;
-	text-decoration: none;
-}
-#site-generator {
-	font-style: italic;
-	position: relative;
-}
-#site-generator a {
-	background: url(images/wordpress.png) center left no-repeat;
-	color: #666;
-	display: inline-block;
-	line-height: 16px;
-	padding-left: 20px;
-	text-decoration: none;
-}
-#site-generator a:hover {
-	text-decoration: underline;
-}
-img#wpstats {
-	display: block;
-	margin: 0 auto 10px;
-}
-
-
-/* =Mobile Safari ( iPad, iPhone and iPod Touch )
--------------------------------------------------------------- */
-
-pre {
-	-webkit-text-size-adjust: 140%;
-}
-code {
-	-webkit-text-size-adjust: 160%;
-}
-#access,
-.entry-meta,
-.entry-utility,
-.navigation,
-.widget-area {
-	-webkit-text-size-adjust: 120%;
-}
-#site-description {
-	-webkit-text-size-adjust: none;
-}
-
-
-/* =Print Style
--------------------------------------------------------------- */
-
-@media print {
-	body {
-		background: none !important;
-	}
-	#wrapper {
-		clear: both !important;
-		display: block !important;
-		float: none !important;
-		position: relative !important;
-	}
-	#header {
-		border-bottom: 2pt solid #000;
-		padding-bottom: 18pt;
-	}
-	#colophon {
-		border-top: 2pt solid #000;
-	}
-	#site-title,
-	#site-description {
-		float: none;
-		line-height: 1.4em;
-		margin: 0;
-		padding: 0;
-	}
-	#site-title {
-		font-size: 13pt;
-	}
-	.entry-content {
-		font-size: 14pt;
-		line-height: 1.6em;
-	}
-	.entry-title {
-		font-size: 21pt;
-	}
-	#access,
-	#branding img,
-	#respond,
-	.comment-edit-link,
-	.edit-link,
-	.navigation,
-	.page-link,
-	.widget-area {
-		display: none !important;
-	}
-	#container,
-	#header,
-	#footer {
-		margin: 0;
-		width: 100%;
-	}
-	#content,
-	.one-column #content {
-		margin: 24pt 0 0;
-		width: 100%;
-	}
-	.wp-caption p {
-		font-size: 11pt;
-	}
-	#site-info,
-	#site-generator {
-		float: none;
-		width: auto;
-	}
-	#colophon {
-		width: auto;
-	}
-	img#wpstats {
-		display: none;
-	}
-	#site-generator a {
-		margin: 0;
-		padding: 0;
-	}
-	#entry-author-info {
-		border: 1px solid #e7e7e7;
-	}
-	#main {
-		display: inline;
-	}
-	.home .sticky {
-		border: none;
-	}
-}
-
-.wp-table-reloaded .sorting {
-	background: #E6EEEE url(../img/bg.gif) no-repeat center right;
-	cursor: pointer;
-}
-.wp-table-reloaded .sorting_asc {
-	background: #8DBDD8 url(../img/asc.gif) no-repeat center right;
-}
-
-.wp-table-reloaded .sorting_desc {
-	background: #8DBDD8 url(../img/desc.gif) no-repeat center right;
-}
-
-.dataTables_wrapper {
-    position: relative;
-    zoom: 1;
-    min-height: 200px;
-	_height: 302px;
-	clear: both;
-}
-
-.dataTables_wrapper .wp-table-reloaded {
-    clear: both;
-}
-
-.dataTables_processing {
-	position: absolute;
-	top: 0px;
-	left: 50%;
-	width: 250px;
-	margin-left: -125px;
-	border: 1px solid #ddd;
-	text-align: center;
-	color: #999;
-	font-size: 11px;
-	padding: 2px 0;
-}
-
-.dataTables_length {
-	width: 50%;
-	float: left;
-}
-
-.dataTables_filter {
-	width: 48%;
-	float: right;
-	text-align: right;
-}
-
-.dataTables_info {
-	width: 60%;
-	float: left;
-}
-
-.dataTables_paginate {
-	width: 44px;
-	* width: 50px;
-	float: right;
-	text-align: right;
-}
-
-.paginate_disabled_previous, .paginate_enabled_previous, .paginate_disabled_next, .paginate_enabled_next {
-	height: 19px;
-	width: 19px;
-	margin-left: 3px;
-	float: left;
-}
-
-.paginate_disabled_previous {
-	background-image: url(../img/back_disabled.jpg);
-}
-
-.paginate_enabled_previous {
-	background-image: url(../img/back_enabled.jpg);
-}
-
-.paginate_disabled_next {
-	background-image: url(../img/forward_disabled.jpg);
-}
-
-.paginate_enabled_next {
-	background-image: url(../img/forward_enabled.jpg);
-}
-
-.paging_full_numbers {
-	width: 400px;
-	height: 22px;
-	line-height: 22px;
-}
-
-.paging_full_numbers span.paginate_button, .paging_full_numbers span.paginate_active {
-	border: 1px solid #aaa;
-	-webkit-border-radius: 5px;
-	-moz-border-radius: 5px;
-	padding: 2px 5px;
-	margin: 0 3px;
-	cursor: pointer;
-	*cursor: hand;
-}
-
-.paging_full_numbers span.paginate_button {
-	background-color: #ddd;
-}
-
-.paging_full_numbers span.paginate_button:hover {
-	background-color: #ccc;
-}
-
-.paging_full_numbers span.paginate_active {
-	background-color: #99B3FF;
-}
-.wp-table-reloaded {
-	border-collapse: separate;
-	border-spacing: 1px;
-	background-color: #CDCDCD;
-	margin: 10px 0px 15px 0px;
-	font-size: 8pt;
-	width: 100%;
-	text-align: left;
-}
-.wp-table-reloaded th {
-	background-color: #E6EEEE;
-	border: 1px solid #FFFFFF;
-	padding: 4px;
-	color: #3D3D3D!important;
-}
-.wp-table-reloaded td {
-	color: #3D3D3D;
-	padding: 4px;
-	background-color: #FFFFFF;
-	vertical-align: top;
-}
-.wp-table-reloaded .even td {
-	background-color: #FFFFFF;
-}
-.wp-table-reloaded .odd td {
-	background-color: #F0F0F6;
-}
-.wp-table-reloaded .row-hover tr:hover td {
-	background-color: #D0D0D6!important;
-}
-.wp-table-reloaded-table-description {
-	clear: both;
-	display: block;
-}
-
-.gform_wrapper {overflow:hidden; margin:10px 0; max-width:640px}
-.gform_wrapper h1, .gform_wrapper h2, .gform_wrapper h3 {font-weight:normal; border:none; outline:none; background:none}
-.gform_wrapper:focus {outline:none}
-.gform_wrapper form {text-align:left}
-.gform_wrapper input {outline-style: none; font-size:11px; font-family:verdana, sans-serif; padding:2px 0 2px 0; letter-spacing:normal}
-.gform_wrapper textarea {outline-style: none; font-size:11px; font-family:verdana, sans-serif; letter-spacing:normal; padding:2px 0 2px 0; resize:none; /* doesn't validate but added for Safari field resizing */}
-.gform_wrapper ul {margin:0; list-style-type:none}
-html>body .entry ul, .gform_wrapper ul {text-indent:0px}
-.gform_wrapper li, .gform_wrapper form li {list-style-type:none!important; overflow:hidden}
-.gform_wrapper ul.gfield_radio li, .gform_wrapper ul.gfield_checkbox li {overflow:visible}
-.gform_wrapper ul.right_label li, .gform_wrapper form ul.right_label li, .gform_wrapper ul.left_label li, .gform_wrapper form ul.left_label li {margin-bottom:14px}
-.gform_wrapper ul li:before, .gform_wrapper ul li:after, .entry ul li:before, .entry ul li:after {content:""; /* for safari */}
-.gform_wrapper ul li:before, .gform_wrapper ul li:after, .entry ul li:before, .entry ul li:after {content:none; # /* for other browsers */}
-.gform_wrapper ul.gform_fields {padding:0px; margin:0px}
-.gform_wrapper select {font-size:11px; font-family:verdana, sans-serif; padding:3px 0 3px 0; letter-spacing:normal}
-.gform_wrapper .inline {display:inline!important}
-.gform_wrapper .gform_heading {width:98%; margin-bottom:18px}
-.gform_wrapper .gfield_time_hour, .gform_wrapper .gfield_time_minute, .gform_wrapper .gfield_date_month, .gform_wrapper .gfield_date_day, .gform_wrapper .gfield_date_year {width:70px; float:left}
-.gform_wrapper .gfield_date_month, .gform_wrapper .gfield_date_day, .gform_wrapper .gfield_date_year {margin-right:12px}
-.gform_wrapper .gfield_time_ampm select {width:60px!important}
-.gform_wrapper .gfield_time_hour input, .gform_wrapper .gfield_time_minute input, .gform_wrapper .gfield_date_month input, .gform_wrapper .gfield_date_day input, .gform_wrapper .gfield_date_year input {width:70%!important}
-.gform_wrapper .gfield_date_month, .gform_wrapper .gfield_date_day, .gform_wrapper .gfield_date_year {width:50px; float:left}
-.gform_wrapper .gfield_date_month input, .gform_wrapper .gfield_date_day input, .gform_wrapper .gfield_date_year input {width:85%!important}
-.gform_wrapper .field_hover {border:1px dashed #2175A9!important; cursor:pointer}
-.gform_wrapper .field_selected {background-color:#DFEFFF; border:1px solid #C2D7EF!important}
-.gform_wrapper .field_name_first, .gform_wrapper .field_name_last {width:50%; float:left}
-.gform_wrapper .ginput_complex {overflow:hidden}
-.gform_wrapper .field_name_first input, .gform_wrapper .ginput_complex .ginput_left input {width:90%!important}
-.gform_wrapper .field_name_last input {width:93%!important}
-.gform_wrapper .datepicker {width:100px!important}
-.gform_wrapper .ginput_complex .ginput_left, .gform_wrapper .ginput_complex .ginput_right {width:48%; float:left}
-.gform_wrapper .gfield_error .ginput_complex .ginput_left, .gform_wrapper .gfield_error .ginput_complex .ginput_right {width:50%}
-.gform_wrapper .gfield_error .ginput_complex .ginput_left input {width:90%!important}
-.gform_wrapper .gfield_error .ginput_complex .ginput_right input {width:100%!important}
-.gform_wrapper .ginput_complex input, .gform_wrapper .ginput_complex select {width:92%!important}
-.gform_wrapper .ginput_complex label, .gform_wrapper .gfield_time_hour label, .gform_wrapper .gfield_time_minute label, .gform_wrapper .gfield_date_month label, .gform_wrapper .gfield_date_day label, .gform_wrapper .gfield_date_year label, .gform_wrapper .instruction {display:block; margin:3px 0 8px 0; font-size:10px; letter-spacing:.1em}
-.gform_wrapper .ginput_complex .name_prefix {float:left; width:30px!important; margin-right:14px}
-.gform_wrapper .ginput_complex .name_suffix {float:left; width:30px!important}
-.gform_wrapper .ginput_complex .name_first, .gform_wrapper .ginput_complex .name_last {float:left; width:100px; margin-right:8px}
-.gform_wrapper .top_label .gfield_label {margin:10px 0 4px 0; font-weight:bold; display:-moz-inline-stack; display:inline-block; line-height:130%; clear:both}
-.gform_wrapper .left_label .gfield_label {float:left; margin:2px 15px 0 0; width:29%; font-weight:bold}
-.gform_wrapper .right_label .gfield_label {float:left; margin:2px 15px 0 0; width:29%; font-weight:bold; text-align:right}
-.gform_wrapper .left_label ul.gfield_checkbox, .gform_wrapper .right_label ul.gfield_checkbox, .gform_wrapper .left_label ul.gfield_radio, .gform_wrapper .right_label ul.gfield_radio {margin-left:32%}
-.gform_wrapper .top_label input.small, .gform_wrapper .top_label select.small {width:25%}
-.gform_wrapper .top_label input.medium, .gform_wrapper .top_label select.medium {width:50%}
-.gform_wrapper .top_label input.large, .gform_wrapper .top_label select.large, .gform_wrapper .top_label textarea.textarea {width:92%}
-.gform_wrapper .right_label input.small, .gform_wrapper .right_label select.small, .gform_wrapper .left_label input.small, .gform_wrapper .left_label select.small {width:15%}
-.gform_wrapper .right_label input.medium, .gform_wrapper .right_label select.medium, .gform_wrapper .left_label input.medium, .gform_wrapper .left_label select.medium {width:35%}
-.gform_wrapper .right_label input.large, .gform_wrapper .right_label select.large, .gform_wrapper .left_label input.large, .gform_wrapper .left_label select.large, .gform_wrapper textarea.textarea {width:59%}
-.gform_wrapper .right_label div.ginput_complex, .gform_wrapper .left_label div.ginput_complex {width:64%; float:left}
-.gform_wrapper h2.gsection_title {margin:0!important; padding:0!important; letter-spacing:normal!important}
-.gform_wrapper .gsection .gfield_label, .gform_wrapper h2.gsection_title, .gform_wrapper h3.gform_title {font-weight:bold; font-size:16px; font-family:Helvetica, sans-serif}
-.gform_wrapper h3.gform_title {letter-spacing:normal!important; margin:10px 0 6px 0}
-.gform_wrapper span.gform_description {font-weight:normal}
-.gform_wrapper h2.gsection_title, .gform_wrapper .gsection_description, .gform_wrapper h3.gform_title {width:98%}
-.gform_wrapper .gsection {border-bottom:1px dotted #ccc!important; padding:0 0 8px 0; margin:8px 0 16px 0}
-
-/* updated radio and checkbox styling - justifies lenghty labels ----------------------------------- */
-
-.gform_wrapper .gfield_checkbox li, .gform_wrapper .gfield_radio li {position:relative}
-.gform_wrapper ul.gfield_checkbox, .gform_wrapper ul.gfield_radio {margin:6px 0; padding:0}
-.gform_wrapper .gfield_checkbox li label, .gform_wrapper .gfield_radio li label {display:block; margin: 0 0 0 24px; padding:0; width: auto; line-height:1.5; vertical-align: top}
-.gform_wrapper .gfield_checkbox li input[type=checkbox], .gform_wrapper .gfield_radio li input[type=radio], .gform_wrapper .gfield_checkbox li input {float:left; margin-top:2px}
-
-/* some built in styles to use for quick radio/checkbox columns ----------------------------------- */
-
-.gf_2col ul.gfield_checkbox li, .gf_2col ul.gfield_radio li {width:50%; float:left; margin:0; min-height:1.8em}
-.gf_3col ul.gfield_checkbox li, .gf_3col ul.gfield_radio li {width:33%; float:left; margin:0; min-height:1.8em}
-.gf_4col ul.gfield_checkbox li, .gf_4col ul.gfield_radio li {width:25%; float:left; margin:0; min-height:1.8em}
-.gf_2col ul.gfield_checkbox, .gf_2col ul.gfield_radio, .gf_3col ul.gfield_checkbox, .gf_3col ul.gfield_radio, .gf_4col ul.gfield_checkbox, .gf_4col ul.gfield_radio {overflow:hidden}
-.gf_height25 ul.gfield_checkbox li, .gf_height25 ul.gfield_radio li {height:25px}
-.gf_height50 ul.gfield_checkbox li, .gf_height50 ul.gfield_radio li {height:50px}
-.gf_height75 ul.gfield_checkbox li, .gf_height75 ul.gfield_radio li {height:75px}
-.gf_height100 ul.gfield_checkbox li, .gf_height100 ul.gfield_radio li {height:100px}
-.gf_height125 ul.gfield_checkbox li, .gf_height125 ul.gfield_radio li {height:125px}
-.gf_height150 ul.gfield_checkbox li, .gf_height150 ul.gfield_radio li {height:150px}
-
-.gform_wrapper .description, .gform_wrapper .gfield_description, .gform_wrapper .gsection_description, .gform_wrapper .instruction {font-size:10px; line-height:150%; clear:both; font-family:verdana, sans-serif; letter-spacing:normal}
-.gform_wrapper .description, .gform_wrapper .gfield_description, .gform_wrapper .gsection_description {padding:4px 0 8px 0}
-.gform_wrapper .gfield_description {padding: 10px 0 8px 0; font-style: italic}
-.gfield_date_year+.gfield_description {padding:0 0 8px 0}
-.gform_wrapper .gsection_description {font-style: italic}
-.ginput_complex + .gfield_description {padding-top:0!important}
-.gform_wrapper .right_label .gfield_description, .gform_wrapper .left_label .gfield_description, .gform_wrapper .left_label .instruction, .gform_wrapper .right_label .instruction {margin-left:29%; padding-left:15px}
-.gform_wrapper .left_label .gsection .gsection_description, .gform_wrapper .right_label .gsection .gsection_description {margin-left:0; padding-left:0; padding-top:4px; line-height:150%}
-.gform_wrapper .gfield_required {color:#790000; margin-left:4px}
-.gform_wrapper textarea.small {height:80px}
-.gform_wrapper textarea.medium {height:150px}
-.gform_wrapper textarea.large {height:250px}
-.gform_wrapper .gfield_error {background-color:#FFDFDF!important; margin-top:4px!important; margin-bottom:6px; padding:6px 6px 4px 6px!important; border:1px dotted #C89797}
-.gform_wrapper .top_label .gfield_error .ginput_container {max-width:99%}
-.gform_wrapper .top_label .gfield_error {width:92%}
-.gform_wrapper .top_label .gfield_error input.large, .gform_wrapper .top_label .gfield_error select.large, .gform_wrapper .top_label .gfield_error textarea.textarea {width:100%}
-.gform_wrapper .right_label .gfield_error input.large, .gform_wrapper .right_label .gfield_error select.large, .gform_wrapper .right_label .gfield_error textarea.textarea, .gform_wrapper .left_label .gfield_error input.large, .gform_wrapper .left_label .gfield_error select.large, .gform_wrapper .left_label .gfield_error textarea.textarea {width:66%}
-.gform_wrapper .gfield_error .gfield_label {color:#790000}
-.gform_wrapper .validation_error {color:#790000; font-weight:bold; font-size:14px; line-height:150%; font-family:Helvetica, sans-serif; margin-bottom:16px}
-.gform_wrapper .validation_message {color:#790000!important; font-size:11px; font-family:verdana, sans-serif; letter-spacing:normal}
-.gform_wrapper .gform_footer {padding:16px 0 10px 0; margin:16px 0 0 0}
-.gform_wrapper .gform_footer.right_label, .gform_wrapper .gform_footer.left_label {padding:16px 0 10px 31%}
-.gform_wrapper input.button {font-size:100%; color:#222}
-.gform_wrapper input.button:hover {color:#000}
-#gforms_confirmation_message {background-color:#fffac6; border:1px solid #feda70; margin-top:10px; margin-bottom:10px; padding:20px 0; font-size:14px; color:#252525; text-align:center}
-.gform_wrapper .gform_edit_link {margin:20px 0; font-family:verdana, sans-serif; font-size:12px}
-.gform_wrapper .ginput_complex .ginput_left, .gform_wrapper .ginput_complex .ginput_right, .gform_wrapper .ginput_complex .ginput_full {min-height:43px; display:block; overflow:hidden}
-.gform_wrapper .gfield_checkbox li, .gform_wrapper .gfield_radio li {margin:0 0 4px 0; line-height: 130%!important} /* improve spacing and prevent descenders from getting cut off in IE */
-
-/* jQuery UI date picker ---------------------------------------------------------------------------------------*/
-
-.ui-datepicker-div, .ui-datepicker-inline, #ui-datepicker-div {/*resets*/margin:0; padding:0; border:0; outline:0; line-height:1.3; text-decoration:none; font-size:100%; list-style:none; font-family:"lucida sans", "lucida grande", lucida , sans-serif; background:#fff; font-size:1.0em; border:4px solid #C1C1C1; width:15.5em; padding:2.5em .5em .5em .5em; position:relative}
-.ui-datepicker-div, #ui-datepicker-div {z-index:9999; /*must have*/ display:none}
-.ui-datepicker-inline {float:left; display:block}
-.ui-datepicker-control {display:none}
-.ui-datepicker-current {display:none}
-.ui-datepicker-next, .ui-datepicker-prev {position:absolute; left:.5em; top:.5em; background:#eee}
-.ui-datepicker-next {left:14.6em}
-.ui-datepicker-next:hover, .ui-datepicker-prev:hover {background:#dadada}
-.ui-datepicker-next a, .ui-datepicker-prev a {text-indent:-999999px; width:1.3em; height:1.4em; display:block; font-size:1em; background:url(../images/datepicker_arrow_left.gif) 50% 50% no-repeat; border:1px solid #d3d3d3; cursor:pointer}
-.ui-datepicker-next a {background:url(../images/datepicker_arrow_right.gif) 50% 50% no-repeat}
-.ui-datepicker-header select {border:1px solid #d3d3d3; color:#555; background:#e6e6e6; font-size:1em; line-height:1.4em; position:absolute; top:.5em; margin:0 !important}
-.ui-datepicker-header option:focus, .ui-datepicker-header option:hover {background:#dadada}
-.ui-datepicker-header select.ui-datepicker-new-month {width:7em; left:2.2em}
-.ui-datepicker-header select.ui-datepicker-new-year {width:5em; left:9.4em}
-table.ui-datepicker {width:15.5em; text-align:right}
-table.ui-datepicker td a {padding:.1em; display:block; color:#555; background:#e6e6e6; cursor:pointer; border:1px solid #fff; text-align:center}
-table.ui-datepicker td a:hover {border:1px solid #fff; color:#212121; background:#dadada; text-decoration: none}
-table.ui-datepicker td a:active {border:1px solid #aaa; color:#212121; background:#fff; text-decoration: none}
-table.ui-datepicker .ui-datepicker-title-row td {padding:.2em 0; text-align:center; font-size:.9em; color:#222; text-transform:uppercase}
-table.ui-datepicker .ui-datepicker-title-row td a {color:#222; padding:.3em 0}
-.ui-datepicker-cover {display:none; display/**/:block; position:absolute; z-index:-1; filter:mask(); top:-4px; left:-4px; width:193px; height:200px}
-img.ui-datepicker-trigger {position:relative; top:3px; left:4px}
-
-/* tame those pesky hidden fields --------------------------------------------------------------------*/
-
-.gform_wrapper input[type="hidden"], .gform_wrapper input.gform_hidden, .gform_hidden {display:none}
-.ginput_full br, .ginput_left br, .ginput_right br {display:none}
-
-/* fix captcha alignment for IE8 ---------------------------------------------------------------------*/
-
-.gform_wrapper .left_label #recaptcha_area, #recaptcha_table, .gform_wrapper .right_label #recaptcha_area, #recaptcha_table {margin-left:32%}
-
-/* additional spacing and padding tweaks --------------------------------------------*/
-
-.gform_wrapper .left_label .ginput_complex .ginput_right label, .gform_wrapper .left_label .ginput_complex .ginput_left label, .gform_wrapper .right_label .ginput_complex .ginput_right label, .gform_wrapper .right_label .ginput_complex .ginput_left label {word-spacing: -.4em}
-ul.gfield_checkbox li, ul.gfield_radio li {padding:0!important}
-.top_label .ginput_complex + .gfield_description {padding-bottom:0!important}
-.gform_wrapper .top_label .gfield_description, {padding: 10px 0 0 0}
-.gform_wrapper .top_label .gfield_description.validation_message, .gfield_description.validation_message {padding:10px 0 10px 0}
-
-/* Twentyten theme specific styles updated 08.23.2010 -----------------------------------------------------*/
-/* pretty specific inheritance but if your theme is structured just like the 2010 theme it may affect yours as well */
-
-#wrapper.hfeed #main #container #content .entry-content .gform_wrapper .ginput_complex input, #wrapper.hfeed #main #container #content .entry-content .gform_wrapper .ginput_complex select, .entry-content .gform_wrapper input, #wrapper.hfeed #main #container #content .entry-content .gform_wrapper select {margin:0!important}
-#wrapper.hfeed #main #container #content .entry-content .gform_wrapper .ginput_complex select, #wrapper.hfeed #main #container #content .entry-content .gform_wrapper select {font-size:16px; padding:1px 2px!important; background-color: #F9F9F9; border:1px solid #CCC; color:#444}
-#wrapper.hfeed #main #container #content .entry-content .gform_wrapper .gfield_checkbox li input[type=checkbox], #wrapper.hfeed #main #container #content .entry-content .gform_wrapper .gfield_checkbox li input {margin-top:2px!important}
-#wrapper.hfeed #main #container #content .entry-content .gform_wrapper .gfield_radio li input[type=radio], #wrapper.hfeed #main #container #content .entry-content .gform_wrapper .gfield_radio li input {margin-top:1px!important}
-#wrapper.hfeed #main #container #content .entry-content .gf_2col ul.gfield_checkbox li, #wrapper.hfeed #main #container #content .entry-content .gf_2col ul.gfield_radio li {min-height:1.5em}
-#wrapper.hfeed #main #container #content .entry-content .gf_3col ul.gfield_checkbox li, #wrapper.hfeed #main #container #content .entry-content .gf_3col ul.gfield_radio li {min-height:1.5em}
-#wrapper.hfeed #main #container #content .entry-content .gf_4col ul.gfield_checkbox li, #wrapper.hfeed #main #container #content .entry-content .gf_4col ul.gfield_radio li {min-height:1.5em}
-#wrapper.hfeed #main #container #content .entry-content .gform_wrapper .gfield_checkbox li label, #wrapper.hfeed #main #container #content .entry-content .gform_wrapper .gfield_radio li label {*display:inline-block!important; *margin: 2px 0 0 6px}/* for IE7 */
-
-/* Thesis theme specific styles updated 08.23.2010 -----------------------------------------------------*/
-/* pretty specific inheritance but if your theme is structured identical to the Thesis theme it will affect yours as well */
-
-body.custom #container #page #content_box .post_box .format_text ul.gfield_radio li input, body.custom #container #page #content_box .post_box .format_text ul.gfield_checkbox li input {width:auto!important; border:none!important; border-color:none!important; background-color:none!important; background:none!important}
-body.custom #container #page #content_box .post_box .format_text .gform_footer input[type=image] {border:none!important; border-color:none!important; background-color:none!important}
-body.custom #container #page #content_box .post_box .format_text .gform_footer input.button {border-color:#CCC #999 #999 #CCC; border-right:3px double #999; border-style:double; border-width:3px; color:#111111; background-color:#E3E3E3; cursor:pointer; font-weight:bold; overflow:visible; width:auto !important; font-family: Georgia, "Times New Roman", Times, serif; font-size:1.143em; padding:0.313em 0.25em}
-body.custom #container #page #content_box .post_box .format_text .left_label ul.gfield_checkbox, body.custom #container #page #content_box .post_box .format_text .left_label ul.gfield_radio, body.custom #container #page #content_box .post_box .format_text .right_label ul.gfield_checkbox, body.custom #container #page #content_box .post_box .format_text .right_label ul.gfield_radio {margin-top:-.2em!important}
-body.custom #container #page #content_box .post_box .format_text input, body.custom #container #page #content_box .post_box .format_text select {font-size:1em; padding:0.214em}
-body.custom #container #page #content_box .post_box .format_text select {background-color:#eee; border-color:#AAA #DDD #DDD #AAA; border-style:solid; border-width:1px; color:#444; font-size:1em}
-body.custom #container #page #content_box .post_box .format_text .gform_wrapper .gfield_checkbox li input[type=checkbox], body.custom #container #page #content_box .post_box .format_text .gform_wrapper .gfield_radio li input[type=radio], body.custom #container #page #content_box .post_box .format_text .gform_wrapper .gfield_checkbox li input {float:left; margin-top:4px}
-body.custom #container #page #content_box .post_box .format_text .gform_wrapper .gfield_checkbox li label, body.custom #container #page #content_box .post_box .format_text .gform_wrapper .gfield_radio li label {display:inline-block\9; margin: 2px 0 0 6px\9}/* another hack for IE */
-
-/* HTML field default margins -----------------------------------------------------*/
-
-.left_label li.gfield_html_formatted, .right_label li.gfield_html_formatted {margin-left:32%}
-.gfield_html.gfield_no_follows_desc {margin-top:10px}
-
-/* ajax forms ------------------------------------------------------*/
-
-.gform_ajax_spinner {padding-left: 10px}
-.gform_validation_container {display:none}
-
-/* Simple Captcha ------------------------------------------------------*/
-
-.gfield_captcha_input_container {padding-top:3px}
-
-.simple_captcha_small input {width:100px}
-.simple_captcha_medium input {width:150px}
-.simple_captcha_large input {width:200px}
-.gform_wrapper .left_label .simple_captcha_small, .gform_wrapper .right_label .simple_captcha_small, .gform_wrapper .left_label .simple_captcha_medium, .gform_wrapper .right_label .simple_captcha_medium, .gform_wrapper .left_label .simple_captcha_large, .gform_wrapper .right_label .simple_captcha_large {margin-left:32%}
-.gfield_captcha_container img.gfield_captcha {border:none!important; background:none!important; float:none!important; margin:0!important; padding:0!important}
-
-/* Math Challenge ------------------------------------------------------*/
-
-.math_small input {width:69px}
-.math_medium input {width:90px}
-.math_large input {width:108px}
-.gform_wrapper .left_label .math_small, .gform_wrapper .right_label .math_small, .gform_wrapper .left_label .math_medium, .gform_wrapper .right_label .math_medium, .gform_wrapper .left_label .math_large, .gform_wrapper .right_label .math_large {margin-left:32%}
-
-/* a few IE specific hacks ------------------------------------------------------------------------- */
-
-.gform_wrapper .gfield_time_hour {*width:80px}
-.gform_wrapper .gfield_time_minute {*width:70px}
-.gform_wrapper .gfield_time_ampm {*padding-top:2px}
-.gform_wrapper .gfield_time_hour input, .gform_wrapper .gfield_time_minute input {*margin-left:0}
-.gform_wrapper .ginput_complex .ginput_left label, .gform_wrapper .ginput_complex .ginput_right label {*margin:3px 0 5px 0}
-.gform_footer input.button {*padding:3px}
-ul.top_label .clear-multi {overflow:hidden; clear:both}
-.gform_wrapper .gfield_checkbox li input[type=checkbox], .gform_wrapper .gfield_radio li input[type=radio], .gform_wrapper .gfield_checkbox li input {*margin-top:0}
-.gform_wrapper .ginput_complex .ginput_left select, .gform_wrapper .ginput_complex .ginput_right select {padding: 2px 0 2px 0\9 }
-.gform_wrapper .gfield_checkbox li label, .gform_wrapper .gfield_radio li label {display:inline-block\9; margin: 2px 0 0 6px\9; }