map {
  display: block;
  width: 100%;
  height: 100%;
}
body {
    background: #fafafa;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #333;
}

/* ==========================================================================
Hide ng-cloak on page load, https://docs.angularjs.org/api/ng/directive/ngCloak
========================================================================== */
[ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], .ng-cloak, .x-ng-cloak {
    display: none !important;
}

/* ==========================================================================
Development Ribbon
========================================================================== */
.ribbon {
    background-color: #a00;
    box-shadow: 0 0 10px #888;
    left: -3.5em;
    moz-box-shadow: 0 0 10px #888;
    moz-transform: rotate(-45deg);
    ms-transform: rotate(-45deg);
    o-transform: rotate(-45deg);
    overflow: hidden;
    position: absolute;
    top: 40px;
    transform: rotate(-45deg);
    webkit-box-shadow: 0 0 10px #888;
    webkit-transform: rotate(-45deg);
    white-space: nowrap;
    width: 15em;
    z-index: 9999;
    pointer-events: none;
}

.ribbon a {
    border: 1px solid #faa;
    color: #fff;
    display: block;
    font: bold 81.25% 'Helvetica Neue', Helvetica, Arial, sans-serif;
    margin: 1px 0;
    padding: 10px 50px;
    text-align: center;
    text-decoration: none;
    text-shadow: 0 0 5px #444;
    pointer-events: none;
}

/* ==========================================================================
Version number in navbar
========================================================================== */
.navbar-version {
    font-size: 10px;
    color: #ccc
}

/* ==========================================================================
Browser Upgrade Prompt
========================================================================== */
.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
Logo styles
========================================================================== */
.navbar-brand.logo {
    padding: 5px 15px;
}

.logo .logo-img {
    height: 45px;
    display: inline-block;
}

/* ==========================================================================
Main page styles
========================================================================== */
.hero-unit {
    margin: 50px auto 0 auto;
    width: 300px;
    font-size: 18px;
    font-weight: 200;
    line-height: 30px;
    background-color: #eee;
    border-radius: 6px;
    padding: 60px;
}

.hero-unit h1 {
    font-size: 60px;
    line-height: 1;
    letter-spacing: -1px;
}

.hipster {
    display: inline-block;
    width: 347px;
    height: 497px;
    background: url("../images/hipster.png") no-repeat center top;
    background-size: contain;
}

/* wait autoprefixer update to allow simple generation of high pixel density media query */
@media
only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and (   min--moz-device-pixel-ratio: 2),
only screen and (     -o-min-device-pixel-ratio: 2/1),
only screen and (        min-device-pixel-ratio: 2),
only screen and (                min-resolution: 192dpi),
only screen and (                min-resolution: 2dppx) {
    .hipster {
        background: url("../images/hipster2x.png") no-repeat center top;
        background-size: contain;
    }
}

/* ==========================================================================
Generic styles
========================================================================== */
.error {
    color: white;
    background-color: red;
}

.pad {
    padding: 10px;
}

.break {
    white-space: normal;
    word-break:break-all;
}

.voffset  { margin-top: 2px; }
.voffset1 { margin-top: 5px; }
.voffset2 { margin-top: 10px; }
.voffset3 { margin-top: 15px; }
.voffset4 { margin-top: 30px; }
.voffset5 { margin-top: 40px; }
.voffset6 { margin-top: 60px; }
.voffset7 { margin-top: 80px; }
.voffset8 { margin-top: 100px; }
.voffset9 { margin-top: 150px; }

.readonly {
    background-color: #eee;
    opacity: 1;
}

/* ==========================================================================
make sure browsers use the pointer cursor for anchors, even with no href
========================================================================== */
a:hover {
  cursor: pointer;
}

.hand {
    cursor: pointer;
}

/* ==========================================================================
Metrics and Health styles
========================================================================== */
#threadDump .popover, #healthCheck .popover {
    top: inherit;
    display: block;
    font-size: 10px;
    max-width: 1024px;
}

#healthCheck .popover {
    margin-left: -50px;
}

.health-details {
    min-width: 400px;
}

/* ==========================================================================
start Password strength bar style
========================================================================== */
ul#strengthBar {
    display:inline;
    list-style:none;
    margin:0;
    margin-left:15px;
    padding:0;
    vertical-align:2px;
}

.point:last {
    margin:0 !important;
}
.point {
    background:#DDD;
    border-radius:2px;
    display:inline-block;
    height:5px;
    margin-right:1px;
    width:20px;
}

/* ==========================================================================
Custom alerts for notification
========================================================================== */
.alerts .alert{
    text-overflow: ellipsis;
}
.alert pre{
    background: none;
    border: none;
    font: inherit;
    color: inherit;
    padding: 0;
    margin: 0;
}

.alert .popover pre {
    font-size: 10px;
}

.alerts .toast {
    position: fixed;
    width: 100%;
}

.alerts .toast.left {
    left: 5px;
}

.alerts .toast.right {
    right: 5px;
}

.alerts .toast.top {
    top: 55px;
}

.alerts .toast.bottom {
    bottom: 55px;
}

@media screen and (min-width: 480px) {
    .alerts .toast {
        width: 50%;
    }
}

/* ==========================================================================
entity tables helpers
========================================================================== */
/* Remove Bootstrap padding from the element
   http://stackoverflow.com/questions/19562903/remove-padding-from-columns-in-bootstrap-3 */
.no-padding-left { padding-left: 0 !important; }
.no-padding-right { padding-right: 0 !important; }
.no-padding-top { padding-top: 0 !important; }
.no-padding-bottom { padding-bottom: 0 !important; }
.no-padding { padding: 0 !important; }

/* bootstrap 3 input-group 100% width
   http://stackoverflow.com/questions/23436430/bootstrap-3-input-group-100-width */
.width-min { width: 1% !important; }

/* Makes toolbar not wrap on smaller screens
 http://www.sketchingwithcss.com/samplechapter/cheatsheet.html#right */
.flex-btn-group-container {
   display: -webkit-flex;
   display: flex;
   -webkit-flex-direction: row;
   flex-direction: row;
   -webkit-justify-content: flex-end;
   justify-content: flex-end;
}

.jh-table > tbody > tr > td {
    /* Align text in td vertically (top aligned by Bootstrap) */
    vertical-align: middle;
}

.jh-table > thead > tr > th > .glyphicon-sort, .jh-table > thead > tr > th > .glyphicon-sort-by-attributes, .jh-table > thead > tr > th > .glyphicon-sort-by-attributes-alt {
    /* less visible sorting icons */
    opacity: 0.5;
}

.jh-table > thead > tr > th > .glyphicon-sort:hover, .jh-table > thead > tr > th > .glyphicon-sort-by-attributes:hover, .jh-table > thead > tr > th > .glyphicon-sort-by-attributes-alt:hover {
    /* full visible sorting icons and pointer when mouse is over them */
    opacity: 1;
    cursor: pointer;
}

/* ==========================================================================
entity detail page css
========================================================================== */
.row.jh-entity-details > dd {
    margin-bottom: 15px;
}

@media screen and (min-width: 768px) {
    .row.jh-entity-details > dt {
        margin-bottom: 15px;
    }

    .row.jh-entity-details > dd {
        border-bottom: 1px solid #eee;
        padding-left: 180px;
        margin-left: 0;
    }
}

/* ==========================================================================
ui bootstrap tweaks
========================================================================== */
.nav, .pagination, .carousel, .panel-title a {
    cursor: pointer;
}

.datetime-picker-dropdown > li.date-picker-menu div > table .btn-default,
.uib-datepicker-popup  > li > div.uib-datepicker > table .btn-default {
    border: 0;
}

.datetime-picker-dropdown > li.date-picker-menu div > table:focus,
.uib-datepicker-popup  > li > div.uib-datepicker > table:focus {
    outline: none;
}

.background-ws {
    position: fixed;
    width: 48px;
    height: 48px;
    bottom: 40px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 2px 2px 6px rgb(0 0 0 / 40%);
    font-size: 38px;
    text-align: center;
    padding: 5px;
    background-color: #4dc247;
    cursor: pointer;
    transition: box-shadow 2s, transform 250ms, filter 250ms ease-in-out;
}

/* jhipster-needle-css-add-main JHipster will add new css style */

.SearchPicker__Title {
    width: 100%;
}

.SearchPicker__Input {
    width: 100%;
    height: 37px;
    display: flex;
    flex-direction: row;
}

.SearchPicker__Input input {
    flex: 1;
}

.SearchPicker__Input button {
    width: auto;
    height: 38px;
    margin: 0;
}

.SearchPicker__Input button:hover {
    background-color: #e0e0e0;
}

.SearchPicker__Input button:active i {
    scale: 0.95;
}

.SearchPicker__Wrapper {
    display: flex;
    flex-direction: row;
    justify-content: end;
    align-items: center;
}

.SearchPicker__Wrapper label {
    text-align: right;
    padding-right: 1em;
    margin: 0;
}

.ImageViewer__ImageContainer {
    position: relative;
    margin-top: .3em;
    display: flex;
    flex-direction: row;
}

.ImageViewer__MagnifierGlass {
    position: absolute;
    padding: 0;
    margin-left: -20px;
    border: .5px solid #b0b0b0;
    overflow: hidden;
    border-radius: 3px;
    box-shadow: 0px 0px 8px -3px #444;
    cursor: none;
    width: 195px;
    height: 138px;
}

.ImageViewer__ControlButtons {
    display: flex;
    flex-direction: column;
}

.ImageViewer__Image {
    margin-bottom: .5em;
    border: .5px solid var(--btnTheme);
    border-radius: 4px;
    overflow: hidden;
}

.ImageViewer__Button {
    position: relative;
    margin: .3em;
    padding: 0 .5em;
    border: 1px solid var(--btnTheme);
    box-shadow: 1px 1px 0px var(--btnTheme);
    border-radius: 6px;
    font-size: 1.3em;
}

.ImageViewer__Button:hover {
    color: var(--hoverBtnTheme);
    border-color: var(--hoverBtnTheme);
    box-shadow: 1px 1px 0px var(--hoverBtnTheme);
}

.ImageViewer__Button:active {
    box-shadow: 0px 0px 0px var(--btnTheme);
    top: 1px;
    left: 1px;
}

.ImageViewerModal {
    display: flex;
    flex-direction: column;
}

.ImageViewerModal__Container {
    position: absolute;
    top: 0;
    left: 0;
    margin: 1em;
    width: 98.5vw;
    height: 93vh;
}

.ImageViewerModal__Topbar {
    padding: .5em;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #aaa;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    background: rgb(170,170,170);
    background: linear-gradient(0deg, rgba(170,170,170,1) 0%, rgba(187,187,187,1) 12%, rgba(255,255,255,1) 100%);
    box-shadow: 0px 0px 5px #000;
}

.ImageViewerModal__ImgContainer {
    padding: .3em;
    max-height: 89vh;
    overflow: scroll;
    margin: auto;
    width: 100%;
    height: 100%;
    text-align: center;
}

.ImageViewerModal__ImgContainer img {
    overflow: hidden;
}

.Scanner__ConfigModal__Body {
    overflow: visible !important;
}

.Scanner__ConfigModal__JsonField {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1em;
    margin-bottom: .3em;
}

.ScannerPicker__InputWrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.ScannerPicker__InputWrapper input {
    margin-left: 1em;
}

.Text__Show {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.Text__Show svg {
    margin-left: 1em;
}

span.input-group-addon:focus {
    border: 1px solid #000;
}

.GMap {
    width: 100%;
    height: 308px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0px 0px 7px -2px #777;
    overflow: hidden;
}

.GMap__Loading {
    display: flex;
    justify-content: center;
    align-items: center;
}

@keyframes loadingAnimation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.GMap__Loading__Icon {
    animation: loadingAnimation 900ms cubic-bezier(0.39, 0.575, 0.565, 1) infinite;
}

.modal-dialog:has(> .modal-content .ModalBig) {
    width: 85vw;
}

.FormSpecialProperty__PropagationItem {
    display: flex;
    flex-direction: row;
    /* border: 1px solid #92a5b7; */
    border: 1px solid #ccc;
    box-shadow: 0px 0px 3px #aaa;
    border-radius: 3px;
    padding: 1em;
    margin: 1em 0;
}

.PropagationItem__ItemActivation {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 255px;
}

.PropagationItem__ItemActivation span {
    padding: 1em;
}

.PropagationItem__ImpactFields {
    flex: 1;
    align-self: center;
    text-align: center;
}

.PropagationConfigDirective {
    display: flex;
    flex-direction: column;
    text-align: center;
}

*:has(> .ChartLegend) {
    display: flex;
}

.ChartLegend {
    list-style-type: none;
    padding: 0;
    margin: auto;
    display: flex;
    justify-content: space-around;
}

.ChartLegend__Legend {
    display: flex;
    align-items: center;
    margin: 14px 10px;
    line-height: 1;
    font-weight: 600;
    color: var(--bodyColor);
}

.ChartLegend__Legend__Point {
    width: 3.1em;
    min-width: 3.1em;
    height: 1.4em;
    display: inline-block;
    border: 2px solid;
    margin-right: .4em;
}

.ChartLegend__Legend__Value {
    font-weight: normal;
}

.ChartData {
    width: 100%;
}

.ChartData__HeaderInfo {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.panel-body .panel-body {
    margin: 1em 0 0 0;
    border: 1px solid var(--bodyColor);
    border-radius: 4px;
}

.ItemFilterable {
    --optionGap: 7px;
    --boxSize: 14px;
}

.ItemFilterable .tooltip.top.fade {
    width: 115px;
}

.ItemFilterable__Header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    /* margin-bottom: var(--optionGap); */
}

.ItemFilterable__Header__FilterOptions {
    display: flex;
    flex-direction: row;
}

.ItemFilterable__Header__FilterOptions > * {
    width: var(--boxSize);
    margin-left: var(--optionGap);
    margin-top: 0px !important; /* each glyphicon-x has an ugly margin-top */
}

.FilterOptions {
    padding-top: 5px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.FilterOptions > div {
    display: flex;
    flex-direction: row;
    align-items: start;
}

.FilterOption {
    position: relative;
    display: inline-flex;
    padding: 0;
    margin-left: var(--optionGap);
    width: var(--boxSize);
    height: var(--boxSize);
    border-radius: 2px;
}

.FilterOption__IconPicker {
    display: inline;
    position: absolute;
    right: calc(var(--boxSize) * 2 + var(--optionGap) * 4);
}

.panel-body {
  padding: 0;
}

.panel-body .panel-body .FilterOption__IconPicker {
    right: calc(var(--boxSize) * 4 + var(--optionGap) * 2.5);
}

.FilterOption__ColorPicker {
    right: var(--optionGap);
    background-color: #bbb;
    border: 1px solid #888;
}

.FilterOption__Checkbox {
    right: 1px;
    margin: 0 !important;
}

.OptionSeparator {
    position: absolute;
    border: none;
    padding: 0;
    background-color: var(--tableRowBorder);
    height: 1px;
    width: 80%;
    margin: auto;
    margin-left: var(--optionGap);
    margin-top: calc(var(--boxSize) + var(--optionGap));
}

.panel-body .panel-body .OptionSeparator {
    width: 70%;
    margin-left: var(--optionGap);
}

.PanelHeader {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    position: sticky;
    top: 0px;
    z-index: 400;
}

.PanelHeader__Title {
    padding-left: .5em;
    line-height: 1;
}

.PanelNav {
  box-shadow: 0px 2px 6px -2px var(--bodyColor);
}

.FilterRow {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 7px;
    padding-top: 2px;
    box-shadow: 0px 2px 2px -2px var(--bodyColor);
}

.FilterRow--NoBorder {
    box-shadow: none;
}

.FilterRow > *:nth-child(1) {
    padding-top: 3px;
}

.FilterRow__Text {
  /* line-height: 1.7; */
  padding-left: 3px;
  margin-top: 2px;
}

.FilterRow__Options {
    width: 50%;
    display: grid;
    align-items: end;
    grid-template-areas: 'o1 o2 o3 o4 o5';
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
}

.FilterRow__Options > * {
    z-index: 12345;
    display: inline-block;
}

.FilterRow__Options__O {
    z-index: 0;
}

.FilterRow__Options__O,
/* fix checkbox size for filters */
.FilterRow input[type="checkbox"].ng-empty::after,
.FilterRow input[type="checkbox"].ng-not-empty::after {
    width:     17px !important;
    height:    17px !important;
}
.FilterRow__Options__O {
    font-size: 17px !important;
}
.FilterRow__Options__O.badge {
    font-size: 12px !important;
    padding: 3px 0;
}

.FilterRow__Options__O--1 {
    grid-area: o1;
    justify-self: center;
}
.FilterRow__Options__O--2 {
    grid-area: o2;
}
.FilterRow__Options__O--3 {
    grid-area: o3;
}
.FilterRow__Options__O--4 {
    grid-area: o4;
}
.FilterRow__Options__O--5 {
    grid-area: o5;
}

.FilterRow__Options__O--Count {
    width: auto !important;
    padding: 3px 4px !important;
    max-width: 40px !important;
}

.ColorBox {
    border: 1px solid var(--bodyColor);
    border-radius: 2px;
}

/* default formFrontConf lock */
.fa-lock.FilterRow__Options__O {
  display: flex;
  justify-content: start;
  align-items: center;
  padding-top: 1px;
  font-size: 22px !important;
}

.PanelItem {
  box-shadow: 0px -1px 2px -1px var(--bodyColor);
  padding: 15px 20px;
}

.PanelItem__Header {
  padding-top: 4px;
}

.PanelItem__Body {
  padding: 0px 10px;
  background: #dddddd;
}

.datatable-header-th-sticky {
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  /* white-space: nowrap; */
}

#datatable thead {
  max-height: 50px;
  white-space: nowrap;
}

.app-version {
  position: absolute;
  cursor: pointer;
  bottom: 10px;
  right: 10px;
}

.edit-polygon-infowindow {
  display: flex;
  flex-direction: column;

  div {
    display: flex;
    flex-direction: column;
    align-items: start;
    width: 100%;
    margin-bottom: 1em;

    input {
      width: 100%;
    }

    textarea {
      width: 100%;
    }
  }

  button {
    width: 100px;
    align-self: start;
  }

  .edit-polygon-colorbox {
    width: 30px;
    height: 30px;
    border-radius: 4px;
    border: 1px solid var(--bodyColor);
  }
}
