@charset "UTF-8";
/* common */
.center-aligned {
  text-align: center; }

.draggable {
  cursor: grab;
  cursor: -webkit-grab; }

.combobutton > .dropdown-toggle {
  padding: 0 18px 0 12px;
  text-align: left; }
.combobutton > .dropdown-toggle > .caret {
  position: absolute;
  display: block;
  top: 50%;
  margin-top: -2px;
  right: 12px; }
.combobutton > .dropdown-menu > li > a {
  cursor: pointer; }

ul.clear,
ul.inline {
  list-style: none;
  padding: 0;
  margin: 0; }

ul.inline > li {
  display: inline; }
ul.inline > li::after {
  display: inline; }
ul.inline > li:last-child::after {
  display: none; }
ul.inline.comma > li::after {
  content: ', '; }
ul.inline.comma-zh > li::after {
  content: '、'; }

.x16 {
  width: 16px;
  height: 16px; }

.card-shadow, .card, body.pesticide-usages #result .usage, body.pesticide-usages #result.table-layout .usage {
  box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.26);
  border-radius: 2px;
  overflow: hidden; }

.card, body.pesticide-usages #result .usage, body.pesticide-usages #result.table-layout .usage {
  background-color: #FFF; }

.bubble {
  position: relative;
  border-radius: 8px;
  padding: 12px; }
  .bubble::after {
    content: ' ';
    display: block;
    border: 6px solid transparent;
    border-top: 10px solid #FFF;
    border-bottom-width: 0px;
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -6px; }

.fallen-man {
  position: relative;
  font-family: monospace, "蘋果儷中黑", "微軟正黑體";
  font-size: 20px; }

/* default */
body {
  padding-bottom: 57px;
  font-family: Arial, Helvetica, FreeSans, "蘋果儷中黑", "微軟正黑體", sans-serif;
  font-size: 16px;
  color: #333;
  line-height: 1.6em; }

/* layout */
#header {
  height: 49px;
  box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.26); }

#body {
  padding-top: 49px; }

#footer {
  box-shadow: 0px -2px 5px 0px rgba(0, 0, 0, 0.26); }

/* header */
#header > .container,
#header .navbar-header,
#header nav {
  height: 100%; }
#header nav > ul > li > .dropdown,
#header .dropdown-menu > li {
  padding: 0;
  padding-left: 32px; }
#header .navbar-brand {
  padding: 0; }
#header nav > ul > li > a,
#header nav > ul > li > .dropdown > .dropdown-toggle,
#header .navbar-brand {
  line-height: 48px;
  font-size: 18px; }
#header a {
  cursor: pointer;
  background-color: transparent; }
  #header a, #header a:focus, #header a:hover {
    text-decoration: none; }
  #header a .fa-caret-down {
    font-size: 16px;
    padding-left: 4px;
    padding-botom: 2px;
    vertical-align: middle; }
#header hr {
  margin: 8px 0; }
#header [data-group].selected::before {
  display: inline-block;
  position: absolute;
  font-family: FontAwesome;
  content: '\f00c';
  left: 10px;
  height: 32px;
  line-height: 32px; }
#header.navbar-inverse a {
  color: #CCC; }
  #header.navbar-inverse a:hover {
    color: #FFF; }
#header.navbar-inverse hr {
  border-color: #CCC; }
#header.navbar-inverse .dropdown-menu {
  border-radius: 0px 0px 3px 3px;
  border: none;
  background-color: #222; }
  #header.navbar-inverse .dropdown-menu a {
    height: 32px;
    line-height: 32px;
    padding: 0;
    font-size: 16px; }
#header.navbar-inverse [data-group].selected::before {
  color: #CCC; }

/* home page */
body.home #wrapper {
  width: 800px;
  margin: 0 auto; }
body.home #banner {
  height: 160px;
  background: no-repeat center center transparent;
  background-image: url("../img/banner.png");
  background-size: contain; }
body.home #content {
  background: no-repeat center center transparent;
  background-image: url("../img/bg-vine.png");
  background-size: 100% auto; }
body.home .section {
  padding-top: 360px;
  width: 40%;
  background: no-repeat top center transparent;
  background-size: contain; }
  body.home .section .links {
    font-size: 20px; }
body.home #farmer {
  float: left;
  background-image: url("../img/bg-farmer.png"); }
body.home #consumer {
  float: right;
  background-image: url("../img/bg-consumer.png"); }
body.home .disclaimer {
  width: 100%;
  border-top: 1px solid black;
  padding-top: 10px;
  margin-top: 18px;
  font-size: 12px;
  text-align: center; }

/* pesticide search page */
body.pesticide-usages {
  background-color: #E5E5E5; }
  body.pesticide-usages header {
    pointer-events: none;
    position: fixed;
    z-index: 50;
    left: 0;
    right: 0;
    top: 49px;
    bottom: 57px; }
    body.pesticide-usages header > * {
      pointer-events: auto; }
    body.pesticide-usages header + * {
      padding-top: 140px; }
    body.pesticide-usages header .u-curtain {
      padding-bottom: 20px;
      background-color: #F5F5F5;
      background: -webkit-linear-gradient(top, #e5e5e5 0%, #e5e5e5 80%, rgba(229, 229, 229, 0) 100%);
      /* Chrome10+,Safari5.1+ */
      background: -o-linear-gradient(top, #e5e5e5 0%, #e5e5e5 80%, rgba(229, 229, 229, 0) 100%);
      /* Opera 11.10+ */
      background: linear-gradient(to bottom, #e5e5e5 0%, #e5e5e5 80%, rgba(229, 229, 229, 0) 100%);
      /* W3C */ }
    body.pesticide-usages header .u-row {
      position: relative;
      height: 40px; }
    body.pesticide-usages header #form {
      width: 480px;
      margin: 20px auto 0 auto; }
    body.pesticide-usages header i,
    body.pesticide-usages header #form .submit,
    body.pesticide-usages header #form .adv-options-toggle-btn {
      position: absolute; }
    body.pesticide-usages header i,
    body.pesticide-usages header .btn {
      top: 0;
      bottom: 0;
      line-height: 40px;
      font-size: 16px; }
    body.pesticide-usages header i {
      left: 0;
      width: 40px;
      text-align: center;
      color: #555; }
    body.pesticide-usages header .btn {
      display: block;
      width: 80px;
      padding: 0;
      border-color: transparent; }
    body.pesticide-usages header .btn.dropdown-toggle {
      padding: 0 18px 0 12px; }
    body.pesticide-usages header input {
      display: block;
      border-color: transparent;
      height: 100%;
      width: 100%;
      outline: none;
      color: #555; }
    body.pesticide-usages header #form {
      padding: 0 80px 0 40px;
      margin-top: 20px; }
      body.pesticide-usages header #form .submit {
        right: 0;
        border-radius: 0; }
      body.pesticide-usages header #form .adv-options-toggle-btn {
        right: -100px;
        border-radius: 2px;
        box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.26); }
    body.pesticide-usages header #adv-options {
      display: none;
      transition: height 0.3s;
      -webkit-transition: height 0.3s; }
    body.pesticide-usages header.advanced #adv-options {
      display: block; }
    body.pesticide-usages header #grouper {
      width: 120px; }
      body.pesticide-usages header #grouper > .btn {
        width: 100%;
        background-color: #FFF !important;
        border: 0; }
      body.pesticide-usages header #grouper > .dropdown-menu {
        width: 100%;
        border-radius: 2px; }
      body.pesticide-usages header #grouper > .dropdown-menu > li > a {
        line-height: 24px;
        font-size: 16px; }
  body.pesticide-usages #result-header {
    margin-top: 20px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none; }
    body.pesticide-usages #result-header .u-summaries-frame {
      display: block;
      overflow: hidden;
      height: 100%;
      margin-left: 48px; }
    body.pesticide-usages #result-header .u-summaries {
      display: inline-block;
      height: 100%;
      border-right: 1px solid #CCC; }
      body.pesticide-usages #result-header .u-summaries .u-frame {
        height: 100%; }
      body.pesticide-usages #result-header .u-summaries .field {
        position: relative;
        float: left;
        height: 100%;
        line-height: 38px;
        border-left: 1px solid #CCC; }
        body.pesticide-usages #result-header .u-summaries .field:first-child {
          border-left: none; }
        body.pesticide-usages #result-header .u-summaries .field .u-label {
          padding: 0 8px;
          overflow: hidden;
          text-overflow: ellipsis; }
        body.pesticide-usages #result-header .u-summaries .field .u-draggable {
          height: 100%;
          padding-right: 22px; }
        body.pesticide-usages #result-header .u-summaries .field .u-order {
          position: absolute;
          top: 0;
          bottom: 0;
          right: 0;
          width: 24px;
          border-left: 1px solid transparent;
          line-height: 38px;
          text-align: center;
          cursor: pointer; }
          body.pesticide-usages #result-header .u-summaries .field .u-order:hover {
            border-left-color: #CCC; }
            body.pesticide-usages #result-header .u-summaries .field .u-order:hover::before {
              content: '\f0dc';
              color: #CCC; }
        body.pesticide-usages #result-header .u-summaries .field.order-by .u-order::before {
          content: '\f0dd';
          color: #333; }
        body.pesticide-usages #result-header .u-summaries .field.order-by.order-descending .u-order::before {
          content: '\f0de';
          color: #333; }
    body.pesticide-usages #result-header .u-pool {
      width: 360px; }
      body.pesticide-usages #result-header .u-pool .field {
        position: relative;
        float: left;
        width: 120px;
        height: 40px;
        line-height: 40px;
        padding: 0 8px 0 30px;
        cursor: pointer;
        font-size: 16px; }
        body.pesticide-usages #result-header .u-pool .field:hover {
          background-color: #EEE; }
        body.pesticide-usages #result-header .u-pool .field[data-value='dose-per-hectare-per-use'], body.pesticide-usages #result-header .u-pool .field[data-value='original-registrant'] {
          width: 240px; }
        body.pesticide-usages #result-header .u-pool .field .u-checkmark {
          position: absolute;
          top: 0;
          left: 0;
          height: 100%;
          width: 30px;
          visibility: hidden;
          line-height: 40px;
          text-align: center; }
        body.pesticide-usages #result-header .u-pool .field.selected .u-checkmark {
          visibility: visible; }
    body.pesticide-usages #result-header .u-customize {
      position: absolute;
      top: 0;
      left: 0;
      height: 100%;
      width: 40px; }
      body.pesticide-usages #result-header .u-customize > .btn {
        height: 100%;
        width: 40px;
        outline: none;
        text-decoration: none;
        background: #FFF; }
        body.pesticide-usages #result-header .u-customize > .btn.card, body.pesticide-usages #result-header #result .u-customize > .btn.usage, body.pesticide-usages #result #result-header .u-customize > .btn.usage {
          line-height: 38px; }
      body.pesticide-usages #result-header .u-customize > .dropdown-menu {
        margin-top: 8px;
        padding: 0; }
    body.pesticide-usages #result-header.dragging.valid .u-summaries.pushed {
      border-right-color: #333; }
    body.pesticide-usages #result-header.dragging.valid .u-summaries .field.pushed {
      border-left-color: #333; }
    body.pesticide-usages #result-header.dragging.valid .u-summaries .field.dragged {
      display: none; }
  body.pesticide-usages .u-ghost {
    position: absolute;
    z-index: 100; }
  body.pesticide-usages #result {
    color: #555; }
    body.pesticide-usages #result .group-header {
      text-align: center;
      margin-top: 20px;
      font-size: 20px; }
    body.pesticide-usages #result .usage {
      position: relative; }
      body.pesticide-usages #result .usage .toggle-detail-btn {
        display: inline;
        padding: 0;
        font-size: 16px;
        border: none;
        outline: none;
        text-decoration: none; }
      body.pesticide-usages #result .usage .u-detail {
        display: none; }
        body.pesticide-usages #result .usage .u-detail hr {
          margin: 12px 0; }
        body.pesticide-usages #result .usage .u-detail .field.verbose {
          margin-top: 12px; }
          body.pesticide-usages #result .usage .u-detail .field.verbose .u-value {
            display: block; }
            body.pesticide-usages #result .usage .u-detail .field.verbose .u-value::before {
              content: '　'; }
        body.pesticide-usages #result .usage .u-detail .field .u-icon {
          display: none; }
      body.pesticide-usages #result .usage.open .u-detail {
        display: block; }
    body.pesticide-usages #result.card-layout {
      text-align: center; }
      body.pesticide-usages #result.card-layout .usage {
        display: inline-block;
        margin: 16px;
        padding: 16px;
        text-align: left;
        vertical-align: top;
        max-width: 30%; }
        body.pesticide-usages #result.card-layout .usage .toggle-detail-btn {
          margin-top: 12px;
          background: none;
          color: #428BCA;
          cursor: pointer; }
          body.pesticide-usages #result.card-layout .usage .toggle-detail-btn:hover {
            color: #2A6496; }
          body.pesticide-usages #result.card-layout .usage .toggle-detail-btn > .u-label::before {
            content: '詳細資料'; }
        body.pesticide-usages #result.card-layout .usage.open {
          max-width: 45%; }
          body.pesticide-usages #result.card-layout .usage.open .toggle-detail-btn > .u-label::before {
            content: '關閉詳細資料'; }
    body.pesticide-usages #result.table-layout .usage {
      padding: 7px 8px 7px 48px;
      margin-bottom: 6px; }
      body.pesticide-usages #result.table-layout .usage .toggle-detail-btn {
        display: inline-block;
        position: absolute;
        height: 24px;
        width: 24px;
        line-height: 24px;
        left: 8px;
        top: 8px;
        background: none;
        cursor: pointer; }
      body.pesticide-usages #result.table-layout .usage .toggle-detail-btn > .u-label::before {
        font-family: FontAwesome;
        content: '\f054'; }
      body.pesticide-usages #result.table-layout .usage.open .toggle-detail-btn > .u-label::before {
        content: '\f078'; }
      body.pesticide-usages #result.table-layout .usage .u-detail {
        padding: 0 8px 20px 8px; }
    body.pesticide-usages #result.table-layout .u-summary {
      height: 26px; }
      body.pesticide-usages #result.table-layout .u-summary .field {
        display: inline-block;
        float: left;
        padding: 0 8px; }
        body.pesticide-usages #result.table-layout .u-summary .field i,
        body.pesticide-usages #result.table-layout .u-summary .field .u-label {
          display: none; }
    body.pesticide-usages #result .products {
      display: block;
      overflow: hidden;
      /* occupy remaining width */ }
      body.pesticide-usages #result .products > * {
        display: inline-block;
        /* word wrap unit */ }
    body.pesticide-usages #result .hit {
      border-radius: 2px;
      background-color: #FFF176;
      /* yellow 300 */ }
  body.pesticide-usages #result-header .field,
  body.pesticide-usages #result.table-layout .u-summary .field {
    width: 120px; }
    body.pesticide-usages #result-header .field.m-size,
    body.pesticide-usages #result.table-layout .u-summary .field.m-size {
      width: 180px; }
    body.pesticide-usages #result-header .field.l-size,
    body.pesticide-usages #result.table-layout .u-summary .field.l-size {
      width: 240px; }
  body.pesticide-usages #no-result {
    display: none;
    text-align: center;
    margin-top: 80px; }
  body.pesticide-usages.no-result #no-result {
    display: block; }
