/*
Theme Name: SWOFH
Description: Custom theme for the Space Worker Hall of Honor site.
Author: Brandt Ronat and Company
Version: 1.0
*/

@import url("reset.css");

/***** TESTING *****/


/***** STRUCTURE *****/

.container {
	width: 1146px;
	margin: 0 auto;
}

/*** Header ***/

#banner {}

#banner-top {
	background: white;
	height: 66px;
	position: relative;
}

#banner-top-buttons {
	float: right;
}
#banner-top-buttons-swoflink {
	vertical-align: middle;
	margin: 0 10px 0 0;
}
#banner-top-buttons-donate {
	vertical-align: middle;
}
body.home #banner-top {
	background: #1b1464;
}

#banner-bottom {
	background: #1b1464;
	border-top: 10px solid #C1272D;
}
body.home #banner-bottom {
	display: none;
}
.banner-bottom-program {
	margin: 10px 0;
	vertical-align: middle;
}
#banner-bottom h1 {
	display: inline;
	font-size: 2.7em;
	color: white;
	vertical-align: middle;
	margin: 0 0 0 30px;
}

#breadcrumb {
	padding: 10px;
}
#breadcrumb p {
	margin: 0;
}

/*** Front Page ***/

#frontpage {}
		
#frontpage-masthead {
	background: url('images/masthead_full.jpg') center center;
	background-size: cover;
	height: 437px;
	text-align: center;
}
#frontpage-masthead h1 {
	font-size: 3.9em;
	color: white;
	text-shadow: 0px 0px 5px #000;
	padding: 70px 0 0;
	margin: 0 0 30px;
}

.frontpage-masthead-program {}

#frontpage-content-mission {
	background: #1b1464;
	color: #b3b3b3;
	text-align: center;
	font-family: 'Roboto', "Trebuchet MS", helvetica, sans-serif;
	width: 50%;
	font-size: 1.4em;
	padding: 20px 0;
	display: inline-block;
}
#frontpage-content-mission p {
	margin: 0;
	line-height: 2em;
}

#frontpage-content-search {
	display: inline-block;
	width: 50%;
	text-align: center;
	vertical-align: top;
	color: #005ead;
}
#frontpage-content-search h2 {
	font-size: 2em;
	color: #1b1464;
	margin: 25px 0 10px;
}

#frontpage-content-search-advanced {
	margin: 0 0 30px;
	font-style: italic;
	color: #808080;
	text-decoration: none;
}
#frontpage-content-search-advanced:hover {
	color: #C1272D;	
}

a.button {
	background: #005ead;
	font-family: 'Roboto', "Trebuchet MS", helvetica, sans-serif;
	border: 4px double #ffffff;
	padding: 8px 0;
	color: white;
	text-decoration: none;
	font-weight: 300;
	font-size: 2em;
	display: block;
	width: 70%;
	margin: 10px auto;
}
a.button:hover {
	background: #c1272d;
}

#frontpage-content-spotlight {
	margin: 40px 0 70px;
}
#frontpage-content-spotlight h2 {
	font-size: 2em;
	color: #1b1464;
	border-bottom: 2px solid #C1272D;
	padding: 0 0 5px;
	margin: 0 0 40px;
}

.frontpage-content-spotlight-member {
	width: 33%;
	display: inline-block;
	vertical-align: top;
}

.frontpage-content-spotlight-member img {
	margin: 0px 10px 0px 0px;
	float: left;
	border-radius: 100%;
	-moz-border-radius: 100%;
	-webkit-border-radius: 100%;
}

.frontpage-content-spotlight-member h3 {	
	font-size: 1.7em;
	margin: 10px 0 20px;
}

.frontpage-content-spotlight-member h3 a {
	color: #005ead;
	text-decoration: none;
}
.frontpage-content-spotlight-member h3 a:hover {
	color: #C1272D;
	text-decoration: none;
}

/*** Page ***/

#page-content {
	margin-bottom: 50px;
}

#page-content h1 {
	font-size: 2em;
	margin: 1em 0px 1.5em;
}

/* Advanced Search */

#page-content-explanation {}

#page-content-search {
	text-align: center;	
	margin: 40px 0 40px;
}
#page-content-search h2 {
	text-align: left;
}

#page-content-programs {
	text-align: center;
	margin: 0 0 40px;
}
#page-content-programs h2 {
	text-align: left;
}
.page-content-programs-program {
	margin: 0 20px;
}

#page-content-companies {	
	margin: 0 0 20px;
}
/* #page-content-companies li {
	float: left;
	margin: 0px 10px 0px 0px;
	list-style: inside;
	line-height: 2em;
} */

#page-content-companies li {
	display: inline;
	margin: 0px 8px 0px 0px;
	line-height: 2em;
}
#page-content-companies li:before {
	content: "•"; /* Insert content that looks like bullets */
    padding-right: 13px;
}

/* WordPress Sign-Up Page */

#signup-content {
	width: 90%;
	margin: 0px auto;
}

/* Contact Page */

#contact-page-address {
	float: right;		
}

/*** Worker Bio Page ***/

main#worker {
	padding: 20px 0px 0px;
	background: url('images/workerbg.gif') repeat-x;
	display: block;
}

#worker-sidebar {
	display: inline-block;
	width: 354px;
	vertical-align: top;
	margin: 0px 30px 0px 75px;
}
.worker-sidebar-portrait {
	border: 3px solid white;
	margin: 0 0 20px;
	width: 350px;
	height: auto;
	background: white;
}

.worker-sidebar-button {
	margin: 0 0 20px;
}

.report-link {
    display: block;
    margin: 0 0 20px;
    font-size: .8em;
}

#worker-bio {
	display: inline-block;
	width: 600px;
	vertical-align: top;
	padding: 10px 0 0;
}
#worker-bio-header {
	margin: 0px 0px 65px;
	min-height: 109px;
}
#worker-bio-header h1 {
	border-bottom: 2px solid #1b1464;
	font-size: 2.7em;
	padding: 0 0 .3em;
	margin: 0 0 .1em;
}
#worker-bio-header p {
	color: #005EAD;
	font-size: 1.8em;
}
#worker-bio-header p .divider {
	color: #999999;
}
#worker-bio-content {}

.worker-bio-content-section {
	margin: 0 0 30px;
}

.worker-bio-programbadge {
	margin: 20px 20px 0 0;
}

/*** Footer ***/

#sitefooter {
	background: #999999;
	text-align: center;
	color: #1b1464;
	padding: 10px 0px 15px;
}

#sitefooter-flag {
	float: left;
}

#sitefooter-sitename {
	font-size: 1.3em;
	padding: 3px 0 0;
	margin: 0;
	line-height: 1em;
}

#sitefooter-copyright {
	color: white;
	font-size: .8em;
	margin: 8px 0 0;
}
#sitefooter-copyright a {
	color: white;
	text-decoration: none;
}
#sitefooter-copyright a:hover {
	text-decoration: underline;
}

/***** CORE TYPE STYLES ****/

/*** Text & Links ***/

body {
	font-family: 'Open Sans', "Trebuchet MS", helvetica, sans-serif;
	color: #4d4d4d;
}

p {
	line-height: 1.3em;
	margin: 0 0 1em;
}

a {
	color: #c1272d;
	text-decoration: none;
}
a:hover {
	color: #161464;
}
a img:hover {
	opacity: .8;
}

blockquote {}

.col2 {
	columns:300px 2;
	-webkit-columns:300px 2;
	-moz-columns:300px 2;
}
.col3 {
	columns:200px 3;
	-webkit-columns:200px 3;
	-moz-columns:200px 3;
}

/*** Headings ***/

h1 {
	font-family: 'Roboto', "Trebuchet MS", helvetica, sans-serif;
	color: #005ead;
	font-size: 2em;
	margin: 1em 0px 1.5em;
}
h2 {
	font-family: 'Roboto', "Trebuchet MS", helvetica, sans-serif;
	color: #005ead;
	font-size: 1.6em;
	margin: 1.5em 0 .5em;
}
h3 {
	font-family: 'Roboto', "Trebuchet MS", helvetica, sans-serif;
}
h4 {}
h5 {}
h6 {}


/*** Lists ***/

ul {
	list-style: disc;
	margin: 0 0 20px 15px;
}

ul ul {
	margin: 5px 0 0 15px;
	list-style: circle;
}

ul ul ul {
	list-style: square;
}

ol {
	list-style: decimal;
	margin: 0px 0 20px 20px;
	font-size: 12pt;
}

ol ol {
	list-style: lower-alpha;
	margin: 5px 0 0 20px;
}

ol ol ol {
	list-style: lower-roman;
}

li {
	
	margin-bottom: 6px;
}

/*** Forms ***/

fieldset {
	display: block;
	margin: 0 0 10px;
}
label {
	display: block;
}
label.align {
	width: 100px;
	text-align: right;
	display: inline-block;
	vertical-align: middle;
}
label.inline {
	display: inline;
}

.inquiry-success {
	font-weight: bold;
	color: green;
}

.inquiry-failure {
	font-weight: bold;
	color: red;
}

.registration-id {
	display: none; 
	visibility: hidden;
}

#TB_ajaxContent textarea {
	width: 98%;
}

#TB_ajaxContent div.wpcf7-response-output {
	margin: 0;
}

/* Front Page Search */

#frontpage-content-search label {
	display: inline;
}

#frontpage-content-search input {
	border: 2px solid #005ead;
	height: 48px;
	width: 58%;
	padding: 0 2%;
	margin: 0 0 10px;
	font-size: 1.3em;
	vertical-align: middle;
}

#frontpage-content-search input[type="submit"] {
	background: url('images/gray_arrow-blue_box.png');
	border: none;
	height: 48px;
	width: 48px;
	cursor: pointer;
	font-size: 0;
}

/* Advanced Search */

#page-content-search label {
	display: inline;
}

#page-content-search input {
	border: 2px solid #005ead;
	height: 48px;
	width: 58%;
	padding: 0 2%;
	margin: 0 0 10px;
	font-size: 1.3em;
	vertical-align: middle;
}

#page-content-search input[type="submit"] {
	background: url('images/gray_arrow-blue_box.png');
	border: none;
	height: 48px;
	width: 48px;
	cursor: pointer;
	font-size: 0;
}

/*** Tables ***/

table {
	margin: 0 0 20px;
}
table.zebra tr:nth-child(odd) {
	background: #def1f9;
}
table.zebra td {
	padding: 5px;
	color: #6a737b;
}

table.bordered
{
border-collapse:collapse;
border: 1px solid black;
}
table.bordered th, 
table.bordered td
{
border: 1px solid black;
padding: 5px;
}

table.worker-results {
	width: 100%;
}
table.worker-results th {
	vertical-align: middle;
	padding: 20px;	
	font-family: 'Roboto', "Trebuchet MS", helvetica, sans-serif;
	font-weight: 600;
	text-align: left;
	font-size: 1.2em;
}
table.worker-results td {
	vertical-align: middle;
	padding: 5px 20px;
	border-bottom: solid thin black;
}
table.worker-results ul {
	margin: 0;
}

table.tablesorter thead tr th {
	border: none !important;
}


/***** MENUS *****/

/*** Main Navigation ***/

#banner-top-navigation {
	font-family: 'Roboto', "Trebuchet MS", helvetica, sans-serif;
	display: inline-block;
	vertical-align: middle;	
	font-size: 1.5em;
	line-height: 66px;
}

#banner-top-navigation > ul {
	margin: 0;
}

#banner-top-navigation li {
	display: inline-block;
	margin: 0 30px 0 0;
}
#banner-top-navigation li:last-of-type {
	margin: 0;
}

#banner-top-navigation a {
	color: #1b1464;
	text-decoration: none;
}
#banner-top-navigation a:hover {
	color: #c1272d;
}
body.home #banner-top-navigation a {
	color: #808080;
}
body.home #banner-top-navigation a:hover {
	color: #c1272d;
}

/* Dropdown */

#banner-top-navigation .sub-menu {
	display: none;
	position: absolute;
	padding: 10px 20px;
	background: black;
	margin: 0;
	line-height: 1em;
	font-size: .9em;
}

#banner-top-navigation li:hover .sub-menu {
	display: block;
}

#banner-top-navigation .sub-menu li a {
	color: white;
}
#banner-top-navigation .sub-menu li a:hover {
	color: #c1272d;
}



/***** WIDGETS & PLUGINS *****/

/*** Pagination ***/

.pagination {
	clear:both;
	padding:20px 0;
	position:relative;
	font-size:11px;
	line-height:13px;
	float: right;	
}
 
.pagination span, .pagination a {
	display:block;
	float:left;
	margin: 2px 2px 2px 0;
	padding:6px 9px 5px 9px;
	text-decoration:none;
	width:auto;
	color:#fff;
	background: #999999;
	border-radius: 100%;
	-moz-border-radius: 100%;
	-webkit-border-radius: 100%;
}
 
.pagination a:hover{
	color: white;
	background: #C1272D;	
}
 
.pagination .current{
	padding:6px 9px 5px 9px;
	background: #1B1464;
	color:#fff;
}

/*** Content Toggle ***/

.hider-toggle {
	text-align: center;
	width: 50%;
	margin: 0px auto 20px;
	display: block;
	cursor: pointer;
}


/***** MISC. *****/


/***** RESPONSIVE *****/

@viewport{
    zoom: 1.0;
    width: device-width;
}

/*** Set Up Hidden Content ***/

#banner-top-mobilenav {
	display: none;
	position: absolute;
	left: 2%;
	top: 25%;
	width: 40%;
	height: 50%;
}

/* ----------- 1146px ----------- */
@media screen and (max-width: 1146px) {

	/* BASE SETTING: Expand width and remove floating */
	
	.container {
		width: 100%;		
	}
	
	/* Header Fixes */
	
	#banner-top-navigation {
		font-size: 1em;
	}
	
	#banner-top-navigation > ul {
		margin: 0 0 0 5%;
	}
	
	#banner-bottom h1 {
		margin-left: 2%;
	}
	
	.banner-bottom-program {
		display: none;
	}
	
	/* Home Fixes */

	/* Page Fixes */	
	
	#breadcrumb {
		padding-left: 2%;
		padding-right: 2%;
		width: 96%;
	}
	
	#page-content {
		width: 96%;
		margin-left: auto;
		margin-right: auto;
	}
	
	#worker-sidebar {
		width: 30%;
		margin: 0 3% 0 2%;
	}
	#worker-sidebar img {
		max-width: 100%;
	}
	
	#worker-bio {
		width: 63%;
	}
	
	/* Footer Fixes */

	/* Misc. Style Changes */

}

/* ----------- 930px ----------- */
@media screen and (max-width: 930px) {

	/* Hide Stuff */
	
	#banner-top-navigation {
		display: none;
	}
	
	/* Header Fixes */
	
	#banner-top-mobilenav {
		display: block;
	}
	
	#banner-top-buttons {
		width: 50%;
		line-height: 66px;
	}
	
	#banner-top-buttons-swoflink {
		width: 57%;
	}
	
	#banner-bottom {
		height: 5px;
	}
	
	#banner-bottom h1 {
		display: none;
	}
	
	/* Home Fixes */	

	/* Page Fixes */	

	/* Footer Fixes */

	/* Misc. Style Changes */

}

/* ----------- 870px ----------- */
@media screen and (max-width: 870px) {

	/* Hide Stuff */

	/* Header Fixes */

	/* Home Fixes */
	
	.frontpage-masthead-program {
		width: 15%;
	}
	
	#frontpage-content-mission {
		width: 100%;
	}
	
	#frontpage-content-search {
		width: 100%
	}
	
	#frontpage-content-spotlight {
		width: 96%;
		margin-left: auto;
		margin-right: auto;
	}
	
	.frontpage-content-spotlight-member {
		width: 50%;
		display: block;
		margin: 0 auto 20px;
	}

	/* Page Fixes */	

	/* Footer Fixes */

	/* Misc. Style Changes */

}

/* ----------- 800px ----------- */
@media screen and (max-width: 800px) {

	/* Hide Stuff */

	/* Header Fixes */

	/* Home Fixes */	
	
	/* Page Fixes */
	
	#worker-bio-header {
		font-size: .7em;
	}

	/* Footer Fixes */

	/* Misc. Style Changes */

}

/* ----------- 640px ----------- */
@media screen and (max-width: 640px) {

	/* Hide Stuff */

	/* Header Fixes */	
	
	#banner-top-buttons-donate {
		max-width: 30%;
	}

	/* Home Fixes */
	
	#frontpage-masthead {
		padding: 0 0 20px;
		height: auto;
	}	
	#frontpage-masthead h1 {
		font-size: 2em;
		padding: 20px 0 0;
	}
	
	#frontpage-content-mission p {
		font-size: .8em;
	}
	
	#frontpage-content-search h2 {
		font-size: 1.8em;
	}
	
	#frontpage-content-spotlight {
		margin-bottom: 40px;
	}	
	#frontpage-content-spotlight h2 {
		font-size: 1.8em;
	}	
	.frontpage-content-spotlight-member {
		width: 100%;
	}	

	/* Page Fixes */	
	
	#contact-page-address {
		float: none;
		margin-bottom: 2em;
	}
	
	#worker-sidebar {
		width: 96%;
		margin: 0 2% 20px;
		display: block;
	}
	
	.worker-sidebar-portrait {
		width: 100%;
		display: block;
		border: none;
	}
	
	#worker-sidebar-edit {
		width: 50%;
		margin: 0 auto;
		display: block;
	}
	
	#worker-sidebar-print {
		display: none;
	}
	
	main#worker {
		background: none;
	}
	
	#worker-bio-header {
		margin: 0px 0px 40px;
		min-height: 0;
	}
	
	#worker-bio {
		width: 96%;
		margin: 0 2% 20px;
	}
	
	.report-link {
		text-align: center;
	}
	
	/* Table Fixes */
	
	/* table.worker-results {
		font-size: .6em;
	}
	
	table.worker-results th,
	table.worker-results td {
		padding: 0;
	} */	
	
	table, thead, tbody, th, td, tr { 
		display: block; 
	}
	
	table.worker-results thead tr { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
	
	table.worker-results tr { border: 1px solid #ccc; }	
	table.worker-results tr:nth-child(odd) {
		background: #eee;
	}
	table.worker-results tr:nth-child(odd) td {
		border-bottom: 1px solid white;
	}
	
	table.worker-results td { 
		/* Behave  like a "row" */
		border: none;
		border-bottom: 1px solid #eee; 
		position: relative;
		padding: 0 0 0 50%;
		line-height: 2em;
		min-height: 2em;
	}
	
	table.worker-results td:before { 
		/* Now like a table header */
		position: absolute;
		/* Top/left values mimic padding */
		left: 6px;
		width: 45%; 
		padding-right: 10px; 
		white-space: nowrap;
	}
	
	/*
	Label the data
	*/
	table.worker-results td:nth-of-type(1):before { content: "Last Name"; }
	table.worker-results td:nth-of-type(2):before { content: "First Name"; }
	table.worker-results td:nth-of-type(3):before { content: "Middle Name"; }
	table.worker-results td:nth-of-type(4):before { content: "Suffix"; }
	table.worker-results td:nth-of-type(5):before { content: "Programs"; }
	table.worker-results td:nth-of-type(6):before { content: "Companies"; }
	
	/* Footer Fixes */

	/* Misc. Style Changes */

}

/***** PRINT STYLES *****/

@media print {
	
	/* Hide Stuff */
	
	#banner-top,
	#breadcrumb,
	#sitefooter-sitename,
	#sitefooter-copyright,
	.worker-sidebar-button,
	.report-link
	{
		display: none;
	}
	
	/* Fixes */
	
	#banner-bottom {
		text-align: center;
		margin-bottom: 30px;
		padding-bottom: 10px;
	}
	#banner-bottom h1 {
		display: block;
	}
	
	#sitefooter {
		background: #1b1464;
		border-top: 10px solid #C1272D;
		height: 50px;
	}
	
	#sitefooter-flag {
		float: right;
		float: right;
		margin-top: -40px;
		padding-right: 50px;
	}
}

/***** UTILITY CLASSES *****/

.bold, b, strong {
	font-weight: bold;
}

.italic, i, em {
	font-style: italic;
}

hr {
	border: 0;
	height: 0;
	border-top: 1px solid #b4b9bd;
	border-bottom: 1px solid #b4b9bd;
}

.screen-reader-text {
	position: absolute;
	left: -9000px;
}

.hidden {
	display: none;
}

.alignright,
img.alignright {
	display: inline;
	float: right;
	margin-left: 24px;
	margin-top: 4px;
}
.aligncenter,
img.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.alignleft,
img.alignleft {
	display: inline;
	float: left;
	margin-right: 24px;
	margin-top: 4px;
}

.clear {
	clear: both;
	display: block;
	overflow: hidden;
	visibility: hidden;
	width: 0;
	height: 0;
}