/* General */
small {
  font-size: 12px;
}
.custom-center {
  text-align: center;
  margin: 0 auto;
}
.hidden {
  display: none;
}
a {
  text-decoration: none;
}
.cursor:hover {
  cursor: pointer;
}
.half-opacity {
  opacity: 0.5;
}
.center-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.center-horizontal {
  margin-left: auto;
  margin-right: auto;
}
.vertical-middle {
  vertical-align: middle;
}
.center-text {
  text-align: center;
}
.cursor:hover {
  cursor: pointer;
}
.small-side {
  max-width: 30%;
}
.max-width {
  max-width: 90%;
  width: 100%;
  margin: 0 auto;
}
.inline-block {
  display: inline-block;
  vertical-align: top;
}
.inline-block-middle {
  display: inline-block;
  vertical-align: middle;
}
.float-right {
  float: right;
}
.float-left {
  float: left;
}
.clear-both {
  clear: both;
}
.white-space {
  display: block;
  height: 20px;
}
.display-inline {
  display: inline-block;
}
.margin-top {
  margin-top: 20px;
}
.margin-bottom {
  margin-bottom: 10px;
}
.margin-right {
  margin-right: 20px;
}
.margin-right-small {
  margin-right: 10px;
}
.uppercase {
  text-transform: uppercase;
}
hr {
  border-top: 1px solid #ccc;
}
.alert {
  border: 2px solid #da1f1f;
  padding: 10px;
  margin: 10px 10px;
}
.longbadge {
  display: inline-block;
  background: #ccc;
  margin-right: 5px;
  font-size: 10px;
  padding: 0 8px;
  border-radius: 10px;
}
.longbadge.outline {
  background: transparent;
  border: 1px solid #ccc;
}
.longbadge.published {
  background: #49ab3e;
  color: #fff;
}
.longbadge.pending {
  background: #1f1f21;
  color: #fff;
}
.small-button {
  height: 28px;
  line-height: 19px;
  width: 73px;
  text-align: center;
  margin-left: 10px;
}
/* Cols */
.col-border {
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 10px;
  margin-right: 1%;
}

ons-splitter-content {
  left: 42px;
}

/* footer */
footer {
  text-align: right;
  padding: 20px;
  width: calc(100% - 40px);
  font-size: 14px;
  color: #ccc;
}

/* form elements */
.wide {
  width: 100%;
}
.semi-wide {
  width: 80%;
}
.half {
  width: 50%;
}
.no-dividers,
.no-dividers label {
  background-image: none;
}

#addDescription,
#addNote {
  width: 100%;
}
#fragmentList-first .list-item__subtitle,
#fragmentList-last .list-item__subtitle {
  font-size: 10px;
}

.sticky-header {
  position: sticky;
  top: 0px;
  z-index: 9999;
  background-image: none;
}
/* colors */
.grey {
  color: #717171;
}
.light-grey {
  color: #cccccc;
}
.red {
  color: #b50600;
}
.light-red {
  color: #ff4e48;
}
.white {
  color: #ffffff !important;
}
.black {
  color: #000000 !important;
}
.yellow {
  color: #f5b342;
}
.black-background {
  background-color: #000000;
}
.green-background {
  background-color: #1aa315;
}
.grey-background {
  background-color: #999999;
}
.dark-grey-background {
  background-color: #333;
}
/* Toolbar */
.toolbar {
  height: 55px;
}
/* Login Screen */
.vertical-center-box {
  margin-top: 10%;
  position: relative;
}
.rotate {
  -webkit-animation: spin 2s linear infinite;
  -moz-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}
#btnProgress {
  margin-right: 10px;
}
#municipalitySystemInfo {
  font-size: 12px;
  margin-top: 10px;
  color: #717171;
  font-style: italic;
}
#sync .left.list-item__left {
  width: 340px;
}
ons-select.col-synk-select.select,
ons-select.col-synk-select-municipality.select,
ons-select.col-synk-select-fragments.select {
  width: 100%;
}

@-moz-keyframes spin {
  100% {
    -moz-transform: rotate(-360deg);
  }
}
@-webkit-keyframes spin {
  100% {
    -webkit-transform: rotate(-360deg);
  }
}
@keyframes spin {
  100% {
    -webkit-transform: rotate(-360deg);
    transform: rotate(-360deg);
  }
}

#login .page__background,
#verifyEmail .page__background,
#welcome .page__background {
  background-image: url('../images/background.jpg');
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.input-login {
  width: 100%;
  max-width: 250px;
}
/* User admin */
.user-list-role {
  padding: 0px 10px;
  border-radius: 3px;
  margin-left: 10px;
  min-width: 50px;
  font-size: 10px;
}
/* product */
#product-image-wrapper img {
  width: 100%;
  height: auto;
}
.icon-label {
  position: relative;
  top: 5px;
  font-size: 12px;
}
#product-image-wrapper {
  position: relative;
  min-height: 200px;
  background-color: #eee;
}
#product-image-wrapper a:before {
  content: '\f1ee';
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1000;
  font: normal normal normal 16px/1 'Material-Design-Iconic-Font';
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  color: #ccc;
}
#productpageSettings {
  float: right;
  color: #ccc;
}
#searchBtn {
  margin-left: 30px;
}
/* Menu */
#menu .page__background {
  background: #333;
}
#menu .list {
  background: transparent;
}
#menu .list-item {
  color: #ccc;
}
#menu .list-item:hover {
  color: #fff;
}
#menu .list-header {
  background: #717171;
  color: #fff;
}
/* segment badge */
ons-segment#segment {
  position: relative;
}
.segment_badge.notification {
  vertical-align: text-bottom;
  top: -8px;
  right: 6px;
  z-index: 10;
  font-size: 12px;
  height: 16px;
  min-width: 16px;
  line-height: 16px;
  border-radius: 8px;
  position: absolute;
}

/* Scanner */
.video-wrapper {
  overflow: hidden;
  position: relative;
  z-index: 1;
  width: 100%;
  height: 300px;
}
.video-wrapper video {
  position: absolute;
  object-fit: cover;
  width: 100%;
  height: 100%;
}
input#scanImage {
  position: absolute;
  left: -1000px;
}
.content-wrapper {
  max-width: 650px;
  margin: 0 auto;
}
.truncate {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 70%;
}
.gsImportElm {
  margin: 5px;
  padding: 5px;
  background: #eee;
}
.gsImageUploading {
  background: #cc1212;
  padding: 2px 15px;
  border-radius: 10px;
  color: #fff;
  font-size: 12px;
  margin-left: 11px;
}
div#refreshSearchWordsList {
  margin-top: 15px;
  font-size: 18px;
}
.view-road-close-btn,
.view-element-close-btn,
.view-pickup-close-btn {
  font-size: 24px;
  color: #000;
  cursor: pointer;
}
.datepicker-container {
  font-family: -apple-system, 'Helvetica Neue', Helvetica, Arial,
    'Lucida Grande', sans-serif;
  z-index: 999999 !important;
}
#product-stats-popover .popover__content {
  width: 270px;
}

#menu .page__content {
  overflow: hidden;
}

ons-badge {
  position: relative;
  top: -6px;
  left: -4px;
  font-size: 9px;
  width: 10px;
  height: 10px;
  background: #fff;
  color: #7a7a7a;
  border-radius: 5px;
  text-align: center;
  line-height: 10px;
  font-weight: 700;
}

#fragment-pictogram .image-container {
  width: 200px;
  height: 200px;
}

/* Dawa styles */
.autocomplete-container {
  /* relative position for at de absolut positionerede forslag får korrekt placering.*/
  position: relative;
  width: 100%;
  max-width: 30em;
}

.autocomplete-container input {
  /* Både input og forslag får samme bredde som omkringliggende DIV */
  width: 100%;
  box-sizing: border-box;
}

.dawa-autocomplete-suggestions {
  margin: 0.3em 0 0 0;
  padding: 0;
  text-align: left;
  border-radius: 0.3125em;
  background: #fcfcfc;
  box-shadow: 0 0.0625em 0.15625em rgba(0, 0, 0, 0.15);
  position: absolute;
  left: 0;
  right: 0;
  z-index: 99999;
  overflow-y: auto;
  box-sizing: border-box;
}

.dawa-autocomplete-suggestions .dawa-autocomplete-suggestion {
  margin: 0;
  list-style: none;
  cursor: pointer;
  padding: 0.4em 0.6em;
  color: #333;
  border: 0.0625em solid #ddd;
  border-bottom-width: 0;
}

.dawa-autocomplete-suggestions .dawa-autocomplete-suggestion:first-child {
  border-top-left-radius: inherit;
  border-top-right-radius: inherit;
}

.dawa-autocomplete-suggestions .dawa-autocomplete-suggestion:last-child {
  border-bottom-left-radius: inherit;
  border-bottom-right-radius: inherit;
  border-bottom-width: 0.0625em;
}

.dawa-autocomplete-suggestions .dawa-autocomplete-suggestion.dawa-selected,
.dawa-autocomplete-suggestions .dawa-autocomplete-suggestion:hover {
  background: #f0f0f0;
}
.text-input {
  width: 100%;
  height: 28px;
  border: 1px solid #aaa;
  border-radius: 5px;
  line-height: 29px;
  padding-left: 8px;
  font-size: 16px;
}
