/* COLORS */
/* FONT STACK */
body, html {
  margin: 0;
  padding: 0;
  color: #444444;
  font-size: 16px;
  line-height: 1.5em;
}

.clear-self {
  display: table;
  content: '';
  clear: both;
}

.collapse {
  margin: 0 auto;
  padding: 0 auto;
}


.mobileHide{ display: none;}
.desktopHide{ display: block;}

@media screen and (min-width: 768px){
  .mobileHide{ display: block;}
  .desktopHide{ display: none;}
}


body {
  font-family: "proxima-nova", helvetica, arial, sans-serif;
  color: #455067;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5em;
}

/* TYPOGRAPHY */
.green 		{color: #63c298;}
.ltgreen	{color: #74d3a9;}
.dkgreen 	{color: #52b187;}
.red 	  	{color: #f4525c;}
.blue 		{color: #5a6885;}
.ltgrey 	{color: #ebebeb;}
.grey 		{color: #a1a1a1;}
.dkgrey 	{color: #444444;}
.white 		{color: #fff;}

.upper 		{text-transform: uppercase;}

.italic 	{font-style: italic;}

.lite 		{font-weight: 300;}
.regular 	{font-weight: 400;}
.bold 		{font-weight: 700;}

.xsmall 	{font-size: 1em;  line-height: 1.15em}
.small 		{font-size: 1.2em;  line-height: 1.15em}
.medium 	{font-size: 1.85em; line-height: 1.15em;}
.xmedium 	{font-size: 2.25em; line-height: 1.15em;}
.large 		{font-size: 2.5em; line-height: 1.15em;}
.xlarge 	{font-size: 3.25em; line-height: 1.15em;}

.center 	{text-align: center;}

a 			{color: #5a6885;}




/* BUTTONS */
a.button, #contactForm button.button {
  display: block;
  padding: 14px 12px 12px 12px;
  margin: 24px 12px 0;
  text-transform: uppercase;
  font-weight: 300;
  font-size: 1.2em;
  cursor: pointer;
}
a.button span, #contactForm button.button span {
  float: right;
}

@media screen and (min-width: 1024px) {
  a.button, #contactForm button.button {
    width: 300px;
    float: right;
  }

  a.button + *, #contactForm button.button + * {
    clear: right;
  }
}
.btn-green, .btn-blue, .btn-grey {
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  font-size: 1.2em !important;
}
.btn-green 	{background: #63c298;}
.btn-blue 	{background: #5a6885;}
.btn-grey 	{background: #a1a1a1;}

/* TIMESTAMP */
time {
  text-transform: uppercase;
  font-size: .8em;
  font-weight: 300;
}

#heading span a {color: #52b187;}

/* ====================================
             DEFAULT AND RESET
   ==================================== */
@media screen and (min-width: 1200px) {
  html {
    background: url("/images/application-uploads/bg.webp") center fixed no-repeat;
    background-size: cover;
  }

  body {
    background: #fff;
    box-shadow: 0 0 48px #555;
  }
}
body, html {
  margin: 0;
  padding: 0;
}

body {
  max-width: 1200px;
  margin: auto;
}

header, footer, section, article, nav {
  display: block;
}

.no-bull {
  list-style: none;
  margin: 0;
  padding: 0;
}

.grid, .linearList {
  display: block;
  float: left;
  margin: 2%;
  overflow: hidden;
  position: relative;
}
.grid a, .linearList a {
  color: #5a6885;
  text-decoration: none;
  text-transform: uppercase;
  line-height: 18px;
  height: 36px;
  width: 100%;
  clear: both;
  font-size: 1.35em;
  display: block;
  padding-top: 36px;
}
.linearList a{
  font-size: 1.2em;
  padding-top: 0;
}
.grid a span.icon, .linearList a span.icon {
  display: block;
  float: left;
  font-size: 24px;
  background: #63c298;
  color: #fff;
  margin-bottom: 12px;
  max-width: 30%;
  padding: 8px;
  margin-right: 12px;
  margin-top: -21px;
}

.linearList a span.icon{
  margin-top: 0;
  font-size: 36px;
}

.grid-2 {
  width: 46%;
  padding-bottom: 46%;
  text-align: center;
}
.grid.grid-2 a{
  padding: 0;
  font-size: 1em;
}
.grid.grid-2 a span.icon {
  float: none;
  max-width: none;
  background: none;
  color: #63c298;
  margin-top: 8px;
}

.grid-3, .grid-4, .mobileHide .linearList {
  width: 100%;
  position: static;
}

.col1-4 {
  width: 90%;
  margin: 0 2.5% 0 2.5%;
}
.col2-3 {
  width: 90%;
  margin: 0 2.5% 0 2.5%;
}

@media screen and (min-width: 768px) {
  .left {
    float: left;
  }

  .right {
    float: right;
  }

  .col1-2 {
    width: 45%;
    margin: 0 2.5%;
  }

  .col1-3 {
    width: 30%;
    margin: 0 2.5%;
  }

  .col2-3 {
    width: 60%;
    margin: 0 2.5%;
  }

  .col1-4 {
    width: 24%;
    margin: 0 0 0 2.5%;
  }

  .col3-4 {
    width: 70.5%;
    margin: 0 0 0 2.5%;
  }
  .grid-3 {
    width: 29%;
    padding-bottom: 29%;
    position: relative;
  }
  .grid-4 {
    width: 21%;
    padding-bottom: 21%;
    position: relative;
    overflow: visible;
  }
  .grid a {
    position: absolute;
    text-align: center;
    color: #455067;
    background: none;
    text-decoration: none;
    text-transform: uppercase;
    line-height: 1em;
    width: 100%;
    padding: 8px 0;
    font-size: 1em;
  }
  .grid a span.icon {
    display: block;
    font-size: 200px;
    color: #63c298;
    background: none;
    margin-bottom: 12px;
    max-width: none;
    width: 100%;
    padding: 0;
  }
}
.clearfix:after {
  display: table;
  content: '';
  clear: both;
}

/* ====================================
         HEADER, NAV, SEARCH, ETC
   ==================================== */
/* HEADER */
header {
  background: #5a6885;
  color: #fff;
  height: 50px;
  position: relative;
  overflow: visible;
  z-index: 50;
}

nav {
  background: #455067;
}
nav ul.no-bull {
  width: 80%;
  margin: auto;
  padding: 24px;
}
nav li {
  margin: 8px auto;
  padding: 12px 0;
  border-bottom: 1px solid #5a6885;
}
nav li:last-child {
  border: none;
}
nav li a {
  display: block;
  color: #fff;
  text-transform: uppercase;
  text-decoration: none;
}
nav li a:hover {
  color: #74d3a9;
  transition: all linear .2s;
}

a#logo {
  position: absolute;
  top: 0;
  left: 50%;
  margin-left: -30px;
}

a#logo img {
  background: #5a6885;
  border-radius: 50%;
  display: block;
  padding: 4px;
  width: 60px;
}


#headerSearch{
 	background: #455067;
 	padding: 0;
  max-height: 0;
 	overflow: hidden;
  transition: max-height linear .2s;
}
  #formSearchWrap{
  	padding: 30px;
  }
#headerSearch.toggle{
	max-height: 200px;
  	transition: max-height linear .2s;
}
#searchToggle{
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	font-family: "iconFont";
	content: "\e613";
	width: 50px;
	height: 50px;
	line-height: 50px;
	font-size: 1.5em;
	cursor: pointer;
}
.search {
  display: block;
  clear: both;
  margin: 8px auto;
}
.search input {
  background: transparent;
  color: #fff;
  font-smooth: auto;
  -webkit-font-smoothing: antialiased;
}
.search input[type='submit'] {
  font-size: 24px;
  float: right;
  height: 40px;
  line-height: 40px;
  font-family: 'iconFont';
  display: none;
}
.search input[type='text'] {
  border: none;
  border-bottom: 1px solid #7281a0;
  padding: 12px 4px 6px 4px;
  font-size: 1em;
  width: 100%;
}
.search input:focus {
  outline: none;
}

.searchResults article.result{
	margin: 24px auto;
}

/* ====== TABLET PORTRAIT ====== */
@media screen and (min-width: 768px) {
  header {
    height: 75px;
  }

  a#logo {
    margin-left: -50px;
  }

  a#logo img {
    width: 100px;
    padding: 8px;
  }

  nav ul.no-bull li a {
    padding: 8px 0 16px 0;
  }

  .nav-toggle, #searchToggle {
    font-size: 36px;
    line-height: 75px;
    padding-left: 25px;
    height: 75px;
  }
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
  #nav li{
  	border: none;
  }
  .search span {
    font-size: 32px;
    line-height: 65px;
  }
}
/* ====== SMALL DESKTOP / TABLET LANDSCAPE ====== */
@media screen and (min-width: 1024px) {
  nav {
    background: #5a6885;
    height: 120px;
  }
  nav ul.no-bull {
    width: 90%;
  }
  nav ul.no-bull li {
    display: inline-block;
    width: 12%;
    padding-top: 25px;
    margin-top: 20px;
  }
  nav ul.no-bull li:nth-child(odd) {
    float: left;
  }
  nav ul.no-bull li:nth-child(even) {
    float: right;
    text-align: right;
  }
  nav ul.no-bull li#news {
    width: 10%;
  }
  nav ul.no-bull li#certification {
    margin-left: 24px;
  }
  nav ul.no-bull li#contact {
    margin-right: 48px;
  }

  a#logo {
    margin-left: -90px;
  }

  a#logo img {
    width: 180px;
    padding: 10px;
  }

  #headerSearch{
  	padding: 0;
  }
#searchToggle{
  	display: none;
  }
  .search {
    right: 5%;
 	position: absolute;
  	top: 4px;
  	right: 16px;
    width: 35%;
    margin: 0;
  }
  .search#search_data{
  	left: 5%;
  	float: left;
  }
  .search input[type='text'] {
    visibility: visible;
    width: 90%;
  }
  .search input[type=submit]{
  	display: block;
  }
}
section {
  padding: 24px 12px;
}

#heading {
  padding: 24px 36px;
}
#heading h1 {
  margin-bottom: 0;
}
#heading h2{
  margin: 0;
}
.blockImg{ display: block; margin: 24px auto; max-width: 100%;}

/* ====================================
            HOMEPAGE SECTIONS
   ==================================== */
/* ====== DATABASE SEARCH ====== */
::-webkit-input-placeholder{
  color: #fff;
  opacity: .4;
}

:-moz-placeholder{
  color: #fff;
  opacity: .4;
}

::-moz-placeholder{
  color: #fff;
  opacity: .4;
}

:-ms-input-placeholder{
  color: #fff;
  opacity: .4;
}

#databaseSearch {
  background: url("/images/application-uploads/bg-search-widget.webp") no-repeat;
  background-size: cover;
  height: 150px;
}
#databaseSearch form {
  margin: 50px auto 0;
}
#databaseSearch form input[type=text], #databaseSearch form input[type=submit], #databaseSearch form span {
  background: none;
  color: #fff;
  opacity: .9;
}
#databaseSearch form span {
	font-size: .8em;
	display: block;
	margin-top: 10px;
	line-height: 1.35em;
}

/* ====== ABOUT ====== */
/* ====== NEWS ====== */
section#news {
  background: #5a6885;
  color: #fff;
}
section#news a {
  text-decoration: none;
}
section#news h2 {
  margin-bottom: 0;
}

#recent {
  padding: 24px 0 0 0;
  margin-top: 18px;
}

@media screen and (min-width: 960px) {
  #news .wrap {
    width: 55%;
    float: left;
  }

  #news #recent {
    width: 35%;
    float: right;
    padding: 0;
    margin: 0;
    font-size: .85em;
  }
}
/* ====== RESEARCH ====== */
@media screen and (min-width: 960px) {
  #research .wrap {
    width: 55%;
    float: left;
  }

  #research ul {
    width: 35%;
    float: right;
    margin: 0;
  }

  #research p {
    font-size: 1.15em;
    line-height: 1.5em;
  }
}
/* ====== PUBLICATIONS ====== */
section#publications {
  background: url("/images/application-uploads/bg-pubs-small.webp") center no-repeat;
  background-size: cover;
  color: #fff;
}

@media screen and (min-width: 589px) {
  section#publications {
    background: #3f4b65 url("/images/application-uploads/bg-pubs-large.webp") top right no-repeat;
  }
}
@media screen and (min-width: 960px) {
  section#publications .contentGroup {
    width: 55%;
  }
}
/* ====== CERTIFICATION ====== */
#stamp {
  display: block;
  text-align: center;
}
#stamp img {
  width: 100%;
}

@media screen and (min-width: 960px) {
  #certification .wrap {
    width: 55%;
    float: left;
  }

  #certification #stamp {
    width: 40%;
    float: right;
    margin: 0;
    padding-top: 20px;
  }

  #certification p {
    font-size: 1.15em;
    line-height: 1.5em;
  }
}
/* ====== SCALE THINGS UP ON DESKTOP ====== */
@media screen and (min-width: 768px) {
  section#about,
  section#news,
  section#research,
  section#publications,
  section#certification {
    padding: 48px;
    font-size: 1.15em;
    line-height: 1.5em;
  }
  section#about p,
section#news p,
section#research p,
section#publications p,
section#certification p {
    line-height: 1.5em;
}
  .two-thirds{ width: 55%;}
  .one-third{ width: 35%;}
  
  #databaseSearch {
	  background: url("/images/application-uploads/bg-search-widget.webp") no-repeat;
	  background-size: cover;
	  height: 300px;
	}
	#databaseSearch form {
	  margin: 120px auto 130px;
	}
	#databaseSearch form input[type=text], #databaseSearch form input[type=submit], #databaseSearch form span {
	  background: none;
	  color: #fff;
	  opacity: .9;
	}
  #pg_ingredient #databaseSearch { height: 200px;}
  #pg_ingredient #databaseSearch form { margin: 55px auto 70px;}
}
/* END HOMEPAGE SECTIONS */
/* ====================================
            ABOUT SECTIONS
   ==================================== */
.typeBlock#throughExtensive {
  background: url("/images/application-uploads/bg-toxiclandscape-small.webp") no-repeat center;
  padding: 60px 0;
  background-size: cover;
  text-align: center;
}

#throughOngoing {
  background: #ddd;
}
#throughOngoing h3 {
  font-weight: bold;
  text-align: center;
}
#throughOngoing ul {
  width: 90%;
  margin: auto;
  padding-left: 5%;
}
#throughOngoing ul li {
  font-size: 1.5em;
  margin: 20px auto;
}
#throughOngoing ul li span.icon {
  font-size: 2.25em;
  float: left;
  padding: 0 8px;
}
#throughOngoing p {
  font-weight: 300;
  margin: 40px auto;
}
#throughOngoing p span.icon {
  float: right;
  font-size: 3.25em;
  margin-right: 20px;
}

section#boardMembers ul .grid {
  background: #ddd;
  padding: 0;
  width: 46%;
  margin: 2%;
}
section#boardMembers ul .grid img {
  width: 100%;
}
section#boardMembers ul .grid p {
  margin: 0;
  padding: 8px;
  height: 98px;
}

section#achievements ol#timeline {
  list-style: none;
  background: white url("/images/template-images/placeholder-light.jpg") 50px repeat-y;
}
section#achievements ol#timeline li {
  margin: 60px 0;
}
section#achievements ol#timeline li h3 {
  position: relative;
  padding-left: 50px;
}
section#achievements ol#timeline li h3:before {
  display: block;
  height: 20px;
  width: 20px;
  border-radius: 50%;
  content: '';
  background: #63c298;
  border: 8px solid #ebebeb;
  position: absolute;
  left: -3px;
  top: -2px;
}
section#achievements ol#timeline li .timelineItem {
  padding: 8px;
  background: #5a6885;
  color: #fff;
  width: 98%;
  margin-left: -30px;
}
section#achievements ol#timeline li .timelineItem h4 {
  margin: 4px;
}

@media screen and (min-width: 768px) {
  section#mission {
    padding: 48px 64px;
    font-size: 1.35em;
  }
  section#mission ul {
    width: 75%;
    margin: auto;
  }
  section#mission ul .grid-3 {
    background: #63c298;
  }
  section#mission ul .grid-3 a, section#mission ul .grid-3 a span {
    font-size: .8em;
    margin-top: 8px;
    color: #fff;
  }

  .typeBlock#throughExtensive {
    background: url("/images/application-uploads/bg-toxiclandscape.webp") no-repeat center;
    padding: 60px;
    background-size: cover;
    text-align: center;
  }

  #throughOngoing h3 {
    font-weight: normal;
  }
  #throughOngoing ul {
    width: 100%;
    padding-left: 1%;
  }
  #throughOngoing ul li {
    float: left;
    width: 33%;
    font-weight: 300;
    text-transform: uppercase;
  }
  #throughOngoing p {
    width: 90%;
    margin: 80px auto;
    font-size: 2.8em;
  }
  #throughOngoing p span.icon {
    float: left;
    font-size: 2.75em;
    margin-left: 40px;
  }

  section#boardMembers ul .grid {
    width: 21%;
    margin: 2%;
  }

  section#achievements ol#timeline {
    background-position: 220px;
  }
  section#achievements ol#timeline li {
    margin: 40px 0;
    position: relative;
  }
  section#achievements ol#timeline li h3 {
    float: left;
    width: 220px;
    text-align: right;
    padding-right: 55px;
    margin-left: -125px;
  }
  section#achievements ol#timeline li h3:before {
    display: none;
  }
  section#achievements ol#timeline li h3:after {
    display: block;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    content: '';
    background: #63c298;
    border: 8px solid #ebebeb;
    position: absolute;
    right: -3px;
    top: -2px;
  }
  section#achievements ol#timeline li .timelineItem {
    float: left;
    position: relative;
    margin-top: 20px;
    margin-left: 60px;
    padding: 8px;
    background: #5a6885;
    color: #fff;
    width: 52%;
  }
  section#achievements ol#timeline li .timelineItem:before {
    position: absolute;
    content: '';
    top: 20px;
    right: 100%;
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-right: 12px solid #5a6885;
  }
  section#achievements ol#timeline li .timelineItem h4 {
    margin: 4px;
  }

  /* ====== SCALE THINGS TYPE ON LARGER VIEWS ====== */
  section#boardMembers,
  section#funding,
  section#achievements {
    padding: 48px;
    font-size: 1.15em;
    line-height: 1.5em;
  }
}
/* ====== ADJUST TIMELINE FOR DESKTOP ====== */
@media screen and (min-width: 1024px) {
  section#achievements ol#timeline li .timelineItem {
    width: 65%;
  }
}
/* ====================================
          NEWS / RESEARCH PAGES
   ==================================== */
#categories {
  padding: 24px 0;
  margin: 0 auto;
  position: relative;
}
#categories ul {
  background: #ebebeb;
  z-index: 5;
  list-style: none;
  margin: 0 auto 12px;
  width: 85%;
  padding: 12px;
  max-height: 36px;
  transition: max-height linear .2s;
  overflow: hidden;
}
#categories ul:hover h2 {
  color: #63c298;
  cursor: pointer;
}
#categories ul.active {
  max-height: 500px;
  box-shadow: 0 0 6px #aaa;
  transition: max-height linear .2s;
}
#categories ul.active h2 {
  color: #63c298;
}
#categories ul.active h2 span {
  transform: rotate(90deg);
  transition: all linear .2s;
}
#categories ul h2 {
  margin: 4px;
  height: 36px;
  line-height: 36px;
  color: #a1a1a1;
}
#categories ul h2 span {
  float: right;
  line-height: 36px;
  font-weight: bold;
  transition: all linear .2s;
}
#categories ul li {
  border-bottom: 2px dotted #c7c7c7;
}
#categories ul li:last-child {
  border: none;
}
#categories ul li a {
  display: block;
  color: #a1a1a1;
  font-size: 1.2em;
  padding: 10px 0 6px;
  text-transform: uppercase;
  text-decoration: none;
}
#categories ul li a:hover {
  color: #7b7b7b;
  transition: all linear .2s;
}

section#featured {
  margin: 0;
  padding: 0;
  background: #5a6885;
  color: #fff;
}
section#featured .left {
  padding: 24px 0;
}
section#featured .right.col1-3 img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  line-height: 0;
}

#mainContainer {
  margin: 24px 0;
}

body#news article:after {
  display: table;
  content: '';
  clear: both;
}
.newsPost{
	padding: 24px 0;
}
.newsPost img{
  	width: 100%;
  }
body#news article.singleEntry{
	margin-top: 0;
}

article h3 {
  margin-bottom: 0;
}
article img {
  display: block;
  height: 350px;
}

#sidebar {
  padding: 24px;
}
#sidebar ul {
  list-style: none;
  margin: 0 0 36px 0;
  padding: 0;
}
#sidebar a {
  color: #52b187;
  text-decoration: none;
}
#sidebar a:hover {
  text-decoration: underline;
}


p.pagination{ text-align: right;}
p.pagination a, p.pagination strong{
  display: inline-block;
  background: #63c298;
  line-height: 30px;
  min-width: 18px;
  padding: 0 6px 0 6px;
  color: #fff;
  text-decoration: none;
  text-align: center;
}
p.pagination strong{
  background: #a1a1a1;
}

/* ====== ADJUSTMENTS FOR LARGER SCREENS ====== */
@media screen and (min-width: 768px) {
  body#news #heading {
    width: 45%;
    float: left;
  }

  #categories {
    float: right;
    width: 45%;
  }
  #categories ul {
    position: absolute;
    margin: 36px auto 0;
    width: auto;
    min-width: 300px;
  }

  section#featured {
    max-height: 400px;
    overflow: hidden;
  }
  section#featured .right.col1-3 {
    padding: 0;
    margin: 0;
    width: 32.5%;
  }
  section#featured .right.col1-3 img {
    width: 100%;
    height: 100%;
  }

 .newsPost {
    margin: 48px auto 64px;
    padding: 0;
  }
  .newsPost img{
  	width: auto;
  }
  #mainContainer .left article img.postThumb {
    float: left;
    margin: 0 18px 0 0;
    width: 40%;
    height: auto;
  }

  #sidebar {
    margin: 0 0 0 2.5%;
    padding: 0;
  }
}

@media screen and (min-width: 1024px){
  body#news #heading {
    width: 60%;
    float: left;
  }
  #categories {
    float: right;
    width: 30%;
  }
  #categories ul{margin: 36px 24px 0 0;}
}
/* ====================================
          CERTIFICATION SECTIONS
   ==================================== */
body#cert p#intro {
  color: #f4525c;
  width: 80%;
  padding: 24px;
  font-size: 1.6em;
  line-height: 1.2em;
}
body#cert p#intro span {
  padding: 0 24px 0 0;
  margin-top: -12px;
  display: block;
}
body#cert section#chemicalsList, body#cert section#illnessList {
  padding: 36px 12px 48px;
  background: #4a556d url("/images/template-images/bg-chemicalLab.jpg") no-repeat center;
  background-size: cover;
}
body#cert section#illnessList {
  background-image: url("/images/template-images/bg-sick.jpg");
}
body#cert h2 {
  margin-bottom: 60px;
  text-align: center;
}
body#cert h2:before {
  display: block;
  background: #63c298;
  height: 70px;
  width: 70px;
  margin: 0 auto 12px;
  content: '';
  font-family: 'iconFont';
  color: #fff;
  font-size: 48px;
  line-height: 70px;
  text-align: center;
}
body#cert #cta h2:before {
  display: none;
}
body#cert #chemicalsList h2:before {
  content: "\e61b";
}
body#cert #comingFrom h2:before {
  content: "\e61a";
}
body#cert #illnessList h2:before {
  content: "\e600";
}
body#cert #toxicfree h2:before {
  content: "\e617";
}
body#cert #chemicalsList ul, body#cert #illnessList ul {
  list-style: none;
}
body#cert #chemicalsList ul li, body#cert #illnessList ul li {
  color: #fff;
  font-size: 1.3em;
  font-weight: 300;
  margin-top: 8px;
}
body#cert #chemicalsList ul li:before, body#cert #illnessList ul li:before {
  color: #f4525c;
  font-family: 'iconFont';
  content: "\e61d";
  margin-right: 6px;
}
body#cert #comingFrom h3, body#cert #toxicfree h3 {
  margin: 16px 0 4px 0;
}
body#cert #comingFrom p, body#cert #toxicfree p {
  margin-top: 0;
}
body#cert section#cta {
  padding: 24px 48px;
  background: #52b187 url("/images/template-images/bg-readyCTA.jpg") no-repeat center;
  background-size: cover;
}
body#cert section#cta h2 {
  color: #fff;
}
body#cert section#cta a {
  display: block;
  font-size: 1.6em;
  line-height: 1.2em;
  font-weight: 300;
  background: #fff;
  padding: 21px 12px 36px;
  width: 90%;
  margin: 16px auto;
  color: #52b187;
  text-decoration: none;
}
body#cert section#cta a:before {
  font-family: 'iconFont';
  font-size: 2.5em;
  float: left;
  height: 70px;
  margin: 8px;
  padding-top: 12px;
}
body#cert section#cta a#find:before {
  content: "\e60c";
}
body#cert section#cta a#apply:before {
  content: "\e60e";
}
body#cert section#cta a:after {
  color: #63c298;
  display: block;
  font-family: 'iconFont';
  float: right;
  content: "\e603";
  height: 30px;
  width: 30px;
}
body#cert section#cta a:hover {
  color: #5a6885;
  transition: all linear .2s;
}
body#cert section#cta a:hover:before, body#cert section#cta a:hover:after {
  color: #5a6885;
  transition: all linear .2s;
}
@media screen and (min-width: 768px) {
  body#cert p#intro span {
    display: inline;
  }
  body#cert h2 {
    text-align: left;
  }
  body#cert h2:before {
    float: left;
    margin: 0 12px;
  }
  body#cert #chemicalsList ul li, body#cert #illnessList ul li {
    width: 33%;
    float: left;
  }
  body#cert #comingFrom .clearfix, body#cert #toxicfree .clearfix {
    font-size: 1.15em;
    line-height: 1.5em;
  }
  body#cert section#cta a {
    width: 40%;
    padding: 24px 12px 12px;
  }
}

/* ====================================
          INGREDIENTS SECTIONS
   ==================================== */
#databaseSearch {
  padding: 18px 24px;
}
#databaseSearch input {
  color: #a1a1a1;
  font-family: "proxima-nova", helvetica, arial, sans-serif;
  font-weight: 300;
  font-style: italic;
}
#databaseSearch input:focus {
  outline: none;
  -webkite-outline: none;
}
#databaseSearch input[type=text] {
  width: 92%;
  font-size: 1.3em;
  border: none;
  border-bottom: 2px solid #ebebeb;
}
#databaseSearch input[type=submit] {
  background: none;
  border: none;
  font-family: 'iconFont';
  font-size: 1.3em;
  font-style: normal;
  width: 6%;
  float: right;
}

.categoryBanner{
  margin: 0;
  background: #5a6885;
  color: #fff;
  padding: 20px;
  min-height: 160px;
  position: relative;
  overflow: hidden;
}
.categoryBanner #catIcon p {
	position: absolute;
    margin: 0;
	font-size: 8em;
    line-height: 0;
    line-height: 300px;
    text-align: center;
    border-radius: 50%;
    color: #5a6885;
    background: #fff;
    opacity: .3;
    display: none;
}

section.ingList#greenList {
  margin-left: 3%;
}
section.ingList h2 {
  color: #fff;
  padding: 8px 8px 4px;
}
section.ingList#greenList h2 {
  background: #52b187;
}
section.ingList#yellowList h2 {
  background: #f9ae64;
}
section.ingList#redList h2 {
  background: #f4525c;
}
section.ingList#realityList h2 {
  background: #5a6885;
}
section.ingList ul {
  list-style: none;
  margin: 0;
  padding: 0 0 10px 0;
}
section.ingList ul li {
  display: block;
  margin: 8px 0;
  padding: 6px 6px 6px 8px;
  background: #ebebeb;
  width: 96%;
}
section.ingList ul li:hover {
}
section.ingList ul li a {
  display: block;
  text-decoration: none;
  color: #5a6885;
  font-size: 1.2em;
  font-weight: 600;
}
img.ingThumb{
  width: 100%;
}
p.ingName { margin: 0; float: left; width: 80%;}
p.ingName span {
  display: block;
  font-weight: 300;
  font-style: italic;
  color: #a1a1a1;
}
span.ingRating{
  float: right;
  width: 24px;
  height: 24px;
  line-height: 24px;
  text-align: center;
  border: 2px solid #5a6885;
  border-radius: 50%;
  margin-left: 4px;
  font-size: .85em;
}
.ingRating.red{  border: 2px solid #f4525c;}
.ingRating.dkgreen{  border: 2px solid #52b187;}
}

#ingredientScores ul {
  list-style: none;
  margin: 24px 0 0 20px;
  padding: 0;
}
#ingredientScores .score {
  margin: 24px 0 0 20px;
  padding: 215px 8px 28px;
  color: #fff;
  background: #63c298 url('/images/template-images/trafficLight.png') center no-repeat;
  text-align: center;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 1.4em;
}
#ingredientScores .score.redLight {
  background: #f4525c url('/images/template-images/trafficLight.png') center no-repeat;
}
#ingredientScores .score.yellowLight{
  background: #f9ae64 url('/images/template-images/trafficLight.png') center no-repeat;
}
#ingredientScores .score.realityCheck {
  background: #5a6885;
  padding: 24px 8px;
  margin: 12px auto auto 20px;
  font-size: 1.5em;
  position: relative;
  overflow: hidden;
  letter-spacing: 1px;
}
#ingredientScores .score.realityCheck span.icon-checkCircle {
  position: absolute;
  top: -.2em;
  left: -.2em;
  opacity: .2;
  font-size: 3em;
}
#articleMain, #foundIn {
  width: 90%;
}
#articleMain img, #foundIn img {
  padding: 6px;
  display: block;
  background: #fff;
  width: 100%;
  border: 1px solid #ebebeb;
}
#articleMain h1, #foundIn h1 {
  margin-bottom: 4px;
  margin-top: 0;
}
#articleMain h2, #foundIn h2 {
  margin-top: 0;
}

#articleLinks {
  width: 88%;
  float: right;
  padding: 24px 10% 24px 2%;
  background: #5a6885;
  margin: 30px auto 48px;
}
#articleLinks h3 {
  margin-top: 0;
}
#articleLinks ul li {
  font-size: 1.35em;
  font-weight: 300;
  margin: 18px 0;
}
#articleLinks ul li a {
  color: #74d3a9;
  text-decoration: none;
}
#articleLinks ul li a:hover {
  text-decoration: underline;
}
#articleLinks ul li time {
  display: block;
  color: #fff;
  font-size: .75em;
}

@media screen and (min-width: 768px) {
  section.ingList {
    margin: 0 2% 60px;
  }
  section.ingList ul li{
  	width: 29%;
    margin: 0 1% 20px;
  	float: left;
  }
  #databaseSearch {
	 padding: 18px 48px;
  }
  .categoryBanner #catIcon p{
  	width: 250px;
  	height: 250px;
  	top: -30px;
	display: block;
  }
  .categoryBanner .right{ margin-left: -50px;}

  #databaseSearch input[type=text] {
	  width: 89%;
	  font-size: 2em;
	}
  #databaseSearch input[type=submit] {
	  font-size: 2em;
	  width: 5%;
	}
  #databaseSearch form span{
	font-size: 1.2em;
  }
}

@media screen and (min-width: 1024px) {
	.categoryBanner #catIcon p{
		width: 300px;
		height: 300px;
		top: -40px;
	}
	#databaseSearch input[type=text] {
	  width: 92%;
	  font-size: 3em;
	}
    #databaseSearch input[type=submit] {
	  font-size: 3em;
	  width: 7%;
	}
}


/* ====================================
          PUBLICATIONS SECTIONS
   ==================================== */
#intro {
  padding: 24px;
}

.pubCat {
  padding: 24px;
}
.pubCat h2 {
  background: #63c298;
  padding: 8px;
  color: #fff;
  margin: auto;
  font-weight: 300;
}
.pubCat ul {
  list-style: none;
  margin: 24px auto;
  padding: 0;
}
.pubCat ul li {
  margin: 18px 0;
}
.pubCat ul li img {
  width: 100%;
}
.pubCat ul li h3 {
  font-size: 1.5em;
}
.pubCat ul li .price {
  display: block;
  margin-left: 35%;
  background: #ebebeb;
  color: #5a6885;
  text-decoration: none;
  text-transform: uppercase;
  padding: 12px;
  font-weight: 600;
}
.pubCat ul li .price span {
  float: right;
  line-height: 1.5em;
}

@media screen and (min-width: 768px) {
  .pubCat h2 {
    width: 20%;
    height: 0;
    padding-bottom: 20%;
    font-size: 2em;
    line-height: 1.2em;
    float: left;
  }
  .pubCat ul {
    width: 75%;
    float: right;
    padding: 0;
    margin: 0;
  }
  .pubCat ul li {
    margin: 0 0 16px 0;
    padding-right: 12px;
  }
  .pubCat ul li:after {
    display: table;
    content: '';
    clear: both;
  }
  .pubCat ul li img {
    display: block;
    float: left;
    width: 12%;
  }
  .pubCat ul li h3 {
    float: left;
    width: 45%;
    margin: 0 2%;
    padding-top: 12px;
  }
  .pubCat ul li .price {
    margin: 24px 0;
    float: right;
    width: 20%;
  }
}
/* ====================================
          CONTACT SECTIONS
   ==================================== */
form, fieldset, input, select, textarea, button {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 2px;
}

form h2{ margin: 48px 0 0 0;}

#contactForm input, #contactForm select, #contactForm textarea, #contactForm button {
  background: #ebebeb;
  font-size: 1.2em;
  font-family: "proxima-nova", helvetica, arial, sans-serif;
  padding: 8px 4%;
  font-weight: 300;
  width: 92%;
  color: #5a6885;
  box-shadow: 0 0 5px #ddd inset;
}

#contactForm textarea {
  display: block;
  width: 87%;
  margin: 0 2.5% 0 2.5%;
}

#contactForm select{
  height: 40px;
  -webkit-appearance: none;
  -webkit-border-radius: 0px;
  width: 100% !important;
  border-radius: 2px;
  background: #ebebeb url('/images/template-images/ui/dropdown-arrow.png') right no-repeat;
}

#contactForm input:focus, #contactForm select:focus, #contactForm textarea:focus {
  outline: none;
  box-shadow: 0 0 7px #999 inset;
}

#contactForm button.button {
  text-align: left;
  background: #63c298;
  color: #fff;
  display: block;
  box-shadow: none;
  border-radius: 0;
}

label {
  display: block;
  margin-top: 24px;
  font-weight: 600;
  text-transform: uppercase;
}

label#forMessage {
  margin: 24px 0 0 2.5%;
}

label.hidden{ visibility: hidden; height: 8px;}
select option:first{
  color: #444;
  opacity: .4;
}

#contactForm ::-webkit-input-placeholder {
  color: #444;
  opacity: .4;
}

#contactForm :-moz-placeholder {
  color: #444;
  opacity: .4;
}

#contactForm ::-moz-placeholder {
  color: #444;
  opacity: .4;
}

#contactForm :-ms-input-placeholder {
  color: #444;
  opacity: .4;
}


aside.right.col1-3 {
  margin: 24px 0 0 0;
  padding: 0;
}


/* ====== EMAIL MARKETING ====== */
.emailPost time{
	display: block;
    float: left;
    text-align: center;
	background: #5a6885;
    width: 100px;
    height: 94px;
    padding: 6px 0 0 0;
    margin: 0 12px 0 0;
    color: #fff;
    font-size: 16px;
}
.emailPost time span{
	display: block;
    font-size: 60px;
    line-height: 58px;
}
.emailPost .button{ 
	width: 200px;
    padding: 8px 12px 6px 12px;
}

/* ====================================
         FOOTER ELEMENTS
==================================== */
footer, footer a {
  color: #5a6885;
}

#footer-nav {
  background: #5a6885;
  padding: 24px;
}
#footer-nav li {
  text-transform: uppercase;
  font-size: 1.25em;
  margin: 14px 0;
}
#footer-nav li a {
  display: block;
  color: #74d3a9;
  text-decoration: none;
  position: relative;
  font-weight: bold;
}
#footer-nav li a:after {
  display: block;
  position: absolute;
  width: 0;
  top: 0;
  right: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 11px solid #818faa;
  content: '';
}
#footer-nav li.expanded a:after {
  transform: rotate(90deg);
}
#footer-nav li ul.sub {
  max-height: 0;
  overflow: auto;
  margin: 0;
  padding: 0;
}
#footer-nav li.expanded ul.sub {
	max-height: 200px;
}
#footer-nav li ul.sub li {
  display: block;
  margin: 0;
}
#footer-nav li ul.sub li a {
  color: #cde;
  text-transform: none;
  font-size: 1em;
  font-weight: normal;
  font-smoth: auto;
  -webkit-font-smoothing: antialiased;
}
#footer-nav li ul.sub li a:after {
  display: none;
}

#footer-contact {
  background: #fff;
  padding: 24px 24px 48px 24px;
}
#footer-contact li {
  margin: 18px 0 28px;
  text-align: center;
}
#footer-contact li#social {
  margin-bottom: 0;
}
#footer-contact li.subItem {
  margin: 0;
}
#footer-contact span {
  display: block;
  font-size: 36px;
  padding: 2px;
  color: #52b187;
}

#footer-legal {
  background: #63c298;
  color: #fff;
  padding: 12px;
  text-align: center;
}
#footer-legal li {
  display: inline;
  font-size: .85em;
  font-weight: 300;
}
#footer-legal li:after {
  content: '|';
  padding: 0 4px 0 8px;
}
#footer-legal li:last-child:after {
  content: '';
}
#footer-legal a {
  color: #fff;
}

/* ====== TABLET PORTRAIT ====== */
@media screen and (min-width: 768px) {
  #footer-contact:after {
    display: table;
    content: '';
    clear: both;
  }
  #footer-contact li {
    float: left;
    width: 31%;
    margin: 1%;
  }
}
/* ====== SMALL DESKTOP / TABLET LANDSCAPE ====== */
@media screen and (min-width: 1024px) {
  #footer-nav {
    text-align: center;
    padding: 40px 0;
  }
  #footer-nav:after {
    display: table;
    content: '';
    clear: both;
  }
  #footer-nav li {
    display: inline-block;
    text-align: left;
    vertical-align: top;
    margin: 0 3% 0 2%;
  }
  #footer-nav li:first-child {
    display: none;
  }
  #footer-nav li a:after {
    display: none;
  }
  #footer-nav li ul.sub {
    margin: 0;
    padding: 0;
    max-height: none;
    overflow: auto;
  }
  #footer-nav li ul.sub li {
    display: block;
    margin: 0;
  }
  #footer-nav li ul.sub li a {
    text-transform: none;
    font-size: .75em;
  }
  #footer-nav li ul.sub li:hover a{
    color: #fff;
  }
}



/* ====== SEARCH RESULTS ====== */
#siteSearch{
  background: #5a6885;
  padding: 50px;
}
#siteSearch input[type=text]{
  width: 90%;
  font-size: 1.5em;
  padding: 1.5%;
  background: transparent;
  color: #fff;
  border-bottom: 2px solid #7281a0
}
#siteSearch input[type=text]:focus{
  outline: none;
  -webkite-outline: none;
}
#siteSearch input[type=submit]{
  width: 5%;
  font-size: 1.75em;
  padding: 1.5%;
  background: transparent;
  color: #fff;
  font-family: 'iconFont';
}



/* ======= AJAX SEARCH RESULTS ====== */

#ajaxWrapper{ position: relative;}

#ajaxResults{
	position: absolute;
    width: 92%;
    height: auto;
    z-index: 50;
    top: 100%;
    color: #fff;
    background: rgba(255,255,255, 0.8);
    box-shadow: 0 0 12px 0px rgba(0,0,0,0.3);
}
#ajaxResults li{ width: 100%;}
#ajaxResults a{
	display: block;
    width: 96%;
    padding: 4px 2%;
    line-height: 50px;
    font-size: 21px;
    color: #5a6885;
    text-decoration: none;
}

#ajaxResults li:hover{ background: rgba(255,255,255, 0.9);}

#ajaxResults .rateDot{
	height: 30px;
    width: 30px;
    background-color: #5a6885;
    border-radius: 50%;
    margin-right: 20px;
    float: left;
}
#ajaxResults .rateDot.rate-green{ background-color: #52b187;}
#ajaxResults .rateDot.rate-red{ background-color: #f4525c;}


/* DATABASE SORTING BUTTONS */

.sorterWrapper{ width: 90%; margin: 0 0 48px auto; max-width: 400px; background: #eee; padding: 12px 6px 12px 12px; border-radius: 4px 0 0 4px;}
.sorterWrapper form{ display: block; width: 25%; float: left;}
form .hiddenForm{ display: none;}
form .sortBtn{ display: block; width: 91%; padding: 6px 4%; font-size: .8em; cursor: pointer; color: #5a6885; background: #fff;}
form .sortBtn:hover, form .sortBtn.selected{ background: #5a6885; color: #fff;}


/* DOCUMENT / PDF VIEWER */

.pdfWrapper {
	position: relative;
	padding-bottom: 87.64%; /* 1:1.141 - A4 Portrait */
	padding-top: 25px;
	height: 0;
}
.pdfWrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

#ajaxResults {
    background: #ffffff; /* Ensures solid white background */
    border: 1px solid #ccc;
    padding: 10px;
    max-height: 300px;
    overflow-y: auto;
    position: absolute;
    width: 100%;
    z-index: 1000;
    display: none; /* Hide initially */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

/* Show results when the user starts typing */
#databaseAjaxInput:not(:placeholder-shown) + #ajaxResults {
    display: block;
}

/* For Webkit Browsers (Chrome, Edge, Safari) */
#ajaxResults::-webkit-scrollbar {
    width: 8px; /* Adjust scrollbar width */
}

#ajaxResults::-webkit-scrollbar-track {
    background: #f0f0f0; /* Light background for track */
    border-radius: 4px;
}

#ajaxResults::-webkit-scrollbar-thumb {
    background: #74D3A9; /* Custom scrollbar color */
    border-radius: 4px;
}

#ajaxResults::-webkit-scrollbar-thumb:hover {
    background: #56b089; /* Darker on hover */
}

/* For Firefox */
#ajaxResults {
    scrollbar-color: #74D3A9 #f0f0f0;
    scrollbar-width: thin;
}
#legal p,  
#legal td,
#legal h2, 
#legal h3, 
#legal h4,
#legal h5 {
    padding-left: 40px; /* Push text in from the left */
    padding-right: 40px; /* Push text in from the right */
}
#legal ul {padding-left: 60px; /* Push text in from the left */
    padding-right: 60px; /* Push text in from the right */}

