/**
 * @file
 * Page Styling
 *
 * Style the markup found in page.tpl.php. Also includes some styling of
 * miscellaneous Drupal elements that appear in the $content variable, such as
 * ul.links, .more-link, etc.
 */

/* Wrappers */
html {
}


body {
}

.mobile {
  display: none;
}

ul.links {
  text-transform: lowercase;
}

ul.links li span {
  display: none;
}

#left ul, #left li {
  font-family: Arial, sans-serif;
}

/* content lists should match content font */
/* home page style */
.clear-box {
  background-color: #fff; /* for IE8 and less */
  background-color: rgba(255, 255, 255, 0.8);
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  box-shadow: 2px 2px 11px -4px #333;
  padding: 10px;
  behavior: url('/sites/all/themes/ontario/scripts/PIE.htc');
}

.front #main-content {
  margin-top: 0;
}

.inner-box {
  background-color: #FFF;
  border: 1px solid #CCC;
  padding: 5px;
  height: 200px;
  overflow: hidden;
}

#home-news-wrapper .inner-box {
  height: 217px;
}

.close {
  position: absolute;
  background: url('/sites/default/files/close.png') no-repeat;
  width: 35px;
  height: 33px;
  right: -10px;
  top: -10px;
  cursor: pointer;
  z-index: 20;
}

/* Page wrapper, includes the .container class which sets the overall page or
   section width */
#page {
  max-width: 1020px;
}

.node-landing-page #banner {
  float: right;
  width: 1020px;
  margin-bottom: 20px;
}

/* Page title alignment for Landing pages. */
.node-landing-page #page-title {
  padding-left: 30px;
}

/* Page title alignment for Landing pages inside intro box. */
.node-landing-page #intro #page-title {
  padding-left: 7px;
}

/* set base styles for elements in design - for mobile styles in reponsive.portrait, for desktop in responsive.desktop  */

/* <header> -------------------------------
 * #top-right (links)
*  #branding (logo)
* search
 * */

/* Contains Ontario logo */
#branding {
  float: left;
  padding-left: 25px;
}

.branding-elements {
  margin: 0 0 0 10px
}

/*styles to strip out */
/* Main site header */
#header {
  background: none repeat scroll 0 0 #415635;
  height: 75px;
  position: fixed;
  top: 0;
  max-width: 1020px;
  width: 100%;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  z-index: 100;
}

.logged-in #header {
  top: 30px;
}

.toolbar-drawer #header {
  top: 65px;
}

#header.serviceontario {
  background-color: #02713c;
}

#top-right, #top-right-view {
  float: right;
  position: relative;
  right: 35px;
  top: 7px;
}

.page-customerror #top-right-view a.hidecontactus, .page-customerror h2.crtecenter, .page-customerror #contactFooter {
  display: none;
}

.page-customerror #top-right-view ul.language-switcher-locale-url li.fr {
  border-left: 0;
}

.page-customerror div#social {
  border-top: 0;
  padding-top: 0;
}


#top-right a, #top-right-view a {
  color: #fff;
  font-weight: normal;
  text-transform: lowercase;
  font-weight: normal;
}

#top-right a:first-child {
  border-right: 1px solid #fff;
  padding-right: 6px;
}

#top-right-view ul li a, .front #top-right-view ul li a {
  padding-right: 0 !important;
  padding-left: 2px !important;
  border-right: none;
}

/* maybe remove this style - the francais link used to be formatted this way */

#top-right-view ul {
  display: inline;
  margin-left: -10px;
}

#top-right-view ul li {
  display: inline;
  list-style-type: none;
  padding: 0 10px 0 5px; /* LTR */
}

.node-type-serviceontario-hompage #top-right a:nth-of-type(2) {
  border-right: 1px solid #FFF;
  padding-right: 5px;
}

.node-type-ministry #top-right, .node-type-serviceontario-homepage #top-right {
  -moz-border-radius: 0 0 10px 10px;
  -webkit-border-radius: 0 0 10px 10px;
  border-radius: 0 0 5px 5px;
  left: -7.8em;
  margin-right: 0;
  margin-top: 0;
  padding: 5px 11px;
  position: relative;
  top: 0;
  color: #000;
  behavior: url('/sites/all/themes/ontario/scripts/PIE.htc');
}

.node-type-serviceontario-homepage #top-right {
  top: -12.5em;
}

.i18n-fr #top-right .ministry-title {
  width: 480px;
}

.node-type-ministry #top-right {
  background-color: #fff; /* for IE8 and less */
  background-color: rgba(255, 255, 255, 0.8);
}

.node-type-serviceontario-homepage #top-right {
  background-color: #00713D;
  background-color: rbga(0, 113, 61, .8);
  border-color: #fff;
}

.node-type-ministry #top-right a:first-child, .node-type-serviceontario-homepage #top-right a:first-child,
.node-type-ministry #top-right a:nth-child(2), .node-type-serviceontario-homepage #top-right a:nth-child(2) {
  border-right: 1px solid #aaa;
  padding-right: 6px;
}

.i18fr-node-type-serviceontario-homepage #top-right .ministry-title {
  width: 460px;
}

.node-type-ministry #top-right a {
  color: #000;
}

.node-type-serviceontario-homepage #top-right a {
  border-color: #FFF;
  border-right: 1px solid #FFF;
  color: #FFF;
  padding-right: 6px;
}

.node-type-ministry #top-right > a.translation-link, .node-type-serviceontario-homepage #top-right > a.translation-link {
  border: 0 none;
}

/* Contains Ontario logo */
nav.first {
  position: fixed;
}

#explore-button {
  font-family: 'Cabin', sans-serif;
  color: #505050;
  background-color: #C6CEC3;
  -moz-border-radius: 5px 5px 0 0;
  -webkit-border-radius: 5px 5px 0 0;
  border-radius: 5px 5px 0 0;
  bottom: 0;
  cursor: pointer;
  font-size: 1.4em;
  padding: 0 5px 2px;
  position: absolute;
  right: 35px;
  width: auto;
  behavior: url('/sites/all/themes/ontario/scripts/PIE.htc');
}

.i18n-en #explore-button {
  width: 95px;
}

.i18n-fr #explore-button {
  /*    width: 97px; */
  width: 110px;
}

.not-front #explore-button a {
  color: #505050;
}

/* END styles to strip out */
/* Wrapper for any blocks placed in the header region. */
.region-header {
  float: left;
  margin: 25px 0 0 40px;
}

header .region-header {
  margin-left: 30px;
  width: 540px;
}

/* NCS - left off here ------ */
#explore-wrapper {
  float: right;
  position: relative;
  right: 34px;
  top: 22px;
}

#explore-list {
  height: auto;
  padding: 8px 15px;
}

#explore-list #categories-content, #explore-list #trending-content {
  display: inline;
  float: left;
}

#trending-content {
  width: 300px;
  margin-right: 10px;
}

#explore-list ul {
  margin-left: 0;
}

#reader-button a {
  background: url('/sites/default/files/book-icon.png') no-repeat 10px 10px #C6CEC3;
  -webkit-border-radius: 5px 5px 0 0;
  -moz-border-radius: 5px 5px 0 0;
  border-radius: 5px 5px 0 0;
  bottom: 0;
  cursor: pointer;
  font-family: 'Cabin', sans-serif;
  font-size: 1.5em;
  padding: 5px 5px 0;
  position: absolute;
  right: 135px;
  width: 37px;
  height: 31px;
  behavior: url('/sites/all/themes/ontario/scripts/PIE.htc');
}

.green {
  color: #69805C;
  font-weight: 200;
}

/* Wraps the 3 vertical columns - content, sidebar-first and sidebar-second */
#columns {
  background-color: #fbfbfb;
}


/* Floats the main content column */
#content-column {
  background-color: #fbfbfb;
}

/* Intro Box at top of page */
#intro {
  border-color: #DBE2D6;
  background-color: #FFF;
  display: block;
  float: left;
  border: 15px solid #DBE2D6;
  margin: 25px 15px 30px;
  padding: 5px;
  width: 890px;
}

#intro p, #intro h1 {
  padding: 0 10px;
}

#intro p, #intro ul, #intro ol {
  font-size: 16px;
}

.node-contact-us #intro p {
  margin: 5px 10px 15px -7px;
  font-size: 15px;
}

/* positions dotted graphic on contact page */
.formsep {
  background: url("/sites/all/themes/ontario/images/contactDots.png") no-repeat 370px -115px;
}

#intro img {
  float: left;
  padding: 6px 15px 15px 1px;
}

/* Wraps the main-content-header, the content region and feed-icons. Use this
   wrapper to style the entire main content column */
#main-content {

}


/* Wraps the content region, avoid applying styles to this wrapper, its used
   mainly for position and invisible gutters and can be problematic to style */
#content {
  margin-top: 75px;
}

.front #content {
  margin: 0;
}

/* $footer
 *  footer a
 *  footer_top
 *  footer hr
 * .minister-photo
 * .minister-content
 *  #swoosh - #curtain
 *  #about_button
 *  #notices
 * canvas
 * */


#footer_top {
  -webkit-border-image: url('/sites/default/files/footer_border.PNG') 0 / 1px stretch;
  -moz-border-image: url("/sites/default/files/footer_border.PNG") 0 0 0 0 / 0 0 0 0 stretch;
  height: 15px;
  margin-bottom: 40px;
}

#footer {
  background-color: #EDEDED;
}

#footer a {
  font-weight: 200;
}

footer hr {
  border: 1px solid #C7CCC5;
}


.minister-photo {
  float: left;
  display: inline;
  padding-right: 20px;
}

.minister-content {
  display: inline;
}

.field-name-field-minister-photo img {
  padding: 0 0 200px 20px;
}

#about_button {
  padding: 5px 3px 4px 10px;
  background: none repeat scroll 0 0 #696969;
  top: 80px;
  clear: both;
  /*  display: none; */
  position: relative;
  width: 140px;
  z-index: 1000;
  margin-left: 100px;
}

#footer #about_button a {
  background: url("../images/arrow-white.png") no-repeat scroll 97% 60% transparent;
  color: #FFF;
  font-size: 100%;
  padding-right: 15px;
}

#curtain {
  clear: both;
  background-color: #EDEDED;
  bottom: 120px;
  float: left;
  height: 90px;
  position: relative;
  width: 100%;
  overflow: hidden;
  z-index: 10;
}

.lt-ie9 #curtain {
  display: none; /*position: absolute; bottom: -50px; */
}

#notices {
  clear: both;
  float: none;
  text-align: center;
  padding-bottom: 15px;
}

/* end $footer -------------------------------------------------- */


/* Region wrapper, anything that adds width or positioning can break the layout! */
.region {
}


/* Add borders or other width to the region-inner */
.region-inner {
}


/* Regions can be nested, such as when using Panels module */
.region-inner .region-inner {
}


/* Gutters - if gutters are set in theme settings they will override these
   values: see Extensions > Modify Output > Design */
.block-inner,
.pane-inner,
.menu-wrapper,
  /*.branding-elements,*/
.breadcrumb-wrapper,
.attribution,
.at-panel .rounded-corner,
div.messages {
  margin-left: 10px;
  margin-right: 10px;
}

/* Panel pages need negative margin equal to the gutter width applied to #content,
  this is taken care of in theme settings as per above for normal gutters */
.page-panels #content {
  margin-left: -10px;
  margin-right: -10px;
}


/* AT Panels may need additional margin wrangling when in the content region */
#content .at-panel {
}

#logo {
  float: left;
  width: 182px;
  margin-top: 20px;
}

#logo img {
  position: relative;
}

#logo img[src*="ontario@2x.png"] {
  width: 150px;
  height: 41px;
}

#logo .serviceontario {
  top: 15px;
}

/* hgroup wrapper for website name and slogan, be careful with display properties
   as this can be hidden */
#name-and-slogan {
}


/* The name of the website */
#site-name {
}


#site-name a:link,
#site-name a:visited {
  text-decoration: none;
}


#site-name a:hover,
#site-name a:focus {
  text-decoration: underline;
}


/* The slogan (or tagline) of a website. */
#site-slogan {
}


/* Highlighted region */
.region-highlighted {
}


/* Wraps the page title, tabs and actions links. */
#main-content-header {
}


/* The title of the page. */
h1#page-title {
  /*margin: 20px 45px 0 45px;*/
}


h1#landing-page-title {
  font-size: 2.2em;
  margin: 0px 40px 0 30px;
  padding: 33px 10px 0;
}

h1

.404
msg {
  font-size: 1.25em;
}

.node-landing-page {
  margin-left: -10px;
}

/* Important messages (status, warning, and error) for the user. See also the
   declarations in messages.css. */
div.messages {
  margin: 1.5em 10px 1em -5px;; /* Drupal core uses "6px 0" margin */
}


/* Multiple message of the same type are output as a list */
div.messages ul {
  margin-top: 0;
  margin-bottom: 0;
}


/* Normal priority messages */
div.status {
}


/* Medium priority messages */
div.warning,
tr.warning {
}


/* High priority messages. See also the .error declaration below */
div.error,
tr.error {
}


/* Errors that are separate from div.messages status messages */
.error {
}


/* Warnings that are separate from div.messages status messages */
.warning {
}


/* Unpublished nodes - set here to supply a global style in one place */
.node-unpublished,
.comment-unpublished {
}


/* The word "Unpublished" displayed underneath the content */
.node-unpublished p.unpublished,
.comment-unpublished p.unpublished {
  color: #fff;
  color: rgba(239, 170, 170, 0.4);
  font-family: Impact, "Arial Narrow", Helvetica, sans-serif;
  font-size: 75px;
  font-weight: bold;
  height: 0;
  line-height: 1.2;
  margin: 0;
  padding: 0;
  overflow: visible;
  text-align: center;
  text-transform: uppercase;
  word-wrap: break-word;
}


/* Otherwise these elements will appear below the "Unpublished" text. */
.lt-ie8 .node-unpublished > *,
.lt-ie8 .comment-unpublished > * {
  position: relative;
}


/* Help text on a page */
.region-help {
}


/* Link to more help */
.more-help-link {
}


/* Wrapper for the actual page content */
.region-content {
}


/* Akin to a content-bottom region */
.region-aside {
}


/* List of links generated by theme_links(). */
ul.links {
  margin: 0;
  padding: 0;
}


/* Let the links be inline, but the container be a block. */
ul.links.inline {
  display: block;
}

a.language-link.active {
  display: none;
}

.page-customerror-404 #top-right-view {
  right: 25px
}

.page-customerror-404 #top-right-view ul {
  display: inline;
  margin-left: 0px;
}

#top-right-view li.en.first.active {
  display: none
}

#top-right-view li.fr.last.active {
  display: none
}

#top-right-view li.fr.last {
  border-left: 1px solid #fff;
  text-transform: lowercase;
}

#top-right-view li.en.first {
  border-left: 1px solid #fff;
  text-transform: lowercase;
}

/* The link to the RSS or Atom feed for the current list of content */
.feed-icon {
}


/* Aggregator, blog, and forum more link */
.more-link {
}


/* Search results are an ordered list so we reset the margin */
.search-results {
  margin: 0;
}


/*
 * First sidebar
 * Remember to NOT add padding or margin to your .region-sidebar-first.
 */

.region-sidebar-first {
}


/*
 * Second sidebar
 * Remember to NOT add padding or margin to your .region-sidebar-second.
 */

.region-sidebar-second {
}


/*
 * Full Width Wrappers - these are used in the optional
 * page--full-width-wrappers.tpl.php template.
 */

#page-wrapper {
}


#leaderboard-wrapper {
}


#header-wrapper {
  background: #ddd; /* Debug style, is this working? */
}


#nav-wrapper {
}


#breadcrumb-wrapper {
}


#messages-help-wrapper {
}


#secondary-content-wrapper {
}


#content-wrapper {
}


#tertiary-content-wrapper {
}


#footer-wrapper {
  background: #666; /* Debug style, is this working? */
  color: #fff; /* Debug style, is this working? */
}


/* Devel Module */
.dev-query {
  background: #eee;
  padding: 30px;
}

/* Home Page Styles */

.ministry-title {
  float: left;
  color: #000;
  font-family: 'Cabin';
  font-size: 1.1em;
  font-weight: 300;
  width: 501px;
  padding-right: 6px;
}

.node-type-ministry .ministry-title {
  width: 507px;
}

.node-type-serviceontario-homepage .ministry-title {
  color: #fff;
}

.node-type-serviceontario-hompage #top-right a:nth-of-type(1) {
  border-right: 1px solid #FFF;
  padding-right: 5px;
}

#home-logo {
  background-color: #fff; /* for IE8 and less */
  background-color: rgba(255, 255, 255, 0.8);
  -moz-border-radius: 0 0 10px 10px;
  -webkit-border-radius: 0 0 10px 10px;
  border-radius: 0 0 10px 10px;
  float: left;
  left: 80px;
  padding: 50px 10px 10px;
  position: relative;
  width: 125px;
  behavior: url('/sites/all/themes/ontario/scripts/PIE.htc');
}

#home-bg {
  background: url("/sites/default/files/front-image.png") no-repeat scroll 0 0 transparent;
  height: 537px;
}

#home-bg.serviceontario {
  background: url("/sites/default/files/SOHomepageBannerBackground.jpg") no-repeat scroll 0 0 transparent;
}

#home-bg.economic-development-and-innovation {
  background: url("/sites/default/files/medi_bg.png") no-repeat scroll 0 0 transparent;
}

#home-welcome-wrapper {
  float: left;
  position: relative;
  height: 160px;
  left: 200px;
  top: 37px;
}

#home-explore-wrapper {
  float: left;
  /*display: none;*/
  position: relative;
  left: 5.7em;
  top: -6em;
  width: 810px;
}

#home-featured-wrapper {
  float: left;
  display: none;
  position: relative;
  left: 5.7em;
  top: -6em;
  width: 810px;
}

#home-news-wrapper {
  display: none;
  float: left;
  position: relative;
  left: 5.7em;
  width: 810px;
  top: -6em;
}

#home-welcome-content {
  float: left;
  position: relative;
  width: 588px;
  z-index: 10;
  height: 150px;
}

#home-welcome-content span {
  display: table;
  float: left;
  width: 49%;
  height: 100%;
  text-align: center;
}

#home-explore-content span {
  width: 396px;
  height: 100%;
  float: left;
  text-align: center;
}

#home-explore-content span img {
  padding: 20px 30px;
}

.home-explore-list {
  margin: 5px;
  overflow: hidden;
}

.front .home-explore-list {
  margin-left: 10px;
  height: 190px;
}

#home-welcome-content span h2, #home-explore-content span h2, #home-welcome-content span p, #home-explore-content span p {
  display: table-cell;
  vertical-align: middle;
}

#home-featured-content h2 a {
  color: #415634;
  font-weight: 200;
}

#home-featured-content img {
  width: 250px; /* especially for ie */
}

#home-explore-content {
  height: 210px;
}

#home-welcome-close {

}

#home-navbar {
  font-family: 'Cabin', sans-serif;
  font-size: 1.4em;
  position: relative;
  float: left;
  top: 13em;
  left: 4.1em;
  width: 826px;
  -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
  -moz-box-sizing: border-box; /* Firefox, other Gecko */
  box-sizing: border-box; /* Opera/IE 8+ */
}

.node-type-serviceontario-homepage #home-navbar {
  top: 11.2em;
}

#home-navbar a, #spotlight-button a, #spotlight-button .field-item a:link {
  color: #fff !important;
  font-weight: 200;
}

/* test box size */
.box-size {
  -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
  -moz-box-sizing: border-box; /* Firefox, other Gecko */
  box-sizing: border-box; /* Opera/IE 8+ */
}

.home-button {
  text-align: center;
  background-color: #415634;
  border: 1px solid #8D9470;
  margin-right: -10px;
  cursor: pointer;
}

#left-button, #right-button {
  width: 50%;
  min-width: 392px;
  display: inline-block;
  background-color: #696969;
}

.home-button.serviceontario {
  background-color: #374850;
}

.home-button.economic-development-and-innovation {
  background-color: #384850;
}

.home-button.home-selected, #home-navbar .home-button.home-selected a {
  background-color: #FFF !important;
  color: #8A7C24 !important;
}

#home-explore-button {
  width: 411px;
  display: inline;
  display: inline-block;
}

#home-featured-button {
  width: 225px;
  display: inline;
  display: inline-block;
}

#home-featured-button.wide {
  padding: 0px 80px;
}

#home-news-button {
  width: 176px;
  display: inline;
  display: inline-block;
}

#home-news-button.wide {
  padding: 5px 158px;
}

.news-box-image {
  position: absolute;
  bottom: 14px;
  overflow: hidden;
  height: 100px;
}

.news-box-image img {
  position: relative;
  width: 175px;
  height: auto;
}

.news-box-item {
  position: relative;
  border-right: 1px solid #C7CCC5;
  float: left;
  overflow: hidden;
  padding: 4px 15px 0;
  width: 180px;
  height: 100%;
}

.news-box-item h2, .news-box-newsroom h2 {
  font-size: 1.20em;
  line-height: 1.4em;
  margin-bottom: 10px;
}

.news-box-item h2 a, .news-box-newsroom h2 a {
  font-weight: 200;
  /*color: #415634; make same as rest of site */
}

.news-box-item h2 a span, .news-box-newsroom h2 a span {
  font-size: 13px;
}

.news-box-item .date {
  color: #444;
  font-size: 12px;
  letter-spacing: 0;
  margin: 0;
  padding: 0;
}

.news-box-newsroom {
  display: table;
  float: left;
  padding: 0 1px;
  width: 158px;
  height: 100%;
}

.news-box-newsroom h2 {
  display: table-cell;
  vertical-align: middle;
  padding-left: 20px;
}

.home-explore-list a, #explore-list a {
  font-weight: 200;
}

.home-explore-list .field-content, #explore-list .field-content {
  text-align: left !important;
  margin-bottom: 7px;
  display: block;
}

.home-explore-list ul, #explore-list ul {
  list-style: none;
  line-height: 16px;
  margin: 5px 0 0 2px;
}

.home-explore-list h2 {
  cursor: pointer;
}

#category_content {
  display: none;
}

#trending_content {

}

#spotlight-button {
  background-color: #71641d;
  -moz-border-radius: 0 5px 5px 0;
  -webkit-border-radius: 0 5px 5px 0;
  border-radius: 0 5px 5px 0;
  color: #FFF;
  cursor: pointer;
  font-family: 'Cabin', sans-serif;
  font-size: 1em;
  font-weight: 200;
  height: 27px;
  position: relative;
  top: 35.7em;
  vertical-align: middle;
  width: 250px;
  behavior: url('/sites/all/themes/ontario/scripts/PIE.htc');
}

.node-type-serviceontario-homepage #spotlight-button {
  background-color: #696969;
}

#spotlight-button .field-item {
  position: absolute;
  left: 5px;
  top: 2px;
}

.plus-minus {
  position: absolute;
  right: 5px;
  font-size: 2em;
  line-height: 20px;
}

#spotlight-wrapper {
  display: none;
  position: relative;
  left: 82px;
  width: 806px;
  float: left;
  top: -4.5em;
}

#spotlight-content {
  height: auto;
  padding: 15px 15px 0px;
}

/* Feature Controller Styles */
.featured_selected, .featured_unselected {
  cursor: pointer;
  padding: 0 10px;
}

.featured_selected {
  background: url("/sites/default/files/dot_unfilled.png") no-repeat scroll 0 1px transparent;
}

.featured_unselected {
  background: url("/sites/default/files/dot_filled.png") no-repeat scroll 0 1px transparent;
}

#featured-controls {
  margin: 0 auto;
  text-align: center;
  width: 300px;
}

.next, .prev {
  color: #415634;
  cursor: pointer;
  font-weight: 600;
}

.next {
  margin-left: 10px;
}

.prev {
  margin-right: 10px;
}

/* Right Column Styles */
#right {
  position: relative;
}

#right {
  float: right;
  width: 260px;
  margin-right: 25px;
}

.right-item {
  padding: 0 20px 20px;
  margin-bottom: 20px;
  position: relative;
}

.right-item {
  padding-left: 14px;
  padding-right: 0;
}

.right-item h2 {
  margin-left: -14px;
}

.right-item h2, #right h2.block-title {
  background-color: #DBE2D6;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  margin-bottom: 10px;
  padding: 2px 8px;
  position: relative;
  behavior: url('/sites/all/themes/ontario/scripts/PIE.htc');
}

#right .right-item .field-items p {
  margin-bottom: 10px;
  padding-right: 10px;
}

.right-item .news-link {
  /*font-family: 'Cabin', sans-serif;
    color: #6a7d5d; */
  color: #7C6A06;
  font-weight: 200;
  font-size: 14px;
}

.right-item .date {
  /*  font-family: 'Cabin', sans-serif;
    color: #8f8f8f; */
  color: #444;
  font-size: 12px;
  letter-spacing: 0;
}

.right-item .twitter-date {
  font-style: italic;
  color: #8f8f8f;
}

.tweet {
  margin-bottom: 10px;
  border-bottom: 1px solid #cecece;
  padding-bottom: 5px;
}

#left {
  margin-right: 0;
  padding-right: 4px;
}

#toc-menu {
  background-color: #fff;
  z-index: 99;
}

.toc, #block-views-history-rec-similar-nodes-bloc, .left_sidebar {
  border: 5px solid #DBE2D6;
  padding: 0 5px;
}

.toc-title {
  background: none repeat scroll 0 0 #415635;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px 5px 5px 5px;
  color: #FFF;
  font-family: 'Cabin', sans-serif;
  font-size: 1.5em;
  font-weight: 200;
  margin: -9px;
  padding: 0 10px;
  text-align: left;
  position: relative;
  behavior: url('/sites/all/themes/ontario/scripts/PIE.htc');
}

#toc-list li a {
  /*color: #445737;*/
  font-size: 105%;
}

#toc-list {
  background-color: #FBFBFB;
}

#right h2.block-title {
  background-color: #DBE2D6;
  padding: 2px 8px;
  color: #646464;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  behavior: url('/sites/all/themes/ontario/scripts/PIE.htc');
}

.sticky ul {
  list-style: none;
  margin: 0;
}

.right-sidebar-top .block-inner {
  margin: 0;
}

.field-name-field-right ul {
  padding: 0px;
}

.item-list, #toc-list {
  margin-top: 10px;
}

#right .block-title .plus-minus {
  float: right;
  position: relative;
  top: 5px;
  right: 0;
}

#left {
  padding-right: 4px;
  padding-bottom: 10px;
  margin-right: 0;
}

.toc-title .plus-minus {
  float: right;
  top: 0;
  right: 8px;
}

.toc-title, #right .block-title {
  cursor: pointer;
}

li.toc-active {
  background-color: #DBE2D6;
}

li.toc-active a {
  font-weight: 700;
}

/* Minister Profile Page Styles */

#minister-social {
  padding: 0 10px 50px;
}

#minister-social .field {
  display: inline;
  float: left;
  padding: 5px 30px 0 0;
}

#minister-social img {
  float: left;
  margin-right: 5px;
}

/* in page styling for articles and other content
 *
 * */
.callout-box {
  border: 1px solid #CCC;
  width: auto;
  padding: 6px;
  margin: 1.5em, auto;
  text-align: center;
  font-size: 1.2em;
}

/* Lightbox */
#outerImageContainer {
  background-color: #fbfbfb;
}

/* Search Results */
.query_results {
  padding-top: 37px;
}

.type_name {
  float: left;
  width: 125px;
}

.type_number {
  float: left;
  width: 75px;
}

.total_results {
  font-size: 1.2em;
  clear: both;
  margin-top: 20px;
}

#search_results {
  float: left;
  width: 100%;
}

#search_results ul {
  list-style-type: none;
  margin: 0 0 1.5em 0;
}

#search_results li {
  margin: 20px 0;
}

#search_results h3 {
  font-size: 1.2em
}

#search_results em {
  font-style: normal;
  font-weight: bold;
}

.search_content {
  margin: 20px 0 0 0;
}

#date_relevance_filter {
  float: right;
}

.search_results_meta {
  color: #76787A;
  padding-right: 20px;
}

.left_sidebar {
  margin-bottom: 20px;
  float: left;
}

.left_sidebar h2 {
  margin: 20px 0 0 30px;
}

.left_sidebar_content {
  float: left;
  margin: 20px;
  width: 250px;
}

.query_results .left_sidebar_content li {
  padding-left: 10px;
}

.query_results .left_sidebar_content li .type_name a {
  padding-left: 0px;
}

.query_results .left_sidebar_content li .type_name {
  padding-left: 10px;
}

.query_results .left_sidebar_content li.active {
  background: #DBE2D6;
  float: left;
  width: 220px;
}

.query_results .left_sidebar_content li.active a {
}

#block-search-form {
  margin-left: 20px;
}

.form-item-search-block-form, .form-action-search-block-form {
  display: inline;
}

.search_query {
  font-style: italic;
  font-weight: bold;
}

.query_results .grid_7 {
  margin-left: 20px;
}

#search_results_more {
  cursor: pointer;
  background-color: #415634;
  font-family: 'Cabin', sans-serif;
  border: 1px solid #C6CEC3;
  -moz-border-radius: 5px 5px 5px 5px;
  -webkit-border-radius: 5px 5px 5px 5px;
  border-radius: 5px 5px 5px 5px;
  width: 300px;
  color: white;
  margin: 20px auto 20px auto;
  float: left;
  position: relative;
  behavior: url('/sites/all/themes/ontario/scripts/PIE.htc');
  display: block !important;
}

a#more_results {
  text-decoration: none;
}

a.primaryButton2.odfilebutton {
  text-decoration: none;
}

.icon_video_photo {
  padding-left: 10px;
}

.search-results-suggestions {
  margin-top: 20px
}

/* Search Autocomplete */

/* Regular Pages */
#search-autocomplete {
  width: 453px;
  left: 247px;
  top: 55px;
  display: none;
  border-top: 1px solid #999;
  border-right: 1px solid #999;
  border-left: 1px solid #999;
}

#search-autocomplete {
  background: #FFF;
  position: absolute;
  float: left;
  z-index: 30;
}

#search-autocomplete ul {
  margin-right: 0px;
  margin-top: 0px;
  margin-left: 0px;
  margin-bottom: 0px;
}

#search-autocomplete ul li {
  border-bottom: 1px solid #999;
  float: left;
  margin-left: 0px;
  padding-left: 0px;
  list-style-type: none;
}

#search-autocomplete ul li.active {
  background: #DBE2D6
}

#search-autocomplete ul li a {
  padding: 10px;
  float: left;
  font-size: 1.1em;
  position: static;
  width: 437px;
  border-bottom: none;
}

/* Home Page */
#home-search #search-autocomplete {
  width: 560px;
  left: 9px;
  top: 48px;
  display: none;
  border-top: 1px solid #999;
  border-right: 1px solid #999;
  border-left: 1px solid #999;
}

#home-search #search-autocomplete ul li a {
  padding: 10px;
  float: left;
  font-size: 0.8em;
  position: static;
  width: 541px;
  border-bottom: none;
}

/* Open Data Landing Page */

.node-type-open-data-landing-page #wrapper {
  margin-top: 20px;
}

.node-type-open-data-landing-page #search_results li {
  float: left;
  margin: 20px 0 0 0;
}

.node-type-open-data-landing-page .left_sidebar {
  border: none;
  margin-bottom: 0;
}

.node-type-open-data-landing-page .left_sidebar input {
  margin-right: 5px;
}

.node-type-open-data-landing-page .left_sidebar label {
  display: inline;
}

.node-type-open-data-landing-page .left_sidebar h2 {
  margin: 0;
}

.node-type-open-data-landing-page .left_sidebar_content {
  margin: 10px 0;
}

.node-type-open-data-landing-page .left_sidebar_content li {
  padding-left: 0;
}

.node-type-open-data-landing-page .block-title {
  float: left;
  width: 135px;
}

.node-type-open-data-landing-page .region-footer-right .block-title {
  float: none;
  width: 135px;
}

.node-type-open-data-landing-page .dataset-filter-count {
  float: left;
  width: 100px;
}

.search_dataset_result_left {
  float: left;
  width: 220px;
}

.search_dataset_result_right {
  float: left;
  width: 337px;
}

#data-submit, #list-topics, #list-file-types, #list-publishers {
  display: none;
}

#search_results_plus_more_container {
  margin-bottom: 40px;
  float: left;
}

/* Document Summary Page */
.doc_info {
  margin: 10px 0 20px 10px;
}

.doc_info {
  margin: 10px 0 20px 10px;
  float: left;
  width: 650px;
}

.doc_updated_date {
  margin: 10px 0 10px 0;
  width: 600px;
  text-align: right;
}

.node-document-summary-page h1 {
  padding: 20px 0 10px 0;
}

.node-document-summary-page .field-name-field-intro {
  padding: 20px 0 0 0;
  float: left;
  width: 650px;
}

.node-document-summary-page .field-name-field-intro h2 {
  padding-left: 10px;
}

.node-document-summary-page .full-intro-width {
  width: 890px;
}

.download {
  cursor: pointer;
  background-color: #415634;
  font-family: 'Cabin', sans-serif;
  border: 1px solid #C6CEC3;
  border-radius: 5px 5px 5px 5px;
  width: 300px;
  color: white;
  margin: 0 0 20px 10px;
  float: left;
  position: relative;
  behavior: url('/sites/all/themes/ontario/scripts/PIE.htc');
}

.download a, #search_results_more a {
  color: #FFF;
  padding: 10px 0 10px 0;
  margin: 0 auto;
  text-align: center;
  display: block;
}

.DV-container {
  z-index: 50;
}

.DV-container {
  z-index: 50;
}

.document_preview {
  float: left;
  margin: 10px;
}

.padTop1 {
  padding-top: 1em;
}

.accessibility_help, .online_version {
  width: 200px;
  margin: 0 0 20px 10px;
  float: left;
  position: relative;
}

.accessibility_help a, .online_version a {
  padding: 10px 0 10px 0;
  margin: 0 auto;
  text-align: center;
  display: block;
}

/* Media */
#gallery, #youtube {
  cursor: pointer;
}

#galleria-wrapper, #youtube-wrapper {
  position: absolute;
  right: 320px;
  top: -335px;
}

#galleria {
  height: 420px;
}

#youtube-player {
  height: auto;
}

.fact-box {
  position: relative;
  background-color: #6C8959;
  -moz-border-radius: 5px 5px 5px 5px;
  -webkit-border-radius: 5px 5px 5px 5px;
  border-radius: 5px 5px 5px 5px;
  behavior: url('/sites/all/themes/ontario/scripts/PIE.htc');
  color: #FFF;
  padding: 20px;
}

/*Splash Page*/
#splashPage {
  overflow: hidden;
}

#splashPage .wrapper {
  width: 100%;
  max-width: 960px;
  padding: 0px;
  overflow: hidden;
  margin: 0 auto;
  height: auto;
  position: relative;
}

body.node-type-splash {
  font-family: 'Cabin', sans-serif;
  font-size: 62.5%; /* 1em - 10px */
  font-family: Arial, sans-serif;
  margin: 0 auto;
  background-color: #fff;
  width: 100%;
  max-width: 1024px;
  margin: 0 auto;
}

#splashPage #brand {
  background-color: #FFF;
  background-color: rgba(255, 255, 255, 0.7);
  width: 16.66%; /* 3 col / 180px*/
  margin-left: 3%; /*DEV*/
  border-radius: 0 0 10px 10px;
  margin-bottom: 10.5%;
}

#splashPage #brand a {
  text-align: center;
  display: block;
  margin: 0 auto;
  padding: 30% 5% 10%;
}

#splashPage #brand img {
  display: inline-block;
}

#splashPage form {
  width: 58.75%;
  padding: 10px;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 10px;
  margin: 0 auto;
  position: relative;
}

#splashPage .splashSearch {
  -webkit-appearance: textfield;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  border: 1px solid #969797;
  border-right: 0 none;
  font-size: 2.5em;
  height: 50px;
  line-height: 1.5em;
  padding: 0 120px 0 10px;
  width: 100%;
  display: inline-block;
  position: relative;
  color: #000;
}

#splashPage .searchMobile {
  width: 50px;
  height: 50px;
  background-color: #3F5730;
  float: right;
  display: inline-block;
  position: absolute;
  top: 10px;
  right: 10px;
}

#langBtn {
  margin: 10% auto;
  display: block;
  margin-top: 15%;
}

#splashPage .nav p {
  text-align: center;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 10px;
  padding: 5px 0;
  display: block;
  width: 235px;
  margin: 0 auto;
}

#splashPage .nav a {
  text-decoration: none;
  color: #fff;
  background: #415634 url(../images/arrow-white.png) no-repeat 90% 46%;
  border: 0 none;
  font-size: 1.8em;
  margin: 0;
  color: #fff;
  height: 12px;
  padding: 12px 30px 12px 10px;
  line-height: 0.5em;
  display: inline-block;
  border-radius: 5px;
}

#splashPage .nav a:first-child {
  margin-right: 20px;
}

#splashPage .nav a:last-child {
}

/* for splash page */
aside#info {
  position: fixed;
  right: 0;
  bottom: 0;
  color: #FFF;
  background-color: #000;
  padding: 5px;
  font-size: 1.4em;
  opacity: 0.7;
}

/* for homepage */
.node-type-ministry #info-container {
  position: relative;
  bottom: -19.89em;
  height: 30px;
  width: 50em;
  float: right;
  clear: both;
}

.node-type-ministry aside#info {
  position: absolute;
  font-size: 0.9em;
}

.node-type-ministry .info #home-explore-wrapper, .node-type-ministry .info #home-featured-wrapper, .node-type-ministry .info #home-news-wrapper {
  top: -8em;
}

.node-type-ministry .info #spotlight-wrapper {
  top: -7em;
}

#spotlightImage {
  z-index: 0;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
}

/*Styles for Home Page*/
#homePage {
  position: relative;
  width: 100%;
}

#spotlight {
  position: absolute;
  top: 0px;
}

#homeHeader,
#homeNav,
#content {
  z-index: 9999;
}

.touch .wrapper {
  -webkit-text-size-adjust: 100%;
}

@media only screen
and (min-width: 768px)
and (max-width: 1008px) {

}

@media only screen
and (max-width: 767px) {
  #splashPage #brand {
    width: 20%; /* 3 col / 180px*/
    margin-bottom: 5%;
  }

  #splashPage form {
    border-radius: 5px;
  }

  #langBtn {
    margin: 4% auto;
  }

  #splashPage nav p {
    width: 215px;
    padding: 5px;
  }

  #splashPage nav a {
    font-size: 1.4em;
    height: 8px;
  }
}

@media only screen
and (min-width: 480px)
and (max-width: 767px) {

}

@media only screen
and (min-width: 320px)
and (max-width: 479px) {
  #splashPage form {
    width: 88%;
  }
}

@media only screen
and (min-width: 5px)
and (max-width: 320px) {
  body {
    min-width: 240px;
  }

  #splashPage nav p {
    width: 180px;
    padding: 5px;
  }

  #splashPage nav a {
    font-size: 1em;
    height: 3px;
    line-height: 0.1em;
  }
}

/* FAQ styles */
#initialfaqs {
  margin: 5px 10px 15px 10px;
}

ul.contact-faqs {
  list-style-type: none;
  margin: 0 20px 10px 10px;
}

#initialfaqs .answer {
  display: none;
}

#output_suggestions li {
  margin-top: 10px;
}

/* fixit styles ******************************/
.no-border {
  border: 0;
}

.left-pad-20 {
  padding-left: 20px;
}

.left-pad-40 {
  padding-left: 40px;
}

.img-left {
  clear: left;
  float: left;
  margin: 0 1.5em 1em 0
}

.img-right {
  clear: right;
  float: right;
  margin: 0 0 1em 1.5em
}

/* list style - for side menu (recommended) */
.item-list ul li {
  margin-bottom: 10px;
}

/* links override - font in running text */
.node-content li a, .node-content p a {
  font-family: Arial;
}

#left li a, #left p a, .messages a {
  text-decoration: underline;
}

.block-content #toc-list li {
  margin-left: -20px;
  margin-right: -10px;
  padding: 2px 15px 4px 20px;
}

#footer a {
  font-size: 113%;
}

#footer .item-list ul li {
  margin-bottom: 6px;
}

#contact a {
  height: 25px;
  width: 97px;
  min-width: 97px;
  display: block;
  margin-left: 27px;
  background-color: #696969;
  border-radius: 2px;
  color: #fff;
  -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
  -moz-box-sizing: border-box; /* Firefox, other Gecko */
  box-sizing: border-box; /* Opera/IE 8+ */
}

section#contact, div#contact {
  border-left: 1px solid #C7CCC5;
  border-right: 1px solid #C7CCC5;
  height: 100%;
  margin-left: 3px;
  margin-right: 3px;
  min-height: 432px;
}

#suggestion-boundary {
  width: 298px;
  min-height: 286px
}

/*#contact a:hover {
  background-color: #FBFBFB;
  color: #696969;
  outline: 2px solid #696969;
}*/

#contactFooter a {
  background: url('/sites/all/themes/ontario/images/emailphoneBoxBothButtons.png') no-repeat 0 0;
}

#socialfb a {
  background: url('/sites/all/themes/ontario/images/facebookBothButtons.png') no-repeat 0 0;
}

#socialt a {
  background: url('/sites/all/themes/ontario/images/twitterBoxBothButtons.png') no-repeat 0 0;
}

#socialu a {
  background: url('/sites/all/themes/ontario/images/youtubeBoxBothButtons.png') no-repeat 0 0;
}

#socialfl a {
  background: url('/sites/all/themes/ontario/images/flickrBoxBothButtons.png') no-repeat 0 0;
}

#socialtm a {
  background: url('/sites/all/themes/ontario/images/tumblrBoxBothButtons.png') no-repeat 0 0;
}

#socialu a img, #socialt a img, #socialfb a img, #contactFooter a img, #socialfl a img, #socialtm a img {
  display: none
}

#socialu a:hover, #socialu a:focus, #socialt a:hover, #socialt a:focus, #socialfb a:hover, #socialfb a:focus, #socialfl a:hover, #socialfl a:focus, #socialtm a:hover, #socialtm a:focus, #contactFooter a:hover, #contactFooter a:focus {
  background-position: 0 -28px;
}

#contactFooter a span, #socialu a span, #socialt a span, #socialfb a span, #socialfl a span, #socialtm a span, a span.accessible, p.accessible {
  margin-left: -9999px;
  height: 0;
  overflow: hidden;
  position: absolute;
  top: auto;
  width: 1px;
}

/* contact form header styling */
h3.feedbackForm, h2.feedbackForm, h3.oitcForm, h2.oitcForm {
  font-family: Arial;
  font-size: 1em;
  font-weight: 700;
}

.oitcForm {
  margin-bottom: -15px;
}

#social {
  border-top: 1px solid #C7CCC5;
  padding-top: 10px;
}

.height_471 {
  height: 471px;
}

/* service ontario splash styles */

.node-type-splash #splashPage #top-right {
  background-color: #006C36;
  -moz-border-radius: 0 0 5px 5px;
  -webkit-border-radius: 0 0 5px 5px;
  border-radius: 0 0 5px 5px;
  color: #FFF;
  height: 40px;
  position: absolute;
  right: 140px;
  top: 0;
  width: 600px;
}

#splashPage #top-right .ministry-title {
  color: #FFF;
  font-family: 'Cabin';
  font-size: 2.2em;
  padding: 6px 0 0 10px;
}

caption {
  display: none
}

.green {
  color: #69805C;
  font-weight: 200;
  font-size: 140%;
  padding: 10px;
}

.page-customerror-404 h1 {
  font-size: 1.25em;
}

.webform-confirmation, .button-links {
  padding: 20px 0
}

.news-box-item .news-box-desc {
  font-size: 12px;
}

.errormsg {
  color: rgb(253, 6, 6);
}

/* indenting list in intro box with image*/
#intro ul.indent {
  list-style-position: inside;
}

.locale-untranslated {
  display: none;
}

/*---------------------------Emergency Banner------------------------------*/
#home-emergency-wrapper {
  float: left;
  position: relative;
  left: 82px;
  top: 2px;
  width: 810px;
}

#home-emergency-content .views-row {
  display: block;
  float: left;
  overflow: auto;
  padding: 12px;
  width: 785px;
}

#home-emergency-content h2 a {
  color: #415634;
  font-weight: 200;
}

#home-emergency-content img {
  width: 200px;
  height: 150px;
}

.emergency_button {
  background: no-repeat scroll 90% 46% #415634;
  background-color: #415634;
  border: 0 none;
  border-radius: 5px 5px 5px 5px;
  box-shadow: 0 0 4px #000 inset, 0 2px 1px rgba(255, 255, 255, 0.5) inset, 0 -2px 2px rgba(0, 0, 0, 0.6) inset, 0 -1px 2px rgba(255, 255, 255, 0.3) inset;
  color: #FFF;
  font-family: 'Cabin', sans-serif;
  font-size: 115%;
  font-weight: 200;
  min-height: 20px;
  padding: 7px;
  position: relative;
  float: right;
  margin-right: 10px;
}

.emergency_button a {
  color: #FFF;
}

.views-field-field-emergency-image {
  float: left;
  margin-right: 20px;
}

/* Mapping */

.fire_option {
  float: left;
  position: relative;
  margin: 20px 20px 0 0;
}

.fire_map {
  width: 638px;
  height: 500px
}

#fire-side {
  border: 5px solid #DBE2D6;
  margin-bottom: 10px;
}

#fire-side h2 {
  margin: 20px 30px;
}

#fire-side div {
  margin: 20px 30px 30px;
  max-height: 432px;
  overflow-x: hidden;
}

#fire-side ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

#fire-side li {
  color: #7C6A06;
}

#fire-side li:hover {
  text-decoration: underline;
  cursor: pointer;
}

.display-none, .print-only {
  display: none;
}

.crtecenter, .rtecenter {
  text-align: center;
}

/* Accessibility */
.visually-hidden {
  position: absolute;
  top: -9999px;
  left: -9999px;
}

.alert-box {
  background: #fef6dc;
  border-color: #ffd440;
  border-width: 0 0 0 .9375rem;
  border-style: solid;
  padding: .9375rem 2rem .9375rem .9375rem;
  color: #333;
  margin-bottom: 1.25rem;
  margin-top: 6.25rem;
}
