/****
***** Stylesheet referenced by all pages
*****/

html, body{
	font-family: 'Helvetica', 'Arial', sans-serif;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	color: Black;
	text-align: center;
	margin: 0;
	/*padding: 0;*/
	height: 100%;
	background-color: White
}

table {
	margin-left: auto;
    margin-right: auto;
}

/****************************DATA DISPLAY TABLES - FOR DATA SUMMARY PAGES*****************************************/
table.datadisplay {
	background-color: #666666;
	border-spacing: 1px 1px;
}
table.datadisplay td {
	border: none;
	padding: 0.2em 2ex 0.2em 2ex;
	text-align: center;
}
table.datadisplay tr.d0 td {
	background-color: White;
}
table.datadisplay tr.d1 td {
	background-color: #DDDDDD;
}
table.datadisplay tr.d2 td {
	background-color: #AAAAAA;
}
table.datadisplay tr.d3 td {
	background-color: #888888;
}

/****************************TRAIT VALUE TABLE - INVISIBLE, FOR SPACING ONLY*****************************************/
table.padded {
}
table.padded td {
	padding: 0px 5px;
}

/****************************FORM/MENU TABLES - MENUS FOR ENTERING SEARCH/DATABASE CRITERIA*****************************************/
table.formtable {
	padding: 2px;
	border: none;
	background-color: #42825D;
	border-spacing: 1px;
}
table.formtable td {
	border: none;
	color: Black;
	background-color: White;
	padding: 2px;
}
table.formtable tr.pad td {
	padding: 3px;
}

/*********************************NAVBAR TABLE - TABS FOR NAVIGATING WHEAT DATABASE********************************************/
table.navbar {
	border: none;
	background-color: #42825D;
	border-collapse: collapse;
}
table.navbar td {
	padding: .2em .6em;
	border: none;
	border-radius: 9px 9px 0px 0px;
	-moz-border-radius: 9px 9px 0px 0px;
	-webkit-border-radius: 9px 9px 0px 0px;
	background-color: #42825D;
	
	font-size: 1.25em;
}

table.navbar td a:hover {
	color: #56D188;
	text-decoration: none;
}

table.navbar td.select {
	text-align: center;
	color: #42825D;
	background-color: White;
}

table.navbar td.select a:link {
	color: #42825D;
	text-decoration: none;
}

table.navbar td.select a:visited {
	color: #42825D;
	text-decoration: none;
}

/*********************************UPPER NAVBAR TABLE - LINKS TO MAIN CSU WHEAT SITE********************************************/
table.uppernavbar {
}
table.uppernavbar td {
	padding: 0 2em 0 2em;
	font-size: 1.125em;
}

table.uppernavbar td a:link {
	color: #31523E;
	text-decoration: none;
}
table.uppernavbar td a:visited {
	color: #31523E;
	text-decoration: none;
}
table.uppernavbar td a:hover {
	color: #56D188;
	text-decoration: none;
}

/*********************************LINKS*********************************************/
a:link {
	color: White;
	text-decoration: none;
}
a:visited {
	color: White;
	text-decoration: none;
}
a:hover {
	color: White
	text-decoration: none;
}
a:active {
	color:#484848;
	text-decoration: none;
}

/*****************************BUTTON CURSOR**************************************/
button {
	cursor: pointer;
}

/**************************INVISIBLE BUTTON*************************************/
button.invisible {
    background:none!important;
    border:none; 
    padding:0!important;
	color: #666666;
}
button.invisible:hover{
	color: #56D188;
}

/**************************COLUMN SORT BUTTON*************************************/
button.column {
    background:none!important;
    border:none; 
    padding:0!important;
	color: White;
}
button.column:hover{
	color: #56D188;
}

/**************************VARIETY BUTTONS - FOR VARIETY POP-UP*************************************/
button.variety {
    background:none!important;
    border:none; 
    padding:0!important;
	color: Black;
	font-size: 1em;
}
button.variety:hover{
	color: #56D188;
}

/**************************SUBMIT BUTTON*************************************/
button.submit {
	border-radius: 9px;
	-moz-border-radius: 9px;
	-webkit-border-radius: 9px;
    background: #42825D;
    padding: 7px;
    border:none; 
	color: #FFFFFF;
	font-weight: bold;
	margin: 3px;
}
button.submit:hover{
	background: #31523E;
}
button.submit:disabled{
	cursor: default;
	background: #DDDDDD;
}

/*********************************HEADING SPECS - FOR PAGE TITLES*************************************/
h1{
	font-size: 2.5em;
	margin: 11px;
}

/***********************************FOOTER BUSINESS********************************/
.wrapper {
    min-height: 100%;
    height: auto!important;
    height: 100%;
    margin: 0 auto -2em;
	width: 100%;
	background-color: White;
}
.push {
    height: 4.5em;
}
.footer {
	background-color: #42825D;
	min-height: 2em;
	padding: 0.3em 0;
    color: White;
	width: 100%;
	margin-left:auto;
	margin-right:auto;
}

/*********************************THINGS NOT TO PRINT********************************/
@media print {
	.noprint { display: none; }
	table { 
		border: none !important;
		color: #000000;
	}
	h3 { color: #000000 !important; }
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 500px) {
	table.navbar td {
		padding: .1em .2em;
		font-size: 0.75em;
	}
}

@media (max-width: 500px) {
	table[style*="max-width: 650px"] td {
		display: block;
		width: 100% !important;
	}
	table[style*="max-width: 650px"] img {
		max-width: 100%;
		height: auto;
	}
}

@media (max-width: 500px) {
	table.formtable {
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box;
	}
	table.formtable > tbody > tr {
		display: block;
		width: 100%;
	}
	table.formtable > tbody > tr > td {
		width: 100% !important;
		display: block;
		box-sizing: border-box;
	}
}

@media (max-width: 500px) {
	.wheatset-toggle {
		width: 280px !important;
		max-width: 280px !important;
		margin: 0 auto !important;
		flex-wrap: wrap !important;
	}
	.wheatset-toggle label {
		flex: 0 0 50% !important;
		min-width: 0 !important;
		border-top: 1px solid #999;
		margin-top: -1px;
	}
	.wheatset-toggle label:first-child,
	.wheatset-toggle label:nth-child(2) {
		border-top: none;
		margin-top: 0;
	}
	.wheatset-toggle label:nth-child(3) {
		flex: 1 1 100% !important;
	}
	.wheatset-toggle span {
		padding: 8px 6px;
		font-size: 12px;
		text-align: center;
	}
}

@media (max-width: 500px) {
	table.formtable table td {
		white-space: normal !important;
	}
}
