﻿#what-container.q-offscreen,
#who-container.q-offscreen {
  display: none;
}

.map {
  width: 500px;
}

.marker-icon {
  cursor: move;
  vertical-align: middle;
}
.map-draggable-area {
  position: relative;
}
#draggable-marker-container {
  display: inline-block;
  vertical-align: middle;
}
#btn-detect-location {
  min-width: 225px;
  margin-right: 1em;
}
.map-toolbar {
  position: relative;
  display: inline-block;
}
.map-container {
  margin-top: 1.2em;
}
.map-search-wrapper.q-invalid-element::after {
  content: 'Location not recognized';
  display: block;
  color: #c9302c;
  background-color: transparent;
  position: absolute;
  top: -1.3em;
  right: 0;
  font-size: 80%;
}

#reqentry-form {
  margin-bottom: 2em;
  position: relative;
}

#reqentry-prompts-scripts-wrapper,
#reqentry-type-issue-notice-wrapper {
  position: relative;
}
#reqentry-prompts-scripts-wrapper:before,
#reqentry-type-issue-notice-wrapper:before {
  content: '\f0d8';
  background: transparent;
  position: absolute;
  font-family: FontAwesome;
  font-size: 40px;
  display: inline-block;
  top: -27px;
  left: 1em;
}
#reqentry-prompts-scripts {
  padding: 1em;
  margin: 0 0 1.2em 0;
  max-width: 500px;
  max-height: 250px;
  overflow: auto;
}

#reqentry-type-issue-notice-wrapper:not(.q-hide)
  + #reqentry-prompts-scripts-wrapper:not(.q-hide) {
  display: none;
}

#reqentry-kb-hint {
  margin-top: -1em;
}

.q-external-html-container {
  word-wrap: break-word;
}
.q-external-html-container:empty {
  display: none;
}
.q-external-html-container p {
  margin: 0 0 1em 0;
  line-height: normal;
}
.q-external-html-container img {
  max-width: 100%;
}
.q-external-html-container a {
  text-decoration: underline;
  color: var(--color-primary);
}
.q-external-html-container a,
.q-external-html-container span {
  font-size: inherit;
}

#who-container.q-required-fields-disabled::before {
  content: 'All fields are optional';
  padding: 1em;
  text-align: center;
  width: 100%;
  display: block;
  box-sizing: border-box;
}

.ui-autocomplete.locationSearch {
  padding: 0px;
  z-index: 50 !important;
}
.locationSearch .ui-autocomplete-category {
  display: none;
}
.location-search-result-internal {
  font-weight: bold;
}

.reqentry-account-notice {
  padding: 1em 2em 1em 1em;
  position: relative;
}
#reqentry-account-notice-close-btn {
  position: absolute;
  top: 1em;
  right: 1em;
  color: #444;
}

.q-kb-article {
  border: none;
  margin-top: 0;
  border-bottom: 1px solid #c0c0c0;
}

/* request type drop down & related */

#request-type-spinner {
  display: inline-block;
  background-color: #fff;
  position: absolute;
  right: 0.5em;
  top: 50%;
  z-index: 1;
}

/* notify prefs */
span.reqentry-notify-display:empty:after {
  content: '(no ' attr(data-type) ')';
  color: #c0c0c0;
}
.reqentry-notify-display {
  font-size: inherit;
}

.reqentry-menu-list .q-menu-link {
  cursor: default;
  cursor: not-allowed;
  opacity: 0.3;
}
.reqentry-menu-list .q-menu-link.reqentry-menu-link-activated {
  cursor: pointer;
  opacity: 1;
}

/* public notice drawer */
.public-notice-drawer {
  z-index: 5; /* clear map dashboard */
}

@media (max-width: 1055px) {
  .map-toolbar {
    width: 100%;
    max-width: 500px;
  }
  .mldd-container {
    display: block;
  }
}

@media (max-width: 736px) {
  #draggable-marker-container {
    display: none;
  }
  .mldd-list {
    width: 100%;
    height: 290px;
  }
  .reqentry-filelist:empty::after {
    content: 'Upload up to ' attr(data-file-limit) ' photos or files.';
  }
}
