.node-elaws_query #intro {
  float: none;
  box-sizing: border-box;
  margin: 30px auto;
  width: auto;
}

.beta-banner {
  background-color: lightgoldenrodyellow;
  clear: both;
  padding: 1em 1em 1em 3em;
  box-sizing: border-box;
}

.en .beta-banner {
  display: none;
}

.fr .beta-banner {
  font-size: 85%;
}

.screen-mobile .beta-banner {
  background-image: none;
  padding-left: 1em;
}

.beta-banner p {
  margin: 0;
}

.screen-tablet #main-content {
  padding-top: 100px;
}

.screen-desktop.fr #main-content {
  padding-top: 150px;
}

#law_search_form {
  width: 90%;
  margin-bottom: 2em;
}

#law_search_form input {
  border: 1px solid #a6a6a6;
}

#law_search_form label {
  font-weight: normal;
}

.browse #pit_form_group {
  display: none;
}

.node-elaws_query [type="search"],
.node-elaws_query [type="text"] {
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  font-weight: 700;
  line-height: 18px;
  padding: 8px 10px;
  padding-right: 4ex;
  width: 100%;
}

#law_search_form [type="checkbox"],
#law_search_form [type="radio"] {
  vertical-align: baseline;
}

#law_search_form [type="radio"] {
  margin-right: 1ex;
}

#law_search_form .field_group {
  border-bottom: 1px solid #dbe2d6;
  margin: 1em 0;
  padding-left: 0.5em;
}

#law_search_form .group_label {
  /*background: #dbe2d6;
  font-weight: bold;*/
  margin: auto auto .5em -0.5em;
  padding: .25em 0.5em;
}
#law_search_form .group_label:hover {
  cursor: pointer;
}

#law_search_form .group_options {
  display: none;
  font-size: 90%;
  margin: 0 0 1em 2.1em;
}

#law_search_form .selected .group_options {
  display: block;
}

#law_search_form input[type="date"] {
  margin: 0.5em 0;
}

#cq-results .loader {
  float: left;
  margin: 20px 10px;
}

.js .node-elaws_query .text-tip {
  display: none;
}
.cq-hint {
  display: none;
}
.no-js .node-elaws_query .text-tip {
  display: block;
  margin-top: -5px;
}
.no-js .node-elaws_query .cq-hint {
  font-weight: 400;
  color: #8d8d8d;
}

.node-elaws_query .operators {
  margin-right: 1em;
}

.node-elaws_query .group-result td {
  padding-left: 2em;
}

mark {
  background: #fcdab9;
  padding: 0 0.5ex;
  border-radius: 4px;
}

.node-elaws_query #social h2 {
  padding-top: 5px;
  border-top: 0;
  margin-top: 0;
}
@media only screen and (max-width: 63.75em) {
  .node-elaws_query .filter-box-mod {
  width: 98%}
}.node-elaws_query .use-filters {
  margin: 27px 0 0;
}
@media only screen and (min-width: 63.76em) {
  .node-elaws_query .container_12 #cq-results.grid_8 {
    width: 38.75em;
    margin-top: 9px;
  }
}
.node-elaws_query hr {
  border: 1px solid #c7ccc5;
  height: 100%}
.node-elaws_query #dates li {
  margin-bottom: .5em;
}
.node-elaws_query #cr {
  margin-top: 50px;
}
.node-elaws_query .ui-datepicker-current {
  display: none;
}
.node-elaws_query #cq-debug {
  margin-top: 1em;
}
.node-elaws_query #cq-loader {
  display: none;
  text-align: center;
  margin-top: 2.8125em;
}
.node-elaws_query #ui-datepicker-div {
  font-size: 90%}
.node-elaws_query .crol {
  list-style-type: none;
  margin-left: -35px;
}
.node-elaws_query .cq-divider {
  background: url(/sites/all/themes/odpm/images/dotted-line.png) no-repeat 95% 0%}
@media only screen and (max-width: 63.75em) {
  .node-elaws_query .cq-divider {
    background-image: none;
  }
}
.ie8 .node-elaws_query .cq-divider {
  background-image: none;
}
.node-elaws_query #cq-filters label {
  color: #505050;
  font-weight: normal;
  cursor: pointer;
}
.node-elaws_query #cq-filters label.search-consultations {
  font-size: 1.5em;
  margin: 0.25em 0 0.75em;
}
.node-elaws_query #cq-filters label[for="cq-search-term"] {
  display: none;
}
.node-elaws_query #cq-filters label.bold {
  font-weight: 700;
}
li .node-elaws_query #cq-filters label {
  margin-bottom: 0;
}
@media only screen and (min-width: 20.5em) and (max-width: 63.75em) {
  .node-elaws_query #cq-filters h3 {
    -moz-text-blink: none;
    -moz-text-decoration-color: -moz-use-text-color;
    -moz-text-decoration-line: none;
    -moz-text-decoration-style: solid;
    background-color: #ccc;
    border-bottom-color: #999;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-top-color: #f7f7f7;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border-top-style: solid;
    border-top-width: 1px;
    color: #2c2c2c;
    display: block;
    font-size: 1.4rem;
    padding-bottom: 0.5em;
    padding-left: 0.5em;
    padding-right: 0.5em;
    padding-top: 0.5em;
    position: relative;
    width: auto;
    z-index: 5;
  }
}
.node-elaws_query #cq-filters .cq-refresh {
  vertical-align: middle;
  float: left;
  margin-right: 0.25em;
}
.js .node-elaws_query #cq-filters .cq-refresh {
  display: none;
}
.node-elaws_query #cq-filters .cq-refresh button {
  background: #e9e9e9;
  box-shadow: none;
  margin: 0;
  line-height: 0;
  padding: 0;
  border: 1px solid #cfcfcf;
  font-size: 1em;
}
.node-elaws_query #cq-filters .cq-refresh img {
  vertical-align: middle;
  width: auto;
  padding: 4px 7px;
  height: 21px;
}
.node-elaws_query #cq-filters .cq-button {
  box-shadow: none;
}
.node-elaws_query #cq-filters .cq-button.cq-inline {
  -moz-border-radius-topleft: 0;
  -moz-border-radius-bottomleft: 0;
  -webkit-border-bottom-left-radius: 0;
  -webkit-border-top-left-radius: 0;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  display: inline;
  position: absolute;
}
.node-elaws_query #cq-filters .cq-button img {
  width: 22px;
  height: 22px;
  max-width: 22px;
  padding: 0;
  margin: 0;
  vertical-align: middle;
}
.node-elaws_query #cq-filters ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
}
.node-elaws_query #cq-filters ul.stripe li:nth-child(odd) {
  background-color: #f5f5f5;
}
.node-elaws_query #cq-filters ul li.faded {
  color: #888;
}
.node-elaws_query #cq-filters h2 {
  margin: 1em 0 .5em;
  padding: 5px;
  font-size: 1.5625em;
}
.node-elaws_query #cq-filters h2 label {
  font-weight: normal;
}
.node-elaws_query #cq-filters label {
  display: block;
}
.node-elaws_query #cq-filters fieldset {
  margin: 10px 0 10px 0;
}
#filteryear {
  margin-left: 0.7em;
  margin-bottom: 0.5em;
}
.screen-mobile #filteryear,
.screen-tablet #filteryear {
  margin-left: 3.5em;
}
.node-elaws_query #cq-filters input[type="radio"] {
  left: 0;
}
.screen-desktop .node-elaws_query #cq-filters input[type="radio"] {
  margin-right: 0.7em;
}
.screen-mobile .node-elaws_query #cq-filters input[type="radio"],
.screen-tablet .node-elaws_query #cq-filters input[type="radio"] {
  margin-right: 1em;
}
.node-elaws_query #cq-filters .filter-options label[for="option_status"],
.node-elaws_query #cq-filters .filter-options label[for="filteryear"] {
  float: left;
  clear: none;
  display: block;
  margin-right: 10px;
}
.node-elaws_query #cq-filters .datepicker {
  font-size: 1em;
  margin-left: 0.5em;
  width: 40%;
}
.node-elaws_query .dates {
  margin-left: 2em;
}
.node-elaws_query .dates span {
  font-weight: normal;
  display: inline-block;
  width: 2.5em;
}
.screen-mobile .node-elaws_query #cq-filters .datepicker,
.screen-tablet .node-elaws_query #cq-filters .datepicker {
  margin-left: 3.5em;
  width: 30%;
}
.node-elaws_query #cq-filters img.cal-icon {
  cursor: pointer;
  position: relative;
  top: 8px;
  left: 5px;
}
.node-elaws_query #cq-filters button.ui-datepicker-trigger {
  padding: 0;
  margin: 0 0 5px 5px;
  line-height: 1em;
  vertical-align: middle;
  box-shadow: none;
  background: none;
}
.node-elaws_query .node-landing-page .container_12 {
  margin-left: 15px;
}
.node-elaws_query .node-landing-page .grid_4 {
  margin-left: 0;
  margin-right: 5em;
  width: 275px;
  overflow: visible;
}
.node-elaws_query img.left {
  float: left;
  overflow: hidden;
  padding-right: 1em;
}
.node-elaws_query #cq-search-wrapper {
  line-height: 1em;
  padding: 0;
  margin-bottom: 1em;
  position: relative;
  width: 83%}
.node-elaws_query #cq-search-wrapper input, .node-consultation_query #cq-search-wrapper button {
  padding: 8px 10px;
  line-height: 18px;
}
.node-elaws_query #cq-search-wrapper input {
  border: 1px solid #a6a6a6;
  border-right: 0;
  height: 18px;
}
.node-elaws_query #cq-search-wrapper button {
  position: absolute;
}
.node-elaws_query #cq-search-wrapper button img {
  height: 18px;
  width: auto;
  max-width: auto;
}
.node-elaws_query #cq-search-term {
  width: 80%;
  font-weight: 700;
}
/*.node-elaws_query #cq-results li {
  color: #777;
  font-size: 1.125em;
}*/
.node-elaws_query #cq-results li p {
  color: #505050;
  font-size: 1em;
}
/*.node-elaws_query #cq-results li+li {
  margin-top: 1.5em;
}*/
.node-elaws_query #cq-results h3 {
  font-size: 1.5625rem;
  margin-bottom: .5em;
}

@media only screen and (max-width: 63.75em) {
  .node-elaws_query #cq-results div#cq-info {
    margin: 1em 0;
  }
}
.node-elaws_query #cq-results div#cq-info.cq-no-results {
  padding-top: 1.25em;
  margin-top: 0;
}
.node-elaws_query #cq-results .open, .node-consultation_query #cq-results .closed {
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  -o-border-radius: 3px;
  border-radius: 3px;
  background-repeat: no-repeat;
  background-position: 5px 50%;
  background-size: 16px;
  padding: 6px 30px;
  margin: 0 0 1em;
  border: 1px solid;
}
.node-elaws_query #cq-results .open {
  background-color: #effde4;
  background-image: url(/sites/all/themes/odpm/images/consultations/icon-consultation-openx48.png);
  border-color: #e7fcd6;
}
.node-elaws_query #cq-results .closed {
  background-image: url(/sites/all/themes/odpm/images/consultations/icon-consultation-closedx48.png);
  border: none;
}
.node-elaws_query #cq-results .closed.results {
  background-image: url(/sites/all/themes/odpm/images/consultations/icon-consultation-resultsx48.png);
}
.node-elaws_query #cq-results .cq-load-more {
  cursor: pointer;
  background-color: #415634;
  border: 1px solid #c6cec3;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  border-radius: 5px;
  width: 200px;
  color: white;
  margin: 20px auto 20px auto;
  float: left;
  position: relative;
  behavior: url("/sites/all/themes/ontario/scripts/PIE.htc");
  text-align: center;
}
.node-elaws_query #cq-results .cq-load-more a {
  color: #fff;
  text-decoration: none;
}

.node-elaws_query #ui-datepicker-div {
  z-index: 15 !important;
}
.node-laws_query #cq-filters label {
  display:inline;
}

.alpha_links ul li {
  padding: 0;
}

.alpha_links a {
    background-color: #dbe2d6;
    color: #464646;
    display: inline-block;
    margin: 0 .25em .25em 0;
    padding: .25em .5em;
    text-align: center;
    width: 0.7em;
}
.alpha_links .selected,
.alpha_links a:hover {
  background: #415634;
  color: #FFF;
}

#cq-filters .filter-options label {
    clear: both;
}

.node-elaws_query #cq-filters .filter-options {
  border-bottom: 1px solid #ccc;
  border-top: 1px solid #ccc;
  margin-right: 30px;
  padding: 0.7em 0;
}

#search_results .group-results {
  border: 1px solid #ccc;
  font-size: 0.8em;
}
#search_results .group-results tr {
  border: 1px solid #ccc;
}
#search_results .group-results td {
  padding: 0.25em .5em;
  vertical-align: top;
}

#search_results .group-results blockquote {
  margin-left: 0;
}

#search_results .reg-volume-label {
  width: 25%;
}
#search_results .reg-volume-label > b {
  margin-right: 0.5ex;
}

#search_results .label {
  background: #dbe2d6;
  color: #444;
  border-radius: 3px;
  display: inline-block;
  padding: 0 0.25em;
  margin-left: -0.5ex;
}

#search_results .reg-act {
  color: #666;
}

#search_results .result-meta {
  font-size: 90%;
}

#search_results td {
  line-height: 1.4;
}

#search_results tr:nth-child(2n+2) {
  background: #f5f5f5;
}
/*
#search_results tr:nth-child(2n+2) .label {
  background: #EEE;
}
*/

#select-filtertype {
  width: 100%;
}

.search-tabs {
  border-bottom: 1px solid #dbe2d6;
  padding: 2.5em 0 0.5em 0;
  position: relative;
}

.search-tab-title {
  background: #dbe2d6;
  border-bottom: 1px solid #415634;
  border-radius: 5px 5px 0 0;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  left: 50%;
  padding: 0.25em 0.5em;
  position: absolute;
  text-align: center;
  top: 0;
  width: 50%;
}

.search-tab-title.active,
.search-tab-title:hover {
  background: transparent;
  border: 1px solid #415634;
  border-bottom: none;
  color: #415634;
  cursor: pointer;
  font-weight: bold;
  padding-top: 10px;
  top: -7px;
}

.search-tab-title:first-child {
  left: 0;
}

.search-tab-content {
  display: none;
  margin: 0.25em 0;
}

.search-tab-title.active + .search-tab-content {
  display: block;
}

.form-buttons .button {
  display: none;
  float: left;
}

.form-buttons .button.active {
  display: block;
}

.search-query-label {
  position: relative;
  display: none;
}

.search-query-help {
  bottom: 5px;
  position: absolute;
  right: 5px;
}

.search-query-help:before {
  content: '?';
  display: block;
  background: #dbe2d6;
  border-radius: 50px;
  padding: .25ex 1ex;
  text-align: center;
}

.search-query-help:hover:before {
  background: #415634;
  color: #fff;
}

.search-query-help .text-hidden {
  display: none;
}

.advanced-panel {
  background: #dbe2d6;
  margin-bottom: 2em;
  padding: 1em;
}

.form-label {
  margin: 0.5em 0;
}

.number-input {
  margin-right: 1ex;
  width: 4ex;
}

.hide {
  display: none;
}

a:visited {
  color: #730080;
}

@media print {
  .screen-desktop.fr #main-content {
    padding-top: 0;
  }
}
