/*************************************
General
*************************************/
html {
	scroll-behavior: smooth;
	scroll-padding-top: 155px;
}
.container-fluid{
	padding-left: 0px;
	padding-right: 0px;
}
.page-content{
	padding-top: 140px;
	padding-bottom: 0;
}
footer{
	padding-top: 0;
}
h1, h2, h3, h4, h5, h6 {
	font-weight: 600;
}
nav#in-page-nav {
	z-index: 1000;
}
/*************************************
Intro section
*************************************/
#pre-intro h2::selection, #pre-intro p::selection {
	background-color: #405100;
}
#pre-intro{
	display: block;
	content: '';
	width: 100%;
	background-image: url("https://assets.syngentaebiz.com/images/media/bybd-bg-green-bokeh.jpg");
	background-repeat: no-repeat;
	background-position: center left;
	background-size: cover;
	border-bottom: 10px solid #AAB400;
	padding: 55px 0;
}
#pre-intro #bybd-logo{
	background-image: url('https://assets.syngentaebiz.com/images/media/logo-bybd-registered.svg');
	background-position: center center;
	background-size: contain;
	aspect-ratio: 352 / 279;
	margin: 0 auto;
}
#pre-intro #bybd-logo h1{
	opacity: 0;
}
#pre-intro h2 {
	color: #5F7800;
	font-size: 36px;
	font-weight: bold;
	line-height: 1.1;
	margin: 0 0 20px 0;
}
#pre-intro p {
	color: #000;
	font-size: 18px;
	line-height: 28px;
}
#pre-intro .row {
	display: flex;
}
#pre-intro .row .col-md-3 {
	flex-shrink: 0;
	padding: 0;
	margin-right: 45px;
}
#intro {
	padding: 50px 0;
	background: transparent linear-gradient(180deg, #7F9333 50%, #415200 100%) 0% 0% no-repeat padding-box;
	position: relative;
	border-bottom: 10px solid #aab400;
	margin-top: -60px;
	padding-top: 60px;
}
#intro iframe::selection{
	background-color: transparent;
}
#intro iframe{
	aspect-ratio: 16 / 9;
	width: 100%;
	height: auto;
}
#intro .lottie {
	width: 300px;
	height: 300px;
	position: absolute;
	z-index: 1;
	bottom: 0;
}
#intro #img-soy.lottie {
	left: 0;
}
#intro #img-corn.lottie {
	right: 0;
}
#intro .lottie ~ div {
	position: relative;
	z-index: 2;
}

#interactive-map {
	border-top: 10px solid #aab400;
	background-color: #e6e6e6;
	height: 70vh;
}

/*************************************
Truck with copy fixed background section
*************************************/

#calculator{
	background-image: url('https://assets.syngentaebiz.com/images/media/bybd-bg-truck-in-field.jpg');
	background-attachment: fixed;
	background-size: cover;
	background-position: center center;
	padding: 80px 50px;
}
#calculator-wrapper {
	background-color: rgba(95, 120, 0, .85);
	padding: 60px 80px 40px;
}
#calculator-wrapper h2 {
	font-size: 36px;
	text-align: center;
	color: #FFF;
	margin: 0 0 30px 0;
}
#calculator-wrapper > p{
	text-align: center;
	margin: 0;
}
#calculator-wrapper p {
	color: #FFF;
}
#calculator-form {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	flex-wrap: wrap;
	--gap: 30px;
	column-gap: var(--gap);
	margin-top: 30px;
}
#calculator-form select {
	background-color: #DEE096;
	text-overflow: ellipsis;
    width: 100%;
}
#calculator-form .dropdown-wrapper {
	flex-basis: calc((100% / 3) - var(--gap));
}
#calculator-form .dropdown-wrapper input {
	width: 100%;
	border-radius: 5px;
	font-size: 16px;
	padding: 7px 12px;
	box-sizing: border-box;
	border: 1px solid #55565A;
}
#calculator-form .dropdown-wrapper input:focus-visible {
	outline-color: var(--corn-accent);
}
#calculator-form #calculateDeal {
	margin: 30px 0;
	text-transform: uppercase;
	text-align: center;
	font-weight: 600;
	font-size: 15px;
	padding: 10px 20px;
	color: #000;
	background-color: #FFF;
	border: 2px solid #FFF;
	transition: all .25s;
}
#calculator-form #calculateDeal:hover,
#calculator-form #calculateDeal:focus-visible {
	background-color: transparent;
	color: #FFF;
}
#calculator-form #calculateDeal:disabled,
#calculator-form #calculateDeal:hover:disabled,
#calculator-form #calculateDeal:focus-visible:disabled {
    background-color: #55565a;
    border-color: #55565a;
    cursor: not-allowed;
    color: #FFF;
    opacity: .8;
}
#calculator-misc__wrap {
    display: grid;
    grid-template-columns: repeat(8, minmax(min-content, 1fr));
    grid-template-rows: repeat(2, minmax(min-content, max-content));
}
#calculator-results {
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.65);
    text-align: center;
    display: flex;
    align-items: flex-end;
    padding: 40px 35px;
    margin-bottom: 20px;
    grid-column: 1 / -1;
}
#calculator-arrow {
    justify-self: flex-end;
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    position: relative;
    top: -60px;
    left: 15px;
}
#calculator-tagline {
	background: rgba(255, 255, 255, 0.65);
	border-radius: 9px;
	margin-bottom: 30px;
	padding: 10px 15px;
	text-align: center;
	justify-self: center;
	align-self: baseline;
	grid-column: 3 / 7;
	grid-row: 2 / 3;
	width: 100%;
}
#calculator-tagline p {
    font-weight: 600;
    font-size: 22px;
    font-style: italic;
    color: #5F7800;
    margin: 0;
}

#calculator-results {
	border-radius: 9px;
	background: rgba(255, 255, 255, 0.65);
	text-align: center;
	display: flex;
	align-items: center;
	padding: 35px;
	margin-bottom: 20px;
}
#calculator-results.has-results {
	text-align: left;
}
#calculator-results.has-results > div {
	margin-left: 20px;
}
#calculator-results.has-results #calculator-results__desc span {
	font-weight: 400;
}
#calculator-results > div {
	margin-left: 100px;
}
#calculator-wrapper #calculator-results__funds {
	font-size: 48px;
	font-weight: 700;
	color: #5F7800;
	margin-bottom: 20px;
}
#calculator-wrapper #calculator-results__desc {
	font-size: 20px;
	font-weight: 700;
	color: #43494E;
	margin: 0;
}
p.calculator-source {
	line-height: 1.5;
	font-size: 12px;
}

/*************************************
Copy section above product cards
*************************************/

#bushel-boosting-lineup{
	padding: 35px 0;
}
#bushel-boosting-lineup h3{
	color: #415200;
	font-size: 44px;
	line-height: 42px;
	font-weight: 900;
	text-transform: uppercase;
	border-right: 2px solid #aab400;
	padding-right: 30px;
}
#bushel-boosting-lineup h4{
	color: #7F9333;
	font-size: 26px;
	line-height: 36px;
	font-weight: bold;
	padding-top: 35px;
}
#bushel-boosting-lineup p{
	color: black;
	font-size: 20px;
	line-height: 30px;
	padding-top: 35px;
}
#bushel-boosting-lineup h3::selection, #bushel-boosting-lineup h4::selection, #bushel-boosting-lineup p::selection, #bushel-boosting-lineup p b::selection{
	background-color: #405100;
	color: white;
}

/*************************************
Form
*************************************/

#sign-up{
	padding: 80px 0;
}
#sign-up h2{
	text-transform: uppercase;
	color: black;
	font-weight: 800;
	font-size: 36px;
	line-height: 42px;
	text-align: center;
	margin-bottom: 15px;
	margin-top: 0;
}
#sign-up p.sign-up-intro{
	font-weight: bold;
	color: #7f9333;
	font-size: 26px;
	line-height: 36px;
	text-align: center;
	margin: 15px 100px 45px 100px;
}
#sign-up button{
	font-size: 16px;
	font-weight: 700;
	background-color: #aab400;
	padding: 10px;
	border: 2px solid #aab400;
	text-decoration: none;
	min-width: 160px;
	display: inline-block;
	margin-top: 30px;
	transition: all 0.25s;
	color: black;
}
#sign-up button:disabled{
	opacity: 0.5;
	cursor: not-allowed;
}
#sign-up button:not([disabled]):hover, #sign-up button:focus{
	background-color: transparent;
	color: #7f9333;
	transition: all 0.25s
}
#sign-up label{
	font-size: 14px;
	line-height: 21px;
	color: #55565a;
	margin-bottom: 15px;
	display: inline-block;
	margin-top: 25px;
}
#sign-up input, #sign-up select{
	border: 1px solid #55565a;
	border-radius: initial;
	padding: 5px 10px;
	color: black;
	font-size: 16px;
}
#sign-up select{
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	background-image:
		linear-gradient(55deg, transparent 50%, #55565a 50%),
		linear-gradient(125deg, #55565a 50%, transparent 50%);
		/* linear-gradient(to right, #ccc, #ccc); */ /* Vertical divider */
	background-position:
		calc(100% - 20px) calc(1em + -3px),
		calc(100% - 14px) calc(1em + -3px);
		/* calc(100% - 2.5em) 0.5em; */ /* Vertical divider */
	background-size:
		6px 8px,
		6px 8px,
		1px 1.5em;
	background-repeat: no-repeat;
	cursor: pointer;
	background-color: white; /* For Firefox */
}
#sign-up input[type="checkbox"]{
	width: 18px;
	height: 18px;
	padding: 0;
	appearance: none;
	cursor: pointer;
}
#sign-up input[type="checkbox"]:focus{
	border-color: #aab400;
}
#sign-up input[type="checkbox"]:checked:focus{
	border-color: #55565a;
}
#sign-up input[type="checkbox"]:checked{
	border-color: #aab400;
	background-color: #aab400;
	background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" height="1em" viewBox="0 0 448 512"><style>svg{fill:%23ffffff}</style><path d="M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z"/></svg>');
	background-position: center center;
	background-size: 10px;
	background-repeat: no-repeat;
}
#sign-up input[type="text"], #sign-up select{
	width: 100%;
}
#sign-up input:focus, #sign-up select:focus{
	border-color: #aab400;
	outline: none;
	border-radius: 0px;
}
#sign-up .across div{
	width: fit-content;
	display: inline-block;
	margin-right: 12px;
	/* position: relative; */
	cursor: pointer;
}
#sign-up .across div label{
	top: -4px;
	position: relative;
	margin-left: 2px;
	margin-top: 0;
	cursor: pointer;
}
#sign-up .checkbox-copy{
	font-size: 14px;
	line-height: 21px;
	color: #707070;
	margin-bottom: 15px;
	margin-top: 25px;
}
.error input, .error select {
	background-color: rgb(253, 253, 168) !important;
	border: 1px solid rgb(212, 79, 79) !important;
}
.error .error-text{
	color: red;
	font-size: 12px;
	line-height: 16px;
}
#error-list {
	text-align: center;
	color: red;
}
#form-thanks {
    background-color: #415211;
    padding: 20px 23px;
    display: flex;
    align-items: center;
    justify-content: center;
	margin: 15px;
}
#form-thanks p {
	color: #FFF;
	margin: 0;
	font-size: 16px;
	line-height: 26px;
}
#form-thanks span {
	color: #FFF;
	font-size: 38px;
	margin: 0 21px 0 0px;
}
#sign-up h2::selection, #sign-up p.sign-up-intro::selection, #sign-up .checkbox-copy::selection, #sign-up label::selection, #sign-up .across div label::selection{
	background-color: #405100;
	color: white;
}
#sign-up .across::selection, #sign-up .across div::selection, #error-list::selection, #sign-up select::selection, #sign-up button::selection{
	background-color: transparent;
}

/*************************************
Videos
*************************************/

#videos {
	border-bottom: 10px solid #AAB400;
	background-color: #dfe4cc;
	padding: 80px 0;
}
#videos h2 {
	margin: 0 0 20px 0;
	color: #7F9333;
}
#videos p {
	color: #000;
}
.youtube-container a.btn-pp {
	font-size: 16px;
	font-weight: 700;
	background-color: #aab400;
	padding: 10px;
	border: 2px solid #aab400;
	text-decoration: none;
	min-width: 160px;
	display: inline-block;
	margin-top: 30px;
	transition: all 0.25s;
	color: black;
}
.youtube-container a.btn-pp:hover,
.youtube-container a.btn-pp:focus {
	background-color: transparent;
	color: #7f9333;
	transition: all 0.25s;
}
.youtube-container .youtube-thumb,
.youtube-thumb img {
	aspect-ratio: 16 / 9;
}
.youtube-container .youtube-thumb {
	background-size: cover;
}
.youtube-thumb img {
	width: 100%;
}
.youtube-video-frame #player {
	aspect-ratio: 16 / 9;
	width: 100%;
	height: 100%;
}
.youtube-video-inner {
	width: 100%;
}

/*************************************
Legal
*************************************/

#legal{
	padding: 50px 0;
	background-color: #FFF;
}
#legal p{
	font-size: 12px;
	line-height: 16px;
	color: #000;
}
#legal p::selection, #legal sup::selection, #legal strong::selection, #legal br::selection{
	background-color: #A9B500;
	color: black;
}

#logo-wall {
	display: flex;
	align-items: flex-start;
	flex-wrap: wrap;
	gap: 15px;
}
#logo-wall img {
	width: 175px;
}
#logo-wall #liberty-link {
	width: 135px;
}
#logo-wall #herculex-i,
#logo-wall #herculex-xtra {
	width: 100px;
}
#logo-wall #enlist-e3 {
	width: 100px;
}



/*************************************
Responsive Bits
*************************************/


/* `xxl` applies to x-large devices (large desktops, less than 1400px) */
@media only screen and (max-width: 1399.98px) { 
	/* #intro{
		background: rebeccapurple;
	} */
	#intro .lottie {
		width: 250px;
		height: 250px;
	}
	#intro #img-soy.lottie {
		left: -5%;
	}
	#intro #img-corn.lottie {
		right: -5%;
	}
}

/* `xl` applies to large devices (desktops, less than 1200px) */
@media only screen and (max-width: 1199.98px) { 
	/* #intro{
		background: orange;
	} */
	#intro .lottie {
		width: 200px;
		height: 200px;
	}
	#intro #img-soy.lottie {
		left: 0%;
	}
	#intro #img-corn.lottie {
		right: 0%;
	}
	.container-fluid{ 
		padding-left: 0px;
		padding-right: 0px;
	}
	#intro::before{
		min-height: 280px;
	}
	#bushel-boosting-lineup h3{
		font-size: 35px;
	}
	#bushel-boosting-lineup h4, #bushel-boosting-lineup p{
		padding-top: 15px;
	}
}

@media only screen and (max-width: 1200px) and (min-width: 992px) {
	#calculator-arrow {
		top: -54px;
		left: 28px;
		transform: rotate(25deg);
		height: 65px;
	}
}

/* `lg` applies to medium devices (tablets, less than 992px) */
@media only screen and (max-width: 991.98px) { 
	/* #intro{
		background: green;
	} */
	#pre-intro {
		background-position: bottom;
	}
	#pre-intro .row {
		display: block;
	}
	#pre-intro .row .col-md-3 {
		 margin-right: 0; 
	}
	#intro .lottie {
		display: none;
	}
	.container-fluid {
		padding-left: 10px;
		padding-right: 0px;
	}
	.page-content {
		padding-top: 0;
	}
	#intro::before{
		min-height: 615px;
	}
	#pre-intro #bybd-logo{
		margin-top: 0px;
		max-width: 300px;
		margin-bottom: 50px;
	}
	#calculator {
		background-image: linear-gradient(90deg, rgba(95, 120, 0, .85), rgba(95, 120, 0, .85)), url('https://assets.syngentaebiz.com/images/media/bybd-bg-truck-in-field.jpg');
		padding: 40px 0;
	}
	#calculator-wrapper {
		background-color: transparent;
		padding: 0;
	}
	#calculator-wrapper h2,
	#calculator-wrapper > p {
		text-align: left;
	}
	#calculator-wrapper p.calculator-source {
		text-align: center;
	}
	#calculator-form {
		flex-direction: column;
		align-items: stretch;
	}
	#calculator-tagline {
		padding: 10px 65px;
		grid-column: 1 / -1;
	}
	#calculator-arrow {
		justify-self: flex-start;
		grid-column: 1 / 2;
		transform: rotate(20deg);
		left: 0;
	}
	#calculator-results,
	#calculator-results.has-results {
		text-align: center;
		display: block;
	}
	#calculator-results > div,
	#calculator-results.has-results > div{
		margin: 0;
	}
	#calculator-results img {
		margin: 0 auto 40px;
	}
	#bushel-boosting-lineup {
		padding: 50px 25px;
	}
	#bushel-boosting-lineup h3{
		margin: initial;
		border-right: none;
		border-bottom: 2px solid #aab400;
		padding-bottom: 25px;
		padding-right: initial;
		font-size: 40px;
	}
	#bushel-boosting-lineup h4, #bushel-boosting-lineup p{
		padding: initial;
		margin-bottom: 0;
	}
	button#filter-reset{
		margin-top: 20px;
	}
	#sign-up p.sign-up-intro{
		margin: 15px 25px 25px 25px;
	}
	#videos {
		padding: 40px 0;
	}
	.youtube-container .youtube-video-cont:first-of-type {
		padding-top: 5px;
	}
	.youtube-container .youtube-video-cont {
		padding: 15px 15px;
	}
}

/* `md` applies to small devices (landscape phones, less than 768px) */
@media only screen and (max-width: 767.98px) {
	html {
		scroll-padding-top: 80px;
	}
	/* #intro{
		background: blue;
	} */
	.container-fluid{ 
		padding-left: 0px;
		padding-right: 0px;
	}
	#intro::before{
		min-height: 525px;
	}
	#pre-intro #bybd-logo{
		margin-top: 0px;
		max-width: 275px;
		margin-bottom: 50px;
	}
}

/* `sm` applies to x-small devices (portrait phones, less than 576px) */
@media only screen and (max-width: 575.98px) { 
	/* #intro{
		background: red;
	} */
	.container-fluid{ 
		padding-left: 0px;
		padding-right: 0px;
	}
	#intro::before{
		min-height: 400px;
	}
	#pre-intro #bybd-logo{
		margin-top: 0px;
		max-width: 220px;
		margin-bottom: 40px;
	}
	#pull-quote{
		padding: 50px 30px;
	}

	#logo-wall {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
	}
	#logo-wall #herculex-i,
	#logo-wall #herculex-xtra {
		width: 80px;
	}
	#logo-wall #yieldgard {
		width: 125px;
	}
	#logo-wall #enlist-e3 {
		width: 80px;
	}
}

@media only screen and (max-width: 400px) {
	#calculator-arrow {
		top: -45px;
	}
}