/* Base HTML Elements */

html {
    position: relative;
    min-height: 100%;
    font-family: Helvetica, Arial, sans-serif;
}

body {
    background-color: #f3f3f4;
    color: #333333;
    font: 0.8125em Arial, Helvetica, sans-serif;
    margin: 0;
    min-height: 100%;
    line-height: 1.5em;
}

header {
    margin: 0 auto;
    padding: 30px;
	position: relative;
}

nav {height:auto;}

section {
    clear: both;
    overflow: hidden;
    margin: 40px auto;
    padding: 0 15% 10px;
}

footer {
    background-color: #263340;
    color: #cccccc;
    border-top: 6px solid #35506e;
    clear: both;
    padding: 20px 0;
    overflow: hidden;
}

/* Headers */

h1, h2, h3, h4, h4 {
    line-height: 1.2em;
    font-style: normal;
    font-weight: bold;
}

section h2, section h3, form h4 {
    font-size: 2.0em;
    font-weight: normal;
    color: #6c6c6c;
    font-style: italic;
    margin: 10px 0 30px;
}

header h1 {
    font-size: 1.23em;
    margin: 0;
    padding: 0 0 0 88px;
	max-width: 300px;
    position: relative;
}

header h1:before {
    content: '';
    background: url(https://nfc.usda.gov/images/sprite.svg) -14px -23px no-repeat;
    background-size: 107px 75px;
    height: 54px;
    width: 77px;
    position: absolute;
    top: -34px;
    left: 0;
}

header .hgroup p {
    font-size: 1.38em;
    margin: 0;
	max-width: 400px;
    padding: 0 0 0 88px;
    font-style: normal;
    font-weight: bold;
}

.infoBox h3 {
    font-size: 1.6em;
    text-align: center;
    font-weight: bold;
    color: #333333;
    font-style: normal;
    margin: 1em auto 2em;
}

.infoBox h4 {
    font-size: 1.2em;
    text-align: center;
    font-weight: bold;
    color: #333333;
    font-style: normal;
    margin: 1em auto 2em;
}

aside.registration_band h3 {
    font-weight: normal;
    margin: 30px 0 30px 15%;
    float: left;
    font-size: 1.3em;
}


/* Links and buttons */

#menuBox a:link, #menuBox a:visited {
    color: #555;
    font-weight: 600;
    letter-spacing: 2px;
    padding: 10px 0;
}

#menuBox a:hover, #menuBox a:focus {
    border-bottom: 2px solid rgb(46, 208, 128);
	text-decoration: none;
}

a:link {
    color: #2080a1;
    font-weight: bold;
    text-decoration: none;
}

a:visited {
    color: #35567B;
    font-weight: bold;
}

a:hover, a:focus {
	text-decoration: underline;
}

#container a {
    background-color: #ff3300;
    padding: 23px 44px;
    font-size: 1.6em;
    font-weight: bold;
    color: #ffffff;
    margin: 0 3%;
    border-radius: 5px;
    transition: ease-in-out .3s;
}

#container a:hover, #container a:focus {
    background-color: #ffffff;
    color: #ff3300;
	
}

a.button {
    background-color: #0076a3;
    color: #ffffff;
    padding: 10px;
    height: 21px;
    text-align: center;
    line-height: 22px;
    border-radius: 5px;
    margin: 0 auto;
    display: inline;
    transition: ease-in-out .3s;
}

a.button.alt {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 20px;
    background-color: #ffffff;
    color: #0076a3;
    border: 2px solid #0076a3;
    width: 50%;
	height: auto;
}

a.button:hover, a.button:focus {
    background-color: #03668B;
    text-decoration: none;
}

a.button.alt:hover, a.button.alt:focus {
    background-color: #0076a3;
    color: #ffffff;
    text-decoration: none;
}

aside.registration_band a {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 20%;
    margin: auto;
}

#skipnav {
    background-color: rgba(16, 16, 16, 0.7);
    padding: 8px 0 8px 26px;
    color: #ffffff;
    box-shadow: 0 8px 6px -6px rgb(158, 158, 158);
    position: absolute;
    top: -50px;
    left: 0;
    width: 98%;
    z-index: 1;
    -webkit-transition: -webkit-transform 0.3s, top 0.3s;
    -moz-transition: -moz-transform 0.3s, top 0.3s;
    transition: transform 0.3s, top 0.3s;
}

#skipnav:focus {
    top: 0;
}

footer a:link, footer a:visited {
    color: #cccccc;
    font-size: .84em;
    font-weight: normal;
}

/* Paragraphs, tables, and lists (that are not menus) */


section .infoBox p, section .infoBox dl {
    font-size: 1.1em;
}

p {
    font-size: 1.1em;
}

table {
	width:100%;
}

table th {
	text-align:left;
}

.agenda {
    font-size: 1.2em;
    background-color: #ffffff;
    border-spacing: 0;
	max-width: 885px;
	margin: 0 auto;
}

.agenda th,td {
	padding: 20px 15px;
    border-bottom: 3px solid #f3f3f4;
}

.agenda caption {
	text-align: left;
	margin: 40px 0;
}

.agenda caption h4 {
	margin:0;
}

/* Site Menus */ 

.svg #menu {
    padding: 8px 15px 8px 10px;
}

#menu {
    float: right;
    margin: 13px 50px 0 0;
    background-color: rgb(21, 91, 136);
    color: #ffffff;
    border: none;
    border-radius: 5px;
    padding: 8px 15px;
    font-size: 16px;
    transition: .3s ease all;
    line-height: 21px;
    display: none;
}

#menu svg {
    float: left;
    width: 20px;
    height: 20px;
    margin: 0 10px 0 0;
    fill: #ffffff;
}

nav ul {
    list-style: none;
    float: right;
    margin: -30px 0 0 0;
}

nav ul li {
    transition: ease .3s all;
    border-bottom: 2px solid rgb(243, 243, 244);
    padding: 0 5px;
    float: left;
    margin: 0 15px;
}

footer ul {
    list-style: none;
    max-width: 980px;
    margin: 0 auto;
    overflow: hidden;
    padding: 0;
    display: table;
}

footer ul li {
    display: table-cell;
    padding: 0 8px;
}


/* Widgets, Pods, Forms, and Graphics (basically all UI elements not previously listed) */

#container {
    position: relative;
}

#container.short {
	position: relative;
    max-height: 300px;
    overflow: hidden;
}

#container img {
    max-width: 100%;
}

#container div {
    position: absolute;
    bottom: 15%;
    width: 100%;
    text-align: center;
}

.speakers img {
    float: left;
}

.speakers dt {
    font-size: 1.2em;
    margin: 0 0 5px 0;
}

.speakers dl {
    float: left;
    margin-left: 20px;
}

.speakers div {
    clear: left;
	overflow: hidden;
    margin: 20px auto;
	max-width:400px;
}

.speakers dl dd {
    margin: 0;
    color: #565656;
}

.question {
    position: absolute;
    left: -9999px;
}

.questionLabel {
	color: rgb(32, 128, 161);
	text-decoration: underline;
	font-size: 0.9em;
	margin: 0 5px;
}

.question + .answer {
    display: none;
    margin: 20px 0px;
border-left: 2px solid rgb(32, 128, 161);
padding: 0px 0px 0px 10px;
}

.question:checked + .answer {
    display: block;
}

.frame {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 35px;
    height: 0;
    overflow: hidden;
}

.frame iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.flexbox .pods {
	display: flex;
}

.pods {
	display: table;
	border-spacing: 10px;
}

.infoBox, figure {
    background-color: #ffffff;
    padding: 10px 20px 80px 20px;
    margin: 10px;
    width: 100%;
    border-radius: 3px;
    box-shadow: 0 8px 6px -6px rgb(209, 208, 208);
    overflow: hidden;
    position: relative;
}

img {
	max-width: 100%;
}

.flexbox .about, .flexbox .column1 {
	order: 1;
	display:block;
}

.flexbox .speakers, .flexbox .column2 {
	order: 2;
	display:block;
}

.about, .column1 {
	display: table-cell;
	width: 45%;
}

.speakers, .column2 {
	display: table-cell;
	width: 45%;
}

.flexbox .column1 {
	width: 80%;
    margin: 0 20px 0 0;
    padding: 0 0 20px 0;
}

form hr {
	border: 1px solid #777;
    margin: 26px auto;
    width: 50px;
}

form input[type=text] {
	    padding: 8px 6px;
    border-radius: 3px;
    border: 1px solid #B1ADAD;
}

form input[type=submit] {
	background-color: #03668B;
    color: #ffffff;
    padding: 8px 15px;
    border: none;
    border-radius: 3px;
    margin: 10px auto;
    transition: ease-in-out .3s;
}

form abbr {
	color: #9E4D4D;
}

.register label, .register input[type=submit] {
    display: block;
    margin: 10px 0;
    font-size: 1.1em;
	position: relative;
}

.register {
    max-width: 800px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 20px 50px;
    border-radius: 3px;
    border: 1px solid #E6E4E4;
}

.register input[type=text], .register textarea {
    width: 80%;
    padding: 8px 6px;
}

.register h3 {
    font-size: 1.5em;
    font-style: normal;
    color: #03668B;
    padding: 0 0 15px;
    border-bottom: 2px solid rgb(46, 208, 128);
}

.register h4 {
    font-size: 1.3em;
    color: #03668B;
    margin: 30px 0;
}

/*label.error:after {
    content: '';
    color: #ffffff;
    background-color: #9E4D4D;
    box-shadow: 0 8px 6px -6px #3F3F3F;
    visibility: visible;
    position: absolute;
    right: 0;
    height: 25px;
    line-height: 25px;
    top: 75px;
    bottom: 0;
    margin: auto 0;
    padding: 4px 15px;
    border-radius: 5px;
    transition: ease-in-out .3s;
}*/

span[role=alert] {
    color: #ffffff;
    background-color: #9E4D4D;
    box-shadow: 0 8px 6px -6px #3F3F3F;
    display:none;
    position: fixed;
    top: 15%;
    right: 5%;
    height: 25px;
    line-height: 25px;
    margin: auto 0;
    padding: 25px 15px;
    border-radius: 5px;
    transition: ease-in-out .3s;
}

span.show {
	display:block;
}

#formNotice.error {
    border-left: 4px solid #9e4d4d;
    padding-left: 8px;
}

/*.error.noMatch:after {
	content: 'Emails must match!';
}

.error.invalid:after {
	content: 'You must enter a valid email!';
}

.error.phone:after {
	content: 'Please check this phone number!';
}*/

input.error {
	border: 1px solid #9e4d4d !important;
}

input[disabled] {
    background-color: #504B4B !important;
}

aside.registration_band {
    background-color: #3b3b3b;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

figure {
    padding-bottom: 50px;
    box-shadow: none;
    overflow: visible;
}

figure img {
    max-width: 100%;
    display: block;
    position: relative;
}

figcaption h4 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0;
    color: #2c3f52;
    font-size: 1.1em;
    margin: 10px 0;
}

figcaption p {
     margin: 0;
}

.schedule {
    display: table;
    width: 100%;
}

.schedule__days {
    display: table-row;
    height: 50px;
}

.schedule__days a {
	text-decoration: none;
	display: inline;
	margin: 0 10px 0 0;
}

.schedule__section {
    display: table-row;
}

.schedule__event__time {
    display: table-cell;
    padding: 30px 30px 30px 0;
    white-space: nowrap;
    width: 75px;
    font-size: 1.5em;
    line-height: 30px;
    font-style: normal;
    border-bottom: 1px solid #dcdcdc;
}

.schedule__events {
    display: table-cell;
}

.event {
    border-left: 1px solid #dcdcdc;
    padding: 30px 60px;
    border-bottom: 1px solid #dcdcdc;
}

.event__tile {
    font-size: 1.2em;
    line-height: 2em;
    font-weight: normal;
    margin: 0;
}

.event__details {
    margin-bottom: 0;
}

.event__speaker {
    font-size: 1em;
    font-style: italic;
    margin-top: 0;
}

@media (max-width: 1240px) {
	section {
		padding: 0 5% 10px;
	}
	
}

@media (max-width: 1140px) {
	#container a {
		padding: 15px 30px;
		font-size: 1.2em;
	}
	
	#menu {
		display: block;
		position: absolute;
		top: 0;
		bottom: 0;
		margin: auto;
		right: 20px;
		height: 40px;
	}
	
	#menuBox {
		list-style: none;
		padding: 0;
		margin: 0;
		height: 0;
		overflow: hidden;
		position: absolute;
		top: 72px;
    	right: 19px;
		z-index: 1;
		width: 250px;
		background-color: #ffffff;
		border-radius: 3px;
		box-shadow: 0 0 1px rgba(76,86,103,.25),0 2px 18px rgba(31,37,50,.32);
		visibility: hidden;
		transition: .3s ease all;
	}
	
	#menuIcon {
		float: left;
	  width: 20px;
	  height: 20px;
	  margin: 0 10px 0 0;
	  fill: #ffffff;
	
	}
	
	#menuBox li {
		float: none;
		border: none;
		margin: 0;
		padding:0;
	}
	
	#menuBox li a:link, #menuBox li a:visited {
		padding:10px 15px;
		display:block;
	}
	
	#menuBox li a:hover,  #menuBox li a:focus {
		background-color: #C5EFFF;
		color: #00274A;
		border:none;
		
	}
	
	#menu:hover svg {
		fill: rgb(21, 91, 136);
	}
	
	#menuIcon > #top, #menuIcon > #middle, #menuIcon > #bottom {
		transform: rotate(0) translate(0,0);
		transition: .3s ease all;
	}
	
	.open #menuIcon > #bottom {
	  transform: rotate(-45deg) translate(-20px,-1px);
	  fill: rgb(21, 91, 136);
	}
	
	.open #menuIcon > #middle {
	  transform: translateX(51px);
	  fill: rgb(21, 91, 136);
	}
	
	.open #menuIcon > #top {
	  transform: rotate(45deg) translate(7px, -9px);
	  fill: rgb(21, 91, 136);
	}
	
	#menu:hover, #menu.open {
		background-color: #ffffff;
		color: rgb(21, 91, 136);

		box-shadow: 0 1px 8px 0px rgb(209, 208, 208);
	}
	
	#menuBox.open {
		visibility: visible;
		padding: 10px 0;
		height: auto;
	}
}

@media (max-width: 800px) {
	footer {
		    padding: 20px 10%;
	}
	footer ul {
		float: left;
		display:block;
	}
	
	footer ul li {
		display:block;
	}
}

@media (max-width: 700px) {
	.speakers img, .speakers dl {
		float: none;
		text-align: center;
		display: block;
		margin: 20px auto;
	}
/*}

@media (max-width: 670px) {*/
	#container a {
    	font-size: 1em;
		margin: 0 1%;
	}
	
	aside.registration_band h3 {
		margin-left: 30px;
	}
	
	aside.registration_band a {
		right: 30px;
	}
}

@media (max-width: 620px) {
	header p {
		text-indent: -9999px;
		padding: 0;
		height: 0;
	}
	header h1 {
		font-size: 1.2em;
	}
	
	header h1:before {
		top: -22px;
	}
}

@media (max-width: 590px) {
	#container a {
    	padding: 15px;
	}
	
	.pods, .flexbox .pods {
		display: block;
	}
	
	.infoBox, figure, .column1, .column2 {
		width: auto;
		
	}
	
	.speakers img, .speakers dl {
		float: left;
		text-align: left;
		display: block;
		margin: auto;
	}
	
	.speakers dl {
		margin: 1em 0 1em 20px;
	}
}

@media (max-width: 490px) {
	
	.event {
		padding: 15px;
		border: none;
	}
	
	.schedule__event__time {
		padding: 15px 0;
		width: 100%;
		display: block;
	}
	
	.schedule, .schedule__section, .schedule__events {
		display: block;
	}
	
	
	
	
	aside.registration_band {
		text-align:center;
		padding: 30px 0;
	}
	aside.registration_band h3 {
		float: none;
		margin: 0 0 30px;
	}
	aside.registration_band a {
		position: static;
		margin: 0 auto;
	}
	
	#container a {
		display: block;
		width: 70%;
		margin: 10px auto;
		background-color: rgb(21, 91, 136);
		color: #ffffff;
	}
	
	#container div {
		position:static;
	}
	
	#container a:hover, #container a:focus {
    	background-color: #ff3300;
    	color: #FFFFFF;
	}
}

@media (max-width: 440px) {
	
	header h1 {
		text-indent: -9999px;
	}

}

@media (max-width: 390px) {
	.speakers img, .speakers dl {
		float: none;
		text-align: center;
		display: block;
		margin: 20px auto;
	}
}