/**********************
**  Site-wide styles **
**********************/

* {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box; *behavior: url("/_/js/boxsizing.htc");
}

body {
    background: #ffffff;
    font:16px Arial;
    line-height: 1.25em;
    color: #5e5e5e;
    border:0;
    padding: 0;
}

/********************
**  Helper classes **
********************/

br.clearboth {
    clear: both;
}

.align-right {
    text-align: right !important;
}

.align-center {
    text-align: center !important;
}

.largeRounded {
    -moz-border-radius: 0px 64px;
    -webkit-border-radius: 0px 64px 0px 64px;
    border-radius: 0px 64px;
}

.mediumRounded {
    -moz-border-radius: 0px 30px;
    -webkit-border-radius: 0px 30px 0px 30px;
    border-radius: 0px 30px;
}

.smallRounded {
    -moz-border-radius: 0px 20px;
    -webkit-border-radius: 0px 20px 0px 20px;
    border-radius: 0px 20px;
}

/*******************
** Page Structure **
*******************/

header {
    width:980px;
    height:116px;
    margin:0 auto;
    position:relative;
}

header #csaLogo {
    position: absolute;
    top:23px;
    left:0;
}

header #langaugeToggle {
    position: absolute;
    right:10px;
    top:30px;
    color: #5d5d5d;
    font-size: 14px;
    text-decoration: none;
}

header #siteSearch {
    width: 285px;
    height: 35px;
    background: url(/_/img/bg-search.png) no-repeat;
    position: absolute;
    right:15px;
    bottom: 5px;
}

header #siteSearch #query {
    position: absolute;
    top:8px;
    left:16px;
    border:0;
    width:228px;
}

header #siteSearch #sa {
    position: absolute;
    right:0;
    top:0;
}

#subHeader {
    width:980px;
    margin:5px auto 20px;
    position: relative;
}

#subHeader h1 {
    margin: 0;
}

#subHeader.smallImage {
    padding: 90px 0 0 400px;
    height: 130px;
}

#subHeader.smallImage img {
    position: absolute;
    top:0;
    left:0;
}

.largeImage {
    margin-bottom: 15px;
    position: relative;
    height:220px;
    width:980px;
}

.largeImage>img {
  position: absolute;
  z-index: 10;
}

section .largeImage h1 {
  position: absolute;
  line-height: normal;
  margin: 0;
  font: bold 38px arial;
  z-index: 20;
  color:white;
  bottom:20px;
  left:42px;
}

section {
    width:980px;
    margin:5px auto 35px;
}

hr {
    height:6px;
    background-color: #7b9c3a;
    border: 0;
}

/***************
** Navigation **
***************/

nav {
    width:980px;
    height:45px;
    margin: 0 auto;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    background: rgb(234,236,239); /* Old browsers */
    /* IE9 SVG, needs conditional override of 'filter' to 'none' */
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIyOCUiIHN0b3AtY29sb3I9IiNlYWVjZWYiIHN0b3Atb3BhY2l0eT0iMSIvPgogICAgPHN0b3Agb2Zmc2V0PSIxMDAlIiBzdG9wLWNvbG9yPSIjYjBiMmI1IiBzdG9wLW9wYWNpdHk9IjEiLz4KICA8L2xpbmVhckdyYWRpZW50PgogIDxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIGZpbGw9InVybCgjZ3JhZC11Y2dnLWdlbmVyYXRlZCkiIC8+Cjwvc3ZnPg==);
    background: -moz-linear-gradient(top,  rgba(234,236,239,1) 28%, rgba(176,178,181,1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(28%,rgba(234,236,239,1)), color-stop(100%,rgba(176,178,181,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  rgba(234,236,239,1) 28%,rgba(176,178,181,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  rgba(234,236,239,1) 28%,rgba(176,178,181,1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  rgba(234,236,239,1) 28%,rgba(176,178,181,1) 100%); /* IE10+ */
    background: linear-gradient(to bottom,  rgba(234,236,239,1) 28%,rgba(176,178,181,1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eaecef', endColorstr='#b0b2b5',GradientType=0 ); /* IE6-8 */

}

nav>ul {
    padding: 0;
    margin: 0;
}

nav>ul>li {
    float: left;
    list-style: none outside none;
    position: relative;
}

nav>ul>li>a {
    float: none;
    height:45px;
    width:161px;
    border-left: 1px solid #eef0f1;
    border-right: 1px solid #a0a1a1;
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    font-size:12px;
    line-height: 1em;
    font-weight: 700;
    color:#54740c;
    text-transform: uppercase;
    text-decoration: none;
}

nav>ul>li.first>a {
    width:168px;
    border-left: 0px;
    -webkit-border-top-left-radius: 5px;
    -webkit-border-bottom-left-radius: 5px;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-bottomleft: 5px;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

nav>ul>li.last>a {
    border-right: 0px;
    -webkit-border-top-right-radius: 5px;
    -webkit-border-bottom-right-radius: 5px;
    -moz-border-radius-topright: 5px;
    -moz-border-radius-bottomright: 5px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    width:168px;
}

nav>ul>li>a:hover {
    color: white;
    text-decoration: none;
    background: rgb(182,204,81); /* Old browsers */
    /* IE9 SVG, needs conditional override of 'filter' to 'none' */
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2I2Y2M1MSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjYlIiBzdG9wLWNvbG9yPSIjODZhMDQ4IiBzdG9wLW9wYWNpdHk9IjEiLz4KICAgIDxzdG9wIG9mZnNldD0iOTElIiBzdG9wLWNvbG9yPSIjNmE4NzQyIiBzdG9wLW9wYWNpdHk9IjEiLz4KICAgIDxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iIzYyODU0YiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgPC9saW5lYXJHcmFkaWVudD4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=);
    background: -moz-linear-gradient(top,  rgba(182,204,81,1) 0%, rgba(134,160,72,1) 6%, rgba(106,135,66,1) 91%, rgba(98,133,75,1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(182,204,81,1)), color-stop(6%,rgba(134,160,72,1)), color-stop(91%,rgba(106,135,66,1)), color-stop(100%,rgba(98,133,75,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  rgba(182,204,81,1) 0%,rgba(134,160,72,1) 6%,rgba(106,135,66,1) 91%,rgba(98,133,75,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  rgba(182,204,81,1) 0%,rgba(134,160,72,1) 6%,rgba(106,135,66,1) 91%,rgba(98,133,75,1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  rgba(182,204,81,1) 0%,rgba(134,160,72,1) 6%,rgba(106,135,66,1) 91%,rgba(98,133,75,1) 100%); /* IE10+ */
    background: linear-gradient(to bottom,  rgba(182,204,81,1) 0%,rgba(134,160,72,1) 6%,rgba(106,135,66,1) 91%,rgba(98,133,75,1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b6cc51', endColorstr='#62854b',GradientType=0 ); /* IE6-8 */

}

nav>ul>li ul.secondary {
    position: absolute;
    width:161px;
    padding: 20px 10px;
    margin: 0;
    left:-9999px;
    background: url(/_/img/bg-dropdown.png) no-repeat 0 bottom;
    line-height: 1em;
    z-index: 1000;
}

nav>ul>li ul.secondary a {
    color:white;
    font-size:12px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
}

nav>ul>li ul.secondary li {
    border-bottom: 1px solid white;
    padding-bottom: 5px;
    margin-bottom: 5px;
}

nav>ul>li ul.secondary li.last {
    border-bottom: 0;
}

nav>ul>li:hover ul.secondary {
    left:0;
}

#pageControls ul {
	display: inline-block;
	font-size: 10px;
	padding: 0;
	margin: 9px 0 0;
	float: left;
}

#pageControls li {
	display: inline;
}

#pageControls li a {
	border: 1px solid #c3c3c3;
	color: #c3c3c3;
	padding: 6px;
	-webkit-border-radius: 2px;
    border-radius: 2px;
    margin-left: 5px;
}

#pageControls li a:hover {
	text-decoration: none;
}

#pageControls li a.current {
    background-color: #729145;
    border: 1px solid #628337;
    color: white;
}

#pageControls>a {
	float: right;
}

/***************
** Typography **
***************/

h1 {
    font:36px Arial;
    font-weight: normal;
    margin: 0 0 35px;
    color: #7b9c3a;
}

h1>span {
    font-weight: bold;
}

.textPage h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
}

h2 {
    color: #7b9c3a;
    font-size: 18px;
    margin-bottom: 23px;
    font-weight: normal;
}

h2 strong {
    font-size: 20px;
}

.textPage h2 {
    font-size: 28px;
    font-weight: normal;
    margin-bottom: 30px;
    line-height: 1em;
}

a {
    text-decoration: none;
    color: #1f8dbc;
}

a:hover {
    text-decoration: underline;
}

p.modificationText {
    font-size: 10px;
}

/***********
** Tables **
***********/

/* Overrides */

table.noBorder {
    border: 0 !important;
}

table.noBorder tr th,
table.noBorder tr td {
    border: 0 !important;
}

/* Text table */

table.textTable {
    font-size: 12px;
    width:100%;
    border-top:1px solid #e6e6e7;
    border-left:1px solid #e6e6e7;
    line-height: 1em;
    margin-bottom: 12px;
}

table.textTable tr th,
table.textTable tr td {
    padding:6px;
    text-align: left;
    border-right:1px solid #dedfe0;
    border-bottom:1px solid #dedfe0; 
}

table.textTable tr th {
    background-color: #d9e5ce;
    font-size: 16px;
    padding: 10px 6px;
    position: relative;
}

/* Data table */

table.dataTable {
    font-size: 12px;
    width:100%;
    border:1px solid #e6e6e7;
    line-height: 1em;
    margin-bottom: 12px;
}

table.dataTable tr th,
table.dataTable tr td {
    padding:6px;
    text-align: left;
    border-right:1px solid #dedfe0;
    border-bottom:1px solid #dedfe0; 
}

table.dataTable tr.compactHeader th {
    font-size: 14px;
    background-color: #edf3e5 !important;
}

table.dataTable tr th:last-child,
table.dataTable tr td:last-child {
    border-right:none;
}

table.dataTable tr:last-child th,
table.dataTable tr:last-child td {
    border-bottom:none;
}

table.dataTable tr th {
    background-color: #d4d5d6;
    border-right:1px solid #d4d5d6;
    font-size: 14px;
}

.sortOrder {
    position: relative;
    top:2px;
    margin-left: 5px;
}

table.dataTable tr.striped {
    background-color: #e8e8e9;
}

table.dataTable tr.summaryRow {
    background-color: #edf3e5;
    font-size: 14px;
}

table.dataTable tr.summaryRow td {
    padding: 15px 6px;
}

table.dataTable tr.summaryRow strong {
    text-transform: uppercase;
}

a.sortHeaderSingle {
    display: inline-block;
    height:25px;
    padding-right:18px; 
    padding-top: 8px;
    position: relative;
}

a.sortHeaderSingle:hover,
a.sortHeaderDouble:hover {
  text-decoration: none;
}

a.sortHeaderSingle>img {
    position: absolute;
    right:0;
    top:3px
}

a.sortHeaderDouble {
    display: inline-block;
    height:25px;
    padding-right:18px; 
    position: relative;
}

a.sortHeaderDouble>img {
    position: absolute;
    right:0px;
    top:3px
}

/************
** Columns **
************/

.mediumLeft {
    width:570px;
    margin-left: 38px;
    float: left;
}

.mediumLeftNoMargin {
    width:595px;
    float: left;
}

.largeLeft {
    width:655px;
    margin-left: 38px;
    float: left;
}

.smallRight {
    width:256px;
    float: right;
}

.mediumRight {
    width:325px;
    float: right;
}

.mediumRightNoMargin {
    width:365px;
    float: right;
}

/************
** Modules **
************/

.callout {
    background-color:#7b9c3a;
    width:256px;
    font-size: 16px;
    font-weight: bold;
    color: white;
    padding: 31px 15px 50px 15px;
    position: relative;
    line-height: normal;
    margin-bottom: 10px;
}

.smallFloatCallout {
    background-color:#7b9c3a;
    width:176px;
    font-size: 16px;
    font-weight: bold;
    color: white;
    padding: 0 15px 40px;
    position: relative;
    line-height: normal;
    margin-bottom: 10px;
    float: right;
}

.footerCallout {
    background-color:#7b9c3a;
    width:235px;
    font-size: 14px;
    font-weight: bold;
    color: white;
    padding: 0 15px 40px;
    position: relative;
    height:98px;
    line-height: normal;
    margin:0 10px 10px 0;
    float: left;
}

.callout p,
.smallFloatCallout p, {
.footerCallout p
    margin-top: 0;
}

.footerCallout p {
  color: #e3ff54;
}

.callout span,
.smallFloatCallout span,
.footerCallout span {
    font-size: 12px;
    font-weight: normal;
}

.callout>img,
.smallFloatCallout>img,
.footerCallout>img {
    position: absolute;
    top:0;
    left: 0;
}

.callout .learnMoreLink,
.smallFloatCallout .learnMoreLink,
.footerCallout .learnMoreLink {
    position: absolute;
    right:22px;
    bottom: 12px;
}

.inlineHelp {
  position: relative;
  top:-6px;
  margin:1px;
}

/**********************************
** CSA Registered Carbon Neutral **
**********************************/

.carbonNeutral .largeImage h1 {
    font-size: 28px;
    font-weight: bold;
}

.carbonNeutral h2 {
    color: #4f7105;
    font-size: 24px;
    margin: 0 0 30px;
}

.carbonNeutral h3 {
    background-color: #e5ebd8;
    color: #648641;
    font-size: 22px;
    margin: 0 0 20px;
    padding: 10px;
}

.carbonNeutral p {
    line-height: 130%;
}

.carbonNeutral p strong {
    font-weight: normal;
    color:#648641;
}

.carbonNeutral table.dataTable th {
    background: #d9e5cf;
    font-size: 16px;
    color:#10090d;
    padding: 10px 6px;
}

.carbonNeutral .mediumRight {
    padding-top: 80px;
}

/******************************
** Details Page (eg How To) **
******************************/

.detailsPage h2 {
    font-weight: bold;
    font-size: 26px;
    line-height: normal;
    padding: 8px 25px;
    margin-top: 0;
    background-color: #e5ebd8;
}

.detailsPage h3 {
    font-weight: bold;
    font-size: 20px;
    color: #7b9c3a;
    margin-top: 0;
}

/*******************
** Search Results **
*******************/

.searchResults h1 {
    margin-bottom: 20px;
    -webkit-border-radius: 3px;
}

.basicSearch {
  color: #bed7ae;
}

.basicSearch a {
  color: #7b9c3a;
}

.basicSearch input[type='text'] {
    border:1px solid #cbcbcb;
    border-radius: 3px;
    height: 39px;
    width:550px;
    color: #5E5E5E;
}

.basicSearch input[type='image'] {
  margin: 0 10px;
  position:relative;
  top:14px;
}

.searchResults .resultsNum {
    font-size: 18px;
    color: #7b9c3a;
    margin-top: 30px;
    line-height: 1.5em;
}

.searchResults .resultsNum strong {
    font-size: 19px;
}

.searchResults table.textTable th {
    padding:14px 6px;
}

/********************
** Company Details **
********************/

h2.companyDetailsName {
    font-size:26px;
    line-height: normal;
    font-weight: bold;
    color:#68696c;
    background-color: #e5ebd8;
    padding: 6px 12px;
}

p.companyContacts {
    font-size: 14px;
}

p.companyContacts strong {
    color: #454547;
}

p.companyDisclaimer {
    font-size: 11px;
    text-transform: uppercase;
    text-align: right;
}

.coDetails table.dataTable th {
    background: #d9e5cf;
}

.coDetails table.dataTable th.largeHead {
    font-size: 16px;
    color:#10090d;
    padding: 10px 6px;
}

.coDetails #back {
  display: block;
  margin-bottom: 10px;
  float: right;
}

.defineVERRNumbers {
    float:right;
}

/********************
** Advanced Search **
********************/

.advancedSearch h1 {
  margin-bottom: 0;
}

.advancedSearch p.intro{
  color: #7B9C3A;
  font-size: 20px;
  margin-top: 10px;
}

.advancedSearch p.subIntro{
  color: #7B9C3A;
  font-size: 12px;
  line-height: normal;
}

.advancedSearch fieldset {
  border: none;
  background-color: #ebf0e2;
  font-size: 14px;
  line-height: normal;
  padding: 35px;
}

.advancedSearch .formColumnLeft {
  width: 420px;
  float: left;
}

.advancedSearch .formColumnRight {
  width: 420px;
  float: right;
}
.advancedSearch label{
  display: block;
  margin-bottom: 4px;
}

.advancedSearch label strong {
  color: #7b9c3a;
}
.advancedSearch input[type='button'] {
  background: white;
  border: 1px solid #D3D3D3;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  padding: 4px 8px;  
}

.advancedSearch input[type='text'] {
  background: white;
  border: 1px solid #D3D3D3;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  padding: 4px;
  width: 265px;
}

.advancedSearch input[type='text'].year {
  width:45px;
  margin-bottom: 7px;
}

.advancedSearch .buttonBar {
  height: 52px;
  float: right;
}

.advancedSearch .buttonBar a {
  color:#7b9c3a;
}

.advancedSearch .buttonBar div {
  display: inline;
  position: relative;
  top:-14px;
}

.advancedSearch .searchSubmit {
  position: relative;
}

/* JQuery UI Overrides */

.ui-combobox {
  position: relative;
  display: inline-block;
  padding-right: 2em;}

.ui-combobox-toggle {
  position: absolute !important;
  top: 0;
  bottom: 0;
  margin-left: -1px;
  padding: 0;
  background: white;
}

.ui-combobox-input {
  margin: 0;
  padding: 0.3em;
  width: 348px;
  background: white;
}

.ui-widget {
  font-size: 14px;
  font-family: Arial;
}

.ui-combobox .ui-button-icon-only, .ui-combobox button.ui-button-icon-only {
  width: 1.5em;
}

#ui-active-menuitem {
  background: #EBF0E2;
}

.uncheck_to_delete {
  list-style: none;
  margin: 0.5em 0!important;
  line-height: 1.5;
  padding: 0;
}

.uncheck_to_delete input {
  margin-right: 0.5em;
  vertical-align: middle;
}

#SearchFrom TD {
  vertical-align: top;
}

/***********
** Footer **
***********/

#pre_footer {
    background: url("/_/img/pre_footer.gif") no-repeat scroll 0 0 transparent;
    clear: both;
    height: 43px;
    margin: 10px auto 0;
    width: 980px;
}

#pre_footer #other_sites{
	width: 215px;
	float: right;
	display: inline; /* Fix IE6,7 */
	text-align: right;
	margin-top: 20px;
}

#pre_footer #other_sites select{
	width: 175px;
	font-size: 11px;
}

#footer{
	padding: 10px;
	text-align: left;
	margin: 10px auto;
	border-top: 1px solid #b2b2b2;
	font-size: 11px;
	width: 980px;
}

#footer a{
	float: left;
	padding: 0 15px 0 0;
	color: #b2b2b2;
}

#footer a.selected,
#footer a:hover {
	text-decoration: none;
	color: black;
}

#footer #legal_links{
	width: 350px;
	float: right;
	display: inline; /* Fix IE6,7 */
}

#legal_links a{
	float: right;
	padding: 0 0 0 15px;
}

.callout {
  padding: 11px 15px 30px 15px;
}
.mediumRounded {
    -moz-border-radius: 0px 0px;
    -webkit-border-radius: 0px;
    border-radius: 0px;
    background-image:url("/_/img/icon-rounded-bottom-left.png");
    background-position: left bottom;
    background-repeat:no-repeat;x
}
.callout.mediumRounded {
    background-color:#74992f;
}
.mediumRounded p{
    margin: 0px;
    width: 256px;
    padding: 0px;
    margin-left: -15px;
    margin-top: -12px;
    padding-top: 12px;
    padding-left: 15px;
    padding-bottom: 20px;
    background-image:url("/_/img/icon-rounded-top-right.png");
    background-position: right top;
    background-repeat:no-repeat;
}
