/*------FONTS------*/
@font-face {
	font-family: 'TD Graphik';
	src: local("TD Graphik-Bold"), 
	url('./E779_fonts/YardCard/TD Graphik-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
}
@font-face {
	font-family: 'TD Graphik';
	src: url('./E779_fonts/YardCard/TD Graphik-Semibold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
}
@font-face {
	font-family: 'TD Graphik';
	src: local("TD Graphik-Regular"), 
	url('./E779_fonts/YardCard/TD Graphik-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}



:root {
	/*------COLORS------*/
	
	/*nav bar colors*/
	--nav-text-color: #1c1c1c;
	--nav-hover: #008a00;
	--nav-button-text-color: #000000;
	--nav-button-background-color: #ff9500;
	
	/*teaser text colors*/
	--teaser-text-color: #1c1c1c;
	--teaser-link-color: #008a00;
	
	/*hero colors*/
	--hero-headline-color: #ffffff;
	--hero-text-color: #ffffff;
	--hero-button-text-color: #000000;
	--hero-button-2-text-color: #000000;
	--hero-button-background-color: #ff9500;
	--hero-button-2-background-color: #ffffff;
	--hero-link-color: #ffffff;
	--hero-background-color: #008a00;
	
	/*icon section colors*/
	--icon-headline-color: #1c1c1c;
	--icon-subhead-color: #1a5336;
	--icon-text-color: #1c1c1c;
	--icon-background-color: #ffffff;
	
	/*offer section colors*/
	--offer-headline-color: #008a00;
	--offer-text-color: #1c1c1c;
	--offer-background-color: #f3f3f3;
	
	/*apply section colors*/
	--apply-headline-color: #008a00;
	--apply-text-color: #1c1c1c;
	--apply-link-color: #008a00;
	
	/*Questions? bar colors*/
	--questions-text-color: #ffffff;
	--questions-link-color: #ffffff;
	--questions-background-color: #1c1c1c;
	
	/*bottom nav colors*/
	--bottom-nav-color: #1c1c1c;
	--copyright-color: #1c1c1c;
	
	/*------FONTS------*/
	
	/*nav bar styles*/
	--nav-font: 'TD Graphik', Verdana, sans-serif;
	--nav-weight: 400;
	--nav-text-transform: none;
	--nav-decoration: none;
	--nav-size: 16px;
	--nav-line-height: 20px;
	
	/*button styles*/
	--button-font: 'TD Graphik', Verdana, sans-serif;
	--button-weight: 600;
	--button-text-transform: none;
	--button-corners: 0px;
	--button-size: 16px;
	--button-line-height: 20px;
	
	/*hero styles*/
	--hero-headline-font: 'TD Graphik', Verdana, sans-serif;
	--hero-headline-weight: 700;
	--hero-headline-text-transform: none;
	--hero-headline-size: 33px;
	--hero-headline-line-height: 40px;
	
	--hero-text-size: 17px;
	--hero-text-line-height: 21px;

	/*icon section styles*/
	--icon-subhead-font: 'TD Graphik', Verdana, sans-serif;
	--icon-subhead-weight: 600;
	--icon-subhead-text-transform: none;
	--icon-subhead-size: 18px;
	--icon-subhead-line-height: 22px;
	--icon-text-size: 16px;
	--icon-text-line-height: 20px;
	
	/*offer section styles*/
	--offer-headline-font: 'TD Graphik', Verdana, sans-serif;
	--offer-headline-weight: 700;
	--offer-headline-text-transform: none;
	--offer-headline-size: 35px;
	--offer-headline-line-height: 39px;

	/*questions bar styles*/
	--questions-bold-text: 600;
	--questions-font: 'TD Graphik', Verdana, sans-serif;
	--questions-font-weight: 400;
	--questions-link-weight: 600;
	
	/*sub headline styles - apply to Tools and Apply section headlines*/
	--subhead-font: 'TD Graphik', Verdana, sans-serif;
	--subhead-weight: 600;
	--subhead-text-transform: none;
	--subhead-size: 22px;
	--subhead-line-height: 26px;
	
	/*body link styles*/
	--link-font: 'TD Graphik', Verdana, sans-serif;
	--link-weight: 600;
	--link-decoration: underline;
	
	/*body text styles*/
	--body-text-font: 'TD Graphik', Verdana, sans-serif;
	--body-text-weight: 400;
	--body-text-size: 17px;
	--body-text-line-height: 21px;
	--bold-font-weight: 600;

}


/*-----GENERAL STYLES-----*/
body{
	margin: auto;
	max-width: 1024px;
}

/*hide in mobile*/

.mobile {
	display: none;
}

h1, h2, h3, h4, h5, h6, p, a{
	margin: 0;
}
p, input {
	font-family: var(--body-text-font);
	font-weight: var(--body-text-weight);
	font-size: var(--body-text-size);
	line-height: var(--body-text-line-height);
	color: var(--body-text-color);
}
a {
	color: var(--body-link-color); 
	font-family: var(--link-font);
	font-weight: var(--link-weight);
	text-decoration: var(--link-decoration);
}

.bold-text{
	font-weight: var(--bold-font-weight);
}

a:hover{
	color: var(--hero-button-background-color); /*this may only apply to the Yard Card; remove if necessary*/
}
.hero-headline, .hero-subhead {		 /*HERO HEADLINE*/
	color: var(--hero-headline-color)!important;
	font-family: var(--hero-headline-font);
	text-transform: var(--hero-headline-text-transform);
}

.hero-headline{
	font-weight: var(--hero-headline-weight);
	font-size: var(--hero-headline-size);
	line-height: var(--hero-headline-line-height);
}
.hero-subhead, .icon-headline{	
	font-weight: var(--subhead-weight);
	font-family: var(--subhead-font);
	text-transform: var(--subhead-text-transform); 
}
.hero-subhead{
	font-size: 28px;
	line-height: 32px;
}

.icon-headline{
	color: var(--icon-headline-color);
	font-size: var(--subhead-size);
	line-height: var(--subhead-line-height);
}

h3 {        /*icon subheadlines*/
	font-size: var(--icon-subhead-size);
	font-weight: var(--icon-subhead-weight);
	font-family: var(--icon-subhead-font);
	line-height: var(--icon-subhead-line-height);
	color: var(--icon-subhead-color);
	text-transform: var(--icon-subhead-text-transform);
}

.nowrap {white-space: nowrap;}

.centered-text{
	text-align: center;
	margin: auto;
}
.text-container{
	padding: 40px 30px 40px 60px;
}
.flex-box{
	display: flex;
}
.section-container{
	padding: 40px 0;
	margin: auto;
}

.hide{
	display: none;
}

tr, td {
	cursor: pointer;
}

.active{
	color: #ffffff;
	background-color: #008a00;
}

.hero-button{
	
	color: var(--hero-button-text-color);
	background-color: #eeeeee;
	font-family: var(--button-font);
	font-weight: var(--button-weight);
	border-radius: var(--button-corners);
	font-size: var(--button-size);
	line-height: var(--button-line-height);
	text-transform: var(--button-text-transform);
	border: none;
	padding: 10px 50px;
	margin: 30px auto 10px;
	cursor: default;
}

.active-button {
	cursor: pointer;
	background-color: var(--hero-button-background-color);
}


/*------DESKTOP NAV MENU STYLES------*/

.nav-item{
	color: var(--nav-text-color);
	font-family: var(--nav-font);
	font-weight: var(--nav-weight);
	text-transform: var(--nav-text-transform);
	text-decoration: var(--nav-decoration);
	font-size: var(--nav-size);
	line-height: var(--nav-line-height);
	cursor: pointer;
	margin: 0 10px;
}


.nav-button{
	background-color: var(--nav-button-background-color);
	color: var(--nav-button-text-color);
	cursor: pointer;
	font-family: var(--button-font);
	font-weight: var(--button-weight);
	border-radius: var(--button-corners);
	font-size: var(--button-size);
	line-height: var(--button-line-height);
	text-transform: var(--button-text-transform);
	border: none;
	padding: 10px 20px;

}

#logo{
	margin: auto;
}
#logo-link{
	margin: auto auto auto 0;
}




/*-----TEASER AND HERO SECTION STYLES-----*/


.hero-text{
	color: var(--hero-text-color);
	font-size: var(--hero-text-size);
	line-height: var(--hero-text-line-height);
	margin-bottom: 10px;
}
.hero-text-container{
	width: 50%;
	margin-top: auto;
	margin-bottom: auto;
	display: flex;
	flex-wrap: wrap;
	align-content: center;
	padding-right: 15px;
}
.hero-headline{
	 margin: 10px 0;
}
.hero-container{
	background-color: var(--hero-background-color);
	display: flex;
}
.hero-image{
	background-image: url("../images/MyAccount/E779_TD_MyAccount_hero.jpg");
	background-position: 70%;
	background-repeat: no-repeat;
	background-size: cover;
	width: 50%;
}


.hero-link{
	color: var(--hero-link-color);
}

.centered-button{
	margin: auto;
}

.teaser-text{ 
	margin: 15px auto;
	padding: 0 15px;
}
.hero-elem-container{
	width: 300px;
}

/*-----LIST SECTION STYLES------*/

#myInput {
  background-image: url('../images/TD/mag_glass.png'); /* Add a search icon to input */
  background-position: 4px 6px; /* Position the search icon */
  background-size: 8%;
  background-repeat: no-repeat; /* Do not repeat the icon image */
  width: 100%; /* Full-width */
  padding: 12px 20px 12px 45px; /* Add some padding */
  border: 1px solid #ddd; /* Add a grey border */
  margin: auto auto 10px;
  max-width: 340px;
}

#myTable {
  border-collapse: collapse; /* Collapse borders */
  width: 100%; /* Full-width */
  border: 1px solid #ddd; /* Add a grey border */
  font-size: 18px; /* Increase font-size */
  max-width: 400px;
  margin: auto;
}

#myTable th, #myTable td {
  text-align: left; /* Left-align text */
  padding: 8px; /* Add padding */
}

#myTable tr {
  /* Add a bottom border to all table rows */
  border-bottom: 1px solid #ddd;
  height: 24px;
}

#myTable tr.header, #myTable tr:hover {
  /* Add a grey background color to the table header and on hover */
  background-color: var(--hero-background-color);
  color: #ffffff;
}









/*-----QUESTION BAR STYLES------*/

.questions-container{
	background-color: var(--questions-background-color);
	padding: 15px;
}
.questions-text {
	color: var(--questions-text-color);
	margin: auto;
	text-align: center;
}
.questions-link {
	color: var(--questions-link-color);
}
.questions-bold{
	font-weight: var(--questions-bold-text);
}




/*-------FOOTER STYLES-------*/

.footer-menu-container{
	max-width: 660px;
	flex-wrap: wrap;
	justify-content: center;
}
.footer-menu-item {
	font-size: 14px;
	line-height: 18px;
	color: var(--bottom-nav-color);
	text-decoration: none;
	margin: auto;
	text-align: center;
	font-weight: var(--body-text-weight);
	margin: 10px;
}
.footer-menu-item:hover {	
	text-decoration: var(--link-decoration);
	color: var(--body-link-color);
}
.copyright-text{
	margin: auto auto 15px;
	text-align: center;
	font-size: 12px;
	line-height: 16px;
	color: var(--copyright-color);
}



/*----MOBILE STYLES-----*/

@media only screen and (max-width: 910px) {

	.text-container{
		padding-left: 30px;
	}
}


@media only screen and (max-width: 600px) {
	
	/* GENERAL STYLES*/
	h1, h2, h3, p{
		text-align: center;
		margin-left: auto!important;
		margin-right: auto!important;
	}
	.mobile {
		display: block;
	}
	.desktop {
		display: none!important;
	}
	.text-container, .hero-text-container {
		padding: 40px 25px;
		width: calc(100% - 50px)!important;
		flex-direction: column;	
	}
	
	.hero-text-container{
		height: auto;
	}
	
	/* NAV BAR STYLES*/
	.nav-item{
		margin: 0;
	}
	
	
	/* HERO STYLES*/
	.hero-container{
		flex-direction: column;
		background-position: 50%;
	}
	
	.hero-image{
		height: 230px;
		width: 100%!important;
		background-position: 50%;
	}
	

	.hero-elem-container{
		margin-left: auto;
		margin-right: auto;
		text-align: center;
	}
	
	/* ICON SECTION STYLES */
	.three-col-container{
		flex-direction: column;
	}
	.column {
		width: 80%!important;
		max-width: 500px!important;
		margin: 20px auto;
	}
	.icon-text-container {
		padding-bottom: 10px!important;
	}
	
	
	/* OFFER STYLES */
	.offer-container{
		flex-direction: column;
	}
	.offer-text-container, .offer-image-container {
		width: 100%;
	}
	.offer-image-container{
		height: 400px;
	}
	
	.offer-padding > * {
		text-align: center;
		margin: auto;
	}
}

@media only screen and (max-width: 500px) {

	#logo{
		max-width: 250px!important;
	}
}