/*
 *   Copyright (c) 2022 Esri
 *   All rights reserved.

 *   Licensed under the Apache License, Version 2.0 (the "License");
 *   you may not use this file except in compliance with the License.
 *   You may obtain a copy of the License at

 *   http://www.apache.org/licenses/LICENSE-2.0

 *   Unless required by applicable law or agreed to in writing, software
 *   distributed under the License is distributed on an "AS IS" BASIS,
 *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *   See the License for the specific language governing permissions and
 *   limitations under the License.
 */
#appMain {
  display: none;
}

/*
   *   Copyright (c) 2022 Esri
   *   All rights reserved.

   *   Licensed under the Apache License, Version 2.0 (the "License");
   *   you may not use this file except in compliance with the License.
   *   You may obtain a copy of the License at

   *   http://www.apache.org/licenses/LICENSE-2.0

   *   Unless required by applicable law or agreed to in writing, software
   *   distributed under the License is distributed on an "AS IS" BASIS,
   *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   *   See the License for the specific language governing permissions and
   *   limitations under the License.
   */
@page {
  size: auto;
}
.calcite-shell-container,
#offscreenResults,
.esri-screenshot__offscreen-pop-up-container,
.esri-screenshot__offscreen-legend-container,
.esri-screenshot__screenshot-div,
.screen-readers-only {
  display: none;
}

.dark .feature-group {
  border: solid 1px #ccc;
}

.dark .group-accordion-content,
.dark .esri-feature,
.dark .feature-group,
.esri-attachments__item-button {
  background-color: #fff;
  color: #4a4a4a;
}

#printPage {
  margin: 5px 10px;
}

.popup-content {
  page-break-inside: avoid;
}

.print-no-map .print-map-area {
  display: none;
}

.print-map-container {
  break-before: avoid;
  break-inside: avoid;
}
.print-map-container img {
  margin: 0 auto;
}

.print-map-components-container {
  padding: 1em;
}

#printScalebar {
  width: fit-content;
}

.esri-scale-bar.esri-widget {
  opacity: 1;
  background: #fff;
  border: solid 1px #877f7f;
}

.esri-scale-bar__label {
  color: #232323;
}

.esri-scale-bar__line {
  background: transparent;
}

.esri-scale-bar__label {
  color: #232323;
}

.esri-scale-bar__line--bottom:before, .esri-scale-bar__line--bottom:after {
  display: none;
}

.esri-widget__table {
  color: #232323;
}

.esri-legend__group-layer {
  break-inside: avoid;
}

.esri-legend__service {
  border: none;
}

.esri-legend,
.esri-widget__heading {
  color: #232323;
  border: none;
  background-color: #fff;
}

/*Popup Styling*/
.feature-group {
  background: #fff;
  padding: 4px 8px 4px 9px;
}

.feature-group-container {
  min-height: 30px;
  margin-top: 7px;
  border-bottom: solid 1px #e1e1e1;
  padding-bottom: 7px;
}

.distance {
  padding-inline-start: 0.25em;
  margin-top: 7px;
  font-size: smaller;
}

.distance svg {
  height: 12px;
  width: 12px;
  margin-inline-end: 2px;
  fill: #4c4c4c;
}

.right {
  float: right;
}

.print-results {
  page-break-before: avoid;
  color: #4a4a4a;
  font-weight: 200;
}
.print-results > calcite-icon {
  margin: 0 0.25em;
}

.esri-feature {
  margin: 1.5em 0;
}

calcite-button {
  display: none;
}

.embed-app__header__logo {
  margin-left: 0.25em;
  max-height: 50px;
  margin-right: 20px;
}

#printTitle {
  display: inline-flex;
  align-items: center;
}

.embed-app__header__logo, .instant-apps-header__logo-scale--m, .instant-apps-header__logo-scale--m, .instant-apps-header__logo-scale--m {
  display: none;
}
