html,
body {
  padding: 0;
  height: 100%;
  min-height: 550px;
}
div#ember-app {
  height: 100%;
}
#ember-app > .ember-view {
  position: relative;
  min-height: 100%;
}
div.active-overlay {
  position: fixed;
  top: 0;
  left: 0;
  background-color: black;
  opacity: 0.4;
  width: 100%;
  height: 100%;
}
div.inactive-lightbox {
  display: none;
}
div.active-lightbox {
  position: fixed;
  width: 600px;
  min-height: 180px;
  background: #367b8b;
  color: #fff;
  left: 50%;
  top: 25%;
  border-radius: 5px;
  padding: 60px 0;
  margin-left: -320px;
  /* width/2 + padding-left */
  /* height/2 + padding-top */
  text-align: center;
  box-shadow: 0 0 10px 0 #000;
  z-index: 1;
}
div.email-address {
  display: inline-block;
  width: 90%;
  text-align: left;
}
div.remove-email-address {
  display: inline-block;
}
li {
  background-color: #296c7e;
  border-radius: 4px;
}
li.selected-email {
  background-color: #bbb;
}
ul.autolist {
  list-style-type: none;
  padding-right: 1em;
}
div.divider {
  max-width: 95%;
  margin: auto;
  border-bottom: 1px solid #aaa;
}
nav.navbar {
  position: relative;
  margin: 0;
  overflow: auto;
  height: 79px;
}
div.navbar-link {
  display: inline-block;
  position: absolute;
  top: 0px;
  left: 0px;
}
nav.navbar {
  display: block;
  overflow: hidden;
  height: auto;
}
.nav-image {
  padding-left: 4px;
  padding-top: 4px;
  width: 220px;
}
div.nav-icons-wrapper {
  float: right;
  margin-left: auto;
  margin-right: 0;
}
div.nav-icon {
  display: inline-block;
  margin-left: auto;
  margin-right: 0;
  min-width: 5.3em;
  min-height: 79px;
}
div.xxp {
  min-height: initial;
}
.nav-icon div {
  text-align: center;
}
.nav-icon i {
  display: block;
  margin: 0 auto;
  padding: 0.2em;
  font-size: 32px;
}
.nav-icon img {
  display: block;
  margin: 0 auto;
  padding: 0.2em;
}
.nav-icon a {
  display: block;
  margin: 0 auto;
  padding: 0.3em 0.4em;
  text-decoration: none;
  text-align: center;
}
div.user-string {
  position: absolute;
  bottom: 4px;
  left: 10px;
}
.no-wrap {
  white-space: nowrap;
}
div.wrap {
  white-space: normal;
  display: inline-block;
  float: left;
}
div.light-background {
  background-color: #dddddd;
}
table {
  background-color: #F3F3F7;
  border: 1px solid #F3F3F7;
  border-collapse: collapse;
  color: #0B0B14;
  max-width: 100%;
}
tr:nth-child(odd) td {
  background-color: #d3d3d3;
}
td,
th {
  border-left: 1px solid #F3F3F7;
  padding: 8px;
}
div.page-top {
  margin-bottom: 1em;
  height: 50px;
  line-height: 50px;
}
.page-top h1 {
  font-size: 28px;
  font-weight: 500;
  margin: 0 0 0 1em;
}
.clearfix:after {
  content: "";
  display: table;
  clear: both;
}
div.page-wrapper {
  padding-bottom: 85px;
}
div.peukku-negative {
  display: inline-block;
  margin: auto;
  background-image: url("images/apix-peukut.png");
  background-position: -45px -25px;
  width: 30px;
  height: 30px;
}
div.peukku-neutral {
  display: inline-block;
  margin: auto;
  background-image: url("images/apix-peukut.png");
  background-position: -85px -25px;
  width: 30px;
  height: 30px;
}
div.peukku- {
  display: inline-block;
  margin: auto;
  background-image: url("images/apix-peukut.png");
  background-position: -85px -25px;
  width: 30px;
  height: 30px;
}
div.peukku-positive {
  display: inline-block;
  margin: auto;
  background-image: url("images/apix-peukut.png");
  background-position: -5px -25px;
  width: 30px;
  height: 30px;
}
td.details-toggle {
  padding: 0;
  text-align: center;
  font-weight: normal;
}
span.details-toggle {
  cursor: pointer;
  color: #333333;
  font-size: 32px;
}
table.list-results {
  width: 100%;
}
table.list-results tr.details-row {
  background-color: #e0e0e0;
}
.ember-application button {
  min-width: 6em;
  font-size: 16px;
  background-color: #ddd;
  border: 1px solid #bbb;
  box-shadow: 0.3em;
  padding: 0.3em, 0.5em;
  margin: 0.3em;
  cursor: pointer;
}
.datepicker {
  position: absolute;
}
.datepicker table,
.datepicker table td,
.datepicker table th {
  background-color: #FCFCFD !important;
}
.datepicker td.today.day td.today:active {
  background-color: #006366 !important;
  color: #FFFFFF !important;
  border-radius: 4px;
  box-shadow: 0 0 0 2px #006366;
}
.datepicker table tr td.today,
.datepicker table tr td.today:hover,
.datepicker table tr td.today.disabled,
.datepicker table tr td.today.disabled:hover {
  background-image: linear-gradient(to bottom, #E0E0E0, #E0E0E0);
  color: #004A4D;
}
.datepicker table tr td.active,
.datepicker table tr td.active:hover,
.datepicker table tr td.active.disabled,
.datepicker table tr td.active.disabled:hover {
  background-image: linear-gradient(to bottom, #004A4D, #004A4D);
  color: #FFFFFF;
}
.datepicker table tr td.day:hover,
.datepicker table tr td.today:hover {
  background-color: #006366 !important;
  background-image: linear-gradient(to bottom, #006366, #006366);
  color: #FFFFFF !important;
}
.datepicker table th.clear:hover {
  background-color: #004A4D !important;
  background-image: linear-gradient(to bottom, #004A4D, #004A4D);
  color: #FFFFFF !important;
}
.datepicker table {
  box-shadow: 0 4px 24px rgba(0, 99, 102, 0.1), 0 1.5px 6px rgba(0, 0, 0, 0.06);
  border-radius: 20px;
  border: 1px solid #FCFCFD1A;
  overflow: hidden;
}
.invoice-list table,
.invoice-list th,
.invoice-list td,
.invoice-list thead {
  background-color: #E0E0E0;
}
div.ember-notify {
  border-radius: 8px;
  background-color: #2079DF;
  width: 200px;
  margin: 10px 10px 10px auto;
  padding: 10px;
  width: 500px;
  color: #FFFFFF;
  border: none !important;
}
input.sum {
  width: 4em;
}
input.count {
  width: 3em;
}
footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0px 25px;
}
div.footer-left {
  float: left;
  text-align: left;
}
div.footer-right {
  float: right;
  text-align: right;
}
div.sort-action {
  padding-right: 1em;
  position: relative;
  cursor: pointer;
}
span.sortable {
  position: absolute;
  top: 0.2em;
  right: 0.2em;
  display: inline-block;
  width: 0.4em;
  height: 0.4em;
  border-right: 0.2em solid #ccc;
  border-top: 0.2em solid #ccc;
  transform: rotate(134deg);
  -webkit-transform: rotate(134deg);
  /* Safari */
}
span.sortable.sorted {
  border-right: 0.2em solid black;
  border-top: 0.2em solid black;
}
span.sortable.sorted.reversed {
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  /* Safari */
}
@keyframes spinner-loader {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
div.dots {
  position: fixed;
  z-index: 10;
  top: 50%;
  left: 50%;
  font-size: 20px;
  animation: spinner-loader 1500ms infinite linear;
  border-radius: 0.5em;
  box-shadow: rgba(1, 1, 1, 0.5) 1.5em 0 0 0, rgba(1, 1, 1, 0.5) 1.1em 1.1em 0 0, rgba(1, 1, 1, 0.5) 0 1.5em 0 0, rgba(1, 1, 1, 0.5) -1.1em 1.1em 0 0, rgba(1, 1, 1, 0.5) -1.5em 0 0 0, rgba(1, 1, 1, 0.5) -1.1em -1.1em 0 0, rgba(1, 1, 1, 0.5) 0 -1.5em 0 0, rgba(1, 1, 1, 0.5) 1.1em -1.1em 0 0;
  width: 0.75em;
  height: 0.75em;
  overflow: hidden;
}
div.messageContainer {
  pointer-events: none;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap-reverse;
  justify-content: flex-end;
  align-items: flex-end;
}
div.notify {
  align-self: flex-end;
  border: 1px solid #888;
  border-radius: 8px;
  box-shadow: 0px 4px 8px #888;
  background-color: #2079DF;
  width: 200px;
  margin: 10px 10px 10px auto;
  padding: 10px;
  width: 500px;
}
body.login div.page-wrapper {
  height: 100%;
  min-height: 550px;
}
body.login div.page-wrapper .forgotpw {
  background: none!important;
  color: inherit;
  border: none;
  padding: 0!important;
  font: inherit;
  cursor: pointer;
}
body.login div.page-wrapper .forgotpw:hover {
  text-decoration: underline;
}
body.login div.page-wrapper .registration {
  margin-top: 1em;
  margin-bottom: 2em;
}
body.login div.page-wrapper .registration-button {
  box-sizing: border-box;
  border: 1px solid #cdcdcd;
  border-radius: 4px;
  margin: 10px auto;
  padding: 6px;
  text-align: center;
  font-size: 14px;
  display: block;
  width: 95%;
  background-color: #086A91;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
}
body.login div.page-wrapper .registration-button-button {
  width: 100%;
}
body.list div.page-wrapper div.top-wrapper {
  display: inline-block;
  margin: auto;
}
body.list div.page-wrapper div.summary {
  display: inline-block;
  float: left;
  background-color: #F3F3F7;
}
body.list div.page-wrapper .summary table {
  margin: auto;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  border-collapse: separate;
  text-align: center;
  background-color: #F3F3F7;
  border: 1px solid #F3F3F7;
}
body.list div.page-wrapper .summary th,
body.list div.page-wrapper .summary td {
  padding-left: 0.2em;
  padding-right: 0.2em;
  text-align: right;
  background-color: #F3F3F7;
  border-left: 1px solid #F3F3F7;
}
body.list div.page-wrapper div.list-date-filters {
  float: left;
  margin-left: 1em;
}
body.list div.page-wrapper div.list-date-filters input {
  width: 6em;
}
body.list div.page-wrapper div.list-date-filters table,
body.list div.page-wrapper div.list-date-filters td,
body.list div.page-wrapper div.list-date-filters th {
  background-color: inherit;
  border-width: 0px;
}
body.list div.page-wrapper div.list-date-filters th {
  font-weight: normal;
  text-align: right;
  padding: 2px 2px 2px 20px;
}
body.list div.page-wrapper div.list-date-filters td {
  text-align: right;
  padding: 2px;
}
body.list div.page-wrapper div.list-date-filters td.buttonbar {
  padding-top: 12px;
  text-align: center;
}
body.list div.page-wrapper div.red {
  color: red;
}
body.list div.page-wrapper input.sender-name-field {
  width: 90%;
}
body.list div.page-wrapper td.documentDate,
body.list div.page-wrapper td.dueDate,
body.list div.page-wrapper td.barcode {
  text-align: center;
  white-space: pre;
}
body.list div.page-wrapper td.documentID,
body.list div.page-wrapper td.amountToPay {
  text-align: right;
  white-space: pre;
}
body.list div.page-wrapper td.dueDate {
  padding-left: 26px;
  padding-right: 26px;
}
body.list div.page-wrapper td.dueDate img {
  margin-right: -24px;
  float: right;
  vertical-align: middle;
}
body.list div.page-wrapper td.orange-alert {
  background-image: url(../assets/images/orange_alert.png);
  background-repeat: no-repeat;
  background-position: 100% 50%;
}
body.list div.page-wrapper td.red-alert {
  background-image: url(../assets/images/red_alert.png);
  background-repeat: no-repeat;
  background-position: 100% 50%;
}
body.list div.page-wrapper div.approver-comment {
  border-bottom: 1px solid;
  border-color: #dddddd;
}
body.list div.page-wrapper div#top-elements {
  width: 100%;
  text-align: center;
}
body.list div.page-wrapper tr.checker-row td {
  border-bottom-color: #c6c6c6;
}
body.list div.page-wrapper div.invoice-list {
  margin-top: 0.5em;
  width: 100%;
}
body.list div.page-wrapper tr.sent-to-checker {
  font-weight: bold;
}
body.list div.page-wrapper tr.stopped-invoice td {
  background-color: #f99;
}
body.list div.page-wrapper tr.stopped-invoice:nth-child(odd) td {
  background-color: #ff8f8f;
}
body.list div.page-wrapper .list-bottom-button {
  float: right;
}
body.archives div.page-wrapper div.date-filters {
  float: left;
  overflow: auto;
  padding: 1em 1em 0.6em 0.3em;
}
body.archives div.page-wrapper div.date-filters td {
  background-color: inherit;
}
body.archives div.page-wrapper div.date-filter {
  float: left;
  margin: 0.3em;
}
body.archives div.page-wrapper div.result-count {
  padding: 1em 1em 1em 2em;
}
body.archives div.page-wrapper .date-filter input {
  width: 6em;
}
body.archives div.page-wrapper .page-top {
  position: relative;
}
body.archives div.page-wrapper .links {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
}
body.archives div.page-wrapper .links a {
  float: right;
  display: inline-block;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  height: 100%;
  min-width: 150px;
  border-left: 1px solid #F3F3F7;
}
body.archives div.page-wrapper table.search-box {
  border: 0;
}
body.archives div.page-wrapper table.search-box td.filter-button {
  text-align: center;
}
body.archives div.page-wrapper .sender-name-field,
body.archives div.page-wrapper .receiver-name-field {
  width: 90%;
}
body.archives div.page-wrapper .search-box td,
body.archives div.page-wrapper .search-box th {
  border: 0;
}
body.archives div.page-wrapper .search-box th {
  text-align: right;
  font-weight: normal;
}
body.archives div.page-wrapper td.createdDate,
body.archives div.page-wrapper td.dueDate {
  text-align: center;
}
body.archives div.page-wrapper td.documentID,
body.archives div.page-wrapper td.amountToPay {
  text-align: right;
}
body.posteljooni div.page-wrapper div.date-filters {
  color: white;
  float: left;
  overflow: auto;
  padding: 1em 1em 0.6em 0.3em;
  background-color: #1c6072;
}
body.posteljooni div.page-wrapper div.date-filters td {
  background-color: inherit;
}
body.posteljooni div.page-wrapper div.date-filter {
  float: left;
  margin: 0.3em;
}
body.posteljooni div.page-wrapper div.result-count {
  color: #96CAD4;
  background-color: #296C7E;
  padding: 1em 1em 1em 2em;
}
body.posteljooni div.page-wrapper .date-filter input {
  width: 6em;
}
body.posteljooni div.page-wrapper .page-top {
  position: relative;
}
body.posteljooni div.page-wrapper .links {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
}
body.posteljooni div.page-wrapper .links a {
  float: right;
  display: inline-block;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  height: 100%;
  min-width: 150px;
  border-left: 1px solid #FCFCFD;
}
body.posteljooni div.page-wrapper table.search-box {
  background-color: #1c6072;
  border: 0;
}
body.posteljooni div.page-wrapper table.search-box td.filter-button {
  text-align: center;
}
body.posteljooni div.page-wrapper .sender-name-field {
  width: 90%;
}
body.posteljooni div.page-wrapper .search-box td,
body.posteljooni div.page-wrapper .search-box th {
  border: 0;
  color: white;
}
body.posteljooni div.page-wrapper .search-box th {
  text-align: right;
  font-weight: normal;
}
body.posteljooni div.page-wrapper td.createdDate,
body.posteljooni div.page-wrapper td.dueDate {
  text-align: center;
}
body.posteljooni div.page-wrapper td.documentID,
body.posteljooni div.page-wrapper td.amountToPay {
  text-align: right;
}
body.posteljooni div.page-wrapper .table-center td {
  text-align: center;
}
body.posteljooni div.page-wrapper .pdf-object {
  width: 100%;
  min-width: 30em;
  height: 100%;
  min-height: 50em;
  display: inline-block;
  margin-right: 1em;
  margin-bottom: 0.5em;
}
body.posteljooni div.page-wrapper #viewer {
  width: 100%;
  min-height: 50em;
  height: 100%;
  frameborder: 0;
  allowfullscreen: true;
  mozallowfullscreen: true;
  webkitallowfullscreen: true;
  wmode: transparent;
}
body.posteljooni div.page-wrapper #documenteditor {
  position: absolute;
  left: 5em;
  top: 3em;
  z-index: 1000;
  background-color: #296c7e;
  width: 90%;
  height: 60%;
  border-style: solid ;
  border-width: 2px;
  border-color: #fff;
}
body.posteljooni div.page-wrapper #documenteditorWrapper button {
  min-width: 0px;
  font-size: 14px;
  margin: 0px;
  background-color: rgba(0, 0, 0, 0);
  border: 0px;
}
body.posteljooni div.page-wrapper li {
  background-color: inherit;
}
body.posteljooni div.page-wrapper div .error {
  left: 5px;
  background-color: #FFFFFF;
  color: #FF0000;
  width: 300px;
  border: 1px solid;
  border-color: #000;
  border-radius: 5px;
}
body.posteljooni div.page-wrapper span.error {
  color: #FF0000;
  border: none;
}
body.posteljooni div.page-wrapper fieldset {
  margin: 0em;
  border: 0em;
  padding: 0em;
  display: table;
}
body.posteljooni div.page-wrapper .defcur {
  cursor: default;
}
body.posteljooni div.page-wrapper tr:nth-child(odd):hover td {
  color: #fff;
  background-color: #ccc;
}
body.posteljooni div.page-wrapper tr:nth-child(even):hover td {
  color: #fff;
  background-color: #ccc;
}
body.posteljooni div.page-wrapper .menu {
  text-align: right;
  margin-right: 1em;
}
body.posteljooni div.page-wrapper #selected_letter {
  color: #bbb;
}
body.posteljooni div.page-wrapper table .small {
  width: 1em;
}
body.posteljooni div.page-wrapper table .medium {
  width: 3em;
}
body.posteljooni div.page-wrapper table .medium {
  width: auto;
}
body.posteljooni div.page-wrapper div table {
  width: 100%;
}
body.posteljooni div.page-wrapper .left-wrapper input {
  width: 100%;
}
body.posteljooni div.page-wrapper .shortened {
  width: 80%;
}
body.posteljooni div.page-wrapper .content-wrapper {
  min-height: 30em;
  height: auto;
  position: relative;
  overflow: auto;
}
body.posteljooni div.page-wrapper .margins {
  margin-left: 1em;
  margin-right: 1em;
}
body.posteljooni div.page-wrapper .select-wrapper {
  position: relative;
  left: 0;
  height: 100%;
  float: left;
  margin-left: 1em;
  margin-bottom: 1em;
  width: 45%;
  min-width: 30em;
  border: 1px;
  border-color: #000;
  border-style: solid;
  padding: 0.5em 0.5em 0.5em 0.5em;
  background-color: #fff;
}
body.posteljooni div.page-wrapper .selected-wrapper {
  position: relative;
  right: 0;
  height: 100%;
  margin-left: 1em;
  margin-right: 1em;
  width: 45%;
  min-width: 30em;
  float: right;
  border: 1px;
  border-color: #000;
  border-style: solid;
  padding: 0.5em 0.5em 0.5em 0.5em;
  background-color: #fff;
}
body.posteljooni div.page-wrapper .send_button {
  position: absolute;
  bottom: 0;
  margin-left: 1em;
}
body.posteljooni div.page-wrapper .view-details {
  position: relative;
  float: left;
  margin-left: 1em;
  margin-right: 1em;
  margin-top: 1em;
  margin-bottom: 1em;
  background-color: #fff;
  padding-left: 1em;
  padding-right: 1em;
  min-width: 20em;
}
body.posteljooni div.page-wrapper .view-preview {
  width: auto;
  height: auto;
  position: relative;
  float: left;
  margin-left: 5em;
  margin-right: 1em;
  margin-top: 1em;
  margin-bottom: 1em;
}
body.posteljooni div.page-wrapper .clear:after {
  clear: both;
  content: "";
  display: block;
}
body.posteljooni div.page-wrapper .white-wrapper {
  position: relative;
  left: 0;
  height: 100%;
  float: left;
  margin-left: 1em;
  margin-bottom: 1em;
  width: 45%;
  min-width: 30em;
  border: 1px;
  border-color: #000;
  border-style: solid;
  padding: 0.5em 0.5em 0.5em 0.5em;
  background-color: #fff;
  width: initial;
  float: none;
  margin-left: 0;
  margin-right: 0;
}
body.posteljooni div.page-wrapper .left-wrapper {
  position: relative;
  left: 0;
  height: 100%;
  float: left;
  margin-left: 1em;
  margin-bottom: 1em;
  width: 45%;
  min-width: 30em;
  border: 1px;
  border-color: #000;
  border-style: solid;
  padding: 0.5em 0.5em 0.5em 0.5em;
  background-color: #fff;
  width: auto;
}
body.posteljooni div.page-wrapper .right-wrapper {
  position: relative;
  right: 0;
  height: 100%;
  margin-left: 1em;
  margin-right: 1em;
  width: 45%;
  min-width: 30em;
  float: right;
  border: 1px;
  border-color: #000;
  border-style: solid;
  padding: 0.5em 0.5em 0.5em 0.5em;
  background-color: #fff;
  width: 100%;
  max-width: 50em;
  min-height: 60em;
  background-color: initial;
  border: none;
}
body.posteljooni div.page-wrapper .float-left {
  float: left;
}
body.posteljooni div.page-wrapper .float-right {
  float: right;
}
body.posteljooni div.page-wrapper .clink {
  cursor: pointer;
}
body.posteljooni div.page-wrapper .rejections {
  background-color: #FFEDED;
}
body.posteljooni div.page-wrapper #letterview_buttons {
  position: relative;
}
body.posteljooni div.page-wrapper #lv_delete {
  float: right;
}
body.posteljooni div.page-wrapper .sortable-item {
  cursor: move;
}
@media screen and (max-width: 1040px) {
  body.posteljooni div.page-wrapper .select-wrapper {
    display: block;
    float: none;
    left: 0;
    position: static;
  }
  body.posteljooni div.page-wrapper .selected-wrapper {
    display: block;
    float: none;
    right: initial;
    left: 0;
    position: static;
  }
  body.posteljooni div.page-wrapper .left-wrapper,
  body.posteljooni div.page-wrapper .right-wrapper {
    float: none;
    width: 95%;
    margin-left: 0.5em;
    margin-right: 0.5em;
  }
  body.posteljooni div.page-wrapper .send_button {
    float: none;
    display: block;
    position: static;
  }
  body.posteljooni div.page-wrapper .view-preview {
    margin-left: 1em;
  }
}
body.tools div.page-wrapper {
  /*

background: #7a0000;
*/
}
body.tools div.page-wrapper .page-top {
  position: relative;
}
body.tools div.page-wrapper .links {
  position: absolute;
  bottom: 0;
  right: 0;
}
body.tools div.page-wrapper .links a {
  display: inline-block;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  height: 100%;
  min-width: 150px;
  border-left: 1px solid #FCFCFD;
}
body.tools div.page-wrapper .container {
  display: flex;
}
body.tools div.page-wrapper .address-checker {
  padding: 2em 2em 0 2em;
}
body.tools div.page-wrapper .check-address {
  margin-top: 0.5em;
}
body.tools div.page-wrapper .address-feedback {
  height: 1em;
  margin-left: 2.5em;
}
body.tools div.page-wrapper .address-feedback-pos {
  color: #92ef34;
}
body.tools div.page-wrapper .address-feedback-neg {
  color: red;
}
body.tools div.page-wrapper .address-adder {
  margin: 0.5em;
  padding: 4em 2em 0 2em;
}
body.tools div.page-wrapper .address-adder > table {
  text-align: right;
  margin-top: 1em;
  box-sizing: border-box;
  padding: 2em;
}
body.tools div.page-wrapper .adder-input-field {
  width: 100%;
  box-sizing: border-box;
}
body.tools div.page-wrapper select {
  width: 100%;
}
body.tools div.page-wrapper textarea {
  resize: none;
  width: 100%;
}
body.tools div.page-wrapper .address-info {
  color: #0B0B14;
  font-weight: bold;
}
body.tools div.page-wrapper .address-query-container {
  padding: 1em 2em 2em 2em;
  margin-left: 6em;
}
body.tools div.page-wrapper .address-query {
  padding: 1em 1em 1em 0;
}
body.tools div.page-wrapper .query-results {
  width: 60em;
}
body.tools div.page-wrapper .query-results > table {
  width: 100%;
  table-layout: fixed;
}
body.tools div.page-wrapper .query-results {
  text-align: left;
}
body.tools div.page-wrapper .send-button {
  margin: 0.5em 0;
}
@media only screen and (max-width: 1600px) {
  body.tools div.page-wrapper .address-query-container {
    margin-left: 0;
  }
  body.tools div.page-wrapper .container {
    display: block;
  }
}
@media only screen and (max-width: 1600px) {
  body.tools div.page-wrapper .query-results {
    width: 100%;
  }
  body.tools div.page-wrapper .query-results > table {
    width: 100%;
    table-layout: auto;
  }
}
body.tools div.page-wrapper div.settings-main-area {
  padding-left: 2em;
  color: #0B0B14;
  line-height: 1.5em;
}
body.tools div.page-wrapper div.settings-main-area table {
  width: 800px;
}
body.tools div.page-wrapper h2 {
  color: #0B0B14;
}
body.tools div.page-wrapper .integration > p {
  margin-left: 2em;
}
body.tools div.page-wrapper .integration-padding {
  margin-left: 2em;
}
body.tools div.page-wrapper .integrationbtn {
  border-radius: 5px;
  color: #ffffff;
  background: #154a57;
  padding: 10px 20px 10px 20px;
  text-decoration: none;
  border-width: 0;
}
body.tools div.page-wrapper .integrationbtn:hover {
  background: #0c282e;
  text-decoration: none;
}
body.tools div.page-wrapper .removebtn {
  background: #C20A38;
}
body.tools div.page-wrapper .removebtn:hover {
  background: #7a0000;
}
body.tools div.page-wrapper .settings-main-area table,
body.tools div.page-wrapper .settings-main-area th,
body.tools div.page-wrapper .settings-main-area td {
  background-color: #F3F3F7;
  border: 1px solid #F3F3F7;
}
body.traffic div.page-wrapper .page-top {
  position: relative;
}
body.traffic div.page-wrapper .links {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
}
body.traffic div.page-wrapper .links a {
  float: right;
  display: inline-block;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  height: 100%;
  min-width: 150px;
  border-left: 1px solid #FCFCFD;
}
body.traffic div.page-wrapper .pitstop {
  background-color: #fff;
  position: relative;
  padding-top: 1em;
  padding-bottom: 1em;
  padding-left: 1em;
  padding-right: 1em;
}
body.traffic div.page-wrapper #ad_title {
  width: calc(70vw);
}
body.traffic div.page-wrapper .advertisement {
  position: absolute;
  right: 1em;
  top: 3em;
  width: 20em;
  padding-left: 0.5em;
  padding-right: 0.5em;
  border-style: solid;
  border-width: 1px;
  border-color: #000;
  background-color: #fff;
  z-index: 100;
}
body.traffic div.page-wrapper ul,
body.traffic div.page-wrapper li {
  background-color: transparent;
}
body.traffic div.page-wrapper .invoice-list {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
}
body.traffic div.page-wrapper #results_header {
  display: flex;
  margin-bottom: 1em;
  margin-left: 1em;
}
body.traffic div.page-wrapper #page_changer {
  flex: 0 0 6em;
}
body.traffic div.page-wrapper #result_count {
  flex: 0 0 10em;
}
body.traffic div.page-wrapper span.details-toggle {
  font-size: 28px;
}
body.traffic div.page-wrapper .circle {
  border-radius: 50%;
  width: 2em;
  height: 2em;
  margin: auto;
}
body.traffic div.page-wrapper .circle_green {
  background-color: green;
}
body.traffic div.page-wrapper .circle_yellow {
  background-color: orange;
}
body.traffic div.page-wrapper .circle_black {
  /*background-color: black;*/
}
body.invoice-create div.page-wrapper .page-top {
  position: relative;
}
body.invoice-create div.page-wrapper .links {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
}
body.invoice-create div.page-wrapper .links a {
  float: right;
  display: inline-block;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  height: 100%;
  min-width: 150px;
  border-left: 1px solid #FCFCFD;
}
body.invoice-create div.page-wrapper div.create-invoice {
  margin-left: 2em;
}
body.invoice-create div.page-wrapper input.wide {
  width: 100%;
}
body.invoice-create div.page-wrapper th {
  text-align: left;
}
body.invoice-create div.page-wrapper h3 {
  color: #0B0B14;
}
body.invoice-create div.page-wrapper table {
  margin-top: 0.5em;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  overflow: hidden;
}
body.invoice-create div.page-wrapper table tr:last-child td:first-child {
  -moz-border-radius-bottomleft: 4px;
  -webkit-border-bottom-left-radius: 4px;
  border-bottom-left-radius: 4px;
}
body.invoice-create div.page-wrapper table tr:last-child td:last-child {
  -moz-border-radius-bottomright: 4px;
  -webkit-border-bottom-right-radius: 4px;
  border-bottom-right-radius: 4px;
}
body.invoice-create div.page-wrapper button.small {
  min-width: 1em;
}
body.invoice-create div.page-wrapper div.header table,
body.invoice-create div.page-wrapper div.rows table,
body.invoice-create div.page-wrapper div.factoring table {
  width: 800px;
  margin-bottom: 1em;
}
body.invoice-create div.page-wrapper div.rows th,
body.invoice-create div.page-wrapper div.rows tr.bordered td,
body.invoice-create div.page-wrapper div.rows td.bordered {
  border: 1px solid #F3F3F7;
}
body.invoice-create div.page-wrapper div.pdf-preview {
  display: inline-block;
  float: left;
}
body.invoice-create div.page-wrapper .error,
body.invoice-create div.page-wrapper .ERR {
  color: #C20A38;
}
body.invoice-create div.page-wrapper .OK {
  color: #0F8A71;
}
body.invoice-create div.page-wrapper .send_ok_row,
body.invoice-create div.page-wrapper #send_ok_row {
  background-color: #baf9ca;
}
body.invoice-create div.page-wrapper .invoice_details_row {
  background-color: #d0d0d0;
}
body.invoice-create div.page-wrapper .epiName input {
  width: 100%;
}
body.invoice-create div.page-wrapper .ytj-button {
  min-width: 1em;
}
body.invoice-create div.page-wrapper .vat-free-text {
  min-height: 150px;
  min-width: 150px;
}
body.invoice-create div.page-wrapper .invoiceForm table,
body.invoice-create div.page-wrapper .invoiceForm th,
body.invoice-create div.page-wrapper .invoiceForm td {
  background-color: #F3F3F7;
  border: 1px solid #F3F3F7;
}
body.invoice-create div.page-wrapper .invoice-form table,
body.invoice-create div.page-wrapper .invoice-form th,
body.invoice-create div.page-wrapper .invoice-form td,
body.invoice-create div.page-wrapper .invoice-form tr,
body.invoice-create div.page-wrapper .invoice-form {
  background-color: #FCFCFD;
}
body.invoice-view div.page-wrapper main.flex-view {
  display: flex;
  justify-content: left;
}
body.invoice-view div.page-wrapper div.pdf-object {
  display: inline-block;
  margin-right: 1em;
  maring-bottom: 0.5em;
  width: 800px;
  min-width: 800px;
  max-width: 800px;
}
body.invoice-view div.page-wrapper #viewer {
  width: 800px;
  height: 600px;
  frameborder: 0;
  allowfullscreen: true;
  mozallowfullscreen: true;
  webkitallowfullscreen: true;
  wmode: transparent;
}
body.invoice-view div.page-wrapper .kludge {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: -1;
  border: none;
}
body.invoice-view div.page-wrapper div.invoice-info {
  display: inline-block;
}
body.invoice-view div.page-wrapper div.administrate {
  margin: 0.5em;
}
body.invoice-view div.page-wrapper .administrate span {
  margin: 0 0.3em;
}
body.invoice-view div.page-wrapper button.selected-attachment {
  font-weight: bold;
  background-color: #ccc;
  border: 3px solid #999;
}
body.invoice-view div.page-wrapper div.invoice-details {
  padding: 0.2em;
  margin-bottom: 0.3em;
  margin-top: 0.3em;
}
body.invoice-view div.page-wrapper textarea.custom-email {
  width: 80%;
  height: 6em;
  border: 1px solid ;
}
body.invoice-view div.page-wrapper div.invoice-ops {
  margin-top: 1em;
}
body.invoice-view div.page-wrapper div.peukku-buttons {
  text-align: center;
}
body.invoice-view div.page-wrapper textarea.comment-content {
  width: 100%;
}
body.invoice-view div.page-wrapper div.comment-content {
  padding: 0.3em;
  background-color: #e7ebf3;
  min-height: 2em;
}
body.invoice-view div.page-wrapper div.comment-text {
  display: inline-block;
  width: 90%;
}
body.invoice-view div.page-wrapper div.comment {
  margin-top: 1em;
  max-width: 20em;
}
body.invoice-view div.page-wrapper div.comment-header {
  background-color: #367b8b;
  color: #fff;
  text-align: right;
}
body.invoice-view div.page-wrapper div.add-comment {
  margin-top: 0.5em;
}
body.invoice-view div.page-wrapper span.comment-email {
  float: left;
}
body.invoice-view div.page-wrapper .peukku-buttons button {
  min-width: 0;
}
body.invoice-view div.page-wrapper .word-wrap {
  white-space: pre-wrap;
  word-wrap: break-word;
}
body.storage div.page-wrapper main.flex-view {
  display: flex;
  justify-content: left;
}
body.storage div.page-wrapper div.pdf-object {
  display: inline-block;
  margin-right: 1em;
  margin-bottom: 0.5em;
  height: vh;
}
body.storage div.page-wrapper #viewer {
  width: 100%;
  height: 100%;
  frameborder: 0;
  allowfullscreen: yes;
  mozallowfullscreen: true;
  webkitallowfullscreen: true;
  wmode: transparent;
  border: 1px;
}
body.storage div.page-wrapper .select-wrapper {
  position: relative;
  margin-left: 1em;
  margin-bottom: 1em;
  border: 1px;
  border-color: #000;
  border-style: solid;
  padding: 0.5em 0.5em 0.5em 0.5em;
  background-color: #fff;
}
body.storage div.page-wrapper .white-wrapper {
  position: relative;
  margin-left: 1em;
  margin-bottom: 1em;
  border: 1px;
  border-color: #000;
  border-style: solid;
  padding: 0.5em 0.5em 0.5em 0.5em;
  background-color: #fff;
  margin-left: 0;
  margin-right: 0;
  min-width: 30em;
  max-width: 50em;
}
body.storage div.page-wrapper .button {
  margin-left: 1em;
  text-decoration: none;
  background-color: #EEEEEE;
  color: #333333;
  padding: 2px 6px 2px 6px;
  border-top: 1px solid #CCCCCC;
  border-right: 1px solid #333333;
  border-bottom: 1px solid #333333;
  border-left: 1px solid #CCCCCC;
}
body.oauth2 div.page-wrapper .content-wrapper {
  min-height: 20em;
  height: auto;
  position: relative;
  overflow: auto;
}
body.oauth2 div.page-wrapper .clear:after {
  clear: both;
  content: "";
  display: block;
}
body.oauth2 div.page-wrapper .select-wrapper {
  position: relative;
  left: 0;
  /*height: 100%;*/
  float: left;
  margin-top: 1em;
  margin-left: 1em;
  margin-bottom: 1em;
  width: 45%;
  min-width: 30em;
  border: 1px;
  border-color: #000;
  border-style: solid;
  padding: 0.5em 0.5em 0.5em 0.5em;
  background-color: #fff;
}
body.oauth2 div.page-wrapper .white-wrapper {
  position: relative;
  left: 0;
  /*height: 100%;*/
  float: left;
  margin-top: 1em;
  margin-left: 1em;
  margin-bottom: 1em;
  width: 45%;
  min-width: 30em;
  border: 1px;
  border-color: #000;
  border-style: solid;
  padding: 0.5em 0.5em 0.5em 0.5em;
  background-color: #fff;
  width: initial;
  float: none;
  margin-left: 0;
  margin-right: 0;
}
