﻿img.logo-emas {
  width: 120px;
  margin-top: -5px;
  display: initial;
  margin-right: 10px;
}

.navbar-brand .title {
  margin-left: 135px;
  margin-top: -38px;
}

.navbar-brand .sub-title {
  font-size: 16px;
}

.content-wrapper {
  min-height: 500px;
}

pre {
  white-space: pre-wrap; /* Since CSS 2.1 */
  white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
  white-space: -pre-wrap; /* Opera 4-6 */
  white-space: -o-pre-wrap; /* Opera 7 */
  word-wrap: break-word; /* Internet Explorer 5.5+ */
}

.td-vertical > tbody > tr > td {
  vertical-align: middle !important;
}

.cut-text {
  white-space: nowrap;
  width: 250px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.form-group.required .control-label:after {
  color: #d00;
  content: "*";
  position: absolute;
  margin-left: 8px;
  top: 7px;
}
.modal-second {
  z-index: 1052;
}
.modal-first {
  z-index: 1051;
}
.modal-backdrop.fade + .modal-backdrop.fade {
  z-index: 1051;
}
.modal-header-info {
  color: #fff;
  padding: 9px 15px;
  border-bottom: 1px solid #eee;
  background-color: #337ab7;
}
textarea::-webkit-scrollbar {
  width: 8px;
  background-color: #f5f5f5;
}
textarea::-webkit-scrollbar-thumb {
  border-radius: 10px;
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
  background-color: #e2e2e2;
}
.m-direction-title {
  font-size: larger;
  font-weight: bold;
}
@media only screen and (max-width: 575.98px) {
  .cut-text-md {
    white-space: nowrap;
    width: 40px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
@media only screen and (min-width: 576px) {
  .cut-text-md {
    white-space: nowrap;
    width: 60px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
@media only screen and (min-width: 768px) {
  .cut-text-md {
    white-space: nowrap;
    width: 90px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
@media only screen and (min-width: 960px) {
  .cut-text-md {
    white-space: nowrap;
    width: 110px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
@media only screen and (min-width: 1200px) {
  .cut-text-md {
    white-space: nowrap;
    width: 170px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
@media only screen and (min-width: 1440px) {
  .cut-text-md {
    white-space: nowrap;
    width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
@media only screen and (min-width: 1500px) {
  .cut-text-md {
    width: auto;
  }
}

@media only screen and (max-width: 575.98px) {
  .cut-text-lg {
    white-space: nowrap;
    width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
@media only screen and (min-width: 576px) {
  .cut-text-lg {
    white-space: nowrap;
    width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
@media only screen and (min-width: 768px) {
  /* default iPad screens */
  .cut-text-lg {
    white-space: nowrap;
    width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media only screen and (min-width: 960px) {
  .cut-text-lg {
    white-space: nowrap;
    width: 240px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
@media only screen and (min-width: 1200px) {
  .cut-text-lg {
    white-space: nowrap;
    width: 270px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
@media only screen and (min-width: 1440px) {
  .cut-text-lg {
    white-space: nowrap;
    width: 320px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media only screen and (min-width: 1500px) {
  .cut-text-lg {
    width: auto;
  }
}

@media only screen and (min-width: 1440px) {
  .col-function {
    width: 60px;
  }
}

@media only screen and (max-width: 1439.98px) {
  .col-function {
    width: 40px;
  }
}

.dropdown-menu {
  min-width: 260px;
}

.table > tbody > tr > td,
.table > tfoot > tr > th,
.table > thead > tr > th {
  vertical-align: middle;
}

button.multiselect {
  background-color: white;
}

.sidebar-mini.sidebar-collapse .sidebar-menu > li > a > span {
  width: 250px !important;
}

.sidebar-mini:not(.sidebar-mini-expand-feature).sidebar-collapse
  .sidebar-menu
  > li:hover
  > a
  > .pull-right-container {
  left: 245px !important;
}

.sidebar-mini.sidebar-collapse .sidebar-menu > li > .treeview-menu {
  width: 250px !important;
}

.form-control-feedback-custom {
  pointer-events: auto;
}

.close-custom {
  opacity: unset !important;
  color: white !important;
}

.form-control-custom .form-control {
  padding: 6px 9px;
}

.input-group-addon-custom .input-group-addon {
  border: none;
}

.cursor-help {
  cursor: help;
}

.overflow-ellipsis {
  white-space: nowrap;
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
}

p.overflow-ellipsis {
  max-width: 100%;
}

.small-box .icon {
  font-size: 78px;
}

.small-box:hover .icon {
  font-size: 83px;
}

.uploader input {
  width: 100%;
  cursor: pointer;
}

.description-block > .description-header {
  font-size: 14px;
}

.dropdown-menu {
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
}

.dropdown-menu > li {
  margin-bottom: 1px;
}

.dropdown-header {
  font-size: 14px;
  font-weight: bold;
  padding: 5px 20px;
  /*background-color: #0670ad;*/
  background-color: #8bc34a;
  color: #fff;
}

.cropArea {
  background: #e4e4e4;
  overflow: hidden;
  width: 100%;
  height: 400px;
}

.unCrop {
  overflow: hidden;
  max-width: 100%;
  max-height: 400px;
}

.upload-button {
  position: absolute;
  top: 70%;
  left: 55%;
  margin: 0 auto;
  width: 25px;
  height: 25px;
  padding: 3px;
  border: 3px solid white;
  border-radius: 50%;
  background-color: white;
}

.fa-camera {
  position: absolute;
  top: 3px;
  left: 2px;
}

.profile-user-img {
  height: 100px;
}

.user-panel > .image > img {
  max-height: 45px;
}

.object-fit-cover {
  object-fit: cover;
}

.label-line-custom {
  line-height: 27px;
}

.text-left {
  text-align: left !important;
}

.text-normal {
  font-weight: normal !important;
}

.login-page .content-wrapper {
  min-height: 708px;
  background-color: #eeeded;
}

.modal-pdf,
.modal-size-80 .modal-dialog {
  width: 80%;
}

.view-pdf {
  width: 100%;
  height: 800px;
}

.no-border {
  border: none !important;
}

.uploader input[type="file"] {
  width: 100%;
  margin-top: 0;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  height: 38px;
  border: 0;
  cursor: pointer;
  z-index: 10;
  opacity: 0;
  filter: alpha(opacity=0);
}

.uploader .action {
  cursor: pointer;
  margin: 0;
  float: left;
}

.uploader .filename {
  color: #999999;
  padding: 8px 16px;
  cursor: pointer;
  display: block;
  border: 1px solid transparent;
  float: left;
  max-width: 100%;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

@media (min-width: 768px) {
  .table-break {
    table-layout: fixed;
  }

  .table-break td.break-word {
    white-space: pre-wrap;
    word-wrap: break-word;
  }
}

@media (max-width: 991px) {
  .invoice-reference {
    padding-top: 0 !important;
  }
}

/* https://bootsnipp.com/snippets/kM4Q */
.dropdown-submenu {
  position: relative;
}

.dropdown-submenu > .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -6px;
  margin-left: -1px;
  -webkit-border-radius: 0 6px 6px 6px;
  -moz-border-radius: 0 6px 6px;
  border-radius: 0 6px 6px 6px;
}

.dropdown-submenu:hover > .dropdown-menu {
  display: block;
}

.dropdown-submenu > a:after {
  display: block;
  content: " ";
  float: right;
  width: 0;
  height: 0;
  border-color: transparent;
  border-style: solid;
  border-width: 5px 0 5px 5px;
  border-left-color: #777;
  margin-top: 5px;
  margin-right: -10px;
}

.dropdown-submenu:hover > a:after {
  border-left-color: #ccc;
}

.dropdown-submenu.pull-left {
  float: none;
}

.dropdown-submenu.pull-left > .dropdown-menu {
  left: -100%;
  margin-left: 10px;
  -webkit-border-radius: 6px 0 6px 6px;
  -moz-border-radius: 6px 0 6px 6px;
  border-radius: 6px 0 6px 6px;
}
/* https://bootsnipp.com/snippets/kM4Q */

.search-overflow + .dropdown-menu {
  max-height: 200px;
  overflow-y: auto;
}

.form-control.form-control-custom {
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
  box-shadow: none !important;
  padding-left: 0;
  padding-right: 0;
}

@media (min-width: 992px) {
  .col-md-10.col-custom {
    width: 88.33333333%;
  }

  .col-md-2.col-custom {
    width: 11.66666667%;
  }

  .col-md-8.col6-col-custom {
    width: 76.66666667%;
  }

  .col-md-4.col6-col-custom {
    width: 23.33333333%;
  }

  .col-md-10.col9-col-custom {
    width: 84.33333333%;
  }

  .col-md-2.col9-col-custom {
    width: 15.66666667%;
  }
}

.border-taxcode {
  border: 1px solid;
  padding: 5px 10px;
  margin-right: 3px;
}

.form-custom-width {
  width: 1200px;
  margin: 0 auto;
}
.padding-left-40 {
  padding-left: 40px !important;
}

.border-top-1 {
  border-top: 1px solid #000 !important;
}

.text-success {
  color: #4caf50 !important;
}

.text-danger {
  color: #a94442 !important;
}

.padding-8 {
  padding: 8px !important;
}

/* Absolute Center Spinner */
.loading {
  position: fixed;
  z-index: 999;
  height: 2em;
  width: 2em;
  overflow: show;
  margin: auto;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

/* Transparent Overlay */
.loading:before {
  content: "";
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    rgba(220, 220, 220, 0.8),
    rgba(200, 200, 200, 0.8)
  );

  background: -webkit-radial-gradient(
    rgba(220, 220, 220, 0.8),
    rgba(200, 200, 200, 0.8)
  );
}

/* :not(:required) hides these rules from IE9 and below */
.loading:not(:required) {
  /* hide "loading..." text */
  font: 0/0 a;
  color: transparent;
  text-shadow: none;
  background-color: transparent;
  border: 0;
}

.loading:not(:required):after {
  content: "";
  display: block;
  font-size: 10px;
  width: 1em;
  height: 1em;
  margin-top: -0.5em;
  -webkit-animation: spinner 150ms infinite linear;
  -moz-animation: spinner 150ms infinite linear;
  -ms-animation: spinner 150ms infinite linear;
  -o-animation: spinner 150ms infinite linear;
  animation: spinner 150ms infinite linear;
  border-radius: 0.5em;
  -webkit-box-shadow: rgba(255, 255, 255, 0.75) 1.5em 0 0 0,
    rgba(255, 255, 255, 0.75) 1.1em 1.1em 0 0,
    rgba(255, 255, 255, 0.75) 0 1.5em 0 0,
    rgba(255, 255, 255, 0.75) -1.1em 1.1em 0 0,
    rgba(255, 255, 255, 0.75) -1.5em 0 0 0,
    rgba(255, 255, 255, 0.75) -1.1em -1.1em 0 0,
    rgba(255, 255, 255, 0.75) 0 -1.5em 0 0,
    rgba(255, 255, 255, 0.75) 1.1em -1.1em 0 0;
  box-shadow: rgba(255, 255, 255, 0.75) 1.5em 0 0 0,
    rgba(255, 255, 255, 0.75) 1.1em 1.1em 0 0,
    rgba(255, 255, 255, 0.75) 0 1.5em 0 0,
    rgba(255, 255, 255, 0.75) -1.1em 1.1em 0 0,
    rgba(255, 255, 255, 0.75) -1.5em 0 0 0,
    rgba(255, 255, 255, 0.75) -1.1em -1.1em 0 0,
    rgba(255, 255, 255, 0.75) 0 -1.5em 0 0,
    rgba(255, 255, 255, 0.75) 1.1em -1.1em 0 0;
}

/* Animation */

@-webkit-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@-moz-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@-o-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@media only screen and (min-width: 1600px) {
  .modal-lg-1200 {
    width: 1200px;
  }
}

@media only screen and (max-width: 1599px) {
  .modal-lg-1200 {
    width: 80%;
  }
}

.pagination-select-page {
  width: 70px;
  box-shadow: none;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.42857143;
  color: #555;
  background-color: #fff;
  background-image: none;
  border: 1px solid #ccc;
  -webkit-box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
  -webkit-transition: border-color ease-in-out 0.15s,
    -webkit-box-shadow ease-in-out 0.15s;
  -o-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
  transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}

@media only screen and (max-width: 575.98px) {
    .cut-text-apikey {
      white-space: nowrap;
      width: 40px;
      overflow: hidden;
      text-overflow: ellipsis;
    }
  }
  @media only screen and (min-width: 576px) {
    .cut-text-apikey {
      white-space: nowrap;
      width: 60px;
      overflow: hidden;
      text-overflow: ellipsis;
    }
  }
  @media only screen and (min-width: 768px) {
    .cut-text-apikey {
      white-space: nowrap;
      width: 90px;
      overflow: hidden;
      text-overflow: ellipsis;
    }
  }
  @media only screen and (min-width: 960px) {
    .cut-text-apikey {
      white-space: nowrap;
      width: 110px;
      overflow: hidden;
      text-overflow: ellipsis;
    }
  }
  @media only screen and (min-width: 1200px) {
    .cut-text-apikey {
      white-space: nowrap;
      width: 170px;
      overflow: hidden;
      text-overflow: ellipsis;
    }
  }
  @media only screen and (min-width: 1440px) {
    .cut-text-apikey {
      white-space: nowrap;
      width: 200px;
      overflow: hidden;
      text-overflow: ellipsis;
    }
  }
  @media only screen and (min-width: 1800px) {
    .cut-text-apikey {
      white-space: nowrap;
      width: 240px;
      overflow: hidden;
      text-overflow: ellipsis;
    }
  }
  @media only screen and (min-width: 2200px) {
    .cut-text-apikey {
      width: auto;
    }
  }
  @media only screen and (max-width: 575.98px) {
    .cut-text-transactionid {
      white-space: nowrap;
      width: 50px;
      overflow: hidden;
      text-overflow: ellipsis;
    }
  }
  @media only screen and (min-width: 576px) {
    .cut-text-transactionid {
      white-space: nowrap;
      width: 70px;
      overflow: hidden;
      text-overflow: ellipsis;
    }
  }
  @media only screen and (min-width: 768px) {
    .cut-text-transactionid {
      white-space: nowrap;
      width: 85px;
      overflow: hidden;
      text-overflow: ellipsis;
    }
  }
  @media only screen and (min-width: 960px) {
    .cut-text-transactionid {
      white-space: nowrap;
      width: 125px;
      overflow: hidden;
      text-overflow: ellipsis;
    }
  }
  @media only screen and (min-width: 1200px) {
    .cut-text-transactionid {
      white-space: nowrap;
      width: 160px;
      overflow: hidden;
      text-overflow: ellipsis;
    }
  }
  @media only screen and (min-width: 1440px) {
    .cut-text-transactionid {
      white-space: nowrap;
      width: 240px;
      overflow: hidden;
      text-overflow: ellipsis;
    }
  }
  @media only screen and (min-width: 1800px) {
    .cut-text-transactionid {
      white-space: nowrap;
      width: 300px;
      overflow: hidden;
      text-overflow: ellipsis;
    }
  }
  @media only screen and (min-width: 2200px) {
    .cut-text-transactionid {
      width: auto;
    }
  }
  @media only screen and (max-width: 575.98px) {
    .cut-text-messageid {
      white-space: nowrap;
      width: 40px;
      overflow: hidden;
      text-overflow: ellipsis;
    }
  }
  @media only screen and (min-width: 576px) {
    .cut-text-messageid {
      white-space: nowrap;
      width: 60px;
      overflow: hidden;
      text-overflow: ellipsis;
    }
  }
  @media only screen and (min-width: 768px) {
    .cut-text-messageid {
      white-space: nowrap;
      width: 90px;
      overflow: hidden;
      text-overflow: ellipsis;
    }
  }
  @media only screen and (min-width: 960px) {
    .cut-text-messageid {
      white-space: nowrap;
      width: 120px;
      overflow: hidden;
      text-overflow: ellipsis;
    }
  }
  @media only screen and (min-width: 1200px) {
    .cut-text-messageid {
      white-space: nowrap;
      width: 150px;
      overflow: hidden;
      text-overflow: ellipsis;
    }
  }
  @media only screen and (min-width: 1440px) {
    .cut-text-messageid {
      white-space: nowrap;
      width: 220px;
      overflow: hidden;
      text-overflow: ellipsis;
    }
  }
  @media only screen and (min-width: 1800px) {
    .cut-text-messageid {
      white-space: nowrap;
      width: 320px;
      overflow: hidden;
      text-overflow: ellipsis;
    }
  }
  @media only screen and (min-width: 2200px) {
    .cut-text-messageid {
      width: auto;
    }
  }