﻿/* Global */
:root {
	--color-red-light: #CC2333;
	--color-red: #8C1823;
	--color-burgundy: #8B1823;

	font-size: 62.5%;
}
body {
	scroll-behavior: smooth;
	font-size: 1.6rem;
}
p {
	font-size: inherit;
}

/* Top white bar */
.top-white-bar{
	border-top: 15px solid #8c1823;
	background: white;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.link-container {
	padding: 0 0 0 50px;
}
a.top-back-link {
	color: #a3a3a3;
	text-decoration: none;
	text-transform: uppercase;
	font-size: 16px;
	font-weight: 500;
	font-family: 'Noto Sans',sans-serif;
}
a.top-back-link:hover{
	color: #666666;
}


/* Top hero area */
.field-bg {
	background-image: url('https://assets.syngentaebiz.com/images/media/trivapro-calculator-background.jpg');
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center 80%;
}


#calcFun {
	display: flex;
	align-items: flex-start;
	gap: 30px;
	padding-top: 70px;
	height: 573px;
}


/* Clock Image */
.time-clock {
	flex-basis: 27%;
}


#calculator {
	background-image: url('https://assets.syngentaebiz.com/images/media/trivapro-calculator-calculate-background.png');
	background-size: cover;
	background-position: center;
	padding: 0;
	color: #FFF;
}
#calculator p {
	color: inherit;
	padding-right: 15px;
	position: relative;
	z-index: 1;
}


#calc-head {
	display: flex;
	padding: 25px 0;
}
#calc-head > * {
	flex-basis: 50%;
}
.calculator-heading {
	position: relative;
}
.calculator-heading::before {
	content: url('https://assets.syngentaebiz.com/images/media/trivapro-calculator-banner.png');
	position: absolute;
	left: -20px;
}
.calculator-heading h2 {
	position:relative;
	left: 23px;
	color: var(--color-red);
	font-weight: 900;
}

.calculator-container {
	background: rgba(0,0,0, 0.25);
	padding: 25px;
}
.btn.btn_calculate {
	background-color: #CC2333;
	border: 0;
	color: #FFF;
}


#calculator label, .triv-form-label {
	color: white;
	font-weight: 400;
	white-space: nowrap;
}
label[for='trivaproCalculate'] {
	visibility: hidden;
}

#calculator input,
#calculator select {
	min-height: 40px;
	margin-bottom: 0;
}


#numAcres {
    padding: 5px;
	width: 100%;
	border: none;
	color: #55565a;
	border-radius: 0px;
}
/* Hide arrows in number fields */
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

/* Firefox */
input[type=number] {
	-moz-appearance: textfield;
}
p#calcError {
    color: aliceblue;
    font-weight: normal;
    font-size: 0.8em;
    margin-bottom: 0;
}


/* Results band */
#resultScrollTarget {
	position: relative;
	top: -50px;
}

/* button */
.btn {
	border: 2px solid #FFF;
	background: transparent;
	color: #FFF;
	font-size: 1.6rem;
	font-weight: 700;
	border-radius: 0;
}
.btn:hover,
.btn:focus,
.btn:active {
	background: #FFF;
	color: #770b1a;
}
input.btn-blocked {
	display: block;
	margin: 0 auto;
	width: auto;
	padding: 5px 45px;
}
input.btn-inline {
	width: 100%;
	display: inline-block;
	padding: 5px 10px;
}


/* Three Cards */
#trivaproThreeCards{
	margin-top: 50px;
}
#trivaproThreeCards h4.tint-red {
	color: #8c1823;
	margin-bottom: 5px;
}
#trivaproThreeCards .col-sm-4 p {
	padding: 0 25px;
}


/* Headlines with the block in the middle */
.cta-row{
	margin: 50px 0 30px 0;
}
.bottom-cta span{
	display: block;
	font-weight: bold;
	margin-bottom: 10px;
	text-align: center;
	font-size: 20px;
}
.bottom-cta a{
	display: inline-block;
	background: #8c1823;
	border: 3px solid #8c1823;
	color: white;
	font-weight: bold;
	padding: 10px 35px;
	text-decoration: none;
	position: relative;
	top: -10px;
}
.bottom-cta a:hover{
	background: none;
	color: #8c1823;
}
.cta-line hr{
	margin: 15px auto;
    width: 80%;
}


/* Legal footer */
.legal-text {
    margin-top: 30px;
    text-align: initial;
}
.legal-text p{
	font-size: 12px;
	line-height: 16px;
	margin: 0 0 15px 0;
}
.legal-text a, .legal-text a:hover{
	color: gray;
}

.footer-syn-us {
  background: white;
  padding: 15px 0; }
.footer-syn-us ul {
	list-style-type: none; }
.footer-syn-us ul li {
	display: inline-block;
	
	padding: 0 15px; }
.footer-syn-us ul li:last-of-type {
	border-right: none; }
.footer-syn-us ul li a {
	text-decoration: none;
	color: #55565a;
	font-size: 10px; }
.footer-syn-us ul li a:hover {
    text-decoration: underline; }


@media only screen and (max-width: 57.5em) /*920*/ {
	.time-clock {
		align-self: flex-end;
	}

	#calc-head {
		display: block;
	}
	.calculator-heading {
		position: relative;
		width: 108%;
		left: -26px;
	}
	.calculator-heading::before {
		content: '';
		position: absolute;
		left: 0;
		background-image: url('https://assets.syngentaebiz.com/images/media/trivapro-calculator-banner.png');
		background-position: center;
		background-size: 100% 100%;
		width: 100%;
		height: 150%;
	}
	.calculator-heading h2 {
		left: 0;
		top: 15px;
		font-size: 23px;
		text-align: center;
	}

	#calculator p {
		padding: 25px;
		margin: 0;
	}
}
@media only screen and (max-width: 47.93em) /*767*/ {
	.top-white-bar {
		flex-direction: column;
		align-items: stretch;
	}
	.link-container {
		background-color: #efefef;
		text-align: center;
		padding: 5px 0;
	}
	.logo-container img {
		width: calc(100% - 10px);
		max-width: 393px;
	}

	.time-clock {
		display: none;
	}

	#calcFun {
		height: auto;
		margin: 40px 20px;
		padding-top: 0;
	}
}
@media only screen and (max-width: 33.12em) {
	.calculator-heading {
		left: -15px;
	}
}