body[ng-cloak] {
  display: none;
}

body,
md-content {
  background-color: #fff;
  color: #1b2d38;
}

.show-for-sr, .calc-dialog table.workers-table caption, .calc-dialog table.boarding-table caption, .calc-dialog table.dwellings-table caption, .calc-dialog table.cpi-table caption,
.show-on-focus {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

h1,
h2,
h3 {
  margin: 0;
  color: #15222a;
}

.new-version-banner {
  background: #0e693a;
  color: #fff;
  padding: 10px 16px;
  text-align: center;
  font-size: 14px;
}
.new-version-banner a {
  color: #fff;
  text-decoration: underline;
  font-weight: 500;
}

.intro__logo {
  margin-bottom: 2rem;
}
.intro__heading {
  font-size: 36px;
  font-weight: bold;
  line-height: 42px;
  letter-spacing: -0.2px;
}
.intro__button {
  margin: 2rem 0 0;
  background-color: rgba(0, 121, 74, 0.1);
  border: solid 1px rgba(0, 121, 74, 0.5);
  color: #007a4b;
  font-size: 22px;
  font-weight: 500;
  line-height: 44px;
  text-transform: none;
  padding: 0 40px;
  min-height: 48px;
  letter-spacing: -0.1px;
}
.intro__button:focus {
  border: 1px solid #4D90FE;
  -webkit-box-shadow: 0px 0px 5px #4D90FE;
  box-shadow: 0px 0px 5px #4D90FE;
}
.intro hr {
  border-color: #eee;
  border-style: solid;
  margin: 2em auto;
}
.intro__disclaimer {
  margin-bottom: 2em;
}

form {
  height: 100%;
  width: 100%;
  position: relative;
}

@media screen and (min-width: 600px) {
  .main {
    /* Important to set height for column layout */
    height: 100%;
    padding: 0 5rem;
  }
}

.topbar {
  padding: 1em 0;
  border-bottom: 1px solid #d8d8d8;
}
.topbar__logo {
  margin-bottom: 1rem;
}

.section__number {
  font-size: 26px;
  line-height: 42px;
  font-weight: bold;
  color: #0e693a;
}
.section__title {
  margin-bottom: 1rem;
}
.section__heading {
  font-size: 26px;
  line-height: 42px;
  font-weight: 500;
  letter-spacing: -0.5px;
}
.section__body p {
  line-height: 22px;
  color: #1b2d38;
  letter-spacing: -0.1px;
}
.section__body a {
  color: #0e693a;
  font-weight: bold;
}
.section__control-group {
  padding-top: 2rem;
}

.cpi__control-group {
  padding-top: 2rem;
}
.cpi__control md-input-container {
  margin-right: 4rem;
}
.cpi__control md-input-container.md-input-has-placeholder label {
  color: #4a4a4a;
  font-weight: 500;
}
.cpi__control md-input-container label {
  font-size: 24px;
  color: #1b2d38;
}
.cpi__control md-select .md-select-icon:after {
  font-size: 20px;
}
.cpi__control md-select:not([disabled]) .md-select-icon {
  color: #0e693a;
}
.cpi__link-toggle {
  font-size: small;
  color: rgba(0, 0, 0, 0.54) !important;
}

.calc-body md-card {
  -webkit-box-shadow: none;
          box-shadow: none;
  border: 1px dashed #d8d8d8;
}
.calc-body .md-button.md-fab.md-mini {
  line-height: 4rem;
  width: 4rem;
  height: 4rem;
}

.error {
  color: red;
}

.noopacity {
  opacity: 0;
}

md-input-container .md-input[readonly] {
  border-bottom-color: transparent;
  background-image: -webkit-gradient(linear, left top, right top, color-stop(0, rgba(0, 0, 0, 0.38)), color-stop(33%, rgba(0, 0, 0, 0.38)), color-stop(0, transparent));
  background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.38) 0, rgba(0, 0, 0, 0.38) 33%, transparent 0);
  background-position: bottom -1px left 0;
  background-size: 4px 1px;
  background-repeat: repeat-x;
}

.reset {
  font-size: small;
  color: rgba(0, 0, 0, 0.54) !important;
}

md-input-container .hidevisibility, .hidevisibility {
  display: none;
}

md-input-container .showdata {
  border-bottom-color: transparent;
  background-image: -webkit-gradient(linear, left top, right top, color-stop(0, rgba(0, 0, 0, 0.38)), color-stop(33%, rgba(0, 0, 0, 0.38)), color-stop(0, transparent));
  background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.38) 0, rgba(0, 0, 0, 0.38) 33%, transparent 0);
  background-position: bottom 0px left 0;
  background-size: 4px 1px;
  background-repeat: repeat-x;
  font-size: 21px;
  height: 35px;
  width: 110px;
  float: left;
  color: rgba(0, 0, 0, 0.38);
}

@media screen and (min-width: 600px) {
  .sidenav {
    /* Important to set height for column layout */
    height: 100%;
  }
}
.sidenav {
  padding: 2rem;
  background-color: #1b2d38;
  text-align: right;
}
.sidenav__heading {
  color: #fff;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.2px;
  margin-bottom: 30px;
}
.sidenav__input-container {
  padding: 9px 0 0;
}
.sidenav__input-container .md-input[readonly] {
  color: #fff;
  text-align: right;
  font-size: 32px;
  font-weight: 300;
  height: 45px;
  border-color: rgba(255, 255, 255, 0.5);
  border-style: dashed;
  background-size: 10px 1px;
  background-image: none;
}
#sidenav .sidenav__label {
  color: #fff;
  font-weight: 500;
  padding-left: 0;
  font-size: 21px;
  -webkit-transform-origin: right top;
      -ms-transform-origin: right top;
          transform-origin: right top;
}
.sidenav__grandtotal {
  padding-top: 0;
}
.sidenav__grandtotal .md-input[disabled] {
  font-weight: 700;
  background-image: none;
  border-bottom-color: rgba(255, 255, 255, 0.5);
}
.sidenav__button.md-button {
  margin: 0;
  font-size: 22px;
  font-weight: 500;
  line-height: 44px;
  letter-spacing: -0.1px;
}

.calc-dialog--cpi md-dialog {
  width: 500px;
  max-width: 500px;
}
.calc-dialog--disclaimer md-dialog, .calc-dialog--disclaimer.calc-dialog--disclaimer {
  width: 360px !important;
  max-width: 360px !important;
  min-width: 360px !important;
  min-height: 250px;
}
.calc-dialog--disclaimer md-dialog-content {
  padding-top: 0.5rem !important;
}
@media screen and (min-width: 600px) {
  .calc-dialog--disclaimer md-dialog-content {
    padding: 0.5rem 1.5rem 1.6rem !important;
  }
}
.calc-dialog--disclaimer md-dialog-content p {
  margin-bottom: 1rem;
}
.calc-dialog--disclaimer md-dialog-content p:last-child {
  margin-bottom: 0;
}
.calc-dialog--disclaimer .intro__button {
  margin-top: 0.5rem;
}
.calc-dialog--dwellings md-dialog {
  width: 800px;
  max-width: 800px;
}
.calc-dialog--workers md-dialog {
  width: 100%;
}
.calc-dialog--visitors md-dialog {
  width: 800px;
  max-width: 800px;
}
.calc-dialog md-dialog md-dialog-actions {
  border-top-width: 0;
}
@media screen and (min-width: 600px) {
  .calc-dialog md-dialog md-dialog-actions {
    padding: 0 1.6rem;
  }
}
.calc-dialog md-toolbar {
  background-color: #fff;
}
.calc-dialog md-toolbar md-icon {
  fill: #1b2d38;
}
@media screen and (min-width: 600px) {
  .calc-dialog md-toolbar h2 {
    font-size: 26px;
  }
}
.calc-dialog md-toolbar h2 {
  font-weight: 500;
  letter-spacing: -0.5px;
  margin-left: 1.4rem;
}
@media screen and (min-width: 600px) {
  .calc-dialog md-dialog-content {
    padding: 1rem 3rem 1.6rem;
  }
}
.calc-dialog md-dialog-content p {
  line-height: 1.5;
  margin-bottom: 2rem;
}
.calc-dialog md-tabs md-icon {
  width: 45px;
  height: 45px;
}
.calc-dialog md-tabs-canvas {
  border-bottom: 3px solid rgb(46, 125, 50);
}
.calc-dialog md-tab-item.md-tab {
  text-transform: none;
  font-size: 20px;
}
.calc-dialog md-tab-content md-content > table {
  margin-top: 2rem;
}
.calc-dialog md-tabs .md-tab.md-active {
  background: rgba(0, 121, 74, 0.1);
}
.calc-dialog table {
  width: 100%;
  color: #1b2d38;
  empty-cells: show;
  border-spacing: 0;
  border-collapse: collapse;
}
.calc-dialog table caption {
  color: red;
  padding: 1rem 0;
  text-align: left;
}
.calc-dialog table td,
.calc-dialog table th {
  margin: 0;
  overflow: visible;
  padding: 0;
  text-align: left;
}
.calc-dialog table thead th {
  color: #15222a;
}
@media screen and (min-width: 600px) {
  .calc-dialog table thead th {
    font-size: 19px;
  }
}
.calc-dialog table thead th {
  text-align: left;
  font-weight: 500;
  vertical-align: bottom;
  letter-spacing: -0.1px;
  padding-bottom: 1rem;
}
.calc-dialog table tfoot th {
  text-align: right;
  padding: 0rem 2rem 1.6rem;
  font-size: 18px;
}
.calc-dialog table .rate {
  font-size: 13px;
}
.calc-dialog table.cpi-table {
  table-layout: fixed;
}
.calc-dialog table.cpi-table th,
.calc-dialog table.cpi-table td {
  padding: 1rem 0;
}
.calc-dialog table.cpi-table thead tr {
  border-bottom: solid 1px #979797;
}
.calc-dialog table.cpi-table tbody tr {
  border-bottom: solid 1px #d8d8d8;
}
.calc-dialog table.dwellings-table {
  table-layout: fixed;
}
.calc-dialog table.dwellings-table td {
  padding-right: 2rem;
}
.calc-dialog table.dwellings-table tbody th {
  color: #0e693a;
}
.calc-dialog table.dwellings-table md-input-container {
  margin: 0;
}
.calc-dialog table.dwellings-table input {
  border-width: 0 0 1px 0;
}
@media screen and (min-width: 600px) {
  .calc-dialog table.dwellings-table input {
    font-size: 21px;
    height: 45px;
  }
}
.calc-dialog table.boarding-table {
  table-layout: fixed;
}
.calc-dialog table.boarding-table td {
  padding-right: 2rem;
}
.calc-dialog table.boarding-table md-input-container {
  margin: 0;
}
.calc-dialog table.boarding-table input {
  border-width: 0 0 1px 0;
}
@media screen and (min-width: 600px) {
  .calc-dialog table.boarding-table input {
    font-size: 21px;
    height: 45px;
  }
}
.calc-dialog table.workers-table td,
.calc-dialog table.workers-table th {
  padding-right: 2rem;
}
.calc-dialog table.workers-table tbody th {
  color: #0e693a;
}
.calc-dialog table.workers-table md-input-container {
  margin: 0;
}
.calc-dialog table.workers-table input {
  border-width: 0 0 1px 0;
}
@media screen and (min-width: 600px) {
  .calc-dialog table.workers-table input {
    font-size: 21px;
    height: 45px;
  }
}
.calc-dialog table.workers-table__th-row th {
  display: none;
}

.md-dialog-container md-dialog.calc-dialog--disclaimer {
  width: 360px !important;
  max-width: 360px !important;
  min-width: 360px !important;
}

.textt {
  background-color: blue;
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */
@media print {
  *,
  *:before,
  *:after,
  p:first-letter,
  div:first-letter,
  blockquote:first-letter,
  li:first-letter,
  p:first-line,
  div:first-line,
  blockquote:first-line,
  li:first-line {
    background: transparent !important;
    color: #000 !important;
    /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
    -webkit-box-shadow: none !important;
            box-shadow: none !important;
    text-shadow: none !important;
  }
  a,
  a:visited {
    text-decoration: underline;
  }
  /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */
  a[href^="#"]:after,
  a[href^="javascript:"]:after {
    content: "";
  }
  /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */
  thead {
    display: table-header-group;
  }
  tr,
  img {
    page-break-inside: avoid;
  }
  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }
  h2,
  h3 {
    page-break-after: avoid;
  }
  body {
    display: inline !important;
  }
  body md-sidenav {
    width: 100%;
  }
  .section__layout p {
    display: none;
  }
  .section__title a {
    display: none;
  }
}