
/* Primary CSS File for FFL Content on fundsforlearning.com */
#fflcontentwrapper { position: relative; }

html.full nav.fflsidebar
{
	position: absolute;
	width: 160px;
	left: -8px; /* Offset the built-in 8px padding */
}
html.small nav.fflsidebar { text-align: center; }

nav.fflsidebar a
{
	display: block;
	font-size: 1.2em;
	font-weight: bold;
	padding: 0px;
	text-align: right;
	color: #0088FF;
	background-position: right center;
	background-repeat: no-repeat;
}

html.full nav.fflsidebar a { padding: 8px 20px 8px 0px; }
html.full nav.fflsidebar a.active { padding-right: 8px; }
html.full nav.fflsidebar a.active:after
{
	content: '';
	display: inline-block;
	width: 0px;
	height: 0px;
	margin-left: 4px;
	border-top: 8px solid transparent;
	border-bottom: 8px solid transparent;
	border-left: 8px solid #BF301A;
	vertical-align: middle;
}

html.small nav.fflsidebar a { display: inline-block; min-width: 28%; margin: 0px 4px 8px 4px; text-align: center; }
html.small nav.fflsidebar a.active
{
	border-bottom: 4px solid #BF301A;
}

html.full #fflcontentwrapper section.content { margin-left: 160px; }


/* Custom DetailTab CSS */
html.full #ermpage-content #fflcontentwrapper div.ffltabs h1.ultra { display: none; }
html.small #ermpage-content #fflcontentwrapper div.ffltabs h1.ultra { margin-top: 24px; }
#ermpage-content #fflcontentwrapper div.ffltabs section.ermtabstrip
{
	border-bottom: 5px solid #00529A;
}
html.full #ermpage-content #fflcontentwrapper div.ffltabs section.ermtabstrip { width: 320px; }
html.small #ermpage-content #fflcontentwrapper div.ffltabs section.ermtabstrip { margin-top: 8px; }

#fflcontentwrapper div.ffltabs section.ermtabstrip nav
{
	padding: 10px 0px 5px 0px;
	font-size: 10pt;
	font-weight: bold;
	color: #00529A;
	background-color: #FFFFFF;
	background-position: center top;
	background-repeat: no-repeat;
	border: 0px;
	min-width: 80px;
	text-align: center;
}

#fflcontentwrapper div.ffltabs section.ermtabstrip nav.active { color: #FFFFFF; background-image: url(/images/ffltab-small.png); }

#fflcontentwrapper div.ffltabs section.ermtabbody
{
	margin: 0px 0px 32px 0px;
	padding: 0px;
	background-color: #FFFFFF;
	border: 0px;
}
html.full #fflcontentwrapper div.ffltabs section.ermtabbody { width: 320px; }


/* Content Browser Nav CSS */
nav.fflcontentbrowser { position: relative; padding: 6px 8px; border-bottom: 1px dotted #CCCCCC; }
nav.fflcontentbrowser a { display: block; }
nav.fflcontentbrowser a.active { font-weight: bold; }
nav.fflcontentbrowser a.indented { padding-left: 24px; }
nav.fflcontentbrowser a span { float: right; }


/* Content List CSS */
html.full section.fflcontentlist { float: right; width: 448px; }
section.fflcontentlist h1 { font-size: 12pt; margin: 0px; padding: 0px; color: #000000; }
section.fflcontentlist a.prevnext { margin: 0px 8px; font-weight: bold; }
section.fflcontentlist a.prevnext span { color: #BF310A; }


/* Content Page CSS */
section.content h1 { margin: 0px; padding: 10px 0px 0px 0px; font-size: 1.2em; line-height: 1em; color: #00529A; }
section.content h1.ultra { font-size: 1.3em; font-weight: 900; }
section.content h2 { margin: 0px; padding: 10px 0px 0px 0px; font-size: 1.2em; line-height: 1em; color: #00529A; }
section.content .centered { text-align: center; }
section.content .bold { font-weight: bold; }
section.content .blurb { font-size: 1em; color: #00529A; }
section.content .blurb a:visited { color: #0088ff; }
section.content span.required { font-size: 9pt; color: #BF301A; }
html.full section.content div.nosidebar { margin-left: -160px; }


section.content .calltoaction
{
	clear: both;
	padding: 8px;
	color: #00529A;
	font-size: 1em;
	font-weight: bold;
	background: #C1D2EE;
	text-align: center;
	border-radius: 8px;
}
section.content .calltoaction a, section.content .calltoaction a:visited { color: #0088ff; }


section.content .calltoactionarrow
{
	clear: both;
	margin: 0px 4px 16px 0px;
	text-align: right;
	font-size: 13pt;
	font-weight: 900;
	background: #FFFFFF;
	border-radius: 0px;
}
html.small section.content .calltoactionarrow { margin-right: 16px; }
section.content .calltoactionarrow div.arrow
{
	float: right;
	width: 0px;
	height: 0px;
	margin: 0px 0px 0px 8px;
	border-top: 10px solid transparent;
	border-bottom: 10px solid transparent;
	border-left: 8px solid #BF310A;
	vertical-align: middle;
}
section.content .calltoactionarrow a, section.content .calltoactionarrow a:visited { color: #0088ff; }


section.contenthero header
{
	position: relative;
	margin: 0px;
	padding: 24px 0px 0px 0px;
	border-bottom: 3px solid #00529A;
}
section.contenthero header a.tab
{
	display: block; width: 200px; margin: 0px; padding: 28px 0px 12px 0px;
	font-size: 18pt; font-weight: bold;line-height: 1em; text-align: center;
	color: #FFFFFF; background-image: url(/images/ffltab.png);
}
section.contenthero header a.tab:not([href]) { cursor: default; }
section.contenthero header a.more { position: absolute; right: 0px; bottom: 0px; font-size: 11pt; font-weight: bold; }
html.small section.contenthero header a.more { display: none; }

section.contenthero section.contentherocontent
{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	margin: 0px -16px;
}
html.small section.contenthero section.contentherocontent { margin: 0px; }

section.contenthero section.contentherocontent article
{
	flex: 1 1 auto;
	display: block;
	margin: 8px 16px 16px 16px;
	min-width: 235px;
	font-size: 1em;
	vertical-align: text-top;
}
html.full section.contenthero section.contentherocontent article { width: 235px; }
html.small section.contenthero section.contentherocontent article { margin: 8px 8px 16px 8px; }

section.fflcontentlist.contenthero article { width: auto; margin-left: 0px; }

.lt-ie9 section.contenthero article { margin-left: 16px; margin-right: 16px; }

section.contenthero article h2 { margin: 0px; padding: 0px; font-size: 1em; }
section.contenthero article p { margin: 0px; padding: 0px; font-size: 1em; text-align: justify; }
section.contenthero article p a { color: #333333; }
section.contenthero article span.date { margin: 0px 0px 0px 8px; color: #BF310A; font-size: 0.9em; }

section.rss { margin: 24px 0px; text-align: right; }
section.rss img { vertical-align: middle; }


/* Social Media Bar */
#socialmediabar.vertical { float: right; padding-left: 24px; }

#socialmediabar a { display: inline-block; margin: 8px; height: 24px; width: 24px; background-position: 0px 0px; background-repeat: no-repeat; }
#socialmediabar.vertical a { display: block; margin: 0px 0px 16px 0px; }
html.small #socialmediabar.vertical a { margin-right: 8px; }

#socialmediabar a.ffl { background-image: url(/images/sharing/ffl.png); }
#socialmediabar a.newsletter { background-image: url(/images/sharing/newsletter.png); }
#socialmediabar a.twitter { background-image: url(/images/sharing/twitter.png); }
#socialmediabar a.facebook { background-image: url(/images/sharing/facebook.png); }
#socialmediabar a.youtube { background-image: url(/images/sharing/youtube.png); }
#socialmediabar a.linkedin { background-image: url(/images/sharing/linkedin.png); }
#socialmediabar a.rss { background-image: url(/images/sharing/rss.png); }


/* Marketing Pages */
section.arrowbox
{
	margin: 0px auto;
	width: 770px;
	color: #00529A;
	font-weight: bold;
}
html.small section.arrowbox { width: auto; }

section.arrowbox header
{
	position: relative;
	display: block;
	width: 200px;
	margin: 24px 0px 0px 0px;
	padding: 28px 0px 12px 0px;
	border-bottom: 3px solid #00529A;
	font-size: 18pt;
	line-height: 1em;
	text-align: center;
	color: #FFFFFF;
	background-image: url(/images/ffltab.png);
}

section.arrowbox div.content
{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	padding: 16px;
	background-color: #C1D2EE;
	border-radius: 0px 16px 16px 16px;
}

section.arrowbox div.content > div { flex: 1 1 auto; }
html.full section.arrowbox div.content > div { width: 250px; }
html.full section.arrowbox div.content > div:nth-child(odd) { margin-right: 16px; }
html.small section.arrowbox div.content > div { width: 100%; }

section.arrowbox .field
{
	display: inline-flex;
	width: 100%;
	box-sizing: border-box;
	margin: 8px 0px 0px 0px;
	padding: 4px 8px;
	font-weight: bold;
	background-color: #FFFFFF;
	border-radius: 8px;
}
html.small section.arrowbox .field { display: block; }

section.arrowbox .field label.right { flex: 0 1 auto; margin-right: 2px; display: inline-block; }
html.small section.arrowbox .field label.right { display: block; }
html.full section.arrowbox .field label.right { text-align: right; }
section.arrowbox div.content > div:nth-child(odd).field label.right { min-width: 90px; }
section.arrowbox div.content > div:nth-child(even).field label.right { min-width: 140px; }

section.arrowbox .field input { border: 0px; padding: 0px; box-sizing: border-box; }
section.arrowbox .field input[type=text]:focus { box-shadow: none; }
section.arrowbox div.content > div:nth-child(odd).field input { min-width: 250px; }
section.arrowbox div.content > div:nth-child(even).field input { min-width: 200px; }
html.small section.arrowbox .field input { display: block; width: 100%; }

section.arrowbox .field.long { display: block; }

section.arrowbox .field textarea
{
	display: block;
	border: 0px;
	padding: 0px;
	width: 100%;
	min-height: 170px;
	font-size: 1em;
	box-sizing: border-box;
	resize: vertical;
}
html.small section.arrowbox .field textarea { min-height: 48px; }

section.arrowbox div.indent { margin: 12px 0 4px 24px; }

section.arrowbox .checkbox { margin: 4px 0px 4px 24px; text-indent: -24px; }
section.arrowbox .checkbox input { vertical-align: text-bottom; }

section.arrowbox div .field.contactus-other { display: inline-flex; width: 100%; margin-top: 0px; box-sizing: border-box; }
section.arrowbox div .field.contactus-other label.right { flex: 0 0 auto; text-indent: 0; min-width: 40px; margin-right: 2px; }
section.arrowbox div .field.contactus-other input { flex: 1 1 auto; display: inline-block; }
section.arrowbox div .field.contactus-other input:focus { box-shadow: none; }

section.arrowbox .submit { margin-top: 8px; }
html.small section.arrowbox .submit input.ermbutton-blue { display: block; width: 100%; box-sizing: border-box; }

section.arrowbox .calltoaction
{
	text-align: right;
	font-size: 13pt;
	font-weight: 900;
	background: #FFFFFF;
	border-radius: 0px;
}
section.arrowbox .calltoaction div.arrow
{
	float: right;
	width: 0px;
	height: 0px;
	margin: 0px 0px 0px 8px;
	border-top: 20px solid transparent;
	border-bottom: 20px solid transparent;
	border-left: 12px solid #BF310A;
	vertical-align: middle;
}


/* ERM Marketing Page */
#ermmarketing div.ermlogo
{
	padding-left: 260px;
	min-height: 112px;
	min-width: 240px;
	background: url(/images/erm-logo-mobile.png) no-repeat 0px 0px;
}
html.small #ermmarketing div.ermlogo { padding-left: 0px; background-position: center 0px; }

html.small #ermmarketing h1.ultra, html.small #ermmarketing h2 { text-align: center; }

#ermmarketing section
{
	margin: 32px 0px 48px 0px;
	clear: both;
}

#ermmarketing section img.cap
{
	float: left;
	margin: 0px 24px 48px 0px;
	padding: 0px;
	border: 2px solid #0B4274;
}
html.small #ermmarketing section img.cap { float: none; display: block; margin: 0px auto 16px auto; text-align: center; }

#ermmarketing section ul { margin: 0px 0px 6px 350px; padding: 0px; }
html.small #ermmarketing section ul { margin-left: 32px; }
#ermmarketing section li { margin: 0px; padding: 2px 0px; }

#ermmarketing .subscribe
{
	display: inline-block;
	margin: 8px 0px 0px 0px;
	padding-left: 32px;
	font-size: 14pt;
	font-weight: 900;
	text-transform: uppercase;
	background: url(/images/fflarrow-24.png) no-repeat 0px -3px;
}

#ermpage-modalwindow img.bordered { border: 1px solid #000000; }


/* Contact Us details */
section.contactusdetails { width: 754px; margin: 24px auto; }
section.contactusdetails div.column { display: inline-block; box-sizing: border-box; width: 350px; text-align: right; padding: 0px 16px 0px 16px;
vertical-align: top; }
section.contactusdetails div.left { text-align: right; }
section.contactusdetails div.right { text-align: left; }
section.contactusdetails p { font-weight: normal; }

html.small section.contactusdetails { width: auto; margin: 24px auto; }
html.small section.contactusdetails div.column { width: auto; display: block; }
html.small section.contactusdetails div.left { text-align: left; }


/* About Us */
img.ffl_group_photo { margin: 0px auto; }
html.full img.ffl_group_photo { max-width: 800px; margin-left: 82px; }

html.full section.content .aboutus.left { width: 384px; float: left; margin-left: 82px; }
html.full section.content .aboutus.right { width: 384px; float: right; margin-right: 82px; }

html.full section.content .aboutus.left p, html.full section.content .aboutus.right p { min-height: 70px; }

.aboutus .gallery
{
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

html.small .aboutus .gallery { margin: -2px -2px 2px -2px; }

.aboutus .gallery figure
{
	flex: 0 0 auto;
	position: relative;
	margin: 4px;
	padding: 0px;
	width: 184px;
	height: 184px;
	border-radius: 8px;
}
html.small .aboutus .gallery figure { width: 154px; height: 154px; margin: 2px; }
.lt-ie9 .aboutus .gallery figure { width: 180px; height: 180px; } /* IE8 needs smaller boxes for some reason */

.aboutus .gallery figure div
{
	width: 100%;
	height: 100%;
	border-radius: 8px;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: 184px 184px;
}
html.small .aboutus .gallery figure div { background-size: 154px 154px; }

.aboutus .gallery figure div.teamwork1 { background-image: url(/images/FFLStaff/teamwork1.jpg); }
.aboutus .gallery figure div.teamwork2 { background-image: url(/images/FFLStaff/teamwork2.jpg); }
.aboutus .gallery figure div.teamwork3 { background-image: url(/images/FFLStaff/teamwork3.jpg); }
.aboutus .gallery figure div.teamwork4 { background-image: url(/images/FFLStaff/teamwork4.jpg); }
.aboutus .gallery figure div.teamwork5 { background-image: url(/images/FFLStaff/teamwork5.jpg); }
.aboutus .gallery figure div.teamwork6 { background-image: url(/images/FFLStaff/teamwork6.jpg); }
.aboutus .gallery figure div.guidemark1 { background-image: url(/images/FFLStaff/guidemark1.jpg); }
.aboutus .gallery figure div.guidemark2 { background-image: url(/images/FFLStaff/guidemark2.jpg); }
.aboutus .gallery figure div.guidemark3 { background-image: url(/images/FFLStaff/guidemark3.jpg); }
.aboutus .gallery figure div.guidemark4 { background-image: url(/images/FFLStaff/guidemark4.jpg); }
.aboutus .gallery figure div.guidemark5 { background-image: url(/images/FFLStaff/guidemark5.jpg); }
.aboutus .gallery figure div.guidemark6 { background-image: url(/images/FFLStaff/guidemark6.jpg); }

.aboutus .gallery figcaption
{
	position: absolute;
	top: 0px;
	left: 0px;
	right: 0px;
	bottom: 0px;
	padding: 8px 6px;
	color: transparent;
	font-weight: bold;
	font-size: 1.2em;
	background-color: rgba(0, 82, 154, 0);
	border-radius: 8px;
	cursor: default;
	-webkit-transition: color 200ms ease-in, background-color 200ms ease-in;
	transition: color 200ms ease-in, background-color 200ms ease-in;
	-moz-user-select: none;
	user-select: none;
}
html.small .aboutus .gallery figcaption { font-size: 1em; line-height: 1.2em; }
.aboutus .gallery figure.active figcaption
{
	color: #FFFFFF;
	background-color: rgba(0, 82, 154, 0.75);
	-webkit-transition: color 200ms ease-in, background-color 200ms ease-in;
	transition: color 200ms ease-in, background-color 200ms ease-in;
}

/* IE8 can't do RGBA, so we need to get around all that by showing/hiding nodes and then using a solid background color w/ global opacity */
.lt-ie9 .aboutus .gallery figure figcaption { display: none; }
.lt-ie9 .aboutus .gallery figure.active figcaption
{
	display: block; 
	background-color: #00529A;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
}

.aboutus.extra
{
	clear: both;
	position: relative;
	margin: 16px auto 16px auto;
	max-width: 600px;
}

html.full .aboutus.extra a.newsletter
{
	display: block;
	position: absolute;
	left: -56px;
	top: 10px;
	width: 48px;
	height: 48px;
	background: url(/images/sharing/newsletter@2x.png) 0px 0px no-repeat;
}

html.small .aboutus.extra a.newsletter
{
	display: inline-block;
	width: 24px;
	height: 24px;
	margin-right: 4px;
	vertical-align: text-bottom;
	background: url(/images/sharing/newsletter.png) 0px 0px no-repeat;
}


/* GuideMarks Page */
html.full nav.fflsidebar.guidemarks { top: 112px; width: 240px; }
html.small nav.fflsidebar.guidemarks { text-align: left; }

html.small nav.fflsidebar.guidemarks a { display: block; min-width: none; text-align: left; }

#guidemark-showcase
{
	position: relative;
	left: 80px;
	display: block;
	margin: 24px 0px 24px 0px;
	padding: 0px;
	width: 640px;
	height: 656px;
}

html.small #guidemark-showcase
{
	left: auto;
	width: 310px;
	height: 326px;
	margin: 24px auto 48px auto;
}

#guidemark-showcase div.background
{
	width: 640px;
	height: 640px;
	border-radius: 16px;
	background-position: center center;
	background-repeat: no-repeat;
	background-color: #BFD4E6; /* Based on rgba(0, 82, 154, 0.25); */
}

html.small #guidemark-showcase div.background
{
	width: 310px;
	height: 310px;
	box-sizing: border-box;
	background-size: 310px 310px;
}

#guidemark-showcase div.background.Thoroughness					{ background-image: url(/images/guidemarks/thoroughness.jpg); }
#guidemark-showcase div.background.Reinforce_the_Good			{ background-image: url(/images/guidemarks/reinforcethegood.jpg); }
#guidemark-showcase div.background.Your_Best_Work_Forward	{ background-image: url(/images/guidemarks/yourbestworkforward.jpg); }
#guidemark-showcase div.background.Timeliness					{ background-image: url(/images/guidemarks/timeliness.jpg); }
#guidemark-showcase div.background.Focus							{ background-image: url(/images/guidemarks/focus.jpg); }
#guidemark-showcase div.background.Professionalism				{ background-image: url(/images/guidemarks/professionalism.jpg); }
#guidemark-showcase div.background.Solution_Minded				{ background-image: url(/images/guidemarks/solutionminded.jpg); }
#guidemark-showcase div.background.Work_By_Design				{ background-image: url(/images/guidemarks/workbydesign.jpg); }
#guidemark-showcase div.background.Neatness_Counts				{ background-image: url(/images/guidemarks/neatnesscounts.jpg); }
#guidemark-showcase div.background.Share_the_Reason			{ background-image: url(/images/guidemarks/sharethereason.jpg); }
#guidemark-showcase div.background.Understand_the_Reason		{ background-image: url(/images/guidemarks/understandthereason.jpg); }
#guidemark-showcase div.background.Intentional_Learning		{ background-image: url(/images/guidemarks/intentionallearning.jpg); }
#guidemark-showcase div.background.Calming_Presence			{ background-image: url(/images/guidemarks/calmingpresence.jpg); }
#guidemark-showcase div.background.Commitment					{ background-image: url(/images/guidemarks/commitment.jpg); }
#guidemark-showcase div.background.Reliability					{ background-image: url(/images/guidemarks/reliability.jpg); }
#guidemark-showcase div.background.Proactive						{ background-image: url(/images/guidemarks/proactive.jpg); }
#guidemark-showcase div.background.Offer_No_Excuses			{ background-image: url(/images/guidemarks/offernoexcuses.jpg); }
#guidemark-showcase div.background.Teamwork						{ background-image: url(/images/guidemarks/teamwork.jpg); }

#guidemark-showcase figcaption
{
	position: absolute;
	left: 0px;
	right: 0px;
	top: 448px;
	padding: 16px 0px 16px 16px;
	color: #FFFFFF;
	font-size: 1.2em;
	font-weight: bold;
	background-color: rgba(0, 82, 154, 0.75);
	cursor: default;
	-moz-user-select: none;
	user-select: none;
}

html.small #guidemark-showcase figcaption
{
	top: auto;
	bottom: 32px;
	font-size: 1.0em;
	padding: 0px 0px 0px 16px;
}

/* IE8 can't do RGBA, so we need to get around all that by showing/hiding nodes and then using a solid background color w/ global opacity */
.lt-ie9 #guidemark-showcase figcaption
{
	background-color: #00529A;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
}

#guidemark-showcase figcaption ul { margin: 0px; padding: 0px; }
#guidemark-showcase figcaption li { margin: 8px; padding: 0px; }
html.small #guidemark-showcase figcaption li { margin: 6px; }

#guidemark-showcase div.calltoactionarrow { margin-top: 4px; }


/* FFLContent Article Body */
section.content div.editbuttons { position: absolute; right: 0px; top: 0px; }
section.content div.date { color: #BF310A; font-weight: normal; }

section.content div.authorwrapper { margin: 24px 0px 32px 0px; color: #00529A; font-size: 1em; font-weight: bold; vertical-align:middle; }
section.content div.authorwrapper div { padding-left: 64px; }

section.content div.authorwrapper img
{
	float: left;
	display: inline-block;
	width: 48px;
	margin-bottom: 24px;
	border-radius: 8px;
	vertical-align: middle;
}

html.small section.content div.editbuttons { display: flex; position: static; }
html.small section.content div.editbuttons > a { flex: 1 1 auto; }

section.content .unpublished
{
	position: absolute;
	overflow: visible;
	color: #BF310A;
	font-size: 110pt;
	line-height: 1em;
	text-transform: uppercase;
	text-align: center;
	word-wrap: break-word;
	opacity: 0.15;
	user-select: none;
}

section.content div.articlebody
{
	clear: left;
	color: #333333;
	margin-top: 24px;
	margin-bottom: 24px;
}
html.small section.content div.articlebody { font-size: 1.1em; }

section.content .articleTagsandKeywords { margin: 48px 10px 32px 0px; }
section.content .articleTagsandKeywords h2 { margin: 16px 0px 2px 0px; }


/* Testimonials */
#testimonials div.testimonial { max-width: 768px; }
#testimonials div.testimonial > p { margin: 1em 0px 0.5em 0px; }
#testimonials div.testimonial > div { margin: 0px 0px 24px 4px; font-weight: bold; color: #00529A; }


/* Social Media stuff */
#socialmedia h2 { margin-top: 16px; }

#socialmedia .icon
{
	margin: 2px 0px 2px 24px;
	padding: 18px 0px 18px 64px;
	background-position: left center;
	background-repeat: no-repeat;
}

#socialmedia .twitter { background-image: url(/images/sharing/twitter@2x.png); }
#socialmedia .facebook { background-image: url(/images/sharing/facebook@2x.png); }
#socialmedia .youtube { background-image: url(/images/sharing/youtube@2x.png); }
#socialmedia .linkedin { background-image: url(/images/sharing/linkedin@2x.png); }
#socialmedia .newsletter { background-image: url(/images/sharing/newsletter@2x.png); }
#socialmedia .rss { background-image: url(/images/sharing/rss@2x.png); }


/* Free Tools */
#fflcontentwrapper form.freetools table td { vertical-align: middle; }
html.full #fflcontentwrapper form.freetools table td.top { vertical-align: top; }

html.small #fflcontentwrapper form.freetools table
html.small #fflcontentwrapper form.freetools table thead,
html.small #fflcontentwrapper form.freetools table tbody,
html.small #fflcontentwrapper form.freetools table tr,
html.small #fflcontentwrapper form.freetools table th,
html.small #fflcontentwrapper form.freetools table td
{ display: block; }

html.small #fflcontentwrapper form.freetools table { width: 100%; box-sizing: border-box; }

#fflcontentwrapper form.freetools table td.instructions { padding-top: 16px; padding-bottom: 2px; font-weight: bold; }

html.full #fflcontentwrapper form.freetools table td.label { width: 1%; white-space: nowrap; }

#fflcontentwrapper form.freetools table td.field input[type=text] { width: 100%; max-width: 400px; box-sizing: border-box; }
html.full #fflcontentwrapper form.freetools table td.field input.small { width: 100px; }

html.small #fflcontentwrapper form.freetools div.buttons { display: flex; flex-wrap: wrap; }
html.small #fflcontentwrapper form.freetools div.buttons [class*="ermbutton"] { display: inline-block; flex: 1 1 auto; min-width: 45%; }


/* Search Results */
div.searchbox { margin: 8px 0px; }

#site-searchpage-searchagain { display: inline-block; vertical-align: middle; }

html.small #site-searchpage-searchagain { display: flex; align-items: center; }
html.small #site-searchpage-text { flex: 1 0 auto; margin-right: 4px; }

html.full #site-searchpage-text { width: 200px; }

#site-searchpage-btn
{
    width: 30px;
    height: 23px;
    min-width: 30px;
    margin: 0px;
    vertical-align: middle;
}
html.small #site-searchpage-btn { flex: 0 0 auto; padding: 3px 8px 4px 7px; }
html.small #site-searchpage-btn:active { padding: 4px 7px 3px 8px; }

#site-searchpage-btn img { vertical-align: text-top; }

#site-searchpage-sort { display: inline-block; vertical-align: middle; }
#site-searchpage-sort label, #site-searchpage-sort input { vertical-align: top; }
html.full #site-searchpage-sort { margin-left: 16px; }
html.small #site-searchpage-sort { margin: 8px; }

html.small #site-searchpage-filters { display: flex; flex-wrap: wrap; margin: 8px 0px; }
html.small #site-searchpage-filters input { flex: 1 1 auto; }


section.searchresults { margin-bottom: 16px; border-top: 2px solid #505050; }

section.searchresults article { display: block; margin: 0px; padding: 16px; border-bottom: 1px solid #000000; }
section.searchresults article:nth-child(even) { background: #E7E7E7; }
html.small section.searchresults article { padding: 8px; }

section.searchresults article h2 { margin: 0px; padding: 0px; font-size: 1em; font-weight: bold; }
section.searchresults article h2 a, section.searchresults article h2 a:visited { display: block; color: #00529A; }
section.searchresults article p { margin: 1px 0px 0px 0px; padding: 0px; font-size: 1em; text-align: justify; }
section.searchresults article p a { display: block; color: #333333; }
section.searchresults article span.type { margin: 0px 0px 0px 8px; color: #00529A; font-size: 0.9em; }
section.searchresults article span.date { margin: 0px 0px 0px 8px; color: #BF310A; font-size: 0.9em; }

section.searchpages { display: block; padding: 0px 16px 16px 16px; }
section.searchpages a.prevnext { margin: 0px 16px 0px 0px; font-weight: bold; }
section.searchpages a.prevnext span { color: #BF310A; }

html.small section.searchpages { display: flex; justify-content: space-between; padding: 0px 24px 24px 24px; }




/***** OLD CODE *******/


/* home page, news and E-rate resources */
.newsHeader
{
	font-size: 11pt;
	font-weight: bold;
	font-family: 'Roboto', Verdana,Arial,Helvetica,sans-serif;
	border-bottom: 2px solid #505050;
	margin :3px;
	margin-bottom: 10px;
}

.newsHeader a { text-decoration: none; color:black; }

.publishedDate { margin: 0px 0px 0px 8px; color: #BF311A; font-size: 8pt; font-weight: bold; }

/* IN USE BY 471 TRACKING VIEW!!! Please redo some day though. */
.newsBox
{
	position: relative;
	float: left;
	width: 180px;
	height: 160px;
	margin: 0px 0px 16px 16px;
	padding: 0px;
	font-size: 9pt;
	font-weight: bold;
	color: #333333;
	background-color: #FFFFFF;
	overflow: hidden;
	line-height: 1.25em;
}
.newsBoxWide { width: 378px; } /* 2x Wide News Item boxes on News by Date */

.newsBoxTitle { padding: 2px; margin-bottom: 5px; }
.newsBoxTitle a { display: inline-block; margin-left: 10px; color: #204C97; font-size: 10pt; font-weight: bold; text-decoration: none; }
.newsBoxTitle span { margin-left: 4px; color: #942523; }

.newsBox ul { margin: 0px; padding: 0px 4px 0px 24px; }
.newsBox li { padding: 2px 0px; }
.newsBox a.title { color: #333333; font-weight: bold; text-decoration: none; }
.newsBox a.intro { color: #333333; font-weight: normal; text-decoration: none; }
.newsBox h4 { color: #204C97; height: 2.5em; margin: 2px; overflow-y: hidden; border-bottom: 1px #808080 solid; }
.newsBox p { margin: 0px 0px 0px 8px; }




/* Article Slider Boxes */
#recentSlider { padding-top: 20px; border-top: 2px solid #B6B6B6; }

.recentItem, .recentItemActive
{
	-webkit-border-radius: 2px;
	border-radius: 2px;
	height: 200px;
	width: 200px;
	float: left;
	padding: 5px;
	margin-left: 10px;
	margin-right: 10px;
	border: 1px solid #505050;
	color: #333333;
	font-size: 9pt;
}
.recentItemActive { background-color: #EFEFEF; }
.recentItem a, .recentItemActive a { text-decoration: none; color: #333333; }
.recentItemHdr
{
    font-weight: bold;
    height: 45px;
    display: inline-block;
    border-bottom: 1px dotted #808080;
    width: 100%;
}

/* This is still in use in some places? */
.groupByLabelBtn
{
	display: inline-block;
	margin: 0px 10px;
	padding: 2px 8px;
	color: #000000;
	background-color: #E0E0E0;
	text-decoration: none;
	border: 1px solid #0B4476;
}

/* These are only used for article.php */


/* Prev / More arrow for article.php and content browsers. Can be a hyperlink OR a div! */
/* DO NOT change the size of these unless you changed the size of newsBox. Everything here is sized specifically to go with that! */
.arrowLeft, .arrowLeft:visited, .arrowRight, .arrowRight:visited
{
	float: left;
	display: block;
	width: 87px;
	height: 44px;
	margin: 15px 50px 30px 60px;
	padding-top: 88px;
	font-size: 16px; /* Use PX here because our height is very specific! */
	font-weight: bold;
	color: #434343;
	background-image: url('/images/articlesMoreRight.png');
	background-repeat: no-repeat;
	background-position: center 28px;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
}
.arrowLeft { background-image: url('/images/articlesMoreLeft.png'); }

#recentSlider .arrowLeft, #recentSlider .arrowRight { width: 50px; margin-right: 0px; margin-left: 0px; }

/* I'm not sure if this is really in use or not. */
.reformfaqItem{
	padding-left: 10px;
	margin-left: 5px;
	margin-right: 10px;
	border: 1px #808080 solid;
	border-radius:5px;
	color: #333333;
	border-collapse: separate;
}






/* Media queries for Retina-class (@2x) images  */
@media only screen and (-moz-min-device-pixel-ratio: 1.5),
	only screen and (-o-min-device-pixel-ratio: 3/2),
	only screen and (-webkit-min-device-pixel-ratio: 1.5),
	only screen and (min-device-pixel-ratio: 1.5)
{
	#socialmediabar a { background-size: 24px 24px; }
	#socialmediabar a.twitter { background-image: url(/images/sharing/twitter@2x.png); }
	#socialmediabar a.facebook { background-image: url(/images/sharing/facebook@2x.png); }
	#socialmediabar a.youtube { background-image: url(/images/sharing/youtube@2x.png); }
	#socialmediabar a.linkedin { background-image: url(/images/sharing/linkedin@2x.png); }
	#socialmediabar a.newsletter { background-image: url(/images/sharing/newsletter@2x.png); }
	#socialmediabar a.rss { background-image: url(/images/sharing/rss@2x.png); }

	section.contenthero header a.tab
	{
		background-image: url('/images/ffltab@2x.png');
		background-size: 200px;
	}

	section.arrowbox header
	{
		background-image: url(/images/ffltab@2x.png);
		background-size: 200px;
	}

	#fflcontentwrapper div.ffltabs section.ermtabstrip nav.active
	{
		background-image: url(/images/ffltab-small@2x.png);
		background-size: 80px;
	}


	#ermmarketing div.ermlogo
	{
		background-image: url(/images/erm-logo-mobile@2x.png);
		background-size: 240px 112px;
	}

	#ermmarketing .subscribe
	{
		background-image: url(/images/fflarrow-24@2x.png);
		background-size: 24px;
	}


	.aboutus .gallery figure div.teamwork1 { background-image: url(/images/FFLStaff/teamwork1@2x.jpg); }
	.aboutus .gallery figure div.teamwork2 { background-image: url(/images/FFLStaff/teamwork2@2x.jpg); }
	.aboutus .gallery figure div.teamwork3 { background-image: url(/images/FFLStaff/teamwork3@2x.jpg); }
	.aboutus .gallery figure div.teamwork4 { background-image: url(/images/FFLStaff/teamwork4@2x.jpg); }
	.aboutus .gallery figure div.teamwork5 { background-image: url(/images/FFLStaff/teamwork5@2x.jpg); }
	.aboutus .gallery figure div.teamwork6 { background-image: url(/images/FFLStaff/teamwork6@2x.jpg); }
	.aboutus .gallery figure div.guidemark1 { background-image: url(/images/FFLStaff/guidemark1@2x.jpg); }
	.aboutus .gallery figure div.guidemark2 { background-image: url(/images/FFLStaff/guidemark2@2x.jpg); }
	.aboutus .gallery figure div.guidemark3 { background-image: url(/images/FFLStaff/guidemark3@2x.jpg); }
	.aboutus .gallery figure div.guidemark4 { background-image: url(/images/FFLStaff/guidemark4@2x.jpg); }
	.aboutus .gallery figure div.guidemark5 { background-image: url(/images/FFLStaff/guidemark5@2x.jpg); }
	.aboutus .gallery figure div.guidemark6 { background-image: url(/images/FFLStaff/guidemark6@2x.jpg); }

	.aboutus.extra a.newsletter { background-size: 48px 48px; background-image: url(/images/sharing/newsletter@3x.png); }
	html.small .aboutus.extra a.newsletter  { background-size: 24px 24px; background-image: url(/images/sharing/newsletter@2x.png); }


	#guidemark-showcase div.background { background-size: 640px 640px; }
	html.small #guidemark-showcase div.background { background-size: 310px 310px; }
	#guidemark-showcase div.background.Thoroughness					{ background-image: url(/images/guidemarks/thoroughness@2x.jpg); }
	#guidemark-showcase div.background.Reinforce_the_Good			{ background-image: url(/images/guidemarks/reinforcethegood@2x.jpg); }
	#guidemark-showcase div.background.Your_Best_Work_Forward	{ background-image: url(/images/guidemarks/yourbestworkforward@2x.jpg); }
	#guidemark-showcase div.background.Timeliness					{ background-image: url(/images/guidemarks/timeliness@2x.jpg); }
	#guidemark-showcase div.background.Focus							{ background-image: url(/images/guidemarks/focus@2x.jpg); }
	#guidemark-showcase div.background.Professionalism				{ background-image: url(/images/guidemarks/professionalism@2x.jpg); }
	#guidemark-showcase div.background.Solution_Minded				{ background-image: url(/images/guidemarks/solutionminded@2x.jpg); }
	#guidemark-showcase div.background.Work_By_Design				{ background-image: url(/images/guidemarks/workbydesign@2x.jpg); }
	#guidemark-showcase div.background.Neatness_Counts				{ background-image: url(/images/guidemarks/neatnesscounts@2x.jpg); }
	#guidemark-showcase div.background.Share_the_Reason			{ background-image: url(/images/guidemarks/sharethereason@2x.jpg); }
	#guidemark-showcase div.background.Understand_the_Reason		{ background-image: url(/images/guidemarks/understandthereason@2x.jpg); }
	#guidemark-showcase div.background.Intentional_Learning		{ background-image: url(/images/guidemarks/intentionallearning@2x.jpg); }
	#guidemark-showcase div.background.Calming_Presence			{ background-image: url(/images/guidemarks/calmingpresence@2x.jpg); }
	#guidemark-showcase div.background.Commitment					{ background-image: url(/images/guidemarks/commitment@2x.jpg); }
	#guidemark-showcase div.background.Reliability					{ background-image: url(/images/guidemarks/reliability@2x.jpg); }
	#guidemark-showcase div.background.Proactive						{ background-image: url(/images/guidemarks/proactive@2x.jpg); }
	#guidemark-showcase div.background.Offer_No_Excuses			{ background-image: url(/images/guidemarks/offernoexcuses@2x.jpg); }
	#guidemark-showcase div.background.Teamwork						{ background-image: url(/images/guidemarks/teamwork@2x.jpg); }


	#socialmedia .icon { background-size: 48px 48px; }
	#socialmedia .twitter { background-image: url(/images/sharing/twitter@3x.png); }
	#socialmedia .facebook { background-image: url(/images/sharing/facebook@3x.png); }
	#socialmedia .youtube { background-image: url(/images/sharing/youtube@3x.png); }
	#socialmedia .linkedin { background-image: url(/images/sharing/linkedin@3x.png); }
	#socialmedia .newsletter { background-image: url(/images/sharing/newsletter@3x.png); }
	#socialmedia .rss { background-image: url(/images/sharing/rss@3x.png); }
}